@font-face{font-family:Onest;src:url('../assets/onest-regular.ttf') format('truetype');font-weight:400 600;font-display:swap}
@font-face{font-family:Onest;src:url('../assets/onest-bold.ttf') format('truetype');font-weight:700 900;font-display:swap}
:root{--paper:#eeeee5;--ink:#263c32;--muted:#697267;--line:#cdd1c5;--green:#254b38;--lime:#d4e59d;--white:#fafbf4;--clay:#b76b4b;--blue:#287896}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Onest,system-ui,sans-serif;font-size:14px}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button,a{font:inherit}button{cursor:pointer;color:inherit}a{color:inherit}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--blue);outline-offset:4px}button{border:0}button:hover:not(:disabled){filter:brightness(.95)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.skip{position:fixed;top:-60px;left:10px;z-index:30;background:white;padding:14px}.skip:focus{top:10px}
.topbar{height:96px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);gap:30px}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:-1px}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:.35px;margin-top:3px}.journey{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--muted)}.journey span{display:flex;gap:8px;align-items:center}.journey b{font-weight:400}.journey [aria-current]{color:var(--green)}.journey [aria-current] b{font-weight:700}.journey i{width:32px;height:1px;background:var(--line)}.quiet{background:transparent;padding:12px 0;white-space:nowrap;font-size:12px}.quiet span{margin-left:14px;font-size:18px}.playground{display:grid;grid-template-columns:minmax(0,1fr) 344px;min-height:650px;height:calc(100svh - 141px);max-height:980px}.world{position:relative;overflow:hidden;min-width:0;isolation:isolate}.world-heading{position:absolute;top:34px;left:42px;z-index:2;pointer-events:none}.chapter{font-size:12px;margin:0 0 16px;color:var(--muted);line-height:1.6}h1{font-size:clamp(45px,5.4vw,88px);line-height:.96;letter-spacing:-.065em;margin:0;font-weight:800}h1 em{font-style:normal;color:#78886a}#scene{position:absolute;inset:0}#scene canvas{display:block;width:100%;height:100%}#loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;max-width:300px}.world-footer{position:absolute;bottom:20px;left:42px;right:30px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:3}.model-note{font-size:10px;color:#636f61;display:flex;gap:8px;align-items:center}.status-dot{width:6px;height:6px;background:#75885c;border-radius:50%}.controls{border-left:1px solid var(--line);padding:40px 27px 20px;overflow-y:auto;background:rgba(250,251,244,.45)}.controls h2{font-size:29px;letter-spacing:-1.2px;line-height:1.14;margin:0 0 13px}.intro{font-size:13px;line-height:1.65;margin:0 0 27px;color:#53614f}.step-count{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin:0 0 25px}.step-count strong{font-weight:400;color:var(--green)}.step-count .dots{display:flex;gap:4px}.dots i{width:26px;height:3px;background:var(--line)}.dots i.on{background:var(--green)}.field{margin:22px 0}.field label,.field .label{font-size:12px;display:block;margin-bottom:10px}.house-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.house-choice{border:1px solid var(--line);background:transparent;border-radius:8px;padding:12px 3px 9px;font-size:9px}.house-choice svg{display:block;margin:0 auto 10px;width:40px;height:32px;stroke:currentColor;stroke-width:1.3;fill:none}.house-choice[aria-pressed=true]{border-color:var(--green);background:#e1e7d4;box-shadow:inset 0 0 0 1px var(--green)}.roof-line{display:flex;align-items:center;gap:9px}.swatch{width:32px;height:32px;border-radius:50%;border:3px solid var(--paper);box-shadow:0 0 0 1px transparent;position:relative}.swatch[aria-pressed=true]{box-shadow:0 0 0 1.5px var(--ink)}.swatch[aria-pressed=true]:after{content:'✓';color:white;position:absolute;inset:1px;display:grid;place-items:center;font-size:13px}.roof-label{font-size:11px;color:var(--muted);margin-left:5px}.small-actions{display:flex;gap:12px;border-top:1px solid var(--line);padding-top:12px}.small-actions button{flex:1;text-align:left;background:none;font-size:11px;padding:6px 0}.small-actions button span{float:right;font-size:16px}.primary,.secondary{display:flex;justify-content:space-between;align-items:center;width:100%;padding:16px 18px;border-radius:7px;font-size:13px;gap:8px;min-height:49px}.primary{background:var(--green);color:#fff;margin-top:24px}.primary span{font-size:20px}.secondary{background:transparent;border:1px solid var(--line);justify-content:center;margin-top:10px}.link-button{text-decoration:none}.fine{font-size:11px;line-height:1.7;color:var(--muted)}.feedback{font-size:12px;line-height:1.55;color:var(--green);min-height:1px;margin:16px 0 0}.bottom{height:45px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:10px;color:#697267}.reveal-field{padding:17px 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0}.reveal-field label{font-size:12px;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.reveal-field output{font-variant-numeric:tabular-nums;font-size:11px;color:var(--muted)}input[type=range]{width:100%;accent-color:var(--green);cursor:ew-resize;height:30px;margin:0}input[type=range]::-webkit-slider-runnable-track{height:5px;background:#c4cdb6;border-radius:5px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;margin-top:-5px;width:22px;height:22px}.range-captions{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:7px}.section-choices{display:flex;border:1px solid var(--line);border-radius:6px;overflow:hidden}.section-choices button{flex:1;background:transparent;padding:10px 4px;font-size:11px}.section-choices button[aria-pressed=true]{background:var(--green);color:white}.toggle-line{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;margin:20px 0;min-height:28px}.toggle-line input{appearance:none;width:36px;height:21px;background:#b9c2ad;border-radius:15px;position:relative;cursor:pointer;flex:none}.toggle-line input:after{content:'';position:absolute;top:3px;left:3px;width:15px;height:15px;background:white;border-radius:50%;transition:transform .2s}.toggle-line input:checked{background:var(--blue)}.toggle-line input:checked:after{transform:translateX(15px)}.text-action{border:0;background:transparent;font-size:11px;text-decoration:underline;text-underline-offset:4px;padding:8px 0}.legend{border-left:2px solid #b78961;padding-left:12px;margin:24px 0;font-size:11px;line-height:1.65;color:#586450}.legend strong{display:block;color:var(--ink);font-weight:700;margin-bottom:5px}.hotspot{position:absolute;z-index:4;width:34px;height:34px;border:1px solid #ffffffd9;background:#274631e6;color:white;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 2px 9px #21352622;font-size:16px;display:grid;place-items:center}.hotspot:hover:not(:disabled){transform:translate(-50%,-50%) scale(1.12);filter:none}.hotspot:active:not(:disabled){transform:translate(-50%,-50%) scale(.95)}.hotspot.found{background:#f1f3c9;color:var(--green);border-color:var(--green)}.hotspot.water{background:#1a6584}.site-tag{position:absolute;z-index:3;font-size:11px;background:#fafbf4ed;border:1px solid var(--line);padding:6px 11px;border-radius:4px;transform:translate(-50%,-50%)}.findings{margin:18px 0}.finding{display:flex;gap:10px;font-size:11px;align-items:start;padding:12px 0;border-bottom:1px solid var(--line);line-height:1.5}.finding .mark{display:grid;place-items:center;width:20px;height:20px;border:1px solid var(--line);border-radius:50%;flex:none;font-size:10px}.finding.done .mark{background:var(--green);color:white;border-color:var(--green)}.finding small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.result-statement{font-size:22px;line-height:1.35;letter-spacing:-.8px;margin:20px 0}.result-statement em{font-style:normal;color:#76866a}.result-label{padding:9px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}dialog{border:0;padding:0;border-radius:15px;background:var(--white);color:var(--ink);width:min(560px,calc(100% - 30px));max-height:90svh;box-shadow:0 20px 100px #182c3240}dialog::backdrop{background:#18362778;backdrop-filter:blur(5px)}.close{position:absolute;right:14px;top:14px;z-index:2;width:36px;height:36px;border-radius:50%;background:var(--white);font-size:26px}.dialog-content{padding:33px}.dialog-content h2{font-size:32px;letter-spacing:-1.5px;line-height:1.1;margin:0 0 22px}.dialog-content p:not(.chapter):not(.fine){line-height:1.7;font-size:13px}.about-art{height:210px;background-image:url('../assets/cover.jpg');background-position:center;background-size:cover}.dialog-content canvas,.dialog-content img{width:100%;border-radius:8px;display:block}.dialog-content canvas{background:#d7b68b}#share-preview{margin-bottom:20px}.world.is-twins .world-heading h1{font-size:clamp(39px,4.1vw,64px);line-height:1.02}.world.is-twins .world-heading{top:30px}.world.is-twins .chapter{margin-bottom:11px}.webgl-error{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:80%;max-width:400px;font-size:14px;line-height:1.65}
@media(min-width:1500px){.controls{padding:50px 35px}.playground{grid-template-columns:minmax(0,1fr) 380px}.world-heading{left:60px;top:45px}}
@media(max-width:1100px){.topbar{padding:0 25px}.playground{grid-template-columns:minmax(0,1fr) 305px}.world-heading{left:26px;top:30px}h1{font-size:64px}.controls{padding:32px 22px}.world-footer{left:26px;right:20px}.journey{gap:8px}.journey i{width:18px}.desktop-detail{display:none}}
@media(max-width:760px){.topbar{height:77px;padding:0 20px;gap:10px}.brand{font-size:19px}.brand svg{width:24px}.brand small{font-size:9px}.journey{display:none}.playground{display:flex;flex-direction:column;height:auto;max-height:none;min-height:0}.world{height:480px;flex:none}.world-heading{top:23px;left:22px}.chapter{font-size:10px;margin-bottom:13px}h1{font-size:57px;letter-spacing:-3.8px}.world-footer{left:22px;bottom:8px;right:20px}.world-footer .quiet{font-size:10px}.world.is-twins .world-heading h1{font-size:43px}.world.is-twins{height:490px}.controls{border-left:0;border-top:1px solid var(--line);padding:26px 24px;overflow:visible}.controls h2{font-size:28px}.intro{margin-bottom:20px;font-size:13px}.field{margin:20px 0}.house-choice{font-size:11px;padding:15px 6px 12px}.house-choice svg{width:46px;height:36px}.step-count{margin-bottom:19px}.primary,.secondary{min-height:52px}.bottom{height:auto;min-height:54px;gap:12px;padding:15px 24px;font-size:9px}.bottom span:last-child{display:none}.dialog-content{padding:27px}.model-note{font-size:9px}.hotspot{width:36px;height:36px}.about-art{height:180px}.feedback{margin-bottom:0}.small-actions button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Final legibility and viewport corrections from the combined browser pass. */
:root{--muted:#596450}
.brand small,.chapter,.model-note,.range-captions,.roof-label,.finding small,.bottom,.house-choice{font-size:11px}
.step-count{gap:8px;line-height:1.5}.step-count .dots{flex:none}.dots i{width:17px}
.intro,.dialog-content p:not(.chapter):not(.fine){font-size:14px}
.legend{border-left:0;border-top:1px solid var(--line);padding:15px 0 0;font-size:12px}
.bottom{color:var(--muted)}.fine{font-size:12px}.finding{font-size:12px}
.world-footer .quiet{font-size:11px}.hotspot:disabled{opacity:1}
.hotspot:before{content:'';position:absolute;inset:-5px;border-radius:50%}
@media(max-width:760px){
  .world.is-playing{position:sticky;top:0;z-index:6;background:var(--paper);height:400px;border-bottom:1px solid var(--line)}
  .world.is-playing .world-heading{top:15px}.world.is-playing h1,.world.is-twins .world-heading h1{font-size:36px;letter-spacing:-1.8px}
  .world.is-playing .chapter{margin-bottom:8px}.world.is-playing .world-footer{bottom:3px}
  .controls{scroll-margin-top:410px}.world.is-playing~.controls{min-height:460px}
  .brand small{font-size:11px}.model-note{font-size:11px}.bottom{font-size:11px}
}

/* Independent review: scene margins, restrained tracking and coherent controls. */
.chapter{display:none}
h1,h2,.controls h2,.dialog-content h2,.world.is-playing h1,.world.is-twins .world-heading h1{letter-spacing:-.04em}
.step-count{justify-content:flex-end;margin:0 0 18px}
.ui-icon{display:inline-block;vertical-align:middle;width:19px;height:19px;flex:none}
.quiet .ui-icon{margin-left:10px}.close{display:grid;place-items:center}.close .ui-icon{width:22px;height:22px}
.swatch[aria-pressed=true]:after{content:none}.swatch .ui-icon{width:17px;height:17px;color:white;position:absolute;left:4px;top:4px}
.finding .ui-icon{width:12px;height:12px}.hotspot .ui-icon{width:20px;height:20px}.hotspot.water.found{background:#f1f3c9;color:var(--green)}
@media(max-width:760px){.world.is-playing .world-heading{top:19px}.world.is-playing .world-footer{background:var(--paper);left:0;right:0;bottom:0;padding:0 20px;height:34px}}

/* CentralGeo identity verified against centralgeo.ru on 2026-09-14. */
:root{--paper:#f4f1e9;--ink:#102232;--muted:#526777;--line:#c8d0d4;--green:#062642;--lime:#dfeaf1;--white:#fff;--clay:#f27b5f;--blue:#0b3557}
.topbar{background:#062642;color:#fff}.brand b{color:#f27b5f}.brand{letter-spacing:-.035em}.brand img{flex:none}.journey{color:#b1c7d7}.journey [aria-current]{color:#f27b5f}.primary{background:#f27b5f;color:#062642;font-weight:700}.intro,.legend,.model-note,.result-statement em{color:#526777}h1 em{color:#a7412c}.controls{background:#ffffff50}.house-choice[aria-pressed=true]{background:#dfeaf1}.hotspot{background:#062642}.hotspot.found{background:#f27b5f;color:#062642}.status-dot{background:#f27b5f}.site-tag{background:#f4f1e9}.topbar>a.quiet{text-decoration:none}.topbar{gap:18px}.journey{gap:8px}.journey i{width:14px}
@media(max-width:760px){.topbar{gap:12px;padding:0 16px}.topbar>a.quiet{font-size:11px;white-space:normal;max-width:76px}.topbar>#about-open{font-size:11px}.brand small{display:none}.brand{font-size:18px}.brand img{width:28px;height:28px}}
/* Readability in the explanatory panel. */
.finding small,.bottom,.model-note{font-size:12px}
