/* Page layout on top of glass.css (brand tokens + components live there). */
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent-ink); }

.app-shell > header,
.offline-banner,
main { width: 100%; max-width: 640px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.app-shell > header { margin-top: var(--sp-2); }

main {
  display: flex; flex-direction: column; gap: var(--sp-5);
  padding: var(--sp-5) 0 var(--sp-6);
  outline: none;
}
body.no-tabbar .glass-tabbar,
body.no-tabbar #topbar { display: none; }
.login-hero { align-items: center; text-align: center; padding-top: var(--sp-8); gap: var(--sp-2); }
.login-hero .logo { width: 128px; height: 128px; }
body.no-tabbar .app-shell { padding-bottom: calc(var(--sp-6) + env(safe-area-inset-bottom)); }

/* ---------- Orange-forward brand backdrop (overrides glass.css --bg-image) ---------- */
:root, [data-theme="light"] {
  --bg-image:
    radial-gradient(60% 40% at 8% 2%, rgba(0, 152, 219, .55) 0%, transparent 70%),
    radial-gradient(60% 42% at 100% 20%, rgba(233, 131, 0, .55) 0%, transparent 70%),
    radial-gradient(70% 45% at 0% 100%, rgba(0, 152, 219, .40) 0%, transparent 70%),
    radial-gradient(55% 35% at 100% 96%, rgba(233, 131, 0, .40) 0%, transparent 70%),
    linear-gradient(180deg, #F6F9FE 0%, #DDE9F7 100%);
}
[data-theme="dark"] {
  --bg-image:
    radial-gradient(60% 40% at 12% 4%, rgba(0, 152, 219, .72) 0%, transparent 70%),
    radial-gradient(60% 42% at 96% 24%, rgba(233, 131, 0, .64) 0%, transparent 70%),
    radial-gradient(70% 50% at 18% 98%, rgba(0, 152, 219, .45) 0%, transparent 70%),
    radial-gradient(55% 36% at 100% 96%, rgba(233, 131, 0, .34) 0%, transparent 70%),
    linear-gradient(170deg, #0F377F 0%, #0A2557 55%, #07173D 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-image:
      radial-gradient(60% 40% at 12% 4%, rgba(0, 152, 219, .72) 0%, transparent 70%),
      radial-gradient(60% 42% at 96% 24%, rgba(233, 131, 0, .64) 0%, transparent 70%),
      radial-gradient(70% 50% at 18% 98%, rgba(0, 152, 219, .45) 0%, transparent 70%),
      radial-gradient(55% 36% at 100% 96%, rgba(233, 131, 0, .34) 0%, transparent 70%),
      linear-gradient(170deg, #0F377F 0%, #0A2557 55%, #07173D 100%);
  }
}
/* Two drifting glow layers on top of --bg-image (light: lime + orange, dark: blue + orange).
   Layers are oversized so their edges never show while they move. */
:root, [data-theme="light"] {
  --drift-a: radial-gradient(32% 24% at 30% 50%, rgba(190, 200, 0, .45) 0%, transparent 70%);
  --drift-b: radial-gradient(30% 22% at 66% 40%, rgba(233, 131, 0, .30) 0%, transparent 70%);
}
[data-theme="dark"] {
  --drift-a: radial-gradient(32% 24% at 30% 50%, rgba(0, 152, 219, .35) 0%, transparent 70%);
  --drift-b: radial-gradient(30% 22% at 66% 40%, rgba(233, 131, 0, .22) 0%, transparent 70%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --drift-a: radial-gradient(32% 24% at 30% 50%, rgba(0, 152, 219, .35) 0%, transparent 70%);
    --drift-b: radial-gradient(30% 22% at 66% 40%, rgba(233, 131, 0, .22) 0%, transparent 70%);
  }
}
.vwi-backdrop { overflow: hidden; }
.vwi-backdrop::before,
.vwi-backdrop::after { content: ""; position: absolute; inset: -25%; will-change: transform; }
.vwi-backdrop::before { background: var(--drift-a); animation: drift-a 34s ease-in-out infinite alternate; }
.vwi-backdrop::after { background: var(--drift-b); animation: drift-b 46s ease-in-out infinite alternate; }
@keyframes drift-a {
  from { transform: translate3d(-8%, -6%, 0) scale(1); }
  to   { transform: translate3d(10%, 12%, 0) scale(1.18); }
}
@keyframes drift-b {
  from { transform: translate3d(8%, 10%, 0) scale(1.1); }
  to   { transform: translate3d(-12%, -8%, 0) scale(.95); }
}
@media (prefers-reduced-motion: reduce) {
  .vwi-backdrop::before, .vwi-backdrop::after { animation: none; }
}

/* glass.css' system-dark block outranks [data-accent="orange"] for the primary button; restore it. */
:root[data-accent="orange"] { --btn-primary-bg: rgba(233, 131, 0, .92); --btn-primary-fg: #07173D; }

/* Tab bar: nearly opaque, brand colors only (white / dark blue base, orange for the selected tab). */
:root, [data-theme="light"] { --tabbar-fill: rgba(255, 255, 255, .92); --tabbar-ink: var(--vwi-dark-blue); }
[data-theme="dark"] { --tabbar-fill: rgba(15, 55, 127, .94); --tabbar-ink: #FFFFFF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --tabbar-fill: rgba(15, 55, 127, .94); --tabbar-ink: #FFFFFF; }
}
.glass.glass-tabbar { background-color: var(--tabbar-fill); }

/* All other glass: more transparent, stronger blur. #tabbar is excluded and uses --tabbar-fill. */
:root, [data-theme="light"] {
  --glass-fill: rgba(255, 255, 255, .30);
  --glass-fill-clear: rgba(255, 255, 255, .16);
  --glass-fill-strong: rgba(255, 255, 255, .58);
}
[data-theme="dark"] {
  --glass-fill: rgba(255, 255, 255, .09);
  --glass-fill-clear: rgba(255, 255, 255, .05);
  --glass-fill-strong: rgba(15, 55, 127, .42);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --glass-fill: rgba(255, 255, 255, .09);
    --glass-fill-clear: rgba(255, 255, 255, .05);
    --glass-fill-strong: rgba(15, 55, 127, .42);
  }
}
.glass:not(#tabbar) { --glass-blur: 28px; --glass-saturate: 200%; }
/* Without blur, translucent fills hurt legibility: fall back to the near-opaque tab bar fill. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass:not(#tabbar) { background-color: var(--tabbar-fill); }
}
.glass-tabbar a { color: var(--tabbar-ink); }
/* Selected tab: one orange pill that slides between tabs (--tab-index/--tab-count set by router.js). */
.glass-tabbar a { position: relative; z-index: 1; transition: color .25s ease; }
.glass-tabbar a[aria-current="page"] { background: transparent; color: var(--vwi-night); box-shadow: none; }
.tab-pill {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: var(--sp-2);
  width: calc((100% - 2 * var(--sp-2)) / var(--tab-count, 5));
  border-radius: var(--r-pill); background: var(--vwi-orange); pointer-events: none;
  transform: translateX(calc(var(--tab-index, 0) * 100%));
  transition: transform .45s var(--ease-ios), opacity .2s ease;
}
.glass-tabbar:not([data-active]) .tab-pill { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .tab-pill, .glass-tabbar a { transition: none; }
}

/* ---------- Calm glass: soft shadow only; no sheen, inner edges or diagonal gradient ---------- */
:root, [data-theme="light"] { --glass-shadow: 0 2px 8px rgba(15, 55, 127, .08); --glass-edge-top: transparent; --glass-edge-bottom: transparent; --glass-sheen: transparent; }
[data-theme="dark"] { --glass-shadow: 0 2px 10px rgba(0, 0, 0, .25); --glass-edge-top: transparent; --glass-edge-bottom: transparent; --glass-sheen: transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --glass-shadow: 0 2px 10px rgba(0, 0, 0, .25); --glass-edge-top: transparent; --glass-edge-bottom: transparent; --glass-sheen: transparent; }
}
.glass { background-image: none; border-color: var(--glass-hairline); }
.glass-segmented button[aria-pressed="true"] { box-shadow: none; }
.glass-switch span::after { box-shadow: 0 0 0 .5px rgba(7, 23, 61, .2); }

/* ---------- Top bar (static, no glass behind the logo) ---------- */
.topbar { display: flex; align-items: center; gap: var(--sp-3); min-height: 56px; }
.topbar__title {
  flex: 1; min-width: 0;
  font: 700 var(--fs-headline)/1.2 var(--font-heading);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-back { flex: none; color: var(--accent-ink); }
.brand { display: block; flex: none; margin-left: auto; border-radius: var(--r-s); }
.logo { display: block; width: 56px; height: 56px; }
.logo--negative { display: none; }
[data-theme="dark"] .logo--positive { display: none; }
[data-theme="dark"] .logo--negative { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo--positive { display: none; }
  :root:not([data-theme="light"]) .logo--negative { display: block; }
}

.offline-banner {
  margin-top: var(--sp-2); padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill); background: var(--vwi-dark-blue); color: #fff;
  font-size: var(--fs-footnote); text-align: center;
}

/* ---------- Generic ---------- */
.section { display: flex; flex-direction: column; gap: var(--sp-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }
.section-title { font: 700 var(--fs-title3)/1.3 var(--font-heading); }
.section-head a { font-size: var(--fs-sub); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }
.page-head { display: flex; flex-direction: column; gap: var(--sp-1); }
.page-head h1 { outline: none; }
.meta { display: inline-flex; align-items: center; gap: 6px; }
.meta .ic { width: 16px; height: 16px; }
.prose { font: 400 var(--fs-body)/1.5 var(--font-body); white-space: pre-line; }
.state { padding: var(--sp-8) 0; text-align: center; color: var(--glass-text-secondary); }
.demo-note { text-align: center; }
.grow { flex: 1; min-width: 0; }

.badge-highlight {
  align-self: flex-start;
  padding: 6px 10px; border-radius: var(--r-pill);
  background: var(--vwi-orange); color: var(--vwi-night);
  font: 700 var(--fs-caption)/1 var(--font-heading); letter-spacing: .04em; text-transform: uppercase;
}
.chip-now {
  padding: 4px 8px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--vwi-night);
  font: 700 var(--fs-caption)/1 var(--font-body);
}
.eyebrow {
  font: 700 var(--fs-caption)/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink);
}
.chip-soft {
  display: inline-flex; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--pill-selected); font-size: var(--fs-caption); color: var(--glass-text);
}

/* ---------- Home ---------- */
main:has(> .hero) { padding-top: 0; }   /* home: greeting sits right under the top bar */
.hero { display: flex; flex-direction: column; gap: var(--sp-1); padding: 0 var(--sp-1); }
.hero .t-large-title { outline: none; }
.hero-name { color: var(--accent-ink); }
.next { color: inherit; text-decoration: none; gap: var(--sp-3); padding: var(--sp-5); }
.next-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.next-when { font: 700 var(--fs-sub)/1 var(--font-body); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.next-progress { display: block; height: 6px; border-radius: var(--r-pill); background: var(--pill-selected); overflow: hidden; }
.next-progress span { display: block; height: 100%; border-radius: inherit; background: var(--vwi-orange); transition: width .6s var(--ease-ios); }
.next .t-sub { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.tiles > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* odd tile out spans the row */
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: var(--sp-3) var(--sp-4);
  color: var(--glass-text); text-decoration: none;
  font: 700 var(--fs-headline)/1.2 var(--font-heading);
}
/* Home tiles and cards use the same frosted glass as the agenda list. Tiles add a press response
   (scale + glow at the touch point, driven by .is-pressed and --px/--py from home.js). */
:root, [data-theme="light"] { --lg-press: rgba(255, 255, 255, .45); }
[data-theme="dark"] { --lg-press: rgba(255, 255, 255, .22); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --lg-press: rgba(255, 255, 255, .22); }
}
.glass.tile:not(#tabbar) { transition: transform .45s var(--ease-ios); -webkit-user-select: none; user-select: none; }
.glass.tile:not(#tabbar)::after {           /* press glow at the touch point */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--px, 50%) var(--py, 50%), var(--lg-press) 0%, transparent 65%);
  opacity: 0; transition: opacity .35s ease;
}
.glass.tile.is-pressed { transform: scale(1.04); }
.glass.tile.is-pressed::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .glass.tile:not(#tabbar) { transition: none; }
  .glass.tile.is-pressed { transform: none; }
}
.tile .ic { width: 28px; height: 28px; color: var(--accent-ink); }
.tile small { margin-left: 6px; font: 400 var(--fs-caption)/1.2 var(--font-body); color: var(--glass-text-secondary); }

.sponsor-logo { width: 48px; height: 48px; object-fit: contain; flex: none; }
.sponsor-logo--l { width: 96px; height: 96px; }

/* ---------- Lists ---------- */
a.glass-list__row { color: inherit; text-decoration: none; }
.row-text { display: flex; flex-direction: column; gap: 2px; padding: var(--sp-3) 0; min-width: 0; }
.row-text strong { font-weight: 600; }
.row-text .t-footnote { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
.row-time { width: 48px; flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.chev { width: 20px; height: 20px; color: var(--glass-text-secondary); }
.is-past { opacity: .55; }
.list-letter { padding: var(--sp-2) var(--sp-4) 0; font: 700 var(--fs-footnote)/1 var(--font-heading); color: var(--glass-text-secondary); }

.avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pill-selected); border: 1px solid var(--glass-hairline); box-sizing: border-box;
  color: var(--glass-text); font: 700 15px/1 var(--font-heading);   /* tint, not glass: avatars sit inside glass lists */
}
.avatar--l { width: 88px; height: 88px; font-size: 32px; }

.row-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 0 var(--sp-3); border-radius: var(--r-pill);
  background: var(--pill-selected); color: var(--accent-ink); text-decoration: none;
  font: 600 var(--fs-footnote)/1 var(--font-body);
}
.row-action .ic { width: 18px; height: 18px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); text-decoration: none; font-weight: 600; }
.link-btn .ic { width: 18px; height: 18px; }
button.link-btn { background: none; border: 0; padding: 0; color: var(--accent-ink); align-self: center; }
/* <a>/<label> buttons default to content-box; width: 100% plus padding overflows the screen. */
.glass-btn--block { box-sizing: border-box; }

