/* Compact plain labels + pastel flag fills for UK / FR / DE / IT / ES / JP / KR only.
   Loaded solely on those pages (#country-map.map-lbl-sm). USA, Canada and
   Mexico never get this class or this stylesheet, so their pixels stay put.

   Sizes are on-screen targets (the shared --map-w-px formula still applies):
     regions / prefectures  9.5px
     cities                10px
     capital + IATA        10.5px
     Japan region groups   11.5px
   Font-weight 600. No halo, stroke, paint-order outline, 0.7px rim,
   text-shadow or legend pill. Land labels use the shared dark type colours.
   Light same-hue tints are used only over the dark sea / gold selection. */

#country-map.map-lbl-sm,
#country-map.map-lbl-sm svg#map{
  --lbl-region-px:9.5px;
  --lbl-city-px:10px;
  --lbl-capital-px:10.5px;
  --lbl-airport-px:10.5px;
  --lbl-group-px:11.5px;
  --lbl-region:#12233A;
  --lbl-city:#2A353C;
  --lbl-capital:#3A1018;
  --lbl-airport:#08444C;
  --lbl-region-on-dark:#E8EEF6;
  --lbl-city-on-dark:#ECF0F4;
  --lbl-capital-on-dark:#F8EAEC;
  --lbl-airport-on-dark:#E8F5F6;
}
@media (max-width:720px){
  #country-map.map-lbl-sm,
  #country-map.map-lbl-sm svg#map{
    --lbl-region-px:9.5px;
    --lbl-city-px:10px;
    --lbl-capital-px:10.5px;
    --lbl-airport-px:10.5px;
  }
}

/* ---- Pastel flag fills (scoped). Each tone is a tint of the flag colour
   that keeps plain dark type at ≥4.5:1. Gold selection stays #6d5a2c. */
html.accent-unionjack #country-map.map-lbl-sm .st.st-t1{fill:#F1C1C9 !important}
html.accent-unionjack #country-map.map-lbl-sm .st.st-t2{fill:#E8E4DC !important}
html.accent-unionjack #country-map.map-lbl-sm .st.st-t3{fill:#C2CDE0 !important}
html.accent-unionjack #country-map.map-lbl-sm .st.st-t4{fill:#E7C3CA !important}
html.accent-unionjack #country-map.map-lbl-sm .st.st-t5{fill:#D4DCF0 !important}

html.accent-tricolore #country-map.map-lbl-sm .st.st-t1{fill:#0055A4 !important}
html.accent-tricolore #country-map.map-lbl-sm .st.st-t2{fill:#e8e4dc !important}
html.accent-tricolore #country-map.map-lbl-sm .st.st-t3{fill:#EF4135 !important}
html.accent-tricolore #country-map.map-lbl-sm .st.st-t4{fill:#3a7ab8 !important}
html.accent-tricolore #country-map.map-lbl-sm .st.st-t5{fill:#c45a5a !important}

html.accent-schwarzrotgold #country-map.map-lbl-sm .st.st-t1{fill:#D0D4D8 !important}
html.accent-schwarzrotgold #country-map.map-lbl-sm .st.st-t2{fill:#F6BFBF !important}
html.accent-schwarzrotgold #country-map.map-lbl-sm .st.st-t3{fill:#F6E2A8 !important}
html.accent-schwarzrotgold #country-map.map-lbl-sm .st.st-t4{fill:#D8D2CC !important}
html.accent-schwarzrotgold #country-map.map-lbl-sm .st.st-t5{fill:#F3D0D0 !important}

html.accent-italy #country-map.map-lbl-sm .st.st-t1{fill:#A3D8BC !important}
html.accent-italy #country-map.map-lbl-sm .st.st-t2{fill:#E8E4DC !important}
html.accent-italy #country-map.map-lbl-sm .st.st-t3{fill:#F1C2C5 !important}
html.accent-italy #country-map.map-lbl-sm .st.st-t4{fill:#C8E6D4 !important}
html.accent-italy #country-map.map-lbl-sm .st.st-t5{fill:#F0D4D6 !important}

html.accent-rojigualda #country-map.map-lbl-sm .st.st-t1{fill:#AA151B !important}
html.accent-rojigualda #country-map.map-lbl-sm .st.st-t2{fill:#F1BF00 !important}
html.accent-rojigualda #country-map.map-lbl-sm .st.st-t3{fill:#c41e26 !important}
html.accent-rojigualda #country-map.map-lbl-sm .st.st-t4{fill:#d4a017 !important}
html.accent-rojigualda #country-map.map-lbl-sm .st.st-t5{fill:#8b1018 !important}

html.accent-taegeuk #country-map.map-lbl-sm .st.st-t1{fill:#E8E4DC !important}
html.accent-taegeuk #country-map.map-lbl-sm .st.st-t2{fill:#F0C0C4 !important}
html.accent-taegeuk #country-map.map-lbl-sm .st.st-t3{fill:#BDCFE6 !important}
html.accent-taegeuk #country-map.map-lbl-sm .st.st-t4{fill:#D4D4D8 !important}
html.accent-taegeuk #country-map.map-lbl-sm .st.st-t5{fill:#EED4D6 !important}

html.accent-hinomaru #country-map.map-lbl-sm .st.st-t1{fill:#F2E8E6 !important}
html.accent-hinomaru #country-map.map-lbl-sm .st.st-t2{fill:#F4D4D4 !important}
html.accent-hinomaru #country-map.map-lbl-sm .st.st-t3{fill:#EFC2C2 !important}
html.accent-hinomaru #country-map.map-lbl-sm .st.st-t4{fill:#EFC2CD !important}
html.accent-hinomaru #country-map.map-lbl-sm .st.st-t5{fill:#F0D0D0 !important}

html.accent-unionjack #country-map.map-lbl-sm .st.sel,
html.accent-unionjack #country-map.map-lbl-sm .st.sel:hover,
html.accent-tricolore #country-map.map-lbl-sm .st.sel,
html.accent-tricolore #country-map.map-lbl-sm .st.sel:hover,
html.accent-schwarzrotgold #country-map.map-lbl-sm .st.sel,
html.accent-schwarzrotgold #country-map.map-lbl-sm .st.sel:hover,
html.accent-italy #country-map.map-lbl-sm .st.sel,
html.accent-italy #country-map.map-lbl-sm .st.sel:hover,
html.accent-rojigualda #country-map.map-lbl-sm .st.sel,
html.accent-rojigualda #country-map.map-lbl-sm .st.sel:hover,
html.accent-taegeuk #country-map.map-lbl-sm .st.sel,
html.accent-taegeuk #country-map.map-lbl-sm .st.sel:hover,
html.accent-hinomaru #country-map.map-lbl-sm .st.sel,
html.accent-hinomaru #country-map.map-lbl-sm .st.sel:hover{
  fill:#6d5a2c !important;
  stroke:#f0d58c !important;
  stroke-width:2 !important;
  filter:none !important;
}
#country-map.map-lbl-sm .st.hub{filter:none}

#country-map.map-lbl-sm .lbl,
html.accent-unionjack #country-map.map-lbl-sm .lbl,
html.accent-tricolore #country-map.map-lbl-sm .lbl,
html.accent-schwarzrotgold #country-map.map-lbl-sm .lbl,
html.accent-taegeuk #country-map.map-lbl-sm .lbl,
html.accent-hinomaru #country-map.map-lbl-sm .lbl,
html.accent-italy #country-map.map-lbl-sm .lbl,
html.accent-rojigualda #country-map.map-lbl-sm .lbl,
#country-map.map-lbl-sm.accent-taegeuk .lbl,
#country-map.map-lbl-sm.accent-hinomaru .lbl{
  font-weight:600 !important;
  stroke:none !important;
  stroke-width:0 !important;
  paint-order:normal !important;
  filter:none !important;
  text-shadow:none !important;
  background:none !important;
  -webkit-text-stroke:0 !important;
}
#country-map.map-lbl-sm .lbl.sel,
html.accent-unionjack #country-map.map-lbl-sm .lbl.sel,
html.accent-tricolore #country-map.map-lbl-sm .lbl.sel,
html.accent-schwarzrotgold #country-map.map-lbl-sm .lbl.sel,
html.accent-taegeuk #country-map.map-lbl-sm .lbl.sel,
html.accent-hinomaru #country-map.map-lbl-sm .lbl.sel,
html.accent-italy #country-map.map-lbl-sm .lbl.sel,
html.accent-rojigualda #country-map.map-lbl-sm .lbl.sel{
  stroke:none !important;
  filter:none !important;
  text-shadow:none !important;
}

