:root {
  color-scheme: dark;
  --bg: #11130f;
  --panel: #191d17;
  --panel-2: #20251e;
  --text: #f2f4ed;
  --muted: #a9b1a2;
  --accent: #46c29a;
  --accent-2: #f05f57;
  --line: #343b31;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.player-panel {
  display: grid;
  gap: 18px;
}

.video-wrap {
  position: relative;
  overflow: hidden;
  background: #050604;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  background: #050604;
}

.player-message {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(5, 6, 4, 0.78);
  color: var(--text);
  font-size: 14px;
}

.player-message.hidden {
  display: none;
}

.channel-bar,
.schedule {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 4px;
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1;
}

h2 {
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 24px;
  line-height: 1.16;
}

p {
  color: var(--muted);
}

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

button {
  min-width: 96px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--accent);
  color: #06100c;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button:hover {
  background: #60d9b2;
}

.schedule {
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 28px;
}

.schedule article {
  min-height: 158px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.schedule article:nth-child(2) {
  background: var(--panel-2);
}

.progress-track {
  width: 100%;
  height: 8px;
  margin: 22px 0 10px;
  overflow: hidden;
  border-radius: 8px;
  background: #30372d;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: 8px;
  background: var(--accent-2);
  transition: width 300ms linear;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1180px);
    padding: 14px 0;
  }

  .channel-bar,
  .schedule {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  .schedule article {
    min-height: 142px;
    padding: 16px;
  }
}
