/* ==========================================================================
   live.css — Sports broadcast "live stream" gate (UFC / Football theme).

   Self-contained: does NOT depend on winbeeast/css/styles.css or tokens.css.
   Discord Activity CSP-safe: no external assets, CSS-only effects.
   ========================================================================== */

:root {
  --live-bg-app: #0a0a0a;
  --live-bg-surface: #141414;
  --live-bg-surface-low: #111111;
  --live-bg-surface-high: #1c1c1c;
  --live-border: rgba(255, 255, 255, 0.08);
  --live-text-strong: #ffffff;
  --live-text-default: #e3e3e3;
  --live-text-muted: #a8a8a8;
  --live-text-subtle: #787878;
  --live-brand: #5865f2;
  --live-brand-hover: #4752c4;
  --live-red: #d20a0a;
  --live-red-bright: #ff2a2a;
  --live-red-deep: #7a0000;
  --live-green: #00a650;
  --live-green-dark: #1b4332;
  --live-gold: #ffb800;
  --live-gold-dark: #c9a227;
  --live-font: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --live-red-soft: rgba(210, 10, 10, 0.18);
  --live-green-soft: rgba(0, 166, 80, 0.16);
  --live-gold-soft: rgba(255, 184, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  height: 100vh;
  height: 100dvh;
  background: var(--background-base-lowest, var(--live-bg-app));
  color: var(--text-default, var(--live-text-default));
  font-family: var(--font-primary, var(--live-font));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

.live-app {
  visibility: hidden;
  opacity: 0;
}

body.live-ready .live-app {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.32s ease;
}

.live-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
}

.live-app--minimal {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.live-event-title {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-strong, var(--live-text-strong));
  letter-spacing: -0.01em;
}

.live-primary {
  min-width: 0;
  min-height: 0;
  height: 100dvh;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

/* ==========================================================================
   Octagon-inspired player frame
   ========================================================================== */
.live-player {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background-color: #050505;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  clip-path: polygon(
    2% 0%, 98% 0%,
    100% 4%, 100% 96%,
    98% 100%, 2% 100%,
    0% 96%, 0% 4%
  );
}

/* Gradient championship edge */
.live-player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--live-red), var(--live-gold) 52%, var(--live-green));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.live-poster {
  position: absolute;
  inset: -10%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(30px) saturate(1.2) brightness(0.82);
  transform: scale(1.12);
}

.live-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 120% at 50% 26%, rgba(210, 10, 10, 0.1), rgba(5, 5, 5, 0.86)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.22) 42%, rgba(5, 5, 5, 0.94) 100%);
}

/* Slow diagonal arena-light sweep */
.live-sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 46%,
    rgba(255, 184, 0, 0.05) 50%,
    rgba(255, 255, 255, 0.04) 54%,
    transparent 66%
  );
  background-size: 260% 100%;
  animation: live-sweep 9.5s ease-in-out infinite;
}

@keyframes live-sweep {
  0%, 16% { background-position: 130% 0; }
  72%, 100% { background-position: -70% 0; }
}

/* Cinematic vignette */
.live-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(118% 100% at 50% 42%, transparent 50%, rgba(0, 0, 0, 0.58) 100%);
}

.live-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.16) 2px,
    rgba(255, 255, 255, 0.16) 3px
  );
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.live-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0));
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 2px;
  background-color: var(--live-red);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 2px 14px rgba(210, 10, 10, 0.55);
}

.live-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.62); }
}

.live-event-chip {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--live-gold-dark), var(--live-gold));
  color: #0a0a0a;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-viewers {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 2px;
  background-color: rgba(5, 5, 5, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-strong, var(--live-text-strong));
  font-weight: 700;
  font-size: 13px;
}

.live-viewers svg {
  width: 15px;
  height: 15px;
  color: var(--live-red-bright);
}

.live-viewers__label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--live-text-subtle);
}

