/* Living Earth · Norselabs */
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #050608;
  --panel: rgba(20, 18, 16, 0.72);
  --panel-solid: #141210;
  --line: rgba(239, 232, 220, 0.09);
  --line-2: rgba(239, 232, 220, 0.16);
  --cream: #efe8dc;
  --muted: #9a9286;
  --steel: #7eb6d9;
  --gold: #d4a017;
  --orange: #e07a2f;
  --display: "Orbitron", "Audiowide", system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 14px;
  --blur: saturate(140%) blur(18px);
  --top-h: 60px;
  --panel-w: 352px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--cream); overflow: hidden; }
body { font: 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss01"; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; border-radius: 6px; }
::selection { background: #3c342b; color: #f6f0e6; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--panel-solid); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; color: var(--muted); }

/* Globe */
#globe { position: fixed; inset: 0; outline: none; cursor: grab; }
#globe:active { cursor: grabbing; }
.vignette { position: fixed; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%); }

/* Tooltip from globe.gl */
.float-tooltip-kap, .scene-tooltip { font: 12px/1.35 var(--sans) !important; color: var(--cream) !important;
  background: rgba(20,18,16,.92) !important; border: 1px solid var(--line-2); border-radius: 8px !important;
  padding: 6px 9px !important; box-shadow: 0 6px 24px rgba(0,0,0,.4); white-space: nowrap; }
.tip b { font-weight: 600; }
.tip span { color: var(--muted); }

/* Loader */
#loader { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 45%, #0d1117 0%, #050608 70%); transition: opacity .9s var(--ease), visibility .9s; }
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; padding: 24px; }
.loader-title { font: 600 clamp(26px, 4vw, 40px)/1 var(--display); letter-spacing: .22em; text-transform: uppercase; margin: 22px 0 10px; color: var(--cream); padding-left: .22em; }
.loader-sub { color: var(--muted); margin: 0 0 22px; font-size: 13px; letter-spacing: .04em; }
.loader-orbit { width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; border: 2px solid rgba(126,182,217,.55); position: relative;
  box-shadow: inset 0 0 22px rgba(126,182,217,.25), 0 0 40px rgba(126,182,217,.12); animation: spin 2.4s linear infinite; }
.loader-orbit span { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); top: -6px; left: 50%; margin-left: -5px; box-shadow: 0 0 14px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-list { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 6px; font-size: 12px; color: var(--muted); min-width: 240px; text-align: left; }
.loader-list li { display: flex; justify-content: space-between; gap: 24px; }
.loader-list li em { font-style: normal; color: var(--muted); }
.loader-list li.ok em { color: var(--steel); }
.loader-list li.fail em { color: #b9a58a; }

/* Top bar */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: var(--top-h); z-index: 30; display: flex; align-items: center; gap: 14px;
  padding: 0 18px; padding-top: env(safe-area-inset-top); pointer-events: none;
  background: linear-gradient(to bottom, rgba(5,6,8,.78), rgba(5,6,8,0)); }
.topbar > * { pointer-events: auto; }
.brand { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.brand-title { font: 600 19px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--cream); text-shadow: 0 0 24px rgba(126,182,217,.35); }
.brand-sub { color: var(--muted); font-size: 12.5px; letter-spacing: .04em; white-space: nowrap; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.clock { white-space: nowrap; font: 500 13px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--cream); letter-spacing: .04em;
  padding: 8px 11px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.mode-chip { display: inline-flex; align-items: center; gap: 7px; font: 600 10.5px/1 var(--display); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); padding: 8px 10px 8px 9px; border-radius: 999px; background: rgba(212,160,23,.08); border: 1px solid rgba(212,160,23,.28); }
.mode-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212,160,23,.6); animation: beat 2s infinite; }
.mode-chip.replay { color: var(--steel); background: rgba(126,182,217,.08); border-color: rgba(126,182,217,.3); }
.mode-chip.replay i { background: var(--steel); animation: none; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(212,160,23,.55); } 70% { box-shadow: 0 0 0 7px rgba(212,160,23,0); } 100% { box-shadow: 0 0 0 0 rgba(212,160,23,0); } }

