/* =====================================================================
   BREAKTHROUGH EDUCATION — "Living World" (Reis deur Suid-Afrika)
   A cinematic map of South Africa: provinces reveal + bloom as mastery
   terraforms the land. Country view  ⇄  zoomable biome scenes.
   Theme-aware (uses app tokens); biome palettes set inline as --b-*.
   ===================================================================== */

/* ---- immersive mode: strip the app chrome for learners ---- */
body.immersive .sidebar,
body.immersive .topbar { display: none !important; }
body.immersive .app { grid-template-columns: 1fr !important; }
body.immersive .main { min-height: 100vh; }
body.in-world #view { padding: 0 !important; }

/* floating "back to the world" control on task screens (immersive mode) */
.world-back-float {
  position: fixed; top: 16px; left: 16px; z-index: 70;
  background: rgba(8,14,30,.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  font-family: var(--font); font-weight: 800; font-size: .95rem;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
  transition: transform .15s var(--ease), background .2s;
}
.world-back-float:hover { transform: translateX(-3px); background: rgba(20,30,56,.88); }
body.has-world-back #view { padding-top: 64px; }

/* ---------------------------------------------------------------- */
/* WORLD ROOT                                                       */
/* ---------------------------------------------------------------- */
.world {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  color: #eaf2ff;
  font-family: var(--font);
  isolation: isolate;
  --ink-on: #f3f8ff;
  background:
    radial-gradient(1400px 900px at 80% -20%, #16306b 0%, transparent 60%),
    radial-gradient(1200px 800px at -10% 110%, #0a2a3a 0%, transparent 55%),
    linear-gradient(180deg, #060b1c 0%, #081226 55%, #040814 100%);
  background-color: #060b1c;
}

/* drifting starfield / dust on the country backdrop */
.world-stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, #cfe0ff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 70% 14%, #bcd2ff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 44% 38%, #e7eeff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 52%, #a8c4ff 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 28% 68%, #d8e6ff 50%, transparent 51%),
    radial-gradient(1.7px 1.7px at 62% 82%, #c4d8ff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 8% 88%, #bcd2ff 50%, transparent 51%);
  animation: world-twinkle 6s ease-in-out infinite alternate;
}
@keyframes world-twinkle { from { opacity:.35 } to { opacity:.7 } }

/* ---------------------------------------------------------------- */
/* HUD                                                              */
/* ---------------------------------------------------------------- */
.world-hud {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(4,8,20,.6), transparent);
  pointer-events: none;
}
.world-hud > * { pointer-events: auto; }
.hud-ava {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 2px solid rgba(255,255,255,.25);
  display: grid; place-items: center; overflow: hidden; flex: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.45), 0 0 16px rgba(52,208,88,.25);
}
.hud-ava .bt-avatar { width: 100%; height: 100%; }
.hud-meta { line-height: 1.15; }
.hud-meta b { display: block; font-size: 1rem; color: #fff; font-weight: 800; }
.hud-meta small { color: #b7c6e6; font-weight: 600; font-size: .78rem; }
.hud-spacer { flex: 1; }
.hud-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(8,14,30,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  padding: 9px 15px; font-weight: 800; font-size: .95rem; color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.hud-pill .big { font-size: 1.15rem; }
.hud-pill.flame { color: #ffd27a; border-color: rgba(255,180,60,.35); }
.hud-btn {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  background: rgba(8,14,30,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 1.25rem;
  display: grid; place-items: center; transition: transform .15s var(--ease), background .2s;
}
.hud-btn:hover { transform: translateY(-2px); background: rgba(20,30,56,.7); }

/* a quiet "extras" popover */
.hud-menu { position: relative; }
.hud-pop {
  position: absolute; top: 54px; right: 0; min-width: 200px;
  background: rgba(10,16,34,.92); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 8px;
  box-shadow: 0 18px 46px rgba(0,0,0,.6); display: none; flex-direction: column; gap: 2px;
}
.hud-pop.open { display: flex; animation: fade-up .18s var(--ease); }
.hud-pop button {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: transparent; border: 0; color: #e7eeff; font-family: var(--font);
  font-weight: 700; font-size: .96rem; padding: 11px 13px; border-radius: 11px;
}
.hud-pop button:hover { background: rgba(255,255,255,.08); }
.hud-pop .ico { width: 22px; text-align: center; font-size: 1.05rem; }
.hud-pop hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 5px 4px; }

/* ---------------------------------------------------------------- */
/* COUNTRY MAP                                                      */
/* ---------------------------------------------------------------- */
.world-stage { position: relative; z-index: 5; width: 100%; min-height: 100vh; }

.wmap-wrap {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 88px 24px 32px; transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.wmap {
  width: min(94vw, 1180px); height: auto; max-height: 88vh; overflow: visible;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
}

/* province base */
.prov {
  cursor: pointer;
  stroke: #0a1326; stroke-width: 1.2; stroke-linejoin: round;
  transition: fill .8s var(--ease), opacity .9s var(--ease), filter .5s var(--ease), transform .5s var(--ease);
  transform-box: fill-box; transform-origin: center;
}
/* hidden = behind mist (not yet revealed) */
.prov.hidden { fill: #11192e; opacity: .22; pointer-events: none; filter: blur(1.4px) saturate(0); }
/* revealed but dead = desaturated stone, awaiting bloom */
.prov.dead { fill: #2b3450; opacity: .92; filter: saturate(.25) brightness(.8); }
/* live = blooming; fill set inline per-province via --pv-fill, brightness scales with bloom */
.prov.live { fill: var(--pv-fill, #2f6b3a); opacity: 1; }
.prov.live:hover { filter: brightness(1.12) drop-shadow(0 0 14px var(--pv-glow, rgba(52,208,88,.5))); }
.prov.done { filter: drop-shadow(0 0 16px var(--pv-glow, rgba(52,208,88,.6))); }

/* (removed unused .prov-sheen) */

/* province labels + node pins on the country map */
.prov-pin { pointer-events: none; transition: opacity .6s var(--ease); }
.prov-pin.hidden { opacity: 0; }
.prov-pin .ring-bg { fill: rgba(4,10,24,.55); stroke: rgba(255,255,255,.25); stroke-width: 1; }
.prov-pin .emoji { font-size: 22px; }
.prov-pin .pct { font-family: var(--font); font-weight: 800; font-size: 13px; fill: #fff; }
.prov-label {
  font-family: var(--font); font-weight: 800; fill: #eaf2ff; font-size: 17px;
  paint-order: stroke; stroke: rgba(2,6,16,.85); stroke-width: 3.4px; stroke-linejoin: round;
  pointer-events: none; transition: opacity .6s var(--ease);
}
.prov-label.locked { fill: #9aa6c8; }
.lock-ico { font-size: 18px; pointer-events: none; }

/* traveler avatar marker on the country map */
.traveler {
  position: absolute; z-index: 18; width: 64px; height: 64px; transform: translate(-50%,-90%);
  transition: left .9s var(--ease), top .9s var(--ease); pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.5));
  animation: traveler-bob 3.2s ease-in-out infinite;
}
.traveler .bt-avatar { width: 100%; height: 100%; }
.traveler::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 34px; height: 9px;
  transform: translateX(-50%); border-radius: 50%; background: rgba(0,0,0,.4); filter: blur(3px);
}
@keyframes traveler-bob { 0%,100%{ transform: translate(-50%,-90%) } 50%{ transform: translate(-50%,-96%) } }

.world-title {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 20; text-align: center;
  pointer-events: none; padding: 0 20px;
}
.world-title h1 {
  margin: 0; font-size: clamp(1.3rem, 3vw, 2.1rem); color: #fff; letter-spacing: -.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,.7);
}
.world-title p { margin: 4px 0 0; color: #c2cfee; font-weight: 600; font-size: .95rem; }

/* country -> biome zoom transition states */
.world.zooming .wmap-wrap { opacity: 0; transform: scale(1.35); }
.biome-wrap { animation: biome-in .55s var(--ease) both; }
@keyframes biome-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- */
/* BIOME SCENE                                                      */
/* ---------------------------------------------------------------- */
.biome {
  position: relative; z-index: 5; width: 100%; min-height: 100vh; overflow: hidden; isolation: isolate;
  --b-sky1:#0b1c3a; --b-sky2:#13335f; --b-ground:#2d6b3a; --b-ground2:#1f4d2a;
  --b-accent:#34d058; --b-haze: rgba(255,255,255,.06);
  background: linear-gradient(180deg, var(--b-sky1) 0%, var(--b-sky2) 52%, var(--b-sky2) 100%);
}
.biome.dead { filter: saturate(.3) brightness(.72) contrast(.95); }
.biome.dead .b-life { opacity: .15; }
.biome .b-life { transition: opacity 1.2s var(--ease); }

/* sun / moon */
.b-sun {
  position: absolute; z-index: 2; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff7d6, var(--b-accent) 70%, transparent 72%);
  filter: blur(2px); opacity: .9; animation: sun-pulse 7s ease-in-out infinite;
}
@keyframes sun-pulse { 0%,100%{ transform: scale(1); opacity:.85 } 50%{ transform: scale(1.06); opacity:1 } }

/* layered hills / dunes / sea — generic parallax bands (SVG injected by JS) */
.b-layer { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; z-index: 3; pointer-events: none; }
.b-scene-svg { position:absolute; inset:0; width:100%; height:100%; z-index:3; pointer-events:none; }

/* weather layers */
.weather { position: absolute; inset: 0; z-index: 8; pointer-events: none; overflow: hidden; }
.wx-rain i {
  position: absolute; top: -12%; width: 2px; height: 64px; border-radius: 2px;
  background: linear-gradient(transparent, rgba(190,215,255,.75));
  animation: rain-fall linear infinite;
}
@keyframes rain-fall { to { transform: translateY(120vh); } }
.wx-snow i {
  position: absolute; top: -6%; border-radius: 50%; background: #fff; opacity: .9;
  animation: snow-fall linear infinite;
}
@keyframes snow-fall { to { transform: translateY(118vh) translateX(30px); } }
.wx-drift i {
  position: absolute; border-radius: 50%; background: var(--b-haze);
  filter: blur(8px); animation: drift linear infinite;
}
@keyframes drift { from { transform: translateX(-20vw); } to { transform: translateX(120vw); } }
.wx-motes i {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,240,180,.8); box-shadow: 0 0 6px rgba(255,230,150,.8);
  animation: mote-float linear infinite;
}
@keyframes mote-float {
  0% { transform: translateY(10vh) translateX(0); opacity: 0; }
  10%,90% { opacity: .9; }
  100% { transform: translateY(-20vh) translateX(40px); opacity: 0; }
}
.wx-shimmer {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 7; pointer-events: none;
  background: linear-gradient(transparent, rgba(255,210,140,.10));
  animation: shimmer 3.5s ease-in-out infinite; mix-blend-mode: screen;
}
@keyframes shimmer { 0%,100%{ opacity:.25; transform: skewX(0deg) } 50%{ opacity:.6; transform: skewX(-1.2deg) } }
.wx-bolt {
  position: absolute; inset: 0; z-index: 9; pointer-events: none; opacity: 0;
  background: radial-gradient(700px 500px at 50% 20%, rgba(220,235,255,.9), transparent 60%);
  animation: bolt 9s linear infinite;
}
@keyframes bolt {
  0%,4%,100% { opacity: 0; } 1% { opacity: .9; } 2% { opacity: .1; } 3% { opacity: .75; }
}

/* biome header / back */
.biome-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 25;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: linear-gradient(180deg, rgba(4,8,20,.55), transparent);
}
.biome-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8,14,30,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 999px;
  padding: 10px 18px; font-family: var(--font); font-weight: 800; font-size: .95rem;
  transition: transform .15s var(--ease), background .2s;
}
.biome-back:hover { transform: translateX(-3px); background: rgba(20,30,56,.7); }
.biome-name { line-height: 1.1; }
.biome-name b { display: block; color: #fff; font-size: 1.25rem; font-weight: 900; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.biome-name small { color: #cdd9f5; font-weight: 700; font-size: .8rem; }
.biome-progress {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(8,14,30,.5); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 8px 16px; color: #fff; font-weight: 800; backdrop-filter: blur(8px);
}
.biome-progress .bar { width: 120px; height: 9px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.biome-progress .bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--b-accent), #eafff0); transition: width 1s var(--ease); }

/* task nodes inside the biome */
.b-nodes { position: absolute; inset: 0; z-index: 14; }
.b-node {
  position: absolute; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  transition: transform .18s var(--ease); text-align: center;
}
.b-node:hover { transform: translate(-50%,-58%); }
.b-node .disc {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.7rem; position: relative;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.22), rgba(8,14,30,.6));
  border: 2px solid rgba(255,255,255,.45);
  box-shadow: 0 8px 18px rgba(0,0,0,.45);
}
.b-node.done .disc {
  background: radial-gradient(circle at 50% 35%, #eafff0, var(--b-accent));
  border-color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.4), 0 0 22px var(--b-accent);
  color: #06351a;
}
.b-node.done .disc::after { content: "✓"; position: absolute; right: -4px; bottom: -4px;
  width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--b-accent);
  font-weight: 900; font-size: .8rem; display: grid; place-items: center; box-shadow: var(--sh-1); }
.b-node .tag {
  font-family: var(--font); font-weight: 800; font-size: .82rem; color: #fff; max-width: 130px;
  paint-order: stroke; text-shadow: 0 2px 8px rgba(0,0,0,.8); line-height: 1.15;
}
.b-node .pulse { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6);
  animation: node-pulse 2s ease-out infinite; pointer-events: none; }
.b-node.done .pulse { display: none; }
@keyframes node-pulse { 0%{ transform: scale(.85); opacity:.8 } 100%{ transform: scale(1.6); opacity:0 } }

/* path connecting nodes */
.b-path { position: absolute; inset: 0; z-index: 12; pointer-events: none; }
.b-path path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }

/* animals / inhabitants */
.b-animal { position: absolute; z-index: 13; font-size: 2.2rem; pointer-events: none;
  filter: drop-shadow(0 6px 6px rgba(0,0,0,.4)); }
.b-animal.walk { animation: animal-walk linear infinite; }
@keyframes animal-walk { from { transform: translateX(-12vw) scaleX(1); } to { transform: translateX(112vw) scaleX(1); } }
.b-animal.bob { animation: traveler-bob 3.6s ease-in-out infinite; }

/* biome footer hint */
.biome-hint {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 20; text-align: center;
  color: #dbe6ff; font-weight: 600; pointer-events: none; text-shadow: 0 2px 10px rgba(0,0,0,.7);
}

/* terraform bloom sweep on completion */
.bloom-burst {
  position: absolute; z-index: 40; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.9), var(--b-accent) 40%, transparent 70%);
  animation: bloom-burst 1.1s var(--ease) forwards;
}
@keyframes bloom-burst { from { transform: scale(0); opacity: .9; } to { transform: scale(8); opacity: 0; } }

/* ---------------------------------------------------------------- */
/* first-run welcome overlay                                        */
/* ---------------------------------------------------------------- */
.world-welcome {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(900px 600px at 50% 30%, rgba(20,40,90,.7), rgba(3,6,16,.92));
  animation: fade-up .4s var(--ease);
}
.world-welcome .card {
  max-width: 520px; text-align: center; color: #eaf2ff;
  background: rgba(10,18,38,.85); border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px; padding: 36px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.world-welcome h2 { color: #fff; font-size: 1.7rem; margin: 14px 0 8px; }
.world-welcome p { color: #c2cfee; margin: 0 0 22px; }
.world-welcome .mark { font-size: 3rem; }

/* ---------------------------------------------------------------- */
/* responsive                                                       */
/* ---------------------------------------------------------------- */
@media (max-width: 720px) {
  .wmap { width: 96vw; max-height: 74vh; }
  .traveler { width: 50px; height: 50px; }
  .hud-meta { display: none; }
  .b-node .disc { width: 54px; height: 54px; font-size: 1.4rem; }
  .world-title { bottom: 14px; }
  .biome-progress .bar { width: 80px; }
  .world-hud { gap: 8px; padding: 12px 12px; }
  .hud-pill { padding: 7px 11px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .world *, .world-welcome, .world-welcome *, .world-back-float { animation: none !important; transition-duration: .01ms !important; }
}

/* terraform growth pulse on the country map */
.prov.grew { animation: prov-grew 1.5s var(--ease); }
@keyframes prov-grew {
  0%   { filter: brightness(1); }
  30%  { filter: brightness(1.7) drop-shadow(0 0 22px var(--pv-glow, rgba(52,208,88,.85))); }
  100% { filter: brightness(1); }
}
/* biome atmospheric depth */
.b-haze { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(180deg, var(--b-haze) 0%, transparent 55%); mix-blend-mode: screen; }
.b-vignette { position: absolute; inset: 0; z-index: 11; pointer-events: none; box-shadow: inset 0 0 200px 40px rgba(0,0,0,.42); }

/* top-down terrain map */
.b-terrain, .b-iso { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }

/* painted-art province mode */
.biome.art-mode { background: radial-gradient(1300px 850px at 50% 42%, #11243c, #05080f); display: grid; place-items: center; }
.b-art-wrap { position: relative; width: -moz-fit-content; width: fit-content; max-width: 96vw; }
.b-art { display: block; max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.6); transition: filter 1s var(--ease); }
.biome.art-mode .b-nodes { position: absolute; inset: 0; z-index: 14; }

/* painted country map */
.cmap { position: relative; z-index: 5; min-height: 100vh; display: grid; place-items: center; padding: 78px 16px 28px; background: radial-gradient(1400px 900px at 50% 30%, #0e2236, #05080f); }
.cmap-art-wrap { position: relative; width: -moz-fit-content; width: fit-content; max-width: 97vw; }
.cmap-img { display: block; max-width: 97vw; max-height: 84vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.6); }
.cmap-pin { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; padding: 0; cursor: pointer; }
.cmap-pin .pin-disc { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: radial-gradient(circle at 50% 34%, #ffffff, #cfe9ff); border: 2px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.5); transition: transform .15s var(--ease); }
.cmap-pin.locked .pin-disc { background: rgba(10,16,30,.6); border-color: rgba(255,255,255,.3); filter: grayscale(1) brightness(.8); }
.cmap-pin.done .pin-disc { border-color: #bfffd2; box-shadow: 0 6px 16px rgba(0,0,0,.4), 0 0 18px rgba(52,208,88,.7); }
.cmap-pin .pin-pct { font-family: var(--font); font-weight: 800; font-size: .7rem; color: #fff; background: rgba(8,14,30,.72); padding: 1px 7px; border-radius: 99px; }
.cmap-pin .pin-name { font-family: var(--font); font-weight: 800; font-size: .82rem; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.95), 0 0 3px rgba(0,0,0,.85); white-space: nowrap; }
.cmap-pin.locked .pin-name { color: #aab4d0; }
.cmap-pin:hover .pin-disc { transform: scale(1.1); }
.cmap-pin:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 8px; }
.cmap-traveler { position: absolute; transform: translate(-50%,-122%); width: 52px; height: 52px; pointer-events: none; z-index: 20; filter: drop-shadow(0 6px 8px rgba(0,0,0,.55)); }
.cmap-traveler .bt-avatar { width: 100%; height: 100%; }
.t-city { font-family: var(--font); font-weight: 800; fill: #fff; paint-order: stroke; stroke: rgba(2,6,16,.82); stroke-width: 4px; stroke-linejoin: round; }
.t-animal { filter: drop-shadow(0 4px 4px rgba(0,0,0,.4)); }
.cloud-shadows .cshadow { animation: cloud-drift linear infinite; }
@keyframes cloud-drift { from { transform: translateX(0); } to { transform: translateX(2200px); } }
.smoke { animation: smoke-rise 4.5s ease-in-out infinite; }
@keyframes smoke-rise { 0% { opacity:.5; transform: translateY(2px); } 100% { opacity:0; transform: translateY(-18px); } }
/* keyboard focus for interactive map elements */
.prov:focus-visible, .b-node:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
