* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    height: 100%;
    overflow: hidden;
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
}

/* 대각선 워터마크 — TRIAL/UNREGISTERED 만 노출, PRO/MAX/ADMIN(html.wm-hidden) 은 숨김 */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background-image: repeating-linear-gradient(
        -30deg,
        transparent 0,
        transparent 180px,
        rgba(14,13,11,0.04) 180px,
        rgba(14,13,11,0.04) 181px
    );
}
body::before {
    /* 등급 워터마크 — explain.js 가 로딩 시 owner 등급(TRIAL/PRO/MAX/ADMIN)으로 채움. 미로딩 시 기본값 DENTPT.AI */
    content: var(--wm-text, 'DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI  •  DENTPT.AI');
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200vmax;
    transform: translate(-50%, -50%) rotate(-30deg);
    text-align: center;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 8px;
    color: rgba(14,13,11,0.05);
    line-height: 2.4;
    pointer-events: none;
    z-index: 9998;
    white-space: normal;
    word-spacing: 24px;
    user-select: none;
}
html.wm-hidden body::before,
html.wm-hidden body::after { display: none !important; }

.app-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    position: relative;
}

/* ── Top Bar (한 줄: 환자정보 + 섹션탭) — 컨셉 컬러 강조 ── */
.top-bar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 8px 20px;
    gap: 16px;
    background: rgba(255,255,255,0.92);
    border-bottom: 2px solid var(--accent-light);
    border-top: 3px solid var(--accent);
    backdrop-filter: blur(10px);
    z-index: 10;
}
.top-bar-patient {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-right: 16px;
    border-right: 1px solid var(--cream3);
}

