/**
 * Optimal Sleep Calculator Styles
 * 최적 수면 계산기 전용 스타일 (2컬럼 레이아웃)
 *
 * @package Zipper
 */

/* ===== 2컬럼 레이아웃 (데스크탑) ===== */
.osc-main-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    align-items: start;
}

.osc-input-col {
    position: sticky;
    top: 20px;
}

.osc-result-col {
    min-width: 0;
}

/* ===== 모드 탭 ===== */
.osc-mode-tabs {
    display: flex;
    gap: 4px;
    background: #faf9f7;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e8e4dc;
}

.osc-mode-tab {
    flex: 1;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #5f5a56;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.osc-mode-tab i {
    font-size: 16px;
}

.osc-mode-tab:hover {
    background: #fff;
}

.osc-mode-tab.active {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* 모드 콘텐츠 */
.osc-mode-content {
    display: none;
}

.osc-mode-content.active {
    display: block;
}

/* ===== 입력 섹션 ===== */
.osc-input-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    margin-bottom: 12px;
}

.osc-input-section.compact {
    padding: 12px;
    margin-bottom: 8px;
}

.osc-input-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d2a26;
    display: flex;
    align-items: center;
    gap: 6px;
}

.osc-input-title i {
    color: #d4af37;
}

.osc-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.osc-input-group input[type="time"],
.osc-input-group input[type="number"] {
    padding: 12px 14px;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #e8e4dc;
    border-radius: 8px;
    background: #faf9f7;
    color: #2d2a26;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    text-align: center;
}

.osc-input-group input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: #fff;
}

/* 인라인 입력 */
.osc-inline-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.osc-inline-input input {
    width: 80px;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: 1px solid #e8e4dc;
    border-radius: 6px;
    background: #faf9f7;
}

.osc-inline-input input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
    background: #fff;
}

.osc-unit {
    font-size: 14px;
    color: #5f5a56;
}

/* ===== 슬라이더 ===== */
.osc-slider-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.osc-slider-group input[type="range"] {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e8e4dc;
    border-radius: 3px;
    outline: none;
}

.osc-slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
    transition: transform 0.2s;
}

.osc-slider-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.osc-slider-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.osc-slider-value {
    min-width: 50px;
    padding: 6px 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 134, 11, 0.1) 100%);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #b8860b;
    text-align: center;
}

.osc-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #a09a94;
    margin-top: -4px;
}

/* ===== 파워냅 옵션 ===== */
.osc-nap-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.osc-nap-option {
    cursor: pointer;
}

.osc-nap-option input {
    display: none;
}

.osc-nap-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: #faf9f7;
    border: 2px solid #e8e4dc;
    border-radius: 12px;
    transition: all 0.2s;
    position: relative;
}

.osc-nap-option input:checked + .osc-nap-card {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(184, 134, 11, 0.05) 100%);
}

.osc-nap-option.recommended .osc-nap-card {
    border-color: #27ae60;
}

.osc-nap-option.recommended input:checked + .osc-nap-card {
    border-color: #27ae60;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08) 0%, rgba(39, 174, 96, 0.03) 100%);
}

.osc-nap-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    background: #27ae60;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    border-radius: 12px;
    white-space: nowrap;
}

.osc-nap-time {
    font-size: 20px;
    font-weight: 700;
    color: #2d2a26;
}

.osc-nap-name {
    font-size: 12px;
    font-weight: 600;
    color: #5f5a56;
    margin-top: 2px;
}

.osc-nap-desc {
    font-size: 10px;
    color: #a09a94;
    margin-top: 2px;
}

/* 커피냅 체크박스 */
.osc-coffee-nap {
    padding: 12px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.08) 0%, rgba(139, 69, 19, 0.03) 100%);
    border: 1px solid rgba(139, 69, 19, 0.2);
    border-radius: 8px;
    margin-bottom: 12px;
}

.osc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #5f5a56;
}

.osc-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8b4513;
}

.osc-checkbox-label i {
    color: #8b4513;
}

.osc-coffee-tip {
    font-size: 11px;
    color: #a09a94;
    margin-top: 6px;
    margin-left: 26px;
}

/* ===== 주말 보충 수면 ===== */
.osc-weekend-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e8e4dc;
}

.osc-section-divider {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.osc-section-divider span {
    font-size: 12px;
    font-weight: 600;
    color: #5f5a56;
    padding: 0 10px;
    background: #faf9f7;
}

.osc-section-divider::before,
.osc-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e4dc;
}

