/* Original CSS architecture, atmosphere and motion. Approved card pixels remain unchanged. */
:root{--quest-ink:#0b0a14;--quest-gold:#dcc28a;--quest-ivory:#f4ecdd;--quest-violet:#807097}
.temple .quest-hub{background:radial-gradient(ellipse at 20% 0,#36304c55,transparent 58%),#0b0b13;border-color:#aa8c4b55;text-align:left;overflow:hidden}.temple .quest-hub .quest-hero{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);align-items:center;gap:30px;min-height:540px;padding:30px;border:0;border-radius:0;background:radial-gradient(ellipse at 25% 65%,#77624433,transparent 55%);margin:0;isolation:isolate}.temple .quest-hero h2{font:clamp(36px,5vw,62px)/1.08 Georgia,serif!important;color:var(--quest-ivory);margin:18px 0!important}.quest-hero-copy{position:relative;z-index:2;min-width:0}.quest-hero-copy>button{display:block!important;width:100%;margin:12px 0!important;min-height:48px}.quest-date-label{font-size:15px!important;line-height:1.7}.quest-stage{letter-spacing:.12em;font-size:12px!important;color:var(--quest-gold)}.quest-archetype{font:20px/1.7 Georgia,serif!important;color:#e2d8c6}.quest-letter{line-height:1.65;font-size:14px!important}.quest-letter span{font-size:36px;margin-right:12px;color:var(--quest-gold)}.quest-pedestal{position:relative;min-height:460px;display:flex;justify-content:center;align-items:center;perspective:950px;isolation:isolate}.quest-pedestal>img{width:min(100%,255px);height:385px;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 22px 22px #000a);animation:artifact-arrive 1.2s ease-out both,artifact-hover 8s 1.2s ease-in-out infinite}.quest-halo{position:absolute;inset:5% 3%;border:1px solid #c9a86166;border-radius:48% 48% 0 0;background:radial-gradient(ellipse,#e6c58d22,transparent 70%);box-shadow:inset 0 0 65px #a78b5b22,0 0 50px #836da322}.quest-halo:before,.quest-halo:after{content:'';position:absolute;inset:10px;border:1px solid #c9a86133;border-radius:inherit}.quest-halo:after{inset:-12px;border-style:dotted;opacity:.5}.quest-plinth{position:absolute;bottom:12px;width:95%;height:70px;border-radius:50%;background:radial-gradient(ellipse at 50% 25%,#a18b6244,#1d1c25 60%,#06070d);border:1px solid #cab07888;box-shadow:0 15px 35px #000,0 -12px 45px #cba95a33}.quest-plinth:before{content:'';position:absolute;inset:10px;border:1px solid #d6b87355;border-radius:50%}.quest-art-status{position:relative;z-index:3;padding:30px;color:#e0d3b6}.quest-triad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px 0}.quest-tile{position:relative;text-align:left;display:flex;flex-direction:column;gap:12px;min-height:255px;overflow:hidden;isolation:isolate;padding:24px;background:linear-gradient(135deg,#252031,#10121d);border:1px solid #c3a66d66;border-radius:70px 70px 12px 12px;box-shadow:inset 0 0 35px #0009;transition:transform .25s,box-shadow .25s}.quest-tile>img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;opacity:.18;z-index:-1;mask-image:linear-gradient(#000,transparent 85%)}.quest-tile>small{letter-spacing:.16em;color:var(--quest-gold);margin-top:20px}.quest-tile>strong{font:27px Georgia,serif;color:var(--quest-ivory)}.quest-tile>span{font-size:16px;line-height:1.6}.quest-tile .quest-completion{margin-top:auto;font-size:14px;color:var(--quest-gold)}.quest-tile:hover{transform:translateY(-4px);box-shadow:0 8px 35px #b18c3a22}.quest-done{border-color:#efd28d;box-shadow:inset 0 0 45px #bc994d22}.quest-player{padding:22px 0;border-top:1px solid #bb9c6255;border-bottom:1px solid #bb9c6255;margin:12px 0 25px;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:20px}.quest-player>p,.quest-player>h3{grid-column:1;margin:6px 0;line-height:1.6}.quest-player>button{grid-column:2;grid-row:1/5;min-height:50px}.quest-hub .mystery-world-doors{margin-top:22px}.quest-hub .mystery-world-doors button{min-height:115px;border-radius:60px 60px 10px 10px;background:radial-gradient(ellipse at 50% 80%,#b08f4b22,transparent),#12121e;border-color:#b3996377}.quest-hub .guide-toolkit{border:0}.quest-mystery-check{min-height:50px;grid-column:1/-1}.quest-hub .guide-play{gap:12px}.quest-hub .guide-play button{background:linear-gradient(130deg,#252030,#11151f);border-color:#b3985f66}.quest-hub .daily-tile{border-color:#a98e5144;background:linear-gradient(145deg,#201c2a,#10141b)}
/* The Grimoire: single-column on phones; genuine master-detail reading on wide screens. */
.temple #journal .grimoire{max-width:1180px;margin-inline:auto;background:radial-gradient(ellipse at 0 0,#41334f44,transparent),#101018;padding:clamp(16px,3vw,36px);min-width:0;box-sizing:border-box}.grimoire h2{font:clamp(34px,6vw,54px) Georgia,serif;margin:10px 0;color:var(--quest-ivory)}.grimoire-intro{color:#d5cbb8;line-height:1.7}.grimoire-compose{padding:18px 0;border-block:1px solid #a68e5544;margin:20px 0}.grimoire-compose summary{min-height:44px;cursor:pointer;color:var(--quest-gold);font-size:18px}.grimoire-compose textarea,.grimoire-reader textarea{width:100%;box-sizing:border-box;min-height:150px;font-size:17px;line-height:1.65;padding:15px;background:#070b12;color:#f1e8d7;border:1px solid #ae935f88;border-radius:8px;resize:vertical}.grimoire-compose label,.grimoire-reader label{display:block;margin:18px 0 8px;font-size:17px}.grimoire-tools{display:grid;grid-template-columns:1fr auto;gap:12px;margin:20px 0}.grimoire-tools input,.grimoire-tools select{width:100%;box-sizing:border-box;min-width:0;min-height:48px;font-size:16px}.grimoire-book{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.5fr);gap:28px;align-items:start}.grimoire #journalEntries{display:flex;flex-direction:column;gap:8px;min-width:0;max-height:760px;overflow:auto;padding:2px}.grimoire-entry{display:flex;flex-direction:column;gap:10px;flex-shrink:0;min-height:90px;padding:18px;text-align:left;background:#171521;border:1px solid #8d744744;border-radius:5px}.grimoire-entry[aria-pressed=true]{border-color:#d5bb7c;background:#302735}.grimoire-entry small{color:#c7b895;font-size:13px}.grimoire-entry strong{font:18px/1.5 Georgia,serif;overflow-wrap:anywhere}.grimoire-reader{min-width:0;border-left:1px solid #ae935f55;padding:0 0 20px 28px;animation:grimoire-page .35s ease-out both}.grimoire-reader h3{font:clamp(24px,4vw,34px)/1.4 Georgia,serif;overflow-wrap:anywhere;color:#e9dbc0}.grimoire-prose{font:18px/1.85 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;color:#e4dac9}.grimoire-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:10px}.grimoire-card{min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px;background:#15131e}.grimoire-card img{width:100%;max-height:235px;object-fit:contain}.grimoire-card span{font-size:13px;overflow-wrap:anywhere}.grimoire-reader>button{min-height:48px;margin-top:15px}.grimoire-status{min-height:24px;color:var(--quest-gold);line-height:1.6}
/* First-person pilgrim corridor. Architecture is independent of the historical card. */
.temple .first-person-scene{height:min(730px,85dvh);min-height:500px;border-radius:160px 160px 12px 12px;background:#070a15;border-color:#b89a5e88;perspective:750px;isolation:isolate;animation:none!important;scroll-margin-top:12px}.first-person-scene:before{z-index:3;pointer-events:none;opacity:.5}.first-person-scene .living-story-environment{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 25%;opacity:.28;filter:blur(2px);animation:pilgrim-environment 2.8s ease-out both!important;mask-image:linear-gradient(#000,transparent 92%)}.journey-atmosphere{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 42%,transparent,#0d0a1788 70%),linear-gradient(transparent 50%,#080c15);pointer-events:none;z-index:1}.journey-corridor{position:absolute;inset:0;perspective:650px;transform-style:preserve-3d;pointer-events:none;overflow:hidden}.journey-arch{position:absolute;inset:7% 12% -30%;border:7px double #96733d77;border-radius:45% 45% 0 0;box-shadow:inset 0 0 35px #c49c5522,0 0 20px #d6b46b11;transform-origin:50% 52%;animation:pilgrim-gate 2.8s calc(var(--gate)*-.4s) cubic-bezier(.18,.45,.35,1) both;opacity:0}.journey-floor{position:absolute;left:-60%;right:-60%;bottom:-36%;height:80%;transform:rotateX(66deg);transform-origin:50% 100%;background:repeating-linear-gradient(90deg,transparent 0 99px,#cbb17455 100px 101px),repeating-linear-gradient(0deg,#141320 0 80px,#aa8a4844 81px 83px);border-inline:2px solid #dac28a;box-shadow:0 0 35px #bc955033;animation:pilgrim-floor 2.8s ease-out both}.journey-floor:before{content:'';position:absolute;inset:0 40%;border-inline:2px solid #dec27b;background:linear-gradient(90deg,transparent,#d4aa4433,transparent);box-shadow:0 0 45px #cda64755}.first-person-scene .journey-character{position:absolute;left:50%;right:auto;bottom:10%;width:auto;max-width:60%;padding:0;background:transparent;border:0;transform:translateX(-50%);z-index:3;animation:pilgrim-teacher 2.8s ease-out both!important;filter:drop-shadow(0 20px 22px #000);text-align:center}.first-person-scene .journey-character img{width:auto;height:min(430px,50dvh);max-width:100%;border-radius:8px;object-fit:contain;transform:none;border:1px solid #d3b46d99;box-shadow:0 0 45px #d2ae5133}.first-person-scene .journey-character span{font:16px/1.5 Georgia,serif;margin:8px 0 0;padding:8px 14px;background:#11111de8;border-color:#ba9d5a88;color:#f3e3bf}.journey-hud{position:absolute;z-index:5;top:22px;left:20px;right:20px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.journey-hud p{margin:0;font-size:11px}.journey-hud strong{font:22px Georgia,serif;color:#f5e3bf}.journey-hud>span{font-size:13px;color:#d2c5ae}.journey-camera-controls{display:flex;gap:8px}.journey-camera-controls button{min-height:44px;font-size:13px;padding:8px 12px;background:#0c111dcc;border-color:#ad945b66}.journey-compass{position:absolute;z-index:4;bottom:10px;left:15px;right:15px;text-align:center;font-size:14px!important;color:#eee1c4;line-height:1.5}.journey-paused *,.journey-backgrounded .first-person-scene *{animation-play-state:paused!important}.journey-arrived .journey-arch{animation:none;opacity:0}.journey-arrived .journey-character{animation:none!important}.journey-arrived .journey-floor,.journey-arrived .living-story-environment{animation:none!important}.first-person-scene.walking{animation:pilgrim-depart 1.35s ease-in both!important}.first-person-scene.walking .journey-character{animation:pilgrim-leave 1.35s ease-in both!important}.temple .fools-game .story-chapter{color:#f0e7d6;background:linear-gradient(145deg,#262132,#10151f);border-color:#ad935a77;padding:clamp(20px,4vw,38px)}.temple .story-chapter h3,.temple .story-chapter h4{color:#e7c98b}.temple .story-prose,.temple .story-feedback p,.temple .story-feedback,.temple .story-response p{color:#e4d8c3;font-size:18px;line-height:1.8}.temple .story-chapter>button:not(.gold),.temple .story-choices button,.temple .story-response button{background:#151924;color:#eee3ce;border-color:#a48c5b77;min-height:48px}.temple .story-response button[aria-pressed=true],.temple .story-choices button[aria-pressed=true]{background:#483a4e;border-color:#e0c78e}.temple .story-status{font-size:16px;line-height:1.7;color:#d9caa9}.temple .story-gift{color:#d9bc7d!important}.temple .story-chapters button{font-size:14px;min-height:48px;background:#1b1928;border-color:#a48c5b66;color:#e6dac4}.temple .story-chapters button[aria-current=step]{background:#4b3d51;color:#ffedc2}.journey-image-status{max-width:220px;font-size:16px;color:#eadac0;padding:20px;background:#161827}
/* The answer is immutable after submission; both outcomes remain visible. */
.academy-answer.answer-correct{border:2px solid #b9d7ad;background:#21342e;color:#f2ffeb}.academy-answer.answer-incorrect{border:2px solid #d6a198;background:#42282e;color:#fff0ea}.academy-feedback{animation:grimoire-page .3s ease-out}.academy-card-art img{max-height:430px}.recognition-window{max-width:270px}.academy-game .academy-answers{gap:12px}.academy-answer{min-height:54px;font-size:16px}.academy-game .academy-feedback{border-left:3px solid #d1b274;background:#24202b;padding:20px}.mystery-merch-link span{font-size:0}.mystery-merch-link span:before{content:'';display:block;width:16px;height:17px;border:1.5px solid #dec28b;border-radius:2px;box-sizing:border-box;margin-top:3px}.mystery-merch-link span:after{content:'';display:block;width:8px;height:7px;border:1.5px solid #dec28b;border-bottom:0;border-radius:6px 6px 0 0;position:absolute;margin:-23px 0 0 4px}.mystery-merch-link{position:relative}
@keyframes artifact-arrive{from{opacity:0;transform:rotateY(-65deg) translateY(35px) scale(.9)}to{opacity:1;transform:none}}@keyframes artifact-hover{50%{transform:translateY(-8px) rotateY(3deg)}}@keyframes grimoire-page{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes pilgrim-gate{0%{transform:scale(.28);opacity:0}20%{opacity:.6}85%{opacity:.55}100%{transform:scale(2.4);opacity:0}}@keyframes pilgrim-teacher{from{opacity:.15;transform:translateX(-50%) scale(.3) translateY(-80px)}to{opacity:1;transform:translateX(-50%) scale(1)}}@keyframes pilgrim-floor{from{background-position:0 -300px;opacity:.2}to{background-position:0 0;opacity:1}}@keyframes pilgrim-environment{from{transform:scale(1.02);opacity:.12}to{transform:scale(1.14);opacity:.28}}@keyframes pilgrim-depart{to{opacity:.2;filter:blur(4px)}}@keyframes pilgrim-leave{to{transform:translateX(-50%) scale(1.6);opacity:0}}
@media(min-width:701px){.quest-hub .guide-play{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.temple .quest-hub .quest-hero{grid-template-columns:1fr;gap:14px;padding:15px 6px;min-height:0}.quest-pedestal{min-height:340px;max-width:310px;width:100%;margin:auto}.quest-pedestal>img{height:300px;width:200px}.quest-plinth{height:45px;bottom:0}.quest-hero-copy{text-align:left;padding:0 10px}.temple .quest-hero h2{font-size:38px!important}.quest-triad{grid-template-columns:1fr;padding:16px 0}.quest-tile{min-height:175px;padding:20px 22px;border-radius:50px 12px 12px 12px}.quest-tile>small{margin-top:0}.quest-tile>img{object-position:50% 25%;opacity:.15}.quest-player{display:block;padding:22px 8px}.quest-player>button{width:100%;margin-top:15px}.grimoire-book{grid-template-columns:1fr;gap:25px}.grimoire-reader{border-left:0;border-top:1px solid #ae935f55;padding:22px 0 0}.grimoire #journalEntries{max-height:300px}.grimoire-tools{grid-template-columns:1fr}.grimoire-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.grimoire-card img{max-height:180px}.first-person-scene{border-radius:110px 110px 10px 10px!important}.first-person-scene .journey-character{max-width:70%;bottom:12%}.first-person-scene .journey-character img{height:min(370px,42dvh)}.journey-hud{top:25px;gap:7px}.journey-hud strong{font-size:18px;max-width:220px}.journey-hud p{max-width:200px;line-height:1.5}.journey-compass{font-size:13px!important}.temple .story-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}.temple .story-choices{grid-template-columns:1fr}.academy-card-art img{max-height:390px}}
@media(prefers-reduced-motion:reduce){.quest-pedestal>img,.first-person-scene,.first-person-scene *,.grimoire-reader,.academy-feedback{animation:none!important;transition:none!important}.journey-arch{display:none}.first-person-scene .journey-character{opacity:1}.quest-tile:hover{transform:none}}
.temple-light .quest-pedestal>img,.temple-light .first-person-scene,.temple-light .first-person-scene *{animation:none!important}.temple-light .journey-arch{display:none}.quest-tile:focus-visible,.journey-character:focus-visible,.grimoire-entry:focus-visible{outline:3px solid #f5d28a;outline-offset:4px}.temple .hide .quest-pedestal>img,.hide .first-person-scene *{animation-play-state:paused!important}
/* Let the actual card determine its own aspect ratio; no letterboxed placeholder frame. */
.temple .first-person-scene .journey-character{width:min(285px,64%);max-width:none;display:block}.temple .first-person-scene .journey-character img{display:block;width:100%;height:auto;max-height:49dvh;object-fit:contain;background:transparent;border:0;box-shadow:none}.journey-arch:last-child{animation:none;transform:scale(1.03);opacity:.45;border-width:5px}.journey-arrived .journey-arch:last-child{display:block;opacity:.45}.first-person-scene:after{z-index:2}.temple .first-person-scene .journey-character{z-index:4}.first-person-scene .journey-hud{z-index:6}.temple #adventure .story-next{background:linear-gradient(110deg,#d5b574,#a58c5c);border-color:#dbc48c;color:#11121a}.temple #adventure .story-next:disabled{opacity:.45}.grimoire-compose .actions{flex-wrap:wrap}.grimoire-compose .actions button{max-width:100%;white-space:normal}.quest-hub>.studio-eyebrow,.quest-hub>.quest-lead,.quest-hub>.temple-chapter{display:none}.quest-pedestal:after{content:'·    ✦     ·      ✧   ·';position:absolute;inset:5% 0;color:#e3c98b;letter-spacing:18px;pointer-events:none;opacity:.6}.journey-backgrounded *,body:has(.temple-light) .quest-pedestal:after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.journey-arch:last-child{display:block;transform:scale(1.03);opacity:.45}}
.temple-light .journey-arch:last-child{display:block;transform:scale(1.03);opacity:.45}
/* These selectors outrank the cinematic animation shorthands, including their play state. */
.temple .first-person-scene.journey-paused *,.temple .journey-backgrounded .first-person-scene *{animation-play-state:paused!important}.temple .first-person-scene.journey-paused:before,.temple .journey-backgrounded .first-person-scene:before{animation-play-state:paused!important}
.marketplace-door{box-sizing:border-box;width:min(610px,94vw);max-height:90dvh;overflow:auto;padding:clamp(22px,4vw,38px);background:radial-gradient(ellipse at 50% 15%,#51426033,transparent),#111521;border:1px solid #b89b63;border-radius:30px;color:#eee2ca;box-shadow:0 20px 70px #000b}.marketplace-door::backdrop{background:#03060cde;backdrop-filter:blur(6px)}.marketplace-door>img{display:block;margin:24px auto 10px}.marketplace-door h2{font:clamp(28px,6vw,38px)/1.3 Georgia,serif;color:#ead8ad;overflow-wrap:anywhere}.marketplace-door p{font-size:17px;line-height:1.8}.marketplace-door-badge{color:#e5c98b;letter-spacing:.16em}.marketplace-door a{display:flex;align-items:center;justify-content:center;min-height:50px;color:#f0d59d;border:1px solid #ad925d77;border-radius:8px;padding:12px;text-decoration:none}.marketplace-door .mystery-close{min-height:48px;position:static}.marketplace-door a:focus-visible,.marketplace-door button:focus-visible{outline:3px solid #ffe2a4;outline-offset:3px}
/* The shared daily card and inspiration lead; the personal journey remains separate below. */
.temple .quest-hub #dailyBriefing{margin:0 0 30px}.temple .quest-hub #dailyBriefing .daily-card{padding:clamp(20px,4vw,35px);background:radial-gradient(ellipse at 20% 30%,#98713d22,transparent),#111521;grid-template-columns:minmax(170px,280px) minmax(0,1fr);align-items:center}.temple .quest-hub #dailyBriefing .daily-card img{max-height:430px;width:100%;object-fit:contain;filter:drop-shadow(0 12px 20px #0009)}.temple .quest-hub #dailyBriefing .daily-card h3{font:clamp(27px,4vw,39px)/1.2 Georgia,serif}.alexandria-library{background:radial-gradient(ellipse at 20% 0,#4a355744,transparent),#11151d!important}.alexandria-library>h2{font:clamp(32px,6vw,54px)/1.15 Georgia,serif;color:#e9d8b5}.alexandria-library>p{line-height:1.8;font-size:17px;max-width:800px}.alexandria-controls{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;margin:25px 0}.alexandria-controls input,.alexandria-controls select{box-sizing:border-box;width:100%;min-width:0;min-height:50px;font-size:16px}.alexandria-controls button{min-height:50px}.alexandria-controls button[aria-pressed=true]{border-color:#edcf8d;background:#44374c}.alexandria-shelves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.alexandria-book{min-width:0;padding:clamp(18px,3vw,28px);border:1px solid #b3985f66;border-radius:35px 8px 8px 8px;background:linear-gradient(145deg,#242030,#111822);box-shadow:inset 0 0 40px #0003}.alexandria-book h3{font:25px/1.35 Georgia,serif;color:#ebd4a1}.alexandria-book p{font-size:16px;line-height:1.8}.alexandria-book>small{display:block;color:#cbb588;line-height:1.6}.alexandria-book>a{display:flex;align-items:center;min-height:48px;color:#e6c98e;margin:10px 0;text-decoration:underline;overflow-wrap:anywhere}.alexandria-book>button{min-height:48px;max-width:100%;white-space:normal;margin:15px 0}.alexandria-book details summary{min-height:44px;cursor:pointer;line-height:1.7;color:#e7c88b}.alexandria-book label{display:block;line-height:1.7;margin:15px 0 8px}.alexandria-book textarea{box-sizing:border-box;width:100%;font-size:16px;line-height:1.7;min-height:110px}.alexandria-book a:focus-visible,.alexandria-book button:focus-visible{outline:3px solid #f3d38e;outline-offset:3px}@media(max-width:700px){.temple .quest-hub #dailyBriefing .daily-card{display:flex;flex-direction:column;gap:16px;text-align:left}.temple .quest-hub #dailyBriefing .daily-card img{width:min(100%,250px);max-height:380px;align-self:center}.temple .quest-hub #dailyBriefing .daily-card>*{width:100%}.alexandria-controls,.alexandria-shelves{grid-template-columns:1fr}.alexandria-book h3{font-size:24px}}
.quick-signature-art{display:block;width:min(100%,270px);max-height:420px;object-fit:contain;margin:18px auto}
.daily-card img[hidden],.flash-game img[hidden],.quick-signature-art[hidden]{display:none!important}
/* One artwork at a time, with explicit study choices rather than hidden menus. */
.study-segments,.esoteric-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.study-segments button,.esoteric-shortcuts button{min-height:48px;padding:12px 16px;font-size:16px;border:1px solid #aa8e5866;border-radius:8px;background:linear-gradient(145deg,#262033,#141a25);color:#ebdfc8;white-space:normal}.study-segments button[aria-pressed=true]{border-color:#e4c684;background:#4b3a50;color:#fff0ce}.esoteric-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:20px 0;border-block:1px solid #ad915544}.esoteric-shortcuts button{text-align:left;min-height:68px}.studio-single-deck{grid-template-columns:minmax(0,1fr)!important}.studio-single-deck .studio-figure{max-width:370px;width:100%;margin:auto}.studio-single-deck .studio-image-frame img{max-height:460px}.studio-tabs{position:relative;z-index:1;margin:22px 0}.studio-tabs button{min-height:48px;font-size:15px}.studio-compare-toggle{min-height:48px;margin:15px 0}.deck-controls select[hidden],#cards select[hidden]{display:none!important}.esoteric-cabinet{padding:25px 0}.cabinet-hero{padding:28px;border:1px solid #b69a5c66;border-radius:70px 12px 12px 12px;background:radial-gradient(ellipse at 20% 40%,#57406b44,transparent),#111722}.cabinet-hero h2{font:clamp(30px,6vw,52px)/1.15 Georgia,serif;color:#ecd6a7;margin:15px 0}.cabinet-hero p,.cabinet-source{font-size:16px;line-height:1.8;color:#d7c9b2}.esoteric-cabinet>input{width:100%;min-height:50px;box-sizing:border-box;font-size:17px;margin:12px 0 22px}.cabinet-workspace{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(0,1.2fr);gap:25px;align-items:start}.cabinet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:750px;overflow:auto;padding:4px}.cabinet-grid button{min-width:0;min-height:115px;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid #9f844855;background:radial-gradient(ellipse,#78624022,transparent),#171a29;border-radius:28px 28px 8px 8px;color:#e4d6bb}.cabinet-grid button strong{font-size:25px;color:#efd59d}.cabinet-grid button small{font-size:12px}.cabinet-grid button span{font-size:12px;overflow-wrap:anywhere}.cabinet-grid button[aria-pressed=true]{border-color:#e8c97d;background:#4b3c51}.cabinet-grid button.cabinet-learned{box-shadow:inset 0 0 20px #c7a54b44;border-color:#c7aa69}.cabinet-record{min-width:0;scroll-margin-top:20px;padding:clamp(20px,4vw,35px);border:1px solid #b2976055;border-radius:18px;background:linear-gradient(145deg,#282033,#111a24);animation:grimoire-page .3s ease-out both}.cabinet-record h3{font:clamp(29px,4vw,42px)/1.2 Georgia,serif;color:#eddbb5;margin:15px 0}.cabinet-record h4{font-size:20px;color:#e8c88b}.cabinet-record p{font-size:17px;line-height:1.9;overflow-wrap:anywhere}.cabinet-artifact{width:min(100%,230px);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;font-size:60px;letter-spacing:.08em;color:#f0d597;margin:25px auto;background:radial-gradient(ellipse,#66513944,#121723 70%);border:3px double #b99b5d;box-shadow:0 0 35px #b1964122,inset 0 0 30px #b1964122}.cabinet-record>a{display:flex;align-items:center;min-height:48px;color:#ead0a0}.cabinet-record>button{display:block;min-height:50px;width:100%;margin:20px 0}.cabinet-record label{display:block;margin:20px 0 8px;font-size:17px}.cabinet-record textarea{width:100%;box-sizing:border-box;font-size:17px;line-height:1.7;min-height:130px}.cabinet-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cabinet-answers button{min-height:55px;font-size:19px}.cabinet-answers .answer-correct{border-color:#c8dba2;background:#304538;color:#fff5dc}.cabinet-path{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #b1985c44;padding-top:18px;margin-top:15px}.cabinet-path button{min-height:48px;flex:1 1 130px;font-size:15px}.cabinet-progress{font-size:16px;color:#ddc893;padding:20px 0}.gematria-chamber{background:radial-gradient(ellipse at 10% 0,#60486c44,transparent),#111722!important}.gematria-chamber>h2{font:clamp(32px,6vw,48px) Georgia,serif}.study-segments button:focus-visible,.esoteric-shortcuts button:focus-visible,.cabinet-grid button:focus-visible{outline:3px solid #f3d28b;outline-offset:3px}@media(max-width:700px){.esoteric-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.esoteric-shortcuts button{font-size:15px;padding:12px}.cabinet-workspace{grid-template-columns:1fr}.cabinet-grid{max-height:290px;grid-template-columns:repeat(4,minmax(0,1fr))}.cabinet-grid button{min-height:105px}.cabinet-grid button strong{font-size:22px}.cabinet-hero{padding:25px 20px}.cabinet-artifact{width:185px;font-size:48px}.study-segments button{flex:1 1 130px}.studio-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.studio-tabs button{margin:0;padding:12px 8px}.cabinet-record{padding:22px 18px}}@media(prefers-reduced-motion:reduce){.cabinet-record{animation:none!important}}.temple-light .cabinet-record{animation:none!important}
.daily-symbol-doors{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.daily-symbol-doors button{min-height:48px;flex:1 1 150px;font-size:16px;white-space:normal}.cabinet-hero>button{min-height:48px;margin-top:12px}

/* A quiet daily threshold; deep study has its own almanac. Whole Signature art stays intact. */
.temple .quest-hub .quest-hero{min-height:420px;border-radius:110px 110px 16px 16px;background:radial-gradient(ellipse at 25% 35%,#bba05c24,transparent 55%),linear-gradient(140deg,#11182c,#100e18);position:relative;overflow:hidden}.quest-hero::before{content:'';position:absolute;inset:18px;border:1px solid #d1b27644;border-radius:inherit;pointer-events:none}.quest-invitation{font:italic 22px/1.5 Georgia,serif!important;color:#e9d6b2}.portal-sky{padding:12px 0;border-block:1px solid #bc9b5444;color:#d1c8b4;font-size:15px!important}.portal-personal{font-size:15px;line-height:1.6}.portal-personal summary{min-height:48px;cursor:pointer;display:list-item;padding:12px 0;box-sizing:border-box}.portal-personal button{display:block;width:100%;min-height:48px}.temple .quest-hub .quest-archetype{font-size:18px!important;line-height:1.6}.temple .quest-hub .quest-pedestal{min-height:390px}.quest-hub .guide-play{margin:14px 0}.quest-hub .guide-play button{min-height:76px}.quest-hub .mystery-world-doors button{min-height:85px}.daily-almanac{max-width:1120px;margin:auto}.daily-almanac>button{min-height:48px;margin-bottom:18px}.daily-almanac .daily-card{display:grid;grid-template-columns:minmax(100px,190px) minmax(0,1fr);gap:12px 22px}.daily-almanac .daily-card>img{grid-row:1/10;width:100%;max-height:310px;object-fit:contain}.daily-almanac .daily-card p,.daily-almanac .daily-card h3{margin:0}.daily-almanac .daily-symbol-doors{grid-column:1/-1}.daily-almanac .guide-toolkit{margin-top:20px}.cabinet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cabinet-grid button{padding:14px 10px;min-height:185px}.cabinet-grid button span{font-size:15px}.cabinet-grid .cabinet-use-preview{font-size:14px;line-height:1.55;color:#d7cbb3}.cabinet-use{padding:18px;border:1px solid #d5b77a66;border-radius:12px;background:#a5843c12}.cabinet-use h4{margin:0;line-height:1.5}.cabinet-use p{font-size:15px;margin-bottom:0}.names-reading{width:min(960px,94vw);max-height:92dvh;box-sizing:border-box;padding:clamp(20px,4vw,38px);color:#eee2c9;background:radial-gradient(ellipse at top,#343047,#0c1422 65%);border:1px solid #b89a5c;border-radius:32px;overflow:auto}.names-reading::backdrop{background:#03050ce8;backdrop-filter:blur(8px)}.names-reading p{font-size:17px;line-height:1.75}.names-reading h2{font:34px/1.2 Georgia,serif}.names-reading label{display:block;margin:20px 0 8px}.names-reading textarea{width:100%;box-sizing:border-box;font-size:17px}.names-reading button{min-height:48px}.names-close{position:sticky;top:0;z-index:2;float:right}.names-reading-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0;perspective:1000px}.names-reading-card{display:flex;align-items:center;flex-direction:column;gap:14px;padding:24px 16px!important;border:3px double #b69a5d!important;border-radius:55px 55px 12px 12px!important;background:radial-gradient(ellipse,#6d537544,#101728)!important;color:#e9dabc;animation:names-reveal .65s both;animation-delay:var(--reveal-delay)}.names-reading-card strong{font-size:48px;color:#ebca86}.names-reading-card b{font-size:17px;line-height:1.6}.names-reading-block{border-top:1px solid #b69a5c55;padding:10px 0}.names-fate-door{margin-bottom:18px}@keyframes names-reveal{from{opacity:0;transform:rotateY(-65deg) translateY(18px)}to{opacity:1;transform:none}}@media(max-width:700px){.temple .quest-hub .quest-hero{grid-template-columns:minmax(100px,.7fr) minmax(0,1fr);padding:30px 12px 20px;gap:12px;border-radius:65px 65px 12px 12px}.temple .quest-hub .quest-pedestal{min-height:260px}.quest-hub .quest-pedestal>img{width:100%;height:auto;max-height:280px}.quest-hub .quest-hero-copy{padding:0}.temple .quest-hub .quest-hero h2{font-size:29px!important}.quest-hero .quest-date-label,.quest-hero .quest-invitation{font-size:14px!important}.quest-hero .quest-archetype,.quest-hero .portal-sky,.quest-hero .portal-personal{grid-column:1/-1}.quest-hub .quest-hero-copy{display:contents}.quest-hero .quest-hero-copy>p:first-child{grid-column:1/-1;margin:0;text-align:center}.quest-hero .quest-date-label{grid-column:1/-1;text-align:center}.quest-hero .quest-invitation{display:none}.quest-hero .quest-stage{align-self:end;margin:0}.quest-hub .quest-pedestal{grid-column:1;grid-row:3/7}.quest-hero .quest-hero-copy>button{grid-column:2;font-size:15px;padding:10px 8px;margin:0!important}.quest-hero .quest-archetype{margin:10px 0!important}.quest-hero .quest-halo{inset:0}.quest-hero .quest-plinth{bottom:0}.cabinet-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:420px}.cabinet-grid button{min-height:175px}.daily-almanac .daily-card{grid-template-columns:110px minmax(0,1fr)}.daily-almanac .daily-card>.daily-source-note{grid-column:1/-1}.names-reading-cards{grid-template-columns:1fr}.names-reading-card{display:grid;grid-template-columns:80px minmax(0,1fr);text-align:left;gap:8px;padding:20px!important;border-radius:22px!important}.names-reading-card strong{grid-column:1;grid-row:1/5;font-size:34px}.names-reading-card small,.names-reading-card span,.names-reading-card b{grid-column:2}.names-reading-card b{font-size:16px}}@media(prefers-reduced-motion:reduce){.names-reading-card{animation:none!important}}.temple-light .names-reading-card{animation:none!important}
@media(max-width:700px){.quest-hero .quest-hero-copy>p:first-child{grid-row:1}.quest-hero .quest-date-label{grid-row:2}.quest-hero .quest-stage{grid-column:2;grid-row:3}.temple .quest-hub .quest-hero h2{grid-column:2;grid-row:4;margin:5px 0!important}.quest-hero .quest-hero-copy>button.gold{grid-column:2;grid-row:5}.quest-hero .quest-hero-copy>button:not(.gold){grid-column:2;grid-row:6}.quest-hero .quest-archetype{grid-row:7}.quest-hero .portal-sky{grid-row:8}.quest-hero .portal-personal{grid-row:9}.quest-hub .quest-art-status{font-size:14px!important;line-height:1.6;padding:16px}.temple .quest-hub .quest-pedestal{min-height:240px}.quest-hub .quest-halo{inset:0 3%}.quest-hub .quest-pedestal:has(img[hidden]){max-height:250px}}

/* Visible entrances into the two saved journeys, using the approved Signature illustrations. */
.journey-world-doors{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.journey-world-door{position:relative;isolation:isolate;overflow:hidden;min-height:180px;display:flex;flex-direction:column;justify-content:end;align-items:start;gap:10px;text-align:left;padding:24px;border:1px solid #c3a26988;border-radius:60px 60px 12px 12px;background:linear-gradient(90deg,#0a1223,#242139);color:#eee2c8;transition:box-shadow .25s,transform .25s}.journey-world-door::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0a1022ed 10%,#10172ba0 65%,#10172b22);z-index:-1}.journey-world-door>img{position:absolute;inset:-10% 0 auto auto;height:140%;width:65%;object-fit:cover;object-position:top;z-index:-2;opacity:.7;transition:transform .6s}.journey-world-door>strong{font:29px/1.2 Georgia,serif;color:#edce93;max-width:75%}.journey-world-door>small{font-size:16px;line-height:1.5;max-width:75%;color:#e2d6bf}.journey-world-door:hover{box-shadow:0 0 30px #bb994b25;border-color:#edca82}.journey-world-door:hover>img{transform:scale(1.04)}.journey-world-door:focus-visible{outline:3px solid #efd195;outline-offset:3px}.names-station-art{grid-row:1/3;position:relative;display:grid;place-items:center;align-self:stretch!important;min-height:110px;width:84px;border:1px solid #bfa06c;border-radius:38px 38px 7px 7px;overflow:hidden;background:radial-gradient(ellipse,#705477,#0b1424)}.names-station-art>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;opacity:.45;border:0;border-radius:0}.names-station-glyph{position:relative;z-index:1;font-size:30px;letter-spacing:.08em;color:#f5dba0;text-shadow:0 2px 8px #000}.names-game-station>strong{font-size:24px}.journey-camera-controls{flex-wrap:wrap;justify-content:center}.first-person-scene:focus{outline:2px solid #d4b77c;outline-offset:3px}
/* The dice and the only roll control travel as one compact, sticky table. */
.fate-game[data-table=dice]>h2{margin:8px 0!important}.fate-game[data-table=dice]>p{margin:8px 0}.fate-game[data-table=dice]>select{margin:6px 0 12px}.fate-dice-stage{position:sticky;top:54px;z-index:5;display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;padding:14px 18px;background:radial-gradient(ellipse at 50% 20%,#3e3049,#0e1829 75%);border:1px solid #c0a26788;border-radius:24px;box-shadow:0 12px 30px #000b;isolation:isolate}.fate-dice-stage::before{content:'';position:absolute;inset:7px;border:1px solid #d7b66c22;border-radius:18px;pointer-events:none;z-index:-1}.fate-dice-stage .fate-status{grid-column:1/-1;margin:0;min-height:28px;font-size:15px!important;line-height:1.5!important;text-align:center}.fate-dice-stage .fate-dice{grid-column:1/-1;border:0;border-radius:0;margin:0;padding:20px 8px 22px;background:transparent;box-shadow:none;gap:22px;--die-size:58px;--die-half:29px}.fate-dice-stage .fate-total{font-size:26px!important;line-height:1.2;margin:0;align-self:center;text-align:left}.fate-dice-stage .fate-roll-controls{margin:0;justify-content:end;align-items:center;min-width:0}.fate-roll-controls .fate-play{width:100%;min-height:48px}.fate-die-cradle{width:var(--die-size);height:var(--die-size);position:relative;perspective:700px}.fate-die-cradle::before{content:'';position:absolute;inset:auto 0 -14px;height:15px;border-radius:50%;background:#0009;filter:blur(5px)}.fate-dice-stage .fate-die{position:relative;display:block;width:var(--die-size);height:var(--die-size);padding:0;gap:0;background:none;border:0;border-radius:0;box-shadow:none;transform-style:preserve-3d;transform:rotateX(var(--land-x)) rotateY(var(--land-y));animation:none}.fate-die-face{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:5px;padding:9px;border:1px solid #f5dfa8;border-radius:9px;background:linear-gradient(135deg,#f9e6b7,#c5a16a);box-shadow:inset 2px 2px 6px #fff7,inset -3px -3px 6px #60412266;box-sizing:border-box;backface-visibility:hidden}.die-front{transform:translateZ(var(--die-half))}.die-back{transform:rotateY(180deg) translateZ(var(--die-half))}.die-right{transform:rotateY(90deg) translateZ(var(--die-half))}.die-left{transform:rotateY(-90deg) translateZ(var(--die-half))}.die-top{transform:rotateX(90deg) translateZ(var(--die-half))}.die-bottom{transform:rotateX(-90deg) translateZ(var(--die-half))}.fate-game[data-phase=rolling] .fate-dice-stage .fate-die{animation:destiny-cube-roll 1.1s cubic-bezier(.17,.65,.3,1) both;animation-delay:calc(var(--die-index)*25ms)}.fate-game[data-phase=revealing] .fate-dice-stage{box-shadow:0 0 45px #d6b87644,0 12px 30px #000b}.dice-reveal-table{position:relative}.dice-reveal-table[data-card-count="1"]{grid-template-columns:minmax(0,1fr);width:min(360px,100%);box-sizing:border-box;margin:20px auto}.dice-reveal-table[data-card-count="1"] .fate-reel-face{height:min(340px,42dvh);min-height:210px}.fate-game[data-phase=ready] .dice-reveal-table .fate-reel-face{animation:destiny-frame-light 1.1s ease-out both}.fate-game[data-phase=ready] .dice-reveal-table img:not(.is-reversed){animation:destiny-oracle-reveal .9s cubic-bezier(.18,.6,.3,1) both}.fate-game[data-phase=revealing] .dice-reveal-table::after{content:'THE VEIL IS OPENING';position:absolute;inset:0;display:grid;place-items:center;color:#ffe3a4;font-size:13px;letter-spacing:.15em;background:radial-gradient(ellipse,#d5b77d24,#111827bb);border-radius:16px;pointer-events:none}.fate-game[data-table=dice] .fate-roll-options{margin-top:16px}.fate-game[data-table=dice] .fate-reel button{min-height:44px}@keyframes destiny-cube-roll{0%{transform:translateY(-26px) rotateX(calc(var(--land-x) + 640deg)) rotateY(calc(var(--land-y) - 460deg)) scale(.75)}55%{transform:translateY(-8px) rotateX(calc(var(--land-x) + 160deg)) rotateY(calc(var(--land-y) - 100deg))}80%{transform:translateY(5px) rotateX(calc(var(--land-x) - 18deg)) rotateY(calc(var(--land-y) + 12deg))}100%{transform:rotateX(var(--land-x)) rotateY(var(--land-y))}}@keyframes destiny-oracle-reveal{from{opacity:0;transform:rotateY(82deg) scale(.82);filter:brightness(1.8)}to{opacity:1;transform:none;filter:none}}@keyframes destiny-frame-light{0%{box-shadow:0 0 45px #e9c87b88,inset 0 0 30px #e9c87b44}100%{box-shadow:0 5px 20px #0007,inset 0 0 20px #0009}}
@media(max-width:700px){.journey-world-doors{gap:10px}.journey-world-door{min-height:155px;padding:20px 14px;border-radius:40px 40px 10px 10px}.journey-world-door>strong{font-size:23px;max-width:100%}.journey-world-door>small{font-size:14px;max-width:100%}.journey-world-door>img{width:100%;opacity:.5}.names-station-art{width:80px}.fate-game[data-table=dice]{padding-top:calc(8px + env(safe-area-inset-top))}.fate-game[data-table=dice]>.mystery-kicker{display:none}.fate-game[data-table=dice]>.mystery-close{min-height:44px}.fate-game[data-table=dice]>h2{font-size:30px!important}.fate-game[data-table=dice]>p{font-size:15px;line-height:1.5}.fate-dice-stage{padding:10px 12px;gap:4px 8px;top:50px}.fate-dice-stage .fate-dice{--die-size:48px;--die-half:24px;gap:18px;padding:17px 4px}.fate-die-face{padding:7px;gap:4px}.fate-dice-stage .fate-total{font-size:23px!important}.fate-dice-stage .fate-status{font-size:14px!important}.fate-dice-stage .fate-play{font-size:15px}.journey-camera-controls{gap:5px}.journey-camera-controls button{padding:8px;font-size:12px}.first-person-scene .journey-character{bottom:9%}.first-person-scene .journey-character img{height:min(350px,43dvh)}}
@media(max-width:360px){.fate-dice-stage .fate-dice{gap:15px;--die-size:43px;--die-half:21.5px}.fate-die-face{gap:3px;padding:6px}.journey-world-door>strong{font-size:21px}.journey-world-door{min-height:145px;padding:18px 12px}.journey-world-door>small{font-size:13px}}
@supports not (transform-style:preserve-3d){.fate-dice-stage .fate-die{transform:none!important}.fate-die-face{display:none;transform:none}.fate-die-face[data-landed=true]{display:grid}}
@media(prefers-reduced-motion:reduce){.fate-dice-stage .fate-die,.dice-reveal-table .fate-reel-face,.dice-reveal-table img,.journey-world-door,.journey-world-door>img{animation:none!important;transition:none!important}}.mystery-light .fate-dice-stage .fate-die,.mystery-light .dice-reveal-table .fate-reel-face,.mystery-light .dice-reveal-table img{animation:none!important}.temple-light .journey-world-door,.temple-light .journey-world-door>img{transition:none!important}
/* Keep the whole approved card inside the reveal aperture, including its title panel. */
.dice-reveal-table .fate-reel-face{grid-template-rows:minmax(0,1fr);box-sizing:border-box}.dice-reveal-table .fate-reel-face img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}