#country-map.map-lbl-sm .ct text,
#country-map.map-lbl-sm .ct.cap text,
#country-map.map-lbl-sm .ap text,
#country-map.map-lbl-sm .ap text.map-label,
#country-map.map-lbl-sm .ap text.map-name{
  font-weight:600 !important;
  stroke:none !important;
  stroke-width:0 !important;
  paint-order:normal !important;
  filter:none !important;
  text-shadow:none !important;
  -webkit-text-stroke:0 !important;
}

#country-map.map-lbl-sm .lbl.lbl-group{
  font-size:calc(var(--lbl-group-px) * 975 / var(--map-w-px) * var(--kt, 1)) !important;
  font-weight:600 !important;
  letter-spacing:.12em;
  opacity:1;
  pointer-events:none;
}

/* Light same-hue variants only over dark sea (or gold selection). */
#country-map.map-lbl-sm .lbl.lbl-on-dark{fill:var(--lbl-region-on-dark) !important}
#country-map.map-lbl-sm .ct text.lbl-on-dark,
#country-map.map-lbl-sm #g-lb text.ct-label.lbl-on-dark{fill:var(--lbl-city-on-dark) !important}
#country-map.map-lbl-sm .ct.cap text.lbl-on-dark,
#country-map.map-lbl-sm #g-lb text.ct-label.is-cap.lbl-on-dark{fill:var(--lbl-capital-on-dark) !important}
#country-map.map-lbl-sm .ap text.lbl-on-dark,
#country-map.map-lbl-sm .ap text.map-label.lbl-on-dark,
#country-map.map-lbl-sm .ap text.map-name.lbl-on-dark,
#country-map.map-lbl-sm #g-lb text.ap-label.lbl-on-dark{fill:var(--lbl-airport-on-dark) !important}

/* Legend: dark type colours only (no split swatches, no pills). */
#country-map.map-lbl-sm .lbl-legend span{
  background:none !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
#country-map.map-lbl-sm .lbl-legend i{
  width:16px;
  height:11px;
  border-radius:2px;
  box-shadow:0 0 0 1px #8a939c;
  background:var(--lbl-region);
}
#country-map.map-lbl-sm .lbl-legend .ll-c i{
  border-radius:50%;
  width:11px;height:11px;
  background:var(--lbl-city);
}
#country-map.map-lbl-sm .lbl-legend .ll-k i{
  border-radius:50%;
  width:11px;height:11px;
  background:var(--lbl-capital);
  box-shadow:0 0 0 1px #8a939c;
}
#country-map.map-lbl-sm .lbl-legend .ll-a b{color:var(--lbl-airport)}

/* Japan: 8 region groups at full view, prefecture names on zoom only.
   Secondary (non-capital, non-major) cities wait for zoom as well. */
#country-map.accent-hinomaru.map-lbl-sm svg#map:not(.is-zoomed) #g-lb text.lbl:not(.lbl-group),
#country-map.accent-hinomaru.map-lbl-sm svg#map:not(.is-zoomed) #g-lb .lbl-lead{display:none !important}
#country-map.accent-hinomaru.map-lbl-sm svg#map.is-zoomed .lbl-group{display:none !important}
#country-map.accent-hinomaru.map-lbl-sm svg#map:not(.is-zoomed) #g-ct .ct:not(.cap):not(.major),
#country-map.accent-hinomaru.map-lbl-sm svg#map:not(.is-zoomed) #g-ct .ct:not(.cap):not(.major) text,
#country-map.accent-hinomaru.map-lbl-sm svg#map:not(.is-zoomed) #g-lb text.ct-label:not(.is-cap):not(.is-major){display:none !important}

@media (max-width:720px){
  #country-map.map-lbl-sm .lbl,
  html.accent-unionjack #country-map.map-lbl-sm .lbl,
  html.accent-tricolore #country-map.map-lbl-sm .lbl,
  html.accent-schwarzrotgold #country-map.map-lbl-sm .lbl,
  html.accent-taegeuk #country-map.map-lbl-sm .lbl,
  html.accent-hinomaru #country-map.map-lbl-sm .lbl,
  html.accent-italy #country-map.map-lbl-sm .lbl,
  html.accent-rojigualda #country-map.map-lbl-sm .lbl{
    stroke:none !important;
    filter:none !important;
  }
  #country-map.map-lbl-sm .ct text,
  #country-map.map-lbl-sm .ap text.map-label,
  #country-map.map-lbl-sm .ap text.map-name{
    stroke:none !important;
    filter:none !important;
  }
}

/* Korea-only: zero extra tracking on wrapped region names. Font-size stays
   the shared region size so SOUTH CHUNGCHEONG / SOUTH JEOLLA match the others. */
#country-map.accent-taegeuk.map-lbl-sm svg#map #g-lb text.lbl.lbl-tight{
  letter-spacing:0 !important;
}

/* Hoisted JP/KR labels keep the same type colours and stay hit-testable
   so occlusion QA (elementFromPoint) sees the text, not the land under it. */
#country-map.map-lbl-sm #g-lb text.ct-label{
  fill:var(--lbl-city);
  font-weight:600 !important;
  stroke:none !important;
  paint-order:normal !important;
  filter:none !important;
  text-shadow:none !important;
  font-size:calc(var(--lbl-city-px) * 975 / var(--map-w-px) * var(--kt, 1));
  transform:translate(calc(8px*(var(--k,1) - 1)),calc(3.5px*(var(--k,1) - 1)));
}
#country-map.map-lbl-sm #g-lb text.ct-label[text-anchor="end"]{
  transform:translate(calc(-8px*(var(--k,1) - 1)),calc(3.5px*(var(--k,1) - 1)));
}
#country-map.map-lbl-sm #g-lb text.ct-label.is-cap{
  fill:var(--lbl-capital);
  font-weight:700 !important;
}
#country-map.map-lbl-sm #g-lb text.ap-label{
  fill:var(--lbl-airport);
  font-weight:600 !important;
  stroke:none !important;
  paint-order:normal !important;
  filter:none !important;
  text-shadow:none !important;
  font-size:calc(var(--lbl-airport-px) * 975 / var(--map-w-px) * var(--kt, 1));
}
#country-map.map-lbl-sm #g-lb text.ct-label.ct-label-crowd,
#country-map.map-lbl-sm #g-lb text.ap-label.ap-code-crowd,
#country-map.map-lbl-sm #g-lb text.ap-label.ap-name-crowd,
#country-map.map-lbl-sm #g-lb text.ap-label.lbl-crowd{
  display:none !important;
}
#country-map.map-lbl-sm svg#map:not(.is-zoomed) #g-lb text.ap-label.map-name{
  display:none !important;
}
#country-map.map-lbl-sm.accent-hinomaru svg#map #g-lb text,
#country-map.map-lbl-sm.accent-taegeuk svg#map #g-lb text{
  pointer-events:bounding-box;
}
#country-map.accent-hinomaru.map-lbl-sm .lbl.lbl-group[data-group="Kyushu-Okinawa"]{
  letter-spacing:.04em;
}

#country-map.map-lbl-sm svg#map:not(.is-zoomed) #g-lb text.ap-label.ap-zoomonly{
  display:none !important;
}

/* Capital / sample markers: no gold. White fill, type-colour ring only.
   Gold remains on .st.sel / .ap.sel (selection) alone. */
#country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.map-lbl-sm .ct.sample circle:not(.ring){
  fill:#fff !important;
  stroke:var(--lbl-city) !important;
  stroke-width:1.3 !important;
}
#country-map.map-lbl-sm .ct.cap circle:not(.ring){
  stroke:var(--lbl-capital) !important;
}
#country-map.map-lbl-sm .ct.cap .ring,
#country-map.map-lbl-sm .ct.sample .ring{
  fill:none !important;
  stroke:var(--lbl-city) !important;
  opacity:1 !important;
}
#country-map.map-lbl-sm .ct.cap .ring{
  stroke:var(--lbl-capital) !important;
}
#country-map.map-lbl-sm .ct:focus-visible circle,
#country-map.map-lbl-sm .ct:focus-visible .ring{
  stroke:var(--lbl-city) !important;
}
#country-map.map-lbl-sm .ct.cap:focus-visible circle,
#country-map.map-lbl-sm .ct.cap:focus-visible .ring{
  stroke:var(--lbl-capital) !important;
}

#country-map.map-lbl-sm .ppc-lbl-hide{display:none !important}

/* ===== UK only (2026-11-13): original Union Jack region fills from country-map.css,
   smaller type than the compact default, white labels with a thin #12233A stroke.
   Does not change IT/ES/FR/DE/JP/KR or USA/CA/MX. */
