/* Daru, AI around the world (design-spec-v1.md section 10). Loaded on /en/world/ and /hu/world/ only,
   after site.css. Night desk tokens come from site.css; this file adds the map ramp and the page parts,
   every rule scoped under .world. Lifted from site/mockups/world.css (art director, rev 2). */
:root {
  /* map ramp, navy to coral, light to dark on a light page */
  --m1: #A3AED4; --m2: #8A86BF; --m3: #9F619A; --m4: #A63A45; --m5: #7A2414;
  --m-none: #E7EAF0; --m-hatch: #C3C8D4; --m-border: #FFFFFF; --m-ocean: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* dark ramp flips the anchor: low values sit near the ground, high values glow coral (OKLab L 0.536 to 0.775) */
    --m1: #5A69A6; --m2: #7F72BE; --m3: #B378B9; --m4: #E77E95; --m5: #FF9670;
    --m-none: #1E2330; --m-hatch: #343A4A; --m-border: #171B25; --m-ocean: #171B25;
  }
}
:root[data-theme="dark"] {
  --m1: #5A69A6; --m2: #7F72BE; --m3: #B378B9; --m4: #E77E95; --m5: #FF9670;
  --m-none: #1E2330; --m-hatch: #343A4A; --m-border: #171B25; --m-ocean: #171B25;
}
main.world-main { padding-bottom: 0; }
.world .wide { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.world .w-app { min-width: 0; }
.world .sw-k1 { background: var(--m1); } .world .sw-k2 { background: var(--m2); } .world .sw-k3 { background: var(--m3); }
.world .sw-k4 { background: var(--m4); } .world .sw-k5 { background: var(--m5); } .world .sw-coral { background: var(--coral); }
.world .sw-dot { border-radius: var(--r-pill); }
.world .w-fail { padding: 24px; margin: 0; color: var(--muted); }
.world .w-none { color: var(--muted); }
.world .w-still { padding-top: 16px; display: grid; gap: 16px; }
.world .w-still-ch { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 0 0; overflow: hidden; }
.world .w-still-ch > p, .world .w-still-ch > h2 { margin: 0 16px 6px; }
.world .w-still-ch h2 { font: 600 var(--fs-3)/1.25 var(--serif); }
.world .w-still-ch .ch-k { font: 600 var(--fs-1)/1.2 var(--sans); letter-spacing: .01em; color: var(--muted); }
.world .w-still .table-wrap { max-height: 360px; margin-top: 10px; }
.world .chip-btn { color: var(--ink); }
.world .panel h2 { margin-top: 6px; }

/* ---- page head ---- */
.world .w-head { padding-top: 28px; padding-bottom: 4px; }
@media (max-width: 639px) { .world .w-head { padding-top: 16px; } .world .w-head .dek { font-size: var(--fs-2); }   }
.world .label { margin: 0; font: 600 var(--fs-1)/1.2 var(--sans); letter-spacing: .01em; color: var(--muted); }
.world .w-head h1 { margin: 6px 0 6px; font: 600 var(--fs-5)/1.12 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.world .w-head .dek { margin: 0; max-width: 44rem; color: var(--muted); font-size: var(--fs-2); }
.world .pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font: 600 var(--fs-1)/1 var(--sans); white-space: nowrap; }
.world .pill-sample { background: var(--coral-soft); color: var(--coral-ink); }
.world .pill-pulled { background: var(--surface-2); color: var(--ink); }

/* ---- controls ---- */
.world .controls { display: grid; gap: 8px; padding-top: 14px; padding-bottom: 12px; min-width: 0; }
.world .layers { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 4px; }
.world .layers[hidden] { display: none; }
.world .layer-def { margin: 0; font-size: var(--fs-1); color: var(--muted); }
/* chapters: one row of numbered steps plus Explore; scrolls sideways on phones */
.world .chapters { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 2px; margin: -2px; }
.world .chapters::-webkit-scrollbar { display: none; }
.world .chapters ol { display: flex; gap: 4px; margin: 0; padding: 4px; list-style: none; border-radius: var(--r-pill); background: var(--surface-2); flex: none; }
.world .chapters ol button, .world .chapters .explore { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 6px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font: 600 var(--fs-1)/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.world .chapters ol button b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; font-size: var(--fs-1); }
.world .chapters ol button:hover, .world .chapters .explore:hover { color: var(--ink); }
.world .chapters ol button[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px var(--shadow-c); }
.world .chapters ol button[aria-current] b { background: var(--coral); color: #fff; }
.world .chapters .explore { flex: none; padding: 0 16px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
.world .chapters .explore svg { width: 16px; height: 16px; }
.world .chapters .explore[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
/* tools and the measure switch share one row; on phones it scrolls sideways instead of wrapping */
.world .toolrow { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 2px; margin: -2px; }
.world .toolrow::-webkit-scrollbar { display: none; }
.world .toolrow > * { flex: none; }
.world .toolrow [hidden] { display: none; }
.world .toolrow .chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.world .toolrow svg { width: 16px; height: 16px; }
.world .chip-btn:disabled { opacity: .7; cursor: default; border-style: dashed; }
.world .chip-btn:disabled:hover { border-color: var(--line-2); }
.world .layers legend { padding: 0; }
.world .seg { display: flex; padding: 4px; gap: 2px; border-radius: var(--r-pill); background: var(--surface-2); overflow-x: auto; scrollbar-width: none; max-width: 100%; width: max-content; }
.world .seg::-webkit-scrollbar { display: none; }
.world .seg label { position: relative; flex: none; cursor: pointer; }
.world .seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.world .seg span { display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: var(--r-pill); font: 600 var(--fs-1)/1 var(--sans); color: var(--muted); white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.world .seg label:hover span { color: var(--ink); }
.world .seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px var(--shadow-c); }
.world .seg input:focus-visible + span { outline: 2px solid var(--coral-ink); outline-offset: 2px; }
.world .sub { display: flex; align-items: center; }
.world .sub[hidden] { display: none; }
.world .sub .seg { padding: 2px; }
.world .sub .seg span { height: 40px; padding: 0 14px; font-size: var(--fs-1); }

/* ---- stage ---- */
.world .stage { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.world .layer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 14px 18px 0; }
.world .layer-bar h2 { margin: 0; font: 600 var(--fs-3)/1.25 var(--serif); }
.world .layer-bar .ch-k { flex-basis: 100%; margin: 0; font: 600 var(--fs-1)/1.2 var(--sans); letter-spacing: .01em; color: var(--muted); }
.world .layer-bar .measure { flex-basis: 100%; margin: 0; font-size: var(--fs-2); color: var(--ink); max-width: 46rem; }
.world .src-line { flex-basis: 100%; margin: 0; font-size: var(--fs-1); color: var(--muted); }
.world .src-l b { font-weight: 600; color: var(--muted); }
.world .src-l a, .world .c-src a { color: var(--coral-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 639px) { .world .layer-bar { padding: 12px 14px 0; } .world .layer-bar h2 { font-size: var(--fs-2); } .world .layer-bar .measure { font-size: var(--fs-1); }  }
.world .map-help { margin: 0; padding: 4px 18px 8px; font-size: var(--fs-1); color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.world .map-help[hidden] { display: none; }
.world .map { position: relative; margin: 6px 0 0; touch-action: pan-y; cursor: crosshair; }
.world .map:focus-visible { outline-offset: -3px; border-radius: 0; }
.world .map canvas { display: block; width: 100%; }
.world .map canvas + canvas { position: absolute; inset: 0; pointer-events: none; }
.world .zoom-label { position: absolute; right: 18px; top: 12px; margin: 0; font: 600 var(--fs-1)/1.2 var(--sans); letter-spacing: .01em; color: var(--muted); pointer-events: none; }
.world .legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; padding: 10px 18px 14px; list-style: none; font-size: var(--fs-1); color: var(--muted); border-top: 1px solid var(--line); }
.world .legend .lg-title { color: var(--ink); font-weight: 600; margin-right: 4px; }
.world .legend li { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.world .sw { width: 14px; height: 14px; border-radius: var(--r-img); flex: none; }
.world .sw-none { background: repeating-linear-gradient(135deg, var(--m-hatch) 0 1.5px, var(--m-none) 1.5px 5px); box-shadow: inset 0 0 0 1px var(--line-2); }
.world .lg-live { display: inline-flex; align-items: center; gap: 6px; }
.world .lg-ring { width: 12px; height: 12px; border-radius: var(--r-pill); border: 2px solid var(--coral); }
.world .lg-arc { width: 18px; height: 8px; border-top: 2px solid var(--coral); border-radius: var(--r-pill) var(--r-pill) 0 0; }

/* time row */
.world .time { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px 14px; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.world .play { width: 48px; height: 48px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: border-color .2s var(--ease); }
.world .play:hover { border-color: var(--coral); }
.world .play svg { width: 16px; height: 16px; }
.world .play .i-pause, .world .play[aria-pressed="true"] .i-play { display: none; }
.world .play[aria-pressed="true"] .i-pause { display: block; }
.world .play:disabled { opacity: .45; cursor: not-allowed; }
.world .year { margin: 0; font: 600 var(--fs-5)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; min-width: 4.4ch; }
.world .year small { display: block; font: 400 var(--fs-1)/1.3 var(--sans); color: var(--muted); letter-spacing: 0; }
.world .slider { display: grid; gap: 4px; min-width: 0; }
.world .slider input { width: 100%; height: 44px; margin: 0; accent-color: var(--coral); background: transparent; cursor: pointer; }
.world .ticks { display: flex; justify-content: space-between; margin: -6px 0 0; padding: 0 6px; list-style: none; font-size: var(--fs-1); color: var(--muted); font-variant-numeric: tabular-nums; }
.world .ticks li.off { opacity: .5; }

/* source line under the map */
.world .source { margin: 0; padding: 12px 18px 16px; border-top: 1px solid var(--line); font-size: var(--fs-1); color: var(--muted); display: grid; gap: 4px; }
.world .source a { color: var(--coral-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.world .source b { color: var(--ink); font-weight: 600; }
.world .source details summary, .world .c-more summary { cursor: pointer; color: var(--ink); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.world .source details p { margin: 4px 0 8px; max-width: 52rem; }

/* ---- country card ---- */
.world .wcard { position: absolute; z-index: 5; width: 300px; max-width: calc(100% - 24px); padding: 14px 16px 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); box-shadow: 0 10px 30px var(--shadow-c); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .16s var(--ease), transform .16s var(--ease); }
.world .wcard[data-open] { opacity: 1; transform: none; }
.world .wcard[data-pinned] { pointer-events: auto; }
.world .wcard::before { content: ""; position: absolute; left: 16px; top: -1px; width: 40px; height: 3px; background: var(--coral); border-radius: 0 0 var(--r-pill) var(--r-pill); }
.world .wcard h3 { margin: 0 34px 2px 0; font: 600 var(--fs-3)/1.2 var(--serif); }
.world .wcard .c-k { margin: 0 36px 0 0; font: 600 var(--fs-1)/1.2 var(--sans); letter-spacing: .01em; color: var(--muted); }
.world .wcard .c-num { margin: 10px 0 0; font: 600 var(--fs-5)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }
.world .wcard .c-num small { font: 400 var(--fs-2)/1.3 var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.world .wcard .c-chg { margin: 4px 0 0; font-size: var(--fs-1); color: var(--muted); }
.world .wcard .c-none { font-size: var(--fs-3); }
.world .wcard .c-k .pill { height: 20px; font-size: var(--fs-1); letter-spacing: 0; text-transform: none; vertical-align: 1px; }
.world .wcard .c-src { margin: 8px 0 0; font-size: var(--fs-1); color: var(--muted); }
.world .wcard .c-src .pill { height: 20px; font-size: var(--fs-1); }
.world .wcard .c-what { margin: 10px 0 0; font-size: var(--fs-2); }
.world .wcard .c-why { margin: 4px 0 0; font-size: var(--fs-2); color: var(--muted); }
.world .wcard .c-sec { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.world .wcard .c-h { margin: 0 0 4px; font: 600 var(--fs-1)/1.3 var(--sans); letter-spacing: .01em; color: var(--muted); }
.world .wcard .m { color: var(--muted); font-size: var(--fs-1); margin: 0; }
.world .wcard ol.c-orgs, .world .wcard ul.c-stories { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: var(--fs-1); }
.world .wcard ol.c-orgs li { display: flex; justify-content: space-between; gap: 10px; }
.world .wcard ol.c-orgs li .m { white-space: nowrap; font-variant-numeric: tabular-nums; }
.world .wcard ul.c-stories a { font-family: var(--serif); font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.world .wcard ul.c-stories .m { display: block; }
.world .wcard .c-more { margin-top: 6px; font-size: var(--fs-1); }
.world .wcard .c-more dl { margin-top: 4px; }
.world .wcard { overflow: auto; }
.world .wcard dl { margin: 12px 0 0; display: grid; gap: 10px; font-size: var(--fs-1); }
.world .wcard dt { font: 600 var(--fs-1)/1.2 var(--sans); letter-spacing: .01em; color: var(--muted); }
.world .wcard dd { margin: 3px 0 0; }
.world .wcard dd a { font-family: var(--serif); font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.world .wcard dd .m { color: var(--muted); font-size: var(--fs-1); }
.world .wcard .c-close { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); cursor: pointer; display: none; place-items: center; }
.world .wcard[data-pinned] .c-close { display: grid; }
.world .wcard .c-close:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 639px) {
  .world .wcard { position: static; width: auto; max-width: none; margin: 0 12px 12px; box-shadow: none; transform: none; display: none; }
  .world .wcard[data-open] { display: block; }
  .world .wcard[data-open]:not([data-pinned]) { display: none; }
}

/* ---- table view ---- */
.world .table-wrap { max-height: 520px; overflow: auto; border-top: 1px solid var(--line); }
.world .table-wrap[hidden] { display: none; }
.world table { width: 100%; border-collapse: collapse; font-size: var(--fs-2); }
.world caption { text-align: left; padding: 12px 18px; font-size: var(--fs-1); color: var(--muted); }
.world th, .world td { padding: 10px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.world thead th { position: sticky; top: 0; background: var(--surface); font: 600 var(--fs-1)/1.2 var(--sans); letter-spacing: .01em; color: var(--muted); }
.world td.num, .world th.num { text-align: right; font-variant-numeric: tabular-nums; }
.world tbody th { font-weight: 600; }
.world td .sw, .world th .sw { display: inline-block; vertical-align: -2px; margin-right: 8px; }
.world .t-tools { display: flex; justify-content: flex-end; padding: 10px 18px 0; }
.world .t-tools [hidden] { display: none; }
.world caption:focus-visible { outline-offset: -2px; }
.world .t-foot { color: var(--muted); font-size: var(--fs-1); }

/* ---- below the map ---- */
.world .below { display: grid; gap: 16px; padding-top: 20px; padding-bottom: 48px; }
@media (min-width: 900px) { .world .below { grid-template-columns: 1fr 1fr 1fr; }  }
.world .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; }
.world .panel h2 { margin: 6px 0 10px; font: 600 var(--fs-3)/1.25 var(--serif); }
.world .panel ul, .world .panel ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.world .panel li { padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-2); }
.world .panel li:first-child { border-top: 0; padding-top: 0; }
.world .panel .row-t { font: 600 var(--fs-2)/1.35 var(--serif); }
.world .panel a.row-t:hover { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.world .panel .meta { display: block; margin-top: 2px; font-size: var(--fs-1); color: var(--muted); }
.world .panel p { margin: 0 0 10px; font-size: var(--fs-2); color: var(--muted); }
.world .panel p:last-child { margin-bottom: 0; }
.world .ctry-btn { border: 0; background: none; padding: 0; min-height: 44px; display: inline-flex; align-items: center; font: 600 var(--fs-1)/1.3 var(--sans); color: var(--coral-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.world .panel ul.plain li { color: var(--muted); }
.world .below-2 { }
@media (min-width: 900px) { .world .below.below-2 { grid-template-columns: 2fr 1fr; }  }
.world .ch-nav { display: flex; justify-content: space-between; gap: 8px; padding: 0 18px 14px; }
.world .ch-nav:empty { display: none; }
.world .chip-next { background: var(--ink) !important; color: var(--bg); border-color: var(--ink) !important; }
.world .dot-live { display: inline-block; width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--coral); margin-right: 6px; vertical-align: 1px; }

/* ---- reduced motion: no transitions, no travel, no pulse growth (handled in world.js too) ---- */
@media (prefers-reduced-motion: reduce) {
  .world *, .world *::before, .world *::after { transition: none !important; animation: none !important; }
}

/* ---- history mode: "From Turing to today" ---- */
.world .hist-now { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 10px 18px 12px; border-top: 1px solid var(--line); }
.world .hist-now[hidden] { display: none; }
.world .hist-now p { margin: 0; }
.world .hist-now .hn-k { grid-column: 1; font-size: var(--fs-1); color: var(--muted); font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.world .hist-now .hn-t { grid-column: 1; font: 600 var(--fs-2)/1.3 var(--serif); }
.world .hist-now .hn-s { grid-column: 1; font-size: var(--fs-1); color: var(--muted); }
.world .hist-now .ctry-btn { grid-column: 2; grid-row: 1 / span 3; }
.world .hist-now .pill { height: 20px; font-size: var(--fs-1); }
.world .eras { display: flex; gap: 2px; margin: 0; padding: 10px 18px 0; list-style: none; border-top: 1px solid var(--line); }
.world .eras[hidden] { display: none; }
.world .eras li { flex-basis: 0; min-width: 0; }
.world .eras button { width: 100%; min-height: 44px; display: grid; align-content: center; gap: 1px; padding: 4px 6px; text-align: left; border: 0; border-top: 3px solid var(--line-2); border-radius: 0 0 var(--r-img) var(--r-img); background: var(--surface-2); color: var(--muted); cursor: pointer; transition: background .2s var(--ease); }
.world .eras button:hover { color: var(--ink); }
.world .eras button[aria-current] { border-top-color: var(--coral); background: var(--coral-soft); color: var(--ink); }
.world .eras .er-n { font: 600 var(--fs-1)/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.world .eras .er-y { font-size: var(--fs-1); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) and (max-width: 899px) { .world .eras .er-n { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.15; }  }
/* phones: the band becomes a stepper, two 44 px buttons around the current era */
.world .era-step { display: none; }
@media (max-width: 639px) {
  .world .eras, .world .eras:not([hidden]) { display: none; }
  .world .era-step:not([hidden]) { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; padding: 10px 14px 0; border-top: 1px solid var(--line); }
  .world .era-step .es-c { margin: 0; text-align: center; display: grid; gap: 1px; }
  .world .era-step .es-c b { font: 600 var(--fs-2)/1.2 var(--serif); }
  .world .era-step .es-c span { font-size: var(--fs-1); color: var(--muted); font-variant-numeric: tabular-nums; }
}
.world .time { grid-template-columns: auto auto 1fr auto; }
.world .time[hidden] { display: none; }
.world .skip-today[hidden] { display: none; }
@media (max-width: 639px) { .world .time { grid-template-columns: auto auto 1fr; } .world .skip-today { grid-column: 1 / -1; justify-self: start; }  }
.world .hist-list { max-height: 640px; }
.world .hl { padding: 6px 18px 18px; }
.world .hl-cap { margin: 8px 0 4px; font-size: var(--fs-1); color: var(--muted); }
.world .hl h3 { margin: 18px 0 4px; font: 600 var(--fs-3)/1.25 var(--serif); }
.world .hl h3 span { font: 400 var(--fs-1)/1 var(--sans); color: var(--muted); margin-left: 6px; }
.world .hl-note { margin: 0 0 6px; font-size: var(--fs-1); color: var(--muted); }
.world .hl ol { margin: 0; padding: 0; list-style: none; }
.world .hl li { padding: 12px 0; border-top: 1px solid var(--line); }
.world .hl li p { margin: 4px 0 0; font-size: var(--fs-2); }
.world .hl .hl-k { margin: 0; font-size: var(--fs-1); color: var(--muted); }
.world .hl .hl-k b { color: var(--ink); font-variant-numeric: tabular-nums; }
.world .hl .row-t { font: 600 var(--fs-2)/1.3 var(--serif); }
.world .hl .meta { font-size: var(--fs-1); color: var(--muted); }
.world .below[hidden] { display: none; }
@media (max-width: 639px) {
  .world .time { grid-template-columns: auto 1fr; }
  .world .time .slider { grid-column: 1 / -1; }
}
/* phones: the pinned card sits under the map; relative, so its Close button stays inside it */
@media (max-width: 639px) { .world .wcard { position: relative; left: auto !important; top: auto !important; max-height: none !important; } }

/* story thumbnails in the country card and the today list (David, 2026-10-29) */
.world li.has-thumb { display: grid; grid-template-columns: minmax(0, 1fr) 48px; column-gap: 12px; align-items: start; }
.world li.has-thumb > :not(.row-thumb) { grid-column: 1; }
.world li.has-thumb > .row-thumb { grid-column: 2; grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: var(--r-img); }
