@font-face{font-family:display;src:url(../media/cinzel_latin_600_normal-s.p.3_n9jw06eilmh.woff2)format("woff2");font-display:swap;font-weight:600}@font-face{font-family:display;src:url(../media/cinzel_latin_700_normal-s.p.2ll06qpyyq8z2.woff2)format("woff2");font-display:swap;font-weight:700}@font-face{font-family:display;src:url(../media/cinzel_latin_800_normal-s.p.2u_u0lnq2prpe.woff2)format("woff2");font-display:swap;font-weight:800}@font-face{font-family:display Fallback;src:local(Arial);ascent-override:77.0%;descent-override:29.35%;line-gap-override:0.0%;size-adjust:126.75%}.kc-7Rq_className{font-family:display,display Fallback,Georgia,serif}.kc-7Rq_variable{--font-cinzel:"display", "display Fallback", Georgia, serif}
@font-face{font-family:body;src:url(../media/andika_latin_400_normal-s.p.3jyoxkpacxm_z.woff2)format("woff2");font-display:swap;font-weight:400}@font-face{font-family:body;src:url(../media/andika_latin_700_normal-s.p.3dn5pss8jm1mz.woff2)format("woff2");font-display:swap;font-weight:700}@font-face{font-family:body Fallback;src:local(Arial);ascent-override:117.14%;descent-override:37.49%;line-gap-override:0.0%;size-adjust:104.21%}._6CvuHG_className{font-family:body,body Fallback,Trebuchet MS,sans-serif}._6CvuHG_variable{--font-andika:"body", "body Fallback", Trebuchet MS, sans-serif}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.isolate{isolation:isolate}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--void:#071219;--void-2:#0c1f26;--petrol:#0f4a4c;--petrol-deep:#0a3134;--cyan:#63f0e2;--gold:#e8bd6a;--gold-hi:#ffe3a3;--brass:#b07a34;--brass-dark:#3a2208;--walnut:#3b2514;--parchment:#f1dfb6;--ink:#3a2616;--ink-soft:#6b4c2c;--cream:#fff1d2;--muted:#c9c1a6;--line:#d9b26a40;--font-display:var(--font-cinzel);--font-body:var(--font-andika);--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .27 0 0 0 0 .1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");--enamel:radial-gradient(130% 160% at 30% -10%, #2f9690 0%, #15605f 36%, #0b3b3d 72%, #072729 100%);--rim:linear-gradient(180deg, #fff2bf 0%, #e8b85f 20%, #a46d2a 52%, #ecc472 76%, #74471a 100%);--paper:var(--grain), radial-gradient(120% 90% at 30% 20%, #fbecc6 0%, transparent 60%), radial-gradient(140% 120% at 80% 90%, #c99a5c66 0%, transparent 60%), linear-gradient(160deg, #f3dfb2, #e2c38b);--wood:var(--grain), repeating-linear-gradient(93deg, #ffffff08 0 2px, transparent 2px 11px, #00000012 11px 13px, transparent 13px 26px), linear-gradient(180deg, #6a4325, #3b2514 70%, #2a190d);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{min-height:100dvh;color:var(--cream);font-family:var(--font-body);background:radial-gradient(70% 55% at 22% 8%, #6b4a2433, transparent 70%), radial-gradient(60% 60% at 82% 70%, #0f5a5a55, transparent 70%), radial-gradient(120% 90% at 50% 40%, var(--void-2), var(--void));background-attachment:fixed;margin:0;font-size:16px;line-height:1.5}button,a,input,select,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;font:inherit;color:inherit;background:0 0;border:0;padding:0}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.45}:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3,legend{font-family:var(--font-display);letter-spacing:.02em;font-weight:700}img{max-width:100%}.art{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;height:auto;display:block}input,select{font:inherit;color:var(--ink);background:linear-gradient(#fff8e6,#f6e6c2) padding-box padding-box,linear-gradient(#a7763a,#e2b867) border-box;border:2px solid #0000;border-radius:10px;width:100%;min-height:46px;padding:10px 12px;box-shadow:inset 0 2px 4px #6b4c2c33}input[type=checkbox]{width:22px;min-height:22px;accent-color:var(--petrol)}.eyebrow{font-family:var(--font-display);letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-size:11px}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.enamel{background-image:var(--grain), var(--enamel), var(--rim);min-height:48px;box-shadow:0 0 0 2px var(--brass-dark), inset 0 2px 0 #8ff0e455, inset 0 -8px 14px #0007, 0 8px 18px #0009;color:var(--gold-hi);font-family:var(--font-display);letter-spacing:.03em;white-space:nowrap;text-shadow:0 2px #052224;background-origin:padding-box,padding-box,border-box;background-clip:padding-box,padding-box,border-box;border:4px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:.55em;padding:.65em 2.1em;font-size:1rem;font-weight:700;transition:filter .15s,transform .15s;display:inline-flex;position:relative}.enamel:before,.enamel:after{content:"";border:2px solid var(--gold);width:.85em;height:.85em;box-shadow:0 0 0 1.5px var(--brass-dark);background:radial-gradient(circle at 35% 30%,#d2fff7,#2bc7b8 45%,#0b5b57);position:absolute;top:50%;transform:translateY(-50%)rotate(45deg)}.enamel:before{left:-.6em}.enamel:after{right:-.6em}.enamel:hover{filter:brightness(1.12)}.enamel:active{transform:translateY(2px)}.enamel.gold{background-image:var(--grain), linear-gradient(180deg, #ffe08e, #e8ab3d 55%, #b37018), var(--rim);color:#3a2208;text-shadow:0 1px #fff4}.enamel.small{min-height:44px;padding:.45em 1.4em;font-size:.9rem}.enamel.big{padding:.7em 2.8em;font-size:1.35rem}.enamel svg,.enamel .art{width:1.3em;height:1.3em}.enamel:disabled{filter:grayscale(.6)}.round-button{background:var(--enamel) padding-box, var(--rim) border-box;width:56px;height:56px;box-shadow:0 0 0 2px var(--brass-dark), inset 0 -6px 10px #0007, 0 6px 14px #0009;border:4px solid #0000;border-radius:50%;place-items:center;transition:transform .15s,filter .15s;display:grid;position:relative}.round-button:hover{filter:brightness(1.12);transform:translateY(-1px)}.round-button .icon-face .art{width:74%;margin:auto}.round-button.bare{box-shadow:none;background:0 0;border:0}.round-button.bare .icon-face .art{filter:drop-shadow(0 5px 6px #000a);width:100%}.icon-face{place-items:center;width:100%;height:100%;display:grid}.plaque{background-image:var(--grain), var(--enamel), var(--rim);box-shadow:0 0 0 2px var(--brass-dark), 0 8px 18px #000a;color:var(--cream);text-shadow:0 2px 2px #000a;background-origin:padding-box,padding-box,border-box;background-clip:padding-box,padding-box,border-box;border:3px solid #0000;border-radius:12px;padding:.55em 1.6em .6em;position:relative}.plaque:before{content:"";border:2px solid var(--brass-dark);background:radial-gradient(circle at 35% 30%,#fff3c2,#e8b450 50%,#8f5f1c);border-radius:50%;width:24px;height:24px;position:absolute;top:-13px;left:50%;transform:translate(-50%);box-shadow:-22px 6px 0 -7px #e8b450,22px 6px 0 -7px #e8b450}.parchment{background:var(--paper);color:var(--ink);border-radius:14px;box-shadow:inset 0 0 0 2px #b88a4a,inset 0 0 48px #9a6a2a55,0 12px 30px #0009}.ornate,.modal{background-image:var(--paper), var(--rim);background-origin:padding-box,padding-box,padding-box,padding-box,border-box;background-clip:padding-box,padding-box,padding-box,padding-box,border-box;border:6px solid #0000}.ornate{box-shadow:0 0 0 3px var(--brass-dark), inset 0 0 0 2px #7a4c1b, inset 0 0 60px #9a6a2a55, 0 30px 80px #000c;color:var(--ink);border-radius:20px}.wood-panel{background:var(--wood);box-shadow:inset 0 0 0 2px #c08a45, inset 0 0 24px #000a, 0 0 0 2px var(--brass-dark), 0 10px 24px #000a;background-origin:padding-box;border:3px solid #0000;border-radius:14px}.portrait{width:var(--size,72px);aspect-ratio:1;background:radial-gradient(circle at 50% 30%, #f8e6b9, #d6ad70 62%, #9b6a32) padding-box, var(--rim) border-box;box-shadow:0 0 0 2px var(--brass-dark), 0 6px 14px #000a;border:4px solid #0000;border-radius:50%;flex-shrink:0;display:block;position:relative;overflow:hidden}.portrait .art{object-fit:cover;object-position:50% 0;width:100%;height:100%;position:absolute;top:6%;left:0}.portrait.companion{background:radial-gradient(circle at 50% 30%, #b8efe4, #2f8f88 62%, #0d4b4b) padding-box, var(--rim) border-box}.app-shell{flex-direction:column;min-height:100dvh;display:flex}.app-shell.immersive{overflow-x:hidden}.save-alert{z-index:50;flex-wrap:wrap;align-items:center;gap:10px;width:min(720px,94vw);padding:12px 16px;font-size:14px;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%)}.save-alert button{background:#6b4c2c22;border:1px solid #6b4c2c66;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;display:inline-flex}.loading{font-family:var(--font-display);color:var(--gold);letter-spacing:.1em;flex:1;place-items:center;display:grid}.concept-note{letter-spacing:.06em;color:#fff1d2cc;text-shadow:0 1px 3px #000;font-size:11px}.modal{width:min(760px,94vw);max-height:94dvh;box-shadow:0 0 0 3px var(--brass-dark), inset 0 0 60px #9a6a2a55, 0 40px 100px #000;color:var(--ink);border-radius:22px;margin:auto;padding:0;overflow:auto}.modal::backdrop{-webkit-backdrop-filter:blur(4px)saturate(.8);backdrop-filter:blur(4px)saturate(.8);background:radial-gradient(circle at 50% 40%,#04121666,#020a0ce6)}.modal-wide{width:min(1240px,96vw)}.modal-header{justify-content:center;padding:26px 76px 6px;display:flex;position:relative}.modal-header .plaque{text-align:center}.modal-header h2{font-size:clamp(1.15rem,2.2vw,1.6rem)}.modal-close{position:absolute;top:14px;right:14px}.modal-close.round-button{width:52px;height:52px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}html[data-reduced=true] *,html[data-reduced=true] :before,html[data-reduced=true] :after{transition:none!important;animation:none!important}.glasses{pointer-events:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 1px 1px #3a220f66);height:auto;position:absolute}.explorer-figure{display:block}.explorer-figure>.art{width:auto;height:100%}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
.play-main{flex:1;place-items:center;min-height:100dvh;display:grid}.play-area{width:min(100vw,177.778dvh);display:grid;position:relative;container-type:inline-size}.play-area>.stage{aspect-ratio:16/9;grid-area:1/1;position:relative;overflow:hidden}.play-area>.hud{pointer-events:none;grid-area:1/1;position:relative}.hud>*{pointer-events:auto}.rotate-hint{display:none}.scene{background:radial-gradient(60% 60% at 50% 45%,#1d2f3a,#0000 75%),radial-gradient(120% 100%,#101a24,#070d12);position:absolute;inset:0}.scene-bg{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.scene-tint{pointer-events:none;background:radial-gradient(70% 70% at 30% 20%,#ffd58a1f,#0000 70%);position:absolute;inset:0}.coded-room .scene-tint{background:radial-gradient(70% 70% at 30% 20%, #ffd58a22, transparent 70%), linear-gradient(var(--room-accent), var(--room-accent));mix-blend-mode:soft-light;opacity:.55}.scene-note{white-space:nowrap;color:#fff1d2aa;text-shadow:0 1px 3px #000;letter-spacing:.05em;pointer-events:none;font-size:max(9px,.7cqw);position:absolute;bottom:.6cqw;left:50%;transform:translate(-50%)}.sprite{object-fit:contain;pointer-events:none;filter:drop-shadow(0 .4cqw .35cqw #0009);transition:filter .2s;position:absolute}.sprite.sealed{filter:brightness(.62)saturate(.6)drop-shadow(0 .4cqw .35cqw #0009)}.sprite.overlay,.hotspot:is(:hover,:focus-visible)+.sprite.overlay{filter:none;animation:.9s ease-out both overlay-in}@keyframes overlay-in{0%{opacity:0}}.hotspot{color:var(--gold);border-radius:1.2cqw;place-items:center;display:grid;position:absolute}.hotspot.render-baked:after,.hotspot.render-sprite:after{content:"";border-radius:inherit;opacity:0;transition:opacity .2s;position:absolute;inset:-3%;box-shadow:0 0 0 2px #ffe3a3d0,0 0 1.6cqw #ffcf7a99,inset 0 0 2cqw #ffd27a55}.hotspot:is(:hover,:focus-visible):after{opacity:1}.scene:not(.holding) .hotspot.kind-use.render-baked{pointer-events:none}.scene.holding .hotspot.kind-use:after{opacity:.8;animation:1.6s ease-in-out infinite pulse}.hotspot:focus-visible{outline-offset:2px}.hotspot:is(:hover,:focus-visible)+.sprite{filter:brightness(1.15)drop-shadow(0 0 .8cqw #ffd88acc)}.hotspot-label{z-index:3;white-space:nowrap;background:var(--enamel) padding-box, var(--rim) border-box;color:var(--cream);pointer-events:none;opacity:0;border:2px solid #0000;border-radius:999px;padding:.25cqw .9cqw;font-size:max(11px,.9cqw);font-weight:700;transition:opacity .15s;position:absolute;bottom:-.4cqw;left:50%;transform:translate(-50%,100%);box-shadow:0 .3cqw .8cqw #000a}.hotspot.exit .hotspot-label,.hotspot:is(:hover,:focus-visible) .hotspot-label{opacity:1}.hotspot.exit-left .hotspot-label{left:0;transform:translateY(100%)}.hotspot.exit-right .hotspot-label{left:auto;right:0;transform:translateY(100%)}.hotspot.exit.locked{filter:grayscale(.7)brightness(.8)}.exit-badge{filter:drop-shadow(0 .4cqw .5cqw #000c);place-items:center;width:min(100%,4.4cqw);transition:transform .2s;display:grid}.exit-right .exit-badge .art{transform:scaleX(-1)}.render-baked .exit-badge{position:absolute;bottom:18%}.hotspot.exit:is(:hover,:focus-visible) .exit-badge{transform:translateY(-.3cqw)scale(1.06)}.prop-art{filter:drop-shadow(.4cqw .6cqw .4cqw #0008);place-items:center;width:100%;height:100%;transition:filter .2s;display:grid}.hotspot.render-coded:is(:hover,:focus-visible) .prop-art{filter:brightness(1.15)drop-shadow(0 0 .9cqw #ffd88acc)}.prop-crank .prop-art svg{color:#f6cd7a;filter:drop-shadow(0 0 .15cqw #4a2808)drop-shadow(0 0 .5cqw #ffdf9a88);width:82%;height:82%;transform:rotate(-18deg)}.stone-table{background:var(--grain), linear-gradient(170deg, #e4b878, #b5814a 55%, #7d532a);border-radius:.6cqw;justify-content:center;align-items:center;gap:6%;width:100%;height:80%;padding:8%;display:flex;transform:perspective(40cqw)rotateX(28deg);box-shadow:inset 0 .25cqw #ffe5b0aa,0 1.2cqw #5c3c1e,0 1.6cqw 1.2cqw #0008}.stone-table svg{aspect-ratio:1;color:#fff0c8;background:linear-gradient(160deg,#3b8f88,#145150);border-radius:.4cqw;width:28%;padding:4%;box-shadow:inset 0 .15cqw #9ff0e655,0 .3cqw #2c1a0c}.stone-table svg:first-child{background:linear-gradient(160deg,#d0712e,#8b3c12)}.stone-table svg:nth-child(3){background:linear-gradient(160deg,#4d8a3a,#23501b)}.mural-panel{background:var(--grain), linear-gradient(160deg, #e6c08a, #b98a52);color:#5b3a1b;border-radius:.4cqw;justify-content:space-evenly;align-items:center;width:100%;height:100%;display:flex;transform:skewY(19.6deg);box-shadow:inset 0 0 0 .35cqw #8a5c2c,inset 0 0 1.4cqw #6b4423aa}.mural-panel svg{width:26%}.machine-face{background:var(--grain), linear-gradient(180deg, #6a4325, #3b2514);border-radius:.8cqw;place-items:center;width:100%;height:100%;display:grid;position:relative;box-shadow:inset 0 0 0 .35cqw #c08a45,inset 0 0 2cqw #000a,0 1cqw 1.4cqw #0009}.machine-wheel{filter:drop-shadow(0 .4cqw .4cqw #000a);width:76%}.locked .machine-wheel{filter:grayscale(.4)brightness(.8)drop-shadow(0 .4cqw .4cqw #000a)}.machine-gauge{opacity:.35;background:linear-gradient(90deg,#1c6b66,#5ff0e0);border-radius:999px;height:8%;position:absolute;inset:auto 32% 6%;box-shadow:0 0 .8cqw #5ff0e0aa}.socket-ring{aspect-ratio:1;background:radial-gradient(circle at 40% 35%,#3a2a1a,#120c08);border:.4cqw solid #d8a85a;border-radius:50%;place-items:center;width:90%;display:grid;transform:scaleY(.55);box-shadow:0 0 0 .2cqw #4a2c10,inset 0 0 1cqw #000}.socket-ring svg{color:#f3c46d;width:70%;transform:scaleY(1.8)rotate(-20deg)}.socket-ring .socket-crank{width:80%;transform:scaleY(1.8)rotate(-12deg)}.installed .socket-ring{box-shadow:0 0 0 .2cqw #4a2c10,0 0 1.4cqw #5ff0e099}.sun-door{aspect-ratio:1;background:repeating-conic-gradient(#c79748 0 28deg, #7f572b 29deg 30deg);border:.5cqw solid #e2b563;border-radius:50%;place-items:center;width:95%;display:grid;position:relative}.sun-door>span{border:.4cqw double #f0ca7d;border-radius:50%;position:absolute;inset:12%}.sun-door>span:nth-child(2){inset:26%}.sun-door>span:nth-child(3){background:radial-gradient(circle at 35% 30%,#307d71,#102b2c);inset:40%}.sun-door svg{width:18%}.fx{aspect-ratio:1;pointer-events:none;mix-blend-mode:screen;border-radius:50%;position:absolute;transform:translate(-50%,-50%)}.fx-torch{background:radial-gradient(circle,#ffd27acc 0%,#ff9f3a55 30%,#0000 68%);animation:2.6s ease-in-out infinite alternate flicker}.fx-torch:nth-of-type(2n){animation-duration:3.3s;animation-delay:-1.1s}.fx-rift-glow{background:radial-gradient(circle,#63f0e2aa 0%,#0000 65%);animation:3.6s ease-in-out infinite pulse}.fx-door-light{background:radial-gradient(circle, #fff3c4 0%, #ffd27acc 22%, transparent 60%), repeating-conic-gradient(#ffe7a033 0 6deg, transparent 6deg 18deg);animation:2.4s ease-out both dawn}.fx-dust{aspect-ratio:auto;opacity:.55;background-image:radial-gradient(circle,#ffe3a3 0 1px,#0000 1.6px),radial-gradient(circle,#ffe3a3aa 0 1.2px,#0000 2px);background-position:0 0,4cqw 5cqw;background-size:9cqw 11cqw,13cqw 9cqw;border-radius:0;animation:26s linear infinite drift;inset:0;transform:none}@keyframes flicker{0%{opacity:.75;scale:.96}45%{opacity:1;scale:1.04}70%{opacity:.85;scale:.99}to{opacity:1;scale:1.02}}@keyframes pulse{50%{opacity:.45;scale:1.15}}@keyframes dawn{0%{opacity:0;scale:.6}}@keyframes drift{to{background-position:0 -22cqw,4cqw -13cqw}}@keyframes bob{50%{translate:0 -.25cqw}}.hud-title{align-items:center;gap:.9cqw;max-width:44cqw;display:flex;position:absolute;top:1.8cqw;left:1.6cqw}.hud-title .portrait{--size:6.2cqw}.hud-title h1{color:var(--gold-hi);font-size:max(15px,1.75cqw);line-height:1.15}.hud-title p{color:#f3e6c8;font-size:max(11px,.95cqw)}.hud-tools{align-items:flex-start;gap:.8cqw;display:flex;position:absolute;top:1.6cqw;right:1.6cqw}.hud-tools .round-button{width:max(44px,4.8cqw);height:max(44px,4.8cqw)}.object-list{position:relative}.object-list summary{cursor:pointer;list-style:none}.object-list summary::-webkit-details-marker{display:none}.object-list>div{z-index:5;flex-direction:column;gap:4px;min-width:220px;padding:10px;display:flex;position:absolute;top:calc(100% + 10px);right:0}.object-list>div button{text-align:left;border-radius:8px;padding:10px 12px;font-weight:700}.object-list>div button:hover{background:#6b4c2c22}.dialogue{align-items:flex-end;gap:.6cqw;max-width:47cqw;display:flex;position:absolute;bottom:1.6cqw;left:1.6cqw}.dialogue .portrait{--size:8.5cqw;animation:3.2s ease-in-out infinite bob}.speech{border-radius:1.2cqw;margin-bottom:.8cqw;padding:.9cqw 1.4cqw 1cqw;position:relative}.speech:before{content:"";background:#ecd3a0;width:1.6cqw;height:1.6cqw;position:absolute;bottom:1.4cqw;left:-.9cqw;transform:rotate(45deg);box-shadow:-2px 2px #b88a4a}.speech small{font-family:var(--font-display);letter-spacing:.12em;text-transform:uppercase;color:#0f5a58;font-size:max(10px,.82cqw);font-weight:700;display:block}.speech p{color:var(--ink);font-size:max(14px,1.3cqw);font-weight:700;line-height:1.4;position:relative}.inventory{align-items:center;gap:.8cqw;max-width:34cqw;min-height:7cqw;padding:.6cqw 1cqw;display:flex;position:absolute;bottom:1.6cqw;right:1.6cqw}.inventory h2{margin:0}.bag-icon{filter:drop-shadow(0 .3cqw .3cqw #000a);width:max(40px,4.6cqw)}.inventory p{color:#f4dcb0;max-width:16cqw;font-size:max(12px,.95cqw)}.inventory-items{gap:.6cqw;display:flex}.inventory-items button{aspect-ratio:1;place-items:center;width:max(52px,5.6cqw);transition:transform .15s;display:grid;position:relative}.inventory-items button:hover{transform:translateY(-2px)}.inventory-items button[aria-pressed=true]{transform:translateY(-4px)scale(1.05)}.slot-frame{width:100%;height:100%;position:absolute;inset:0}.slot-item{filter:drop-shadow(0 .2cqw .3cqw #000a);width:58%;position:relative}.completion{text-align:center;z-index:4;flex-direction:column;align-items:center;gap:.5cqw;width:min(340px,27cqw);padding:1.4cqw 1.6cqw;animation:.8s ease-out both dawn;display:flex;position:absolute;top:46%;right:2cqw;transform:translateY(-50%)}.completion h2{color:#7a4c1b;font-size:max(18px,1.6cqw)}.completion p{font-size:max(13px,.95cqw)}.completion-close{color:#ffe9b0;cursor:pointer;background:#0f5a58;border:2px solid #b8893a;border-radius:50%;width:max(32px,2.4cqw);height:max(32px,2.4cqw);font-size:max(14px,1.1cqw);line-height:1;position:absolute;top:.6cqw;right:.6cqw}.completion-close:hover,.completion-close:focus-visible{background:#14706d}.completion-chip{z-index:4;position:absolute;top:46%;right:2cqw}.completion-team{align-items:center;gap:.6cqw;display:flex}.completion-team .portrait{--size:max(48px, 4.6cqw)}.completion-badge{filter:drop-shadow(0 0 1.2cqw #ffd27a);width:max(54px,5.4cqw)}.badge-name{font-family:var(--font-display);color:#0f5a58;font-weight:700}.completion-actions{flex-wrap:wrap;justify-content:center;gap:1.4cqw;margin-top:.6cqw;display:flex}.puzzle-body{padding:6px 22px 0}.puzzle-main{min-height:340px;color:var(--cream);border:34px solid #0000;border-image:url(/assets/puzzles/table.webp) 17% 14% fill/34px 30px;padding:4px 12px 22px}.puzzle-prompt{text-align:center;max-width:640px;margin:0 auto 18px;font-size:clamp(1.05rem,1.6vw,1.3rem);font-weight:700;line-height:1.45}.clue-card{background:#fff6dfcc;border-radius:10px;padding:12px 14px;font-size:15px;line-height:1.45;box-shadow:inset 0 0 0 2px #c79b5d,0 4px 10px #6b4c2c33}.clue-card small{font-family:var(--font-display);color:#0f5a58;margin-bottom:4px;font-weight:700;display:block}.clue-glyphs{color:#7a4c1b;justify-content:center;gap:8px;display:flex}.clue-glyphs svg{width:34px;height:34px}.clue-tablet{width:min(100%,190px);margin-inline:auto;display:block;position:relative}.clue-tablet .art{filter:drop-shadow(0 4px 5px #0006);width:100%}.clue-tablet-glyphs{color:#fff0c8;justify-content:space-around;width:62%;display:flex;position:absolute;top:60%;left:51.5%;transform:translate(-50%,-50%)rotate(-11deg)}.clue-tablet-glyphs svg{aspect-ratio:1;filter:drop-shadow(0 1px 1px #000a);width:26%;height:auto}.journal-clue p{text-align:center;font-family:var(--font-display);font-weight:700}.text-button{color:#0f5a58;justify-content:center;align-items:center;gap:8px;min-height:44px;font-weight:700;display:inline-flex}.text-button:hover{color:#7a4c1b}.cheer{color:#3a2208;background:linear-gradient(135deg,#fdf0cf,#f2d9a0);border-radius:20px;align-items:center;gap:18px;max-width:640px;margin:14px auto 0;padding:14px 22px 14px 16px;animation:.45s cubic-bezier(.2,1.5,.4,1) both cheer-in;display:flex;position:relative;box-shadow:inset 0 0 0 3px #c79b5d,0 6px 16px #0008}.cheer-hero{flex-shrink:0;position:relative}.cheer-hero .portrait{--size:96px}.cheer-speech{text-align:left;flex-direction:column;gap:2px;min-width:0;display:flex}.cheer-title{font-family:var(--font-display);font-size:28px;line-height:1.1}.cheer p{font-size:17px;font-weight:700;line-height:1.35}.cheer.correct,.cheer.solved{background:linear-gradient(135deg,#fff6cf,#ffe08a 55%,#ffd061);animation:.45s cubic-bezier(.2,1.5,.4,1) both cheer-in,1.4s ease-in-out .45s 3 cheer-glow;box-shadow:inset 0 0 0 3px #e0a830,0 0 0 3px #63f0e2,0 0 34px #ffd066aa,0 6px 16px #0008}.cheer.correct .cheer-title,.cheer.solved .cheer-title{color:#0f5a58;text-shadow:0 2px #fff8}.cheer.solved .cheer-title{font-size:34px}.cheer.correct .portrait,.cheer.solved .portrait{animation:.6s ease-out .25s 3 cheer-hop}.cheer.retry{background:linear-gradient(135deg,#fff0d2,#f6d9a0);animation:.45s cubic-bezier(.2,1.5,.4,1) both cheer-in,.6s ease-out .4s cheer-nudge;box-shadow:inset 0 0 0 3px #d9a04c,0 6px 16px #0008}.spark{pointer-events:none;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);opacity:0;width:24px;height:24px;animation:spark-burst 1.3s ease-out var(--delay) 2 both;z-index:2;background:#ffd25a;margin:-12px;position:absolute;top:50%;left:50%}.spark:nth-child(3n+2){background:#63f0e2}.spark:nth-child(3n){background:#fff;width:16px;height:16px;margin:-8px}@keyframes cheer-in{0%{opacity:0;transform:translateY(14px)scale(.7)}to{opacity:1;transform:none}}@keyframes cheer-glow{50%{box-shadow:inset 0 0 0 3px #e0a830,0 0 0 3px #63f0e2,0 0 52px #ffd066,0 6px 16px #0008}}@keyframes cheer-hop{0%,to{transform:translateY(0)scale(1)}40%{transform:translateY(-16px)scale(1.12)rotate(-4deg)}70%{transform:translateY(0)scale(.96)rotate(3deg)}}@keyframes cheer-nudge{20%{transform:translate(-6px)}50%{transform:translate(5px)}80%{transform:translate(-2px)}}@keyframes spark-burst{0%{opacity:1;transform:translate(0)scale(.2)rotate(0)}70%{opacity:1}to{opacity:0;transform:translate(var(--x), var(--y)) scale(1.1) rotate(180deg)}}@media (max-height:860px){.cheer{margin-top:8px;padding:8px 18px 8px 10px}.cheer-hero .portrait{--size:72px}.cheer-title{font-size:24px}.cheer.solved .cheer-title{font-size:28px}.cheer p{font-size:16px}}@media (max-width:900px){.cheer{gap:12px;padding:10px 14px 10px 10px}.cheer-hero .portrait{--size:72px}.cheer-title{font-size:22px}.cheer.solved .cheer-title{font-size:26px}.cheer p{font-size:15px}}.puzzle-footer{flex-wrap:wrap;justify-content:center;gap:14px;padding:12px 22px 4px;display:flex}.prototype-note{text-align:center;color:var(--ink-soft);padding:0 20px 14px;font-size:11px}.tile-slots{justify-content:center;gap:18px;margin:14px 0 10px;display:flex}.tile-slots button{color:#3a2208;filter:drop-shadow(0 6px 6px #0008);background:url(/assets/puzzles/socket.webp) 50%/contain no-repeat;flex-direction:column;justify-content:center;align-items:center;gap:0;width:128px;height:116px;display:flex;position:relative}.tile-slots button.filled{background-image:url(/assets/puzzles/tile.webp)}.tile-slots small{font-family:var(--font-display);color:#ffe3a3;text-shadow:0 1px 2px #000;font-weight:800;position:absolute;top:6px;left:14px}.tile-slots svg{width:46px;height:46px;margin-top:6px}.tile-slots span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.empty-slot{display:none}.tile-puzzle>p{text-align:center;color:#f3e6c8;font-size:14px}.tile-options{justify-content:center;gap:12px;margin-top:10px;display:flex}.tile-options button{color:#f3e6c8;filter:drop-shadow(0 5px 5px #0009);background:url(/assets/puzzles/tile.webp) top/100% no-repeat;flex-direction:column;align-items:center;gap:0;width:92px;padding:18px 4px 0;font-weight:700;transition:transform .15s,filter .15s;display:flex}.tile-options button[aria-pressed=true]{filter:drop-shadow(0 0 3px #63f0e2)drop-shadow(0 0 14px #63f0e2aa);transform:translateY(-5px)}.tile-options svg{color:#3a2208;width:40px;height:40px;margin-bottom:20px}.counter-trays{flex-wrap:wrap;justify-content:center;gap:14px;max-width:680px;margin:12px auto 18px;display:flex}.counter-tray{filter:drop-shadow(0 6px 8px #0009);background:url(/assets/puzzles/tray.webp) 50%/100% 100% no-repeat;grid-template-columns:repeat(5,34px);gap:6px;padding:22px 30px;display:grid}.counter{filter:grayscale(.85)brightness(1.1)drop-shadow(2px 3px 3px #0008);background:url(/assets/puzzles/counter.webp) 50%/contain no-repeat;width:34px;height:31px;transition:filter .2s}.counter.counted{filter:drop-shadow(0 0 8px #63f0e2)drop-shadow(0 0 3px #63f0e2)}.total-control{justify-content:center;align-items:center;gap:22px;display:flex}.total-control .round-button{color:var(--gold-hi);font-size:28px;font-weight:800}.total-control label{font-family:var(--font-display);color:var(--gold-hi);flex-direction:column;align-items:center;gap:6px;font-weight:700;display:flex}.total-control input{text-align:center;width:110px;font-family:var(--font-display);padding:2px;font-size:38px;font-weight:800}.ring-puzzle{justify-content:center;align-items:center;gap:36px;margin:10px 0;display:flex}.ring-visual{aspect-ratio:1;filter:drop-shadow(0 14px 16px #000b);flex-shrink:0;width:min(300px,60vw);position:relative;container-type:inline-size}.ring{rotate:var(--turn);border-radius:50%;transition:rotate .55s cubic-bezier(.3,1.4,.5,1);position:absolute;inset:0}.ring-0{--from:70.5%;--to:100.5%;--r:44;--g:10.4}.ring-1{--from:38.5%;--to:68.5%;--r:27.2;--g:9.6}.ring-2{--from:0%;--to:38%;--r:13.6;--g:8.8}.ring-stone{width:100%;height:100%;-webkit-mask-image:radial-gradient(circle closest-side, transparent var(--from), #000 calc(var(--from) + 0.6%), #000 var(--to), transparent calc(var(--to) + 0.6%));mask-image:radial-gradient(circle closest-side, transparent var(--from), #000 calc(var(--from) + 0.6%), #000 var(--to), transparent calc(var(--to) + 0.6%))}.ring-glyph{width:calc(var(--g) * 1cqw);aspect-ratio:1;color:#fff0c8;transform:translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -1cqw));background:radial-gradient(circle at 40% 30%,#2f8a84,#0b3a3c);border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;left:50%;box-shadow:0 0 0 2px #e8bd6a,0 3px 6px #000a}.ring-glyph svg{width:72%;height:72%}.ring-glyph.active{box-shadow:0 0 0 2px #ffe3a3,0 0 14px #63f0e2}.ring-core{border-radius:50%;place-items:center;display:grid;position:absolute;inset:42.5%}.ring-core.lit{box-shadow:0 0 5cqw #63f0e2aa}.ring-core .art{width:135%;max-width:none}.ring-pointer{z-index:2;clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 2px 2px #000);background:linear-gradient(#fff2bf,#c58b36);width:26px;height:30px;position:absolute;top:-18px;left:50%;transform:translate(-50%)}.ring-controls{flex-direction:column;gap:14px;display:flex}.ring-controls>div{text-align:center;grid-template-columns:52px 92px 52px;align-items:center;gap:6px;display:grid}.ring-controls span{font-family:var(--font-display);color:var(--gold);grid-column:1/-1;font-size:13px;font-weight:700}.ring-controls .round-button{width:52px;height:52px;color:var(--gold-hi);font-size:30px;line-height:1}.ring-controls strong{font-size:15px}.room-map{aspect-ratio:100/70;background:var(--grain), radial-gradient(70% 60% at 50% 40%, #f1d7a2, #d7ae72 70%, #b88550);border-radius:16px;margin:10px 26px 26px;position:relative;box-shadow:inset 0 0 0 3px #a8722c,inset 0 0 50px #7a4c1b88}.room-map-paths{width:100%;height:100%;position:absolute;inset:0}.room-map-paths .path{stroke:#7a4c1b66;stroke-width:.7px;stroke-dasharray:1.2 1.6;stroke-linecap:round}.room-map-paths .path.known{stroke:#e8a832;stroke-dasharray:none;filter:drop-shadow(0 0 .6px #fff2bf)}.map-room{flex-direction:column;align-items:center;width:28%;transition:transform .2s;display:flex;position:absolute}.map-room:not(:disabled):hover{transform:translateY(-3px)}.map-room .art{filter:drop-shadow(0 8px 10px #5a3a1b88);width:100%}.map-room.unknown .art{filter:grayscale()brightness(.65)blur(1px);opacity:.6}.map-room.here .art{filter:drop-shadow(0 0 12px #63f0e2)drop-shadow(0 8px 10px #5a3a1b88)}.map-lock{width:22%;position:absolute;top:30%}.map-label{background:var(--enamel) padding-box, var(--rim) border-box;color:var(--cream);border:2px solid #0000;border-radius:10px;flex-direction:column;align-items:center;margin-top:-4%;padding:4px 14px;display:flex;box-shadow:0 4px 10px #0007}.map-label strong{font-family:var(--font-display);font-size:clamp(12px,1.4vw,16px)}.map-label small{color:var(--gold-hi);font-size:11px}.journal-page{text-align:center;flex-direction:column;align-items:center;gap:12px;margin:10px 26px 30px;padding:26px;font-size:17px;display:flex}.journal-icon{width:90px}.journal-page h3{color:#7a4c1b}.journal-page .journal-clue{color:#7a4c1b;font-family:var(--font-display);background:#fff6dfcc;border-radius:12px;align-items:center;gap:10px;padding:12px 18px;font-weight:700;display:flex;box-shadow:inset 0 0 0 2px #c79b5d}.journal-page .journal-clue svg{width:34px;height:34px}.journal-badge{font-family:var(--font-display);align-items:center;gap:10px;font-weight:700;display:flex}.journal-badge .art{width:56px}.settings-panel{flex-direction:column;gap:18px;padding:16px 30px 30px;font-size:17px;display:flex}.settings-panel label{align-items:center;gap:12px;font-weight:700;display:flex}.save-state{color:var(--ink-soft);font-size:14px}.settings-actions{flex-wrap:wrap;gap:22px;display:flex}@media (orientation:portrait) and (max-width:900px){.play-main{align-content:start;place-items:start center}.play-area{width:100vw}.play-area>.hud{grid-area:2/1;grid-template-columns:1fr auto;gap:12px;padding:12px 14px 16px;display:grid}.hud>*{max-width:none;position:static;transform:none}.hud-title{grid-column:1;gap:10px}.hud-title .portrait{--size:52px}.hud-title h1{font-size:17px}.hud-title p{font-size:12px}.hud-tools{flex-wrap:wrap;grid-column:2;justify-content:flex-end;max-width:120px}.hud-tools .round-button{width:48px;height:48px}.dialogue,.inventory,.completion{grid-column:1/-1}.dialogue .portrait{--size:64px}.speech{border-radius:14px;padding:10px 14px}.speech:before{width:14px;height:14px;bottom:16px;left:-8px}.speech small{font-size:10px}.speech p{font-size:16px}.inventory{min-height:0;padding:8px 12px}.bag-icon{width:46px}.inventory p{max-width:none;font-size:14px}.inventory-items button{width:58px}.completion{gap:10px;width:auto;padding:20px;top:50%;left:50%;right:auto;transform:translate(-50%,-50%)}.completion-close{width:36px;height:36px;font-size:16px;top:8px;right:8px}.completion-chip{top:72%;left:50%;right:auto;translate:-50% -50%}.completion h2{font-size:22px}.completion-team .portrait{--size:64px}.completion-badge{width:72px}.completion-actions{gap:22px}.hotspot-label{padding:1px 6px;font-size:9px}.scene-note{font-size:8px}.rotate-hint{text-align:center;color:var(--muted);padding:0 18px 20px;font-size:13px;display:block}.exit-badge{width:100%}}@media (max-width:760px){.modal{border-radius:16px;width:97vw;max-height:97dvh}.modal-header{justify-content:flex-start;padding:22px 60px 4px 16px}.modal-close.round-button{width:46px;height:46px;top:10px;right:8px}.puzzle-body{padding:4px 8px 0}.puzzle-main{border-width:20px 18px;border-image-width:20px 18px;min-height:0;padding:2px 4px 8px}.puzzle-prompt{font-size:16px}.puzzle-footer{flex-wrap:wrap;gap:16px;padding:16px 18px 6px}.puzzle-footer .enamel{max-width:100%;padding:.5em 1.1em;font-size:.85rem}.tile-slots{gap:12px;margin:16px 0 12px}.tile-slots button{width:92px;height:84px}.tile-slots svg{width:34px;height:34px}.tile-options{gap:8px}.tile-options button{width:68px;padding-top:13px;font-size:12px}.tile-options svg{width:30px;height:30px;margin-bottom:14px}.counter-trays{gap:10px}.counter-tray{grid-template-columns:repeat(5,26px);gap:4px;padding:16px 20px}.counter{width:26px;height:24px}.ring-puzzle{flex-direction:column;gap:18px}.ring-visual{width:min(260px,70vw)}.ring-controls{flex-direction:row;gap:8px}.ring-controls>div{grid-template-columns:44px 56px 44px;gap:2px}.ring-controls .round-button{width:44px;height:44px;font-size:24px}.ring-controls strong{font-size:12px}.ring-controls span{font-size:10px}.room-map{margin:8px 10px 16px}.map-label{padding:2px 6px}.map-label small{display:none}}.hud-title-text{flex-direction:column;align-items:flex-start;gap:.5cqw;display:flex}.hud-crumbs{padding-block:.15cqw;font-size:max(11px,.95cqw)}.hud-crumbs .crumb-back{width:max(26px,2.6cqw);height:max(26px,2.6cqw)}.hud-title .hud-goal{color:#3a2616;background:#fff6dfe6;border-radius:999px;max-width:34cqw;padding:.4cqw 1.1cqw;font-size:max(11px,.95cqw);line-height:1.3;box-shadow:inset 0 0 0 2px #c79b5d}.hud-title .hud-goal strong{color:#0f5a58}.minimap{background:#06161bd9;border-radius:999px;align-items:center;gap:.4cqw;height:max(44px,4.8cqw);padding:0 .6cqw;display:flex;position:absolute;top:1.6cqw;right:calc(4cqw + 2*max(44px,4.8cqw));box-shadow:inset 0 0 0 2px #b07a34,0 6px 14px #0009}.minimap-bar{display:contents}.minimap-bar button{color:#ffe3a3;border-radius:50%;place-items:center;width:max(30px,2.6cqw);height:max(30px,2.6cqw);display:grid}.minimap-bar button:hover{background:#ffffff1f}.minimap-open{order:0}.minimap-body{order:1;align-items:center;margin:0;padding:0;list-style:none;display:flex}.minimap-toggle{order:2}.minimap-body li{align-items:center;display:flex}.mm-link{border-top:2px dashed #e3b87788;width:1.4cqw;min-width:8px;height:0}.mm-link.known{border-top:3px solid #63f0e2}.mm-node{border-radius:.7cqw;width:max(40px,4.6cqw);padding:0;position:relative;box-shadow:0 0 0 2px #b07a34}.mm-node .art{border-radius:.7cqw;width:100%}.mm-node.current{box-shadow:0 0 0 3px #63f0e2,0 0 12px #63f0e2aa}.mm-node.visited:hover{box-shadow:0 0 0 3px #ffe3a3}.mm-node.undiscovered{filter:grayscale()brightness(.55)}.mm-pin{color:#fff;fill:#0f8a82;filter:drop-shadow(0 1px 2px #000);position:absolute;top:-9px;right:-5px}.mm-lock{width:36%;position:absolute;top:50%;left:50%;translate:-50% -50%}.map-goal{background:#fff6dfcc;border-radius:999px;margin:0 0 8px;padding:6px 14px;font-weight:700;box-shadow:inset 0 0 0 2px #c79b5d}.map-goal strong{color:#0f5a58}.modal-drawer{border-radius:22px 0 0 22px;width:min(360px,92vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto}.modal-drawer.wide{width:min(760px,96vw)}.drawer-list{flex-direction:column;gap:8px;margin:0;padding:14px 20px 24px;list-style:none;display:flex}.drawer-list a,.drawer-list button{color:#3a2616;text-align:left;background:#fff6dfcc;border-radius:14px;align-items:center;gap:14px;width:100%;min-height:52px;padding:10px 16px;font-size:1.05rem;font-weight:700;display:flex;box-shadow:inset 0 0 0 2px #c79b5d}.drawer-list a:hover,.drawer-list button:hover{background:#fff}.drawer-list a[aria-current=page]{background:#e5f6f2;box-shadow:inset 0 0 0 3px #0f8a82}.drawer-list svg{color:#0f5a58;flex-shrink:0}.drawer-view{padding:8px 20px 24px}.drawer-view>.text-button{color:#0f5a58;margin-bottom:8px}@media (orientation:portrait) and (max-width:900px){.hud-title{flex-wrap:wrap}.hud-title-text{display:contents}.hud-title-text>.plaque{flex:1;min-width:0}.hud-title .hud-crumbs,.hud-title .hud-goal{flex-basis:100%;max-width:none}.hud-crumbs{padding-right:10px;font-size:12px}.hud-crumbs ol{white-space:nowrap;flex-wrap:nowrap}.hud-crumbs li+li:before{margin:0 4px}.hud-crumbs li:not(:last-child):not(:first-child){display:none}.hud-crumbs .crumb-back{width:30px;height:30px}.hud-title .hud-goal{border-radius:14px;font-size:12px}.minimap{grid-column:1/-1;justify-self:start;height:52px;padding:0 8px;position:static}.minimap-bar button{width:36px;height:36px}.mm-node{border-radius:8px;width:46px}.mm-link{width:12px}}.round-bar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;display:flex}.step-dots{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.step-dots li{background:#0007;border-radius:50%;width:16px;height:16px;box-shadow:inset 0 0 0 2px #c79b5d}.step-dots li.done{background:#63f0e2;box-shadow:inset 0 0 0 2px #0f5a58,0 0 8px #63f0e2aa}.step-dots li.current{background:var(--gold-hi);box-shadow:inset 0 0 0 2px #7a4c1b, 0 0 10px var(--gold-hi)}.round-helper{align-items:center;gap:8px;display:flex}.round-helper .portrait{--size:56px}.round-helper .eyebrow{color:var(--gold-hi)}.number-round,.pattern-round,.word-round{flex-direction:column;align-items:center;gap:10px;display:flex}.counter-trays{margin:4px auto 6px}.counter-trays.dense .counter-tray{grid-template-columns:repeat(8,24px);gap:3px;padding:16px 20px}.counter-trays.dense .counter{width:24px;height:22px}.equation{font-family:var(--font-display);color:var(--gold-hi);text-shadow:0 2px 4px #000a;margin:0;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800}.skip-line,.pattern-line{flex-wrap:wrap;justify-content:center;gap:10px;margin:6px 0;padding:0;list-style:none;display:flex}.skip-line li,.pattern-line li{min-width:62px;height:58px;font-family:var(--font-display);color:#3a2208;filter:drop-shadow(0 4px 4px #0008);background:url(/assets/puzzles/tile.webp) 50%/100% 100% no-repeat;border-radius:12px;place-items:center;padding:0 10px;font-size:1.6rem;font-weight:800;display:grid}.pattern-line li svg{width:38px;height:38px}.skip-line li.gap,.pattern-line li.gap{color:var(--gold-hi);filter:none;background:#0006;box-shadow:inset 0 0 0 3px #63f0e2,0 0 14px #63f0e288}.pattern-line li.gap svg{color:#f3e6c8}.pattern-round .tile-options button{width:76px;padding:14px 4px 0}.pattern-round .tile-options svg{margin-bottom:14px}.round-button.small{width:52px;font-size:15px}.word-picture{color:#3a2208;background:radial-gradient(circle,#fff3cf,#e9c47f);border-radius:50%;place-items:center;width:84px;height:84px;display:grid;box-shadow:inset 0 0 0 3px #c79b5d,0 6px 10px #0007}.word-picture svg{width:56px;height:56px}.letter-slots,.letter-bank{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.letter-slot,.letter-tile{min-width:52px;height:58px;font-family:var(--font-body,inherit);color:#3a2208;filter:drop-shadow(0 4px 4px #0008);background:url(/assets/puzzles/tile.webp) 50%/100% 100% no-repeat;place-items:center;padding:0 6px;font-size:2rem;font-weight:800;line-height:1;transition:transform .15s,filter .15s;display:grid}.letter-slot:disabled{opacity:1;cursor:default}.letter-slot:not(.filled){background-image:url(/assets/puzzles/socket.webp)}.letter-slot.hole{border-radius:10px;box-shadow:0 0 0 3px #63f0e2}.letter-slot.selected,.letter-tile[aria-pressed=true]{filter:drop-shadow(0 0 3px #63f0e2)drop-shadow(0 0 12px #63f0e2aa);transform:translateY(-4px)}.letter-tile:disabled{opacity:.3}.letter-tile.undo{font-size:1.4rem}.word-help{color:#f3e6c8;text-align:center;margin:0;font-size:14px}.hint-text{color:#3a2208;max-width:560px;margin:10px auto 0}@media (max-width:760px){.round-helper .eyebrow{display:none}.round-helper .portrait{--size:44px}.skip-line li,.pattern-line li{min-width:48px;height:48px;font-size:1.25rem}.letter-slot,.letter-tile{min-width:46px;height:52px;font-size:1.7rem}.word-picture{width:64px;height:64px}.word-picture svg{width:42px;height:42px}.puzzle-footer{flex-wrap:nowrap;gap:8px;padding:10px 8px 2px}.puzzle-footer .enamel.small{padding:.5em .8em}.puzzle-footer .btn-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.puzzle-footer .enamel.gold{flex:1;justify-content:center}.total-control{gap:6px}.total-control .round-button{width:44px;height:44px;font-size:24px}.total-control .round-button.small{width:40px;height:40px;font-size:13px}.total-control label{white-space:nowrap;gap:3px;font-size:11px}.total-control input{width:84px;font-size:30px}.ring-controls{flex-direction:column;align-items:stretch;gap:4px;width:100%}.ring-controls>div{grid-template-columns:1fr 44px 74px 44px;gap:4px}.ring-controls span{text-align:left;grid-column:auto;font-size:12px}.ring-controls strong{font-size:13px}.ring-visual{width:min(220px,60vw)}.puzzle-footer{padding:10px 16px 2px}.puzzle-footer .enamel.gold{letter-spacing:0;min-width:0;padding:.5em .7em;font-size:.78rem}}.total-steps{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.total-steps .round-button.small{width:56px;height:44px;color:var(--gold-hi);border-radius:22px;font-size:14px;font-weight:800}@media (max-width:760px){.total-steps{gap:6px}.total-steps .round-button.small{border-radius:20px;width:52px;height:40px}}.sprite.layer{filter:none}.sprite.layer:not(.overlay){animation:none}
.home-shell{background:radial-gradient(40% 50% at 8% 90%,#ffb45a2e,#0000 70%),radial-gradient(40% 50% at 95% 85%,#ffb45a24,#0000 70%),radial-gradient(70% 60% at 50% 30%,#155a5a55,#0000 75%)}.home-scene{background:radial-gradient(55% 55% at 50% 45%,#04121640,#0000 75%),linear-gradient(#04101433,#04101466),url(/assets/screens/home-backdrop.webp) 50%/cover;position:absolute;inset:0}.rift-arcs{width:100%;height:100%;position:absolute;inset:0}.rift-arcs path{fill:none;stroke:#63f0e2;stroke-width:.45px;stroke-dasharray:2 1.4;filter:drop-shadow(0 0 1px #63f0e2);opacity:.8}.rift-arcs circle{fill:#b9fff6;filter:drop-shadow(0 0 1.2px #63f0e2)}.island{filter:drop-shadow(0 1.6cqw 1.6cqw #000c);animation:7s ease-in-out infinite float;position:absolute}.island-egypt{filter:drop-shadow(0 0 1.4cqw #63f0e288)drop-shadow(0 1.6cqw 1.6cqw #000c);width:29%;top:27%;left:6%}.island-jungle{width:26%;animation-delay:-2.4s;top:6%;left:37%}.island-library{width:31%;animation-delay:-4.6s;top:15%;right:4%}.island.locked{filter:grayscale(.55)brightness(.62)saturate(.7)drop-shadow(0 1.6cqw 1.6cqw #000c)}@keyframes float{50%{translate:0 -.7cqw}}.dais{aspect-ratio:3.6;background:var(--grain), radial-gradient(70% 70% at 50% 40%, #d8ad6c, #a4733d 60%, #6b4523);border-radius:50%;width:36%;position:absolute;bottom:6%;left:50%;transform:translate(-50%);box-shadow:inset 0 -1cqw #5a3a1c,inset 0 0 0 .35cqw #2f8a84,0 1.4cqw 2.4cqw #000c,0 0 3cqw #63f0e244}.hero-explorer{filter:drop-shadow(0 .8cqw .8cqw #000b);width:auto;height:46%;position:absolute;bottom:13%;left:44%}.hero-companion{filter:drop-shadow(0 .8cqw .8cqw #000b);width:auto;height:22%;position:absolute;bottom:12%;left:53%}.home-brand{text-align:center;width:21cqw;position:absolute;top:1.6cqw;left:2cqw}.home-brand .art{filter:drop-shadow(0 .6cqw .8cqw #000c);width:100%}.home-brand p{font-family:var(--font-display);color:var(--gold-hi);text-shadow:0 2px 4px #000;margin-top:.3cqw;font-size:max(11px,1cqw);font-weight:700}.home-play{padding:.6em 2.6em;font-size:max(18px,2cqw);position:absolute;bottom:3.5cqw;left:50%;transform:translate(-50%)}.home-play:active{transform:translate(-50%)translateY(2px)}.home-explorer,.home-parent{font-size:max(14px,1.15cqw);position:absolute;bottom:3.5cqw}.home-explorer{padding-left:.6em;left:4cqw}.home-explorer .portrait{--size:max(36px, 3.2cqw);border-width:2px}.home-parent{right:4cqw}.home-fiction{white-space:nowrap;color:#fff1d2b0;text-shadow:0 1px 3px #000;font-size:max(10px,.8cqw);position:absolute;bottom:.8cqw;left:50%;transform:translate(-50%)}.page-shell{background:linear-gradient(#050f13b3,#050f13d9),url(/assets/screens/home-backdrop.webp) 50%/cover fixed}.setup-page,.atlas-page,.travel-page{flex-direction:column;align-items:center;gap:22px;width:min(1240px,100%);margin:0 auto;padding:26px 22px 40px;display:flex;position:relative}.page-plaque{text-align:center;margin-top:6px}.page-plaque h1{color:var(--gold-hi);font-size:clamp(1.4rem,3vw,2.2rem)}.page-plaque p{color:#f3e6c8;font-size:14px}.profile-tabs{gap:10px;display:flex}.profile-tabs button{min-height:44px;font-family:var(--font-display);color:var(--gold-hi);background:#0a3134aa;border-radius:999px;padding:8px 18px;font-weight:700;box-shadow:inset 0 0 0 2px #b07a3488}.profile-tabs button[aria-pressed=true]{background:var(--enamel) padding-box, var(--rim) border-box;box-shadow:0 0 0 2px var(--brass-dark);border:2px solid #0000}.setup-frame{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr);grid-template-areas:"stage chooser""footer footer";gap:22px 28px;width:100%;padding:26px;display:grid}.setup-stage{flex-direction:column;grid-area:stage;gap:14px;display:flex}.hero-pedestal{background:radial-gradient(60% 55% at 50% 40%,#fff3d0,#0000 70%),radial-gradient(90% 80% at 50% 60%,#e9cc94,#c99a5c);border-radius:18px;flex:1;min-height:460px;position:relative;overflow:hidden;box-shadow:inset 0 0 40px #9a6a2a77}.stage-name{color:var(--ink);flex-direction:column;gap:6px;font-weight:700;display:flex}.chooser{grid-area:chooser;min-height:420px;position:relative}.chooser-inner{flex-direction:column;gap:12px;min-height:0;display:flex;position:absolute;inset:0}.chooser-tabs{flex-shrink:0;gap:8px;display:flex}.chooser-tab{min-width:0;min-height:78px;font-family:var(--font-display);color:var(--ink);background:#ead6a8;border-radius:14px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;padding:8px 4px;font-size:14px;font-weight:700;transition:transform .15s;display:flex;box-shadow:inset 0 0 0 2px #c79b5d}.chooser-tab .portrait{--size:38px;border-width:2px}.chooser-tab .tab-icon{flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.chooser-tab .tab-icon .art{width:30px;height:auto}.chooser-tab[aria-selected=true]{color:var(--gold-hi);background:var(--enamel) padding-box, var(--rim) border-box;box-shadow:0 0 0 2px var(--brass-dark);border:2px solid #0000}.chooser-body{overscroll-behavior:contain;background:#fff6df66;border-radius:16px;flex:1;min-height:0;padding:16px;overflow-y:auto;box-shadow:inset 0 0 0 2px #c79b5d,inset 0 4px 10px #6b4c2c22}.choice-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:14px;display:grid}.choice{min-height:44px;font-family:var(--font-display);color:#7a4c1b;background:var(--grain), linear-gradient(170deg, #f6e3b8, #ddb97e);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:12px 6px 10px;font-weight:800;transition:transform .15s;display:flex;position:relative;box-shadow:inset 0 0 0 3px #b88a4a,0 4px 8px #6b4c2c44}.choice .portrait{--size:88px}.choice[aria-pressed=true]{transform:translateY(-3px);box-shadow:inset 0 0 0 3px #b88a4a,0 0 0 3px #63f0e2,0 0 18px #63f0e2aa}.choice[aria-pressed=true]:after{content:"✓";color:#06302e;background:#63f0e2;border-radius:50%;place-items:center;width:24px;height:24px;font-size:15px;line-height:1;display:grid;position:absolute;top:-6px;right:-6px;box-shadow:0 0 0 2px #0f5a58}.choice-section+.choice-section{margin-top:22px}.choice-section h2{font-family:var(--font-display);color:#7a4c1b;margin:0 0 12px;font-size:17px}.accessory-art{place-items:center;width:88px;height:56px;display:grid}.accessory-art .art{width:84px;height:auto}.accessory-art.none{opacity:.6;border:3px dashed #b88a4a;border-radius:18px;width:76px;height:36px;margin:10px 0}.details-form{flex-direction:column;gap:14px;display:flex}.details-form label{color:var(--ink);flex-direction:column;gap:6px;font-weight:700;display:flex}.field-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.pedestal-stone{aspect-ratio:3.4;background:var(--grain), radial-gradient(70% 70% at 50% 40%, #d9b07a, #9b6a36 65%, #5a3a1c);border-radius:50%;width:78%;position:absolute;bottom:30px;left:50%;transform:translate(-50%);box-shadow:inset 0 -12px #4a2f16,inset 0 0 0 4px #2f8a84,0 16px 20px #6b4c2c88}.pedestal-explorer{z-index:1;filter:drop-shadow(0 8px 8px #6b4c2c99);width:auto;height:78%;position:absolute;bottom:62px;left:42%;transform:translate(-50%)}.pedestal-companion{z-index:1;filter:drop-shadow(0 8px 8px #6b4c2c99);width:auto;height:36%;position:absolute;bottom:56px;left:70%;transform:translate(-50%)}.pedestal-name{z-index:2;font-family:var(--font-display);color:#7a4c1b;white-space:nowrap;font-weight:800;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.form-footer{grid-area:footer;justify-content:space-between;align-items:center;gap:20px;display:flex}.form-footer small{max-width:520px;color:var(--ink-soft);font-size:12px}.desk-shell{background:radial-gradient(40% 40% at 10% 10%,#ffbe6a22,#0000 70%),url(/assets/screens/desk-backdrop.webp) 50%/cover fixed}.atlas-book{background:linear-gradient(#5a2f19,#34190c);border-radius:22px;grid-template-columns:1fr 1fr;width:100%;padding:18px;display:grid;position:relative;box-shadow:0 0 0 3px #b07a34,0 30px 60px #000c}.book-page{text-align:center;background:var(--paper);min-height:460px;color:var(--ink);flex-direction:column;align-items:center;gap:10px;padding:28px 30px;display:flex;position:relative;box-shadow:inset 0 0 40px #9a6a2a66}.book-page.left{border-radius:14px 4px 4px 14px;box-shadow:inset -30px 0 30px -20px #6b4c2c88,inset 0 0 40px #9a6a2a66}.book-page.right{border-radius:4px 14px 14px 4px;justify-content:center;box-shadow:inset 30px 0 30px -20px #6b4c2c88,inset 0 0 40px #9a6a2a66}.atlas-island{width:min(380px,80%);position:relative}.atlas-island .art{filter:drop-shadow(0 14px 14px #6b4c2caa);width:100%;animation:7s ease-in-out infinite float;position:relative}.rift-glow{background:radial-gradient(circle,#63f0e266,#0000 65%);border-radius:50%;position:absolute;inset:12% 8% 0}.book-page .eyebrow{color:#0f5a58}.book-page h2{color:#7a4c1b;font-size:clamp(1.3rem,2.4vw,1.9rem)}.atlas-note{color:var(--ink-soft);font-size:14px}.adventure-stats{font-family:var(--font-display);color:#0f5a58;gap:18px;margin-bottom:8px;font-weight:700;display:flex}.locked-world{width:min(300px,70%);position:relative}.locked-world>.art:first-child{filter:sepia(.8)grayscale(.5)brightness(.8)contrast(.9);opacity:.7;width:100%}.world-lock{filter:drop-shadow(0 4px 6px #000a);width:22%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.travel-map{aspect-ratio:16/9.4;background:url(/assets/screens/egypt-map-backdrop.webp) 50%/cover padding-box padding-box,linear-gradient(#1d5f5c,#0a3134) border-box;border:10px solid #0000;border-radius:18px;width:min(100%,170.213dvh - 255.319px);position:relative;overflow:hidden;box-shadow:0 0 0 3px #b07a34,inset 0 0 0 3px #b07a34,inset 0 0 60px #7a4c1b99,0 30px 60px #000c}.map-backdrop{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.map-site{flex-direction:column;align-items:center;width:18%;height:36%;display:flex;position:absolute;top:12%;left:55%}.map-pin{z-index:1;filter:drop-shadow(0 4px 4px #6b4c2caa);width:30%;margin-bottom:-6%;animation:3.6s ease-in-out infinite float}.map-site-label{background:var(--enamel) padding-box, var(--rim) border-box;font-family:var(--font-display);color:var(--cream);border:2px solid #0000;border-radius:10px;margin-top:auto;padding:4px 16px;font-weight:700}.map-compass{filter:drop-shadow(0 6px 6px #6b4c2caa);width:11%;position:absolute;top:4%;right:3%}.travel-actions{flex-direction:column;align-items:flex-start;gap:8px;display:flex;position:absolute;bottom:8%;left:6%}.travel-actions p{color:var(--ink);font-weight:700}.parent-frame{grid-template-columns:240px minmax(0,1fr);gap:22px;width:min(1240px,100%);min-height:100dvh;margin:0 auto;padding:24px;display:grid}.parent-sidebar{background:var(--enamel) padding-box, var(--rim) border-box;box-shadow:0 0 0 2px var(--brass-dark), 0 20px 40px #000a;border:4px solid #0000;border-radius:18px;flex-direction:column;align-self:start;gap:6px;padding:18px 14px;display:flex}.parent-brand{width:100%;margin-bottom:14px}.parent-sidebar a{min-height:48px;color:var(--cream);border-radius:10px;align-items:center;gap:10px;padding:10px 14px;font-weight:700;display:flex}.parent-sidebar a:hover{background:#ffffff12}.parent-sidebar a[aria-current=page]{background:#63f0e222;box-shadow:inset 0 0 0 2px #63f0e266}.parent-main{flex-direction:column;gap:18px;padding:30px 34px;display:flex}.parent-heading .eyebrow{color:#0f5a58}.parent-heading h1{color:#7a4c1b;font-size:clamp(1.6rem,3vw,2.3rem)}.parent-gate{text-align:center;background:#fff6df99;border-radius:16px;flex-direction:column;align-items:center;gap:14px;max-width:560px;margin:20px auto;padding:30px;display:flex;box-shadow:inset 0 0 0 2px #c79b5d}.parent-gate>svg{color:#0f5a58}.report-profile{align-items:center;gap:14px;display:flex}.report-profile .portrait{--size:64px}.report-profile span{color:var(--ink-soft);font-size:13px}.parent-caveat{color:var(--ink-soft);font-size:14px}.report-stats{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.report-stats>div{color:var(--ink-soft);background:#fff6dfaa;border-radius:14px;flex-direction:column;gap:4px;padding:18px;font-weight:700;display:flex;box-shadow:inset 0 0 0 2px #c79b5d}.report-stats strong{font-family:var(--font-display);color:#0f5a58;font-size:38px;line-height:1}.attempt-list{border-top:2px solid #c79b5d88}.attempt-list article{border-bottom:1px solid #c79b5d88;align-items:center;gap:16px;padding:14px 4px;display:flex}.attempt-list article>div:last-child{text-align:right;margin-left:auto}.attempt-list h3{color:#3a2616;font-size:17px}.attempt-list p{color:var(--ink-soft);font-size:13px}.attempt-dot{color:#fff;background:#e8bd6a;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;box-shadow:inset 0 0 0 2px #a8722c}.attempt-dot.correct{background:#2f8a84;box-shadow:inset 0 0 0 2px #0f5a58}.cloud-note{color:var(--ink-soft);font-size:13px}.family-settings{flex-direction:column;gap:16px;max-width:420px;display:flex}.family-settings label{flex-direction:column;gap:6px;font-weight:700;display:flex}.family-settings label.check{flex-direction:row;align-items:center;gap:12px}.family-actions{flex-wrap:wrap;gap:24px;display:flex}.restart-adventure{background:#fff6df99;border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;max-width:560px;margin-top:28px;padding:18px 20px;display:flex;box-shadow:inset 0 0 0 2px #b86a45}.restart-adventure h2{color:#7a3a1b;font-size:1.15rem}.restart-confirm{flex-direction:column;gap:8px;display:flex}.restart-confirm h3{color:#7a3a1b}.restart-done{color:#0f5a58;font-weight:700}.enamel.danger{background-image:var(--grain), linear-gradient(180deg, #d9805a, #a8441f 55%, #7a2d12), var(--rim);color:#fff4e6}.art-review{flex-direction:column;gap:24px;padding:30px;display:flex}.art-review h2{color:var(--gold-hi)}.art-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;display:grid}.art-grid figure{background:#0f3a3a;border-radius:12px;margin:0;padding:10px;font-size:12px;box-shadow:inset 0 0 0 1px #b07a3466}.art-grid img{object-fit:contain;width:100%;height:150px}.art-grid figcaption{color:var(--muted);flex-direction:column;gap:2px;display:flex}.art-grid strong{color:var(--cream)}@media (max-width:900px){.setup-frame{grid-template-columns:minmax(0,1fr);grid-template-areas:"stage""chooser""footer";padding:16px}.hero-pedestal{min-height:300px}.chooser{min-height:0}.chooser-inner{position:static}.chooser-tab{gap:2px;min-height:66px;padding:6px 2px;font-size:11px}.chooser-tab .portrait,.chooser-tab .tab-icon{--size:32px;width:32px;height:32px}.chooser-body{flex:none;max-height:min(52vh,400px);padding:12px}.choice-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:12px}.choice .portrait{--size:72px}.form-footer{text-align:center;flex-direction:column;align-items:stretch}.atlas-book{grid-template-columns:1fr;padding:10px}.book-page.left,.book-page.right{border-radius:14px;min-height:0}.book-page.right{flex-flow:wrap;justify-content:center}.locked-world{width:42%}.travel-map{aspect-ratio:3/4}.map-backdrop{object-position:68% center}.map-site{width:64%;height:34%;top:24%;left:18%}.map-compass{width:18%}.travel-actions{align-items:center;bottom:6%;left:50%;transform:translate(-50%)}.parent-frame{grid-template-columns:1fr;padding:12px}.parent-sidebar{flex-flow:wrap;align-items:center}.parent-brand{width:120px;margin:0 8px 0 0}.parent-main{padding:20px 16px}.report-stats{gap:8px}.report-stats>div{padding:12px 8px;font-size:12px}.report-stats strong{font-size:28px}.attempt-list article{flex-wrap:wrap;gap:8px}.attempt-list article>div:last-child{text-align:left;margin-left:42px}}@media (orientation:portrait) and (max-width:900px){.home-stage>.hud{flex-direction:column;align-items:center;gap:16px;padding:16px;display:flex}.home-stage>.hud>*{position:static;transform:none}.home-play:active{transform:translateY(2px)}.home-brand{order:-1;width:220px}.home-brand p{font-size:13px}.home-play{padding:.55em 1.8em;font-size:18px}.home-explorer,.home-parent{font-size:15px}.home-explorer .portrait{--size:36px}.home-fiction{white-space:normal;text-align:center;font-size:11px}}.parent-shell{background:linear-gradient(#08141899,#081418bb),url(/assets/screens/study-backdrop.webp) 50%/cover fixed}.shell-menu{z-index:30;width:54px;height:54px;color:var(--gold-hi);position:fixed;top:14px;right:14px}.nav-menu svg{filter:drop-shadow(0 2px 2px #000a)}.breadcrumb{color:#f3e6c8;background:#06161bb3;border-radius:999px;align-items:center;gap:10px;max-width:100%;padding:4px 14px 4px 6px;font-size:14px;display:flex;box-shadow:inset 0 0 0 2px #b07a34}.breadcrumb ol{flex-wrap:wrap;align-items:center;margin:0;padding:0;list-style:none;display:flex}.breadcrumb li+li:before{content:"›";color:#e3b877;margin:0 8px}.breadcrumb a{color:#ffe3a3;text-underline-offset:3px;text-decoration:underline}.breadcrumb [aria-current=page]{color:#fff;font-weight:800}.crumb-back{flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.crumb-back .art{filter:drop-shadow(0 3px 4px #000a);width:100%}.page-plaque+.breadcrumb{margin-top:-8px}.parent-crumbs{color:#3a2616;background:#fff6dfcc;align-self:flex-start;box-shadow:inset 0 0 0 2px #c79b5d}.parent-crumbs a{color:#0f5a58}.parent-crumbs [aria-current=page],.parent-crumbs li+li:before{color:#7a4c1b}.auth-gate form{text-align:left;flex-direction:column;gap:12px;width:min(360px,100%);margin:6px auto 4px;display:flex}.auth-gate label{color:#3a2616;flex-direction:column;gap:4px;font-weight:700;display:flex}.auth-gate input{min-height:46px;font:inherit;color:#3a2616;background:#fffaf0;border:2px solid #c79b5d;border-radius:10px;padding:8px 12px}.auth-gate .enamel{align-self:center}.auth-message{color:#5a2210;background:#fde8d8;border-radius:10px;padding:8px 12px;font-weight:700;box-shadow:inset 0 0 0 2px #c0602a}.auth-bar{background:#fff6dfcc;border-radius:999px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:6px 14px;font-size:14px;display:flex;box-shadow:inset 0 0 0 2px #c79b5d}.skill-table{margin:14px 0}.skill-table h2{font-family:var(--font-display);margin:0 0 8px;font-size:1.15rem}.skill-table ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.skill-table li{color:#3a2208;background:#fff6dfcc;border-radius:10px;flex-wrap:wrap;justify-content:space-between;gap:4px 14px;padding:8px 12px;display:flex;box-shadow:inset 0 0 0 2px #c79b5d}.level-note{opacity:.85;margin-top:4px;font-size:12px;font-weight:400;display:block}.home-restart{align-items:center;gap:.45em;font-size:max(14px,1.15cqw);display:inline-flex;position:absolute;bottom:calc(3.5cqw + max(52px,4.6cqw));right:4cqw}.home-restart-done{color:var(--gold-hi);background:#0a3134dd;border-radius:999px;padding:.4em 1em;font-weight:700;position:absolute;bottom:calc(3.5cqw + max(64px,6cqw));left:50%;transform:translate(-50%);box-shadow:0 0 0 2px #b07a34aa}.modal-confirm{width:min(520px,94vw)}.confirm-body{text-align:center;flex-direction:column;gap:18px;padding:10px 28px 28px;font-size:17px;display:flex}.confirm-actions{flex-wrap:wrap;justify-content:center;gap:14px;display:flex}
.chess-shell{background:radial-gradient(50% 45% at 50% 40%,#63f0e214,#0000 70%),linear-gradient(#071219b3,#071219e0),url(/assets/screens/study-backdrop.webp) 50%/cover fixed}.chess-page{flex-direction:column;align-items:center;gap:14px;width:min(1320px,100%);margin:0 auto;padding:18px 16px 40px;display:flex}.chess-tabs{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.chess-tabs .enamel{align-items:center;gap:6px;display:inline-flex}.chess-panel{width:100%;color:var(--cream);flex-direction:column;align-items:center;gap:12px;display:flex}.chess-panel>h2{font-family:var(--font-display);color:var(--gold-hi);text-align:center;text-shadow:0 2px 4px #000}.chess-panel>.text-button{color:var(--gold-hi);align-self:flex-start}.chess-note{color:var(--muted)}.chess-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;width:100%;margin:0;padding:0;list-style:none;display:grid}.chess-cards.small{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.chess-card{text-align:center;width:100%;min-height:100%;font:inherit;cursor:pointer;border:0;flex-direction:column;align-items:center;gap:8px;padding:18px 14px;display:flex}.chess-card:focus-visible,.chess-card:hover{outline:3px solid var(--cyan);outline-offset:2px}.chess-card strong{font-family:var(--font-display);font-size:1.15rem}.chess-card-title{text-transform:capitalize}.chess-swatch{border:4px solid;border-radius:50%;width:46px;height:46px;box-shadow:0 3px 8px #0006}.chess-record,.chess-done{color:#0f5a58;align-items:center;gap:4px;font-size:.9rem;font-weight:700;display:inline-flex}.chess-next{align-self:flex-end}.chess-game{grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:start;gap:16px;width:100%;display:grid;position:relative}.chess-board{width:100%;position:relative}.chess-board.is-3d{aspect-ratio:4/3;background:radial-gradient(60% 60% at 50% 45%,#63f0e21f,#0000 70%),#0a1a20aa;border-radius:18px;max-height:78vh;overflow:hidden;box-shadow:inset 0 0 0 2px #b07a3480,0 18px 40px #0009}.chess-canvas{touch-action:none;inset:0;position:absolute!important}.chess-loading{place-items:center;display:grid;position:absolute;inset:0}.chess-loading:after{content:"";border:4px solid #63f0e255;border-top-color:var(--cyan);border-radius:50%;width:48px;height:48px;animation:.9s linear infinite chess-spin}@keyframes chess-spin{to{transform:rotate(360deg)}}.board-toggle{z-index:2;position:absolute;top:10px;left:10px}.chess-board.is-flat .board-toggle{margin-top:10px;position:static}.chess-grid.overlay{opacity:0;pointer-events:none;position:absolute;inset:0}.chess-grid.flat{aspect-ratio:1;border-radius:10px;grid-template-rows:repeat(8,1fr);width:min(100%,72vh);margin:0 auto;display:grid;overflow:hidden;box-shadow:0 0 0 6px #5a3820,0 0 0 9px #c9952f,0 16px 36px #0009}.chess-row{grid-template-columns:repeat(8,1fr);display:grid}.chess-cell{font:inherit;cursor:pointer;border:0;place-items:center;padding:0;display:grid;position:relative}.chess-cell.light{background:#e6cf9f}.chess-cell.dark{background:#3e6a68}.chess-cell:focus-visible{outline-offset:-4px;z-index:1;outline:4px solid #fff}.chess-cell.mark-last{box-shadow:inset 0 0 0 999px #f3e08b55}.chess-cell.mark-selected{box-shadow:inset 0 0 0 999px #ffd36b99}.chess-cell.mark-hintFrom,.chess-cell.mark-hintTo{box-shadow:inset 0 0 0 999px #6fd3ff99}.chess-cell.mark-move:after{content:"";background:#38e0d0d9;border-radius:50%;width:28%;height:28%;position:absolute}.chess-cell.mark-capture:after,.chess-cell.mark-danger:after,.chess-cell.mark-check:after{content:"";border:4px solid #ff7a59;border-radius:50%;position:absolute;inset:6%}.chess-cell.mark-danger:after{border-color:#ff9f1c}.chess-cell.mark-check:after{border-width:5px;border-color:#ff3b3b}.chess-glyph{-webkit-text-stroke:1.5px var(--trim);text-shadow:0 3px 4px #0008;font-size:min(6.2vh,3.4vw);line-height:1}.chess-glyph .portrait{--size:min(7vh, 4vw);border-width:2px}.chess-star{color:#ffd34d;text-shadow:0 0 10px #ffb300;font-size:min(5vh,3vw)}.chess-side{flex-direction:column;gap:12px;display:flex}.chess-opponent{color:var(--cream);padding:14px 16px}.chess-opponent-name{font-family:var(--font-display);color:var(--gold-hi);font-size:1.15rem}.chess-level{color:var(--muted);font-size:.92rem}.chess-opponent-line{margin-top:6px;font-style:italic}.chess-companion{align-items:center;gap:12px;padding:12px;display:flex}.chess-companion .portrait{--size:72px;flex:none}.chess-companion-name{font-family:var(--font-display);color:#0f5a58;text-transform:uppercase;font-size:.82rem}.chess-companion-text{font-size:1.05rem;line-height:1.35}.chess-actions{flex-wrap:wrap;gap:10px;display:flex}.chess-actions .enamel{flex-direction:column;align-items:center;display:inline-flex}.chess-count{opacity:.85;font-size:.75rem}.chess-confirm{width:100%;color:var(--cream);flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chess-confirm p{width:100%}.chess-promote{z-index:5;text-align:center;flex-direction:column;gap:12px;padding:18px;display:flex;position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);box-shadow:0 20px 50px #000b}.chess-promote-row{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.chess-modal .chess-board.is-3d{max-height:64vh}.chess-settings{border:1px solid var(--line);border-radius:12px;margin-top:12px;padding:14px 16px}.chess-settings legend{font-family:var(--font-display);padding:0 6px}.home-chess{align-items:center;gap:.45em;font-size:max(14px,1.15cqw);display:inline-flex;position:absolute;bottom:calc(3.5cqw + max(62px,5.4cqw));left:4cqw}.atlas-chess{align-items:center;gap:8px;margin-top:6px;display:inline-flex}.journal-badge-icon{width:28px;height:28px;color:var(--brass)}.chess-table-prop{width:100%;height:100%;display:block;position:relative}.chess-table-top{background:repeating-conic-gradient(#3e6a68 0 25%, #e6cf9f 0 50%) 0 0 / 25% 25%;border:4px solid #5a3820;position:absolute;inset:22% 12%;transform:perspective(300px)rotateX(55deg)rotate(45deg);box-shadow:0 0 0 2px #c9952f,0 10px 16px #0009}.chess-table-king{color:#1f4a8a;-webkit-text-stroke:1px #e3b64c;text-shadow:0 0 12px #f6cf5a;font-size:min(3.4vw,46px);position:absolute;top:8%;left:50%;transform:translate(-50%)}@media (max-width:900px){.chess-game{grid-template-columns:1fr}.chess-board.is-3d{aspect-ratio:1;max-height:none}.chess-grid.flat{width:100%}.chess-glyph{font-size:8vw}.chess-glyph .portrait{--size:9vw}.chess-star{font-size:7vw}}@media (orientation:portrait) and (max-width:900px){.home-chess{font-size:15px}}.chess-tray{color:var(--cream);flex-direction:column;gap:4px;padding:10px 14px;display:flex}.chess-tray-row{align-items:center;gap:8px;min-height:30px;display:flex}.chess-tray-label{width:9.5em;color:var(--muted);flex:none;font-size:.85rem}.chess-tray-pieces{-webkit-text-stroke:1px var(--trim);text-shadow:0 2px 3px #0008;flex-wrap:wrap;font-size:1.5rem;line-height:1;display:flex}.chess-tray-pieces em{color:var(--muted);-webkit-text-stroke:0;font-size:.85rem;font-style:italic}.chess-tray-lead{color:var(--gold-hi);font-size:.92rem;font-weight:700}
