@font-face{font-family:'TaShuo Hand';src:url('/assets/fonts/tashuo-hand-v1.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
/* One selected book, one uninterrupted entrance into its reading room. */
.card-atlas{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;border-radius:0;overflow:hidden;background:radial-gradient(ellipse at center,#4b302b44,#100b11d4 85%);color:#e6cf9e;perspective:1600px;font-family:'TaShuo Hand','STKaiti','KaiTi',serif}
.card-atlas::backdrop{background:#120c1696;backdrop-filter:blur(5px) saturate(.8)}
.card-atlas [hidden]{display:none!important}.card-atlas button{font-family:inherit;cursor:pointer}.card-atlas button:focus-visible{outline:2px solid #f5d693;outline-offset:3px}
.atlas-header{position:absolute;inset:env(safe-area-inset-top,0px) 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:56px;margin:0;padding:0 20px;box-sizing:border-box;z-index:40}
.atlas-header button{min-height:44px;padding:8px 0;border:0;background:none;color:#e5cb9a;font-size:14px}.atlas-header [data-atlas-skip]{font-size:12px;color:#cfb892;letter-spacing:1.5px;border-bottom:1px dashed #c4a05e55}
.atlas-desk{position:absolute;inset:56px 0 48px;width:100%;margin:0;padding:12px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;perspective:1600px}
.atlas-book{position:relative;display:block;width:min(920px,100%);height:min(62dvh,calc((100vw - 24px) * .7));min-height:0;margin:0;padding:0;opacity:0;isolation:isolate;transform-style:preserve-3d}
.atlas-paper{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:-1;pointer-events:none;user-select:none;filter:drop-shadow(0 22px 18px #0009)}
.atlas-entry-illustration{position:absolute;left:12%;top:16%;width:33%;height:68%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.atlas-entry-illustration img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.atlas-portal-window{position:absolute;left:54%;top:16%;width:33%;height:68%;overflow:hidden;border-radius:3px;background:#2a1928;box-shadow:0 0 0 1px #98764588,inset 0 0 0 2px #d4b26f33,0 8px 22px #593d2240}
.atlas-portal-art{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0}
.atlas-cover{position:fixed;z-index:6;object-fit:fill;pointer-events:none;transform-origin:0 50%;backface-visibility:hidden;filter:drop-shadow(12px 28px 14px #0008)}

.atlas-portal-floating{position:fixed;z-index:30;overflow:hidden;pointer-events:none;background:#211424;box-shadow:0 0 55px #c09b5550;will-change:left,top,width,height;contain:paint}
.atlas-portal-floating>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0}
.atlas-portal-aura{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,transparent 28%,#160f2033 75%,#0b081461);box-shadow:inset 0 0 45px #ba954824}
@media(max-width:650px){.atlas-header{padding:0 14px}.atlas-header button{font-size:12px}.atlas-book{height:min(58dvh,calc((100vw - 24px) * .75))}}

/* Shared form layout for the non-tarot card tools. */
.deck-entry-room .t-main{min-height:100dvh;padding:0}
.deck-entry-room .t-scene-window{width:100%;min-width:0;height:max(780px,100dvh);aspect-ratio:auto;margin:0}
.deck-entry-room .t-scene-canvas{border-radius:0}
.deck-entry-room .t-room-plate{top:-32%;height:132%;object-fit:cover}
.deck-entry-room .t-reader{width:min(40vw,44vh);left:45%;top:calc(34% - min(26.6667vw,29.3333vh));transform:translateX(-50%)}
.deck-entry-room .t-heading{display:none}
.deck-entry-room .t-table-content{left:6%;top:44%;width:43%;height:35%}
.deck-entry-room .t-breath{width:180px;height:180px}
.deck-entry-room .t-breath>span{font-size:13px}
.deck-entry-note{position:absolute;z-index:20;top:17%;right:5%;width:40%;max-height:77%;overflow:auto;scrollbar-width:thin;padding:28px 32px;background:radial-gradient(ellipse at 85% 15%,#fbf0d699,transparent 55%),radial-gradient(ellipse at 12% 88%,#825e2c2e,transparent 55%),linear-gradient(100deg,#b89b72,#e5d3ac 7%,#ece0c5 50%,#dfd0ab 93%,#b0946d);color:#4c3624;border:1px solid #9e8152;outline:1px solid #8c6d3b45;outline-offset:-6px;border-radius:2px 6px 4px 2px;box-shadow:4px 14px 34px #0009,inset 0 0 34px #6e4e2633,2px 3px 0 #947a50}
.deck-entry-note h2{color:#593b22;font-size:25px;font-weight:400;letter-spacing:2px;margin:0 0 10px;text-shadow:none}
.deck-entry-note h2::before{content:'❖ ';color:#7d3d2c;font-size:16px;vertical-align:middle}
.deck-entry-note .sub{color:#7c6140;font-size:12px}
.deck-entry-note label{color:#5e452d;font-size:14px;letter-spacing:.5px}
.deck-entry-note textarea,.deck-entry-note input,.deck-entry-note select{color:#463220;background:#fbf2dc66;border:1px solid #96784866;border-left:2px solid #8c6b3b99;box-shadow:inset 0 1px 4px #52391c22;font:15px/1.65 'TaShuo Hand','KaiTi',serif}
.deck-entry-note .notice{color:#7c6242;border-color:#96784844;border-left:3px double #8c4330;background:#8c6b3b0f;font-size:10px;line-height:1.8}
.deck-entry-note .form-row{gap:15px}
.deck-entry-note .primary{background:linear-gradient(125deg,#5e422ce6,#3b281af5 58%,#6e4e34cc);border-color:#a88652;outline:1px solid #ebd09633;outline-offset:-4px;color:#f2ddba}
.deck-entry-note .secondary{color:#66492e;border-color:#96784866;background:#e6d5b366}
.deck-entry-note .ritual-orb,.deck-entry-note .steps{display:none}
.deck-entry-note .actions{gap:10px}
.deck-entry-note .form textarea{min-height:94px}
.deck-entry-note .form label{margin-bottom:12px}
@media(min-width:701px) and (max-width:1000px){.deck-entry-note{width:44%;right:3%;padding:22px}
.deck-entry-room .t-table-content{left:3%;width:46%}}
@media(max-width:900px){.deck-entry-room .t-scene-window{height:680px;min-height:0}
.deck-entry-room .t-room-plate{top:-20%;height:120%}
.deck-entry-room .t-reader{width:94%;left:50%;top:3%}
.deck-entry-room .t-table-content{left:8%;top:54%;width:84%;height:39%}
.deck-entry-note{position:relative;top:auto;right:auto;width:90%;max-height:none;margin:8px auto 25px;padding:25px 22px}
.deck-entry-room .t-main{padding-bottom:10px}
.deck-entry-note h2{font-size:26px}
.deck-entry-note .sub{font-size:13px}
.deck-entry-note label{font-size:15px}}

.atlas-page figure.atlas-oracle-figure>img{mix-blend-mode:normal;border-radius:4px;filter:drop-shadow(0 4px 5px #3e283540)}
