:root {
  --bg: #030305;
  --bg-soft: #0a0a0d;
  --panel: #101013;
  --panel-hi: #18181c;
  --border: #212126;
  --border-hi: #2e2e34;
  --text: #ffffff;
  --text-dim: #9b999b;
  --text-faint: #656364;
  --accent: #fdbd27;
  --accent-ink: #241900;
  --accent-dim: rgba(253, 189, 39, 0.14);
  --accent-line: rgba(253, 189, 39, 0.38);
  --danger: #ff4d5e;
  --danger-dim: rgba(255, 77, 94, 0.12);
  --gold: #fdbd27;
  --radius: 12px;
  --radius-lg: 18px;
  --mono: 'SFMono-Regular',ui-monospace,'JetBrains Mono','Fira Code',Consolas,monospace;
  color-scheme: dark
}
* {
  box-sizing: border-box
}
[hidden] {
  display: none!important
}
body,
html {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
  -webkit-font-smoothing: antialiased
}
a {
  color: inherit;
  text-decoration: none
}
img,
video {
  max-width: 100%
}
.mono {
  font-family: var(--mono);
  letter-spacing: 0.06em
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px
}
::-webkit-scrollbar-track {
  background: transparent
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 20px;
  border: 3px solid var(--bg)
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hi)
}
@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(253, 189, 39, 0.5)
  }
  70% {
    box-shadow: 0 0 0 6px rgba(253, 189, 39, 0)
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96)
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}
@keyframes ring-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--accent-line)
  }
  50% {
    box-shadow: 0 0 0 5px rgba(253, 189, 39, 0)
  }
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(3, 3, 5, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border)
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px
}
.brand,
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em
}
.brand-mark,
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0
}
nav.main-nav {
  display: flex;
  gap: 26px
}
nav.main-nav a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.16s ease
}
nav.main-nav a:hover {
  color: var(--accent)
}
@media (max-width: 720px) {
  nav.main-nav {
    display: none
  }
}
.hero {
  padding: 76px 0 56px;
  text-align: center
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  animation: fade-up 0.5s ease both
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.13;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fade-up 0.5s 0.05s ease both
}
.hero h1 span {
  color: var(--accent)
}
.hero p.lead {
  color: var(--text-dim);
  font-size: 1.06rem;
  line-height: 1.6;
  max-width: 570px;
  margin: 0 auto 40px;
  animation: fade-up 0.5s 0.1s ease both
}
.action-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: left;
  animation: fade-up 0.5s 0.15s ease both
}
.tabs {
  display: flex;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px
}
.tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-dim);
  padding: 9px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit
}
.tab-btn.active {
  background: var(--accent);
  color: var(--accent-ink)
}
.field {
  margin-bottom: 16px
}
.field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600
}
.field input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.16s ease,box-shadow 0.16s ease
}
.field input:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-dim)
}
.field input.code-input {
  font-family: var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  color: var(--accent)
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 10px;
  border: none;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease,filter 0.16s ease,opacity 0.16s ease
}
.btn:hover {
  filter: brightness(1.08)
}
.btn:active {
  transform: scale(0.985)
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink)
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text)
}
.tab-panel {
  display: none
}
.tab-panel.active {
  display: block;
  animation: fade-up 0.25s ease both
}
.form-error {
  color: var(--danger);
  font-size: 0.84rem;
  margin: 10px 0 0;
  min-height: 1.2em
}
.features {
  padding: 64px 0;
  border-top: 1px solid var(--border)
}
.features h2 {
  text-align: center;
  font-size: 1.7rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em
}
.features p.section-lead {
  text-align: center;
  color: var(--text-dim);
  margin: 0 0 40px
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}
@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr
  }
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease,transform 0.2s ease
}
.feature-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px)
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.2rem
}
.feature-card h3 {
  margin: 0 0 7px;
  font-size: 1rem
}
.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55
}
.info-section {
  padding: 56px 0;
  border-top: 1px solid var(--border)
}
.info-section h2 {
  font-size: 1.5rem;
  margin: 0 0 22px
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr
  }
}
.step {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px
}
.step h3 {
  margin: 0 0 6px;
  font-size: 0.98rem
}
.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.89rem;
  line-height: 1.55
}
.step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 0.85rem
}
.info-section.privacy p {
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 760px;
  margin: 0
}
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0
}
footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px
}
.social-links {
  display: flex;
  gap: 16px
}
.social-links a {
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color 0.16s ease
}
.social-links a:hover {
  color: var(--accent)
}
.footer-note {
  color: var(--text-faint);
  font-size: 0.84rem
}
.call-body {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg)
}
.call-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  flex-shrink: 0
}
.brand-name {
  font-size: 0.95rem;
  letter-spacing: 0.12em
}
.topbar-spacer {
  flex: 1
}
.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.16s ease,transform 0.12s ease
}
.code-chip:hover {
  background: rgba(253, 189, 39, 0.22)
}
.code-chip:active {
  transform: scale(0.97)
}
.code-chip-icon {
  font-size: 0.8rem;
  opacity: 0.85
}
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: border-color 0.16s ease,background 0.16s ease,transform 0.12s ease
}
.chip-btn:hover {
  border-color: var(--border-hi);
  background: var(--panel-hi)
}
.chip-btn:active {
  transform: scale(0.97)
}
.chip-static,
.chip-status {
  cursor: default
}
.chip-static:hover,
.chip-status:hover {
  border-color: var(--border);
  background: var(--panel)
}
.chip-icon-only {
  padding: 7px 11px
}
.chip-icon {
  font-size: 0.85rem
}
.chip-btn.chip-active {
  background: var(--accent-dim);
  border-color: var(--accent-line);
  color: var(--accent)
}
.chip-btn.chip-danger {
  color: var(--danger);
  border-color: rgba(255, 77, 106, 0.28)
}
.chip-btn.chip-danger:hover {
  background: var(--danger-dim);
  border-color: var(--danger)
}
.host-only {
  display: none
}
body.is-host .host-only {
  display: inline-flex
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0
}
.dot-live {
  background: var(--accent);
  animation: pulse-dot 2.2s ease-out infinite
}
.dot-down {
  background: var(--danger)
}
@media (max-width: 720px) {
  .brand-name,
  .chip-text {
    display: none
  }
}
.call-main {
  flex: 1;
  display: flex;
  min-height: 0
}
.call-sidebar {
  width: 290px;
  flex-shrink: 0;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0
}
.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  min-height: 0
}
.sidebar-block {
  margin-bottom: 22px
}
.sidebar-block h4 {
  margin: 0 0 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  font-weight: 700
}
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s ease
}
.code-box:hover {
  border-color: var(--accent-line)
}
.code-value {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--accent)
}
.code-box-actions {
  display: flex;
  gap: 2px;
  flex-shrink: 0
}
.code-box button {
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px 5px;
  border-radius: 6px;
  transition: color 0.16s ease,background 0.16s ease
}
.code-box button:hover {
  color: var(--accent);
  background: var(--accent-dim)
}
.participant-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px
}
.participant-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 9px;
  font-size: 0.88rem;
  transition: background 0.16s ease,opacity 0.2s ease;
  animation: fade-up 0.25s ease both
}
.participant-row:hover {
  background: var(--panel)
}
.participant-row.offline {
  opacity: 0.4
}
.p-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--panel-hi);
  border: 1px solid var(--border-hi);
  color: var(--text);
  font-weight: 800;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.15s ease,border-color 0.15s ease
}
.participant-row.speaking .p-avatar,
.tile.speaking .tile-avatar {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-line);
  animation: ring-pulse 1.4s ease-out infinite
}
.p-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600
}
.p-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  flex-shrink: 0
}
.p-icons .muted {
  color: var(--danger)
}
.p-icons .live {
  color: var(--accent)
}
.p-icons .crown {
  color: var(--gold)
}
.p-kick-btn {
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 0.78rem;
  padding: 2px 4px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.16s ease,color 0.16s ease;
  flex-shrink: 0
}
.participant-row:hover .p-kick-btn {
  opacity: 1
}
.p-kick-btn:hover {
  color: var(--danger);
  background: var(--danger-dim)
}
.sidebar-controls {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg)
}
.ctrl-row {
  display: flex;
  gap: 8px
}
.ctrl-btn {
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  transition: background 0.16s ease,border-color 0.16s ease,color 0.16s ease,transform 0.12s ease
}
.ctrl-btn:hover {
  background: var(--panel-hi);
  border-color: var(--border-hi)
}
.ctrl-btn:active {
  transform: scale(0.96)
}
.ctrl-btn-wide {
  flex: 1;
  padding: 0 14px
}
.ctrl-label {
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap
}
.ctrl-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink)
}
.ctrl-btn.unsupported {
  opacity: 0.4
}
.ctrl-btn.active:hover {
  background: var(--accent);
  filter: brightness(1.06)
}
.self-row {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px
}
.self-name {
  flex: 1;
  font-size: 0.87rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}
