/* Germany map — USA typography & airport tags; per-Land flag shades (N→S).
   Loaded only on germany-map pages. Gold selection stays visible on all bands. */

html.accent-schwarzrotgold #country-map,
html.accent-schwarzrotgold #country-map svg#map{
  --lbl-region:#F4EFE6;
  --lbl-city:#FFB547;
  --lbl-capital:#FFD56A;
  --lbl-airport:#7ED0E6;
  --lbl-halo:#0B1719;
  --lbl-halo-ink:#0B1719;
  --lbl-region-px:10.5px;
  --lbl-city-px:8px;
  --lbl-capital-px:8.5px;
  --lbl-airport-px:7.5px;
  --lbl-name-px:7px;
  --lbl-region-zoom-px:12px;
  --lbl-city-zoom-px:9px;
  --lbl-capital-zoom-px:9.5px;
  --lbl-airport-zoom-px:8.5px;
  --lbl-name-zoom-px:7.5px;
  --lbl-track:.18em;
  --de-flag-black:#2A2A2A;
  --de-flag-red:#C4333A;
  --de-flag-gold:#D4A627;
  --map-vb-w:460;
}
#country-map,
#country-map svg#map,
html.accent-schwarzrotgold #country-map,
html.accent-schwarzrotgold #country-map svg#map{
  --map-vb-w:460;
}
@media (max-width:720px){
  html.accent-schwarzrotgold #country-map,
  html.accent-schwarzrotgold #country-map svg#map{
    --lbl-region-px:11px;
    --lbl-city-px:9px;
    --lbl-capital-px:9.5px;
    --lbl-airport-px:8px;
    --lbl-name-px:7.5px;
    --lbl-region-zoom-px:13px;
    --lbl-city-zoom-px:10px;
    --lbl-capital-zoom-px:10.5px;
    --lbl-airport-zoom-px:10px;
    --lbl-name-zoom-px:8.5px;
  }
}
html.accent-schwarzrotgold #country-map svg#map.is-zoomed{
  --lbl-region-px:var(--lbl-region-zoom-px);
  --lbl-city-px:var(--lbl-city-zoom-px);
  --lbl-capital-px:var(--lbl-capital-zoom-px);
  --lbl-airport-px:var(--lbl-airport-zoom-px);
  --lbl-name-px:var(--lbl-name-zoom-px);
}

/* Flat per-Land flag shades (centroid latitude, neighbours never share a tone). */
html.accent-schwarzrotgold #country-map .st,
html.accent-schwarzrotgold #country-map .st:hover:not(.sel){
  stroke:#1A1408 !important;
  stroke-width:.95px !important;
  vector-effect:non-scaling-stroke;
  filter:none;
}
html.accent-schwarzrotgold #country-map #s-SH{fill:#2A2A2A !important}
html.accent-schwarzrotgold #country-map #s-HH{fill:#3A3634 !important}
html.accent-schwarzrotgold #country-map #s-HB{fill:#45403C !important}
html.accent-schwarzrotgold #country-map #s-MV{fill:#4A4440 !important}
html.accent-schwarzrotgold #country-map #s-NW{fill:#9E2A30 !important}
html.accent-schwarzrotgold #country-map #s-TH{fill:#8F242A !important}
html.accent-schwarzrotgold #country-map #s-ST{fill:#A83236 !important}
html.accent-schwarzrotgold #country-map #s-NI{fill:#C4333A !important}
html.accent-schwarzrotgold #country-map #s-BB{fill:#9E2A30 !important}
html.accent-schwarzrotgold #country-map #s-SN{fill:#D44A48 !important}
html.accent-schwarzrotgold #country-map #s-HE{fill:#D9554F !important}
html.accent-schwarzrotgold #country-map #s-BE{fill:#D9554F !important}
html.accent-schwarzrotgold #country-map #s-RP{fill:#C8961C !important}
html.accent-schwarzrotgold #country-map #s-BW{fill:#D4A627 !important}
html.accent-schwarzrotgold #country-map #s-SL{fill:#E2B84A !important}
html.accent-schwarzrotgold #country-map #s-BY{fill:#E2B84A !important}
html.accent-schwarzrotgold #country-map .st.hub{filter:none}
html.accent-schwarzrotgold #country-map .st:hover:not(.sel){
  stroke:#F0D58C !important;
  stroke-width:1.7px !important;
}
html.accent-schwarzrotgold #country-map .st.sel,
html.accent-schwarzrotgold #country-map .st.sel:hover{
  fill:#6D5A2C !important;
  stroke:#F8E7B5 !important;
  stroke-width:2.4px !important;
  filter:none !important;
}
/* Outer silhouette only — a faint light rim so the charcoal north reads on the dark page. */
html.accent-schwarzrotgold #country-map #g-sil path{
  fill:var(--de-sil-fill, #2A2A2A) !important;
  stroke:#C4BEB4 !important;
  stroke-width:2.8px !important;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
  pointer-events:none;
}
/* Desktop: park zoom controls in the empty SW padding, below Saarland, so they never cover SL. */
@media (min-width:901px){
  html.accent-schwarzrotgold #country-map .mapwrap.zoom-pos-de > .zoom{
    left:8px !important;
    right:auto !important;
    top:auto !important;
    bottom:12px !important;
    transform:none !important;
  }
  /* Once zoomed, the SW padding disappears and Saarland sits on the left edge — move the stack to the open SE. */
  html.accent-schwarzrotgold #country-map .mapwrap.zoom-pos-de:has(svg.is-zoomed) > .zoom{
    left:auto !important;
    right:8px !important;
    bottom:12px !important;
    top:auto !important;
  }
}
html.accent-schwarzrotgold #country-map .st:focus,
html.accent-schwarzrotgold #country-map .st:focus-visible{
  outline:none !important;
}

