:root {
  color-scheme: dark;
  --bg: #0f1715;
  --panel: #17221f;
  --panel-strong: #1d2d28;
  --text: #f3f0e8;
  --muted: #b8c5bd;
  --line: rgba(243, 240, 232, .14);
  --accent: #65d6b1;
  --accent-strong: #f1bf6a;
  --danger: #ef786d;
  --shadow: 0 22px 70px rgba(0, 0, 0, .34);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(101, 214, 177, .12), transparent 35%),
    linear-gradient(225deg, rgba(241, 191, 106, .11), transparent 38%),
    var(--bg);
}

a {
  color: inherit;
}

code {
  padding: .14rem .34rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #d8fff1;
  background: rgba(255, 255, 255, .05);
  font-size: .92em;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  display: grid;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(29, 45, 40, .96), rgba(24, 32, 45, .88)),
    #17221f;
  box-shadow: var(--shadow);
}

.hero__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.signal {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 2px solid rgba(101, 214, 177, .25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal--one {
  left: 70%;
  top: 48%;
}

.signal--two {
  left: 70%;
  top: 48%;
  width: 360px;
  height: 360px;
  border-color: rgba(241, 191, 106, .28);
}

.signal--three {
  left: 70%;
  top: 48%;
  width: 190px;
  height: 190px;
  border-color: rgba(243, 240, 232, .34);
  background: rgba(243, 240, 232, .04);
}

.hero__content {
  position: relative;
  width: min(680px, 100%);
  padding: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: .98;
  letter-spacing: 0;
}

.lede {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.nav-card {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 34, 31, .82);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .18);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.nav-card:hover,
.nav-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(101, 214, 177, .5);
  background: rgba(29, 45, 40, .96);
  outline: none;
}

.nav-card--primary {
  border-color: rgba(101, 214, 177, .38);
}

.nav-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 8px;
  color: #10201b;
  background: var(--accent);
}

.nav-card__icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.nav-card strong,
.nav-card small {
  display: block;
}

.nav-card strong {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.nav-card small {
  color: var(--muted);
  line-height: 1.5;
}

.status-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 21, .68);
}

.status-panel h2 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.status-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.text-link {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.shell--live {
  min-height: 100vh;
}

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

.brand {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.topbar__links {
  display: flex;
  gap: 10px;
}

.topbar__links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}

.topbar__links a:hover {
  color: var(--text);
  border-color: rgba(101, 214, 177, .4);
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 22px;
  align-items: start;
}

.player-wrap,
.live-info {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 34, 31, .82);
  box-shadow: var(--shadow);
}

.player-wrap {
  position: relative;
  overflow: hidden;
}

.player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050807;
}

.player-state {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 10px;
  border: 1px solid rgba(239, 120, 109, .35);
  border-radius: 8px;
  color: #ffe5e1;
  background: rgba(15, 23, 21, .82);
  font-size: .9rem;
}

.player-state--live {
  border-color: rgba(101, 214, 177, .45);
  color: #d8fff1;
}

.live-info {
  padding: 28px;
}

.live-info h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.live-info p {
  color: var(--muted);
  line-height: 1.7;
}

.details {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.details div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.details dt {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 800;
}

.details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 1120px);
    padding: 24px 0;
  }

  .hero {
    min-height: 300px;
  }

  .hero__content {
    padding: 28px;
  }

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

  .status-panel,
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-panel .text-link {
    width: 100%;
  }
}