.self-actions {
  display: flex;
  gap: 2px;
  flex-shrink: 0
}
.mini-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.92rem;
  padding: 5px 6px;
  border-radius: 7px;
  transition: color 0.16s ease,background 0.16s ease
}
.mini-btn:hover {
  background: var(--panel-hi);
  color: var(--text)
}
.mini-btn.is-off {
  color: var(--danger)
}
.mini-btn.is-on {
  color: var(--accent)
}
.mini-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed
}
.voice-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  padding: 8px 8px 8px 12px;
  transition: background 0.2s ease,border-color 0.2s ease
}
.voice-bar.is-down {
  background: var(--danger-dim);
  border-color: rgba(255, 77, 106, 0.3)
}
.voice-bar.is-down .voice-status {
  color: var(--danger)
}
.voice-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent)
}
.wifi-icon {
  font-size: 0.8rem
}
.hangup-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: none;
  background: var(--danger);
  color: #2a0006;
  font-size: 0.95rem;
  cursor: pointer;
  transition: filter 0.16s ease,transform 0.12s ease;
  flex-shrink: 0
}
.hangup-btn:hover {
  filter: brightness(1.1)
}
.hangup-btn:active {
  transform: scale(0.94)
}
.mobile-only {
  display: none
}
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 45;
  animation: fade-in 0.2s ease both
}
@keyframes fade-in {
  from {
    opacity: 0
  }
  to {
    opacity: 1
  }
}
.drawer-head {
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-shrink: 0
}
.drawer-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px
}
.drawer-close:hover {
  color: var(--text);
  background: var(--panel)
}
.drawer-extra {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}
.drawer-extra .mini-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 10px;
  font-size: 1.05rem
}
.more-sheet {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 84px;
  background: var(--panel);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 16px;
  z-index: 55;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.95);
  animation: fade-up 0.2s ease both
}
.more-sheet h4 {
  margin: 0 0 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  font-weight: 700
}
.more-sheet-items {
  display: flex;
  flex-direction: column;
  gap: 8px
}
.more-sheet-items .chip-btn {
  width: 100%;
  justify-content: flex-start;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem
}
.more-sheet-items .chip-btn .chip-text {
  display: inline
}
@media (max-width: 900px) {
  .mobile-only {
    display: flex
  }
  .sidebar-block.mobile-only {
    display: block
  }
  .call-main {
    flex-direction: column;
    padding-bottom: 66px
  }
  .call-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -100%;
    width: min(76vw, 300px);
    border-right: 1px solid var(--border-hi);
    z-index: 50;
    transition: left 0.25s ease;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.7)
  }
  body.panel-open .call-sidebar {
    left: 0
  }
  .sidebar-controls {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border-top: 1px solid var(--border)
  }
  .sidebar-controls .ctrl-row {
    gap: 10px
  }
  .ctrl-btn-wide {
    flex: 0 0 auto;
    padding: 0;
    min-width: 46px
  }
  .ctrl-label {
    display: none
  }
  .self-row {
    background: none;
    border: none;
    padding: 0;
    gap: 0
  }
  .self-row .p-avatar,
  .self-row .self-name {
    display: none
  }
  .self-actions .mini-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--panel);
    font-size: 1.1rem
  }
  .voice-bar {
    background: none;
    border: none;
    padding: 0
  }
  .voice-bar .voice-status {
    display: none
  }
  .hangup-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%
  }
  .call-topbar {
    padding: 8px 10px;
    gap: 6px;
    flex-wrap: nowrap
  }
  .topbar-actions {
    display: none
  }
  .code-chip {
    padding: 6px 10px;
    font-size: 0.8rem
  }
  #connection-status {
    padding: 7px 9px
  }
  .video-grid {
    padding: 8px;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr))
  }
  .pinned-layout {
    padding: 8px;
    gap: 8px
  }
  .thumb-strip .tile {
    width: 116px;
    height: 70px
  }
  .zoom-hint {
    font-size: 0.7rem;
    bottom: 10px
  }
  .zoom-controls {
    right: 10px;
    bottom: 10px;
    padding: 5px 7px
  }
  .zoom-controls .zoom-reset {
    display: none
  }
  .settings-popover {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 84px
  }
}
body.immersive .call-topbar,
body.immersive .more-sheet,
body.immersive .scrim,
body.immersive .thumb-strip {
  display: none!important
}
body.immersive .call-sidebar {
  width: 0;
  min-width: 0;
  border: none;
  background: none;
  box-shadow: none;
  overflow: visible
}
body.immersive .drawer-head,
body.immersive .sidebar-scroll {
  display: none!important
}
body.immersive .call-main {
  padding-bottom: 0
}
body.immersive .pinned-layout {
  padding: 0;
  gap: 0
}
body.immersive .stage-zoom-wrap {
  border-radius: 0
}
body.immersive .pinned-area .tile {
  border: none;
  border-radius: 0
}
body.immersive .video-grid {
  padding: 4px;
  gap: 4px
}
body.immersive .sidebar-controls {
  position: fixed;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: 14px;
  width: auto;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  background: rgba(3, 3, 5, 0.82);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  gap: 8px;
  flex-direction: row;
  z-index: 70;
  opacity: 0.35;
  transition: opacity 0.25s ease
}
body.immersive .sidebar-controls:hover,
body.immersive.controls-awake .sidebar-controls {
  opacity: 1
}
body.immersive .self-row {
  background: none;
  border: none;
  padding: 0;
  gap: 0
}
body.immersive .ctrl-label,
body.immersive .self-row .p-avatar,
body.immersive .self-row .self-name {
  display: none
}
body.immersive .self-actions .mini-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel)
}
body.immersive .voice-bar {
  background: none;
  border: none;
  padding: 0
}
body.immersive .voice-bar .voice-status {
  display: none
}
.call-stage-area {
  flex: 1;
  position: relative;
  background: radial-gradient(circle at 50% 40%, #100c04 0, var(--bg) 70%);
  overflow: hidden;
  display: flex;
  min-width: 0
}
.video-grid {
  width: 100%;
  height: 100%;
  display: grid;
  gap: 10px;
  padding: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-rows: minmax(140px, 1fr)
}
.pinned-layout {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  min-height: 0
}
.stage-zoom-wrap {
  flex: 1;
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg)
}
.pinned-area {
  width: 100%;
  height: 100%
}
.pinned-area .tile {
  width: 100%;
  height: 100%
}
.thumb-strip {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px
}
.thumb-strip:empty {
  display: none
}
.thumb-strip .tile {
  width: 176px;
  height: 106px;
  flex-shrink: 0
}
.tile {
  position: relative;
  background: #0a0a0c;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  animation: fade-up 0.3s ease both;
  transition: border-color 0.2s ease,transform 0.2s ease
}
.tile.clickable {
  cursor: pointer
}
.tile.clickable:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px)
}
.tile.speaking {
  border-color: var(--accent-line)
}
.tile video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050506;
  display: block;
  transform-origin: center center
}
.tile-avatar-wrap {
  display: flex;
  align-items: center;
  justify-content: center
}
.tile-avatar {
  border-radius: 50%;
  background: #26262b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text);
  border: 2px solid transparent;
  transition: box-shadow 0.15s ease,border-color 0.15s ease
}
.tile:not(.pinned) .tile-avatar {
  width: 68px;
  height: 68px;
  font-size: 1.3rem
}
.tile.pinned .tile-avatar {
  width: 148px;
  height: 148px;
  font-size: 2.5rem
}
.thumb-strip .tile .tile-avatar {
  width: 44px;
  height: 44px;
  font-size: 0.9rem
}
.tile-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(3, 3, 5, 0.85);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.79rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 20px);
  backdrop-filter: blur(6px)
}
.tile-label .name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}
.tile-label .mic-muted {
  color: var(--danger)
}
.tile-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase
}
.zoom-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(3, 3, 5, 0.88);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  padding: 6px 8px;
  backdrop-filter: blur(8px);
  z-index: 3;
  animation: fade-up 0.25s ease both
}
.zoom-controls button {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  font-family: inherit;
  transition: background 0.16s ease,border-color 0.16s ease
}
.zoom-controls button:hover {
  background: var(--panel-hi);
  border-color: var(--accent-line)
}
.zoom-controls .zoom-reset {
  width: auto;
  border-radius: 999px;
  padding: 0 12px;
  height: 28px;
  font-size: 0.74rem;
  font-weight: 700
}
#zoom-level {
  font-size: 0.76rem;
  color: var(--text-dim);
  min-width: 44px;
  text-align: center
}
.zoom-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(3, 3, 5, 0.88);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.75rem;
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 4;
  transition: opacity 0.4s ease;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
  max-width: calc(100% - 32px);
  text-align: center
}
.zoom-hint:hover {
  color: var(--text);
  border-color: var(--border-hi)
}
.zoom-hint.fade {
  opacity: 0;
  pointer-events: none
}
.stage-zoom-wrap.zoomed {
  cursor: grab
}
.stage-zoom-wrap.grabbing {
  cursor: grabbing
}
.stage-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-dim);
  text-align: center;
  padding: 24px;
  background: var(--bg);
  z-index: 5
}
.stage-empty p {
  margin: 0;
  font-size: 0.95rem
}
.stage-empty .spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border-hi);
  border-top-color: var(--accent);
  animation: spin 0.85s linear infinite
}
.toast-stack {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 60;
  align-items: center;
  pointer-events: none
}
.toast {
  background: var(--panel);
  border: 1px solid var(--border-hi);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.9);
  animation: toast-in 0.24s ease both
}
.toast-danger {
  border-color: rgba(255, 77, 106, 0.4);
  color: var(--danger)
}
.settings-popover {
  position: fixed;
  bottom: 190px;
  left: 14px;
  max-height: calc(100vh - 230px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 16px;
  width: 262px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.95);
  z-index: 40;
  animation: fade-up 0.2s ease both
}
.settings-popover h4 {
  margin: 0 0 7px;
  font-size: 0.7rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700
}
.settings-popover select {
  width: 100%;
  margin-bottom: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-family: inherit;
  outline: none
}
.settings-popover select:last-child {
  margin-bottom: 0
}
.settings-popover select:focus {
  border-color: var(--accent-line)
}
.name-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 3, 5, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: gate-in 0.22s ease both
}
@keyframes gate-in {
  from {
    opacity: 0
  }
  to {
    opacity: 1
  }
}
.name-gate-card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  padding: 26px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: gate-card-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1) both
}
@keyframes gate-card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98)
  }
  to {
    opacity: 1;
    transform: none
  }
}
.name-gate-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px
}
.name-gate-card h2 {
  margin: 0 0 6px;
  font-size: 1.22rem;
  letter-spacing: -0.01em
}
.name-gate-lead {
  margin: 0 0 18px;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5
}
.name-gate-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 7px
}
.name-gate-label span {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500
}
#name-gate-input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 13px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease,box-shadow 0.15s ease
}
#name-gate-input::placeholder {
  color: var(--text-faint)
}
#name-gate-input:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-dim)
}
.name-gate .form-error {
  margin: 8px 0 0
}
#name-gate-btn {
  width: 100%;
  margin-top: 12px;
  justify-content: center
}
@media (max-width: 520px) {
  .name-gate-card {
    padding: 22px 18px 20px
  }
}
.participant-row.clickable {
  cursor: pointer
}
.participant-row.clickable:hover {
  background: var(--panel-hi)
}
.participant-row.clickable:active {
  transform: scale(0.99)
}
.unpin-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(60vw, 260px);
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: rgba(10, 10, 13, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  animation: fade-up 0.2s ease both;
  transition: background 0.15s ease,border-color 0.15s ease
}
.unpin-chip:hover {
  background: rgba(24, 24, 28, 0.92);
  border-color: var(--accent)
}
.unpin-chip #unpin-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}
.unpin-x {
  color: var(--accent);
  font-size: 0.8rem;
  line-height: 1
}
@media (max-width: 900px) {
  .unpin-chip {
    top: 10px;
    left: 10px;
    font-size: 0.72rem;
    padding: 5px 9px 5px 8px
  }
}
.ctrl-label {
  overflow: hidden;
  text-overflow: ellipsis
}
.ctrl-btn.trocando .icon {
  animation: girar 0.7s linear infinite
}
.ctrl-btn.trocando {
  opacity: 0.75
}
@keyframes girar {
  to {
    transform: rotate(360deg)
  }
}

.settings-note {
  margin: 8px 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--text-faint);
}

.ctrl-btn.precisa-retomar {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
  animation: pulsar-retomar 1.6s ease-in-out infinite;
}

@keyframes pulsar-retomar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

@media (max-width: 900px) {
  .settings-popover {
    bottom: 92px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100vh - 130px);
  }
}