html.accent-unionjack #country-map.map-lbl-sm,
#country-map.accent-unionjack.map-lbl-sm,
html.accent-unionjack #country-map.map-lbl-sm svg#map,
#country-map.accent-unionjack.map-lbl-sm svg#map{
  --lbl-region-px:8px;
  --lbl-city-px:8px;
  --lbl-capital-px:8.5px;
  --lbl-airport-px:8px;
  --lbl-group-px:8.5px;
  --lbl-region:#ffffff;
  --lbl-city:#ffffff;
  --lbl-capital:#ffffff;
  --lbl-airport:#ffffff;
  --lbl-region-on-dark:#ffffff;
  --lbl-city-on-dark:#ffffff;
  --lbl-capital-on-dark:#ffffff;
  --lbl-airport-on-dark:#ffffff;
}
html.accent-unionjack #country-map.map-lbl-sm .st.st-t1,
#country-map.accent-unionjack.map-lbl-sm .st.st-t1{fill:#C8102E !important}
html.accent-unionjack #country-map.map-lbl-sm .st.st-t2,
#country-map.accent-unionjack.map-lbl-sm .st.st-t2{fill:#e8e4dc !important}
html.accent-unionjack #country-map.map-lbl-sm .st.st-t3,
#country-map.accent-unionjack.map-lbl-sm .st.st-t3{fill:#3a5f9a !important}
html.accent-unionjack #country-map.map-lbl-sm .st.st-t4,
#country-map.accent-unionjack.map-lbl-sm .st.st-t4{fill:#a82a40 !important}
html.accent-unionjack #country-map.map-lbl-sm .st.st-t5,
#country-map.accent-unionjack.map-lbl-sm .st.st-t5{fill:#2450a0 !important}

html.accent-unionjack #country-map.map-lbl-sm .lbl,
html.accent-unionjack #country-map.map-lbl-sm .lbl.sel,
html.accent-unionjack #country-map.map-lbl-sm .lbl.lbl-on-dark,
html.accent-unionjack #country-map.map-lbl-sm .ct text,
html.accent-unionjack #country-map.map-lbl-sm .ct.cap text,
html.accent-unionjack #country-map.map-lbl-sm .ap text,
html.accent-unionjack #country-map.map-lbl-sm .ap text.map-label,
html.accent-unionjack #country-map.map-lbl-sm .ap text.map-name,
html.accent-unionjack #country-map.map-lbl-sm #g-lb text.lbl,
html.accent-unionjack #country-map.map-lbl-sm #g-lb text.ct-label,
html.accent-unionjack #country-map.map-lbl-sm #g-lb text.ap-label,
#country-map.accent-unionjack.map-lbl-sm .lbl,
#country-map.accent-unionjack.map-lbl-sm .lbl.sel,
#country-map.accent-unionjack.map-lbl-sm .ct text,
#country-map.accent-unionjack.map-lbl-sm .ap text,
#country-map.accent-unionjack.map-lbl-sm #g-lb text.lbl,
#country-map.accent-unionjack.map-lbl-sm #g-lb text.ct-label,
#country-map.accent-unionjack.map-lbl-sm #g-lb text.ap-label{
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  stroke-linejoin:round !important;
  stroke-linecap:round !important;
  paint-order:stroke fill !important;
  -webkit-text-stroke:0 !important;
  text-shadow:none !important;
  filter:none !important;
  font-weight:600 !important;
}
@media (max-width:720px){
  html.accent-unionjack #country-map.map-lbl-sm .lbl,
  html.accent-unionjack #country-map.map-lbl-sm .ct text,
  html.accent-unionjack #country-map.map-lbl-sm .ap text,
  #country-map.accent-unionjack.map-lbl-sm .lbl,
  #country-map.accent-unionjack.map-lbl-sm .ct text,
  #country-map.accent-unionjack.map-lbl-sm .ap text{
    fill:#ffffff !important;
    stroke:#12233A !important;
    stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
    paint-order:stroke fill !important;
  }
}

/* UK airport diamonds: keep the dark pad + gold glyph (do not inherit --lbl-airport:#fff).
   Scale pad/glyph to 0.62 inside .ap-mark so the JS zoom scale(k) on .ap-mark stays intact. */
html.accent-unionjack #country-map.map-lbl-sm .ap .pad,
#country-map.accent-unionjack.map-lbl-sm .ap .pad{
  fill:#0b1719 !important;
  stroke:#7ec8e3 !important;
  stroke-width:1.2 !important;
}
html.accent-unionjack #country-map.map-lbl-sm .ap .glyph,
#country-map.accent-unionjack.map-lbl-sm .ap .glyph{
  fill:#d9b765 !important;
}
html.accent-unionjack #country-map.map-lbl-sm .ap.sel .pad,
#country-map.accent-unionjack.map-lbl-sm .ap.sel .pad{
  fill:#6d5a2c !important;
  stroke:#f0d58c !important;
}

/* UK city / capital dots: never white-on-white on cream regions. */
html.accent-unionjack #country-map.map-lbl-sm .ct circle:not(.ring),
#country-map.accent-unionjack.map-lbl-sm .ct circle:not(.ring){
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:1.3 !important;
}
html.accent-unionjack #country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.accent-unionjack.map-lbl-sm .ct.cap circle:not(.ring){
  fill:#C8102E !important;
  stroke:#ffffff !important;
  stroke-width:1.5 !important;
}
html.accent-unionjack #country-map.map-lbl-sm .ct.cap .ring,
#country-map.accent-unionjack.map-lbl-sm .ct.cap .ring{
  stroke:#12233A !important;
}
@media (max-width:720px){
  html.accent-unionjack #country-map.map-lbl-sm .ct.cap .ring,
  #country-map.accent-unionjack.map-lbl-sm .ct.cap .ring{
    r:calc(4.5px * var(--k, 1));
  }
}

/* ===== Italy only (2026-11-13): original Tricolore region fills from country-map.css,
   smaller type than the compact default, white labels with a thin #12233A stroke.
   Does not change UK/ES/FR/DE/JP/KR or USA/CA/MX. */
html.accent-italy #country-map.map-lbl-sm,
#country-map.accent-italy.map-lbl-sm,
html.accent-italy #country-map.map-lbl-sm svg#map,
#country-map.accent-italy.map-lbl-sm svg#map{
  --lbl-region-px:7.2px;
  --lbl-city-px:8px;
  --lbl-capital-px:8.5px;
  --lbl-airport-px:8px;
  --lbl-group-px:7.2px;
  --lbl-region:#ffffff;
  --lbl-city:#ffffff;
  --lbl-capital:#ffffff;
  --lbl-airport:#ffffff;
  --lbl-region-on-dark:#ffffff;
  --lbl-city-on-dark:#ffffff;
  --lbl-capital-on-dark:#ffffff;
  --lbl-airport-on-dark:#ffffff;
}
html.accent-italy #country-map.map-lbl-sm .st.st-t1,
#country-map.accent-italy.map-lbl-sm .st.st-t1{fill:#009246 !important}
html.accent-italy #country-map.map-lbl-sm .st.st-t2,
#country-map.accent-italy.map-lbl-sm .st.st-t2{fill:#e8e4dc !important}
html.accent-italy #country-map.map-lbl-sm .st.st-t3,
#country-map.accent-italy.map-lbl-sm .st.st-t3{fill:#CE2B37 !important}
html.accent-italy #country-map.map-lbl-sm .st.st-t4,
#country-map.accent-italy.map-lbl-sm .st.st-t4{fill:#2d8a5a !important}
html.accent-italy #country-map.map-lbl-sm .st.st-t5,
#country-map.accent-italy.map-lbl-sm .st.st-t5{fill:#a83a40 !important}

html.accent-italy #country-map.map-lbl-sm .lbl,
html.accent-italy #country-map.map-lbl-sm .lbl.sel,
html.accent-italy #country-map.map-lbl-sm .lbl.lbl-on-dark,
html.accent-italy #country-map.map-lbl-sm .ct text,
html.accent-italy #country-map.map-lbl-sm .ct.cap text,
html.accent-italy #country-map.map-lbl-sm .ap text,
html.accent-italy #country-map.map-lbl-sm .ap text.map-label,
html.accent-italy #country-map.map-lbl-sm .ap text.map-name,
html.accent-italy #country-map.map-lbl-sm #g-lb text.lbl,
html.accent-italy #country-map.map-lbl-sm #g-lb text.ct-label,
html.accent-italy #country-map.map-lbl-sm #g-lb text.ap-label,
#country-map.accent-italy.map-lbl-sm .lbl,
#country-map.accent-italy.map-lbl-sm .lbl.sel,
#country-map.accent-italy.map-lbl-sm .ct text,
#country-map.accent-italy.map-lbl-sm .ap text,
#country-map.accent-italy.map-lbl-sm #g-lb text.lbl,
#country-map.accent-italy.map-lbl-sm #g-lb text.ct-label,
#country-map.accent-italy.map-lbl-sm #g-lb text.ap-label{
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  stroke-linejoin:round !important;
  stroke-linecap:round !important;
  paint-order:stroke fill !important;
  -webkit-text-stroke:0 !important;
  text-shadow:none !important;
  filter:none !important;
  font-weight:600 !important;
}
@media (max-width:720px){
  html.accent-italy #country-map.map-lbl-sm .lbl,
  html.accent-italy #country-map.map-lbl-sm .ct text,
  html.accent-italy #country-map.map-lbl-sm .ap text,
  #country-map.accent-italy.map-lbl-sm .lbl,
  #country-map.accent-italy.map-lbl-sm .ct text,
  #country-map.accent-italy.map-lbl-sm .ap text{
    fill:#ffffff !important;
    stroke:#12233A !important;
    stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
    paint-order:stroke fill !important;
  }
}

