.recon-theater {
  --tm-paper:#222822;
  --tm-ink:#eee3c9;
  --tm-muted:#bcb39d;
  --tm-line:#71644c;
  --tm-accent:#e9bd76;
  --tm-owner:#e9d3a8;
  --tm-sheet-paper:#f4edd6;
  --tm-sheet-ink:#292e25;
  --tm-sheet-line:#b7ad91;
  --tm-plains:#e9deb0;
  --tm-forest:#b1ba85;
  --tm-rough:#c69170;
  --tm-mountains:#b99983;
  --tm-water:#94afba;
  width:100%;
  min-width:0;
  margin:0;
  container-type:inline-size;
  overflow:hidden;
  border:1px solid var(--tm-line);
  border-radius:4px;
  background:var(--tm-paper);
  color:var(--tm-ink);
}
.recon-theater .tm-toolbar,.recon-theater .tm-tools,.recon-theater .tm-zoom {
  display:flex;
  align-items:center;
  gap:8px 12px;
  flex-wrap:wrap;
}
.recon-theater .tm-toolbar {
  justify-content:space-between;
  padding:8px 10px;
  background:#282d24;
  border-bottom:1px solid var(--tm-line);
}
.recon-theater .tm-toolbar>strong {
  color:var(--tm-accent);
  font:700 1rem/1.3 'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-tools {
  gap:6px 11px;
  justify-content:flex-end;
}
.recon-theater .tm-zoom {
  gap:4px;
}
.recon-theater .tm-zoom button,.recon-theater .tm-inspector select {
  min-height:36px;
  border:1px solid #8b7d60;
  border-radius:3px;
  background:#20241c;
  color:var(--tm-ink);
  font:600 .8rem/1.25 'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-zoom button {
  min-width:36px;
  padding:4px 8px;
  cursor:pointer;
}
.recon-theater .tm-zoom button:disabled {
  opacity:.5;
  cursor:default;
}
.recon-theater .tm-zoom button:hover:not(:disabled) {
  color:#ffe0ac;
  border-color:#dbad6b;
  background:#34362a;
}
.recon-theater .tm-layers {
  color:var(--tm-ink);
  font:600 .8rem/1.3 'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-layers summary {
  padding:9px;
  min-height:36px;
  border:1px solid #8b7d60;
  border-radius:3px;
  cursor:pointer;
}
.recon-theater .tm-layer-options {
  display:flex;
  flex-wrap:wrap;
  gap:0 9px;
  padding:3px 9px;
  background:#20241c;
  border:1px solid #635b45;
}
.recon-theater .tm-layer-switch {
  display:inline-flex;
  gap:5px;
  align-items:center;
  min-height:36px;
  color:#e6d9ba;
  font:600 .78rem/1.3 'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-layer-switch input {
  margin:0;
  accent-color:#e3b777;
}
.recon-theater .tm-control-key {
  display:flex;
  flex-wrap:wrap;
  gap:5px 13px;
  list-style:none;
  border-bottom:1px solid var(--tm-sheet-line);
  margin:0;
  padding:7px 10px;
  background:#e8e0c6;
  color:var(--tm-sheet-ink);
  font:650 .76rem/1.3 'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-control-key li {display:inline-flex;align-items:center;gap:6px}
.recon-theater .tm-control-key i {
  flex:none;
  width:15px;
  height:11px;
  border:2px solid color-mix(in srgb,var(--tm-owner) 74%,white);
  border-radius:2px;
  background:var(--tm-owner);
}
.recon-theater .tm-control-key .tm-key-neutral {background:#eee4c4;border:1px dashed #594e35}
.recon-theater .tm-control-key .tm-key-occupied {background:repeating-linear-gradient(130deg,#ead4ae 0 2px,#7d4836 2px 4px)}
.recon-theater .tm-viewport {
  max-width:100%;
  max-height:clamp(250px,60vh,780px);
  overflow:auto;
  position:relative;
  background:var(--tm-sheet-paper);
  scrollbar-color:#988b6e #e9e0c7;
  outline-offset:-3px;
}
.recon-theater[data-tm-level="0"] .tm-viewport {
  max-height:none;
}
.recon-theater .tm-plate {
  --tm-plate-margin:2.1%;
  width:calc(100% * var(--tm-scale,1));
  padding:0 0 var(--tm-plate-margin);
  background:var(--tm-sheet-paper);
  color:var(--tm-sheet-ink);
}
.recon-theater .tm-plate-heading {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:1px 16px;
  margin:0 var(--tm-plate-margin);
  padding:10px 0 8px;
  border-bottom:1px solid #3b3d2c;
}
.recon-theater .tm-plate-heading strong {
  color:#292b23;
  font:700 clamp(1.25rem,3.4cqw,2.15rem)/1.12 Georgia,serif;
  letter-spacing:-.018em;
}
.recon-theater .tm-plate-heading span {
  color:#4d5345;
  font:650 clamp(.65rem,1.4cqw,.86rem)/1.2 'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-sheet {
  margin:4px var(--tm-plate-margin) 0;
}
.recon-theater .tm-svg {
  position:static;
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  margin:0;
  font-family:'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-sea {fill:var(--tm-water)}
.recon-theater .tm-land {
  fill:var(--tm-plains);
}
.recon-theater .tm-shore {
  fill:none;
  stroke:#384843;
  stroke-width:1.65;
  stroke-linejoin:round;
}
.recon-theater .tm-lake {
  fill:var(--tm-water);
  stroke:#3e5960;
  stroke-width:1.35;
}
.recon-theater .tm-hex {stroke:#5c5642;stroke-opacity:.49;stroke-width:.68;stroke-linejoin:round;pointer-events:none}
.recon-theater .tm-hex--plain,.recon-theater .tm-key--plain {fill:var(--tm-plains);background:var(--tm-plains)}
.recon-theater .tm-hex--forest,.recon-theater .tm-key--forest {fill:var(--tm-forest);background:var(--tm-forest)}
.recon-theater .tm-hex--rough,.recon-theater .tm-key--rough {fill:var(--tm-rough);background:var(--tm-rough)}
.recon-theater .tm-hex--mountains,.recon-theater .tm-key--mountains {fill:var(--tm-mountains);background:var(--tm-mountains)}
.recon-theater .tm-hex--forest {fill-opacity:.62}
.recon-theater .tm-hex--rough {fill-opacity:.49}
.recon-theater .tm-hex--mountains {fill-opacity:.53}
.recon-theater .tm-key--water {background:var(--tm-water)}
.recon-theater .tm-water-grid {opacity:.34;pointer-events:none}
.recon-theater .tm-relief {pointer-events:none;opacity:.41}
.recon-theater :is(.tm-graticule,.tm-neatline) {fill:none;pointer-events:none}
.recon-theater .tm-graticule {stroke:#4c554f;stroke-width:.5;stroke-dasharray:1 5;opacity:.27}
.recon-theater .tm-neatline {stroke:#31392d;stroke-width:1.4}
.recon-theater pattern path {
  fill:none;
  stroke:#365864;
  stroke-width:.85;
}
.recon-theater pattern[id$="-fallout"] path {stroke:#843e32;stroke-width:3}
.recon-theater .tm-occupation-pattern path {stroke:#542e25;stroke-width:2.2;opacity:.61}
.recon-theater .tm-district {
  cursor:pointer;
  fill:#eee4c7;
  fill-opacity:.11;
  stroke:#675d43;
  stroke-width:1.6;
  stroke-dasharray:5 3;
  stroke-linejoin:round;
}
.recon-theater .tm-district[data-area-owner] {
  fill:var(--tm-owner);
  fill-opacity:.31;
  stroke:color-mix(in srgb,var(--tm-owner) 62%,#141b14);
  stroke-width:2.55;
  stroke-dasharray:none;
}
.recon-theater .tm-district[data-area-control=occupied] {stroke:#66382c;stroke-dasharray:6 3}
.recon-theater .tm-district:is(:hover,[data-active]) {fill-opacity:.59;stroke:#3c3326;stroke-width:3.4}
.recon-theater .tm-district-hatch {pointer-events:none}
.recon-theater :is(.tm-shore,.tm-lake,.tm-ridge,.tm-corridor,.tm-geography,.tm-compass,.tm-scale) {pointer-events:none}
.recon-theater .tm-ridge {
  fill:none;
  stroke:#70573a;
  stroke-width:22;
  stroke-linecap:round;
  stroke-dasharray:1 7;
  opacity:.11;
}
.recon-theater .tm-ridge--crest {
  stroke:#453829;
  stroke-width:2.8;
  stroke-dasharray:1.5 4;
  opacity:.65;
}
.recon-theater [data-tm-layer][hidden] {display:none}
.recon-theater .tm-corridor,.recon-theater .tm-waterway {
  fill:none;
  stroke-linejoin:round;
  stroke-linecap:round;
}
.recon-theater .tm-corridor {
  stroke:#715840;
  stroke-width:1.45;
  stroke-dasharray:5 4;
  opacity:.75;
}
.recon-theater .tm-waterway {
  stroke:#496c7c;
  stroke-width:1.55;
  opacity:.88;
}
.recon-theater .tm-waterway--named {stroke:#265e7a;stroke-width:2.35;stroke-opacity:.93;pointer-events:stroke}
.recon-theater .tm-pass {cursor:pointer}
.recon-theater .tm-pass-tile {fill:#f0d3a0;stroke:#403326;stroke-width:1.5}
.recon-theater .tm-pass-gap {fill:none;stroke:#3c332a;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.recon-theater .tm-geography {
  text-anchor:middle;
  fill:#263d48;
  font:italic 600 19px/1 Georgia,serif;
  letter-spacing:.075em;
}
.recon-theater .tm-place-name {
  text-anchor:middle;
  fill:#534634;
  stroke:#e9dfbc;
  stroke-width:2.1;
  paint-order:stroke fill;
  font:italic 600 15px/1 Georgia,serif;
  letter-spacing:.055em;
  pointer-events:none;
}
.recon-theater .tm-place-name--water {fill:#254f65;stroke:#e1e0c5;font-size:13.5px}
.recon-theater .tm-place-name--region {font-style:normal;font-size:16px;letter-spacing:.12em}
.recon-theater .tm-compass,.recon-theater .tm-scale {
  fill:#514633;
  font-size:11px;
  font-weight:700;
}
.recon-theater .tm-compass text {text-anchor:middle}
.recon-theater .tm-compass-line,.recon-theater .tm-scale path {fill:none;stroke:#594a37;stroke-width:1.3}
.recon-theater .tm-compass-line {stroke:#b7ac8d}
.recon-theater .tm-scale text:last-child {text-anchor:end}
.recon-theater :is(.tm-pin,.tm-core,.tm-damage-site,.tm-ruin) {cursor:pointer}
.recon-theater .tm-hit {
  fill:transparent;
  stroke:none;
}
.recon-theater .tm-pin-body {
  fill:#e3d8bc;
  stroke:#342c20;
  stroke-width:1.8;
}
.recon-theater .tm-pin[data-owner] .tm-pin-body {
  fill:var(--tm-owner);
  stroke:#241e17;
  stroke-width:2.1;
}
.recon-theater .tm-pin[data-control=occupied] .tm-pin-body {
  stroke:#f9dfad;
}
.recon-theater .tm-pin .tm-site-symbol {fill:#2d2a22}
.recon-theater .tm-pin[data-control=occupied] .tm-occupied {
  fill:none;
  stroke:#f9e3b0;
  stroke-width:2;
  paint-order:stroke;
}
.recon-theater .tm-reachable,.recon-theater .tm-front,.recon-theater .tm-focus {
  fill:none;
  stroke-width:1.6;
  pointer-events:none;
}
.recon-theater .tm-reachable {
  stroke:#403d23;
  stroke-dasharray:1.4 2.4;
}
.recon-theater .tm-front {
  stroke:#832f29;
  stroke-width:2;
  stroke-dasharray:2 2;
}
.recon-theater .tm-focus {stroke:#fff1c9;opacity:0}
.recon-theater [data-tm-point]:is(:hover,:focus,[aria-pressed=true]) .tm-focus {opacity:1}
.recon-theater .tm-claim {fill:#e5b64f;stroke:#31251c;stroke-width:1.5}
.recon-theater .tm-pin-label,.recon-theater .tm-capital text,.recon-theater :is(.tm-ruin,.tm-core,.tm-damage-site) text {
  fill:#20251f;
  stroke:#ebdfb7;
  stroke-width:2.6px;
  stroke-linejoin:round;
  paint-order:stroke fill;
  font-size:13px;
  font-weight:680;
  pointer-events:none;
}
.recon-theater .tm-pin[aria-pressed=true] .tm-pin-label {
  fill:#10100d;
  stroke:#f8e8bc;
  font-weight:800;
}
.recon-theater .tm-capital-halo {
  fill:none;
  stroke:var(--tm-owner);
  stroke-width:2;
}
.recon-theater .tm-core--capital .tm-core-cell {fill-opacity:.7;stroke:var(--tm-owner);stroke-width:2}
.recon-theater .tm-capital.is-current .tm-capital-halo {
  stroke:#fff1bf;
  stroke-width:3;
}
.recon-theater .tm-capital-body {
  fill:color-mix(in srgb,var(--tm-owner) 78%,#292d23);
  stroke:#26261e;
  stroke-width:2;
}
.recon-theater .tm-capital-symbol {fill:#fff3cd}
.recon-theater .tm-capital text {font:700 18px/1 Georgia,serif;stroke-width:3.2}
.recon-theater :is(.tm-ruin,.tm-damage-site) circle:not(.tm-hit,.tm-focus) {fill:#502d27;stroke:#ead3b0;stroke-width:1.4}
.recon-theater :is(.tm-ruin,.tm-damage-site) path:not(.tm-damage-hatch) {fill:none;stroke:#f2c690;stroke-width:1.7}
.recon-theater .tm-damage-hatch {stroke:#5e362a;stroke-width:1.3;opacity:.76;pointer-events:none}
.recon-theater .tm-damage-site .tm-damage-glyph {fill:#63382b;paint-order:stroke fill}
.recon-theater .tm-damage-site[data-damage=industrial] .tm-damage-glyph {stroke:#ffca86;fill:#713d2b}
.recon-theater .tm-ruin text {font-size:11px;fill:#63382b;stroke-width:3;opacity:.86}
.recon-theater :is(.tm-core,.tm-damage-site) text {opacity:0}
.recon-theater :is(.tm-core,.tm-damage-site)[aria-pressed=true] text {opacity:1}
.recon-theater .tm-core-cell {
  fill:var(--tm-owner);
  stroke:#2c271d;
  stroke-width:1.6;
}
.recon-theater .tm-core .tm-site-symbol {
  fill:#1e231a;
}
.recon-theater .tm-svg .tm-site-symbol[data-resource-kind=fuel],.recon-theater .tm-key--fuel {color:#76312a;fill:#76312a}
.recon-theater .tm-svg .tm-site-symbol[data-resource-kind=materials],.recon-theater .tm-key--materials {color:#23576b;fill:#23576b}
.recon-theater .tm-svg .tm-site-symbol[data-resource-kind=farm],.recon-theater .tm-key--farm {color:#40562b;fill:#40562b}
.recon-theater .tm-resource-badge rect {stroke:#51442c;stroke-width:1.2}
.recon-theater .tm-badge--farm {fill:#d4c880}
.recon-theater .tm-badge--fuel {fill:#eab174}
.recon-theater .tm-badge--grid,.recon-theater .tm-badge--energy {fill:#d4cf8c}
.recon-theater .tm-badge--materials {fill:#bed0d5}
.recon-theater .tm-badge--industry {fill:#e8d5a6}
.recon-theater .tm-archive-site {cursor:pointer;fill:#21261d}
.recon-theater .tm-archive-site rect {stroke:#2a261d;stroke-width:2.1}
.recon-theater .tm-archive-site:is(:hover,[aria-pressed=true]) rect {stroke:#fef0bd;stroke-width:2.8}
.recon-theater .tm-archive-site text {font-size:13px;font-weight:820;text-anchor:middle;pointer-events:none}
.recon-theater .tm-core-damaged {fill:#ffd68c;stroke:#59291d;stroke-width:1.15}
.recon-theater .tm-pole-shape {stroke:#302b1e;stroke-width:1.5}
.recon-theater .tm-pole.is-selected .tm-pole-shape {stroke:#fce6ae;stroke-width:2}
.recon-theater .tm-inspector {
  display:grid;
  grid-template-columns:minmax(150px,1fr) minmax(0,1.4fr);
  padding:10px 11px;
  gap:9px 14px;
  border-top:1px solid var(--tm-line);
  font:400 .84rem/1.4 'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-inspector label {
  display:block;
  color:#ead8b4;
  font-weight:700;
  margin-bottom:4px;
}
.recon-theater .tm-inspector select {
  display:block;
  width:100%;
  padding:4px 7px;
}
.recon-theater .tm-inspect-detail {
  display:flex;
  align-items:center;
  min-height:58px;
  min-width:0;
  overflow-wrap:anywhere;
  padding:7px 9px;
  background:#191e18;
  border:1px solid #5c5948;
  border-radius:3px;
}
.recon-theater .tm-inspect-record {
  display:grid;
  align-items:start;
  gap:1px;
}
.recon-theater .tm-inspect-record strong {
  color:var(--tm-accent);
}
.recon-theater .tm-inspect-record span,.recon-theater .tm-inspect-hint {
  margin:0;
  color:#d4c5a7;
}
.recon-theater .tm-inspect-record .tm-cues {color:#f2d59a}
.recon-theater figcaption {
  display:block;
  padding:8px 11px;
  border-top:1px solid var(--tm-line);
}
.recon-theater .tm-print-key {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  padding:0 2.1% 12px;
  background:var(--tm-sheet-paper);
  color:var(--tm-sheet-ink);
}
.recon-theater .tm-key-group {
  min-width:0;
  padding:7px 11px 6px;
  border-top:1px solid #55503d;
  border-bottom:1px solid var(--tm-sheet-line);
}
.recon-theater .tm-key-group + .tm-key-group {border-left:1px solid var(--tm-sheet-line)}
.recon-theater .tm-key-group > strong {display:block;margin-bottom:6px;font:700 .9rem/1.15 Georgia,serif}
.recon-theater .tm-legend {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:5px 12px;
  flex-wrap:wrap;
  font:650 .72rem/1.4 'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-legend li {display:inline-flex;align-items:center;gap:5px}
.recon-theater .tm-key {
  display:inline-grid;
  place-items:center;
  font:800 11px/1 system-ui,sans-serif;
  flex:none;
  width:13px;
  height:13px;
  border:1px solid #a29269;
  border-radius:50%;
  font-style:normal;
  color:#201e17;
}
.recon-theater .tm-key--capital {background:#dfbd70}
.recon-theater .tm-key--capital::before {content:'★'}
.recon-theater .tm-key--ruin {background:#804b44;color:#fff0c7}
.recon-theater .tm-key--ruin::before {content:'×'}
.recon-theater .tm-key--core {border-radius:3px;background:linear-gradient(90deg,#547fa6 25%,#d5aa52 25% 50%,#b85d4c 50% 75%,#549278 75%)}
.recon-theater .tm-key--damageArea {border-radius:2px;background:repeating-linear-gradient(130deg,#55271d 0 2px,#be8263 2px 5px)}
.recon-theater :is(.tm-key--damageTransport,.tm-key--damageIndustrial) {border-radius:2px;background:#713d2b;color:#ffe9b7}
.recon-theater .tm-key--damageTransport::before {content:'╱'}
.recon-theater .tm-key--damageIndustrial::before {content:'ϟ'}
.recon-theater .tm-key--neutral {background:#ddcfad}
.recon-theater .tm-key--reachable {background:#ddcfad;outline:1px dashed #635943;outline-offset:1px}
.recon-theater .tm-key--ratified {background:#6b9b84;border-color:#e3deb8}
.recon-theater .tm-key--occupied {background:#b56a59;color:#fff5d9}
.recon-theater .tm-key--occupied::before {content:'╱'}
.recon-theater .tm-key--front {background:#b56a59;outline:1px dashed #edaa94;outline-offset:1px}
.recon-theater .tm-key--claim,.recon-theater .tm-key--hub {border:0;border-radius:0;background:#e2b666;transform:rotate(45deg);width:8px;height:8px;margin-inline:2px}
.recon-theater .tm-key--hub {background:#87a588}
.recon-theater :is(.tm-key--farm,.tm-key--grid,.tm-key--fuel,.tm-key--energy,.tm-key--materials,.tm-key--industry) {background:#dcc78c;border-radius:1px}
.recon-theater .tm-key .tm-site-symbol {fill:currentColor}
.recon-theater :is(.tm-key--road,.tm-key--river) {border:0;border-radius:0;height:2px;width:15px}
.recon-theater :is(.tm-key--plain,.tm-key--forest,.tm-key--rough,.tm-key--mountains,.tm-key--water) {border-radius:2px}
.recon-theater .tm-key--road {background:repeating-linear-gradient(90deg,#80634e 0 5px,transparent 5px 8px)}
.recon-theater .tm-key--river {background:#356a83}
.recon-theater .tm-key--ridge {height:4px;border:0;border-radius:0;background:repeating-linear-gradient(90deg,#887053 0 2px,transparent 2px 4px)}
.recon-theater .tm-key--pass {border-radius:2px;background:#f0d3a0}
.recon-theater .tm-key--pass::before {content:'↟'}
.recon-theater .tm-spi {
  margin-top:9px;
  padding:7px 8px;
  border:1px solid #615941;
  background:#1c211a;
  font:.76rem/1.35 'IBM Plex Sans',system-ui,sans-serif;
}
.recon-theater .tm-spi summary {color:#e9c88c;font-weight:700;cursor:pointer}
.recon-theater .tm-spi p {margin:6px 0;color:var(--tm-muted)}
.recon-theater .tm-spi-table {border-collapse:collapse;width:100%;font-size:inherit}
.recon-theater .tm-spi-table :is(th,td) {padding:3px;border-bottom:1px solid #615941;text-align:center;overflow-wrap:anywhere}
.recon-theater .tm-spi-table th:first-child {text-align:left}
.recon-theater .tm-note {
  margin:7px 0 0;
  color:var(--tm-muted);
  font-size:.72rem;
}
.recon-theater .tm-note a {color:#e7c88f;text-underline-offset:.16em}
@media(max-width:650px) {
  .recon-theater .tm-zoom button {min-height:44px;min-width:44px}
  .recon-theater .tm-layers summary,.recon-theater .tm-layer-switch {min-height:44px}
  .recon-theater .tm-inspector select {min-height:44px;font-size:16px}
}
@container(max-width:620px) {
  .recon-theater .tm-print-key {grid-template-columns:minmax(0,1fr)}
  .recon-theater .tm-key-group + .tm-key-group {border-left:0;border-top:0}
  .recon-theater[data-tm-level="0"] .tm-pin .tm-pin-label,.recon-theater[data-tm-level="0"] .tm-ruin text {opacity:0}
  .recon-theater[data-tm-level="0"] .tm-pin[aria-pressed=true] .tm-pin-label {opacity:1}
  .recon-theater .tm-capital text {font-size:22px}
}
@media(max-width:430px) {
  .recon-theater .tm-toolbar,.recon-theater .tm-tools {justify-content:flex-start}
  .recon-theater .tm-inspector {grid-template-columns:minmax(0,1fr)}
}
