:root {
  color-scheme: dark;
  --bg: #070707;
  --panel: #151313;
  --panel-2: #1d1919;
  --line: #3a3030;
  --text: #f7f4ef;
  --muted: #aba19b;
  --soft: #e5dcd6;
  --accent: #e81938;
  --accent-2: #ff2b46;
  --green: #28d17c;
  --cyan: #f3bd42;
  --gold: #ffc64a;
  --shadow: 0 18px 60px rgba(0, 0, 0, .34);
  font-family: "Segoe UI", "Malgun Gothic", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 8%, rgba(232, 25, 56, .14), transparent 26rem),
    radial-gradient(circle at 18% 28%, rgba(255, 198, 74, .08), transparent 24rem),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-lock {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  grid-template-rows: 64px 1fr;
  min-height: 100vh;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.app-shell.sidebar-collapsed .sidebar {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 44px max-content minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  background: rgba(13, 12, 12, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.icon-button,
.ghost-button,
.outline-button,
.primary-button,
.soft-button,
.text-button,
.nav-link,
.side-cta,
.side-link,
.segmented button {
  border: 0;
  cursor: pointer;
}

.menu-button {
  display: grid;
  gap: 5px;
  width: 28px;
  background: transparent;
  padding: 4px;
}

.menu-button span {
  display: block;
  height: 3px;
  border-radius: 6px;
  background: #ddd5cf;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff314e, var(--accent), #9f0d22);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 0 24px rgba(232, 25, 56, .42);
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #111010;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  color: #cfc6c0;
  font-weight: 800;
}

.nav-link.is-active,
.nav-link:hover {
  background: #261f1f;
  color: #fff;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.nav-dot.live {
  background: var(--accent-2);
  box-shadow: 0 0 16px rgba(255, 45, 82, .75);
}

.nav-dot.people {
  background: var(--soft);
}

.nav-dot.schedule-dot,
.nav-dot.status-dot {
  background: var(--gold);
}

.account-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 10px;
}

.ghost-button,
.outline-button,
.primary-button,
.soft-button,
.text-button {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
}

.ghost-button {
  background: transparent;
}

.outline-button {
  border: 2px solid var(--accent);
  background: #100f0f;
}

.primary-button {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 12px 28px rgba(232, 25, 56, .26);
}

.soft-button {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.text-button {
  background: transparent;
  color: var(--accent);
  padding: 0 4px;
}

.sidebar {
  position: sticky;
  top: 64px;
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  height: calc(100vh - 64px);
  padding: 20px;
  background: #111010;
  border-right: 1px solid var(--line);
  overflow: auto;
  transition: transform .18s ease, opacity .18s ease;
}

.sidebar-backdrop {
  display: none;
}

.side-cta,
.side-link {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  text-align: left;
  font-weight: 900;
}

.side-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #241b1b;
  color: var(--accent);
}

.side-link {
  margin-top: 18px;
  background: transparent;
  color: var(--accent);
  border-top: 1px solid var(--line);
}

.mini-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid currentColor;
}

.side-section {
  margin-top: 18px;
}

.side-section h2 {
  margin: 0 0 14px;
  color: #ded6d0;
  font-size: 13px;
}

.side-section p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.side-channels {
  display: grid;
  gap: 12px;
}

.side-sports-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  padding: 0 12px;
  border: 1px solid rgba(255, 207, 87, .46);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 207, 87, .15), rgba(232, 25, 56, .18));
  color: #fff4ce;
  text-decoration: none;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.side-sports-link::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 207, 87, .72);
}

.side-sports-link:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(255, 207, 87, .24), rgba(232, 25, 56, .26));
  color: #fff;
}

.side-channel {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 6px 24px 6px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.side-channel img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #080808;
}

.side-channel strong,
.side-channel span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-channel strong {
  font-size: 12px;
}

.side-channel span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.side-channel .state-dot {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #767680;
}

.side-channel.is-live .state-dot {
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(255, 45, 82, .8);
}

