.mg-page{max-width:1400px;margin:auto;padding:24px}.mg-page>h1{font-size:clamp(28px,4vw,52px);margin:18px 0 8px}.mg-intro{color:#627185}.mg-shell{background:#091b28;border-radius:22px;overflow:hidden;color:#e5f1f2;box-shadow:0 20px 60px #102d3540}.mg-hud{display:flex;justify-content:space-between;align-items:center;padding:15px 24px;gap:12px;background:linear-gradient(110deg,#102b35,#101b29)}.mg-brand{font-size:20px;font-weight:800}.mg-brand small{display:block;color:#f5c06b;font-size:12px;letter-spacing:2px}.mg-stats{display:flex;gap:28px}.mg-stats span{font-size:10px;letter-spacing:2px;color:#9db9c2;display:block}.mg-stats b{font-size:23px}.mg-view{height:min(65vh,680px);min-height:240px;position:relative}.mg-view canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.mg-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#06131b88}.mg-overlay[hidden]{display:none}.mg-dialog{background:#10232eeb;border:1px solid #56716c;max-width:470px;padding:28px;border-radius:18px;text-align:center;margin:15px;max-height:95%;overflow:auto}.mg-dialog h2{color:#ffe4a9}.mg-dialog p{color:#c0d0d4;font-size:14px;line-height:1.6}.mg-button{background:#173745;border:1px solid #41606a;border-radius:9px;padding:10px 16px;color:#e9f5f7;font-weight:700;cursor:pointer}.mg-button:hover{background:#285363}.mg-button:focus-visible{outline:3px solid #60e8ec}.mg-primary{background:#f4c470;color:#1b2b31;border:0}.mg-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 18px}.mg-tools>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.mg-power{width:150px;accent-color:#49d9d8}.mg-status{margin:0;padding:8px 18px 14px;font-size:13px;color:#bbd5d7}.mg-chip{position:absolute;left:18px;top:16px;background:#112b32dd;border:1px solid #5c77736b;padding:8px 14px;border-radius:20px;font-size:12px;pointer-events:none}.mg-score{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:12px 0}.mg-score span{padding:6px;background:#25404b;border-radius:5px;font-size:12px}.mg-info{background:#fff;border:1px solid #e1e7e7;padding:24px;border-radius:18px;margin:24px 0;line-height:1.7;color:#344650}.mg-shell:fullscreen{width:100vw;height:100dvh;border-radius:0;display:flex;flex-direction:column}.mg-shell:fullscreen .mg-view{height:auto;min-height:0;flex:1}.mg-shell:fullscreen .mg-hud{flex:none}.mg-shell:fullscreen .mg-tools{padding:6px 12px}.mg-shell:fullscreen .mg-status{padding:4px 12px 8px}@media(max-width:600px){.mg-page{padding:10px}.mg-hud{padding:10px;gap:8px}.mg-brand{font-size:14px}.mg-brand small{font-size:9px;letter-spacing:1px}.mg-stats{gap:12px}.mg-stats b{font-size:18px}.mg-stats span{font-size:8px;letter-spacing:1px}.mg-view{height:55vh}.mg-tools{padding:8px}.mg-button{padding:9px;font-size:11px}.mg-power{width:92px}.mg-dialog{padding:18px}.mg-dialog h2{font-size:23px}}@media(max-height:450px){.mg-hud{padding:5px 12px}.mg-brand{font-size:13px}.mg-stats b{font-size:17px}.mg-status{font-size:10px}.mg-tools .mg-button{padding:6px 9px}.mg-dialog{padding:12px}.mg-dialog h2{margin:5px}.mg-dialog p{margin:6px;font-size:12px}}