/* MUSEXPO Live — delegate companion demo
   Palette measured from musexpo.net: red #DD3333, deep red #8E2525, navy #21283A, slate #7B88A8.
   Layout: app shell (topbar / scroller / tabbar). On wide screens the app sits in a phone frame
   beside a pitch panel. */

:root {
  --bg: #07080c;
  --bg-raise: #0c0f16;
  --surface: #121620;
  --surface-2: #1a1f2d;
  --navy: #21283a;
  --line: rgba(150, 165, 205, 0.13);
  --line-2: rgba(150, 165, 205, 0.24);
  --text: #f3f4f7;
  --text-2: #bcc3d5;
  --text-3: #7b88a8;
  --red: #dd3333;
  --red-hi: #ff4b4b;
  --red-deep: #8e2525;
  --green: #3fcf8e;
  --gold: #d9b26f;

  --t-keynote: #ff5252;
  --t-panel: #8fa0c8;
  --t-award: #d9b26f;
  --t-showcase: #ec6f98;
  --t-networking: #6fb7a7;
  --t-logistics: #5d6680;

  --f-body: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-cond: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --pad: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 2px; border-radius: 6px; }

.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--text-2); }
.small { font-size: 12.5px; }

/* ── Stage / desktop pitch ─────────────────────────────── */
.stage { height: 100dvh; }
.pitch { display: none; }
.app {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

@media (min-width: 960px) {
  body {
    background:
      radial-gradient(1200px 600px at 85% -10%, rgba(142, 37, 37, 0.35), transparent 60%),
      radial-gradient(900px 700px at -10% 110%, rgba(33, 40, 58, 0.9), transparent 60%),
      var(--bg);
  }
  .stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 40px;
  }
  .pitch { display: grid; gap: 22px; align-content: center; max-width: 560px; }
  .app {
    height: min(880px, calc(100dvh - 48px));
    border-radius: 38px;
    border: 1px solid var(--line-2);
    box-shadow: 0 0 0 10px #000, 0 0 0 11px #2a2f3d, 0 40px 120px rgba(0, 0, 0, 0.7);
  }
}
.pitch-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hi); }
.pitch h1 { font-weight: 200; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; }
.pitch h1 strong { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; color: var(--red-hi); letter-spacing: 0.01em; }
.pitch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pitch-list li { display: grid; gap: 2px; padding-left: 18px; position: relative; color: var(--text-2); font-size: 14px; max-width: 52ch; }
.pitch-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--red); }
.pitch-list b { color: var(--text); font-weight: 600; }
.pitch-qr { display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--text-2); }
.pitch-qr .qr { border-radius: 8px; flex: none; }
.pitch-foot { font-size: 12.5px; color: var(--text-3); max-width: 52ch; }

/* ── Wordmark (after the MUSEXPO logo lockup) ──────────── */
.wm { display: inline-grid; justify-items: start; line-height: 1; user-select: none; }
.wm span { font-family: var(--f-cond); font-weight: 600; font-size: 25px; letter-spacing: -0.005em; text-transform: uppercase; line-height: 0.92; }
.wm span b { color: var(--red); font-weight: 600; }
.wm small { font-size: 5.6px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.4; white-space: nowrap; }
.wm small:first-child { font-size: 6px; letter-spacing: 0; }
.wm small em { font-style: normal; color: var(--red); }
.wm.big span { font-size: 64px; }
.wm.big small { font-size: 14px; }
.wm.big small:first-child { font-size: 14px; }
.wm.xl span { font-size: 84px; }
.wm.xl small { font-size: 18.5px; }
.wm.xl small:first-child { font-size: 17px; }

.splash { flex: 1; display: grid; place-items: center; animation: fade 0.6s ease both; }

/* ── Top bar ──────────────────────────────────────────── */
.topbar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--pad) 10px;
  background: #000;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.top-actions { display: flex; align-items: center; gap: 8px; }
.clock {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  font-size: 12px;
  white-space: nowrap;
}
.clock-demo { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--red); color: #fff; padding: 3px 6px; border-radius: 999px; }
.clock-day { color: var(--text-2); font-weight: 500; }
.clock b { font-family: var(--f-cond); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.iconbtn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--text);
  position: relative;
  flex: none;
}
.iconbtn:hover { background: var(--surface-2); }
.bell.on { background: var(--surface-2); }
.bell .count {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #000;
  animation: pop 0.4s ease;
}