/* Italy airport diamonds: keep the dark pad + gold glyph (do not inherit --lbl-airport:#fff).
   Scale pad/glyph to 0.62 inside .ap-mark so the JS zoom scale(k) on .ap-mark stays intact. */
html.accent-italy #country-map.map-lbl-sm .ap .pad,
#country-map.accent-italy.map-lbl-sm .ap .pad{
  fill:#0b1719 !important;
  stroke:#7ec8e3 !important;
  stroke-width:1.2 !important;
}
html.accent-italy #country-map.map-lbl-sm .ap .glyph,
#country-map.accent-italy.map-lbl-sm .ap .glyph{
  fill:#d9b765 !important;
}
html.accent-italy #country-map.map-lbl-sm .ap.sel .pad,
#country-map.accent-italy.map-lbl-sm .ap.sel .pad{
  fill:#6d5a2c !important;
  stroke:#f0d58c !important;
}

/* Italy city / capital dots: never white-on-white on cream regions.
   Rome (capital) uses flag red #CE2B37 with a white stroke and #12233A ring. */
html.accent-italy #country-map.map-lbl-sm .ct circle:not(.ring),
#country-map.accent-italy.map-lbl-sm .ct circle:not(.ring){
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:1.3 !important;
}
html.accent-italy #country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.accent-italy.map-lbl-sm .ct.cap circle:not(.ring){
  fill:#CE2B37 !important;
  stroke:#ffffff !important;
  stroke-width:1.5 !important;
}
html.accent-italy #country-map.map-lbl-sm .ct.cap .ring,
#country-map.accent-italy.map-lbl-sm .ct.cap .ring{
  stroke:#12233A !important;
}
@media (max-width:720px){
  html.accent-italy #country-map.map-lbl-sm .ct.cap .ring,
  #country-map.accent-italy.map-lbl-sm .ct.cap .ring{
    r:calc(4.5px * var(--k, 1));
  }
}
@media (max-width:640px){
  html.accent-italy #country-map.map-lbl-sm,
  #country-map.accent-italy.map-lbl-sm,
  html.accent-italy #country-map.map-lbl-sm svg#map,
  #country-map.accent-italy.map-lbl-sm svg#map{
    --lbl-region-px:6.5px;
    --lbl-city-px:7.2px;
    --lbl-capital-px:8px;
    --lbl-airport-px:7.2px;
    --lbl-group-px:7.2px;
  }
  html.accent-italy #country-map.map-lbl-sm #g-lb text.ct-label.is-cap,
  html.accent-italy #country-map.map-lbl-sm .ct.cap text,
  html.accent-italy #country-map.map-lbl-sm .lbl-cap,
  #country-map.accent-italy.map-lbl-sm #g-lb text.ct-label.is-cap,
  #country-map.accent-italy.map-lbl-sm .ct.cap text,
  #country-map.accent-italy.map-lbl-sm .lbl-cap{
    font-size:calc(8px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  }
}

/* ===== France only (2026-11-13): original Tricolore region fills from country-map.css,
   smaller type than the compact default, white labels with a thin #12233A stroke.
   Does not change UK/IT/ES/DE/JP/KR or USA/CA/MX. */
html.accent-tricolore #country-map.map-lbl-sm,
#country-map.accent-tricolore.map-lbl-sm,
html.accent-tricolore #country-map.map-lbl-sm svg#map,
#country-map.accent-tricolore.map-lbl-sm svg#map{
  --lbl-region-px:6.5px;
  --lbl-city-px:7.4px;
  --lbl-capital-px:8.2px;
  --lbl-airport-px:7.4px;
  --lbl-group-px:6.5px;
  --lbl-region:#ffffff;
  --lbl-city:#ffffff;
  --lbl-capital:#ffffff;
  --lbl-airport:#ffffff;
  --lbl-region-on-dark:#ffffff;
  --lbl-city-on-dark:#ffffff;
  --lbl-capital-on-dark:#ffffff;
  --lbl-airport-on-dark:#ffffff;
}
html.accent-tricolore #country-map.map-lbl-sm .st.st-t1,
#country-map.accent-tricolore.map-lbl-sm .st.st-t1{fill:#0055A4 !important}
html.accent-tricolore #country-map.map-lbl-sm .st.st-t2,
#country-map.accent-tricolore.map-lbl-sm .st.st-t2{fill:#e8e4dc !important}
html.accent-tricolore #country-map.map-lbl-sm .st.st-t3,
#country-map.accent-tricolore.map-lbl-sm .st.st-t3{fill:#EF4135 !important}
html.accent-tricolore #country-map.map-lbl-sm .st.st-t4,
#country-map.accent-tricolore.map-lbl-sm .st.st-t4{fill:#3a7ab8 !important}
html.accent-tricolore #country-map.map-lbl-sm .st.st-t5,
#country-map.accent-tricolore.map-lbl-sm .st.st-t5{fill:#c45a5a !important}

html.accent-tricolore #country-map.map-lbl-sm .lbl,
html.accent-tricolore #country-map.map-lbl-sm .lbl.sel,
html.accent-tricolore #country-map.map-lbl-sm .lbl.lbl-on-dark,
html.accent-tricolore #country-map.map-lbl-sm .ct text,
html.accent-tricolore #country-map.map-lbl-sm .ct.cap text,
html.accent-tricolore #country-map.map-lbl-sm .ap text,
html.accent-tricolore #country-map.map-lbl-sm .ap text.map-label,
html.accent-tricolore #country-map.map-lbl-sm .ap text.map-name,
html.accent-tricolore #country-map.map-lbl-sm #g-lb text.lbl,
html.accent-tricolore #country-map.map-lbl-sm #g-lb text.ct-label,
html.accent-tricolore #country-map.map-lbl-sm #g-lb text.ap-label,
#country-map.accent-tricolore.map-lbl-sm .lbl,
#country-map.accent-tricolore.map-lbl-sm .lbl.sel,
#country-map.accent-tricolore.map-lbl-sm .ct text,
#country-map.accent-tricolore.map-lbl-sm .ap text,
#country-map.accent-tricolore.map-lbl-sm #g-lb text.lbl,
#country-map.accent-tricolore.map-lbl-sm #g-lb text.ct-label,
#country-map.accent-tricolore.map-lbl-sm #g-lb text.ap-label{
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  stroke-linejoin:round !important;
  stroke-linecap:round !important;
  paint-order:stroke fill !important;
  -webkit-text-stroke:0 !important;
  text-shadow:none !important;
  filter:none !important;
  font-weight:600 !important;
}
@media (max-width:720px){
  html.accent-tricolore #country-map.map-lbl-sm .lbl,
  html.accent-tricolore #country-map.map-lbl-sm .ct text,
  html.accent-tricolore #country-map.map-lbl-sm .ap text,
  #country-map.accent-tricolore.map-lbl-sm .lbl,
  #country-map.accent-tricolore.map-lbl-sm .ct text,
  #country-map.accent-tricolore.map-lbl-sm .ap text{
    fill:#ffffff !important;
    stroke:#12233A !important;
    stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
    paint-order:stroke fill !important;
  }
}
html.accent-tricolore #country-map.map-lbl-sm .ap .pad,
#country-map.accent-tricolore.map-lbl-sm .ap .pad{
  fill:#0b1719 !important;
  stroke:#7ec8e3 !important;
  stroke-width:1.2 !important;
}
html.accent-tricolore #country-map.map-lbl-sm .ap .glyph,
#country-map.accent-tricolore.map-lbl-sm .ap .glyph{
  fill:#d9b765 !important;
}
html.accent-tricolore #country-map.map-lbl-sm .ap.sel .pad,
#country-map.accent-tricolore.map-lbl-sm .ap.sel .pad{
  fill:#6d5a2c !important;
  stroke:#f0d58c !important;
}
html.accent-tricolore #country-map.map-lbl-sm .ct circle:not(.ring),
#country-map.accent-tricolore.map-lbl-sm .ct circle:not(.ring){
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:1.3 !important;
}
html.accent-tricolore #country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.accent-tricolore.map-lbl-sm .ct.cap circle:not(.ring){
  fill:#CE2B37 !important;
  stroke:#ffffff !important;
  stroke-width:1.5 !important;
}
html.accent-tricolore #country-map.map-lbl-sm .ct.cap .ring,
#country-map.accent-tricolore.map-lbl-sm .ct.cap .ring{
  stroke:#12233A !important;
}
@media (max-width:720px){
  html.accent-tricolore #country-map.map-lbl-sm .ct.cap .ring,
  #country-map.accent-tricolore.map-lbl-sm .ct.cap .ring{
    r:calc(4.5px * var(--k, 1));
  }
}
@media (max-width:640px){
  html.accent-tricolore #country-map.map-lbl-sm,
  #country-map.accent-tricolore.map-lbl-sm,
  html.accent-tricolore #country-map.map-lbl-sm svg#map,
  #country-map.accent-tricolore.map-lbl-sm svg#map{
    --lbl-region-px:6.0px;
    --lbl-city-px:6.8px;
    --lbl-capital-px:7.6px;
    --lbl-airport-px:6.8px;
    --lbl-group-px:6.0px;
  }
  html.accent-tricolore #country-map.map-lbl-sm #g-lb text.ct-label.is-cap,
  html.accent-tricolore #country-map.map-lbl-sm .ct.cap text,
  html.accent-tricolore #country-map.map-lbl-sm .lbl-cap,
  #country-map.accent-tricolore.map-lbl-sm #g-lb text.ct-label.is-cap,
  #country-map.accent-tricolore.map-lbl-sm .ct.cap text,
  #country-map.accent-tricolore.map-lbl-sm .lbl-cap{
    font-size:calc(7.6px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  }
}
/* Packer is the source of truth for callout / labelZoom visibility. */
html.accent-tricolore #country-map.map-lbl-sm .lbl-zoom,
#country-map.accent-tricolore.map-lbl-sm .lbl-zoom{opacity:1}

