.dc-surface[data-theme=skeleton-crew]{--dc-bg:#14110f;--dc-world-bg:#1d1814;--dc-world-grid:#3a3128;--dc-world-ground:#2a231c;--dc-panel:#2b2420;--dc-panel-hi:#4a3d33;--dc-panel-lo:#120e0c;--dc-panel-edge:#8a6d3b;--dc-text:#efe3c8;--dc-text-dim:#a89878;--dc-accent:#c9a24a;--dc-select:#7ee081;--dc-target:#ff9d3c;--dc-ok:#7ee081;--dc-bad:#ff5d4d;--dc-warn:#f2c14e;--dc-unit:#6b8f71;--dc-unit-edge:#d8c690;--dc-team-1:#85c7f2;--dc-team-2:#f2f23d;--dc-team-3:#f26161;--dc-team-4:#18f2b1;--dc-team-5:#d977a8;--dc-team-6:#937ee6;--dc-team-7:#b2a212;--dc-team-8:#bcf285;--dc-hp-ok:#5ccf7a;--dc-hp-warn:#f2c14e;--dc-hp-bad:#ff6a5a;--dc-fog:#1a1511;--dc-shroud:#0a0807;--dc-explored:#231d17;--dc-res-1:#f2c14e;--dc-res-2:#8fd18f;--dc-res-3:#7fb0ff;--dc-res-4:#e0d6c0;--dc-sel-ring:#7ee081;--dc-minimap-bg:#0f0c0a;--dc-bone:#efe3c8;--dc-ink:#14110f;--dc-bevel:3px;--dc-radius:2px;--dc-font:"Trebuchet MS", "Segoe UI", sans-serif}.dc-surface[data-theme=neutral]{--dc-bg:#f4f5f7;--dc-world-bg:#fff;--dc-world-grid:#dfe3e8;--dc-world-ground:#eef1f5;--dc-panel:#fff;--dc-panel-hi:#fff;--dc-panel-lo:#fff;--dc-panel-edge:#c4cad3;--dc-text:#1c2430;--dc-text-dim:#5c6877;--dc-accent:#2563eb;--dc-select:#166534;--dc-target:#a14a07;--dc-ok:#166534;--dc-bad:#b91c1c;--dc-warn:#92400e;--dc-unit:#3b82f6;--dc-unit-edge:#1e3a8a;--dc-team-1:#4418f2;--dc-team-2:#a64c11;--dc-team-3:#2e736c;--dc-team-4:#9836d9;--dc-team-5:#725ba6;--dc-team-6:#30401a;--dc-team-7:#4c0831;--dc-team-8:#390959;--dc-hp-ok:#166534;--dc-hp-warn:#92400e;--dc-hp-bad:#b91c1c;--dc-fog:#c9cfd8;--dc-shroud:#8b95a5;--dc-explored:#dde2e9;--dc-res-1:#8a5a00;--dc-res-2:#166534;--dc-res-3:#1d4ed8;--dc-res-4:#374151;--dc-sel-ring:#166534;--dc-minimap-bg:#e8ecf1;--dc-bone:#1c2430;--dc-ink:#fff;--dc-bevel:0px;--dc-radius:6px;--dc-font:system-ui, -apple-system, "Segoe UI", sans-serif}.dc-surface{background:var(--dc-bg);height:100%;min-height:480px;color:var(--dc-text);font:13px/1.35 var(--dc-font);outline:none;grid-template-rows:auto auto minmax(0,1fr) auto;display:grid;position:relative}.dc-surface *,.dc-surface :before,.dc-surface :after{box-sizing:border-box}.dc-surface:focus-visible{box-shadow:inset 0 0 0 2px var(--dc-accent)}.dc-panel{background:var(--dc-panel);border:1px solid var(--dc-panel-edge);border-radius:var(--dc-radius);box-shadow:inset var(--dc-bevel) var(--dc-bevel) 0 var(--dc-panel-hi), inset calc(var(--dc-bevel) * -1) calc(var(--dc-bevel) * -1) 0 var(--dc-panel-lo)}.dc-surface[data-theme=skeleton-crew] .dc-panel{border-width:2px}.dc-title{letter-spacing:.04em;text-transform:uppercase;color:var(--dc-accent);margin:0 0 4px;font-size:11px;font-weight:700}.dc-top{flex-wrap:wrap;align-items:center;gap:8px;padding:4px 8px;display:flex}.dc-top .dc-spacer{flex:1}.dc-btn{background:var(--dc-panel);color:var(--dc-text);border:1px solid var(--dc-panel-edge);border-radius:var(--dc-radius);box-shadow:inset var(--dc-bevel) var(--dc-bevel) 0 var(--dc-panel-hi), inset calc(var(--dc-bevel) * -1) calc(var(--dc-bevel) * -1) 0 var(--dc-panel-lo);font:inherit;cursor:pointer;padding:3px 8px}.dc-btn:hover:not(:disabled){border-color:var(--dc-accent)}.dc-btn[aria-pressed=true],.dc-btn[data-armed=true]{outline:2px solid var(--dc-accent)}.dc-btn:disabled{opacity:.45;cursor:not-allowed}.dc-btn[data-eligible=false]{border-style:dashed}.dc-main{grid-template-columns:minmax(0,1fr) 280px;gap:6px;min-height:0;padding:0 6px;display:grid}.dc-center{grid-template-rows:minmax(0,1fr) auto auto;gap:4px;min-height:0;display:grid}.dc-viewport{background:var(--dc-world-bg);touch-action:none;-webkit-user-select:none;user-select:none;min-height:240px;position:relative;overflow:hidden}.dc-viewport[data-armed=true],.dc-viewport[data-placing=true]{cursor:crosshair}.dc-viewport-inner{position:absolute;inset:0}.dc-dragbox{border:1px solid var(--dc-select);background:color-mix(in srgb, var(--dc-select) 18%, transparent);pointer-events:none;position:absolute}.dc-banner{pointer-events:none;z-index:2;padding:3px 8px;position:absolute;top:8px;left:8px}.dc-banner[data-valid=false]{border-color:var(--dc-bad);color:var(--dc-bad)}.dc-banner[data-valid=true]{border-color:var(--dc-ok)}.dc-widgets{flex-direction:column;gap:4px;display:flex}.dc-widget{padding:6px 8px}.dc-widget-head{justify-content:space-between;align-items:center;display:flex}.dc-side{flex-direction:column;gap:6px;min-height:0;display:flex;overflow:auto}.dc-queue{flex:none;min-height:96px;max-height:24%;padding:6px 8px;overflow:auto}.dc-queue,.dc-scroll{scrollbar-width:thin;scrollbar-color:var(--dc-panel-edge) transparent;overflow:auto}.dc-scroll{background-image:linear-gradient(var(--dc-panel) 30%, transparent), linear-gradient(transparent, var(--dc-panel) 70%), radial-gradient(farthest-side at 50% 0, #0000008c, transparent), radial-gradient(farthest-side at 50% 100%, #0000008c, transparent);background-position:top,bottom,top,bottom;background-repeat:no-repeat;background-size:100% 14px,100% 14px,100% 7px,100% 7px;background-attachment:local,local,scroll,scroll}.dc-row{border-top:1px dashed var(--dc-panel-edge);grid-template-columns:1fr auto;gap:2px 6px;padding:3px 0;display:grid}.dc-row small{color:var(--dc-text-dim)}.dc-chip{border:1px solid var(--dc-panel-edge);border-radius:99px;padding:0 6px;font-size:11px;display:inline-block}.dc-chip[data-state=confirmed]{border-color:var(--dc-ok);color:var(--dc-ok)}.dc-chip[data-state=failed],.dc-chip[data-state=rejected]{border-color:var(--dc-bad);color:var(--dc-bad)}.dc-chip[data-state=unresolved],.dc-chip[data-state=requested],.dc-chip[data-state=running]{border-color:var(--dc-warn);color:var(--dc-warn)}.dc-shortcuts{align-items:center;gap:6px;padding:4px 8px;display:flex}.dc-shortcuts input,.dc-palette input,.dc-palette select{background:var(--dc-world-bg);color:var(--dc-text);border:1px solid var(--dc-panel-edge);border-radius:var(--dc-radius);font:inherit;padding:3px 6px}.dc-shortcuts input{flex:1}.dc-result{min-height:24px;padding:3px 8px}.dc-result[data-ok=false]{color:var(--dc-bad)}.dc-hud{grid-template-columns:var(--dc-minimap-w,180px) 200px minmax(0, 1fr) 560px;height:max(clamp(170px, 23.5vh, 210px), calc(var(--dc-minimap-h,0px) + 64px));gap:6px;padding:6px;display:grid}.dc-hud>*{min-height:0;padding:6px 8px;overflow:auto}.dc-minimap canvas{width:100%;height:var(--dc-minimap-h,120px);background:var(--dc-world-bg);border:1px solid var(--dc-panel-edge);display:block}.dc-portrait{flex-direction:column;align-items:center;gap:4px;display:flex}.dc-portrait .dc-art{background:var(--dc-world-bg);border:1px solid var(--dc-panel-edge);place-items:center;width:84px;height:84px;display:grid}.dc-art img,.dc-art svg,.dc-art-svg{object-fit:contain;width:100%;height:100%}.dc-art-initials{color:var(--dc-accent);font-size:26px;font-weight:700}.dc-card{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));align-content:start;gap:4px;display:grid}.dc-card .dc-btn{text-align:left;overflow-wrap:anywhere;min-height:34px}.dc-card small{color:var(--dc-text-dim);font-size:10px;display:block}.dc-kv{grid-template-columns:auto 1fr;gap:0 8px;display:grid}.dc-kv dt{color:var(--dc-text-dim)}.dc-kv dd{word-break:break-all;margin:0}.dc-palette{z-index:3;flex-direction:column;gap:6px;width:260px;max-height:70%;padding:8px;display:flex;position:absolute;bottom:8px;left:8px;overflow:auto}.dc-palette label{gap:2px;display:grid}.dc-err{color:var(--dc-bad);font-size:12px}.dc-hint{align-items:center;gap:8px;min-height:30px;margin:4px 6px 0;padding:4px 8px;display:flex}.dc-hint-text{flex:1;min-width:0}.dc-hint[data-hint-kind=armed],.dc-hint[data-hint-kind=placing]{border-color:var(--dc-target)}.dc-hint[data-hint-kind=armed] .dc-hint-text,.dc-hint[data-hint-kind=placing] .dc-hint-text{color:var(--dc-target);font-weight:700}.dc-help-btn{border-radius:50%;width:26px;padding:3px 0;font-weight:800}.dc-help{z-index:20;width:min(560px,100% - 24px);padding:10px 14px;position:absolute;top:84px;left:50%;transform:translate(-50%)}.dc-help-steps{gap:4px;margin:4px 0 8px;padding-left:20px;display:grid}.dc-help-domain{color:var(--dc-text);margin:4px 0}.dc-help code{color:var(--dc-accent)}.dc-help-actions{align-items:center;gap:10px;margin-top:8px;display:flex}.dc-help-actions small{color:var(--dc-text-dim)}.dc-card-title{grid-column:1/-1;margin:0}.dc-card-cell{gap:2px;min-width:0;display:flex}.dc-card-cell>.dc-btn:first-child{flex:1;min-width:0}.dc-opts{align-self:stretch;padding:0 4px;font-size:10px}.dc-argform{z-index:6;flex-direction:column;gap:6px;width:320px;max-height:60%;padding:8px 10px;display:flex;position:absolute;bottom:182px;right:12px;overflow:auto}.dc-field{gap:2px;display:grid}.dc-argform input,.dc-argform select,.dc-palette input,.dc-palette select{background:var(--dc-world-bg);color:var(--dc-text);border:1px solid var(--dc-panel-edge);border-radius:var(--dc-radius);font:inherit;padding:3px 6px}.dc-argform [aria-invalid=true],.dc-palette [aria-invalid=true]{border-color:var(--dc-bad)}.dc-opt,.dc-dim{color:var(--dc-text-dim)}.dc-hint-inline{color:var(--dc-target);font-weight:700}.dc-argform-actions{justify-content:flex-end;display:flex}.dc-primary{border-color:var(--dc-accent)}.dc-undo{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.dc-toast{z-index:4;pointer-events:none;border-color:var(--dc-bad);width:288px;color:var(--dc-text);padding:6px 8px;position:absolute}.dc-toast strong{color:var(--dc-bad)}.dc-card-note{grid-column:1/-1;margin:0}.dc-card .dc-btn[aria-disabled=true] small{white-space:normal;color:var(--dc-warn)}.dc-queue-head{background:var(--dc-panel);z-index:1;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex;position:sticky;top:0}.dc-queue-head .dc-title{margin:0}.dc-queue-actions{gap:4px;display:flex}.dc-queue-actions .dc-btn{padding:1px 6px;font-size:11px}.dc-queue[data-collapsed=true]{min-height:0}.dc-row small{overflow-wrap:anywhere}.dc-reset{z-index:30;width:min(460px,100% - 24px);padding:10px 14px;position:absolute;top:25%;left:50%;transform:translate(-50%)}.dc-reset p{margin:4px 0}.dc-reset-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.dc-reset-actions .dc-spacer{flex:1}.dc-danger{border-color:var(--dc-bad);color:var(--dc-bad)}.dc-surface button:focus-visible,.dc-surface input:focus-visible,.dc-surface select:focus-visible,.dc-surface textarea:focus-visible,.dc-surface [tabindex]:focus-visible{outline:3px solid var(--dc-accent);outline-offset:2px}.dc-viewport:focus-visible{outline-offset:-3px}.dc-kbcursor{border:2px solid var(--dc-target);background:color-mix(in srgb, var(--dc-target) 20%, transparent);pointer-events:none;z-index:5;border-radius:50%;width:22px;height:22px;margin:-11px 0 0 -11px;position:absolute}.dc-kbcursor:before,.dc-kbcursor:after{content:"";background:var(--dc-target);position:absolute}.dc-kbcursor:before{width:2px;margin-left:-1px;top:-5px;bottom:-5px;left:50%}.dc-kbcursor:after{height:2px;margin-top:-1px;top:50%;left:-5px;right:-5px}.dc-entities{flex:none;padding:4px 8px}.dc-entities .dc-title{margin:0}.dc-entities-toggle{text-transform:uppercase;letter-spacing:.04em;color:var(--dc-accent);font-size:11px;font-weight:700}.dc-entities-help{margin:4px 0;font-size:11px}.dc-entity-list{max-height:160px;margin:0;padding:0;list-style:none;overflow:auto}.dc-entity{cursor:pointer;border-left:3px solid #0000;align-items:baseline;gap:6px;padding:2px 6px;display:flex}.dc-entity[aria-selected=true]{border-left-color:var(--dc-select);background:color-mix(in srgb, var(--dc-select) 16%, transparent);font-weight:700}.dc-entity[data-flagged=true]{border-left-color:var(--dc-bad);color:var(--dc-bad)}.dc-palette-list{margin:0;padding:0;list-style:none}.dc-palette-list li{margin-bottom:3px}.dc-palette-list .dc-btn{text-align:left;width:100%;display:block}@media (prefers-reduced-motion:reduce){.dc-surface *,.dc-surface :before,.dc-surface :after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}@media (max-width:1100px){.dc-hud{grid-template-columns:150px minmax(0,1fr) minmax(0,1.4fr)}.dc-hud .dc-minimap{display:none}.dc-main{grid-template-columns:minmax(0,1fr) 240px}}@media (max-width:760px){.dc-surface{grid-template-rows:auto auto auto auto;height:auto;min-height:100%}.dc-main{grid-template-columns:minmax(0,1fr);min-height:0}.dc-center{grid-template-rows:300px auto auto}.dc-viewport{min-height:300px}.dc-side{overflow:visible}.dc-queue{max-height:220px}.dc-hud{grid-template-columns:minmax(0,1fr);height:auto}.dc-hud>*{overflow:visible}.dc-hud .dc-minimap{display:none}.dc-card{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-top{gap:6px}.dc-argform{z-index:40;width:auto;max-height:70vh;position:fixed;bottom:8px;left:8px;right:8px}.dc-palette{width:auto;left:4px;right:4px}.dc-help,.dc-reset{top:120px}}.dc-irrev{color:var(--dc-warn);font-weight:700;display:block}.dc-kv[hidden]{display:none}.dc-steps{margin:2px 0}.dc-steps>summary{cursor:pointer;color:var(--dc-text-dim);font-size:11px}.dc-banner-row{border-color:var(--dc-warn);color:var(--dc-text);margin:0 6px;padding:4px 8px}.dc-sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dc-cc{grid-column:1/-1;gap:4px;min-width:0;display:grid}.dc-cc-grid{grid-auto-rows:minmax(46px,auto);gap:4px;display:grid}.dc-cc-cell{min-width:0;position:relative}.dc-cc-btn{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:100%;height:100%;min-height:46px;padding:2px 3px;display:flex;position:relative}.dc-cc-btn[aria-disabled=true]{color:var(--dc-text-dim);cursor:not-allowed;border-style:dashed}.dc-cc-btn[data-confirming=true]{outline:2px solid var(--dc-warn)}.dc-icon{flex:none;place-items:center;width:22px;height:22px;display:grid}.dc-icon-text{color:var(--dc-accent);font-size:12px;font-weight:700}.dc-cc-label{overflow-wrap:anywhere;font-size:11px;line-height:1.1}.dc-cc-key{font:10px/1 var(--dc-font);border:1px solid var(--dc-panel-edge);background:var(--dc-world-bg);color:var(--dc-text);border-radius:2px;padding:1px 2px;position:absolute;top:1px;right:2px}.dc-cc-cost{color:var(--dc-text-dim);font-size:10px}.dc-cc-tip{pointer-events:none;z-index:60;width:max-content;max-width:240px;padding:6px 8px;font-size:12px;position:fixed}.dc-cc-tip p{margin:2px 0}.dc-cc-req{margin:2px 0;padding-left:14px}.dc-cc-req [data-met=false]{color:var(--dc-bad)}.dc-cc-req [data-met=true]{color:var(--dc-ok)}.dc-cc-warn,.dc-cc-why{color:var(--dc-warn)}.dc-cc-status{min-height:1.35em;color:var(--dc-warn);font-size:11px}.dc-cc-subs{flex-wrap:wrap;gap:4px;display:flex}.dc-help-keys{max-height:30vh}.dc-help-keyrow{display:contents}.dc-help-keys kbd,.dc-keys kbd{font:11px/1 var(--dc-font);border:1px solid var(--dc-panel-edge);background:var(--dc-world-bg);color:var(--dc-text);border-radius:2px;padding:2px 4px}.dc-keys{z-index:50;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;gap:6px;width:min(560px,100% - 16px);max-height:75vh;padding:8px 10px;display:grid;position:absolute;top:90px;left:50%;transform:translate(-50%)}.dc-keys-list{min-height:0;overflow:auto}.dc-keys-rows{gap:3px;margin:0 0 6px;padding:0;list-style:none;display:grid}.dc-keys-rows li{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;display:grid}.dc-keys-rows li>small.dc-err{grid-column:1/-1}.dc-ghost{z-index:5;pointer-events:none;border:2px dashed var(--dc-bad);color:var(--dc-bad);position:absolute}.dc-ghost:before{content:"";opacity:.22;background:currentColor;position:absolute;inset:0}.dc-ghost[data-valid=true]{border-color:var(--dc-ok);color:var(--dc-ok)}.dc-palette-why{color:var(--dc-warn);display:block}.dc-hudtop{flex-wrap:wrap;align-items:center;gap:12px;margin:0 6px;padding:3px 8px;display:flex}.dc-selgrid ul{gap:3px;margin:0;padding:0;list-style:none;display:grid}.dc-selgrid-btn{aspect-ratio:1;white-space:nowrap;justify-content:center;align-items:center;gap:3px;width:100%;min-height:26px;padding:0 3px;font-size:11px;line-height:1.1;display:flex;overflow:hidden}.dc-selgrid-name{text-overflow:ellipsis;min-width:0;overflow:hidden}.dc-selgrid-id{color:var(--dc-text-dim);flex:none;font-size:10px}.dc-selgrid-btn .dc-icon{width:16px;height:16px}.dc-selgrid-btn[data-flagged=true]{border-color:var(--dc-warn);border-style:dashed}.dc-alerts{align-items:flex-start;gap:8px;min-height:0;margin:0 6px;padding:0 8px;display:flex}.dc-alerts-log{flex:1}.dc-alerts ul{flex-wrap:wrap;gap:2px 14px;margin:0;padding:0;list-style:none;display:flex}.dc-alerts li[data-kind=attack]{color:var(--dc-bad)}.dc-alerts li[data-kind=warn]{color:var(--dc-warn)}.dc-alerts li[data-kind=complete]{color:var(--dc-ok)}.dc-clock{gap:4px;display:inline-flex}.dc-overlay{z-index:45;width:min(420px,100% - 24px);max-height:calc(100% - 24px);padding:10px 12px;position:absolute;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.dc-strips{gap:3px;min-width:0;display:grid}.dc-hud[data-hud=rts] .dc-minimap canvas{background:var(--dc-minimap-bg)}.dc-selgrid-btn{outline:1px solid var(--dc-sel-ring);outline-offset:-1px}.dc-hud[data-hud=rts]{height:max(clamp(210px, 28vh, 260px), calc(var(--dc-minimap-h,0px) + 64px))}.dc-drawer-toggles{gap:4px;display:inline-flex}.dc-surface[data-layout=rts]{--dc-band-h:clamp(112px, 16.6vh, 26vh);grid-template-rows:auto minmax(0,1fr) auto}.dc-surface[data-layout=rts] .dc-top{gap:4px;padding:2px 6px}.dc-surface[data-layout=rts] .dc-top .dc-btn{min-height:24px;padding:0 8px}.dc-surface[data-layout=rts] .dc-top>*{flex:none}.dc-surface[data-layout=rts] .dc-top .dc-help-btn{width:24px;padding:0}.dc-surface[data-layout=rts] .dc-top>strong{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.dc-surface[data-layout=rts] .dc-top [data-slot=controls] :is(div,section,p){white-space:nowrap;background:0 0;border-width:0;flex-wrap:nowrap;padding:0 2px}.dc-surface[data-layout=rts] .dc-top .dc-spacer{flex:0 0 0}.dc-surface[data-layout=rts] .dc-hudtop{flex:280px;min-width:min-content;margin:0;padding:0;overflow:hidden}.dc-surface[data-layout=rts] .dc-hudtop section{white-space:nowrap;background:0 0;border-width:0;flex-wrap:nowrap;align-items:baseline;gap:4px 8px;min-width:0;padding:2px 4px;display:flex}.dc-surface[data-layout=rts] .dc-hudtop section>*{flex:none}.dc-surface[data-layout=rts] .dc-hudtop section>:last-child{flex:0 auto;gap:0 4px;min-width:0;display:flex}.dc-surface[data-layout=rts] .dc-hudtop section>:last-child>*{flex:none}.dc-surface[data-layout=rts] .dc-hudtop section>:last-child>:last-child:not(:first-child){text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.dc-surface[data-layout=rts] .dc-hudtop ul{flex-wrap:nowrap}.dc-surface[data-layout=rts] .dc-main{grid-template-columns:minmax(0,1fr);padding:3px 6px 0}.dc-surface[data-layout=rts] .dc-main[data-drawer=true]{grid-template-columns:minmax(0,1fr) minmax(220px,300px)}.dc-surface[data-layout=rts] .dc-center{grid-template-rows:minmax(0,1fr);gap:0;position:relative}.dc-surface[data-layout=rts] .dc-viewport{min-height:0}.dc-surface[data-layout=rts] .dc-side[data-open=false],.dc-surface[data-layout=rts] .dc-drawer-item[data-open=false]{display:none}.dc-surface[data-layout=rts] .dc-msgs{z-index:3;pointer-events:none;flex-direction:column;align-items:flex-start;gap:2px;width:min(760px,100% - 12px);display:flex;position:absolute;bottom:6px;left:6px}.dc-surface[data-layout=rts] .dc-msgs button{pointer-events:auto}.dc-surface[data-layout=rts] .dc-msgs>*{text-overflow:ellipsis;white-space:nowrap;background:color-mix(in srgb, var(--dc-panel) 94%, transparent);border:1px solid var(--dc-panel-edge);border-radius:var(--dc-radius);max-width:100%;min-height:0;box-shadow:none;margin:0;padding:1px 8px;overflow:hidden}.dc-surface[data-layout=rts] .dc-msgs>.dc-alerts:not(:has(li)){background:0 0;border-color:#0000;padding:0}.dc-surface[data-layout=rts] .dc-msgs .dc-alerts ul{flex-flow:column;gap:1px}.dc-surface[data-layout=rts] .dc-msgs .dc-alerts li{white-space:nowrap}.dc-surface[data-layout=rts] .dc-msgs:has(.dc-hint[data-hint-kind=result]) .dc-result{clip:rect(0 0 0 0);border:0;width:1px;height:1px;padding:0;position:absolute}.dc-surface[data-layout=rts] .dc-msgs .dc-hint{align-self:flex-start}.dc-surface[data-layout=rts] .dc-msgs .dc-btn{min-height:24px;padding-top:0;padding-bottom:0}@media (min-width:761px){.dc-surface[data-layout=rts] .dc-hud{height:var(--dc-band-h);grid-template-columns:auto minmax(0,1fr) minmax(280px,38%);gap:6px;max-height:26vh;padding:4px 6px}.dc-surface[data-layout=rts] .dc-hud>*{padding:4px 6px}.dc-surface[data-layout=rts] .dc-hud .dc-minimap{display:block}.dc-surface[data-layout=rts] .dc-minimap .dc-title,.dc-surface[data-layout=rts] .dc-card .dc-card-title{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.dc-surface[data-layout=rts] .dc-minimap{overflow:hidden}.dc-surface[data-layout=rts] .dc-minimap canvas{height:calc(var(--dc-band-h) - 24px);width:calc((var(--dc-band-h) - 24px) * var(--dc-minimap-ar,1));max-width:100%}.dc-surface[data-layout=rts] .dc-portrait{flex-flow:wrap;align-content:flex-start;align-items:flex-start;gap:2px 8px}.dc-surface[data-layout=rts] .dc-portrait .dc-art{width:56px;height:56px}.dc-surface[data-layout=rts] .dc-portrait>strong,.dc-surface[data-layout=rts] .dc-portrait>small{flex:90px}.dc-surface[data-layout=rts] .dc-portrait .dc-selgrid{flex:55%;min-width:0}.dc-surface[data-layout=rts] .dc-selgrid-btn{aspect-ratio:auto;height:24px;min-height:24px}.dc-surface[data-layout=rts] .dc-portrait>[data-slot=selection]{flex:150px;min-width:0}.dc-surface[data-layout=rts] .dc-card{display:block}.dc-surface[data-layout=rts] .dc-cc{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:2px 4px}.dc-surface[data-layout=rts] .dc-cc>*{grid-column:1/-1}.dc-surface[data-layout=rts] .dc-cc-subs{flex-flow:column;grid-column:1}.dc-surface[data-layout=rts] .dc-cc-subs+.dc-cc-grid{grid-column:2}.dc-surface[data-layout=rts] .dc-cc-grid{grid-auto-rows:26px;gap:3px}.dc-surface[data-layout=rts] .dc-cc-btn{text-align:left;grid-template-rows:auto auto;grid-template-columns:22px minmax(0,1fr) auto;align-content:center;justify-items:start;gap:0 4px;min-height:0;padding:0 3px;display:grid}.dc-surface[data-layout=rts] .dc-cc-btn .dc-icon{grid-row:1/span 2;align-self:center;width:22px;height:18px}.dc-surface[data-layout=rts] .dc-cc-btn .dc-icon-text{white-space:nowrap;font-size:11px}.dc-surface[data-layout=rts] .dc-cc-label{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;grid-area:1/2;min-width:0;max-width:100%;line-height:1.05;display:-webkit-box;overflow:hidden}.dc-surface[data-layout=rts] .dc-cc-btn:has(.dc-cc-cost) .dc-cc-label{-webkit-line-clamp:1;line-clamp:1}.dc-surface[data-layout=rts] .dc-cc-btn:not(:has(.dc-cc-cost)) .dc-cc-label{grid-row:1/span 2;align-self:center}.dc-surface[data-layout=rts] .dc-cc-cost{text-overflow:ellipsis;white-space:nowrap;grid-area:2/2;max-width:100%;line-height:1;overflow:hidden}.dc-surface[data-layout=rts] .dc-cc-key{grid-area:1/3/span 2;align-self:center;position:static}.dc-surface[data-layout=rts] .dc-cc-btn:focus-visible{outline-offset:-3px}.dc-surface[data-layout=rts] .dc-cc-status{min-height:0;line-height:1.2}}.dc-surface[data-layout=rts] .dc-overlay{z-index:50;width:min(480px,100vw - 16px);max-height:calc(100vh - 16px);box-shadow:inset var(--dc-bevel) var(--dc-bevel) 0 var(--dc-panel-hi), inset calc(var(--dc-bevel) * -1) calc(var(--dc-bevel) * -1) 0 var(--dc-panel-lo), 0 0 0 100vmax color-mix(in srgb, var(--dc-bg) 60%, transparent);position:fixed}.dc-surface[data-layout=rts] .dc-overlay label{grid-template-columns:minmax(0,1fr)}.dc-surface[data-layout=rts] .dc-overlay select,.dc-surface[data-layout=rts] .dc-overlay input{min-width:0;max-width:100%}.dc-surface[data-layout=rts] .dc-help,.dc-surface[data-layout=rts] .dc-keys{max-height:calc(100% - 56px);top:40px;overflow:auto}.dc-surface[data-layout=rts] .dc-reset{top:50%;transform:translate(-50%,-50%)}@media (max-width:760px){.dc-surface[data-layout=rts] .dc-drawer-toggles{display:none}.dc-surface[data-layout=rts] .dc-side[data-open=false],.dc-surface[data-layout=rts] .dc-drawer-item[data-open=false]{display:block}.dc-surface[data-layout=rts] .dc-side[data-open=false]{display:flex}.dc-surface[data-layout=rts] .dc-msgs{width:auto;margin-top:4px;position:static}.dc-surface[data-layout=rts] .dc-msgs>*{white-space:normal}.dc-surface[data-layout=rts] .dc-center{grid-template-rows:300px auto}.dc-surface[data-layout=rts]{grid-template-rows:none;grid-auto-rows:auto}.dc-surface[data-layout=rts] .dc-main{display:contents}.dc-surface[data-layout=rts] .dc-center{order:1;margin:3px 6px 0}.dc-surface[data-layout=rts] .dc-hud{order:2}.dc-surface[data-layout=rts] .dc-side{order:3;margin:0 6px}.dc-surface[data-layout=rts] .dc-hudtop{flex-basis:100%}.dc-surface[data-layout=rts] .dc-hudtop section{white-space:normal;flex-wrap:wrap}.dc-surface[data-layout=rts] .dc-hud{height:auto}.dc-surface[data-layout=rts] .dc-hud .dc-minimap{display:block}.dc-surface[data-layout=rts] .dc-minimap canvas{width:min(100%,200px);height:auto;aspect-ratio:var(--dc-minimap-ar,1);display:block}.dc-surface[data-layout=rts] .dc-overlay{max-height:calc(100vh - 16px)}}html,body,#root{height:100%;margin:0}.host{color:#eee;background:#111;flex-direction:column;height:100%;font:13px/1.35 system-ui,sans-serif;display:flex}.host nav{background:#1b1b1b;border-bottom:1px solid #333;flex-wrap:wrap;align-items:center;gap:6px;padding:4px 8px;display:flex}.host nav button{font:inherit;cursor:pointer;color:#eee;background:#2a2a2a;border:1px solid #555;border-radius:4px;padding:3px 10px}.host nav button[aria-pressed=true]{outline:2px solid #c9a24a}.host nav .spacer{flex:1}.host .status{color:#aaa;font-size:12px}.host .body{flex:1;min-height:0}@media (max-width:760px){.host{height:auto;min-height:100%}.host .body{min-height:0}}.host .skip-link{z-index:100;color:#111;background:#c9a24a;border-radius:4px;padding:6px 12px;font-weight:600;text-decoration:none;position:absolute;top:-60px;left:8px}.host .skip-link:focus{outline-offset:2px;outline:2px solid #fff;top:8px}.host nav .rts-tools{gap:6px;display:inline-flex}.host-drawer{z-index:900;color:#eee;background:#1b1b1b;border-left:1px solid #555;flex-direction:column;width:min(560px,100vw);display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-8px 0 24px #00000080}.host-drawer header{border-bottom:1px solid #333;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.host-drawer h2{margin:0;font-size:16px}.host-drawer h3{margin:12px 0 4px;font-size:14px}.host-drawer button,.host-confirm button,.host-notice button{font:inherit;cursor:pointer;color:#eee;background:#2a2a2a;border:1px solid #555;border-radius:4px;padding:3px 10px}.host-drawer button:disabled,.host-confirm button:disabled{opacity:.5;cursor:not-allowed}.host-drawer input[type=text],.host-drawer input:not([type]){font:inherit;color:#eee;background:#111;border:1px solid #555;border-radius:4px;padding:3px 6px}.host-drawer-body{flex:1;min-height:0;padding:8px 12px 24px;overflow:auto}.host-note{color:#bbb;margin:4px 0}.host-ok{color:#9fd89f}.host-bad{color:#ffb3a8}.host-slots{gap:6px;margin:0;padding:0;list-style:none;display:grid}.host-slots li{border:1px solid #333;border-radius:4px;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;padding:6px 8px;display:grid}.host-slots small{color:#aaa;grid-column:1}.host-slot-name{overflow-wrap:anywhere;font-weight:600}.host-slot-actions{flex-wrap:wrap;grid-area:1/2/span 2;justify-content:flex-end;gap:4px;display:inline-flex}.host-confirm{z-index:1100;color:#eee;background:#1b1b1b;border:1px solid #a8761c;border-radius:6px;width:min(480px,100vw - 16px);padding:12px 16px;position:fixed;top:20%;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #0009}.host-confirm h3{margin:0 0 6px}.host-confirm-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.host-spacer{flex:1}.host-notice{z-index:1000;color:#cfe3f7;background:#1d2b3a;border:1px solid #3d6a99;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex;position:fixed;bottom:56px;left:8px;right:8px}.host-loading{color:#aaa;padding:24px}.host-error{background:#2a1818;border:1px solid #a55;border-radius:4px;max-width:520px;margin:24px;padding:12px 16px}.host-error button{font:inherit;cursor:pointer;color:#eee;background:#2a2a2a;border:1px solid #555;border-radius:4px;padding:3px 10px}.host-storage-banner{z-index:1000;color:#ffe2a8;background:#5a3b00;border:1px solid #a8761c;border-radius:4px;padding:8px 12px;position:fixed;bottom:8px;left:8px;right:8px}
