*{box-sizing:border-box}[hidden]{display:none!important}html,body{overscroll-behavior:none;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:#1b1a17;height:100%;margin:0;overflow:hidden}#dialog-text,#notebook-body :is(p,li,h3,h4),#report-q,#report-source .source-line{-webkit-user-select:text;user-select:text}#game{position:fixed;inset:0}#game canvas{touch-action:none}#chapter-title{font-size:calc(1rem * var(--text,1))}#chapter-ref{opacity:.75;font-size:calc(.875rem * var(--text,1));margin-left:8px}#dialog-layer{z-index:10;padding:calc(var(--hud-h,0px) + 8px) 16px calc(16px + env(safe-area-inset-bottom));cursor:pointer;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}#dialog-text{white-space:pre-line;overflow-wrap:break-word;font-size:calc(1.125rem * var(--text,1));margin:6px 0 10px;line-height:1.45}#notebook-body p{margin:0 0 8px;line-height:1.45}#notebook-body button{text-align:left;width:100%;margin:6px 0;display:block}#hud>div:first-child{flex:1 1 0;min-width:0}#mission-question{font-size:calc(1rem * var(--text,1));color:#fff5d8;margin-top:3px;font-weight:700}#objective{-webkit-line-clamp:2;line-clamp:2;font-size:calc(.9375rem * var(--text,1));color:#f3d58a;cursor:pointer;text-align:left;background:#ffffff0a;border-color:#bda56d;-webkit-box-orient:vertical;width:100%;margin-top:2px;padding:6px 28px 6px 10px;display:-webkit-box;position:relative;overflow:hidden}#objective:after{content:"›";font-size:1.5rem;position:absolute;top:50%;right:9px;transform:translateY(-50%)}#objective:hover,#objective:focus-visible{background:#ffffff1a}#objective:empty{display:none}#score{font-size:calc(1rem * var(--text,1));color:#f3d58a;white-space:nowrap;background:0 0;border-color:currentColor;margin-right:6px;font-weight:700}@keyframes toast{0%{opacity:0;transform:translateY(12px)scale(.9)}10%,80%{opacity:1;transform:none}to{opacity:0;transform:translateY(-12px)}}#dialog-body{flex:1;min-width:0}#inventory{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}#inventory span{color:var(--ink);font-size:calc(.875rem * var(--text,1));background:#f6efdfe6;border-radius:999px;padding:2px 10px}@keyframes pulse{50%{transform:scale(1.08)}}#notebook-body .primary:disabled{opacity:.45}#notebook-body .plain{background:0 0;border:none;width:auto;padding-left:0}#notebook-card:before,#notebook-card:after{content:"";background:var(--wood);border-radius:11px;height:22px;position:absolute;left:-16px;right:-16px;box-shadow:0 4px 10px #00000080}#notebook-card:before{top:-12px}#notebook-card:after{bottom:-12px}#notebook-card h2{text-align:center;font-variant:small-caps;letter-spacing:.14em;color:var(--ink);margin:4px 0 2px;font-size:1.75rem}#notebook-card h2:after{content:"❦";letter-spacing:0;color:var(--rubric);margin-top:2px;font-size:1.125rem;display:block}#notebook-body{min-height:0;font-size:calc(1em * var(--text,1));flex:1;padding:4px 14px 8px 6px;overflow:hidden auto}#notebook-body .tabs{border-bottom:2px solid #5a341480;flex-wrap:nowrap;gap:0;margin:6px 0 14px;display:flex}#notebook-body .tabs button{text-align:center;min-width:0;min-height:44px;color:var(--ink);font-variant:small-caps;font-size:calc(1.0625rem * var(--text,1));letter-spacing:.06em;white-space:nowrap;text-overflow:ellipsis;opacity:.85;background:0 0;border:none;border-radius:8px 8px 0 0;flex:1 1 0;margin:0;overflow:hidden}#notebook-body .tabs .tab-short{white-space:nowrap;display:none}#notebook-body .tabs .tab-full{white-space:nowrap;display:inline}@media (width<=959px),(orientation:landscape) and (height<=500px){#notebook-body .tabs{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}#notebook-body .tabs button{font-size:calc(.92rem * var(--text,1));font-variant:normal;letter-spacing:0;padding:8px 2px;line-height:1.2}#notebook-body .tabs .tab-full{display:none}#notebook-body .tabs .tab-short{display:inline}body.big #notebook-body .tabs button{font-size:calc(.85rem * var(--text,1))}}#notebook-body .tab-lead{font-size:calc(1.05rem * var(--text,1));color:#653d13;margin:0 0 10px;font-weight:600}#notebook-body .tab-more{margin:10px 0}#notebook-body .tabs .active{color:var(--rubric);opacity:1;box-shadow:inset 0 -3px 0 var(--rubric);background:#5a341429}#notebook-body .case{background:linear-gradient(#fff8e1bf,#f4e4bcbf);border:1px solid #5a34148c;border-radius:3px 9px 4px 8px;margin:14px 2px;padding:12px 16px;position:relative;transform:rotate(-.5deg);box-shadow:2px 3px 6px #3c230a59}#notebook-body .case:nth-child(2n){transform:rotate(.4deg)}#notebook-body h3{color:var(--ink);margin:12px 0 4px}#notebook-body .case h3{margin-top:0;font-size:1.1875rem}#notebook-body .primary{background:var(--wood);color:#f8ebcb;font-variant:small-caps;letter-spacing:.08em;text-align:center;border:1px solid #3d220c;border-radius:6px;font-size:1.0625rem;box-shadow:0 2px 5px #0006}#notebook-close{font-variant:small-caps;letter-spacing:.08em;background:#fff8e199;border-color:#5a341499;align-self:center;margin-top:10px}#notebook-card{max-height:100%;color:var(--ink);background:var(--parchment);border-radius:4px;flex-direction:column;width:min(600px,100%);padding:22px 22px 16px;animation:.5s cubic-bezier(.2,.9,.3,1) unroll;display:flex;position:relative;overflow:visible;box-shadow:inset 0 0 40px #78501e73,0 14px 40px #0009}@keyframes unroll{0%{clip-path:inset(48% -20px);transform:scale(.96)}to{clip-path:inset(-20px)}}@keyframes fade{0%{opacity:0}}#notebook-body.fresh>:nth-child(2){animation-delay:50ms}#notebook-body.fresh>:nth-child(3){animation-delay:.1s}#notebook-body.fresh>:nth-child(4){animation-delay:.15s}#notebook-body.fresh>:nth-child(5){animation-delay:.2s}#notebook-body.fresh>:nth-child(6){animation-delay:.25s}#notebook-body.fresh>:nth-child(n+7){animation-delay:.3s}@keyframes rise{0%{opacity:0;translate:0 14px}}@keyframes pop{0%{scale:.7}60%{scale:1.08}}#dialog{overscroll-behavior:contain;width:min(640px,100%);max-height:100%;color:var(--ink);background:var(--parchment);border:1px solid #5a3414b3;border-radius:4px 10px 5px 9px;grid-template-rows:auto auto auto;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:4px 14px;padding:14px 18px;animation:.28s cubic-bezier(.2,.9,.3,1.2) slide-up;display:grid;overflow-y:auto;box-shadow:inset 0 0 26px #78501e66,0 8px 26px #0000008c}@keyframes slide-up{0%{opacity:0;translate:0 40px}}#dialog-portrait{aspect-ratio:1;object-fit:cover;border:3px solid #5a3414;border-radius:4px;width:clamp(84px,22vw,150px);animation:.35s pop;box-shadow:2px 3px 6px #0006}#dialog-text .untyped{visibility:visible}#dialog-body{display:contents}#dialog-portrait{grid-area:1/1/span 2}#dialog-speaker,#dialog-text,#dialog-foot{grid-column:2}#dialog-text{min-width:0;height:auto;max-height:none}#dialog-foot{grid-row:3}#dialog:has(>#dialog-portrait[hidden]){grid-template-columns:minmax(0,1fr)}#dialog:has(>#dialog-portrait[hidden]) :is(#dialog-speaker,#dialog-text,#dialog-foot){grid-column:1}@keyframes action-in{0%{opacity:0;translate:0 20px}}#objective,#score{transform-origin:0}.mission-card{background:#fff9e8;border:2px solid #8c622b;border-radius:12px;margin:.6rem 0 1rem;padding:1rem}.mission-card h4{color:#653d13;margin:0}.mission-card p{font-size:1.15rem;line-height:1.5}.mission-card button{min-height:48px;margin:.25rem}.mission-history{border-top:1px solid #bba580;margin-top:.8rem}.mission-history summary{cursor:pointer;color:#653d13;min-height:44px;padding:.75rem 0}.mission-history ul{margin:.2rem 0;padding:0;list-style:none}.mission-history li{padding:.45rem 0 .45rem 1.5rem;line-height:1.45;position:relative}.mission-history li:before{content:"✓";color:#45612c;font-weight:700;position:absolute;left:0}.history-action{display:block}.mission-history .history-review{text-align:left;white-space:normal;text-underline-offset:.2em;max-width:100%;margin:.25rem 0;text-decoration:underline;display:block}.source-archive>summary,.case-archive summary,.ready-cases>summary{cursor:pointer;min-height:44px;padding:1rem .25rem}.ready-cases{background:#f5edda;border:1px solid #a58646;border-radius:12px;margin:1rem 0;padding:1rem}.ready-cases>h4{color:#653d13;margin:0 0 .7rem}.ready-cases .thread{margin-bottom:0}.ready-cases .tile.ready{background:#fffaf0;margin:.7rem 0}.ready-cases .tile button{min-height:48px}section.case-archive{background:#f5edda;border:2px solid #9b7339;border-radius:12px;margin:1.4rem 0;padding:1rem}section.case-archive>h4{color:#653d13;margin:0}section.case-archive>p{line-height:1.45}#notebook-body section.case-archive .thread{gap:.75rem;margin:0;padding:0;display:grid}#notebook-body section.case-archive .thread:before{display:none}#notebook-body section.case-archive .tile.wait{background:#fffcf3;border:1px solid #bda373;border-radius:10px;margin:0;padding:1rem}#notebook-body section.case-archive .tile .mk,#notebook-body section.case-archive .tile .from{display:none}#notebook-body section.case-archive .tile button{min-height:48px}.collected-records,.case-findings{margin:1.4rem 0}.collected-records h4,.case-findings h4{color:#653d13;margin:0}.collected-records>p,.case-findings>p{margin:.5rem 0 .8rem;line-height:1.4}.source-trail{gap:.6rem;display:grid}#notebook-body .source-trail .face{width:100%;font:inherit;text-align:left;white-space:normal;background:#fff9e8;border:1px solid #c9b48c;border-radius:10px;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:6px 12px;margin:0;padding:12px;display:grid}.source-trail .face>*{grid-column:2}.source-trail .face>img,.source-trail .face>.sign{object-fit:contain;grid-area:1/1/span 2;width:52px;height:52px}.source-trail .source-name{overflow-wrap:anywhere;font-weight:700}.source-trail .face .source-preview{grid-column:1/-1;display:block;overflow:visible}.source-trail .face small{font-size:.85em;line-height:1.4;display:block}.finding-context{margin:.6rem 0;font-size:.95rem;font-weight:400;line-height:1.45;display:block}.assessment{text-align:left;border-left:3px solid var(--open);background:#fff8e6;flex-basis:100%;padding:.8rem;line-height:1.45}.assessment strong,.assessment small{display:block}.assessment p{margin:.45rem 0}.case-findings .tile{text-align:left;background:#fff9e8;border-left:5px solid #687b40;border-radius:10px;width:100%;margin:.7rem 0;padding:1rem;display:block}.case-findings .ink{margin:.6rem 0;font-size:1rem;line-height:1.5;display:block}.practice-summary{white-space:pre-line;font-size:1rem;line-height:1.5}.finding-basis{border-top:1px solid #cbbb90;margin-top:.7rem}.finding-basis summary,.source-words summary{cursor:pointer;box-sizing:border-box;color:#653d13;min-height:44px;padding:.8rem .1rem;font-weight:700}.finding-basis button{min-height:44px}.finding-basis .witness{background:#fffcf3;border:1px solid #cbbb90;border-radius:8px;margin:.8rem 0;padding:.8rem}.finding-basis .witness .who{flex-wrap:wrap;font-size:1rem}.finding-basis .witness .who :is(img,.sign){width:36px;height:36px}.finding-basis .fit-evidence{align-self:center;width:96px;height:72px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation:none!important}}.no-hints #mission-question,.no-hints #objective,body.expert #compass{display:none}#hud-buttons{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;max-width:100%;display:flex;position:relative}#settings-btn,#hud-fold{min-width:44px;padding:6px;font-size:1.25rem}#settings-menu{z-index:5;background:var(--parchment);min-width:190px;max-height:calc(100vh - var(--menu-top,var(--hud-h,80px)) - 12px - env(safe-area-inset-bottom));max-height:calc(100dvh - var(--menu-top,var(--hud-h,80px)) - 12px - env(safe-area-inset-bottom));overscroll-behavior:contain;border:1px solid #5a3414b3;border-radius:6px;flex-direction:column;gap:6px;padding:10px;animation:.2s rise;display:flex;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto;box-shadow:0 8px 22px #00000080}#settings-menu>*{flex-shrink:0}#settings-menu.more{-webkit-mask-image:linear-gradient(#000 calc(100% - 36px),#0000);mask-image:linear-gradient(#000 calc(100% - 36px),#0000)}body.big #settings-menu{min-width:min(280px,100vw - 24px)}#hud{padding:calc(8px + env(safe-area-inset-top)) 12px 8px;color:var(--paper);z-index:12;background:#1b1a17bf;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex;position:fixed;top:0;left:0;right:0}#hud.folded{flex-wrap:nowrap}#hud.folded>div:first-child{flex:1 1 0;order:0;width:auto;min-width:0}#hud.folded #hud-buttons{flex-wrap:nowrap;flex:none;order:1;width:auto}#hud.folded :is(#chapter-title,#chapter-ref,#mission-question,#mission-progress,#inventory,#score,#notebook-btn,#intro-replay-btn,#zoom-in,#zoom-out){display:none}#hud.folded #objective{white-space:nowrap;text-overflow:ellipsis;margin-top:0;display:block}#objective:focus-visible{-webkit-line-clamp:unset;line-clamp:none;white-space:normal}.gain{z-index:29;left:auto;right:max(.6rem, env(safe-area-inset-right));top:max(.5rem, calc(var(--hud-h,100px) + .5rem));background:var(--parchment);max-width:min(20rem,72vw);color:var(--ink);pointer-events:none;transform-origin:100% 0;border:1px solid #5a3414b3;border-radius:3px 10px 4px 9px;align-items:flex-start;gap:.75rem;max-height:none;margin-left:0;padding:.75rem 1.1rem .75rem .75rem;animation:.4s cubic-bezier(.2,.9,.3,1.3) gain-in;display:flex;position:fixed;overflow:visible;box-shadow:0 10px 30px #0000008c}.gain .gain-words{overflow-wrap:anywhere;word-break:break-word;flex-direction:column;gap:.2rem;min-width:0;display:flex}.gain.compact{width:max-content;max-width:min(90vw,16em);font-size:calc(.95rem / var(--text,1));align-items:center;gap:.45em;padding:.35em .75em .35em .4em}.gain.compact .mark{width:1.85em;height:1.85em;font-size:1em;line-height:1.85em}.gain.compact .gain-words{flex-direction:row;align-items:center;gap:0;min-width:0}.gain.compact strong{white-space:nowrap;align-self:center;margin:0;padding:0;line-height:1.15;display:block}body.big .gain:not(.compact){max-width:min(14rem,72vw);font-size:calc(.9rem / var(--text,1))}@keyframes gain-in{0%{opacity:0;rotate:-6deg;scale:.6}}.gain.quiet{opacity:.92;border-width:1px;box-shadow:0 2px 8px #0003}.gain .mark{color:#f6d9c9;text-align:center;background:radial-gradient(circle at 35% 30%,#d8483a,#9b1c14 60%,#6d100b);border-radius:50%;flex:none;width:46px;height:46px;font-size:1.5rem;line-height:46px;box-shadow:2px 3px 6px #0006}.gain.fact .mark{color:#3a2a18;background:radial-gradient(circle at 35% 30%,#e6c463,#b98a1e 60%,#7d5a0d)}.gain.clue .mark{background:radial-gradient(circle at 35% 30%,#a98253,#6e4a22 60%,#46290d)}.gain strong{font-variant:small-caps;letter-spacing:.08em;color:var(--rubric);display:block}#notebook-btn.bump{animation:.45s bump}@keyframes bump{30%{background:#f3d58a;scale:1.3}}#guide{z-index:30;position:fixed;inset:0}#guide.centered{background:#140c04b8;justify-content:center;align-items:center;display:flex}#guide-card{background:var(--parchment);width:min(380px,100vw - 24px);color:var(--ink);border:1px solid #5a3414b3;border-radius:4px 10px 5px 9px;max-height:calc(100dvh - 16px);padding:16px 18px 12px;position:fixed;overflow-y:auto;box-shadow:0 10px 30px #0009}#guide.centered #guide-card{width:min(460px,100vw - 24px);position:static}#guide-card.step{animation:.3s rise}#guide-card h3{font-variant:small-caps;font-size:calc(1.375rem * var(--text,1));letter-spacing:.08em;color:var(--rubric);margin:0 0 6px}#guide-card p{font-size:calc(1.0625rem * var(--text,1));white-space:pre-line;margin:0 0 12px;line-height:1.45}#guide-row{justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}#guide-count{opacity:.6;font-size:.875rem}#guide-next{background:var(--wood);color:#f8ebcb;font-variant:small-caps;letter-spacing:.08em;border:1px solid #3d220c}#opening-movie{z-index:40;background:#0f0a05;position:fixed;inset:0;overflow:auto}#opening-movie section{flex-direction:column;justify-content:center;align-items:center;min-height:100%;display:flex}#opening-movie-video{object-fit:contain;aspect-ratio:16/9;cursor:pointer;width:min(100%,1280px);max-height:calc(100dvh - 100px);display:block}#opening-movie-video::cue{color:#fff;background:#160f0de8;font:clamp(1.0625rem,2.5vw,1.875rem)/1.25 Arial,sans-serif}#opening-movie-video::cue(b){color:#f1cf99}#opening-movie.narrow-film #opening-movie-video{aspect-ratio:4/3}#opening-movie-controls{flex-wrap:wrap;justify-content:center;gap:8px;padding:12px;display:flex}#opening-movie-controls button{color:#f4ce8f;background:0 0;border:1px solid #89734f;min-height:44px;font-size:.875rem}#opening-movie-controls button:hover,#opening-movie-controls button:focus-visible{background:#3d2a16}#opening-movie.playing #opening-movie-controls button{border-color:#0000}#opening-movie-caption{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:0;padding:0;position:absolute;overflow:hidden}#prologue{z-index:40;background:#0f0a05;animation:.6s fade;position:fixed;inset:0;overflow:hidden}#prologue-image{object-fit:cover;object-position:50% 22%;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}#prologue-image.drift-a{animation:18s ease-out forwards drift-a,.9s fade}#prologue-image.drift-b{animation:18s ease-out forwards drift-b,.9s fade}@keyframes drift-a{0%{transform:scale(1.06)}to{transform:scale(1.22)translate(-3%,-2%)}}@keyframes drift-b{0%{transform:scale(1.22)translate(3%,1%)}to{transform:scale(1.06)}}#prologue-card{left:50%;bottom:calc(26px + env(safe-area-inset-bottom));background:var(--parchment);width:min(720px,100vw - 28px);color:var(--ink);border:1px solid #5a3414b3;border-radius:4px 10px 5px 9px;padding:16px 22px 12px;position:absolute;translate:-50%;box-shadow:0 12px 34px #000000a6}#prologue-title,#prologue-reference{display:none}#prologue-text{white-space:pre-line;font-size:calc(1.25rem * var(--text,1));margin:0 0 12px;line-height:1.5}#prologue-text.step{animation:.6s rise}#prologue-row{justify-content:space-between;gap:10px;display:flex}#prologue.film #prologue-card{max-height:calc(100dvh - 28px - env(safe-area-inset-bottom));color:#fff7e8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(145deg,#151315f0,#1c1612de);border:1px solid #ffe0ab73;border-radius:18px;overflow-y:auto}#prologue-meta{color:var(--rubric);font-size:calc(.875rem * var(--text,1));justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;display:flex}#prologue.film #prologue-row{z-index:1;background:#1c1612;flex-wrap:wrap;padding:8px 0;position:sticky;bottom:0}#prologue.film #prologue-row button{flex:auto}#prologue.film.title #prologue-title{color:#fff7e8}#prologue.film.title #prologue-reference,#prologue.film #prologue-meta{color:#f4ce8f}#prologue.film #prologue-next{flex-grow:2}#prologue-speaker{margin-right:auto}#prologue.film #prologue-pause,#prologue.film.intro #prologue-skip,#prologue.film.intro #prologue-replay{color:#e8d1ae;min-height:44px;box-shadow:none;font-size:calc(.875rem * var(--text,1));background:0 0;border:1px solid #0000;flex:0 auto;padding:8px 12px}#prologue.film #prologue-pause{min-width:44px;font-size:1.25rem}#prologue.film #prologue-pause:hover,#prologue.film.intro #prologue-skip:hover,#prologue.film.intro #prologue-replay:hover{background:#ffffff12;border-color:#e8d1ae}#prologue.film.intro #prologue-row{justify-content:flex-end}#prologue.film.intro #prologue-next{flex:100%}#prologue.film.intro #prologue-image,#prologue.film.intro #prologue-video{cursor:pointer}#prologue.film{padding:10px 0 max(10px, env(safe-area-inset-bottom));grid-template:minmax(140px,1fr) auto/1fr;justify-items:center;gap:8px;display:grid}#prologue.film #prologue-image,#prologue-video{object-fit:contain;object-position:center;cursor:default;grid-area:1/1;width:100%;height:100%;min-height:0;position:relative;inset:auto}#prologue.film #prologue-image{animation:.7s fade;transform:none}#prologue.film #prologue-card{grid-area:2/1;max-height:58dvh;position:relative;bottom:auto;left:auto;translate:none}@media (orientation:portrait){#prologue.film{padding-top:0}#prologue.film #prologue-image{object-fit:cover;object-position:50% 22%;align-self:stretch;height:auto}}#prologue-method{gap:8px;margin:14px 0;padding:0;list-style:none;display:flex}#prologue-method li{text-align:center;background:#e2bb7020;border-top:2px solid #d6b46e;flex:1;min-width:0;padding:10px 4px;animation:.4s both method-arrive}#prologue-method li:nth-child(2){animation-delay:.2s}#prologue-method li:nth-child(3){animation-delay:.4s}#prologue-method .method-icon{margin-bottom:5px;font-size:1.75rem;display:block}#prologue-method strong{font-size:calc(.9375rem * var(--text,1));overflow-wrap:anywhere}#prologue.paused #prologue-method li{animation:none}@keyframes method-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}#prologue-stamps{grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0 16px;display:grid}.opening-stamp{color:#365132;background:#fff8e9;border:2px solid;border-radius:9px;padding:10px}.opening-stamp.trolig{color:#274769}.opening-stamp.omstridt{color:#78400c}.opening-stamp.metode{color:#4d5261}#prologue.film:has(#prologue-stamps:not([hidden])) #prologue-card{max-height:75dvh}.opening-stamp strong,.opening-stamp span{display:block}.opening-stamp span{font-size:calc(.875rem * var(--text,1));margin-top:6px;line-height:1.35}@media (width<=520px){#prologue-method{flex-direction:column}#prologue-method li{text-align:left;align-items:center;gap:12px;padding:6px 14px;display:flex}#prologue-method .method-icon{margin:0;font-size:1.375rem}#prologue-method strong{font-size:calc(1rem * var(--text,1))}#prologue-stamps{grid-template-columns:1fr}.opening-stamp{grid-template-columns:95px 1fr;gap:6px;display:grid}.opening-stamp span{margin:0}}#prologue:not(.film) #prologue-meta{display:none}#intro-replay-btn{white-space:nowrap}#prologue-background{border-top:1px solid #ffe0ab59;margin-top:14px}#prologue-background summary{color:#f4ce8f;cursor:pointer;min-height:44px;padding:12px 2px}#prologue-background-text p{margin:0 0 1em;line-height:1.55}#prologue.title #prologue-reference{text-align:center;color:var(--rubric);margin-bottom:12px;font-size:1rem;display:block}#prologue.title #prologue-next{min-height:52px;padding:8px 40px;font-size:1.25rem}#diagnose{z-index:50;background:#140c04cc;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0}#diagnose-card{background:var(--parchment);width:min(640px,100%);max-height:100%;color:var(--ink);-webkit-user-select:text;user-select:text;border-radius:6px;padding:14px;overflow:auto}#diagnose-card h3{margin:0 0 8px}#diagnose-row{flex-wrap:wrap;gap:6px;display:flex}#diagnose-log{white-space:pre-wrap;word-break:break-word;margin:10px 0 0;font:.75rem/1.4 monospace}#ending,#confirm{z-index:35;background:#140c04b8;justify-content:center;align-items:center;padding:16px;animation:.4s fade;display:flex;position:fixed;inset:0}#ending-card h2,#confirm-card h2{font-variant:small-caps;letter-spacing:.1em;margin:0 0 10px}#confirm-text{white-space:pre-line;margin:0 0 14px;line-height:1.4}#ending-text{font-size:calc(1.0625rem * var(--text,1));white-space:pre-line;margin:0 0 16px;line-height:1.5}#ending-row,#confirm-row{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(9rem,50% - 4px)),1fr));gap:8px;display:grid}.ending-toy{color:#4a2f08;white-space:normal;background:linear-gradient(#fff4c8,#f6dc8a);border:2px solid #c08a12;border-radius:12px;width:100%;margin:0 0 10px;padding:10px 14px;font-weight:700;animation:.5s ease-out .6s both ending-toy-in;display:block}@keyframes ending-toy-in{0%{opacity:0;transform:translateY(8px)scale(.96)}}@media (prefers-reduced-motion:reduce){.ending-toy{animation:none}}#ending-row button,#confirm-row button{white-space:normal;overflow-wrap:anywhere;min-width:0}#ending-next,#ending-row.again #ending-stay{grid-column:1/-1}#ending-row.again #ending-next{grid-column:auto}#ending-map,#ending-film{min-height:44px;font-size:calc(.875rem * var(--text,1));opacity:.85;padding:6px 12px}#confirm{z-index:46}#confirm[inert]{visibility:hidden}#ending-next,#confirm-yes,#confirm-card.careful #confirm-no{background:var(--wood);color:#f8ebcb;font-variant:small-caps;letter-spacing:.06em;border:1px solid #3d220c}#confirm-card.careful #confirm-yes{border-color:var(--accent);background:var(--paper);color:var(--ink);font-variant:normal;letter-spacing:normal}:root{--paper:#f6efdf;--accent:#8a5a2b;--ink:#3a2a18;--rubric:#8b1a1a;--parchment:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.36  0 0 0 0 0.24  0 0 0 0 0.1  0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(ellipse at 30% 15%, #f8ebcb 0%, #ecd7a8 65%, #d8bb82 100%);--wood:linear-gradient(#8a5a2b, #5a3414 45%, #7a4a1f 55%, #3d220c);--hud-h:60px;font-family:Georgia,Times New Roman,serif}button{font:inherit;font-size:calc(.875rem * var(--text,1));border:1px solid var(--accent);background:var(--paper);color:var(--ink);cursor:pointer;border-radius:8px;min-height:44px;padding:6px 12px}#dialog-foot{flex-wrap:wrap;align-items:center;gap:12px;display:flex}#dialog-replay{aspect-ratio:1;background:#fff8e199;border-color:#5a341499;border-radius:50%;flex:none;min-width:44px;padding:0 4px;font-size:1.125rem}#dialog.mute #dialog-replay{display:none}#dialog-next{color:#fff4dc;min-width:132px;min-height:48px;font-size:calc(1.125rem * var(--text,1));font-variant:small-caps;letter-spacing:.06em;white-space:nowrap;background:#5a3414;border:2px solid #3d220c;border-radius:999px;margin-left:auto;padding:8px 22px;font-weight:700;box-shadow:0 3px 8px #00000059}@media (width<=300px){#dialog-layer{padding-left:8px;padding-right:8px}#dialog #dialog-portrait{grid-row:auto;width:44px}#dialog-text{grid-column:1/-1}}@media (width<=480px){#dialog{grid-template-columns:auto minmax(0,1fr);gap:4px 12px;padding:12px 14px;display:grid}#dialog:has(>#dialog-portrait[hidden]){grid-template-columns:minmax(0,1fr)}#dialog-body{display:contents}#dialog-portrait{grid-row:1;width:clamp(56px,20vw,84px)}#dialog-text,#dialog-foot{grid-column:1/-1}#dialog-next{min-width:0;font-size:calc(1rem * var(--text,1));padding:8px 16px}}#dialog.typing #dialog-next{opacity:.8}#toasts{z-index:29;pointer-events:none;left:0;right:0;top:calc(var(--hud-h,0px) + 12px);flex-direction:column;align-items:center;gap:6px;display:flex;position:fixed}#notebook-panel{padding:34px 26px;padding-top:calc(var(--hud-h) + 26px);background:#140c04b8;justify-content:center;align-items:center;animation:.3s fade;display:flex;position:fixed;inset:0}#action-btn{bottom:calc(28px + env(safe-area-inset-bottom));background:var(--parchment);font-variant:small-caps;letter-spacing:.06em;border:2px solid #3d220c;border-radius:999px;width:fit-content;max-width:calc(100vw - 32px);min-height:52px;margin-inline:auto;padding:10px 26px;font-size:1.125rem;font-weight:700;animation:.25s action-in;position:fixed;left:0;right:0;box-shadow:0 6px 18px #00000073}#guide-card label{opacity:.8;align-items:center;gap:8px;min-height:44px;font-size:.875rem;display:flex}#episode-list,#lang-list,#level-list{border-top:1px solid #5a341466;flex-direction:column;gap:6px;margin-top:6px;padding-top:8px;display:flex}#episode-list button:disabled{opacity:.55}#level-list .level-note{color:var(--ink);margin:0;font-size:.875rem;line-height:1.35}.lang-choices [aria-pressed=true]{font-weight:700}.lang-choices [aria-pressed=true]:after{content:"✓";float:right;margin-left:12px}@keyframes shake{20%,60%{translate:-7px}40%,80%{translate:7px}}#minigame{z-index:38;padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));background:#140c04cc;justify-content:center;align-items:safe center;animation:.3s fade;display:flex;position:fixed;inset:0;overflow-y:auto}#minigame-card{width:min(560px,100%);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));background:var(--parchment);color:var(--ink);text-align:center;border:1px solid #5a3414b3;border-radius:4px 10px 5px 9px;padding:16px;animation:.45s cubic-bezier(.2,.9,.3,1) unroll;overflow-y:auto;box-shadow:0 12px 34px #000000a6}#minigame-card h3{font-variant:small-caps;letter-spacing:.08em;color:var(--rubric);margin:0 0 4px;font-size:1.375rem}#minigame-info{font-size:calc(.9375rem * var(--text,1));margin:0 0 10px}#minigame-result{min-height:28px;color:var(--rubric);margin:8px 0;font-size:1.25rem;font-weight:700}#minigame-result .retry{background:var(--wood);color:#f8ebcb;font-variant:small-caps;letter-spacing:.08em;border:1px solid #3d220c;margin:8px auto 0;display:block}#minigame-card:has(.puzzle){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:12px 20px;width:min(840px,100%);display:grid}#minigame-card:has(.puzzle)>:is(h3,#minigame-result,#minigame-quit){grid-column:1/-1}#minigame-card:has(.puzzle)>#minigame-quit{justify-self:center}.puzzle-moves{margin-top:8px;display:block}.puzzle-instruction{min-height:4.5em;display:grid}.puzzle-instruction>span{grid-area:1/1}.puzzle-instruction>[aria-hidden=true]{visibility:hidden}.puzzle-peek{box-sizing:border-box;border:2px solid #5a341499;border-radius:2px;width:100%;margin:8px auto;display:block;box-shadow:1px 2px 4px #00000059}@media (width<=600px){#minigame-card:has(.puzzle){display:block}.puzzle-peek{width:min(180px,100%)}}#minigame-stage{touch-action:manipulation;width:100%;position:relative}@media (height<=500px) and (orientation:landscape){:is(#minigame-card,#minigame-card:has(.puzzle)){grid-template-rows:auto auto 1fr auto;grid-template-columns:minmax(0,1fr) minmax(150px,.4fr);align-items:start;gap:4px 16px;width:min(100%,940px);padding:10px 12px;display:grid}#minigame-card>#minigame-stage{grid-area:1/1/5/2}#minigame-card>:is(h3,#minigame-info,#minigame-result,#minigame-quit){grid-column:2}#minigame-card>#minigame-quit{grid-row:4;justify-self:stretch}#minigame-card h3{font-size:1.1875rem}#minigame-info{font-size:calc(.875rem * var(--text,1));margin-bottom:6px}#minigame-card>#minigame-stage:is(.count,.bins,.order,.letters,.cipher,.jars){gap:8px}#minigame-stage.count .field{padding:8px}#minigame-stage.count .pad{grid-template-columns:repeat(10,1fr)}#minigame-stage.cipher svg{width:min(260px,100dvh - 190px)}#minigame-stage.bins .sort-account p{margin:4px 0}.puzzle-peek{width:min(150px,100%)}#minigame-card>#minigame-stage.trace{width:min(100%, calc((100dvh - 48px) * var(--ratio,1.5)));justify-self:center}#minigame-card>#minigame-stage.jars{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}#minigame-stage.jars .jar-rule{grid-column:1/-1}#minigame-stage.jars .well{grid-area:2/1/5/2}}#minigame-stage.toss{cursor:pointer;background:linear-gradient(#e9d2a0 0 62%,#b98a54 62%);border-radius:6px;height:300px;overflow:hidden}.toss .shelf{background:var(--wood);border-radius:3px;height:12px;position:absolute;top:34%;left:4%;right:4%}.toss .jar{background:radial-gradient(circle at 35% 30%,#d98a5a,#a8552c 70%,#7b3a1a);border-radius:46% 46% 40% 40%/30% 30% 60% 60%;width:46px;height:66px;margin-left:-23px;transition:transform .35s ease-in,opacity .35s;position:absolute;top:12%;box-shadow:inset 0 8px 0 -3px #7b3a1a}.toss .jar.broken{opacity:0;transform:translateY(150px)rotate(70deg)scale(.6)}.toss .aim{color:var(--rubric);margin-left:-10px;font-size:1.25rem;position:absolute;top:0}.toss .ball{opacity:0;background:radial-gradient(circle at 35% 30%,#f3ead2,#b8a777);border-radius:50%;width:22px;height:22px;margin-left:-11px;position:absolute;box-shadow:1px 2px 3px #0006}.toss .ball.thrown{left:var(--to);opacity:1;animation:.32s linear toss-across,.32s cubic-bezier(.2,.8,.6,1) toss-up;bottom:66%}@keyframes toss-across{0%{left:50%}}@keyframes toss-up{0%{bottom:6%}}#minigame-stage.memory{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.memory .card{aspect-ratio:1;background:var(--wood);border:2px solid #5a3414;border-radius:6px;min-height:0;padding:0;transition:transform .3s;position:relative}.memory .card img{object-fit:cover;opacity:0;border-radius:4px;width:100%;height:100%;transition:opacity .15s .12s}.memory .card .back{color:#f3d58a;font-size:1.625rem;line-height:2.6;position:absolute;inset:0}.memory .card.up{transform:rotateY(180deg)}.memory .card.up img{opacity:1;transform:rotateY(180deg)}.memory .card.up .back{opacity:0}#minigame-stage.puzzle{aspect-ratio:3/2;grid-template-columns:repeat(3,1fr);gap:3px;display:grid}.puzzle .tile{background-repeat:no-repeat;border:2px solid #5a341499;border-radius:2px;min-height:0;padding:0;transition:scale .12s}:is(.puzzle,.chest-puzzle) .tile{touch-action:none;-webkit-user-select:none;user-select:none}:is(.puzzle,.chest-puzzle) .tile.dragging{z-index:2;pointer-events:none;opacity:.85;position:relative;box-shadow:0 5px 14px #0008}:is(.puzzle,.chest-puzzle) .tile.drop-target{outline-offset:-5px;outline:4px dashed #ffe39c}.puzzle .tile.chosen{border-color:#f3d58a;scale:.94;box-shadow:0 0 12px #f3d58a}#minigame-stage.puzzle.whole{gap:0;transition:gap .5s}#minigame-stage.puzzle.whole .tile{border-color:#0000}#zoom-in,#zoom-out{min-width:44px;padding:6px;font-size:1.375rem;line-height:1}#mission-progress{align-items:center;gap:10px;margin-top:5px;display:flex}#mission-progress[hidden]{display:none}#progress-label{color:#ecd7a8;flex-shrink:0;font-size:.8rem}#progress{background:#f6efdf40;border-radius:3px;flex:1;height:5px;overflow:hidden}@keyframes nudge{50%{scale:1.2}}#game:after{content:"";pointer-events:none;background:radial-gradient(at 50% 55%,#0000 55%,#0a060273 100%);position:fixed;inset:0}#dialog-dots{letter-spacing:2px;color:var(--rubric);font-size:.6875rem}#dialog.ready #dialog-next{animation:.3s ease-out pop}@keyframes dust-burst{0%{opacity:1;scale:.2}to{opacity:0;scale:1.6}}#prologue.title #prologue-title{font-variant:small-caps;letter-spacing:.1em;text-align:center;color:var(--ink);margin:0 0 2px;font-size:clamp(1.5rem,5vw,2.25rem);animation:1.1s cubic-bezier(.2,.9,.3,1) settle;display:block}@keyframes settle{0%{opacity:0;letter-spacing:.5em}}#vignette{inset:var(--hud-h,0px) 0 0 0;z-index:4;pointer-events:none;opacity:0;background:radial-gradient(at 50% 42%,#0000 40%,#0c070259 100%);transition:opacity .45s ease-in-out;position:fixed}#vignette.on{opacity:1}#memory{z-index:9;object-fit:cover;background:#0a0603;border-block:5vh solid #0a0603;width:100%;height:100%;animation:1.2s fade,30s ease-out forwards drift-a;position:fixed;inset:0}#memory.whole{object-fit:contain;box-sizing:border-box;border:0;padding-bottom:40dvh;animation:.3s fade}:is(body:has(#memory.whole:not([hidden])) #hud,body:has(#minigame:not([hidden])) #hud){visibility:hidden}@media (hover:hover){#action-btn:after{content:"  ⏎";opacity:.55}}.toast{color:var(--ink);background:#f3d58a;border-radius:999px;padding:8px 16px;font-weight:700;animation:3s cubic-bezier(.2,.9,.3,1.2) forwards toast;box-shadow:0 4px 14px #0006}:is(body:has(#notebook-panel:not([hidden])) #compass,body:has(#dialog-layer:not([hidden])) #compass,body:has(#minigame:not([hidden])) #compass,body:has(#prologue:not([hidden])) #compass){display:none}#compass{z-index:6;color:#ffd84a;text-align:center;cursor:pointer;background:#1b1a17b3;border:0;border-radius:50%;width:36px;height:36px;min-height:0;margin:-18px 0 0 -18px;padding:0;font-size:0;line-height:36px;animation:1s ease-in-out infinite nudge;position:fixed}#compass.first{animation:.6s ease-in-out 6 glow-pulse,1s ease-in-out 3.6s infinite nudge}#compass:before{content:"➤";rotate:var(--angle,0deg);font-size:1.375rem;line-height:36px;display:block}#compass:after{content:attr(data-name);translate:var(--name-x,-50%) 2px;color:#fff;white-space:nowrap;background:#1b1a17bf;border-radius:8px;padding:1px 7px;font-size:.8125rem;position:absolute;top:100%;left:50%}#compass.arrow-only:after{content:none}body:has(#discovery-panel) .gain{visibility:hidden}#curiosity-die{z-index:5;pointer-events:none;opacity:.75;background:#1b1a1766;border-radius:50%;width:28px;height:28px;margin:-14px 0 0 -14px;position:fixed}#curiosity-die:before{content:"🎲";text-align:center;opacity:.9;font-size:.95rem;line-height:28px;display:block}body.expert #curiosity-die{visibility:hidden}body:has(#dialog-layer:not([hidden])) #curiosity-die{visibility:hidden}body:has(#notebook-panel:not([hidden])) #curiosity-die{visibility:hidden}body:has(#minigame:not([hidden])) #curiosity-die{visibility:hidden}body:has(#settings-menu:not([hidden])) #curiosity-die{visibility:hidden}@media (prefers-reduced-motion:reduce){#curiosity-die{opacity:.65}}#dialog.typing #dialog-portrait{animation:.55s ease-in-out infinite talk}@keyframes talk{50%{transform:translateY(-2px)rotate(-1.2deg)scale(1.02)}}#dialog-speaker{font-variant:small-caps;letter-spacing:.08em;color:var(--rubric);width:fit-content;font-size:1.1875rem;font-weight:700;position:relative}#dialog-speaker:after{content:"";background:var(--rubric);transform-origin:0;width:100%;height:2px;animation:.6s ease-out draw-line;position:absolute;bottom:-2px;left:0}@keyframes draw-line{0%{transform:scaleX(0)}}#dialog.ready #dialog-replay{animation:.3s ease-out pop}#score.flash{animation:.5s ease-out bump-score}@keyframes bump-score{30%{color:#ffd84a;scale:1.25}}#inventory span.new{animation:.5s cubic-bezier(.2,.9,.3,1.3) chip-in;position:relative;overflow:hidden}#inventory span.new:after{content:"";background:linear-gradient(110deg,#0000 30%,#fff9 50%,#0000 70%);animation:.9s ease-out .3s both shine;position:absolute;inset:0;translate:-100%}@keyframes chip-in{0%{opacity:0;scale:.3}}@keyframes shine{to{translate:100%}}#objective.flash{animation:.5s ease-out slide-in-left}@keyframes slide-in-left{0%{opacity:0;translate:-16px}}#progress-fill{background:linear-gradient(90deg,#f3d58a,#ffb347);border-radius:3px;height:100%;transition:width .6s;position:relative;overflow:hidden}#progress-fill.shine:after{content:"";background:linear-gradient(90deg,#0000,#fff,#0000);animation:1s ease-out shine;position:absolute;inset:0;translate:-100%}#notebook-btn{position:relative}@keyframes ring{0%{opacity:.9;scale:1}to{opacity:0;scale:1.3}}#hud button:active,#action-btn:active,#action-btn.pressed{scale:.94}#action-btn:not([hidden]){animation:.35s cubic-bezier(.2,.9,.3,1.3) rise-btn}@keyframes rise-btn{0%{opacity:0;translate:0 30px}}.toast.main{border:1px solid #ffd84a}.toast.tip{left:50%;bottom:calc(96px + env(safe-area-inset-bottom));text-align:center;width:max-content;max-width:min(90vw,420px);font-weight:400;animation-duration:6s;position:fixed;translate:-50%}.toast.side{border:1px solid #9ed0ff}body:has(#dialog-layer:not([hidden]),#report:not([hidden]),#notebook-panel:not([hidden]),#minigame:not([hidden]),#ending:not([hidden])) .toast.tip{display:none}body:has(.gain) .toast.tip{display:none}body.big .toast.tip.high{top:calc(var(--hud-h,100px) + 5.5rem)}html:has(body.big) .toast.tip.high{top:calc(var(--hud-h,100px) + 5.5rem)}.toast.tip.high{top:calc(var(--hud-h) + 72px);bottom:auto}.toast.main,.toast.side{position:relative;overflow:hidden}.toast.main:after{content:"";background:linear-gradient(110deg,#0000 30%,#ffd84a73 50%,#0000 70%);animation:1.2s ease-out .4s both shine;position:absolute;inset:0;translate:-100%}#settings-menu:not([hidden]){transform-origin:100% 0;animation:.25s cubic-bezier(.2,.9,.3,1.2) menu-open}@keyframes menu-open{0%{opacity:0;scale:.6}}#settings-menu button{text-align:left;width:100%;animation:.35s ease-out both slide-in-left}#settings-menu button:nth-child(2){animation-delay:40ms}#settings-menu button:nth-child(3){animation-delay:80ms}#settings-menu button:nth-child(4){animation-delay:.12s}#settings-menu button:nth-child(5){animation-delay:.16s}#settings-menu button:nth-child(n+6){animation-delay:.2s}#settings-menu a{box-sizing:border-box;text-align:left;width:100%;min-height:44px;color:var(--ink);text-underline-offset:3px;padding:10px 12px;text-decoration:underline;animation:.35s ease-out .2s both slide-in-left;display:block}#notebook-body.fresh>*{animation:.35s both page-turn}@keyframes page-turn{0%{opacity:0;transform:perspective(700px)rotateY(-22deg)translate(-14px)}}@keyframes drop{0%{opacity:0;translate:0 -40px}}@keyframes draw-string{to{stroke-dashoffset:0}}@keyframes pin{0%{translate:0 -8px;scale:1.8}}@keyframes stamp{0%{opacity:0;rotate:-20deg;scale:2.2}70%{scale:.9}}.toss .jar.wobble{animation:.5s ease-in-out wobble}@keyframes wobble{25%{rotate:-9deg}50%{rotate:8deg}75%{rotate:-4deg}}.memory .card.found{border-color:#5a8a3c;animation:.5s cubic-bezier(.2,.9,.3,1.4) found;box-shadow:0 0 10px #a9d47a}@keyframes found{50%{scale:1.12}}.puzzle .tile.moved{animation:.4s cubic-bezier(.2,.9,.3,1.4) snap}@keyframes snap{0%{scale:.8}}.confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.confetti span{background:var(--c);width:8px;height:12px;animation:confetti 1.7s var(--d) cubic-bezier(.1, .8, .3, 1) both;position:absolute;top:60%;left:50%}@keyframes confetti{to{translate:var(--x) var(--y);rotate:var(--r);opacity:0}}#ending-card,#confirm-card{background:var(--parchment);width:min(520px,100%);color:var(--ink);text-align:center;border:1px solid #5a3414b3;border-radius:4px 10px 5px 9px;max-height:100%;padding:22px;animation:.5s cubic-bezier(.2,.9,.3,1) unroll;position:relative;overflow-y:auto;box-shadow:0 12px 34px #000000a6}#ending-medal{white-space:pre-line;font-size:calc(1.0625rem * var(--text,1));margin:4px 0 10px}#ending-bonus summary{cursor:pointer;min-height:44px;padding:8px}@keyframes medal-drop{0%{opacity:0;translate:0 -80px;scale:2}}#prologue-next{background:var(--wood);color:#f8ebcb;font-variant:small-caps;letter-spacing:.08em;border:1px solid #3d220c;animation:1.6s ease-in-out infinite glow-pulse}@keyframes glow-pulse{50%{box-shadow:0 0 18px #ffd84a}}#guide-hole{border:2px solid #f3d58a;border-radius:10px;transition:all .3s;animation:1.6s ease-in-out infinite hole-breathe;position:fixed;box-shadow:0 0 0 200vmax #140c04b8}@keyframes hole-breathe{50%{border-color:#ffd84a;box-shadow:0 0 0 200vmax #140c04b8,0 0 18px #ffd84a}}.banner{top:calc(var(--hud-h,56px) + 12px);z-index:40;background:var(--parchment);max-width:calc(100% - 32px);color:var(--ink);font-variant:small-caps;letter-spacing:.05em;text-align:center;pointer-events:none;border:1px solid #5a341499;border-radius:4px 10px 5px 9px;padding:6px 18px;animation:2.6s ease-in-out forwards banner;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 6px 18px #00000073}@keyframes banner{0%{opacity:0;transform:translate(-50%,-8px)}12%,80%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-4px)}}.crossfade{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}#notebook-body .case .link,#notebook-body .films-page .link,#ending-gate .link,#unlock-gate .link{border:1px solid var(--rubric);width:auto;color:var(--rubric);font:inherit;-webkit-touch-callout:none;background:0 0;border-radius:8px;margin:6px 0 0;padding:6px 12px 8px;position:relative;overflow:hidden}#notebook-body .case .link small,#notebook-body .films-page .link small,#ending-gate .link small,#unlock-gate .link small{font-size:max(.8125rem,.8em);display:block}#notebook-body .case .link:after,#notebook-body .films-page .link:after,#ending-gate .link:after,#unlock-gate .link:after{content:"";background:var(--rubric);width:100%;height:4px;transform:scaleX(var(--hold,0));transform-origin:0;position:absolute;bottom:0;left:0}#notebook-body .case .say{margin:0 10px 0 0;font-size:1.25rem;display:inline-block}#notebook-body .case.locked{opacity:.5}#notebook-body .tally,#notebook-body .sources{opacity:.75;font-size:.875rem}#minigame-stage.sort{gap:12px;display:grid}.sort .card{min-height:90px;color:var(--ink);text-align:center;background:#fffbea;border-radius:3px;place-items:center;padding:14px;font-size:1.0625rem;display:grid;box-shadow:2px 4px 7px #28140566}.sort .card.shake{animation:.45s shake}.sort .row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.sort .choice{background:var(--wood);color:#f3d58a;border:1px solid #5a3414;border-radius:6px;padding:12px;font-family:inherit;font-size:1rem}#minigame-stage.copies{gap:12px;display:grid}.copies .copy{color:var(--ink);background:#fffbea;border-radius:3px;padding:12px 14px;font-size:1rem;line-height:1.6}.copies .word{min-height:0;font-size:inherit;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:3px;padding:1px 3px;display:inline}.copies .word.hit{background:#d7f0c2;text-decoration:underline}.copies .word.miss{background:#f6d2cc}#minigame-stage.stack{cursor:pointer;background:linear-gradient(#e9d2a0 0 92%,#b98a54 92%);border-radius:6px;height:300px;overflow:hidden}.stack .jar{background:radial-gradient(circle at 35% 30%,#d98a5a,#a8552c 70%,#7b3a1a);border-radius:40% 40% 20% 20%/60% 60% 30% 30%;height:13%;position:absolute;box-shadow:inset 0 6px 0 -2px #7b3a1a}.stack .jar.fall{opacity:0;transition:transform .6s ease-in,opacity .6s;transform:translateY(300px)rotate(60deg)}#minigame-stage.fish{background:radial-gradient(at 50% 30%,#6fa6c9,#2f5f86 70%,#1f4260);border-radius:6px;height:300px;overflow:hidden}.fish .one{cursor:pointer;background:0 0;border:0;padding:4px;font-size:2.125rem;animation:.3s ease-out pop;position:absolute}.fish .one.caught{opacity:.3;animation:.3s nudge}#minigame-stage.stars{background:radial-gradient(at 50% 100%,#2a2a55,#0b0b20 70%);border-radius:6px;height:auto;overflow:hidden}.stars .star-field{height:300px;position:relative}.stars .star-help{max-width:calc(100% - 20px);min-height:44px;margin:10px}.stars svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.stars line{stroke:#fff3c4;stroke-width:.6px;vector-effect:non-scaling-stroke;stroke-width:2px}.stars .star{color:#2a2a55;cursor:pointer;background:#fff3c4;border:0;border-radius:50%;width:44px;height:44px;margin:-22px 0 0 -22px;font-weight:700;position:absolute;box-shadow:0 0 10px #fff3c4}.stars .star.lit{background:#ffd84a;box-shadow:0 0 22px #ffd84a}.stars .star.shake{animation:.45s shake}.stars.dark:not(.show-numbers) .star:not(.lit){color:#0000;transition:color .6s}#atlas{z-index:45;background:radial-gradient(at 50% 30%,#3a2a18,#120b05);justify-content:center;align-items:flex-start;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}#atlas-card{width:min(960px,100%);color:var(--parchment);gap:12px;display:grid}#atlas-title{text-align:center;color:#f3d58a;text-shadow:0 2px #00000080;text-wrap:balance;margin:0;font-size:clamp(1.625rem,5vw,2.5rem)}#atlas-lead{text-align:center;max-width:62ch;font-size:calc(.9375rem * var(--text,1));color:#e6d3a6;margin:0 auto}#atlas-score,#atlas-travels{text-align:center;color:#f3d58a;font-size:.9375rem}#atlas-ask{text-align:center;font-style:italic;font-size:calc(.9375rem * var(--text,1));color:#e6d3a6;margin:.4rem auto .35rem}#atlas-ask:empty{display:none}#atlas-lang{flex-wrap:wrap;justify-content:center;gap:4px 18px;display:flex}#atlas-lang button{color:#e6d3a6;min-height:44px;font-size:calc(.875rem * var(--text,1));background:0 0;border:1px solid #5a3414;border-radius:8px;padding:0 10px}#atlas-reset{color:#b09a6c;background:0 0;border:none;justify-self:center;font-size:.8125rem;text-decoration:underline}#loading{place-items:center;padding:16px;display:grid;position:absolute;inset:0}#loading-card{background:var(--parchment);width:min(400px,100%);color:var(--ink);letter-spacing:.1em;text-align:center;border:1px solid #5a3414b3;border-radius:4px 10px 5px 9px;padding:18px 22px 16px;font-size:1.25rem;box-shadow:0 12px 34px #000000a6}#loading-bar{background:#5a341440;border-radius:2px;height:3px;margin-top:14px;overflow:hidden}#loading-fill{background:var(--rubric);width:0;height:100%;transition:width .3s}#area-loading{z-index:9;background:var(--parchment);color:var(--ink);font-size:calc(1rem * var(--text,1));pointer-events:none;border-radius:999px;gap:8px;padding:10px 18px;display:grid;position:fixed;top:50%;left:50%;translate:-50% -50%;box-shadow:0 6px 18px #00000080}#area-loading .bar{background:#5a341440;border-radius:2px;height:3px;overflow:hidden}#area-loading .fill{width:calc(var(--share,0) * 100%);background:var(--rubric);height:100%;display:block}#loading-card .plain{margin-top:12px}#atlas-frame{background:radial-gradient(circle at 30% 20%,#4a2f1a,#2d1a0e 70%);border-radius:10px;grid-template-rows:minmax(7.5cqw,auto) 1fr minmax(7.5cqw,auto);grid-template-columns:max(7.5cqw,84px) 1fr max(7.5cqw,84px);gap:.9cqw;padding:1cqw;display:grid;position:relative;box-shadow:0 12px 34px #0000008c;container-type:inline-size}.atlas-map{aspect-ratio:3/2;background:#d9c493 50%/cover no-repeat;border:.3cqw solid #d9b25c;border-radius:4px;grid-area:2/2;position:relative;overflow:hidden;box-shadow:inset 0 0 3cqw #3c1e0a73}.atlas-over{pointer-events:none;z-index:3;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.atlas-pin{background:#8f2a1b;border:.3cqw solid #fff3c4;border-radius:50%;width:1.4cqw;height:1.4cqw;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 .2cqw #00000059}.atlas-place{color:#2a1d10;white-space:nowrap;-webkit-text-stroke:.5cqw #f3e6c4;paint-order:stroke;pointer-events:none;font-size:2cqw;font-weight:700;position:absolute;transform:translate(-50%,1cqw)}.atlas-place.right{transform:translate(1.4cqw,-50%)}.atlas-place.above{transform:translate(-50%,calc(-100% - 1cqw))}.atlas-place span{-webkit-text-stroke:0;position:relative}.atlas-tabs{gap:.7cqw;min-width:0;display:grid}.atlas-tabs.top,.atlas-tabs.bottom{grid-auto-columns:1fr;grid-auto-flow:column}.atlas-tabs.top{grid-area:1/1/2/4}.atlas-tabs.bottom{grid-area:3/1/4/4}.atlas-tabs.left{grid-area:2/1}.atlas-tabs.right{grid-area:2/3}@media (width>=561px) and (height>=501px){#atlas-frame{justify-self:center;width:min(100%,max(560px,130dvh - 364px))}.atlas-tabs.bottom{direction:rtl}.atlas-tabs.bottom .atlas-tab{direction:ltr}.atlas-tabs.left .atlas-tab:first-child{grid-row:4}.atlas-tabs.left .atlas-tab:nth-child(2){grid-row:3}.atlas-tabs.left .atlas-tab:nth-child(3){grid-row:2}.atlas-tabs.left .atlas-tab:nth-child(4){grid-row:1}}.atlas-tabs.left .atlas-tab small,.atlas-tabs.right .atlas-tab small{-webkit-line-clamp:4;line-clamp:4;overflow-wrap:anywhere}.atlas-tab{min-width:0;color:var(--ink);cursor:pointer;background:linear-gradient(#f8ecd0,#e2cfa0);border:0;border-radius:.5cqw;align-content:center;place-items:center;gap:.15cqw;padding:.5cqw;font-family:inherit;font-size:2cqw;font-weight:700;transition:transform .2s;display:grid;position:relative;box-shadow:inset 0 0 0 .18cqw #5a341466,0 .2cqw .4cqw #00000059}.atlas-tab:hover,.atlas-tab.active{background:linear-gradient(#fff6de,#ecd9ab);transform:translateY(-.2cqw)}.atlas-tab.active{z-index:4}.atlas-tab small{color:#4a3a26;text-align:center;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:clamp(.75rem,1.25cqw,.875rem);font-weight:400;line-height:1.12;display:-webkit-box;overflow:hidden}.atlas-tab.locked{color:#c9b58f;cursor:default;background:linear-gradient(#7a5b3a,#563c25)}.atlas-tab.locked:before{content:"";background:radial-gradient(circle at 35% 30%,#c04a36,#8f2a1b 55%,#5c1a10);border-radius:50%;width:2.1cqw;height:2.1cqw;box-shadow:0 .15cqw .3cqw #00000080}.atlas-tab.locked span{opacity:.85;font-size:1.3cqw}.atlas-tab.today{box-shadow:inset 0 0 0 .18cqw #5a341466,0 0 0 .35cqw #e0b45a,0 .2cqw .6cqw #0006}.atlas-tab.done:after{content:attr(data-medal);color:#2d6b3a;font-size:1.2cqw;position:absolute;top:.15cqw;right:.35cqw}.atlas-tab .detective-seal{font-size:clamp(.625rem,1.2cqw,.875rem);font-style:normal;line-height:1;position:absolute;bottom:.15cqw;left:.35cqw}.needle-head{fill:url(#brass);stroke:#4a3414;stroke-width:1px}.needle-shadow{fill:#00000059}.needle-shaft{stroke:#e9e2d0;stroke-width:2px}.thread-shadow{fill:none;stroke:#00000073;stroke-width:6px;stroke-linecap:round}.thread{fill:none;stroke:#c6372e;stroke-width:4px;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1px;animation:.9s cubic-bezier(.4,0,.2,1) forwards thread-draw}@keyframes thread-draw{to{stroke-dashoffset:0}}.thread-ring{fill:none;stroke:#e0b45a;stroke-width:3px;opacity:0;animation:1.4s ease-out .7s infinite thread-ring}@keyframes thread-ring{0%{r:14;opacity:.9}to{r:46;opacity:0}}.seal{fill:url(#wax);stroke:#3a1208;stroke-width:1.5px;filter:drop-shadow(0 3px 3px #00000080)}.seal-rim{fill:none;stroke:#ffe6b459;stroke-width:2px}.seal-text{fill:#f8e9c9;text-anchor:middle;dominant-baseline:central;font-weight:700}@media (width<=560px),(height<=500px){#atlas-frame{grid-template-rows:auto;grid-template-columns:repeat(6,1fr);gap:6px;padding:6px;display:grid}#atlas-chosen{display:block}#atlas-title,#atlas-rank,#atlas-go{order:-2}.atlas-map{grid-area:1/1/auto/-1}.atlas-tabs{display:contents}.atlas-tab{border-radius:6px;min-height:48px;font-size:1rem}.atlas-tab small,.atlas-place{display:none}.atlas-tab.done:after{font-size:.75rem}.atlas-tab.locked:before{width:14px;height:14px}.atlas-tab.locked span{font-size:.75rem}}@media (height<=500px){#atlas{padding:10px 16px}#atlas-card{gap:8px}#atlas-title{font-size:1.5rem}#atlas-frame{justify-self:center;width:min(100%,150dvh - 210px)}#atlas-frame,#atlas-chosen{order:-1}}@media (prefers-reduced-motion:reduce){.thread{stroke-dashoffset:0}}.atlas-tab.started:before{content:"";background:#e0a33a;border-radius:50%;width:8px;height:8px;position:absolute;top:4px;left:4px;box-shadow:0 0 0 1px #5a341480}#atlas-go{background:var(--parchment);min-height:52px;color:var(--ink);font-variant:small-caps;letter-spacing:.06em;border:2px solid #3d220c;border-radius:999px;justify-self:center;padding:10px 26px;font-size:1.125rem;font-weight:700;box-shadow:0 6px 18px #00000073}@keyframes bounce{50%{translate:0 -10px}}#ending-learned{font-size:calc(.875rem * var(--text,1));font-variant:small-caps;letter-spacing:.08em;color:var(--rubric);margin:0 0 6px}#ending-row.again #ending-stay{background:var(--wood);color:#f8ebcb;font-variant:small-caps;letter-spacing:.06em;border:1px solid #3d220c}#ending-row.again #ending-next{border:1px solid var(--accent);background:var(--paper);color:var(--ink)}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}:focus-visible{outline-offset:3px;outline:3px solid #ffd84a;box-shadow:0 0 0 3px #1b1a17}body.big{--text:1.5}body.big #atlas{--kk-flow-title:min(calc(1.35rem * var(--text,1)), 7.2vw);--kk-flow-action:min(calc(1.45rem * var(--text,1)), 7.8vw);--atlas-voice:min(calc(1.05rem * var(--text,1)), 6.2vw);--atlas-ask:min(calc(.98rem * var(--text,1)), 6vw)}body.big #atlas-title{font-size:var(--kk-flow-title);text-wrap:balance;padding-inline:40px;line-height:1.15}html[lang=en] body.big #atlas-title{font-size:min(calc(1.2rem * var(--text,1)), 6.4vw);letter-spacing:.03em;padding-inline:36px}html[lang=en] #atlas-title{letter-spacing:.03em;padding-inline:40px;font-size:clamp(1.45rem,4.6vw,2.35rem)}body.big #atlas-rank.about{font-size:var(--atlas-voice);font-variant:normal;letter-spacing:.02em;text-overflow:clip;-webkit-line-clamp:unset;line-clamp:unset;max-width:42ch;margin-left:auto;margin-right:auto;line-height:1.4;display:block;overflow:visible}body.big #atlas-rank.about:before{content:none}body.big #atlas-lead{font-size:var(--atlas-voice);text-overflow:clip;-webkit-line-clamp:unset;line-clamp:unset;max-width:42ch;line-height:1.4;display:block;overflow:visible}body.big #atlas-ask{font-size:var(--atlas-ask);text-overflow:clip;-webkit-line-clamp:unset;line-clamp:unset;max-width:42ch;margin:.55rem auto .45rem;line-height:1.4;overflow:visible}body.big #atlas-go{font-size:var(--kk-flow-action);justify-self:center;width:min(100%,24rem);max-width:100%;min-height:max(56px,2.9em);padding:14px 18px}body.big #atlas .atlas-playroom{font-size:min(calc(.95rem * var(--text,1)), 5.5vw);padding:6px 14px}body.big #atlas-card{gap:.55rem;min-height:0;padding-bottom:.4rem}body.big #atlas-frame{justify-self:stretch;width:100%;max-width:100%;height:auto;min-height:0;margin-top:.15rem}body.big #atlas-frame .atlas-map,body.big #atlas .atlas-map{aspect-ratio:3/2;background-position:50%;background-repeat:no-repeat;background-size:contain;justify-self:stretch;width:100%;height:auto;max-height:none}body.big #atlas-grownups,body.big #atlas-reset{opacity:.8;min-height:44px;font-size:min(.85rem,3.6vw)}#atlas-go{font-size:max(1.25rem, calc(1.15rem * var(--text,1)));justify-self:center;width:min(100%,24rem);max-width:100%;min-height:max(52px,2.8em)}@media (hover:none){#zoom-in,#zoom-out{display:none}}@media (height<=500px){#chapter-title,#chapter-ref{display:none}#notebook-card{padding:8px 14px 6px}#notebook-card:before,#notebook-card:after,#notebook-card h2{display:none}#notebook-body .tabs{margin:0 0 6px}#notebook-close{z-index:3;margin:0;padding:4px 12px;position:absolute;top:8px;right:8px}#notebook-body .tabs{margin-right:84px}#objective{-webkit-line-clamp:1;line-clamp:1}}@media (height<=820px){#notebook-panel{padding-top:calc(var(--hud-h) + 16px);padding-bottom:16px}#notebook-card{padding-top:14px}#notebook-card h2{margin:0;font-size:1.375rem}#notebook-card h2:after{display:none}#notebook-close{margin-top:6px}}@media (width>=1200px){#notebook-card{width:min(100%,max(600px,44vw),860px)}#notebook-body .case p{max-width:72ch}#minigame-card{width:min(100%,max(560px,36vw),760px)}#ending-card,#confirm-card{width:min(100%,max(520px,32vw),680px)}#dialog{width:min(100%,820px)}}#ending-share-preview{border-top:1px solid #5a34144d;margin-top:16px;padding-top:12px}#ending-share-preview .button-row{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}#ending-copy{field-sizing:content;width:100%;color:var(--ink);font:inherit;resize:none;-webkit-user-select:text;user-select:text;background:#fffbea;border:1px solid #5a341480;border-radius:4px;margin-top:10px;padding:6px 8px}#atlas-chosen{text-align:center;font-size:calc(1.0625rem * var(--text,1));color:#f3d58a;font-weight:700;display:none}@media (width<=560px){#hud{gap:2px 8px}#hud>div:first-child{order:2;width:100%}#hud-buttons{flex-wrap:wrap;order:1;justify-content:flex-end;width:100%;min-width:0}#hud-buttons #score{flex-basis:100%;margin-right:0}#notebook-btn{margin-right:auto}#chapter-title,#chapter-ref{display:none}#atlas-lead{order:-2}}#trouble{z-index:70;left:0;right:0;bottom:calc(16px + env(safe-area-inset-bottom));background:var(--parchment);width:fit-content;max-width:min(420px,100vw - 32px);color:var(--ink);cursor:pointer;border:1px solid #5a3414b3;border-radius:3px 10px 4px 9px;flex-direction:column;gap:4px;margin-inline:auto;padding:12px 16px;animation:.2s rise;display:flex;position:fixed;box-shadow:0 10px 30px #0000008c}#trouble small{opacity:.75;overflow-wrap:anywhere;font-size:.75rem}#trouble button{align-self:flex-start;margin-top:4px}#version{color:var(--ink);opacity:.6;text-align:center;font-size:.6875rem}.gold-goal{color:var(--ink);font-size:calc(.8125rem * var(--text,1));background:#f3d58aeb;border:1px solid #b8892c;border-radius:999px;margin-top:4px;padding:1px 10px;display:inline-block}.gold-goal:before{content:"🥇 "}#ending-rank{color:var(--rubric);background:#8f2a1b1f;border-radius:999px;margin:0 auto 10px;padding:6px 16px 6px 46px;font-weight:700;animation:.8s cubic-bezier(.2,.9,.3,1.4) .6s both medal-drop;display:inline-block;position:relative}#ending-rank:before{content:"★";color:#f6d9c9;text-align:center;background:radial-gradient(circle at 35% 30%,#c84e38,#8f2a1b 55%,#5c1a10);border-radius:46% 54% 50% 50%/52% 48% 54% 46%;width:30px;height:30px;margin-top:-15px;line-height:30px;position:absolute;top:50%;left:6px}#ending-tomorrow{max-width:44ch;color:var(--ink);text-align:left;background:#fff8e199;border:1px dashed #5a341499;border-radius:3px 9px 4px 8px;margin:4px auto 14px;padding:10px 14px 10px 50px;font-style:italic;position:relative;transform:rotate(-.6deg)}#ending-tomorrow:before{content:"🔒";margin-top:-13px;font-size:1.375rem;font-style:normal;position:absolute;top:50%;left:12px}#ending-rank[hidden],#ending-tomorrow[hidden]{display:none}#ending-tomorrow.open:before{content:"📜"}#atlas-rank{text-align:center;font-variant:small-caps;letter-spacing:.08em;color:#f3d58a;margin:-6px 0 4px}#atlas-rank:not(:empty):before{content:"🎖 "}#minigame-result .spare{background:var(--parchment);color:var(--ink);font-variant:normal;letter-spacing:0}.jars .row button.hint{color:var(--ink);background:#f3d58a;animation:1.4s ease-in-out infinite pulse}@media (width<=600px),(height<=500px){#notebook-panel{z-index:13;padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom))}}@media (width<=430px){#notebook-panel{padding-inline:8px}#notebook-card{padding:10px 8px 8px}#notebook-card:before,#notebook-card:after{left:-6px;right:-6px}#notebook-card h2{letter-spacing:.04em;text-align:left;min-height:42px;margin:0 96px 2px 0;font-size:1.375rem;line-height:42px}#notebook-card h2:after{display:none}#notebook-close{z-index:3;min-height:44px;margin:0;padding:4px 12px;position:absolute;top:10px;right:6px}#notebook-body{padding:4px 4px 8px 2px}}:root{--sure:#2f6b3a;--good:#2c5486;--open:#9e5712;--gold:#b98a1c;--wax:#9c2a1d}#dialog-text mark.word{color:inherit;background:#f3d36b;border-radius:3px;padding:0 2px;animation:.9s ease-in-out breathe}@keyframes breathe{50%{background:#ffe9a3;box-shadow:0 0 0 3px #f3d36b88}}.flying{z-index:60;border:2px solid var(--gold);color:var(--rubric);pointer-events:none;white-space:nowrap;background:#fff6d8;border-radius:6px;padding:3px 8px;font:1rem Georgia,serif;position:fixed}#notebook-dot{background:radial-gradient(circle at 35% 30%, #c8473a, var(--wax));color:#fff;text-align:center;min-width:21px;height:21px;box-shadow:0 0 0 2px var(--paper);border-radius:999px;padding:0 4px;font-size:.75rem;line-height:21px;position:absolute;top:-7px;right:-7px}#notebook-dot.pulse{animation:.9s ease-in-out pulse}#confirm-card.offer{padding-left:84px;position:relative}#confirm-face{border-radius:50%;width:58px;height:58px;position:absolute;top:18px;left:14px}#confirm-card:not(.offer) #confirm-face{display:none}#confirm-card.offer #confirm-text{white-space:pre-line;font-style:italic}#notebook-body .day-title{font-variant:small-caps;font-size:calc(1.1875rem * var(--text,1));margin:0 0 6px}#notebook-body .medals{font-size:calc(.875rem * var(--text,1));background:linear-gradient(90deg, var(--rubric) var(--fill,0%), #5a34142e var(--fill,0%)) no-repeat 1.6em 50% / calc(100% - 9em) 5px;align-items:center;gap:6px;margin-bottom:12px;display:flex}#notebook-body .medal{opacity:.55;filter:saturate(.75);font-size:1.25rem}#notebook-body .medal+.medal{margin-left:calc(50% - 5em)}#notebook-body .medal.got{opacity:1;filter:none}#notebook-body .medals .count{margin-left:auto}#notebook-body .thread{flex-direction:column;gap:10px;margin-bottom:10px;padding-left:24px;display:flex;position:relative}#notebook-body .thread:before{content:"";background:#b23a2a;width:2px;position:absolute;top:6px;bottom:6px;left:8px}#notebook-body .thread.sides:before{background:var(--good)}#notebook-body .thread:empty{display:none}#notebook-body .sides{color:var(--good);margin:4px 0 6px}#notebook-body h4.sides{font-variant:small-caps}#notebook-body .tile{width:100%;color:var(--ink);text-align:left;font-size:calc(.875rem * var(--text,1));background:#fffaf0;border:1.5px solid #c9b48c;border-radius:9px;flex-direction:column;gap:4px;margin:0;padding:8px 10px;display:flex;position:relative}#notebook-body .tile b{font-variant:small-caps;font-weight:400;font-size:calc(1rem * var(--text,1))}#notebook-body .tile .mk{border-radius:50%;width:18px;height:18px;position:absolute;top:10px;left:-23px}#notebook-body .tile.solved .mk{background:radial-gradient(circle at 35% 30%, #c8473a, var(--wax))}#notebook-body .tile.solved .mk.first{background:radial-gradient(circle at 35% 30%, #f2cf6b, var(--gold))}#notebook-body .case-findings .tile .mk{left:auto;right:10px}#notebook-body .case-findings .tile:has(.mk)>b{padding-right:26px}#notebook-body .tile.ready{border:2px solid var(--gold)}#notebook-body .tile.ready .mk{background:var(--wax);animation:1.6s ease-in-out pulse}#notebook-body .tile.wait{color:#5e4c37;border-style:dashed}#notebook-body .tile.wait .mk{background:#f6ecd5;border:2px solid #9a8a70}#notebook-body .tile .row{align-items:center;gap:8px;display:flex}#notebook-body .tile .row .primary{flex:none;width:auto;min-height:44px;margin:0 0 0 auto;padding:0 18px}#notebook-body .later,#notebook-body .journey{color:#5e4c37;font-size:calc(.8125rem * var(--text,1))}#notebook-body .journey{border-top:1px solid #5a34144d;padding-top:8px}#notebook-body .all-solved{background:radial-gradient(circle at 24px 50%, #f2cf6b 0, var(--gold) 18px, transparent 19px);font-variant:small-caps;min-height:52px;margin:8px 0;padding:10px 10px 10px 58px}.st,.stamp{font-variant:small-caps;letter-spacing:.08em;border:2px solid;border-radius:3px;align-self:flex-end;padding:3px 6px;transform:rotate(-5deg)}.troverdig{color:var(--sure)}.trolig{color:var(--good)}.omstridt{color:var(--open)}.metode{color:var(--ink)}#notebook-body .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:8px;display:grid}.face{min-width:56px;min-height:44px;color:var(--ink);background:0 0;border:none;flex-direction:column;align-items:center;gap:2px;padding:4px;font-size:.75rem;display:flex}#notebook-body .grid .face{text-align:center;font-size:calc(1rem * var(--text,1));background:#fffaf0;border:1.5px solid #c9b48c;border-radius:9px;gap:8px;margin:0;padding:14px;display:flex}#notebook-body .grid .face>span:not(.sign):not(.source-preview){font-weight:700}.face .source-preview{-webkit-line-clamp:3;text-align:left;-webkit-box-orient:vertical;line-height:1.5;display:-webkit-box;overflow:hidden}.face img,.face .sign,.witness .who img,.witness .who .sign,.chip img,.chip .sign{object-fit:cover;border:2px solid #c9b48c;border-radius:50%;place-items:center;width:44px;height:44px;font-size:1.375rem;display:grid}#notebook-body .grid .face img,#notebook-body .grid .face .sign{width:52px;height:52px}.face small{color:#6f5a40;font-size:.75rem}.witness{flex-direction:column;gap:8px;display:flex}.witness .who{align-items:center;gap:10px;font-size:1.25rem;display:flex}.witness .who>strong{overflow-wrap:anywhere;flex:1;min-width:0}.witness .who>:is(img,.sign,.say){flex-shrink:0}.witness .who img,.witness .who .sign{width:64px;height:64px}#notebook-body .witness .who .say,.witness .who .say{width:auto;min-width:44px;min-height:44px;margin:0 0 0 auto}.witness h4{font-variant:small-caps;margin:4px 0 0}.witness .line{font-size:calc(.9375rem * var(--text,1));background:#fffaf0;border:1px solid #d9c7a2;border-radius:6px;margin:0;padding:8px}.witness .line mark.word{color:inherit;background:#f3d36b;border-radius:3px;padding:0 2px}.witness .word{border:1.5px solid var(--gold);background:#fff6d8;border-radius:6px;margin:2px 6px 2px 0;padding:2px 8px;display:inline-block}.witness .word.used:after{content:" ◉";color:var(--wax)}#report{z-index:30;background:#140c04b8;place-items:center;animation:.25s fade;display:grid;position:fixed;inset:0}#report-card{width:min(760px,100%);max-height:100dvh;color:var(--ink);background:#f6ecd5;flex-direction:column;display:flex;overflow:hidden}#report-top{padding:calc(6px + env(safe-area-inset-top)) 10px 6px;border-bottom:1px solid #cdb990;flex:none;grid-template-columns:minmax(44px,auto) minmax(0,1fr) minmax(44px,auto);align-items:center;gap:6px;display:grid}#report-top button{background:0 0;border:none;min-width:44px;min-height:44px;padding:0 4px;font-size:1.25rem}#report-q{overflow-wrap:anywhere;font-size:calc(1.1875rem * var(--text,1));text-align:center;margin:0;line-height:1.3}#report-task{min-height:0;padding:14px max(12px, env(safe-area-inset-right)) 16px max(12px, env(safe-area-inset-left));flex-direction:column;gap:12px;display:flex;overflow-y:auto}#report-dock{padding:8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));background:#f6ecd5;border-top:1px solid #cdb990;flex-wrap:wrap;flex:none;align-items:center;gap:8px;display:flex;box-shadow:0 -3px 8px #3c230a1f}#report-dock>#report-luke{flex:100%}#report-dock>#report-luke.quiet{flex:0 auto}#report-act{flex:180px;display:grid}@media (width>=560px){#report-dock>#report-luke{flex:320px}}#report-act:empty{display:none}#report-dock:not(:has(#report-act:not(:empty),#report-luke:not(.quiet),#report-hint:not([hidden]))){display:none}#report-card:has(#report-dock:not(:has(#report-act:not(:empty),#report-luke:not(.quiet),#report-hint:not([hidden])))) #report-task{padding-bottom:calc(16px + env(safe-area-inset-bottom))}#report-source h3{color:#6f5a40;font-size:calc(.9375rem * var(--text,1));font-variant:small-caps;margin:0 0 8px}#report-source-list{gap:8px;display:grid}#report-source .completed-sources>summary,#report-source .detective-sources>summary{cursor:pointer;background:#fffaf0;border:1px solid #cdb990;border-radius:8px;min-height:44px;padding:10px 12px}#report-source .completed-sources>article,#report-source .detective-sources>article{margin-top:8px}#report-source .detective-sources>summary{font-weight:700}#report-source .source-brief{background:#fffaf0;border:1px solid #cdb990;border-radius:8px;padding:8px 10px;display:flow-root}#report-source .source-head{font-size:calc(.875rem * var(--text,1));align-items:center;gap:8px;display:flex}#report-source .source-head img,#report-source .source-head .sign{object-fit:cover;border-radius:50%;place-items:center;width:30px;height:30px;font-size:1rem;display:grid}#report-source .source-head small{color:#6f5a40}#report-source .source-label{flex-direction:column;min-width:0;display:flex}#report-source .source-read{background:0 0;border:none;min-width:44px;min-height:44px;margin-left:auto}#report-source .source-line{font-size:calc(.875rem * var(--text,1));margin:4px 0 0;line-height:1.4}#report-source .choice-card .source-pick{cursor:pointer;background:#f3e8cf;border:1px solid #b9a173;border-radius:6px;align-items:center;gap:8px;min-height:44px;margin-top:8px;padding:6px 8px;display:flex}#report-source .choice-card .source-pick:has(input:checked){border:2px solid var(--wax);background:#fff3e6}#report-source .choice-card .source-select{width:20px;height:20px;accent-color:var(--wax);flex-shrink:0}#report-source .source-pick-text{gap:6px;display:grid}#report-source .source-pick .source-line{font-size:calc(1rem * var(--text,1));margin:0}#report-source .source-pick-name{font-size:calc(.875rem * var(--text,1))}#report-source .source-full{margin-top:8px}#report-source .source-full summary{cursor:pointer;min-height:36px}#report-source .source-full .source-read{float:right}#report-source .fit-evidence{float:left;width:92px;height:70px;margin:4px 8px 0 0}#report-sheet{background:#fffaf0;border:1.5px solid #cdb990;border-radius:8px;padding:12px 14px;position:relative;box-shadow:0 2px 6px #3c230a1f}#report-sheet>small{color:#6f5a40;font-variant:small-caps;letter-spacing:.08em;display:block}#report-sheet.press{animation:.4s ease-out .3s press}@keyframes press{0%{filter:brightness(1.08);scale:1.02}}#report-units{flex-direction:column;gap:4px;display:flex}#report-sheet .sent{font-size:calc(1.125rem * var(--text,1));border-radius:6px;padding:6px 2px;line-height:1.8;position:relative}#report-sheet:has(.verdict) .sent{line-height:1.45}#report-sheet .sent.near{background:#f7e58a66;box-shadow:inset 0 0 0 2px #e2c23c}#report-sheet .sent.wrong{background:#e8907066;box-shadow:inset 0 0 0 2px #c4553f}#report-sheet .sent .tag{font-size:.75rem;line-height:1.2;display:block}#report-sheet .sent.near .tag{color:#8a6d00}#report-sheet .sent.wrong .tag{color:#a3321f}#report-sheet .sent.locked .tag{color:var(--sure)}#report-sheet .gap{vertical-align:middle;color:#6f5a40;white-space:normal;text-align:left;background:#fffdf6;border:2px dashed #b9a173;border-radius:7px;min-width:84px;max-width:100%;min-height:44px;margin:2px;padding:3px 8px;font-style:italic;line-height:1.3;display:inline-block}#report-sheet .gap.filled{color:#4a4a4a;border-style:solid;font-style:normal}#report-sheet .gap.sel{border-color:var(--good);background:#f3e3c2;box-shadow:0 0 0 2px #f3e3c2}#report-sheet .gap.bad{-webkit-text-decoration:underline wavy #c4553f;text-decoration:underline wavy #c4553f}#report-sheet .ink{border-bottom:2px solid var(--good);color:#1d140b}#report-foot{background:#f3e8cf;border:1px solid #cdb990;border-radius:8px;padding:12px}#report-foot:empty{display:none}:is(#report-foot,.pair-options) .tray-head{font-size:calc(.9375rem * var(--text,1));margin-bottom:8px;font-weight:700}:is(#report-foot,.pair-options) .chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}:is(#report-foot,.pair-options) .chips.whole{grid-template-columns:1fr}:is(#report-foot,.pair-options) .chip{text-align:left;min-height:48px;font-size:calc(.9375rem * var(--text,1));background:#fffaf0;border:1.5px solid #b9a173;border-radius:8px;align-items:center;gap:8px;padding:6px 8px;line-height:1.4;display:flex;position:relative}:is(#report-foot,.pair-options) .chip img,:is(#report-foot,.pair-options) .chip .sign{flex:none;width:30px;height:30px;font-size:1rem}:is(#report-foot,.pair-options) .chip.on{border:2.5px solid var(--good);background:#eef3fa}:is(#report-foot,.pair-options) .chip.used:after{content:"";background:#8a7458;border-radius:50%;width:7px;height:7px;position:absolute;top:6px;right:6px}:is(#report-foot,.pair-options) .chip.glow{box-shadow:0 0 0 4px #f3d36b}#report-act .unit-check,#report-act .primary{background:var(--wood);color:#f8ebcb;width:100%;min-height:48px;font-size:calc(1.0625rem * var(--text,1));border:1px solid #3d220c;display:block}#report-foot .score{color:#7a5a12;text-align:center;margin:4px 0;font-size:1.0625rem}#report-luke{font-size:calc(.9375rem * var(--text,1));background:#f3e8cf;border:1px solid #cdb990;border-radius:8px;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:8px;padding:10px;display:grid}#report-luke.quiet{background:0 0;border:none;padding:0;display:block}#report-luke.quiet>img,#report-luke.quiet>#report-line{display:none}#report-luke.quiet:has(#report-hint[hidden]){display:none}#report-luke img{border-radius:50%;width:36px;height:36px}#report-hint{min-height:44px;font-size:inherit;grid-column:2;justify-self:start;padding:8px 14px}#report-card:has(#report-foot .chips) #report-hint{min-height:36px;box-shadow:none;color:#6a5530;font-size:calc(.875rem * var(--text,1));text-underline-offset:3px;background:0 0;border:none;padding:4px 8px;text-decoration:underline}#report-card:has(#report-foot .chips) #report-foot{border-width:2px;border-color:#9a7a3c;box-shadow:0 1px #e8d9b4}#report-card:has(#report-act .unit-check) #report-hint{opacity:.75}#report-sheet .verdict{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 10px;margin:4px 0 8px;display:flex}#report-sheet .wax{background:radial-gradient(circle at 35% 30%, #c8473a, var(--wax));color:#fff3cf;border-radius:50%;place-items:center;width:38px;height:38px;animation:.3s cubic-bezier(.2,1.6,.4,1) .7s both slam;display:grid}#report-sheet .wax.gold{background:radial-gradient(circle at 35% 30%, #f2cf6b, var(--gold))}#report-sheet .verdict .stamp{background:#fffaf0dd;font-size:.9375rem;animation:.3s cubic-bezier(.2,1.6,.4,1) 1.1s both slam;transform:rotate(-9deg)}@keyframes slam{0%{opacity:0;transform:rotate(-9deg)scale(1.15)}}#report-sheet .verdict .open{color:var(--open);flex-basis:100%;margin:0;font-size:.8125rem;font-style:italic;line-height:1.4}#report-sheet .stamp-meaning{text-align:right;flex-basis:100%;margin:6px 0 0;font-size:.875rem;line-height:1.4}#report-sheet.read .verdict *,#report-sheet.read .wax{animation:none}@media (width<=480px){:is(#report-foot,.pair-options) .chips{grid-template-columns:1fr}}@media (width>=900px){#report-card{border-radius:10px;width:min(760px,100% - 40px);max-height:calc(100dvh - 40px)}#notebook-card{width:min(1000px,100%)}#notebook-body:has(.collected-records[data-current=true]){grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;align-items:start;gap:16px 28px;display:grid}#notebook-body:has(.collected-records)>*{grid-column:1/-1;min-width:0}#notebook-body:has(.collected-records[data-current=true])>.mission-card{grid-column:1}#notebook-body>.collected-records[data-current=true]{grid-column:2;margin:0}.case-findings{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px 24px;display:grid}#notebook-body section.case-archive .thread{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.case-findings>:is(h4,p){grid-column:1/-1;margin:0}.case-findings>.tile{min-width:0;margin:0}.case-findings>.tile:has(.finding-basis[open]){grid-column:1/-1}.finding-sources{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.collected-records[data-current=false] .source-trail{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=899px){#report-card{height:100dvh}#report-task{flex:1}}@media (width>=561px) and (width<=899px) and (height>=600px){#report-card{border-radius:10px;height:auto;max-height:calc(100dvh - 40px)}}#ending-epilogue{background:#fffaf0b3;border:1px solid #5a341480;border-radius:6px;margin:0 0 16px;padding:12px 14px}#ending-epilogue p{margin:6px 0 0;font-style:italic;line-height:1.5}#ending-epilogue #ending-closing{font-style:normal;font-weight:600}@media (prefers-reduced-motion:reduce){#report-sheet *,#report-foot *,#report-foot,#dialog-text mark.word{animation:none!important}}#atlas-modes{flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0;display:flex}#atlas-modes button{border:2px solid var(--rubric);border-radius:8px;min-height:44px;padding:10px 16px}#atlas-modes button[aria-pressed=true]{background:var(--rubric);color:#f8ebcb}.mission-overview{margin:8px 0}.mission-overview summary{cursor:pointer;min-height:44px;padding:10px 0;display:list-item}.mission-checklist{margin:.5rem 0;padding:0;list-style:none}.mission-checklist li{padding:.5rem 0;line-height:1.45}.mission-checklist small{color:#653d13;display:block}#atlas-teaser{text-align:center;color:#ecd7a8;background:#2a2118;border:1px solid #5a341466;border-radius:12px;margin:8px 0 16px;padding:24px 16px}#atlas-teaser .btn,#teaser-preview{color:#f8ebcb;background:linear-gradient(#8a5a2b,#5a3414);border:1px solid #3d220c;border-radius:999px;align-items:center;min-height:48px;margin-top:12px;padding:10px 18px;text-decoration:none;display:inline-flex}#unlock-panel{z-index:55;background:#140c04b8;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}#unlock-panel[hidden]{display:none!important}#unlock-panel [role=dialog]{box-sizing:border-box;background:var(--parchment);width:min(420px,100%);max-height:100%;color:var(--ink);border:1px solid #5a3414b3;border-radius:10px;padding:18px;overflow-y:auto}#unlock-panel h2{margin:0 0 8px}#unlock-child{font-size:calc(1.0625rem * var(--text,1));margin:0 0 12px;line-height:1.45}#unlock-gate[hidden],#unlock-adult[hidden],#unlock-buy[hidden],#unlock-soon[hidden],#unlock-clear[hidden]{display:none}#unlock-gate .link,#ending-gate .link{min-width:44px;min-height:44px}#unlock-adult{border-top:1px solid #5a341466;padding-top:4px}#unlock-adult h3{font-variant:small-caps;letter-spacing:.06em;color:var(--rubric);margin:8px 0 4px}#unlock-adult p{margin:4px 0 8px;line-height:1.4}#unlock-adult label{margin-top:10px;font-weight:700;display:block}#unlock-adult .row{flex-wrap:nowrap;align-items:center;margin:0}#unlock-adult .row #unlock-input{flex:1;min-width:0;margin:0}#unlock-panel button,#unlock-buy{min-height:44px}#unlock-buy{background:var(--wood);color:#f8ebcb;border:1px solid #3d220c;border-radius:8px;align-items:center;margin:4px 0;padding:10px 16px;text-decoration:none;display:inline-flex}#unlock-input{width:100%;font:inherit;letter-spacing:.12em;text-transform:uppercase;box-sizing:border-box;border:1px solid #5a341499;border-radius:8px;margin:8px 0;padding:12px;font-size:1.25rem}#unlock-panel .row{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.preseason-note{color:#ecd7a8;font-size:calc(.875rem * var(--text,1));text-align:center;width:100%;margin:0 0 6px}.preseason-note.muted{color:#c4b08a;font-size:calc(.8125rem * var(--text,1))}@media (width<=420px){#dialog-text,#prologue-text,#opening-movie-caption{font-size:calc(1.0625rem * var(--text,1));line-height:1.45}#dialog-card,#prologue-card{padding:14px 16px}}#dialog-card,#prologue-card [role=dialog],#opening-movie [role=dialog],#dialog-text{color:#2a1c10}#dialog-next,#dialog-close,#action-btn,#prologue-next,#prologue-skip,#opening-movie-play,#opening-movie-skip,#opening-movie-finish,#opening-movie-read{min-width:44px;min-height:44px}#hud-buttons button,#settings-menu button{min-height:44px}#sound-btn[aria-pressed=true],#sound-btn{color:#2a1c10}#ending-more{font-size:calc(1rem * var(--text,1));margin:0 0 14px;line-height:1.45}#ending-gate{text-align:center;font-size:calc(.875rem * var(--text,1));margin-top:14px}#ending-whole{min-height:44px;color:var(--rubric);font:inherit;font-size:calc(.875rem * var(--text,1));background:0 0;border:none;margin:6px auto 0;padding:8px 14px;text-decoration:underline;display:block}#ending-more[hidden],#ending-gate[hidden],#ending-whole[hidden]{display:none}#level{z-index:46;background:#140c04b8;justify-content:center;align-items:center;padding:16px;animation:.4s fade;display:flex;position:fixed;inset:0}#level-card{background:var(--parchment);width:min(520px,100%);max-height:100%;color:var(--ink);text-align:center;border:1px solid #5a3414b3;border-radius:4px 10px 5px 9px;padding:20px;animation:.5s cubic-bezier(.2,.9,.3,1) unroll;overflow-y:auto;box-shadow:0 12px 34px #000000a6}#level-card h2{font-variant:small-caps;letter-spacing:.1em;margin:0 0 14px}#level-options{gap:10px;display:grid}.level-option{min-height:96px;color:var(--ink);text-align:left;white-space:normal;background:#fffaf0;border:2px solid #b79a64;border-radius:10px;align-items:center;gap:14px;padding:10px 14px;display:flex}.level-option[aria-pressed=true]{border-color:var(--rubric);box-shadow:inset 0 0 0 1px var(--rubric)}.level-picture{background:#efe0bd;border-radius:50%;flex:none;width:72px;height:72px;position:relative;overflow:hidden}.level-picture img{height:96px;position:absolute;top:4px;left:50%;translate:-50%}.level-option.laerling .level-picture img{width:216px;height:auto;left:9px;translate:none}.level-sign{font-size:1.25rem;line-height:1;position:absolute;bottom:2px;right:2px}.level-words{font-size:calc(1rem * var(--text,1));gap:2px;line-height:1.35;display:grid}.level-words strong{font-size:calc(1.25rem * var(--text,1))}.level-chosen{color:var(--rubric);font-style:normal;font-size:calc(.875rem * var(--text,1))}#level-later{font-size:calc(.9375rem * var(--text,1));margin:14px 0 0}#atlas-also{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}#atlas-level,#atlas-film{color:#f1dfb4;min-height:44px;font-size:calc(1rem * var(--text,1));background:0 0;border:1px solid #8a6a36;border-radius:8px;margin-top:8px;padding:6px 16px}#level-chip small{font-size:inherit}#level-chip small:after{content:":"}@media (width<=560px){#level-chip{display:none}}#hud.folded #level-chip{display:none}#hud.folded:has(.play-place-guide){flex-wrap:wrap}.play-place-guide{border-top:1px solid #b89b5c;flex-wrap:wrap;flex-basis:100%;order:3;gap:6px;width:100%;min-width:0;padding:6px 0 0;display:flex}.play-place-guide button{white-space:normal;min-height:44px;font-size:calc(.9rem * var(--text,1))}.play-place-guide button:first-child{flex:170px}#menu-adults{border-top:1px solid #5a341459;padding-top:6px}#menu-adults>summary{cursor:pointer;padding:8px 4px;font-weight:700}#menu-adults[open]{flex-direction:column;gap:6px;display:flex}@media (pointer:coarse){#zoom-in,#zoom-out{display:none}}:root{--kk-main:#5a3414;--kk-main-edge:#3f240c;--kk-main-text:#fff6df;--kk-second:#fbf3e2;--kk-second-edge:#96744e;--kk-ink:#3b2a14;--kk-radius:10px}:root button.primary:not(:disabled),:root .playroom .primary:not(:disabled){background:var(--kk-main);color:var(--kk-main-text);border:1px solid var(--kk-main-edge);box-shadow:0 3px 0 var(--kk-main-edge)}:root button.primary:disabled{opacity:.55}:root button.plain,:root button.choice,#hud-home,#notebook-btn,#settings-btn,#minigame-quit,#atlas-grownups{min-height:44px;font-size:calc(1rem * var(--text,1));border-radius:var(--kk-radius)}:root .playroom .plain,:root .playroom .primary,.atlas-tab,#atlas-playroom,.settings-corner>summary{border-radius:var(--kk-radius)}#minigame-card{position:relative}:is(#minigame-card>#minigame-quit,#minigame-card:has(.puzzle)>#minigame-quit){justify-self:auto;margin:0;position:absolute;top:10px;right:10px}#minigame-card>h3{padding:0 92px}#hud-buttons #score.in-progress{display:none}#progress-stars{color:#f3d58a;font-weight:700;font-size:calc(1rem * var(--text,1));flex-shrink:0}#progress-label{font-size:calc(.95rem * var(--text,1))}:root{--kk-h-panel:calc(1.4rem * var(--text,1));--kk-h-section:calc(1.15rem * var(--text,1))}#notebook-panel h2,#level-card h2,.settings-corner-panel h2,#minigame-card>h3,#settings-menu h2{font-size:var(--kk-h-panel);letter-spacing:.02em;margin:0 0 .5rem;font-variant-caps:small-caps;line-height:1.2}#notebook-body h3,.settings-corner-panel h3,#settings-menu h3{font-size:var(--kk-h-section);margin:.75rem 0 .35rem;font-variant-caps:small-caps;line-height:1.25}body:has([data-panel]:not([hidden]):not(#atlas)) #action-btn{visibility:hidden}#ending-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}#ending-row>#ending-next{order:-1;grid-column:1/-1;min-height:52px}#ending-row>#ending-next[hidden]{display:none}#ending-row>:not(#ending-next){min-height:44px;font-size:calc(.95rem * var(--text,1))}#ending-row>#ending-film{display:none}@media (width<=380px){#ending-row{grid-template-columns:1fr 1fr}}#ending-more{white-space:pre-line;text-align:left;display:inline-block}#ending-row>:not(#ending-next){white-space:nowrap;text-overflow:ellipsis;padding-inline:6px;overflow:hidden}@media (width<=380px){#ending-row{grid-template-columns:repeat(3,minmax(0,1fr))}}#ending-card .ending-toy{background:var(--kk-second);box-shadow:none;color:var(--kk-ink);border:2px dashed #c9a24a;font-weight:400}button.link.hold{border:1px solid var(--rubric,#8b1a1a);border-radius:var(--kk-radius,10px);min-height:44px;color:var(--rubric,#8b1a1a);font:inherit;-webkit-touch-callout:none;background:0 0;flex-direction:column;align-items:center;gap:2px;padding:6px 14px 9px;display:inline-flex;position:relative;overflow:hidden}button.link.hold>small{opacity:.9;font-size:max(.8125rem,.8em);display:block}button.link.hold:after{content:"";background:var(--rubric,#8b1a1a);width:100%;height:4px;transform:scaleX(var(--hold,0));transform-origin:0;position:absolute;bottom:0;left:0}#progress-stars{border-radius:var(--kk-radius,10px);color:#f3d58a;cursor:pointer;background:0 0;border:0;min-width:44px;min-height:44px;padding:0 8px;font-weight:700}#progress-stars:focus-visible{outline-offset:2px;outline:3px solid #f3d58a}.secret-spot{cursor:pointer;outline-offset:3px}.secret-spot:focus-visible{border-radius:50%;outline:3px solid #f3d58a}.atlas-compass{aspect-ratio:1;z-index:2;border-radius:50%;width:9%;position:absolute;top:9%;left:6.5%}.atlas-compass.spin{background:radial-gradient(circle,#fff0be8c,#0000 70%);animation:.8s ease-out compass-spin}@keyframes compass-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.atlas-compass.spin{animation:none}}.atlas-secret{text-align:center;color:#f3d58a;margin:8px 0 0;font-weight:700}#atlas-lead[hidden]{display:none}#objective.quiet{box-shadow:none;opacity:.72;background:0 0;border-color:#0000;animation:none}#objective.quiet:after{content:none}body:has([data-panel]:not([hidden]):not(#notebook-panel)) #objective{visibility:hidden}body.board-busy #objective{opacity:.45}#minigame-card:has(.fit-review)>#minigame-quit{display:none}#settings-menu .menu-switch{text-align:left;padding-right:3.4rem;position:relative}#settings-menu .menu-switch:after{content:"";background:#b9a88a;border-radius:1rem;width:2.1rem;height:1.15rem;margin-top:-.575rem;transition:background .2s;position:absolute;top:50%;right:.7rem;box-shadow:inset 0 1px 2px #0004}#settings-menu .menu-switch:before{content:"";z-index:1;background:#fffaf0;border-radius:50%;width:.95rem;height:.95rem;margin-top:-.475rem;transition:right .2s;position:absolute;top:50%;right:1.75rem;box-shadow:0 1px 2px #0006}#settings-menu .menu-switch[aria-pressed=true]:after{background:var(--ok,#4f8a3c)}#settings-menu .menu-switch[aria-pressed=true]:before{right:.8rem}@media (prefers-reduced-motion:reduce){#settings-menu .menu-switch:before,#settings-menu .menu-switch:after{transition:none}}:root{--kk-card:#fff8e8;--kk-card-edge:#d9bf8f;--kk-card-shadow:0 2px 0 #d2b27a, 0 6px 14px #462d0f1f;--kk-gold:#e0b45a;--kk-gold-ink:#3a2410;--kk-new:#2f5a1a;--kk-radius-card:14px;--kk-gap:12px;--kk-fs-s:calc(.9rem * var(--text,1));--kk-fs-m:calc(1rem * var(--text,1));--kk-fs-l:calc(1.2rem * var(--text,1));--kk-fs-xl:calc(1.5rem * var(--text,1));--kk-btn-h:44px;--kk-btn-main-h:52px}.playroom .chest-daily,.chest-level-card,.chest-more>details,.playroom details.chest-fold,#notebook-body .tile,.mascot-bubble,.chest-totals>div{border-radius:var(--kk-radius-card);border-color:var(--kk-card-edge);box-shadow:var(--kk-card-shadow)}.chest-level-card,.chest-totals>div,#notebook-body .tile{background:var(--kk-card)}:root button.primary,#atlas-go,.playroom .chest-next-level,#dialog-next{min-height:var(--kk-btn-main-h)}:root button,:root button.plain{min-height:var(--kk-btn-h)}.atlas-start-here,.chest-world-q{background:var(--kk-gold);color:var(--kk-gold-ink)}.chest-level-card .chest-level-learn,.chest-level-learn{color:var(--kk-new)}.chest-level-goal,.chest-daily.compact strong,.chest-measure{font-size:var(--kk-fs-m)}.chest-level-card .chest-level-learn,.chest-level-where,#menu-adults>summary{font-size:var(--kk-fs-s)}.chest-view>h2,.chest-result h3{font-size:var(--kk-fs-xl)}#settings-menu{border-radius:var(--kk-radius-card);box-shadow:var(--kk-card-shadow)}#settings-menu>button,#settings-menu>a,#menu-adults>button{min-height:var(--kk-btn-h);border-radius:var(--kk-radius)}body:has(#settings-menu:not([hidden])) :is(.gain,.big-moment,.learn-demo-tag){visibility:hidden}@media (width<=560px){#notebook-body .tabs{flex-wrap:nowrap}#notebook-body .tabs button{font-size:calc(.875rem * var(--text,1));overflow-wrap:normal;-webkit-hyphens:auto;hyphens:auto;flex:1 1 0;padding:6px 2px}body.big #notebook-body .tabs{flex-wrap:wrap}body.big #notebook-body .tabs button{flex:40%}}#objective:not(.quiet):not(:empty){border:2px solid var(--kk-gold,#e0b45a);background:linear-gradient(#fff2,#ffffff08);padding-right:40px;box-shadow:0 3px #0006}#objective:not(.quiet):not(:empty):after{background:var(--kk-gold,#e0b45a);color:#3a2410;text-align:center;border-radius:50%;width:26px;height:26px;font-size:1.3rem;line-height:24px;right:6px}#objective:not(.quiet):active{transform:translateY(2px);box-shadow:0 1px #0006}#objective.first:not(.quiet){animation:1.6s ease-in-out infinite next-breathe}@keyframes next-breathe{50%{box-shadow:0 3px #0006,0 0 0 5px #e0b45a55}}@media (prefers-reduced-motion:reduce){#objective.first:not(.quiet){animation:none}}#report-foot .chip.tried:not(.on){opacity:.6;-webkit-text-decoration:line-through #8b1a1a88;text-decoration:line-through #8b1a1a88}#report-foot .chip .chip-tried{color:#8b1a1a;font-size:calc(.75rem * var(--text,1));background:#8b1a1a1a;border-radius:8px;margin-left:6px;padding:0 6px;text-decoration:none;display:inline-block}#ending-card .ending-toy{border:2px solid var(--kk-gold,#e0b45a);background:var(--kk-card,#fff8e8);color:var(--kk-ink);min-height:var(--kk-btn-main-h,52px);border-style:solid;font-weight:700;box-shadow:0 3px #c9a24a}#ending-card .ending-toy:active{transform:translateY(2px);box-shadow:0 1px #c9a24a}#ending-row>#ending-stay{grid-column:1/-1;justify-self:center;min-width:60%}@media (width<=600px){#mission-progress{min-height:28px;margin-top:2px}#mission-progress #progress-stars{min-height:36px;margin-block:-4px}#progress-label{font-size:calc(.85rem * var(--text,1))}#mission-question{font-size:calc(.95rem * var(--text,1));margin-bottom:0}#objective{min-height:40px}}#objective-sr,#objective.quiet:not(:empty){clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;min-height:0;margin:0;padding:0;position:absolute;overflow:hidden}.notebook-adults{font-size:calc(.9rem * var(--text,1));opacity:.85;margin-top:18px}.notebook-adults>summary{cursor:pointer;color:var(--rubric,#8b1a1a);align-items:center;min-height:44px;display:flex}#level-chip{display:none!important}@media (pointer:fine){#zoom-out,#zoom-in{z-index:5;opacity:.7;border-radius:50%;min-width:36px;min-height:36px;padding:0;font-size:1.15rem;position:fixed;right:12px}#zoom-in{bottom:128px}#zoom-out{bottom:86px}#zoom-out:hover,#zoom-in:hover,#zoom-out:focus-visible,#zoom-in:focus-visible{opacity:1}#zoom-out,#zoom-in{opacity:.92;color:#3a2410;background:#f6ecd6;border:1px solid #6b4a24;font-weight:700;box-shadow:0 2px 4px #0006}}.play-place-guide{align-items:stretch;gap:8px;display:flex}.play-place-guide>:first-child{flex:auto}.play-place-guide>.play-place-close{flex:0 0 44px;min-width:44px;padding:0}#mission-progress>#inventory{flex-wrap:nowrap;flex-shrink:0;margin-top:0}#mission-progress #progress{flex:auto;min-width:40px}@media (width<=600px){#inventory .chip-name{display:none}#mission-progress>#inventory span{background:0 0;padding:0}#mission-progress>#inventory>span{background:#f6efdfe6;border-radius:999px;padding:0 5px;line-height:1.5}}#hud>div:first-child{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:8px;display:grid}#hud>div:first-child>*{grid-column:1/-1}#hud>div:first-child>#chapter-title{grid-column:1}#hud>div:first-child>#chapter-ref{grid-column:2/-1}#hud>div:first-child>#objective:not(.quiet):not(:empty){grid-column:1/3}#hud>div:first-child>#objective:not(.quiet):not(:empty)~#mission-progress{grid-column:3;gap:6px;margin-top:2px}#objective:not(.quiet):not(:empty)~#mission-progress #progress{flex:0 0 44px;min-width:44px}#objective:not(.quiet):not(:empty)~#mission-progress #progress-label{font-size:calc(.8rem * var(--text,1))}@media (width<=600px){#objective:not(.quiet):not(:empty)~#mission-progress #progress{display:none}}body.board-room #game:before{content:"";z-index:1;pointer-events:none;background:linear-gradient(#5a3f22 0,#3a2814 40%,#24180c 100%);border-top:1px solid #c9a24a66;height:84px;position:fixed;inset:auto 0 0;box-shadow:0 -10px 18px #0007}@media (width<=600px){body.board-room #game:before{height:104px}}#action-btn{z-index:3}#atlas-rank .atlas-adults{font-size:calc(.85rem * var(--text,1));opacity:.85;margin-top:4px}#atlas-rank .atlas-adults summary{cursor:pointer;text-underline-offset:3px;text-decoration:underline}#atlas-rank .atlas-adults p{margin:4px 0 0}body.big #atlas-rank .atlas-adults{opacity:.72;margin-top:2px;font-size:min(.8rem,3.4vw);line-height:1.3}body.big #atlas-rank .atlas-adults summary{font-size:inherit;letter-spacing:0;font-weight:400}body.big .notebook-adults{opacity:.72;margin-top:12px;font-size:min(.8rem,3.4vw)}body.big .notebook-adults>summary{font-size:inherit;min-height:44px;font-weight:400}body.big #menu-adults>summary{padding:6px 4px;font-size:min(.85rem,3.6vw);font-weight:600}#ending-row:not(.again)>#ending-stay,#ending-card #ending-row:not(.again)>.ending-toy{box-shadow:none;min-height:44px;color:var(--kk-ink,#3a2a1a);text-underline-offset:3px;white-space:normal;background:0 0;border:0;padding:6px;font-weight:400;text-decoration:underline;animation:none}#ending-row:not(.again){flex-direction:column;align-items:center;gap:0;display:flex}#ending-row:not(.again)>#ending-next{align-self:stretch;margin-bottom:4px}#ending-row:not(.again)>:not(#ending-next){min-height:36px;padding:4px 6px}:root{--kk-primary-bg:var(--wood);--kk-primary-ink:#f8ebcb;--kk-primary-edge:var(--kk-gold);--kk-primary-dark-bg:linear-gradient(#f3d27e, #d9a443 50%, #b97d26);--kk-primary-dark-ink:#2e1a08;--kk-primary-dark-edge:#f6dc96;--kk-primary-dark-glow:0 0 0 1px #3d220c, 0 0 22px #f0be5a73, 0 6px 16px #00000080;--kk-second-dark-bg:#fff8e814;--kk-second-dark-ink:#f0d28c;--kk-second-dark-edge:#e0b45a8c;--kk-focus:#b5790a;--kk-focus-halo:#ffecb4e6;--kk-heading-font:Georgia, "Times New Roman", serif}#atlas-go{background:var(--kk-primary-dark-bg);color:var(--kk-primary-dark-ink);border:2px solid var(--kk-primary-dark-edge);box-shadow:var(--kk-primary-dark-glow);text-shadow:0 1px #fff0c899;border-radius:10px}#atlas .atlas-playroom{background:var(--kk-second-dark-bg);color:var(--kk-second-dark-ink);border:1px solid var(--kk-second-dark-edge);box-shadow:none;font-size:calc(.95rem * var(--text,1));border-radius:10px;padding:6px 16px}.playroom h1,.playroom h2:not(.sr-only),.playroom .chest-result h3{font-family:var(--kk-heading-font);font-variant:small-caps;letter-spacing:.06em}:root :focus-visible{box-shadow:0 0 0 6px var(--kk-focus-halo);outline:3px solid var(--kk-focus)!important}.playroom .chest-head{padding-right:60px}.has-read-all .source-head>.source-read{display:none}.read-all{font-size:var(--kk-fs-s);place-self:flex-start start;margin:0 0 6px}.has-read-all .source-brief:not(.choice-card){cursor:pointer}.has-read-all .source-brief:not(.choice-card):active{background:#fff1cf}.toast.tip{color:#f6e7c4;font-style:italic;font-size:var(--kk-fs-s);box-shadow:none;pointer-events:none;background:#1e140ad1;border:0;border-radius:8px;padding:6px 12px}.toast.tip:before{content:"💡 ";font-style:normal}#compass:not([hidden]){animation:1s ease-in-out infinite nudge,1.6s ease-in-out infinite compass-breathe}#compass.first:not([hidden]){animation:.6s ease-in-out 6 glow-pulse,1s ease-in-out 3.6s infinite nudge,1.6s ease-in-out 3.6s infinite compass-breathe}@keyframes compass-breathe{50%{filter:drop-shadow(0 0 8px #ffd84ae6);scale:1.12}}@media (prefers-reduced-motion:reduce){#compass:not([hidden]){animation:none}}#prologue-levels{flex:100%;grid-template-columns:1fr 1fr;gap:8px;display:grid}#prologue-levels .prologue-levels-lead{font-size:var(--kk-fs-s);grid-column:1/-1;margin:0 0 2px}#prologue-levels .prologue-level{text-align:left;min-height:var(--kk-btn-main-h);background:var(--kk-card);color:var(--ink);border:1px solid var(--kk-card-edge);box-shadow:var(--kk-card-shadow);border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 12px;display:flex}#prologue-levels .prologue-level.laerling{border:2px solid var(--kk-gold)}#prologue-levels .prologue-level span{font-size:var(--kk-fs-s);font-weight:400}#prologue #prologue-back,#prologue #prologue-skip{min-height:40px;box-shadow:none;color:inherit;opacity:.85;text-underline-offset:3px;font-size:var(--kk-fs-s);background:0 0;border:0;flex:none;padding:4px 10px;text-decoration:underline}#prologue #prologue-next{flex:50%}#prologue.film #prologue-row:has(>#prologue-next[hidden]){background:0 0;justify-content:center;padding:2px 0;position:static}#prologue.film #prologue-row:has(>#prologue-next[hidden]) #prologue-back{flex:none;order:2;margin:4px auto 0}#prologue.film #prologue-row:has(>#prologue-next[hidden]) #prologue-levels{order:1}#report .read-all,#report .marks-more .say{display:none}#report-dock:has(>#report-act:empty){justify-content:center}#report-dock:has(>#report-act:empty)>#report-act{display:none}#report-dock:has(>#report-act:empty)>#report-luke.quiet{margin:0 auto}button.link.hold,#ending-gate .link.hold,#unlock-gate .link.hold{border:1px solid var(--kk-card-edge);background:var(--kk-card);color:var(--ink);box-shadow:none}button.link.hold>small{opacity:.75}button.link.hold:after,#ending-gate .link.hold:after,#unlock-gate .link.hold:after{background:var(--kk-gold)}button.link.hold,#ending-gate .link.hold,#unlock-gate .link.hold{min-width:min(100%,18rem)}button.kk-back,#report-top #report-back{border:1px solid var(--kk-card-edge);background:var(--kk-card);width:auto;min-width:44px;min-height:40px;color:var(--ink);box-shadow:var(--kk-card-shadow);font:inherit;white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:4px;margin:0;padding:6px 14px;font-size:.9375rem;line-height:1.2;display:inline-flex}#report-top #report-back{border:1px solid var(--kk-card-edge);background:var(--kk-card);min-height:40px;padding:6px 12px}.playroom .chest-head>.chest-navigation{flex:100%;order:-1}#chapter-title{font-family:var(--kk-heading-font);font-variant:small-caps;letter-spacing:.04em}#menu-more{border-top:1px solid #5a341459;padding-top:6px}#menu-more>summary{cursor:pointer;font-weight:700;font-size:var(--kk-fs-s);padding:8px 4px}#menu-more[open]{flex-direction:column;gap:6px;display:flex}#menu-more>button{min-height:var(--kk-btn-h);border-radius:var(--kk-radius)}#unlock-panel.peek [role=dialog]{flex-direction:column;display:flex}#unlock-panel.peek #unlock-child>span,#unlock-panel.peek #unlock-child>q{display:block}#unlock-panel.peek .unlock-peek{font-weight:600}#unlock-panel.peek .unlock-peek-icon{font-size:.9em}#unlock-panel.peek .unlock-ask{border-left:4px solid var(--kk-gold);background:#ffecbe8c;border-radius:6px;margin:10px 0;padding:8px 12px;font-size:1.1em;font-style:italic}#unlock-panel.peek .unlock-rule{color:var(--muted,#6b5a44);font-size:.875rem;line-height:1.4}#unlock-panel.peek #unlock-dialog-row,#unlock-panel.peek [role=dialog]>.row{order:2;margin-top:4px}#unlock-panel.peek #unlock-gate{order:3;margin-top:8px}#unlock-panel.peek #unlock-adult{order:4}#unlock-panel.peek #unlock-close{color:#fff8e8;border:2px solid var(--kk-gold);background:#4a2c14;flex:100%;font-weight:600}#unlock-panel.peek #unlock-gate .link{padding:4px 10px 6px;font-size:.9375rem}.marks-more{margin:8px 0 0}.marks-more>summary{color:var(--muted,#6b5a44);cursor:pointer;align-items:center;gap:6px;min-height:44px;padding:6px 0;font-size:.9375rem;display:flex}.marks-more[open]>summary{color:inherit}#ending-row>#ending-stay.merged{white-space:normal;text-overflow:clip;justify-items:center;gap:2px;min-height:52px;padding:8px 14px;display:grid;overflow:visible}#ending-stay.merged .merged-more{opacity:.85;font-size:.85em;font-weight:400}#ending-card #ending-row>#ending-stay.merged{background:var(--kk-second,#fff4c8);color:var(--kk-ink,#4a2f08);border:2px dashed #c9a24a;border-radius:12px;justify-self:center;min-width:60%;text-decoration:none}.marks-more[open]{background:var(--kk-card,#fff8e8);border:1px solid #e3cf9f;border-radius:12px;padding:0 14px 10px}.marks-more[open]>summary{margin:0 -2px}.marks-more>.marks-short{margin:2px 0 8px;font-weight:700}.marks-more>p{white-space:pre-line;margin:0;line-height:1.45}#report-foot .chip.on.tried{opacity:.6;border-color:var(--kk-card-edge,#d9c49a);background:var(--kk-card,#fffaf0);box-shadow:none}#atlas-playroom{position:relative}#atlas-playroom .toy-new{color:#fff;pointer-events:none;background:#b3261e;border-radius:999px;padding:3px 6px;font-size:.75rem;font-weight:700;line-height:1;position:absolute;top:-8px;right:-8px;box-shadow:0 1px 2px #0005}.chest-card.is-new{position:relative}.chest-card .toy-new{color:#fff;pointer-events:none;background:#b3261e;border-radius:999px;padding:3px 6px;font-size:.75rem;font-weight:700;line-height:1;position:absolute;top:6px;right:6px;box-shadow:0 1px 2px #0005}#objective{max-height:calc(2.5em + 12px);line-height:1.25}.chest-card.is-new .chest-card-words>strong{padding-right:46px}body>.wait-note{z-index:100;font-size:calc(.85rem * var(--text,1));color:#f3d58a;opacity:.9;pointer-events:none;background:#302416;border-radius:10px;margin-top:0;padding:6px 10px;animation:1.4s ease-out both wait-note;display:block;position:fixed;top:118px;left:12px;box-shadow:0 2px 6px #0005}@keyframes wait-note{0%{opacity:0}15%,75%{opacity:.9}to{opacity:0}}@media (prefers-reduced-motion:reduce){body>.wait-note{animation:none}}.chest-show-all{min-height:44px;margin:8px auto 4px;display:block}.chest-daily-row.secondary-daily .chest-daily{box-shadow:none;background:0 0;border:1px solid #cdb582;font-weight:400}.chest-group.has-new>summary{background:#fff3ce}.chest-news-cue{color:#675335;margin-top:3px;font-size:.85em;font-weight:400;display:block}.chest-group.has-new[open] .chest-news-cue,#atlas.first-entry .atlas-tab:not(.locked),#atlas.first-entry #atlas-playroom,#atlas.first-entry #atlas-grownups,#atlas.first-entry :is(.thread,.thread-shadow,.thread-knot){display:none}#ending-card #ending-row>#ending-next{grid-column:1/-1;width:100%}#ending-card.finale{scroll-padding-top:var(--ending-actions-height,220px)}#ending-card.finale #ending-row{z-index:2;background:var(--parchment);border-bottom:1px solid #a8875666;padding-block:8px;position:sticky;top:-22px}#ending-card.finale #ending-row>#ending-stay{width:100%}:root{--kk-flow-pad:16px;--kk-flow-title:calc(1.6rem * var(--text,1));--kk-flow-action:calc(1.0625rem * var(--text,1))}#atlas-title,.playroom .chest-head h1{font-family:var(--kk-heading-font);font-size:var(--kk-flow-title);font-variant:small-caps;letter-spacing:.04em;margin:0 0 var(--kk-gap);line-height:1.2}#atlas-title{padding-inline:44px}#notebook-panel h2,#report-q,#ending-title{font-family:var(--kk-heading-font);font-size:var(--kk-h-panel);letter-spacing:.02em;line-height:1.25}#report-q{font-variant:normal}#dialog-speaker{font-family:var(--kk-heading-font);font-size:var(--kk-h-section);letter-spacing:.02em}#atlas-go,#action-btn,#dialog-next,#report-act button.primary,.playroom .chest-continue{min-height:var(--kk-btn-main-h);border-radius:var(--kk-radius);font-size:var(--kk-flow-action);font-variant:normal;letter-spacing:.02em;padding:10px 18px;font-weight:700;line-height:1.3}#atlas-go{font-size:max(1.25rem, calc(1.15rem * var(--text,1)), var(--kk-flow-action));min-height:max(var(--kk-btn-main-h), 2.8em);width:min(100%,24rem);max-width:100%;padding:12px 18px}body.big #atlas-go{font-size:var(--kk-flow-action,min(calc(1.45rem * var(--text,1)), 7.8vw));min-height:max(56px,2.9em);padding:14px 18px;line-height:1.25}.playroom .chest-continue-words strong{font-size:inherit}button.kk-back,#report-top #report-back{min-height:var(--kk-btn-h);border-radius:var(--kk-radius);font-size:var(--kk-fs-m);padding:6px 14px}#report-task,#report-dock{gap:var(--kk-gap);padding-left:max(var(--kk-flow-pad), env(safe-area-inset-left));padding-right:max(var(--kk-flow-pad), env(safe-area-inset-right))}#dialog{gap:var(--kk-gap)}.playroom .chest-group{margin-top:16px}@media (width<=599px){.playroom:not(.leke-open){padding-left:var(--kk-flow-pad);padding-right:var(--kk-flow-pad)}}#dialog-next,#report-act button.primary,.playroom .chest-continue{background:var(--kk-main);color:var(--kk-main-text);border:1px solid var(--kk-main-edge);box-shadow:0 3px 0 var(--kk-main-edge)}.playroom .chest-head{gap:var(--kk-gap);padding-bottom:var(--kk-gap)}.playroom .chest-head h1{margin-bottom:0}#notebook-close{border-radius:var(--kk-radius);font-size:var(--kk-fs-m);font-variant:normal;min-height:var(--kk-btn-h);line-height:1.25}body:has(#dialog-layer:not([hidden])) #mission-question{visibility:hidden}#report-card.task-open #report-sources-heading{clip:rect(0 0 0 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}#report-card.task-open #report-source{margin-top:4px}#notebook-body .mission-card>.mission-next{margin:8px 0 4px;font-weight:700}#notebook-body .mission-card>button.plain{margin-top:4px}#notebook-body .mission-overview,#notebook-body .ready-cases,#notebook-body .case-archive{margin-top:10px}body:has(#objective.first) .toast.tip{visibility:hidden}#notebook-body .collection-group.first-card{margin-top:4px}#notebook-body .collection-group.first-card>h3{font-size:calc(1.05rem * var(--text,1));margin-bottom:8px}#notebook-body .collection-group.first-card .discovery-entry[open]{background:#fff9e8;border:2px solid #c08a12;border-radius:12px;padding:4px 8px 10px}#notebook-body .discovery-more{margin-top:8px}@media (width<=560px){#notebook-body .collection-group.first-card .discovery-entry[open]{margin:0 0 8px}#notebook-body .tab-more{margin-top:14px}}#notebook-body .collection-background{background:#fffaf0;border:1px solid #e3cf9f;border-radius:12px;margin-top:12px;padding:0 12px 8px}#notebook-body .collection-background>summary{cursor:pointer;color:#675335;align-items:center;min-height:44px;padding:8px 0;font-weight:600;display:flex}#notebook-body .collection-background .discovery-grid{margin-top:4px}body.big #notebook-body .tabs button{min-height:40px;padding:6px 4px;font-size:min(.95rem,3.8vw);line-height:1.2}body.big #notebook-panel h2{font-size:min(1.25rem,5.5vw)}body:has(#dialog-layer:not([hidden])) :is(#zoom-in,#zoom-out){visibility:hidden}@media (height<=500px) and (orientation:landscape){:is(#minigame-card>#minigame-quit,#minigame-card:has(.puzzle)>#minigame-quit){grid-area:auto}#minigame-card>h3{padding:0 84px 0 0}#minigame-card>#minigame-stage>svg{max-height:calc(100dvh - 120px)}#minigame-card>#minigame-stage.tablet>svg+svg{max-height:calc(100dvh - 190px)}.stars .star-field{height:min(300px,100dvh - 110px)}}#prologue.film #prologue-card{max-height:max(58dvh,100dvh - 160px)}@media (orientation:landscape) and (height<=500px){#prologue.film{padding:8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));grid-template:minmax(0,1fr)/minmax(0,1fr) minmax(300px,1.3fr);align-items:center;column-gap:12px}#prologue.film #prologue-image,#prologue.film #prologue-video{grid-area:1/1}:is(#prologue.film #prologue-card,#prologue.film:has(#prologue-stamps:not([hidden])) #prologue-card){grid-area:1/2;justify-self:stretch;width:auto;max-height:calc(100dvh - 16px)}#prologue.title #prologue-title{font-size:calc(1.375rem * var(--text,1));line-height:1.15}#prologue.film.intro #prologue-next{flex:2 auto}#prologue.film #prologue-row{padding:6px 0}}button.link.hold,#ending-gate .link.hold,#unlock-gate .link.hold{cursor:pointer;justify-content:center;min-height:54px}button.link.hold:before,button.link.hold:after,#ending-gate .link.hold:before,#ending-gate .link.hold:after,#unlock-gate .link.hold:before,#unlock-gate .link.hold:after,#notebook-body .case .link.hold:before,#notebook-body .case .link.hold:after,#notebook-body .films-page .link.hold:before,#notebook-body .films-page .link.hold:after{content:" ";content:" " / "";visibility:hidden;pointer-events:none;background:0 0;width:auto;height:auto;padding-top:1px;font-size:calc(max(.8125rem,.8em)/2);display:block;position:static;transform:none}#prologue.film #prologue-read{color:#fff7e8;box-shadow:none;background:0 0;border:1px solid #e8d1ae;flex:auto}#prologue.film #prologue-read:hover{background:#ffffff12}#prologue.film.reading #prologue-speaker:before{content:"🔊 " / ""}.settings-corner{top:max(10px, env(safe-area-inset-top));right:max(10px, env(safe-area-inset-right));z-index:40;position:fixed}.settings-corner>summary,#atlas .settings-corner>summary{color:#4a3410;cursor:pointer;background:#fff9e9;border:2px solid #96744e;border-radius:12px;place-items:center;width:48px;height:48px;font-size:1.5rem;list-style:none;display:grid;box-shadow:0 2px #6b4a22}.settings-corner>summary::-webkit-details-marker{display:none}.settings-corner-panel{color:#3b2a14;text-align:left;background:#fff9e9;border:2px solid #96744e;border-radius:14px;gap:8px;width:min(80vw,300px);padding:14px;font:1rem Georgia,serif;display:grid;position:absolute;top:56px;right:0;box-shadow:0 8px 22px #0004}.settings-corner-panel h2{margin:0;font-size:1.2rem}.settings-corner-panel h3{margin:6px 0 0;font-size:1rem}.settings-corner-panel button{min-height:44px}.settings-corner-langs{flex-wrap:wrap;gap:8px;display:flex}.settings-corner-langs button[aria-pressed=true]{outline:3px solid #2f6b3a}.chest-wrap{position:relative}.chest-head .settings-corner{position:absolute;top:0;right:0}.settings-corner-extra{flex-direction:column;gap:8px;margin:0;display:flex}.settings-corner-extra button{width:100%}.settings-corner-panel #atlas-level,.settings-corner-panel #atlas-film{color:#3b2a14;background:#f6ecd2;border:1px solid #96744e;margin-top:0}.settings-corner-panel #atlas-modes{margin:0}body.big .settings-corner>summary,body.big #atlas .settings-corner>summary{box-sizing:border-box;width:48px;height:48px;padding:0;font-size:1.35rem;line-height:1;overflow:hidden}@media (height<=600px){.settings-corner-panel{max-height:calc(100dvh - 56px - max(10px, env(safe-area-inset-top)) - max(10px, env(safe-area-inset-bottom)));overscroll-behavior:contain;box-sizing:border-box;overflow-y:auto}.settings-corner-panel:before{display:none}}.atlas-playroom{color:#f3dfb0;background:0 0;border:1px solid #d1aa6499;border-radius:12px;margin:8px;padding:10px 20px;font:17px Georgia,serif}#atlas-rank.about{font-variant:normal;letter-spacing:0;max-width:46ch;font-size:calc(1rem * var(--text,1));margin:-4px auto 0;line-height:1.4}#atlas-rank.about:not(:empty):before{content:none}#atlas-catchup{color:#f1dfb4;min-height:44px;font-size:calc(1rem * var(--text,1));background:0 0;border:1px solid #8a6a36;border-radius:999px;justify-self:center;margin:-4px 0 0;padding:6px 16px}#atlas-catchup[hidden]{display:none}@media (width<=560px),(height<=500px){#atlas-catchup{order:-2}}#atlas-tomorrow{background:var(--parchment);max-width:44ch;color:var(--ink);font-style:italic;font-size:calc(1rem * var(--text,1));border:1px dashed #5a341499;border-radius:3px 9px 4px 8px;justify-self:center;margin:0;padding:10px 14px 10px 50px;position:relative;transform:rotate(-.6deg)}#atlas-tomorrow:before{content:"🔒";margin-top:-13px;font-size:1.375rem;font-style:normal;position:absolute;top:50%;left:12px}#atlas-tomorrow[hidden]{display:none}@media (width<=560px),(height<=500px){#atlas-tomorrow{order:-2}}#atlas-rank .family{font-variant:normal;letter-spacing:0;font-style:italic;font-size:calc(.9375rem * var(--text,1));color:#e6d3a6;margin-top:2px;display:block}#atlas-grownups{color:#d9c493;min-height:44px;font-size:calc(.875rem * var(--text,1));text-underline-offset:3px;background:0 0;border:none;justify-self:center;text-decoration:underline}#atlas-grownups[hidden]{display:none}.atlas-tab.card{background:#d9c493;overflow:hidden}.atlas-tab.card .mini{object-fit:cover;border-radius:3px;width:calc(100% - 6px);height:calc(100% - 6px);position:absolute;inset:3px}.atlas-tab.card>span{color:#f6e3c4;background:radial-gradient(circle at 35% 30%,#c8372b,#9b1f16 65%,#6a120c);border-radius:50%;place-items:center;width:max(26px,2.8cqw);height:max(26px,2.8cqw);font-size:max(.875rem,1.4cqw);line-height:1;display:grid;position:relative;box-shadow:0 1px 3px #28140599,inset 0 0 0 2px #ffdcbe4d}.atlas-tab.card small{background:#f8ecd0eb;border-radius:3px;padding:1px 4px;position:relative}.atlas-tab.card:after{z-index:1;background:#f8ecd0d9;border-radius:3px;padding:0 2px}.atlas-tab.card .detective-seal,.atlas-tab.card.started:before{z-index:1}.atlas-tab .chest-door-stars{color:#5a3d12;background:#fff3cf;border-radius:8px;padding:2px 4px;font-size:.62rem;font-style:normal;line-height:1;position:absolute;bottom:2px;right:2px;box-shadow:0 1px 2px #0004}.thread-knot{fill:#c6372e;stroke:#fff6df;stroke-width:2px}.atlas-start-here{z-index:3;white-space:nowrap;color:#3a2410;pointer-events:none;background:#e0b45a;border-radius:10px;padding:3px 8px;font:700 .8rem system-ui,sans-serif;animation:1.4s ease-in-out infinite start-here;position:absolute;bottom:calc(100% - 4px);left:50%;transform:translate(-50%);box-shadow:0 2px 4px #0006}@keyframes start-here{50%{transform:translate(-50%)translateY(-3px)}}@media (prefers-reduced-motion:reduce){.atlas-start-here{animation:none}}.atlas-tease{opacity:.6;filter:saturate(.7);pointer-events:none;font-size:.7rem;font-style:normal;line-height:1;position:absolute;top:2px;left:3px}.atlas-tab.locked .atlas-tease{opacity:.75;filter:sepia(.6)saturate(.8)}.atlas-tab.tease-next:after{content:"✦";color:#ffe08a;text-shadow:0 0 6px #ffd24a;pointer-events:none;font-size:.9rem;animation:3.2s ease-in-out infinite tease-glint;position:absolute;top:-6px;right:-4px}@keyframes tease-glint{0%,70%,to{opacity:0;transform:scale(.6)rotate(0)}80%{opacity:1;transform:scale(1.1)rotate(25deg)}90%{opacity:.4}}@media (prefers-reduced-motion:reduce){.atlas-tab.tease-next:after{opacity:.8;animation:none}}.atlas-playroom{background:#ffffff0d;place-self:center;width:auto;max-width:max-content;margin-inline:auto;padding:8px 18px;font-size:16px;display:block}.atlas-playroom:before{content:"🎲 "}#atlas-catchup{order:initial;box-shadow:none;font-size:calc(.9rem * var(--text,1));background:0 0;border:0;margin:4px auto 0;text-decoration:underline}.partfit{flex-direction:column;align-items:stretch;gap:.4rem;display:flex}.fit-model-label{text-align:center;margin:0;font-size:.85rem}.fit-board{text-align:center;background:#eee0be;border-radius:12px;height:min(31vh,270px)}.fit-picture{max-width:100%;height:100%}.fit-board{position:relative;overflow:hidden}.finding-basis .fit-evidence,#report-source.pinned .fit-evidence{overflow:hidden}.fit-board>.fit-picture,.finding-basis .fit-evidence>.fit-picture,#report-source.pinned .fit-evidence>.fit-picture{width:100%;max-width:none;display:block}.fit-board[data-fit=match]:after{content:"";border-radius:inherit;pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 3px #d39a0a}.fit-fixed,.fit-spoke{fill:#a26b37;stroke:#3d220c;stroke-width:2.5px;stroke-linejoin:round}.fit-light{fill:#c48a4c}.fit-shade{fill:#6e4320;opacity:.55}.fit-grain{fill:none;stroke:#5b3515;stroke-width:1.6px;stroke-linecap:round;opacity:.45}.fit-felloe{fill:none;stroke:#8c5527;stroke-width:42px}.fit-felloe-edge{fill:none;stroke:#3d220c;stroke-width:2.5px}.fit-felloe-grain{fill:none;stroke:#5b3515;stroke-width:1.6px;stroke-dasharray:26 14 60 10;opacity:.5}.fit-tyre{fill:none;stroke:#45403b;stroke-width:11px}.fit-iron{fill:none;stroke:#4c4641;stroke-width:10px}.fit-nail{fill:#26211d;stroke:#9a928a;stroke-width:1px}.fit-hub{fill:#8a5428;stroke:#3d220c;stroke-width:2.5px}.fit-nave{fill:#6b3f1c;stroke:#3d220c;stroke-width:2px}.fit-axle{fill:#22160b}.fit-board .fit-edge,.fit-board .fit-opening,.fit-evidence .fit-edge{vector-effect:non-scaling-stroke}.fit-board .fit-edge{stroke-width:2.5px}.fit-opening{fill:#fff9e7;stroke:#795130;stroke-width:1px;stroke-dasharray:3 4}.fit-piece{fill:#d59b58;fill-opacity:.8;stroke:#533719;stroke-width:2px}.fit-edge{fill:none;stroke:#3b2916;stroke-width:2px}.fit-board[data-hint=true] .fit-edge{stroke:#b36b00;stroke-width:4px}.fit-choices{justify-content:center;gap:.8rem;display:flex}.fit-choice{flex-direction:column;flex:1;align-items:center;min-width:44px;max-width:130px;display:flex}.fit-choice .fit-picture{height:min(16vh,125px)}.fit-choice[aria-pressed=true]{outline-offset:2px;outline:3px solid #725124}.fit-note{text-align:center;min-height:2.5em;margin:.2rem 0}.fit-controls{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.fit-controls button:disabled{opacity:.5}@media (prefers-reduced-motion:no-preference){.fit-board[data-fit=match] .fit-part{animation:.48s cubic-bezier(.2,.7,.2,1) fit-seat}.fit-board[data-fit=match] .fit-edge{animation:.75s ease-out fit-join}}@keyframes fit-seat{0%{transform:translate(-60px,-18px)}75%{transform:translateY(-2px)}to{transform:none}}@keyframes fit-join{30%,65%{stroke:#a56b13;stroke-width:4px}}@media (width<=600px){.fit-board{height:min(22dvh,190px)}.fit-choice .fit-picture{height:min(11dvh,90px)}}@media (height<=500px) and (orientation:landscape){.fit-board{height:min(26dvh,190px)}.fit-choice .fit-picture{height:min(13dvh,90px)}.fit-board>.fit-picture{width:auto;max-width:100%;margin:0 auto}.fit-note{min-height:1.25em}}#minigame-card:has(.partfit) #minigame-result:empty{display:none}.fit-evidence{text-align:center;height:145px}#report-source.pinned>summary,#report-source.pinned #report-source-list{display:none}#report-source.pinned #report-source-card{gap:.5rem;max-height:none;padding:.4rem;display:grid;overflow:visible}#report-source.pinned .witness{margin:0;padding:.7rem}#report-source.pinned .witness h4,#report-source.pinned .witness .word{display:none}#report-source.pinned .witness .line{margin:.4rem 0 0}.source-title{font-size:.75rem;display:block}@media (width>=900px){#report-card:has(.pinned){grid-template:auto auto 1fr auto/1fr 1fr}#report-source.pinned{grid-area:2/1/5;max-height:72vh;overflow:auto}#report-card:has(.pinned) #report-sheet{grid-area:2/2}#report-card:has(.pinned) #report-luke{grid-area:3/2}#report-card:has(.pinned) #report-foot{grid-area:4/2}}@media (width<=899px){#report-card:has(.pinned){overflow-y:auto}#report-source.pinned .fit-evidence{float:left;width:90px;height:70px}#report-source.pinned .witness .who{font-size:.85rem}#report-source.pinned .witness .line{font-size:.9rem;line-height:1.25}}.fit-choice[data-hinted]{outline:3px solid var(--kk-gold,#e0b45a);box-shadow:0 0 14px var(--kk-gold,#e0b45a);animation:1.2s ease-in-out 3 fit-glow}@keyframes fit-glow{50%{box-shadow:0 0 2px var(--kk-gold,#e0b45a)}}@media (prefers-reduced-motion:reduce){.fit-choice[data-hinted]{animation:none}}.fit-why{text-align:center;font-size:calc(.9rem * var(--text,1));color:#6b4a22;flex-basis:100%;margin:4px 0 0}.fit-why:empty{display:none}.sequence-board{gap:10px;display:grid}.sequence-help{margin:0;font-weight:700}.sequence-slots{gap:8px;margin:0;padding:0;list-style:none;display:grid}.sequence-slot{align-items:center;gap:8px;min-height:44px;display:flex}.sequence-number{color:#fff6dd;background:#70461f;border-radius:50%;flex:0 0 30px;place-items:center;height:30px;font-weight:700;display:grid}.sequence-empty{color:#695234;border:1px dashed #977954;border-radius:7px;flex:1;padding:10px}.sequence-pool{gap:8px;display:grid}.sequence-card{color:#392915;min-width:0;font:inherit;text-align:left;cursor:pointer;background:#fff8e7;border:2px solid #b28e53;border-radius:7px;flex:1;padding:10px 12px;box-shadow:0 2px 2px #48331a22}.sequence-card.placed{background:#efe2bd}.sequence-card.review{background:#fff3df;border:2px dashed #8c3a20}.sequence-review{color:#733019;margin-top:4px;font-size:.8em;display:block}.sequence-card small{color:#695234;margin-top:3px;font-size:.75em;display:block}.sequence-card:focus-visible{outline-offset:2px;outline:3px solid #315e8c}#report-sheet:has(.sequence-board){background:0 0;border:0;padding:8px}#report-sheet:has(.sequence-board)>small{display:none}.sequence-card:has(.source-symbol){grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;display:grid}.sequence-card .source-symbol{background:#f0dfba;border-radius:7px;width:40px;height:40px;margin:0}.sequence-up{color:#392915;cursor:pointer;background:#fff8e7;border:1px solid #977954;border-radius:7px;flex:0 0 44px;min-height:44px;padding:4px;font:700 24px/1 sans-serif}.sequence-up:focus-visible{outline-offset:2px;outline:3px solid #315e8c}.source-flow{gap:10px;margin:8px 0 0;padding:0;list-style:none;display:flex}.source-symbol svg{box-sizing:border-box;stroke:#72502d;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%;padding:3px}.source-flow li{flex:1;min-width:0}.flow-paper{font-size:calc(1rem * var(--text));background:#fffdf5;border:1px solid #b9a17b;border-radius:4px 4px 12px;padding:8px 10px;line-height:1.4;box-shadow:2px 2px #d8c7a8}.flow-paper strong{color:#663b1e}.flow-paper p{margin:3px 0 0}.flow-paper small{font-size:calc(.875rem * var(--text));margin-top:5px;display:block}.flow-arrow{font-size:calc(.875rem * var(--text));color:#5d492e;margin:0 0 5px;line-height:1.35}.witness .source-full{margin-top:12px}.witness .source-full summary{cursor:pointer;min-height:44px;padding:10px 0}.source-route{background:#f5e5c3;border:1px dashed #9b713a;border-radius:8px;margin:12px 0 0;padding:10px}.source-route figcaption{font-weight:700;font-size:calc(.9375rem * var(--text));text-align:center}.source-route ol{grid-template-columns:1fr 1.5fr 1fr;gap:16px;margin:10px 0 0;padding:0;list-style:none;display:grid}.source-route li{text-align:center;min-width:0;font-size:calc(.875rem * var(--text));overflow-wrap:anywhere;flex:1;justify-items:center;gap:4px;display:grid;position:relative}.source-route li+li:before{content:"→";color:#68451e;position:absolute;top:5px;left:-15px}.route-number{color:#683c24;background:#fffaf0;border:1px solid #96704c;border-radius:50%;place-items:center;width:30px;height:30px;display:grid;box-shadow:0 2px #b18a5e}.source-route strong{font-size:inherit}.source-shares{background:#f4e6c8;border:1px solid #b8a07a;border-radius:9px;margin:10px 0;padding:10px}.source-shares figcaption{font-size:calc(.9375rem * var(--text));text-align:center;margin-bottom:8px;font-weight:700}.share-groups{flex-wrap:wrap;gap:10px;display:flex}.share-group{text-align:center;background:#fffaf0;border:1px solid #a99068;border-radius:6px;flex:1;min-width:100px;padding:7px}.share-group+.share-group{background:#f5f4e4;flex:3}.share-group strong{font-size:calc(.875rem * var(--text));overflow-wrap:anywhere;line-height:1.3;display:block}.share-items{flex-wrap:wrap;justify-content:center;align-items:center;gap:3px;margin-top:6px;display:flex}.share-bag{flex:0 0 29px;width:29px;height:36px}.share-cloth{fill:#d8b465;stroke:#745329;stroke-width:1.5px}.share-stitch{fill:none;stroke:#79582c;stroke-width:1.5px;stroke-linecap:round}.pair-board{gap:8px;display:grid}.pair-row{color:#352514;width:100%;min-height:52px;font:inherit;text-align:left;cursor:pointer;background:#f8eacb;border:2px solid #ad9166;border-radius:8px;grid-template-columns:minmax(0,1fr) auto minmax(0,1.5fr);align-items:center;gap:8px;padding:10px;display:grid}.pair-row[aria-pressed=true]{outline-offset:1px;background:#ffe2a0;outline:2px solid #916019}.pair-row.bad{border-style:dashed;border-color:#a3321f}.pair-row:focus-visible{outline-offset:2px;outline:3px solid #315e8c}.pair-arrow{color:#80603a}.pair-options{border-bottom:2px solid #ad9166;padding:4px 10px 12px}@media (width>=900px){#report-card:has(.pair-board){width:min(1040px,100% - 40px)}#report-task:has(.pair-board){grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:start;display:grid}#report-task:has(.pair-board)>*{min-width:0}#report-task:has(.pair-board) #report-source{grid-area:1/1/4}:is(#report-task:has(.pair-board) #report-sheet,#report-task:has(.pair-board) #report-foot){grid-column:2}}.pair-step{color:#675335;margin-top:5px;font-size:.85em;font-weight:400;display:block}.pair-row>.pair-step{grid-column:1/-1;margin-top:0}.phrase-help{margin:8px 0;font-size:.9em;font-weight:700}#report-source .phrase-line{line-height:2.8}.phrase-option{color:#392915;min-height:44px;font:inherit;cursor:pointer;background:#fff8e7;border:2px dashed #977954;border-radius:8px;padding:2px 8px;line-height:1.5;display:inline-block}.phrase-option.on{text-underline-offset:4px;background:#f2d394;border:2px solid #804620;font-weight:700;text-decoration:underline;text-decoration-thickness:2px}.phrase-option:focus-visible{outline-offset:3px;outline:3px solid #315e8c}.container-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.container-item{color:#352514;min-width:0;font:inherit;text-align:center;background:#f8eacb;border:2px solid #ad9166;border-radius:8px;flex-direction:column;align-items:center;gap:5px;padding:8px 3px;display:flex}button.container-item{cursor:pointer}.container-item[aria-pressed=true]{outline-offset:1px;background:#ffe2a0;outline:3px solid #916019}.container-item.bad{border-color:#a3321f}.container-item:focus-visible{outline-offset:2px;outline:3px solid #315e8c}.container-jar{background:linear-gradient(100deg,#ad633e,#e3aa70 40%,#a35c39);border:2px solid #70432a;border-radius:23% 23% 42% 42%;place-items:center;width:min(74px,95%);height:70px;margin-top:6px;display:grid;box-shadow:inset 0 5px #72452e,0 3px 3px #67411e44}.container-old{background:#f4dfb4;border:1px solid #80603a;padding:3px;font-size:.85em}.container-content{overflow-wrap:anywhere}#report-sheet:has(.container-board){background:0 0;border:0;padding:8px}#report-sheet:has(.container-board)>small{display:none}@media (prefers-reduced-motion:no-preference){.container-content{animation:.18s ease-out label-in}}@keyframes label-in{0%{opacity:.5;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.card-mark{margin-inline-start:.3em;font-style:normal;font-weight:400}button.card-mark{min-width:28px;min-height:28px;box-shadow:none;color:inherit;font:inherit;cursor:help;background:0 0;border:1px solid #0000;border-radius:6px;place-items:center;padding:0;line-height:1;display:inline-grid}button.card-mark:hover,button.card-mark:focus-visible,button.card-mark[aria-expanded=true]{border-color:currentColor}.mark-note{margin-inline-start:.3em;font-size:.85em;font-weight:400}.marks-intro{border-left:3px solid;margin:0 0 10px;padding:8px 10px;line-height:1.45}.marks-intro .say{min-width:44px;min-height:44px;margin-inline-start:6px}.marks-intro .marks-short{font-size:calc(1rem * var(--text,1));margin:0}.marks-more summary{cursor:pointer;min-height:44px;font-size:calc(1rem * var(--text,1));align-content:center;display:list-item}.marks-more p{font-size:calc(1rem * var(--text,1));margin:6px 0 0}.marks-legend{margin:0 0 10px;font-size:.9em}@media (width<=899px) and (height<=760px){#report-top{padding-top:calc(2px + env(safe-area-inset-top));padding-bottom:2px}#report-q{font-size:calc(1.0625rem * var(--text,1));line-height:1.25}#report-task{gap:8px;padding-top:8px;padding-bottom:8px}#report-source h3{margin-bottom:4px}#report-source .source-brief{padding:6px 8px}#report-sheet{padding:8px 10px}#report-sheet .sent{padding:2px;line-height:1.6}#report-foot{padding:8px 10px}:is(#report-foot,.pair-options) .tray-head{margin-bottom:6px}:is(#report-foot,.pair-options) .chips{gap:6px}:is(#report-foot,.pair-options) .chip{min-height:44px;padding:4px 8px}#report-dock{padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom));gap:6px}#report-luke{grid-template-columns:32px minmax(0,1fr) auto;align-items:center;padding:6px 8px}#report-luke img{width:32px;height:32px}#report-hint{grid-column:3}.sequence-board,.sequence-slots,.sequence-pool{gap:6px}.sequence-card{padding:6px 10px}.sequence-card .source-symbol{width:32px;height:32px}.sequence-card:has(.source-symbol){grid-template-columns:32px minmax(0,1fr)}.sequence-empty{padding:8px 10px}}@media (width<=420px){body.big #report-luke{grid-template-columns:32px minmax(0,1fr)}body.big #report-hint{grid-column:2}}@media (width<=899px) and (height>=560px) and (height<=760px){body:not(.big) #report-foot:has(.chips){z-index:1;position:sticky;bottom:-8px;box-shadow:0 -6px 10px -4px #3c230a4d}body:not(.big) #report-card:has(#report-foot .chips) #report-dock:before{display:none}}#report-dock{position:relative}#report-card:has(#report-task.more) #report-dock:before{content:"↓";color:#6f5a40;pointer-events:none;background:#fffaf0;border:1px solid #b9a173;border-radius:50%;place-items:center;width:28px;height:28px;font-size:1.125rem;line-height:1;display:grid;position:absolute;top:-14px;right:14px;box-shadow:0 2px 4px #3c230a33}#report-history{font-size:calc(1rem * var(--text,1));background:#fff9e9;border:1px solid #cdb990;border-radius:8px;padding:0 10px}#report-history summary{cursor:pointer;min-height:44px;padding:10px 0}#report-history .sent{padding:8px 0;line-height:1.6}#report-history .tag{margin-left:8px}#report-history>button{min-width:44px;min-height:44px;margin-bottom:8px}.journey-map{aspect-ratio:3/2;background-position:50%;background-size:cover;border:1px solid #5a341499;border-radius:4px;margin:8px 0 14px;position:relative;overflow:hidden;box-shadow:inset 0 0 24px #28140473;container-type:inline-size}.journey-over{width:100%;height:100%;position:absolute;inset:0}.journey-road{fill:none;stroke:#8f2a1b;stroke-width:7px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:.02 .015;opacity:.85;animation:journey-road .8s calc(.3s + var(--n) * .55s) ease-in both}.journey-places{margin:0;padding:0;list-style:none}.journey-pin{background:#3c281459;border-radius:50%;width:2.2cqw;height:2.2cqw;position:absolute;transform:translate(-50%,-50%)}.journey-pin.lit{width:3.4cqw;height:3.4cqw;animation:journey-light .6s calc(.3s + var(--i) * .55s) ease-out both;background:#8f2a1b;border:.5cqw solid #fff3c4;box-shadow:0 0 2cqw .6cqw #ffd678d9}.journey-name{color:var(--ink);white-space:nowrap;background:#fff6e0e0;border-radius:3px;padding:0 .8cqw;font-size:max(11px,3.4cqw);line-height:1.3;position:absolute;top:120%;left:50%;transform:translate(-50%)}.journey-pin[data-side=above] .journey-name{top:auto;bottom:120%}.journey-pin[data-side=right] .journey-name{top:50%;left:125%;transform:translateY(-50%)}@keyframes journey-light{0%{opacity:0;transform:translate(-50%,-50%)scale(2.2)}}@keyframes journey-road{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.journey-road,.journey-pin.lit{animation:none}}#claim{z-index:36;background:#140c04b8;justify-content:center;align-items:center;padding:16px;animation:.4s fade;display:flex;position:fixed;inset:0}#claim[hidden]{display:none}#claim-card{box-sizing:border-box;background:var(--parchment);width:min(560px,100%);max-height:100%;color:var(--ink);border:1px solid #5a3414b3;border-radius:4px 10px 5px 9px;padding:20px;animation:.5s cubic-bezier(.2,.9,.3,1) unroll;overflow-y:auto;box-shadow:0 12px 34px #000000a6}.claim-head{align-items:center;gap:8px;display:flex}.claim-head h2{font-size:calc(21px * var(--text,1));font-variant:small-caps;letter-spacing:.08em;flex:1;margin:0}.claim-say{border-radius:50%;flex:none;width:44px;padding:0}.claim-lead{margin:10px 0 4px;line-height:1.45}.claim-text{border-left:3px solid var(--rubric);font-size:calc(18px * var(--text,1));background:#fffaf099;margin:0 0 10px;padding:8px 12px;font-style:italic;line-height:1.45}.claim-traces{flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:0;list-style:none;display:flex}.claim-traces li{font-size:calc(15px * var(--text,1));background:#fffaf0b3;border:1px solid #5a341473;border-radius:14px;padding:4px 10px}.claim-ask{margin:0 0 8px;font-weight:700}.claim-choices{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.claim-choice{background:#fff8e9;border:2px solid;flex-direction:column;justify-content:center;gap:2px;min-height:60px;display:flex}.claim-choice strong{font-variant:small-caps;letter-spacing:.05em}.claim-choice small{color:var(--ink);font-size:calc(13px * var(--text,1))}.claim-verdict{margin:4px 0 0}.claim-verdict .stamp{float:right;font-size:calc(17px * var(--text,1));margin:0 0 8px 10px}.claim-said{margin:0 0 6px;font-weight:700;line-height:1.4}.claim-reason{font-size:calc(17px * var(--text,1));margin:0 0 8px;line-height:1.5}.claim-sources{clear:both}.claim-sources summary,.claim-adults summary{box-sizing:border-box;color:#653d13;cursor:pointer;min-height:44px;padding:10px 2px;font-weight:700}.claim-sources p,.claim-adults p{font-size:calc(14px * var(--text,1));-webkit-user-select:text;user-select:text;margin:0 0 8px;line-height:1.45}.claim-on{background:var(--wood);color:#f8ebcb;font-variant:small-caps;letter-spacing:.06em;border:1px solid #3d220c;width:100%;margin-top:10px}.claim-group h3{margin:12px 0 4px}.claim-row{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.claim-row .claim-wax{width:34px;height:34px}.claim-tally{font-size:calc(17px * var(--text,1));margin:0 0 4px;font-weight:700}.claim-help{margin:0 0 10px}.claim-seals{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:8px;margin:0 0 12px;padding:0;list-style:none;display:grid}.claim-seal{background:#fffaf08c;border:1px solid #5a341473;border-left:5px solid #5a34144d;border-radius:4px 8px}.claim-seal[data-grade=troverdig]{border-left-color:var(--sure)}.claim-seal[data-grade=trolig]{border-left-color:var(--good)}.claim-seal[data-grade=omstridt]{border-left-color:var(--open)}.claim-seal.empty{color:#3a2a18b3;align-items:center;gap:10px;min-height:52px;padding:4px 10px;display:flex}.claim-seal>details>summary{cursor:pointer;align-items:center;gap:10px;min-height:52px;padding:4px 10px;list-style:none;display:flex}.claim-seal>details>summary::-webkit-details-marker{display:none}.claim-seal details>:not(summary){margin-inline:10px}.claim-wax{color:#f4ce8f;background:radial-gradient(circle at 35% 30%,#c84e38,#8f2a1b 55%,#5c1a10);border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-weight:700;display:grid}.claim-seal.empty .claim-wax{color:#3a2a18b3;background:0 0;border:2px dashed #5a341473}.claim-label{color:var(--ink);flex:1}.claim-seal .st{font-size:calc(13px * var(--text,1));align-self:center}@media (width<=420px){#claim-card{padding:14px}.claim-choices{grid-template-columns:1fr}.claim-choice{min-height:52px}}@media (height<=500px){#claim{padding:8px}#claim-card{padding:12px 16px}}.discovery-overlay{z-index:60;background:#140c04bf;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.discovery-card{background:var(--parchment);width:min(560px,100%);max-height:min(720px,100%);color:var(--ink);-webkit-user-select:text;user-select:text;border-radius:8px;padding:18px;overflow:auto}.discovery-card h2{font-size:calc(1.5rem * var(--text,1));margin:0 0 4px}.discovery-label{color:var(--rubric);margin:0;font-weight:700}.discovery-card .case{background:#fff8e1bf;border:1px solid #5a34148c;border-radius:6px;margin:14px 0;padding:10px 12px;line-height:1.5}.discovery-card .case h3{display:none}.discovery-reward{background:#ffdc8173;border-radius:6px;margin:8px 0;padding:8px 10px;font-weight:700}.discovery-card{padding-bottom:0}.discovery-actions{background:var(--parchment);border-top:1px solid #5a341459;flex-wrap:wrap;gap:8px;margin:8px -18px 0;padding:10px 18px 18px;display:flex;position:sticky;bottom:0}.discovery-actions button{flex:140px;min-height:44px}.discovery-shortcut{border:1px solid var(--rubric);width:calc(100% - 16px);color:var(--ink);text-align:left;background:#fff8e1bf;border-radius:6px;margin:10px 8px;padding:10px;display:block}#notebook-body .case[data-fact-id]:focus{outline:3px solid var(--rubric);outline-offset:2px}.discovery-more{border-top:1px solid #5a341459;margin-top:18px;padding:10px 2px}.discovery-more summary{cursor:pointer;min-height:44px;padding:10px 4px;font-weight:700}.discovery-more summary:focus-visible{outline:3px solid var(--rubric);outline-offset:2px}.discovery-illustration{margin:8px 0 12px}.discovery-illustration img{object-fit:contain;background:#e6d4a7;border-radius:6px;width:100%;height:180px;display:block}.discovery-illustration figcaption{font-size:calc(.8125rem * var(--text,1));color:#5e4c37;margin-top:4px}.discovery-background{border-top:1px solid #5a341459;margin-top:10px}.discovery-background summary{cursor:pointer;min-height:44px;padding:12px 2px;font-weight:700}.discovery-background summary:focus-visible{outline:3px solid var(--rubric);outline-offset:2px}.discovery-invite{background:#fff1c8;border:2px solid #946d27;border-radius:10px;align-items:center;gap:12px;margin:12px 0;padding:12px;display:flex}.discovery-invite img{object-fit:contain;width:72px;height:86px}.discovery-invite>div{flex:1;min-width:0}.discovery-invite h4,.discovery-invite p{margin:0 0 8px}.discovery-invite button{max-width:100%;min-height:44px}.case[data-fact-id] p{white-space:pre-line}.discovery-scenes{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:12px 0;padding:0;list-style:none;display:grid}.discovery-scenes li{background:#fff8e8;border:1px solid #b28b4f;border-radius:8px;padding:10px}.discovery-scene-art{aspect-ratio:3/2;background-size:400%;border:2px solid #805b32;border-radius:6px;width:min(100%,180px);margin-bottom:12px}.discovery-scenes h4,.discovery-scenes p{margin:0 0 6px}.discovery-scenes h4{color:var(--rubric)}.discovery-help{margin:6px 0 14px}.extra-activities{margin:18px 0}.extra-activities>h4,.extra-activities>p{margin:0 0 8px}.activity-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;display:grid}.activity-card{background:#fff3d3;border:2px solid #ad8040;border-radius:10px;padding:14px}.activity-card img{float:left;object-fit:cover;border-radius:50%;width:58px;height:58px;margin:0 12px 8px 0}.activity-card h5{font-size:calc(1.125rem * var(--text,1));margin:0 0 8px}.activity-card p{margin:0 0 10px}.activity-card button{clear:both;width:100%;min-height:44px;display:block}.activity-card.complete{background:#eef2df;border-color:#567451}.discovery-grid{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));align-items:start;gap:10px;display:grid}.discovery-entry{background:#fff4d9;border:1px solid #aa854b;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #49300d22}.discovery-entry>summary{cursor:pointer;align-items:center;gap:12px;min-height:80px;padding:12px;list-style:none;display:flex}.discovery-entry>summary::-webkit-details-marker{display:none}.discovery-entry>summary:after{content:"+";color:var(--rubric);margin-left:auto;font-size:1.5rem}.discovery-entry[open]{grid-column:1/-1}.discovery-entry[open]>summary:after{content:"−"}.discovery-entry>summary:focus-visible{outline:3px solid var(--rubric);outline-offset:-3px}.discovery-entry>summary img{object-fit:contain;flex:none;width:54px;height:64px}.discovery-symbol{color:#8a651f;font-size:1.75rem}.discovery-name{overflow-wrap:anywhere;font-weight:700}#notebook-body .discovery-entry>.case{box-shadow:none;border:0;border-top:1px solid #aa854b;margin:0}.discovery-entry>.case>h3{display:none}.films-page{margin:20px 0 0}#minigame-stage:is(.count,.bins,.order,.letters,.cipher){gap:12px;display:grid}:is(.count,.bins,.order,.letters,.cipher) .choice{background:var(--wood);color:#f3d58a;border:1px solid #5a3414;border-radius:6px;padding:10px 12px;font-family:inherit;font-size:1rem}:is(.count,.bins,.order,.letters,.cipher) .shake{animation:.45s shake}:is(.count,.bins,.order,.letters,.cipher) .card{min-height:90px;color:var(--ink);background:#fffbea;border-radius:3px;place-items:center;padding:14px;font-size:1.0625rem;display:grid;box-shadow:2px 4px 7px #28140566}:is(.count,.bins,.order,.letters,.cipher) .row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;display:grid}.bins .sort-accounts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.bins .sort-account{background:#fff8e8;border:1px solid #b49a6c;border-radius:10px;padding:10px}.bins .sort-account-person{text-align:left;align-items:center;gap:6px;display:flex}.bins .sort-account img{object-fit:cover;border-radius:50%;flex-shrink:0;width:36px;height:36px}.bins .sort-account b{font-size:calc(.9375rem * var(--text,1));display:block}.bins .sort-account p{font-size:calc(1rem * var(--text,1));white-space:pre-line;margin:8px 0;line-height:1.35}.bins .sort-account button{min-height:44px}.bins:has(.sort-accounts) .card{min-height:60px}.bins:has(.sort-accounts) .sort-feedback{margin:0}.bins:has(.sort-accounts) .sort-feedback:empty{display:none}#minigame-card:has(.sort-accounts) #minigame-result:empty{display:none}@media (width<=340px){.bins .sort-accounts{grid-template-columns:1fr}}.count .scene{background:linear-gradient(#e9d2a0 0 70%,#b98a54 70%);border-radius:6px;position:relative;overflow:hidden}.count .count-help{margin:0}.count .field{grid-template-columns:repeat(auto-fit,minmax(48px,1fr));gap:8px;padding:12px;display:grid}.count .fig{min-height:56px;color:var(--ink);-webkit-user-select:none;user-select:none;background:#fff8e5;border:2px solid #0000;border-radius:8px;padding:4px;font-size:2rem;line-height:1;position:relative}.count .fig[aria-pressed=true]{background:#e4efd4;border-color:#315b32}.count .fig[aria-pressed=true]:after{content:"✓";color:#254b27;font:700 1rem sans-serif;position:absolute;top:0;right:2px}.count .pad{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.count .pad .choice{min-height:40px;padding:6px}.order .pool{gap:8px;display:grid}.order .order-source{border-left:3px solid var(--wax);background:#fffaf0;border-radius:8px;padding:10px 14px}.order .order-source p{margin:0 0 8px;line-height:1.45}.order .order-source button{min-height:44px}.order .pool .choice:disabled{opacity:.55}.order .pool.supported .choice:disabled{opacity:1;color:var(--ink);box-shadow:inset 4px 0 var(--wax);background:#fffaf0;animation:.18s ease-out order-place}@keyframes order-place{0%{opacity:.65;transform:translateY(4px)}}.order .pool.many{grid-template-columns:1fr 1fr;gap:6px}.order .pool.many .choice{padding:6px 8px;font-size:.875rem;line-height:1.25}.letters .word{color:var(--rubric);justify-content:center;gap:6px;font-size:1.75rem;font-weight:700;display:flex}.letters .slot{border-bottom:2px solid var(--ink);min-width:32px}.letters .meaning{min-height:24px;font-style:italic}.letters .board{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.letters .board .choice{padding:6px;font-size:1.375rem}.letters .board .next-word{grid-column:1/-1;font-size:1.125rem}.letters .board .choice small{opacity:.7;font-size:.75rem;font-weight:400;display:block}.cipher svg{width:min(260px,70vw);margin:0 auto}.cipher text{text-anchor:middle;dominant-baseline:central;fill:var(--ink);font-size:11px;font-weight:700}.cipher text.lit{fill:var(--rubric)}.cipher .outer{fill:#e9d2a0;stroke:#5a3414}.cipher .inner{fill:#c99a5a;stroke:#5a3414}.cipher .turn{transition:transform .25s}.cipher .coded{letter-spacing:.3em;opacity:.7;font-size:1.25rem}.cipher .plain{letter-spacing:.3em;color:var(--rubric);font-size:1.75rem;font-weight:700}.cipher .row{grid-template-columns:1fr 2fr 1fr}.sort .sort-feedback{min-height:2.8em;color:var(--ink);background:#fff8e6;border-radius:6px;margin:0;padding:8px 12px;line-height:1.4}.sort .sort-feedback:empty{visibility:hidden}.sort .sort-next{justify-self:end;min-height:44px}.sort .row button:disabled{opacity:.6;cursor:default}#minigame-stage.scale{gap:10px;display:grid}.scale svg{width:100%;overflow:visible}.scale .post{fill:#5a3414}.scale .beam,.scale .pan{transition:transform .5s cubic-bezier(.3,1.4,.5,1)}.scale .beam{transform-origin:100px 30px}.scale .beam line{stroke:#3d220c;stroke-width:4px;stroke-linecap:round}.scale .beam circle{fill:var(--rubric)}.scale .pan line{stroke:#6b4a2b;stroke-width:1px}.scale .pan path{fill:#b08a4a;stroke:#5a3414}.scale .pan rect{fill:#d9b97a;stroke:#5a3414}.scale text{text-anchor:middle;fill:var(--ink);font-size:15px;font-weight:700}.scale .scale-banner{fill:var(--rubric);font-size:.8125rem}.scale .stones circle{fill:#8a8a80;stroke:#3a3a35}.scale .row,.tracks .row{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.scale .stone{color:#fff;background:linear-gradient(#a3a398,#6b6b62);border:1px solid #3a3a35;border-radius:40% 40% 45% 45%/50% 50% 40% 40%;min-width:54px;font-weight:700}.scale .stone.on{background:var(--wood);box-shadow:inset 0 0 0 2px #f3d58a}.scale .stone-check{visibility:hidden;width:1em;margin-left:.2em;display:inline-block}.scale .on .stone-check{visibility:visible}.scale .scale-next{justify-self:center}#minigame-stage.jars{gap:12px;display:grid}#minigame-card:has(.jars) #minigame-result:empty{display:none}.jars .well{background:linear-gradient(0deg,#b98a54 calc(1.3em + 13px),#e9d2a0 0);border-radius:6px;justify-content:center;align-items:flex-end;gap:40px;min-height:160px;padding:12px 16px 8px;display:flex}.jars .jar-wrap{justify-items:center;gap:5px;display:grid}.jars .jar-rule,.jars .jar-preview{margin:0}.jars .jar-preview:empty{display:none}.jars .jar-preview{background:#fff4d8;border-left:4px solid #80603a;padding:10px}.jars .jar-goal{color:#352514;text-align:right;background:#fff4d8c9;border-top:2px dashed #5a3414;padding:2px;font-weight:700;line-height:1;position:absolute;left:0;right:0}.jars .jar{background:#fffbea8c;border:3px solid #5a3414;border-top-width:6px;border-radius:10px 10px 16px 16px;width:72px;position:relative;overflow:hidden}.jars .fill{background:linear-gradient(#6fa6c9,#2f5f86);transition:height .35s;position:absolute;inset:auto 0 0}.jars .label{color:var(--ink);font-weight:700;line-height:1.3}.jars .row{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.jars .row button{background:var(--wood);color:#f3d58a;border-color:#3d220c;padding:8px 4px}.jars .row button:disabled{opacity:.45}#minigame-stage.tablet{background:#4a3b26;border:8px solid #5a3414;border-radius:6px;gap:8px;padding:10px;display:grid}#minigame-stage.tablet.shake{animation:.45s shake}.tablet .model{width:100%;height:54px}.tablet .model line{stroke:#fff3c459;stroke-width:1.6px;stroke-linecap:round}.tablet .model .done line{stroke:#f3d58a}.tablet .model .now line{stroke:#ffd84a}.tablet.demo .model .now line{animation:tablet-order .5s step-end var(--delay)!important}@keyframes tablet-order{0%,to{stroke:#fff;stroke-width:2.8px}}.tablet .wax{width:100%;height:190px}.tablet .stroke line{stroke:#fff3c459;stroke-width:1.2px;stroke-linecap:round;stroke-dasharray:.5 .7}.tablet .stroke .hit{stroke:#0000;stroke-width:3px;stroke-linecap:butt;stroke-dasharray:none;pointer-events:stroke;cursor:pointer}.tablet .stroke:focus{outline:none}.tablet .stroke:focus-visible .hit{stroke:#fff3c480}.tablet .stroke.cut line:not(.hit){stroke:#ffd84a;stroke-dasharray:none}.tablet .stroke[aria-current=step] line:not(.hit){stroke:#fff2a1;stroke-width:1.5px}.tablet .stroke-number{pointer-events:none;text-anchor:middle;dominant-baseline:central;fill:#fff;stroke:#4a3b26;stroke-width:.35px;paint-order:stroke;font:700 2.2px sans-serif;display:none}.tablet .stroke[aria-current=step] .stroke-number{display:block}#minigame-stage.tracks{gap:12px;display:grid}.tracks .trail{background:linear-gradient(#e9d2a0,#d9b97a);border-radius:6px;width:100%;height:110px}.tracks .print{fill:#7b5a34}.tracks .print>:not(.in,.strap){stroke:#e9d2a0;stroke-width:1.2px;paint-order:stroke}.tracks .print .in{fill:#d9b97a}.tracks .print .strap{fill:none;stroke:#d9b97a;stroke-width:1.4px}.tracks .kind{background:#fffbea;flex:1 0 40%;justify-content:center;align-items:center;gap:8px;padding:6px 10px;display:flex}.tracks .kind svg{width:32px;height:32px}.tracks .kind.shake{animation:.45s shake}.tracks .kind.ok{animation:.3s pop}#minigame-stage.lamps,#minigame-stage.herd{background:radial-gradient(at 50% 100%,#2a2a55,#0b0b20 70%);border-radius:6px;height:300px;overflow:hidden}.lamps .lamp{background:0 0;border:0;width:60px;height:60px;margin:-30px 0 0 -30px;padding:0;position:absolute}.lamps .lamp svg{width:100%;height:100%;overflow:visible}.lamps .body{fill:#b98a54;stroke:#5a3414}.lamps .flame{fill:#ffd84a;opacity:var(--f,0);transform:scale(calc(.3 + var(--f,0) * .7));transform-origin:20px 20px}.lamps .lamp.lit{filter:drop-shadow(0 0 10px #ffd84ae6)}.lamps .lamp.catching .flame{opacity:.6;animation:.3s infinite nudge;transform:scale(.35)}.herd .ring{background:radial-gradient(circle,#ffd84a59,#ffd84a1f 70%,#0000 71%);border-radius:50%;position:absolute;top:50%;left:50%;translate:-50% -50%;box-shadow:0 0 0 2px #ffd84a80}.herd .sheep{background:0 0;border:0;width:44px;height:44px;margin:-22px 0 0 -22px;padding:0;font-size:1.75rem;line-height:44px;position:absolute}.herd .sheep.back{animation:.3s pop}.herd .sheep.lost{opacity:.25;filter:grayscale();pointer-events:none}#minigame-stage.trace{aspect-ratio:3/2;background:#b98a54 50%/cover no-repeat;border-radius:6px;overflow:hidden}.trace svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.trace line{stroke:#b3141c;stroke-width:3px;stroke-linecap:round;vector-effect:non-scaling-stroke}.trace .point{background:#fff3c4;border:2px solid #3d220c;border-radius:50%;width:22px;height:22px;min-height:0;margin:-11px 0 0 -11px;padding:0;position:absolute;box-shadow:0 2px 6px #00000080}.trace line.leader{stroke:#1b1a17cc;stroke-width:1.5px}.trace .point span{color:#fff;font-size:calc(1rem * var(--text,1));white-space:nowrap;background:#1b1a17cc;border-radius:6px;padding:1px 6px;position:absolute;top:50%;left:50%;translate:-50% -50%}.trace .point.seen{background:#b3141c}.trace .point[aria-current=step]{outline-offset:3px;background:#ffdc72;outline:3px solid #fff3c4}.trace .point.seen:after{content:"✓";color:#fff;font-size:14px;line-height:18px}@media (prefers-reduced-motion:no-preference){.trace line.route{stroke-dasharray:1;animation:.4s ease-out trace-route}.trace .point[aria-current=step]{animation:.6s ease-out 2 trace-arrival}}@keyframes trace-route{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}@keyframes trace-arrival{0%{outline-offset:7px}to{outline-offset:3px}}.trace .point.shake{animation:.45s shake}#minigame-stage.seal{cursor:pointer;background:linear-gradient(#e9d2a0,#d9b97a);border-radius:6px;grid-template-columns:36px 1fr;gap:16px;height:300px;padding:12px;display:grid}.seal .meter{background:#fffbea;border:2px solid #5a3414;border-radius:6px;position:relative}.seal .band{background:#8fc37a;position:absolute;left:0;right:0}.seal .mark{background:var(--rubric);border-radius:3px;height:6px;margin-bottom:-3px;position:absolute;left:-6px;right:-6px}.seal .scroll{background:#fffbea;border:1px solid #5a341499;border-radius:4px;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));align-content:center;gap:8px;padding:14px 10px;display:grid}.seal .scroll.press{animation:.25s nudge}.seal .slot{aspect-ratio:1;border:1px dashed #5a341466;border-radius:50%}.seal .stamp{width:100%;height:100%;animation:.6s ease-out fade}.seal .stamp circle{fill:var(--rubric)}.seal .stamp .ring{fill:none;stroke:#f3d58a;stroke-width:1.2px}.seal .stamp text{text-anchor:middle;fill:#f3d58a;font-size:16px;font-weight:700}.seal .stamp.faint{opacity:.3}.seal .stamp .crack{fill:none;stroke:#2b0808;stroke-width:1.5px}.seal-motions #minigame-stage.seal .stamp{transform-origin:50% 55%;filter:drop-shadow(0 2px 1px #491c1644);animation:none}.seal-motions #minigame-stage.seal .scroll.press{animation:none}.seal-motions #minigame-stage.seal .stamp circle:first-of-type{stroke:#6d291f;stroke-width:.7px}.seal-motions #minigame-stage.seal .stamp .ring{stroke:#d98d60;stroke-width:1px}.seal-motions #minigame-stage.seal .stamp text{fill:#f1b58b;paint-order:stroke;stroke:#68281f;stroke-width:.3px}.seal-motions #minigame-stage.seal .stamp.faint{filter:none}.seal-motions #minigame-stage.seal .stamp .crack{stroke:#3c1511;stroke-width:1.7px}@media (prefers-reduced-motion:reduce){.seal-motions #minigame-stage.seal .stamp,.seal-motions #minigame-stage.seal .scroll.press{animation:none!important}}.sail-moment{width:96vw;max-width:min(1100px,96vw);font:calc(1rem * var(--text,1))/1.4 system-ui,sans-serif;background:#102331;border:0;border-radius:12px;padding:0;overflow:hidden;box-shadow:0 12px 60px #0009}.sail-moment[open]{flex-direction:column;max-height:calc(100svh - 24px);display:flex}.sail-moment::backdrop{background:#07111ae8}.sail-moment video{object-fit:contain;flex:auto;width:100%;min-height:0;display:block}.sail-moment button{color:#ffefcf;font:inherit;cursor:pointer;background:#18232de8;border:1px solid #eed8ac;border-radius:8px;flex-shrink:0;align-self:flex-end;margin:8px 12px;padding:12px 18px}.sail-moment button:focus-visible{outline-offset:2px;outline:3px solid #ffcb55}.sail-moment .moment-source{color:#fff4df;font:600 calc(clamp(.9375rem,2vw,1.25rem) * var(--text,1))/1.4 system-ui,sans-serif;text-align:center;text-wrap:balance;background:#14212bf2;flex-shrink:0;margin:0;padding:14px 20px}.sail-moment .moment-loading{color:#fff4df;text-align:center;padding:12px 20px}.sail-moment[data-panel=cart-account-moment]{background:#2a190d;box-shadow:0 0 0 2px #8a5a2b,0 12px 60px #0009}.sail-moment[data-panel=cart-account-moment] .moment-source{color:#3a2412;background:linear-gradient(#f3e4c2,#e8d3a6);border-bottom:2px solid #a27a45;font-family:Georgia,Times New Roman,serif;font-style:italic}.sail-moment[data-panel=cart-account-moment] button{background:#3b2414;border-color:#d8b67a}.cart-scene{--cs-chrome:calc(10.5rem * var(--text,1));forced-color-adjust:none;flex:auto;justify-content:center;align-items:center;min-height:0;padding:12px 12px 0;display:flex}@media (orientation:landscape) and (height<=500px){.cart-scene{--cs-chrome:calc(3.75rem * var(--text,1));padding-bottom:12px}.sail-moment[data-panel=cart-account-moment]>button{right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));margin:0;position:absolute}}.sail-moment[data-panel=cart-account-moment]{width:calc(100vw - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-height:calc(100svh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}.cs-paper{aspect-ratio:3/2;width:min(100%, calc((100vh - 24px - var(--cs-chrome)) * 1.5));width:min(100%, calc((100svh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - var(--cs-chrome)) * 1.5));background:#3a2715;border-radius:10px;position:relative;overflow:hidden;box-shadow:0 0 0 2px #7a5130}.cs-paper:after{content:"";pointer-events:none;border-radius:inherit;background:radial-gradient(72% 72%,#0000 55%,#28180a57 100%);position:absolute;inset:0;box-shadow:inset 0 0 0 1px #7a513066}.cs-picture{display:none}.cs-canvas{width:100%;height:100%;position:absolute;inset:0}.cart-scene:not(.run) .cs-canvas{visibility:hidden}@media (forced-colors:active){.sail-moment[data-panel=cart-account-moment]{box-shadow:none;border:2px solid canvastext}.cs-paper{outline-offset:-2px;outline:2px solid canvastext}}.sail-moment[data-panel=cart-account-moment]>button.moment-next{background:var(--wood,linear-gradient(#8a5a2b, #5a3414 45%, #7a4a1f 55%, #3d220c));color:#f8ebcb;border:2px solid #d8b67a;border-radius:10px;min-height:52px;padding:10px 18px;font-size:20px;font-weight:700}
