/* GSIS Carte — styles. Mise en page fluide : tout suit la largeur de la fenêtre. */
:root {
  --bg: #f4f5f7; --card: #ffffff; --ink: #1b1f24; --muted: #667085; --line: #e3e6ea;
  --red: #c8102e; --red-dark: #9b0c23; --red-soft: #fff1f3; --blue: #1f5fbf;
  --radius: 10px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.1);
  --topbar-h: 56px;
  --on-accent: #fff; --line-strong: #c7ccd3; --hover: #f4f5f7; --row-hover: #f8f9fb; --input-bg: #fff;
  --err-bg: #fdecee; --err-ink: #8a0f20; --err-line: #f5c2c9; --info-bg: #eef4ff; --info-ink: #1d3f7a; --info-line: #c9dafb;
  --chip-line: #f3b5bf; --grip-bg: #e9ecf0; --grip-bg-hover: #dde1e6; --grip: #b9c0c9;
  --overlay: rgba(16,24,40,.35); --legend-bg: rgba(255,255,255,.95);
  --hm-0: #eef0f3; --hm-1: #fbd5da; --hm-2: #f28c9a; --hm-3: #dc3f55; --hm-4: #9b0c23; --night-ink: #0f2a5c;
  --chart-1: #c8102e; --chart-2: #1f5fbf; --chart-night: #0f2a5c;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--font);
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; }
h2 { font-size: 14px; margin: 0 0 8px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* En-tête */
.topbar { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; gap: 16px;
  min-height: var(--topbar-h); padding: 8px 20px; background: var(--card); border-bottom: 3px solid var(--red); flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand-mark { background: var(--red); color: var(--on-accent); padding: 2px 8px; border-radius: 6px; margin-right: 4px; }
.brand-sub { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 6px; }
.tabs { display: flex; gap: 4px; flex: 1 1 auto; justify-content: center; }
.tab { font: inherit; font-weight: 600; padding: 8px 14px; border: 0; border-radius: 8px; background: transparent;
  color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab:hover { background: var(--bg); color: var(--ink); }
.tab.is-active { background: var(--red-soft); color: var(--red); }
.tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.import { display: flex; align-items: center; gap: 12px; margin-left: auto; min-width: 0; }
.status { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34ch; }

/* Boutons et bandeaux */
.btn { display: inline-block; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: 7px 12px; border-radius: 8px; cursor: pointer; font: inherit; white-space: nowrap; }
.btn:hover { border-color: var(--line-strong); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn-primary { background: var(--red); border-color: var(--red); color: var(--on-accent); }
.btn-primary:hover { background: var(--red-dark); }
.btn-icon { padding: 4px 9px; }
.banner { margin: 12px 20px; padding: 10px 14px; border-radius: 8px; }
.banner-error { background: var(--err-bg); color: var(--err-ink); border: 1px solid var(--err-line); }
.banner-info { margin: 0 0 12px; background: var(--info-bg); color: var(--info-ink); border: 1px solid var(--info-line); }
.hint { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.hint-inline { font-weight: 400; font-size: 12px; }

/* Accueil */
.drop-zone { margin: 40px auto; max-width: 640px; width: calc(100% - 40px); padding: 48px 24px; text-align: center;
  border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--card); }
.drop-zone.is-over { border-color: var(--red); background: var(--red-soft); }
.drop-title { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.drop-hint { color: var(--muted); margin: 0 0 16px; }

/* Mise en page : filtres + contenu. minmax(0, 1fr) : le contenu peut toujours rétrécir. */
.layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; padding: 16px 20px; }
.filters { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px;
  align-self: start; position: sticky; top: calc(var(--topbar-h) + 12px);
  max-height: calc(100vh - var(--topbar-h) - 24px); overflow: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head h2 { margin: 0; font-size: 15px; }
#filters-close, .btn-filters, .backdrop { display: none; }
.content { min-width: 0; }

/* Barre d'outils : filtres actifs */
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-height: 30px; flex-wrap: wrap; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.af-label { color: var(--muted); font-size: 13px; }
.af-chip { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; padding: 3px 6px 3px 10px;
  border: 1px solid var(--chip-line); border-radius: 999px; background: var(--red-soft); color: var(--red-dark); cursor: pointer; }
.af-chip:hover { border-color: var(--red); }
.af-chip .af-x { font-weight: 700; padding: 0 3px; }
.af-clear { font: inherit; font-size: 12px; border: 0; background: none; color: var(--blue); cursor: pointer; text-decoration: underline; }
.af-none { color: var(--muted); font-size: 13px; }

/* Indicateurs : autant de colonnes que la largeur le permet */
.kpis { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; } /* largeur selon le texte, la ligne est remplie */

/* Cartes, carte géographique, graphiques */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.map { height: 480px; min-height: 300px; border-radius: 8px 8px 0 0; } /* hauteur ajustée par app.js */
.map:fullscreen { height: 100vh !important; border-radius: 0; }
.map:-webkit-full-screen { height: 100vh !important; border-radius: 0; }
.map-resizer { height: 12px; margin-bottom: -4px; border-radius: 0 0 8px 8px; background: var(--grip-bg); cursor: ns-resize;
  display: flex; align-items: center; justify-content: center; touch-action: none; user-select: none; }
.map-resizer::before { content: ""; width: 44px; height: 4px; border-radius: 2px; background: var(--grip); }
.map-resizer:hover, .map-resizer.is-dragging { background: var(--grip-bg-hover); }
.map-resizer:hover::before, .map-resizer.is-dragging::before { background: var(--red); }
.map-resizer:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.gsis-fs { font-size: 16px; line-height: 30px; width: 30px; height: 30px; text-align: center; cursor: pointer;
  background: var(--card); border: 0; display: block; padding: 0; color: var(--ink); }
.gsis-fs:hover { background: var(--hover); }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.charts .card { margin-bottom: 0; }
.card-wide { grid-column: 1 / -1; }
.chart-box { position: relative; height: 260px; width: 100%; min-width: 0; }
.table-wrap { overflow: auto; max-height: calc(100vh - 300px); min-height: 240px; }
.foot { padding: 12px 20px 20px; font-size: 12px; }

/* Grand écran : 3 graphiques par ligne */
@media (min-width: 1500px) {
  .charts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Écran moyen / petit : filtres en panneau escamotable */
@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 2000; width: min(320px, 88vw);
    max-height: none; border-radius: 0; transform: translateX(-105%); transition: transform .2s ease; }
  .filters.is-open { transform: none; }
  .backdrop { display: block; position: fixed; inset: 0; z-index: 1500; background: var(--overlay); }
  #filters-close, .btn-filters { display: inline-block; }
  .charts { grid-template-columns: minmax(0, 1fr); }
  .tabs { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; }
  .status { max-width: 22ch; }
}
@media (max-width: 600px) {
  .topbar { padding: 8px 12px; gap: 8px; }
  .brand-sub { display: none; }
  .status { display: none; }
  .banner { margin: 8px 12px; }
  .kpi-value { font-size: 22px; }
}

/* --- carte (map.js) --- */
.gsis-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px;
  vertical-align: middle; border: 1px solid rgba(0,0,0,.15); flex: none; }
.gsis-popup { font-size: 13px; line-height: 1.35; }
.gsis-popup-head { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.gsis-popup-count { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 9px;
  background: var(--red); color: var(--on-accent); font-size: 11px; font-weight: 600; }
.gsis-popup-list { list-style: none; margin: 0; padding: 0; }
.gsis-popup-item + .gsis-popup-item { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
.gsis-popup-date { color: var(--muted); font-size: 12px; }
.gsis-popup-comp { color: var(--ink); font-style: italic; margin-top: 2px; }
.gsis-legend { background: var(--legend-bg); padding: 8px 10px; border-radius: 8px;
  box-shadow: var(--shadow); font-size: 12px; line-height: 1.6; color: var(--ink); }
.gsis-legend[hidden] { display: none; }
.gsis-legend-title { font-weight: 600; margin-bottom: 2px; }
.gsis-legend-n { color: var(--muted); margin-left: 4px; }

/* --- graphiques et tableau (charts.js, table.js) --- */
.alarm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.alarm-table th, .alarm-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.alarm-table thead th { position: sticky; top: 0; background: var(--card); z-index: 1; padding: 0; white-space: nowrap; }
.alarm-table tbody tr:hover { background: var(--row-hover); }
.alarm-table .col-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.alarm-table .col-cat { white-space: nowrap; }
.alarm-table .is-empty td { text-align: center; padding: 16px; }
.sort-btn { all: unset; display: block; width: 100%; padding: 6px 8px; cursor: pointer; font-weight: 600; box-sizing: border-box; }
.sort-btn:hover { background: var(--hover); }
.sort-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.sort-btn.is-active { color: var(--red); }
.sort-ind { font-size: 10px; }
.cat-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.heatmap { overflow-x: auto; }
.heat-table { border-collapse: separate; border-spacing: 2px; font-size: 11px; }
.heat-table th { font-weight: 500; color: var(--muted); padding: 0 4px; text-align: center; }
.heat-table .heat-day { text-align: right; }
.heat-table .heat-hour.is-night { color: var(--night-ink); font-weight: 600; }
.heat-cell { width: 22px; height: 18px; border-radius: 3px; }
.hm-0 { background: var(--hm-0); }
.hm-1 { background: var(--hm-1); }
.hm-2 { background: var(--hm-2); }
.hm-3 { background: var(--hm-3); }
.hm-4 { background: var(--hm-4); }
.heat-legend { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 11px; color: var(--muted); }
.heat-swatch { display: inline-block; width: 16px; height: 12px; border-radius: 2px; }


/* --- indicateurs et filtres (app.js) --- */
.kpi { flex: 1 1 auto; min-width: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px 12px; border-top: 3px solid var(--red); }
.kpi-title { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.kpi-value { font-size: 22px; font-weight: 700; line-height: 1.2; margin: 3px 0 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-detail { white-space: nowrap; }
.kpi-detail { font-size: 12px; color: var(--muted); }
.f-section { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.f-title { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: 0 0 8px; }
.f-dates { display: grid; gap: 6px; }
.f-dates label { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; }
.f-dates input, .filters input[type=search], .f-hours select {
  font: inherit; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--input-bg); color: var(--ink); min-width: 0; }
.filters input[type=search] { width: 100%; }
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font: inherit; font-size: 12px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--input-bg); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--red); color: var(--red); }
.f-list { display: grid; gap: 4px; }
.f-check { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 6px; cursor: pointer; }
.f-check:not(:has(.f-dot)) { grid-template-columns: auto minmax(0, 1fr) auto; }
.f-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.f-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-count { font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 0 7px; }
.f-hours { display: flex; align-items: center; gap: 6px; }
.f-hint { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.f-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.f-day { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.f-reset { width: 100%; }

/* Interactions : lignes du tableau et cases de la grille cliquables */
.alarm-table tbody tr.is-clickable { cursor: pointer; }
.alarm-table tbody tr.is-clickable:hover { background: var(--red-soft); }
.alarm-table tbody tr.is-clickable:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.heat-cell.is-clickable { cursor: pointer; }
.heat-cell.is-clickable:hover { outline: 2px solid var(--ink); outline-offset: -1px; }


/* Épingles des alarmes */
.gsis-pin { background: none; border: 0; }
.gsis-pin svg { display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.45));
  transform-origin: 50% 100%; transition: transform .12s ease; }
.gsis-pin:hover svg, .gsis-pin:focus svg { transform: scale(1.2); }
.gsis-pin:focus { outline: none; }
.gsis-pin:focus-visible svg { filter: drop-shadow(0 0 3px var(--blue)) drop-shadow(0 2px 2px rgba(0,0,0,.45)); }
.gsis-popup-other { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.gsis-pin-badge { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: #111; color: #fff; border: 2px solid #fff; font: 700 11px/14px system-ui, sans-serif;
  text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* =====================================================================
   THÈMES — data-theme sur <html> : clair (défaut), sombre, pompier, helldivers
   Les couleurs des catégories restent identiques dans tous les thèmes.
   ===================================================================== */
.theme-picker { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.theme-picker select { font: inherit; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--input-bg); color: var(--ink); }

/* Éléments Leaflet qui suivent le thème */
.leaflet-container { background: var(--bg); font-family: var(--font); }
.leaflet-bar a, .leaflet-control-layers, .leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: var(--card); color: var(--ink); }
.leaflet-bar a { border-bottom-color: var(--line); }
.leaflet-bar a:hover { background: var(--hover); }
.leaflet-control-layers-separator { border-top-color: var(--line); }
.leaflet-container .leaflet-control-attribution { background: var(--legend-bg); color: var(--muted); }
.leaflet-container .leaflet-control-attribution a { color: var(--blue); }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }

/* Fonds de carte assombris (OSM sombre, swissTLM sombre) */
.gsis-tiles-dark { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.6); }

/* ---------- Sombre ---------- */
html[data-theme="sombre"] {
  color-scheme: dark;
  --bg: #0f1217; --card: #181c23; --ink: #e6e8eb; --muted: #9aa3ae; --line: #2a303a; --line-strong: #3a424e;
  --red: #e5484d; --red-dark: #c93b40; --red-soft: #2a1a1d; --blue: #6ea8ff; --on-accent: #fff;
  --hover: #222833; --row-hover: #1f242d; --input-bg: #11151b;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.35);
  --err-bg: #2a1518; --err-ink: #ffb3b8; --err-line: #5a2a30; --info-bg: #132036; --info-ink: #b8d1ff; --info-line: #24406b;
  --chip-line: #5a2a30; --grip-bg: #222833; --grip-bg-hover: #2a313d; --grip: #4a5361;
  --overlay: rgba(0,0,0,.55); --legend-bg: rgba(24,28,35,.92);
  --hm-0: #1f242d; --hm-1: #4a2228; --hm-2: #8a2b36; --hm-3: #cf3f4c; --hm-4: #ff6b74; --night-ink: #9cc0ff;
  --chart-1: #e5484d; --chart-2: #6ea8ff; --chart-night: #3d6fc2;
}

/* ---------- Sombre pompier : rouge feu + jaune de sécurité (bandes réfléchissantes) ---------- */
html[data-theme="pompier"] {
  color-scheme: dark;
  --bg: #121212; --card: #1c1c1c; --ink: #f1f1f1; --muted: #a8a8a8; --line: #2e2e2e; --line-strong: #444;
  --red: #d7261e; --red-dark: #b31d16; --red-soft: #2b1412; --blue: #ffb000; --on-accent: #fff;
  --accent2: #ffb000; --reflet: #c9ccd1;
  --hover: #262626; --row-hover: #232323; --input-bg: #141414;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4);
  --err-bg: #2b1412; --err-ink: #ffb3a8; --err-line: #5c241e; --info-bg: #2a2210; --info-ink: #ffd88a; --info-line: #5a4614;
  --chip-line: #5c241e; --grip-bg: #262626; --grip-bg-hover: #303030; --grip: #ffb000;
  --overlay: rgba(0,0,0,.6); --legend-bg: rgba(28,28,28,.92);
  --hm-0: #232323; --hm-1: #4d1d14; --hm-2: #8f2a17; --hm-3: #e0491b; --hm-4: #ffb000; --night-ink: #ffb000;
  --chart-1: #d7261e; --chart-2: #ffb000; --chart-night: #b37b00;
}
html[data-theme="pompier"] .topbar { border-bottom: 4px solid var(--red); box-shadow: 0 4px 0 var(--accent2); }
html[data-theme="pompier"] .kpi { border-top: 3px solid var(--accent2); box-shadow: inset 0 3px 0 var(--reflet), var(--shadow); }
html[data-theme="pompier"] .kpi-value { color: #fff; }
html[data-theme="pompier"] .tab.is-active { color: var(--accent2); background: #2a2210; box-shadow: inset 0 -3px 0 var(--red); }
html[data-theme="pompier"] .card h2, html[data-theme="pompier"] .f-title { color: var(--accent2); }
html[data-theme="pompier"] .btn-primary { box-shadow: inset 0 -3px 0 var(--accent2); }

/* ---------- Helldivers 2 (style inspiré : noir, jaune, majuscules, coins coupés) ---------- */
html[data-theme="helldivers"] {
  color-scheme: dark;
  --font: "Bahnschrift SemiCondensed", "Bahnschrift", "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  --bg: #0b0b0b; --card: #151515; --ink: #e8e8e8; --muted: #9b9b8f; --line: #2b2b24; --line-strong: #4a4a2c;
  --red: #ffe81f; --red-dark: #e6cf00; --red-soft: #262208; --blue: #ffe81f; --on-accent: #0b0b0b;
  --radius: 0px; --hover: #1f1f1a; --row-hover: #1c1c16; --input-bg: #0f0f0f;
  --shadow: none;
  --err-bg: #2a1210; --err-ink: #ff8a7a; --err-line: #6b2a22; --info-bg: #1d1b0b; --info-ink: #ffe81f; --info-line: #4a4416;
  --chip-line: #6b6219; --grip-bg: #1f1f1a; --grip-bg-hover: #29291f; --grip: #ffe81f;
  --overlay: rgba(0,0,0,.7); --legend-bg: rgba(15,15,15,.92);
  --hm-0: #1c1c16; --hm-1: #3d3708; --hm-2: #7a6d0c; --hm-3: #c9b10f; --hm-4: #ffe81f; --night-ink: #ffe81f;
  --chart-1: #ffe81f; --chart-2: #d9d9cc; --chart-night: #8a7d10;
}
html[data-theme="helldivers"] body {
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
  letter-spacing: .02em;
}
html[data-theme="helldivers"] h2, html[data-theme="helldivers"] .f-title, html[data-theme="helldivers"] .kpi-title,
html[data-theme="helldivers"] .tab, html[data-theme="helldivers"] .btn, html[data-theme="helldivers"] .brand {
  text-transform: uppercase; letter-spacing: .1em; }
html[data-theme="helldivers"] .topbar { background: #000; border-bottom: 2px solid var(--red); }
html[data-theme="helldivers"] .brand-mark { border-radius: 0; }
html[data-theme="helldivers"] .card, html[data-theme="helldivers"] .kpi, html[data-theme="helldivers"] .filters {
  border: 1px solid var(--line-strong); border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
html[data-theme="helldivers"] .kpi { border-top: 3px solid var(--red); }
html[data-theme="helldivers"] .kpi-value { color: var(--red); font-family: Consolas, "Courier New", monospace; }
html[data-theme="helldivers"] .btn, html[data-theme="helldivers"] .chip, html[data-theme="helldivers"] .af-chip,
html[data-theme="helldivers"] .tab, html[data-theme="helldivers"] input, html[data-theme="helldivers"] select { border-radius: 0; }
html[data-theme="helldivers"] .btn-primary { font-weight: 700; }
html[data-theme="helldivers"] .tab.is-active { background: var(--red); color: #000; }
html[data-theme="helldivers"] .map { border-radius: 0; }
html[data-theme="helldivers"] .map-resizer { border-radius: 0; }
html[data-theme="helldivers"] .drop-zone { border-color: var(--red); border-radius: 0; }
html[data-theme="helldivers"] .brand-sub { display: none; }
html[data-theme="helldivers"] .tab, html[data-theme="helldivers"] .btn { letter-spacing: .06em; }
html[data-theme="helldivers"] .kpi-title { letter-spacing: .04em; }
html[data-theme="helldivers"] .kpi-value { font-size: 20px; }
