/* ============================================================
   VeloNova 2026 — Styles
   Theme derived from veltris.com/velonova-2026
   Mobile-first · dark premium · cyan on ink/navy
   ============================================================ */

:root {
  --navy: #003865;
  --navy-deep: #001f3d;
  --navy-mid: #012a4d;
  --ink: #0a0e1a;
  --ink-2: #0d1424;
  --ink-3: #111a30;
  --cyan: #00b5e2;
  --cyan-light: #4dd0f0;
  --cyan-bg: #e6f7fc;
  --coral: #d03631;
  --white: #ffffff;
  --off-white: #f5f8fb;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --glow: 0 0 24px rgba(0, 181, 226, 0.25);
  --topbar-h: 56px;
  --nav-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--off-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  min-height: 100dvh;
}

h1, h2, h3, h4, .btn { font-family: var(--display); }

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan-light); text-decoration: none; }

.accent { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0090c8 100%);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 181, 226, 0.35);
}
.btn-outline {
  border: 1.5px solid var(--line-strong);
  color: var(--off-white);
  background: var(--card);
}
.btn-ghost { color: var(--grey-400); font-weight: 600; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-300);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.15s ease, background 0.2s ease;
}
.icon-btn:active { transform: scale(0.92); }

/* ============================================================
   Welcome gate
   ============================================================ */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(120% 70% at 80% -10%, rgba(0, 181, 226, 0.16) 0%, transparent 60%),
    radial-gradient(100% 60% at 10% 110%, rgba(0, 56, 101, 0.55) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-mid) 0%, var(--ink) 55%);
  overflow-y: auto;
}
.gate-inner {
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.gate-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}
.brand-veltris {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.35em;
  font-size: 14px;
  color: var(--white);
}
.brand-presents {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.gate-title {
  font-size: clamp(44px, 12vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.gate-year { color: var(--grey-400); font-weight: 400; }
.gate-tagline {
  margin-top: 10px;
  font-size: 17px;
  color: var(--grey-300);
  font-weight: 500;
}
.gate-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--cyan-light);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.gate-label {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.gate-sublabel { font-size: 13px; color: var(--grey-400); margin-bottom: 16px; }
.gate-input {
  width: 100%;
  margin: 12px 0 16px;
  padding: 16px 18px;
  font-size: 17px;
  font-family: var(--body);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gate-input:focus { border-color: var(--cyan); box-shadow: var(--glow); }
.gate-input::placeholder { color: var(--grey-500); }
.gate-step .btn + .btn { margin-top: 10px; }
.gate-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--grey-300);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--display);
  transition: all 0.18s ease;
}
.chip.selected {
  background: rgba(0, 181, 226, 0.16);
  border-color: var(--cyan);
  color: var(--cyan-light);
  box-shadow: 0 0 16px rgba(0, 181, 226, 0.2);
}

/* ============================================================
   App shell
   ============================================================ */
.app { min-height: 100dvh; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: calc(var(--topbar-h) + var(--safe-top));
  padding: var(--safe-top) 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 26, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar-brand { display: flex; align-items: baseline; gap: 6px; }
.topbar-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.topbar-year { font-size: 12px; color: var(--grey-400); font-weight: 600; }
.topbar-actions { display: flex; gap: 8px; }

.screens {
  padding-top: calc(var(--topbar-h) + var(--safe-top));
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px);
}

.screen {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
  animation: screenIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes screenIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Bottom nav ---------- */
.bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  background: rgba(13, 20, 36, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--display);
  color: var(--grey-500);
  transition: color 0.2s ease;
  position: relative;
}
.nav-item.active { color: var(--cyan-light); }
.nav-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--cyan);
  box-shadow: 0 2px 12px var(--cyan);
}
.nav-item svg { transition: transform 0.2s ease; }
.nav-item:active svg { transform: scale(0.88); }

.nav-nova .nova-orb {
  width: 46px;
  height: 46px;
  margin-top: -22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--cyan) 55%, #0083b8 100%);
  box-shadow: 0 6px 22px rgba(0, 181, 226, 0.5), 0 0 0 5px var(--ink);
  transition: transform 0.2s ease;
}
.nav-nova.active .nova-orb { transform: translateY(-2px) scale(1.06); }
.nav-nova.active::before { display: none; }

