/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) 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}}}@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-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{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.isolate{isolation:isolate}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}}:root{--night:#171b2c;--night-deep:#101420;--night-panel:#25283a;--night-hover:#343448;--lavender:#c9c4d0;--snow:#f0edf0;--amber:#e3c184;--amber-soft:#c6a678;--paper:#eee7db;--paper-light:#faf5ea;--paper-line:#b9aa98;--ink:#302c32;--ink-muted:#665c60;--line-dark:#706779;--line-light:#a89baa;--done:#454a50;--locked:#222432;--locked-ink:#c3bfca;--open:#33303d;--done-line:#a7b4ae;--done-dot:#b0c0ba;--ambient:#3b3446;--inset-rule:#e0d5cb17;--veil:#0a0c15c7;--button-fill:#343447;--switch-accent:#544453;--focus-light:#ffe2a4;--focus-dark:#70491d;--backdrop-veil:#111421e0;--shadow-panel:0 16px 40px #08091247;--shadow-lift:0 10px 28px #08091259;--font-display:Georgia, "Times New Roman", serif;--font-body:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-label:var(--font-body);--space-1:.5rem;--space-2:.75rem;--space-3:1rem;--space-4:1.5rem;--space-5:2rem;--space-6:3rem;--space-page:clamp(1.25rem, 5vw, 4.5rem);font-family:var(--font-body);color:var(--snow);background:var(--night-deep);font-synthesis:none}*{box-sizing:border-box}body{background:radial-gradient(ellipse at 82% 0%, var(--ambient) 0%, transparent 42%), linear-gradient(145deg, var(--night), var(--night-deep));min-width:320px;min-height:100vh;margin:0}button{font:inherit;cursor:pointer}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--focus-light);outline-offset:3px}.paper :focus-visible,dialog :focus-visible{outline-color:var(--focus-dark)}.app{min-height:100vh}.has-backdrop{background-color:var(--night);background-position:50%;background-repeat:no-repeat;background-size:cover}.topbar{z-index:5;align-items:center;gap:var(--space-5);min-height:84px;padding:14px var(--space-page);border-bottom:1px solid var(--line-dark);background:var(--night-deep);display:flex;position:sticky;top:0}.brand{align-items:center;gap:var(--space-2);min-width:220px;display:flex}.brand-mark{border:1px solid var(--amber-soft);width:43px;height:43px;color:var(--amber);font:20px var(--font-display);place-items:center;display:grid}.brand-logo{object-fit:contain;width:43px;height:43px}.brand-banner{object-fit:contain;object-position:left center;width:min(100%,290px);height:auto;max-height:90px;display:block}.brand strong{font:normal 20px var(--font-display);letter-spacing:.02em;display:block}.eyebrow{color:var(--amber);font:600 11px var(--font-label);letter-spacing:.14em;text-transform:uppercase;margin:0 0 7px}.brand .eyebrow{font-size:10px}.topbar nav{gap:4px;margin:auto;display:flex}.topbar nav button,.settings{min-height:44px;color:var(--lavender);background:0 0;border:0;padding:0 16px}.topbar nav button{border-bottom:2px solid #0000}.topbar nav .nav-active{color:var(--snow);border-color:var(--amber)}.settings{border:1px solid var(--line-dark);font-size:13px}main{max-width:1370px;padding:clamp(2rem, 5vw, 4rem) var(--space-page) 130px;margin:auto}.page-heading{justify-content:space-between;align-items:end;gap:var(--space-4);display:flex}.page-heading h1,.content-page h1{font:normal clamp(42px, 6vw, 68px)/1 var(--font-display);letter-spacing:-.025em;margin:0 0 16px}.page-heading p:not(.eyebrow),.lead{max-width:580px;color:var(--lavender);line-height:1.65}.heading-note{border-left:1px solid var(--amber-soft);color:var(--lavender);padding-left:20px;font-size:13px;line-height:1.7}.heading-note strong{color:var(--snow);font-weight:500}.legend{color:var(--lavender);flex-wrap:wrap;gap:22px;margin:32px 0 16px;font-size:12px;display:flex}.legend span{align-items:center;gap:7px;display:flex}.dot{background:var(--line-light);border-radius:50%;width:8px;height:8px}.open-dot{background:var(--amber)}.done-dot{background:var(--done-dot)}.calendar-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.door{border:1px solid var(--line-dark);background:var(--night-panel);min-height:145px;color:var(--snow);text-align:left;flex-direction:column;align-items:flex-start;padding:15px;display:flex;position:relative}.door:after{content:"";border:1px solid var(--inset-rule);pointer-events:none;position:absolute;inset:5px}.door:disabled{cursor:default;background:var(--locked);color:var(--locked-ink)}.door.open{border-color:var(--amber-soft);background:var(--open)}.door.open:hover{background:var(--night-hover)}.door-top{color:var(--amber);font:600 10px var(--font-label);letter-spacing:.11em}.door-number{font:normal clamp(30px, 4vw, 44px) var(--font-display);margin:auto 0}.door-bottom{font-size:12px}.content-page{max-width:850px}.paper{border:1px solid var(--paper-line);background:var(--paper);max-width:720px;color:var(--ink);box-shadow:inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--paper-line), var(--shadow-panel);margin-top:38px;padding:clamp(25px,5vw,55px)}.paper h2{font:normal clamp(25px, 3vw, 34px) var(--font-display);margin:20px 0 12px}.paper p{max-width:570px;line-height:1.7}.paper-label{color:var(--ink-muted);letter-spacing:.13em;font-size:11px;font-weight:700}.dev-note{border-left:2px solid var(--ink-muted);padding-left:12px;font-size:13px}.primary,.secondary{border:1px solid var(--ink-muted);min-height:44px;padding:10px 18px}.primary{background:var(--button-fill);color:var(--snow)}.secondary{color:var(--ink);background:0 0}.paper .primary{margin-top:15px}.sack-button{z-index:2;min-width:44px;min-height:44px;color:var(--amber);background:0 0;border:0;place-items:center;padding:0;display:grid;position:fixed;bottom:24px;right:clamp(20px,4vw,50px)}.sack-symbol{font-size:26px;line-height:1}.sack-icon{object-fit:contain;width:30px;height:30px}dialog{border:1px solid var(--paper-line);background:var(--paper);width:min(480px,100%);max-width:100%;height:100%;max-height:100%;color:var(--ink);box-shadow:var(--shadow-panel);margin:0 0 0 auto;padding:0}dialog::backdrop{background:var(--veil)}.dialog-header{border-bottom:1px solid var(--paper-line);justify-content:space-between;align-items:start;padding:30px;display:flex}.dialog-header .eyebrow{color:var(--ink-muted)}.dialog-header h2{font:normal 30px var(--font-display);margin:0}.close{min-width:44px;min-height:44px;color:inherit;background:0 0;border:0;font-size:32px;line-height:1}.dialog-body{padding:32px;line-height:1.65}.dialog-body h3{font:normal 24px var(--font-display)}.empty-icon{color:var(--ink-muted);font-size:60px}.actions{flex-wrap:wrap;align-items:center;gap:10px;margin:24px 0;display:flex}.small{font-size:13px}.text-button{min-height:44px;color:var(--ink);background:0 0;border:0;padding:0;text-decoration:underline}.notice,.floating-notice{background:var(--paper-light);color:var(--ink);padding:12px 20px}.floating-notice{z-index:3;max-width:340px;position:fixed;bottom:90px;right:20px}.day-columns{grid-template-columns:1fr 1fr;gap:16px;display:grid}.day-columns .paper{margin-top:16px}.day-columns h3{font:normal 24px var(--font-display)}.document-card{border:1px solid var(--paper-line);background:var(--paper-light);width:100%;min-height:50px;color:var(--ink);text-align:left;justify-content:space-between;margin:8px 0;padding:12px;display:flex}form label{margin:16px 0 5px;display:block}form input{border:1px solid var(--ink-muted);background:var(--paper-light);width:100%;min-height:44px;color:var(--ink);margin-bottom:10px;padding:8px;display:block}.light-button{border-color:var(--line-light);color:var(--snow);margin-top:22px}.viewer{width:min(800px,95vw);height:auto;max-height:90vh;margin:auto;overflow:auto}.document-scroll{overscroll-behavior:contain;max-height:55vh;overflow:auto}.document-image{max-width:100%;height:auto}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.inventory-card{border:1px solid var(--paper-line);background:var(--paper-light);min-height:130px;color:var(--ink);flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:12px;display:flex}.inventory-card.exhausted img,.item-detail.exhausted img{filter:grayscale()}.image-fallback{color:var(--ink-muted);font-size:48px;line-height:1}.inventory-card img{object-fit:contain;max-width:100%;max-height:90px}.item-detail{border-top:1px solid var(--paper-line);margin-top:24px}.item-detail img{max-width:100%;max-height:300px}.item-image-scroll{max-height:60vh;overflow:auto}.item-image-scroll.zoomed img{width:200%;max-width:none;max-height:none}.fixture{border:2px dashed var(--amber-soft);margin-top:80px;padding:24px}.fixture .paper,.fixture .inventory-card{color:var(--ink)}.fixture .secondary{color:inherit;border-color:currentColor}.switch-bank{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0;padding:0;display:grid}.switch-bank legend{margin-bottom:8px}.switch-control{border:1px solid var(--paper-line);align-items:center;gap:8px;min-height:48px;margin:0;padding:8px;display:flex}.switch-control input{width:24px;height:24px;min-height:24px;accent-color:var(--switch-accent);flex:none;margin:0}.switch-control span:last-child{margin-left:auto;font-size:12px}.notes{margin-top:24px}.notes summary{cursor:pointer;min-height:44px;padding:10px 0}.notes p{font-size:13px}.grid-scroll{max-width:100%;overflow:auto}.notes table{border-collapse:collapse}.notes th,.notes td{border:1px solid var(--paper-line);text-align:center;padding:4px}.note-cell{border:1px solid var(--paper-line);background:var(--paper-light);min-width:44px;min-height:44px;color:var(--ink)}.narrative{white-space:pre-wrap}@media (width<=800px){.topbar{flex-wrap:wrap;gap:8px}.brand{flex:1}.topbar nav{order:3;justify-content:space-between;width:100%}.topbar nav button{flex:1;padding:0 8px}.settings{padding:0 10px;font-size:12px}.calendar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.heading-note{display:none}.day-columns{grid-template-columns:1fr}}@media (width<=480px){.calendar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.door{min-height:120px;padding:11px}.door-top{font-size:9px}.door-bottom{font-size:11px}.page-heading h1,.content-page h1{font-size:42px}.sack-button{bottom:15px;right:15px}}@media (orientation:portrait){.day-columns{grid-template-columns:1fr}}.notes-text{margin-top:24px;display:block}.notes-text textarea{border:1px solid var(--ink-muted);background:var(--paper-light);width:100%;min-height:110px;color:var(--ink);font:inherit;margin:8px 0;padding:10px;display:block}.notes-text textarea:focus-visible{outline:3px solid var(--focus-dark);outline-offset:3px}.notes-text small{display:block}.fixture .primary:disabled{cursor:not-allowed;opacity:.7}.fixture nav [aria-current=page]{background:var(--paper);color:var(--ink)}.calendar-illustration{object-fit:contain;width:min(100%,1050px);max-height:340px;margin:var(--space-5) auto 0;display:block}.sack-icon{width:110px;height:110px}@media (width<=480px){.calendar-illustration{margin-top:var(--space-4)}.sack-icon{width:86px;height:86px}}:root{--backdrop-veil:#11131ec2;--wood:#302529;--wood-dark:#211d26;--brass:#d5b27b;--paper-edge:#8c7768;--paper-grain:#61453c09}body{background-color:var(--night-deep);background-image:radial-gradient(circle at 15% 18%,#e7dfe221 0 1px,#0000 1.6px),radial-gradient(circle at 74% 40%,#e7dfe217 0 1px,#0000 1.5px),linear-gradient(165deg,#292838,#171b29 60%,#201c29);background-size:112px 113px,167px 163px,auto}.topbar{background:repeating-linear-gradient(3deg, transparent 0 13px, #e5be8809 14px 15px), var(--wood-dark);border-bottom:3px double var(--brass);box-shadow:0 6px 22px #07081073}.brand-mark{border:2px solid var(--brass);box-shadow:inset 0 0 0 3px var(--wood-dark), inset 0 0 0 4px var(--brass);border-radius:50%}.brand strong{color:#f3e5d2;font-size:22px}.topbar nav button{font-family:var(--font-display);letter-spacing:.02em;font-size:17px}.topbar nav .nav-active{color:#ffe2ae}.settings{border-color:#a38a72;border-radius:3px}main{max-width:1320px}.page-heading{border-bottom:3px double #d5b27ba8;align-items:center;padding-bottom:18px}.page-heading h1,.content-page h1{color:#f8ecdc;text-shadow:0 3px 12px #080912}.page-heading .eyebrow,.content-page>.eyebrow{letter-spacing:.2em}.page-heading p:not(.eyebrow),.content-page>.lead{color:#e3dce0;text-shadow:0 2px 6px #10121f}.heading-note{font-family:var(--font-display);font-size:15px;font-style:italic}.calendar-illustration{filter:drop-shadow(0 13px 14px #0808108c);width:min(100%,1050px);max-height:300px;margin:14px auto 0}.legend{color:#e6dce0;margin-top:22px}.calendar-grid{gap:14px}.door{background:repeating-linear-gradient(92deg, transparent 0 17px, #0a0a102e 18px 19px), var(--wood);border:3px solid #7d685d;border-radius:48% 48% 5px 5px/20% 20% 5px 5px;min-height:158px;padding:25px 16px 17px;box-shadow:inset 0 0 0 2px #251e23,0 5px 12px #08090f66}.door:after{border:1px solid #dec09154;border-radius:48% 48% 2px 2px/20% 20% 2px 2px;inset:6px}.door:disabled{color:#ded7dd;background:repeating-linear-gradient(92deg,#0000 0 17px,#06080e2b 18px 19px),#292732;border-color:#635760}.door.open{border-color:var(--brass);background:repeating-linear-gradient(92deg,#0000 0 17px,#150d1226 18px 19px),#51383a;box-shadow:inset 0 0 0 2px #2c2025,0 5px 18px #c48f5038}.door.open:hover{background-color:#66464a}.door.done{background:repeating-linear-gradient(92deg,#0000 0 17px,#080b0f26 18px 19px),#414647;border-color:#9da7a2}.door-number{color:#f4e5cd;text-shadow:0 2px 2px #17151d;font-size:clamp(34px,4vw,48px)}.door-top{color:#f2d6a7;font-size:10px}.door-bottom{color:#f3e7d6}.content-page{border-left:3px double var(--brass);background:#141621e8;padding:clamp(18px,3vw,32px);box-shadow:0 12px 30px #06070e42}.content-page[hidden]{display:none}.paper,dialog{border:1px solid var(--paper-edge);background-color:var(--paper);background-image:repeating-linear-gradient(0deg, var(--paper-grain) 0 1px, transparent 1px 5px), linear-gradient(130deg, #fffbec8c, transparent 62%)}.paper{box-shadow:inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--paper-edge), 0 12px 30px #07080f5c}.paper h2,.dialog-header h2,.dialog-body h3{color:#352a2e}.document-card{border:1px solid var(--paper-edge);font-family:var(--font-display);background:#faf5ead6;border-left:4px solid #89705c;font-size:17px}.primary{background:#4a3032;border-color:#725a47;box-shadow:inset 0 0 0 2px #4a3032,inset 0 0 0 3px #e5c4946b}.primary:hover{background:#604044}.sack-button{filter:drop-shadow(0 7px 7px #08080e99)}@media (width<=800px){.topbar nav button{font-size:16px}.calendar-grid{gap:10px}.door{min-height:145px}}@media (width<=480px){.door{min-height:125px;padding:22px 11px 12px}.door-number{font-size:36px}.calendar-grid{gap:7px}.content-page{padding:18px}}.calendar-grid{background:repeating-linear-gradient(91deg,#ffe1b106 0 2px,#0000 2px 42px),#211b23;border:4px double #a48768;gap:clamp(10px,1.5vw,20px);padding:clamp(14px,2.5vw,28px);box-shadow:inset 0 0 0 5px #17151c,0 15px 35px #05070d73}.calendar-grid .door{text-align:center;background:repeating-linear-gradient(90deg,#0000 0 22px,#09080e29 22px 24px),linear-gradient(#3b3035,#24212a);border:4px solid #8c735a;border-radius:44% 44% 5px 5px/23% 23% 5px 5px;flex-direction:column;justify-content:flex-start;align-items:center;min-width:0;min-height:176px;padding:31px 10px 14px;transition:transform .16s,box-shadow .16s,border-color .16s;display:flex;position:relative;overflow:visible;box-shadow:inset 0 0 0 2px #1a171d,0 5px 9px #00000070}.calendar-grid .door:after{content:"";pointer-events:none;border:1px solid #dbbd8d73;border-radius:44% 44% 2px 2px/23% 23% 2px 2px;position:absolute;inset:6px}.calendar-grid .door:before{content:"";pointer-events:none;background:#52464a;border:2px solid #9b8063;border-radius:50%;width:10px;height:10px;position:absolute;top:9px;left:calc(50% - 5px);box-shadow:0 0 0 2px #201a20}.calendar-grid .door-top,.calendar-grid .door-bottom{z-index:1;position:relative}.calendar-grid .door-top{color:#d9c7ad;letter-spacing:.1em;max-width:100%;font-size:10px;line-height:1.3}.calendar-grid .door-number{color:#f5e4c8;background:#211d23;border:1px solid #a28763;border-radius:50%;place-items:center;width:min(100%,78px);min-height:58px;margin:auto 0;font-size:clamp(32px,3.7vw,44px);line-height:1;display:grid;box-shadow:inset 0 0 0 3px #30262a,inset 0 0 0 4px #c2a17080}.calendar-grid .door-bottom{color:#e6dbd0;font-size:12px;line-height:1.3}.calendar-grid .door:disabled{color:#e1dadd;background:repeating-linear-gradient(90deg,#0000 0 22px,#05060b26 22px 24px),linear-gradient(#302c34,#24232c);border-color:#695e5c}.calendar-grid .door:disabled:before{background:#514950;border-color:#746967}.calendar-grid .door.open{background:repeating-linear-gradient(90deg,#0000 0 22px,#180d1026 22px 24px),linear-gradient(#68484a,#35272e);border-color:#dfb97c;box-shadow:inset 0 0 0 2px #332229,0 0 18px #e8a85347,0 6px 10px #0000006b}.calendar-grid .door.open:before{background:#ffe0a0;border-color:#e8b875;box-shadow:0 0 0 2px #51352c,0 0 14px 5px #ffb95ab3}.calendar-grid .door.open:hover,.calendar-grid .door.open:focus-visible{transform:translateY(-2px);box-shadow:inset 0 0 0 2px #332229,0 0 23px #e8a85373,0 8px 12px #0006}.calendar-grid .door.done{background:repeating-linear-gradient(90deg,#0000 0 22px,#090c0f24 22px 24px),linear-gradient(#50565a,#2e3439);border-color:#a3afa6}.calendar-grid .door.done:before{content:"✓";color:#f3f5e8;width:18px;height:18px;font:bold 12px/1 var(--font-body);background:#38463f;border:1px solid #cbd8cc;place-items:center;display:grid;top:6px;left:calc(50% - 9px)}@media (orientation:portrait) and (width>=801px){.calendar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=800px){.calendar-grid .door{min-height:160px}}@media (width<=480px){.calendar-grid{gap:8px;padding:10px}.calendar-grid .door{min-height:142px;padding:29px 5px 11px}.calendar-grid .door-number{width:min(100%,64px);min-height:48px;font-size:32px}.calendar-grid .door-top{font-size:9px}.calendar-grid .door-bottom{font-size:11px}}@media (prefers-reduced-motion:reduce){.calendar-grid .door{transition:none}}.diary-view{max-width:980px;margin:0 auto}.diary-heading{margin-bottom:clamp(26px,4vw,45px)}.diary-heading h1{color:#f8ecdc;font:normal clamp(42px, 6vw, 68px)/1 var(--font-display);letter-spacing:-.025em;text-shadow:0 3px 12px #080912;margin:0 0 14px}.diary-heading>p:not(.eyebrow){max-width:590px;color:var(--lavender);line-height:1.65}.diary-book{background:repeating-linear-gradient(93deg,#e0ae7606 0 2px,#0000 2px 24px),#332328;border:2px solid #8b6a4f;border-radius:5px 12px 12px 5px;padding:clamp(10px,2vw,20px);display:flex;box-shadow:inset 0 0 0 4px #251b21,0 20px 50px #05060e80}.diary-book-edge{background:linear-gradient(90deg,#21191e,#51372f 65%,#241a20);border-right:2px solid #80624e;flex:0 0 clamp(12px,3vw,28px)}.diary-pages{background:#d9c9ad;flex:1;min-width:0}.diary-page{color:#342c29;background:repeating-linear-gradient(0deg,#6f543d06 0 1px,#0000 1px 6px),#f0e7d4;border:1px solid #baa98c;min-height:570px;padding:clamp(32px,6vw,76px);position:relative;box-shadow:inset 13px 0 18px -15px #3e292273}.diary-page+.diary-page{border-top:5px solid #b9a98c}.diary-page-header,.diary-empty-top{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.diary-kicker,.diary-empty-label{color:#795d4e;font:700 11px var(--font-label);letter-spacing:.17em;text-transform:uppercase}.diary-date{color:#766358;font:italic 15px var(--font-display);margin:10px 0 0}.diary-page-number,.diary-empty-mark{color:#80654f;width:50px;height:50px;font:20px var(--font-display);border:1px solid #9e8066;border-radius:50%;flex:none;place-items:center;display:grid}.diary-chapter h2,.diary-empty h2{color:#392c2c;font:normal clamp(27px, 3.5vw, 40px)/1.2 var(--font-display);margin:35px 0 18px}.diary-rule{border-top:1px solid #987759;border-bottom:1px solid #c4ae91;width:84px;height:3px;margin:24px 0 30px}.diary-prose{color:#3c322e;font:18px/1.85 var(--font-display);overflow-wrap:anywhere}.diary-prose>p{white-space:pre-wrap;margin:0 0 1.3em}.diary-dialogue{color:#59433c;border-left:2px solid #ad8d6c;margin:1.6em 0 1.6em clamp(12px,4vw,38px);padding:3px 0 3px 22px;font-style:italic}.diary-dialogue p{white-space:pre-wrap;margin:0 0 8px}.diary-dialogue cite{color:#796051;font:normal 13px var(--font-body);letter-spacing:.04em;display:block}.diary-illustration{float:right;background:#f8f0e0;border:1px solid #b6a085;width:min(38%,230px);margin:0 0 20px 28px;padding:6px;box-shadow:0 3px 9px #3f2b211f}.diary-illustration img{width:100%;height:auto;display:block}.diary-return{clear:both;color:#573b32;min-height:44px;font:16px var(--font-display);text-align:left;background:0 0;border:0;border-bottom:1px solid #8b6a4f;margin-top:30px;padding:9px 0}.diary-return:focus-visible{outline-color:var(--focus-dark)}.diary-empty{flex-direction:column;display:flex}.diary-empty-body{text-align:center;margin:clamp(90px,14vw,150px) 0 40px}.diary-empty h2{margin:16px 0}.diary-empty-body>p:last-child{color:#6e5e52;font:17px/1.7 var(--font-display)}.diary-empty-lines{background:repeating-linear-gradient(0deg,#0000 0 34px,#8c715530 35px 36px);flex:1;min-height:90px}@media (width<=600px){.diary-book{padding:8px}.diary-page{min-height:490px;padding:28px 23px}.diary-prose{font-size:17px}.diary-illustration{float:none;width:min(100%,230px);margin:0 0 24px}.diary-empty-body{margin-top:95px}}.sack-button{touch-action:manipulation;transform-origin:bottom;transition:transform .14s,filter .14s}.sack-button:active{filter:drop-shadow(0 3px 4px #08080ea6)brightness(1.12);transform:scale(.95)}.sack-symbol{color:#ffe0a0;text-shadow:0 2px 5px #101018;place-items:center;width:54px;height:54px;font-size:38px;display:grid}html{scroll-padding-bottom:170px}main{padding-bottom:max(180px, calc(env(safe-area-inset-bottom,0px) + 160px))}.inventory-drawer .dialog-header{background:#ecdfccd9;border-bottom:3px double #9b8067}.inventory-drawer .dialog-header h2{font-family:var(--font-display)}.inventory-drawer .dialog-body{padding-top:26px}.inventory-drawer .inventory-grid{gap:12px}.inventory-drawer .inventory-card{background:#f6eddf;border:1px solid #aa957d;min-height:150px;padding:14px 10px;box-shadow:inset 0 0 0 4px #f6eddf,inset 0 0 0 5px #d3c3ac}.inventory-drawer .inventory-card span{font-family:var(--font-display);font-size:16px}.inventory-drawer .inventory-card small{color:#6d5d51;font-size:12px}.inventory-drawer .item-detail{border-top:3px double #aa957d;padding-top:12px}.inventory-drawer .item-detail h3{margin:12px 0 18px}.inventory-drawer .item-image-scroll{margin-bottom:16px}.archive-panel{min-width:0;padding:clamp(23px,2.8vw,34px)}.archive-panel h3{color:#3b2d2b;font:normal clamp(21px, 2.4vw, 27px)/1.2 var(--font-display);border-bottom:3px double #ab947a;margin:0 0 18px;padding-bottom:12px}.archive-panel p,.archive-panel label{line-height:1.65}.archive-panel .document-card{min-height:54px;padding:14px}.archive-panel .primary{min-height:48px}@media (width>=801px) and (orientation:landscape){.content-page{max-width:min(850px,100% - 120px)}}@media (width<=480px){.inventory-drawer .dialog-body,.archive-panel{padding:24px 20px}}@media (prefers-reduced-motion:reduce){.sack-button{transition:none}}.topbar{background:#211c27;border-bottom:1px solid #80684f;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:0;padding-block:6px;display:grid;box-shadow:0 3px 12px #08080e38}.topbar .brand{grid-column:1;min-width:0}.topbar nav{width:auto;box-shadow:none;background:0 0;border:0;grid-column:2;justify-content:center;align-items:center;gap:clamp(4px,1.2vw,18px);margin:0;padding:0;display:flex}.topbar nav button{color:#d5c7c3;min-height:48px;font:16px var(--font-display);letter-spacing:.025em;background:0 0;border:0;border-radius:0;padding:0 15px;transition:color .15s;position:relative}.topbar nav button:hover{color:#ffe5b4;background:0 0}.topbar nav .nav-active{color:#ffe1a2;box-shadow:none;background:0 0}.topbar nav .nav-active:after{content:"";background:#d6ae70;height:2px;position:absolute;bottom:5px;left:15px;right:15px;box-shadow:0 0 7px #e0ab5b59}@media (width<=800px){.topbar{grid-template-columns:minmax(0,1fr);gap:2px;padding-block:8px}.topbar .brand{grid-column:1}.topbar nav{grid-column:1;width:100%}.topbar nav button{flex:0 auto;min-width:0;padding:0 14px;font-size:16px}}@media (prefers-reduced-motion:reduce){.topbar nav button{transition:none}}.site-footer{padding:24px max(var(--space-page), 130px) 24px var(--space-page);background:#271d27;border-top:4px double #9f8059;justify-content:space-between;align-items:center;gap:24px;display:flex}.footer-brand{color:#e7d4bb;align-items:center;gap:16px;display:flex}.footer-brand img{object-fit:contain;width:68px;height:68px}.footer-brand strong{font:21px var(--font-display);color:#ffe5af}.footer-brand p{font:14px var(--font-display);margin:5px 0 0}.footer-settings{color:#e7d4bb;min-height:48px;font:15px var(--font-display);background:#34252c;border:1px solid #957755;border-radius:3px;padding:0 17px;box-shadow:inset 0 0 0 2px #271d27}.footer-settings:hover{color:#fff0d5;background:#4a3034}@media (width<=600px){.site-footer{flex-direction:column;align-items:flex-start;padding-right:110px}}.preview-toggle{color:var(--lavender);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px;font-size:13px;display:flex}.preview-toggle button{border:1px solid var(--amber-soft);min-height:44px;color:var(--snow);background:#34252c;border-radius:3px;padding:8px 14px}.preview-toggle button[aria-pressed=true]{color:#ffe5af;background:#594035}.document-paper{color:#352927;overflow-wrap:anywhere;background-color:#f3e5cd;background-size:100% 100%;padding:clamp(24px,6vw,60px);font:18px/1.6 Georgia,serif}.document-paper p{margin:0 0 .8em}.document-anomalies{padding-top:clamp(60px,12vw,120px);padding-bottom:clamp(60px,12vw,120px)}.type-anomaly{font-family:Arial,sans-serif;font-size:.95em;font-weight:500}.register-scroll{overflow-x:auto}.document-register table{border-collapse:collapse;width:100%;min-width:570px;font-size:.8em}.document-register th,.document-register td{text-align:center;border:1px solid #80675a;padding:.45em}.document-register th{background:#6f44381f}.calendar-grid .door.locked{background:repeating-linear-gradient(90deg,#0000 0 22px,#05060b24 22px 24px),linear-gradient(#292731,#211f29);border-color:#554e56;box-shadow:inset 0 0 0 2px #19171e,0 5px 9px #00000059}.calendar-grid .door.locked:after{border-color:#ad9b8d3d}.calendar-grid .door.locked .door-number{color:#c9beb4;background:#211e27;border-color:#74665f;box-shadow:inset 0 0 0 3px #29252b,inset 0 0 0 4px #a7927d47}.calendar-grid .door.locked .door-top{color:#b2a4a0}.calendar-grid .door.open{border-color:#dfb97c;box-shadow:inset 0 0 0 2px #332229,0 0 20px #e8a8534d,0 6px 10px #0000006b}.calendar-grid .door.open .door-number{color:#fff0ce;background:#49302e;border-color:#dfb97c}.calendar-grid .door.done .door-number{color:#e1eadc;background:#303d38;border-color:#afc3b2;box-shadow:inset 0 0 0 3px #303d38,inset 0 0 0 4px #bed3c273}.chapter-title{color:#f8ecdc;max-width:720px;font:normal clamp(30px, 4vw, 45px)/1.15 var(--font-display);margin:0 0 1.3rem}.chapter-intro{color:#eee5df;max-width:690px;font:19px/1.85 var(--font-display);margin:0 0 clamp(36px,5vw,60px)}.chapter-intro p{margin:0 0 1.2em}.document-discovery{border-left:2px solid var(--paper-edge);font:17px/1.7 var(--font-display);margin:1.5em 0;padding-left:1em}@media (width<=600px){.chapter-intro{font-size:18px;line-height:1.75}}main.day-main{max-width:none;padding-inline:clamp(24px,3.35vw,48px)}.day-page[hidden]{display:none}.day-page{width:100%;margin-inline:auto}.day-header{text-align:center;margin:0 auto clamp(34px,5vw,64px)}.day-kicker{color:var(--amber);font:600 11px/1.5 var(--font-body);letter-spacing:.2em;text-transform:uppercase;margin:0 0 18px}.day-header h1{color:#f8ecdc;font:normal clamp(48px, 6vw, 76px)/1 var(--font-display);margin:0}.day-ornament{color:var(--amber);justify-content:center;align-items:center;gap:12px;margin:22px auto;font-size:15px;display:flex}.day-ornament:before,.day-ornament:after{content:"";background:linear-gradient(90deg, transparent, var(--amber-soft));width:72px;height:1px}.day-ornament:after{transform:rotate(180deg)}.day-header h2{color:#f8ecdc;font:normal clamp(26px, 3.3vw, 42px)/1.2 var(--font-display);margin:0}.day-date{color:var(--lavender);letter-spacing:.07em;margin:14px 0 0;font-size:14px}.day-scene{aspect-ratio:2;background:radial-gradient(at 50% 76%,#b9885c30,#0000 37%),linear-gradient(160deg,#25283b,#101421 70%,#24232d);border:1px solid #d5b27b6b;max-height:650px;overflow:hidden}.day-scene img{object-fit:cover;width:100%;height:100%;display:block}.story-chapter{color:#eee5df;max-width:70ch;font:19px/1.85 var(--font-display);margin:clamp(48px,7vw,92px) auto}.story-chapter p{margin:0 0 .85em}.day-columns{max-width:1120px;margin:0 auto}.day-columns h2{font:normal 26px/1.2 var(--font-display);margin-top:0}.day-epilogue{border-top:1px solid var(--amber-soft);color:#eee5df;max-width:70ch;font:19px/1.8 var(--font-display);margin:clamp(56px,7vw,90px) auto 0;padding-top:30px}.day-epilogue h2{color:#f8ecdc;font:normal 32px/1.2 var(--font-display);margin:8px 0 24px}.day-return{max-width:1120px;margin:48px auto 0}.day-page>.paper{margin:0 auto}@media (width<=600px){main.day-main{padding-inline:18px}.day-scene{aspect-ratio:16/9}.story-chapter,.day-epilogue{font-size:18px;line-height:1.75}}.evidence-gallery{max-width:1120px;margin:0 auto clamp(55px,7vw,90px)}.evidence-heading{margin-bottom:28px}.evidence-heading h2{color:#f8ecdc;font:normal clamp(30px, 3vw, 40px)/1.2 var(--font-display);margin:8px 0}.evidence-heading>p:last-child{color:var(--lavender);margin:0;line-height:1.6}.evidence-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,34px);display:grid}.evidence-card{color:#f8ecdc;text-align:left;min-width:0;font:inherit;background:0 0;border:0;padding:0}.evidence-thumbnail{background:#0d101b59;border:1px solid #d5b27b47;justify-content:center;align-items:center;height:clamp(190px,23vw,280px);padding:16px;display:flex}.evidence-thumbnail img{object-fit:contain;filter:drop-shadow(0 6px 8px #00000059);width:100%;height:100%}.evidence-card:hover .evidence-thumbnail,.evidence-card:focus-visible .evidence-thumbnail{border-color:var(--amber)}.evidence-title{font:normal 19px/1.35 var(--font-display);margin-top:12px;display:block}.evidence-placeholder{color:#e0d5ce;text-align:center;font:17px/1.4 var(--font-display)}.evidence-placeholder small{color:#c6b9b7;font:12px var(--font-body);margin-top:7px;display:block}.day-columns{display:block}.day-columns .archive-puzzle{max-width:720px;margin:0 auto}.evidence-viewer[open]{flex-direction:column;display:flex}.evidence-viewer{color:#352a2e;background:#eee2d0;border:1px solid #a48c74;width:min(1400px,98vw);max-width:98vw;height:96dvh;max-height:96dvh;margin:auto;overflow:hidden}.evidence-viewer::backdrop{background:#08090fe0}.evidence-viewer-header{background:#e9dbc7;border-bottom:1px solid #b9a58f;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.evidence-viewer-header h2{color:#432f32;font:normal clamp(21px, 3vw, 29px)/1.2 var(--font-display);margin:0}.evidence-close{color:#563a38;background:#fffaef80;border:1px solid #a68c75;border-radius:50%;flex:none;width:48px;height:48px;font-size:27px;line-height:1}.evidence-close:hover{background:#f9f0e0;border-color:#765447}.evidence-toolbar{background:#e3d3bd;flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:12px 20px;display:flex}.evidence-toolbar button{color:#4c3533;min-height:44px;font:16px/1.2 var(--font-display);background:#f8efe1;border:1px solid #95775f;border-radius:2px;padding:9px 16px;box-shadow:inset 0 0 0 2px #fffbf28c}.evidence-toolbar button:not(:disabled):hover{background:#fff8eb;border-color:#704c3e}.evidence-toolbar button:disabled{opacity:.5;cursor:default}.evidence-toolbar span{color:#654a40;min-width:3.5em;font:600 13px var(--font-body);text-align:center;font-variant-numeric:tabular-nums}.evidence-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#37313a;flex:1;min-height:0;overflow:auto}.evidence-full{min-width:100%;padding:20px}.evidence-full img{width:100%;max-width:none;height:auto;margin:auto;display:block}.item-detail .evidence-full img{max-height:none}.evidence-missing,.evidence-description{color:#fff4e6;padding:20px}@media (width<=700px){.evidence-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.evidence-thumbnail{height:190px;padding:10px}.evidence-viewer-header,.evidence-toolbar{padding-inline:12px}.evidence-full{padding:10px}}@media (width<=350px){.evidence-grid{grid-template-columns:1fr}}.day-columns .archive-puzzle{box-shadow:none;background:#eee2d0;border:1px solid #9b806b;border-top:3px double #865c4d}.archive-puzzle h2{color:#3b2d2b;font:normal clamp(28px, 3vw, 36px)/1.2 var(--font-display)}.archive-puzzle .answer-subtitle{color:#704a42;font:normal 20px/1.4 var(--font-display)}.archive-puzzle form{margin-top:22px}.archive-puzzle .numeric-answer{width:min(100%,310px);font:28px/1.3 var(--font-body);letter-spacing:.3em;font-variant-numeric:tabular-nums}.answer-choices{border:0;margin:0 0 20px;padding:0}.answer-choices label{align-items:center;gap:12px;min-height:44px;display:flex}.answer-choices input{accent-color:#71423f;width:20px;height:20px;min-height:20px;margin:0;display:inline-block}.answer-success{color:#415c49;font-weight:700}@media (prefers-reduced-motion:no-preference){.answer-success{animation:.35s ease-out answer-reveal}@keyframes answer-reveal{0%{opacity:0}to{opacity:1}}}.numeric-scroll{max-width:100%;margin:4px -4px 20px;padding:4px;overflow-x:auto}.numeric-code{width:max-content;position:relative}.numeric-slots{gap:8px;display:flex}.numeric-slots span{color:#4b3031;background:#faf3e8;border:1px solid #a98c74;border-bottom:3px solid #80604c;place-items:center;width:46px;height:58px;font:26px/1 ui-monospace,monospace;display:grid}.numeric-code:focus-within .numeric-slots span{border-color:#805646}.archive-puzzle .numeric-answer{color:#0000;caret-color:#693b32;letter-spacing:calc(54px - 1ch);background:0 0;border:0;width:100%;height:100%;min-height:0;margin:0;padding:0 15px;font:26px/1 ui-monospace,monospace;position:absolute;inset:0}.archive-puzzle .numeric-answer::selection{color:#0000;background:#80564640}.app-day .sack-button{right:max(8px, env(safe-area-inset-right));bottom:max(10px, env(safe-area-inset-bottom))}.app-day .sack-icon{width:84px;height:84px}.lumi-button{z-index:2;right:max(8px, env(safe-area-inset-right));bottom:calc(max(10px, env(safe-area-inset-bottom)) + 94px);color:#f5bd67;cursor:pointer;background:0 0;border:0;place-items:center;width:60px;height:68px;padding:0;display:grid;position:fixed}.lumi-button img{object-fit:contain;width:100%;height:100%}.lumi-fallback{filter:drop-shadow(0 0 8px #f5ac4199);width:44px;height:56px}.lumi-dialog{color:#f3e9df;background:radial-gradient(at 10% 0,#ba7b4438,#0000 45%),linear-gradient(145deg,#302630,#1b1d2c 80%);border:1px solid #a68a65;width:min(540px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:min(88vh,88dvh);margin:auto;overflow:auto;box-shadow:inset 0 0 0 6px #16141d8c,inset 0 0 0 7px #c6a67840,0 20px 65px #0000008c}.lumi-dialog::backdrop{background:#08090fcc}.lumi-header{align-items:center;gap:18px;padding:28px 30px 20px;display:flex}.lumi-portrait{color:#e3c184;background:radial-gradient(circle,#dc903f3d,#1b1a2359 70%);border:1px solid #e3c18473;border-radius:50%;flex:none;place-items:center;width:88px;height:88px;display:grid}.lumi-portrait img{object-fit:contain;filter:drop-shadow(0 3px 8px #e295394d);width:80px;height:80px}.lumi-portrait span{font-size:30px}.lumi-heading{flex:1;min-width:0}.lumi-heading p{color:#d7b688;font:600 10px/1.5 var(--font-body);letter-spacing:.13em;text-transform:uppercase;margin:0 0 5px}.lumi-header h2{font:normal 38px/1.1 var(--font-display);color:#fff0dc;margin:0}.lumi-header .close{color:#f3e4ce;border:1px solid #e3c18459;border-radius:50%;flex:none;align-self:flex-start;font-size:26px}.lumi-header .close:hover{background:#e3c1841f}.lumi-dialog :focus-visible{outline-color:#ffe2a4}.lumi-body{padding:0 36px 34px}.lumi-body:before{content:"";background:linear-gradient(90deg,#b5926b,#0000);height:1px;margin:0 0 22px;display:block}.lumi-body h3{font:normal 24px/1.3 var(--font-display);color:#e6c494;margin:0 0 18px}.lumi-verse{white-space:pre-line;color:#f1e4d8;font:18px/1.65 var(--font-display);margin:0 0 19px}.lumi-hint{white-space:pre-wrap}.lumi-body .actions{margin:25px 0 0}.lumi-body .actions button{min-height:48px;padding:10px 20px}.lumi-body .secondary{color:#f3e4ce;border-color:#a48a70}.lumi-body .secondary:hover{background:#e3c1841a}@media (width<=480px){.lumi-header{gap:12px;padding:24px 22px 18px}.lumi-portrait{width:68px;height:68px}.lumi-portrait img{width:64px;height:64px}.lumi-heading p{font-size:9px}.lumi-header h2{font-size:32px}.lumi-body{padding:0 24px 26px}.lumi-verse{font-size:17px}}@media (width<=600px){.app-day main.day-main{padding-inline:max(60px, env(safe-area-inset-left), env(safe-area-inset-right))}.app-day .sack-button{right:max(6px, env(safe-area-inset-right));bottom:max(6px, env(safe-area-inset-bottom))}.app-day .sack-icon{width:68px;height:68px}.lumi-button{width:48px;height:54px;right:max(6px, env(safe-area-inset-right));bottom:calc(max(6px, env(safe-area-inset-bottom)) + 76px)}}@media (width>=601px) and (width<=1366px){.app-day .sack-icon{width:128px;height:128px}.lumi-button{width:92px;height:104px;bottom:calc(max(10px, env(safe-area-inset-bottom)) + 138px)}}@media (prefers-reduced-motion:no-preference){.lumi-button img,.lumi-fallback{animation:5s ease-in-out infinite lumi-glow}@keyframes lumi-glow{0%,90%,to{filter:drop-shadow(0 2px 5px #e2953959)}94%{filter:drop-shadow(0 2px 8px #e295398c)}}}.day-columns .archive-puzzle{color:#eee5df;text-align:center;background:radial-gradient(at 50% 0,#85584c2e,#0000 65%),linear-gradient(145deg,#302630,#252330);border:1px solid #c6a67861;max-width:720px;margin:0 auto;padding:clamp(36px,5vw,58px) clamp(20px,4vw,48px);box-shadow:inset 0 0 0 5px #13131d33}.day-columns .archive-puzzle h2{color:#f8ecdc;font:normal clamp(30px, 3.4vw, 40px)/1.2 var(--font-display);margin:0}.archive-puzzle h2:after{content:"◇";color:var(--amber-soft);font:14px/1 var(--font-display);margin:16px auto 18px;display:block}.archive-puzzle .answer-subtitle{color:var(--amber);font:normal clamp(19px, 2vw, 22px)/1.4 var(--font-display);margin:0}.archive-puzzle>p:not(.answer-subtitle){color:#d8d1d5;margin:12px auto;line-height:1.65}.archive-puzzle form{width:min(100%,420px);margin:30px auto 0}.archive-puzzle form>label{color:#d8d1d5;letter-spacing:.04em;margin-bottom:10px;font-size:13px;display:block}.archive-puzzle .numeric-scroll{width:fit-content;max-width:100%;margin:0 auto 25px}.archive-puzzle .numeric-slots span{color:#fff1dc;background:#26232fe6;border:1px solid #957b62;border-bottom:2px solid #bc9668}.archive-puzzle .numeric-code:focus-within .numeric-slots span{border-color:#e3c184}.archive-puzzle .numeric-answer{caret-color:#ffe2a4}.archive-puzzle .numeric-answer::selection{background:#e3c1844d}.archive-puzzle .primary{color:#fff1dc;border-color:#a98968;min-height:48px;padding:11px 27px}.archive-puzzle .answer-success{color:#f4e7d4;justify-items:center;margin:30px auto 0;font-weight:400;display:grid}.answer-success-seal{color:#f5d7a2;width:62px;height:62px;font:24px/1 var(--font-display);background:radial-gradient(circle,#c6a67833,#2820288c);border:1px solid #c6a678;border-radius:50%;place-items:center;display:grid;box-shadow:inset 0 0 0 4px #302630,inset 0 0 0 5px #c6a67866,0 0 22px #cd975521}.answer-success-title{color:#f9ead5;font:normal 25px/1.25 var(--font-display);margin:17px 0 4px}.answer-success-detail{color:#d8c9bc;font:14px/1.6 var(--font-body);margin:0}.archive-puzzle .answer-choices,.archive-puzzle .notes,.archive-puzzle .notes-text{text-align:left}@media (width<=600px){.day-columns .archive-puzzle{padding-block:34px}}.inventory-drawer[open]{flex-direction:column;display:flex}.inventory-drawer{color:#352a2e;background:#eee3d2;border:1px solid #9e8065;width:min(920px,94vw);max-width:94vw;height:min(720px,86dvh);max-height:86dvh;margin:auto;overflow:hidden}.inventory-drawer::backdrop{background:#08090fd1}.inventory-drawer .dialog-header{background:#e7d8c3;border-bottom:1px solid #baa48c;flex:none;align-items:center;padding:20px clamp(20px,4vw,36px)}.inventory-drawer .dialog-header h2{color:#432f32;font-size:clamp(25px,3vw,32px)}.inventory-drawer .dialog-header .close{color:#563a38;border:1px solid #ab9078;border-radius:50%;font-size:26px}.inventory-drawer .dialog-body{overscroll-behavior:contain;flex:1;min-height:0;padding:clamp(20px,4vw,36px);overflow:auto}.inventory-drawer .inventory-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}.inventory-grid[hidden]{display:none}.inventory-drawer .inventory-card{background:#f7efe3;border:1px solid #bca68b;gap:8px;min-height:190px;padding:18px 12px;box-shadow:inset 0 0 0 5px #f7efe3,inset 0 0 0 6px #dfcfba}.inventory-drawer button.inventory-card:hover{background:#fff8ed;border-color:#86654d}.inventory-drawer .inventory-card img{width:100%;max-width:120px;max-height:110px}.inventory-drawer .inventory-card span{line-height:1.3}.inventory-drawer .inventory-card{background:#f6eddf;justify-content:flex-start;gap:0;min-height:220px;padding:10px}.inventory-drawer .inventory-card-art{background:radial-gradient(#fffaf0,#ecddc9);place-items:center;width:100%;height:140px;padding:12px;display:grid}.inventory-drawer .inventory-card-art img{object-fit:contain;filter:drop-shadow(0 5px 5px #5a40352b);width:100%;max-width:145px;height:100%;max-height:116px}.inventory-drawer .inventory-card.exhausted .inventory-card-art img{filter:grayscale()drop-shadow(0 5px 5px #5a40352b)}.inventory-drawer .inventory-card-title{color:#503a32;text-align:center;width:100%;font:normal 17px/1.3 var(--font-display);padding:14px 5px 8px;display:block}.inventory-drawer .inventory-card small{color:#796b5f;font:11px/1.3 var(--font-body);margin:0 0 8px}.inventory-drawer button.inventory-card:focus-visible{outline-offset:3px;outline:3px solid #8c5e40}.inventory-drawer .item-detail{border:0;margin:0;padding:0}.inventory-back{color:#67483c;min-height:44px;font:16px var(--font-display);text-underline-offset:4px;background:0 0;border:0;padding:8px 0;text-decoration:underline}.item-detail-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(20px,4vw,42px);margin-top:18px;display:grid}.inventory-drawer .item-image-scroll{background:radial-gradient(circle,#fff8ea,#e8d8c2);border:1px solid #d1bea5;place-items:center;min-height:250px;max-height:50vh;margin:0;padding:18px;display:grid;overflow:auto}.inventory-drawer .item-image-scroll img{object-fit:contain;width:auto;max-width:100%;max-height:min(330px,43vh)}.inventory-drawer .item-image-button{cursor:zoom-in;width:100%;position:relative}.inventory-drawer .item-image-button:hover{border-color:#9b7859}.inventory-drawer .item-image-button:focus-visible{outline-offset:3px;outline:3px solid #8c5e40}.item-image-hint{color:#f6e9d4;font:11px/1.3 var(--font-body);background:#352630e8;padding:5px 8px;position:absolute;bottom:10px;right:10px}.inventory-drawer .item-image-scroll.zoomed{display:block}.inventory-drawer .item-image-scroll.zoomed img{width:200%;max-width:none;max-height:none}.inventory-kicker{color:#8a6750;font:600 11px/1.5 var(--font-body);letter-spacing:.12em;text-transform:uppercase}.inventory-drawer .item-detail h3{color:#46332e;font:normal clamp(25px, 3vw, 34px)/1.2 var(--font-display);margin:8px 0 14px}.item-detail-copy>p:not(.inventory-kicker){color:#594b43;line-height:1.7}.item-detail-copy .secondary{color:#513b33;border-color:#98785f;margin-top:12px}@media (width<=600px){.inventory-drawer{width:94vw;height:88dvh;max-height:88dvh}.inventory-drawer .inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.inventory-drawer .inventory-card{min-height:160px}.item-detail-content{grid-template-columns:1fr}.inventory-drawer .item-image-scroll{min-height:180px}}.reward-announcement{right:max(20px, env(safe-area-inset-right));z-index:5;pointer-events:none;position:fixed;bottom:165px}.reward-notice{color:#f4e7d2;max-width:min(310px,100vw - 40px);font:13px/1.5 var(--font-body);background:#352630;border:1px solid #c1a277;align-items:center;gap:12px;padding:14px 18px;display:flex;box-shadow:0 8px 26px #08080eb3,inset 0 0 0 3px #352630,inset 0 0 0 4px #8f7454}.reward-notice strong{color:#f2d5a2;font:18px/1.3 var(--font-display)}.reward-spark{color:#eacb91;font-size:26px}.reward-flight{right:max(35px, env(safe-area-inset-right));z-index:5;color:#966638;pointer-events:none;background:#f5e9d5;border:1px solid #cdb083;border-radius:50%;place-items:center;width:64px;height:64px;display:grid;position:fixed;bottom:105px;box-shadow:0 0 24px #e3ba72a8}.reward-flight img{object-fit:contain;border-radius:50%;width:90%;height:90%}@media (prefers-reduced-motion:no-preference){.reward-notice{animation:.45s ease-out both reward-notice-in}.reward-flight{animation:1.8s ease-in .5s both reward-to-sack}.sack-reward{animation:.7s ease-in-out 2s sack-arrival}@keyframes reward-notice-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes reward-to-sack{0%{opacity:0;transform:translate(-65px,-90px)scale(.7)}20%,55%{opacity:1;transform:translate(-65px,-90px)scale(1)}to{opacity:0;transform:translate(10px,60px)scale(.2)}}@keyframes sack-arrival{0%,to{transform:rotate(0)}30%{filter:drop-shadow(0 0 14px #f2ce88);transform:rotate(-8deg)scale(1.12)}65%{transform:rotate(6deg)scale(1.08)}}}@media (prefers-reduced-motion:reduce){.reward-flight{display:none}}.app-day main.day-main{padding-inline:max(78px, env(safe-area-inset-left), env(safe-area-inset-right))}@media (width<=600px){.app-day main.day-main{padding-inline:max(60px, env(safe-area-inset-left), env(safe-area-inset-right))}}.evidence-transcript{color:#44332d;background:#f4e8d4;min-width:100%;min-height:100%;padding:clamp(28px,6vw,76px)}.evidence-transcript p{white-space:pre-wrap;max-width:750px;font:18px/1.85 var(--font-display);margin:0 auto}.evidence-accessible-text{color:#44332d;background:#f4e8d4;margin:20px;padding:20px}.evidence-accessible-text summary{cursor:pointer}.evidence-accessible-text p{white-space:pre-wrap;line-height:1.7}.diary-prose>p{white-space:pre-line}.switch-bank{background:linear-gradient(140deg,#49434a,#292730);border:1px solid #a48a68;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0 24px;padding:18px;box-shadow:inset 0 0 0 4px #302d34,inset 0 0 0 5px #8e795e}.switch-bank legend{color:#e9d5b6;font:14px var(--font-display);padding:0 10px}.switch-control{color:#f4e2c7;text-align:center;cursor:pointer;background:linear-gradient(155deg,#554b49,#302b30);border:1px solid #806b57;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:154px;padding:12px 4px;display:flex;position:relative;box-shadow:inset 0 0 0 3px #302b3026}.switch-control input{opacity:0;width:1px;height:1px;min-height:0;position:absolute}.switch-control:has(input:focus-visible){outline-offset:2px;outline:3px solid #f3d39a}.switch-label{color:#f4dfbc;width:27px;height:23px;font:17px/1 var(--font-display);border-bottom:1px solid #9d8263;place-items:center;display:grid}.switch-lamp{background:#423637;border:1px solid #b2946b;border-radius:50%;width:10px;height:10px}.switch-control input:checked~.switch-lamp{background:#ffcf75;box-shadow:0 0 10px #f9c471}.switch-lever{background:#25232a;border:1px solid #786451;border-radius:12px;width:24px;height:45px;position:relative}.switch-lever:after{content:"";background:linear-gradient(90deg,#a48a68,#f1ddad,#8a7154);border-radius:6px;width:10px;height:19px;transition:transform .18s;position:absolute;bottom:4px;left:6px}.switch-control input:checked~.switch-lever:after{transform:translateY(-16px)}.switch-control span.switch-state:last-child{color:#e3d0b7;font:10px/1.2 var(--font-body);letter-spacing:.04em;text-align:center;align-self:center;margin:0}.puzzle-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.switch-reset{color:#f1dfc8;min-height:48px;font:15px var(--font-display);cursor:pointer;background:0 0;border:1px solid #9b806b;padding:10px 18px}.switch-reset:focus-visible{outline-offset:3px;outline:2px solid #f3d39a}.circuit-replay{color:#f1dfc8;margin-top:28px}.circuit-replay summary{cursor:pointer;text-underline-offset:4px;min-height:44px;text-decoration:underline}@media (width<=420px){.switch-bank{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:no-preference){.circuit-feedback{animation:.55s ease-out circuit-flicker}@keyframes circuit-flicker{0%{opacity:.5}50%{opacity:.85}to{opacity:1}}}@media (prefers-reduced-motion:reduce){.switch-lever:after{transition:none}}.circuit-success{position:relative}.circuit-success-lights{gap:12px;margin-bottom:20px;display:flex}.circuit-success-lights i{background:#ffd78d;border:1px solid #d1ad74;border-radius:50%;width:11px;height:11px;box-shadow:0 0 12px #f7be69}@media (prefers-reduced-motion:no-preference){.circuit-success-lights i{animation:.55s ease-out both circuit-lamp}.circuit-success-lights i:nth-child(2){animation-delay:.12s}.circuit-success-lights i:nth-child(3){animation-delay:.24s}.circuit-success-lights i:nth-child(4){animation-delay:.36s}.circuit-success .answer-success-seal{animation:1.1s ease-out circuit-warmth}@keyframes circuit-lamp{0%{opacity:.25;box-shadow:none}to{opacity:1;box-shadow:0 0 12px #f7be69}}@keyframes circuit-warmth{0%{box-shadow:inset 0 0 0 4px #302630}to{box-shadow:inset 0 0 0 4px #302630,0 0 24px #e7b96b88}}}.evidence-navigation{background:#e9dbc7;border-bottom:1px solid #c5b29a;flex:none;justify-content:center;align-items:center;gap:12px;padding:8px 16px;display:flex}.evidence-navigation button{color:#67483c;min-height:44px;font:16px/1.2 var(--font-display);cursor:pointer;background:0 0;border:1px solid #0000;padding:8px 16px}.evidence-navigation button span{color:#a47c52;font-size:20px}.evidence-navigation button:not(:disabled):hover{background:#f7ecdb;border-color:#c3aa8d}.evidence-navigation button:disabled{opacity:.38;cursor:default}.evidence-count{color:#947a64;text-align:center;min-width:3em;font:11px var(--font-label);letter-spacing:.08em}.evidence-zoom{z-index:2;right:max(18px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));color:#f2d5a4;background:#2f252c;border:1px solid #ac9070;align-items:center;gap:2px;padding:5px 7px 5px 13px;display:flex;position:absolute;box-shadow:0 5px 20px #0008,inset 0 0 0 3px #2f252c,inset 0 0 0 4px #725b49}.evidence-zoom-icon{flex:none;width:21px;height:21px;margin-right:4px}.evidence-zoom button{color:#f7e9d3;min-width:44px;min-height:44px;font:25px/1 var(--font-display);cursor:pointer;background:0 0;border:0;padding:0 6px}.evidence-zoom button:not(:disabled):hover{background:#574039}.evidence-zoom button:disabled{opacity:.4;cursor:default}.evidence-zoom .evidence-zoom-reset{min-width:55px;font:600 12px var(--font-label);font-variant-numeric:tabular-nums}.evidence-zoom button:focus-visible,.evidence-navigation button:focus-visible{outline-offset:-3px;outline:2px solid #d7a456}@media (width<=480px){.evidence-navigation{gap:3px}.evidence-navigation button{padding-inline:9px}.evidence-zoom{bottom:10px;right:10px}}.day-epilogue{text-align:center;border:0;max-width:70ch;margin:clamp(64px,9vw,112px) auto 0;padding:0}.day-epilogue:before{content:"✦";color:#d2ad79;background:linear-gradient(90deg,#0000,#9c805e 35%,#0000 46% 54%,#9c805e 65%,#0000);width:min(240px,70%);margin:0 auto 30px;font-size:14px;line-height:1;display:block}.day-epilogue .eyebrow{color:#c6a77b;letter-spacing:.16em}.day-epilogue h2{margin:10px 0 30px;font-size:clamp(32px,4vw,44px);font-weight:400}.epilogue-story{text-align:left;color:#eee5df;font:normal 19px/1.85 var(--font-display)}.epilogue-story>p{margin:0 0 1.1em}.epilogue-dialogue{color:#f4ddc0;border-left:1px solid #c29b6c;margin:30px 0 34px;padding:4px 0 4px 24px}.epilogue-dialogue p{margin:0;font-style:italic}.epilogue-dialogue cite{color:#c5a783;font:normal 11px/1.5 var(--font-label);letter-spacing:.13em;text-transform:uppercase;margin-top:8px;display:block}.epilogue-reward{text-align:left;border-top:1px solid #806b57;border-bottom:1px solid #806b57;align-items:center;gap:14px;margin:24px auto 0;padding:14px 22px;display:inline-flex}.epilogue-reward-mark{color:#d7b880;font-size:24px}.epilogue-reward p{margin:0;line-height:1.4}.epilogue-reward strong{color:#c8a77c;font:600 10px/1.4 var(--font-label);letter-spacing:.1em;text-transform:uppercase;display:block}.epilogue-reward p span{color:#f5e7d4;font:17px/1.4 var(--font-display);margin-top:3px;display:block}.day-return{text-align:center;max-width:70ch;margin:clamp(54px,7vw,80px) auto 0}.day-return-button{color:#ead7ba;min-height:48px;font:16px/1.3 var(--font-display);cursor:pointer;background:0 0;border:1px solid #a58b6b;padding:11px 22px;transition:color .15s,border-color .15s,background .15s}.day-return-button span{color:#cbaa79;margin-right:8px;display:inline-block}.day-return-button:hover{color:#fff4e1;background:#d8b37a14;border-color:#dfc18f}.day-return-button:focus-visible{outline-offset:4px;outline:2px solid #f4d6a1}@media (width<=600px){.epilogue-story{font-size:18px;line-height:1.75}}@media (prefers-reduced-motion:reduce){.day-return-button{transition:none}}.switchboard{max-width:760px}.board-grid{aspect-ratio:1;background:#211b22;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;width:100%;padding:5px;display:grid}.board-cell{color:#fff3ce;background:#403b3a;border:1px solid #6d5c50;min-width:0;min-height:0;padding:0;position:relative}.board-cell.empty{background:#25242a;border-color:#343039}.board-cell.depot{background:#57463c;border-style:dashed}.board-cell svg{width:100%;height:100%;display:block}.board-cell line{stroke:#e1bb76;stroke-width:12px;stroke-linecap:round}.board-cell span,.board-cell b{background:#222b;border-radius:3px;padding:2px;font:700 clamp(10px,2vw,16px) sans-serif;position:absolute}.board-cell span{top:1px;right:1px}.board-cell b{bottom:1px;left:1px}.board-cell:disabled{opacity:.65}.board-controls{flex-wrap:wrap;gap:.4rem;margin:1rem 0;display:flex}.board-controls button{min-width:44px;min-height:44px}.board-lit .track,.board-lit button.board-cell{animation:1.5s ease-in both board-glow}@keyframes board-glow{0%{filter:brightness(.8)}to{filter:brightness(1.5)}}@media (prefers-reduced-motion:reduce){.board-lit .track,.board-lit button.board-cell{animation:none}}.gear-tray,.gear-actions,.gear-seat-row{flex-wrap:wrap;gap:.5rem;margin:1rem 0;display:flex}.gear-tray button,.gear-actions button,.gear-seat-row button{min-height:44px}.gear-tray button[aria-pressed=true]{background:#76542f;outline:3px solid #e2ba72}.gear-planes{border-left:4px solid #97764a;padding-left:.7rem}.gear-plane{background:#292b2b;border:1px solid #80684c;margin:.5rem 0;padding:.5rem}.gear-plane h3{margin:.3rem}.gear-svg-scroll{overflow-x:auto}.gear-plane svg{color:#e4d4b0;width:100%;min-width:480px;height:auto;display:block}.gear-plane polygon{fill:#a27a42;stroke:#e5c78b;stroke-width:1px}.gear-plane g circle{fill:#43382c;stroke:#e7cb8c;stroke-width:1px}.gear-plane g path{stroke:#d5b275;stroke-width:2px}.gear-plane g text{fill:#fff7de;font:700 8px sans-serif}.gear-plane .gear-axis-line{stroke:#6f7471;stroke-width:1px}.gear-plane .gear-axis-label,.gear-plane .gear-locked{fill:#ddd;font:700 7px sans-serif}.gear-seat-row{justify-content:space-around;align-items:center}.gear-turn{animation:linear infinite gear-rotate}@keyframes gear-rotate{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.gear-turn{animation:none}}.gear-shafts{color:#e6c994;justify-content:space-around;gap:.5rem;font-weight:700;display:flex}.switchboard{text-align:left;max-width:760px;margin-inline:auto}.switchboard-intro{color:#ded0b5;margin-bottom:1rem}.switchboard-status{color:#efd9ae;flex-wrap:wrap;align-items:center;gap:.5rem .8rem;font-size:.9rem;display:flex}.status-lamp{background:#742c1b;border:2px solid #b68a4e;border-radius:50%;width:.75rem;height:.75rem;box-shadow:0 0 0 2px #2e221a}.status-lamp.is-lit{background:#9bd79b;box-shadow:0 0 9px #73c67a}.lever-counts{font-variant-numeric:tabular-nums;color:#e2c58f;font-size:.88rem}.switchboard-frame{background:linear-gradient(125deg,#5a2e10,#c5944d 12%,#68401e 22%,#d6a552 51%,#593718 72%,#b47a32 91%,#4b2d19);border:3px solid #523018;border-radius:8px;padding:clamp(8px,2vw,15px);box-shadow:inset 0 1px 2px #ffdc8c,0 7px 22px #0009}.switchboard-plate{background:linear-gradient(#37271b,#211c19 10%,#282018 85%,#4a301c);border:2px solid #4e2e19;padding:clamp(7px,1.6vw,13px);position:relative;box-shadow:inset 0 0 0 2px #b18449,inset 0 0 25px #080706}.switchboard-plate:before,.switchboard-plate:after{content:"✣";color:#d3a65e;text-shadow:0 1px #1a1008;font-size:14px;line-height:1;position:absolute;top:1px}.switchboard-plate:before{left:3px}.switchboard-plate:after{right:3px}.switchboard-plate-heading,.switchboard-plate-footer{color:#c39b5e;letter-spacing:.08em;text-shadow:0 1px #000;justify-content:space-between;align-items:center;gap:.3rem;font:700 clamp(6px,1.2vw,10px) Georgia,serif;display:flex}.switchboard-plate-heading{padding:2px 10px 8px}.switchboard-plate-heading strong{color:#e9c68c;letter-spacing:.12em}.switchboard-plate-footer{padding:8px 5px 1px}.switchboard-plate-footer i{color:#ba8540;font-style:normal}.switchboard .board-grid{aspect-ratio:1;background:#241c17;border:3px solid #0c0c0b;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;width:100%;padding:0;display:grid;box-shadow:0 0 0 2px #92683b,inset 0 0 15px #000}.switchboard .board-cell{color:#f8dfad;background:linear-gradient(145deg,#3b2e23,#251f1b 55%,#34271c);border:1px solid #0e0b09;border-radius:0;min-width:0;min-height:0;padding:0;position:relative;overflow:hidden;box-shadow:inset 1px 1px #85634128,inset -1px -1px #08060477}.switchboard .board-cell.empty{background:linear-gradient(135deg,#2d251e,#1a1917 52%,#30251c)}.switchboard .board-cell.depot{background:repeating-linear-gradient(135deg,#493522 0 8px,#262019 8px 16px);border:1px dashed #9b753f}.switchboard button.board-cell{cursor:pointer;touch-action:manipulation}.switchboard button.board-cell:not(:disabled):hover{filter:brightness(1.25);box-shadow:inset 0 0 0 2px #ddb36c}.switchboard button.board-cell:focus-visible{z-index:2;outline-offset:-3px;outline:3px solid #ffe5a4}.switchboard .board-cell:disabled{opacity:1;cursor:not-allowed}.switchboard .board-cell svg{width:100%;height:100%;display:block;position:absolute;inset:0;overflow:visible}.switchboard .rail-bed{fill:none;stroke:#100d0b;stroke-width:26px}.switchboard .rail-sleepers line{stroke:#8d653b;stroke-width:5px;stroke-linecap:square}.switchboard .rail-metal{fill:none;stroke:#bd9151;stroke-width:15px}.switchboard .rail-channel{fill:none;stroke:#30251b;stroke-width:7px}.switchboard .rail-shine{fill:none;stroke:#e2c28a;stroke-width:1.1px;stroke-dasharray:3 9;opacity:.7}.switchboard .board-cell .switch-label-plate{z-index:1;color:#ffdf9e;text-align:center;background:linear-gradient(#704420,#392516);border:1px solid #c49b5e;border-radius:2px;min-width:1.1rem;padding:1px 3px;font:700 clamp(9px,1.5vw,13px) Georgia,serif;position:absolute;top:2px;right:2px;box-shadow:0 1px 3px #000}.switchboard .board-cell .track-marker{z-index:1;color:#f4d18d;background:#29241a;border:1px solid #a67b40;padding:1px 3px;font:700 clamp(8px,1.3vw,11px) sans-serif;position:absolute;bottom:2px;left:2px}.switchboard .board-controls{flex-wrap:wrap;gap:.4rem;margin:1rem 0;display:flex}.switchboard .board-controls button{color:#f4d6a0;background:linear-gradient(#684526,#36271c);border:1px solid #9a713e;border-radius:3px;min-width:44px;min-height:44px;font-weight:700;box-shadow:inset 0 1px #c39b5d,0 2px 4px #0008}.switchboard .board-controls button:disabled{opacity:.45}.switchboard .board-controls button:focus-visible{outline-offset:2px;outline:3px solid #ffe2a0}.switchboard-legend{color:#cdbda3;font-size:.88rem;line-height:1.5}.switchboard .board-actions button{padding-inline:1rem}@media (width<=480px){.switchboard-plate-heading span:last-child{display:none}.switchboard-plate-footer{font-size:7px}}.gear-instructions{color:#f2e2c5;background:#35291f;border-left:3px solid #c6924b;padding:.8rem 1rem}.gear-instructions p{margin:.35rem 0;line-height:1.45}.gear-tray-heading{color:#f1d29b;text-align:left;margin:1.4rem 0 .5rem;font-size:1.05rem}.gear-puzzle .gear-tray{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:.5rem;display:grid}.gear-puzzle .gear-tray button{color:#ffe5ad;background:linear-gradient(#76512c,#443020);border:1px solid #b98b50;border-radius:4px;min-height:48px;padding:.5rem;font-weight:700;box-shadow:inset 0 1px #d1a869,0 2px 4px #0006}.gear-puzzle .gear-tray button:disabled{opacity:.4;box-shadow:none}.gear-puzzle .gear-tray button[aria-pressed=true]{outline-offset:1px;background:#8e642f;outline:3px solid #ffe5a4}.gear-selection{z-index:4;color:#f1dfbe;background:#29251f;border:1px solid #86643d;padding:.8rem 1rem;position:sticky;top:0;box-shadow:0 3px 7px #0008}.gear-selection.has-selection{color:#fff3d4;background:#705023;border-color:#efc675;font-weight:700}.gear-puzzle .gear-seat-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.gear-puzzle .gear-seat-row button{color:#fff1d3;text-align:center;background:#4e3826;border:2px solid #bf9255;border-radius:4px;flex-direction:column;justify-content:center;gap:.15rem;width:100%;min-height:64px;padding:.5rem .6rem;display:flex}.gear-puzzle .gear-seat-row button strong{font-size:1.05rem}.gear-puzzle .gear-seat-row button span{font-size:.78rem}.gear-puzzle .gear-seat-row>span{color:#c7b799;text-align:center;align-self:center;font-size:.9rem}.gear-puzzle button:focus-visible,.gear-slot-target:focus-visible{outline-offset:2px;outline:3px solid #ffe5a4}.gear-plane svg{min-width:320px}.gear-plane .gear-slot-target{cursor:pointer}.gear-plane .gear-slot-target circle{fill:#fff2;stroke:#ffd38b;stroke-width:2px;stroke-dasharray:4 3}.gear-plane .gear-slot-target.ready circle{fill:#f3bf5440;stroke:#ffe1a1;stroke-width:3px}.gear-plane .gear-slot-target text{fill:#fff2cd;paint-order:stroke;stroke:#241b15;stroke-width:2px;font:700 9px sans-serif}.gear-puzzle .gear-actions button{color:#fff1d3;background:#533a27;border:1px solid #b98b50;padding:.7rem 1rem}.gear-puzzle .gear-actions button.primary{color:#21180f;background:#ad7634;font-weight:700}.gear-puzzle .gear-feedback:not(:empty){color:#fff2df;background:#552c27;border:2px solid #e19c71;border-radius:5px;align-items:flex-start;gap:.85rem;margin:1rem 0;padding:1rem 1.15rem;font-size:1rem;line-height:1.5;display:flex;box-shadow:0 4px 12px #0007}.gear-feedback-icon{color:#421c15;background:#f3b57f;border-radius:50%;flex:none;place-items:center;width:2rem;height:2rem;font-size:1.3rem;font-weight:800;display:grid}.gear-feedback-success .gear-feedback-icon{color:#183320;background:#b6dc91}.gear-feedback strong{color:#fff5e7;margin-bottom:.35rem;font-size:1.08rem;display:block}.gear-feedback p{color:inherit;margin:.15rem 0}.gear-plane.gear-plane-error{border:2px solid #e19c71;box-shadow:0 0 0 2px #743c30}.gear-plane-warning{color:#fff2df;background:#793d30;border-radius:3px;margin-left:.3rem;padding:.15rem .4rem;font:700 .75rem sans-serif;display:inline-block}.gear-puzzle .gear-tray button{flex-direction:column;justify-content:end;align-items:center;gap:.2rem;display:flex}.gear-tray-icon{aspect-ratio:1;width:min(100%,76px);display:block;overflow:visible}.gear-tray-icon polygon{fill:#a27a42;stroke:#e5c78b;stroke-width:1.5px}.gear-tray-icon circle{fill:#43382c;stroke:#e7cb8c;stroke-width:1.5px}.gear-tray-icon path{stroke:#d5b275;stroke-width:2px}.gear-tray-icon text{fill:#fff7de;font:700 8px sans-serif}.gear-toast{z-index:20;left:50%;bottom:max(24px, env(safe-area-inset-bottom));pointer-events:none;width:max-content;max-width:calc(100vw - 32px);position:fixed;transform:translate(-50%)}.gear-toast span{color:#fff0d1;text-align:center;background:#352719;border:1px solid #d5ad72;border-radius:5px;padding:.75rem 1rem;font-size:.95rem;display:block;box-shadow:0 5px 20px #000a}.switchboard .board-grid{position:relative}.switchboard .board-grid:before,.switchboard .board-grid:after{z-index:3;color:#ffe3a4;pointer-events:none;background:#3d2b19;border:1px solid #f4d18d;border-radius:2px;place-items:center;width:20px;height:20px;font:700 16px/1 sans-serif;display:grid;position:absolute;box-shadow:0 1px 5px #000b}.switchboard .board-grid:before{content:"→";top:6.25%;left:0;transform:translate(-50%,-50%)}.switchboard .board-grid:after{content:"→";bottom:6.25%;right:0;transform:translate(50%,50%)}.switchboard .board-grid.board-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}.switchboard .board-grid-five:before{top:10%}.switchboard .board-grid-five:after{bottom:10%}.board-floor-selector{flex-wrap:wrap;gap:.45rem;margin:1rem 0;display:flex}.board-floor-selector button{color:#f4d6a0;background:#36271c;border:1px solid #9a713e;border-radius:3px;min-height:44px;padding:.5rem 1rem;font-weight:700}.board-floor-selector button[aria-pressed=true]{color:#27180c;background:#deb571;border-color:#f6d79c}.board-floor-selector button:focus-visible{outline-offset:2px;outline:3px solid #ffe2a0}.switchboard .board-cell .board-decoration{z-index:1;border:2px solid #2b180e;border-radius:2px;display:block;position:absolute;inset:14%;box-shadow:inset 1px 1px #e8a5537a,inset -3px -3px 6px #2c140db3,2px 3px 5px #0009}.switchboard .board-cell .board-decoration.crate{background:radial-gradient(circle at 16% 18%,#e5af66 0 2%,#0000 3%),radial-gradient(circle at 84% 18%,#e5af66 0 2%,#0000 3%),radial-gradient(circle at 16% 84%,#b67e3e 0 2%,#0000 3%),radial-gradient(circle at 84% 84%,#b67e3e 0 2%,#0000 3%),linear-gradient(130deg,#a45b27,#78401e 55%,#a7642b)}.switchboard .board-cell .board-decoration.warning{background:repeating-linear-gradient(135deg,#e5ac4d 0 16%,#242019 16% 32%);border-color:#372515;inset:21%;box-shadow:inset 1px 1px #ffe5a06b,2px 3px 5px #000b}.gear-puzzle .gear-feedback:not(:empty){color:#f4e4d1;text-align:left;background:linear-gradient(115deg,#49302a,#342624 75%);border:1px solid #b77852;border-left:4px solid #df9d63;border-radius:3px;align-items:flex-start;gap:1rem;margin:1.2rem 0;padding:1.15rem 1.35rem;display:flex;position:relative;box-shadow:inset 0 0 0 1px #e4bd8b20,0 5px 16px #0005}.gear-puzzle .gear-feedback-success:not(:empty){background:linear-gradient(115deg,#304737,#26372f 75%);border-color:#87ad82 #87ad82 #87ad82 #b2d29a}.gear-puzzle .gear-feedback-icon{color:#ffe2bc;background:#6f4133;border:1px solid #e7b281;border-radius:50%;flex:none;place-items:center;width:2.35rem;height:2.35rem;font:700 1.2rem Georgia,serif;display:grid;box-shadow:inset 0 0 0 3px #4a2c24,0 2px 5px #0005}.gear-puzzle .gear-feedback-success .gear-feedback-icon{color:#efffe4;background:#547d56;border-color:#c7dfb3;box-shadow:inset 0 0 0 3px #304e38,0 2px 5px #0005}.gear-feedback-copy{min-width:0}.gear-feedback .gear-feedback-kicker{color:#d7ad8d;letter-spacing:.12em;text-transform:uppercase;margin:.05rem 0 .25rem;font:700 .68rem/1.2 sans-serif;display:block}.gear-feedback-success .gear-feedback-kicker{color:#bed7ad}.gear-puzzle .gear-feedback strong{color:#fff1dd;margin:0 0 .3rem;font:700 1.05rem/1.3 Georgia,serif;display:block}.gear-puzzle .gear-feedback p{color:#f1deca;margin:.18rem 0;font-size:.94rem;line-height:1.5}.gear-puzzle .gear-feedback-success p{color:#e1efda}.luggage-puzzle,.luggage-start{text-align:left;max-width:760px;margin:auto}.luggage-shelf{background:linear-gradient(#3c2a22,#1e1d1e);border:1px solid #89683e;grid-template-columns:repeat(5,minmax(0,1fr));gap:.4rem;padding:.8rem;display:grid}.luggage-shelf button{color:#f8dfb1;background:#ffffff08;border:1px solid #0000;border-radius:4px;min-width:0;min-height:70px;padding:.25rem}.luggage-shelf button[aria-pressed=true]{background:#90643688;border-color:#ffd58c;outline:2px solid #f2c881}.luggage-shelf svg{width:100%;height:auto;max-height:78px;display:block}.luggage-shelf button span{font-weight:700;display:block}.luggage-selection{color:#f5dfb6;background:#362b22;padding:.6rem}.scale-illustration{width:100%;max-width:500px;margin:auto;display:block}.scale-beam{transform-origin:250px 42px;transition:transform .6s}.scale-left{transform:rotate(-7deg)}.scale-right{transform:rotate(7deg)}.luggage-pans{grid-template-columns:1fr 1fr;gap:.7rem;display:grid}.luggage-pans section,.luggage-log,.luggage-answer{background:#332923;border:1px solid #967349;padding:1rem}.luggage-pans h3,.luggage-log h3{margin:0 0 .5rem}.luggage-pans p{color:#f1d29b;min-height:1.5em}.luggage-puzzle button,.luggage-start button{color:#fff0d0;background:#624429;border:1px solid #b48954;min-height:44px;margin:.25rem;padding:.6rem .8rem}.luggage-puzzle button.primary,.luggage-start button.primary{color:#21180f;background:#ad7634;font-weight:700}.luggage-puzzle button:disabled{opacity:.45}.luggage-weigh{flex-wrap:wrap;align-items:center;gap:.8rem;margin-top:1rem;display:flex}.luggage-help{font-size:.9rem}.luggage-log{margin:1rem 0}.luggage-log ol{padding-left:1.5rem}.luggage-log li{margin:.6rem 0}.luggage-log li span{color:#f5cb86;display:block}.luggage-answer{flex-wrap:wrap;align-items:center;gap:.7rem 1rem;display:flex}.luggage-answer legend{padding:0 .4rem;font-weight:700}.luggage-answer label{align-items:center;gap:.4rem;display:inline-flex}.luggage-answer select{color:#231a16;background:#f5e6cf;min-height:44px;padding:.4rem}.luggage-feedback{color:#fff2df;background:#552c27;border-left:4px solid #e19c71;padding:.8rem}@media (prefers-reduced-motion:reduce){.scale-beam{transition:none}}@media (width<=480px){.luggage-shelf{grid-template-columns:repeat(5,minmax(0,1fr));gap:.2rem;padding:.4rem}.luggage-shelf button{min-height:48px}}.gear-puzzle .gear-actions{justify-content:center;align-items:stretch;gap:.65rem;margin:1rem auto 1.25rem}.gear-puzzle .gear-actions button{color:#f8e5c8;background:linear-gradient(#5b4230,#382c25);border:1px solid #a78252;border-radius:4px;min-width:112px;min-height:48px;padding:.7rem 1.15rem;font-weight:700;line-height:1.25;box-shadow:inset 0 1px #e2bf8655,0 3px 7px #0006}.gear-puzzle .gear-actions button.primary{color:#281b11;background:linear-gradient(#e1b26b,#b47c37);border-color:#e2b879;min-width:180px;box-shadow:inset 0 1px #ffdfac,0 3px 8px #0008}.gear-puzzle .gear-actions button:not(:disabled):hover{filter:brightness(1.12)}.gear-puzzle .gear-actions button:disabled{opacity:.48;box-shadow:none;cursor:not-allowed}.gear-puzzle .gear-actions button:focus-visible{outline-offset:3px;outline:3px solid #ffe5a4}@media (width<=420px){.gear-puzzle .gear-actions button.primary{flex-basis:100%}.gear-puzzle .gear-actions button:not(.primary){flex:110px}}.evidence-preserve-lines{white-space:pre-line;overflow-wrap:anywhere}.switchboard .board-viewport{overscroll-behavior-x:contain;padding:5px;overflow-x:auto}.switchboard .board-viewport .switchboard-frame{min-width:430px}.switchboard .board-grid.board-grid-nine{grid-template-columns:repeat(9,minmax(0,1fr))}.switchboard .board-grid-nine:before{top:5.555%}.switchboard .board-grid-nine:after{bottom:5.555%}.luggage-cabinet{background:linear-gradient(115deg,#452917,#92602f 18%,#4d301e 55%,#ad753a 84%,#452817);border:2px solid #54341e;border-radius:4px;padding:clamp(8px,2vw,15px);box-shadow:inset 0 1px #d09d5a,0 8px 20px #0008}.luggage-cabinet-title{color:#cba575;letter-spacing:.1em;text-shadow:0 1px #1b0e08;justify-content:space-between;align-items:center;gap:.4rem;padding:3px 5px 9px;font:700 clamp(7px,1.4vw,10px) Georgia,serif;display:flex}.luggage-cabinet-title strong{color:#f1d5a2;letter-spacing:.14em}.luggage-puzzle .luggage-shelf{isolation:isolate;background:repeating-linear-gradient(90deg,#1b1715 0 17%,#39291e 17.3% 18%,#211915 18.4% 34%),#211915;border:3px solid #24160f;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(3px,1vw,9px);padding:clamp(8px,2vw,14px);display:grid;position:relative;box-shadow:inset 0 0 25px #000,inset 0 1px #a67a47}.luggage-puzzle .luggage-shelf:before{content:"";z-index:-1;background:linear-gradient(#664322,#382416);border-top:2px solid #a87845;height:11px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);box-shadow:0 5px 7px #0009}.luggage-puzzle .luggage-shelf:after{content:"";z-index:-1;background:linear-gradient(#664322,#302014);border-top:2px solid #9d713e;height:9px;position:absolute;bottom:0;left:0;right:0}.luggage-puzzle .luggage-shelf button{color:#fae3b8;min-height:64px;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:3px;margin:0;padding:4px 3px;position:relative}.luggage-puzzle .luggage-shelf button svg{filter:drop-shadow(0 3px 3px #000b);width:100%;max-height:94px}.luggage-puzzle .luggage-shelf button span{background:#302116;border:1px solid #b68852;border-radius:2px;min-width:1.4rem;padding:1px 4px;font:700 .8rem Georgia,serif;display:inline-block}.luggage-puzzle .luggage-shelf button[aria-pressed=true]{outline-offset:-2px;background:#d29b4440;border-color:#ffde9a;outline:2px solid #f7d28b}.luggage-puzzle .luggage-shelf button:focus-visible,.luggage-puzzle button:focus-visible{outline-offset:2px;outline:3px solid #ffe4a6}.luggage-puzzle .luggage-selection{color:#f4ddba;background:#2d241f;border-left:3px solid #b5834a;margin:.65rem 0 1rem;padding:.65rem .8rem;font-size:.93rem}.scale-stage{background:radial-gradient(at 50% 70%,#80542b55,#0000 62%),repeating-linear-gradient(90deg,#211b18 0 15%,#38271d 15.3% 16%,#231b18 16.5% 32%);border:1px solid #715237;border-bottom:7px solid #684123;padding:.6rem .8rem 0;overflow:hidden;box-shadow:inset 0 0 24px #0009,0 4px 8px #0006}.luggage-puzzle .scale-illustration{filter:drop-shadow(0 5px 4px #0009);max-width:520px}.luggage-puzzle .scale-beam{transform-origin:250px 55px}.luggage-puzzle .luggage-pans{margin-top:.85rem}.luggage-puzzle .luggage-pans section,.luggage-puzzle .luggage-log,.luggage-puzzle .luggage-answer{background:linear-gradient(135deg,#392b22,#282321);border:1px solid #886746;box-shadow:inset 0 1px #c59a6130}.luggage-puzzle .luggage-pans h3,.luggage-puzzle .luggage-log h3,.luggage-puzzle .luggage-answer legend{color:#f2d4a0}.luggage-puzzle button:not(.luggage-shelf button),.luggage-start button{background:linear-gradient(#77522e,#493321);border-radius:3px;box-shadow:inset 0 1px #d2a96d55,0 2px 5px #0004}.luggage-puzzle button.primary,.luggage-start button.primary{color:#281b10;background:linear-gradient(#e0b46d,#ad7634)}@media (width<=480px){.luggage-cabinet-title span:last-child{display:none}.luggage-puzzle .luggage-shelf{gap:2px;padding:5px}.luggage-puzzle .luggage-shelf button{min-height:48px;padding:3px 1px}.luggage-puzzle .luggage-shelf button span{font-size:.7rem}}.luggage-puzzle .luggage-section-heading{text-align:left;align-items:flex-start;gap:.9rem;margin:2rem 0 1rem;display:flex}.luggage-puzzle .luggage-section-heading>span{color:#e9c58c;border:1px solid #aa8053;border-radius:50%;flex:none;place-items:center;width:2rem;height:2rem;font:700 .72rem Georgia,serif;display:grid}.luggage-puzzle .luggage-section-heading h3{color:#f3dfbf;margin:0;font:700 1.2rem/1.3 Georgia,serif}.luggage-puzzle .luggage-section-heading p{color:#d4c6b5;margin:.35rem 0 0;font-size:.95rem;line-height:1.5}.luggage-puzzle .luggage-selection{color:#e6d5ba;border-left:3px solid #99714c;margin:1rem 0;padding:.8rem 1rem}.luggage-puzzle .luggage-selection.has-selection{color:#fff1d4;background:#51402d;border-color:#ecc37e;font-weight:700}.luggage-puzzle .luggage-pans{gap:1rem;margin:1.1rem 0 0}.luggage-puzzle .luggage-pans section{text-align:center;background:#302a2b;border:1px solid #806d5e;flex-direction:column;align-items:stretch;gap:.75rem;min-width:0;padding:1.15rem;display:flex}.luggage-puzzle .luggage-pans h3{margin:0;font-size:1.05rem}.luggage-puzzle .luggage-pan-contents{color:#f2d6a5;background:#201e22;min-height:2.2rem;margin:0;padding:.55rem .3rem;font-size:1.05rem;line-height:1.3}.luggage-puzzle .luggage-pans button{width:100%;margin:0}.luggage-puzzle .luggage-tray-action{justify-content:center;margin:1rem 0 2rem;display:flex}.luggage-puzzle .luggage-tray-action button{margin:0}.luggage-puzzle .luggage-weigh-section,.luggage-puzzle .luggage-answer-section{border-top:1px solid #806b60}.luggage-puzzle .luggage-weigh{justify-content:center;gap:1rem;margin:1.2rem 0 2rem}.luggage-puzzle .luggage-weigh button{min-width:160px;margin:0}.luggage-puzzle .luggage-weigh>span{color:#d6c7b4;flex-direction:column;gap:.2rem;font-size:.85rem;display:flex}.luggage-puzzle .luggage-weigh>span strong{color:#f5d6a1;font-size:1.1rem}.luggage-puzzle .luggage-log{background:#302a2b;border:1px solid #806e62;margin:0 0 2rem;padding:1.2rem 1.3rem}.luggage-puzzle .luggage-log-title{color:#ddba86;align-items:center;gap:.6rem;display:flex}.luggage-puzzle .luggage-log-title h3{margin:0}.luggage-puzzle .luggage-log>p{color:#d7c9b9;margin:.7rem 0 0}.luggage-puzzle .luggage-answer{background:#302a2b;border:1px solid #806e62;grid-template-columns:1fr;gap:1rem;margin:1rem 0;padding:1.25rem;display:grid}.luggage-puzzle .luggage-answer legend{color:#f2d8b2;padding:0 .5rem}.luggage-puzzle .luggage-answer .luggage-answer-select{color:#f1dfc8;flex-direction:column;align-items:stretch;gap:.45rem;font-weight:700;display:flex}.luggage-puzzle .luggage-answer select{color:#302520;background:#f4eadb;border:1px solid #b5a08b;border-radius:3px;width:100%;min-height:48px;padding:.55rem .7rem;font-size:1rem}.luggage-puzzle .luggage-answer-choices{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.luggage-puzzle .luggage-answer-choices label{color:#f1dfc8;cursor:pointer;background:#242127;border:1px solid #8c796b;border-radius:3px;align-items:center;gap:.6rem;min-height:48px;padding:.7rem .85rem;display:flex}.luggage-puzzle .luggage-answer-choices label.is-chosen{background:#584535;border-color:#e5ba75;box-shadow:inset 0 0 0 1px #e5ba75}.luggage-puzzle .luggage-answer-choices input{accent-color:#c69551;width:1.15rem;height:1.15rem}.luggage-puzzle .luggage-answer>button{justify-self:center;min-width:200px;margin:.35rem 0 0}.luggage-puzzle button:not(.luggage-shelf button),.luggage-start button{color:#f9ead3;background:linear-gradient(#56483f,#3c3432);border:1px solid #a98c6e;border-radius:3px;min-height:48px;padding:.7rem 1rem;font-weight:700;line-height:1.3}.luggage-puzzle button.primary,.luggage-start button.primary{color:#251a12;background:linear-gradient(#dfb26c,#b77d3b);border-color:#d0a166}.luggage-puzzle button:disabled{opacity:.6;cursor:not-allowed}.luggage-puzzle .luggage-reset{justify-content:center;margin:2rem 0 .5rem;display:flex}.luggage-puzzle .luggage-feedback{margin:1rem 0;padding:1rem;line-height:1.5}@media (width<=400px){.luggage-puzzle .luggage-pans{gap:.5rem}.luggage-puzzle .luggage-pans section{padding:.8rem .5rem}.luggage-puzzle .luggage-answer-choices{grid-template-columns:1fr}}.luggage-puzzle .luggage-pans{gap:clamp(.7rem,2vw,1.1rem)}.luggage-puzzle .luggage-pans section{background:linear-gradient(145deg,#3c3330,#29262b);border:1px solid #806c5b;border-radius:4px;gap:.85rem;padding:1rem;position:relative;box-shadow:inset 0 1px #e2bd8930,0 4px 12px #0003}.luggage-puzzle .luggage-pan-heading{justify-content:center;align-items:center;gap:.45rem;display:flex}.luggage-puzzle .luggage-pan-heading h3{color:#f3dfc1;margin:0;font:700 1rem/1.25 Georgia,serif}.luggage-pan-mark{color:#d8ac70;font-size:1rem}.luggage-pan-count{color:#d1b895;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto;font-size:.75rem}.luggage-puzzle .luggage-pan-contents{background:#211e22;border:1px solid #665044;border-radius:3px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.3rem;min-height:3.3rem;padding:.45rem;display:flex}.luggage-pan-tag{color:#fff0d1;background:linear-gradient(#a26f3d,#684426);border:1px solid #c29961;border-radius:2px;place-items:center;min-width:2rem;height:2rem;padding:0 .35rem;font:700 .9rem Georgia,serif;display:grid;box-shadow:inset 0 1px #edc78970,0 2px 3px #0006}.luggage-pan-empty{color:#c5b7a6;font-size:.85rem}.luggage-puzzle .luggage-pans button{color:#fff0d7;background:linear-gradient(#695344,#4b3c35);border:1px solid #b99568;min-height:48px;padding:.65rem .5rem;font-size:.9rem}.luggage-puzzle .luggage-pans button:not(:disabled):hover{background:linear-gradient(#967048,#715238)}.luggage-puzzle .luggage-pans button:disabled{opacity:.58}.luggage-puzzle .luggage-tray-action{margin:1.1rem 0 2rem}.luggage-puzzle .luggage-tray-action button{color:#e6d9c9;background:#302a2e;border:1px solid #88766c;min-width:200px;padding:.65rem 1rem}@media (width<=400px){.luggage-puzzle .luggage-pans section{padding:.75rem .55rem}.luggage-pan-mark{display:none}.luggage-puzzle .luggage-pan-heading{gap:.25rem}.luggage-puzzle .luggage-pan-heading h3{font-size:.9rem}}.luggage-puzzle .luggage-answer-cases{border:0;min-width:0;margin:0;padding:0}.luggage-puzzle .luggage-answer-cases legend{color:#f1dfc8;margin:0 0 .7rem;padding:0;font-weight:700}.luggage-answer-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem;display:grid}.luggage-puzzle .luggage-answer-grid label{color:#f5dfbc;cursor:pointer;background:linear-gradient(#4c3b32,#302a2c);border:1px solid #a68b6d;border-radius:3px;place-items:center;min-width:0;min-height:52px;padding:.3rem;display:grid;position:relative;box-shadow:inset 0 1px #dfbd8d33}.luggage-answer-grid label span{background:#2b2321;border:1px solid #b89464;border-radius:2px;place-items:center;width:2rem;height:2rem;font:700 1rem Georgia,serif;display:grid}.luggage-puzzle .luggage-answer-grid label.is-chosen{background:linear-gradient(#af8049,#765332);border-color:#f2cc8a;box-shadow:inset 0 0 0 1px #f2cc8a,0 2px 7px #0007}.luggage-puzzle .luggage-answer-grid label.is-chosen span{color:#261a12;background:#f0d4a5;border-color:#f4d49f}.luggage-answer-grid input{opacity:0;width:1px;height:1px;margin:0;position:absolute}.luggage-puzzle .luggage-answer-grid label:focus-within{outline-offset:2px;outline:3px solid #ffe5a4}@media (width<=400px){.luggage-answer-grid{gap:.35rem}.luggage-puzzle .luggage-answer-grid label{min-height:48px}}.confirm-dialog{color:#f5e8d6;background:linear-gradient(145deg,#352a30,#1f202c);border:1px solid #b08c63;width:min(460px,100vw - 32px);max-width:calc(100vw - 32px);height:auto;max-height:min(85vh,85dvh);margin:auto;padding:0;overflow:auto;box-shadow:inset 0 0 0 5px #191821aa,inset 0 0 0 6px #c7a57855,0 20px 60px #000a}.confirm-dialog-inner{text-align:left;padding:clamp(24px,5vw,36px)}.confirm-dialog .confirm-kicker{color:#d2a96d;letter-spacing:.16em;text-transform:uppercase;margin:0 0 .6rem;font:700 .7rem/1.3 sans-serif}.confirm-dialog h2{color:#f8e4c5;margin:0;font:1.65rem/1.2 Georgia,serif}.confirm-dialog .confirm-description{color:#e1d4c4;margin:1rem 0 0;line-height:1.55}.confirm-dialog .confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:.65rem;margin-top:1.6rem;display:flex}.confirm-dialog .confirm-actions button{color:#f6e9d9;cursor:pointer;background:#40383a;border:1px solid #a78e77;border-radius:3px;min-height:48px;padding:.7rem 1.1rem;font-weight:700}@media (width<=420px){.confirm-dialog .confirm-actions button{flex:130px}}.evidence-swipe-hint{color:#674b3e;text-align:center;background:#e7dac7;margin:0;padding:.3rem .75rem .45rem;font-size:.78rem;line-height:1.35}.evidence-scroll.evidence-swipe-ready{touch-action:pan-y pinch-zoom}.memory-row-selector,.memory-actions{flex-wrap:wrap;justify-content:center;gap:.6rem;margin:1rem 0;display:flex}.memory-composer button{color:#f5e4cd;background:linear-gradient(#50403b,#302a2e);border:1px solid #a88761;border-radius:3px;min-height:44px;padding:.55rem .85rem}.memory-composer button:focus-visible,.memory-composer textarea:focus-visible{outline-offset:2px;outline:3px solid #ffe0a2}.memory-composer button:disabled{opacity:.5}.memory-row-selector button[aria-pressed=true],.memory-row-header button[aria-pressed=true]{color:#21170f;background:#987043;border-color:#f2ce91;font-weight:700}.memory-keyboard{background:#2b272c;border:1px solid #927653;padding:1rem}.memory-keyboard p{color:#e2c59d;margin:0 0 .8rem;font-size:.9rem}.memory-tiles{flex-wrap:wrap;gap:.5rem;display:flex}.memory-tiles button{color:#302117;letter-spacing:.05em;background:linear-gradient(#e5c28c,#bd9056);border-color:#eed3a6;min-width:58px;font-weight:700;box-shadow:0 3px 5px #0006}.memory-row{background:#302a2d;border:1px solid #7d6c60;margin:1rem 0;padding:1rem}.memory-row.is-active{border-color:#d5aa6e;box-shadow:inset 3px 0 #c49659}.memory-row-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.memory-row-header h3{color:#f3ddb9;margin:0}.memory-target{color:#e4d0b7;line-height:1.5}.memory-composition{background:#211f25;border:1px solid #6c5a50;flex-wrap:wrap;align-items:center;gap:.4rem;min-height:58px;padding:.5rem;display:flex}.memory-composition button{color:#f5e1bd;background:#59412d;align-items:center;gap:.5rem;min-height:40px;display:inline-flex}.memory-composition button span:last-child{color:#d8b388;font-size:1.1rem}.memory-empty{color:#c6b8a8;font-size:.9rem}.memory-text-label{color:#e6d5bd;flex-direction:column;gap:.4rem;margin:.9rem 0;font-size:.9rem;display:flex}.memory-text-label textarea{color:#2c201d;resize:vertical;background:#f0e3ce;border:1px solid #ae967a;width:100%;min-height:64px;padding:.7rem;font:1rem/1.5 sans-serif}.memory-actions .primary{color:#26190f;background:linear-gradient(#e0b46e,#b77d3b);font-weight:700}.day-scene.day-scene-contain{aspect-ratio:auto;max-height:none}.day-scene.day-scene-contain img{object-fit:contain;width:100%;height:auto}.evidence-viewer{background:#25212b;border:1px solid #9c805f;box-shadow:0 18px 60px #000a,inset 0 0 0 3px #161620}.evidence-viewer .evidence-viewer-header{background:linear-gradient(115deg,#352b32,#24232f 78%);border-bottom:1px solid #806b58;gap:1rem;padding:clamp(12px,2vw,20px) clamp(16px,3vw,28px)}.evidence-viewer-heading{min-width:0}.evidence-viewer-kicker{color:#d3ad77;font:700 .68rem/1.2 var(--font-label);letter-spacing:.15em;text-transform:uppercase;margin-bottom:.3rem;display:block}.evidence-viewer .evidence-viewer-header h2{color:#f5e7d2;font:normal clamp(20px,2.6vw,28px)/1.2 var(--font-display);overflow-wrap:anywhere}.evidence-viewer .evidence-close{color:#f5e4ce;background:#3c3033;border:1px solid #a78b6b;border-radius:50%;place-items:center;width:44px;height:44px;font-size:25px;display:grid}.evidence-viewer .evidence-close:hover{background:#59443a;border-color:#ebc894}.evidence-viewer .evidence-navigation{background:#29252e;border:0;gap:clamp(.5rem,2vw,1.1rem);padding:.55rem 1rem .35rem}.evidence-viewer .evidence-navigation button{color:#f0dfc8;min-height:44px;font:600 .9rem/1.2 var(--font-body);background:#3a3033;border:1px solid #816c59;border-radius:3px;padding:.5rem .85rem}.evidence-viewer .evidence-navigation button span{color:#e0b87e}.evidence-viewer .evidence-navigation button:not(:disabled):hover{background:#514038;border-color:#deb981}.evidence-viewer .evidence-navigation button:disabled{opacity:.42}.evidence-viewer .evidence-count{color:#e4c59a;min-width:4.2em;font:700 .8rem/1.2 var(--font-label);font-variant-numeric:tabular-nums}.evidence-viewer .evidence-swipe-hint{color:#d2c4b7;font:.78rem/1.4 var(--font-body);text-align:center;background:#29252e;border-bottom:1px solid #6e5a4d;margin:0;padding:.15rem 1rem .65rem}.evidence-viewer .evidence-close:focus-visible,.evidence-viewer .evidence-navigation button:focus-visible{outline-offset:2px;outline:3px solid #ffdc9a}@media (width<=480px){.evidence-viewer .evidence-viewer-header{padding:10px 14px}.evidence-viewer .evidence-navigation{gap:.35rem;padding-inline:.5rem}.evidence-viewer .evidence-navigation button{padding-inline:.55rem;font-size:.82rem}.evidence-viewer .evidence-count{min-width:3.1em}}.evidence-screenreader-transcript{clip:rect(0,0,0,0);white-space:pre-line;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.frequency-instrument{text-align:left;background:linear-gradient(135deg,#49342a,#26242a 75%);border:2px solid #86673e;border-radius:5px;max-width:760px;margin:0 auto;padding:clamp(16px,3vw,26px);box-shadow:inset 0 0 0 4px #241d20,inset 0 0 0 5px #bd925455,0 8px 25px #0006}.frequency-heading{text-align:center}.frequency-heading h3{color:#f6e1bc;font:normal 1.5rem var(--font-display);margin:.35rem 0}.frequency-heading p:last-child{color:#ded0bd;max-width:55ch;margin:.5rem auto 1.3rem;line-height:1.5}.frequency-kicker{color:#d6aa72;font:700 .7rem var(--font-label);letter-spacing:.12em;text-transform:uppercase;margin:0}.frequency-slots{grid-template-columns:repeat(6,minmax(0,1fr));gap:.45rem;display:grid}.frequency-instrument .frequency-slot{color:#eddbc4;background:#211e23;border:1px solid #92754e;border-radius:3px;flex-direction:column;justify-content:center;align-items:center;gap:.3rem;min-width:0;min-height:120px;padding:.5rem .2rem;display:flex}.frequency-instrument .frequency-slot.is-active{border-color:#f3d290;box-shadow:inset 0 0 0 2px #c79a5d,0 0 12px #e1b35a44}.frequency-instrument .frequency-slot:disabled{opacity:1}.frequency-number{color:#cfaa78;font:700 .7rem var(--font-label);letter-spacing:.1em}.frequency-slot-name{font-size:.75rem}.frequency-glass{color:#fff4d3;text-shadow:0 1px 3px #000;border:3px solid #b38b55;border-radius:50%;flex:none;place-items:center;width:clamp(35px,6vw,54px);height:clamp(35px,6vw,54px);font:700 clamp(21px,3vw,32px)/1 Georgia,serif;display:grid;box-shadow:inset 0 2px 4px #fff5,inset 0 -4px 8px #0008,0 2px 5px #0009}.frequency-glass.is-empty{color:#a38e77;background:#17171c}.frequency-W{color:#3b3026;text-shadow:none;background:#dfd2af}.frequency-R{background:#922c28}.frequency-B{background:#285582}.frequency-G{background:#387047}.frequency-Y{color:#fff3ce;background:#a87925}.frequency-P{background:#69457c}.frequency-palette{background:#211f27;border:1px solid #76644f;margin-top:1.4rem;padding:1rem}.frequency-palette-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.4rem;display:flex}.frequency-palette h4{color:#f1dbb7;font:normal 1.1rem var(--font-display);margin:0}.frequency-palette p{color:#d3b98f;margin:.2rem 0 .8rem;font-size:.85rem}.frequency-options{grid-template-columns:repeat(6,minmax(0,1fr));gap:.45rem;display:grid}.frequency-options button{color:#f6e6ce;background:#3b3030;border:1px solid #78634c;border-radius:3px;flex-direction:column;justify-content:center;align-items:center;gap:.3rem;min-width:0;min-height:82px;padding:.4rem .15rem;font-size:.78rem;display:flex}.frequency-options button:hover{background:#564337;border-color:#f2d59e}.frequency-actions{flex-wrap:wrap;justify-content:center;gap:.6rem;margin-top:1.2rem;display:flex}.frequency-actions button{color:#f2e2ce;background:#44383a;border:1px solid #a18970;min-height:48px;padding:.7rem 1rem}.frequency-actions button.primary{color:#24180e;background:linear-gradient(#dfb36e,#ad783a);font-weight:700}.frequency-actions button:disabled{opacity:.5}.frequency-instrument button:focus-visible{outline-offset:2px;outline:3px solid #ffe1a3}.frequency-instrument.is-stable .frequency-glass{animation:1s ease-out both frequency-light}.frequency-instrument.is-stable .frequency-slot:nth-child(2) .frequency-glass{animation-delay:.2s}.frequency-instrument.is-stable .frequency-slot:nth-child(3) .frequency-glass{animation-delay:.4s}.frequency-instrument.is-stable .frequency-slot:nth-child(4) .frequency-glass{animation-delay:.6s}.frequency-instrument.is-stable .frequency-slot:nth-child(5) .frequency-glass{animation-delay:.8s}.frequency-instrument.is-stable .frequency-slot:nth-child(6) .frequency-glass{animation-delay:1s}@keyframes frequency-light{0%{filter:brightness(.65);box-shadow:inset 0 2px 4px #fff5,inset 0 -4px 8px #0008}to{filter:brightness(1.15);box-shadow:inset 0 2px 4px #fff5,0 0 14px #e5bb6966}}@media (prefers-reduced-motion:reduce){.frequency-instrument.is-stable .frequency-glass{animation:none}}@media (width<=520px){.frequency-slots,.frequency-options{grid-template-columns:repeat(3,minmax(0,1fr))}.frequency-instrument .frequency-slot{min-height:100px}}.frequency-feedback{color:#fff0df;text-align:left;background:#4b2d2b;border:1px solid #c88f72;border-left:4px solid #e2ae82;border-radius:3px;max-width:760px;margin:1rem auto;padding:1rem 1.2rem;line-height:1.5}.lab-bench{text-align:left;color:#ecddcb;max-width:760px;margin:auto}.lab-intro{text-align:center;background:radial-gradient(at top,#9b6a3544,#0000 70%),#29242b;border:1px solid #94774f;padding:1.3rem}.lab-kicker{color:#d7ad75;font:700 .7rem var(--font-label);letter-spacing:.14em;text-transform:uppercase;margin:0 0 .5rem}.lab-intro h3,.lab-paper h3{color:#f5dfbd;font:normal 1.5rem var(--font-display);margin:.3rem 0}.lab-intro>p:last-child{margin:.6rem 0 0;line-height:1.5}.lab-section{background:linear-gradient(145deg,#372d2d,#27252c);border:1px solid #786750;margin-top:1rem;padding:clamp(15px,2.5vw,23px);box-shadow:inset 0 1px #d8b78324}.lab-section-title{align-items:flex-start;gap:.8rem;margin-bottom:1rem;display:flex}.lab-section-title>span{color:#e4c18d;width:2rem;height:2rem;font:.72rem var(--font-label);border:1px solid #a28258;border-radius:50%;flex:none;place-items:center;display:grid}.lab-section-title h3{color:#f5e0bf;font:normal 1.2rem var(--font-display);margin:0}.lab-section-title p{color:#d6c7b6;margin:.3rem 0 0;font-size:.9rem;line-height:1.45}.lab-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;display:grid}.lab-bottle{text-align:center;background:linear-gradient(#3b302b,#272326);border:1px solid #77604b;border-radius:3px;flex-direction:column;align-items:center;gap:.35rem;min-width:0;padding:.65rem .4rem;display:flex}.lab-bottle svg{filter:drop-shadow(0 4px 4px #0008);width:48px;height:72px;display:block}.lab-bottle-info{flex-direction:column;flex:1;gap:.25rem;display:flex}.lab-bottle-info strong{color:#f6e4c7;font:700 .9rem/1.3 var(--font-display)}.lab-bottle-info span{color:#d8c2a2;font-size:.76rem;line-height:1.3}.lab-dose{justify-content:center;align-items:center;gap:.3rem;display:flex}.lab-bench button{color:#f6e7d0;background:linear-gradient(#5b4840,#3c3433);border:1px solid #a58a67;border-radius:3px;min-height:44px;padding:.55rem .8rem;font-weight:700}.lab-dose button{min-width:44px;padding:0;font-size:1.25rem}.lab-dose output{color:#f5d7a4;text-align:center;min-width:1.6rem;font-weight:700}.lab-bench button:disabled{opacity:.48}.lab-bench button:focus-visible{outline-offset:2px;outline:3px solid #ffe1a2}.lab-chamber{text-align:left}.lab-apparatus{background:radial-gradient(#93633155,#0000 65%),#211e22;border:1px solid #755a3b;place-items:center;min-height:150px;margin:.8rem 0;display:grid;overflow:hidden}.lab-vessel{color:#e6c38a;background:linear-gradient(#e8d2a312,#e1b57233);border:4px solid #bc9762;border-radius:18px 18px 35px 35px;place-items:center;width:90px;height:100px;display:grid;position:relative;box-shadow:inset 0 0 18px #ffd99a22,0 5px 15px #0007}.lab-vessel:before{content:"";border:4px solid #bc9762;border-bottom:0;border-radius:5px 5px 0 0;width:34px;height:14px;position:absolute;top:-14px}.lab-apparatus.is-active .lab-vessel span{animation:1.5s ease-out lab-glow}.lab-apparatus.is-active .lab-vessel:after{content:"°  ·  °";color:#ffe2a0;animation:1.5s ease-out both lab-bubbles;position:absolute;bottom:15px}@keyframes lab-glow{50%{text-shadow:0 0 15px #ffe1a4;transform:scale(1.25)}}@keyframes lab-bubbles{0%{opacity:.8;transform:translateY(0)}to{opacity:0;transform:translateY(-50px)}}.lab-selected{flex-wrap:wrap;gap:.4rem;margin:.75rem 0;display:flex}.lab-selected span{color:#e9d7bc;background:#252228;border:1px solid #887057;padding:.4rem .6rem;font-size:.9rem}.lab-tools{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;display:grid}.lab-tools button{flex-direction:column;justify-content:center;align-items:center;gap:.2rem;min-width:0;font-size:.85rem;display:flex}.lab-tools button span{color:#e8c185;font-size:1.5rem}.lab-tools button[aria-pressed=true]{background:#795637;border-color:#efc783;box-shadow:inset 0 0 0 1px #efc783}.lab-execute,.lab-log-actions{flex-wrap:wrap;justify-content:center;gap:.6rem;margin-top:1rem;display:flex}.lab-bench button.primary{color:#2d1d12;background:linear-gradient(#e1b46d,#af793b);border-color:#e9c58e}.lab-feedback{color:#f7e5d1;background:#453633;border-left:3px solid #d0a16d;padding:.8rem 1rem;line-height:1.5}.lab-log ol{padding-left:1.6rem}.lab-log li{margin:.7rem 0;padding-left:.2rem}.lab-log li span{line-height:1.45;display:block}.lab-log li span+span{color:#e9c58f}.lab-paper{color:#40302a;text-align:center;background:linear-gradient(130deg,#f4e6cc,#dcc5a5);border:1px solid #a58863;margin-top:1.3rem;padding:1.3rem}.lab-paper .lab-kicker{color:#8e6744}.lab-paper h3{color:#4f3530}.lab-blank-paper{background:#f4ead7;border:1px solid #c6af90;height:110px;margin:1rem 0;box-shadow:inset 0 0 22px #ab8b6833}.lab-paper blockquote{max-width:48ch;font:italic 1.05rem/1.7 var(--font-display);margin:1.3rem auto}.lab-paper.is-revealed blockquote{animation:1.6s ease-out both lab-reveal}@keyframes lab-reveal{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:none}}@media (width<=500px){.lab-shelf,.lab-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.lab-apparatus.is-active .lab-vessel span,.lab-apparatus.is-active .lab-vessel:after,.lab-paper.is-revealed blockquote{animation:none}}.lab-apparatus{position:relative}.lab-apparatus.is-active:before{content:"";filter:blur(3px);pointer-events:none;background:radial-gradient(#f6dfb766,#0000 68%);width:40px;height:45px;animation:1.5s ease-out both lab-steam;position:absolute;top:12%;left:calc(50% - 20px)}@keyframes lab-steam{0%{opacity:.7;transform:translateY(22px)}to{opacity:0;transform:translateY(-18px)}}@media (prefers-reduced-motion:reduce){.lab-apparatus.is-active:before{opacity:0;animation:none}}.lab-tool-icon{color:#e8c185;width:30px;height:30px;display:block}.lab-chamber .lab-selected{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:.65rem;margin:1rem 0;display:grid}.lab-selected-bottle{background:linear-gradient(115deg,#46362c,#29262a);border:1px solid #866b4d;border-radius:3px;align-items:center;gap:.7rem;min-width:0;padding:.55rem .8rem;display:flex;box-shadow:inset 0 1px #e8c18524,0 3px 8px #0003}.lab-selected-bottle svg{filter:drop-shadow(0 3px 3px #0008);flex:none;width:39px;height:59px}.lab-selected-copy{flex-direction:column;gap:.35rem;min-width:0;display:flex}.lab-selected-copy strong{color:#f5e2c5;font:700 .95rem/1.25 var(--font-display);overflow-wrap:anywhere}.lab-selected-copy small{color:#d9bb91;font:.8rem/1.3 var(--font-body)}.lab-selected-empty{color:#d5c4ad;background:#242126;border:1px dashed #78654f;margin:0;padding:.8rem 1rem;font-size:.9rem}.frequency-instrument{background:radial-gradient(at 50% 0,#9a693c33,#0000 48%),linear-gradient(145deg,#382c2d,#25242c 72%);border:1px solid #a17d51;padding:clamp(18px,3vw,28px);box-shadow:inset 0 0 0 4px #211d23,inset 0 0 0 5px #b38b5655,0 8px 24px #0005}.frequency-heading h3{margin:.45rem 0;font-size:clamp(1.45rem,3vw,1.8rem)}.frequency-heading p:last-child{max-width:44ch;margin:.6rem auto 1.35rem;font-size:.96rem}.frequency-instrument .frequency-slots{gap:.55rem}.frequency-instrument .frequency-slot{background:linear-gradient(#30272a,#211f25);border-color:#7f6a53;gap:.45rem;min-height:126px;padding:.65rem .25rem;box-shadow:inset 0 1px #d9b37922}.frequency-instrument .frequency-slot.is-active{background:linear-gradient(#514033,#2e292a);border-color:#f2d293;box-shadow:inset 0 0 0 1px #d6ab6b,0 0 12px #d6aa5c44}.frequency-number{color:#d7b585;letter-spacing:.12em}.frequency-slot-name{color:#f3e4ce;font-size:.8rem}.frequency-instrument .frequency-palette{background:#24222a;border-color:#776450;margin-top:1.25rem;padding:clamp(14px,2.5vw,19px);box-shadow:inset 0 1px #d9b37922}.frequency-instrument .frequency-palette-heading{align-items:center;gap:.5rem;margin-bottom:.85rem}.frequency-instrument .frequency-palette-heading p{background:#302b2c;border:1px solid #806b51;border-radius:2px;margin:0;padding:.35rem .55rem}.frequency-instrument .frequency-options{gap:.5rem}.frequency-instrument .frequency-options button{background:linear-gradient(#453732,#302a2c);border-color:#816d57;gap:.45rem;min-height:88px;box-shadow:inset 0 1px #d9b37922}.frequency-instrument .frequency-actions{gap:.65rem;margin-top:1.35rem}.frequency-instrument .frequency-actions button{border-radius:3px;min-height:48px}.frequency-instrument .frequency-actions .frequency-reset{color:#ebdaca;background:#302a2e;border-color:#957c69}.frequency-instrument .frequency-actions .primary{min-width:180px}@media (width<=520px){.frequency-instrument .frequency-slot{min-height:100px}.frequency-instrument .frequency-actions button{flex:150px}.frequency-instrument .frequency-actions .primary{flex-basis:100%;order:-1}}.game-feedback:empty{display:none}.game-feedback:not(:empty){--feedback-accent:#d8a07f;border:1px solid #916955;border-left:3px solid var(--feedback-accent);color:#f7e9db;text-align:left;background:linear-gradient(110deg,#513632,#332a2c);border-radius:3px;align-items:flex-start;gap:.85rem;max-width:760px;margin:1.4rem auto .7rem;padding:1rem 1.15rem;display:flex;box-shadow:inset 0 1px #ffffff12,0 4px 12px #0003}.game-feedback--success:not(:empty){--feedback-accent:#a8bc90;background:linear-gradient(110deg,#35433a,#2a302d);border-color:#758469}.game-feedback--warning:not(:empty){--feedback-accent:#e0b36e;background:linear-gradient(110deg,#4c3c2d,#332e2c);border-color:#9e8058}.game-feedback--info:not(:empty){--feedback-accent:#c5ae8c;background:linear-gradient(110deg,#403833,#2d2b2d);border-color:#82725f}.game-feedback-icon{border:1px solid var(--feedback-accent);width:2rem;height:2rem;color:var(--feedback-accent);background:#1c1b1d55;border-radius:50%;flex:none;place-items:center;font:700 1rem/1 sans-serif;display:grid}.game-feedback-copy{min-width:0;padding-top:.05rem}.archive-puzzle .game-feedback-copy strong{color:#f7e7cf;font:700 1rem/1.3 var(--font-display);margin:0 0 .3rem;display:block}.archive-puzzle .game-feedback-copy p{color:#f5e5d7;font:.92rem/1.55 var(--font-body);text-align:left;margin:.2rem 0 0}.archive-puzzle .answer-success{background:linear-gradient(135deg,#354239,#292d2c);border:1px solid #77876e;border-radius:3px;max-width:36rem;margin:1.5rem auto;padding:1.35rem 1rem;box-shadow:inset 0 1px #ffffff16,0 4px 12px #0003}.postcard-drawer form{background:repeating-linear-gradient(0deg,#422b20 0,#563a28 9px,#4a3022 18px);border:2px solid #986d3d;border-radius:4px;max-width:32rem;margin:1.5rem auto 0;padding:clamp(1rem,3vw,1.8rem);box-shadow:inset 0 0 0 4px #271c1b,inset 0 0 0 5px #ba8b57,0 7px 18px #0006}.archive-puzzle.postcard-drawer form label{color:#f5dfbc;text-align:center;margin-bottom:.75rem;display:block}.postcard-drawer .numeric-code{margin-inline:auto}.postcard-drawer .puzzle-actions{margin-top:1.15rem}.switchboard .floor-status{color:#e7d3b4;background:#292321;border:1px solid #776044;border-radius:3px;align-items:center;gap:.6rem;margin:.75rem 0 1rem;padding:.65rem .8rem;font-size:.9rem;line-height:1.4;display:flex}.switchboard .floor-status.is-connected{color:#f1f2d9;background:linear-gradient(110deg,#364332,#2b3026);border-color:#a9b986}.floor-status-light{background:#4e4134;border:1px solid #a58a5d;border-radius:50%;flex:none;width:.7rem;height:.7rem}.floor-status.is-connected .floor-status-light{background:#d5efaa;border-color:#e7f5c4;animation:1.2s ease-out floor-signal;box-shadow:0 0 9px #b5e77f}.floor-connected-mark{color:inherit;font-weight:700}@keyframes floor-signal{0%{transform:scale(.6);box-shadow:0 0 #b5e77f}55%{transform:scale(1.35);box-shadow:0 0 16px #d0ff99}to{transform:scale(1);box-shadow:0 0 9px #b5e77f}}@media (prefers-reduced-motion:reduce){.floor-status.is-connected .floor-status-light{animation:none}}@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}.topbar .nav-tools{grid-column:3;justify-self:end;align-items:center;gap:8px;min-width:0;display:flex}.topbar .journey-plaque{color:#f2e4cf;text-align:center;background:#2b212a;border:1px solid #ad8d62;min-width:142px;padding:7px 14px 6px;box-shadow:inset 0 0 0 3px #2b212a,inset 0 0 0 4px #d5b27b40}.topbar .journey-plaque>span{color:#d5b27b;font:600 9px/1.3 var(--font-label);letter-spacing:.13em;white-space:nowrap;display:block}.topbar .journey-plaque strong{color:#f2e4cf;font:18px/1.2 var(--font-display);letter-spacing:.08em;white-space:nowrap;justify-content:center;align-items:center;gap:7px;margin-top:3px;display:flex}.topbar .journey-plaque svg{color:#d5b27b;flex:none;width:18px;height:18px}@media (width<=800px){.topbar{grid-template-columns:minmax(0,1fr) auto}.topbar .brand{grid-area:1/1}.topbar .nav-tools{grid-area:1/2}.topbar nav{grid-area:2/1/auto/-1}.topbar .journey-plaque{min-width:120px;padding:6px 9px}.topbar .journey-plaque strong{font-size:16px}}@media (width<=420px){.topbar .nav-tools{gap:2px}.topbar .journey-plaque{min-width:100px;padding:5px}.topbar .journey-plaque>span{font-size:8px}}.topbar .music-button{color:#f2d6a3;cursor:pointer;background:#2b212a;border:1px solid #ad8d62;border-radius:0;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:3px;min-width:64px;min-height:58px;padding:7px 10px;text-decoration:none;display:flex;box-shadow:inset 0 0 0 3px #2b212a,inset 0 0 0 4px #d5b27b40}.topbar .music-button:hover{color:#fff0cf;background:#45303a}.topbar .music-button:focus-visible{outline-offset:3px;outline:2px solid #f4d6a1}.music-note{flex:none;width:25px;height:25px;display:block}.music-status{color:#e6c994;font:600 9px/1.2 var(--font-label);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}@media (width<=420px){.topbar .music-button{min-width:55px;min-height:50px;padding:5px 7px}.music-note{width:22px;height:22px}.music-status{font-size:8px}}.music-dialog{text-align:center;color:#4b3331;background:radial-gradient(at 50% 0,#fff9e9,#0000 65%),#f1e3cf;border:1px solid #ac8a63;width:min(520px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:min(88vh,88dvh);margin:auto;padding:clamp(30px,6vw,48px);overflow:auto;box-shadow:inset 0 0 0 7px #f1e3cf,inset 0 0 0 8px #c6aa87,0 24px 75px #0000008c}.music-dialog::backdrop{background:#08090fd1}.music-emblem{color:#80503c;width:62px;height:62px;font:30px/1 var(--font-display);background:#f8eddb;border:1px solid #ac8a63;border-radius:50%;place-items:center;margin:0 auto 22px;display:grid;box-shadow:inset 0 0 0 4px #f8eddb,inset 0 0 0 5px #dcc7a8}.music-kicker{color:#876547;font:600 10px/1.4 var(--font-label);letter-spacing:.16em;text-transform:uppercase;margin:0 0 10px}.music-dialog h2{color:#4a3032;font:normal clamp(27px, 5vw, 36px)/1.2 var(--font-display);margin:0}.music-intro{color:#67534a;max-width:365px;font:16px/1.75 var(--font-display);margin:20px auto 26px}.music-dialog .actions{justify-content:center;gap:10px}.music-dialog .primary,.music-dialog .secondary{min-height:48px}.music-dialog .secondary{color:#60463c;border-color:#ad957c}@media (width<=480px){.music-dialog .actions{flex-direction:column}.music-dialog .actions button{width:100%}}.music-settings{border-top:1px solid #baa48c;margin-top:24px;padding-top:12px}.music-settings label{margin-bottom:8px;display:block}.music-settings input{accent-color:#713a3f;width:min(100%,300px)}.topbar .music-button,.topbar .journey-plaque{box-sizing:border-box;height:64px}.topbar .journey-plaque{flex-direction:column;justify-content:center;display:flex}@media (width<=800px){.topbar .music-button,.topbar .journey-plaque{height:58px}}@media (width<=420px){.topbar .music-button,.topbar .journey-plaque{height:52px}}.settings-dialog{color:#43332e;background:#eee3d2;border:1px solid #a78a6c;width:min(620px,100vw - 32px);max-width:calc(100vw - 32px);height:auto;max-height:min(88vh,88dvh);margin:auto;overflow:auto;box-shadow:inset 0 0 0 5px #eee3d2,inset 0 0 0 6px #d2bea2,0 24px 70px #08080e99}.settings-dialog::backdrop{background:#08090fd1}.settings-dialog .dialog-header{background:#e7d8c3;border-bottom:1px solid #baa48c;align-items:center;padding:22px clamp(24px,5vw,38px)}.settings-dialog .dialog-header .eyebrow{color:#8c684b;margin:0 0 5px}.settings-dialog .dialog-header h2{color:#432f32;font:normal clamp(27px, 4vw, 34px)/1.2 var(--font-display);margin:0}.settings-dialog .dialog-header .close{color:#563a38;background:0 0;border:1px solid #ab9078;border-radius:50%;flex:none;width:44px;height:44px;font-size:26px}.settings-dialog .dialog-header .close:hover{background:#f6ead8}.settings-dialog .music-settings,.settings-dialog .settings-backup{border:0;margin:0;padding:0}.settings-dialog .settings-backup{border-top:1px solid #c9b49a;padding-top:26px}.settings-dialog .settings-section-label{color:#98734f;font:600 10px/1.4 var(--font-label);letter-spacing:.14em;text-transform:uppercase;margin:0 0 6px}.settings-dialog .settings-backup .small{color:#786659!important;margin-top:24px!important;font-size:13px!important}.settings-dialog .settings-volume{color:#675044;font:14px var(--font-body);justify-content:space-between;gap:20px;margin-top:18px;display:flex}.settings-dialog .settings-volume label{margin:0}.settings-dialog .music-settings input{accent-color:#793e43;cursor:pointer;width:100%;max-width:none;margin:12px 0 0;display:block}.settings-dialog .actions{gap:10px}.settings-dialog .actions button{min-height:48px}.settings-dialog .secondary{color:#563d36;border-color:#a68b70}.settings-dialog .text-button{color:#80564e;text-underline-offset:4px;min-height:44px;padding:6px 0;text-decoration:underline}.settings-dialog .notice{margin:0 38px 24px}@media (width<=480px){.settings-dialog .actions{flex-direction:column;align-items:stretch}.settings-dialog .actions button{width:100%}}.settings-dialog{color:#f2e5d3;background:linear-gradient(150deg,#302831,#20212d);border:1px solid #a58a69;width:min(590px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:min(88vh,88dvh);margin:auto;box-shadow:inset 0 0 0 5px #1b1b25,inset 0 0 0 6px #9e806050,0 24px 70px #08080eb3}.settings-dialog .dialog-header{background:linear-gradient(110deg,#3b2c31,#292630);border-bottom:1px solid #806953;gap:1rem;padding:clamp(20px,4vw,28px) clamp(22px,5vw,34px)}.settings-dialog .dialog-header .eyebrow{color:#d6ae77;letter-spacing:.16em;margin:0 0 .4rem}.settings-dialog .dialog-header h2{color:#faead2;font-size:clamp(26px,4vw,33px)}.settings-dialog .dialog-header .close{color:#f5e4d0;background:#3b3032;border:1px solid #9f846b;place-items:center;width:44px;height:44px;display:grid}.settings-dialog .dialog-header .close:hover{background:#574038;border-color:#e1bc87}.settings-dialog .settings-body{gap:1rem;padding:clamp(20px,4vw,30px);display:grid}.settings-dialog .music-settings,.settings-dialog .settings-backup{background:linear-gradient(135deg,#392f32,#29262d);border:1px solid #776451;border-radius:3px;margin:0;padding:clamp(17px,3vw,23px);box-shadow:inset 0 1px #d3b48824,0 4px 12px #0002}.settings-dialog .settings-section-label{color:#d3a96f;letter-spacing:.15em;margin:0 0 .35rem;font-size:.68rem}.settings-dialog h3{color:#f4dfc1;font:normal clamp(21px,3vw,25px)/1.25 var(--font-display);margin:0 0 .65rem}.settings-dialog .settings-backup>p:not(.settings-section-label){color:#dfd1c1;font:15px/1.55 var(--font-body);margin:.45rem 0 1.15rem}.settings-dialog .settings-volume{color:#e7d6bf;align-items:center;margin-top:1rem;font-size:.95rem}.settings-dialog .settings-volume span{color:#f0ce98;font-variant-numeric:tabular-nums;font-weight:700}.settings-dialog .music-settings input{accent-color:#d7a65f;min-height:44px;margin:.25rem 0 0}.settings-dialog .actions{flex-wrap:wrap;gap:.65rem;display:flex}.settings-dialog .actions button{color:#f7ead9;background:#40373a;border:1px solid #aa9074;border-radius:3px;flex:160px;min-height:48px;padding:.7rem 1rem;font-weight:700}.settings-dialog .actions .primary{color:#2b1d13;background:linear-gradient(#dfb672,#b27b3e);border-color:#d9b57f}.settings-dialog .actions button:hover{filter:brightness(1.12)}.settings-dialog .settings-backup .small{color:#c9b9aa!important;margin:1.1rem 0 .5rem!important;font-size:.85rem!important;line-height:1.5!important}.settings-dialog .text-button{color:#f0c7b7;background:#4a3032;border:1px solid #9d716a;border-radius:3px;min-height:44px;margin:.4rem 0 0;padding:.45rem .65rem;text-decoration:none}.settings-dialog .text-button:hover{background:#603c3b;border-color:#e3b3a0}.settings-dialog :focus-visible{outline-offset:3px;outline:3px solid #ffe0a2}.settings-dialog .notice{color:#352822;background:#e9dac5;border:1px solid #b9a080;margin:0 clamp(20px,4vw,30px) 24px}@media (width<=480px){.settings-dialog .settings-body{gap:.75rem}.settings-dialog .actions{flex-direction:column}.settings-dialog .actions button{flex:auto;width:100%}}.settings-dialog .settings-backup .text-button{margin:1.2rem auto 0;display:block}dialog.confirm-dialog{box-sizing:border-box;color:#f4e7d5;background:radial-gradient(at 50% 0,#75513a55,#0000 58%),linear-gradient(145deg,#342a31,#20212d);border:1px solid #a88963;border-radius:3px;width:min(440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;min-height:0;max-height:calc(100dvh - 32px);margin:auto;padding:0;position:fixed;inset:0;overflow:auto;box-shadow:inset 0 0 0 5px #1c1b25,inset 0 0 0 6px #ac8c624d,0 18px 60px #000a}.confirm-dialog::backdrop{background:#080910c9}.confirm-dialog .confirm-dialog-inner{text-align:center;padding:clamp(24px,6vw,38px)}.confirm-dialog .confirm-emblem{color:#efc88d;background:#392c2e;border:1px solid #ad8a5e;border-radius:50%;place-items:center;width:40px;height:40px;margin:0 auto .8rem;font-size:1rem;display:grid;box-shadow:inset 0 0 0 3px #392c2e,inset 0 0 0 4px #a8896255}.confirm-dialog .confirm-kicker{color:#d9b47d;font:700 .68rem/1.3 var(--font-label);letter-spacing:.16em;text-transform:uppercase;margin:0 0 .55rem}.confirm-dialog h2{color:#f8ead6;font:normal clamp(23px,4vw,28px)/1.2 var(--font-display);margin:0}.confirm-dialog .confirm-description{color:#dfd1c2;max-width:34ch;font:15px/1.55 var(--font-body);margin:.8rem auto 0}.confirm-dialog .confirm-actions{justify-content:center;gap:.65rem;margin:1.5rem 0 0;display:flex}.confirm-dialog .confirm-actions button{color:#f8ead9;background:#42373a;border:1px solid #a28c78;border-radius:3px;flex:130px;min-height:48px;padding:.7rem .85rem;font-weight:700;line-height:1.25}.confirm-dialog .confirm-actions .confirm-accept{color:#2b1c12;background:linear-gradient(#e2b775,#b57e3d);border-color:#dcb87f}.confirm-dialog .confirm-actions button:hover{filter:brightness(1.1)}.confirm-dialog :focus-visible{outline-offset:3px;outline:3px solid #ffe0a2}.memory-composer{text-align:left;max-width:760px;margin:auto}.memory-intro{color:#ddd0c5;align-items:flex-start;gap:.8rem;margin:0 0 1.4rem;display:flex}.memory-intro>span{color:#d8ac70;font-size:1rem;line-height:1.6}.memory-intro p{margin:0;line-height:1.6}.memory-sheets{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.memory-composer .memory-row{background:linear-gradient(145deg,#383034,#29262e);border:1px solid #75645a;border-radius:3px;min-width:0;margin:0;padding:clamp(16px,2.5vw,22px);box-shadow:0 5px 14px #0003,inset 0 1px #e5c49a20}.memory-composer .memory-row.is-active{border-color:#d6af77;box-shadow:inset 0 3px #c5975c,0 5px 16px #0005}.memory-composer .memory-row-header{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.memory-composer .memory-eyebrow{color:#cda674;font:700 .68rem/1.3 var(--font-label);letter-spacing:.13em;text-transform:uppercase;margin:0 0 .35rem}.memory-composer .memory-row-header h3,.memory-composer .memory-keyboard h3{color:#fae9d1;font:normal 1.22rem/1.2 var(--font-display);margin:0}.memory-composer .memory-activate{color:#eadac8;white-space:nowrap;background:#393235;border:1px solid #907a68;min-height:44px;padding:.5rem .65rem;font-size:.78rem}.memory-composer .memory-activate[aria-pressed=true]{color:#ffe8c0;background:#6d5038;border-color:#d8b27a}.memory-composer .memory-target{color:#e5d5c2;min-height:3rem;font:normal 1rem/1.5 var(--font-display);margin:1rem 0}.memory-composer .memory-composition{background:#201f27;border:1px solid #68594e;border-radius:2px;gap:.4rem;min-height:68px;padding:.65rem;box-shadow:inset 0 2px 8px #0005}.memory-composer .memory-composition button{color:#ffead0;background:linear-gradient(#775536,#4e3829);border:1px solid #af895b;min-height:40px;padding:.4rem .6rem}.memory-composer .memory-empty{color:#c9baaa;font-size:.88rem}.memory-row-tools{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.5rem;margin-top:.85rem;display:flex}.memory-typing{flex:150px;min-width:0}.memory-typing summary{color:#e6c28b;cursor:pointer;text-underline-offset:3px;min-height:44px;padding:.65rem 0;font-size:.88rem;text-decoration:underline}.memory-composer .memory-clear{color:#e3d0bb;background:0 0;border-color:#766557;min-height:44px;padding:.5rem .6rem;font-size:.8rem}.memory-composer .memory-text-label{margin:.35rem 0 .6rem}.memory-composer .memory-keyboard{background:linear-gradient(135deg,#342a2c,#25232b);border:1px solid #997e5f;border-radius:3px;margin-top:1.2rem;padding:clamp(16px,3vw,23px);box-shadow:inset 0 0 0 3px #211e26,inset 0 0 0 4px #a5885944}.memory-keyboard-heading{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:.8rem;margin-bottom:1rem;display:flex}.memory-composer .memory-destination{color:#e8d5b9;background:#29242a;border:1px solid #8e7353;border-radius:2px;margin:0;padding:.4rem .65rem;font-size:.82rem}.memory-composer .memory-destination strong{color:#ffd99d}.memory-composer .memory-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem;display:grid}.memory-composer .memory-tiles button{color:#2d1e16;min-width:0;min-height:50px;font:700 1rem/1 var(--font-display);letter-spacing:.06em;background:linear-gradient(#e4c592,#b98950);border:1px solid #e4c28d;border-radius:3px;box-shadow:inset 0 1px #fff0cf,0 3px 5px #0007}.memory-composer .memory-tiles button:hover{filter:brightness(1.1)}.memory-composer .memory-actions{gap:.7rem;margin:1.5rem 0 0}.memory-composer .memory-actions button{min-height:48px;padding:.7rem 1rem}@media (width<=650px){.memory-sheets{grid-template-columns:1fr}.memory-composer .memory-target{min-height:0}}@media (width<=380px){.memory-composer .memory-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:.3rem}.memory-composer .memory-tiles button{padding:.4rem .1rem;font-size:.88rem}}.memory-composer .memory-row{cursor:pointer}
