:root{font-family:Avenir Next,Avenir,Segoe UI,system-ui,sans-serif;color:#e9f1f7;background:#080d15;color-scheme:dark;--line: #273343;--muted: #9aaec0;--gold: #ffdc88;--cyan: #93e5f4}*{box-sizing:border-box}html,body{margin:0;min-width:270px}body{min-height:100dvh;background:radial-gradient(ellipse at 60% 100%,#151521 0,transparent 60%),#090d15}button,select,textarea{font:inherit}button,select{min-height:44px;min-width:44px}button{color:inherit;background:none;border:0;cursor:pointer;touch-action:manipulation}button:disabled{transition:none;cursor:default}button:focus-visible,canvas:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ffe4a1;outline-offset:-2px}button:not(:disabled):hover{filter:brightness(1.15)}svg{flex:none;vertical-align:middle}h1,h2,p{margin:0}button i,.brand i{font-style:normal}button{transition:background .15s,border-color .15s}.mast{border-bottom:1px solid #27313f;background:#0d131e}.mast-in{max-width:1700px;margin:0 auto;min-height:74px;padding:8px clamp(18px,3.1vw,52px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}.brand,.brand>div,.options,.mast nav,.mast nav button,.drone-stat,.eyebrow,.depthrow,.tuning-title,.launch-hint,.launch button,.map-tools,.law-summary,.law-summary span,.pair,.law-detail,.recore,.action,.secondary,.setting-row,.panel-head,.save-buttons{display:flex;align-items:center}.brand{gap:11px}.brand i{height:42px;width:42px;display:grid;place-items:center;border:1px solid #456471;background:linear-gradient(145deg,#263e4a,#17252e);border-radius:9px;color:#b4f4fa}.brand>div{align-items:flex-start;flex-direction:column;gap:5px;white-space:nowrap}.brand b{font-family:Avenir Next Condensed,Arial Narrow,Helvetica Neue,sans-serif;font-weight:800;font-stretch:condensed;font-size:21px;letter-spacing:-.8px;line-height:1.15}.brand small,.eyebrow,.legend,.drone-stat,.depthrow,.tuning-title>span,.launch-hint,.panel-details,.law-summary,.pair,.map-tools,#law-info,.recore,.up-text em,.upgrade strong,kbd{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.brand small{font-size:9px;color:#a4bbc9;letter-spacing:3.2px;font-weight:650}.mast nav{border:1px solid var(--line);border-radius:8px;padding:3px;gap:2px;background:#090e17}.mast nav button{gap:7px;font-size:13px;font-weight:650;justify-content:center;padding:0 14px;border-radius:5px;color:#abc0d0}.mast nav .active{background:#213241;color:#c0f4fa}.options{gap:4px;justify-content:flex-end}.options button,.icon-btn{display:grid;place-items:center;border-radius:5px;color:#bccdd8}.options button:hover,.icon-btn:hover{background:#253341}.options #lang{font-weight:650;font-size:13px}.layout{width:100%;max-width:1700px;margin:0 auto;padding:clamp(14px,2.4vw,38px) clamp(18px,3.1vw,52px);display:grid;grid-template-columns:minmax(0,1fr) clamp(278px,25.2vw,388px);gap:clamp(15px,1.6vw,27px);min-height:min(80dvh,820px)}.field-wrap{position:relative;min-width:0;min-height:395px;height:clamp(465px,calc(100dvh - 140px),870px);overflow:hidden;border:1px solid #384653;border-radius:14px;background:#0e1724;isolation:isolate;padding:0;box-shadow:0 10px 45px #0003}.field-head{position:absolute;z-index:1;top:25px;left:27px;right:27px;display:flex;justify-content:space-between;align-items:flex-start;gap:8px;pointer-events:none}.eyebrow{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.7px;color:#9db8c6;gap:5px}.field-head .eyebrow{color:#a2c9cf}.field-head h1{font-family:Avenir Next,Helvetica Neue,Arial,sans-serif;font-size:clamp(26px,2.8vw,47px);font-weight:650;line-height:1.1;letter-spacing:-1.8px;margin-top:5px;text-shadow:0 2px 10px #08121f}.drone-stat{gap:7px;border:1px solid #49607195;background:#101c29ab;border-radius:20px;padding:6px 11px;color:#c5dfec;font-size:11px}.drone-stat b{font-weight:500}.drone-stat svg{color:#8ce2ec}#mine-field{display:block;width:100%;height:100%;cursor:crosshair;touch-action:manipulation}.legend{position:absolute;left:27px;bottom:17px;display:flex;gap:16px;font-size:10px;color:#a5bbca;pointer-events:none}.legend span{display:flex;align-items:center;gap:6px}.mineral{display:block;width:7px;height:9px;clip-path:polygon(50% 0,100% 42%,50% 100%,0 42%)}.m0{background:#7dddfa}.m1{background:#f194fa}.m2{background:#88e4b8}#notice,#panel-notice{position:absolute;z-index:3;bottom:44px;left:50%;max-width:92%;transform:translate(-50%);border-radius:6px;border:1px solid #567181;background:#101d2af2;color:#e5f8fc;padding:8px 13px;font-size:12px;font-weight:600;text-align:center;pointer-events:none}.console{display:flex;min-width:0;flex-direction:column;align-self:start;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,#17202c,#101620 62%);overflow:hidden}.console>section{padding:clamp(16px,1.7vw,29px)}.console>section+section{border-top:1px solid var(--line)}.reserve .eyebrow{color:var(--gold)}.balance{margin-top:8px;margin-bottom:20px;line-height:1.03;font-family:Helvetica Neue,Arial,sans-serif;font-size:clamp(43px,4.1vw,74px);font-weight:600;letter-spacing:-2.4px;font-variant-numeric:tabular-nums;color:#fff4d2}.depthrow{justify-content:space-between;color:#aec2d0;font-size:11px;gap:9px}.depthrow b{font-weight:500;color:#dfebf1}.progress{height:4px;border-radius:4px;background:#344250;margin-top:9px;overflow:hidden}.progress i{display:block;height:100%;min-width:1px;background:linear-gradient(90deg,#52c9d6,#c9f2f5)}.tuning-title{gap:6px;justify-content:space-between;margin-bottom:13px}.tuning-title h2{font-size:17px;font-weight:620;letter-spacing:-.3px}.tuning-title span{color:#8096a6}.rows{display:flex;flex-direction:column;gap:8px}.upgrade{display:flex;align-items:center;gap:11px;text-align:left;width:100%;border:1px solid #2c3b4a;background:#17212c;border-radius:8px;padding:9px 10px;min-height:60px}.upgrade:disabled{background:#141d28}.upgrade:not(:disabled){border-color:#506573;background:#1b2937}.upgrade i{width:33px;height:33px;border:1px solid currentColor;border-radius:7px;display:grid;place-items:center}.t0 i,.tone0{color:#84d8ff}.t1 i,.tone1{color:#e79af4}.t2 i,.tone2{color:#88e4be}.up-text{display:grid;gap:3px;min-width:0}.up-text b{font-size:14px;font-weight:650;white-space:nowrap}.up-text em{font-size:9px;font-style:normal;color:#a3bbc7;font-weight:450}.up-text small{font-size:11px;color:#b2c3d0}.upgrade strong{margin-left:auto;display:flex;gap:2px;align-items:center;font-size:13px;color:var(--gold);font-weight:550}.upgrade:disabled strong{color:#a8acaa}.launch-hint{gap:7px;color:#bfd0d9;font-size:10px;margin-bottom:11px;line-height:1.45}.launch-hint i{width:6px;height:6px;flex:none;background:#79eab8;border-radius:50%;box-shadow:0 0 7px #5be7ba85}#pulse{position:relative;width:100%;border:1px solid #f8d582;border-radius:7px;background:#ffdb88;color:#302619;gap:10px;padding:0 14px;justify-content:flex-start;min-height:47px;font-size:15px;font-weight:740;overflow:hidden}#pulse:after{position:absolute;content:"";left:0;bottom:0;width:var(--charge, 100%);height:3px;background:#7b5f2d70}kbd{margin-left:auto;border:1px solid #9a784b80;border-radius:4px;padding:3px;font-size:8px;letter-spacing:1px;font-weight:650}dialog{color:#ecf3f6;background:#101925;border:1px solid #445361;border-radius:14px;padding:0;min-width:0;width:min(460px,96vw);max-width:calc(100vw - 14px);max-height:calc(100dvh - 16px);overflow:auto;box-shadow:0 20px 90px #000b}dialog::backdrop{background:#03070dbb;backdrop-filter:blur(4px)}.dialog-shell{padding:20px 23px 23px;position:relative}.panel-head{justify-content:space-between;gap:16px;margin-bottom:17px}.panel-head h2{font-size:26px;font-weight:650;line-height:1.15;margin-top:4px;letter-spacing:-1px}.panel-head .icon-btn{border:1px solid var(--line);flex:none}.panel-head .eyebrow{font-size:9px}.action,.secondary{justify-content:center;gap:7px;padding:8px 15px;font-size:13px;font-weight:650;border-radius:6px}.action{color:#2f2419;background:var(--gold)}.action:disabled,.secondary:disabled{background:#202b37;color:#a5b5bf;border-color:#2f3b47}.secondary{border:1px solid #495966;background:#1b2835;color:#d4e5ec}.wide{width:100%;margin-top:12px}.panel-details,.pair{color:#a4bbc8;font-size:12px}.pair,.setting-row{justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.pair b{color:#dcebf2;font-weight:550}.pair b.tone0{color:#84d8ff}.pair b.tone1{color:#e79af4}.pair b.tone2{color:#88e4be}dialog p{font-size:13px;line-height:1.6;color:#bad0dc;margin:14px 0}.daily-emblem,.offline-hero{border:1px solid #334858;border-radius:8px;background:radial-gradient(ellipse at center,#234253,#15212f 78%);color:var(--cyan);display:flex;align-items:center;justify-content:center;padding:14px}.offline-hero{gap:16px;background:radial-gradient(ellipse at 50% 90%,#4b3827,#1c2530 80%);border-color:#574938;color:var(--gold)}.offline-hero small,.offline-hero strong{display:block}.offline-hero small{font-size:11px}.offline-hero strong{font-size:37px;font-weight:600}.save-label{display:block;margin:17px 0 6px;font-size:13px}textarea,select{background:#0c1420;border:1px solid #40515f;border-radius:5px;color:#e2eff5}textarea{resize:vertical;min-height:78px;width:100%;padding:10px;font-size:12px}.save-buttons{gap:8px;margin-top:8px}.save-buttons button{flex:1}.setting-row{font-size:14px}.setting-row button{min-width:74px}.pane-laws{width:min(810px,96vw)}.pane-laws .panel-head{margin-bottom:8px}.law-summary{gap:15px;justify-content:space-between;font-size:11px;color:#b3cad5;margin:6px 1px 9px}.law-summary span{gap:6px}.law-summary span:first-child{color:var(--gold)}.atlas{position:relative;border:1px solid #354757;border-radius:9px;overflow:hidden;background:#0e1725}#law-map{display:block;width:100%;height:clamp(200px,42dvh,440px);touch-action:none;cursor:grab}#law-map:active{cursor:grabbing}.map-tools{position:absolute;right:7px;bottom:7px;background:#0d1623ee;border:1px solid #394958;border-radius:7px;color:#d3e5ee;font-size:11px}.map-tools span{min-width:33px;text-align:center}.map-tools button{width:44px}.law-detail{margin:12px 0;justify-content:space-between;gap:10px}.law-detail>div{flex:1;min-width:0}.law-detail select{max-width:100%;min-height:44px;width:100%;font-size:13px;margin:4px 0 2px;padding:3px 7px}.law-detail .action{flex:none}.law-detail .eyebrow{font-size:9px}#law-info{font-size:10px;display:block;color:#a9c0ce}.recore{border-top:1px solid var(--line);padding-top:10px;gap:8px;justify-content:space-between;font-size:11px;color:#a5bac8}.recore button{flex:none}#panel-notice{bottom:8px;color:#e7f6fa;z-index:5}@media(min-width:1450px){.console>section{padding:28px}.upgrade{min-height:68px}.tuning-title{margin-bottom:20px}.rows{gap:12px}}@media(max-width:950px){.mast-in{gap:9px;padding:5px 15px;min-height:62px}.mast nav button{padding:0 10px}.brand b{font-size:17px}.brand i{width:33px;height:33px}.brand i svg{width:25px}.brand{gap:8px}.layout{padding:14px;gap:12px;grid-template-columns:minmax(0,1fr) 270px}.field-wrap{height:calc(100dvh - 98px)}.field-head{top:17px;left:16px;right:16px}.legend{left:16px}.console>section{padding:15px}.balance{margin-bottom:12px}}@media(max-width:690px)and (min-height:481px){.mast-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 4px;padding:6px 12px}.mast nav{order:3;width:100%;margin-top:3px;justify-content:stretch}.mast nav button{flex:1;gap:5px;padding:0 4px;font-size:12px;white-space:nowrap}.options{gap:0}.layout{display:flex;flex-direction:column;min-height:0;padding:10px;gap:9px}.field-wrap{min-height:238px;height:clamp(245px,calc(100dvh - 390px),490px);flex:none;border-radius:10px}.field-head{top:12px;left:13px;right:13px}.field-head h1{font-size:26px}.field-head .eyebrow{font-size:10px}.legend{bottom:10px;left:13px;font-size:10px}.console{width:100%;border-radius:10px;display:grid;grid-template-columns:1fr 1fr}.console>section{padding:11px}.console .reserve{grid-column:1;grid-row:1}.reserve .eyebrow{font-size:10px}.balance{font-size:33px;letter-spacing:-1.4px;margin:3px 0 8px}.depthrow{font-size:10px;gap:2px}.console .launch{grid-column:2;grid-row:1;align-self:stretch;border:0;display:flex;flex-direction:column;justify-content:center;padding-left:4px}.launch-hint{font-size:10px;min-height:29px;line-height:1.3;margin-bottom:4px}#pulse{padding:0 9px;justify-content:center;gap:6px;font-size:13px}#pulse kbd{display:none}.console .tuning{grid-column:1/-1;grid-row:2}.tuning-title{margin-bottom:7px}.tuning-title h2{font-size:14px}.rows{flex-direction:row;gap:7px}.upgrade{display:grid;grid-template-columns:1fr auto;gap:3px 2px;align-content:center;padding:6px;min-width:0;min-height:74px}.upgrade i{width:22px;height:22px;border:0}.upgrade i svg{width:18px}.up-text{grid-column:1/-1;grid-row:2}.up-text b{font-size:12px}.up-text small{display:none}.upgrade strong{grid-column:2;grid-row:1;font-size:12px}.up-text em{font-size:10px}.dialog-shell{padding:15px}.panel-head h2{font-size:23px}.law-detail{gap:6px}.law-detail .action{padding:8px}.recore{font-size:10px}}@media(max-height:480px)and (min-width:580px){.mast-in{height:51px;min-height:51px;padding:1px 12px}.brand i{width:31px;height:31px}.brand b{font-size:17px}.mast nav{border:0;padding:0}.mast nav button{font-size:12px}.layout{padding:7px 10px;gap:8px;grid-template-columns:minmax(0,1fr) 259px}.field-wrap{height:calc(100dvh - 65px);min-height:224px;border-radius:9px}.field-head{top:10px;left:12px;right:12px}.field-head h1{font-size:22px}.field-head .eyebrow{font-size:8px}.legend{bottom:8px;left:12px;font-size:8px}.console{border-radius:9px}.console>section{padding:6px 10px}.reserve{display:grid;grid-template-columns:1fr auto;gap:4px}.reserve .eyebrow{font-size:8px}.balance{font-size:25px;margin:0;grid-row:1/3;grid-column:2;align-self:center;letter-spacing:-1px}.depthrow{font-size:8px;grid-column:1}.progress{grid-column:1/-1;margin:0;height:3px}.tuning-title{margin-bottom:3px}.tuning-title h2{font-size:12px}.tuning-title span{display:none}.rows{gap:3px}.upgrade{min-height:44px;padding:2px 6px;gap:8px}.upgrade i{width:26px;height:26px}.up-text b{font-size:11px}.up-text small{font-size:9px}.upgrade strong{font-size:10px}.launch-hint{font-size:8px;margin:0 0 3px}#pulse{min-height:44px;font-size:12px}#law-map{height:155px}.dialog-shell{padding:10px 16px}.panel-head{margin-bottom:5px}.panel-head h2{font-size:20px}.law-detail{margin:6px 0}.dialog-shell .eyebrow{font-size:8px}}@media(max-width:350px){.brand b{font-size:15px}.brand i{display:none}.mast nav button{padding:0 4px;font-size:11px}.options button{min-width:44px}.up-text b{font-size:10px}.console>section{padding:8px}.drone-stat{font-size:9px}.mast nav svg{width:16px}}@media(prefers-reduced-motion:reduce){button{transition:none}}