.live-viewers__odometer {
  display: inline-flex;
  align-items: center;
  height: 1em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.live-odometer__cell {
  position: relative;
  display: inline-block;
  height: 1em;
  overflow: hidden;
  vertical-align: top;
}

.live-odometer__reel {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.live-odometer__reel--animate {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.live-odometer__digit {
  display: block;
  height: 1em;
  line-height: 1em;
}

.live-odometer__sep {
  display: inline-block;
  width: 0.28em;
  text-align: center;
}

.live-quality {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 2px;
  background-color: rgba(0, 166, 80, 0.18);
  border: 1px solid rgba(0, 166, 80, 0.35);
  color: var(--live-green);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Center gate overlay
   ========================================================================== */
.live-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 16px;
}

body.live-mobile .live-channel__actions {
  display: none;
}

body.live-mobile .live-chat {
  display: none;
}

body.live-mobile .live-app {
  grid-template-columns: minmax(0, 1fr);
}

body.live-mobile .live-primary {
  padding: 16px 14px 24px;
}

.live-ppv-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--live-red), var(--live-red-deep));
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(210, 10, 10, 0.45);
}

.live-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 4px;
  background: linear-gradient(150deg, var(--live-red), var(--live-gold-dark) 70%, var(--live-green-dark));
  box-shadow: 0 14px 44px rgba(210, 10, 10, 0.42);
  clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%);
}

.live-lock svg {
  width: 38px;
  height: 38px;
  color: #fff;
}

.live-headline {
  max-width: 560px;
  margin-top: 2px;
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-strong, var(--live-text-strong));
}

.live-headline span {
  background: linear-gradient(135deg, var(--live-red-bright), var(--live-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--live-red);
}

.live-sub {
  max-width: 452px;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: var(--text-muted, var(--live-text-muted));
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 2px;
  background-color: rgba(5, 5, 5, 0.6);
  border: 1px solid rgba(0, 166, 80, 0.4);
  color: var(--text-default, var(--live-text-default));
  font-weight: 600;
  font-size: 13px;
}

.live-pill svg {
  width: 15px;
  height: 15px;
  color: var(--live-green);
}

/* ==========================================================================
   Platform overlays — desktop lock vs mobile connect CTA
   ========================================================================== */
.live-overlay--mobile {
  display: none;
}

body.live-desktop .live-overlay--mobile {
  display: none;
}

body.live-desktop .live-overlay--desktop {
  display: flex;
}

body.live-mobile .live-overlay--desktop {
  display: none;
}

body.live-mobile .live-overlay--mobile {
  display: flex;
}

.live-headline--mobile {
  text-transform: none;
  font-size: clamp(22px, 5vw, 28px);
}

.live-sub--mobile {
  max-width: 320px;
  font-size: 14px;
}

.live-lock--mobile {
  width: 64px;
  height: 64px;
  clip-path: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--live-brand), var(--live-brand-hover));
  box-shadow: 0 12px 36px rgba(88, 101, 242, 0.45);
}

.live-lock--mobile svg {
  width: 28px;
  height: 28px;
}

.live-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 4px;
  padding: 14px 22px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.45);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.live-connect svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.live-connect:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.live-connect:active {
  transform: translateY(0);
}

.live-connect:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ==========================================================================
   Network broadcast bug
   ========================================================================== */
.live-bug {
  position: absolute;
  right: 16px;
  bottom: 66px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 3px;
  background: rgba(8, 8, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0.82;
}

.live-bug__mark {
  width: 20px;
  height: 20px;
  color: var(--live-gold);
}

.live-bug__text {
  line-height: 1.05;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--live-text-strong);
}

/* ==========================================================================
   Control bar
   ========================================================================== */
.live-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 14px 18px 16px;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0));
}

.live-scrubber {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.live-scrubber__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--live-red), var(--live-gold));
}

.live-controls__row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-strong, var(--live-text-strong));
}

.live-controls__row svg {
  width: 20px;
  height: 20px;
  color: var(--text-strong, var(--live-text-strong));
  opacity: 0.9;
}

.live-controls__spacer {
  margin-left: auto;
}

