:root {
  --bg: #0f1115;
  --panel: #171a21;
  --panel-2: #1f2430;
  --text: #f4f7fb;
  --muted: #a7b0c0;
  --line: rgba(255,255,255,0.08);
  --accent: #ffffff;
  --accent-text: #111111;
  --danger: #ff6b6b;
  --success: #4ade80;
  --shadow: 0 20px 50px rgba(0,0,0,0.35);
  --radius: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 35%),
    linear-gradient(180deg, #0d1016 0%, #0f1115 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.75);
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero {
  padding: 42px;
  display: grid;
  gap: 18px;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

button,
.btn {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 16px 22px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.meta {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}

.meta-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.meta-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.video-wrap {
  margin-top: 22px;
  padding: 14px;
}

.video-wrap video {
  display: block;
  width: 100%;
  border-radius: 18px;
  background: #000;
}

.timer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  margin-top: 8px;
}

.timer-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
}

.center-card {
  max-width: 760px;
  margin: 80px auto 0;
}

.stack {
  display: grid;
  gap: 18px;
}

.form-card {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 32px;
}

input[type="text"],
input[type="file"] {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
}

label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.list li + li {
  margin-top: 10px;
}

.notice {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.notice.success { border-color: rgba(74, 222, 128, 0.25); }
.notice.danger { border-color: rgba(255, 107, 107, 0.25); }

.small {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero { padding: 28px; }
  .meta-grid { grid-template-columns: 1fr; }
  p { font-size: 16px; }
}


/* WATCH LIVE PLAYER */
.compact-hero {
  gap: 14px;
}

.live-timer {
  margin-top: 2px;
}

.cinematic-wrap {
  padding: 10px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.06);
}

.player-shell video {
  display: block;
  width: 100%;
  max-height: 76vh;
  background: #000;
  object-fit: contain;
  pointer-events: none;
}

.player-actions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.icon-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(15,17,21,0.72);
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.icon-btn:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

@media (max-width: 820px) {
  .player-actions {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .icon-btn {
    width: 100%;
    justify-content: center;
  }
}

.live-kicker {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.28);
}


.status-online {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.65);
  flex: 0 0 12px;
}


.preview-actions-below {
  position: static;
  right: auto;
  bottom: auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px 16px 18px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.preview-actions-below .icon-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}


.teaser-box {
  margin-top: 16px;
  padding: 14px 6px 4px;
  border-top: 0;
  background: transparent;
  text-align: center;
}

.teaser-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.teaser-sub {
  max-width: 560px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}


/* force remove black strip under video buttons */
.preview-actions-below,
.player-actions.preview-actions-below {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 14px 0 0 !important;
  background: transparent !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

.preview-actions-below .icon-btn,
.player-actions.preview-actions-below .icon-btn {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

.player-shell {
  background: transparent !important;
}

.player-shell video {
  background: #000 !important;
}

/* remove frame around video + buttons */
.card.video-wrap.cinematic-wrap {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.player-shell {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.player-shell video {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 18px !important;
  display: block !important;
}

.preview-actions-below,
.player-actions.preview-actions-below {
  margin-top: 12px !important;
}

/* remove frame around video + buttons */
.card.video-wrap.cinematic-wrap {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.player-shell {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.player-shell video {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 18px !important;
  display: block !important;
}

.preview-actions-below,
.player-actions.preview-actions-below {
  margin-top: 12px !important;
}


/* prettier teaser */
.teaser-box {
  margin-top: 22px !important;
  padding: 10px 8px 2px !important;
  border-top: 0 !important;
  background: transparent !important;
  text-align: center !important;
  max-width: 620px;
  margin-left: auto !important;
  margin-right: auto !important;
  animation: teaserSoftFloat 3.8s ease-in-out infinite;
}

.teaser-title {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  margin-bottom: 8px !important;
}

.teaser-title::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.55);
  animation: teaserDotPulse 1.8s ease-in-out infinite;
}

.teaser-sub {
  max-width: 520px;
  margin: 0 auto !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: rgba(244,247,251,0.72) !important;
  letter-spacing: 0.01em;
}

@keyframes teaserDotPulse {
  0% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); opacity: 0.85; }
}

@keyframes teaserSoftFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0px); }
}


/* mobile fix for two buttons on preview-used page */
@media (max-width: 820px) {
  .actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .actions a,
  .actions .btn,
  .actions form,
  .actions form button {
    width: 100% !important;
  }

  .actions a,
  .actions .btn,
  .actions form button {
    text-align: center !important;
    justify-content: center !important;
  }
}