/* ============================================================
   Cards & shared components
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
}
.card-press {
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.card-press:active { transform: scale(0.985); background: var(--card-hover); }

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 30px 0 6px;
}
.section-heading {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.03em;
  background: rgba(0, 181, 226, 0.14);
  color: var(--cyan-light);
}
.badge-coral { background: rgba(208, 54, 49, 0.16); color: #ff9b93; }
.badge-grey { background: rgba(148, 163, 184, 0.14); color: var(--grey-300); }

/* ============================================================
   Home
   ============================================================ */
.hero {
  position: relative;
  margin: 16px -16px 0;
  padding: 40px 24px 32px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 85% 0%, rgba(0, 181, 226, 0.18) 0%, transparent 55%),
    radial-gradient(80% 50% at 0% 100%, rgba(0, 56, 101, 0.5) 0%, transparent 60%),
    linear-gradient(165deg, var(--navy-mid) 0%, var(--ink) 70%);
  border-bottom: 1px solid var(--line);
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 181, 226, 0.35);
  background: rgba(0, 181, 226, 0.08);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(40px, 11vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--white);
}
.hero-title .year { color: var(--grey-400); font-weight: 300; }
.hero-tagline {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--display);
  color: var(--cyan-light);
}
.hero-sub {
  margin: 12px auto 0;
  max-width: 480px;
  font-size: 14px;
  color: var(--grey-400);
}
.hero-greeting {
  font-size: 14px;
  color: var(--grey-300);
  margin-bottom: 12px;
}
.hero-greeting b { color: var(--white); }

/* countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.cd-cell {
  min-width: 68px;
  padding: 12px 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.cd-num {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.cd-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* info row */
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.info-tile {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
}
.info-tile .it-icon { font-size: 20px; margin-bottom: 8px; }
.info-tile .it-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.info-tile .it-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  margin-top: 2px;
}
.info-tile .it-sub { font-size: 12px; color: var(--grey-400); margin-top: 2px; }

/* stats strip */
.stats {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0, 181, 226, 0.09) 0%, rgba(0, 181, 226, 0.02) 100%);
  border: 1px solid rgba(0, 181, 226, 0.18);
}
.stat-value {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  color: var(--cyan-light);
}
.stat-label { font-size: 11px; color: var(--grey-400); margin-top: 2px; }

/* keynote spotlight */
.keynote-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 60%, var(--ink-2) 100%);
  border: 1px solid rgba(0, 181, 226, 0.25);
}
.keynote-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 181, 226, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.speaker-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--navy) 100%);
  border: 2px solid rgba(255, 255, 255, 0.18);
}
.speaker-avatar.small { width: 48px; height: 48px; font-size: 17px; }
.keynote-head { display: flex; align-items: center; gap: 14px; position: relative; }
.keynote-name { font-size: 20px; font-weight: 800; color: var(--white); }
.keynote-role { font-size: 13px; color: var(--grey-300); }
.keynote-bio { font-size: 13.5px; color: var(--grey-300); margin-top: 14px; position: relative; }
.keynote-highlights { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.keynote-highlights li {
  list-style: none;
  font-size: 12.5px;
  color: var(--grey-300);
  padding-left: 20px;
  position: relative;
}
.keynote-highlights li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 11px;
}

/* why attend */
.why-card { display: flex; gap: 14px; align-items: flex-start; }
.why-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(0, 181, 226, 0.1);
  border: 1px solid rgba(0, 181, 226, 0.2);
}
.why-eyebrow {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.why-title { font-size: 15.5px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.why-body { font-size: 13px; color: var(--grey-400); }

.quote-card {
  text-align: center;
  background: linear-gradient(150deg, rgba(0, 181, 226, 0.08) 0%, transparent 100%);
  border-color: rgba(0, 181, 226, 0.2);
}
.quote-text {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  font-style: italic;
}
.quote-attr { font-size: 12.5px; color: var(--cyan-light); margin-top: 10px; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chip-static {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--grey-300);
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--display);
}

/* recommended strip */
.reco-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 16px 12px;
  margin: 0 -16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reco-scroll::-webkit-scrollbar { display: none; }
.reco-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
}
.reco-time { font-size: 12px; color: var(--cyan-light); font-weight: 700; font-family: var(--display); }
.reco-title { font-size: 14.5px; font-weight: 700; color: var(--white); margin: 6px 0; line-height: 1.3; }
.reco-desc { font-size: 13px; color: var(--grey-300); margin: 6px 0 0; line-height: 1.4; }
.reco-loc { font-size: 12px; color: var(--grey-500); }

