.world-console {
  --field-pine:#193b31;
  --field-ivory:#fbf4df;
  --field-brass:#c7ad75;
  --field-paper:#f5efdf;
  --field-stroke:#b8a780;
  --field-inset:clamp(12px,1.65vw,25px);
  --field-shadow:0 3px 12px #142a2457;
}
.world-console .world-ring-overview {image-rendering:auto}
.world-console .world-tile[hidden] {display:none}
.world-console[data-chunked=true] .zone-cell {display:none}
.atlas-tools {display:contents}
.atlas-fix {
  position:absolute;z-index:4;left:var(--field-inset);top:73px;pointer-events:none;
  display:flex;align-items:center;gap:10px;min-height:45px;padding:4px 13px 4px 7px;
  color:var(--field-ivory);background:#193b31f5;border:1px solid var(--field-brass);
  border-radius:3px;box-shadow:var(--field-shadow);
}
.atlas-compass {
  display:grid;place-items:center;width:32px;height:32px;color:#e0c78a;
  border-right:1px solid #abac8580;padding-right:7px;box-sizing:content-box;
}
.atlas-compass .icon {width:27px;height:27px}
.atlas-fix strong {display:block;font:700 .91rem/1.25 var(--serif);white-space:nowrap}
.atlas-coordinates {display:flex;gap:4px;align-items:baseline;color:#fff8e2;font:650 .76rem/1.35 var(--sans);font-variant-numeric:tabular-nums}
.atlas-coordinates i {font:600 .62rem var(--sans);color:#d4c396}
.atlas-coordinates b {min-width:2ch}
.atlas-coordinates b+i {margin-left:5px}
.world-console .atlas-search {
  right:var(--field-inset);left:auto;top:16px;display:flex;align-items:stretch;
  padding:0;gap:0;border:1px solid var(--field-brass);border-radius:3px;
  background:var(--field-pine);box-shadow:var(--field-shadow);color:var(--field-ivory);
}
.world-console .atlas-search label {gap:5px;padding-inline:10px 6px;min-width:0}
.atlas-search label .icon {flex:none;width:16px;height:16px;color:#ddc790}
.world-console .atlas-search select#map-locator {
  color-scheme:dark;
  margin:0;width:clamp(110px,11vw,177px);max-width:100%;min-height:44px;
  border:none;background:var(--field-pine);color:var(--field-ivory);font:600 .86rem var(--sans);
}
.world-console .atlas-search>button {
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:2px 12px;border:0;border-left:1px solid #c4ad76;border-radius:0;
  box-shadow:none;background:#ebd8a9;color:#243d31;font:700 .86rem var(--sans);
}
.world-console .atlas-search>button[aria-pressed=true] {background:#f6e9c9}
.atlas-search>button .icon {width:17px;height:17px}
.world-console .atlas-camera {
  right:var(--field-inset);bottom:14px;padding:0;gap:0;
  border:1px solid var(--field-brass);border-radius:4px;background:var(--field-pine);box-shadow:var(--field-shadow);
}
.world-console .atlas-camera button {width:44px;min-height:45px;border-radius:0;color:var(--field-ivory)}
.world-console .atlas-camera [data-center-map] {
  width:100px;gap:7px;border-radius:0 3px 3px 0;color:#203b30;
  background:linear-gradient(125deg,#f4e6bc,#dbc281);line-height:1.1;
}
.atlas-camera [data-center-map]>span {display:grid;justify-items:start;gap:2px;font-size:.85rem}
.atlas-camera [data-home-distance] {color:#40513f;font:650 .69rem/1.05 var(--sans);font-variant-numeric:tabular-nums}
.atlas-camera [data-home-distance]:empty {display:none}
.world-console .world-minimap-button {
  right:var(--field-inset);bottom:70px;width:102px;height:102px;border-radius:3px;padding:2px;
  background:var(--field-pine);border:1px solid var(--field-brass);box-shadow:var(--field-shadow);
}
.world-console .world-overview-key {top:127px;left:var(--field-inset);background:#f7f2e5f2}
.world-console .atlas-detail {
  color:#223a30;background:var(--field-paper);border:1px solid var(--field-stroke);
  border-radius:4px;box-shadow:var(--field-shadow);
}
.world-console .atlas-detail nav {
  align-items:stretch;gap:0;background:#254438;color:var(--field-ivory);border-bottom:1px solid var(--field-brass);
}
.world-console .atlas-detail nav button {
  position:relative;display:grid;justify-items:center;align-content:center;gap:2px;
  min-width:0;min-height:48px;padding:4px 6px;border:0;border-radius:0;color:#fbf2db;
  background:transparent;font:650 .76rem/1.15 var(--sans);white-space:nowrap;
}
.world-console .atlas-detail nav button+button {border-left:1px solid #d2c09039}
.world-console .atlas-detail nav button .icon {width:16px;height:16px;color:#e0cf9f}
.world-console .atlas-detail nav button[aria-pressed=true] {
  color:#fff5d8;background:#3f5745;box-shadow:inset 0 -3px #e1c689;
}
.world-console .atlas-detail nav button:is(:hover,:focus-visible) {background:#41614f}
.world-console .atlas-detail nav sup {
  position:absolute;top:4px;right:2px;padding:0 3px;min-width:12px;
  border-radius:2px;background:#e9d7ae;color:#253e31;font:750 .65rem/1.22 var(--sans);
}
.world-console .atlas-detail nav [data-world-shortcut=threats] sup {background:#f3c1a6;color:#682a1a}
.world-console .atlas-detail nav [data-world-size],
.world-console .atlas-detail nav [data-world-close] {display:none}
.world-console[data-open=true] .atlas-detail nav [data-world-close] {display:grid;flex:0 0 44px}
.world-console[data-open=false] .atlas-detail nav {border-bottom:0}
.world-console .atlas-legend {box-shadow:none;background:#f6f1e0eb;color:#273f33}
.world-console .atlas-detail #tile-panel {
  padding:0 var(--map-gutter) 14px;border:0;scroll-padding:8px;
}
.world-console .atlas-detail #tile-panel>.world-place,
.world-console .atlas-detail #tile-panel>.world-order-head {
  color:#173b2e;background:linear-gradient(105deg,#e5ddc4,#f6f1e2 72%);border-bottom:1px solid #bca97f;
}
.atlas-detail .world-place .tile-icon,.atlas-detail .world-order-seal {
  background:#d6d4b7;border-color:#a29770;border-radius:3px;
}
.atlas-detail .world-place small,.atlas-detail .world-order-head small,.atlas-detail .world-place .node-occupancy {color:#506049}
.atlas-detail .world-place h3,.atlas-detail .world-order-head h3 {color:#17382b}
.world-console .atlas-detail #tile-panel .world-order-head p {color:#455748}
.atlas-detail .field-orders {
  display:grid;gap:8px;
  padding:0 0 10px;margin-top:8px;border-bottom:1px solid #c6bb9e;
}
.field-order-group {display:flex;flex-wrap:wrap;gap:4px 7px}
.field-order-group .field-order {flex:1 1 116px}
.field-order {min-width:0}
.world-console .field-order .action-btn,.world-console .field-home,.world-console .node-command .action-btn {
  display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;width:100%;
  border:1px solid #b4a280;border-radius:3px;box-shadow:none;
  background:#eae1ca;color:#284031;font:700 .9rem var(--sans);
}
.world-console .field-order.preferred .action-btn,.world-console .field-home,.world-console .node-command .action-btn {
  background:var(--field-pine);border-color:#244837;color:var(--field-ivory);
}
.world-console .field-order .action-btn:disabled,.world-console .node-command .action-btn:disabled {background:#ded9c9;color:#686b5f;border-color:#bcb8aa}
.field-order-group small {flex-basis:100%;font:.78rem/1.4 var(--sans);color:#52604e;word-break:keep-all;overflow-wrap:anywhere}
.world-console .node-command .action-btn {width:auto}
.world-console .rally-command {
  position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;
  gap:10px;min-height:58px;padding:6px 10px;border:1px solid #345044;border-radius:4px;
  background:#233f34;color:#fff7de;box-shadow:0 2px 5px #28332830;
}
.rally-countdown {display:grid;gap:1px;line-height:1.15}
.rally-countdown>span {display:flex;align-items:center;gap:4px;color:#e0d9bb;font:600 .8rem/1.2 var(--sans)}
.rally-countdown .icon {width:13px;height:13px}
.rally-countdown .timer {background:none;border:0;padding:0;color:#fff7de;font:750 1.16rem/1.22 var(--sans);font-variant-numeric:tabular-nums}
.world-console .atlas-detail #tile-panel .rally-command .action-btn {
  flex:0 0 auto;min-height:44px;min-width:94px;margin:0;padding:6px 13px;border:1px solid #fae6ad;border-radius:3px;
  background:#f2d48b;color:#283227;font:750 .95rem/1.2 var(--sans);
}
.world-console .rally-command .action-btn:hover {filter:brightness(1.06)}
.world-console .rally-command .action-btn:focus-visible {outline:3px solid #162b24;outline-offset:-5px}
.rally-support {display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:8px 0 0;font:.82rem/1.4 var(--sans);color:#4d5b50}
.rally-support strong {color:#283f32}
.atlas-detail .rally-roster {margin:2px 0 8px;padding:0 0 3px;border:0;border-bottom:1px solid #c8bda2;border-radius:0}
.rally-roster summary {padding-block:11px;min-height:44px;color:#344d3e;font:650 .85rem/1.4 var(--sans);cursor:pointer}
.rally-roster[open] summary {margin-bottom:4px}
.atlas-detail #tile-panel:has(.rally-command) {scroll-padding-top:70px}
.world-console #tile-panel:has(>.rally-command) .field-order [data-action-type="war.recall"] {
  background:transparent;color:#4b554b;border-color:#b5b09b;font-weight:600;
}
.field-home .icon:last-child {margin-left:auto}
.world-console .field-home {justify-content:flex-start;padding-inline:12px}
.world-console .field-waypoint {background:#e5e7d6;border-color:#a5ad8e}
.atlas-detail .atlas-layers {display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;padding:0 6px;border:1px solid #b9ad8e;margin:9px 0 12px}
.atlas-layers legend {padding-inline:4px;font:700 .82rem var(--sans);color:#465746}
.atlas-layers label {display:flex;gap:4px;align-items:center;min-height:44px;font:600 .8rem var(--sans);white-space:nowrap}
.atlas-layers input {width:15px;height:15px;min-height:0;margin:0;accent-color:var(--field-pine)}
.world-console :is(.atlas-search,.atlas-detail,.atlas-camera) :focus-visible,
.world-console .world-minimap-button:focus-visible {outline:3px solid #b77a23;outline-offset:-3px}
@media(min-width:761px) {
  .world-console .atlas-detail,.world-console[data-open=false] .atlas-detail {
    top:72px;right:var(--field-inset);width:clamp(300px,22vw,370px);max-width:44%;max-height:calc(100% - 147px);
  }
  .world-console[data-sheet-side=left] .atlas-detail {left:var(--field-inset);right:auto}
  .world-console[data-open=false] .atlas-detail {width:clamp(258px,18vw,300px)}
  .world-console[data-open=true]:not([data-sheet-side=left]) .world-minimap-button {right:calc(var(--field-inset) + clamp(300px,22vw,370px) + 10px)}
  .world-console[data-sheet-side=left] .atlas-fix,.world-console[data-sheet-side=left] .world-overview-key {left:auto;right:var(--field-inset)}
  main:has(.threat-strip) .atlas-fix {top:120px}
  main:has(.threat-strip) .world-overview-key {top:176px}
}
@media(max-width:760px) {
  .world-console {--field-inset:6px}
  .world-console .atlas-tools {
    position:absolute;z-index:6;inset:0 0 auto;display:flex;align-items:stretch;min-width:0;height:46px;
    background:var(--field-pine);border-bottom:1px solid var(--field-brass);
  }
  .world-console .atlas-fix {position:static;flex:none;max-width:43%;padding:3px 6px;gap:4px;min-height:0;border-radius:0;border:0;box-shadow:none}
  .world-console .atlas-fix>div {min-width:0}
  .world-console .atlas-compass {width:19px;height:24px;padding-right:4px}
  .world-console .atlas-compass .icon {width:18px;height:18px}
  .world-console .atlas-fix strong {font:700 .76rem/1.2 var(--sans);overflow:hidden;text-overflow:ellipsis}
  .world-console .atlas-coordinates {font-size:.72rem;gap:2px}
  .world-console .atlas-search {
    position:static;flex:1;min-width:0;max-width:none;height:auto;justify-content:flex-end;align-items:stretch;
    background:transparent;padding:0;border:0;border-radius:0;box-shadow:none;
  }
  .world-console .atlas-fix {background:transparent}
  .world-console .atlas-search label {flex:1;padding-inline:6px 2px;border-left:1px solid #d2c09039}
  .world-console .atlas-search select#map-locator {width:100%;padding:0;font-size:.78rem}
  .world-console .atlas-search>button {flex:none;gap:4px;padding:2px 7px;font-size:.78rem}
  .world-console .atlas-camera {bottom:6px}
  .world-console .world-minimap-button {bottom:6px;left:6px;right:auto;width:61px;height:61px}
  .world-console .world-overview-key {left:5px;top:49px;max-width:calc(100% - 10px)}
  .world-console .atlas-camera button {min-width:44px;min-height:44px}
  .world-console .atlas-camera [data-center-map] {width:90px}
  .world-console .atlas-detail {border-radius:0}
  .world-console .atlas-detail nav button {padding-inline:3px}
  .world-console .atlas-detail #tile-panel {--map-gutter:10px}
}
@media(max-width:760px) and (orientation:portrait) {
  .world-console .world-layout {gap:0}
  .world-console[data-open=true] .world-layout {grid-template-rows:minmax(0,1fr) minmax(125px,40%)}
  .world-console[data-open=true][data-expanded=false] .world-layout:has(.rally-command) {grid-template-rows:minmax(85px,1fr) minmax(205px,40%)}
  .world-console[data-expanded=true] .world-layout {grid-template-rows:minmax(100px,1fr) minmax(142px,57%)}
  .world-console[data-open=true] .atlas-detail nav [data-world-size] {display:grid;flex:0 0 44px}
}
@media(orientation:landscape) and (max-height:520px) {
  .world-console .atlas-fix {top:53px;min-height:36px}
  .world-console .world-overview-key {top:94px}
  .world-console .world-minimap-button {width:58px;height:58px;bottom:60px}
  .world-console .atlas-camera {bottom:5px}
}
@media(max-width:760px) and (orientation:landscape) {
  .world-console .atlas #map-scroll {top:46px}
  .world-console .atlas-fix {top:0;min-height:45px}
  .world-console .world-overview-key {top:49px}
  .world-console .world-minimap-button {left:6px;bottom:6px}
  .world-console .world-layout {grid-template-columns:minmax(0,1fr) minmax(200px,31%)}
  .world-console .atlas-detail nav {flex-wrap:wrap}
  .world-console .atlas-detail nav button {min-width:38px}
  .world-console[data-open=false] .world-layout {display:flex;flex-direction:column;gap:0}
  .world-console[data-open=false] .atlas {flex:1}
  .world-console[data-open=false] #tile-panel {display:none}
}
@media(min-width:570px) and (max-width:760px) and (orientation:landscape) {
  .world-console .world-layout {grid-template-columns:minmax(0,1fr) minmax(268px,36%)}
  .world-console .atlas-detail nav {flex-wrap:nowrap}
  .world-console .atlas-detail nav button {min-width:44px}
}
@media(max-width:340px) {
  .scene-open:has(.world-console) .hud .stock .store-art {display:none}
  .scene-open:has(.world-console) .hud .stock b {white-space:nowrap}
}