/* strong mobile fix for action buttons */
@media (max-width: 820px) {
  .actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .actions > * {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
  }

  .actions a,
  .actions .btn,
  .actions .btn-secondary,
  .actions button,
  .actions form button {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* audience badge top-right */
.audience-badge {
  position: absolute;
  top: 28px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 20;
}

.audience-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.55);
  animation: audiencePulse 1.8s ease-in-out infinite;
}

@keyframes audiencePulse {
  0% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); opacity: 0.82; }
}

@media (max-width: 820px) {
  .audience-badge {
    position: static;
    margin-left: auto;
    margin-bottom: 18px;
    width: fit-content;
    max-width: 100%;
    font-size: 13px;
  }
}


/* fixed topbar for brand + spectators */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.brand {
  margin-bottom: 0 !important;
}

.audience-badge {
  position: static !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 20;
  margin-left: auto;
}

.audience-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.55);
  animation: audiencePulse 1.8s ease-in-out infinite;
}

@keyframes audiencePulse {
  0% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); opacity: 0.82; }
}

@media (max-width: 820px) {
  .topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  .brand {
    font-size: 13px !important;
    margin-bottom: 0 !important;
    flex: 0 1 auto;
    min-width: 0;
  }

  .audience-badge {
    position: static !important;
    margin: 0 !important;
    margin-left: auto !important;
    width: fit-content !important;
    max-width: 60% !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
    white-space: nowrap !important;
  }
}


/* ===== audience layout fix ===== */

/* secure lock instead of green dot */
.brand-dot {
  width: 14px !important;
  height: 14px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.brand-dot::before {
  content: '🔒';
  font-size: 12px;
  line-height: 1;
  opacity: 0.92;
}

/* keep topbar clean */
.topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 24px !important;
}

.brand {
  margin-bottom: 0 !important;
}

/* default badge text */
.audience-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  z-index: 20;
}

/* homepage: no frame, just dot + text */
.home-audience-badge {
  position: static !important;
  margin-left: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* video pages: badge over video, top-right, with oval frame */
.video-audience-badge {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  background: rgba(15, 17, 21, 0.72) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) !important;
}

/* pulsing green dot stays */
.audience-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.55);
  animation: audiencePulse 1.8s ease-in-out infinite;
}