/* action grid */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.action-tile {
  padding: 18px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.action-tile .at-icon { font-size: 22px; }
.action-tile .at-title { font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--white); }
.action-tile .at-sub { font-size: 12px; color: var(--grey-400); }

/* VeltrisOne teaser */
.v1-teaser {
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(0, 181, 226, 0.14) 0%, transparent 55%),
    linear-gradient(150deg, var(--ink-3) 0%, var(--ink-2) 100%);
  border: 1px solid rgba(0, 181, 226, 0.22);
}
.v1-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
}
.v1-logo .tm { font-size: 11px; vertical-align: super; color: var(--grey-400); }

/* ============================================================
   Agenda
   ============================================================ */
.agenda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 4px;
}
.seg {
  display: flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.seg button {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--display);
  color: var(--grey-400);
  transition: all 0.2s ease;
}
.seg button.active { background: var(--cyan); color: var(--ink); }

.timeline { position: relative; padding-left: 24px; margin-top: 16px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(0, 181, 226, 0.05) 100%);
}
.tl-item { position: relative; margin-bottom: 14px; }
.tl-dot {
  position: absolute;
  left: -24px;
  top: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 10px rgba(0, 181, 226, 0.4);
}
.tl-item.social .tl-dot { border-color: var(--coral); box-shadow: 0 0 10px rgba(208, 54, 49, 0.4); }
.tl-item.logistics .tl-dot { border-color: var(--grey-500); box-shadow: none; }

.session-card { width: 100%; text-align: left; }
.session-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.session-time {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan-light);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.session-title { font-size: 16px; font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 6px; }
.session-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--grey-500); flex-wrap: wrap; }
.session-speakers { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.session-speakers .names { font-size: 12.5px; color: var(--grey-300); }

.star-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-500);
  background: var(--card);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}
.star-btn.on {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.4);
  background: rgba(255, 209, 102, 0.1);
}
.star-btn:active { transform: scale(0.85); }

.empty-state { text-align: center; padding: 48px 24px; }
.empty-state .es-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state h3 { font-size: 19px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.empty-state p { font-size: 13.5px; color: var(--grey-400); margin-bottom: 20px; }

/* ============================================================
   Nova chat
   ============================================================ */
.nova-screen {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--topbar-h) - var(--safe-top) - var(--nav-h) - var(--safe-bottom) - 16px);
}
.nova-header { text-align: center; padding: 14px 0 10px; }
.nova-title { font-size: 19px; font-weight: 800; color: var(--white); display: flex; align-items: center; justify-content: center; gap: 8px; }
.nova-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 181, 226, 0.14);
  color: var(--cyan-light);
  text-transform: uppercase;
}
.nova-sub { font-size: 12px; color: var(--grey-500); margin-top: 2px; }

.nova-mode-seg { display: inline-flex; margin-top: 12px; }
.nova-mode-seg button { font-size: 12.5px; padding: 7px 15px; }

.nova-pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 2px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg { max-width: 86%; animation: msgIn 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg-nova { align-self: flex-start; }
.msg-user { align-self: flex-end; }
.msg-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.5;
}
.msg-nova .msg-bubble {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  color: var(--grey-300);
}
.msg-nova .msg-bubble b, .msg-nova .msg-bubble strong { color: var(--white); }
.msg-user .msg-bubble {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(0, 181, 226, 0.25);
  border-bottom-right-radius: 6px;
  color: var(--white);
}
.msg-bubble .mini-card {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 181, 226, 0.07);
  border: 1px solid rgba(0, 181, 226, 0.16);
  font-size: 13px;
}
.mini-card .mc-time { color: var(--cyan-light); font-weight: 700; font-size: 12px; font-family: var(--display); }
.mini-card .mc-title { color: var(--white); font-weight: 600; }
.mini-card .mc-sub { color: var(--grey-500); font-size: 12px; }

.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grey-500);
  animation: blink 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 70%, 100% { opacity: 0.25; } 35% { opacity: 1; } }

.chat-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
}
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips .chip { flex-shrink: 0; font-size: 13px; padding: 9px 14px; }

