/* ==========================================================================
   dispolotse.de - LIVE: the dealer and his drivers (public dealer map)
   PREVIEW 26.09.2026 (lane HP-HAENDLERKARTE). Builds on hp.css (same tokens,
   same spacing steps). Dark = night map with glow, light = day map.
   No third-party host, no map tiles: the base map is our own drawing from
   Natural Earth (public domain), the data is one static snapshot file.
   ========================================================================== */

/* ⭐ hpa-k 29.09.2026: the map colours are the APP's colour worlds (pc-app Farbwelt.Dunkel /
   Farbwelt.Hell, names from kern\Karte\Kartenbild.cs): F.Kartenmeer / Kartenland / Kartenfremd /
   Kartengrenze / Kartenkueste / Kartenstadtlicht, F.Signal for the dealer's lines, the
   Fahrtenband0421 colours for the states. Marco: „original wie von der händler-karte alles". */
:root {
  --lk-meer:    #0a141f;   /* F.Kartenmeer */
  --lk-meer1:   #0a141f;
  --lk-meer2:   #0d1a28;
  --lk-land:    #35485f;   /* F.Kartenland (a country you can drive in) */
  --lk-land-aus:#1e2a38;   /* F.Kartenfremd (paler: where the map ends) */
  --lk-grenze:  #5a7490;   /* F.Kartengrenze */
  --lk-kueste:  #6e8cae;   /* F.Kartenkueste */
  --lk-netz:    rgba(120, 150, 190, .07);
  --lk-wasser:  #0a141f;   /* lakes = the sea */
  --lk-fluss:   rgba(110, 140, 174, .30);
  --lk-stadt:   #9ba7b4;
  --lk-schrift: #eef3f8;   /* F.Licht — town names are text you are meant to read */
  --lk-halo:    #0a141f;   /* the halo is the SEA colour, never white (Kartenbild.StadtnameSaumfarbe) */
  --lk-stadtlicht: #f0c879;/* F.Kartenstadtlicht */
  --lk-punktrand: #0e1116; /* F.Nacht (Fahnenrand) */
  --lk-haendler:#f0a500;   /* F.Signal (Kartenbild.Strecke) */
  --lk-haendler2:#ffcf6b;
  --lk-trupp:   #4cc38a;
  --lk-boerse:  #3fc1c9;
  --lk-spieler: #6aa7ff;
  --lk-eilig:   #ff7a59;
  --lk-lage-faehrt: #4cc38a;     /* F.Frei */
  --lk-lage-angekommen: #4cc38a; /* F.Frei */
  --lk-lage-faehre: #7fd4f5;     /* F.Kartenfahrzeugfremd */
  --lk-lage-pause:  #e9b949;     /* F.Achtung */
  --lk-lage-wartet: #e9b949;     /* F.Achtung */
  --lk-lage-ruhe:   #35a0c8;     /* F.Signal2 */
  --lk-nebel:   #9ba7b4;         /* F.Nebel */
  --lk-auf-lage: #0e1116;
  --lk-glas:    rgba(14, 20, 29, .84);
  --lk-glas-rand: rgba(255, 255, 255, .10);
  --lk-schatten: 0 18px 50px rgba(0, 0, 0, .45);
  --lk-leucht:  1;
}
@media (prefers-color-scheme: light) {
  :root:not([data-farbe="dunkel"]) {
    --lk-meer:    #c3d5e7;
    --lk-meer1:   #c3d5e7;
    --lk-meer2:   #cbdcec;
    --lk-land:    #f2f6fa;
    --lk-land-aus:#e4e9ee;
    --lk-grenze:  #9baec1;
    --lk-kueste:  #7c93ab;
    --lk-netz:    rgba(60, 90, 130, .08);
    --lk-wasser:  #c3d5e7;
    --lk-fluss:   rgba(80, 120, 170, .35);
    --lk-stadt:   #5a6674;
    --lk-schrift: #16202b;
    --lk-halo:    #c3d5e7;
    --lk-stadtlicht: #d99a2b;
    --lk-punktrand: #eef1f5;
    --lk-haendler:#9a5a00;
    --lk-haendler2:#e39a1c;
    --lk-trupp:   #1a8f55;
    --lk-boerse:  #0f8c94;
    --lk-spieler: #2d6fd6;
    --lk-eilig:   #d24a2a;
    --lk-lage-faehrt: #1a7f4b;
    --lk-lage-angekommen: #1a7f4b;
    --lk-lage-faehre: #1a6e92;
    --lk-lage-pause:  #6f6500;
    --lk-lage-wartet: #6f6500;
    --lk-lage-ruhe:   #1c6f8e;
    --lk-nebel:   #5a6674;
    --lk-auf-lage: #ffffff;
    --lk-glas:    rgba(255, 255, 255, .90);
    --lk-glas-rand: rgba(22, 32, 43, .12);
    --lk-schatten: 0 18px 50px rgba(30, 50, 80, .18);
    --lk-leucht:  0;
  }
}
:root[data-farbe="hell"] {
  --lk-meer:    #c3d5e7;
  --lk-meer1:   #c3d5e7;
  --lk-meer2:   #cbdcec;
  --lk-land:    #f2f6fa;
  --lk-land-aus:#e4e9ee;
  --lk-grenze:  #9baec1;
  --lk-kueste:  #7c93ab;
  --lk-netz:    rgba(60, 90, 130, .08);
  --lk-wasser:  #c3d5e7;
  --lk-fluss:   rgba(80, 120, 170, .35);
  --lk-stadt:   #5a6674;
  --lk-schrift: #16202b;
  --lk-halo:    #c3d5e7;
  --lk-stadtlicht: #d99a2b;
  --lk-punktrand: #eef1f5;
  --lk-haendler:#9a5a00;
  --lk-haendler2:#e39a1c;
  --lk-trupp:   #1a8f55;
  --lk-boerse:  #0f8c94;
  --lk-spieler: #2d6fd6;
  --lk-eilig:   #d24a2a;
  --lk-lage-faehrt: #1a7f4b;
  --lk-lage-angekommen: #1a7f4b;
  --lk-lage-faehre: #1a6e92;
  --lk-lage-pause:  #6f6500;
  --lk-lage-wartet: #6f6500;
  --lk-lage-ruhe:   #1c6f8e;
  --lk-nebel:   #5a6674;
  --lk-auf-lage: #ffffff;
  --lk-glas:    rgba(255, 255, 255, .90);
  --lk-glas-rand: rgba(22, 32, 43, .12);
  --lk-schatten: 0 18px 50px rgba(30, 50, 80, .18);
  --lk-leucht:  0;
}