/* ---------- Profile ---------- */
.profile-head { align-items: center; text-align: center; gap: var(--sp-2); padding: var(--sp-6) var(--sp-4); }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }
img.avatar { object-fit: cover; background: var(--pill-selected); }
.bio { max-width: 40ch; }
button.row-action { border: 0; cursor: pointer; }
.upload-card { align-items: flex-start; }
.upload-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.upload-actions label.glass-btn { cursor: pointer; }
.upload-actions label.glass-btn:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 60%, transparent); }
.image-field { display: flex; flex-direction: column; gap: var(--sp-2); }

/* ---------- Ratings ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--accent-ink); flex: none; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.star-picker { display: flex; gap: var(--sp-1); }
.star-btn {
  width: var(--tap); height: var(--tap); display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--accent-ink); cursor: pointer;
}
.star-btn .ic { width: 32px; height: 32px; }
.star-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.rating-head { display: flex; align-items: center; gap: var(--sp-2); }

/* ---------- Voting ---------- */
.choices { margin: 0; border: 0; min-inline-size: 0; }
.choice { cursor: pointer; }
.choice input { width: 22px; height: 22px; margin: 0; accent-color: var(--vwi-orange); flex: none; }
.results { gap: var(--sp-3); }
.result-label { display: flex; justify-content: space-between; gap: var(--sp-2); }
.result-bar { height: 10px; border-radius: var(--r-pill); background: var(--pill-selected); overflow: hidden; }
.result-bar span { display: block; height: 100%; border-radius: inherit; background: var(--vwi-orange); }
.voter { gap: var(--sp-2); }
.voter-head { display: flex; align-items: center; gap: var(--sp-3); }
.voter-delegate { display: flex; flex-direction: column; align-items: center; gap: 4px; }
/* Plain field inside a glass card (no glass inside glass). */
.voter-group {
  min-height: var(--tap); padding: 0 var(--sp-4); border-radius: var(--r-pill);
  border: 1px solid var(--glass-hairline); background: var(--pill-selected); outline: 0;
  font: 400 var(--fs-body)/1 var(--font-body);
}
.voter-group:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 60%, transparent); }
.voter-msg:empty { display: none; }