.osc-debt-result {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.osc-debt-item {
    flex: 1;
    padding: 10px;
    background: #faf9f7;
    border-radius: 8px;
    text-align: center;
}

.osc-debt-label {
    display: block;
    font-size: 11px;
    color: #5f5a56;
    margin-bottom: 4px;
}

.osc-debt-value {
    font-size: 16px;
    font-weight: 700;
    color: #2d2a26;
}

.osc-debt-value.negative {
    color: #e74c3c;
}

/* ===== 계산 버튼 ===== */
.osc-calc-btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.osc-calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

.osc-calc-btn i {
    font-size: 16px;
}

/* ===== 대기 상태 ===== */
.osc-waiting {
    text-align: center;
    padding: 50px 20px;
    color: #a09a94;
    background: #faf9f7;
    border: 1px dashed #e8e4dc;
    border-radius: 12px;
}

.osc-waiting > i {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
    color: #d4af37;
    opacity: 0.6;
}

.osc-waiting p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.osc-stats-preview {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.osc-stat-item {
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8e4dc;
    text-align: center;
}

.osc-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #d4af37;
}

.osc-stat-label {
    display: block;
    font-size: 11px;
    color: #5f5a56;
    margin-top: 2px;
}

/* ===== 숨김 클래스 ===== */
.osc-hidden {
    display: none !important;
}

/* ===== 결과 섹션 ===== */
.osc-result-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 타임라인 시각화 ===== */
.osc-timeline-card {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.osc-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.osc-timeline-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d2a26;
    display: flex;
    align-items: center;
    gap: 6px;
}

.osc-timeline-title i {
    color: #d4af37;
}

.osc-timeline-legend {
    display: flex;
    gap: 12px;
}

.osc-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #5f5a56;
}

.osc-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.osc-legend-dot.light {
    background: #a8d8ea;
}

.osc-legend-dot.deep {
    background: #3498db;
}

.osc-legend-dot.rem {
    background: #9b59b6;
}

/* 타임라인 컨테이너 */
.osc-timeline-container {
    position: relative;
    height: 80px;
    background: #faf9f7;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.osc-cycle {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
}

.osc-cycle-stage {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.osc-cycle-stage.light {
    background: linear-gradient(180deg, #a8d8ea 0%, #87ceeb 100%);
    color: #2d2a26;
    text-shadow: none;
}

.osc-cycle-stage.deep {
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
}

.osc-cycle-stage.rem {
    background: linear-gradient(180deg, #9b59b6 0%, #8e44ad 100%);
}

.osc-cycle-stage.fall-asleep {
    background: linear-gradient(180deg, #bdc3c7 0%, #95a5a6 100%);
}

/* 기상 시간 마커 */
.osc-wakeup-marker {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e74c3c;
    z-index: 10;
}

.osc-wakeup-marker::before {
    content: '⏰';
    position: absolute;
    top: -20px;
    right: -8px;
    font-size: 16px;
}

/* 취침 시간 마커 */
.osc-bedtime-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #27ae60;
    z-index: 5;
}

.osc-bedtime-marker::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -4px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #27ae60;
}

/* 타임라인 축 */
.osc-timeline-axis {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #a09a94;
    padding: 0 4px;
}

/* ===== 추천 취침 시간 ===== */
.osc-bedtime-title {
    font-size: 15px;
    font-weight: 600;
    color: #2d2a26;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.osc-bedtime-title i {
    color: #d4af37;
}

.osc-wakeup-badge {
    font-size: 11px;
    font-weight: 500;
    color: #2d2a26;
    background: #5f5a56;
    padding: 3px 8px;
    border-radius: 12px;
}

.osc-bedtime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.osc-bedtime-card {
    padding: 16px;
    background: #fff;
    border: 2px solid #e8e4dc;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.osc-bedtime-card:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.osc-bedtime-card.recommended {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
}

.osc-bedtime-card.optimal {
    border-color: #27ae60;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(39, 174, 96, 0.05) 100%);
}

.osc-bedtime-card.minimum {
    border-color: #e74c3c;
    opacity: 0.7;
}

.osc-card-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 8px;
}

.osc-bedtime-card.recommended .osc-card-badge {
    background: #d4af37;
    color: #fff;
}

.osc-bedtime-card.optimal .osc-card-badge {
    background: #27ae60;
    color: #2d2a26;
}

.osc-card-time {
    font-size: 28px;
    font-weight: 700;
    color: #2d2a26;
    line-height: 1;
}

.osc-bedtime-card.recommended .osc-card-time {
    color: #b8860b;
}

.osc-bedtime-card.optimal .osc-card-time {
    color: #27ae60;
}

.osc-card-duration {
    font-size: 13px;
    color: #5f5a56;
    margin-top: 6px;
}

.osc-card-cycles {
    font-size: 11px;
    color: #a09a94;
    margin-top: 2px;
}

.osc-card-quality {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 8px;
}

.osc-quality-star {
    font-size: 12px;
    color: #e8e4dc;
}

.osc-quality-star.filled {
    color: #f1c40f;
}

/* ===== 팁 섹션 ===== */
.osc-tips-section {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(52, 152, 219, 0.03) 100%);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.osc-tips-title {
    font-size: 13px;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.osc-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.osc-tips-list li {
    font-size: 12px;
    color: #5f5a56;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

.osc-tips-list li:last-child {
    border-bottom: none;
}

.osc-tips-list li::before {
    content: '\f26a';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 10px;
}

/* ===== 파워냅 결과 ===== */
.osc-nap-result-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    margin-bottom: 20px;
}

.osc-nap-result-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #5f5a56;
    margin-bottom: 12px;
}

.osc-nap-result-header i {
    color: #d4af37;
    font-size: 18px;
}

.osc-nap-result-time {
    font-size: 56px;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
}

.osc-nap-result-info {
    font-size: 14px;
    color: #5f5a56;
    margin-top: 8px;
}

.osc-nap-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.osc-benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e4dc;
}

