.tarot-screen:has(.tv-experience){background:#110e15;padding:0;color:#f4e9d7}.tarot-screen:has(.tv-experience) .page{padding:0;max-width:none}.tarot-screen:has(.tv-experience) .top-row{position:absolute;z-index:12;top:10px;left:max(10px,env(safe-area-inset-left));background:#140f19a6;border-radius:50%}.tarot-screen:has(.tv-experience) .back-button{color:#f5e9d6}
.tv-experience{position:relative;isolation:isolate;min-height:100dvh;overflow:hidden;background:#130e14;color:#f3e9d7;font:17px/1.75 'Gowun Batang',Georgia,serif;-webkit-touch-callout:none;user-select:none}.tv-experience *{box-sizing:border-box}.tv-experience img,.tv-experience video{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;pointer-events:none}.tv-experience button,.tv-experience textarea{font:inherit}.tv-experience button{cursor:pointer}.tv-experience button:focus-visible,.tv-experience textarea:focus-visible{outline:2px solid #e4c991;outline-offset:3px}.tv-grain,.tv-candle{position:absolute;inset:0;pointer-events:none;z-index:9}.tv-grain{opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E")}.tv-candle{background:radial-gradient(ellipse 90% 60% at 92% 4%,#d8943c1b,transparent 65%),radial-gradient(ellipse 85% 75% at 8% 10%,#b76d2b16,transparent 70%),radial-gradient(ellipse at center,transparent 45%,#080509b8);animation:tvCandle 5s ease-in-out infinite alternate}@keyframes tvCandle{to{opacity:.75}}.tv-sound{position:absolute;z-index:13;top:15px;right:14px;padding:6px 10px;border:1px solid #bda7799c;border-radius:30px;background:#171118c9;color:#f6e9cf;font-size:12px!important}.tv-film,.tv-wall{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:#0d0a0e}.tv-intro-film,.tv-chuldu-film{object-fit:cover}.tv-intro-title{position:absolute;z-index:2;top:67%;left:7%;right:7%;text-align:center;text-shadow:0 3px 18px #000;animation:tvInk 1.3s .7s both}.tv-intro-title small{font-size:13px;letter-spacing:.13em}.tv-intro-title h1{font:normal clamp(27px,7vw,48px)/1.35 'Song Myung','Gowun Batang',serif;margin:8px 0}.tv-bottom{position:relative;z-index:4;padding:22px 18px max(23px,env(safe-area-inset-bottom));text-align:center}.tv-intro .tv-bottom,.tv-shuffle .tv-bottom{position:absolute;bottom:0;left:0;right:0}.tv-button{min-height:50px;width:min(100%,420px);padding:12px 20px;border:1px solid #bd9d69;border-radius:4px;background:#251c22ed;color:#f7eedf;box-shadow:0 8px 28px #0009, inset 0 0 0 1px #e1c99524;font-weight:700!important;letter-spacing:.03em}.tv-button:disabled{opacity:.35;cursor:default}.tv-button:active:not(:disabled){transform:scale(.98)}.tv-skip{display:block;margin:9px auto 0;background:transparent;border:0;box-shadow:none;font-size:13px!important;min-height:30px}.tv-wall{object-fit:cover;object-position:center top}.tv-foreground{position:absolute;bottom:0;left:0;right:0;z-index:2;padding:24px 18px max(25px,env(safe-area-inset-bottom));background:linear-gradient(transparent,#100c10 8%,#161015 100%);max-height:67dvh;overflow-y:auto}.tv-line{font:normal clamp(22px,5.2vw,31px)/1.45 'Song Myung',serif;margin:0 auto 18px;max-width:540px;text-align:center;min-height:1.5em}.tv-case-list{max-width:540px;margin:auto;display:grid;gap:8px}.tv-case-list button{display:flex;justify-content:space-between;gap:10px;align-items:center;width:100%;padding:12px 15px;border:1px solid #a18a68a8;border-radius:3px;background:#eadbc2;color:#281c1e;text-align:left;animation:tvRise .45s calc(var(--n)*.13s) both}.tv-case-list b{font-size:18px}.tv-case-list small{font-size:12px;text-align:right;color:#66544b}.tv-speaker{display:flex;align-items:center;gap:9px;color:#cbbca5;font-size:12px}.tv-speaker img{width:40px;height:40px;object-fit:cover;border-radius:50%;border:1px solid #a28b65}.tv-question>.tv-speaker{position:absolute;z-index:3;bottom:calc(67dvh - 33px);left:18px}.tv-question-label{display:block;max-width:540px;margin:auto;font-size:13px;color:#cfb789}.tv-question-label small{opacity:.7}.tv-question textarea{display:block;width:min(100%,540px);height:85px;margin:7px auto 12px;padding:12px;border:1px solid #a68c66;border-radius:3px;background:#f0e5d1;color:#241c1d;resize:vertical;user-select:text;-webkit-user-select:text}.tv-chips{display:flex;gap:7px;overflow-x:auto;max-width:540px;margin:auto}.tv-chips button{flex:0 0 auto;border:1px solid #a58b68;border-radius:30px;background:transparent;color:#efe3d0;padding:6px 10px;font-size:12px}.tv-question .tv-bottom{padding-bottom:0}.tv-shuffle-film{height:min(100vw,75dvh);top:10%;object-fit:contain}.tv-shuffle-word{position:absolute;z-index:2;top:9%;left:12%;right:12%;text-align:center;color:#e7c987;font:normal clamp(22px,5vw,32px)/1.5 'Song Myung';animation:tvBreathe 2.5s ease-in-out infinite alternate}@keyframes tvBreathe{to{opacity:.55}}
.tv-board{position:absolute;inset:0;background:#161014}.tv-board-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center top}.tv-slots{position:absolute;z-index:2;top:52%;left:12%;right:12%;display:flex;justify-content:space-around;gap:6px}.tv-slot{width:26%;aspect-ratio:2/3;border:1px solid #d3ae653d;border-radius:5px;position:relative;display:grid;place-items:center;background:#150c0c25}.tv-slot img{width:100%;height:100%;object-fit:cover;border-radius:4px}.tv-slot span{position:absolute;bottom:-27px;white-space:nowrap;font-size:11px;color:#e2d2b8;text-shadow:0 2px 4px #000}.tv-fan{position:absolute;z-index:3;left:50%;top:30%;width:min(90vw,650px);height:230px;transform:translateX(calc(-50% + var(--shift,0px)));touch-action:pan-y}.tv-fan-card{position:absolute;left:calc(50% - 27px);top:12px;width:54px;height:83px;padding:0;border:0;border-radius:4px;background:none;transform-origin:50% 280px;transform:rotate(calc((var(--i) - 10.5)*4deg)) translateY(60px);animation:tvFan .7s calc(var(--i)*.03s) both;transition:filter .2s,translate .25s}.tv-fan-card img{width:100%;height:100%;object-fit:cover;border-radius:4px;box-shadow:0 3px 8px #000b}.tv-fan-card:hover,.tv-fan-card:focus-visible{translate:0 -15px;z-index:5}.tv-fan-card.is-picked{opacity:.25}.tv-fan-card.is-picked:hover{translate:0}.tv-fan-caption{position:absolute;z-index:4;bottom:20px;left:18px;right:18px;display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;max-width:600px;margin:auto;padding:10px 12px;background:#1d1519e8;border:1px solid #86745c;border-radius:5px;font-size:12px;line-height:1.5}.tv-fan-caption p{margin:0}.tv-fan-caption strong{font-size:15px;color:#dfc896}.tv-pick .tv-fan-card{animation:none}.tv-reading{position:relative;z-index:3;max-width:620px;margin:0 auto;min-height:100dvh;padding:38dvh 20px 30px;background:linear-gradient(transparent 0%,#120e13dd 33%,#171117 48%)}.tv-reading h2,.tv-scroll h1,.tv-scroll h2,.tv-act-paper h2{font:normal clamp(25px,6vw,36px)/1.35 'Song Myung',serif;margin:15px 0}.tv-story{white-space:pre-line}.tv-story p{margin:0 0 1.15em;opacity:0;transform:translateY(11px);filter:blur(5px);transition:opacity .5s,transform .5s,filter .5s;overflow-wrap:anywhere}.tv-story p.is-visible{opacity:1;transform:none;filter:none}.tv-story p:first-child::first-line{font-weight:700}.tv-opening p:last-child{color:#dfc48e}.tv-card-stage{position:sticky;top:8px;z-index:4;max-width:310px;margin:0 auto;height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;transition:height .7s}.tv-face{position:relative;width:min(64vw,260px);aspect-ratio:2/3;border-radius:8px;overflow:hidden;box-shadow:0 20px 35px #000c;animation:tvFlip .65s both}.tv-face img,.tv-face video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tv-face span{position:absolute;top:7px;left:8px;right:8px;text-align:center;font-size:12px;background:#160e15b8}.tv-card-stage h2{font:normal 24px 'Song Myung';margin:8px 0;color:#e5c88f}.tv-card-stage.is-settled{height:44dvh}.tv-card-stage.is-settled .tv-face{width:min(29vw,120px)}.tv-card-reading{min-height:0;padding:15px 21px 30px;background:#171117;margin-top:-2px}.tv-position{color:#d8bf91;font-size:13px}.tv-card-reading details{border-top:1px solid #7d6b5b;padding:12px 0;font-size:14px}.tv-card-reading ol{padding-left:20px}.tv-link-cards{position:absolute;z-index:2;top:23%;left:18%;right:18%;height:140px;display:flex;align-items:center;justify-content:space-between}.tv-link-cards img{height:100%;max-width:35%;object-fit:contain}.tv-link-cards i{height:1px;flex:1;background:linear-gradient(90deg,#997b42,#e1c989,#997b42);box-shadow:0 0 12px #e1c989}.tv-chuldu-film{object-fit:cover}.tv-verdict-mark{position:absolute;z-index:3;top:45%;left:50%;transform:translate(-50%,-50%) rotate(-8deg);padding:8px 30px;border:5px double #9c3027;color:#a8312a;font:normal 48px 'Song Myung';background:#eee0cbd9;animation:tvStamp .5s 1.6s both}.tv-summary .tv-reading{padding-top:65dvh}.tv-temperature{margin:30px 0 10px;font-size:14px}.tv-temp-track{height:8px;margin:10px 0;background:#50515c;border-radius:10px;overflow:hidden}.tv-temp-track i{display:block;width:70%;height:100%;background:linear-gradient(90deg,#858aa0,#c8927b);animation:tvGauge 1.6s both}.tv-temperature small{display:block;color:#d6c9bc}.tv-lens{font-size:13px;color:#c7b8a4}.tv-final-panel{max-width:650px;min-height:100dvh;margin:auto;padding:23dvh 25px 40px;text-align:center;background:radial-gradient(circle at 50% 40%,#34191c,#100d12 65%)}.tv-final-stamp{margin:32px auto 45px;padding:25px 12px;border:5px double #a54439;color:#e0b6a5;transform:rotate(-3deg);animation:tvStamp .5s 1.2s both}.tv-final-stamp h2{font:normal clamp(27px,6vw,43px)/1.35 'Song Myung';margin:9px 0}.tv-final-panel .tv-story{text-align:left}.tv-act-paper,.tv-scroll-paper{position:relative;z-index:2;width:min(calc(100% - 32px),660px);margin:9vh auto 20px;padding:30px 24px;background:linear-gradient(120deg,#e6d5b5,#f4e6cb 40%,#e7d6b6);color:#30231f;box-shadow:0 18px 45px #0009;border:1px solid #b99c70}.tv-act-paper small{letter-spacing:.1em}.tv-act-paper .tv-button{background:#47302d}.tv-note{font-size:12px;opacity:.8}.tv-end-actions{position:relative;z-index:2;display:grid;gap:10px;width:min(calc(100% - 32px),660px);margin:0 auto 50px}.tv-end-actions .tv-button{width:100%}.tv-scroll-paper{margin:20px auto 60px}.tv-scroll h1{text-align:center}.tv-scroll section{border-top:1px solid #b99c70;padding-top:20px;margin-top:28px}.tv-scroll section img{display:block;width:min(48%,180px);height:auto;margin:10px auto 20px}.tv-scroll-paper .tv-story p{opacity:1;transform:none;filter:none}.tv-scroll-paper>.tv-button{background:#47302d}
@keyframes tvRise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}@keyframes tvInk{from{opacity:0;filter:blur(12px)}to{opacity:1;filter:none}}@keyframes tvFan{from{opacity:0;transform:translateY(220px) rotate(0)}to{opacity:1;transform:rotate(calc((var(--i) - 10.5)*4deg)) translateY(60px)}}@keyframes tvFlip{from{transform:scale(.45) rotateY(180deg);opacity:.2}to{transform:scale(1) rotateY(0);opacity:1}}@keyframes tvStamp{from{opacity:0;transform:translate(-50%,-50%) scale(2) rotate(-8deg)}to{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(-8deg)}}@keyframes tvGauge{from{width:0}to{width:70%}}
.tv-final-stamp{animation-name:tvFinalStamp}@keyframes tvFinalStamp{from{opacity:0;transform:scale(1.6) rotate(-3deg)}to{opacity:1;transform:scale(1) rotate(-3deg)}}
.phone:has(.tv-experience){width:min(100%,884px);min-height:100dvh;border:0;border-radius:0;background:#110e15;overflow:visible}.page.tarot-screen:has(.tv-experience){min-height:100dvh;display:block;padding:0;overflow:visible}.tv-experience{width:100%}.tv-intro-film,.tv-chuldu-film{object-fit:contain}.tv-face video[hidden]{display:none}
.tv-reading>.tv-bottom,.tv-final-panel>.tv-bottom{opacity:0;visibility:hidden;transition:opacity .4s}.tv-experience.is-complete .tv-reading>.tv-bottom,.tv-experience.is-complete .tv-final-panel>.tv-bottom{opacity:1;visibility:visible}.tv-story .tv-emphasis{font:normal clamp(22px,5vw,29px)/1.55 'Song Myung','Gowun Batang',serif;margin-top:1.5em;color:#e4c993}.tv-story [data-tv-quote]{font-family:'Song Myung','Gowun Batang',serif;letter-spacing:.025em}
.tv-opening .tv-slots{top:22%}.tv-opening .tv-reading{padding-top:51dvh;background:linear-gradient(transparent 0 39%,#171117 51%)}.tv-summary .tv-slots{top:27%}.tv-summary .tv-reading{padding-top:57dvh;background:linear-gradient(transparent 0 48%,#171117 58%)}
.tarot-archive{max-width:540px;margin:32px auto 0}.tarot-archive h2{font:normal 22px 'Song Myung','Gowun Batang',serif}.tarot-archive button{display:flex;justify-content:space-between;width:100%;padding:12px 15px;margin:8px 0;border:1px solid #ab8c68;border-radius:6px;background:#f2e7d5;color:#302325;text-align:left;font:15px 'Gowun Batang',serif;cursor:pointer}
.tv-temp-labels{display:flex;justify-content:space-between;font-size:11px;color:#bcb1ad;margin:0 0 9px}
.tv-flying-card{position:fixed;z-index:10000;object-fit:cover;border-radius:5px;pointer-events:none;box-shadow:0 10px 28px #000a}
.tarot-page img,.tarot-page video,.tarot-card-dialog img,.tarot-card-dialog video{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
/* The room artwork uses a 9:16 canvas. Keep interactive layers in that canvas. */
.tv-intro-title{top:auto;bottom:112px;left:0;right:0;padding:22px 18px 10px;background:linear-gradient(transparent,#100b13ed 27%,#100b13f2);text-shadow:0 2px 4px #000,0 0 22px #000;opacity:0;visibility:hidden;animation:none}
.tv-intro.is-film-ended .tv-intro-title{opacity:1;visibility:visible;animation:tvInk .65s both}
.tv-choose .tv-wall{object-fit:contain;object-position:top center;background:#100b12}
.tv-choose .tv-foreground{background:linear-gradient(transparent,#100b12d9 10%,#100b12f7 38%);max-height:min(61dvh,520px)}
.tv-shuffle{display:block;min-height:100dvh;padding:0}
.tv-shuffle-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.tv-shuffle-word{position:absolute;z-index:2;top:0;left:0;right:0;width:100%;margin:0;padding:max(68px,calc(env(safe-area-inset-top) + 60px)) 16px 24px;background:linear-gradient(#100b12ed,#100b12ba 62%,transparent);text-align:center;font-size:clamp(19px,5vw,28px)}
.tv-shuffle .tv-bottom{position:absolute;z-index:4;bottom:0;left:0;right:0;width:100%;padding:30px 18px max(26px,env(safe-area-inset-bottom));background:linear-gradient(transparent,#100b12c9 35%,#100b12f2);opacity:0;pointer-events:none;transition:opacity .3s ease}
.tv-shuffle.is-ready .tv-bottom{opacity:1;pointer-events:auto}
.tv-board{display:flex;justify-content:center;align-items:flex-start}
.tv-board-image{position:relative;width:min(100vw,56.25dvh);aspect-ratio:9/16;flex:none}
.tv-board-art{width:100%;height:100%;object-fit:contain;object-position:top center}
.tv-slots{inset:0;display:block;pointer-events:none}
.tv-slot{position:absolute;top:47.3%;height:20.6%;width:18.5%;aspect-ratio:auto;transform:translateX(-50%);border:0;background:transparent;display:block}
.tv-slot:nth-child(1){left:22.5%}.tv-slot:nth-child(2){left:50%}.tv-slot:nth-child(3){left:77.8%}
.tv-slot img{display:block;width:100%;height:100%;object-fit:fill;border-radius:3px}
.tv-slot span{left:50%;bottom:-25px;transform:translateX(-50%);font-size:clamp(9px,2.5vw,12px);background:#160e15b8;padding:0 3px}
.tv-fan{left:50%;top:min(21.333vw,12dvh);width:min(100vw,56.25dvh);height:min(53.333vw,30dvh);display:flex;align-items:center;gap:4px;padding:10px 8px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;transform:translateX(-50%);touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#bca06f transparent}
.tv-fan-card,.tv-pick .tv-fan-card{position:relative;top:auto;left:auto;flex:0 0 62px;width:62px;height:96px;transform:none;transform-origin:center;animation:tvRise .45s calc(var(--i)*.025s) both;scroll-snap-align:center;transition:translate .2s,filter .2s}
.tv-fan-card:hover,.tv-fan-card:focus-visible,.tv-fan-card.is-picked{translate:0 -12px;filter:drop-shadow(0 0 9px #f7d77d);z-index:2}
.tv-fan-card.is-picked{opacity:1}
.tv-keeper-badge{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid #d6b879;border-radius:50%;background:radial-gradient(circle,#75552b,#291e1e);color:#f9e6b4;font:normal 23px 'Song Myung',serif;box-shadow:0 0 10px #c194433b}
.tv-revisit{margin:0 0 15px;color:#dfc895;font-size:13px}
.tv-card-stage{max-width:none;background:radial-gradient(ellipse at center,#382322,#130e14 68%);height:max(37dvh,310px)}
.tv-card-zoom{display:block;border:0;padding:0;background:none;color:inherit;cursor:zoom-in}
.tv-card-zoom:focus-visible{outline:2px solid #e4c991;outline-offset:5px}
.tv-card-stage .tv-face{width:min(78vw,420px,calc(72dvh * 2 / 3));transition:width .65s ease;animation:tvFlip .65s both;box-shadow:0 20px 55px #000e,0 0 26px #d0a75077}
.tv-card-stage.is-settled{padding-top:22px;justify-content:flex-start}
.tv-card-stage.is-settled .tv-face{width:min(46vw,230px)}
.tv-card-stage.is-settled .tv-card-zoom{cursor:zoom-in}
.tv-card-stage.is-settled h2{font-size:19px;margin:4px 0}
.tv-card-reading{padding:17px 21px 30px;position:relative;z-index:5}
.tv-opening .tv-slots,.tv-summary .tv-slots{top:0}
.tarot-screen:has(.tarot-hub){padding:0;background:#100b12}
.phone:has(.tarot-hub){width:min(100%,884px);min-height:100dvh;border:0;border-radius:0;overflow:visible;background:#100b12}
.page.tarot-screen:has(.tarot-hub){min-height:100dvh;display:block;padding:0;overflow:visible}
.tarot-hub{position:relative;isolation:isolate;width:min(100%,884px);min-height:100dvh;padding:20dvh 18px 50px;background:linear-gradient(#0e0a10a8,#0e0a10b5 42%,#0e0a10ef),url('../art/tarot/room/p1_imong_front.webp') top center / contain no-repeat,#100b12}
.tarot-hub .tarot-heading{margin:0 auto 35px;text-shadow:0 3px 12px #000}
.tarot-hub .tarot-heading h1{font:normal clamp(40px,11vw,68px)/1.15 'Song Myung','Gowun Batang',serif;color:#f1d6a3;letter-spacing:.06em}
.tarot-hub .tarot-heading p{font:normal clamp(17px,5vw,25px)/1.5 'Song Myung','Gowun Batang',serif;color:#ead9bd}
.tarot-hub .tarot-hub-options{max-width:510px;gap:17px}
.tarot-hub .tarot-hub-options button{position:relative;border:2px solid #b89555;border-radius:2px;padding:20px 22px;background:linear-gradient(115deg,#f1e0bd,#dfc89f 55%,#f3e3c4);color:#33241e;box-shadow:0 10px 25px #0008,inset 0 0 0 2px #fff4cc9c}
.tarot-hub .tarot-hub-options b{font:normal clamp(21px,6vw,27px)/1.3 'Song Myung','Gowun Batang',serif}
.tarot-hub .tarot-hub-options small{color:#594538}
.tarot-hub .tarot-archive{position:relative;padding:12px;background:#100b12d9;color:#f0dfbe}
@media(min-width:700px){.tv-experience{width:min(100%,884px);margin:auto;box-shadow:0 0 80px #000}.tv-wall{object-fit:contain}.tv-foreground{left:50%;transform:translateX(-50%);width:min(100%,650px)}}
@media(max-width:380px){.tv-fan{top:28%}.tv-fan-card{width:47px;height:72px;left:calc(50% - 23px)}.tv-case-list button{padding:9px 12px}.tv-case-list b{font-size:16px}.tv-foreground{max-height:70dvh}.tv-fan-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){.tv-experience *, .tv-experience *::before,.tv-experience *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}.tv-story p{opacity:1;filter:none;transform:none}.tv-fan-card{transform:rotate(calc((var(--i) - 10.5)*4deg)) translateY(60px)}}
@media(max-width:380px){.tv-fan{top:min(21.333vw,12dvh)}.tv-fan-card,.tv-pick .tv-fan-card{width:62px;height:96px;flex-basis:62px;left:auto}.tv-foreground{max-height:70dvh}.tv-choose .tv-foreground{max-height:min(61dvh,520px)}}
@media(prefers-reduced-motion:reduce){.tv-fan-card,.tv-pick .tv-fan-card{transform:none}}
/* A single scrollable row stays within the upper empty part of the 9:16 cloth. */
.tv-spread .tv-fan,.tv-pick .tv-fan{position:absolute;z-index:3;top:min(21.333vw,12dvh);left:50%;width:min(100vw,56.25dvh);height:126px;display:flex;align-items:flex-end;gap:3px;padding:12px 8px 5px;overflow-x:auto;overflow-y:hidden;transform:translateX(-50%);touch-action:pan-x;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#bca06f transparent;overscroll-behavior-x:contain}
.tv-spread .tv-fan-card,.tv-pick .tv-fan-card{position:relative;top:auto;left:auto;flex:0 0 70px;width:70px;height:105px;min-width:0;min-height:0;padding:0;display:block;overflow:visible;transform:none;transform-origin:center;animation:none;scroll-snap-align:start;transition:translate .2s,filter .2s,opacity .2s;touch-action:pan-x}
.tv-spread .tv-fan-card img,.tv-pick .tv-fan-card img{display:block;width:100%;height:100%;border:1px solid #c8aa6e;border-radius:5px;box-shadow:0 5px 13px #000b,inset 0 0 4px #f7dfaa}
.tv-spread .tv-fan-card:hover,.tv-pick .tv-fan-card:hover,.tv-spread .tv-fan-card:focus-visible,.tv-pick .tv-fan-card:focus-visible{translate:0 -10px;filter:drop-shadow(0 0 8px #e5ba62)}
.tv-spread .tv-fan-card.is-picked,.tv-pick .tv-fan-card.is-picked{opacity:0;pointer-events:none;translate:0 0;filter:none}
.tv-spread .tv-fan-card.is-lifting,.tv-pick .tv-fan-card.is-lifting{translate:0 -28px;filter:drop-shadow(0 0 15px #ffd37b);z-index:40!important}
.tv-spread .tv-fan.is-opening .tv-fan-card{animation:tvRowSweep .42s cubic-bezier(.17,.78,.3,1) calc(var(--i)*.027s) both}
@keyframes tvRowSweep{from{opacity:0;transform:translateX(-95px)}to{opacity:1;transform:translateX(0)}}
.tv-fan.is-shimmering .tv-fan-card img{animation:tvFanShimmer .42s ease-out calc(var(--i)*.012s) 1}
@keyframes tvFanShimmer{50%{border-color:#ffe4a2;box-shadow:0 0 12px #fbd37d,0 0 3px #fff inset}}
.tv-slots:has(.tv-slot-cancel){pointer-events:none}.tv-slot-cancel{position:absolute;z-index:2;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:4px;background:transparent;pointer-events:auto;touch-action:manipulation}.tv-slot-cancel:hover,.tv-slot-cancel:focus-visible{box-shadow:0 0 14px #f2ce79,inset 0 0 9px #f2ce79}
.tv-flying-card{border:1px solid #f5d889;box-shadow:0 0 19px #f7c760,0 14px 28px #000a;filter:drop-shadow(0 0 7px #ffd879)}
.tv-returning-card{position:fixed;z-index:10000;object-fit:cover;border:1px solid #e7c77e;border-radius:5px;pointer-events:none;box-shadow:0 0 12px #e8bc66,0 10px 24px #000a}
@media(prefers-reduced-motion:reduce){.tv-spread .tv-fan.is-opening .tv-fan-card{animation:none}.tv-fan.is-shimmering .tv-fan-card img{animation:none}}

/* Tarot hub: the same lacquer and candlelight as the investigation scenes. */
.tarot-hub{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;overflow:hidden;padding:clamp(34px,7dvh,70px) 18px max(34px,env(safe-area-inset-bottom));background:#100b12}
.tarot-hub::before,.tarot-hub::after{content:"";position:absolute;inset:0;pointer-events:none}
.tarot-hub::before{z-index:-2;background:url('../art/tarot/room/p1_imong_front.webp') center top / cover no-repeat;animation:tarotHubZoom 24s ease-in-out infinite alternate}
.tarot-hub::after{z-index:-1;background:radial-gradient(ellipse at 77% 25%,#dda35122,transparent 45%),linear-gradient(180deg,#100b12a8,#100b12c4 48%,#100b12ed);animation:tarotHubCandle 5.8s ease-in-out infinite alternate}
.tarot-hub .tarot-heading{position:relative;z-index:1;width:100%;margin:0 auto clamp(24px,5dvh,44px);text-align:center}
.tarot-hub .tarot-heading h1{margin:0 0 8px;font:normal clamp(48px,10vw,82px)/1.12 'Song Myung','Gowun Batang',serif;color:#f5dba8;text-align:center;text-shadow:0 2px 18px #000,0 0 24px #cb9c5466}
.tarot-hub .tarot-heading p{display:block;width:100%;margin:0 auto;color:#efe0c6;text-align:center;font:normal clamp(17px,3.8vw,27px)/1.35 'Song Myung','Gowun Batang',serif;letter-spacing:.04em;text-shadow:0 3px 12px #000}
.tarot-hub .tarot-hub-options{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,520px);max-width:520px;gap:clamp(12px,3vw,22px);margin:0 auto}
.tarot-hub .tarot-hub-options .tarot-choice{position:relative;display:flex;flex-direction:column;gap:0;min-width:0;aspect-ratio:2/3.35;padding:7px;border:2px solid #d4ae63;border-radius:10px;background:linear-gradient(135deg,#302217,#956e38 12%,#281917 23%,#50341f 78%,#d1a658);color:#f7e5bf;text-align:center;box-shadow:0 15px 35px #000c,inset 0 0 0 2px #161016,inset 0 0 0 4px #e7c47895;transform-style:preserve-3d;animation:tarotChoiceEnter .5s cubic-bezier(.2,.8,.2,1) both;transition:translate .24s ease,filter .24s ease,box-shadow .24s ease}
.tarot-hub .tarot-choice:nth-child(2){animation-delay:.28s}
.tarot-hub .tarot-hub-options .tarot-choice:hover,.tarot-hub .tarot-hub-options .tarot-choice:focus-visible,.tarot-hub .tarot-hub-options .tarot-choice:active{translate:0 -10px;filter:brightness(1.13);box-shadow:0 20px 42px #000e,0 0 25px #eac36b9c,inset 0 0 0 2px #161016,inset 0 0 0 4px #ffe2a3}
.tarot-hub .tarot-hub-options .tarot-choice.is-leaving{translate:0 -18px;filter:brightness(1.25);box-shadow:0 25px 45px #000e,0 0 38px #f5d079,inset 0 0 0 2px #161016,inset 0 0 0 4px #ffe2a3}
.tarot-hub .tarot-choice::after{content:"";position:absolute;inset:11px;border:1px solid #f6d88b9c;border-radius:4px;pointer-events:none;box-shadow:inset 0 0 15px #090608aa}
.tarot-hub .tarot-choice-art{display:block;position:relative;min-height:0;flex:1;overflow:hidden;border-radius:3px 3px 0 0;background:#201518}
.tarot-hub .tarot-choice-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.tarot-hub .tarot-choice-case .tarot-choice-art img{object-position:center 30%}
.tarot-hub .tarot-choice-today .tarot-choice-art{animation:tarotChoiceGlow 3.6s ease-in-out infinite alternate}
.tarot-hub .tarot-choice-copy{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;min-height:112px;padding:10px 9px;background:linear-gradient(#211819,#130e12);border-top:1px solid #cda85d;word-break:keep-all;overflow-wrap:break-word}
.tarot-hub .tarot-hub-options .tarot-choice b{font:normal clamp(16px,3.4vw,21px)/1.2 'Song Myung','Gowun Batang',serif;color:#f7e5bf}
.tarot-hub .tarot-choice-copy>span{font:normal clamp(16px,3.8vw,23px)/1.15 'Song Myung','Gowun Batang',serif;color:#efcd83}
.tarot-hub .tarot-hub-options .tarot-choice small{font:12px/1.3 'Gowun Batang',serif;color:#e1d2b4}
.tarot-hub .tarot-choice-copy b,.tarot-hub .tarot-choice-copy small{display:block;max-width:100%;text-align:center;white-space:normal}
.tarot-hub-line{position:relative;z-index:1;overflow:hidden;width:max-content;max-width:100%;margin:clamp(20px,4dvh,34px) auto 0;color:#f1dfbd;text-align:center;white-space:nowrap;font:normal clamp(12px,2.7vw,17px)/1.5 'Song Myung','Gowun Batang',serif;text-shadow:0 3px 10px #000;clip-path:inset(0 100% 0 0);animation:tarotHubType 2.2s steps(26,end) 1s both}
.tarot-hub .tarot-archive{z-index:1;width:min(100%,520px);margin:28px auto 0}
@keyframes tarotHubZoom{to{transform:scale(1.05)}}
@keyframes tarotHubCandle{to{opacity:.73;filter:brightness(1.1)}}
@keyframes tarotChoiceEnter{from{opacity:0;transform:translateY(45px) rotateY(-85deg)}to{opacity:1;transform:translateY(0) rotateY(0)}}
@keyframes tarotChoiceGlow{to{box-shadow:inset 0 0 22px #ffe4a48c,0 0 18px #e7bd66a8}}
@keyframes tarotHubType{to{clip-path:inset(0 0 0 0)}}
@media(max-width:359px){.tarot-hub{justify-content:flex-start;padding-top:28px}.tarot-hub .tarot-heading{margin-bottom:15px}.tarot-hub .tarot-heading h1{font-size:42px}.tarot-hub .tarot-hub-options{gap:12px}.tarot-hub-line{font-size:11px}}
@media(prefers-reduced-motion:reduce){.tarot-hub::before,.tarot-hub::after,.tarot-hub .tarot-choice,.tarot-hub .tarot-choice-art,.tarot-hub-line{animation:none!important}.tarot-hub-line{clip-path:none}}

/* Daily card and case transcript share the investigation room palette. */
.phone .tarot-hub .tarot-heading p,.phone .tarot-today .tarot-heading p,.phone .tarot-heading :is(p,.tarot-kicker){text-align:center}
.tarot-hub .tarot-heading h1:focus,.tarot-today .tarot-heading h1:focus{outline:none}
.tarot-hub .tarot-choice-copy small{word-break:keep-all}
.tarot-screen:has(.tarot-today){padding:0;background:#100b12}
.phone:has(.tarot-today){width:min(100%,884px);min-height:100dvh;border:0;border-radius:0;overflow:visible;background:#100b12}
.page.tarot-screen:has(.tarot-today){display:block;min-height:100dvh;padding:0;overflow:visible}
.tarot-today{position:relative;isolation:isolate;width:100%;min-height:100dvh;padding:clamp(38px,7dvh,68px) 16px 50px;color:#f2e1c4;background:#100b12}
.tarot-today::before,.tarot-today::after{content:"";position:absolute;inset:0;pointer-events:none}
.tarot-today::before{z-index:-2;background:url('../art/tarot/room/p2_table_top.webp') center top / cover no-repeat;filter:blur(5px)}
.tarot-today::after{z-index:-1;background:radial-gradient(ellipse at 78% 15%,#bd783729,transparent 48%),linear-gradient(#0e0a10b8,#100b12ec 62%,#100b12)}
.tarot-today .tarot-heading{margin:0 auto 26px;text-align:center;text-shadow:0 3px 12px #000}
.tarot-today .tarot-heading h1{margin:0 0 6px;color:#f1d6a3;font:normal clamp(31px,7vw,50px)/1.25 'Song Myung','Gowun Batang',serif}
.tarot-today .tarot-heading .tarot-kicker{color:#ddbd82}
.page.tarot-screen .tarot-today .tarot-heading p{text-align:center;color:#eee0c8}
.tarot-today-card{display:block;width:max-content;margin:0 auto 26px}
.tarot-today .tarot-card-media.is-large{width:min(74vw,340px,calc(55dvh * 2 / 3));border:2px solid #c7a467;border-radius:8px;background:#1b1117;box-shadow:0 18px 45px #000d,0 0 22px #c6945266}
.tarot-today .tarot-card-name{display:block;bottom:3%;left:9%;right:9%;padding:3px 6px;border:1px solid #c9a56c;border-radius:4px;background:#1d1419d9;font:normal clamp(16px,4vw,22px)/1.3 'Song Myung','Gowun Batang',serif}
.tarot-today .tarot-paper{max-width:660px;margin:0 auto 22px;padding:clamp(22px,5vw,34px);border:1px solid #b99c70;border-radius:2px;background:linear-gradient(120deg,#e6d5b5,#f4e6cb 40%,#e7d6b6);color:#3b2416;box-shadow:0 18px 45px #000a}
.tarot-today .tarot-paper h2,.tarot-today .tarot-paper h3{color:#3b2416;font-family:'Song Myung','Gowun Batang',serif}
.tarot-today .tarot-paper h2{font-size:clamp(27px,6vw,35px);border-bottom:1px solid #b39462;padding-bottom:10px}
.tarot-today .tarot-reads b,.tarot-today .tarot-lens b,.tarot-today .tarot-action b{color:#593821}
.tarot-today .tarot-lens,.tarot-today .tarot-action{background:#e8d7b7;color:#3b2416}
.tarot-today>.button{display:block;width:min(100%,660px);margin:0 auto;border:1px solid #c1a06c;background:#38252a;color:#f6e8cf}
.tv-scroll-paper h1,.tv-scroll-paper h2{color:#3b2416}
.tv-scroll-paper h1{padding-bottom:14px;border-bottom:1px solid #b39462;overflow-wrap:break-word;word-break:keep-all}
.tv-scroll-paper h2{padding-bottom:9px;border-bottom:1px solid #b39462;overflow-wrap:break-word;word-break:keep-all}
.tv-scroll-paper .tv-scroll-card-heading{display:grid;gap:3px}
.tv-scroll-paper .tv-scroll-position{display:block;color:#76532f;font:normal 14px/1.4 'Gowun Batang',serif;letter-spacing:.04em}
.tv-scroll-paper .tv-scroll-card-name{display:block}
.tv-scroll-paper>small{color:#76532f}

/* Keep the reading's geometry fixed while the card settles and copy appears. */
.tv-card-reading{visibility:hidden;opacity:0;transition:opacity .35s ease}
.tv-card.is-copy-ready .tv-card-reading,.tv-experience.is-copy-ready .tv-card-reading{visibility:visible;opacity:1}
.tv-story p{transform:none;filter:none;transition:opacity .35s ease}
.tv-story p.is-visible{transform:none;filter:none}
.tv-typed-letter{visibility:hidden}
.tv-typed-letter.is-visible{visibility:visible}