/* ── Section Tabs (top-bar 안) ── */
.section-tabs {
    flex: 1;
    display: flex;
    gap: 6px;
    min-width: 0;
}
.section-tab {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    border: 1.5px solid transparent;
    color: var(--ink2);
    background: var(--cream2);
    white-space: nowrap;
}
.section-tab:hover { background: var(--cream3); }
.section-tab.active {
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(26,107,74,0.25);
}
/* 모든 섹션 활성 탭은 accent 그린 베이스 — 색만 살짝 차별화 */
.section-tab.active[data-section="A"] { background: linear-gradient(135deg, var(--accent2), var(--accent)); }
.section-tab.active[data-section="B"] { background: linear-gradient(135deg, #dc2626, #991b1b); border-color: #b91c1c; box-shadow: 0 4px 12px rgba(220,38,38,0.25); }
.section-tab.active[data-section="C"] { background: linear-gradient(135deg, var(--accent2), var(--accent)); }
.section-tab.active[data-section="D"] { background: linear-gradient(135deg, var(--warm), #92400e); border-color: var(--warm); box-shadow: 0 4px 12px rgba(200,98,42,0.25); }
.section-tab.active[data-section="E"] { background: linear-gradient(135deg, var(--gold), #92400e); border-color: var(--gold); box-shadow: 0 4px 12px rgba(184,154,78,0.25); }

.section-tab i { margin-right: 4px; }
.section-tab .tab-count {
    display: inline-block;
    font-size: 14px;
    background: rgba(0,0,0,0.08);
    padding: 1px 7px;
    border-radius: 8px;
    margin-left: 4px;
}
.section-tab.active .tab-count { background: rgba(255,255,255,0.22); }

/* ── Content Area (left-right split) ── */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
}

/* ── Left Panel: Image (영상 컨테이너 — 컨트라스트를 위해 다크 frame 유지) ── */
.left-panel {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

/* ── Right Panel: Text ── */
.right-panel {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-left: 1px solid var(--cream3);
}

/* ── Slide (inside left panel) ── */
.slide-container {
    position: absolute;
    inset: 0;
}
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.slide.exit-left {
    opacity: 0;
    transform: translateX(-60px);
}

/* ── Image Area (fills the slide) ── */
.slide-image-area {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.slide-image-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.slide-image-overlay {
    position: absolute;
    inset: 0;
    background: none;
}
.slide-step-badge {
    position: absolute;
    top: 16px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.slide-step-badge .badge-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: white;
}
.slide-step-badge .badge-label {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.4);
    padding: 5px 12px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

/* ── Text Area (right panel) ── */
.slide-text-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 28px 0;
}
.text-slide {
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.text-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.text-slide.exit-up {
    opacity: 0;
    transform: translateY(-30px);
}

/* ── Speech Bubble ── */
.slide-text-area {
    padding: 32px 36px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--cream);
    border: 1px solid var(--cream3);
    border-radius: 20px;
    position: relative;
}
/* 말풍선 꼬리 (우하단 → 비디오 원 방향) */
.slide-text-area::after {
    content: '';
    position: absolute;
    bottom: -18px;
    right: 48px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 20px solid var(--cream);
}
.slide-text-area::-webkit-scrollbar { width: 0; display: none; }

.slide-sub-category {
    font-size: 36px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
}
.slide-subtitle {
    font-size: 30px;
    font-weight: 700;
    color: var(--warm);
    line-height: 1.4;
    word-break: keep-all;
    white-space: pre-wrap;
}
.slide-content {
    font-size: 28px;
    font-weight: 400;
    color: var(--ink2);
    line-height: 1.8;
    word-break: keep-all;
    white-space: pre-wrap;
}
.slide-option-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

/* ── Floating video circle ── */
.video-circle {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 30;
    background: #1e293b;
    transition: transform 0.2s, box-shadow 0.2s;
}
.video-circle:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 28px rgba(26,107,74,0.45);
}
.video-circle video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-circle .video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: opacity 0.2s;
}
.video-circle .video-play-overlay i {
    font-size: 28px;
    color: white;
}
.video-circle.playing .video-play-overlay { opacity: 0; }
.video-circle.playing:hover .video-play-overlay { opacity: 1; }

/* ── Expanded video modal ── */
.video-expanded {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
}
.video-expanded.show { display: flex; }
.video-expanded video {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
}
.video-expanded .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Bottom Nav ── */
.bottom-nav {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 10px 24px;
    gap: 12px;
    background: rgba(255,255,255,0.92);
    border-top: 1px solid var(--cream3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 40;
}
.bottom-nav.speed-open { z-index: 130; }
.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--cream3);
    background: var(--cream2);
    color: var(--ink2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.nav-btn:hover { background: var(--cream3); color: var(--ink); }
.nav-btn:disabled { opacity: 0.3; pointer-events: none; }

.nav-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.nav-progress-bar {
    height: 5px;
    background: var(--cream2);
    border-radius: 2px;
    overflow: hidden;
}
.nav-progress-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}
.nav-progress-text {
    font-size: 15px;
    color: var(--ink3);
    text-align: center;
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.play-btn:hover { transform: scale(1.08); }

.speed-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 60;
}
.speed-wrap.open { z-index: 120; }
.speed-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--cream2);
    border: 1.5px solid var(--cream3);
    color: var(--ink2);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s;
    min-width: 60px;
    justify-content: center;
}
.speed-trigger:hover { background: var(--cream3); color: var(--ink); }
.speed-trigger i { font-size: 16px; transition: transform 0.2s; }
.speed-wrap.open .speed-trigger i { transform: rotate(180deg); }
.speed-wrap.open .speed-trigger { background: var(--accent); border-color: var(--accent); color: #fff; }

.speed-popover {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    border: 1.5px solid var(--cream3);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 8px 24px rgba(14,13,11,0.12);
    min-width: 80px;
    z-index: 120;
}
.speed-wrap.open .speed-popover { display: flex; }

.speed-btn {
    border: none;
    background: transparent;
    color: var(--ink2);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    white-space: nowrap;
}
.speed-btn:hover { color: var(--ink); background: var(--cream); }
.speed-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 6px rgba(26,107,74,0.3);
}

/* ── Sound wave animation ── */
.sound-wave {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
    margin-left: 8px;
    vertical-align: middle;
}
.sound-wave .bar {
    width: 3px;
    background: var(--accent);
    border-radius: 1px;
    animation: wave 0.8s ease-in-out infinite;
}
.sound-wave .bar:nth-child(1) { height: 6px;  animation-delay: 0s; }
.sound-wave .bar:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.sound-wave .bar:nth-child(3) { height: 8px;  animation-delay: 0.3s; }
.sound-wave .bar:nth-child(4) { height: 14px; animation-delay: 0.45s; }
.sound-wave .bar:nth-child(5) { height: 6px;  animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1); }
}
.sound-wave.paused .bar { animation-play-state: paused; }