.osc-benefit-item i {
    font-size: 20px;
    color: #d4af37;
}

.osc-benefit-item span {
    font-size: 11px;
    font-weight: 500;
    color: #5f5a56;
}

/* 커피냅 가이드 */
.osc-coffee-nap-guide {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.08) 0%, rgba(139, 69, 19, 0.03) 100%);
    border: 1px solid rgba(139, 69, 19, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.osc-guide-title {
    font-size: 13px;
    font-weight: 600;
    color: #8b4513;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.osc-guide-steps {
    margin: 0;
    padding-left: 20px;
}

.osc-guide-steps li {
    font-size: 12px;
    color: #5f5a56;
    padding: 4px 0;
}

/* ===== 회식/야근 결과 ===== */
.osc-worknight-summary {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(142, 68, 173, 0.05) 100%);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.osc-worknight-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #5f5a56;
    margin-bottom: 16px;
}

.osc-worknight-header i {
    color: #9b59b6;
}

.osc-worknight-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.osc-time-item {
    text-align: center;
}

.osc-time-label {
    display: block;
    font-size: 11px;
    color: #5f5a56;
    margin-bottom: 4px;
}

.osc-time-value {
    font-size: 28px;
    font-weight: 700;
    color: #2d2a26;
}

.osc-time-arrow {
    color: #9b59b6;
    font-size: 20px;
}

.osc-sleep-duration {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(155, 89, 182, 0.2);
}

.osc-duration-value {
    font-size: 20px;
    font-weight: 700;
    color: #9b59b6;
}

.osc-duration-cycles {
    font-size: 12px;
    color: #5f5a56;
    margin-left: 8px;
}

/* 컨디션 카드 */
.osc-condition-card {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.osc-condition-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2d2a26;
    margin-bottom: 12px;
}

.osc-condition-header i {
    color: #f1c40f;
}

.osc-condition-meter {
    height: 12px;
    background: #e8e4dc;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.osc-meter-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.osc-meter-fill.excellent {
    background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
}

.osc-meter-fill.good {
    background: linear-gradient(90deg, #f1c40f 0%, #f39c12 100%);
}

.osc-meter-fill.poor {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
}

.osc-condition-text {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.osc-condition-text.excellent {
    color: #27ae60;
}

.osc-condition-text.good {
    color: #f39c12;
}

.osc-condition-text.poor {
    color: #e74c3c;
}

/* 회식/야근 팁 */
.osc-worknight-tips {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(52, 152, 219, 0.03) 100%);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 12px;
    padding: 16px;
}

/* ===== 면책조항 ===== */
.osc-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: rgba(108, 117, 125, 0.08);
    border-radius: 8px;
    margin-top: 20px;
}

.osc-disclaimer > i {
    color: #6c757d;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.osc-disclaimer-text {
    font-size: 12px;
    color: #5f5a56;
    line-height: 1.5;
}

.osc-disclaimer-text strong {
    color: #2d2a26;
}

/* ===== 반응형 - 태블릿 ===== */
@media (max-width: 900px) {
    .osc-main-layout {
        grid-template-columns: 300px 1fr;
        gap: 16px;
    }

    .osc-nap-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .osc-bedtime-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 반응형 - 모바일 ===== */
@media (max-width: 768px) {
    .osc-main-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .osc-input-col {
        position: static;
    }

    .osc-mode-tabs {
        flex-wrap: wrap;
    }

    .osc-mode-tab {
        flex: 1 1 30%;
        min-width: 90px;
    }

    .osc-timeline-container {
        height: 60px;
    }

    .osc-timeline-legend {
        flex-wrap: wrap;
        justify-content: center;
    }

    .osc-bedtime-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .osc-card-time {
        font-size: 24px;
    }

    .osc-nap-result-time {
        font-size: 48px;
    }

    .osc-nap-benefits {
        flex-wrap: wrap;
        gap: 10px;
    }

    .osc-benefit-item {
        flex: 1 1 calc(33% - 10px);
        min-width: 80px;
    }

    .osc-worknight-time {
        flex-direction: column;
        gap: 10px;
    }

    .osc-time-arrow {
        transform: rotate(90deg);
    }

    .osc-stats-preview {
        flex-direction: column;
        gap: 10px;
    }

    .osc-stat-item {
        width: 100%;
    }
}

/* ===== 반응형 - 작은 모바일 ===== */
@media (max-width: 480px) {
    .osc-nap-options {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .osc-nap-card {
        padding: 10px 6px;
    }

    .osc-nap-time {
        font-size: 18px;
    }

    .osc-bedtime-grid {
        grid-template-columns: 1fr 1fr;
    }

    .osc-bedtime-card {
        padding: 12px;
    }

    .osc-card-time {
        font-size: 22px;
    }

    .osc-card-duration {
        font-size: 12px;
    }

    .osc-timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .osc-debt-result {
        flex-direction: column;
        gap: 8px;
    }
}
