.tarot-room-page:has(#tarot-reading:not([hidden])) .tarot-seer-immersive{display:none}.tarot-reading-stage{position:relative;aspect-ratio:3/2;isolation:isolate;overflow:hidden;border:1px solid #b98e4e;border-radius:6px;background:#24150f;box-shadow:0 10px 36px #0009;margin:18px 0}.tarot-reading-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.tarot-reading-mara{position:absolute;left:34%;top:2%;width:32%;z-index:2;clip-path:polygon(0 0,100% 0,100% 67%,62% 67%,55% 60%,30% 58%,0 58%);filter:drop-shadow(0 4px 5px #0006)}.tarot-reading-mara>img{display:block;width:100%;height:auto;max-height:none;margin:0;object-fit:contain}.tarot-reading-mara>.tarot-lip-layer{position:absolute;inset:0;width:100%;height:100%}.tarot-room-page .tarot-reading-stage .tarot-cards.tarot-table{position:absolute;left:10%;top:43%;width:80%;height:45%;min-height:0;display:block;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;isolation:auto;z-index:3;transform:perspective(950px) rotateX(24deg);transform-origin:50% 0}.tarot-reading-stage .tarot-table:before,.tarot-reading-stage .tarot-table:after{display:none}.tarot-reading-stage .tarot-table .tarot-card{width:12%;min-height:0;aspect-ratio:224/400;padding:2px;border:1px solid #c1a779;background:#d6c39d;box-shadow:2px 5px 4px #0008;filter:none;transform:translate(-50%,-50%) rotate(var(--layout-r));z-index:2}.tarot-reading-stage .tarot-table[data-count="1"] .tarot-card{width:22%}.tarot-reading-stage .tarot-table[data-count="2"] .tarot-card,.tarot-reading-stage .tarot-table[data-count="3"] .tarot-card{width:17%}.tarot-reading-stage .tarot-table[data-count="10"] .tarot-card{width:9%}.tarot-reading-stage .tarot-table[data-count="12"] .tarot-card,.tarot-reading-stage .tarot-table[data-count="13"] .tarot-card{width:6.7%}.tarot-reading-stage .tarot-table .tarot-card:hover,.tarot-reading-stage .tarot-table .tarot-card:focus-visible,.tarot-reading-stage .tarot-table .tarot-card.is-selected{box-shadow:0 0 0 1px #f4d193,2px 6px 8px #000a;filter:brightness(1.06)}.tarot-reading-stage .tarot-table .tarot-card.tarot-not-dealt{visibility:hidden}.tarot-reading-stage .tarot-table-deck{left:49%;top:0;width:5.5%;height:auto;aspect-ratio:224/400;transform:translate(-50%,-50%) rotate(-8deg);z-index:2}.tarot-reading-stage .tarot-table-deck span{font-size:clamp(.8rem,2.3vw,1.7rem)}.tarot-reading-stage .tarot-card:after{bottom:-19px;font-size:9px;line-height:15px;min-width:15px;border-color:#d2ba8066;background:#25140ce8}.tarot-dealer-hand{position:absolute;left:41.53%;top:35.03%;width:10.87%;height:13.37%;z-index:7;pointer-events:none;transform-origin:22% 10%;filter:drop-shadow(1px 4px 2px #0005)}.tarot-dealer-hand svg{width:100%;height:100%;overflow:visible;display:block}.tarot-ceremony-status{position:absolute;z-index:8;left:15%;right:15%;bottom:2%;margin:0;text-align:center;color:#ebd09d;text-shadow:0 1px 4px #000;font:italic clamp(.58rem,1.2vw,.8rem)/1.3 Georgia,serif;pointer-events:none}.tarot-reading-stage.is-shuffling .tarot-dealer-hand{animation:tarot-mara-shuffle .62s ease-in-out infinite}.tarot-reading-stage.is-shuffling .tarot-table-deck i:nth-child(1){animation:tarot-riffle-left .62s ease-in-out infinite}.tarot-reading-stage.is-shuffling .tarot-table-deck i:nth-child(2){animation:tarot-riffle-right .62s ease-in-out infinite}.tarot-reading-stage.is-shuffling .tarot-reading-mara{filter:drop-shadow(0 0 12px #dda34855) brightness(1.035)}@keyframes tarot-mara-shuffle{0%,to{transform:translate(0) rotate(0)}33%{transform:translate(-7px,-3px) rotate(-5deg)}66%{transform:translate(7px,-1px) rotate(4deg)}}.tarot-ambient-control{position:fixed;right:18px;bottom:42px;z-index:50;display:flex;gap:7px;align-items:center;padding:4px 7px;border:1px solid #ad8d50;border-radius:20px;background:#151a12ee;box-shadow:0 3px 12px #0007}.tarot-ambient-control button{font:11px Georgia,serif;color:#e5cd95;background:none;border:0;padding:3px;cursor:pointer}.tarot-ambient-control input{width:60px;accent-color:#c3a060;height:15px}.tarot-room-music{bottom:14px}@media(max-width:700px){.tarot-room-page .tarot-reading{padding:10px}.tarot-reading-stage{margin-left:-8px;margin-right:-8px}.tarot-reading-stage .tarot-table .tarot-card{padding:1px}.tarot-reading-stage .tarot-table .tarot-card:after{bottom:-15px;line-height:11px;font-size:7px;min-width:11px}.tarot-ambient-control{right:8px;bottom:39px}.tarot-ambient-control input{width:45px}}@media(prefers-reduced-motion:reduce){.tarot-reading-stage.is-shuffling .tarot-dealer-hand,.tarot-reading-stage.is-shuffling .tarot-table-deck i{animation:none!important}}.tarot-reading-player{padding-left:0;min-height:0}.tarot-reading-player .tarot-reading-face{display:none}.tarot-card-detail{display:flow-root;min-height:195px}.tarot-card-detail>.tarot-card-art{float:left;display:block;width:96px;height:172px;margin:0 18px 0 0;background-repeat:no-repeat;box-shadow:2px 5px 12px #0008}.tarot-card-tooltip{position:fixed;z-index:1200;box-sizing:border-box;width:min(330px,calc(100vw - 16px));padding:14px 16px;border:1px solid #bea16a;border-radius:5px;background:#111c16f5;color:#ead5ad;box-shadow:0 8px 26px #0009;pointer-events:none;font:14px/1.45 Georgia,serif}.tarot-card-tooltip[hidden]{display:none}.tarot-card-tooltip strong{font:19px TarotPagan,Georgia,serif;color:#f3d18b}.tarot-card-tooltip p{margin:7px 0}.tarot-card-tooltip small{font-size:11px;color:#c4b181}