.live-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--live-red-bright);
}

.live-clock__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--live-red-bright);
  box-shadow: 0 0 8px var(--live-red-bright);
  animation: live-pulse 1.4s ease-in-out infinite;
}

/* ==========================================================================
   Channel row
   ========================================================================== */
.live-channel {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(210, 10, 10, 0.06), rgba(20, 20, 20, 0) 36%),
    var(--background-base-low, var(--live-bg-surface));
  border: 1px solid var(--border-subtle, var(--live-border));
  border-left: 3px solid var(--live-red);
}

.live-channel__avatar {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
}

.live-channel__avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 6px;
  background: conic-gradient(from 200deg, var(--live-red), var(--live-gold), var(--live-green), var(--live-red));
}

.live-channel__avatar-emblem {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  border: 3px solid var(--background-base-low, var(--live-bg-surface));
  background-color: #0c0c0c;
}

.live-channel__avatar-emblem svg {
  width: 100%;
  height: 100%;
}

.live-channel__avatar-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
  border: 3px solid var(--background-base-low, var(--live-bg-surface));
  background-color: #0c0c0c;
  opacity: 1;
}

.live-channel__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.live-channel__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.25;
  color: var(--text-strong, var(--live-text-strong));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-channel__name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 14px;
  color: var(--live-gold);
  letter-spacing: 0.02em;
}

.live-channel__verified {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--live-gold);
}

.live-channel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.live-tag {
  padding: 3px 9px;
  border-radius: 2px;
  background-color: var(--background-base-lower, var(--live-bg-surface-low));
  color: var(--text-muted, var(--live-text-muted));
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-tag--cat {
  background-color: var(--live-red-soft);
  color: var(--live-red-bright);
}

.live-tag--ppv {
  background-color: var(--live-gold-soft);
  color: var(--live-gold);
}

.live-channel__actions {
  margin-left: auto;
  flex: 0 0 auto;
}

.live-follow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 17px;
  border: none;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--live-red), var(--live-red-deep));
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(210, 10, 10, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.live-follow:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(210, 10, 10, 0.45);
}

.live-follow:active {
  transform: translateY(0);
}

.live-follow svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Chat sidebar
   ========================================================================== */
.live-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--background-base-lower, var(--live-bg-surface-low));
  border-left: 1px solid var(--border-subtle, var(--live-border));
}

.live-chat__head,
.live-chat__body,
.live-chat__compose {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
}

.live-chat__lock {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.9));
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.live-chat__lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: linear-gradient(150deg, var(--live-red), var(--live-gold-dark));
  box-shadow: 0 10px 28px rgba(210, 10, 10, 0.4);
  clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%);
}

.live-chat__lock-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.live-chat__lock-label {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-strong, var(--live-text-strong));
}

.live-chat__lock-sub {
  max-width: 220px;
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-muted, var(--live-text-muted));
}

.live-chat__head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border-subtle, var(--live-border));
  flex: 0 0 auto;
}

.live-chat__title {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-strong, var(--live-text-strong));
}

.live-chat__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 2px;
  background-color: var(--live-red-soft);
  color: var(--live-red-bright);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-chat__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--live-red-bright);
  animation: live-pulse 1.4s ease-in-out infinite;
}

.live-chat__collapse {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--text-subtle, var(--live-text-subtle));
}

.live-chat__body {
  flex: 1 1 auto;
  overflow: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 56px);
  mask-image: linear-gradient(180deg, transparent 0, #000 56px);
}

.live-chat__body::-webkit-scrollbar {
  display: none;
}

.live-msg {
  font-size: 14px;
  line-height: 18px;
  color: var(--text-default, var(--live-text-default));
  word-break: break-word;
  flex: 0 0 auto;
}

