/* =========================================================
   UNIVERSE-PRO — DESIGN SYSTEM
   Paleta e tipografia extraídas da identidade visual original
   (logo + nebulosa azul/vermelha + prints das páginas).
   ========================================================= */

:root {
  /* Cores base */
  --bg: #05070d;
  --bg-elevated: #0a0e1a;
  --surface: #0c111f;
  --surface-border: #1c2536;
  --surface-border-strong: #2a3550;

  /* Acentos da marca */
  --cyan: #22d3ee;
  --cyan-strong: #06b6d4;
  --cyan-glow: rgba(34, 211, 238, 0.35);
  --red: #ff2d55;
  --red-strong: #ff0844;
  --red-glow: rgba(255, 45, 85, 0.35);
  --yellow: #fbbf24;
  --purple: #a78bfa;
  --green: #34d399;

  /* Texto */
  --text: #eef2f8;
  --text-dim: #8f9bb3;
  --text-faint: #5a6478;

  /* Tipografia */
  --font-display: 'Chakra Petch', 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1180px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: none;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------
   HEADER / NAV
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand img { height: 28px; width: auto; }
.brand .pro { color: var(--cyan); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.main-nav a.active { color: var(--cyan); background: rgba(34, 211, 238, 0.08); }
.main-nav a.premium {
  color: var(--yellow);
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.06);
}

.nav-more { position: relative; }
.nav-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 6px;
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.nav-more.open .nav-more-menu { display: flex; }
.nav-more-menu a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-dim);
}
.nav-more-menu a:hover { background: rgba(255,255,255,0.05); color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 38px;
  height: 38px;
  cursor: pointer;
}

/* ---------------------------------------------------------
   BOTÕES
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-strong));
  color: #001318;
  box-shadow: 0 0 0 rgba(34,211,238,0);
}
.btn-cyan:hover { box-shadow: 0 6px 24px var(--cyan-glow); }

.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-strong));
  color: #1a0006;
  box-shadow: 0 0 0 rgba(255,45,85,0);
}
.btn-red:hover { box-shadow: 0 6px 24px var(--red-glow); }

.btn-outline-cyan {
  background: transparent;
  border-color: rgba(34, 211, 238, 0.5);
  color: var(--cyan);
}
.btn-outline-cyan:hover { background: rgba(34, 211, 238, 0.08); }

.btn-outline {
  background: transparent;
  border-color: var(--surface-border-strong);
  color: var(--text);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.72rem; }

/* ---------------------------------------------------------
   BADGES / EYEBROWS
   --------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.06);
  padding: 6px 14px;
  border-radius: 999px;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-top: 16px;
  line-height: 1.1;
}
.page-title .accent { color: var(--cyan); }
.page-title .accent-red { color: var(--red); }

.title-rule {
  width: 64px;
  height: 3px;
  background: var(--cyan);
  border-radius: 3px;
  margin-top: 18px;
}

.page-subtitle {
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 640px;
  margin-top: 18px;
}

.page-hero {
  padding: 56px 0 32px;
}

/* ---------------------------------------------------------
   CARDS
   --------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 26px;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-cyan   { background: rgba(34,211,238,0.1); color: var(--cyan); }
.icon-red    { background: rgba(255,45,85,0.1); color: var(--red); }
.icon-purple { background: rgba(167,139,250,0.1); color: var(--purple); }
.icon-green  { background: rgba(52,211,153,0.1); color: var(--green); }
.icon-yellow { background: rgba(251,191,36,0.1); color: var(--yellow); }

.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------------------------------------------------------
   ESTADO VAZIO
   --------------------------------------------------------- */
.empty-state {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 64px 24px;
  text-align: center;
}
.empty-state svg { color: var(--text-faint); margin: 0 auto 18px; }
.empty-state .title { color: var(--text); font-weight: 600; }
.empty-state .subtitle { color: var(--text-faint); font-size: 0.88rem; margin-top: 6px; }

/* ---------------------------------------------------------
   TABS / TOGGLES
   --------------------------------------------------------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border-strong);
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
}
.tab.active { background: var(--cyan); color: #001318; border-color: var(--cyan); }
.tab:not(.active):hover { color: var(--text); }

/* ---------------------------------------------------------
   FORMULÁRIOS
   --------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.form-note {
  font-size: 0.82rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}
.form-note.success { background: rgba(52,211,153,0.08); color: var(--green); border: 1px solid rgba(52,211,153,0.25); }
.form-note.error { background: rgba(255,45,85,0.08); color: var(--red); border: 1px solid rgba(255,45,85,0.25); }

/* ---------------------------------------------------------
   BLOQUEIO DE LOGIN
   --------------------------------------------------------- */