/* ── FHD+ (1920px 이상) 폰트 확대 ── */
@media (min-width: 1920px) {
    .section-tab { font-size: 32px; padding: 18px 26px; }
    .section-tab .tab-count { font-size: 22px; padding: 4px 14px; }
    .slide-sub-category { font-size: 64px; }
    .slide-subtitle { font-size: 52px; }
    .slide-content { font-size: 48px; line-height: 1.55; }
    .slide-option-badge { font-size: 24px; padding: 8px 22px; }
    .slide-text-area { padding: 56px 64px; gap: 32px; }
    .slide-text-container { padding: 52px 52px 0; }
    .slide-step-badge .badge-num { width: 76px; height: 76px; font-size: 36px; }
    .slide-step-badge .badge-label { font-size: 32px; padding: 12px 24px; }
    .nav-progress-text { font-size: 24px; }
    .nav-progress-bar { height: 8px; }
    .nav-btn { width: 76px; height: 76px; font-size: 36px; }
    .play-btn { width: 76px; height: 76px; font-size: 38px; }
    .speed-trigger { font-size: 20px; padding: 12px 20px; min-width: 96px; }
    .speed-trigger i { font-size: 24px; }
    .speed-popover { padding: 6px; min-width: 120px; }
    .speed-btn { font-size: 20px; padding: 14px 22px; }
    .keyword-hint { font-size: 36px; padding: 22px 36px; gap: 14px; margin-top: 32px; }
    .keyword-hint i { font-size: 40px; }
    .keyword-hint .hint-count { font-size: 42px; min-width: 36px; }
    .keyword-box { font-size: 1em; padding: 6px 22px; border-width: 3px; }
    .top-bar-patient #top-patient-name { font-size: 28px !important; }
    .top-bar-patient #top-treatment-type { font-size: 22px !important; }
}

/* ── Completion overlay ── */
.completion-overlay {
    position: absolute;
    inset: 0;
    background: rgba(247,244,238,0.97);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}
.completion-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* ── 안내문(info) 유형 — 휴대폰 입력 게이트 (입력 집중을 위해 다크 톤 유지) ── */
.info-phone-gate {
    position: fixed;
    inset: 0;
    background: #0f172a;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.info-phone-card {
    width: min(560px, 100%);
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 20px;
    padding: 36px 36px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #e2e8f0;
}
.info-phone-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-phone-icon i { font-size: 30px; color: #fbbf24; }
.info-phone-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}
.info-phone-desc {
    text-align: center;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
}
.info-phone-desc strong { color: #fde68a; }
.info-phone-note {
    display: inline-block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 14px;
}
.info-phone-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    font-size: 22px;
    text-align: center;
    letter-spacing: 1.5px;
    outline: none;
    transition: border-color .2s;
}
.info-phone-input:focus {
    border-color: #f59e0b;
}
.info-phone-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    width: 100%;
}
.info-phone-agree input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #f59e0b;
}
.info-phone-err {
    min-height: 20px;
    font-size: 14px;
    color: #fca5a5;
    text-align: center;
}
.info-phone-btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: filter .2s, transform .15s;
}
.info-phone-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.info-phone-btn i { font-size: 24px; }

