.tarot-room{--gold:#d4b474;--pale:#ead5aa;--purple:#3b2a52;position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;margin:0;border:0;border-radius:0;overflow:auto;color:var(--pale);font-family:'LXGW WenKai','STKaiti','KaiTi','Noto Serif SC',serif;background:radial-gradient(ellipse at 8% 48%,#b67b302b,transparent 40%),radial-gradient(ellipse at 90% 20%,#809cbd20,transparent 38%),linear-gradient(#17101bdd,#211727ea),url('/assets/room-layers/background.4d9ace606297.webp') center/cover fixed;isolation:isolate}
.tarot-room::before{content:'';position:fixed;inset:105px 8% 90px;z-index:-1;opacity:.16;border:1px solid #c6a15e;border-radius:50%;background:repeating-radial-gradient(ellipse,transparent 0 75px,#cfad6440 76px,transparent 77px 97px);pointer-events:none}
.tarot-room button{font-family:inherit;color:inherit;cursor:pointer}.tarot-room button:disabled{opacity:.4;cursor:default}.tarot-room button:focus-visible{outline:2px solid #f1d797;outline-offset:5px}.tarot-room .t-header{height:78px;max-width:1400px;width:92%;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c9a96240;gap:20px}.t-header button{font-size:12px;letter-spacing:1px;background:none;border:0}.t-header>div{display:flex;gap:20px}.t-compass{font-size:28px!important}.t-compass span{font-size:11px}.t-brand{font:13px 'Cormorant Garamond',Georgia,serif;letter-spacing:4px;color:#dec186}.t-brand i{margin:0 12px;color:#b89658}.t-main{width:min(1160px,94%);min-height:calc(100dvh - 172px);margin:auto;padding:20px 0 40px}.t-heading{text-align:center;margin:15px auto 25px}.t-eyebrow{font:10px 'Cormorant Garamond',Georgia,serif;letter-spacing:3.5px;color:#c2a476}.t-heading h1{font-weight:400;font-size:clamp(25px,3vw,40px);letter-spacing:5px;margin:0 0 13px;color:#f2e0bc;text-shadow:0 2px 10px #0009}.t-heading p{font-size:13px;letter-spacing:1px;color:#c2ae94;line-height:1.9}.t-heading p:empty{display:none}.t-progress{position:relative;margin:0 auto!important;width:min(650px,90%);padding:18px 32px!important;display:flex;justify-content:space-between;border-top:1px solid #c5a15e55;box-shadow:inset 0 1px 0 #e8c98a1c;gap:15px;color:#8a7562;background:linear-gradient(90deg,transparent,#24191499 20%,#24191499 80%,transparent)}.t-progress>span{font-size:17px;text-align:center}.t-progress small{display:block;font-size:9px;margin-top:5px;letter-spacing:1.5px}.t-progress .lit{color:#f0d296;text-shadow:0 0 14px #d4a852aa}.t-moon{color:#dab97b!important}.t-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:25px auto}.t-brass{padding:12px 30px;border:1px solid #cfa863!important;outline:1px solid #f4d69938;outline-offset:-4px;border-radius:2px;background:linear-gradient(125deg,#6e5028b3,#382619e6 55%,#8a643480);box-shadow:inset 0 1px #f8dfa644,0 7px 22px #0007;letter-spacing:3px;font-size:13px;color:#f3ddb2;transition:.3s}.t-brass:not(:disabled):hover{background:linear-gradient(125deg,#876333cc,#483120f2 55%,#a1763e99);border-color:#e8c67e!important;color:#fff3d6;box-shadow:0 0 24px #c99e4644,inset 0 1px #f8dfa666;transform:translateY(-2px)}.t-quiet{border:0;background:none;padding:10px 14px;font-size:12px;letter-spacing:1px;color:#c9b390!important;text-decoration:underline;text-decoration-style:dashed;text-decoration-color:#c2a25e66;text-underline-offset:6px}.t-footnote{max-width:680px;text-align:center;margin:18px auto;font-size:10px;line-height:1.8;color:#a49484}.t-whisper{text-align:center;font-size:13px;letter-spacing:2px;color:#dac29c;line-height:2;min-height:26px}.t-card-back{background:repeating-linear-gradient(45deg,#3b2948,#3b2948 3px,#402d4d 4px,#33233e 5px);border:1px solid #bd9a61;border-radius:5px;color:#d4b474;box-shadow:inset 0 0 0 5px #35243e,inset 0 0 0 6px #ae8d4b66,4px 7px 13px #0007;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}.t-sun{font:70px Georgia,serif;display:block;line-height:1.15;text-shadow:0 0 20px #d5ac4640}.t-back-stars{font-size:14px;letter-spacing:8px;margin-top:14px}.t-characters{display:flex;justify-content:center;gap:38px;padding:28px 0 35px;flex-wrap:wrap}.t-character{width:185px;height:280px;padding:0;background:none;border:0;perspective:900px}.t-character-inner{width:100%;height:100%;display:block;position:relative;transform-style:preserve-3d;transition:transform 1.2s}.t-character.flipped .t-character-inner{transform:rotateY(180deg)}.t-character-back,.t-character-front{position:absolute;inset:0;backface-visibility:hidden;border:1px solid #c4a368;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(#553b63,#281b32);box-shadow:inset 0 0 0 8px #34223d,inset 0 0 0 9px #b8985859,0 20px 40px #0008}.t-character-back small{font:8px 'Cormorant Garamond',Georgia,serif;letter-spacing:2px;margin-top:28px}.t-character-front{transform:rotateY(180deg);gap:20px}.t-character-front img{width:95px;height:95px;border-radius:50%;object-fit:cover;border:1.5px solid #cfa966}.t-character-front i{font-size:65px;font-style:normal}.t-character-front strong{font-weight:400;font-size:23px}.t-character-front small{color:#b59b7e}.t-character.selected{filter:drop-shadow(0 0 16px #cfa85255)}.t-breath{width:220px;height:220px;margin:45px auto;border:1px solid #d0ac5477;outline:1px dashed #d0ac5440;outline-offset:-8px;border-radius:50%;display:grid;place-content:center;text-align:center;box-shadow:0 0 70px #cba13d22,inset 0 0 40px #cba13d11;animation:t-breathe 8s infinite}.t-breath div{font-size:72px}.t-breath span{margin-top:15px;letter-spacing:4px}.t-verify-options{display:flex;justify-content:center;gap:12px}.t-verify-object{width:180px;min-height:240px;margin:30px auto;padding:24px;text-align:center}.t-verify-object strong{font-size:14px;line-height:1.8;font-weight:400}.t-verify-object img{width:100%;height:180px;object-fit:contain}.t-parchment{position:relative;width:min(580px,90%);margin:30px auto 15px;padding:38px 46px 46px;background:radial-gradient(ellipse at 12% 12%,#fbf1d888,transparent 55%),radial-gradient(ellipse at 8% 90%,#7e502233,transparent 35%),linear-gradient(100deg,#bfa477,#ead9b0 6%,#f0e2c1 50%,#e0cba0 94%,#a88a60);color:#593d27;border:1px solid #9e8050;outline:1px solid #8c6d3b4d;outline-offset:-8px;box-shadow:0 18px 55px #0009,inset 0 0 38px #8c662e44,3px 4px 0 #9c8256;border-radius:3px 8px 3px 5px;transform:rotate(-1deg)}.t-paper-date{font:italic 12px 'Cormorant Garamond','KaiTi',serif;color:#7d3d2c;letter-spacing:1.5px;display:block;margin-bottom:22px}.t-parchment label{color:#5c3f26;font-size:20px;letter-spacing:1px}.t-parchment textarea{font:19px/2.2 'TaShuo Hand','KaiTi',serif;min-height:180px;max-height:250px;background:repeating-linear-gradient(transparent 0 40px,#8c6d3b2e 41px,transparent 42px);color:#463220;border:0;padding:0;resize:vertical;outline:none}.t-parchment:focus-within{box-shadow:0 0 60px #cda75633,0 18px 55px #0009,inset 0 0 38px #8c662e44}.t-parchment #t-count{font:11px 'Cormorant Garamond',Georgia,serif;color:#856b44}.t-quill{position:absolute;right:15px;bottom:10px;font-size:56px;border:0;background:none;color:#6b4f30!important;transform:rotate(-20deg)}.writing .t-quill{animation:t-quill 1s}.t-history{display:flex;justify-content:center;gap:12px;max-width:620px;margin:auto}.t-history button{max-width:30%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:rotate(-3deg);padding:12px;background:#c4ae84;color:#523d28;border:1px solid #8c714a;outline:1px solid #8c714a38;outline-offset:-3px;box-shadow:2px 4px 10px #0008;font-size:11px}.rolling{animation:t-roll 1.5s forwards;transform-origin:right}.t-open-book{display:grid;grid-template-columns:1fr 1fr;width:min(900px,95%);margin:40px auto 25px;background:linear-gradient(90deg,#bda178,#e6d7b6 5%,#dccaa3 47%,#8c6f4d 50%,#e8d9b8 53%,#e2d0ab 96%,#b2986e);color:#5c4128;border:8px solid #3a2738;outline:1px solid #8c6d3b4d;outline-offset:-14px;border-radius:4px 10px 10px 4px;box-shadow:0 7px 0 #b8a17a,0 12px 0 #382334,0 28px 60px #000a,inset 0 0 36px #7a58282e;min-height:320px;animation:t-page .7s}.t-open-book section{padding:26px 32px;text-align:center;display:flex;flex-direction:column;justify-content:center}.t-open-book h2{font-size:30px;letter-spacing:4px;color:#4f351e;text-shadow:none}.t-open-book p{font-size:15px;line-height:2.1;text-align:left}.t-open-book .t-eyebrow{color:#7d3d2c}.t-open-book .t-brass{color:#f2ddba;background:linear-gradient(125deg,#5e422ce6,#3b281af5);margin:auto}.t-book-count{font-size:11px!important;color:#856640}.t-open-book .t-spread{width:100%;height:235px;margin:0 auto}.t-open-book .t-slot-card{height:47px;width:30px;border-color:#8b6b3e;font-size:9px}.t-open-book .t-slot small{font-size:8px;color:#79613e}.t-open-book section>small{font:8px 'Cormorant Garamond',Georgia,serif;letter-spacing:3px;color:#886d46}.t-bookmarks{display:flex;justify-content:center;gap:18px}.t-bookmark{background:linear-gradient(180deg,#523b28,#7d5f39);border:1px solid #c2a164;padding:13px 23px;clip-path:polygon(0 0,100% 0,100% 100%,50% 86%,0 100%);font-size:12px;letter-spacing:1.5px;transition:.3s}.t-bookmark.active{background:linear-gradient(180deg,#6e5035,#9c794a);border-color:#e2c282;transform:translateY(-6px)}.book-closing{animation:t-roll 2s forwards;transform-origin:center}.t-ritual-stage{height:290px;display:grid;place-items:center;margin:20px auto}.t-deck{width:145px;height:223px;padding:18px;touch-action:none;box-shadow:4px 3px #b6a281,7px 6px #493341,10px 9px #b6a281,13px 12px 25px #0009;transition:box-shadow .4s}.t-deck small{font-size:10px;margin-top:20px;letter-spacing:2px}.purifying .t-deck{animation:t-purify 3s both}.t-deck.sensing{animation:t-breathe 3s infinite;box-shadow:0 0 100px #e6b44166}.shuffling{animation:t-shuffle .5s infinite}.t-cut-stage{position:relative;height:300px;width:min(500px,95%);margin:25px auto;touch-action:none}.t-cut-stage .t-deck,.t-cut-base,.t-cut-home{position:absolute;left:calc(50% - 65px);top:30px;width:130px;height:205px}.t-cut-home{outline:1px dashed #d0b271;outline-offset:14px;display:grid;place-items:center;font-size:12px}.t-cut-stage .t-deck{z-index:3}.t-cut-base{z-index:1;transform:translate(-5px,8px)}.three-piles .t-cut-base{transform:translate(-135px,20px)}.t-scatter-stage{height:310px;position:relative;touch-action:none;max-width:650px;margin:auto}.t-scatter-card{position:absolute;width:90px;height:144px;left:calc(50% - 45px);top:85px;transform:translate(var(--dx),var(--dy)) rotate(var(--r));transition:transform .3s;touch-action:none;padding:8px}.t-scatter-card .t-sun{font-size:43px}.t-scatter-card .t-back-stars{font-size:8px;letter-spacing:2px}.t-spread{position:relative;width:min(850px,96%);height:350px;margin:10px auto 20px}.t-spread svg{position:absolute;width:100%;height:100%;inset:0;pointer-events:none;overflow:visible}.t-spread polyline{stroke:#cba96455;stroke-width:.18;fill:none}.t-slot{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);padding:0;background:none;border:0;width:90px;height:146px;display:flex;flex-direction:column;align-items:center;justify-content:center;touch-action:none}.t-slot-card{width:76px;height:116px;border:1px dashed #b8985c66;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-direction:column;transition:box-shadow .4s}.t-slot-card .t-sun{font-size:43px}.t-slot-card .t-back-stars{font-size:9px;letter-spacing:2px}.t-slot small{font-size:11px;color:#cfb892;margin-top:9px;white-space:nowrap}.t-slot.occupied .t-slot-card{border:1px solid #c8a66a;background:repeating-linear-gradient(45deg,#3b2948,#3b2948 4px,#493350 5px);box-shadow:1px 3px 8px #0005}.t-draw-layout{max-width:1000px;margin:auto}.t-fan{height:205px;position:relative;width:min(740px,95%);margin:0 auto 35px;isolation:isolate}.t-fan-card{position:absolute;left:calc(50% - 30px);top:30px;width:60px;height:100px;transform-origin:50% 190%;transform:rotate(var(--angle));padding:5px;transition:filter .2s,translate .2s;touch-action:none;box-shadow:0 0 0 1px #1b111a,0 3px 8px #0005}.t-fan-card .t-sun{font-size:28px}.t-fan-card .t-back-stars{font-size:5px;letter-spacing:2px}.t-fan-card:hover,.t-fan-card:focus-visible{filter:brightness(1.35);translate:0 -9px;z-index:2}.t-fan-card:disabled{visibility:hidden}.t-draw-controls{display:flex;justify-content:center;gap:25px;align-items:center}.t-draw-controls label{display:flex;align-items:center;gap:15px;font-size:11px}.t-draw-controls select{width:180px;margin:0;font-size:12px}.t-drag-card{position:fixed;width:75px;height:120px;transform:translate(-50%,-50%);z-index:100;pointer-events:none;box-shadow:0 0 25px #eac77380}.t-drag-card .t-sun{font-size:40px}.t-reveal-table{height:430px;animation:t-arrive 2s}.t-reveal-table .t-slot{width:110px;height:170px}.t-reveal-table .t-slot-card{width:95px;height:145px;overflow:hidden}.t-slot-card img{width:100%;height:100%;object-fit:fill;filter:sepia(.15) saturate(.75)}.reversed{transform:rotate(180deg)}.t-slot.flipped .t-slot-card{animation:t-flip 1.2s}.element-wands{--element:#db813d}.element-cups{--element:#7ca7c5}.element-swords{--element:#c9d6e7}.element-pentacles,.element-major{--element:#e1bd5c}.t-slot.flipped{filter:drop-shadow(0 0 7px var(--element))}.t-envelope{position:relative;display:block;width:250px;height:150px;margin:22px auto 45px;background:radial-gradient(ellipse at 50% 25%,#593b69,#332040 82%);border:1px solid #c5a262;outline:1px solid #e5c6872e;outline-offset:-5px;border-radius:3px;box-shadow:0 14px 30px #0008,inset 0 0 24px #160c1ecc;animation:t-arrive 1.5s}.t-envelope-flap{position:absolute;inset:0;background:linear-gradient(180deg,#543a63,#3e294b);clip-path:polygon(0 0,100% 0,50% 67%);filter:drop-shadow(0 2px #c8a86b);transform-origin:top;transition:transform 1s}.t-seal{position:absolute;left:calc(50% - 27px);top:45px;width:54px;height:54px;background:radial-gradient(circle at 35% 30%,#b53f34,#7a231c 65%,#4d130f);border:2px double #e2c07d;color:#ffebc2;border-radius:50%;font-size:34px;box-shadow:inset 0 0 0 3px #591712,0 5px 10px #0009,0 0 16px #b84a3944}.t-envelope strong{position:absolute;left:0;right:0;bottom:12px;font-size:17px;font-weight:400;letter-spacing:4px;color:#f0dab0}.t-envelope:hover .t-seal{filter:brightness(1.22);box-shadow:inset 0 0 0 3px #591712,0 5px 12px #000a,0 0 22px #df9b5266}.unsealing .t-seal{animation:t-seal-break .7s forwards}.unsealing .t-envelope-flap{transform:rotateX(170deg)}.t-detail{width:min(660px,94vw);max-height:90dvh;overflow:auto;background:radial-gradient(ellipse at 50% 0%,#48314c88,transparent 65%),linear-gradient(155deg,#281c2d,#150f19 70%,#1e1523);color:#e2cca4;border:1px solid #c5a264;outline:1px solid #e3c27d38;outline-offset:-7px;border-radius:3px;padding:36px;box-shadow:0 25px 100px #000d,inset 0 0 42px #09050caa}.t-detail::backdrop{background:#08050ad9;backdrop-filter:blur(6px)}.t-detail-close{position:absolute;top:12px;right:16px;border:0;background:none;font-size:30px;color:#dab978}.t-detail-top{display:grid;grid-template-columns:170px 1fr;gap:35px;align-items:center}.t-detail-top>img{width:170px;border:4px solid #cbb68a;outline:1px solid #8c6d3b;border-radius:3px;box-shadow:0 10px 24px #0009;filter:sepia(.12) saturate(.8)}.t-detail h2{font-size:30px;color:#f2dfba}.t-detail p{line-height:2;font-size:14px;white-space:pre-wrap}.t-detail-paper{background:radial-gradient(ellipse at 15% 15%,#fbf1d880,transparent 55%),linear-gradient(100deg,#cfbda0,#e8dac0 10%,#e2d3b5 90%,#c2ad84);color:#4a3623;padding:24px 26px;border:1px solid #9c7e4c;outline:1px solid #8c6d3b44;outline-offset:-5px;border-radius:2px;box-shadow:inset 0 0 24px #7a582826;margin:25px 0}.t-orientation-badge{border:1px solid #c4a464;outline:1px solid #c4a46433;outline-offset:-3px;padding:7px 14px;font-size:12px;letter-spacing:1.5px;display:inline-block;background:#2a1d2e99}.t-orientation-badge.silver{color:#cbd0dc;border-color:#8a8da0;outline-color:#8a8da033}.t-letter{position:relative;max-width:700px;margin:25px auto;padding:46px 60px;background:radial-gradient(ellipse at 15% 10%,#fbf1d888,transparent 55%),radial-gradient(ellipse at 5% 90%,#825a2630,transparent 35%),linear-gradient(98deg,#c3aa7f,#eedfbd 7%,#f2e5c7 50%,#e6d6b2 95%,#b99d70);border:1px solid #9e8050;outline:1px solid #8c6d3b4d;outline-offset:-9px;box-shadow:0 18px 70px #000b,inset 0 0 40px #8c662e38,3px 4px 0 #9c8256;color:#4a3420;border-radius:3px 9px 3px 6px;animation:t-page .8s}.t-letter-head{font-size:13px;letter-spacing:2px;color:#7d3d2c;text-align:center;padding-bottom:22px;border-bottom:1px solid #8c6d3b55;box-shadow:0 1px 0 #8c6d3b22}.t-letter>p{white-space:pre-wrap;font:18.5px/2.25 'TaShuo Hand','LXGW WenKai','STKaiti','KaiTi',serif;min-height:250px;color:#3f2c1b}.t-letter small{font-size:10.5px;color:#7e6440;line-height:1.9}.t-letter-sign{text-align:right;font-size:52px;color:#8c4330;text-shadow:0 2px 6px #7a4e2426}.t-letter-controls{display:flex;justify-content:center;align-items:center;gap:20px}.t-letter-controls label{display:flex;gap:12px;align-items:center}.t-letter-controls select{width:90px;margin:0}.t-share-options{max-width:680px;margin:auto}.t-share-options label{background:#dfccaa;color:#543f28;border:1px solid #9c7e4c;outline:1px solid #8c6d3b38;outline-offset:-5px;padding:20px;margin:15px 0;line-height:1.9}.flying-home{animation:t-home 1.2s forwards}.t-celtic .t-slot{width:80px}.t-celtic .t-slot-card{width:65px;height:100px}
@keyframes t-breathe{50%{transform:scale(1.06);box-shadow:0 0 100px #dcb65240,inset 0 0 40px #cba13d22}}@keyframes t-quill{50%{transform:rotate(-28deg) translateX(-8px)}}@keyframes t-roll{to{transform:perspective(900px) rotateY(-85deg) scale(.1);opacity:0}}@keyframes t-page{from{opacity:0;transform:perspective(900px) rotateY(-18deg)}to{opacity:1;transform:rotateY(0)}}@keyframes t-purify{0%,100%{transform:translateY(0)}30%,65%{transform:translateY(-25px) rotate(-3deg);box-shadow:0 0 90px #e5b54d66}}@keyframes t-shuffle{50%{transform:translateX(20px) rotate(8deg)}}@keyframes t-arrive{from{opacity:0;transform:translateY(25px) scale(.95)}to{opacity:1;transform:none}}@keyframes t-flip{0%{transform:rotateY(180deg)}100%{transform:rotateY(0)}}@keyframes t-seal-break{to{opacity:0;transform:scale(1.6) rotate(35deg)}}@keyframes t-home{to{opacity:0;transform:translate(20vw,-20vh) scale(.15)}}
@media(max-width:650px){.tarot-room .t-header{height:62px;width:92%;gap:8px}.t-brand{font-size:9px;letter-spacing:1px}.t-brand i{margin:0 3px}.t-header>div{gap:5px}.t-header button{font-size:10px}.t-compass span{display:none}.t-heading{margin:12px auto 20px}.t-heading h1{font-size:25px;letter-spacing:3px}.t-heading p{font-size:11px;padding:0 15px}.t-eyebrow{font-size:7px;letter-spacing:2px}.t-main{padding-top:15px}.t-characters{gap:15px}.t-character{width:140px;height:220px}.t-parchment{padding:28px 25px}.t-parchment textarea{font-size:17px}.t-open-book{grid-template-columns:1fr;max-width:430px;margin-top:15px}.t-open-book section{padding:18px 22px}.t-open-book section:first-child{border-bottom:1px solid #a0845755}.t-open-book .t-spread{height:160px}.t-open-book h2{font-size:24px;margin:5px 0}.t-open-book p{font-size:13px;line-height:1.8;margin:7px 0}.t-bookmarks{gap:5px}.t-bookmark{font-size:10px;padding:12px 14px}.t-spread{height:300px}.t-slot{width:52px;height:97px}.t-slot-card{width:44px;height:69px}.t-slot small{font-size:8px;margin-top:6px;max-width:60px;white-space:normal}.t-slot-card .t-sun{font-size:29px}.t-slot-card .t-back-stars{font-size:6px;letter-spacing:0}.t-fan{height:165px;margin-bottom:20px}.t-fan-card{width:42px;height:68px;left:calc(50% - 21px);top:18px;transform-origin:50% 175%}.t-fan-card .t-sun{font-size:22px}.t-fan-card .t-back-stars{display:none}.t-draw-controls{gap:5px;flex-wrap:wrap}.t-draw-controls select{width:135px}.t-reveal-table{height:410px}.t-reveal-table .t-slot{width:63px;height:116px}.t-reveal-table .t-slot-card{width:58px;height:88px}.t-celtic .t-slot-card{width:43px;height:68px}.t-progress{padding:15px 10px!important;gap:7px}.t-progress small{font-size:8px}.t-detail{padding:35px 20px 25px}.t-detail-top{grid-template-columns:110px 1fr;gap:20px}.t-detail-top>img{width:110px}.t-detail h2{font-size:24px;letter-spacing:1px}.t-detail p{font-size:12px}.t-letter{padding:28px 25px}.t-letter>p{font-size:17px}.t-brass{font-size:12px;padding:12px 22px}.t-letter-controls{gap:5px}.t-letter-controls label{font-size:11px}.t-whisper{font-size:11px;letter-spacing:1px}.t-cut-stage{width:300px}.t-cut-stage .t-deck,.t-cut-base,.t-cut-home{width:100px;height:160px;left:calc(50% - 90px)}.t-cut-stage{height:250px}.t-ritual-stage{height:270px}.t-scatter-card{width:65px;height:105px;left:calc(50% - 32px)}.t-scatter-card .t-sun{font-size:32px}}
/* Shared artwork stays on each card surface as it moves and flips. */
.t-card-back,.t-character-back{background:#271532;border:0;padding:0;overflow:hidden;box-shadow:0 5px 15px #0007}
.tarot-room .t-back-art{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;filter:none;border:0;border-radius:inherit}
.t-deck,.t-slot-card,.t-verify-object{position:relative}
.t-deck{box-shadow:4px 3px #b6a281,7px 6px #493341,10px 9px #b6a281,13px 12px 25px #0009}
.t-deck small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.t-character-back{box-shadow:0 20px 40px #0007}
.t-verify-object:has(.t-back-art){height:276px;min-height:0;padding:0}
.t-fan-card{height:92px;box-shadow:0 0 0 1px #1b111a,0 3px 8px #0005}
.t-scatter-card{height:138px}
.t-drag-card{height:115px;box-shadow:0 0 25px #eac77380}
.t-slot.occupied .t-slot-card.t-card-back{background:#271532;border:0}
@media(max-width:650px){.t-fan-card{height:64px}.t-scatter-card{height:100px}}
@media(prefers-reduced-motion:reduce){.tarot-room *{animation:none!important;transition:none!important}.rolling,.book-closing{opacity:.6}}
/* 三摞切牌：左右分出，中间保留，按顺序回到原位。 */
.t-three-cut{position:relative;width:min(760px,100%);height:310px;margin:18px auto 4px;border:1px solid #b79a5730;border-radius:24px;background:radial-gradient(ellipse at center,#46304730,transparent 75%)}
.t-pile-zone{position:absolute;top:45%;width:138px;height:213px;transform:translate(-50%,-50%);border:1px dashed #c4a46470;border-radius:6px;display:grid;place-content:center;gap:8px;color:#cfb37c;font-size:14px;letter-spacing:3px;text-align:center}
.t-pile-zone small{font-size:11px;color:#c6aa7699}.zone-left,.pile-left,.caption-left{left:16%}.zone-middle,.pile-middle,.caption-middle{left:50%}.zone-right,.pile-right,.caption-right{left:84%}
.tarot-room .t-pile-stack{position:absolute;top:45%;width:130px;height:200px;transform:translate(-50%,-50%);border-radius:7px;opacity:1;touch-action:none;transition:left .55s ease,box-shadow .35s;box-shadow:2px 3px 0 #bfb38c,4px 6px 0 #403b33,6px 9px 0 #a59a7d,0 16px 25px #0008}
.t-pile-stack[hidden]{display:none}.tarot-room .t-pile-stack:disabled{cursor:default;opacity:1}.t-pile-stack.next-pile{outline:1px solid #e2c280;outline-offset:7px;box-shadow:2px 3px 0 #bfb38c,4px 6px 0 #403b33,0 0 35px #d4a64a38,0 16px 25px #0008}
.t-pile-stack.returned{left:50%}.t-pile-stack.moving{transition:none;z-index:10!important}.t-pile-caption{position:absolute;top:88%;transform:translateX(-50%);width:33%;font-size:12px;letter-spacing:1px;color:#c1ad8a;text-align:center;white-space:nowrap}
.t-cut-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:18px auto;max-width:800px}.t-cut-actions button{padding:10px 16px;font-size:13px}.t-cut-actions button:disabled{opacity:.38}.t-cut-actions button.completed{opacity:.65;color:#bcb68b}.t-cut-actions button.completed:before{content:'✓ ';color:#a7b28b}
/* 桌上搅始终保留整副78张，所有旋转牌角都位于牌桌边界内。 */
.t-whole-deck{position:relative;isolation:isolate;width:min(860px,100%);height:410px;margin:24px auto 10px;border:1px solid #b99b5d66;border-radius:22px;overflow:hidden;touch-action:none;background:radial-gradient(ellipse at 40% 30%,#55436155,transparent 75%),repeating-linear-gradient(90deg,#ffffff02 0 1px,transparent 1px 4px),#231d2d;box-shadow:inset 0 0 65px #09071077,0 15px 35px #0003;cursor:grab}
.t-whole-deck:active{cursor:grabbing}.t-table-orbit{position:absolute;inset:22px;border:1px solid #b39c6038;border-radius:50%;pointer-events:none}.t-table-orbit:before,.t-table-orbit:after{content:'';position:absolute;inset:28px;border:1px solid #b39c602b;border-radius:50%}.t-table-orbit:after{inset:65px}
.tarot-room .t-table-card{position:absolute;width:70px;height:108px;border-radius:4px;transform:translate(-50%,-50%) rotate(var(--card-angle,0deg));pointer-events:none;transition:left .65s cubic-bezier(.22,.68,.2,1),top .65s cubic-bezier(.22,.68,.2,1),transform .65s cubic-bezier(.22,.68,.2,1);box-shadow:1px 2px 0 #aa9f7d,0 4px 9px #0008}
.t-whole-deck.gathering .t-table-card{box-shadow:1px 2px 0 #aa9f7d,3px 4px 0 #42382e,0 8px 15px #0005}.tarot-room .t-progress{flex-wrap:nowrap}.tarot-room .t-progress>span:first-child{width:auto}
@media(max-width:600px){.t-three-cut{height:255px;border-radius:16px}.t-pile-zone{width:96px;height:148px;font-size:12px}.tarot-room .t-pile-stack{width:90px;height:138px}.t-pile-caption{top:84%;font-size:10px;letter-spacing:0}.t-cut-actions{gap:8px;margin:14px 0}.t-cut-actions button{font-size:12px;padding:10px 12px}.t-whole-deck{height:365px;border-radius:16px;margin-top:18px}.tarot-room .t-table-card{width:42px;height:65px;border-radius:3px}.t-progress{gap:clamp(10px,4vw,25px)}.t-progress small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.t-pile-stack,.t-table-card{transition:none!important}}

/* Direct hand-driven motion; gathering keeps the original transition. */
.tarot-room .t-whole-deck.manual-wash:not(.gathering) .t-table-card{transition:none;will-change:transform}
.t-whole-deck.manual-wash{user-select:none;-webkit-user-select:none}
.t-whole-deck.manual-wash:focus-visible{outline:1px solid #d8b873;outline-offset:3px}
.t-whole-deck.manual-wash[data-pressing=true]{cursor:grabbing}
.t-follow-up{width:min(780px,100%);margin:24px auto;padding:28px 32px;background:radial-gradient(ellipse at 15% 15%,#fbf1d880,transparent 55%),linear-gradient(100deg,#cfbda0,#ece0c6 10%,#e6d9bc 90%,#c2ad84);color:#4f3924;border:1px solid #9e8050;outline:1px solid #8c6d3b44;outline-offset:-6px;border-radius:3px;box-shadow:0 12px 36px #0008,inset 0 0 28px #7a582826}.t-follow-up h3{margin:0 0 10px;font:22px 'Cormorant Garamond','KaiTi',serif;color:#5e3e22;letter-spacing:1.5px}.t-follow-up h3::before{content:'❖ ';color:#7d3d2c;font-size:15px}.t-follow-up p{line-height:1.9;overflow-wrap:anywhere}.t-follow-up label{display:block;margin:14px 0 8px;color:#5c3f26}.t-follow-up textarea{display:block;width:100%;min-height:90px;box-sizing:border-box;padding:12px 14px;color:#43301f;background:#fbf3df80;border:1px solid #9c7c4b;border-left:2px solid #8c6b3b;border-radius:2px;font:inherit;font-size:16px;line-height:1.7;resize:vertical;box-shadow:inset 0 1px 4px #4d361b22}.t-follow-up button:disabled{opacity:.55}