.chat-inputbar {
  display: flex;
  gap: 10px;
  padding: 8px 0 4px;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  padding: 13px 18px;
  font-size: 15px;
  font-family: var(--body);
  color: var(--white);
  background: var(--ink-3);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease;
}
.chat-input:focus { border-color: var(--cyan); }
.chat-send {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan) 0%, #0090c8 100%);
  color: var(--ink);
  transition: transform 0.15s ease;
}
.chat-send:active { transform: scale(0.9); }

/* ---------- Voice mode — Gemini-style live orb ---------- */
.voice-pane {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  padding: 10px 16px 8px;
}

.orb-stage {
  --vol: 0;
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.orb-glow {
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 181, 226, 0.32) 0%, transparent 70%);
  filter: blur(18px);
  opacity: 0.55;
  transform: scale(calc(1 + var(--vol) * 0.55));
  transition: transform 0.08s linear, background 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.orb {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.55;
  transform: scale(calc(1 + var(--vol) * 0.22));
  filter: brightness(calc(1 + var(--vol) * 0.5)) saturate(calc(1 + var(--vol) * 0.35));
  transition: filter 0.15s ease, opacity 0.4s ease;
}
.orb-blob {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(15px);
  mix-blend-mode: screen;
  animation: blobDrift 7s ease-in-out infinite;
}
.orb-blob.b1 { background: radial-gradient(circle at 35% 35%, var(--cyan-light) 0%, transparent 65%); animation-duration: 6.5s; }
.orb-blob.b2 { background: radial-gradient(circle at 65% 45%, var(--cyan) 0%, transparent 60%); animation-duration: 8s; animation-delay: -2.5s; }
.orb-blob.b3 { background: radial-gradient(circle at 50% 68%, var(--navy) 0%, transparent 70%); animation-duration: 9.5s; animation-delay: -4.5s; }

@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(6px, -8px) scale(1.08); }
  50% { transform: translate(-6px, 5px) scale(0.94); }
  75% { transform: translate(5px, 7px) scale(1.05); }
}

.orb-stage.orb-idle .orb { opacity: 0.55; }
.orb-stage.orb-idle .orb-blob { animation-duration: 12s; filter: blur(20px); }
.orb-stage.orb-idle .orb-glow { opacity: 0.2; }

.orb-stage.orb-connecting .orb-blob { animation-duration: 2.2s; }

.orb-stage.orb-listening .orb,
.orb-stage.orb-speaking .orb { opacity: 1; }

.orb-stage.orb-speaking .orb-blob.b1,
.orb-stage.orb-speaking .orb-blob.b2 {
  background: radial-gradient(circle at 40% 40%, #ffffff 0%, transparent 60%);
}
.orb-stage.orb-speaking ~ .voice-status { color: var(--white); }

.voice-status {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--cyan-light);
  letter-spacing: 0.01em;
  min-height: 20px;
}
.voice-caption {
  font-size: 13.5px;
  color: var(--grey-300);
  max-width: 320px;
  min-height: 20px;
  line-height: 1.5;
}
.voice-hint { font-size: 12px; color: var(--grey-500); max-width: 280px; }

/* ============================================================
   People (speakers + networking)
   ============================================================ */
.speaker-card { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; }
.sp-info { flex: 1; min-width: 0; }
.sp-name { font-size: 16.5px; font-weight: 800; color: var(--white); }
.sp-title { font-size: 13px; color: var(--grey-400); margin-top: 1px; }
.sp-role { margin-top: 8px; }

.tba-card {
  border-style: dashed;
  border-color: var(--line-strong);
  text-align: center;
  color: var(--grey-500);
  font-size: 13.5px;
  background: transparent;
}

.segment-card { display: flex; gap: 14px; align-items: flex-start; }
.match-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan-light);
}

.tp-card { border-left: 3px solid var(--cyan); }
.tp-topic { font-size: 12px; font-weight: 800; font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-light); margin-bottom: 8px; }
.tp-card ul { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.tp-card li { font-size: 13.5px; color: var(--grey-300); }

/* ============================================================
   Venue
   ============================================================ */
.venue-hero {
  margin: 16px 0 14px;
  padding: 26px 20px;
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(0, 181, 226, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-mid) 0%, var(--ink-2) 100%);
  border: 1px solid rgba(0, 181, 226, 0.18);
}
.venue-hero .vh-icon { font-size: 36px; margin-bottom: 10px; }
.venue-hero h2 { font-size: 22px; font-weight: 800; color: var(--white); line-height: 1.25; }
.venue-hero p { font-size: 13.5px; color: var(--grey-400); margin-top: 6px; }
.venue-hero .btn { margin-top: 16px; }