.side-channel.is-live {
  border: 1px solid rgba(255, 45, 82, .62);
  background: rgba(255, 45, 82, .08);
  box-shadow:
    0 0 0 1px rgba(255, 45, 82, .18),
    0 0 18px rgba(255, 45, 82, .24);
}

.content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 32px 28px 46px;
}

.app-shell.sidebar-collapsed .content {
  grid-column: 1 / -1;
}

.home-page {
  display: grid;
  gap: 16px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, min(432px, 38vw));
  gap: 18px;
  min-height: 352px;
  padding: 34px;
  border: 1px solid #443232;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 25, 56, .2), rgba(255, 198, 74, .07)),
    linear-gradient(180deg, #171111, #0d0b0b);
  box-shadow: var(--shadow);
}

.home-hero.has-no-events {
  grid-template-columns: minmax(0, 1fr);
}

.home-copy {
  align-self: center;
  max-width: 620px;
}

.home-copy h1 {
  margin: 22px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  word-break: keep-all;
}

.home-copy p {
  margin: 0;
  color: #e6ded8;
  font-size: 17px;
  line-height: 1.7;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.home-event-board {
  display: grid;
  gap: 14px;
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 432px;
  padding: 14px;
  border: 1px solid rgba(255, 198, 74, .18);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
}

.home-event-board[hidden] {
  display: none;
}

.event-board-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.event-board-head span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 45, 82, .16);
  color: #ff96a7;
  font-size: 12px;
  font-weight: 900;
}

.event-board-head strong {
  color: #fff;
  font-size: 20px;
}

.event-slider {
  display: grid;
  gap: 12px;
}

.event-slide-viewport {
  position: relative;
  overflow: hidden;
  width: min(100%, 400px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: #08080a;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .34);
}

.event-slide-track {
  display: flex;
  height: 100%;
  transition: transform .45s ease;
  will-change: transform;
}

.event-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  outline: 0;
}

.event-slide:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(255, 45, 82, .9);
}

.event-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-slider-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.event-slider-meta {
  min-width: 0;
}

.event-slider-meta span,
.event-slider-meta strong,
.event-slider-meta p {
  display: block;
}

.event-slider-meta span {
  color: #ff96a7;
  font-size: 12px;
  font-weight: 900;
}

.event-slider-meta strong {
  margin-top: 4px;
  color: #fff;
  font-size: 17px;
}

.event-slider-meta p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.event-slider-controls {
  display: inline-flex;
  gap: 8px;
}

.event-slider-controls button,
.event-dots button {
  cursor: pointer;
}

.event-slider-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 45, 82, .45);
  border-radius: 8px;
  background: rgba(255, 45, 82, .14);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.event-slider-controls button:hover,
.event-slider-controls button:focus-visible {
  background: var(--hot);
}

.event-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.event-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  transition: width .2s ease, background .2s ease;
}

.event-dots button.is-active {
  width: 24px;
  background: var(--hot);
}

.event-list {
  display: grid;
  gap: 10px;
}

.home-event-card {
  min-height: 98px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(21, 19, 19, .82);
}

.home-event-card.is-primary {
  border-color: rgba(255, 45, 82, .48);
  background: linear-gradient(135deg, rgba(255, 45, 82, .18), rgba(255, 198, 74, .08)), rgba(21, 19, 19, .9);
}

.home-event-card span,
.home-event-card strong,
.home-event-card p {
  display: block;
}

.home-event-card span {
  color: #ff96a7;
  font-size: 12px;
  font-weight: 900;
}

.home-event-card strong {
  margin-top: 6px;
  color: #fff;
  font-size: 17px;
}

.home-event-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.home-live-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.home-live-panel article {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.home-live-panel span,
.home-live-panel strong,
.home-live-panel p {
  display: block;
}

.home-live-panel span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.home-live-panel strong {
  overflow: hidden;
  margin-top: 7px;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-live-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 352px;
  border: 1px solid #443232;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  opacity: .88;
  filter: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(47, 5, 10, .48) 52%, rgba(8, 0, 0, .24)),
    linear-gradient(135deg, rgba(232, 25, 56, .22), rgba(255, 198, 74, .08));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(620px, 100%);
  padding: 42px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent-2);
  font-weight: 900;
}

