/* 컨테이너 및 기본 스타일 */
#stoneCalcWrapper .form-label { color: var(--accent); font-weight: 700; margin-bottom: 12px; display: block; font-size: 0.95rem; }
#stoneCalcWrapper .chip-group { display: flex; gap: 10px; }
#stoneCalcWrapper .type-chip { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #aaa; padding: 12px 20px; border-radius: 12px; cursor: pointer; transition: 0.3s; flex: 1; font-size: 0.9rem; }
#stoneCalcWrapper .type-chip.active { background: rgba(138, 180, 248, 0.15); border-color: var(--accent); color: var(--accent); font-weight: 700; }
#stoneCalcWrapper .custom-input { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: var(--accent); padding: 15px; border-radius: 12px; outline: none; font-size: 1.1rem; font-weight: 700; }

/* 구간 설정 슬라이더 */
#stoneCalcWrapper .sync-input { width: 60px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); color: var(--accent); padding: 8px 5px; border-radius: 8px; text-align: center; font-weight: 700; }
#stoneCalcWrapper .dual-range-container { position: relative; width: 100%; height: 6px; margin: 35px 0 20px; }
#stoneCalcWrapper .slider-track { position: absolute; width: 100%; height: 100%; border-radius: 5px; background: rgba(255,255,255,0.1); }
#stoneCalcWrapper .range-input { position: absolute; width: 100%; top: 50%; transform: translateY(-50%); background: none; pointer-events: none; -webkit-appearance: none; }
#stoneCalcWrapper .range-input::-webkit-slider-thumb { height: 22px; width: 22px; border-radius: 50%; background: var(--accent); pointer-events: auto; -webkit-appearance: none; cursor: pointer; border: 3px solid #1a1a1a; }

/* 리포트 카드 디자인 */
#stoneCalcWrapper .stone-result-container { 
    background: linear-gradient(145deg, rgba(32, 33, 36, 0.9), rgba(22, 23, 26, 0.9));
    border: 1px solid rgba(138, 180, 248, 0.2);
    border-radius: 20px;
    padding: 24px;
}
#stoneCalcWrapper .result-header { font-size: 0.85rem; color: #888; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
#stoneCalcWrapper .result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
#stoneCalcWrapper .result-item { background: rgba(255, 255, 255, 0.03); padding: 15px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.05); }
#stoneCalcWrapper .item-label { font-size: 0.8rem; color: #999; margin-bottom: 8px; }
#stoneCalcWrapper .item-value-group { display: flex; align-items: baseline; gap: 4px; }
#stoneCalcWrapper .item-value { font-size: 1.15rem; font-weight: 700; color: #eee; }
#stoneCalcWrapper .stone-cost-item .item-value { color: #81d4fa; }
#stoneCalcWrapper .break-item .item-value { color: #ffab91; }

/* [추가] 돌파 아이템 리스트 스타일 */
.break-list-row { display: grid; grid-template-columns: 1fr 100px 150px; align-items: center; gap: 10px; padding: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; }
.break-list-row:last-child { border-bottom: none; }
.break-item-name { color: #ccc; }
.break-item-count { color: var(--accent); font-weight: 700; text-align: right; }
.break-item-price-input { background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent); border-radius: 4px; padding: 4px 8px; width: 100%; text-align: right; }

#stoneCalcWrapper .result-divider { height: 1px; background: linear-gradient(to right, rgba(138, 180, 248, 0), rgba(138, 180, 248, 0.3), rgba(138, 180, 248, 0)); margin: 20px 0; }
#stoneCalcWrapper .result-total-section { display: flex; justify-content: space-between; align-items: center; }
#stoneCalcWrapper .total-label { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
#stoneCalcWrapper .total-amount { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
@media (max-width: 768px) {
    #stoneCalcWrapper .result-total-section { flex-direction: column; gap: 10px; text-align: center; }
    .break-list-row { grid-template-columns: 1fr 1fr; }
    .break-item-price-input { grid-column: span 2; }
    .stone-content-area { padding: 24px; }
    #stoneCalcWrapper .result-total-section { flex-direction: column !important; }
}