/* mobile */
@media (max-width: 820px) {
  .topbar {
    margin-bottom: 18px !important;
  }

  .brand {
    font-size: 13px !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  .home-audience-badge {
    font-size: 12px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .video-audience-badge {
    top: 12px !important;
    right: 12px !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
    max-width: calc(100% - 24px) !important;
    white-space: nowrap !important;
  }
}

/* minimalist trust footer */
.trust-footer {
  margin-top: 34px;
  padding-top: 8px;
}

.trust-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.trust-footer-centered {
  justify-content: center;
}

.trust-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(244,247,251,0.62);
  font-size: 13px;
  font-weight: 600;
}

.trust-note-centered {
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.trust-pill-soft {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.08);
  color: #2f3640;
}

.trust-separator {
  color: rgba(255,255,255,0.26);
  font-size: 14px;
  line-height: 1;
}

.trust-powered {
  color: rgba(244,247,251,0.64);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 820px) {
  .trust-footer {
    margin-top: 26px;
  }

  .trust-footer-inner {
    padding-top: 12px;
  }

  .trust-note {
    gap: 8px;
    font-size: 12px;
  }

  .trust-powered {
    font-size: 12px;
  }
}

/* footer trust bar - bottom of page, smaller, tighter */
html, body {
  min-height: 100%;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.trust-footer {
  margin-top: auto !important;
  padding-top: 18px !important;
}

.trust-footer-inner {
  justify-content: center !important;
  padding-top: 10px !important;
}

.trust-note {
  gap: 6px !important;
  font-size: 10px !important;
}

.trust-pill {
  min-height: 22px !important;
  padding: 4px 9px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
}

.trust-pill-soft {
  background: #ffffff !important;
  color: #3b4350 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.trust-pill-soft::before {
  content: '🔒';
  font-size: 9px;
  line-height: 1;
  margin-right: 3px;
}

.trust-separator {
  font-size: 11px !important;
  color: rgba(255,255,255,0.22) !important;
}

.trust-powered {
  font-size: 10px !important;
  color: rgba(244,247,251,0.58) !important;
}

@media (max-width: 820px) {
  .trust-footer {
    padding-top: 14px !important;
  }

  .trust-note {
    gap: 5px !important;
    font-size: 10px !important;
  }

  .trust-pill {
    min-height: 20px !important;
    padding: 3px 8px !important;
    font-size: 8px !important;
  }

  .trust-pill-soft::before {
    font-size: 8px;
    margin-right: 2px;
  }

  .trust-powered {
    font-size: 10px !important;
  }
}

/* trust footer final fix */
.trust-footer {
  margin-top: auto !important;
  padding-top: 14px !important;
  padding-bottom: 18px !important;
}

.trust-footer-inner {
  justify-content: center !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.trust-note {
  gap: 8px !important;
  font-size: 13px !important;
}

.trust-pill {
  min-height: 30px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.trust-pill-soft {
  background: #ffffff !important;
  color: #3b4350 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.trust-pill-soft::before {
  content: '🔒';
  font-size: 12px !important;
  line-height: 1 !important;
  margin-right: 3px !important;
}

.trust-separator {
  font-size: 14px !important;
  color: rgba(255,255,255,0.22) !important;
}

.trust-powered {
  font-size: 13px !important;
  color: rgba(244,247,251,0.64) !important;
}

@media (max-width: 820px) {
  .trust-footer {
    padding-top: 12px !important;
    padding-bottom: 16px !important;
  }

  .trust-note {
    gap: 7px !important;
    font-size: 12px !important;
  }

  .trust-pill {
    min-height: 28px !important;
    padding: 5px 11px !important;
    font-size: 11px !important;
  }

  .trust-pill-soft::before {
    font-size: 11px !important;
    margin-right: 3px !important;
  }

  .trust-powered {
    font-size: 12px !important;
  }
}

/* trust footer final fix */
.trust-footer {
  margin-top: auto !important;
  padding-top: 14px !important;
  padding-bottom: 18px !important;
}

.trust-footer-inner {
  justify-content: center !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.trust-note {
  gap: 8px !important;
  font-size: 13px !important;
}

.trust-pill {
  min-height: 30px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.trust-pill-soft {
  background: #ffffff !important;
  color: #3b4350 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.trust-pill-soft::before {
  content: '🔒';
  font-size: 12px !important;
  line-height: 1 !important;
  margin-right: 3px !important;
}

.trust-separator {
  font-size: 14px !important;
  color: rgba(255,255,255,0.22) !important;
}

.trust-powered {
  font-size: 13px !important;
  color: rgba(244,247,251,0.64) !important;
}

@media (max-width: 820px) {
  .trust-footer {
    padding-top: 12px !important;
    padding-bottom: 16px !important;
  }

  .trust-note {
    gap: 7px !important;
    font-size: 12px !important;
  }

  .trust-pill {
    min-height: 28px !important;
    padding: 5px 11px !important;
    font-size: 11px !important;
  }

  .trust-pill-soft::before {
    font-size: 11px !important;
    margin-right: 3px !important;
  }

  .trust-powered {
    font-size: 12px !important;
  }
}


/* homepage trust footer under main hero card */
.trust-footer.trust-inline {
  margin-top: 12px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.trust-footer.trust-inline .trust-footer-inner {
  justify-content: center !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}


/* brand icon = favicon svg instead of lock */
.brand-dot {
  width: 16px !important;
  height: 16px !important;
  border-radius: 4px !important;
  background: url('/static/favicon.svg') center/contain no-repeat !important;
  box-shadow: none !important;
  display: inline-block !important;
  flex: 0 0 16px !important;
}

.brand-dot::before {
  content: none !important;
}

@media (max-width: 820px) {
  .brand-dot {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
  }
}

/* tighter spacing + subtle white glow behind favicon */
.brand {
  gap: 6px !important;
}

.audience-badge,
.home-audience-badge,
.video-audience-badge {
  gap: 6px !important;
}

.brand-dot {
  position: relative !important;
  isolation: isolate !important;
}

.brand-dot::after {
  content: '' !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: 6px !important;
  background:
    radial-gradient(circle at center,
      rgba(255,255,255,0.26) 0%,
      rgba(255,255,255,0.12) 38%,
      rgba(255,255,255,0.04) 68%,
      transparent 100%) !important;
  filter: blur(2.5px) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

@media (max-width: 820px) {
  .brand {
    gap: 5px !important;
  }

  .audience-badge,
  .home-audience-badge,
  .video-audience-badge {
    gap: 5px !important;
  }

  .brand-dot::after {
    inset: -2px !important;
    border-radius: 6px !important;
    filter: blur(2px) !important;
  }
}

/* fix favicon glow: around black square, not around play icon */
.brand-dot {
  position: relative !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  background: none !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  display: inline-block !important;
  isolation: isolate !important;
  overflow: visible !important;
}

.brand-dot::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 4px !important;
  background: url('/static/favicon.svg') center/contain no-repeat !important;
  z-index: 2 !important;
}

.brand-dot::after {
  content: '' !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 5px !important;
  background:
    radial-gradient(circle at center,
      rgba(255,255,255,0.20) 0%,
      rgba(255,255,255,0.10) 45%,
      rgba(255,255,255,0.03) 75%,
      transparent 100%) !important;
  z-index: 1 !important;
  filter: blur(2px) !important;
  pointer-events: none !important;
}

@media (max-width: 820px) {
  .brand-dot {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
  }

  .brand-dot::after {
    inset: -1px !important;
    border-radius: 5px !important;
    filter: blur(1.8px) !important;
  }
}

/* align homepage audience text with right edge of main card */
.home-audience-badge {
  margin-right: 10px !important;
}

@media (max-width: 820px) {
  .home-audience-badge {
    margin-right: 6px !important;
  }
}


/* TEST HOME TOP BAR */
.test-home-topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 30px;
  margin: 0;
  padding: 0;
  background: #000;
  border: 0;
  border-radius: 0;
  z-index: 9999;
  box-shadow: none;
}

.test-home-topbar .topbar{
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 14px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  overflow: visible !important;
}

.test-home-topbar .brand,
.test-home-topbar .audience-badge{
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}

.test-home-topbar .brand-link{
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  overflow: visible !important;
}

.test-home-topbar .audience-badge:not([hidden]){
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
}

.test-home-topbar #audienceBadgeText{
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.test-home-topbar .brand-dot{
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,0.18))
    drop-shadow(0 0 14px rgba(255,255,255,0.10)) !important;
}

.test-home-topbar .audience-dot{
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  flex: 0 0 8px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 999px !important;
}

.test-home-hero-card{
  margin-top: 18px !important;
}

.test-home-hero-image-wrap{
  width: 100%;
  margin: 10px 0 0 !important;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0b;
  aspect-ratio: 4 / 5;
}

.test-home-hero-image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.test-home-meta-grid{
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 0 !important;
  margin-bottom: 1px !important;
}

.test-home-meta-grid .meta{
  padding: 8px 10px !important;
  min-height: 0 !important;
  border-radius: 12px !important;
}

.test-home-meta-grid .meta-label{
  font-size: 11px !important;
  line-height: 1.1 !important;
  margin-bottom: 4px !important;
}

.test-home-meta-grid .meta-value{
  font-size: 14px !important;
  line-height: 1.1 !important;
}

.test-home-meta-grid .meta-value.status-online{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.test-home-meta-grid .status-dot{
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  flex: 0 0 8px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 999px !important;
  transform: none !important;
}

.test-home-hero-card .actions{
  margin-top: 0 !important;
}

@media (min-width: 768px){
  .test-home-hero-image-wrap{
    aspect-ratio: 16 / 9;
    margin: 12px 0 0 !important;
  }
}

@media (max-width: 640px){
  .test-home-topbar{
    height: 28px;
  }

  .test-home-topbar .topbar{
    padding: 0 10px !important;
  }

  .test-home-hero-card{
    margin-top: 14px !important;
  }

  .test-home-meta-grid{
    gap: 7px !important;
    margin-top: 0 !important;
    margin-bottom: 1px !important;
  }

  .test-home-meta-grid .meta{
    padding: 7px 9px !important;
    border-radius: 10px !important;
  }

  .test-home-meta-grid .meta-label{
    font-size: 10px !important;
    margin-bottom: 3px !important;
  }

  .test-home-meta-grid .meta-value{
    font-size: 13px !important;
  }

  .test-home-hero-card .actions{
    margin-top: 0 !important;
  }
}

/* HOME TEST - EQUAL 2PX GAPS */
.test-home-hero-card .test-home-hero-image-wrap{
  margin-bottom: 0 !important;
}

.test-home-hero-card .test-home-meta-grid{
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

.test-home-hero-card .actions{
  margin-top: 0 !important;
}
