.tarot-room{background:radial-gradient(ellipse at top,#2e2029aa,transparent 70%),#100d12 url('/assets/tarot-room/background-v1.3951409f75bc.webp') center/cover fixed}
.tarot-room::before{display:none}
.tarot-room.t-at-table{background:radial-gradient(ellipse at 50% 30%,#31232aaa,transparent 75%),#100d12}
.tarot-room .t-header{position:absolute;inset:0 0 auto;z-index:30;width:100%;height:54px;max-width:none;margin:0;padding:0 4%;border:0;background:linear-gradient(#100b13db,transparent)}
.tarot-room .t-main{position:relative;width:100%;max-width:none;min-height:0;padding:0 0 12px}
.t-scene-window{position:relative;width:min(100%,calc((100dvh - 155px)*1.6));min-width:min(100%,760px);aspect-ratio:8/5;margin:0 auto;isolation:isolate}
.t-scene-canvas{position:absolute;inset:0;overflow:hidden;border-radius:0 0 16px 16px;opacity:1}
.t-room-plate{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}
.t-reader{position:absolute;left:25%;top:1%;width:50%;aspect-ratio:3/2;z-index:2;pointer-events:none;user-select:none}
.t-reader-rig{position:absolute;inset:0;animation:t-reader-breath 7s ease-in-out infinite;filter:brightness(.82) saturate(.78) drop-shadow(0 5px 5px #09060a55)}
.t-reader img{display:block;pointer-events:none;object-fit:contain}
.t-reader-body,.t-reader-mantle{position:absolute;inset:0;width:100%;height:100%}
.t-reader-body{z-index:1;clip-path:polygon(0 0,100% 0,100% 69%,78% 69%,73% 75%,66% 73%,62% 92%,39% 92%,35% 73%,28% 75%,22% 69%,0 69%)}
.t-reader-mantle{z-index:3;clip-path:polygon(0 0,100% 0,100% 71%,74% 71%,67% 60%,33% 60%,26% 71%,0 71%)}
.t-reader-arm{position:absolute;height:auto;aspect-ratio:3/2;will-change:transform;z-index:2}
.t-reader-left{left:8.8%;top:39%;width:65%;transform-origin:33% 45%}
.t-reader-right{left:42.65%;top:59.3%;width:40%;transform-origin:80% 15%}
.t-table-content{position:absolute;left:16%;top:53%;width:68%;height:39%;z-index:10}
.t-table-cue{position:absolute;left:50%;top:58%;width:10px;height:10px;border-radius:50%;background:#e9c682;box-shadow:0 0 20px #e9c682;opacity:0;z-index:9;transition:left .55s ease;pointer-events:none}
.tarot-room[data-guide='cut'] .t-table-cue{opacity:.6;animation:t-guide-glow 2s ease-in-out infinite}
.tarot-room[data-guide-side='left'] .t-table-cue{left:27%}.tarot-room[data-guide-side='right'] .t-table-cue{left:73%}
.t-at-table .t-scene-window>.t-heading{position:absolute;left:3%;top:16%;width:24%;margin:0;text-align:left;padding:13px 10px;border-left:1px solid #c9ac6766;background:linear-gradient(90deg,#160f19a3,transparent);z-index:5;text-shadow:0 2px 6px #000}.t-at-table .t-scene-window>.t-heading:has(h1:empty){display:none}
.t-at-table .t-heading h1{font-size:clamp(18px,1.7vw,22px);letter-spacing:1px;line-height:1.55;margin:9px 0;text-wrap:balance}
.t-at-table .t-heading p{font-size:11px;line-height:1.8;letter-spacing:.5px;margin:8px 0;color:#dbc8a9}
.t-at-table .t-eyebrow{font-size:7px;letter-spacing:1.2px;line-height:1.7}
.t-at-table .t-main>.t-actions,.t-at-table .t-main>.t-cut-actions{margin:8px auto;gap:10px}
.t-at-table .t-main>.t-whisper{margin:5px auto;text-align:center;font-size:12px;max-width:900px;padding:0 12px}
.t-at-table .t-main>.t-footnote{margin:6px auto 0;max-width:900px;padding:0 14px;line-height:1.7;font-size:10px}
.t-at-table .t-brass{padding:10px 24px;font-size:13px}
.t-at-table .t-cut-actions button{padding:8px 13px;font-size:12px}
.tarot-room .t-progress{padding:10px 20px!important;margin-top:0!important;gap:12px;flex-wrap:nowrap}
.tarot-room .t-progress>span:first-child{width:auto}
.t-table-content .t-ritual-stage{width:100%;height:100%;margin:0;display:grid;place-items:center;perspective:900px}
.t-table-content .t-deck{width:clamp(72px,9vw,110px);height:auto;aspect-ratio:130/200;transform:rotateX(12deg);transform-origin:50% 100%}
.t-table-content .t-breath{width:150px;height:150px;margin:auto;display:grid;place-content:center;gap:10px;background:radial-gradient(ellipse,#a8823530,transparent 65%);box-shadow:none;border:1px solid #b99a5744;border-radius:50%;color:#e9d6b3}
.t-table-content .t-breath>div{width:auto;height:auto;font-size:52px;box-shadow:none;border:0;background:none}.t-table-content .t-breath>span{font-size:12px;text-align:center}
.t-table-content .t-breath-moth{gap:12px}
.t-table-content .t-breath-moth>.t-tuning-mark{width:120px;height:68px;margin:auto;line-height:0}
.t-tuning-mark img{display:block;width:100%;height:100%;object-fit:contain;filter:saturate(.65) brightness(.92);pointer-events:none;user-select:none}
.t-table-content .t-breath-moth>span{margin-top:0}
.t-table-content .t-three-cut{width:100%;height:100%;margin:0;border:0;border-radius:0;background:none}
.t-table-content .t-pile-zone{width:clamp(68px,9vw,100px);height:auto;aspect-ratio:130/200;top:43%;border-color:#c6ab6770;font-size:11px;letter-spacing:1px}
.tarot-room .t-table-content .t-pile-stack{width:clamp(62px,8.5vw,94px);height:auto;aspect-ratio:130/200;top:43%;border-radius:5px}
.t-table-content .t-pile-caption{top:86%;font-size:11px;color:#e2cca1;text-shadow:0 1px 4px #000}
.t-table-content .t-whole-deck{width:100%;height:100%;margin:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:hidden}
.t-table-content .t-table-orbit{display:none}
.tarot-room .t-table-content .t-table-card{width:44px;height:68px;border-radius:3px}
.t-table-content .t-draw-layout{position:relative;width:100%;height:100%;margin:0;display:block}
.t-table-content .t-spread{position:absolute;inset:0;width:100%;height:100%;margin:0}
.t-table-content .t-spread svg{opacity:.45}
.t-table-content .t-slot{width:70px;height:108px;background:none;border:0}
.t-table-content .t-slot-card{width:58px;height:89px;border-color:#d3b57c80;box-shadow:0 5px 7px #0005;background:#21182322}
.t-table-content .t-slot small{font-size:10px;letter-spacing:1px;color:#ebd7b3;text-shadow:0 2px 3px #000;margin-top:5px}
.t-table-content .t-fan{position:absolute;inset:0 0 auto;width:100%;height:80px;margin:0;border:0;overflow:visible;isolation:isolate}
.t-table-content .t-fan-card{left:calc(1% + var(--fan-index)*1.18%);top:5px;width:36px;height:55px;transform:rotate(calc(-9deg + var(--fan-index)*.23deg));transform-origin:50% 95%;border-radius:3px;z-index:var(--fan-index)}
.t-table-content .t-fan-card:hover,.t-table-content .t-fan-card:focus-visible{transform:translateY(-9px) rotate(calc(-9deg + var(--fan-index)*.23deg));z-index:90;filter:brightness(1.18)}
.t-at-table .t-draw-controls{margin:5px auto;justify-content:center;font-size:11px}.t-at-table .t-draw-controls label{display:flex;align-items:center;gap:10px}.t-at-table .t-draw-controls select{width:160px;padding:6px;margin:0}
.t-table-content .t-reveal-table .t-slot{width:94px;height:155px}.t-table-content .t-reveal-table .t-slot-card{width:82px;height:126px}
.t-table-content .t-celtic .t-slot{width:46px;height:70px}.t-table-content .t-celtic .t-slot-card{width:36px;height:55px}.t-table-content .t-celtic .t-slot small{font-size:8px;letter-spacing:0}
.t-table-content .t-celtic .t-slot:nth-of-type(n+7) small{position:absolute;right:100%;top:8px;margin:0 6px 0 0;max-width:none;white-space:nowrap}
.tarot-room[data-card-count='7'] .t-table-content .t-slot-card{width:46px;height:70px}.tarot-room[data-card-count='7'] .t-table-content .t-slot{height:93px;width:62px}
.t-at-table #t-envelope-space{margin:0 auto;display:flex;align-items:center;justify-content:center;gap:14px}.t-at-table #t-envelope-space .t-whisper{font-size:12px;margin:6px}
.t-at-table .t-envelope{width:180px;height:86px;margin:4px 0}.t-at-table .t-envelope-flap{border-left-width:90px;border-right-width:90px;border-top-width:40px}.t-at-table .t-envelope .t-seal{width:35px;height:35px;font-size:24px;top:22px;left:calc(50% - 17px)}.t-at-table .t-envelope strong{font-size:13px;bottom:5px}
.t-reading-panel .t-main>.t-heading{margin:12px auto 20px}.t-reading-panel .t-main>form,.t-reading-panel .t-main>.t-open-book,.t-reading-panel .t-main>.t-share-options{max-width:850px;margin-left:auto;margin-right:auto}
.t-reading-panel .connection-view{width:min(1100px,94%);margin:auto}.t-reading-panel .t-main>.t-actions{margin:18px auto}
.tarot-room.t-without-scene{background-image:linear-gradient(#100d12c7,#100d12e6),url('/assets/tarot-room/background-v1.3951409f75bc.webp')}
.tarot-room.t-without-scene .t-header{position:relative}
.tarot-room.t-without-scene .t-main{padding:16px 0 24px;min-height:calc(100dvh - 124px)}
@keyframes t-reader-breath{0%,100%{translate:0 0}50%{translate:0 2px}}
@keyframes t-guide-glow{0%,100%{box-shadow:0 0 14px #e9c68266}50%{box-shadow:0 0 26px #e9c682cc}}
@media(min-width:651px) and (max-height:680px){.t-scene-window{min-width:640px}.t-at-table .t-heading h1{font-size:20px}.t-table-content .t-reveal-table .t-slot-card{width:66px;height:101px}.t-table-content .t-reveal-table .t-slot{height:123px;width:78px}}
@media(max-width:650px){
 .tarot-room .t-header{height:46px;padding:0 14px;width:100%;gap:5px}.t-header .t-brand{font-size:9px;letter-spacing:1px}.t-header .t-compass{font-size:22px!important}
 .t-scene-window{width:100%;min-width:0;aspect-ratio:3/4;margin:0 auto}.t-scene-canvas{border-radius:0;}
 .t-room-plate{object-fit:cover;object-position:center}
 .t-reader{left:7%;top:5%;width:86%}
 .t-table-content{left:6%;top:58%;width:88%;height:35%}
 .t-at-table .t-scene-window>.t-heading{position:absolute;top:48%;left:18%;width:64%;padding:0;margin:0;text-align:center;background:none;border:0}
 .t-at-table .t-heading h1{font-size:16px;line-height:1.3;letter-spacing:1px;margin:0 0 3px}.t-at-table .t-heading p{font-size:9px;line-height:1.5;letter-spacing:0;margin:0;color:#dac9ae}.t-at-table .t-eyebrow{display:none}
 .t-table-content .t-breath{height:120px;width:120px}.t-table-content .t-breath>div{font-size:42px}
 .t-table-content .t-breath-moth{gap:9px}.t-table-content .t-breath-moth>.t-tuning-mark{width:92px;height:52px}
 .t-table-content .t-deck{width:74px}
 .tarot-room .t-table-content .t-pile-stack{width:64px}.t-table-content .t-pile-zone{width:69px}.t-table-content .t-pile-caption{font-size:9px;top:85%}
 .tarot-room .t-table-content .t-table-card{width:32px;height:49px}
 .t-table-content .t-slot{width:52px;height:80px}.t-table-content .t-slot-card{width:44px;height:67px}.t-table-content .t-slot small{font-size:8px;letter-spacing:0;margin-top:3px}
 .t-table-content .t-fan{height:58px}.t-table-content .t-fan-card{width:25px;height:38px;left:calc(var(--fan-index)*1.16%);top:6px}
 .t-table-content .t-reveal-table .t-slot{width:64px;height:106px}.t-table-content .t-reveal-table .t-slot-card{width:57px;height:87px}
 .tarot-room[data-card-count='3'] .t-table-content .t-reveal-table .t-slot{width:77px;height:127px}.tarot-room[data-card-count='3'] .t-table-content .t-reveal-table .t-slot-card{width:67px;height:103px}
 .tarot-room[data-card-count='7'] .t-table-content .t-slot-card,.t-table-content .t-celtic .t-slot-card{width:29px;height:44px}.tarot-room[data-card-count='7'] .t-table-content .t-slot,.t-table-content .t-celtic .t-slot{width:42px;height:61px}
 .t-at-table .t-main>.t-whisper{font-size:11px}.t-at-table .t-main>.t-footnote{font-size:9px;padding:0 16px}.t-at-table .t-main>.t-cut-actions{gap:4px;max-width:360px}.t-at-table .t-cut-actions button{font-size:10px;padding:7px 9px}
 .t-at-table .t-main>.t-actions{gap:8px;margin:8px auto}.t-at-table .t-brass{font-size:12px;padding:10px 20px}.tarot-room .t-progress{width:94%;gap:5px;padding:10px 12px!important}.tarot-room .t-progress small{font-size:8px;letter-spacing:0}
 .t-reading-panel .t-heading h1{font-size:23px}.t-reading-panel .t-main>form{width:94%}.t-reading-panel .t-main>.t-open-book{width:94%}
}
@media(prefers-reduced-motion:reduce){.t-reader-rig,.t-table-cue{animation:none}.t-reader-arm{will-change:auto}}

.tarot-room .t-target-name{position:relative;z-index:12;display:grid;gap:7px;width:min(360px,86%);margin:8px auto 0;color:#e8d4ad;text-align:center;font-size:12px;letter-spacing:1px;text-shadow:0 2px 5px #000}
.tarot-room .t-target-name input{width:100%;min-height:42px;box-sizing:border-box;padding:9px 12px;border:1px solid #c6a86677;border-radius:3px;background:#211823cc;color:#f1dfb8;font-size:15px;font-family:inherit;text-align:center;outline-offset:3px;box-shadow:inset 0 2px 8px #0006,0 4px 12px #0004}
.tarot-room .t-target-name input::placeholder{color:#c1ad8b99}
@media(max-width:650px){.tarot-room .t-target-name{width:min(330px,88%);margin-top:5px;font-size:11px}.tarot-room .t-target-name input{min-height:40px;font-size:14px}}