/* France callout leaders: labels now sit inside their polygon (or wait for zoom). */
html.accent-tricolore #country-map.map-lbl-sm line.lbl-lead,
#country-map.accent-tricolore.map-lbl-sm line.lbl-lead{
  display:none !important;
}
/* ===== Spain only (2026-11-13): original Rojigualda region fills from country-map.css,
   smaller type than the compact default, white labels with a thin #12233A stroke.
   Does not change UK/IT/FR/DE/JP/KR or USA/CA/MX. */
html.accent-rojigualda #country-map.map-lbl-sm,
#country-map.accent-rojigualda.map-lbl-sm,
html.accent-rojigualda #country-map.map-lbl-sm svg#map,
#country-map.accent-rojigualda.map-lbl-sm svg#map{
  --lbl-region-px:7.2px;
  --lbl-city-px:8px;
  --lbl-capital-px:8.5px;
  --lbl-airport-px:8px;
  --lbl-group-px:7.2px;
  --lbl-region:#ffffff;
  --lbl-city:#ffffff;
  --lbl-capital:#ffffff;
  --lbl-airport:#ffffff;
  --lbl-region-on-dark:#ffffff;
  --lbl-city-on-dark:#ffffff;
  --lbl-capital-on-dark:#ffffff;
  --lbl-airport-on-dark:#ffffff;
}
html.accent-rojigualda #country-map.map-lbl-sm .st.st-t1,
#country-map.accent-rojigualda.map-lbl-sm .st.st-t1{fill:#AA151B !important}
html.accent-rojigualda #country-map.map-lbl-sm .st.st-t2,
#country-map.accent-rojigualda.map-lbl-sm .st.st-t2{fill:#F1BF00 !important}
html.accent-rojigualda #country-map.map-lbl-sm .st.st-t3,
#country-map.accent-rojigualda.map-lbl-sm .st.st-t3{fill:#c41e26 !important}
html.accent-rojigualda #country-map.map-lbl-sm .st.st-t4,
#country-map.accent-rojigualda.map-lbl-sm .st.st-t4{fill:#d4a017 !important}
html.accent-rojigualda #country-map.map-lbl-sm .st.st-t5,
#country-map.accent-rojigualda.map-lbl-sm .st.st-t5{fill:#8b1018 !important}

html.accent-rojigualda #country-map.map-lbl-sm .lbl,
html.accent-rojigualda #country-map.map-lbl-sm .lbl.sel,
html.accent-rojigualda #country-map.map-lbl-sm .lbl.lbl-on-dark,
html.accent-rojigualda #country-map.map-lbl-sm .ct text,
html.accent-rojigualda #country-map.map-lbl-sm .ct.cap text,
html.accent-rojigualda #country-map.map-lbl-sm .ap text,
html.accent-rojigualda #country-map.map-lbl-sm .ap text.map-label,
html.accent-rojigualda #country-map.map-lbl-sm .ap text.map-name,
html.accent-rojigualda #country-map.map-lbl-sm #g-lb text.lbl,
html.accent-rojigualda #country-map.map-lbl-sm #g-lb text.ct-label,
html.accent-rojigualda #country-map.map-lbl-sm #g-lb text.ap-label,
#country-map.accent-rojigualda.map-lbl-sm .lbl,
#country-map.accent-rojigualda.map-lbl-sm .lbl.sel,
#country-map.accent-rojigualda.map-lbl-sm .ct text,
#country-map.accent-rojigualda.map-lbl-sm .ap text,
#country-map.accent-rojigualda.map-lbl-sm #g-lb text.lbl,
#country-map.accent-rojigualda.map-lbl-sm #g-lb text.ct-label,
#country-map.accent-rojigualda.map-lbl-sm #g-lb text.ap-label{
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  stroke-linejoin:round !important;
  stroke-linecap:round !important;
  paint-order:stroke fill !important;
  -webkit-text-stroke:0 !important;
  text-shadow:none !important;
  filter:none !important;
  font-weight:600 !important;
}
@media (max-width:720px){
  html.accent-rojigualda #country-map.map-lbl-sm .lbl,
  html.accent-rojigualda #country-map.map-lbl-sm .ct text,
  html.accent-rojigualda #country-map.map-lbl-sm .ap text,
  #country-map.accent-rojigualda.map-lbl-sm .lbl,
  #country-map.accent-rojigualda.map-lbl-sm .ct text,
  #country-map.accent-rojigualda.map-lbl-sm .ap text{
    fill:#ffffff !important;
    stroke:#12233A !important;
    stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
    paint-order:stroke fill !important;
  }
}
html.accent-rojigualda #country-map.map-lbl-sm .ap .pad,
#country-map.accent-rojigualda.map-lbl-sm .ap .pad{
  fill:#0b1719 !important;
  stroke:#7ec8e3 !important;
  stroke-width:1.2 !important;
}
html.accent-rojigualda #country-map.map-lbl-sm .ap .glyph,
#country-map.accent-rojigualda.map-lbl-sm .ap .glyph{
  fill:#d9b765 !important;
}
html.accent-rojigualda #country-map.map-lbl-sm .ap.sel .pad,
#country-map.accent-rojigualda.map-lbl-sm .ap.sel .pad{
  fill:#6d5a2c !important;
  stroke:#f0d58c !important;
}
html.accent-rojigualda #country-map.map-lbl-sm .ct circle:not(.ring),
#country-map.accent-rojigualda.map-lbl-sm .ct circle:not(.ring){
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:1.3 !important;
}
html.accent-rojigualda #country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.accent-rojigualda.map-lbl-sm .ct.cap circle:not(.ring){
  fill:#C8102E !important;
  stroke:#ffffff !important;
  stroke-width:1.5 !important;
}
html.accent-rojigualda #country-map.map-lbl-sm .ct.cap .ring,
#country-map.accent-rojigualda.map-lbl-sm .ct.cap .ring{
  stroke:#12233A !important;
}
@media (max-width:720px){
  html.accent-rojigualda #country-map.map-lbl-sm .ct.cap .ring,
  #country-map.accent-rojigualda.map-lbl-sm .ct.cap .ring{
    r:calc(4.5px * var(--k, 1));
  }
}
@media (max-width:640px){
  html.accent-rojigualda #country-map.map-lbl-sm,
  #country-map.accent-rojigualda.map-lbl-sm,
  html.accent-rojigualda #country-map.map-lbl-sm svg#map,
  #country-map.accent-rojigualda.map-lbl-sm svg#map{
    --lbl-region-px:6.5px;
    --lbl-city-px:7.2px;
    --lbl-capital-px:8px;
    --lbl-airport-px:7.2px;
    --lbl-group-px:7.2px;
  }
  html.accent-rojigualda #country-map.map-lbl-sm #g-lb text.ct-label.is-cap,
  html.accent-rojigualda #country-map.map-lbl-sm .ct.cap text,
  html.accent-rojigualda #country-map.map-lbl-sm .lbl-cap,
  #country-map.accent-rojigualda.map-lbl-sm #g-lb text.ct-label.is-cap,
  #country-map.accent-rojigualda.map-lbl-sm .ct.cap text,
  #country-map.accent-rojigualda.map-lbl-sm .lbl-cap{
    font-size:calc(8px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  }
}
html.accent-rojigualda #country-map.map-lbl-sm .lbl-zoom,
#country-map.accent-rojigualda.map-lbl-sm .lbl-zoom{opacity:1}