/* ── the section ─────────────────────────────────────────────────────── */
.live { position: relative; }
.live .aufschrift { display: inline-flex; align-items: center; gap: var(--ab-klein); }
.live-punkt {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lk-eilig);
  box-shadow: 0 0 0 0 rgba(255, 122, 89, .6);
  animation: lkPuls 2.2s ease-out infinite;
}
@keyframes lkPuls {
  0%   { box-shadow: 0 0 0 0 rgba(255, 122, 89, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 122, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 89, 0); }
}

/* ── the counters ────────────────────────────────────────────────────── */
.live-zahlen {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--ab-normal);
  margin: var(--ab-gross) 0;
}
.live-zahl {
  position: relative;
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--rd-karte);
  padding: var(--ab-normal) var(--ab-gross) var(--ab-normal);
  overflow: hidden;
  min-width: 0;
}
.live-zahl::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--glanz);
}
.live-zahl::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--akzent, var(--ton));
}
.live-zahl b {
  display: block;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: var(--text);
}
.live-zahl span { display: block; color: var(--matt); font-size: 13.5px; line-height: 1.35; margin-top: var(--ab-winzig); }
.live-zahl[data-art="spieler"]  { --akzent: var(--lk-spieler); }
.live-zahl[data-art="aktiv"]    { --akzent: #9d7bff; }
.live-zahl[data-art="haendler"] { --akzent: var(--lk-haendler); }
.live-zahl[data-art="boerse"]   { --akzent: var(--lk-boerse); }
.live-zahl[data-art="trupp"]    { --akzent: var(--lk-trupp); }

/* ── the stage with the map (hpa-k 29.09.: the app's dealer map, larger) ── */
.live-buehne {
  position: relative;
  border-radius: var(--rd-gross);
  border: 1px solid var(--rand);
  overflow: hidden;
  background: var(--lk-meer);
  box-shadow: var(--lk-schatten);
  isolation: isolate;
}
/* ⭐ larger than the text column on wide screens: the map takes up to 1600 px
   (✏️ T-PMKARTE 05.10.2026, Marco „etwas größer": was 1400 px; the stage is taller too, karte.js sichtWaehlen) */
@media (min-width: 1180px) {
  .live-buehne, .lk-fl { margin-left: calc(50% - min(50vw - 40px, 800px)); margin-right: calc(50% - min(50vw - 40px, 800px)); }
}
.live-buehne::after {           /* a soft vignette - night only */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(140% 110% at 50% 45%, transparent 62%, rgba(0, 0, 0, .38));
  opacity: var(--lk-leucht);
}
.live-karte { display: block; width: 100%; height: auto; touch-action: manipulation; }
.live-karte text { font-family: var(--schrift); }

/* the base map in the app's layers: sea, foreign land (paler), game land, lakes, rivers, borders, coast */
.gk-meer      { fill: var(--lk-meer); }
.gk-netz path { fill: none; stroke: var(--lk-netz); stroke-width: 1; vector-effect: non-scaling-stroke; }
.gk-aus path  { fill: var(--lk-land-aus); stroke: var(--lk-grenze); stroke-opacity: .55; stroke-width: .7; vector-effect: non-scaling-stroke; }
.gk-land path { fill: var(--lk-land); stroke: var(--lk-kueste); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.gk-see path  { fill: var(--lk-wasser); stroke: var(--lk-kueste); stroke-width: .6; stroke-opacity: .6; vector-effect: non-scaling-stroke; }
.gk-fluss path{ fill: none; stroke: var(--lk-fluss); stroke-width: .8; vector-effect: non-scaling-stroke; }
.gk-grenze path { fill: none; stroke: var(--lk-grenze); stroke-width: .7; vector-effect: non-scaling-stroke; stroke-linejoin: round; }

/* the city light under a named town (Kartenbild.Lichtinselstufen) - a warm spot by day */
.lk-licht { opacity: calc(.55 + .45 * var(--lk-leucht)); pointer-events: none; }

/* towns: the orange dot on a trip (Kartenbild.StadtBasis/Fahnenrand), a quiet dot otherwise */
.lk-stadt circle { fill: var(--lk-haendler); stroke: var(--lk-punktrand); stroke-width: 1.6; }
.lk-stadt.rand circle { fill: var(--lk-stadt); stroke-width: 1; }
.lk-name {
  fill: var(--lk-schrift);
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--lk-halo);
  stroke-width: 4.8px;             /* Kartenbild.StadtnameSaum 2.4 on each side */
  stroke-linejoin: round;
  letter-spacing: .005em;
  pointer-events: none;
}
.lk-name.kontext { opacity: .72; font-weight: 700; }
.lk-name.hof { fill: var(--lk-haendler2); }
:root[data-farbe="hell"] .lk-name.hof { fill: var(--lk-haendler); }
@media (prefers-color-scheme: light) { :root:not([data-farbe="dunkel"]) .lk-name.hof { fill: var(--lk-haendler); } }

/* lines: the dealer's trips DASHED 6/4 in the signal colour (Kartenbild.Streckenmuster) */
.lk-bogen { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.lk-bogen.haendler { stroke: var(--lk-haendler); stroke-width: 2.4; stroke-dasharray: 6 4; }
.lk-bogen.haendler.saum { stroke-dasharray: none; stroke-width: 7; stroke-opacity: calc(.10 + .08 * var(--lk-leucht)); }
.lk-bogen.haendler.eingeplant { stroke-opacity: .6; stroke-width: 1.8; }
.lk-bogen.haendler.abgeladen { stroke-opacity: .32; stroke-width: 1.6; }
.lk-bogen.trupp { stroke: var(--lk-trupp); stroke-width: 1.8; stroke-dasharray: 4 5; }
.lk-bogen.boerse { stroke: var(--lk-boerse); stroke-width: 1.2; stroke-dasharray: 1.5 5; stroke-opacity: .7; }
.lk-bogen.spieler { stroke: var(--lk-spieler); stroke-width: 1.4; stroke-opacity: .55; stroke-dasharray: 3 4; }
.lk-bogen.hervor { stroke-width: 4 !important; stroke-opacity: 1 !important; }
.lk-bogen.haendler.saum.hervor { stroke-width: 10 !important; stroke-opacity: .28 !important; }

.lk-gedimmt .lk-bogen:not(.hervor), .lk-gedimmt .lk-sym:not(.hervor):not(.lk-hof) { opacity: .22; transition: opacity .2s; }

/* symbols: drawn in screen pixels, scaled with --s */
.lk-sym { cursor: pointer; outline: none; }
.lk-sym .ziel { fill: transparent; }
.lk-sym .ring-fokus { fill: none; stroke: none; }
.lk-sym:focus-visible .ring-fokus { stroke: var(--text); stroke-width: 2; fill: none; }

/* a trip on the road: „1 ➜" in the colour of what it does now (Fahrtenband0421) */
.lk-pille-karte .punkt { fill: var(--c); stroke: var(--lk-punktrand); stroke-width: 1.6; }
.lk-pille-karte .grund { fill: var(--c); stroke: var(--lk-punktrand); stroke-width: 1.2; }
.lk-pille-karte text { fill: var(--lk-auf-lage); font-size: 11.5px; font-weight: 800; font-family: var(--schrift); }
.lk-pille-karte.hervor .grund { stroke: var(--text); stroke-width: 2; }

.lk-hof .glut { fill: url(#lkGlut); opacity: calc(.5 + .5 * var(--lk-leucht)); pointer-events: none; }
.lk-hof .platte { fill: var(--lk-haendler); stroke: var(--lk-punktrand); stroke-width: 2; }
.lk-hof .zeichen { fill: var(--lk-punktrand); }
.lk-hof .bau { fill: none; stroke: var(--lk-trupp); stroke-width: 1.6; }

.lk-trupp-marke .grund { fill: var(--lk-trupp); stroke: var(--lk-punktrand); stroke-width: 1.2; }
.lk-trupp-marke .bus { fill: var(--lk-punktrand); }
.lk-trupp-marke text { fill: var(--lk-punktrand); font-size: 11px; font-weight: 800; font-family: var(--schrift); }
.lk-truppfahrt .kern { fill: var(--lk-trupp); stroke: var(--lk-punktrand); stroke-width: 1.4; }

.lk-kiste .k { fill: var(--lk-boerse); stroke: var(--lk-punktrand); stroke-width: 1.2; }
.lk-kiste.eilig .k { fill: var(--lk-eilig); }
.lk-kiste text { fill: var(--lk-schrift); font-size: 11px; font-weight: 800; paint-order: stroke; stroke: var(--lk-halo); stroke-width: 3px; font-family: var(--schrift); }

.lk-spielerpunkt .kern { fill: var(--lk-spieler); stroke: var(--lk-punktrand); stroke-width: 1.4; }
.lk-blase circle.b { fill: var(--lk-spieler); fill-opacity: .16; stroke: var(--lk-spieler); stroke-opacity: .55; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lk-blase text { fill: var(--lk-spieler); font-weight: 700; font-size: 13px;
  paint-order: stroke; stroke: var(--lk-halo); stroke-width: 3px; }

.lk-netzpunkt .ring { fill: var(--lk-punktrand); stroke: var(--lk-haendler); stroke-width: 1.6; stroke-dasharray: 3 2.4; }
.lk-netzpunkt .fahne { fill: var(--lk-haendler); stroke: var(--lk-haendler); stroke-width: 1; stroke-linejoin: round; }
.lk-netzpunkt.offen .ring { stroke-dasharray: none; }

/* the glass pieces on the stage */
.lk-glas {
  background: var(--lk-glas);
  border: 1px solid var(--lk-glas-rand);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  color: var(--text);
}
.live-kopf {
  position: absolute; left: var(--ab-normal); top: var(--ab-normal);
  display: flex; flex-wrap: wrap; gap: var(--ab-klein); align-items: center;
  max-width: calc(100% - 24px);
  z-index: 2;
}
.live-stempel {
  padding: 6px 12px; font-size: 13px; color: var(--matt);
  display: inline-flex; align-items: center; gap: var(--ab-klein); white-space: nowrap;
}
.live-stempel b { color: var(--text); font-weight: 600; }
.live-heute { padding: 6px 12px; font-size: 13px; color: var(--matt); }
.live-heute b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.live-ebenen {
  position: absolute; right: var(--ab-normal); bottom: var(--ab-normal);
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px;
  z-index: 2; max-width: calc(50% - 24px);
}
.lk-chip {
  font: inherit; font-size: 12.5px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 11px; border-radius: 999px;
  background: var(--lk-glas); color: var(--text);
  border: 1px solid var(--lk-glas-rand);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lk-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.lk-chip[aria-pressed="false"] { opacity: .5; }
.lk-chip[aria-pressed="false"] i { background: transparent; border: 1.5px solid var(--c); }

/* ⭐ the status legend of the app (Fahrtenband0421.Legende): sign + word per state, with the count */
.lk-legende {
  position: absolute; left: var(--ab-normal); bottom: var(--ab-normal); z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  padding: 8px 12px; font-size: 13px; max-width: calc(50% - 24px);
}
.lk-legende[hidden] { display: none; }
.lk-legende .lg-titel { font-weight: 700; margin-right: 2px; }
.lk-legende .lg { display: inline-flex; align-items: center; gap: 5px; color: var(--matt); white-space: nowrap; }
.lk-legende .lg i { font-style: normal; font-weight: 800; color: var(--c); min-width: 1em; text-align: center; }
.lk-legende .lg em { font-style: normal; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }

.live-info {
  position: absolute; z-index: 3;
  width: min(330px, calc(100% - 24px));
  padding: 14px 16px 14px;
  box-shadow: var(--lk-schatten);
  pointer-events: auto;
  animation: lkRein .18s ease-out;
}
@keyframes lkRein { from { opacity: 0; transform: translateY(6px); } }
.live-info h4 { margin: 0 0 2px; font-size: 15.5px; line-height: 1.3; display: flex; gap: 8px; align-items: center; padding-right: 22px; }
.live-info h4 .farbe { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--ton)); flex: none; }
.live-info .unter { color: var(--matt); font-size: 13px; margin: 0 0 8px; }
.live-info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 13.5px; }
.live-info dt { color: var(--matt); }
.live-info dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.live-info .balken { height: 6px; border-radius: 99px; background: var(--rand); margin: 10px 0 2px; overflow: hidden; }
.live-info .balken i { display: block; height: 100%; background: var(--c, var(--ton)); border-radius: 99px; }
.live-info .lk-kurz { margin: 4px 0 0; padding: 0 0 0 16px; font-size: 13px; color: var(--matt); }
.live-info .lk-kurz b { color: var(--text); }
.live-info .lk-kurz em { color: var(--lk-eilig); font-style: normal; font-weight: 600; }
.live-info .zu {
  position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: transparent; color: var(--matt); font-size: 18px; cursor: pointer;
}
.live-info .zu:hover { color: var(--text); }
.live-info hr.lk-trenn { border: 0; border-top: 1px solid var(--rand); margin: 10px 0; }

.live-lade {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--matt); font-size: 14px;
}

/* ⭐ the trip list under the map (app KuZeile0926: two lines, the state pill right) */
.lk-fl {
  margin-top: var(--ab-normal);
  background: var(--karte); border: 1px solid var(--rand); border-radius: var(--rd-karte);
  padding: var(--ab-gross);
}
.lk-fl[hidden] { display: none; }
.lk-fl h3 { margin: 0 0 var(--ab-normal); font-size: 17px; display: flex; align-items: center; gap: 8px; }
.lk-fl-zahl { font-size: 12px; font-weight: 700; background: var(--mulde); border: 1px solid var(--rand); border-radius: 99px; padding: 1px 8px; }
.lk-fl-zeilen { display: grid; gap: 4px; }
.lk-fl-zeile {
  font: inherit; color: var(--text); text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  width: 100%; padding: 7px 12px; border-radius: 6px;
  background: var(--mulde); border: 1px solid var(--rand);
}
.lk-fl-zeile:hover { border-color: var(--c); }
.lk-fl-zeile.hervor { border: 2px solid var(--lk-haendler); padding: 6px 11px; }
.lk-fl-nr {
  font-size: 12px; font-weight: 800; color: var(--lk-auf-lage); background: var(--c);
  border-radius: 99px; padding: 3px 8px 4px; white-space: nowrap; min-width: 38px; text-align: center;
}
.lk-fl-text { min-width: 0; display: grid; gap: 1px; }
.lk-fl-text .eins { font-size: 14.5px; line-height: 1.35; }
.lk-fl-text .eins .punkt { color: var(--matt); }
.lk-fl-text .zwei { font-size: 13px; color: var(--matt); line-height: 1.35; }
.lk-fl-pille {
  font-size: 12px; line-height: 1; white-space: nowrap;
  padding: 4px 9px 6px; border-radius: 12px;          /* a stadium, 4 below the word (KuPille0926) */
  border: 1px solid var(--pc, var(--lk-nebel)); color: var(--pc, var(--lk-nebel));
}
.lk-fl-pille.unterwegs { --pc: var(--lk-haendler); }
.lk-fl-pille.eingeplant { --pc: var(--lk-nebel); }
.lk-fl-pille.abgeladen { --pc: var(--lk-lage-faehrt); }
.lk-fl-mehr {
  font: inherit; font-size: 13.5px; cursor: pointer; margin-top: var(--ab-klein);
  padding: 7px 14px; border-radius: 999px; background: transparent; color: var(--text); border: 1px solid var(--rand);
}
.lk-fl-satz { margin: var(--ab-klein) 0 0; font-size: 13px; color: var(--matt); }

@media (max-width: 699px) {
  /* phones: legend and chips under the map, not over it (the map stays readable) */
  .lk-legende { position: static; max-width: none; border-radius: 0; border-width: 1px 0 0; gap: 4px 12px; font-size: 12.5px; }
  .live-ebenen { position: static; max-width: none; justify-content: flex-start; padding: 8px 12px 12px; background: var(--lk-glas); }
  .lk-fl { padding: var(--ab-normal); }
  .lk-fl-zeile { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 7px 10px; }
  .lk-fl-zeile.hervor { padding: 6px 9px; }
  .lk-fl-pille { grid-column: 2; justify-self: start; }
  .lk-fl-text .eins { font-size: 14px; }
}

/* ── the tabs below the map ──────────────────────────────────────────── */
.live-reiter {
  display: flex; flex-wrap: wrap; gap: 6px; margin: var(--ab-gross) 0 var(--ab-normal);
  overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.live-reiter button {
  flex: none;
  font: inherit; font-size: 14px; cursor: pointer;
  padding: 9px 14px; border-radius: 999px;
  background: var(--karte); color: var(--matt);
  border: 1px solid var(--rand);
  display: inline-flex; align-items: center; gap: 8px;
}
.live-reiter button b {
  font-size: 12px; font-weight: 700; color: var(--text);
  background: var(--mulde); border: 1px solid var(--rand);
  border-radius: 99px; padding: 1px 7px; font-variant-numeric: tabular-nums;
}
.live-reiter button[aria-selected="true"] {
  color: var(--auf-ton); background: var(--ton-knopf); border-color: var(--ton-knopf);
}
.live-reiter button[aria-selected="true"] b { background: rgba(0, 0, 0, .18); border-color: transparent; color: var(--auf-ton); }

.live-inhalt { min-height: 220px; }
.lk-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--ab-normal); }
.lk-karte {
  position: relative; background: var(--karte); border: 1px solid var(--rand);
  border-radius: var(--rd-karte); padding: var(--ab-gross); min-width: 0; overflow: hidden;
}
.lk-karte::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--glanz); }
.lk-karte h3 { margin: 0; font-size: 17px; line-height: 1.3; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lk-karte .unter { color: var(--matt); font-size: 13.5px; margin: 2px 0 var(--ab-normal); }
.lk-pille {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; line-height: 1;
  padding: 5px 9px 6px; border-radius: 99px;
  border: 1px solid var(--c, var(--rand)); color: var(--c, var(--matt));
  background: color-mix(in srgb, var(--c, transparent) 10%, transparent);
  white-space: nowrap;
}
.lk-pille.haupt { --c: var(--lk-haendler); }
.lk-pille.gut { --c: var(--frei); }
.lk-pille.bau { --c: var(--lk-trupp); }
.lk-pille.plan { --c: var(--matt); }
.lk-pille.fahrt { --c: var(--lk-haendler); }
.lk-pille.boerse { --c: var(--lk-boerse); }
.lk-pille.eilig { --c: var(--lk-eilig); }
.lk-pille.spieler { --c: var(--lk-spieler); }

/* the yard illustration */
.lk-hofbild { width: 100%; height: auto; display: block; margin: 0 0 var(--ab-normal); border-radius: 8px; background: var(--mulde); border: 1px solid var(--rand); }
.lk-geb { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; align-items: center; }
.lk-geb .stufen { display: inline-flex; gap: 4px; }
.lk-geb .stufen i { width: 16px; height: 6px; border-radius: 3px; background: var(--rand); }
.lk-geb .stufen i.an { background: var(--lk-haendler); }
.lk-geb .stufen i.bau { background: repeating-linear-gradient(135deg, var(--lk-trupp) 0 3px, transparent 3px 6px); border: 1px solid var(--lk-trupp); }
.lk-geb small { color: var(--matt); font-size: 12.5px; grid-column: 1 / -1; margin-top: -4px; }
.lk-leiste { margin-top: var(--ab-normal); font-size: 13.5px; color: var(--matt); }
.lk-leiste .balken { height: 8px; border-radius: 99px; background: var(--mulde); border: 1px solid var(--rand); overflow: hidden; margin: 4px 0 8px; }
.lk-leiste .balken i { display: block; height: 100%; background: linear-gradient(90deg, var(--c, var(--lk-haendler)), color-mix(in srgb, var(--c, var(--lk-haendler)) 60%, #fff)); }

/* plants: conveyor bands */
.lk-band { position: relative; height: 60px; border-radius: 8px; background: var(--mulde); border: 1px solid var(--rand); margin-bottom: 8px; overflow: hidden; }
.lk-band .spur { position: absolute; left: 0; right: 0; bottom: 8px; height: 3px; background: repeating-linear-gradient(90deg, var(--rand) 0 10px, transparent 10px 16px); animation: lkBand 1.4s linear infinite; }
@keyframes lkBand { to { background-position: 16px 0; } }
.lk-band .voll { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--lk-haendler) 22%, transparent)); }
.lk-band svg { position: absolute; bottom: 9px; width: 54px; height: 24px; transform: translateX(-50%); }
.lk-band .txt { position: absolute; left: 10px; top: 5px; font-size: 12.5px; color: var(--text); font-weight: 600; }
.lk-band .zeit { position: absolute; right: 10px; top: 5px; font-size: 12px; color: var(--matt); }
.lk-band.frei { display: grid; place-items: center; color: var(--matt); font-size: 12.5px; border-style: dashed; }

/* stock */
.lk-vier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: var(--ab-normal); }
.lk-vier div { background: var(--mulde); border: 1px solid var(--rand); border-radius: 8px; padding: 8px 10px; }
.lk-vier b { font-size: 22px; display: block; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lk-vier span { font-size: 12.5px; color: var(--matt); }
.lk-tanks { display: flex; gap: var(--ab-gross); align-items: flex-end; margin: 4px 0 var(--ab-normal); }
.lk-tank { display: flex; gap: 10px; align-items: flex-end; font-size: 13px; color: var(--matt); }
.lk-tank .zyl { position: relative; width: 34px; height: 64px; border-radius: 9px; border: 1.5px solid var(--rand); background: var(--mulde); overflow: hidden; }
.lk-tank .zyl i { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); }
.lk-tank .zyl i::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.35); }
.lk-tank b { display: block; color: var(--text); font-size: 15px; font-variant-numeric: tabular-nums; }
.lk-regal { display: grid; grid-template-columns: auto 1fr auto; gap: 5px 10px; align-items: center; font-size: 13px; }
.lk-regal .b { height: 7px; border-radius: 99px; background: var(--mulde); border: 1px solid var(--rand); overflow: hidden; }
.lk-regal .b i { display: block; height: 100%; background: var(--lk-boerse); opacity: .8; }
.lk-regal em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }

/* workshop bays */
.lk-buchten { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; margin-bottom: var(--ab-normal); }
.lk-bucht { position: relative; border-radius: 8px; border: 1px solid var(--rand); background: var(--mulde); height: 92px; padding: 6px 8px; font-size: 12px; line-height: 1.35; color: var(--matt); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lk-bucht svg { position: absolute; left: 50%; bottom: 13px; transform: translateX(-50%); width: 64px; height: 30px; }
.lk-bucht .hebe { position: absolute; left: 12%; right: 12%; bottom: 8px; height: 4px; border-radius: 2px; background: var(--lk-haendler); opacity: .8; }
.lk-bucht.frei { border-style: dashed; display: grid; place-items: center; }
.lk-bucht.bau { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--lk-trupp) 16%, transparent) 0 6px, transparent 6px 12px); display: grid; place-items: center; color: var(--lk-trupp); }
.lk-bucht b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* staff */
.lk-leute { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-leute span { font-size: 13px; padding: 5px 10px; border-radius: 99px; background: var(--mulde); border: 1px solid var(--rand); display: inline-flex; gap: 7px; align-items: center; }
.lk-leute span i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--matt)); }
.lk-zaehl { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 var(--ab-normal); }
.lk-gross { font-size: 34px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

/* rows (trips, loads, exchange) */
.lk-zeilen { display: grid; gap: 8px; }
.lk-zeile {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 14px; align-items: center;
  background: var(--karte); border: 1px solid var(--rand); border-radius: var(--rd-karte);
  padding: 10px 14px; cursor: pointer; text-align: left; font: inherit; color: inherit; width: 100%;
}
.lk-zeile:hover, .lk-zeile.hervor { border-color: var(--c, var(--ton)); }
.lk-zeile .sym { width: 44px; height: 26px; }
.lk-zeile .strecke { font-weight: 600; font-size: 15px; line-height: 1.3; }
.lk-zeile .leise { color: var(--matt); font-size: 13px; line-height: 1.4; }
.lk-zeile .rechts { text-align: right; display: grid; gap: 4px; justify-items: end; }
.lk-zeile .fort { grid-column: 2 / -1; height: 5px; border-radius: 99px; background: var(--mulde); overflow: hidden; }
.lk-zeile .fort i { display: block; height: 100%; background: linear-gradient(90deg, var(--c, var(--lk-haendler)), var(--lk-haendler2)); }

.lk-leer { color: var(--matt); padding: var(--ab-gross); text-align: center; border: 1px dashed var(--rand); border-radius: var(--rd-karte); }
.live-fuss { color: var(--matt); font-size: 12.5px; margin-top: var(--ab-gross); line-height: 1.5; }
.live-beispiel {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--lk-eilig); border: 1px solid var(--lk-eilig); border-radius: 99px; padding: 3px 9px;
}