/* ---------- Patches ---------- */
/* Fixed-width columns packed from the left, so patches sit close together at any screen width. */
.patch-grid { display: grid; grid-template-columns: repeat(auto-fill, 72px); justify-content: start; gap: var(--sp-3) var(--sp-2); padding: var(--sp-3); }
.patch-manage { align-self: flex-start; }
.patch-manage .ic { width: 20px; height: 20px; }
.patch { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; text-align: center; color: inherit; text-decoration: none; }
.patch-name { font: 600 var(--fs-caption)/1.2 var(--font-body); overflow-wrap: anywhere; }
.patch-art { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; }
.patch-art--s { width: 40px; height: 40px; }
.patch-art--l { width: 144px; height: 144px; }
.patch-art--empty { display: grid; place-items: center; background: var(--vwi-dark-blue); color: var(--vwi-orange); }
.patch-art--empty .ic { width: 55%; height: 55%; }
.patch.is-locked .patch-art { filter: grayscale(1); opacity: .45; }
.patch.is-locked .patch-name { color: var(--glass-text-secondary); }
.unlocked { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); font: 700 var(--fs-title3)/1.3 var(--font-heading); color: var(--accent-ink); }
.unlocked .ic { width: 28px; height: 28px; }
.qr-card { align-items: center; text-align: center; }
.qr { width: min(240px, 100%); aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: #fff; }
.qr svg { display: block; width: 100%; height: 100%; }
.qr-link { overflow-wrap: anywhere; }
.grant-list { max-height: 360px; overflow-y: auto; }
@media (prefers-reduced-motion: no-preference) {
  .unlocked { animation: unlock-pop .5s var(--ease-ios) both; }
  .is-fresh .patch-art { animation: unlock-pop .7s var(--ease-ios) .1s both; }
}
@keyframes unlock-pop {
  0% { transform: scale(.6); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: var(--sp-3); }
.field-label { display: block; margin: 0 0 6px var(--sp-4); font-size: var(--fs-footnote); color: var(--glass-text-secondary); }
.notice { display: flex; gap: var(--sp-2); align-items: flex-start; font-size: var(--fs-sub); }
.notice .ic { width: 20px; height: 20px; flex: none; color: var(--accent-ink); }
.glass-input select { flex: 1; min-height: var(--tap); background: transparent; border: 0; outline: 0; font: 400 var(--fs-body)/1 var(--font-body); }
/* The select is transparent, so the native popup needs its own pair. Canvas/CanvasText follow color-scheme (light/dark). */
.glass-input select option { background-color: Canvas; color: CanvasText; }
.glass-input--area { border-radius: var(--r-l); padding: var(--sp-3) var(--sp-4); }
.glass-input textarea { flex: 1; width: 100%; resize: vertical; background: transparent; border: 0; outline: 0; font: 400 var(--fs-body)/1.5 var(--font-body); }
.glass-input input[type="datetime-local"] { min-height: var(--tap); }
.btn-danger { color: #C62828; }
[data-theme="dark"] .btn-danger { color: #FF8A80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-danger { color: #FF8A80; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- PWA chrome ---------- */
.toast {
  position: fixed; z-index: 50;
  left: max(var(--sp-4), env(safe-area-inset-left)); right: max(var(--sp-4), env(safe-area-inset-right));
  bottom: calc(88px + env(safe-area-inset-bottom));
  max-width: 608px; margin: 0 auto;
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill); font-size: var(--fs-sub);
}
.install-card { flex-direction: row; align-items: flex-start; gap: var(--sp-3); }
.install-card .grow { display: flex; flex-direction: column; gap: var(--sp-2); }
.install-close { width: var(--tap); height: var(--tap); margin: -10px -10px 0 0; flex: none; border: 0; background: transparent; color: var(--glass-text-secondary); display: grid; place-items: center; }

/* ---------- Agenda timeline ---------- */
.days { display: flex; flex-direction: column; gap: var(--sp-5); }
.day-head { display: flex; flex-direction: column; gap: 2px; }
.tl-row.is-now { background: color-mix(in srgb, var(--accent) 14%, transparent); }
/* Pulsing dot after the title of the running session. */
.live-dot {
  display: inline-block; width: 8px; height: 8px; margin-left: 8px; vertical-align: middle;
  border-radius: 50%; background: var(--vwi-orange); animation: tl-pulse 2s ease-out infinite;
}
@keyframes tl-pulse {
  from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--vwi-orange) 55%, transparent); }
  to   { box-shadow: 0 0 0 9px transparent; }
}
.tl-now {
  display: flex; align-items: center; gap: var(--sp-3); min-height: 30px; padding: 0 var(--sp-4);
  border-bottom: .5px solid var(--glass-hairline);
}
.tl-now:last-child { border-bottom: 0; }
.tl-now .row-time { color: var(--accent-ink); font-size: var(--fs-caption); }
.tl-now__line { flex: 1; height: 2px; border-radius: var(--r-pill); background: var(--vwi-orange); }
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

/* ---------- Loading skeleton ---------- */
.skeleton { display: flex; flex-direction: column; gap: var(--sp-4); }
.sk {
  display: block; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--pill-selected) 0%, color-mix(in srgb, var(--pill-selected), white 40%) 50%, var(--pill-selected) 100%) 0 0 / 200% 100%;
  animation: sk-shimmer 1.4s linear infinite;
}
.sk-title { width: 55%; height: 34px; border-radius: var(--r-s); }
.sk-dot { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.sk-lines { display: flex; flex-direction: column; gap: 8px; padding: var(--sp-3) 0; }
.sk-line { height: 12px; width: 80%; }
.sk-line--short { width: 50%; }
@keyframes sk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
}