/* ── Keyword Box ({{keyword}} 인터랙션) ── */
.keyword-box {
    display: inline-block;
    padding: 4px 16px;
    margin: 0 3px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(37,99,235,0.45));
    border: 2.5px solid rgba(96, 165, 250, 0.85);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    user-select: none;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
    animation: kwFlicker 1.6s ease-in-out infinite;
}
@keyframes kwFlicker {
    0%, 100% {
        filter: brightness(1);
        box-shadow: 0 0 0 3px rgba(59,130,246,0.18), 0 4px 14px rgba(37,99,235,0.35);
        transform: scale(1);
    }
    18% {
        filter: brightness(1.45);
        box-shadow: 0 0 0 7px rgba(96,165,250,0.45), 0 0 28px rgba(96,165,250,0.9), 0 0 14px #fff;
        transform: scale(1.05);
    }
    22% {
        filter: brightness(0.85);
        box-shadow: 0 0 0 2px rgba(59,130,246,0.1), 0 0 6px rgba(37,99,235,0.2);
        transform: scale(0.99);
    }
    35% {
        filter: brightness(1.35);
        box-shadow: 0 0 0 7px rgba(96,165,250,0.4), 0 0 22px rgba(96,165,250,0.85);
        transform: scale(1.04);
    }
    50% {
        filter: brightness(1);
        box-shadow: 0 0 0 4px rgba(59,130,246,0.2), 0 4px 16px rgba(37,99,235,0.4);
        transform: scale(1);
    }
    72% {
        filter: brightness(1.55);
        box-shadow: 0 0 0 8px rgba(96,165,250,0.5), 0 0 34px rgba(147,197,253,1), 0 0 18px #fff;
        transform: scale(1.06);
    }
    76% {
        filter: brightness(0.9);
        box-shadow: 0 0 0 2px rgba(59,130,246,0.12);
        transform: scale(0.99);
    }
}
.keyword-box:hover {
    background: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(37,99,235,0.6));
    border-color: #93c5fd;
    transform: translateY(-1px);
}
.keyword-box.clicked {
    background: linear-gradient(135deg, rgba(16,185,129,0.4), rgba(5,150,105,0.5));
    border-color: rgba(110, 231, 183, 0.95);
    color: #ffffff;
    cursor: default;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.18), 0 4px 12px rgba(16,185,129,0.4);
    animation: none;
}
.keyword-box.clicked::after {
    content: ' \2713';
    font-size: 0.8em;
    margin-left: 4px;
}

/* ── Keyword 힌트 배지 ── */
.keyword-hint {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 32px;
    font-weight: 700;
    color: #cbd5e1;
    margin-top: 26px;
    padding: 18px 32px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.75);
    border: 2px solid rgba(96, 165, 250, 0.4);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: all 0.3s;
}
.keyword-hint i { font-size: 36px; color: #60a5fa; }
.keyword-hint .hint-count {
    font-weight: 800;
    font-size: 38px;
    color: #60a5fa;
    display: inline-block;
    min-width: 22px;
    text-align: center;
    transition: transform 0.25s, color 0.25s;
}
.keyword-hint .hint-count.bump {
    animation: hintBump 0.5s ease;
}
@keyframes hintBump {
    0%   { transform: scale(1); color: #60a5fa; }
    35%  { transform: scale(1.55); color: #fbbf24; }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); color: #60a5fa; }
}
.keyword-hint.done {
    color: #6ee7b7;
    border-color: rgba(110, 231, 183, 0.5);
    background: rgba(6, 78, 59, 0.5);
    animation: hintDone 0.6s ease;
}
.keyword-hint.done i { color: #6ee7b7; }
.keyword-hint.done .hint-count { color: #6ee7b7; }
@keyframes hintDone {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* keyword-box 클릭 시 펄스 */
.keyword-box.clicked {
    animation: kwPulse 0.4s ease;
}
@keyframes kwPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* next 버튼 잠김 상태 */
.nav-btn.locked {
    opacity: 0.3;
    pointer-events: none;
}
