/* Native command cockpit: strategic field and an RTS order tray. */
body.lc-rts-mode{background:#040912;font-family:'Open Sans',system-ui;color:#cbe5ee}.lc-rts-mode .ambient{background:radial-gradient(ellipse at 45% 38%,#102c39aa,#050912e8 75%)}.lc-rts-mode .top{padding:9px 22px;min-height:64px;background:linear-gradient(#1a2837,#0b1522);border-bottom:1px solid #36718c;gap:22px}.lc-rts-mode .top .brand{display:flex;align-items:center;gap:12px;font-size:14px}.lc-rts-mode .top .brand img{width:56px!important}.lc-rts-mode .top .brand small{margin:0;font-size:8px;max-width:80px;line-height:1.5}.lc-rts-mode .top nav{font-size:10px;margin-right:250px;gap:18px}.lc-rts-mode .shell{width:100%;max-width:none;margin:0;padding:10px 16px 32px;position:relative}.lc-rts-mode .shell>.lc-quest-guide{display:none}.lc-rts-mode .lc-sovereign{padding:8px 8px 12px;align-items:center}.lc-rts-mode .lc-sovereign h1{font-size:15px;margin:0;color:#d2f4ff;text-transform:uppercase;letter-spacing:.12em}.lc-rts-mode .lc-sovereign small{font-size:8px}.lc-rts-mode .lc-sovereign p{display:none}.lc-rts-mode .lc-access-state{font-size:11px;padding:9px 14px;margin-bottom:10px;border-color:#256481;clip-path:none;background:linear-gradient(110deg,#0a2130,#111a2b);min-height:52px}.lc-rts-mode .lc-access-state p{font-size:10px}.lc-rts-mode .lc-access-state button{font-size:10px;padding:8px 14px}.lc-rts-mode .lc-command-deck{display:block;position:relative;margin:0 0 18px;border:1px solid #356c87;background:#080f1b;box-shadow:0 0 0 3px #0e1d2a,0 20px 80px #0008}.lc-rts-mode .lc-command-scene{height:calc(100svh - 370px);min-height:390px;border:0;border-bottom:1px solid #3e7084;background:radial-gradient(ellipse at 46% 48%,#193a4a,#091b2b 42%,#050c19 85%)}.lc-rts-mode .lc-command-scene canvas{z-index:2}.lc-tactical-grid{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.lc-rts-mode .lc-command-title{z-index:3;top:18px;left:22px;padding:12px 16px;background:#071721c9;border-left:2px solid #45bdd5;max-width:300px}.lc-rts-mode .lc-command-title h2{font-size:15px!important;margin:4px 0!important;letter-spacing:.03em}.lc-rts-mode .lc-command-title small{font-size:8px}.lc-rts-mode .lc-command-title p{font-size:10px;margin:4px 0 0}.lc-rts-mode .lc-scene-status{z-index:3;bottom:16px;left:22px;background:#091d2cd9;border:1px solid #235776;padding:7px 11px;font-size:10px}.lc-map-coordinate{position:absolute;right:22px;top:20px;z-index:3;text-align:right;font:9px/1.7 monospace;color:#99ccde}.lc-map-coordinate span{display:block;color:#5d92aa}.lc-rts-mode .lc-faction-progress{z-index:3;top:auto;bottom:16px;right:20px;left:auto;font:9px/1.5 monospace;max-width:260px;padding:6px 10px;background:#081724b8;border:1px solid #28536c}.lc-rts-mode .lc-command-orders{display:grid;grid-template-columns:185px 215px minmax(175px,.8fr) minmax(310px,1.5fr);gap:12px;padding:12px;background:linear-gradient(#172636,#0a121f);border:0;position:relative;min-height:170px;box-shadow:inset 0 1px #5c80954a}.lc-mini-map{display:flex;flex-direction:column;justify-content:center;border:1px solid #31556b;box-shadow:inset 0 0 18px #0008;background:#06141d;padding:7px}.lc-mini-map span{font:8px monospace;letter-spacing:.12em;color:#88bacc}.lc-mini-map svg{width:100%;max-height:105px}.lc-mini-map small{font-size:8px;color:#518099}.lc-rts-mode .lc-character{display:grid;grid-template-columns:82px 1fr;align-items:center;border:1px solid #376781;padding:8px;background:radial-gradient(ellipse at 25% 45%,#234a62,#101e2b 80%);position:relative;box-shadow:inset 0 0 15px #0006}.lc-rts-mode .lc-character img{width:90px;height:130px;object-fit:contain}.lc-rts-mode .lc-character p{font-size:10px;line-height:1.55;margin:6px 0}.lc-rts-mode .lc-character small{font-size:8px;letter-spacing:.07em}.lc-command-brief{display:flex;flex-direction:column;gap:9px;padding:12px;border:1px solid #324f67;background:#0b1624}.lc-command-brief small{font-size:8px;color:#72bbd5;letter-spacing:.15em}.lc-command-brief strong{font-size:12px;color:#e1f5fb}.lc-command-brief>span{font-size:10px;color:#83a8bc;line-height:1.5}.lc-command-brief button{margin-top:auto;font-size:9px;padding:6px}.lc-rts-mode .lc-missions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-height:none;margin:0;overflow:visible}.lc-rts-mode .lc-missions a{position:relative;min-height:62px;padding:7px;gap:3px;justify-content:center;text-align:center;background:linear-gradient(140deg,#20384a,#0c1c2c);border:1px solid #436f87;box-shadow:inset 0 1px #80b8ca29,inset 0 -4px #020b1366;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%)}.lc-rts-mode .lc-missions a:hover,.lc-rts-mode .lc-missions a[aria-current=true]{background:linear-gradient(#15536b,#102634);box-shadow:inset 0 0 24px #48c9e829;border-color:#69daef}.lc-rts-mode .lc-command-icon{font:24px/1 monospace;color:#9edfec;text-shadow:0 0 12px #54bbd866}.lc-rts-mode .lc-missions a b,.lc-rts-mode .lc-mission-person,.lc-rts-mode .lc-mission-state{display:none}.lc-rts-mode .lc-missions a small{font-size:8px;color:#b5d7e5}.lc-rts-mode .lc-chronicle{font-size:10px;margin:0;padding:8px 15px;border:0;border-top:1px solid #284b62;background:#070f1c}.lc-rts-mode .lc-business-data{border:1px solid #29546d;background:#091626;padding:14px;margin:18px 0}.lc-rts-mode .lc-business-data>summary{cursor:pointer;font-size:12px;color:#91cde3}.lc-rts-mode .bottom{padding:12px 20px;font-size:10px;background:#080f1a}.lc-rts-mode .lc-cabinet-help{margin:16px 0}.lc-rts-mode .lc-cabinet-help details{padding:12px;background:#0c192a}.lc-rts-mode .lc-search-dock{top:14px;right:22px;height:36px;width:215px}.lc-rts-mode .lc-search-dock input{font-size:11px}.lc-quest-dialog{position:fixed;inset:8vh auto auto 50%;transform:translateX(-50%);margin:0;padding:0;width:min(760px,calc(100vw - 32px));max-height:84vh;color:#d5edf7;background:linear-gradient(125deg,#0d2536,#0a1223 60%,#1c1932);border:1px solid #56a9c5;box-shadow:0 30px 120px #000b;overflow:auto;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px))}.lc-quest-dialog::backdrop{background:#03071199;backdrop-filter:blur(5px)}.lc-quest-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:linear-gradient(#254657,#112636);font:10px monospace;letter-spacing:.1em;border-bottom:1px solid #3b7f9b}.lc-quest-dialog-header button{padding:4px 10px}.lc-quest-dialog [data-quest-body]{padding:22px}.lc-quest-dialog .lc-quest-guide{margin:0 0 15px;padding:12px}.lc-quest-dialog .lc-sovereign{padding:0 0 16px}.lc-quest-dialog .grid{grid-template-columns:1fr 1fr;gap:12px}.lc-quest-dialog .card{padding:16px}.lc-quest-dialog h1{font-size:22px}.lc-quest-dialog h2{font-size:15px}.lc-quest-dialog form p{margin-bottom:12px}.lc-quest-dialog input,.lc-quest-dialog textarea,.lc-quest-dialog select{font-size:13px;padding:10px}.lc-quest-dialog .lc-cabinet-help{display:none}.lc-quest-dialog .lc-form-result{padding:12px;color:#a6eece;border:1px solid #2c8e73;background:#102d2a}.lc-quest-dialog .lc-form-result.error{color:#ffc6b6;border-color:#975548;background:#321d23}
@media(max-width:1100px){.lc-rts-mode .lc-command-orders{grid-template-columns:145px 190px 1fr}.lc-rts-mode .lc-command-brief{display:none}.lc-rts-mode .top nav{gap:10px;margin-right:220px}.lc-rts-mode .lc-command-scene{min-height:360px}.lc-rts-mode .lc-missions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.lc-rts-mode .top{padding:10px 14px;display:block}.lc-rts-mode .top nav{margin:10px 0 0;gap:12px}.lc-rts-mode .shell{padding:8px 10px 95px}.lc-rts-mode .lc-search-dock{top:15px;right:14px;width:190px}.lc-rts-mode .lc-command-scene{height:50svh;min-height:300px}.lc-rts-mode .lc-command-orders{grid-template-columns:104px 1fr;gap:8px;padding:8px}.lc-rts-mode .lc-character{grid-template-columns:65px 1fr;padding:5px}.lc-rts-mode .lc-character img{height:95px;width:65px}.lc-rts-mode .lc-missions{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}.lc-rts-mode .lc-command-title{top:12px;left:12px;padding:9px;max-width:210px}.lc-rts-mode .lc-command-title h2{font-size:12px!important}.lc-rts-mode .lc-command-title p{font-size:8px}.lc-rts-mode .lc-faction-progress{display:none}.lc-map-coordinate{right:10px;top:10px;font-size:7px}.lc-quest-dialog{inset:12px auto auto 50%;max-height:calc(100svh - 24px)}.lc-quest-dialog [data-quest-body]{padding:14px}.lc-quest-dialog .grid{grid-template-columns:1fr}.lc-rts-mode .lc-access-state p{display:none}.lc-rts-mode .lc-access-state{padding:8px}.lc-rts-mode .lc-access-state form{width:auto;margin-left:auto}.lc-rts-mode .lc-access-state button{font-size:9px;padding:7px 8px}.lc-rts-mode .lc-sovereign h1{font-size:12px}.lc-rts-mode .top .brand small{display:none}}
.lineclub-admin .lc-mini-map,.lineclub-admin .lc-command-brief,.lineclub-admin .lc-command-icon{display:none}
.lc-rts-resourcebar{display:none}.lc-rts-mode .lc-rts-resourcebar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 16px;font:10px/1.5 monospace;background:linear-gradient(#1c3446,#0d1c2c);border-bottom:1px solid #3d6f87;color:#a3d4e6}.lc-rts-mode .lc-rts-resourcebar span:first-child{color:#e1f5fd}.lc-rts-mode .lc-rts-resourcebar span:last-child{color:#8ce3c5}@media(max-width:760px){.lc-rts-mode .lc-rts-resourcebar{font-size:8px;gap:6px;padding:8px 10px}.lc-rts-mode .lc-rts-resourcebar span:nth-child(2),.lc-rts-mode .lc-rts-resourcebar span:nth-child(3){display:none}}
/* The cockpit owns the viewport. Detail windows scroll internally only. */
.lc-rts-mode{height:100dvh;min-height:0!important;overflow:hidden!important}.lc-rts-mode .top{height:64px;min-height:64px;flex-shrink:0}.lc-rts-mode .shell{height:calc(100dvh - 64px);padding:8px 12px 12px;display:flex;flex-direction:column;overflow:hidden}.lc-rts-mode .lc-command-deck{flex:1;min-height:0;display:flex;flex-direction:column;margin:0!important;overflow:hidden}.lc-rts-mode .lc-command-scene{flex:1;height:auto!important;min-height:0!important}.lc-rts-mode .lc-command-orders{min-height:172px;max-height:172px;flex-shrink:0}.lc-rts-mode .lc-missions{grid-template-rows:repeat(3,1fr);min-height:0}.lc-rts-mode .lc-missions a{min-height:0!important;gap:2px;padding:5px}.lc-rts-mode .lc-command-icon{font-size:19px}.lc-rts-mode .lc-command-deck>.lc-chronicle{flex-shrink:0;max-height:30px;overflow:hidden}.lc-rts-mode .lc-command-deck>.lc-chronicle[open]{position:absolute;left:12px;right:12px;bottom:184px;z-index:5;max-height:45vh;overflow:auto;border:1px solid #3b839d;box-shadow:0 20px 80px #0009}.lc-rts-mode .lc-business-data,.lc-rts-mode .shell>.lc-cabinet-help,.lc-rts-mode .shell>.notice,.lc-rts-mode .bottom,.lc-rts-mode yeti3-gpu-live,.lc-rts-mode yeti3-network-ad{display:none!important}.lc-rts-mode .lc-sovereign{flex-shrink:0;padding:2px 6px 8px}.lc-rts-mode .lc-access-state{flex-shrink:0;min-height:40px;margin-bottom:8px}.lc-rts-mode .lc-access-state p{display:none}.lc-rts-mode .lc-command-scene:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:3;box-shadow:inset 0 0 65px #0008,inset 0 0 0 1px #3670883b}.lc-demo-widget{width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 32px);top:16px}.lc-demo-widget-body{padding:20px}.lc-demo-widget-body p{font-size:12px;color:#9bc0d2}.lc-demo-live{display:flex;align-items:center;gap:10px;font-size:12px}.lc-demo-live span:last-child{margin-left:auto;font-size:10px;color:#72dcbd}.lc-demo-meter{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px 0;font-size:12px}.lc-demo-meter progress{grid-column:1/-1;width:100%;height:6px;accent-color:#42cdeb}.lc-demo-actionbar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.lc-demo-actionbar button{padding:8px;font-size:11px}.lc-demo-tuning{padding:12px;border:1px solid #29566d;margin:12px 0}.lc-demo-tuning summary{cursor:pointer;font-size:12px;color:#91d3e7}.lc-demo-tuning form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.lc-demo-tuning form p{margin:0}.lc-demo-tuning label{font-size:10px}.lc-demo-tuning input,.lc-demo-tuning select{font-size:12px;padding:8px}.lc-demo-tuning .helptext{font-size:9px}.lc-demo-tuning button{grid-column:1/-1;padding:10px;font-size:11px}.lc-demo-feedback{min-height:20px;color:#9ce8d6;font-size:12px}.lc-rts-mode .lc-quest-dialog .lc-cabinet-help{display:grid}.lc-rts-mode .lc-quest-dialog .lc-business-data{display:block}
@media(max-width:760px){.lc-rts-mode .top{height:86px;min-height:86px}.lc-rts-mode .shell{height:calc(100dvh - 86px);padding:6px 8px 8px}.lc-rts-mode .lc-command-orders{grid-template-columns:88px 1fr;min-height:206px;max-height:206px;gap:5px;padding:6px}.lc-rts-mode .lc-missions{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr)}.lc-rts-mode .lc-character{grid-template-columns:45px 1fr}.lc-rts-mode .lc-character img{height:65px;width:45px}.lc-rts-mode .lc-character p{font-size:9px}.lc-rts-mode .lc-missions a small{font-size:7px}.lc-rts-mode .lc-command-icon{font-size:15px}.lc-rts-mode .lc-mini-map svg{max-height:65px}.lc-rts-mode .lc-access-state{min-height:32px;font-size:9px}.lc-rts-mode .lc-sovereign{display:none}.lc-rts-mode .lc-command-title p{display:none}.lc-rts-mode .lc-command-title{max-width:180px;padding:7px}.lc-demo-widget-body{padding:14px}.lc-demo-live{flex-wrap:wrap}.lc-demo-tuning form{grid-template-columns:1fr 1fr}}
@media(max-height:500px){.lc-rts-mode .lc-access-state,.lc-rts-mode .lc-sovereign{display:none}.lc-rts-mode .top{height:50px;min-height:50px}.lc-rts-mode .shell{height:calc(100dvh - 50px)}.lc-rts-mode .lc-command-orders{grid-template-columns:110px 160px 1fr;min-height:110px;max-height:110px}.lc-rts-mode .lc-missions{grid-column:auto;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr)}.lc-rts-mode .lc-command-brief{display:none}.lc-rts-mode .lc-character img{height:80px;width:55px}.lc-rts-mode .lc-mini-map svg{max-height:75px}}

.lc-command-scene canvas{touch-action:none}.lc-map-controls{position:absolute;z-index:4;right:18px;top:64px;display:flex;gap:4px}.lc-map-controls button{padding:7px 10px;font-size:10px;background:#081d2edd;border:1px solid #36708b;color:#b4e8ef;cursor:pointer}.lc-map-controls button:hover{background:#16465b}.lc-map-controls button:active{box-shadow:inset 0 2px 8px #0008}.lc-map-controls button:focus-visible{outline:2px solid #81ecff;outline-offset:2px}@media(max-width:760px){.lc-map-controls{top:72px;right:10px}.lc-map-controls button{padding:8px;font-size:9px}}

.lc-node-orders{display:flex;gap:6px;padding:8px 0 18px}.lc-node-orders button{font-size:10px;padding:10px}.lc-rts-mode .lc-command-scene{isolation:isolate}

html:has(body.lc-rts-mode){height:100%;overflow:hidden}body.lc-rts-mode{margin:0!important;padding:0!important;height:100dvh!important;max-height:100dvh;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden!important}.lc-rts-mode .top{margin:0!important;box-sizing:border-box;height:64px;min-height:64px;flex:0 0 64px}.lc-rts-mode .shell{height:auto!important;flex:1;min-height:0;box-sizing:border-box;padding:10px 12px!important}.lc-rts-mode .lc-command-deck{min-height:0}.lc-rts-mode yeti3-admin-gpu,.lc-rts-mode [data-yeti3-marketplace-entry]{display:none!important}.lc-rts-mode .lc-chronicle{flex:0 0 24px;min-height:0}.lc-rts-mode .lc-command-orders{box-sizing:border-box}.lc-rts-mode .lc-map-controls button{min-width:32px}@media(max-width:760px){.lc-rts-mode .top{height:86px;min-height:86px;flex-basis:86px}.lc-rts-mode .shell{padding:6px 8px!important}}@media(max-height:500px){.lc-rts-mode .top{height:50px;min-height:50px;flex-basis:50px}}

[data-crew-dossier]{padding:5px 8px!important;font-size:9px!important;min-height:0!important;margin:5px 0;background:#102d40;color:#ace4f3;border:1px solid #36738d;cursor:pointer}.lc-quest-dialog h3{color:#78d8ec;font-size:14px}.lc-quest-dialog p{line-height:1.7}
/* Compact command bar: every pixel above the strategic field has a purpose. */
body.lc-rts-mode .top{height:46px!important;min-height:46px!important;flex-basis:46px!important;padding:5px 12px!important;display:grid!important;grid-template-columns:96px minmax(0,1fr) 208px;gap:10px!important;clip-path:none}.lc-rts-mode .top .brand{gap:0!important;width:78px}.lc-rts-mode .top .brand img{width:42px!important;max-height:34px;object-fit:contain}.lc-rts-mode .top .brand small{display:none!important}.lc-rts-mode .top nav{margin:0!important;justify-content:flex-end;gap:4px!important;flex-wrap:nowrap!important;min-width:0;font-size:10px!important}.lc-rts-mode .top nav>a{padding:7px 10px!important;min-height:30px;box-sizing:border-box;white-space:nowrap;font-size:10px!important;clip-path:polygon(0 0,94% 0,100% 20%,100% 100%,6% 100%,0 80%)}.lc-rts-mode .top nav form{margin:0!important}.lc-rts-mode .top nav form button{font-size:9px!important;padding:6px 9px!important;min-height:28px}.lc-rts-mode .lc-search-dock{position:static!important;grid-column:3;grid-row:1;width:100%!important;height:30px!important;box-sizing:border-box;z-index:20}.lc-rts-mode .lc-search-dock input{font-size:10px;padding:5px 8px}.lc-rts-mode .lc-search-dock button{font-size:19px;padding:0 9px}.lc-rts-mode .lc-rts-resourcebar{padding:6px 12px;min-height:28px;box-sizing:border-box}.lc-rts-mode .shell{padding:7px 10px!important}
@media(max-width:950px){body.lc-rts-mode .top{grid-template-columns:45px minmax(0,1fr) 150px;gap:5px!important}.lc-rts-mode .top nav>a{padding:7px 6px!important;font-size:9px!important}.lc-rts-mode .top .brand{width:42px}}
@media(max-width:640px){body.lc-rts-mode .top{height:70px!important;min-height:70px!important;flex-basis:70px!important;grid-template-columns:42px 1fr;grid-template-rows:28px 25px;gap:4px 8px!important;padding:5px 8px!important}.lc-rts-mode .top .brand{grid-column:1;grid-row:1}.lc-rts-mode .lc-search-dock{grid-column:2;grid-row:1;height:28px!important}.lc-rts-mode .top nav{grid-column:1/-1;grid-row:2;justify-content:space-between!important;gap:2px!important}.lc-rts-mode .top nav>a{font-size:8px!important;padding:4px 5px!important;min-height:25px}.lc-rts-mode .top nav form button{font-size:8px!important;padding:4px 5px!important;min-height:24px}.lc-rts-mode .lc-rts-resourcebar{font-size:8px}.lc-rts-mode .shell{padding:5px 7px!important}}

/* Readable cockpit sizing: layout grows with the viewport, text has a real floor. */
body.lc-rts-mode{--lc-type:clamp(13px,.85vw,18px);font-size:var(--lc-type)}
body.lc-rts-mode .top{height:58px!important;min-height:58px!important;flex-basis:58px!important;grid-template-columns:64px minmax(0,1fr) minmax(210px,18vw);gap:12px!important;padding:7px 14px!important}
.lc-rts-mode .top nav>a{font-size:clamp(13px,.85vw,17px)!important;padding:9px 12px!important;min-height:42px;display:flex;align-items:center}
.lc-rts-mode .top nav form button{font-size:13px!important;min-height:42px;padding:9px 12px!important}
.lc-rts-mode .lc-search-dock{height:42px!important}.lc-rts-mode .lc-search-dock input{font-size:14px!important}
.lc-rts-mode .lc-sovereign h1{font-size:clamp(17px,1.15vw,24px)}.lc-rts-mode .lc-sovereign small{font-size:12px}
.lc-rts-mode .lc-access-state{font-size:14px;min-height:48px}.lc-rts-mode .lc-access-state button{font-size:13px;min-height:40px}
.lc-rts-mode .lc-rts-resourcebar{font-size:13px;padding:8px 14px;min-height:36px}
.lc-rts-mode .lc-command-orders{grid-template-columns:minmax(130px,.65fr) minmax(230px,1fr) minmax(180px,.8fr) minmax(420px,2fr);height:clamp(240px,27dvh,340px);min-height:240px;max-height:340px;gap:10px;padding:10px}
.lc-rts-mode .lc-missions{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px}
.lc-rts-mode .lc-missions a{padding:5px 7px;min-width:0}.lc-rts-mode .lc-missions a small{font-size:clamp(12px,.8vw,16px);line-height:1.2;overflow-wrap:anywhere;color:#d3ebf5}
.lc-rts-mode .lc-command-icon{font-size:24px}.lc-rts-mode .lc-character{grid-template-columns:85px minmax(0,1fr);gap:8px}.lc-rts-mode .lc-character img{width:85px;height:155px}
.lc-rts-mode .lc-character small,.lc-rts-mode .lc-mini-map span,.lc-rts-mode .lc-mini-map small,.lc-rts-mode .lc-command-brief small{font-size:12px;letter-spacing:.04em}
.lc-rts-mode .lc-character p,.lc-rts-mode .lc-command-brief>span{font-size:var(--lc-type);line-height:1.5}.lc-rts-mode .lc-command-brief strong{font-size:16px}
.lc-rts-mode [data-crew-dossier]{font-size:13px!important;padding:8px!important;min-height:36px!important}
.lc-rts-mode .lc-command-brief button{font-size:13px;min-height:40px}
.lc-rts-mode .lc-command-title{max-width:360px}.lc-rts-mode .lc-command-title h2{font-size:clamp(19px,1.3vw,28px)!important}.lc-rts-mode .lc-command-title small,.lc-rts-mode .lc-command-title p,.lc-rts-mode .lc-scene-status,.lc-rts-mode .lc-faction-progress,.lc-map-coordinate{font-size:12px}
.lc-rts-mode .lc-map-controls{top:90px}.lc-rts-mode .lc-map-controls button{font-size:13px;min-width:44px;min-height:44px}
.lc-rts-mode .lc-chronicle{font-size:13px;flex-basis:32px;max-height:32px!important}.lc-rts-mode .lc-command-deck>.lc-chronicle[open]{bottom:calc(clamp(240px,27dvh,340px) + 32px);max-height:45vh!important}
.lc-quest-dialog{width:min(960px,calc(100vw - 32px));font-size:15px}.lc-quest-dialog input,.lc-quest-dialog textarea,.lc-quest-dialog select{font-size:16px;min-height:44px}.lc-quest-dialog-header{font-size:14px}.lc-quest-dialog-header button{min-height:44px;min-width:44px}.lc-quest-dialog h2{font-size:20px}.lc-quest-dialog h3{font-size:17px}
@media(min-width:1900px) and (min-height:900px){.lc-rts-mode .lc-command-orders{grid-template-columns:210px minmax(300px,1fr) minmax(240px,.8fr) minmax(600px,2fr)}.lc-rts-mode .lc-command-title p,.lc-rts-mode .lc-scene-status,.lc-rts-mode .lc-faction-progress,.lc-map-coordinate,.lc-rts-mode .lc-rts-resourcebar{font-size:16px}.lc-rts-mode .lc-character small,.lc-rts-mode .lc-mini-map span,.lc-rts-mode .lc-mini-map small,.lc-rts-mode .lc-command-brief small{font-size:14px}.lc-rts-mode .lc-command-icon{font-size:30px}}
@media(max-width:1200px){.lc-rts-mode .lc-command-orders{grid-template-columns:120px 230px minmax(0,1fr)}.lc-rts-mode .lc-command-brief{display:none}.lc-rts-mode .top nav>a{padding:8px!important;font-size:12px!important}.lc-rts-mode .top nav form button{padding:8px!important;font-size:12px!important}}
@media(max-width:950px){body.lc-rts-mode .top{height:100px!important;min-height:100px!important;flex-basis:100px!important;grid-template-columns:44px 1fr;grid-template-rows:42px 38px;gap:5px 10px!important}.lc-rts-mode .top .brand{grid-column:1;grid-row:1}.lc-rts-mode .lc-search-dock{grid-column:2;grid-row:1}.lc-rts-mode .top nav{grid-column:1/-1;grid-row:2;justify-content:space-between!important}.lc-rts-mode .top nav>a,.lc-rts-mode .top nav form button{min-height:38px;font-size:12px!important;padding:6px!important}.lc-rts-mode .lc-command-orders{grid-template-columns:100px minmax(0,1fr);height:300px;min-height:300px;max-height:300px}.lc-rts-mode .lc-character{grid-template-columns:60px minmax(0,1fr)}.lc-rts-mode .lc-character img{width:60px;height:85px}.lc-rts-mode .lc-character p{font-size:12px;margin:3px 0}.lc-rts-mode .lc-missions{grid-column:1/-1}.lc-rts-mode .lc-missions a small{font-size:12px}.lc-rts-mode .lc-command-icon{font-size:18px}.lc-rts-mode .lc-rts-resourcebar{font-size:12px}.lc-rts-mode .lc-command-deck>.lc-chronicle[open]{bottom:332px}}
@media(max-width:600px){.lc-rts-mode .lc-command-orders{height:310px;min-height:310px;max-height:310px;gap:5px;padding:6px}.lc-rts-mode .lc-access-state{font-size:12px;min-height:40px}.lc-rts-mode .lc-access-state button{font-size:12px;padding:5px;min-height:36px}.lc-rts-mode .lc-command-title small,.lc-map-coordinate{font-size:10px}.lc-rts-mode .lc-command-title h2{font-size:17px!important}.lc-rts-mode .lc-command-title{max-width:210px}.lc-rts-mode .lc-scene-status{font-size:11px;left:10px;bottom:8px}.lc-rts-mode .lc-map-controls{top:80px;right:8px}.lc-rts-mode .lc-map-controls button{font-size:12px;padding:6px;min-width:38px;min-height:38px}.lc-rts-mode .top nav{gap:0!important}.lc-rts-mode .top nav>a,.lc-rts-mode .top nav form button{font-size:11px!important;padding:5px 3px!important}.lc-rts-mode .lc-chronicle{font-size:12px}.lc-rts-mode .lc-mini-map span,.lc-rts-mode .lc-mini-map small{font-size:10px}}
@media(max-height:650px){.lc-rts-mode .lc-command-orders{height:200px;min-height:200px;max-height:200px}.lc-rts-mode .lc-sovereign{display:none}.lc-rts-mode .lc-character p{font-size:12px}.lc-rts-mode .lc-character img{height:95px}.lc-rts-mode .lc-command-title{padding:7px}.lc-rts-mode .lc-command-title p{display:none}.lc-rts-mode .lc-command-deck>.lc-chronicle[open]{bottom:232px}}
@media(max-height:500px){body.lc-rts-mode .top{height:46px!important;min-height:46px!important;flex-basis:46px!important;grid-template-columns:44px minmax(0,1fr) 150px;grid-template-rows:1fr;padding:3px 8px!important}.lc-rts-mode .top nav{grid-column:2;grid-row:1}.lc-rts-mode .lc-search-dock{grid-column:3;grid-row:1;height:36px!important}.lc-rts-mode .lc-command-orders{grid-template-columns:150px minmax(0,1fr);height:160px;min-height:160px;max-height:160px}.lc-rts-mode .lc-mini-map{display:none}.lc-rts-mode .lc-missions{grid-column:auto}.lc-rts-mode .lc-character{grid-template-columns:45px minmax(0,1fr)}.lc-rts-mode .lc-character img{width:45px;height:70px}.lc-rts-mode .lc-character p{display:none}.lc-rts-mode .lc-missions a small{font-size:11px}.lc-rts-mode .lc-command-icon{font-size:16px}.lc-rts-mode .lc-rts-resourcebar{display:none}.lc-rts-mode .lc-command-deck>.lc-chronicle[open]{bottom:192px}}

body.lc-rts-mode .top{width:100%!important;max-width:none!important;align-self:stretch}.lc-rts-mode .top nav>a{flex:1;justify-content:center}.lc-rts-mode .lc-missions:has(a:nth-child(13)){grid-template-rows:repeat(4,minmax(0,1fr))}

@media(max-width:950px) and (min-height:651px){.lc-rts-mode .lc-command-orders{grid-template-rows:100px minmax(0,1fr)}.lc-rts-mode .lc-character{height:100%;box-sizing:border-box}.lc-rts-mode .lc-mini-map svg{max-height:55px}.lc-rts-mode .lc-missions{min-height:0;height:100%}.lc-rts-mode .lc-missions a{overflow:hidden;box-sizing:border-box}}
@media(max-width:600px) and (min-height:501px){body.lc-rts-mode .top{height:148px!important;min-height:148px!important;flex-basis:148px!important;grid-template-rows:42px 88px;padding:6px 8px!important}.lc-rts-mode .top nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,42px);gap:4px!important;width:100%}.lc-rts-mode .top nav>a,.lc-rts-mode .top nav form button{font-size:12px!important;min-height:42px;padding:5px!important;width:100%;justify-content:center}.lc-rts-mode .lc-command-title{max-width:190px}.lc-rts-mode .lc-command-title h2{font-size:16px!important}}

@media(max-width:600px) and (min-height:651px){.lc-rts-mode .lc-missions:not(:has(a:nth-child(10))){grid-template-columns:repeat(3,minmax(0,1fr))}.lc-rts-mode .lc-missions:has(a:nth-child(10)) a[href*="/connector/"] .lc-command-icon{display:none}}
