:root {
  --bg: #f5f4f2;
  --surface: #ffffff;
  --surface-2: #f1efec;
  --surface-3: #e8e5e1;
  --text: #17181b;
  --muted: #6a6b73;
  --faint: #9a9ba3;
  --line: #e6e3de;
  --brand: #c8102e;
  --brand-ink: #ffffff;
  --ok: #0b7a47; --ok-bg: #dcf4e8;
  --warn: #8a5800; --warn-bg: #fcefd2;
  --off: #5d5e66; --off-bg: #ecebe8;
  --info: #1c4f93; --info-bg: #e2ecfa;
  --danger: #b42318; --danger-bg: #fde7e4;
  --shadow-1: 0 1px 2px rgba(16,17,20,.06), 0 1px 1px rgba(16,17,20,.04);
  --shadow-2: 0 6px 24px rgba(16,17,20,.12), 0 2px 6px rgba(16,17,20,.06);
  --shadow-3: 0 -8px 30px rgba(16,17,20,.14);
  --r: 16px;
  --tabbar-h: 58px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1012; --surface: #1a1b1f; --surface-2: #222328; --surface-3: #2b2d33;
    --text: #f2f2f4; --muted: #a4a5ae; --faint: #6f717a; --line: #2c2e34;
    --brand: #ef4552;
    --ok: #5ad69c; --ok-bg: #133526; --warn: #f5c56b; --warn-bg: #3a2c10;
    --off: #b7b8c0; --off-bg: #2a2b30; --info: #9fc4f7; --info-bg: #182739;
    --danger: #ff8a7e; --danger-bg: #3b1714;
    --shadow-1: none; --shadow-2: 0 6px 24px rgba(0,0,0,.5); --shadow-3: 0 -8px 30px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1012; --surface: #1a1b1f; --surface-2: #222328; --surface-3: #2b2d33;
  --text: #f2f2f4; --muted: #a4a5ae; --faint: #6f717a; --line: #2c2e34;
  --brand: #ef4552;
  --ok: #5ad69c; --ok-bg: #133526; --warn: #f5c56b; --warn-bg: #3a2c10;
  --off: #b7b8c0; --off-bg: #2a2b30; --info: #9fc4f7; --info-bg: #182739;
  --danger: #ff8a7e; --danger-bg: #3b1714;
  --shadow-1: none; --shadow-2: 0 6px 24px rgba(0,0,0,.5); --shadow-3: 0 -8px 30px rgba(0,0,0,.55);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden; background: var(--bg); color: var(--text);
  font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- map ---------- */
#map { position: fixed; inset: 0 0 calc(var(--tabbar-h) + var(--safe-b)) 0; background: var(--surface-2); }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-bottom-right, .maplibregl-ctrl-bottom-left { bottom: var(--sheet-h, 0px); transition: bottom .25s; }
#mapUi { position: fixed; inset: 0 0 auto 0; z-index: 5; pointer-events: none; padding: calc(var(--safe-t) + 10px) 12px 0; }
#mapUi > * { pointer-events: auto; }

.searchbar {
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 8px 0 16px;
  background: var(--surface); border-radius: 25px; box-shadow: var(--shadow-2); color: var(--muted);
  max-width: 560px;
}
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font-size: 16.5px; height: 100%; }
.searchbar input::-webkit-search-cancel-button { display: none; }
.q-clear { border: 0; background: var(--surface-2); color: var(--muted); width: 32px; height: 32px; border-radius: 16px; cursor: pointer; font-size: 13px; }
.fabs { position: absolute; right: 12px; top: calc(var(--safe-t) + 72px); display: flex; flex-direction: column; gap: 10px; }
.fab {
  width: 46px; height: 46px; border-radius: 23px; border: 0; background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-2); display: grid; place-items: center; cursor: pointer;
}
.fab.on { color: var(--brand); }
.filters { position: absolute; right: 68px; top: calc(var(--safe-t) + 72px); padding: 12px 14px; width: 250px; box-shadow: var(--shadow-2); }
.filters-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.switch { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
.dotm { width: 10px; height: 10px; border-radius: 5px; background: var(--c); }

/* ---------- bottom sheet ---------- */
.sheet {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-b)); z-index: 6;
  height: calc(100% - var(--tabbar-h) - var(--safe-b) - var(--safe-t) - 70px);
  background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-3);
  display: flex; flex-direction: column; transform: translateY(var(--sheet-off, 50%));
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.sheet.dragging { transition: none; }
.sheet-grip { flex: none; height: 26px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet-grip span { width: 40px; height: 5px; border-radius: 3px; background: var(--surface-3); }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px calc(24px + var(--peek-pad, 0px)); -webkit-overflow-scrolling: touch; }
.sheet[data-snap="peek"] .sheet-body { overflow: hidden; }

