/* 주간 돔루 랭킹쇼 — toon.php. 색은 assets/pastel/pastel.css 토큰 */
.tn-wrap { max-width: 760px; margin: 0 auto; padding: 18px 14px 40px; }
.tn-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 2000; background: transparent; }
.tn-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rose-d), var(--lilac-d)); transition: width .1s linear; }
.tn-draft { background: #4a4260; color: #fff; text-align: center; font-weight: 800; font-size: .85rem; border-radius: 12px; padding: 8px; margin-bottom: 12px; }

.scene { position: relative; border-radius: 28px; padding: 22px 18px; margin-bottom: 20px; overflow: hidden; border: 0; box-shadow: var(--clay-hi), 0 0 0 5px rgba(255, 255, 255, .7) inset; }
.bg-lilac { background: radial-gradient(circle at 12px 12px, #e6dcfa 3px, transparent 4px) 0 0 / 28px 28px, #f4effc; }
.bg-sky { background: radial-gradient(circle at 12px 12px, #cfe4f8 3px, transparent 4px) 0 0 / 28px 28px, #eef6fd; }
.bg-peach { background: radial-gradient(circle at 12px 12px, #fbdcc2 3px, transparent 4px) 0 0 / 28px 28px, #fff4ea; }
.bg-mint { background: radial-gradient(circle at 12px 12px, #c8eedd 3px, transparent 4px) 0 0 / 28px 28px, #eefaf4; }
.bg-rose { background: radial-gradient(circle at 12px 12px, #fbd2df 3px, transparent 4px) 0 0 / 28px 28px, #fff0f5; }
.bg-lemon { background: radial-gradient(circle at 12px 12px, #f7eab0 3px, transparent 4px) 0 0 / 28px 28px, #fffbe8; }

/* 대사 줄 — 루루 왼쪽, 돔돔 오른쪽 */
.tl { display: flex; align-items: flex-end; gap: 10px; margin: 12px 0; }
.tl.dom { flex-direction: row-reverse; }
.tl .face { width: 92px; height: 92px; object-fit: contain; flex-shrink: 0; }
.tl .bub { position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; padding: 10px 14px 11px; max-width: 78%; box-shadow: 0 6px 0 -2px rgba(53, 45, 74, .12); }
.tl.lulu .bub { border-bottom-left-radius: 5px; }
.tl.dom .bub { border-bottom-right-radius: 5px; }
/* 대사 글씨 — G마켓 산스(무료·웹 임베딩 허용). 굵기마다 이름이 따로라 font-weight 대신 이름으로 고른다 */
@font-face { font-family: 'GmarketSansMedium'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'GmarketSansBold'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff'); font-display: swap; }
.tl .bub b { display: block; font-family: 'GmarketSansBold', 'Pretendard', sans-serif; font-weight: normal; font-size: .76rem; margin-bottom: 3px; }
.tl.lulu .bub b { color: var(--rose-d); }
.tl.dom .bub b { color: var(--sky-d); }
.tl .tx { margin: 0; font-family: 'GmarketSansMedium', 'Pretendard', sans-serif; font-weight: normal; font-size: 1.06rem; line-height: 1.6; letter-spacing: -.2px; color: #2b2440; word-break: keep-all; min-height: 1.6em; }
.tl .tx .gm { font-style: normal; font-family: 'GmarketSansBold', 'Pretendard', sans-serif; font-weight: normal; color: var(--lilac-d); }

/* 순서대로 나타나기 — JS 가 .on 을 붙인다(스크립트가 없으면 처음부터 다 보임) */
.toon-js [data-seq] { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .35s, transform .45s var(--spring); }
.toon-js [data-seq].on { opacity: 1; transform: none; }
.toon-js .tl[data-seq] .face { transform: scale(.6); transition: transform .5s var(--spring); }
.toon-js .tl[data-seq].on .face { transform: none; }

/* 오프닝 — 막이 열린다. 사이트 메인 할인 카드(.p-deal)와 같은 분홍·보라·하늘 그라데이션 */
.scene.opening { background: radial-gradient(420px 260px at 15% 10%, rgba(255, 255, 255, .45), transparent 70%), radial-gradient(380px 260px at 90% 90%, rgba(140, 207, 255, .55), transparent 70%), linear-gradient(135deg, #ff9ec1, #c49bff 52%, #8ccfff); color: #fff; text-align: center; padding: 30px 18px 26px; min-height: 420px; box-shadow: 0 30px 60px -28px rgba(150, 90, 220, .8), 0 0 0 6px rgba(255, 255, 255, .6) inset; }
.opening .spot { position: absolute; inset: -30% 22% auto; height: 110%; background: radial-gradient(ellipse at top, rgba(255, 255, 255, .55), transparent 62%); pointer-events: none; }
.opening .curtain { position: absolute; top: 0; bottom: 0; width: 51%; z-index: 3; background: repeating-linear-gradient(90deg, #ffc2d6 0 24px, #ffaecb 24px 48px); box-shadow: inset 0 -30px 40px rgba(226, 85, 127, .25), inset 0 6px 0 rgba(255, 255, 255, .6); transition: transform 1.2s cubic-bezier(.7, 0, .2, 1); }
.opening .curtain.l { left: 0; border-radius: 28px 0 0 28px; } .opening .curtain.r { right: 0; border-radius: 0 28px 28px 0; }
.no-curtain .curtain, .opening.on .curtain.l { transform: translateX(-100%); }
.opening.on .curtain.r { transform: translateX(100%); }
.opening .kicker { position: relative; display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .5px; margin: 0 0 12px; padding: 5px 14px; border-radius: 99px; background: rgba(255, 255, 255, .25); border: 1.5px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* .pastel.legacy h1 의 글자색·크기를 이겨야 한다 */
.tn-wrap .scene.opening h1 { position: relative; font-family: 'Black Han Sans', var(--display); font-weight: 400; font-size: 3rem; line-height: 1.1; margin: 0; color: #fff; letter-spacing: 1px; text-shadow: 0 4px 0 rgba(120, 60, 180, .35), 0 12px 24px rgba(90, 40, 160, .35); }
.opening .ep { position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; font-family: 'GmarketSansBold', var(--display); font-size: 1.15rem; margin: 12px 0 0; text-shadow: 0 2px 0 rgba(120, 60, 180, .3); }
.opening .ep .no { font-family: var(--display); font-size: 1.05rem; padding: 2px 10px; border-radius: 12px; background: #fff36b; color: #d0461e; transform: rotate(-6deg); text-shadow: none; box-shadow: 0 10px 18px -8px rgba(200, 80, 30, .6), inset 0 -4px 0 rgba(0, 0, 0, .08); }
.opening .hosts { position: relative; display: flex; justify-content: center; gap: 26px; margin: 18px 0 10px; }
.opening .hosts span { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .3); box-shadow: 0 20px 34px -18px rgba(60, 20, 120, .7), 0 0 0 6px rgba(255, 255, 255, .75); animation: p-bob 3s ease-in-out infinite; }
.opening .hosts span + span { animation-delay: -1.5s; }
.opening .hosts img { width: 112px; height: 112px; object-fit: contain; }
.tn-sound-cta { position: relative; font-family: var(--display); font-size: 1.05rem; background: #fff36b; color: #d0461e; border-radius: 16px; padding: 9px 18px; transform: rotate(-2deg); box-shadow: 0 12px 20px -10px rgba(200, 80, 30, .7), inset 0 -4px 0 rgba(0, 0, 0, .08); transition: transform .25s var(--spring); }
.tn-sound-cta:hover { transform: rotate(-2deg) translateY(-3px); }
.tn-sound-cta.hide { display: none; }
/* 소리 켜기 강조 — 커서가 다가와 딸깍 누르고 물결이 퍼지는 것을 반복 */
.tn-sound-cta { animation: tn-cta-press 2.6s ease-in-out infinite; }
.tn-sound-cta .tn-cursor { position: absolute; right: 6px; bottom: -14px; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(43, 36, 64, .45)); animation: tn-cursor 2.6s ease-in-out infinite; }
.tn-sound-cta .tn-ripple { position: absolute; left: calc(100% - 31px); top: calc(100% - 13px); width: 26px; height: 26px; margin: -13px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .95); pointer-events: none; opacity: 0; animation: tn-ripple 2.6s ease-out infinite; }
@keyframes tn-cursor {
    0% { transform: translate(46px, 40px); opacity: 0; }
    15% { opacity: 1; }
    40% { transform: translate(0, 0); }
    48% { transform: translate(0, 0) scale(.78); }
    58%, 78% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(46px, 40px); opacity: 0; }
}
@keyframes tn-cta-press {
    0%, 44% { transform: rotate(-2deg); }
    48% { transform: rotate(-2deg) translateY(3px) scale(.95); box-shadow: 0 4px 8px -6px rgba(200, 80, 30, .7), inset 0 -2px 0 rgba(0, 0, 0, .08); }
    56%, 100% { transform: rotate(-2deg); }
}
@keyframes tn-ripple {
    0%, 46% { transform: scale(.3); opacity: 0; }
    50% { opacity: 1; }
    75%, 100% { transform: scale(2.4); opacity: 0; }
}
.opening .scroll-hint { position: relative; margin: 16px 0 0; font-size: .8rem; font-weight: 700; color: #fff; opacity: .9; animation: p-bob 2s ease-in-out infinite; }

/* 속보 */
.scene.breaking .band { display: flex; align-items: center; background: #e2263f; color: #fff; margin: -22px -18px 14px; padding: 8px 0; overflow: hidden; font-weight: 800; }
.breaking .band .tag { flex-shrink: 0; background: #fff; color: #e2263f; border-radius: 6px; padding: 1px 8px; margin: 0 10px; position: relative; z-index: 1; }
.breaking .band .run { display: flex; white-space: nowrap; animation: tn-run 14s linear infinite; }
.breaking .band .run i { font-style: normal; padding-right: 20px; }
@keyframes tn-run { to { transform: translateX(-50%); } }
.breaking .headline { font-family: 'Black Han Sans', var(--display); font-size: 1.6rem; line-height: 1.3; text-align: center; color: var(--ink); margin: 6px 0 10px; }
.shake { animation: tn-shake .55s; }
@keyframes tn-shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-8px) rotate(-.6deg); } 40%, 60% { transform: translateX(8px) rotate(.6deg); } }

/* TOP3 발표 */
.pod-title, .lab-title, .rec-title { font-family: 'Black Han Sans', var(--display); font-size: 1.5rem; text-align: center; color: var(--ink); }
.pod-title i { color: var(--lemon-d); } .lab-title i { color: var(--mint-d); } .rec-title i { color: var(--peach-d); }
.pod-step .reveal { position: relative; }
.pod-step .cover { display: grid; place-items: center; height: 220px; border-radius: 22px; background: repeating-linear-gradient(-45deg, #352d4a 0 18px, #403660 18px 36px); color: #fff; position: relative; }
.pod-step .cover b { font-family: 'Black Han Sans', var(--display); font-size: 5rem; line-height: 1; }
.pod-step .cover small { position: absolute; bottom: 16px; font-weight: 800; color: #e6dcfa; }
.pod-step .open { display: none; position: relative; }
.pod-step .reveal.opened .cover { display: none; }
.pod-step .reveal.opened .open { display: block; animation: tn-pop .6s var(--spring); }
.pod-step .medal { position: absolute; top: 12px; left: 12px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: 'Black Han Sans', var(--display); font-size: 1.5rem; background: var(--mc); box-shadow: 0 6px 14px -6px var(--mc); }
.pod-step.r1 { --mc: var(--lemon-d); } .pod-step.r2 { --mc: #9aa3b5; } .pod-step.r3 { --mc: #d08a52; }
.pod-step.r1 .reveal.opened { filter: drop-shadow(0 0 22px rgba(255, 210, 80, .75)); }
.pod-step .reveal.rolling .cover { animation: tn-roll .12s linear infinite; }
@keyframes tn-roll { 50% { transform: translateY(-3px) scale(1.01); } }
@keyframes tn-pop { from { transform: scale(.7) rotate(-3deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* 게임 카드 (가격·배지는 ranking.php 와 같은 함수) */
.tc-game { display: flex; gap: 14px; background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; padding: 12px; margin: 12px 0 4px; }
.tc-game .th { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.tc-game.big { flex-direction: column; align-items: center; text-align: center; padding: 18px 14px; }
.tc-game.big .th { width: 220px; height: 220px; border-radius: 20px; }
.tc-game.wide .th { width: 140px; height: 140px; }
.tc-game .info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tc-game.big .info { align-items: center; }
.tc-game .rank { font-size: .78rem; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.tc-game .rank b { color: var(--ink); }
.tc-game .nm { font-weight: 800; font-size: 1.05rem; line-height: 1.35; color: var(--ink); }
.tc-game.big .nm { font-size: 1.25rem; }
.tc-game .gn { font-size: .78rem; color: var(--muted); }
.tc-game .pr { font-size: .9rem; margin-top: 2px; }
.tc-game .bd { display: flex; flex-wrap: wrap; gap: 4px; }
.tc-game.big .bd { justify-content: center; }
.tc-game .act { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.rk-chg { font-weight: 800; font-size: .82rem; display: inline-flex; align-items: center; gap: 1px; }
.rk-chg.up { color: var(--rose-d); } .rk-chg.down { color: var(--sky-d); } .rk-chg.same { color: #b3adc3; }
.rk-chg.new { color: #fff; background: var(--rose-d); border-radius: 99px; padding: 1px 8px; font-size: .7rem; }
.rk-pl { white-space: nowrap; line-height: 1.5; }
.rk-pl i { font-style: normal; font-size: .66rem; font-weight: 800; color: var(--muted); background: #efe9f6; border-radius: 6px; padding: 1px 5px; margin-right: 5px; }
.rk-pl.now { opacity: .75; font-size: .92em; }
.rk-pl s, .price-flip s { color: var(--muted); font-size: .78rem; } .rk-pl em, .price-flip em { font-style: normal; color: var(--rose-d); font-weight: 800; font-size: .8rem; }
.rk-price-note { font-size: .72rem; color: var(--muted); }
.rk-badge { display: inline-flex; align-items: center; gap: 3px; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.rk-badge.low { background: #ffe3ec; color: var(--rose-d); } .rk-badge.top3 { background: #fdf2c4; color: #9a7400; }
.rk-badge.run { background: #ffe7d4; color: var(--peach-d); } .rk-badge.first { background: #e6f7ef; color: var(--mint-d); }
.rk-badge.age { background: #4a4260; color: #fff; }
.rk-hist, .rk-go { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 700; padding: 6px 10px; border-radius: 12px; background: #efe9f6; color: var(--lilac-d); }
.rk-go { background: #e8f1fb; color: var(--sky-d); }

/* 순위 점프 */
.jump-num { display: flex; align-items: center; justify-content: center; gap: 16px; font-family: 'Black Han Sans', var(--display); margin: 4px 0 8px; }
.jump-num .from { font-size: 1.8rem; color: var(--muted); text-decoration: line-through; }
.jump-num i { font-size: 2rem; color: var(--rose-d); }
.jump-num .to { font-size: 3.4rem; color: var(--rose-d); line-height: 1; }

/* 데이터 실험실 — 가격표 뒤집기 */
.price-flip { position: relative; width: 260px; height: 150px; margin: 16px auto; perspective: 900px; }
.price-flip .face-front, .price-flip .face-back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 18px; border: 3px solid var(--ink); backface-visibility: hidden; transition: transform .8s var(--spring); }
.price-flip .face-front { background: #fff; }
.price-flip .face-back { background: #fff7d6; transform: rotateY(180deg); }
.price-flip.flipped .face-front { transform: rotateY(-180deg); }
.price-flip.flipped .face-back { transform: rotateY(0); }
.price-flip small { font-weight: 800; color: var(--muted); font-size: .8rem; }
.price-flip .big { font-size: 1.35rem; }
.price-flip .stamp { position: absolute; right: -14px; top: -14px; transform: rotate(14deg); border: 3px solid #e2263f; color: #e2263f; background: #fff; border-radius: 10px; padding: 2px 8px; font-weight: 800; font-size: .85rem; }

/* 다른 랭킹 1위 */
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.mini { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; padding: 10px 8px; }
.mini .lbl { font-size: .7rem; font-weight: 800; color: var(--lilac-d); background: #efe9f6; border-radius: 99px; padding: 1px 8px; }
.mini img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.mini b { font-size: .8rem; line-height: 1.3; }

/* 기록 */
.rec-num { text-align: center; font-family: 'Black Han Sans', var(--display); font-size: 1.6rem; color: var(--ink); }
.rec-num b { font-size: 5.2rem; color: var(--peach-d); line-height: 1; margin-right: 4px; }
.rec-lbl { text-align: center; font-weight: 800; color: var(--muted); }

/* 엔딩 */
.ending .done { margin: 18px auto 10px; width: max-content; border: 4px solid #e2263f; color: #e2263f; border-radius: 14px; padding: 4px 16px; font-family: 'Black Han Sans', var(--display); font-size: 1.8rem; }
.toon-js .ending .done[data-seq] { transform: scale(2.4) rotate(-14deg); }
.toon-js .ending .done[data-seq].on { transform: rotate(-8deg); }
.end-act { text-align: center; }
.end-act .go { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff !important; font-weight: 800; border-radius: 14px; padding: 10px 18px; }

.tn-eps { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.tn-eps a, .tn-eps span { flex-shrink: 0; padding: 9px 14px; border-radius: 14px; font-weight: 700; font-size: .88rem; background: var(--surface); box-shadow: var(--clay); color: var(--ink); white-space: nowrap; }
.tn-eps span.off { opacity: .4; }
.tn-eps select { flex: 1; min-width: 0; border: 0; border-radius: 14px; padding: 9px 12px; font-weight: 800; color: var(--ink); background: #efe9f6; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .05); text-overflow: ellipsis; }
@media (max-width: 480px) { .tn-eps a, .tn-eps span { padding: 9px 10px; font-size: 0; } .tn-eps a i, .tn-eps span i { font-size: 1rem; } }
.tn-list { background: var(--surface); border-radius: 22px; box-shadow: var(--clay); padding: 14px; margin-top: 8px; }
.tn-list h2 { font-family: var(--display); font-size: 1.2rem; margin: 0 0 8px; }
.tn-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; }
.tn-list a.on, .tn-list a:hover { background: #efe9f6; }
.tn-list span { font-weight: 800; color: var(--lilac-d); } .tn-list small { margin-left: auto; color: var(--muted); }
.tn-foot { color: var(--muted); font-size: .78rem; text-align: center; margin: 16px 6px 0; }

/* 한 화면에 한 장면 — toon.js 가 장면을 .tn-slot 에 담고, 스크롤을 조금 하면 이전·다음 장면으로 맞춰 옮긴다 */
/* 칸은 세로로 이어진 필름 — 양옆 구멍 줄, 칸 사이 프레임 선, 가장자리 프레임 번호 */
.tn-slot {
    --film: #2b2342; --hole: #f4eefb; --edge: 54px;
    position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
    margin: 0 calc(var(--edge) * -1); padding: 28px var(--edge);
    background: radial-gradient(60% 40% at 50% 50%, rgba(182, 156, 255, .16), transparent 70%), linear-gradient(90deg, #241d38, var(--film) 12%, var(--film) 88%, #241d38);
    border-top: 2px solid rgba(255, 255, 255, .07);
}
.tn-slot::before, .tn-slot::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: var(--edge);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='46'%3E%3Crect x='17' y='12' width='20' height='22' rx='5' fill='%23f4eefb'/%3E%3C/svg%3E") center top / var(--edge) 46px repeat-y;
}
.tn-slot::before { left: 0; }
.tn-slot::after { right: 0; }
.tn-slot > .scene { margin-bottom: 0; z-index: 1; }
.tn-slot.first { border-radius: 26px 26px 0 0; border-top: 0; }
.tn-slot:last-of-type { border-radius: 0 0 26px 26px; }
/* 프레임 번호 — 필름 가장자리 글씨 */
.tn-slot > .tn-fno { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font: 700 .66rem/1 'Pretendard', sans-serif; letter-spacing: 3px; color: rgba(255, 214, 120, .55); }
@media (max-width: 640px) { .tn-slot { --edge: 26px; margin: 0 -14px; padding: 18px var(--edge); } .tn-slot::before, .tn-slot::after { background-size: var(--edge) 22px; } }
.tn-capture .tn-slot { min-height: 0; display: block; margin: 0; padding: 0; background: none; border: 0; }
.tn-capture .tn-slot::before, .tn-capture .tn-slot::after, .tn-capture .tn-fno { display: none; }

/* 소리 버튼 */
.tn-sound { position: fixed; right: 18px; bottom: 22px; z-index: 1900; display: flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 99px; padding: 10px 14px; font-weight: 800; font-size: .85rem; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6); }
.tn-sound[aria-pressed="true"] { background: var(--rose-d); }
/* 관리자 전용 — 커뮤니티 이미지 받기 */
.tn-export { position: fixed; right: 18px; bottom: 74px; z-index: 1900; display: flex; align-items: center; gap: 6px; background: #fff36b; color: #d0461e; border-radius: 99px; padding: 10px 14px; font-weight: 800; font-size: .85rem; box-shadow: 0 10px 22px -10px rgba(200, 80, 30, .7); }
.tn-export:disabled { opacity: .8; cursor: wait; }
.tn-capture *, .tn-capture *::before, .tn-capture *::after { animation: none !important; transition: none !important; }
/* 이미지에는 화면 조작용 요소를 넣지 않는다 */
.tn-capture .tn-sound-cta, .tn-capture .scroll-hint, .tn-capture .act, .tn-capture .end-act, .tn-capture .opening .curtain, .tn-capture .opening .spot { display: none !important; }
/* html2canvas 는 object-fit 을 몰라 정사각 칸에 이미지를 늘려 그린다 — 이미지에서는 높이만 맞추고 너비는 원래 비율대로 */
.tn-capture .tl .face { width: auto; height: 92px; max-width: 130px; }
.tn-capture .opening .hosts img { width: auto; height: 112px; max-width: 124px; }
/* html2canvas 가 inset 그림자를 번지게 그린다 — 이미지에서는 같은 느낌의 흰 테두리로 */
.tn-capture .scene { box-shadow: none !important; border: 5px solid rgba(255, 255, 255, .85); }
/* 뒤집기는 정지 이미지에서 안 보이므로 당시·지금 가격표를 나란히 */
.tn-capture .price-flip { perspective: none; display: flex; justify-content: center; gap: 16px; width: auto; height: auto; }
.tn-capture .price-flip .face-front, .tn-capture .price-flip .face-back { position: relative; inset: auto; width: 230px; height: 140px; transform: none !important; backface-visibility: visible; }

/* 꽃가루 */
.tn-confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 1950; }
.tn-confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: tn-fall linear forwards; }
@keyframes tn-fall { to { transform: translateY(110vh) rotate(720deg); } }

@media (max-width: 640px) {
    .tl .face { width: 66px; height: 66px; }
    .tl .bub { max-width: 82%; }
    .tl .tx { font-size: .96rem; }
    .tn-wrap .scene.opening h1 { font-size: 2.3rem; }
    .opening .hosts span { width: 104px; height: 104px; }
    .opening .hosts img { width: 88px; height: 88px; }
    .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tc-game .th, .tc-game.wide .th { width: 84px; height: 84px; }
    .tc-game.big .th { width: 180px; height: 180px; }
    .tn-sound { bottom: 86px; right: 12px; }
    .tn-export { bottom: 138px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .opening .curtain { display: none; }
    .breaking .band .run { animation: none; }
    .tn-sound-cta, .tn-sound-cta .tn-cursor { animation: none; }
    .tn-sound-cta .tn-ripple { display: none; }
}