/* ===== Japan (hinomaru) + South Korea (taegeuk) only (2026-11-14):
   re-assert original region fills from country-map.css (undo pastel map-lbl-sm
   overrides), smaller type, white labels with a screen-scaled #12233A outline,
   compact 0.62 airport pads. Does not change UK/IT/FR/ES/DE or USA/CA/MX. */
html.accent-hinomaru #country-map.map-lbl-sm,
#country-map.accent-hinomaru.map-lbl-sm,
html.accent-hinomaru #country-map.map-lbl-sm svg#map,
#country-map.accent-hinomaru.map-lbl-sm svg#map,
html.accent-taegeuk #country-map.map-lbl-sm,
#country-map.accent-taegeuk.map-lbl-sm,
html.accent-taegeuk #country-map.map-lbl-sm svg#map,
#country-map.accent-taegeuk.map-lbl-sm svg#map{
  --lbl-region-px:6.5px;
  --lbl-city-px:7.4px;
  --lbl-capital-px:8.2px;
  --lbl-airport-px:7.4px;
  --lbl-group-px:7.2px;
  --lbl-region:#ffffff;
  --lbl-city:#ffffff;
  --lbl-capital:#ffffff;
  --lbl-airport:#ffffff;
  --lbl-region-on-dark:#ffffff;
  --lbl-city-on-dark:#ffffff;
  --lbl-capital-on-dark:#ffffff;
  --lbl-airport-on-dark:#ffffff;
}

/* Original hinomaru fills (country-map.css). */
html.accent-hinomaru #country-map.map-lbl-sm .st.st-t1,
#country-map.accent-hinomaru.map-lbl-sm .st.st-t1{fill:#f2e8e6 !important}
html.accent-hinomaru #country-map.map-lbl-sm .st.st-t2,
#country-map.accent-hinomaru.map-lbl-sm .st.st-t2{fill:#e8a8a8 !important}
html.accent-hinomaru #country-map.map-lbl-sm .st.st-t3,
#country-map.accent-hinomaru.map-lbl-sm .st.st-t3{fill:#d45a5a !important}
html.accent-hinomaru #country-map.map-lbl-sm .st.st-t4,
#country-map.accent-hinomaru.map-lbl-sm .st.st-t4{fill:#BC002D !important}
html.accent-hinomaru #country-map.map-lbl-sm .st.st-t5,
#country-map.accent-hinomaru.map-lbl-sm .st.st-t5{fill:#c87878 !important}

/* Original taegeuk fills (country-map.css). */
html.accent-taegeuk #country-map.map-lbl-sm .st.st-t1,
#country-map.accent-taegeuk.map-lbl-sm .st.st-t1{fill:#e8e4dc !important}
html.accent-taegeuk #country-map.map-lbl-sm .st.st-t2,
#country-map.accent-taegeuk.map-lbl-sm .st.st-t2{fill:#CD2E3A !important}
html.accent-taegeuk #country-map.map-lbl-sm .st.st-t3,
#country-map.accent-taegeuk.map-lbl-sm .st.st-t3{fill:#0047A0 !important}
html.accent-taegeuk #country-map.map-lbl-sm .st.st-t4,
#country-map.accent-taegeuk.map-lbl-sm .st.st-t4{fill:#5c5c5c !important}
html.accent-taegeuk #country-map.map-lbl-sm .st.st-t5,
#country-map.accent-taegeuk.map-lbl-sm .st.st-t5{fill:#a83a48 !important}

html.accent-hinomaru #country-map.map-lbl-sm .lbl,
html.accent-hinomaru #country-map.map-lbl-sm .lbl.sel,
html.accent-hinomaru #country-map.map-lbl-sm .lbl.lbl-on-dark,
html.accent-hinomaru #country-map.map-lbl-sm .lbl.lbl-group,
html.accent-hinomaru #country-map.map-lbl-sm .ct text,
html.accent-hinomaru #country-map.map-lbl-sm .ct.cap text,
html.accent-hinomaru #country-map.map-lbl-sm .ap text,
html.accent-hinomaru #country-map.map-lbl-sm .ap text.map-label,
html.accent-hinomaru #country-map.map-lbl-sm .ap text.map-name,
html.accent-hinomaru #country-map.map-lbl-sm #g-lb text.lbl,
html.accent-hinomaru #country-map.map-lbl-sm #g-lb text.ct-label,
html.accent-hinomaru #country-map.map-lbl-sm #g-lb text.ap-label,
#country-map.accent-hinomaru.map-lbl-sm .lbl,
#country-map.accent-hinomaru.map-lbl-sm .lbl.sel,
#country-map.accent-hinomaru.map-lbl-sm .lbl.lbl-group,
#country-map.accent-hinomaru.map-lbl-sm .ct text,
#country-map.accent-hinomaru.map-lbl-sm .ap text,
#country-map.accent-hinomaru.map-lbl-sm #g-lb text.lbl,
#country-map.accent-hinomaru.map-lbl-sm #g-lb text.ct-label,
#country-map.accent-hinomaru.map-lbl-sm #g-lb text.ap-label,
html.accent-taegeuk #country-map.map-lbl-sm .lbl,
html.accent-taegeuk #country-map.map-lbl-sm .lbl.sel,
html.accent-taegeuk #country-map.map-lbl-sm .lbl.lbl-on-dark,
html.accent-taegeuk #country-map.map-lbl-sm .ct text,
html.accent-taegeuk #country-map.map-lbl-sm .ct.cap text,
html.accent-taegeuk #country-map.map-lbl-sm .ap text,
html.accent-taegeuk #country-map.map-lbl-sm .ap text.map-label,
html.accent-taegeuk #country-map.map-lbl-sm .ap text.map-name,
html.accent-taegeuk #country-map.map-lbl-sm #g-lb text.lbl,
html.accent-taegeuk #country-map.map-lbl-sm #g-lb text.ct-label,
html.accent-taegeuk #country-map.map-lbl-sm #g-lb text.ap-label,
#country-map.accent-taegeuk.map-lbl-sm .lbl,
#country-map.accent-taegeuk.map-lbl-sm .lbl.sel,
#country-map.accent-taegeuk.map-lbl-sm .ct text,
#country-map.accent-taegeuk.map-lbl-sm .ap text,
#country-map.accent-taegeuk.map-lbl-sm #g-lb text.lbl,
#country-map.accent-taegeuk.map-lbl-sm #g-lb text.ct-label,
#country-map.accent-taegeuk.map-lbl-sm #g-lb text.ap-label{
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  stroke-linejoin:round !important;
  stroke-linecap:round !important;
  paint-order:stroke fill !important;
  -webkit-text-stroke:0 !important;
  text-shadow:none !important;
  filter:none !important;
  font-weight:600 !important;
}
@media (max-width:720px){
  html.accent-hinomaru #country-map.map-lbl-sm .lbl,
  html.accent-hinomaru #country-map.map-lbl-sm .ct text,
  html.accent-hinomaru #country-map.map-lbl-sm .ap text,
  #country-map.accent-hinomaru.map-lbl-sm .lbl,
  #country-map.accent-hinomaru.map-lbl-sm .ct text,
  #country-map.accent-hinomaru.map-lbl-sm .ap text,
  html.accent-taegeuk #country-map.map-lbl-sm .lbl,
  html.accent-taegeuk #country-map.map-lbl-sm .ct text,
  html.accent-taegeuk #country-map.map-lbl-sm .ap text,
  #country-map.accent-taegeuk.map-lbl-sm .lbl,
  #country-map.accent-taegeuk.map-lbl-sm .ct text,
  #country-map.accent-taegeuk.map-lbl-sm .ap text{
    fill:#ffffff !important;
    stroke:#12233A !important;
    stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
    paint-order:stroke fill !important;
  }
}
html.accent-hinomaru #country-map.map-lbl-sm .ap .pad,
#country-map.accent-hinomaru.map-lbl-sm .ap .pad,
html.accent-taegeuk #country-map.map-lbl-sm .ap .pad,
#country-map.accent-taegeuk.map-lbl-sm .ap .pad{
  fill:#0b1719 !important;
  stroke:#7ec8e3 !important;
  stroke-width:1.2 !important;
}
html.accent-hinomaru #country-map.map-lbl-sm .ap .glyph,
#country-map.accent-hinomaru.map-lbl-sm .ap .glyph,
html.accent-taegeuk #country-map.map-lbl-sm .ap .glyph,
#country-map.accent-taegeuk.map-lbl-sm .ap .glyph{
  fill:#d9b765 !important;
}
html.accent-hinomaru #country-map.map-lbl-sm .ap.sel .pad,
#country-map.accent-hinomaru.map-lbl-sm .ap.sel .pad,
html.accent-taegeuk #country-map.map-lbl-sm .ap.sel .pad,
#country-map.accent-taegeuk.map-lbl-sm .ap.sel .pad{
  fill:#6d5a2c !important;
  stroke:#f0d58c !important;
}
html.accent-hinomaru #country-map.map-lbl-sm .ct circle:not(.ring),
#country-map.accent-hinomaru.map-lbl-sm .ct circle:not(.ring),
html.accent-taegeuk #country-map.map-lbl-sm .ct circle:not(.ring),
#country-map.accent-taegeuk.map-lbl-sm .ct circle:not(.ring){
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:1.3 !important;
}
html.accent-hinomaru #country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.accent-hinomaru.map-lbl-sm .ct.cap circle:not(.ring),
html.accent-taegeuk #country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.accent-taegeuk.map-lbl-sm .ct.cap circle:not(.ring){
  fill:#CE2B37 !important;
  stroke:#ffffff !important;
  stroke-width:1.5 !important;
}
html.accent-hinomaru #country-map.map-lbl-sm .ct.cap .ring,
#country-map.accent-hinomaru.map-lbl-sm .ct.cap .ring,
html.accent-taegeuk #country-map.map-lbl-sm .ct.cap .ring,
#country-map.accent-taegeuk.map-lbl-sm .ct.cap .ring{
  stroke:#12233A !important;
}
@media (max-width:720px){
  html.accent-hinomaru #country-map.map-lbl-sm .ct.cap .ring,
  #country-map.accent-hinomaru.map-lbl-sm .ct.cap .ring,
  html.accent-taegeuk #country-map.map-lbl-sm .ct.cap .ring,
  #country-map.accent-taegeuk.map-lbl-sm .ct.cap .ring{
    r:calc(4.5px * var(--k, 1));
  }
}
@media (max-width:640px){
  html.accent-hinomaru #country-map.map-lbl-sm,
  #country-map.accent-hinomaru.map-lbl-sm,
  html.accent-hinomaru #country-map.map-lbl-sm svg#map,
  #country-map.accent-hinomaru.map-lbl-sm svg#map,
  html.accent-taegeuk #country-map.map-lbl-sm,
  #country-map.accent-taegeuk.map-lbl-sm,
  html.accent-taegeuk #country-map.map-lbl-sm svg#map,
  #country-map.accent-taegeuk.map-lbl-sm svg#map{
    --lbl-region-px:6.0px;
    --lbl-city-px:6.8px;
    --lbl-capital-px:7.6px;
    --lbl-airport-px:6.8px;
    --lbl-group-px:6.5px;
  }
  html.accent-hinomaru #country-map.map-lbl-sm #g-lb text.ct-label.is-cap,
  html.accent-hinomaru #country-map.map-lbl-sm .ct.cap text,
  html.accent-hinomaru #country-map.map-lbl-sm .lbl-cap,
  #country-map.accent-hinomaru.map-lbl-sm #g-lb text.ct-label.is-cap,
  #country-map.accent-hinomaru.map-lbl-sm .ct.cap text,
  #country-map.accent-hinomaru.map-lbl-sm .lbl-cap,
  html.accent-taegeuk #country-map.map-lbl-sm #g-lb text.ct-label.is-cap,
  html.accent-taegeuk #country-map.map-lbl-sm .ct.cap text,
  html.accent-taegeuk #country-map.map-lbl-sm .lbl-cap,
  #country-map.accent-taegeuk.map-lbl-sm #g-lb text.ct-label.is-cap,
  #country-map.accent-taegeuk.map-lbl-sm .ct.cap text,
  #country-map.accent-taegeuk.map-lbl-sm .lbl-cap{
    font-size:calc(7.6px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  }
}
/* Packer is the source of truth for callout / labelZoom visibility. */
html.accent-hinomaru #country-map.map-lbl-sm .lbl-zoom,
#country-map.accent-hinomaru.map-lbl-sm .lbl-zoom,
html.accent-taegeuk #country-map.map-lbl-sm .lbl-zoom,
#country-map.accent-taegeuk.map-lbl-sm .lbl-zoom{opacity:1}