/* ---------- full pages (tabs other than map) ---------- */
.page {
  position: fixed; inset: 0 0 calc(var(--tabbar-h) + var(--safe-b)) 0; z-index: 7; background: var(--bg);
  overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--safe-t) + 14px) 16px 40px;
}
.page-inner { max-width: 680px; margin: 0 auto; }
.page h1 { font-size: 28px; letter-spacing: -.02em; margin: 6px 2px 4px; }
.page .lead { color: var(--muted); margin: 0 2px 14px; font-size: 14.5px; }

/* ---------- tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; display: flex;
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--surface); border-top: 1px solid var(--line);
}
.tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--faint); font-size: 11.5px; font-weight: 650; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a.on { color: var(--brand); }
.tab-dot { position: absolute; top: 8px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 4px; background: var(--brand); }

/* ---------- desktop: side panel ---------- */
@media (min-width: 900px) {
  #map { left: 420px; bottom: 0; }
  .sheet { left: 0; right: auto; width: 420px; top: 0; bottom: 0; height: auto; border-radius: 0; transform: none !important; box-shadow: none; border-right: 1px solid var(--line); padding-top: calc(var(--safe-t) + 74px); }
  .sheet-grip { display: none; }
  .sheet[data-snap="peek"] .sheet-body { overflow-y: auto; }
  #mapUi { right: auto; width: 420px; z-index: 8; padding: 12px 16px 0; }
  .fabs { left: 432px; right: auto; top: 14px; flex-direction: row; }
  .filters { left: 432px; right: auto; top: 70px; }
  .tabbar { top: 0; bottom: auto; left: 420px; right: auto; height: 58px; width: 470px; border: 0; background: transparent; padding: 0; gap: 6px; margin: 10px 0 0 120px; }
  .tabbar a span { white-space: nowrap; }
  .tab-dot { top: 6px; left: auto; right: 8px; }
  .tabbar a { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-2); flex-direction: row; gap: 6px; font-size: 13px; height: 42px; }
  .tabbar a svg { width: 18px; height: 18px; }
  .page { inset: 0 0 0 420px; padding-top: 80px; }
  #mapUi[hidden] + .sheet { padding-top: 16px; }
  .maplibregl-ctrl-bottom-right, .maplibregl-ctrl-bottom-left { bottom: 0; }
}