.locked-box { text-align: center; padding: 40px 24px; }
.locked-box .icon-box { margin: 0 auto 18px; width: 56px; height: 56px; border-radius: 999px; }
.locked-box h3 { font-size: 1.15rem; margin-bottom: 8px; }
.locked-box p { color: var(--text-dim); margin-bottom: 22px; }
.locked-box .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------
   SEÇÕES GENÉRICAS
   --------------------------------------------------------- */
.section { padding: 64px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-header .page-title { margin-top: 12px; }
.section-header .title-rule { margin-left: auto; margin-right: auto; }

.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------
   HERO (home)
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #0d1526 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--surface-border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
}
.hero-content { position: relative; z-index: 1; }
.hero-logo { width: 90px; margin: 0 auto 28px; filter: drop-shadow(0 0 24px rgba(34,211,238,0.35)); }
.hero-welcome { color: var(--text-dim); font-size: 1.05rem; }
.hero-welcome strong { color: var(--text); font-weight: 600; }
.hero-eyebrow { margin: 30px auto 0; }
.hero-title {
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.95;
  margin-top: 18px;
  text-transform: uppercase;
}
.hero-title .line-1 { color: var(--text); text-shadow: 0 0 40px rgba(238,242,248,0.35); display: block; }
.hero-title .line-2 { color: var(--red); text-shadow: 0 0 40px var(--red-glow); display: block; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------------------------------------------------------
   STATS BAR
   --------------------------------------------------------- */
.stats-bar {
  border-bottom: 1px solid var(--surface-border);
  padding: 32px 0;
}
.stats-bar .grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat .stat-icon { color: var(--cyan); margin: 0 auto 8px; }
.stat .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
}
.stat .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ---------------------------------------------------------
   CTA FINAL (vagas)
   --------------------------------------------------------- */
.cta-section {
  position: relative;
  text-align: center;
  padding: 90px 0;
  overflow: hidden;
  background: radial-gradient(100% 100% at 50% 100%, #10182a 0%, var(--bg) 70%);
}
.cta-section .hero-bg { opacity: 0.4; }
.cta-section .page-title { margin-top: 14px; }
.cta-section .page-subtitle { margin: 18px auto 0; text-align: center; }
.cta-section .btn { margin-top: 30px; }

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 56px 0 0;
  background: var(--bg-elevated);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; margin-top: 14px; max-width: 320px; }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.88rem;
  padding: 6px 0;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: var(--text-faint); }
.footer-bottom-links a:hover { color: var(--text-dim); }

/* ---------------------------------------------------------
   ACCORDION (campeonatos)
   --------------------------------------------------------- */
.accordion {
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: none;
  border: none;
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 16px 20px;
  cursor: pointer;
}
.accordion-trigger .chevron { transition: transform 0.2s ease; color: var(--text-dim); }
.accordion.open .chevron { transform: rotate(180deg); }
.accordion-panel {
  display: none;
  padding: 0 20px 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.accordion.open .accordion-panel { display: block; }

/* ---------------------------------------------------------
   TOAST (feedback global)
   --------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--surface);
  border: 1px solid var(--surface-border-strong);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  max-width: 320px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { border-left-color: var(--red); }

/* ---------------------------------------------------------
   PLANOS (premium)
   --------------------------------------------------------- */
.plan-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.plan-card.featured { border-color: var(--cyan); }
.plan-card.elite { border-color: rgba(251,191,36,0.5); }
.plan-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #001318;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.plan-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--surface-border); margin-bottom: 20px; }
.plan-head h3 { font-size: 1.15rem; }
.plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  margin-top: 4px;
}
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--cyan); }
.plan-price span { font-size: 0.9rem; color: var(--text-dim); font-weight: 500; }
.plan-desc { color: var(--text-dim); font-size: 0.88rem; margin: 10px 0 22px; }
.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text); }
.plan-features li.off { color: var(--text-faint); }
.plan-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--cyan); }
.plan-features li.off svg { color: var(--text-faint); }
.plan-card.elite .plan-price,
.plan-card.elite .plan-features li svg { color: var(--yellow); }
.plan-card .btn { margin-top: 24px; }

/* ---------------------------------------------------------
   TIMELINE (sobre)
   --------------------------------------------------------- */
.timeline { position: relative; padding-left: 90px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 46px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--surface-border-strong);
}
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-year {
  position: absolute;
  left: -90px;
  top: 18px;
  width: 46px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.85rem;
  text-align: right;
}
.timeline-dot {
  position: absolute;
  left: -44px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34,211,238,0.15);
}
.timeline-item .card h4 { font-size: 1rem; margin-bottom: 6px; }
.timeline-item .card p { font-size: 0.88rem; }