/* ── narrow screens ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .live-zahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .live-reiter { flex-wrap: nowrap; }
  .live-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .live-zahl { padding: 10px 12px; }
  .live-buehne, .lk-fl { border-radius: var(--rd-karte); margin-left: -4px; margin-right: -4px; }
  /* on a phone the glass pieces would cover half the map: they move above and below it */
  .live-kopf { position: static; max-width: none; padding: 8px 8px 0; }
  .live-ebenen { position: static; max-width: none; padding: 0 8px 8px; justify-content: flex-start; }
  .live-stempel, .live-heute { font-size: 12px; padding: 5px 10px; }
  .live-stempel .neu { display: none; }
  .lk-chip { padding: 7px 9px; font-size: 12px; }
  .live-info {
    left: 8px !important; right: 8px; top: auto !important; bottom: 8px; width: auto;
  }
  .lk-zeile { grid-template-columns: 34px 1fr; }
  .lk-zeile .sym { width: 34px; }
  .lk-zeile .rechts { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 8px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .live-punkt, .lk-bogen, .lk-hof .glut, .lk-blase circle.w, .lk-bus .blink, .lk-band .spur, .live-info { animation: none !important; }
}

/* ── ⭐ bhl 26.09.2026: the hero teaser + the link from "Was ist das?" ──────
   Filled by karte.js from the same snapshot; hidden without data/JS. */