/* ---------- common UI ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.sheet .card { box-shadow: none; }
h2.sec { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 2px 8px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
h2.sec .more { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 650; color: var(--info); text-decoration: none; font-size: 13px; }
.list { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ellip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item { display: block; text-decoration: none; padding: 12px 14px; cursor: pointer; }
.item .name { font-weight: 680; font-size: 16px; }
.item .sub { color: var(--muted); font-size: 13.5px; margin-top: 1px; }
.dirs { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13.5px; color: var(--muted); }
.dirs span { white-space: nowrap; }
.nexts { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.nx { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2); border-radius: 9px; padding: 3px 8px 3px 3px; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.nx .ac { color: var(--ok); font-size: 12px; }
.dist { color: var(--muted); font-size: 13px; white-space: nowrap; }

.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 26px; padding: 0 7px; border-radius: 8px; font-weight: 800; font-size: 15px; color: #fff; letter-spacing: -.01em; flex: none; }
.badge.sm { min-width: 26px; height: 21px; font-size: 12.5px; border-radius: 6px; padding: 0 5px; }
.badge.lg { min-width: 48px; height: 38px; font-size: 20px; border-radius: 11px; }
.badge.xl { min-width: 60px; height: 48px; font-size: 25px; border-radius: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); font-weight: 650; cursor: pointer; text-decoration: none; font-size: 15px; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.btn.full { width: 100%; }
.btn.sm { padding: 7px 11px; font-size: 13.5px; border-radius: 10px; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; border-radius: 12px; color: var(--muted); display: inline-flex; }
.icon-btn.on { color: #e2a400; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 6px; margin: 8px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 11px 5px 6px; cursor: pointer; font-size: 13.5px; font-weight: 620; white-space: nowrap; }
.chip.plain { padding: 6px 12px; }
.chip[aria-pressed="false"] { opacity: .45; }
.chip.sel { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }

.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 680; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.off { background: var(--off-bg); color: var(--off); }
.tag.info { background: var(--info-bg); color: var(--info); }
.tag.danger { background: var(--danger-bg); color: var(--danger); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }

.head { padding: 2px 0 4px; display: flex; gap: 12px; align-items: flex-start; }
.head h1 { font-size: 23px; line-height: 1.15; margin: 0; letter-spacing: -.015em; }
.head .sub { color: var(--muted); font-size: 14px; margin-top: 3px; }
.meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12.5px; margin: 10px 2px 8px; gap: 8px; }
.meta button { background: none; border: 0; color: var(--info); font-weight: 650; cursor: pointer; padding: 4px 0; font-size: 13px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 4px; background: #12b76a; margin-right: 6px; box-shadow: 0 0 0 0 rgba(18,183,106,.6); animation: pulse 2s infinite; vertical-align: 1px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,183,106,.5); } 70% { box-shadow: 0 0 0 7px rgba(18,183,106,0); } 100% { box-shadow: 0 0 0 0 rgba(18,183,106,0); } }

/* arrivals */
.arr { padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; text-decoration: none; }
.arr + .arr { border-top: 1px solid var(--line); }
.arr .main { flex: 1; min-width: 0; }
.arr .dest { font-weight: 680; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arr .veh { margin-top: 2px; font-size: 14.5px; }
.arr .veh b { font-weight: 720; }
.num { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.arr .tags { margin-top: 6px; }
.arr .where { color: var(--muted); font-size: 13px; margin-top: 5px; }
.eta { text-align: right; flex: none; min-width: 62px; }
.eta .m { font-size: 23px; font-weight: 820; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.eta .m small { font-size: 13px; font-weight: 650; margin-left: 1px; }
.eta .c { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.eta.now .m { color: var(--ok); }
.arr.sched { opacity: .7; }
.arr.best { background: linear-gradient(90deg, var(--ok-bg), transparent 75%); }

.empty { padding: 22px 16px; text-align: center; color: var(--muted); }
.note { color: var(--muted); font-size: 12.5px; margin: 12px 2px; line-height: 1.5; }
.err { background: var(--warn-bg); color: var(--warn); padding: 10px 12px; border-radius: 12px; font-size: 14px; margin: 8px 0; }

.seg { display: flex; background: var(--surface-2); padding: 3px; border-radius: 12px; gap: 3px; margin: 10px 0 6px; }
.seg a, .seg button { flex: 1; text-align: center; text-decoration: none; padding: 8px 6px; border-radius: 9px; font-weight: 650; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 0; background: none; cursor: pointer; }
.seg .on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }

/* line stop list */
.line { position: relative; padding: 4px 0; }
.line::before { content: ""; position: absolute; left: 25px; top: 20px; bottom: 20px; width: 4px; border-radius: 2px; background: var(--rc, var(--brand)); opacity: .35; }
.lstop { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 16px; text-decoration: none; min-height: 40px; }
.lstop .dot { width: 22px; height: 22px; flex: none; display: grid; place-items: center; z-index: 1; }
.lstop .dot i { width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--rc, var(--brand)); }
.lstop .nm { font-size: 15px; flex: 1; }
.lstop .tm { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lstop.here .nm { font-weight: 800; }
.lstop.past { opacity: .45; }
.lveh { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; margin: 2px 8px; border-radius: 12px; background: var(--surface-2); font-size: 14px; z-index: 1; text-decoration: none; }
.lveh .pin { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; font-weight: 800; font-size: 12px; }
.lveh.at { background: var(--info-bg); }

.summary { padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; }
.srow { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.srow .cnt { font-weight: 800; min-width: 28px; font-variant-numeric: tabular-nums; }

.alert { padding: 12px 14px; }
.alert + .alert { border-top: 1px solid var(--line); }
.alert .h { font-weight: 680; font-size: 15px; line-height: 1.35; }
.alert .d { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.5; white-space: pre-line; }
.alert summary { cursor: pointer; list-style: none; }
.alert summary::-webkit-details-marker { display: none; }
.alert.past .h { font-weight: 600; color: var(--muted); }
.alert-mini { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: var(--warn-bg); color: var(--warn); border-radius: 12px; font-size: 13.5px; margin: 8px 0; text-decoration: none; }

/* planner */
.planbox { padding: 6px 12px; position: relative; }
.pfield { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.pfield + .pfield { border-top: 1px solid var(--line); }
.pfield .pin { width: 12px; height: 12px; border-radius: 6px; flex: none; border: 3px solid var(--info); }
.pfield .pin.to { border-color: var(--brand); border-radius: 3px; }
.pfield input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; padding: 9px 0; color: var(--text); }
.swap { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.sugg { margin-top: 8px; }
.opt { padding: 13px 14px; cursor: pointer; }
.opt + .opt { border-top: 1px solid var(--line); }
.opt .top { display: flex; align-items: baseline; gap: 10px; }
.opt .tot { font-size: 21px; font-weight: 820; letter-spacing: -.02em; white-space: nowrap; }
.opt .top .tag { flex: none; }
.opt .arrv { color: var(--muted); font-size: 13.5px; }
.legs { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.legs .walk { display: inline-flex; align-items: center; gap: 2px; }
.legs .sep { opacity: .5; }
.steps { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.step { display: flex; gap: 10px; align-items: flex-start; }
.step .ic { min-width: 26px; flex: none; text-align: center; }
.opt.sel { background: color-mix(in srgb, var(--info) 6%, var(--surface)); }

/* stats */
.bar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; flex: 1; }
.bar i { display: block; height: 100%; background: #12b76a; border-radius: 4px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { padding: 12px; }
.kpi .v { font-size: 24px; font-weight: 820; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .l { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

table.legend { width: 100%; border-collapse: collapse; font-size: 14px; }
table.legend td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
table.legend tr:first-child td { border-top: 0; }
table.legend .nums { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
table.legend .tags { justify-content: flex-end; }
.prose { font-size: 14.5px; line-height: 1.55; padding: 4px 14px; }
.prose p { margin: 10px 0; }
.prose a { color: var(--info); }
.menu a { display: flex; align-items: center; gap: 12px; padding: 14px; text-decoration: none; font-weight: 620; }
.menu a + a { border-top: 1px solid var(--line); }
.menu a .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); font-size: 17px; flex: none; }
.menu a .chev { margin-left: auto; color: var(--faint); }

.skeleton { height: 70px; border-radius: var(--r); background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
.skeleton + .skeleton { margin-top: 8px; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px); transform: translateX(-50%); z-index: 20; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-2); display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); }
.toast button { background: none; border: 0; color: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; padding: 0; }

/* map popup-ish marker for user */
.me-dot { width: 18px; height: 18px; border-radius: 9px; background: #2f7cf6; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47,124,246,.2), 0 1px 4px rgba(0,0,0,.3); }

@media (prefers-reduced-motion: reduce) {
  .skeleton, .live-dot { animation: none; }
  .sheet { transition: none; }
}

/* ---------- vehicle illustrations ---------- */
.vart { display: block; width: 100%; height: auto; }
.vrow { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.vrow .vart.thumb { width: 86px; flex: none; }
.eta .vart.thumb { width: 92px; margin: 8px 0 0 auto; }
.eta.witharf { min-width: 92px; }
.arr .veh { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vrow .veh { margin-top: 0; }
.hero { position: relative; border-radius: 18px; overflow: hidden; margin-top: 10px; border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--info) 10%, var(--surface)) 0%, var(--surface) 62%, var(--surface-2) 100%); }
.hero .stage { padding: 18px 12px 6px; }
.hero .num-badge { z-index: 2; }
.hero .stage .vart { max-width: 520px; margin: 0 auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.08)); }
.hero .info { padding: 4px 16px 14px; }
.hero .info .t { font-size: 19px; font-weight: 780; letter-spacing: -.01em; }
.hero .info .s { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.hero .info .tags { margin-top: 10px; }
.hero .num-badge { position: absolute; top: 12px; right: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px 9px; font-weight: 750; font-variant-numeric: tabular-nums; font-size: 14px; }
.lveh .vart.mini { width: 76px; flex: none; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gcard { padding: 0; overflow: hidden; }
.gcard .stage { background: linear-gradient(180deg, color-mix(in srgb, var(--info) 8%, var(--surface)), var(--surface)); padding: 14px 12px 4px; }
.gcard .body { padding: 8px 14px 14px; }
.gcard .t { font-weight: 760; font-size: 15.5px; }
.gcard .s { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.gcard .tags { margin-top: 8px; }
.gcard .n { color: var(--muted); font-size: 12.5px; margin-top: 8px; line-height: 1.45; }
.gcard .live { margin-top: 8px; font-size: 12.5px; font-weight: 650; color: var(--ok); }
.picto { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; }
.picto svg { width: 100%; height: 100%; }
.srow .vart.mini { width: 64px; flex: none; }
.step .vart.mini { width: 70px; display: inline-block; vertical-align: middle; }
.menu a .ic.picto svg { width: 20px; height: 20px; }
.switch .picto { width: 22px; height: 22px; }
h2.sec .picto { width: 18px; height: 18px; color: var(--muted); }

/* real photos */
.vphoto { position: relative; margin: 0; background: var(--surface-2); aspect-ratio: 16 / 9; overflow: hidden; }
.vphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vphoto figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; padding: 18px 10px 6px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.62)); }
.vphoto figcaption a { color: #fff; opacity: .85; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vphoto figcaption span { font-weight: 650; white-space: nowrap; }
.vstage { position: relative; padding: 18px 12px 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--info) 10%, var(--surface)) 0%, var(--surface) 70%); }
.vstage .vart { max-width: 520px; margin: 0 auto; }
.vstage .vnote { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: var(--muted); }
.hero .vphoto { border-radius: 0; }
.vwarn { margin: 0; padding: 7px 12px; font-size: 12px; line-height: 1.35; color: var(--warn); background: var(--warn-bg); }
.stage.slim { padding: 8px 16px 0; }
.stage.slim .vart { max-width: 300px; margin: 0 auto; opacity: .95; }
.gcard .vphoto { border-radius: 0; }
.gcard .stage.slim { background: none; padding: 6px 14px 0; }
.ppform { display: flex; gap: 8px; margin-top: 8px; }
.ppform input { flex: 1; min-width: 0; padding: 8px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