@media (max-width: 640px) {
  .timeline { padding-left: 56px; }
  .timeline-year { left: -56px; width: 40px; font-size: 0.7rem; }
  .timeline-dot { left: -22px; }
}

/* ---------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
  .hero { padding: 70px 0 50px; }
}

/* Reactions flutuantes (F6.P8) — bubbles emoji sobem no overlay do player. */
.reactions-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.reaction-bubble {
  position: absolute;
  bottom: 8px;
  will-change: transform, opacity;
  animation: bubble-up 3s ease-out forwards;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  user-select: none;
}
@keyframes bubble-up {
  0%   { transform: translateY(0)    scale(0.6); opacity: 0;   }
  15%  { transform: translateY(-40px) scale(1);   opacity: 1;   }
  100% { transform: translateY(-320px) scale(1.15); opacity: 0; }
}

.reactions-bar {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  align-items: center;
}
.reactions-bar button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  font-size: 1.2rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s;
}
.reactions-bar button:hover  { background: rgba(0, 255, 255, 0.1); border-color: var(--cyan); }
.reactions-bar button:active { transform: scale(0.9); }

/* ---------------------------------------------------------
   MODERAÇÃO DO CHAT
   O botão existe no HTML de todo mundo (o broadcast é um render único pra
   sala) e só aparece pra quem o servidor marcou como moderador.
   --------------------------------------------------------- */
.chat-msg-mod { display: none; }
.chat-panel[data-chat-moderator="true"] .chat-msg-mod {
  display: inline-block;
  float: right;
  background: none;
  border: 0;
  padding: 0 2px;
  line-height: 1;
  font-size: 0.95rem;
  color: var(--text-faint);
  cursor: pointer;
}
.chat-panel[data-chat-moderator="true"] .chat-msg-mod:hover { color: var(--red); }

/* ---------------------------------------------------------
   MINI-PLAYER GLOBAL (F6.P10)
   Pílula fixa no canto inferior direito, presente em todas as páginas.
   --------------------------------------------------------- */
.live-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 0.85rem;
}
.live-panel-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  color: var(--text);
  padding: 9px 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: border-color 0.15s;
}
.live-panel-pill:hover { border-color: var(--cyan); }

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1;   }
  50%      { opacity: 0.3; }
}

.live-panel-body {
  width: 320px;
  max-width: calc(100vw - 36px);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
.live-panel-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.live-panel-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  color: var(--text);
  border-bottom: 1px solid var(--surface-border);
}
.live-panel-player-bar button {
  background: none;
  border: 0;
  color: var(--text-faint);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.live-panel-player-bar button:hover { color: var(--red); }

.live-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}
.live-panel-list li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.live-panel-list li:last-child { border-bottom: 0; }
.live-panel-list button {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 10px 12px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.live-panel-list button:hover { background: rgba(0, 255, 255, 0.06); }
.live-panel-name    { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-panel-viewers { color: var(--text-faint); font-size: 0.75rem; }
.live-panel-open {
  padding: 10px 12px;
  color: var(--cyan);
  text-decoration: none;
}

@media (max-width: 560px) {
  .live-panel { right: 12px; bottom: 12px; }
}

/* Tabela do admin de canais. */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  text-align: left;
  padding: 12px 16px;
  color: var(--text-faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--surface-border);
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 16px;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table-sub { color: var(--text-faint); font-size: 0.78rem; }
.admin-table-sub a { color: var(--cyan); }
.admin-table td form { display: inline-block; margin: 0; }

/* ---------- Ads (F7) ---------- */
.ad-slot-wrap {
  display: flex;
  justify-content: center;
  margin: 24px auto;
}
.ad-slot {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
}
.ad-slot:empty { display: none; }
.ad-slot-link {
  display: block;
  width: 100%;
  height: 100%;
}
.ad-slot-link img {
  display: block;
  width: 100%;
  height: auto;
}
.ad-slot-label {
  position: absolute;
  top: 6px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-faint);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Segurança da conta / 2FA (F8.P6) --- */
.auth-slot-user:hover { color: var(--cyan); }
/* O QR precisa de fundo claro: leitor de celular depende do contraste, e o
   tema do site é escuro. */
.qr-frame {
  display: inline-block;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  line-height: 0;
}
.qr-frame svg { width: 200px; height: 200px; }
.otp-secret {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  word-break: break-all;
}
.recovery-code-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.recovery-code-list li {
  padding: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-align: center;
}
@media (max-width: 520px) {
  .recovery-code-list { grid-template-columns: 1fr; }
}