.live-teaser {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 12px 0 0; padding: 8px 16px 8px 12px;
  border-radius: 999px; text-decoration: none; color: var(--text);
  background: var(--lk-glas); border: 1px solid var(--lk-glas-rand);
  box-shadow: inset 0 1px 0 var(--glanz);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14px; line-height: 1.3;
  transition: transform .2s ease, border-color .2s ease;
}
.live-teaser[hidden] { display: none; }
.live-teaser:hover, .live-teaser:focus-visible { transform: translateY(-1px); border-color: var(--lk-eilig); }
.live-teaser b { color: var(--lk-eilig); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.live-teaser .lt-zahl { font-weight: 700; font-variant-numeric: tabular-nums; }
.live-teaser .lt-zahl:empty { display: none; }
.live-teaser .lt-rest { color: var(--matt); }
.live-teaser .lt-rest::after { content: " \2192"; }
.live-link { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--ton); text-decoration: none; }
.live-link::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
  background: var(--lk-eilig); vertical-align: middle; animation: lkPuls 2.2s ease-out infinite; }
.live-link::after { content: " \2192"; }
.live-link:hover { text-decoration: underline; }
@media (max-width: 520px) { .live-teaser .lt-rest { flex-basis: 100%; padding-left: 20px; } }
@media (prefers-reduced-motion: reduce) { .live-link::before { animation: none; } }
/* ── ⭐ 949 Marco P8 = ②: the tile "Wie reich ist der Händler?" (bhl 26.09.) ──
   Same look as the app tile (Reichtacho0926): half-round gauge like a truck
   cockpit, the rounded sum big in the zone colour, ▲/▼, stand line, 7-day line. */