.offline {
  flex: none;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 7px var(--pad);
  font-size: 12px;
  background: var(--navy);
  color: var(--text-2);
}
.offline .ic { width: 16px; height: 16px; }

/* ── Scroller and views ──────────────────────────────── */
#view {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  outline: none;
}
#view, .sheet-content { scrollbar-width: thin; scrollbar-color: rgba(150, 165, 205, 0.22) transparent; }
.view { min-height: 100%; padding-bottom: 28px; }
.view.enter { animation: enter 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.stack { display: grid; gap: 22px; padding: 18px var(--pad) 0; }
.block { display: grid; gap: 12px; min-width: 0; }
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sechead h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.sechead a, .linkbtn { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--red-hi); white-space: nowrap; }
.sechead a .ic, .linkbtn .ic { width: 15px; height: 15px; }
.page-title { padding: 22px var(--pad) 4px; display: grid; gap: 4px; }
.page-title h1 { font-weight: 200; font-size: 34px; letter-spacing: -0.01em; }
.page-title p { color: var(--text-2); font-size: 13px; }
.foot-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--text-3); padding: 4px var(--pad) 0; }
.stack .foot-note, .block .foot-note { padding-inline: 0; }
.foot-note .ic { width: 15px; height: 15px; margin-top: 1px; }
.foot-note.tight { padding: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 0;
}
.card.plain { padding: 16px; display: grid; gap: 14px; }
.chev { color: var(--text-3); width: 18px; height: 18px; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.dot.green { background: var(--green); box-shadow: 0 0 0 3px rgba(63, 207, 142, 0.18); }

/* ── Equalizer "live" glyph ──────────────────────────── */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.eq i { width: 2.5px; height: 100%; background: currentColor; border-radius: 1px; transform-origin: bottom; animation: eq 0.9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -0.35s; animation-duration: 0.7s; }
.eq i:nth-child(3) { animation-delay: -0.6s; animation-duration: 1.05s; }
.eq i:nth-child(4) { animation-delay: -0.15s; animation-duration: 0.8s; }

/* ── Pills, tags, avatars ────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill.live { background: var(--red); color: #fff; }
.pill.soon { background: rgba(255, 255, 255, 0.08); color: var(--text); letter-spacing: 0.03em; text-transform: none; font-size: 11px; font-weight: 600; }
.pill.ended { background: transparent; color: var(--text-3); border: 1px solid var(--line-2); }
.pill.ghost { background: rgba(0, 0, 0, 0.35); color: var(--text); border: 1px solid rgba(255, 255, 255, 0.18); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.tag i { width: 7px; height: 7px; border-radius: 2px; background: var(--c); }

.av {
  --s: 44px;
  position: relative;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy), #10131c);
  display: inline-grid;
  place-items: center;
  flex: none;
  color: var(--text-2);
  font-size: calc(var(--s) * 0.34);
  font-weight: 600;
}
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.05); transition: filter 0.35s; }
.av.sq { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; font-size: 34px; font-weight: 200; }
.av.color img, a:hover .av img, a:focus-visible .av img { filter: none; }
.av-stack { display: inline-flex; }
.av-stack .av { border: 2px solid var(--bg-raise); margin-left: -8px; }
.av-stack .av:first-child { margin-left: 0; }

.star {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--text-3);
  flex: none;
}
.star:hover { color: var(--text); background: var(--surface-2); }
.star.on { color: var(--red-hi); }
.star.on .ic { animation: pop 0.35s ease; }

.prog { height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--red); border-radius: inherit; transition: width 1s linear; }

/* ── Buttons & controls ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: #222838; }
.btn:active { transform: scale(0.98); }
.btn .ic { width: 18px; height: 18px; }
.btn.primary { background: var(--red-deep); border-color: transparent; color: #fff; }
.btn.primary:hover { background: #a32b2b; }
.btn.on { background: rgba(221, 51, 51, 0.14); border-color: rgba(221, 51, 51, 0.5); color: var(--red-hi); }
.btn.small { height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-col { display: grid; gap: 10px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--pad) 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  flex: none;
}
.chip .ic { width: 15px; height: 15px; }
.chip.on { background: var(--text); color: #0a0a0a; border-color: var(--text); }

.seg { display: inline-flex; background: var(--bg-raise); border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { height: 32px; padding: 0 12px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.seg button.on, .seg button[aria-checked="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg.wide { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px var(--pad) 16px;
  padding: 0 14px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--text-3);
}
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-size: 15px; }
.search:focus-within { border-color: var(--text-3); }

/* ── Today ───────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 22px var(--pad) 18px;
  background: linear-gradient(160deg, #a12a2a 0%, var(--red-deep) 38%, #4a1212 100%);
  display: grid;
  gap: 8px;
}
.hero::after {
  content: 'XPO';
  position: absolute;
  right: -18px;
  top: -34px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 190px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.hero-eyebrow span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; background: rgba(255, 255, 255, 0.6); margin: 0 12px 2px 0; vertical-align: middle; }
.hero-title { display: grid; line-height: 1; gap: 2px; }
.hero-title span { font-weight: 200; font-size: 30px; }
.hero-title strong { font-family: var(--f-cond); font-weight: 600; font-size: 54px; text-transform: uppercase; letter-spacing: 0.005em; }
.hero-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.hero-sub .ic { width: 16px; height: 16px; }
.hero-sub a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }

.strip { margin-top: 10px; display: grid; gap: 6px; }
.strip-track { position: relative; height: 30px; border-radius: 6px; background: rgba(0, 0, 0, 0.38); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.strip-seg { position: absolute; top: 6px; bottom: 6px; background: var(--c); border-radius: 3px; opacity: 0.95; min-width: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45); transition: transform 0.15s; }
.strip-seg:hover { transform: scaleY(1.25); }
.strip-seg.ended { opacity: 0.32; }
.strip-seg.live { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 0 14px var(--c); }
.strip-now { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: #fff; border-radius: 2px; box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); transition: left 1s linear; }
.strip-now b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 2px; font-size: 8.5px; letter-spacing: 0.12em; font-weight: 700; background: #fff; color: #000; padding: 1px 4px; border-radius: 3px; }
.strip-ticks { position: relative; height: 13px; }
.strip-tick { position: absolute; transform: translateX(-50%); font-size: 9.5px; font-weight: 600; color: rgba(255, 255, 255, 0.6); white-space: nowrap; letter-spacing: 0.04em; }

.live-card { padding: 16px; display: grid; gap: 10px; background: linear-gradient(180deg, #16101a 0%, var(--surface) 70%); border-color: rgba(221, 51, 51, 0.35); }
.live-card.idle { background: var(--surface); border-color: var(--line); }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.live-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hi); }
.live-label.muted { color: var(--text-3); letter-spacing: 0.08em; }
.live-label .ic { width: 16px; height: 16px; }
.live-venue { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-2); }
.live-venue .ic { width: 14px; height: 14px; }
.live-title { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; }
.live-title:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.live-sub { color: var(--text-2); font-size: 13px; }
.live-people { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.live-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.live-foot b { color: var(--text); font-weight: 600; }
.live-meta { font-size: 13px; color: var(--text-2); }
.live-meta b { color: var(--text); }
.live-also { font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 10px; }
.live-also a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

.alert-card, .util-card, .venue-mini, .install-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}
.alert-card.unread { border-color: rgba(221, 51, 51, 0.4); }
.alert-body, .util-body { display: grid; gap: 2px; min-width: 0; }
.alert-body small, .util-body small { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.alert-body b, .util-body b { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.alert-body > span, .util-body > span { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }

.catic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--text); }
.catic .ic { width: 19px; height: 19px; }
.cat-reminders { background: rgba(221, 51, 51, 0.16); color: var(--red-hi); }
.cat-showcases { background: rgba(236, 111, 152, 0.15); color: var(--t-showcase); }
.cat-networking { background: rgba(217, 178, 111, 0.15); color: var(--gold); }
.cat-logistics { background: rgba(111, 183, 167, 0.15); color: var(--t-networking); }
.cat-news { background: rgba(143, 160, 200, 0.16); color: var(--t-panel); }

.util-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex: none; }
.util-ic.on { background: rgba(63, 207, 142, 0.14); color: var(--green); }
.install-card .util-ic.on { background: rgba(221, 51, 51, 0.15); color: var(--red-hi); }
.install-actions { display: flex; align-items: center; gap: 2px; }

.next-list { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.next { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-top: 1px solid var(--line); padding-right: 6px; }
.next:first-child { border-top: 0; }
.next-link { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 13px 0 13px 14px; }
.next-link:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.next-time { display: grid; align-content: start; line-height: 1; padding-top: 2px; }
.next-time b { font-family: var(--f-cond); font-weight: 500; font-size: 22px; font-variant-numeric: tabular-nums; }
.next-time small { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-3); margin-top: 3px; }
.next-body { display: grid; gap: 4px; min-width: 0; }
.next-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.next-body b { font-weight: 600; font-size: 14px; line-height: 1.3; }
.next-body small { font-size: 12px; color: var(--text-2); }

.show-card, .venue-card, .venue-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 40px;
  min-height: 190px;
  padding: 14px;
  background: #111 var(--img) center / cover no-repeat;
  border: 0;
}
.show-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 12, 0.25) 0%, rgba(7, 8, 12, 0.55) 45%, rgba(7, 8, 12, 0.95) 100%); }
.show-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(142, 37, 37, 0.55), transparent 60%); z-index: 1; mix-blend-mode: multiply; }
.show-top, .show-body, .venue-body { position: relative; z-index: 2; }
.show-top { display: flex; gap: 6px; flex-wrap: wrap; }
.show-body, .venue-body { display: grid; gap: 3px; }
.show-body small, .venue-body small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hi); }
.show-body b { font-family: var(--f-cond); font-weight: 600; font-size: 30px; text-transform: uppercase; line-height: 1.02; }
.show-body span { font-size: 13px; color: var(--text-2); }

.chips-scroll { display: flex; gap: 10px; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.mini-card { flex: none; width: 168px; display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--c); }
.mini-card small { font-family: var(--f-cond); font-size: 15px; color: var(--text-2); }
.mini-card b { font-size: 13px; font-weight: 600; line-height: 1.3; }

/* ── Schedule ────────────────────────────────────────── */
.sched-head { position: sticky; top: 0; z-index: 5; background: rgba(7, 8, 12, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 18px 0 12px; display: grid; gap: 12px; border-bottom: 1px solid var(--line); }
/* Title and day label always stack, so the sticky header keeps one height across days. */
.sched-title { display: grid; gap: 2px; padding: 0 var(--pad); }
.sched-title h1 { font-weight: 200; font-size: 30px; }
.sched-title span { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.daytabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 var(--pad); }
.daytab { position: relative; display: grid; justify-items: center; padding: 7px 0 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); line-height: 1.1; }
.daytab small { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.daytab b { font-family: var(--f-cond); font-weight: 500; font-size: 22px; }
.daytab .dot { position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; }
.daytab.on { background: var(--red-deep); border-color: var(--red-deep); }
.daytab.on small { color: rgba(255, 255, 255, 0.8); }
.daytab.on .dot { background: #fff; }

.timeline { display: grid; gap: 10px; padding: 14px var(--pad) 0; }
.block .timeline, .agenda-day .timeline { padding: 0; }
.srow {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.srow::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); opacity: 0.9; }
.srow-link { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px 48px 14px 14px; }
.srow-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.srow-time { display: grid; align-content: start; line-height: 1; }
.srow-time b { font-family: var(--f-cond); font-weight: 500; font-size: 21px; font-variant-numeric: tabular-nums; }
.srow-time span { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-3); margin-top: 3px; }
.srow-time em { font-style: normal; font-size: 10.5px; color: var(--text-3); margin-top: 8px; }
.srow-body { display: grid; gap: 5px; min-width: 0; }
.srow-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.srow h3 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.srow-people { font-size: 12.5px; color: var(--text-2); }
.srow-meta { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-3); }
.srow-meta .ic { width: 14px; height: 14px; }
.srow .prog { margin-top: 6px; }
.srow .star { position: absolute; top: 6px; right: 4px; }
.srow.live { border-color: rgba(221, 51, 51, 0.55); background: linear-gradient(90deg, rgba(142, 37, 37, 0.22), var(--surface) 55%); }
.srow.ended { opacity: 0.55; }
.srow.ended:hover { opacity: 0.85; }
.srow.slim { background: transparent; border-style: dashed; }
.srow.slim::before { display: none; }
.srow.slim .srow-link { padding: 10px 14px; align-items: center; }
.srow.slim .srow-time b { font-size: 16px; color: var(--text-2); }
.srow.slim h3 { font-size: 13px; font-weight: 600; color: var(--text-2); }
.srow.slim p { font-size: 12px; color: var(--text-3); }

