/* ─────────────────────────────────────────────────────────
   Nearby Folk — Landing styles
   Brand: orange #FF7A18, purple #C84BFF, blue #5B8CFF
   Dark BG #0B1020, surface #14192B
   Fonts: Syne (display), DM Sans (body), JetBrains Mono (mono)
   ───────────────────────────────────────────────────────── */

:root {
  --orange: #FF7A18;
  --orange-dark: #CC5C00;
  --purple: #C84BFF;
  --blue: #5B8CFF;
  --bg: #0B1020;
  --bg-2: #0F1428;
  --surface: #14192B;
  --surface-2: #1C2238;
  --surface-3: #242A44;
  --border: #2A3050;
  --border-subtle: #1E2540;
  --text: #F2F2F8;
  --text-2: #AAABC8;
  --text-3: #666A8A;
  --grad: linear-gradient(135deg, #FF7A18 0%, #FF9A4A 60%, #FFB870 100%);
  --grad-warm: linear-gradient(135deg, #FF7A18, #FF3D7F);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --shadow-glow: 0 20px 60px -20px rgba(255,122,24,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.muted { color: var(--text-2); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Background brand glows */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
  pointer-events: none;
  z-index: 0;
}
.bg-glow--orange { background: var(--orange); top: -200px; left: -200px; opacity: .35; }
.bg-glow--purple { background: var(--purple); top: 30%; right: -250px; opacity: .12; }
.bg-glow--blue { background: var(--blue); bottom: -250px; left: 20%; opacity: .1; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  backdrop-filter: blur(14px);
  background: rgba(11,16,32,.65);
  border-bottom: 1px solid var(--border-subtle);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
}
.nav__brand img { border-radius: 8px; }
.nav__links { display: none; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav__links a:hover { color: var(--text); }
.nav__cta { white-space: nowrap; }
@media (min-width: 760px) {
  .nav__links { display: flex; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 70px -20px rgba(200,75,255,.5); }
.btn--ghost {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.05); border-color: var(--orange); }
.avatar-img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1.5px solid rgba(255,122,24,.4);
}
.chip--soft { background: rgba(255,122,24,.08); color: var(--orange); border: 1px solid rgba(255,122,24,.25); }
.chip--green { background: rgba(34,197,94,.15); color: #22C55E; border: 1px solid rgba(34,197,94,.4); }

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  padding: 60px 22px 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero { padding: 90px 22px 60px; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 60px; }
}
.hero__logo-wrap {
  width: 76px; height: 76px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border), 0 20px 50px -10px rgba(255,122,24,.35);
  margin-bottom: 22px;
  background: var(--surface);
}
.hero__logo { width: 100%; height: 100%; object-fit: cover; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .4px;
  color: var(--text-2);
  margin-bottom: 18px;
}
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.hero__title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-2);
  margin: 18px 0 28px;
  max-width: 540px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__avail {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-3);
}

/* ── PHONE MOCKUP ── */
.phone {
  position: relative;
  width: 290px;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #1c2238, #0d1124);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 2px #2a3050,
    0 30px 80px -10px rgba(0,0,0,.6),
    0 0 70px -10px rgba(255,122,24,.45);
}
.phone--tilt-l { transform: rotate(-4deg); }
.phone--tilt-r { transform: rotate(4deg); }
.phone--center { transform: translateY(-20px); }
.phone__notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #050811;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg);
}
.screen {
  position: absolute; inset: 0;
  padding: 36px 16px 16px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.screen__top {
  display: flex; justify-content: space-between; align-items: center;
}
.screen__title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
}

/* radar */
.radar {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 4px auto;
  display: grid; place-items: center;
}
.radar__ring, .radar__ring--2, .radar__ring--3 {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,122,24,.25);
  width: 100%; height: 100%;
  animation: ringPulse 3s ease-out infinite;
}
.radar__ring--2 { width: 70%; height: 70%; border-color: rgba(200,75,255,.25); animation-delay: -1s; }
.radar__ring--3 { width: 40%; height: 40%; border-color: rgba(91,140,255,.3); animation-delay: -2s; }
@keyframes ringPulse {
  0% { opacity: .8; transform: scale(.7); }
  100% { opacity: 0; transform: scale(1.05); }
}
.radar__sweep {
  position: absolute; inset: 0;
  background: conic-gradient(from 0deg, rgba(255,122,24,.45), transparent 60%);
  border-radius: 50%;
  animation: sweep 4s linear infinite;
  mix-blend-mode: screen;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__center {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px var(--orange);
}
.radar__dot {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 8px; height: 8px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--purple);
  transform: translate(-50%, -50%);
}
.radar__dot:nth-child(2n) { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.radar__cap { font-size: 11px; color: var(--text-3); text-align: center; margin: 0; }

.ghost-pill {
  display: inline-flex; gap: 4px; align-items: center;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(200,75,255,.15);
  color: var(--purple);
  border: 1px solid rgba(200,75,255,.4);
}

/* mini list (nearby) */
.mini-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 8px; }
.mini-list__item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}
.mini-list__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mini-list__text strong { font-size: 13px; }
.mini-list__text .muted { font-size: 10px; }