/* Land codes — USA option A: ivory, bold, uppercase, dark halo, 10.5px. */
html.accent-schwarzrotgold #country-map .lbl,
html.accent-schwarzrotgold #country-map #g-lb text.lbl{
  font-family:Inter,system-ui,sans-serif !important;
  font-weight:600 !important;
  font-style:normal !important;
  font-variant:normal !important;
  text-transform:uppercase !important;
  letter-spacing:var(--lbl-track,.18em) !important;
  fill:var(--lbl-region) !important;
  stroke:var(--lbl-halo) !important;
  stroke-linejoin:round !important;
  paint-order:stroke !important;
  filter:drop-shadow(0 0 0.6px var(--lbl-halo-ink)) !important;
  font-size:var(--lbl-region-px) !important;
  stroke-width:calc(var(--lbl-region-px) * .22) !important;
  text-anchor:middle;
  dominant-baseline:central;
}
html.accent-schwarzrotgold #country-map .lbl.sel{
  fill:#FFF7DF !important;
}

/* Cities (italic amber) and capitals (slightly larger gold). */
html.accent-schwarzrotgold #country-map .ct text,
html.accent-schwarzrotgold #country-map #g-lb text.ct-label{
  font-family:Inter,system-ui,sans-serif !important;
  font-weight:500 !important;
  font-style:italic !important;
  fill:var(--lbl-city) !important;
  stroke:var(--lbl-halo) !important;
  stroke-linejoin:round !important;
  paint-order:stroke !important;
  filter:drop-shadow(0 0 0.6px var(--lbl-halo-ink)) !important;
  font-size:var(--lbl-city-px) !important;
  stroke-width:calc(var(--lbl-city-px) * .22) !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}
html.accent-schwarzrotgold #country-map .ct.cap text,
html.accent-schwarzrotgold #country-map #g-lb text.ct-label.is-cap{
  fill:var(--lbl-capital) !important;
  font-weight:600 !important;
  font-size:var(--lbl-capital-px) !important;
  stroke-width:calc(var(--lbl-capital-px) * .22) !important;
}

/* IATA · City tags — cyan, 7.5px, dark halo. */
html.accent-schwarzrotgold #country-map .ap text,
html.accent-schwarzrotgold #country-map .ap text.map-label,
html.accent-schwarzrotgold #country-map #g-lb text.ap-label{
  font-family:Inter,system-ui,sans-serif !important;
  font-weight:700 !important;
  font-style:normal !important;
  fill:var(--lbl-airport) !important;
  stroke:var(--lbl-halo) !important;
  stroke-linejoin:round !important;
  paint-order:stroke !important;
  filter:drop-shadow(0 0 0.6px var(--lbl-halo-ink)) !important;
  font-size:var(--lbl-airport-px) !important;
  stroke-width:calc(var(--lbl-airport-px) * .26) !important;
  letter-spacing:.02em !important;
  text-transform:none !important;
}
html.accent-schwarzrotgold #country-map .ap text.map-name{display:none !important}
html.accent-schwarzrotgold #country-map svg#map.is-zoomed .ap text.map-name{display:none !important}

/* Markers like USA. */
html.accent-schwarzrotgold #country-map .ct circle{
  fill:#F2EDE2;
  stroke:#0B1719;
  stroke-width:1;
}
html.accent-schwarzrotgold #country-map .ct.cap circle{
  fill:#DCE6F5;
  stroke:#1F4FA3;
  stroke-width:1.2;
}
html.accent-schwarzrotgold #country-map .ct.cap .ring{
  fill:none;
  stroke:#1F4FA3;
  stroke-width:1.2;
  opacity:1;
}
html.accent-schwarzrotgold #country-map .ap .pad{
  fill:#0B1719;
  stroke:#7EC8E3;
  stroke-width:1.3;
}
html.accent-schwarzrotgold #country-map .ap .glyph{fill:#D9B765}
html.accent-schwarzrotgold #country-map .ap.sel .pad{fill:#6D5A2C;stroke:#F0D58C;stroke-width:2}
html.accent-schwarzrotgold #country-map .ap-link{
  fill:none;
  stroke:#D9B765;
  stroke-width:1;
  stroke-dasharray:2.4 2.2;
  opacity:.55;
  pointer-events:none;
}

