@font-face{font-family:Golos;src:url('./fonts/golos-text-cyrillic-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Golos;src:url('./fonts/golos-text-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Golos;src:url('./fonts/golos-text-cyrillic-500-normal.woff2') format('woff2');font-weight:500;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Golos;src:url('./fonts/golos-text-latin-500-normal.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Golos;src:url('./fonts/golos-text-cyrillic-600-normal.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Golos;src:url('./fonts/golos-text-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Golos;src:url('./fonts/golos-text-cyrillic-700-normal.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Golos;src:url('./fonts/golos-text-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Golos;src:url('./fonts/golos-text-cyrillic-800-normal.woff2') format('woff2');font-weight:800;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Golos;src:url('./fonts/golos-text-latin-800-normal.woff2') format('woff2');font-weight:800;font-display:swap}
:root{--ink:#192b37;--muted:#526875;--blue:#2455d6;--blue-dark:#1c43ae;--mint:#c4dfd2;--paper:#fbfcfa;--line:rgba(45,72,73,.12);--surface:rgba(253,255,251,.9);--shadow:0 14px 45px rgba(35,69,74,.09),0 2px 6px rgba(35,69,74,.03);--radius:24px;font-family:Golos,Arial,sans-serif;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:#e8f0ec}button,a,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.58}button,a{-webkit-tap-highlight-color:transparent}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #4b7fea;outline-offset:4px}a{color:var(--blue)}svg{display:block;width:24px;height:24px;flex-shrink:0}i{display:inline-flex;font-style:normal}p{line-height:1.6}h1,h2,h3,p{margin:0}button{touch-action:manipulation}.hidden{display:none!important}#game{position:relative;width:100%;height:100dvh;min-height:580px;overflow:hidden}#world{position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline:none}.world-vignette{position:absolute;inset:0;background:linear-gradient(90deg,rgba(237,244,238,.95),rgba(237,244,238,.4) 22%,transparent 43%),linear-gradient(0deg,rgba(228,239,234,.8),transparent 16%);pointer-events:none}.topbar{position:absolute;top:30px;left:34px;right:34px;display:flex;gap:20px;align-items:center;z-index:10}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);flex-shrink:0}.brand-symbol{display:grid;place-items:center;width:45px;height:45px;background:var(--blue);color:white;border-radius:14px;box-shadow:0 5px 12px #2455d62b}.brand-symbol svg{width:25px;height:25px;fill:currentColor}.brand b{display:block;font-size:18px;letter-spacing:1.6px;font-weight:800}.brand small{display:block;font-size:11px;letter-spacing:.1px;margin-top:3px;color:var(--muted)}.resource-bar{display:flex;align-items:center;margin:auto;gap:0;border:1px solid rgba(255,255,255,.75);padding:7px 10px;background:rgba(253,255,251,.85);backdrop-filter:blur(16px);border-radius:19px;box-shadow:0 6px 28px #36565108}.resource{position:relative;display:flex;align-items:center;gap:8px;padding:5px 17px;min-width:77px;border-right:1px solid var(--line)}.resource:last-child{border:0}.resource-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:var(--rbg)}.resource-icon svg{width:20px;height:20px;color:var(--rcolor)}.resource strong{font-weight:600;font-size:15px;font-variant-numeric:tabular-nums}.resource.bump strong{animation:bump .4s ease}.icon-button{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border:1px solid rgba(255,255,255,.85);background:rgba(255,255,255,.76);border-radius:15px;box-shadow:0 4px 15px #344e5606;transition:background .18s,transform .18s}.icon-button svg{width:21px;height:21px}.icon-button:hover{background:#fff;transform:translateY(-1px)}.chapter{position:absolute;top:134px;left:42px;width:278px;z-index:5}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--muted);display:flex;align-items:center;gap:7px}.live-dot{width:6px;height:6px;border-radius:100%;background:#347456;box-shadow:0 0 0 4px #34745612}.divider-dot{margin:0 1px;color:#647d76}h1{font-weight:800;font-size:52px;letter-spacing:-2.6px;line-height:1.1;margin-top:17px}.chapter-subtitle{font-size:21px;letter-spacing:-.65px;font-weight:500;margin-top:8px;line-height:1.3}.chapter-description{font-size:13px;line-height:1.75;color:var(--muted);margin-top:16px}.story-link{display:flex;align-items:center;gap:8px;padding:0;background:none;margin-top:20px;font-size:11px;font-weight:500;text-align:left}.story-link svg{width:14px}.avatar-mini{display:grid;place-items:center;width:29px;height:29px;border:2px solid white;border-radius:100%;color:#fff;background:#69816d;box-shadow:0 3px 9px #566b5420;font-size:12px}.quest-card{margin-top:32px;background:var(--surface);border:1px solid rgba(255,255,255,.95);border-radius:21px;padding:21px;box-shadow:var(--shadow)}.quest-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.quest-heading .eyebrow{font-size:9px}.quest-step{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.quest-card h2{font-size:19px;letter-spacing:-.5px;margin-top:12px;line-height:1.3}.quest-card p{font-size:12px;color:var(--muted);line-height:1.65;margin-top:9px}.quest-progress{height:4px;border-radius:100px;background:#e6ece9;margin-top:18px;overflow:hidden}.quest-progress>div{width:0%;height:100%;background:#8dbca4;transition:width .5s ease}.primary{display:inline-flex;justify-content:center;align-items:center;gap:11px;background:var(--blue);color:white;font-size:13px;font-weight:600;min-height:44px;padding:12px 19px;border:1px solid #fff1;border-radius:13px;box-shadow:0 5px 12px #2455d61c;transition:background .15s,transform .15s;white-space:nowrap}.primary:hover{background:var(--blue-dark);transform:translateY(-1px)}.primary svg{width:17px;height:17px}.quest-button{margin-top:18px;width:100%;justify-content:space-between}.memory-card{margin-top:16px;background:rgba(247,251,247,.6);border:1px solid #fff6;border-radius:18px;display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;text-align:left}.memory-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#e0e9e1;color:#3d6955}.memory-icon svg{width:20px;height:20px}.memory-card strong{font-size:14px;font-weight:600;display:block}.memory-card small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.memory-ring{margin-left:auto;font-size:10px;display:grid;place-items:center;width:36px;height:36px;border-radius:100%;background:radial-gradient(closest-side,#f5f9f4 80%,transparent 82%),conic-gradient(#6b9d80 var(--pct,0%),#dce7df 0)}.scene-tag{position:absolute;top:111px;left:53%;display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1.4px;color:#4b6d6c;pointer-events:none}.scene-tag>span:last-child{font-size:9px;letter-spacing:0;color:#5f7979}.scene-tag-line{width:18px;height:1px;background:#73908b}.tag-dot{height:4px;width:4px;border-radius:100%;background:#7c9b91}.scene-tools{position:absolute;right:30px;top:46%;display:grid;gap:10px;z-index:7}.scene-tools .icon-button{background:rgba(255,255,255,.7);backdrop-filter:blur(12px)}.dock{position:absolute;bottom:29px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:8px;border:1px solid #fff;background:rgba(253,255,253,.91);backdrop-filter:blur(18px);border-radius:22px;box-shadow:0 12px 40px #1c354a12;z-index:11}.dock-item{position:relative;display:flex;align-items:center;gap:9px;padding:13px 16px;border-radius:14px;background:transparent;font-size:12px;font-weight:500;white-space:nowrap}.dock-item svg{width:18px;height:18px}.dock-item em{font-size:9px;font-style:normal;background:#e7ece9;color:#4f6558;min-width:18px;height:18px;display:grid;place-items:center;border-radius:6px}.dock-item.active{background:#e9effc;color:var(--blue)}.dock-item:hover{background:#edf1ee}.dock-item.active .active-dot{min-width:5px;width:5px;height:5px;background:var(--blue);border-radius:50%}.save-status{position:absolute;bottom:48px;right:33px;font-size:10px;color:#4b6c60;display:flex;gap:7px;align-items:center;pointer-events:none}.save-status span{width:5px;height:5px;background:#699b7e;border-radius:50%}.world-hint{position:absolute;bottom:120px;left:60%;transform:translateX(-50%);font-size:11px;color:#49686b;display:flex;align-items:center;gap:7px;pointer-events:none;white-space:nowrap}.mouse-mark svg{width:17px;height:17px}.interaction{position:absolute;left:60%;bottom:123px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;width:min(520px,48vw);background:rgba(252,254,251,.96);backdrop-filter:blur(16px);border:1px solid #fff;border-radius:21px;padding:16px;box-shadow:0 14px 50px #2d474526;z-index:12;animation:rise .25s ease}.interaction-icon{width:45px;height:45px;display:grid;place-items:center;flex:0 0 auto;background:#eaf0e7;border-radius:13px;color:#50734d}.interaction-copy{flex:1}.interaction-copy .eyebrow{font-size:8px;letter-spacing:1.2px}.interaction-copy h3{font-size:15px;margin:5px 0 3px;letter-spacing:-.3px}.interaction-copy p{font-size:10px;line-height:1.5;color:var(--muted)}.interaction .primary{font-size:11px;min-height:40px;padding:10px 15px}.close-mini{background:none;padding:3px;position:absolute;top:5px;right:6px;color:#75897e}.close-mini svg{width:13px;height:13px}.toast-stack{position:absolute;right:32px;top:112px;display:flex;flex-direction:column;gap:9px;z-index:30;pointer-events:none;max-width:330px}.toast{border:1px solid #fff;background:rgba(250,253,247,.98);border-radius:15px;padding:13px 17px;box-shadow:var(--shadow);font-size:12px;line-height:1.5;display:flex;align-items:center;gap:10px;animation:toast-in .25s ease}.toast svg{width:19px;height:19px;color:#34805a}.toast.warn svg{color:#b77824}.toast.fade{opacity:0;transform:translateY(-8px);transition:.3s}.reward-float{position:absolute;z-index:14;left:60%;top:50%;color:var(--blue);font-size:24px;font-weight:800;letter-spacing:-1px;text-shadow:0 1px 0 white,0 2px 12px #fff;pointer-events:none;animation:reward 1.4s ease-out forwards}.loading-screen{position:absolute;inset:0;background:#edf3ed;z-index:40;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;text-align:center;padding:30px;transition:opacity .5s}.loading-screen.done{opacity:0;pointer-events:none}.loading-screen strong{font-size:17px;letter-spacing:-.3px}.loading-screen p{font-size:12px;color:var(--muted)}.loading-orbit{width:70px;height:70px;position:relative;margin-bottom:9px}.loading-orbit span{position:absolute;inset:0;border:1.5px solid #b4c8c3;border-radius:23px;transform:rotate(30deg);animation:orbit 5s linear infinite}.loading-orbit span:nth-child(2){inset:11px;border-color:#678c93;animation-direction:reverse}.loading-orbit span:nth-child(3){inset:24px;background:var(--blue);border-color:var(--blue);border-radius:6px}.fatal-screen{position:absolute;inset:0;z-index:41;background:#edf3ed;display:grid;place-content:center;text-align:center;padding:30px;gap:20px}.fatal-screen>svg{margin:auto;width:48px;height:48px;color:var(--blue)}.fatal-screen p{max-width:440px;font-size:14px;color:var(--muted)}
dialog{border:1px solid #fff;max-width:min(740px,calc(100vw - 36px));width:740px;max-height:calc(100dvh - 60px);padding:0;border-radius:28px;background:#f9fbf7;color:var(--ink);box-shadow:0 35px 140px #102d3950;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:rgba(22,42,47,.35);backdrop-filter:blur(6px)}dialog[open]{animation:modal-in .2s ease}.modal-shell{padding:31px}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.modal-header h2{font-size:29px;line-height:1.2;letter-spacing:-1px;margin-top:10px}.modal-header .icon-button{background:#eef2ec;width:36px;height:36px;border:0}.modal-header .icon-button svg{width:18px;height:18px}.modal-header .eyebrow{font-size:9px}.lead{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:23px}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 17px;border:1px solid #dce5dc;background:#f5f8f1;border-radius:13px;color:#365146;font-size:12px;font-weight:500;text-decoration:none}.secondary:hover{background:#e9f1e7}.secondary svg{width:17px;height:17px}.subtle{background:none;padding:10px 0;font-size:12px;color:var(--blue);text-decoration:underline;text-underline-offset:4px}.note{margin-top:20px;color:#536b64;font-size:11px;line-height:1.8;background:#edf2e9;border-radius:13px;padding:13px 15px}.note a{color:#28577c}.story-quote{display:grid;grid-template-columns:52px 1fr;gap:16px;margin:24px 0}.portrait{width:52px;height:60px;display:grid;place-items:center;border-radius:17px;background:#294f85;color:white;font-size:24px;font-weight:700}.story-quote strong{font-size:14px}.story-quote small{font-size:10px;color:var(--muted);display:block;margin:5px 0 10px}.story-quote p{font-size:14px;line-height:1.8}.story-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.story-step{padding:16px;background:#edf2e9;border-radius:15px}.story-step svg{color:#4b7660;margin-bottom:12px}.story-step strong{display:block;font-size:12px;line-height:1.5}.story-step small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:6px}.era-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.era-card{position:relative;background:#f1f4ed;border:1px solid #dde6d9;border-radius:20px;padding:17px;text-align:left;overflow:hidden;display:flex;flex-direction:column;min-height:260px}.era-card.current{border:2px solid var(--blue);padding:16px}.era-card .era-number{font-size:9px;letter-spacing:1px;color:var(--muted)}.era-art{height:80px;display:flex;align-items:center;justify-content:center;margin:10px 0;color:var(--ec)}.era-art svg{width:65px;height:65px;stroke-width:1.2;filter:drop-shadow(0 5px 0 #fff)}.era-card h3{font-size:17px;letter-spacing:-.5px}.era-card p{font-size:11px;color:var(--muted);margin:8px 0 16px}.era-card .secondary{margin-top:auto;font-size:10px;padding:9px;min-height:37px}.era-status{font-size:9px;color:#456647;margin-top:auto;line-height:1.6}.era-lock{position:absolute;top:15px;right:13px;color:#697e6b}.era-lock svg{width:14px;height:14px}.panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.panel-card{border:1px solid #dde7dc;background:#f4f7ee;border-radius:18px;padding:20px}.panel-card h3{font-size:16px;margin-bottom:9px;letter-spacing:-.4px}.panel-card p{font-size:12px;color:var(--muted)}.panel-card .primary,.panel-card .secondary{margin-top:17px;width:100%}.cost-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;font-size:12px}.cost-item{display:flex;align-items:center;gap:5px;color:#456249}.cost-item.short{color:#a34834}.cost-item svg{width:16px;height:16px}.recipe{display:flex;align-items:center;justify-content:center;gap:14px;background:#edf3e9;padding:22px;border-radius:18px;margin:20px 0}.recipe-item{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600}.recipe-item svg{width:24px;height:24px}.recipe-arrow{color:#839984}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:23px}.stat-cell{background:#edf3e9;border-radius:16px;padding:17px}.stat-cell b{font-size:27px;display:block;letter-spacing:-1px}.stat-cell span{font-size:10px;color:var(--muted);display:block;margin-top:6px}.empty-state{text-align:center;background:#edf3e9;border-radius:20px;padding:34px 28px}.empty-state>svg{width:40px;height:40px;margin:0 auto 15px;color:#74967e}.empty-state h3{font-size:18px;margin-bottom:10px}.empty-state p{font-size:13px;color:var(--muted)}.card-list{display:grid;gap:10px}.archive-entry{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid #e0e8dc;border-radius:16px;background:#f5f8f0;text-align:left;width:100%}.archive-entry:hover{background:#eaf1e4}.entry-icon{width:38px;height:38px;display:grid;place-items:center;background:#e3ecdc;border-radius:11px;flex:0 0 auto;color:#567852}.entry-icon svg{width:20px;height:20px}.archive-entry .entry-copy{flex:1}.archive-entry b{display:block;font-size:12px;font-weight:500;line-height:1.5}.archive-entry small{display:block;color:var(--muted);font-size:10px;margin-top:4px;line-height:1.5}.entry-status{font-size:10px;color:#39704b;flex:0 0 auto}.entry-status svg{width:18px;height:18px}.question-type{display:inline-flex;align-items:center;gap:6px;background:#e9efe3;color:#4b6d46;border-radius:8px;padding:7px 10px;font-size:10px;margin-bottom:15px}.question-prompt{font-size:20px;font-weight:500;line-height:1.55;letter-spacing:-.4px;margin-bottom:22px}.options{display:grid;gap:10px}.answer-option{display:flex;align-items:center;gap:13px;text-align:left;padding:15px 17px;border:1px solid #dce6d6;border-radius:14px;background:#f5f8f0;font-size:13px;line-height:1.6;min-height:55px}.answer-option:hover{background:#e9f0e4;border-color:#9dbb8f}.answer-option .letter{display:grid;place-items:center;width:27px;height:27px;flex:0 0 auto;background:#e7eddf;border-radius:8px;font-size:11px;color:#526c47}.answer-option.chosen{border-color:#2455d6;background:#edf2ff}.answer-option.correct{border-color:#51966a;background:#e8f3e5}.answer-option.wrong{border-color:#d49a82;background:#fbefe6}.feedback{border-radius:16px;background:#e6f2e1;padding:18px;margin-top:20px}.feedback.wrong{background:#f8eee0}.feedback h3{font-size:16px;margin-bottom:8px}.feedback p{font-size:13px;line-height:1.8}.feedback .source-link{display:inline-flex;margin-top:12px;gap:6px;align-items:center;font-size:11px}.feedback .source-link svg{width:13px;height:13px}.order-selected{display:flex;flex-direction:column;gap:7px;min-height:55px;background:#edf2e9;border-radius:14px;padding:12px;margin-bottom:15px}.order-selected .order-placeholder{font-size:12px;color:var(--muted);padding:8px}.order-slot{display:flex;align-items:center;gap:10px;font-size:12px;background:#fbfcf8;border-radius:10px;padding:11px;line-height:1.6}.order-slot b{color:var(--blue);font-size:10px}.order-slot button{margin-left:auto;background:none;color:var(--muted);flex-shrink:0}.order-slot svg{width:15px;height:15px}.order-pool{display:grid;gap:9px}.order-pool .answer-option{font-size:12px}.order-controls{display:flex;gap:10px;margin-top:17px}.correct-order{font-size:12px;line-height:1.9;margin:11px 0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}.setting-row strong{font-size:13px;font-weight:500;display:block}.setting-row p{font-size:11px;color:var(--muted);margin-top:5px;max-width:380px}.toggle{width:44px;height:26px;padding:3px;border-radius:100%;background:#ccd7c8;flex-shrink:0}.toggle span{display:block;width:20px;height:20px;background:#fff;border-radius:100%;box-shadow:0 2px 4px #0001;transition:transform .2s}.toggle.on{background:var(--blue)}.toggle.on span{transform:translateX(18px)}select{border:1px solid #d7e2d2;border-radius:10px;background:#f7faf2;color:var(--ink);padding:9px;font-size:12px}.settings-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.settings-links .secondary{font-size:11px}.danger{color:#a24c35}.small-heading{margin:23px 0 13px;font-size:14px;letter-spacing:-.2px}.help-list{counter-reset:steps;list-style:none;padding:0;display:grid;gap:20px}.help-list li{position:relative;padding-left:42px;font-size:13px;line-height:1.8;color:var(--muted)}.help-list li::before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;background:#e3ecdd;border-radius:9px;color:#51714b;font-size:11px}.help-list strong{display:block;color:var(--ink);font-size:14px;margin-bottom:4px}.victory-mark{display:grid;place-items:center;margin:5px auto 22px;width:90px;height:90px;border-radius:27px;background:#dfecd5;color:#477241;transform:rotate(-8deg)}.victory-mark svg{width:45px;height:45px;transform:rotate(8deg)}.victory-title{text-align:center;font-size:26px;margin-bottom:15px;letter-spacing:-1px}.victory-copy{text-align:center;font-size:14px;color:var(--muted);line-height:1.8}.collection-card{border:1px solid #dce7d7;border-radius:17px;padding:18px;background:#f3f7ed}.collection-card .eyebrow{font-size:8px}.collection-card h3{font-size:14px;line-height:1.55;margin-top:10px}.collection-card p{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0}.collection-card a{font-size:10px}.progress-caption{font-size:11px;color:var(--muted);margin-top:10px}.small-progress{height:5px;background:#dce6d8;border-radius:10px;margin-top:13px;overflow:hidden}.small-progress>div{height:100%;background:#7fa369}.label-chip{display:inline-flex;gap:6px;align-items:center;padding:5px 8px;background:#e7eedd;border-radius:7px;font-size:9px;color:#526b49}.label-chip svg{width:12px;height:12px}.info-divider{height:1px;background:var(--line);margin:24px 0}.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.place-button{display:flex;flex-direction:column;text-align:left;gap:12px;border:1px solid #dce7d7;background:#eff5e8;border-radius:15px;padding:17px}.place-button svg{width:25px;height:25px;color:#52714b}.place-button span{font-size:12px;font-weight:500;line-height:1.5}.place-button small{font-size:10px;color:var(--muted);line-height:1.5;margin-top:-7px}.world-dim{filter:saturate(.9)}
@keyframes orbit{to{transform:rotate(390deg)}}@keyframes modal-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@keyframes rise{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes toast-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}@keyframes bump{50%{transform:translateY(-3px);color:var(--blue)}}@keyframes reward{0%{transform:translateY(0);opacity:0}15%{opacity:1}100%{transform:translateY(-100px);opacity:0}}
@media(min-width:1700px){.chapter{left:4vw;top:17vh;width:310px}h1{font-size:62px}.quest-card{padding:24px}.chapter-description{font-size:14px}.quest-card p{font-size:13px}.memory-card small{font-size:11px}.topbar{left:4vw;right:4vw}.scene-tag{top:14vh}}
@media(max-width:1100px){.topbar{left:24px;right:24px}.chapter{left:28px;width:245px;top:126px}h1{font-size:44px}.chapter-subtitle{font-size:18px}.chapter-description{font-size:12px}.quest-card{margin-top:24px;padding:17px}.quest-card h2{font-size:17px}.quest-card p{font-size:11px}.memory-card{padding:12px}.resource{padding:4px 10px;min-width:62px}.resource strong{font-size:14px}.brand b{font-size:16px}.brand small{font-size:10px}.resource-icon{width:25px;height:25px}.scene-tag{left:48%;font-size:8px}.save-status{display:none}.interaction{width:min(490px,55vw);left:63%}.dock{left:55%}.scene-tools{right:20px}}
@media(max-height:760px) and (min-width:761px){.chapter{top:110px}.chapter-description{display:none}.story-link{margin-top:14px}.quest-card{margin-top:21px}.memory-card{margin-top:11px;padding:10px 15px}.quest-card p{font-size:11px}.quest-card h2{font-size:17px}.quest-card{padding:16px}.chapter-subtitle{font-size:18px}h1{font-size:42px}.quest-button{margin-top:13px}.quest-progress{margin-top:12px}.dock{bottom:20px}.scene-tag{top:103px}.interaction{bottom:105px}.world-hint{bottom:107px}}
@media(max-width:760px){#game{min-height:520px}.topbar{top:max(15px,env(safe-area-inset-top));left:17px;right:17px;gap:9px;align-items:flex-start}.brand{gap:8px}.brand-symbol{width:33px;height:33px;border-radius:10px}.brand-symbol svg{width:19px;height:19px}.brand b{font-size:12px;letter-spacing:1.1px}.brand small{font-size:8px;margin-top:3px}.settings-button{margin-left:auto;width:34px;height:34px;border-radius:11px}.settings-button svg{width:17px;height:17px}.resource-bar{position:absolute;left:0;right:0;top:48px;justify-content:center;border-radius:14px;padding:5px 2px;gap:0}.resource{justify-content:center;flex:1;min-width:0;padding:3px 6px;gap:5px}.resource strong{font-size:12px}.resource-icon{width:22px;height:22px;border-radius:7px}.resource-icon svg{width:15px;height:15px}.chapter{top:119px;left:21px;right:21px;width:auto;pointer-events:none}.chapter .eyebrow{font-size:8px;letter-spacing:1.1px}.chapter h1{font-size:31px;letter-spacing:-1.4px;margin-top:10px;max-width:75%}.chapter-subtitle{font-size:13px;letter-spacing:-.2px;margin-top:4px;max-width:75%}.chapter-description,.story-link{display:none}.quest-card{position:fixed;bottom:calc(93px + env(safe-area-inset-bottom));left:16px;right:16px;margin:0;padding:13px 15px;border-radius:18px;display:grid;grid-template-columns:1fr 112px;column-gap:12px;pointer-events:auto;box-shadow:0 5px 26px #294e4412}.quest-heading{grid-column:1}.quest-heading .eyebrow{font-size:7px;letter-spacing:1.2px}.quest-step{font-size:8px;margin-left:auto}.quest-card h2{grid-column:1;font-size:14px;letter-spacing:-.3px;margin-top:7px}.quest-card p{grid-column:1;font-size:9px;margin-top:5px;line-height:1.5}.quest-progress{grid-column:1;margin-top:10px;height:3px}.quest-button{grid-column:2;grid-row:1/5;align-self:center;margin:0;padding:11px;font-size:10px;gap:5px;white-space:normal;min-height:41px;border-radius:11px;justify-content:center}.quest-button svg{width:13px;flex-shrink:0}.memory-card{position:absolute;right:0;top:10px;margin:0;width:52px;display:flex;flex-direction:column;gap:4px;padding:8px 5px;border:0;background:rgba(249,253,246,.83);border-radius:13px;pointer-events:auto}.memory-icon{width:27px;height:27px;background:none}.memory-icon svg{width:20px;height:20px}.memory-card strong{font-size:8px}.memory-card small,.memory-ring{display:none}.world-vignette{background:linear-gradient(180deg,rgba(237,244,238,.8),transparent 29%),linear-gradient(0deg,rgba(228,239,234,.85),transparent 38%)}.scene-tag{display:none}.scene-tools{right:15px;top:260px;gap:7px}.scene-tools .icon-button{width:33px;height:33px;border-radius:11px}.scene-tools svg{width:17px;height:17px}.scene-tools>button:first-child{display:none}.dock{left:16px;right:16px;bottom:calc(17px + env(safe-area-inset-bottom));transform:none;padding:6px;gap:3px;border-radius:19px;justify-content:space-between}.dock-item{flex:1;flex-direction:column;gap:5px;padding:9px 4px;font-size:9px;border-radius:12px}.dock-item svg{width:18px;height:18px}.dock-item em{position:absolute;top:6px;right:12px;min-width:13px;height:13px;font-size:7px;border-radius:4px}.dock-item.active .active-dot{display:none}.world-hint{left:50%;font-size:9px;bottom:calc(226px + env(safe-area-inset-bottom));max-width:calc(100vw - 30px);white-space:normal;text-align:center;justify-content:center;gap:5px}.world-hint svg{width:14px}.desktop-only{display:none}.interaction{left:16px;right:16px;bottom:calc(92px + env(safe-area-inset-bottom));width:auto;transform:none;padding:13px;border-radius:18px;gap:10px;min-height:112px}.interaction-icon{width:35px;height:35px;border-radius:11px}.interaction-icon svg{width:21px;height:21px}.interaction-copy .eyebrow{font-size:7px}.interaction-copy h3{font-size:12px;margin-top:4px}.interaction-copy p{font-size:9px}.interaction .primary{font-size:10px;min-height:39px;padding:10px 12px;max-width:120px;white-space:normal}.toast-stack{top:214px;left:20px;right:auto;max-width:calc(100vw - 72px);gap:6px}.toast{font-size:10px;padding:10px 12px;border-radius:12px}.toast svg{width:15px;height:15px}.reward-float{left:46%;font-size:20px}.loading-screen strong{font-size:14px}.loading-screen p{font-size:11px}dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 28px);border-radius:24px}.modal-shell{padding:23px 19px}.modal-header{gap:12px;margin-bottom:20px}.modal-header h2{font-size:24px;letter-spacing:-.8px}.modal-header .eyebrow{font-size:8px;letter-spacing:1px}.lead{font-size:13px;line-height:1.75;margin-bottom:20px}.era-grid{grid-template-columns:1fr}.era-card{min-height:130px;display:grid;grid-template-columns:1fr 76px;gap:5px 10px;padding:18px}.era-card.current{padding:17px}.era-card .era-number{grid-column:1}.era-art{grid-column:2;grid-row:1/5;height:auto;margin:0}.era-art svg{width:60px;height:60px}.era-card h3{font-size:19px}.era-card p{margin:3px 0 8px;font-size:11px}.era-card .secondary{grid-column:1;width:150px}.era-status{grid-column:1;margin-top:0}.era-lock{top:13px;right:13px}.panel-grid{grid-template-columns:1fr}.panel-card{padding:17px}.story-steps{gap:7px}.story-step{padding:12px 10px}.story-step strong{font-size:10px}.story-step small{font-size:9px}.story-quote{grid-template-columns:40px 1fr;gap:12px}.portrait{width:40px;height:48px;border-radius:13px;font-size:19px}.story-quote p{font-size:12px}.story-quote strong{font-size:13px}.stat-cell{padding:13px}.stat-cell b{font-size:24px}.stat-cell span{font-size:9px}.question-prompt{font-size:17px;line-height:1.65}.answer-option{font-size:12px;padding:13px;gap:10px}.feedback p{font-size:12px}.archive-entry{padding:12px;gap:10px}.archive-entry b{font-size:11px}.entry-icon{width:33px;height:33px}.entry-icon svg{width:18px;height:18px}.entry-status{font-size:9px}.setting-row p{font-size:10px}.setting-row strong{font-size:12px}.note{font-size:10px}.action-grid{grid-template-columns:repeat(3,1fr);gap:8px}.place-button{padding:12px;gap:9px}.place-button span{font-size:10px}.place-button small{font-size:9px}.place-button svg{width:22px;height:22px}.recipe{gap:12px;padding:18px 10px}.recipe-item{font-size:12px;gap:4px}.recipe-item svg{width:20px;height:20px}}
@media(max-width:380px){.chapter h1{font-size:28px}.resource{padding:3px}.resource-icon{width:20px;height:20px}.quest-card{grid-template-columns:1fr 95px}.quest-button{font-size:9px}.dock-item em{right:7px}.scene-tools{right:11px}.topbar{left:14px;right:14px}.action-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}body.reduce-motion *,body.reduce-motion *::before,body.reduce-motion *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
/* Readable touch layout: the action sheet sits above the current objective. */
@media(max-width:760px){
 .quest-card p{font-size:11px;line-height:1.5}.quest-card h2{font-size:15px}.quest-button{font-size:11px;min-height:46px}.quest-heading .eyebrow{font-size:8px}.quest-step{font-size:9px}
 .interaction{bottom:calc(238px + env(safe-area-inset-bottom));min-height:88px;padding:13px 14px}.interaction-copy p{font-size:11px}.interaction-copy h3{font-size:14px}.interaction-copy .eyebrow{font-size:8px}.interaction .primary{font-size:11px;min-height:44px}.interaction-icon{display:none}.close-mini{top:7px;right:7px;padding:6px}.close-mini svg{width:16px;height:16px}
 .world-hint{bottom:calc(244px + env(safe-area-inset-bottom));font-size:10px}.dock-item{font-size:10px}.resource strong{font-size:13px}.chapter .eyebrow{font-size:9px}.memory-card strong{font-size:9px}
 .place-button{min-height:105px}.place-button span{font-size:12px}.place-button small{font-size:10px}.archive-entry b{font-size:13px}.archive-entry small{font-size:11px}.answer-option{font-size:14px}.question-prompt{font-size:19px}.lead{font-size:14px}.feedback p{font-size:14px}.feedback .source-link{font-size:12px}.story-quote p{font-size:14px}.note{font-size:12px}.panel-card p{font-size:14px}.setting-row p{font-size:12px}.setting-row strong{font-size:14px}.collection-card p{font-size:14px}.collection-card h3{font-size:15px}.help-list li{font-size:14px}
}
@media(max-width:760px) and (max-height:740px){.interaction{bottom:calc(231px + env(safe-area-inset-bottom));min-height:75px}.quest-card p{max-height:34px;overflow:auto}.chapter{top:112px}.chapter h1{font-size:27px;margin-top:7px}.scene-tools{top:225px}.world-hint{display:none}}