html.accent-hinomaru #country-map.map-lbl-sm line.lbl-lead,
#country-map.accent-hinomaru.map-lbl-sm line.lbl-lead,
html.accent-taegeuk #country-map.map-lbl-sm line.lbl-lead,
#country-map.accent-taegeuk.map-lbl-sm line.lbl-lead{
  display:none !important;
}

/* Scale pad/glyph to 0.62 inside .ap-mark so the JS zoom scale(k) on .ap-mark stays intact.
   (country-map.js already emits 0.62 geometry for these two accents; this keeps CSS in sync
   if a cached pad size leaks through.) */
html.accent-hinomaru #country-map.map-lbl-sm .ap .pad,
#country-map.accent-hinomaru.map-lbl-sm .ap .pad,
html.accent-taegeuk #country-map.map-lbl-sm .ap .pad,
#country-map.accent-taegeuk.map-lbl-sm .ap .pad{
  /* fill/stroke already set above */
}

html.accent-hinomaru #country-map.map-lbl-sm .lbl.lbl-group,
#country-map.accent-hinomaru.map-lbl-sm .lbl.lbl-group{
  letter-spacing:0.02em !important;
}

/* 2026-11-14: Tokyo / Seoul capital colour — warm coral, distinct from
   gold selection (#d9b765 / #f0d58c) and from white city dots.
   Label fill #F2A07C vs outline #12233A = 7.61:1; dot #E0704A vs #12233A = 4.96:1. */
html.accent-hinomaru #country-map.map-lbl-sm,
#country-map.accent-hinomaru.map-lbl-sm,
html.accent-taegeuk #country-map.map-lbl-sm,
#country-map.accent-taegeuk.map-lbl-sm{
  --lbl-capital:#F2A07C;
  --lbl-capital-dot:#E0704A;
}
html.accent-hinomaru #country-map.map-lbl-sm #g-lb text.ct-label.is-cap,
html.accent-hinomaru #country-map.map-lbl-sm .ct.cap text,
html.accent-hinomaru #country-map.map-lbl-sm .lbl-cap,
#country-map.accent-hinomaru.map-lbl-sm #g-lb text.ct-label.is-cap,
#country-map.accent-hinomaru.map-lbl-sm .ct.cap text,
#country-map.accent-hinomaru.map-lbl-sm .lbl-cap,
html.accent-taegeuk #country-map.map-lbl-sm #g-lb text.ct-label.is-cap,
html.accent-taegeuk #country-map.map-lbl-sm .ct.cap text,
html.accent-taegeuk #country-map.map-lbl-sm .lbl-cap,
#country-map.accent-taegeuk.map-lbl-sm #g-lb text.ct-label.is-cap,
#country-map.accent-taegeuk.map-lbl-sm .ct.cap text,
#country-map.accent-taegeuk.map-lbl-sm .lbl-cap{
  fill:#F2A07C !important;
  stroke:#12233A !important;
  paint-order:stroke fill !important;
}
html.accent-hinomaru #country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.accent-hinomaru.map-lbl-sm .ct.cap circle:not(.ring),
html.accent-taegeuk #country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.accent-taegeuk.map-lbl-sm .ct.cap circle:not(.ring){
  fill:#E0704A !important;
  stroke:#12233A !important;
  stroke-width:1.5 !important;
}
html.accent-hinomaru #country-map.map-lbl-sm .ct.cap .ring,
#country-map.accent-hinomaru.map-lbl-sm .ct.cap .ring,
html.accent-taegeuk #country-map.map-lbl-sm .ct.cap .ring,
#country-map.accent-taegeuk.map-lbl-sm .ct.cap .ring{
  stroke:#12233A !important;
  fill:none !important;
}
html.accent-hinomaru #country-map.map-lbl-sm .lbl-legend .ll-k i,
#country-map.accent-hinomaru.map-lbl-sm .lbl-legend .ll-k i,
html.accent-taegeuk #country-map.map-lbl-sm .lbl-legend .ll-k i,
#country-map.accent-taegeuk.map-lbl-sm .lbl-legend .ll-k i{
  background:#E0704A !important;
  box-shadow:0 0 0 1.5px #12233A !important;
}
/* Airport–city links: thin muted cyan, behind markers (g-ap-link). */
html.accent-hinomaru #country-map.map-lbl-sm #g-ap-link line.ap-link,
#country-map.accent-hinomaru.map-lbl-sm #g-ap-link line.ap-link,
html.accent-taegeuk #country-map.map-lbl-sm #g-ap-link line.ap-link,
#country-map.accent-taegeuk.map-lbl-sm #g-ap-link line.ap-link{
  fill:none !important;
  stroke:#7ec8e3 !important;
  stroke-opacity:.55 !important;
  stroke-width:0.8px !important;
  vector-effect:non-scaling-stroke !important;
  pointer-events:none !important;
  stroke-linecap:round !important;
}
html.accent-hinomaru #country-map.map-lbl-sm #g-ap-link line.ap-link.ppc-lbl-hide,
#country-map.accent-hinomaru.map-lbl-sm #g-ap-link line.ap-link.ppc-lbl-hide,
html.accent-taegeuk #country-map.map-lbl-sm #g-ap-link line.ap-link.ppc-lbl-hide,
#country-map.accent-taegeuk.map-lbl-sm #g-ap-link line.ap-link.ppc-lbl-hide{
  display:none !important;
}