/* Flag-band legend swatch (north → south). */
html.accent-schwarzrotgold #country-map .dens-swatch{
  display:inline-block;
  width:11px;
  height:22px;
  border-radius:2px;
  vertical-align:-6px;
  margin-right:8px;
  background:linear-gradient(180deg,#2A2A2A 0 32%,#C4333A 38% 62%,#D4A627 68% 100%);
  box-shadow:inset 0 0 0 1px rgba(244,239,230,.28);
}
html.accent-schwarzrotgold #country-map .legend .dens-label{
  font-size:.78rem;
  color:var(--mut,#a9b3a4);
}
html.accent-schwarzrotgold #country-map .legend .lg-ap{color:#7EC8E3;font-style:normal;font-weight:700;margin-right:4px}

/* Map fills the card width; no leftover empty frame. */
html.accent-schwarzrotgold #country-map .mapcard svg#map{
  display:block;
  width:100%;
  height:auto;
}

html.accent-schwarzrotgold #country-map .ct text.lbl-crowd,
html.accent-schwarzrotgold #country-map .ct text.ct-label-crowd,
html.accent-schwarzrotgold #country-map #g-lb text.ct-label-crowd,
html.accent-schwarzrotgold #country-map .ap text.map-name{
  display:none !important;
}


/* Bottom typography key — USA option A: dark type samples, readable muted labels.
   Overrides the shared white chip + ivory “Regionen” (white-on-white). */
html.accent-schwarzrotgold #country-map .lbl-legend{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  align-items:center;
  margin:10px 4px 0;
  padding:8px 4px 0;
  border-top:1px solid rgba(255,255,255,.08);
  font:600 12px/1.3 Inter,system-ui,sans-serif;
  color:#d7ddd8;
}
html.accent-schwarzrotgold #country-map .lbl-legend span,
html.accent-schwarzrotgold #country-map .lbl-legend .ll-r,
html.accent-schwarzrotgold #country-map .lbl-legend .ll-c,
html.accent-schwarzrotgold #country-map .lbl-legend .ll-k,
html.accent-schwarzrotgold #country-map .lbl-legend .ll-a{
  display:inline-flex !important;
  align-items:center;
  gap:6px;
  background:transparent !important;
  color:#d7ddd8 !important;
  padding:0 !important;
  border-radius:0;
  font-variant:normal;
  text-transform:none;
  letter-spacing:0;
  font-weight:600;
  white-space:nowrap;
}
html.accent-schwarzrotgold #country-map .lbl-legend i,
html.accent-schwarzrotgold #country-map .lbl-legend b{
  display:inline-block;
  width:auto !important;
  height:auto !important;
  min-width:0;
  box-shadow:none !important;
  border-radius:2px;
  padding:1px 5px;
  font-size:10px;
  line-height:1.3;
  font-style:normal;
  font-weight:700;
  background:#0B1719 !important;
}
html.accent-schwarzrotgold #country-map .lbl-legend .ll-r i{
  color:#F4EFE6 !important;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:700;
  font-style:normal;
  font-variant:normal;
}
html.accent-schwarzrotgold #country-map .lbl-legend .ll-c i{
  color:#FFB547 !important;
  font-style:italic !important;
  font-weight:500;
  text-transform:none;
  letter-spacing:0;
}
html.accent-schwarzrotgold #country-map .lbl-legend .ll-k i{
  color:#FFD56A !important;
  font-style:normal;
  font-weight:700;
  text-transform:none;
  letter-spacing:0;
}
html.accent-schwarzrotgold #country-map .lbl-legend .ll-a b{
  color:#7ED0E6 !important;
  font-style:normal;
  font-weight:700;
  font-family:Inter,system-ui,sans-serif;
}
@media (max-width:720px){
  html.accent-schwarzrotgold #country-map .lbl-legend{font-size:11px;gap:8px 12px;margin-top:8px}
}

/* Dark type on the southern gold band — no halo (ivory/amber would vanish on gold). */
html.accent-schwarzrotgold #country-map .lbl.on-gold,
html.accent-schwarzrotgold #country-map #g-lb text.lbl.on-gold,
html.accent-schwarzrotgold #country-map .ct text.on-gold,
html.accent-schwarzrotgold #country-map #g-lb text.ct-label.on-gold,
html.accent-schwarzrotgold #country-map .ct.cap text.on-gold,
html.accent-schwarzrotgold #country-map .ap text.on-gold,
html.accent-schwarzrotgold #country-map .ap text.map-label.on-gold,
html.accent-schwarzrotgold #country-map #g-lb text.ap-label.on-gold{
  fill:#14110C !important;
  stroke:none !important;
  stroke-width:0 !important;
  filter:none !important;
  paint-order:fill;
}
html.accent-schwarzrotgold #country-map .lbl.sel.on-gold{
  fill:#0B1719 !important;
}

html.accent-schwarzrotgold #country-map text.de-clip{display:none !important}