.now-line { display: flex; align-items: center; gap: 10px; color: var(--red-hi); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; scroll-margin-top: 220px; }
.now-line::before, .now-line::after { content: ''; height: 2px; background: var(--red); flex: 1; border-radius: 2px; }
.now-line::before { flex: 0 0 10px; }
.now-line b { font-family: var(--f-cond); font-size: 13px; letter-spacing: 0.04em; }

.empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 36px 24px; margin: 14px var(--pad) 0; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--text-2); }
.block .empty { margin: 0; }
.empty .ic { width: 28px; height: 28px; color: var(--text-3); }
.empty b { color: var(--text); font-size: 15px; }
.empty span { font-size: 13px; max-width: 34ch; }
.empty .btn { margin-top: 6px; }
.empty.small { padding: 22px 18px; }

/* ── Detail pages ────────────────────────────────────── */
.pagehead { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 8px 10px 8px 6px; background: rgba(7, 8, 12, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.pagehead h1 { flex: 1; font-size: 13px; font-weight: 600; color: var(--text-2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail > .block, .detail > .actions, .detail > .remind-note { margin: 0 var(--pad); }
.detail > .block { margin-top: 22px; }
.detail-hero { padding: 22px var(--pad) 20px; display: grid; gap: 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, transparent) 0%, transparent 100%); border-bottom: 1px solid var(--line); }
.detail-tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.detail-hero h1 { font-weight: 300; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.detail-sub { color: var(--text-2); font-size: 15px; }
.detail-when { display: grid; gap: 6px; font-size: 13.5px; color: var(--text); }
.detail-when > * { display: inline-flex; align-items: center; gap: 8px; }
.detail-when .ic { width: 17px; height: 17px; color: var(--text-3); }
.detail-when em { font-style: normal; color: var(--text-3); }
.detail-when a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.detail-status { font-size: 12.5px; color: var(--text-2); }
.detail-status b { color: var(--text); }
.actions { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 8px; margin-top: 16px !important; }
.actions .btn { padding: 0 10px; }
.speaker-detail .actions, .venue-detail .actions { grid-template-columns: 1fr 1fr; }
.speaker-detail .actions .btn:only-child { grid-column: 1 / -1; }
.remind-note { display: flex; align-items: center; gap: 8px; margin-top: 10px !important; font-size: 12.5px; color: var(--text-3); }
.remind-note .ic { width: 15px; height: 15px; }
.prose p { font-size: 15px; line-height: 1.6; color: var(--text); max-width: 62ch; }
.prose p.muted { font-size: 13px; color: var(--text-2); }
.notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.notes li { position: relative; padding-left: 16px; font-size: 13px; color: var(--text-2); }
.notes li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--red); }

.people { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.person { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; }
.person-txt { display: grid; gap: 1px; min-width: 0; }
.person-txt small { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hi); }
.person-txt b { font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.person-txt span { font-size: 12.5px; color: var(--text-2); }
.person.tba .person-txt small { color: var(--text-3); }
.person.tba .person-txt b { text-transform: none; letter-spacing: 0; }

.sets { list-style: none; margin: 0; padding: 0; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.set { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.set:first-child { border-top: 0; }
.set-time { font-family: var(--f-cond); font-size: 16px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.set-body { display: grid; min-width: 0; }
.set-body b { font-family: var(--f-cond); font-weight: 500; font-size: 19px; text-transform: uppercase; letter-spacing: 0.01em; }
.set-body small { font-size: 12px; color: var(--text-3); }
.set.live { background: rgba(142, 37, 37, 0.22); }
.set.ended { opacity: 0.5; }

/* ── Speakers ────────────────────────────────────────── */
.spk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; padding: 0 var(--pad); }
.spk-grid > .empty { grid-column: 1 / -1; margin: 0; }
@media (min-width: 560px) and (max-width: 959px) { .spk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.spk { display: grid; gap: 4px; align-content: start; min-width: 0; }
.spk-img { position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 6px; background: var(--surface); }
.spk-follow { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.spk-follow .ic { width: 14px; height: 14px; }
.spk b { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.25; }
.spk small { font-size: 11.5px; color: var(--text-2); line-height: 1.35; }
.spk-tag { justify-self: start; margin-top: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hi); }
.spk-hero { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: end; padding: 20px var(--pad) 4px; }
.spk-photo { border-radius: 12px; overflow: hidden; }
.spk-id { display: grid; gap: 4px; padding-bottom: 4px; }
.spk-id h1 { font-family: var(--f-cond); font-weight: 600; font-size: 34px; text-transform: uppercase; line-height: 1; }
.spk-id p { font-size: 13px; color: var(--text-2); }
.spk-id p.co { color: var(--text); font-weight: 600; }

/* ── Info ────────────────────────────────────────────── */
.venue-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.venue-card { min-height: 170px; border-radius: var(--r); align-content: end; }
.venue-body b { font-size: 17px; font-weight: 600; line-height: 1.2; }
.venue-body span { font-size: 12px; color: var(--text-2); }
.venue-hero { min-height: 240px; border-radius: 0; padding: 18px var(--pad); align-content: end; }
.venue-hero h1 { font-family: var(--f-cond); font-weight: 600; font-size: 40px; text-transform: uppercase; line-height: 1; }
.venue-hero .venue-body > span { font-size: 13px; }

.list-card { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 10px 12px 14px; border-top: 1px solid var(--line); }
.li:first-child { border-top: 0; }
.li-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--text-2); }
.li-body { display: grid; gap: 1px; min-width: 0; }
.li-body b { font-size: 14px; font-weight: 600; }
.li-body > span { font-size: 12px; color: var(--text-2); }
.li-body small { font-size: 11.5px; color: var(--text-3); }
.li-actions { display: flex; }
.li-day { display: grid; justify-items: center; width: 40px; line-height: 1.1; }
.li-day small { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.li-day b { font-family: var(--f-cond); font-size: 22px; font-weight: 500; }
.li.today { background: rgba(142, 37, 37, 0.14); }
.li.today .li-day b { color: var(--red-hi); }
.win { display: grid; padding: 3px 0; }
.win b { font-family: var(--f-cond); font-weight: 500; font-size: 16px; }
.win small { font-size: 12px; color: var(--text-2); }
.win.on b { color: var(--green); }
.win.past { opacity: 0.55; }

.price-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.price { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.price small { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.price b { font-family: var(--f-cond); font-weight: 500; font-size: 26px; }
.price span { font-size: 11px; color: var(--text-2); line-height: 1.35; }

.partner-wall { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-wall a { padding: 8px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.partner-wall a:hover { color: var(--text); border-color: var(--line-2); }
.contact { display: grid; gap: 8px; }
.contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; }
.contact .ic { width: 17px; height: 17px; color: var(--text-3); }
.social { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; font-weight: 600; }
.social a { color: var(--red-hi); }

.shuttle-status { margin: 18px var(--pad) 0; padding: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.shuttle-status.on { border-color: rgba(63, 207, 142, 0.35); }
.shuttle-status small { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.shuttle-status h1 { font-family: var(--f-cond); font-weight: 500; font-size: 26px; line-height: 1.1; margin: 4px 0; }
.shuttle-status p { font-size: 13px; color: var(--text-2); }
.deps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.deps span { display: grid; gap: 1px; padding: 10px; border-radius: 10px; background: var(--bg-raise); border: 1px solid var(--line); }
.deps span.first { border-color: rgba(63, 207, 142, 0.45); }
.deps b { font-family: var(--f-cond); font-weight: 500; font-size: 17px; }
.deps small { font-size: 11px; color: var(--text-3); letter-spacing: 0; text-transform: none; font-weight: 500; }

/* ── My Expo ─────────────────────────────────────────── */
.badge {
  position: relative;
  background: #fff;
  color: #0b0b0b;
  border-radius: 16px;
  padding: 26px 18px 14px;
  display: grid;
  gap: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.badge::before { content: ''; position: absolute; top: 9px; left: 50%; width: 46px; height: 7px; margin-left: -23px; border-radius: 999px; background: var(--bg); }
.badge-top { display: flex; align-items: center; justify-content: space-between; }
.badge-top img { height: 46px; width: auto; }
.badge-top span { font-family: var(--f-cond); font-weight: 600; font-size: 26px; color: var(--red); }
.badge-band { margin: 0 -18px; background: var(--red); color: #fff; font-family: var(--f-cond); font-weight: 600; font-size: 22px; letter-spacing: 0.3em; text-transform: uppercase; text-align: center; padding: 6px 0; }
.badge-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.badge-who { display: grid; gap: 2px; min-width: 0; }
.badge-who b { font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.badge-who span { font-size: 13px; color: #3b3b3b; }
.badge-who span.co { font-weight: 700; color: #0b0b0b; }
.badge-who small { margin-top: 10px; font-size: 11px; color: #6a6a6a; line-height: 1.4; }
.badge .qr { display: block; }
.badge-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e3e3e3; padding-top: 10px; font-family: var(--f-cond); font-size: 14px; letter-spacing: 0.1em; color: #6a6a6a; }
.badge-foot .linkbtn { color: var(--red-deep); font-family: var(--f-body); letter-spacing: 0; }
.badge.editing label { display: grid; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6a6a6a; }
.badge.editing input { height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid #d0d0d0; color: #0b0b0b; background: #fff; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 500; color-scheme: light; }
.badge.editing .btn:not(.primary) { background: #f1f1f1; color: #0b0b0b; border-color: #ddd; }

.settings { gap: 0; padding: 4px 16px; }
.perm-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.perm { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); flex: 1 1 180px; }
.perm.ok { color: var(--green); font-weight: 600; }
.perm.bad { color: #ffb3b3; }
.perm .ic { width: 17px; height: 17px; }
.lead { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.toggle > span { display: grid; gap: 1px; }
.toggle b { font-size: 13.5px; font-weight: 600; }
.toggle small { font-size: 12px; color: var(--text-3); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle i { width: 44px; height: 26px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); position: relative; transition: background 0.2s; }
.toggle i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-2); transition: transform 0.2s, background 0.2s; }
.toggle input:checked + i { background: var(--red-deep); border-color: var(--red-deep); }
.toggle input:checked + i::after { transform: translateX(18px); background: #fff; }
.toggle input:focus-visible + i { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.settings .foot-note { padding: 12px 0; }

.agenda-day { display: grid; gap: 10px; }
.agenda-day + .agenda-day { margin-top: 10px; }
.agenda-day h3 { font-size: 13px; font-weight: 600; color: var(--text-2); }
.clash { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--gold); margin-top: -4px; padding-left: 4px; }
.clash .ic { width: 15px; height: 15px; }
.follow-list { display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.follow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px; }
.follow + .follow { border-top: 1px solid var(--line); }
.follow span { display: grid; min-width: 0; }
.follow b { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.follow small { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Alerts inbox ───────────────────────────────────── */
.alerts-intro { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 16px var(--pad) 0; font-size: 13px; color: var(--text-2); }
.alerts-intro b { color: var(--red-hi); }
.alert-list { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.alert-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 14px; border-top: 1px solid var(--line); align-items: start; }
.alert-row:first-child { border-top: 0; }
.alert-row.unread { background: rgba(142, 37, 37, 0.12); }
.alert-row:hover { background: var(--surface-2); }
.alert-time { display: grid; justify-items: end; gap: 2px; font-family: var(--f-cond); font-size: 13px; color: var(--text-2); white-space: nowrap; }
.alert-time small { font-family: var(--f-body); font-size: 10.5px; color: var(--text-3); }
.alert-time .dot { margin-top: 4px; }

/* ── Toasts ──────────────────────────────────────────── */
.toasts { position: absolute; left: 10px; right: 10px; top: calc(env(safe-area-inset-top, 0px) + 66px); z-index: 50; display: grid; gap: 8px; pointer-events: none; }
.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(24, 29, 43, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-14px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}
.toast.in { transform: none; opacity: 1; }
.toast.out { transform: translateY(-10px); opacity: 0; }
.toast-body { display: grid; gap: 1px; min-width: 0; }
.toast-body small { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hi); }
.toast-body b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.toast-body span { font-size: 12.5px; color: var(--text-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toast.mini { justify-self: center; width: auto; display: inline-flex; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.toast.mini .ic { width: 17px; height: 17px; color: var(--green); }

/* ── Sheet ───────────────────────────────────────────── */
.sheet { position: absolute; inset: 0; z-index: 60; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); opacity: 0; transition: opacity 0.25s; }
.sheet.open .sheet-scrim { opacity: 1; }
.sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-top: 1px solid var(--line-2);
  border-radius: 22px 22px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet.open .sheet-panel { transform: none; }
.sheet-grip { width: 40px; height: 4px; border-radius: 999px; background: var(--line-2); margin: 8px auto 0; flex: none; }
.sheet-x { position: absolute; top: 8px; right: 8px; z-index: 2; }
.sheet-content { overflow-y: auto; overscroll-behavior: contain; }
.sheet-pad { padding: 18px 20px 24px; display: grid; gap: 18px; }
.sheet-title { font-weight: 300; font-size: 24px; line-height: 1.2; padding-right: 36px; }

.onboard { justify-items: stretch; }
.onboard .wm { justify-self: start; }
.onboard .wm.big span { font-size: 52px; }
.onboard .wm.big small { font-size: 11.4px; }
.onboard .wm.big small:first-child { font-size: 11.4px; }
.onboard-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.onboard-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; font-size: 13px; color: var(--text-2); }
.onboard-list .ic { width: 22px; height: 22px; color: var(--red-hi); margin-top: 1px; }
.onboard-list b { display: block; color: var(--text); font-size: 14px; font-weight: 600; }
.demo-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-raise); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); }
.demo-note .ic { width: 18px; height: 18px; color: var(--gold); }
.demo-note b { color: var(--text); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14px; color: var(--text-2); }
.steps li > span { width: 30px; height: 30px; border-radius: 50%; background: var(--red-deep); color: #fff; display: grid; place-items: center; font-family: var(--f-cond); font-size: 16px; }
.steps b { color: var(--text); }
.steps .ic { width: 16px; height: 16px; vertical-align: -3px; }

.demo-head { display: grid; gap: 2px; padding-right: 36px; }
.demo-head small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hi); }
.demo-head b { font-family: var(--f-cond); font-weight: 500; font-size: 40px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.demo-head span { font-size: 12.5px; color: var(--text-3); }
.demo-sec { display: grid; gap: 8px; }
.demo-sec h3 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.jump-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.jump-grid button { display: grid; gap: 1px; text-align: left; padding: 10px 12px; border-radius: 10px; background: var(--bg-raise); border: 1px solid var(--line-2); }
.jump-grid button:hover { border-color: var(--text-3); }
.jump-grid b { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.jump-grid small { font-family: var(--f-cond); font-size: 13px; color: var(--text-3); }
.push-list { display: grid; gap: 8px; }
.push-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: var(--bg-raise); border: 1px solid var(--line); }
.push-row .catic { width: 34px; height: 34px; border-radius: 10px; }
.push-row .catic .ic { width: 16px; height: 16px; }
.push-row > span { display: grid; min-width: 0; }
.push-row b { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.push-row small { font-size: 11px; color: var(--text-3); }
.push-row .btn.small { height: 30px; padding: 0 9px; font-size: 11.5px; }

/* ── Tab bar ─────────────────────────────────────────── */
.tabbar {
  flex: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #000;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  position: relative;
  z-index: 20;
}
.tab { position: relative; display: grid; justify-items: center; gap: 3px; padding: 9px 0 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.tab .ic { width: 22px; height: 22px; }
.tab.on { color: var(--text); }
.tab.on::before { content: ''; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; background: var(--red); border-radius: 0 0 2px 2px; }
.tab:hover { color: var(--text); }

/* ── Motion ──────────────────────────────────────────── */
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .eq i { transform: scaleY(0.7); }
}

@media (max-width: 360px) {
  .clock-day { display: none; }
  .hero-title strong { font-size: 46px; }
  .actions { grid-template-columns: 1fr 1fr; }
  .actions .btn:first-child { grid-column: 1 / -1; }
}