.hero h1,
.hero h2 {
  margin: 22px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  word-break: keep-all;
}

.hero p {
  margin: 0;
  color: #e6ded8;
  font-size: 17px;
  line-height: 1.7;
}

.host-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.host-line img {
  width: 56px;
  height: 56px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: #080808;
}

.host-line strong,
.host-line span {
  display: block;
}

.host-line strong {
  font-size: 20px;
}

.host-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

#featuredStatus.is-live {
  color: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.content-section {
  margin-top: 36px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.trust-strip article {
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(232, 25, 56, .13), rgba(255, 198, 74, .07)), var(--panel);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.trust-strip span {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.banner-slot {
  display: grid;
  place-items: center;
  width: 100%;
  margin-top: 18px;
  border: 1px solid rgba(255, 221, 111, .8);
  border-radius: 8px;
  aspect-ratio: 2172 / 289;
  background: #050505;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .05) inset,
    0 0 18px rgba(255, 200, 80, .34),
    0 0 38px rgba(232, 25, 56, .22);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.banner-slot:hover,
.banner-slot:focus-visible {
  border-color: rgba(255, 240, 156, 1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08) inset,
    0 0 24px rgba(255, 209, 86, .52),
    0 0 48px rgba(232, 25, 56, .32);
  transform: translateY(-1px);
}

.banner-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 25px;
}

.section-heading em {
  color: var(--accent);
  font-style: normal;
  font-size: 16px;
}

.age-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 45, 82, .48);
  border-radius: 999px;
  color: #ff9aaa;
  background: rgba(255, 45, 82, .12);
  font-weight: 900;
}

.info-grid,
.schedule-grid,
.status-grid,
.verification-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.schedule-card,
.checklist,
.sports-panel,
.faq-grid details,
.footer-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.info-card {
  min-height: 190px;
  padding: 18px;
}

.info-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 28px;
  border-radius: 8px;
  background: rgba(232, 25, 56, .16);
  color: var(--accent);
  font-weight: 900;
}

.info-card h3,
.schedule-card strong,
.checklist h3,
.sports-panel h2,
.faq-grid summary,
.footer-note strong {
  margin: 0;
}

.info-card h3 {
  margin-top: 18px;
  font-size: 18px;
}

.info-card p,
.schedule-card p,
.checklist li,
.sports-panel p,
.faq-grid p,
.footer-note span {
  color: var(--muted);
  line-height: 1.65;
}

.schedule-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.status-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.schedule-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 18px;
}

.status-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 124px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
}

.status-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.status-card strong,
.status-card span {
  display: block;
}

.status-card strong {
  font-size: 18px;
}

.status-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.status-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.status-card.is-live {
  border-color: rgba(255, 45, 82, .58);
  background: linear-gradient(145deg, rgba(255, 45, 82, .18), rgba(255, 198, 74, .07)), var(--panel);
}

.status-card.is-live span {
  color: #ff95a7;
}

.schedule-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.schedule-card.night::before {
  background: #7981ff;
}

.schedule-card.morning::before {
  background: var(--cyan);
}

.schedule-card.day::before {
  background: var(--accent-2);
}

.schedule-card.evening::before {
  background: var(--gold);
}

.schedule-card.special::before {
  background: var(--green);
}

.schedule-card strong,
.schedule-card span {
  display: block;
}

.schedule-card strong {
  font-size: 22px;
}

.schedule-card span {
  margin-top: 10px;
  color: #fff;
  font-weight: 900;
}

.schedule-card p {
  margin: 12px 0 0;
}

.hot-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(255, 45, 82, .8);
}

.film-icon,
.video-icon {
  display: inline-block;
  width: 21px;
  height: 17px;
  margin-right: 10px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  vertical-align: -2px;
}

.video-icon {
  border-color: var(--cyan);
}