.live-msg--pop {
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition:
    opacity 0.38s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.live-msg--pop.live-msg--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.live-msg--leave {
  opacity: 0 !important;
  transform: translateY(-10px) scale(0.98) !important;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease !important;
}

.live-msg__user {
  font-weight: 800;
  margin-right: 6px;
}

.live-chat__compose {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 16px;
}

.live-chat__input {
  flex: 1 1 auto;
  padding: 10px 12px;
  border-radius: 2px;
  background-color: var(--background-surface-high, var(--live-bg-surface-high));
  color: var(--text-subtle, var(--live-text-subtle));
  font-size: 14px;
}

.live-chat__send {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--live-red), var(--live-red-deep));
  color: #fff;
}

.live-chat__send svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Sport theming — data-sport on .live-app swaps the accent palette.
   UFC (default) keeps the red/gold octagon accents defined above.
   Football repaints the event accents pitch-green; live "LIVE" indicators
   (badge, clock, chat dot) deliberately stay red per broadcast convention.
   ========================================================================== */
.live-app[data-sport="football"] .live-player::after {
  background: linear-gradient(135deg, var(--live-green), #00d166 52%, var(--live-gold));
}

.live-app[data-sport="football"] .live-scrim {
  background:
    radial-gradient(130% 120% at 50% 26%, rgba(0, 166, 80, 0.12), rgba(5, 5, 5, 0.86)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.22) 42%, rgba(5, 5, 5, 0.94) 100%);
}

.live-app[data-sport="football"] .live-ppv-badge {
  background: linear-gradient(135deg, var(--live-green), var(--live-green-dark));
  box-shadow: 0 6px 24px rgba(0, 166, 80, 0.42);
}

.live-app[data-sport="football"] .live-lock {
  background: linear-gradient(150deg, var(--live-green), var(--live-gold-dark) 70%, var(--live-green-dark));
  box-shadow: 0 14px 44px rgba(0, 166, 80, 0.42);
}

.live-app[data-sport="football"] .live-channel {
  background:
    linear-gradient(90deg, rgba(0, 166, 80, 0.08), rgba(20, 20, 20, 0) 36%),
    var(--background-base-low, var(--live-bg-surface));
  border-left-color: var(--live-green);
}

.live-app[data-sport="football"] .live-follow {
  background: linear-gradient(135deg, var(--live-green), var(--live-green-dark));
  box-shadow: 0 6px 18px rgba(0, 166, 80, 0.35);
}

.live-app[data-sport="football"] .live-follow:hover {
  box-shadow: 0 10px 24px rgba(0, 166, 80, 0.45);
}

.live-app[data-sport="football"] .live-tag--cat {
  background-color: var(--live-green-soft);
  color: #12d171;
}

.live-app[data-sport="football"] .live-chat__lock-icon,
.live-app[data-sport="football"] .live-chat__send {
  background: linear-gradient(135deg, var(--live-green), var(--live-green-dark));
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .live-headline {
    font-size: 27px;
    line-height: 31px;
  }
}

@media (max-width: 980px) {
  .live-app {
    grid-template-columns: minmax(0, 1fr);
  }
  .live-chat {
    display: none;
  }
}

@media (max-width: 799px) {
  .live-primary {
    padding: 16px 14px 24px;
  }
  .live-headline {
    font-size: 21px;
    line-height: 26px;
  }
  .live-sub {
    font-size: 13px;
    line-height: 20px;
  }
  .live-quality,
  .live-viewers__label,
  .live-bug {
    display: none;
  }
  .live-channel__title {
    font-size: 15px;
    white-space: normal;
  }
}

/* ==========================================================================
   Reduced motion — keep the page calm for users who opt out
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .live-badge__dot,
  .live-clock__dot,
  .live-chat__live-dot,
  .live-sweep {
    animation: none !important;
  }
  .live-sweep {
    opacity: 0.25;
  }
  .live-odometer__reel--animate {
    transition: none !important;
  }
  body.live-ready .live-app {
    transition: none;
  }
  .live-msg--pop {
    transform: none;
    transition: opacity 0.25s ease;
  }
  .live-msg--pop.live-msg--visible {
    transform: none;
  }
  .live-follow {
    transition: none;
  }
}
