:root{color:#17334e;font-synthesis:none;--navy:#00305d;--red:#e3003a;--muted:#607489;--line:#e0e7ee;--panel:#fff;background:#eef2f6;font-family:Inter,Segoe UI,Arial,sans-serif}.game-controls{border-bottom:1px solid var(--line);grid-column:1/-1;padding-bottom:18px}.game-controls .animation-buttons{grid-template-columns:1fr;margin-top:12px}.volume-control{color:var(--muted);align-items:center;gap:12px;margin-top:10px;font-size:12px;display:flex}.volume-control input{width:100%;min-width:0;accent-color:var(--navy)}.reticle{pointer-events:none;filter:drop-shadow(0 1px 2px #000a);width:28px;height:28px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.reticle:before,.reticle:after{content:"";background:#fff;border-radius:2px;position:absolute}.reticle:before{width:28px;height:2px;top:13px}.reticle:after{width:2px;height:28px;left:13px}.reticle i{background:var(--red);z-index:1;border:2px solid #fff;border-radius:50%;position:absolute;inset:10px}.stage.is-aiming{box-shadow:inset 0 0 60px #00305d18}.weather-reaction{width:100%;min-height:42px;color:var(--navy);background:#eaf1f7;border:1px solid #c8d5e1;border-radius:8px;font-size:13px}.weather-reaction:hover:not(:disabled){background:#dae7f1}.weather-reaction:disabled{cursor:default}.weather-impact{color:var(--muted);margin:6px 0 8px;font-size:12px;line-height:1.6}#ground-condition{color:#36546e;font-variant-numeric:tabular-nums;font-size:12px;display:block}.weather-clear{color:var(--navy);text-underline-offset:3px;background:0 0;border:0;min-height:40px;padding:10px 0;font-size:12px;text-decoration:underline}.stage .stage-meta{background:#ffffffed;border:1px solid #fff9;border-radius:7px;padding:8px 11px;top:14px;left:16px;color:#304b63!important}.stage .stage-index{display:none}.stage .hint{white-space:nowrap;background:#ffffffed;border-radius:6px;width:auto;padding:7px 11px;left:50%;transform:translate(-50%);color:#304b63!important}.stage .city-caption{background:#13243be8;border-radius:9px;padding:14px 18px;bottom:105px}.stage .sequence-progress{background:#13243be8;border-radius:8px;padding:12px 16px}.stage.has-weather:not(.is-krass) .stage-meta,.stage.has-weather:not(.is-krass) .stage-index,.stage.has-weather:not(.is-krass) .hint{color:#304b63}.weather-controls{border-top:1px solid var(--line);grid-column:1/-1;padding-top:18px}.weather-controls>.label{display:block}.weather-controls select{width:100%;min-height:44px;color:var(--navy);font:inherit;cursor:pointer;background:#f7f9fb;border:1px solid #c8d5e1;border-radius:8px;padding:10px 12px;font-size:14px}.weather-controls select:focus-visible{outline-offset:3px;outline:3px solid #007ea7}.weather-controls select:disabled{opacity:.45;cursor:wait}.weather-controls .idle-toggle{margin-top:6px}*{box-sizing:border-box}body{min-width:320px;margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,#viewport:focus-visible{outline-offset:3px;outline:3px solid #007ea7}button,a{transition:background .18s,border-color .18s,color .18s,box-shadow .18s}.icon{fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:19px;height:19px}.header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:76px;padding:0 32px;display:flex}.logo{width:256px;height:auto;display:block}.header-label{color:var(--muted);font-size:14px;font-weight:500}.header-label span{color:#b9c5d0;padding:0 14px}main{grid-template-columns:310px minmax(0,1fr);gap:20px;height:calc(100svh - 162px);min-height:650px;padding:20px 24px 0;display:grid}.info{border:1px solid var(--line);background:var(--panel);border-radius:14px;flex-direction:column;gap:26px;padding:28px 24px;display:flex;overflow-y:auto}.eyebrow{color:var(--muted);letter-spacing:.12em;margin:0 0 12px;font-size:12px;font-weight:650}h1{letter-spacing:-.05em;color:var(--navy);margin:0 0 12px;font-size:42px;font-weight:650;line-height:1.1}h1>span{color:var(--red)}.intro{color:var(--muted);max-width:235px;margin:0;font-size:16px;line-height:1.65}.label{color:var(--muted);letter-spacing:.03em;margin:0 0 12px;font-size:14px;font-weight:650}.krass-button{border:1px solid var(--navy);background:var(--navy);color:#fff;text-align:left;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:76px;margin-bottom:10px;padding:15px 13px;display:flex}.krass-button>.icon{color:#c0d5e7;width:23px;height:23px}.krass-button>span:not(.action-arrow){font-size:15px;font-weight:600}.krass-button small{color:#c3d4e4;margin-top:5px;font-size:12px;font-weight:400;line-height:1.4;display:block}.action-arrow{align-self:flex-start;margin-left:auto;font-size:20px}.krass-button:hover{background:#114572;box-shadow:0 4px 12px #00305d16}.krass-button[aria-pressed=true]{border-color:var(--red);box-shadow:inset 3px 0 var(--red)}.animation-buttons{grid-template-columns:1fr 1fr;gap:8px;display:grid}.animation-buttons button{border:1px solid var(--line);color:#304b63;background:#fff;border-radius:8px;justify-content:flex-start;align-items:center;gap:8px;min-height:44px;padding:11px 9px;font-size:13px;font-weight:500;display:flex}.animation-buttons .handover-button{background:#f7f9fb;grid-column:1/-1;min-height:48px;font-size:14px}.animation-buttons .handover-button .icon{color:var(--red)}.animation-buttons button:hover{background:#f1f5f8;border-color:#9fb4c7}.animation-buttons button[aria-pressed=true]{color:var(--navy);background:#e9f0f6;border-color:#91abc3}.animation-buttons #stop-motion:hover{color:#b30030;background:#fff6f8;border-color:#e9b8c4}.idle-toggle{color:var(--muted);cursor:pointer;align-items:center;gap:10px;min-height:40px;margin-top:12px;font-size:13px;display:flex}.idle-toggle input{width:16px;height:16px;accent-color:var(--navy);margin:0}.palette{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:18px;display:grid}.palette>.label{grid-column:1/-1;margin:0}.color{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.color i{background:var(--swatch);border-radius:50%;flex-shrink:0;width:13px;height:13px;box-shadow:inset 0 0 0 1px #00305d1c}.color>span{color:var(--muted);font-size:12px}.color small{display:none}.download{border-top:1px solid var(--line);color:var(--navy);align-items:center;gap:9px;margin-top:auto;padding-top:18px;font-size:13px;text-decoration:none;display:flex}.download>small{letter-spacing:.07em;color:var(--muted);border:1px solid var(--line);border-radius:4px;margin-left:auto;padding:3px 5px;font-size:12px}.download:hover{color:var(--red)}.stage{border:1px solid var(--line);background:radial-gradient(at 48% 40%,#fff 5%,#edf2f7 90%);border-radius:14px;min-width:0;position:relative;overflow:hidden}#viewport{touch-action:none;cursor:grab;width:100%;height:100%;min-height:420px}#viewport:active{cursor:grabbing}canvas{width:100%;height:100%;display:block}.stage-meta{color:var(--muted);pointer-events:none;align-items:center;gap:8px;font-size:12px;display:flex;position:absolute;top:24px;left:26px}.live-dot{background:#406b8b;border-radius:50%;width:6px;height:6px}.stage-index{letter-spacing:.12em;color:#6b8195;pointer-events:none;font-size:12px;position:absolute;top:25px;right:26px}.hint{text-align:center;width:100%;color:var(--muted);pointer-events:none;font-size:12px;position:absolute;bottom:16px;left:0}.hint>span{color:#9aabba;margin:0 9px}.city-caption{color:#fff;pointer-events:none;opacity:0;transition:opacity .8s;position:absolute;bottom:82px;left:28px}.city-caption>span{color:#b3c9dc;letter-spacing:.14em;margin-bottom:8px;font-size:12px;display:block}.city-caption>strong{letter-spacing:-.035em;font-size:clamp(20px,2.3vw,30px);font-weight:450}.stage.is-krass .city-caption{opacity:1}.stage.is-krass .stage-meta,.stage.is-krass .stage-index,.stage.is-krass .hint{color:#ccd8e3}.stage.is-krass .live-dot{background:#b1cadd}.stage.is-krass .hint{display:none}.sequence-progress{color:#d8e3ec;max-width:320px;position:absolute;bottom:25px;left:28px;right:28px}.sequence-progress>div{justify-content:space-between;gap:15px;margin-bottom:8px;font-size:12px;display:flex}.sequence-progress>progress{appearance:none;background:#ffffff29;border:0;border-radius:2px;width:100%;height:3px;display:block;overflow:hidden}.sequence-progress>progress::-webkit-progress-bar{background:#ffffff29}.sequence-progress>progress::-webkit-progress-value{background:#e3003a}.sequence-progress>progress::-moz-progress-bar{background:#e3003a}.toolbar{justify-content:space-between;align-items:center;gap:16px;min-height:86px;padding:18px 24px;display:flex}.view-buttons{background:#e6ecf2;border:1px solid #d7e0e9;border-radius:9px;gap:2px;padding:3px;display:flex}.view-buttons button{color:#526b82;background:0 0;border:0;border-radius:6px;min-height:40px;padding:9px 17px;font-size:13px}.view-buttons button[aria-pressed=true]{color:var(--navy);background:#fff;font-weight:600;box-shadow:0 1px 4px #20395315}.view-buttons button:hover:not([aria-pressed=true]){color:var(--navy);background:#dbe5ee}.tools{align-items:center;gap:8px;display:flex}.tools button,#retry{color:#36546e;background:#f8fafc;border:1px solid #d7e0e9;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 13px;font-size:13px;display:flex}.tools button:hover{background:#fff;border-color:#a4b9cc}.tools button[aria-pressed=true]{color:var(--navy);background:#e1ebf3;border-color:#96b0c6}.loading{z-index:2;background:#f4f7fa;justify-content:center;align-items:center;gap:12px;font-size:14px;display:flex;position:absolute;inset:0}.loading[hidden],.error[hidden],[hidden]{display:none!important}.spinner{border:2px solid #d0dce7;border-top-color:var(--navy);border-radius:50%;width:20px;height:20px;animation:1s linear infinite spin}.error{z-index:3;text-align:center;background:#f4f7fa;align-content:center;justify-items:center;gap:15px;padding:30px;line-height:1.7;display:grid;position:absolute;inset:0}@keyframes spin{to{transform:rotate(360deg)}}@media (width>=1600px){main{grid-template-columns:330px minmax(0,1fr);padding-left:36px;padding-right:36px}.info{padding:32px 28px}.header,.toolbar{padding-left:36px;padding-right:36px}}@media (width<=1050px){main{grid-template-columns:280px minmax(0,1fr);gap:14px;padding:14px 16px 0}.info{padding:24px 18px}.toolbar{flex-wrap:wrap;padding:16px}.view-buttons button{padding:9px 13px}.reset-label,.stage-index{display:none}.header{padding:0 22px}}@media (width<=760px){.header{height:68px;padding:0 16px}.logo{width:210px}.header-label{font-size:12px}.header-label span{padding:0 7px}main{flex-direction:column;gap:12px;height:auto;min-height:0;padding:12px 12px 0;display:flex}.stage{order:0;height:58svh;min-height:390px;max-height:600px;scroll-margin-top:12px}#viewport{min-height:390px}.info{order:1;grid-template-columns:1fr 1fr;gap:18px;padding:22px;display:grid;overflow:visible}.info>div:first-child{grid-column:1/-1}.eyebrow{margin-bottom:8px;font-size:12px}h1{margin-bottom:7px;font-size:32px}.intro{max-width:none;font-size:14px}.animation-controls{grid-column:1/-1}.animation-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}.animation-buttons .handover-button{grid-column:1/-1}.animation-buttons button{justify-content:center}.animation-buttons button:not(.handover-button) .icon{display:none}.palette,.download{grid-column:1/-1;padding-top:15px}.toolbar{justify-content:center;gap:12px;padding:14px 12px 20px}.view-buttons{width:100%}.view-buttons button{flex:1;padding:9px 7px}.tools{justify-content:space-between;width:100%}.tools button{font-size:12px}.reset-label{display:inline}.stage-meta{top:19px;left:18px}.hint{font-size:12px}.city-caption{bottom:85px;left:20px}.sequence-progress{bottom:27px;left:20px;right:20px}.krass-button{min-height:72px}}@media (width<=390px){.header-label{font-size:12px}.logo{width:180px}.info{padding:18px}.animation-buttons{gap:6px}.animation-buttons button{padding-left:5px;padding-right:5px;font-size:12px}.tools button{padding:10px}.tools .icon{width:16px}.hint>span{margin:0 4px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.ammo{color:#fff;font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none;background:#10283def;border:1px solid #ffffff30;border-radius:12px;width:184px;padding:16px;font-size:12px;position:absolute;top:16px;right:16px;box-shadow:0 6px 24px #00152825}.ammo-heading,.ammo-detail{justify-content:space-between;align-items:center;gap:6px;display:flex}.ammo-heading{color:#bed0e1;letter-spacing:.06em;font-size:10px}.ammo-heading>span:first-child{color:#fff;font-weight:700}.ammo-total{align-items:center;gap:10px;margin:6px 0;display:flex}.ammo-total output{letter-spacing:-.05em;font-size:48px;font-weight:750;line-height:1.15}.ammo-total>span{color:#c0d0dd;font-size:17px}.ammo-total small{margin-top:3px;font-size:10px;display:block}.ammo-rounds{gap:5px;margin:10px 0 12px;display:flex}.ammo-rounds i{background:#e3ecf4;border-radius:4px 4px 1px 1px;flex:1;height:15px}.ammo-rounds .is-spent{background:#ffffff18}.ammo-detail{color:#afc4d6;font-size:10px}.ammo-detail>span:first-child{color:#d5eddd}.ammo.is-low .ammo-total output,.ammo.is-low .ammo-detail>span:first-child{color:#ffad92}.ammo.is-low .ammo-rounds i:not(.is-spent){background:#ffad92}.ammo.is-reloading .ammo-detail>span:first-child{color:#a9dfff}.ammo button{color:#fff;background:#ffffff13;border:1px solid #ffffff38;border-radius:6px;justify-content:space-between;align-items:center;width:100%;min-height:44px;margin-top:12px;padding:9px 11px;font-size:12px;display:flex}.ammo button:hover:not(:disabled){background:#ffffff28}.ammo button:disabled{opacity:.4;cursor:default}.ammo kbd{font:inherit;border:1px solid #ffffff4a;border-radius:3px;padding:2px 5px;font-size:10px}.ammo progress{appearance:none;background:#ffffff20;border:0;border-radius:2px;width:100%;height:4px;margin-top:10px;display:block;overflow:hidden}.ammo progress::-webkit-progress-bar{background:#ffffff20}.ammo progress::-webkit-progress-value{background:#a9dfff}.ammo progress::-moz-progress-bar{background:#a9dfff}.is-krass .ammo{display:none}@media (width<=760px){.ammo{width:144px;padding:11px;top:12px;right:12px}.ammo-total output{font-size:38px}.ammo-total>span{font-size:14px}.ammo-rounds{gap:4px;margin:7px 0 9px}.ammo-rounds i{height:11px}.ammo button{margin-top:9px}.ammo-detail{font-size:9px}.ammo-total{gap:8px}.stage .hint{white-space:normal;width:calc(100% - 24px);max-width:none}}