/* ===== Australia (ausflag) 2026-11-14: flag navy/red fills, small type, white
   labels with a screen-scaled #12233A stroke, coral capital, airport–city links.
   Gold selection unchanged. Packer is the source of truth for rest/zoom visibility. */
html.accent-ausflag #country-map.map-lbl-sm,
#country-map.accent-ausflag.map-lbl-sm,
html.accent-ausflag #country-map.map-lbl-sm svg#map,
#country-map.accent-ausflag.map-lbl-sm svg#map{
  --lbl-region-px:6.5px;
  --lbl-city-px:7.4px;
  --lbl-capital-px:8.2px;
  --lbl-airport-px:7.4px;
  --lbl-group-px:7.2px;
  --lbl-region:#ffffff;
  --lbl-city:#ffffff;
  --lbl-capital:#F2A07C;
  --lbl-airport:#ffffff;
  --lbl-region-on-dark:#ffffff;
  --lbl-city-on-dark:#ffffff;
  --lbl-capital-on-dark:#F2A07C;
  --lbl-airport-on-dark:#ffffff;
  --lbl-capital-dot:#E0704A;
}
html.accent-ausflag #country-map.map-lbl-sm .st.st-t1,
#country-map.accent-ausflag.map-lbl-sm .st.st-t1{fill:#3d5a8c !important}
html.accent-ausflag #country-map.map-lbl-sm .st.st-t2,
#country-map.accent-ausflag.map-lbl-sm .st.st-t2{fill:#1a3f73 !important}
html.accent-ausflag #country-map.map-lbl-sm .st.st-t3,
#country-map.accent-ausflag.map-lbl-sm .st.st-t3{fill:#012169 !important}
html.accent-ausflag #country-map.map-lbl-sm .st.st-t4,
#country-map.accent-ausflag.map-lbl-sm .st.st-t4{fill:#8B1A2B !important}
html.accent-ausflag #country-map.map-lbl-sm .st.st-t5,
#country-map.accent-ausflag.map-lbl-sm .st.st-t5{fill:#C41E3A !important}
html.accent-ausflag #country-map.map-lbl-sm .st.sel,
html.accent-ausflag #country-map.map-lbl-sm .st.sel:hover,
#country-map.accent-ausflag.map-lbl-sm .st.sel,
#country-map.accent-ausflag.map-lbl-sm .st.sel:hover{
  fill:#6d5a2c !important;
  stroke:#f0d58c !important;
  stroke-width:2 !important;
  filter:none !important;
}
html.accent-ausflag #country-map.map-lbl-sm .lbl,
html.accent-ausflag #country-map.map-lbl-sm .lbl.sel,
html.accent-ausflag #country-map.map-lbl-sm .lbl.lbl-on-dark,
html.accent-ausflag #country-map.map-lbl-sm .ct text,
html.accent-ausflag #country-map.map-lbl-sm .ap text,
html.accent-ausflag #country-map.map-lbl-sm .ap text.map-label,
html.accent-ausflag #country-map.map-lbl-sm .ap text.map-name,
html.accent-ausflag #country-map.map-lbl-sm #g-lb text.lbl,
html.accent-ausflag #country-map.map-lbl-sm #g-lb text.ct-label,
html.accent-ausflag #country-map.map-lbl-sm #g-lb text.ap-label,
#country-map.accent-ausflag.map-lbl-sm .lbl,
#country-map.accent-ausflag.map-lbl-sm .lbl.sel,
#country-map.accent-ausflag.map-lbl-sm .ct text,
#country-map.accent-ausflag.map-lbl-sm .ap text,
#country-map.accent-ausflag.map-lbl-sm #g-lb text.lbl,
#country-map.accent-ausflag.map-lbl-sm #g-lb text.ct-label,
#country-map.accent-ausflag.map-lbl-sm #g-lb text.ap-label{
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:calc(2.4px * 975 / var(--map-w-px, 975) * var(--kt, 1)) !important;
  stroke-linejoin:round !important;
  stroke-linecap:round !important;
  paint-order:stroke fill !important;
  -webkit-text-stroke:0 !important;
  text-shadow:none !important;
  filter:none !important;
  font-weight:600 !important;
}
html.accent-ausflag #country-map.map-lbl-sm #g-lb text.ct-label.is-cap,
html.accent-ausflag #country-map.map-lbl-sm .ct.cap text,
html.accent-ausflag #country-map.map-lbl-sm .lbl-cap,
#country-map.accent-ausflag.map-lbl-sm #g-lb text.ct-label.is-cap,
#country-map.accent-ausflag.map-lbl-sm .ct.cap text,
#country-map.accent-ausflag.map-lbl-sm .lbl-cap{
  fill:#F2A07C !important;
  stroke:#12233A !important;
  paint-order:stroke fill !important;
}
html.accent-ausflag #country-map.map-lbl-sm .ap .pad,
#country-map.accent-ausflag.map-lbl-sm .ap .pad{
  fill:#0b1719 !important;
  stroke:#7ec8e3 !important;
  stroke-width:1.2 !important;
}
html.accent-ausflag #country-map.map-lbl-sm .ap .glyph,
#country-map.accent-ausflag.map-lbl-sm .ap .glyph{fill:#d9b765 !important}
html.accent-ausflag #country-map.map-lbl-sm .ap.sel .pad,
#country-map.accent-ausflag.map-lbl-sm .ap.sel .pad{fill:#6d5a2c !important;stroke:#f0d58c !important}
html.accent-ausflag #country-map.map-lbl-sm .ct circle:not(.ring),
#country-map.accent-ausflag.map-lbl-sm .ct circle:not(.ring){
  fill:#ffffff !important;
  stroke:#12233A !important;
  stroke-width:1.3 !important;
}
html.accent-ausflag #country-map.map-lbl-sm .ct.cap circle:not(.ring),
#country-map.accent-ausflag.map-lbl-sm .ct.cap circle:not(.ring){
  fill:#E0704A !important;
  stroke:#12233A !important;
  stroke-width:1.5 !important;
}
html.accent-ausflag #country-map.map-lbl-sm .ct.cap .ring,
#country-map.accent-ausflag.map-lbl-sm .ct.cap .ring{
  stroke:#12233A !important;
  fill:none !important;
}
html.accent-ausflag #country-map.map-lbl-sm .lbl-legend .ll-k i,
#country-map.accent-ausflag.map-lbl-sm .lbl-legend .ll-k i{
  background:#E0704A !important;
  box-shadow:0 0 0 1.5px #12233A !important;
}
html.accent-ausflag #country-map.map-lbl-sm #g-ap-link line.ap-link,
#country-map.accent-ausflag.map-lbl-sm #g-ap-link line.ap-link{
  fill:none !important;
  stroke:#7ec8e3 !important;
  stroke-opacity:.55 !important;
  stroke-width:0.8px !important;
  vector-effect:non-scaling-stroke !important;
  pointer-events:none !important;
  stroke-linecap:round !important;
}
html.accent-ausflag #country-map.map-lbl-sm #g-ap-link line.ap-link.ppc-lbl-hide,
#country-map.accent-ausflag.map-lbl-sm #g-ap-link line.ap-link.ppc-lbl-hide{display:none !important}
@media (max-width:640px){
  html.accent-ausflag #country-map.map-lbl-sm,
  #country-map.accent-ausflag.map-lbl-sm,
  html.accent-ausflag #country-map.map-lbl-sm svg#map,
  #country-map.accent-ausflag.map-lbl-sm svg#map{
    --lbl-region-px:6.0px;
    --lbl-city-px:6.8px;
    --lbl-capital-px:7.6px;
    --lbl-airport-px:6.8px;
    --lbl-group-px:6.5px;
  }
}
