/* ===========================================================================
   Beachwave — visual system from Beachwave.dc.html (Claude Design handoff)
   Palette: deep navy + ATProto blue + berry pink. Fonts: Bricolage Grotesque
   (display), Hanken Grotesk (body), JetBrains Mono (handles/records).
   =========================================================================== */
:root {
  color-scheme: light;
  --navy: #0B1A24;
  --navy-deep: #07141C;
  --p1: #0E2331;
  --p2: #122A38;
  --p-soft: #15303F;
  --blue: #007DC3;
  --blue-d: #006ba7;
  --sky: #4FB0E0;
  --pink: #DC136C;
  --pink-l: #FF6FA6;
  --mint: #B7D5D4;
  --peach: #F7C1BB;
  --bg: #EBF1F4;
  --surface: #fff;
  --ink: #0B1A24;
  --muted: rgba(11, 26, 36, .58);
  --line: rgba(11, 26, 36, .1);
  --line-d: rgba(255, 255, 255, .1);
  --display: 'Cabinet Grotesk', 'Alpino', system-ui, sans-serif;
  --serif: 'Zodiak', Georgia, 'Times New Roman', serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-family: 'Alpino', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.display { font-family: var(--display); letter-spacing: -.03em; }
.mono { font-family: var(--mono); }

/* animations -------------------------------------------------------------- */
@keyframes bwEq { 0%, 100% { transform: scaleY(.22); } 50% { transform: scaleY(1); } }
@keyframes bwPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.6); } }
@keyframes bwRing { 0% { box-shadow: 0 0 0 0 rgba(0, 125, 195, .5); } 70% { box-shadow: 0 0 0 14px rgba(0, 125, 195, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 125, 195, 0); } }
@keyframes bwFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- buttons ------------------------------------------------------------ */
button, .button, .btn-lg, .btn-block, .btn-sm, .chip, .link-btn {
  cursor: pointer;
  font-weight: 700;
  border: 0;
  font-family: inherit;
}
button, .button {
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 15px;
  box-shadow: 0 10px 26px rgba(0, 125, 195, .28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
}
button:hover, .button:hover { background: var(--blue-d); transform: translateY(-1px); }
button.secondary, .button.secondary {
  background: #F0F4F6;
  color: #37393A;
  border: 1px solid var(--line);
  box-shadow: none;
}
button.secondary:hover, .button.secondary:hover { background: #e6edf1; }
button.danger, .button.danger {
  background: rgba(220, 19, 108, .08);
  color: var(--pink);
  border: 1px solid rgba(220, 19, 108, .25);
  box-shadow: none;
}
button.danger:hover, .button.danger:hover { background: rgba(220, 19, 108, .14); }
.btn-block { width: 100%; padding: 15px; font-size: 16px; border-radius: 13px; }
.btn-lg {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; font-size: 16px;
  padding: 15px 24px; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 125, 195, .4);
}
.btn-lg img { width: 20px; height: 20px; border-radius: 5px; }
.btn-lg.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.btn-lg.ghost:hover { background: rgba(255, 255, 255, .07); }
.btn-sm { font-size: 13.5px; padding: 10px 14px; border-radius: 11px; }
.btn-sm.ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .18); box-shadow: none; }
.btn-sm.ghost:hover { background: rgba(255, 255, 255, .12); }
.link-btn { background: none; box-shadow: none; color: var(--blue); padding: 4px 2px; font-size: 13.5px; }
.link-btn:hover { background: none; color: var(--blue-d); text-decoration: underline; transform: none; }
.chip { background: #fff; color: #37393A; border: 1px solid var(--line); box-shadow: none; font-size: 13.5px; padding: 10px 14px; border-radius: 10px; }
.chip:hover { background: #f3f7f9; }

/* inputs ------------------------------------------------------------------ */
input, textarea {
  width: 100%;
  border: 1.5px solid rgba(0, 125, 195, .26);
  border-radius: 12px;
  padding: 14px;
  color: var(--ink);
  background: #F7FAFC;
  font-size: 15px;
}
input:focus, textarea:focus { outline: 3px solid rgba(0, 125, 195, .16); border-color: var(--blue); }
label { display: block; font-weight: 700; font-size: 13px; color: var(--muted); margin-bottom: 7px; }

/* badges / pills ---------------------------------------------------------- */
.live-badge, .pill-live, .pill-muted {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 999px;
}
.live-badge { background: var(--pink); color: #fff; }
.pill-live { background: rgba(220, 19, 108, .1); color: var(--pink); }
.pill-muted { background: rgba(11, 26, 36, .06); color: rgba(11, 26, 36, .55); }
.live-badge .dot, .pill-live .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: bwPulse 1.5s ease-in-out infinite; }
.live-badge .dot { background: #fff; }

/* equalizer --------------------------------------------------------------- */
.eq { display: inline-flex; align-items: flex-end; gap: 4px; height: 16px; }
.eq span { width: 3px; height: 100%; border-radius: 2px; background: var(--sky); transform-origin: bottom; animation: bwEq .9s ease-in-out infinite; }
.eq.big { gap: 5px; height: 46px; }
.eq.big span { width: 6px; animation-duration: 1.1s; }

/* avatars ----------------------------------------------------------------- */
.avatar {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff; font-weight: 800;
}
.avatar.av-0 { background: linear-gradient(150deg, #4FB0E0, #007DC3); }
.avatar.av-1 { background: linear-gradient(150deg, #F7C1BB, #DC136C); }
.avatar.av-2 { background: linear-gradient(150deg, #B7D5D4, #0B1A24); }
.avatar.av-3 { background: linear-gradient(150deg, #4FB0E0, #15303F); }
.avatar.muted { background: var(--p-soft); color: var(--mint); }
.avatar.ring { animation: bwRing 2.2s ease-out infinite; }

/* dark-panel helper ------------------------------------------------------- */
.panel-dark { background: linear-gradient(180deg, var(--p1), var(--navy)); color: #fff; }
.panel-dark label { color: rgba(255, 255, 255, .55); }
.panel-dark input, .panel-dark textarea { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.panel-dark .muted-note { color: rgba(255, 255, 255, .6); }

/* =====================  LANDING  ======================= */
.landing { width: 100%; }
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 26, 36, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lp-nav { display: flex; align-items: center; gap: 18px; padding: 12px 24px; max-width: 1240px; margin: 0 auto; }
.lp-brand { display: flex; align-items: center; gap: 11px; }
.lp-brand img { width: 34px; height: 34px; border-radius: 9px; }
.lp-brand span { font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; }
.lp-links { margin-left: auto; display: flex; gap: 6px; align-items: center; font-size: 13.5px; font-weight: 600; }
.lp-links a { color: rgba(255, 255, 255, .66); padding: 7px 11px; border-radius: 8px; }
.lp-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.lp-links .lp-repo { color: #fff; background: rgba(0, 125, 195, .9); }
.lp-links .lp-repo:hover { background: var(--blue); }

.lp-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.lp-hero-bg { position: absolute; inset: 0; opacity: .5; background: radial-gradient(900px 460px at 78% -8%, rgba(0, 125, 195, .55), transparent), radial-gradient(700px 420px at 6% 108%, rgba(220, 19, 108, .28), transparent); }
.lp-hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 84px 24px 76px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lp-pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 7px 14px 7px 9px; margin-bottom: 26px; font-size: 13px; font-weight: 600; }
.lp-pill-dot { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 5px; background: var(--pink); }
.lp-pill-dot span { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: bwPulse 1.6s ease-in-out infinite; }
.lp-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6.4vw, 92px); line-height: .94; letter-spacing: -.045em; margin: 0 0 22px; }
.lp-hero h1 .accent { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; color: var(--sky); }
.lp-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .74); max-width: 30em; margin: 0 0 34px; }
.lp-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* hero preview card */
.lp-preview { display: flex; justify-content: center; }
.lp-card { position: relative; width: min(420px, 100%); background: linear-gradient(180deg, var(--p2), var(--p1)); border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px; padding: 26px; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); animation: bwFloat 7s ease-in-out infinite; }
.lp-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.lp-card-here { font-size: 11.5px; color: rgba(255, 255, 255, .5); margin-left: auto; font-weight: 600; }
.lp-card-title { font-family: var(--display); font-weight: 700; font-size: 21px; margin-bottom: 4px; }
.lp-card-host { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 22px; }
.lp-card-avatars { display: flex; gap: 14px; justify-content: center; margin-bottom: 22px; }
.lp-card-avatars .a { text-align: center; }
.lp-card-avatars .avatar { width: 62px; height: 62px; font-size: 20px; margin: 0 auto; }
.lp-card-avatars .nm { font-size: 11px; margin-top: 7px; color: rgba(255, 255, 255, .7); }

/* primitives */
.lp-primitives { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 8px 24px 92px; }
.lp-prim-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.lp-prim-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); margin: 0; }
.accent-link { font-weight: 700; color: var(--sky); font-size: 15px; }
.lp-prim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-prim { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 26px; }
.lp-prim-ico { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; }
.lp-prim-ico i { display: block; }
.lp-prim h3 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 0 0 9px; }
.lp-prim p { margin: 0; color: rgba(255, 255, 255, .62); font-size: 15px; line-height: 1.55; }

/* sign in */
.signin { background: var(--bg); padding: 74px 24px; }
.invite-banner { max-width: 1000px; margin: 0 auto 18px; background: var(--navy); color: #fff; border: 1px solid rgba(0, 125, 195, .4); border-radius: 14px; padding: 14px 18px; font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; box-shadow: 0 14px 34px rgba(0, 125, 195, .18); }
.signin-card { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr .92fr; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(11, 26, 36, .14); border: 1px solid rgba(11, 26, 36, .08); }
.signin-left { position: relative; overflow: hidden; padding: 46px 40px; }
.signin-left::before { content: ""; position: absolute; inset: 0; opacity: .5; background: radial-gradient(500px 300px at 110% 0%, rgba(0, 125, 195, .5), transparent); }
.signin-left > * { position: relative; }
.signin-logo { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 26px; }
.signin-left h2 { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.05; margin: 0 0 16px; }
.signin-left > p { color: rgba(255, 255, 255, .66); font-size: 15.5px; line-height: 1.6; margin: 0 0 28px; max-width: 30em; }
.signin-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.signin-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.signin-points li::before { content: "→"; color: var(--sky); font-weight: 800; }
.signin-right { background: #fff; padding: 46px 40px; display: flex; flex-direction: column; justify-content: center; }
.field { display: flex; align-items: center; gap: 10px; border: 1.5px solid rgba(0, 125, 195, .3); border-radius: 13px; padding: 0 14px; background: #F7FAFC; margin-bottom: 16px; }
.field-at { color: var(--blue); font-weight: 600; }
.field input { border: 0; background: transparent; padding: 15px 0; font-family: var(--mono); }
.field input:focus { outline: none; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: rgba(11, 26, 36, .4); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dev-box { border: 1px solid var(--line); border-radius: 13px; padding: 16px; background: #F7FAFC; }
.dev-note { font-size: 13px; color: rgba(11, 26, 36, .62); line-height: 1.5; margin: 0 0 13px; }
.dev-form { display: grid; gap: 9px; }
.dev-form input { padding: 11px 13px; border-radius: 10px; }
.dev-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 2px; }

/* footer */
.lp-footer-wrap { background: var(--navy-deep); color: #fff; padding: 56px 24px 40px; }
.lp-footer { max-width: 1240px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.lp-footer-brand { max-width: 30em; }
.lp-footer-brand .lp-brand { margin-bottom: 14px; }
.lp-footer-brand p { color: rgba(255, 255, 255, .55); font-size: 14.5px; line-height: 1.6; margin: 0; }
.lp-footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.lp-footer-cols h4 { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: rgba(255, 255, 255, .35); margin: 0 0 14px; }
.lp-footer-cols div > a, .lp-footer-cols div > span { display: block; font-size: 14.5px; color: rgba(255, 255, 255, .72); font-weight: 600; margin-bottom: 10px; }
.lp-footer-cols a:hover { color: #fff; }
.lp-footer-base { max-width: 1240px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.status { color: var(--pink); min-height: 1.2rem; font-weight: 700; font-size: 14px; margin: 14px 0 0; }
.panel-dark .status { color: var(--pink-l); }

/* =====================  SIGNED-IN APP  ======================= */
.app { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; padding: 20px 0 64px; }
.appbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--navy); border-radius: 18px; padding: 14px 20px; margin-bottom: 28px; }
.appbar .lp-brand span { font-size: 18px; }
.appbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.appbar-id { display: grid; gap: 1px; line-height: 1.2; text-align: right; }
.appbar-id strong { color: #fff; font-size: 14px; }
.appbar-id span { color: rgba(255, 255, 255, .5); font-size: 12px; }
.badge.mode { font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: rgba(247, 193, 187, .2); color: var(--peach); }

.dash-head { margin-bottom: 24px; }
.dash-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.02em; margin: 0 0 6px; }
.dash-head p { margin: 0; color: var(--muted); font-size: 17px; }

.live-now { margin-bottom: 26px; }
.live-now .yr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.live-now .yr-head h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0; }
.dash-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: start; }
.create { border-radius: 22px; padding: 30px; position: relative; overflow: hidden; }
.create::before { content: ""; position: absolute; inset: 0; opacity: .5; background: radial-gradient(420px 240px at 110% -10%, rgba(0, 125, 195, .5), transparent); }
.create > * { position: relative; }
.create-title { font-family: var(--display); font-weight: 700; font-size: 23px; margin-bottom: 20px; }
.create form { display: grid; gap: 4px; }
.create textarea { min-height: 70px; resize: vertical; }
.create .field-gap { margin-bottom: 12px; }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); margin: 8px 0 18px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle .track { width: 42px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .18); position: relative; flex: none; transition: background .15s ease; }
.toggle .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s ease; }
.toggle input:checked + .track { background: var(--blue); }
.toggle input:checked + .track::after { left: 21px; }

.your-rooms .yr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.your-rooms .yr-head h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0; }
.room-list { display: grid; gap: 14px; }
.room-row { background: #fff; border: 1px solid rgba(11, 26, 36, .08); border-radius: 18px; padding: 20px 22px; box-shadow: 0 8px 24px rgba(11, 26, 36, .05); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.room-row.ended { opacity: .72; }
.room-row-main { min-width: 0; flex: 1; }
.room-row-top { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.room-row-top .here { font-size: 13px; color: var(--muted); font-weight: 600; }
.room-row-title { font-family: var(--display); font-weight: 700; font-size: 18px; }
.room-row-uri { font-size: 11.5px; color: rgba(11, 26, 36, .45); margin-top: 5px; word-break: break-all; }
.room-row-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.room-row-actions button, .room-row-actions .button { font-size: 13.5px; padding: 10px 14px; border-radius: 11px; box-shadow: none; }
.empty { color: var(--muted); padding: 22px; border: 1px dashed rgba(0, 125, 195, .25); border-radius: 16px; background: rgba(255, 255, 255, .6); text-align: center; }

.invite-card { background: #fff; border: 1px solid rgba(11, 26, 36, .08); border-radius: 20px; padding: 22px; margin-top: 22px; box-shadow: 0 10px 30px rgba(11, 26, 36, .06); }
.invite-card .eyebrow { color: var(--pink); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }

/* =====================  LIVE ROOM (stage)  ======================= */
.stage { margin-bottom: 28px; }
.room { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 22px; align-items: start; }
.room-main { border: 1px solid rgba(255, 255, 255, .09); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.room-head { display: flex; align-items: flex-start; gap: 16px; padding: 24px 26px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.room-head-text { min-width: 0; flex: 1; }
.room-tags { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.room-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 5px; color: #fff; }
.room-sub { color: rgba(255, 255, 255, .5); font-size: 14px; }
.room-sub strong { color: var(--mint); }
.room-section { padding: 24px 26px 4px; }
.room-section-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: rgba(255, 255, 255, .4); margin-bottom: 20px; }
.speaker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 22px 12px; }
.speaker { text-align: center; }
.speaker .avatar { width: 80px; height: 80px; font-size: 24px; margin: 0 auto 11px; }
.speaker-name { font-weight: 700; font-size: 14px; color: #fff; }
.speaker-role { font-size: 11.5px; color: rgba(255, 255, 255, .4); font-weight: 600; margin-top: 2px; }
.speaker-role.host { color: var(--pink); letter-spacing: .04em; }
.speaker-role.live { color: var(--sky); font-weight: 800; }
/* Active speaker: a clear lit ring + glow on the avatar and a lit name. */
.speaker.speaking .avatar { outline: 3px solid var(--sky); outline-offset: 3px; box-shadow: 0 0 22px rgba(79, 176, 224, .65); animation: bwRing 1.5s ease-out infinite; }
.speaker.speaking .speaker-name { color: var(--sky); }
.listener-grid { display: flex; flex-wrap: wrap; gap: 16px 10px; padding-bottom: 8px; }
.listener { text-align: center; width: 58px; }
.listener .avatar { width: 50px; height: 50px; font-size: 15px; margin: 0 auto 6px; }
.listener-name { font-size: 11px; color: rgba(255, 255, 255, .5); }
.room-controls { display: flex; align-items: center; gap: 12px; padding: 18px 26px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .2); flex-wrap: wrap; }
.room-controls-media { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.room-controls-media .muted-note { margin: 0; font-size: 13.5px; }
.btn-mic { background: var(--blue); color: #fff; font-size: 15px; padding: 13px 20px; border-radius: 13px; box-shadow: 0 10px 26px rgba(0, 125, 195, .34); }
.btn-leave { margin-left: auto; background: rgba(220, 19, 108, .16); color: var(--pink-l); border: 1px solid rgba(220, 19, 108, .4); font-size: 15px; padding: 13px 20px; border-radius: 13px; box-shadow: none; }
.btn-leave:hover { background: rgba(220, 19, 108, .26); }
.audio-unlock { padding: 0 26px; display: grid; }
.audio-unlock button { background: var(--pink); box-shadow: 0 10px 28px rgba(220, 19, 108, .22); }
.btn-mic.ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); box-shadow: none; }
.btn-mic.ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-mic:disabled { opacity: .6; cursor: default; transform: none; }
.request-control { display: flex; }
.request-list { display: grid; gap: 10px; }
.request-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 13px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.request-name { font-weight: 700; color: #fff; margin-right: auto; }

/* chat rail */
.room-chat { border: 1px solid rgba(255, 255, 255, .09); border-radius: 24px; display: flex; flex-direction: column; height: 560px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 18px 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.chat-head .display { font-weight: 700; font-size: 16px; color: #fff; }
.chat-head .chat-sub { font-size: 12px; color: rgba(255, 255, 255, .4); margin-left: auto; }
.chat { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-log { list-style: none; margin: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; flex: 1; }
.chat-message { display: grid; gap: 3px; max-width: 92%; }
.chat-message strong { font-size: 12px; font-weight: 800; color: var(--sky); }
.chat-message span { font-size: 14px; color: rgba(255, 255, 255, .85); line-height: 1.45; }
.chat-message.mine { align-self: flex-end; background: var(--blue); border-radius: 14px 14px 4px 14px; padding: 8px 13px; }
.chat-message.mine strong { color: rgba(255, 255, 255, .85); }
.chat-message.mine span { color: #fff; }
.chat-form { display: flex; gap: 9px; align-items: center; padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.chat-form input { flex: 1; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; border-radius: 12px; padding: 12px 14px; }
.chat-send { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 12px; font-size: 16px; }

/* responsive -------------------------------------------------------------- */
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-prim-grid { grid-template-columns: 1fr; }
  .signin-card { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .room { grid-template-columns: 1fr; }
  .room-chat { height: 460px; }
  .appbar-id { text-align: left; }
}
