:root{--ink:#20343b;--muted:#7c8b8e;--line:#e5e9e4;--mint:#b4edc5;--bg:#f6f7f3;--blue:#4285ed;--red:#ef776c;--yellow:#e5bb53;--purple:#af90d3;font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}svg{display:block}button svg,.text-button svg,.section-label svg,.cloud-icon svg,.control-label svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{color:var(--ink)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4285ed;outline-offset:4px}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.rail{position:fixed;left:0;top:0;bottom:0;width:82px;border-right:1px solid var(--line);background:#fbfcf9;display:flex;align-items:center;flex-direction:column;z-index:20;padding:24px 0}.brand-mark img{border-radius:13px}.rail nav{display:flex;flex-direction:column;gap:16px;margin-top:65px}.nav-item{background:none;border:0;position:relative;width:54px;height:54px;border-radius:15px;display:flex;justify-content:center;align-items:center;color:#8b9798}.nav-item svg{width:23px;height:23px}.nav-item span{position:absolute;left:65px;padding:9px 14px;background:var(--ink);color:white;border-radius:8px;font-size:12px;opacity:0;pointer-events:none;white-space:nowrap;transition:opacity .15s}.nav-item:hover span{opacity:1}.nav-item:hover{background:#f0f3ed;color:var(--ink)}.nav-item.active{color:#355c49;background:#e2f1e4}.nav-item.active:before{content:'';position:absolute;width:3px;height:24px;background:#537b60;left:-14px;border-radius:3px}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;gap:12px}.app-shell{margin-left:82px}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fbfcf9}.wordmark{font-size:29px;letter-spacing:-1.7px;font-weight:800;display:flex;align-items:center}.wordmark>span:first-child{color:#70a180}.brand-tag{font-size:9px;letter-spacing:1.8px;color:#96a09e;font-weight:600;margin-left:26px;padding-left:24px;border-left:1px solid var(--line)}.account-area{display:flex;gap:23px;align-items:center}.sync-pill{display:flex;align-items:center;gap:7px;color:#82918a;font-size:11px}.status-dot{height:6px;width:6px;background:#99b3a0;border-radius:50%;display:inline-block;flex-shrink:0}.sync-pill.error{color:#b76556}.sync-pill.error .status-dot{background:#d9836b}.sync-pill.synced{color:#538462}.sync-pill.synced .status-dot{background:#6cab81}.account-button{padding:0;background:none;border:0;display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600}.account-button svg{width:16px;margin-left:6px}.avatar{display:grid;place-items:center;width:34px;height:34px;border:1px solid #dde5dc;border-radius:50%;background:#eff3eb;color:#657b62;font-size:12px}.account-button>span:nth-child(2){max-width:160px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}main{max-width:1620px;margin:0 auto;padding:30px 42px 18px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.eyebrow{font-size:9px;letter-spacing:1.65px;font-weight:700;color:#81938b;display:flex;align-items:center;gap:7px}.tiny-square{height:5px;width:5px;background:#72997d}h1{font-size:clamp(30px,3.1vw,49px);letter-spacing:-2px;margin:13px 0 12px;line-height:1.05;font-weight:750}h1 span{color:#77977c}.intro p{font-size:13px;color:var(--muted);margin:0}.text-button{display:flex;align-items:center;gap:10px;border:0;background:none;font-size:12px;color:#768882}.intro-help{margin-top:26px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:24px;align-items:start}.battle-card,.mission-card,.stats-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.battle-card{box-shadow:0 8px 24px #263c3403}.battle-header{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 25px}.level-title{display:flex;gap:13px;align-items:center}.level-chip{width:39px;height:43px;display:grid;place-items:center;font-size:17px;background:#edf3e9;border:1px solid #e2ebdc;border-radius:11px;font-weight:600;color:#647f5d}.level-title h2{font-size:16px;letter-spacing:-.35px;margin:0 0 5px}.level-title div>span{font-size:10px;color:#91a092}.battle-meta{display:flex;gap:18px;align-items:center}.live-tag{font-size:8px;letter-spacing:1px;color:#89a191;display:flex;align-items:center;gap:5px}.live-tag:before{content:'';height:5px;width:5px;background:currentColor;border-radius:50%}.timer{font-size:13px;font-variant-numeric:tabular-nums;color:#7c8c8f}.icon-button{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;justify-content:center;background:#fff}.icon-button:hover{background:#f0f4ed}.icon-button svg{width:16px;height:16px}.faction-bar{height:4px;display:flex;background:#e7ede9}.faction-bar span{transition:width .5s}.battlefield{position:relative;background:#edf2ef;isolation:isolate;overflow:hidden}.battlefield>svg{width:100%;height:clamp(330px,calc(100dvh - 490px),590px);touch-action:none;user-select:none;display:block}.map-caption{position:absolute;top:19px;left:25px;right:25px;display:flex;justify-content:space-between;gap:15px;color:#a0afa7;font-size:8px;letter-spacing:1.45px;pointer-events:none}.map-caption b{font-weight:400}.compass{position:absolute;right:19px;bottom:46px;color:#7e9590;display:flex;align-items:center;flex-direction:column;font-size:8px;pointer-events:none}.compass svg{width:28px;height:28px}.map-legend{position:absolute;bottom:20px;left:25px;display:flex;gap:17px;font-size:9px;color:#7e9290;pointer-events:none}.map-legend span,.faction-keys span{display:flex;align-items:center;gap:5px}.map-legend i,.faction-keys i{width:6px;height:6px;border-radius:50%;display:inline-block}.blue{background:var(--blue)}.red{background:var(--red)}.yellow{background:var(--yellow)}.purple{background:var(--purple)}.neutral{background:#b4c1ba}.territory{cursor:pointer;outline:none}.territory .province{stroke:#edf2ef;stroke-width:5;stroke-linejoin:round;transition:fill .25s,filter .2s}.territory:hover .province{filter:brightness(.97)}.territory:focus-visible .province{stroke:#283d42;stroke-width:5}.territory .node-circle{fill:#fff;filter:url(#shadow);stroke-width:2}.territory .count{font-family:Arial,sans-serif;font-size:18px;font-weight:700;pointer-events:none;dominant-baseline:central;text-anchor:middle;fill:#3c555c}.territory .selected-ring{fill:none;stroke:#2873e1;stroke-width:2;stroke-dasharray:5 4;opacity:0}.territory.selected .selected-ring{opacity:1}.territory .crown{font-size:9px;fill:#fff;letter-spacing:1.2px;text-anchor:middle;pointer-events:none}.route-line{fill:none;stroke:#4285ed;stroke-width:3;stroke-dasharray:6 6;pointer-events:none}.fleet-dot{pointer-events:none}.start-overlay{position:absolute;inset:0;background:#edf2ef55;display:flex;align-items:center;justify-content:center;padding:25px;backdrop-filter:blur(2px)}.start-overlay[hidden]{display:none}.start-panel{background:#ffffffed;box-shadow:0 12px 80px #1d3c4a13;border:1px solid #fff;padding:29px 31px 24px;border-radius:17px;max-width:340px;text-align:center}.overline{display:block;color:#87a08b;font-size:8px;font-weight:700;letter-spacing:1.5px}.start-panel h3{font-size:23px;line-height:1.2;letter-spacing:-.7px;margin:13px 0}.start-panel p{color:#8a9798;font-size:11px;line-height:1.75;margin:0 0 21px}.primary-button,.secondary-button{border:0;border-radius:10px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 18px;font-size:12px;font-weight:600;transition:background .15s,transform .15s}.primary-button{background:var(--ink);color:#f8fbf8}.primary-button:hover{background:#355b58;transform:translateY(-1px)}.primary-button svg,.secondary-button svg{width:17px;height:17px}.start-panel .primary-button{width:100%;background:#b4edc5;color:#284635}.start-panel .primary-button:hover{background:#9be2b0}.overlay-note{display:block;margin-top:13px;color:#a0aba5;font-size:9px}.battle-controls{display:flex;align-items:center;padding:21px 25px;gap:24px;min-height:101px}.dispatch-control{width:225px;flex-shrink:0}.control-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#7c8d8b}.control-label svg{width:14px;height:14px}.control-label b{margin-left:auto;color:#547769;font-size:12px}.dispatch-control input{appearance:none;width:100%;height:4px;border-radius:5px;display:block;margin:13px 0 7px;background:#e6eae3;accent-color:#6d9c7c}.dispatch-control input::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:#789e7c;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #8ca78a}.dispatch-control input::-moz-range-thumb{width:9px;height:9px;background:#789e7c;border:2px solid white;border-radius:50%}.range-labels{display:flex;justify-content:space-between;color:#a1aca4;font-size:8px}.controls-divider{height:38px;width:1px;background:var(--line);flex-shrink:0}.controls-hint strong{display:block;font-size:11px;font-weight:500;line-height:1.4}.controls-hint>span{font-size:9px;color:#94a09c;display:block;margin-top:5px;line-height:1.4}.restart-button{margin-left:auto;flex-shrink:0}.mission-sidebar{display:flex;flex-direction:column;gap:17px}.mission-card{padding:22px}.section-label{display:flex;align-items:center;justify-content:space-between;color:#8d9b93;font-size:8px;letter-spacing:1.35px;font-weight:600}.section-label svg{width:15px;height:15px}.chapter-art{position:relative;margin:15px -10px 13px;height:112px;background:#f6f8f3;border-radius:9px;overflow:hidden}.chapter-art>svg{width:100%;height:100%}.chapter-badge{position:absolute;left:12px;bottom:10px;font-size:7px;letter-spacing:.9px;color:#6c8c74;padding:5px 7px;border:1px solid #d9e5d8;border-radius:4px;background:#f7faf2e8}.chapter-badge b{font-weight:500}.mission-card h3{font-size:19px;letter-spacing:-.4px;margin:0 0 8px}.mission-card>p{color:#8f9b93;line-height:1.7;font-size:11px;margin:0 0 23px}.progress-row{display:flex;justify-content:space-between;font-size:9px;color:#97a295}.progress-row b{color:#728771;font-weight:500}.progress-track{height:4px;background:#eaf0e5;border-radius:3px;margin:9px 0 20px;overflow:hidden}.progress-track span{height:100%;display:block;width:0;background:#86ad87;border-radius:3px;transition:width .3s}.secondary-button{border:1px solid #e2e8dc;background:#f6f9f2;color:#647c5b;font-size:10px;width:100%;min-height:39px;justify-content:space-between;padding:10px 14px}.secondary-button:hover{background:#eaf2e5}.stats-card{padding:22px}.stat-row{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.stat-row>span{font-size:10px;color:#8b9995}.stat-row strong{font-size:20px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.8px}.stat-row small{font-size:11px;color:#a4b0a7;letter-spacing:0;font-weight:400}.blue-dot{background:#4285ed}.faction-keys{display:flex;flex-wrap:wrap;gap:12px 10px;margin-top:23px;padding-top:16px;border-top:1px solid #eef1ec;color:#94a093;font-size:8px}.faction-keys [hidden]{display:none}.cloud-card{border:1px solid #dce7dd;background:#eef5e9;border-radius:13px;padding:18px;display:flex;align-items:flex-start;gap:11px;text-align:left}.cloud-card:hover{background:#e5efdf}.cloud-icon{color:#789c76;padding-top:2px}.cloud-icon svg{width:21px}.cloud-card strong{display:block;font-size:11px;line-height:1.5;font-weight:600;color:#638060}.cloud-card p{margin:6px 0 0;font-size:9px;line-height:1.6;color:#92a389}.cloud-card>.cloud-arrow{width:13px;height:13px;margin-top:4px;color:#789c76;flex-shrink:0}footer{display:flex;justify-content:space-between;font-size:8px;color:#a8b3a8;margin-top:26px;letter-spacing:.4px}footer>span:first-child{letter-spacing:1.8px}.footer-dot{margin:0 7px}dialog{border:1px solid #e2e8e0;border-radius:20px;width:min(550px,calc(100% - 30px));padding:24px 28px 30px;color:var(--ink);box-shadow:0 25px 100px #162c3440;max-height:85dvh;overflow:auto}dialog::backdrop{background:#1a30356b;backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-header .icon-button{border:0;background:#f2f5ee}.modal-title{font-size:28px;letter-spacing:-1px;margin:0 0 10px;line-height:1.15}.modal-description{font-size:12px;line-height:1.7;color:#87958d;margin:0 0 24px}.auth-tabs{display:flex;gap:5px;background:#f1f4ed;padding:5px;border-radius:10px;margin-bottom:21px}.auth-tabs button{flex:1;background:none;border:0;border-radius:7px;padding:10px;font-size:12px;color:#8c9b8e}.auth-tabs button.active{background:#fff;color:var(--ink);box-shadow:0 2px 5px #142d3010}.form-field{display:block;margin-bottom:15px;font-size:11px;color:#6f8274}.form-field input,.form-field select{display:block;width:100%;margin-top:7px;min-height:45px;border:1px solid #dfe6dc;border-radius:9px;background:#fafbf8;padding:11px 13px;color:var(--ink);font-size:13px}.form-field input::placeholder{color:#a3afa5}.form-error{color:#b46659;font-size:12px;line-height:1.5;min-height:18px;margin:0 0 10px}.full-width{width:100%}.form-note{font-size:10px;color:#96a595;line-height:1.7;text-align:center;margin-top:16px}.campaign-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:24px}.level-button{aspect-ratio:1;border:1px solid #e3e9e0;border-radius:10px;background:#f4f6ef;color:#8b9c89;font-size:15px;position:relative}.level-button.completed{background:#e0f0dd;color:#527957;border-color:#cfe4cc}.level-button.current{background:var(--ink);color:#fff;border-color:var(--ink)}.level-button svg{width:14px;height:14px;margin:auto}.level-button .mini-star{position:absolute;bottom:4px;right:5px;font-size:8px;color:#608265}.level-button:disabled{cursor:default;opacity:.55}.chapter-heading{color:#829280;font-size:9px;letter-spacing:1px;text-transform:uppercase;margin:22px 0 12px}.achievement-list{display:flex;flex-direction:column;gap:10px}.achievement{display:flex;align-items:center;gap:15px;border:1px solid #e7ebe3;border-radius:12px;padding:15px;background:#f9faf7}.achievement .medal{width:43px;height:43px;display:grid;place-items:center;background:#e6eee1;color:#839a77;border-radius:12px}.medal svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}.achievement.unlocked .medal{background:#cbeacb;color:#507d4e}.achievement h3{font-size:13px;margin:0 0 5px}.achievement p{font-size:10px;color:#8c9b88;margin:0;line-height:1.6}.achievement>span:last-child{font-size:9px;color:#92a78e;margin-left:auto}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid var(--line);gap:20px}.setting-row h3{font-size:13px;margin:0 0 5px}.setting-row p{font-size:10px;color:#92a18d;line-height:1.5;margin:0}.toggle{position:relative;width:41px;height:24px;flex-shrink:0}.toggle input{position:absolute;opacity:0}.toggle span{display:block;width:41px;height:24px;background:#dbe4d8;border-radius:20px;transition:background .2s}.toggle span:after{content:'';position:absolute;width:18px;height:18px;border-radius:50%;top:3px;left:3px;background:white;transition:transform .2s}.toggle input:checked+span{background:#6f9e76}.toggle input:checked+span:after{transform:translateX(17px)}.toggle input:focus-visible+span{outline:3px solid #4285ed;outline-offset:3px}.help-list{counter-reset:step;list-style:none;margin:0;padding:0}.help-list li{counter-increment:step;position:relative;padding:0 0 23px 42px}.help-list li:before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:0;width:29px;height:29px;display:grid;place-items:center;background:#e9f1e4;border-radius:8px;color:#698460;font-size:11px}.help-list h3{font-size:14px;margin:0 0 7px}.help-list p{color:#8c9b8d;font-size:12px;line-height:1.7;margin:0}.help-foot{font-size:10px;color:#849580;padding:14px;background:#f2f6ed;border-radius:9px;line-height:1.7}.result-hero{display:flex;align-items:center;justify-content:center;background:#edf5e7;border-radius:15px;height:100px;margin-bottom:21px}.result-hero svg{width:49px;height:49px;color:#739762;fill:none;stroke:currentColor;stroke-width:1.4}.result-stats{display:flex;justify-content:space-around;margin:23px 0}.result-stats strong{display:block;font-size:25px;letter-spacing:-1px;text-align:center}.result-stats span{font-size:10px;color:#8c9a89;display:block;margin-top:5px}.button-stack{display:flex;flex-direction:column;gap:10px}.button-stack .secondary-button{justify-content:center;font-size:12px}.account-summary{padding:15px;border:1px solid var(--line);border-radius:12px;background:#f7faf3;margin:18px 0 23px}.account-summary div{display:flex;justify-content:space-between;font-size:11px;padding:7px 0;color:#83957d}.account-summary strong{color:#537353;font-weight:500}.danger-button{color:#b67d70;background:none;border:0;padding:13px;font-size:11px;display:block;margin:8px auto 0}.toast{position:fixed;bottom:24px;left:calc(50% + 41px);transform:translateX(-50%);max-width:calc(100% - 40px);padding:14px 22px;background:var(--ink);color:#f8faf7;border-radius:11px;box-shadow:0 5px 25px #182b3424;font-size:12px;line-height:1.6;z-index:100;text-align:center}.toast[hidden]{display:none}.autosave-time{font-variant-numeric:tabular-nums}.reduced-motion *{transition:none!important;animation:none!important}
@media(min-width:1650px){main{padding-top:48px}.battlefield>svg{height:590px}.mission-sidebar{gap:23px}.mission-card{padding:26px}.chapter-art{height:145px}.stats-card{padding:26px}.stat-row{margin-top:24px}.cloud-card{padding:22px}.game-layout{grid-template-columns:minmax(0,1fr) 315px}}
@media(max-width:1190px){.topbar{padding:0 27px}.brand-tag{display:none}main{padding:30px 27px 18px}.game-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.mission-card,.stats-card{padding:18px}.battle-header{padding:0 20px}.battle-meta{gap:12px}.live-tag{display:none}.dispatch-control{width:175px}.battle-controls{padding:19px 20px;gap:16px}.controls-hint>span{max-width:140px}.map-caption span:last-child{display:none}.cloud-card{padding:15px}.cloud-card>.cloud-arrow{display:none}.battlefield>svg{height:470px}.mission-card>p{margin-bottom:17px}.chapter-art{height:100px}}
@media(max-width:950px){.game-layout{grid-template-columns:minmax(0,1fr)}.mission-sidebar{display:grid;grid-template-columns:1.15fr 1fr;gap:16px}.mission-card{display:none}.cloud-card{align-items:center}.cloud-card strong{font-size:13px}.cloud-card p{font-size:11px}.stats-card .section-label{margin-bottom:13px}.stat-row{margin-top:10px}.stat-row strong{font-size:18px}.faction-keys{display:none}.battlefield>svg{height:490px}.account-area{gap:16px}.intro{margin-bottom:25px}h1{font-size:39px}.toast{max-width:calc(100% - 110px)}}
@media(max-width:650px){body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}.rail{top:auto;bottom:0;left:0;right:0;width:auto;height:calc(66px + env(safe-area-inset-bottom));padding:0 14px env(safe-area-inset-bottom);border-top:1px solid var(--line);border-right:0;background:#fbfcf9f7;backdrop-filter:blur(12px);flex-direction:row;justify-content:center}.brand-mark,.help-nav{display:none}.rail nav{flex-direction:row;gap:0;margin:0;flex:3;justify-content:space-around}.rail-bottom{margin:0;flex:1}.nav-item{height:55px;width:64px;flex-direction:column;gap:5px;border-radius:0}.nav-item svg{height:21px;width:21px}.nav-item span{position:static;opacity:1;background:none;color:inherit;font-size:8px;padding:0;letter-spacing:0}.nav-item.active{background:none;color:#537d59}.nav-item.active:before{width:20px;height:2px;left:auto;top:0}.nav-item:hover{background:none}.app-shell{margin-left:0}.topbar{height:73px;padding:0 20px}.wordmark{font-size:27px}.account-area{gap:0}.sync-pill{display:none}.account-button{font-size:10px;gap:7px}.account-button svg{display:none}.avatar{width:30px;height:30px}.account-button>span:nth-child(2){max-width:140px}main{padding:26px 16px 12px}.eyebrow{font-size:7px;letter-spacing:1.3px}h1{font-size:33px;margin:12px 0 10px;letter-spacing:-1.4px}.intro p{font-size:10px}.intro{margin-bottom:23px}.intro-help{display:none}.game-layout{gap:14px}.battle-card{border-radius:14px}.battle-header{height:72px;padding:0 15px}.level-chip{width:32px;height:36px;font-size:14px;border-radius:9px}.level-title{gap:10px}.level-title h2{font-size:13px}.level-title div>span{font-size:8px}.battle-meta{gap:10px}.timer{font-size:11px}.icon-button{width:31px;height:31px;border-radius:8px}.battlefield>svg{height:clamp(325px,48dvh,510px)}.map-caption{left:16px;top:14px;font-size:7px;letter-spacing:1px}.map-legend{left:16px;bottom:15px;font-size:7px;gap:12px}.compass{right:11px;bottom:33px}.start-overlay{padding:16px}.start-panel{max-width:277px;padding:24px 23px 20px}.start-panel h3{font-size:21px}.start-panel p{font-size:10px}.overlay-note{font-size:8px}.primary-button{font-size:11px;min-height:43px}.battle-controls{padding:17px 15px;gap:14px;flex-wrap:wrap;min-height:100px}.dispatch-control{width:calc(100% - 48px);order:0}.restart-button{order:1;margin-left:0}.controls-divider{display:none}.controls-hint{order:2;width:100%;text-align:center;border-top:1px solid #eff2ea;padding-top:10px}.controls-hint strong{font-size:9px}.controls-hint>span{max-width:none;font-size:8px;margin-top:4px}.control-label{font-size:9px}.dispatch-control input{margin-top:11px}.mission-sidebar{display:flex;gap:12px}.stats-card{padding:15px 17px}.stats-card .section-label{display:none}.stat-row{display:inline-flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0;width:32%;vertical-align:top}.stat-row>span{font-size:8px;white-space:nowrap}.stat-row strong{font-size:21px}.stat-row small{font-size:9px}.cloud-card{padding:14px 17px;border-radius:11px;gap:12px}.cloud-card strong{font-size:11px}.cloud-card p{font-size:9px;margin-top:3px}.cloud-card>.cloud-arrow{display:block}.cloud-icon svg{height:24px;width:24px}footer{justify-content:center;margin-top:20px;font-size:7px}footer>span:first-child{display:none}dialog{padding:19px 21px 25px;border-radius:16px;max-height:86dvh}.modal-title{font-size:24px}.modal-description{font-size:11px}.campaign-grid{gap:7px}.level-button{font-size:13px;border-radius:8px}.toast{left:50%;bottom:calc(83px + env(safe-area-inset-bottom));max-width:calc(100% - 25px);width:max-content;font-size:11px}.setting-row p{font-size:9px}}
@media(max-width:360px){.level-title h2{font-size:12px}.account-button>span:nth-child(2){font-size:9px}.battle-meta{gap:7px}.stat-row>span{font-size:7px}.map-legend{gap:8px}.battlefield>svg{height:330px}}
@media(max-height:600px) and (min-width:651px){.topbar{height:65px}main{padding-top:20px}.intro{margin-bottom:20px}h1{font-size:31px}.battlefield>svg{height:330px}.battle-header{height:65px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

@media(min-width:951px) and (max-height:950px){.mission-sidebar{gap:14px}.mission-card,.stats-card{padding:17px}.chapter-art{height:76px;margin:11px -5px 10px}.mission-card>p{display:none}.mission-card h3{font-size:18px;margin-bottom:17px}.progress-track{margin:8px 0 15px}.stat-row{margin-top:12px}.stat-row strong{font-size:19px}.faction-keys{margin-top:16px;padding-top:13px}.cloud-card{padding:15px}.cloud-card p{font-size:9px}}
.launch-cadence{display:flex;gap:12px;align-items:center;margin-top:13px;font-size:10px;color:#80918b}.wave-preview{display:flex;gap:4px}.wave-preview i{width:6px;height:6px;background:#4285ed;border-radius:50%}.fleet-dot{stroke:#fff;stroke-width:.65;pointer-events:none}.territory.launching .node-circle{stroke-width:3.5}.room-code{background:#edf3ed;border:1px solid #dce7dd;border-radius:13px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0}.room-code>span{font-size:8px;letter-spacing:1px}.room-code strong{font-size:26px;letter-spacing:4px;font-variant-numeric:tabular-nums}.room-players{display:grid;gap:10px;margin:20px 0}.room-player{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf1eb}.room-player i{width:10px;height:10px;border-radius:50%;flex-shrink:0}.room-player strong{font-size:12px}.room-player span{font-size:9px;color:#80918b;margin-left:auto}.room-or{text-align:center;font-size:10px;color:#80918b;padding:23px 0}.full-width{width:100%}select{background:#fff;border:1px solid #dbe3dc;border-radius:9px;padding:12px;color:#263c34;width:100%}
.campaign-page{grid-template-columns:repeat(5,minmax(0,1fr))}.campaign-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}.campaign-pagination>span{font-size:12px;font-variant-numeric:tabular-nums;color:#80918b}.campaign-pagination button{width:52px;justify-content:center}.campaign-pagination button:disabled{opacity:.35;cursor:default}.campaign-current{justify-content:center;margin-top:12px}.level-chip.long-level{width:52px;font-size:16px;flex-shrink:0}
@media(max-width:650px){.rail nav{flex:4}.nav-item{width:54px}.battle-controls{min-height:94px}.launch-cadence{font-size:9px;margin-top:9px}.room-code{padding:13px;gap:8px}.room-code strong{font-size:22px;letter-spacing:2px}.room-code>span{font-size:7px}.room-player strong{font-size:11px}.room-player span{font-size:8px}}
@media(max-width:650px){.level-chip.long-level{width:43px;font-size:12px}.campaign-page .level-button{font-size:12px}.campaign-pagination{margin-top:12px}}