.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.avatar--a { background: linear-gradient(135deg, #FF7A18, #FF3D7F); }
.avatar--b { background: linear-gradient(135deg, #5B8CFF, #C84BFF); }
.avatar--c { background: linear-gradient(135deg, #C84BFF, #FF7A18); }
.avatar--d { background: linear-gradient(135deg, #22C55E, #5B8CFF); }
.avatar--e { background: linear-gradient(135deg, #FF7A18, #C84BFF); }
.avatar--f { background: linear-gradient(135deg, #5B8CFF, #22C55E); }
.avatar--g { background: linear-gradient(135deg, #FF3D7F, #C84BFF); }
.avatar--me { background: linear-gradient(135deg, #2A3050, #1C2238); border: 1px dashed var(--orange); color: var(--orange); }

.chip {
  font-size: 10px; padding: 4px 10px; border-radius: 999px; font-weight: 700;
  letter-spacing: .3px;
}
.chip--orange { background: rgba(255,122,24,.18); color: var(--orange); border: 1px solid rgba(255,122,24,.4); }
.chip--purple { background: rgba(200,75,255,.18); color: var(--purple); border: 1px solid rgba(200,75,255,.4); }
.chip--blue { background: rgba(91,140,255,.18); color: var(--blue); border: 1px solid rgba(91,140,255,.4); }

/* voice room screen */
.dot-live {
  font-size: 9px; font-weight: 800; letter-spacing: 1px;
  background: #ef4444; color: #fff; padding: 3px 8px; border-radius: 6px;
}
.vr__title { font-size: 16px; }
.vr__sub { font-size: 11px; margin-top: 2px; }
.vr__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.vr__seat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vr__seat .avatar { width: 44px; height: 44px; }
.vr__seat small { font-size: 10px; color: var(--text-2); }
.vr__seat.speaking .avatar { box-shadow: 0 0 0 2px var(--orange), 0 0 14px rgba(255,122,24,.6); }
.vr__seat--empty .avatar, .vr__seat--empty {
  border: 1px dashed var(--border); border-radius: 12px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--text-3); font-size: 10px;
}
.vr__bar { margin-top: auto; display: flex; gap: 8px; }
.vr__btn {
  flex: 1; padding: 8px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border-subtle);
  font-size: 11px; color: var(--text-2);
}
.vr__btn--exit { background: rgba(239,68,68,.15); color: #ef4444; border-color: rgba(239,68,68,.3); }

/* feed */
.post {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.post__head { display: flex; gap: 8px; align-items: center; }
.post__head strong { display: block; font-size: 12px; }
.post__head small { font-size: 10px; }
.post__body { font-size: 12px; color: var(--text); margin: 0; }
.post__meta { display: flex; gap: 12px; font-size: 10px; color: var(--text-3); }

/* spaces */
.story-row { display: flex; gap: 10px; overflow: hidden; }
.story { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.story .avatar { width: 44px; height: 44px; box-shadow: 0 0 0 2px var(--orange); }
.story--add .avatar { box-shadow: none; }
.story small { font-size: 9px; color: var(--text-2); }
.space-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.space-card__img {
  height: 80px;
  background: linear-gradient(135deg, #FF7A18 0%, #FF9A4A 50%, #FFB870 100%);
}
.space-card__body { padding: 8px 10px; }
.space-card__body strong { font-size: 12px; }
.space-card__body small { font-size: 10px; }
.space-card__body .post__meta { margin-top: 4px; }

/* ── SECTIONS ── */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 22px;
}
.section--mockups { padding-top: 40px; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 14px;
}
.section__title {
  font-size: clamp(28px, 5vw, 48px);
}
.section__sub {
  margin-top: 14px;
  color: var(--text-2);
  font-size: clamp(14px, 2vw, 17px);
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  justify-items: center;
}
@media (min-width: 880px) {
  .mockup-grid { grid-template-columns: repeat(3, 1fr); align-items: center; }
}

/* ── FEATURES ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  position: relative;
  padding: 26px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform .3s ease, border-color .3s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--orange); }
.feature h3 {
  font-size: 20px;
  margin: 18px 0 8px;
}
.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}
.feature__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
}
.feature__icon--orange { background: rgba(255,122,24,.18); color: var(--orange); }
.feature__icon--purple { background: rgba(255,122,24,.12); color: var(--orange); border: 1px solid rgba(255,122,24,.2); }
.feature__icon--blue { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.08); }

/* ── SAFETY ── */
.section--safety {
  background: linear-gradient(180deg, transparent, rgba(20,25,43,.6), transparent);
}
.safety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .safety-grid { grid-template-columns: repeat(3, 1fr); } }
.safety-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}
.safety-card h4 {
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.safety-card p { margin: 0; color: var(--text-2); font-size: 14px; }
.safety-cta { text-align: center; margin-top: 32px; }

/* ── FINAL CTA ── */
.cta-final {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 40px auto 80px;
  padding: 0 22px;
}
.cta-final__inner {
  background:
    radial-gradient(ellipse at top, rgba(255,122,24,.22), transparent 60%),
    linear-gradient(180deg, rgba(255,122,24,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,122,24,.25);
  border-radius: 32px;
  padding: 60px 30px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.cta-final h2 { font-size: clamp(26px, 5vw, 44px); margin-bottom: 14px; }
.cta-final p { color: var(--text-2); margin: 0 auto 28px; max-width: 460px; }
.cta-final small { display: block; margin-top: 14px; font-size: 12px; }

/* ── FOOTER ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  padding: 50px 22px 30px;
  position: relative;
  z-index: 1;
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 760px) { .footer__top { grid-template-columns: 1fr 2fr; } }
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__brand img { border-radius: 8px; }
.footer__brand strong { font-family: 'Syne', sans-serif; font-size: 18px; }
.footer__brand p { margin: 0; font-size: 13px; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.footer__nav h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 12px;
}
.footer__nav a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.footer__nav a:hover { color: var(--orange); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-3);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .radar__sweep, .radar__ring, .badge__dot { animation: none; }
}

/* ── LEGAL PAGES ── */
.legal {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 60px auto;
  padding: 40px 22px 80px;
}
.legal h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 8px;
}
.legal .updated { color: var(--text-3); font-size: 13px; margin-bottom: 30px; display: block; }
.legal h2 {
  font-size: 22px;
  margin: 36px 0 12px;
  font-family: 'Syne', sans-serif;
}
.legal h3 { font-size: 17px; margin: 24px 0 10px; font-family: 'DM Sans', sans-serif; }
.legal p, .legal li { color: var(--text-2); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--orange); text-decoration: underline; }
.legal .back { display: inline-block; margin-bottom: 30px; color: var(--text-2); font-size: 13px; }
.legal .back:hover { color: var(--orange); }

/* ─────────────────────────────────────────────────────────
   REAL APP MOCKUPS
   ───────────────────────────────────────────────────────── */

/* ── VOICE ROOM (matches voice_room_screen.dart) ── */
.screen--voice { background: #080E1E; padding: 36px 14px 12px; }
.vr__topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 0 10px;
}
.vr__collapse, .vr__share {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  display: grid; place-items: center;
  color: var(--text-2);
  cursor: default;
}
.vr__share { color: var(--orange); }
.vr__titles { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vr__titles strong {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vr__live {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 700; letter-spacing: 1.2px;
  color: #22C55E;
}
.vr__livedot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: pulse 1.6s infinite;
}
.vr__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 8px;
  padding: 8px 4px;
  flex: 1;
}
.vr__seat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 0;
}
.vr__avwrap {
  position: relative;
  width: 56px; height: 56px;
}
.vr__av {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #2A3050;
  background: var(--surface);
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}
.vr__av--a { background: linear-gradient(135deg, #FF7A18, #FF3D7F); }
.vr__av--b { background: linear-gradient(135deg, #5B8CFF, #C84BFF); }
.vr__av--c { background: linear-gradient(135deg, #C84BFF, #FF7A18); }
.vr__av--e { background: linear-gradient(135deg, #FF7A18, #C84BFF); }
.vr__av--f { background: linear-gradient(135deg, #5B8CFF, #22C55E); }
.vr__av--g { background: linear-gradient(135deg, #FF3D7F, #C84BFF); }
.vr__seat--speaking .vr__av {
  border-color: var(--orange);
  border-width: 2.5px;
  box-shadow:
    0 0 0 3px rgba(255,122,24,.18),
    0 0 18px rgba(255,122,24,.45);
  animation: speakerPulse 1.4s ease-in-out infinite;
}
@keyframes speakerPulse {
  50% { box-shadow: 0 0 0 5px rgba(255,122,24,.28), 0 0 26px rgba(255,122,24,.7); }
}
.vr__crown, .vr__mute {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid #080E1E;
  color: #fff;
}
.vr__crown { background: var(--orange); box-shadow: 0 0 8px rgba(255,122,24,.5); }
.vr__mute { background: #1A1A2E; color: var(--text-3); }
.vr__seat small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vr__seat--speaking small { color: var(--orange); font-weight: 600; }
.vr__pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px; font-weight: 700; letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255,122,24,.2);
  color: var(--orange);
}
.vr__muted { font-size: 9px; color: var(--text-3); }
.vr__row14 { height: 13px; }
.vr__bar {
  display: flex; gap: 8px;
  padding: 8px 4px 0;
}
.vr__btn {
  flex: 1;
  padding: 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  cursor: default;
}
.vr__btn--mic { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.vr__btn--leave {
  background: rgba(239,68,68,.18);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,.4);
}

/* ── COMMUNITIES (matches communities_screen.dart) ── */
.screen--communities { padding: 36px 12px 12px; }
.screen__title--with-icon { display: inline-flex; align-items: center; gap: 6px; }
.cc__section {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-3);
  margin: 10px 2px 6px;
}
.cc-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  margin-bottom: 8px;
  background: var(--surface);
  border: 1.5px solid rgba(255,122,24,.35);
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(255,122,24,.06);
}
.cc-card--official {
  background: linear-gradient(135deg, rgba(255,122,24,.12), var(--surface));
}
.cc-card--mini { padding: 8px 10px; border-width: 1px; box-shadow: none; }
.cc-card__icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.cc-card__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cc-card__info strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cc-card__info small {
  font-size: 9.5px;
  color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cc-card__tags {
  display: flex; gap: 4px;
  margin-top: 2px;
}
.cc-card__tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--surface-2);
  color: var(--text-3);
}
.cc-card__meta {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: var(--text-3);
}
.cc-card__count {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px;
  color: var(--text-3);
}

/* ── SPACES / HOME (matches spaces_row + home preview) ── */
.screen--spaces { padding: 36px 14px 12px; gap: 8px; }
.hp__top {
  display: flex; align-items: center; gap: 8px;
  padding-top: 2px;
}
.hp__top strong {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
}
.hp__sub { font-size: 11px; margin: 0 0 6px; }
.sp__row {
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding: 4px 0;
}
.sp__item {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.sp__ring {
  width: 52px; height: 52px;
  border-radius: 50%;
  padding: 2.5px;
  display: grid; place-items: center;
}
.sp__ring img,
.sp__inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
.sp__inner--a { background: linear-gradient(135deg, #FF7A18, #FF3D7F); }
.sp__inner--b { background: linear-gradient(135deg, #5B8CFF, #C84BFF); }
.sp__inner--c { background: linear-gradient(135deg, #C84BFF, #FF7A18); }
.sp__inner--e { background: linear-gradient(135deg, #FF7A18, #C84BFF); }
.sp__ring--unseen { border: 2.5px solid var(--orange); }
.sp__ring--seen { border: 2.5px solid #555; }
.sp__ring--add {
  border: 2px dashed rgba(255,122,24,.5);
  background: var(--surface);
}
.sp__addinner {
  font-size: 22px;
  color: var(--orange);
  font-weight: 300;
  line-height: 1;
}
.sp__item small {
  font-size: 10px;
  color: var(--text);
  font-weight: 500;
  max-width: 56px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.hp__card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 2px;
}
.hp__card-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255,122,24,.14);
  color: var(--orange);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hp__card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hp__card-row { display: flex; align-items: center; gap: 6px; }
.hp__card-row strong { font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif; }
.hp__card-text small { font-size: 10px; }
.hp__live-pill {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  color: #22C55E;
  border: 1px solid rgba(34,197,94,.28);
}
.hp__h {
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  margin: 8px 2px 4px;
  color: var(--text);
}

