@font-face{font-family:Inter;src:url('./assets/inter-cyrillic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0400-052F}@font-face{font-family:Inter;src:url('./assets/inter-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--bg:#fff;--surface:#f3f5f8;--card:#fff;--ink:#141820;--muted:#5e6672;--line:#e1e5eb;--accent:#3f6599;--accent-ink:#fff;--accent-soft:#ebf0f7;--veil:#141820b3;--error:#b3261e}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Inter,-apple-system,sans-serif}body.dark{--bg:#171a1f;--surface:#1b1f25;--card:#1f242b;--ink:#e6eaf0;--muted:#9aa3af;--line:#2e343d;--accent:#8ba7d0;--accent-ink:#111722;--accent-soft:#232e3d}a{color:var(--accent);text-underline-offset:4px}button{font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:999px;padding:8px 16px;cursor:pointer}button:hover{border-color:var(--accent);background:var(--accent-soft)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.skip{position:fixed;top:-100px;padding:16px;background:var(--card);z-index:10}.skip:focus{top:0}.wrap{width:calc(100% - 48px);max-width:1440px;margin:auto}header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0}.brand{font-size:14px;font-weight:600;text-decoration:none}h1{font-size:32px;line-height:1.15;letter-spacing:-.02em;margin:8px 0;font-weight:700}header p{margin:0;color:var(--muted)}.worlds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.world{min-width:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--card)}.scene-open{display:block;width:100%;border:0;border-radius:0;padding:0;background:var(--surface);cursor:zoom-in}.scene-open:hover{background:var(--surface)}.stage{display:flex;justify-content:center;align-items:center;min-height:216px;background:var(--stage);overflow:hidden}.stage canvas{display:block;image-rendering:pixelated;image-rendering:crisp-edges;pointer-events:none}.copy{padding:16px 24px 24px}h2{display:flex;gap:8px;align-items:baseline;font-size:20px;line-height:1.3;margin:0 0 8px;letter-spacing:-.02em}h2 span{color:var(--muted);font-size:14px;font-weight:500}.description{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 8px}.metrics{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);min-height:18px}.error{color:var(--error)}footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0}footer p{font-size:14px;color:var(--muted);margin:0;max-width:600px}.footer-links{display:flex;align-items:center;gap:16px;white-space:nowrap;font-size:14px}.method{border-top:1px solid var(--line);padding:16px 0 32px;color:var(--muted);font-size:14px}.method summary{cursor:pointer;color:var(--ink)}.method p{max-width:90ch;margin:16px 0}dialog{width:calc(100% - 48px);max-width:1392px;max-height:calc(100dvh - 48px);border:1px solid var(--line);border-radius:16px;padding:24px;background:var(--card);color:var(--ink);overflow:auto}dialog::backdrop{background:var(--veil)}.zoom-head{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:16px}.zoom-head strong{font-size:24px;letter-spacing:-.02em}.zoom-head p{font-size:14px;color:var(--muted);margin:8px 0 0}.zoom-stage{display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--surface);border-radius:8px}.zoom-stage canvas{display:block;image-rendering:pixelated;image-rendering:crisp-edges}.zoom-foot{font-size:14px;color:var(--muted);margin:16px 0 0}@media(min-width:1600px){.stage{min-height:270px}}@media(max-width:1150px){.worlds{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.wrap{width:calc(100% - 32px)}header{align-items:flex-start;padding:24px 0;gap:16px}h1{font-size:28px}header p{font-size:14px}header button{font-size:12px;padding:8px;max-width:80px}.worlds{grid-template-columns:1fr;gap:24px}.stage{min-height:180px}.copy{padding:16px 24px 24px}footer{align-items:flex-start;flex-direction:column;gap:16px}.footer-links{flex-wrap:wrap}dialog{width:calc(100% - 32px);padding:16px;max-height:calc(100dvh - 32px)}.zoom-head{gap:16px}.zoom-head strong{font-size:20px}.zoom-head button{font-size:14px}.zoom-head p{max-width:25ch}.zoom-stage{margin:0 -8px}.zoom-foot{font-size:12px}}