.live-grid,
.media-grid,
.streamer-grid {
  display: grid;
  gap: 16px;
}

.live-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 380px));
}

.media-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
}

.streamer-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.live-card,
.media-card,
.streamer-card,
.status-card,
.empty-panel,
.creator-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.verification-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checklist {
  padding: 22px;
}

.checklist h3 {
  font-size: 21px;
}

.checklist ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 24px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.checklist.warning li::before {
  content: "!";
  color: var(--accent-2);
}

.sports-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 38px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(85, 216, 255, .12), rgba(255, 208, 93, .12)),
    #111115;
}

.sports-panel span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: .08em;
}

.sports-panel p {
  margin: 9px 0 0;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid details {
  padding: 18px;
}

.faq-grid summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
}

.faq-grid p {
  margin: 13px 0 0;
}

.footer-note {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  padding: 18px;
}

.live-card,
.streamer-card {
  padding: 16px;
}

.live-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
}

@keyframes liveBorderGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 45, 82, .32),
      0 0 16px rgba(255, 45, 82, .28),
      inset 0 0 18px rgba(255, 45, 82, .06);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(255, 45, 82, .64),
      0 0 30px rgba(255, 45, 82, .52),
      inset 0 0 24px rgba(255, 45, 82, .1);
  }
}

.live-card,
.status-card.is-live,
.streamer-card.is-live {
  position: relative;
  border-color: rgba(255, 45, 82, .88);
  box-shadow:
    0 0 0 1px rgba(255, 45, 82, .32),
    0 0 22px rgba(255, 45, 82, .36),
    inset 0 0 20px rgba(255, 45, 82, .08);
  animation: liveBorderGlow 2.4s ease-in-out infinite;
}

.live-card::before,
.status-card.is-live::before,
.streamer-card.is-live::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 112, 134, .42);
  border-radius: inherit;
  pointer-events: none;
}

.live-card img,
.streamer-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: #080808;
}

.live-card h3,
.streamer-card h3,
.media-card h3 {
  margin: 0;
  font-size: 17px;
}

.live-card p,
.streamer-card p,
.media-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.streamer-card p,
.replay-card-copy strong {
  word-break: keep-all;
}

.live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.live-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 45, 82, .16);
  color: #ff95a7;
}

.empty-panel {
  display: grid;
  place-items: center;
  min-height: 190px;
  border-style: dashed;
  padding: 24px;
  text-align: center;
}

.broadcast-icon {
  width: 42px;
  height: 42px;
  border: 6px solid var(--accent);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.empty-panel strong {
  margin-top: 12px;
}

.empty-panel p {
  margin: 7px 0 0;
  color: var(--muted);
}

.media-card {
  overflow: hidden;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #070708;
}

.media-card > img {
  filter: grayscale(.14) sepia(.3) hue-rotate(330deg) saturate(1.4) contrast(1.05);
}

.media-body {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  background: #191515;
}

.media-body img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  aspect-ratio: 1;
  filter: none;
}

.streamer-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  cursor: pointer;
}

.streamer-card > div {
  min-width: 0;
}

.status {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #261f1f;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.status.live {
  background: rgba(255, 45, 82, .18);
  color: #ff91a3;
}

.replay-section {
  scroll-margin-top: 88px;
}

.replay-profile {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(232, 25, 56, .13), rgba(255, 198, 74, .06)), var(--panel);
}

.replay-profile img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.replay-profile strong,
.replay-profile p {
  display: block;
  margin: 0;
}

.replay-profile strong {
  color: #fff;
  font-size: 20px;
}

.replay-profile p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.replay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 280px));
  gap: 14px;
  justify-content: start;
}

.replay-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}

.replay-card:hover {
  border-color: rgba(255, 45, 82, .72);
  transform: translateY(-2px);
}

.replay-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090808;
  object-fit: cover;
}

.replay-card-thumb.is-empty {
  background:
    linear-gradient(135deg, rgba(255, 45, 82, .28), rgba(255, 198, 74, .08)),
    #100e0e;
}

.replay-card-copy {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  padding: 14px;
}