:root { --lk-gelb: #f2c531; }
:root[data-farbe="hell"] { --lk-gelb: #b88a00; }
@media (prefers-color-scheme: light) { :root:not([data-farbe="dunkel"]) { --lk-gelb: #b88a00; } }
.live-reich {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center;
  margin: 0 0 var(--ab-normal, 18px); padding: 18px 24px;
  background: linear-gradient(135deg, var(--lk-glas), transparent 140%), var(--flaeche, transparent);
  border: 1px solid var(--rand); border-radius: 16px; box-shadow: var(--lk-schatten);
}
.live-reich[hidden] { display: none; }
.lr-tacho { width: 100%; height: auto; display: block; overflow: visible; }
.lr-bahn { fill: none; stroke: var(--rand); stroke-width: 16; stroke-linecap: round; }
.lr-zone { fill: none; stroke-width: 6; stroke-opacity: .55; }
.lr-glut { fill: none; stroke-width: 12; stroke-linecap: round; stroke-opacity: .9; }
.lr-strich { stroke: var(--matt); stroke-width: 1.4; opacity: .7; }
.lr-null { stroke: var(--text); stroke-width: 2.4; }
.lr-nullwort { fill: var(--matt); font-size: 11px; font-weight: 700; }
.lr-nadel { stroke: var(--text); stroke-width: 3.2; stroke-linecap: round; }
.lr-nabe { fill: var(--grund, #0f1318); stroke: var(--text); stroke-width: 2; }
.lr-text h3 { margin: 0 0 4px; font-size: 15px; color: var(--matt); font-weight: 600; letter-spacing: .01em; }
.lr-zahl { display: block; font-size: clamp(1.7rem, 4.2vw, 2.4rem); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.lr-pfeil { margin: 6px 0 0; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.lr-pfeil svg { width: 11px; height: 11px; }
.lr-pfeil.leise { color: var(--matt); font-weight: 500; }
.lr-stand { margin: 6px 0 0; color: var(--matt); font-size: 13px; }
.lr-linie span { display: block; color: var(--matt); font-size: 12px; margin-bottom: 4px; }
.lr-linie svg { width: 100%; height: 72px; display: block; overflow: visible; }
.lr-strecke { fill: none; stroke-width: 2.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lr-flaeche { opacity: .14; }
.lr-nulllinie { stroke: var(--matt); stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
@media (max-width: 760px) {
  .live-reich { grid-template-columns: 1fr; gap: 10px; text-align: center; padding: 16px; }
  .lr-tacho { max-width: 240px; margin: 0 auto; }
  .lr-pfeil { justify-content: center; }
  .lr-linie { text-align: left; }
}

/* ── ⭐ 949 Marco P3 = ③: the approximate player dot (stands still, no id) ── */
.lk-spielerpunkt .hof { fill: var(--lk-spieler); fill-opacity: .16; }
.lk-spielerpunkt .welle { fill: none; stroke: var(--lk-spieler); stroke-width: 1.2; transform-box: fill-box; transform-origin: center;
  animation: lkWelle 2.6s ease-out infinite; }
.lk-spielerpunkt .kern { fill: var(--lk-spieler); stroke: var(--lk-halo, #fff); stroke-width: 1.6; }
@media (prefers-reduced-motion: reduce) { .lk-spielerpunkt .welle { animation: none; } }

/* ── ⭐ hpk 29.09.2026: the world switch ETS2 · Europa / ATS · Nordamerika ──
   Two big segment buttons above the map (existing colour keys only); on the
   phone they share the full width. The ATS base: the game-map outline + the
   state lines; planned network towns as a dashed ring with a small flag. */
.live-welten {
  display: flex; gap: 6px; margin: 0 0 var(--ab-normal);
  padding: 4px; border-radius: 999px; width: max-content; max-width: 100%;
  background: var(--mulde); border: 1px solid var(--rand);
}
.live-welten[hidden] { display: none; }
.live-welten button {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 0;
  background: transparent; color: var(--matt); white-space: nowrap;
}
.live-welten button[aria-selected="true"] { color: var(--auf-ton); background: var(--ton-knopf); }
.live-welten button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (max-width: 520px) {
  .live-welten { width: 100%; }
  .live-welten button { flex: 1 1 0; padding: 9px 8px; font-size: 13px; }
}
.gk-grenze path { fill: none; stroke: var(--lk-grenze); stroke-width: .8; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.lk-netzpunkt .ring { fill: var(--karte); fill-opacity: .7; stroke: var(--lk-haendler); stroke-width: 2; stroke-dasharray: 4 3; }
.lk-netzpunkt.offen .ring { stroke-dasharray: none; }
.lk-netzpunkt .fahne { fill: var(--lk-haendler2); stroke: var(--lk-haendler); stroke-width: 1; stroke-linejoin: round; }

/* ── hpu 29.09.2026: the drawings of karte-bild.js — workshop hall, driver house, trip roads.
      Existing colour keys only; motion only without prefers-reduced-motion. ── */
.lk-karte-breit { grid-column: 1 / -1; }
.lkb-rahmen {
  margin: 10px 0 6px; padding: 10px 12px 6px; border-radius: 12px;
  background: linear-gradient(180deg, var(--mulde), var(--karte));
  border: 1px solid var(--rand); box-shadow: inset 0 1px 0 var(--glanz); overflow-x: auto;
}
.lkb-halle { display: block; width: 100%; min-width: 320px; height: auto; }
.lkb-haus { display: block; width: 100%; max-width: 520px; height: auto; }
.lkb-nr { font: 600 11px var(--schrift); fill: var(--matt); }
.lkb-unter { margin-top: 2px; }
.lkb-fh-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.lkb-fh-reihe .lkb-rahmen { flex: 0 1 560px; }
.lkb-fh-ring { margin: 0; text-align: center; font-size: 13px; color: var(--matt); }
.lkb-ring { width: 104px; height: 104px; display: block; margin: 0 auto 4px; }
.lkb-ringzahl { font: 700 22px var(--schrift); fill: var(--text); }
.lkb-fahrten { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 860px) { .lkb-fahrten { grid-template-columns: 1fr 1fr; } }
.lkb-fahrt-karte { display: flex; flex-direction: column; align-items: stretch; gap: 4px; text-align: left; }
.lkb-fk-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lkb-strasse { display: block; width: 100%; height: auto; margin-top: 4px; }
.lkb-fk-orte { display: flex; justify-content: space-between; font-size: 12px; color: var(--matt); }
.lkb-zweck { font-style: normal; font-weight: 650; color: var(--lk-haendler); }
@media (prefers-reduced-motion: no-preference) {
  .lkb-spur { animation: lkb-spur 1.6s linear infinite; }
  .lkb-funke { animation: lkb-funke 1.1s ease-in-out infinite; }
  .lkb-fahrt { animation: lkb-fahren 5s ease-in-out infinite alternate; }
  .lkb-fahrt1 { animation-delay: -1.2s; } .lkb-fahrt2 { animation-delay: -2.4s; } .lkb-fahrt3 { animation-delay: -3.6s; }
}
@keyframes lkb-spur { to { stroke-dashoffset: -28; } }
@keyframes lkb-funke { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes lkb-fahren { from { transform: translateX(0); } to { transform: translateX(10px); } }

/* ── hpb4 29.09.2026 (lane HPB4, A 668): the app's band „Wie weit ist der Händler
   aufgebaut" above the tabs (karte.js aufbauZeichnen) + the branch pill + the yard
   card's site lines. Colour keys only from this file (dark/light follow them).
   ⛔ The ring carries no red/green judgement (app: Anzeigelage.Frei). ── */
.lk-aufbauband {
  position: relative; background: var(--karte); border: 1px solid var(--rand);
  border-radius: var(--rd-karte); padding: var(--ab-gross); margin: var(--ab-normal) 0; overflow: hidden;
}
.lk-aufbauband::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--glanz); }
.lk-aufbauband h3 { margin: 0 0 var(--ab-normal); font-size: 17px; line-height: 1.3; }
.lk-aufbauband .unter { color: var(--matt); font-size: 13.5px; margin: 6px 0 0; }
.lk-ab-reihe { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 22px; align-items: center; }
.lk-ab-ring { margin: 0; min-width: 110px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lk-ab-ring figcaption { display: block; text-align: center; }
.lk-ab-ring figcaption, .lk-ab-punkte span, .lk-ab-werke span:last-child { font-size: 13px; color: var(--matt); }
.lk-ab-ring .lkb-ring { width: 88px; height: 88px; }
.lk-ab-zahl { display: block; font-size: 30px; }
.lk-ab-punkte { min-width: 0; }
.lk-ab-feld { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; }
.lk-ab-feld i {
  width: 14px; height: 14px; border-radius: 3px; display: block;
  border: 2px solid var(--lk-haendler); background: transparent; box-sizing: border-box;
}
.lk-ab-feld i.an { background: var(--lk-haendler); }
.lk-ab-feld i.bau { border-color: var(--lk-trupp); border-style: dashed; }
.lk-ab-werke { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 110px; text-align: center; }
.lk-ab-werke .sym svg { width: 64px; height: 28px; display: block; }
.lk-pille.zweig { --c: var(--text); }   /* hpb4: readable in light AND dark (haendler2 was too pale in light) */
.live-info .lk-hk { margin: 4px 0 0; font-size: 12.5px; }
@media (max-width: 640px) {
  .lk-ab-reihe { grid-template-columns: 1fr 1fr; }
  .lk-ab-punkte { grid-column: 1 / -1; grid-row: 2; }
  .lk-ab-ring, .lk-ab-werke { min-width: 0; }
}

/* ── ⭐ sph 30.09.2026 (lane SPH, A 686): PLAYERS ON THE ROAD (server `spieler_unterwegs[]`) ──
   Marco: „auch die touren der fahrer abzubilden die gerade fahren mit den linien …"
   Own colour, distinct from the dealer's orange, the crews' green, the Börse's teal and the
   old player-dot blue: violet. The part already driven solid, the part still ahead dotted and
   flowing towards the destination (not under prefers-reduced-motion); a small truck at the
   snapshot's share of the way. Dark = glowing line on the night map, light = deeper violet. */
:root { --lk-spu: #c39bff; --lk-spu-auf: #16101f; }
@media (prefers-color-scheme: light) { :root:not([data-farbe="dunkel"]) { --lk-spu: #6f37c9; --lk-spu-auf: #ffffff; } }
:root[data-farbe="hell"] { --lk-spu: #6f37c9; --lk-spu-auf: #ffffff; }
.lk-bogen.spu { stroke: var(--lk-spu); }
.lk-bogen.spu.saum { stroke-width: 6; stroke-opacity: calc(.06 + .10 * var(--lk-leucht)); }
.lk-bogen.spu.gefahren { stroke-width: 2.2; stroke-opacity: .95; }
.lk-bogen.spu.vor { stroke-width: 1.9; stroke-opacity: .85; stroke-dasharray: 1.5 5; }
.lk-bogen.spu.saum.hervor { stroke-width: 10 !important; stroke-opacity: .26 !important; }
.lk-spu-ende { fill: var(--lk-spu); stroke: var(--lk-punktrand); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.lk-spu-ende.ziel-ort { fill: var(--lk-punktrand); stroke: var(--lk-spu); stroke-width: 1.8; }
.lk-spu-lkw .platte { fill: var(--lk-spu); stroke: var(--lk-punktrand); stroke-width: 1.5; }
.lk-spu-lkw .aufbau, .lk-spu-lkw .kabine, .lk-spu-lkw .rad { fill: var(--lk-spu-auf); }
.lk-spu-lkw .welle { fill: none; stroke: var(--lk-spu); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.lk-spu-lkw.hervor .platte { stroke: var(--text); stroke-width: 2.2; }
.lk-spu-leine { stroke: var(--lk-spu); stroke-width: 1.4; stroke-opacity: .8; vector-effect: non-scaling-stroke; }   /* sph v2: truck beside its line */
.lk-spu-mitte .kern { fill: var(--lk-spu); stroke: var(--lk-punktrand); stroke-width: 1.4; }
.lk-legende .lg-spu { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--text); white-space: nowrap; }
.lk-legende .lg-spu.mit { flex-basis: 100%; }
.lk-legende .lg-spu i { width: 20px; height: 0; border-top: 2.5px dotted var(--lk-spu); position: relative; }
.lk-legende .lg-spu i::after { content: ""; position: absolute; right: -2px; top: -5.5px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lk-spu); box-shadow: 0 0 0 1.5px var(--lk-punktrand); }
.lk-legende .lg-spu em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--lk-spu); }
@media (prefers-reduced-motion: no-preference) {
  .lk-bogen.spu.vor { animation: lkSpuFluss 1.4s linear infinite; }
  .lk-spu-lkw .welle { animation: lkSpuWelle 2.8s ease-out infinite; }
}
@keyframes lkSpuFluss { to { stroke-dashoffset: -13; } }
@keyframes lkSpuWelle { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(2.3); } }
@media (prefers-reduced-motion: reduce) { .lk-bogen.spu.vor, .lk-spu-lkw .welle { animation: none !important; } }