.icon-btn { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--line-2); background: rgba(34,31,27,.85); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; }

/* Panel */
.panel { position: fixed; z-index: 25; top: calc(var(--top-h) + 6px); left: 14px; bottom: 14px; width: var(--panel-w);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: translateX(calc(-100% - 24px)); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .4s var(--ease), visibility .5s; display: flex; flex-direction: column; overflow: hidden; }
.panel.open { transform: none; opacity: 1; visibility: visible; }
.panel-grab { display: none; }
.panel-scroll { overflow-y: auto; padding: 16px 16px 14px; scrollbar-width: thin; scrollbar-color: #3a352f transparent; overscroll-behavior: contain; }
.kicker { font: 600 10px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.summary { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.stat b { display: block; font: 600 22px/1.1 var(--display); color: var(--cream); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.stat b.gold { color: var(--gold); }
.stat span { color: var(--muted); font-size: 11.5px; }

.layer { border-bottom: 1px solid var(--line); padding: 11px 0; }
.layer:last-child { border-bottom: 0; }
.layer-head { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; }
.layer-name { display: flex; align-items: center; gap: 9px; min-width: 0; cursor: pointer; }
.layer-name .sw { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.layer-name strong { font-weight: 560; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.count { font: 600 12px/1 var(--display); color: var(--cream); background: rgba(239,232,220,.06); border: 1px solid var(--line); padding: 5px 7px; border-radius: 7px; font-variant-numeric: tabular-nums; min-width: 30px; text-align: center; }
.layer.off .count, .layer.off .layer-name { opacity: .45; }
.chev { width: 26px; height: 26px; border: 0; background: transparent; border-radius: 7px; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.chev:hover { background: rgba(239,232,220,.06); color: var(--cream); }
.chev svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.layer.expanded .chev svg { transform: rotate(180deg); }
.layer-meta { margin: 6px 0 0 46px; font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.layer-meta .err { font-style: italic; color: #b9a58a; }
.layer-meta button.retry { background: none; border: 0; padding: 0; color: var(--orange); cursor: pointer; font-size: 11.5px; }
.layer-meta .unit { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.layer-meta .unit button { border: 0; background: transparent; color: var(--muted); padding: 2px 7px; font-size: 11px; cursor: pointer; }
.layer-meta .unit button[aria-pressed="true"] { background: rgba(126,182,217,.18); color: var(--cream); }

/* Toggle switch */
.switch { position: relative; width: 36px; height: 20px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #2a2622; border: 1px solid var(--line-2); transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--ease), background .25s; }
.switch input:checked + span { background: rgba(126,182,217,.28); border-color: rgba(126,182,217,.5); }
.switch input:checked + span::after { transform: translateX(16px); background: var(--steel); }
.switch input:focus-visible + span { outline: 2px solid var(--steel); outline-offset: 2px; }

.list { list-style: none; margin: 8px 0 2px 0; padding: 0; display: none; }
.layer.expanded .list { display: block; }
.list li button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; text-align: left;
  border: 0; background: transparent; padding: 6px 6px; border-radius: 9px; cursor: pointer; }
.list li button:hover, .list li button:focus-visible { background: rgba(239,232,220,.055); }
.list .badge { width: 34px; height: 26px; border-radius: 7px; display: grid; place-items: center; font: 600 11px/1 var(--display); color: #141210; background: var(--c); }
.list .badge.ring { background: transparent; border: 1.5px solid var(--c); color: var(--c); }
.list .badge svg { width: 13px; height: 13px; fill: var(--c); }
.list .badge img { width: 34px; height: 26px; object-fit: cover; border-radius: 7px; display: block; }
.list .t { min-width: 0; }
.list .t b { display: block; font-weight: 500; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list .t i { display: block; font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list .go { color: var(--muted); font-size: 11px; }
.list li.more { font-size: 11px; color: var(--muted); padding: 4px 6px 0; }
.legend { display: none; margin: 8px 0 2px 46px; }
.layer.expanded .legend { display: block; }
.legend .bar { height: 6px; border-radius: 3px; }
.legend .lbl { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-top: 4px; }

.help { padding: 14px 0 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.help p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 2; }
kbd { font: 500 10.5px/1 var(--mono); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; padding: 2px 5px; margin: 0 1px; color: var(--cream); background: rgba(239,232,220,.04); }
.credits { padding-top: 10px; color: var(--muted); font-size: 11px; }
.credits p { margin: 6px 0; }

/* Detail card */
.card { position: fixed; z-index: 28; top: calc(var(--top-h) + 6px); right: 14px; width: 368px; max-height: calc(100% - var(--top-h) - 140px);
  overflow: auto; background: rgba(20,18,16,.84); border: 1px solid var(--line-2); border-radius: var(--r); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 30px 70px rgba(0,0,0,.5); animation: cardIn .45s var(--ease); scrollbar-width: thin; scrollbar-color: #3a352f transparent; }
.card[hidden] { display: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.card-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 9px; }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: #0d0c0b; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; animation: fade .6s; }
.card-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 14px 8px; font-size: 10.5px; color: rgba(239,232,220,.8);
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent); }
@keyframes fade { from { opacity: 0; } }
.card-inner { padding: 18px 20px 18px; }
.card .kicker { display: flex; align-items: center; gap: 8px; color: var(--c, var(--steel)); margin-bottom: 12px; padding-right: 36px; }
.card .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--steel)); box-shadow: 0 0 10px var(--c, var(--steel)); }
.card h2 { font: 600 23px/1.2 var(--serif); margin: 0 0 4px; color: var(--cream); letter-spacing: .005em; padding-right: 30px; }
.card .sci { font: italic 15px/1.3 var(--serif); color: var(--muted); margin: 0 0 6px; }
.card .big { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 10px; }
.card .big b { font: 600 38px/1 var(--display); color: var(--gold); letter-spacing: .01em; }
.card .big span { color: var(--muted); font-size: 12px; }
.card dl { display: grid; grid-template-columns: 104px 1fr; gap: 7px 12px; margin: 14px 0 0; font-size: 13px; }
.card dt { color: var(--muted); }
.card dd { margin: 0; color: var(--cream); font-variant-numeric: tabular-nums; }
.card dd small { color: var(--muted); }
.card .desc { color: #cfc7ba; font-size: 13px; margin: 12px 0 0; }
.card .links { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.card .links a::after { content: " →"; }
.card .note { margin-top: 10px; font-size: 11.5px; color: var(--muted); }

/* Timeline */
.timeline { position: fixed; z-index: 24; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(820px, calc(100% - 2 * var(--panel-w) - 80px));
  min-width: 520px; display: flex; align-items: center; gap: 14px; padding: 12px 14px 10px 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 20px 50px rgba(0,0,0,.4);
  transition: left .5s var(--ease); }
body.panel-open .timeline { left: calc(50% + (var(--panel-w) + 14px) / 2); }
.play { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid rgba(212,160,23,.5); background: rgba(212,160,23,.12); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.play:hover { background: rgba(212,160,23,.22); }
.play:active { transform: scale(.96); }
.play svg { width: 18px; height: 18px; fill: var(--gold); }
.play .i-pause { display: none; }
.timeline.playing .play .i-play { display: none; }
.timeline.playing .play .i-pause { display: block; }
.tl-main { flex: 1; min-width: 0; }
.tl-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.tl-time { font: 600 13px/1 var(--display); letter-spacing: .06em; color: var(--cream); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tl-note { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-track { position: relative; height: 30px; }
.tl-hist { position: absolute; left: 8px; right: 8px; bottom: 11px; height: 18px; display: flex; align-items: flex-end; gap: 2px; pointer-events: none; }
.tl-hist i { flex: 1; background: rgba(126,182,217,.32); border-radius: 2px 2px 0 0; min-height: 1px; transition: background .2s; }
.tl-hist i.hot { background: rgba(212,160,23,.7); }
.tl-hist i.future { opacity: .25; }
input[type=range] { -webkit-appearance: none; appearance: none; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, rgba(126,182,217,.75) var(--p, 100%), rgba(239,232,220,.14) var(--p, 100%)); }
input[type=range]::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(239,232,220,.14); }
input[type=range]::-moz-range-progress { height: 3px; border-radius: 2px; background: rgba(126,182,217,.75); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6.5px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); box-shadow: 0 0 12px rgba(212,160,23,.6); }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); box-shadow: 0 0 12px rgba(212,160,23,.6); }
.tl-ticks { position: relative; height: 14px; margin: 2px 8px 0; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.tl-ticks span:first-child { transform: none; }
.tl-ticks span:last-child { transform: translateX(-100%); }
.live-btn { flex: none; font: 600 10.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; padding: 10px 12px; border-radius: 999px; cursor: pointer;
  color: var(--gold); background: transparent; border: 1px solid rgba(212,160,23,.4); transition: opacity .2s, background .2s; }
.live-btn:hover:not(:disabled) { background: rgba(212,160,23,.12); }
.live-btn:disabled { opacity: .35; cursor: default; }

/* Wordmark */
.wordmark { position: fixed; z-index: 20; right: 18px; bottom: 20px; opacity: .78; transition: opacity .2s; }
.wordmark:hover { opacity: 1; }
.wordmark img { display: block; width: 112px; height: auto; mix-blend-mode: screen; }

/* Globe markers (HTML layer) */
.mk { position: relative; pointer-events: auto; cursor: pointer; border: 0; padding: 0; background: none; transform: translate(-50%, -50%); opacity: var(--fade, 1); }
/* --fade (0…1) is set every frame from the marker's position relative to the globe's horizon (fadeMarkers in app.js).
   Hidden markers must stay hidden whatever other marker rules set, hence !important. */
.mk.hidden { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.mk-ev { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(14,12,11,.78); border: 1.5px solid var(--c); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 60%, transparent); }
.mk-ev svg { width: 12px; height: 12px; fill: var(--c); }
.mk-ev.sm { width: 15px; height: 15px; border-width: 1px; background: rgba(14,12,11,.6); box-shadow: 0 0 8px color-mix(in srgb, var(--c) 45%, transparent); }
.mk-ev.sm svg { width: 9px; height: 9px; }
body.near .mk-ev.sm { width: 20px; height: 20px; }
body.near .mk-ev.sm svg { width: 11px; height: 11px; }
.mk-ev:hover, .mk.sel { transform: translate(-50%, -50%) scale(1.25); z-index: 5; }
.mk-iss { width: 0; height: 0; }
.mk-iss .core { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff6dc; border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(212,160,23,.18), 0 0 22px rgba(212,160,23,.9); }
.mk-iss .core::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(212,160,23,.55); animation: ping 2.2s var(--ease) infinite; }
.mk-iss .lbl { position: absolute; left: 12px; top: -20px; font: 600 10px/1 var(--display); letter-spacing: .16em; color: var(--gold); white-space: nowrap; text-shadow: 0 1px 6px #000; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.mk-sun { width: 30px; height: 30px; }
.mk-sun svg { width: 30px; height: 30px; overflow: visible; }
.mk-sun .lbl { position: absolute; left: 22px; top: -12px; font: 600 9.5px/1 var(--display); letter-spacing: .14em; color: #ffd76a; white-space: nowrap; text-shadow: 0 1px 6px #000; opacity: .9; }
/* Outbreak markers: virus glyph with a soft halo sized by how recent the newest report is */
.mk-ob { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: rgba(14,12,11,.8); border: 1.4px solid color-mix(in srgb, var(--c) 75%, transparent); color: var(--c); }
.mk-ob::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(21px + 2 * var(--h, 6px)); height: calc(21px + 2 * var(--h, 6px)); transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) calc(var(--ha, .3) * 100%), transparent) 0%, color-mix(in srgb, var(--c) calc(var(--ha, .3) * 40%), transparent) 45%, transparent 70%); z-index: -1; }
.mk-ob svg { width: 13px; height: 13px; fill: var(--c); position: relative; }
.mk-ob .n { position: absolute; right: -6px; top: -6px; min-width: 13px; height: 13px; padding: 0 3px; border-radius: 7px; background: rgba(20,12,15,.92); border: 1px solid color-mix(in srgb, var(--c) 70%, transparent); color: var(--cream); font: 600 7.5px/11px var(--display); text-align: center; letter-spacing: 0; }
.mk-ob:hover { transform: translate(-50%, -50%) scale(1.25); z-index: 5; }
.mk-ob.sm { width: 14px; height: 14px; border-width: 1px; background: rgba(14,12,11,.62); opacity: calc(var(--fade, 1) * .78); }
.mk-ob.sm svg { width: 9px; height: 9px; }
.mk-ob.sm::before { width: calc(14px + 2 * var(--h, 3px)); height: calc(14px + 2 * var(--h, 3px)); }
body.near .mk-ob.sm { width: 18px; height: 18px; opacity: calc(var(--fade, 1) * .9); }
body.near .mk-ob.sm svg { width: 11px; height: 11px; }
.mk-ob.sel { opacity: var(--fade, 1); }
.stat b.ob { color: #d1477a; }
.list .badge svg { color: var(--c); }
.list li.has-link { position: relative; }
.list li.has-link .go { visibility: hidden; }
.list li .src { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: var(--muted); font-size: 11px; text-decoration: none; }
.list li .src:hover, .list li .src:focus-visible { color: var(--cream); background: rgba(239,232,220,.08); }
.card .also { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.card .also .note { margin: 4px 0 0; }
.card .also .kicker { color: var(--muted); padding-right: 0; margin-bottom: 8px; }
.card .also .kicker::before { display: none; }
.card .also button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 6px 8px; margin: 0 -8px; width: calc(100% + 16px); border-radius: 8px; cursor: pointer; color: var(--cream); }
.card .also button:hover, .card .also button:focus-visible { background: rgba(239,232,220,.055); }
.card .also b { display: block; font-weight: 500; font-size: 12.5px; }
.card .also i { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.mk-wx { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px 3px 5px; border-radius: 999px; font: 600 11px/1 var(--sans); color: #141210; background: var(--c); box-shadow: 0 2px 10px rgba(0,0,0,.45); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk-wx em { font-style: normal; font-weight: 500; opacity: .75; font-size: 10px; display: none; }
body.near .mk-wx em { display: inline; }
.mk-wx svg { width: 11px; height: 11px; fill: none; stroke: #141210; stroke-width: 2; }

/* Responsive */
@media (max-width: 1180px) {
  .timeline { width: calc(100% - var(--panel-w) - 60px); min-width: 0; }
  body.panel-open .timeline { left: calc(50% + (var(--panel-w) + 14px) / 2); }
  .wordmark { display: none; }
}
@media (max-width: 760px) {
  :root { --top-h: 54px; }
  .topbar { padding: 0 12px; gap: 10px; }
  .brand-sub { display: none; }
  .brand-title { font-size: 15px; letter-spacing: .16em; }
  .clock { font-size: 12px; padding: 7px 9px; }
  .mode-chip { display: none; }
  .clock-day { display: none; }
  .mk-ev { width: 19px; height: 19px; }
  .mk-ev svg { width: 10px; height: 10px; }
  .mk-ev.sm { width: 13px; height: 13px; }
  .mk-ev.sm svg { width: 8px; height: 8px; }
  .mk-ob { width: 19px; height: 19px; }
  .mk-ob svg { width: 12px; height: 12px; }
  .panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 64vh; border-radius: 20px 20px 0 0; border-bottom: 0;
    transform: translateY(105%); padding-bottom: env(safe-area-inset-bottom); background: rgba(20,18,16,.9); }
  .panel.open { transform: none; }
  .panel-grab { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 8px auto 0; flex: none; }
  .panel-scroll { padding-top: 10px; }
  .timeline, body.panel-open .timeline { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); transform: none; width: auto; min-width: 0; padding: 10px 10px 8px; gap: 10px; border-radius: 16px; }
  .tl-note { display: none; }
  .play { width: 40px; height: 40px; }
  .live-btn { padding: 9px 9px; }
  .card { top: auto; left: 8px; right: 8px; bottom: calc(110px + env(safe-area-inset-bottom)); width: auto; max-height: 58vh; border-radius: 18px; z-index: 31; }
  .card-photo { aspect-ratio: 16 / 9; }
  .card h2 { font-size: 20px; }
  .card .big b { font-size: 32px; }
  .wordmark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