.replay-card-copy strong,
.replay-card-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.replay-card-copy strong {
  display: -webkit-box;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.replay-card-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.replay-empty {
  min-height: 160px;
  margin-top: 0;
  color: var(--muted);
}

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

.card-actions button {
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid #463737;
  background: #211c1c;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.card-actions .watch {
  border-color: transparent;
  background: var(--accent-2);
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111010;
}

.segmented button {
  min-height: 32px;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.segmented button.is-selected {
  background: #2a2020;
  color: #fff;
}

.creator-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(232, 25, 56, .18), rgba(255, 198, 74, .1)),
    #141111;
}

.creator-cta h2,
.creator-cta p {
  margin: 0;
}

.creator-cta p {
  margin-top: 7px;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
}

.modal-card {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  margin: 12vh auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #181414;
  box-shadow: var(--shadow);
}

.modal.has-embed .modal-card {
  width: min(980px, calc(100vw - 32px));
  margin-top: 4vh;
}

.modal-card h2 {
  margin: 0 0 8px;
}

.modal-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.modal-embed {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050505;
  aspect-ratio: 16 / 9;
}

.modal-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 12px 0 4px;
  padding: 0 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.modal-card label {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.modal-card label span {
  color: #d9d6e1;
  font-size: 13px;
  font-weight: 900;
}

.modal-card input {
  height: 42px;
  border: 1px solid #363640;
  border-radius: 8px;
  background: #100f0f;
  color: var(--text);
  padding: 0 12px;
  outline: 0;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #261f1f;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
}

.full {
  width: 100%;
  margin-top: 16px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .content {
    grid-column: 1;
    grid-row: auto;
  }

  .app-shell.sidebar-collapsed .sidebar {
    display: block;
  }

  .topbar {
    grid-template-columns: 40px max-content minmax(0, 1fr) max-content;
    height: auto;
    min-height: 64px;
    row-gap: 10px;
    padding-block: 10px;
  }

  .topnav {
    grid-column: 1 / -1;
    order: 3;
    display: flex;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
  }

  .sidebar {
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    display: block;
    width: min(84vw, 320px);
    height: 100dvh;
    padding-top: 84px;
    transform: translateX(-110%);
    box-shadow: 24px 0 80px rgba(0, 0, 0, .46);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-backdrop.is-open {
    position: fixed;
    z-index: 45;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, .58);
  }

  .content {
    padding: 24px 18px 40px;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-event-board {
    justify-self: center;
  }

  .info-grid,
  .schedule-grid,
  .status-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 34px minmax(0, 1fr);
    row-gap: 12px;
    padding: 12px;
  }

  .brand {
    font-size: 20px;
  }

  .topnav {
    order: 4;
  }

  .account-actions {
    gap: 6px;
  }

  .ghost-button,
  .outline-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .home-hero {
    min-height: auto;
    padding: 24px 20px;
  }

  .home-event-board {
    padding: 12px;
  }

  .event-slider-footer {
    grid-template-columns: 1fr;
  }

  .event-slider-controls {
    justify-content: center;
  }

  .hero-content {
    padding: 28px 20px;
  }

  .home-copy h1 {
    font-size: 31px;
  }

  .hero h1,
  .hero h2 {
    font-size: 31px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .media-grid,
  .media-grid.compact {
    grid-template-columns: 1fr;
  }

  .replay-grid {
    grid-template-columns: 1fr;
  }

  .creator-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-strip,
  .home-live-panel,
  .info-grid,
  .schedule-grid,
  .status-grid,
  .verification-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .sports-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .banner-slot {
    min-height: 0;
  }
}

@media (max-width: 460px) {
  .content {
    padding-inline: 10px;
  }

  .brand span:last-child {
    display: inline;
    font-size: 18px;
  }

  .streamer-grid,
  .live-grid {
    grid-template-columns: 1fr;
  }

  .event-board-head strong {
    font-size: 18px;
  }

  .event-slider-controls button {
    width: 36px;
    height: 36px;
  }
}