.map-card {
  padding: 0;
  overflow: hidden;
  border-color: rgba(0, 181, 226, 0.18);
}
.map-embed {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.v-item { display: flex; gap: 14px; align-items: flex-start; }
.v-item .vi-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: rgba(0, 181, 226, 0.1);
  border: 1px solid rgba(0, 181, 226, 0.18);
}
.v-item h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.v-item p { font-size: 13px; color: var(--grey-400); }

.contact-card { text-align: center; }
.contact-card .cc-name { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--white); margin-top: 4px; }
.contact-card .cc-title { font-size: 12.5px; color: var(--grey-500); margin-bottom: 14px; }

/* ============================================================
   VeltrisOne screen
   ============================================================ */
.v1-hero {
  margin: 16px 0 14px;
  padding: 30px 22px;
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(110% 90% at 80% 0%, rgba(0, 181, 226, 0.2) 0%, transparent 55%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 55%, var(--ink) 100%);
  border: 1px solid rgba(0, 181, 226, 0.3);
}
.v1-hero h2 { font-size: 26px; font-weight: 800; color: var(--white); }
.v1-hero .v1-head { font-size: 16px; color: var(--cyan-light); font-weight: 700; font-family: var(--display); margin-top: 6px; }
.v1-hero p { font-size: 13.5px; color: var(--grey-300); margin-top: 12px; text-align: left; }

.recog-card { display: flex; gap: 12px; align-items: flex-start; }
.recog-star {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--cyan-light);
  background: rgba(0, 181, 226, 0.1);
  border: 1px solid rgba(0, 181, 226, 0.2);
}

/* ============================================================
   Bottom sheet
   ============================================================ */
.sheet-backdrop, .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 6, 12, 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.sheet-backdrop.show, .modal-backdrop.show { opacity: 1; }

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  max-height: 86dvh;
  background: var(--ink-2);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.sheet.show { transform: translateY(0); }
.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: var(--grey-500);
  margin: 12px auto 4px;
  flex-shrink: 0;
  opacity: 0.5;
}
.sheet-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 20px calc(28px + var(--safe-bottom));
}
.sheet-content h3 { font-size: 20px; font-weight: 800; color: var(--white); line-height: 1.25; margin: 10px 0 6px; }
.sheet-content .sh-meta { font-size: 13px; color: var(--grey-400); display: flex; flex-direction: column; gap: 4px; margin: 12px 0; }
.sheet-content .sh-desc { font-size: 14px; color: var(--grey-300); margin: 12px 0 16px; }
.sh-subhead {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 18px 0 8px;
}
.moderator-card { border-color: rgba(0, 181, 226, 0.25); background: rgba(0, 181, 226, 0.05); }
.sheet-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.sheet-actions .btn { flex: 1; min-width: 140px; }

/* ============================================================
   Share modal
   ============================================================ */
.modal {
  position: fixed;
  z-index: 61;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  width: min(92vw, 380px);
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 28px 24px 24px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow);
}
.modal.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  color: var(--grey-500);
  width: 36px;
  height: 36px;
}
.modal-title { font-size: 21px; font-weight: 800; color: var(--white); }
.modal-sub { font-size: 13px; color: var(--grey-400); margin: 6px 0 18px; }
.qr-wrap {
  display: inline-block;
  padding: 14px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 0 32px rgba(0, 181, 226, 0.25);
}
#qr img, #qr canvas { display: block; width: 200px !important; height: 200px !important; image-rendering: pixelated; }

.entry-qr-card {
  text-align: center;
  background: linear-gradient(150deg, rgba(208, 54, 49, 0.1) 0%, transparent 100%);
  border-color: rgba(208, 54, 49, 0.3);
}
.entry-qr-img { display: block; width: 200px; height: 200px; }
.qr-url {
  font-size: 11.5px;
  color: var(--grey-500);
  margin: 14px 0 18px;
  word-break: break-all;
}
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 20px);
  transform: translateX(-50%) translateY(8px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  max-width: 86vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   Larger screens
   ============================================================ */
@media (min-width: 720px) {
  .screen { padding: 0 24px; }
  .hero { margin: 24px 0 0; border-radius: var(--radius); border: 1px solid var(--line); }
  .bottomnav { justify-content: center; }
  .nav-item { flex: 0 0 110px; }
}

/* ============================================================
   Motion preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
