@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-cyrillic-ext-300.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-cyrillic-300.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-300.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-300.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-cyrillic-ext-400.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-cyrillic-ext-500.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #020407;
  --panel: rgba(2, 11, 16, 0.72);
  --panel-solid: #030508;
  --line: rgba(26, 35, 40, 0.8);
  --line-cyan: #1a3238;
  --cyan: #4dbdff;
  --cyan-mobile: #56d0ff;
  --text: #e9e2d8;
  --text-mobile: #e3dcd2;
  --muted: #a7a19a;
  --muted-mobile: #8b9295;
  --patreon: #c86f5e;
  --mobile-patreon: #e66f52;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.night-zero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.glow-center,
.glow-bottom {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(78px);
  opacity: 0.22;
}

.glow-center {
  left: 50%;
  top: 70px;
  width: 900px;
  height: 650px;
  transform: translateX(-30%);
  background: radial-gradient(circle, rgba(77, 189, 255, 0.26), rgba(77, 189, 255, 0.04) 58%, transparent 72%);
}

.glow-bottom {
  left: 50%;
  bottom: -126px;
  width: 1100px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(4, 34, 42, 0.95), rgba(4, 20, 26, 0.16) 62%, transparent 74%);
}

.panel {
  position: relative;
  z-index: 1;
  width: 840px;
  height: 960px;
  min-height: 0;
  margin: 22px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.header-bar {
  position: relative;
  height: 72px;
  margin: 24px 32px 0;
}

.logo {
  display: none;
  width: max-content;
  font-size: 32px;
  line-height: 40px;
  color: var(--text);
}

.stream-label {
  position: absolute;
  left: 0;
  top: 4px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--cyan);
  font-size: 14px;
  line-height: 20px;
}

.stream-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(77, 189, 255, 0.28);
}

[data-stream="checking"] .stream-label,
[data-stream="unknown"] .stream-label,
[data-stream="offline"] .stream-label {
  color: var(--muted);
}

[data-stream="checking"] .stream-label::before,
[data-stream="unknown"] .stream-label::before,
[data-stream="offline"] .stream-label::before {
  background: var(--muted);
  box-shadow: none;
  opacity: 0.5;
}

.skin-switch {
  position: absolute;
  top: 4px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
}

.chevron {
  width: 10px;
  height: 7px;
  background: url("assets/chevron-desktop.svg") center / contain no-repeat;
}

.skin-switch .chevron {
  background-image: url("assets/chevron-skin-desktop.svg");
}

.player-area {
  position: relative;
  height: 224px;
  margin-top: -1px;
  padding-top: 34px;
  text-align: center;
}

.play-button {
  position: relative;
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.play-button:focus,
.play-button:active {
  outline: none;
  background: transparent;
}

.play-button:focus-visible .play-ring {
  box-shadow: 0 0 0 2px rgba(77, 189, 255, 0.18);
}

.play-glow,
.play-halo,
.play-ring,
.play-symbol {
  position: absolute;
  pointer-events: none;
}

.play-glow {
  inset: -12px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.085;
  filter: blur(22px);
}

.play-halo {
  inset: 0;
  border: 1px solid rgba(77, 189, 255, 0.14);
  border-radius: 50%;
}

.play-ring {
  inset: 0;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
}

.play-symbol {
  left: 39px;
  top: 32px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--cyan);
}

[data-playback="playing"] .play-button {
  width: 96px;
  height: 96px;
}

[data-playback="playing"] .play-glow {
  inset: -14px;
  opacity: 0.14;
  filter: blur(18px);
  animation: broadcastGlow 5s ease-in-out infinite;
}

[data-playback="playing"] .play-halo {
  inset: -3px;
  border-color: rgba(77, 189, 255, 0.22);
}

[data-playback="playing"] .play-ring {
  inset: 0;
}

[data-playback="playing"] .play-symbol {
  left: 38px;
  top: 33px;
  width: 20px;
  height: 30px;
  border: 0;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 1px / 3px 28px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 14px 1px / 3px 28px no-repeat;
  border-radius: 2px;
}

.player-area h1 {
  margin: 38px 0 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
}

.now-playing {
  height: 84px;
  margin: 20px 32px 0;
  border-bottom: 1px solid var(--line);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.live-dot {
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.58;
}

#live-label {
  color: #8a9299;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

[data-stream="live"] .live-dot,
[data-stream="live"] #live-label {
  color: var(--cyan);
  opacity: 1;
}

[data-stream="checking"] .live-dot,
[data-stream="unknown"] .live-dot,
[data-stream="offline"] .live-dot {
  background: var(--muted);
  opacity: 0.45;
}

[data-stream="checking"] #live-label,
[data-stream="unknown"] #live-label,
[data-stream="offline"] #live-label {
  color: #8a9299;
}

.now-playing p {
  margin: 12px 0 0;
  color: rgba(233, 226, 216, 0.88);
  font-size: 16px;
  line-height: 24px;
  overflow: hidden;
  white-space: nowrap;
}

.now-playing p span {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

.now-playing p.is-marquee .marquee-track {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  animation: nowPlayingMarquee var(--marquee-duration, 18s) linear infinite;
}

.marquee-copy {
  padding-right: var(--marquee-gap, 30px);
}

.marquee-copy::after {
  content: "•";
  margin-left: var(--marquee-gap, 30px);
  color: currentColor;
  font-size: 1.16em;
}

.controls {
  position: relative;
  display: grid;
  grid-template-columns: 180px 180px 180px 116px;
  gap: 30px;
  height: 88px;
  margin: 20px 32px 0;
}

.control {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.control-button,
.copy-button {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.control-button {
  position: relative;
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 34px;
}

.control-button span:first-child,
.control-volume > span:first-child,
.control-url > span:first-child {
  display: block;
  color: var(--muted);
}

.control-button span:first-child {
  position: absolute;
  left: 0;
  top: -34px;
  pointer-events: none;
}

.control-button strong {
  display: block;
  margin-top: 0;
  color: rgba(233, 226, 216, 0.88);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.control-button .chevron {
  position: absolute;
  left: 110px;
  top: 18px;
  color: var(--text);
}

.control-quality .chevron {
  left: 110px;
}

.volume-row {
  position: relative;
  display: block;
  height: 52px;
}

.speaker {
  position: absolute;
  left: 0;
  top: 24px;
  width: 24px;
  height: 22px;
  opacity: 0.86;
  background: url("assets/speaker-desktop.svg") center / contain no-repeat;
}

.speaker::before {
  content: "";
  display: none;
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--text);
  clip-path: polygon(0 20%, 45% 20%, 100% 0, 100% 100%, 45% 80%, 0 80%);
}

.speaker::after {
  content: "";
  display: none;
  position: absolute;
  left: 11px;
  top: 4px;
  width: 10px;
  height: 14px;
  border: 1.5px solid var(--text);
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.volume-track {
  position: absolute;
  left: 36px;
  top: 35px;
  width: 118px;
  height: 1px;
  background: rgba(167, 161, 154, 0.19);
}

#volume-fill {
  display: block;
  width: 63%;
  height: 1px;
  background: rgba(77, 189, 255, 0.82);
}

#volume-range {
  position: absolute;
  left: 30px;
  top: 17px;
  width: 132px;
  height: 34px;
  opacity: 0;
  cursor: pointer;
}

.control-volume::after {
  content: "";
  position: absolute;
  left: calc(36px + (118px * var(--volume, 0.63)) - 6px);
  top: 49.5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.86);
  box-shadow: 0 0 22px rgba(77, 189, 255, 0.2);
  pointer-events: none;
}

.control-url {
  padding-left: 0;
}

.copy-button {
  position: relative;
  margin-top: 14px;
  min-width: 96px;
  height: 42px;
  color: var(--cyan);
  font-size: 14px;
  line-height: 20px;
}

.copy-button::before,
.copy-button::after {
  content: "";
  display: none;
  position: absolute;
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.copy-button::before {
  left: -10px;
  top: -9px;
  width: 96px;
  height: 38px;
  border-radius: 8px;
  background: rgba(77, 189, 255, 0.055);
}

.copy-button::after {
  left: 0;
  top: 24px;
  width: 48px;
  border-top: 1px solid rgba(77, 189, 255, 0.48);
}

.copy-button.is-copied::before,
.copy-button.is-copied::after {
  opacity: 1;
}

.schedule-card {
  position: relative;
  width: 776px;
  height: 300px;
  margin: 16px auto 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 32px;
  overflow: hidden;
}

.schedule-card-content {
  position: static;
}

.schedule-art-toggle {
  position: absolute;
  top: 23px;
  right: 23px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(64, 199, 255, 0.48);
  border-radius: 4px;
  background: rgba(4, 11, 14, 0.34);
  color: rgba(64, 199, 255, 0.88);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.schedule-art-toggle:hover,
.schedule-art-toggle:focus-visible {
  border-color: rgba(104, 199, 255, 0.72);
  background: rgba(6, 15, 20, 0.62);
  color: var(--cyan);
}

.schedule-art-icon {
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
}

.schedule-art-icon-visual {
  mask: url("icons/schedule-visual.svg") center / contain no-repeat;
}

.schedule-art-icon-list {
  display: none;
  mask: url("icons/schedule-list.svg") center / contain no-repeat;
}

.schedule-card[data-art-view="gallery"] .schedule-art-toggle {
  background: rgba(2, 6, 9, 0.28);
  border-color: rgba(64, 199, 255, 0.58);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(0, 0, 0, 0.16);
  color: rgba(104, 199, 255, 0.94);
}

.schedule-card[data-art-view="gallery"] .schedule-art-icon {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.76)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.46));
}

.schedule-card[data-art-view="gallery"] .schedule-art-icon-visual {
  display: none;
}

.schedule-card[data-art-view="gallery"] .schedule-art-icon-list {
  display: block;
}

.schedule-gallery {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #020407;
}

.schedule-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 2, 5, 0.1), rgba(0, 2, 5, 0.18));
  pointer-events: none;
}

.schedule-gallery-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 4000ms cubic-bezier(0.42, 0, 0.58, 1);
}

.schedule-gallery-image.is-active {
  z-index: 2;
  opacity: 1;
}

.schedule-gallery-image.is-outgoing {
  z-index: 1;
  opacity: 1;
  transition: none;
}

.schedule-card h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.schedule-head,
.schedule-row,
.full-schedule-head,
.full-row {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.timezone-label {
  display: none;
}

.schedule-head {
  margin-top: 26px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26, 35, 40, 0.7);
  color: rgba(233, 226, 216, 0.88);
  font-size: 13px;
  line-height: 18px;
}

.schedule-preview {
  margin-top: 8px;
}

.schedule-row {
  position: relative;
  min-height: 36px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.schedule-row span:last-child {
  color: rgba(233, 226, 216, 0.76);
}

.schedule-row.is-current::before {
  content: "";
  position: absolute;
  left: -16.5px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.82;
}

.full-schedule-link {
  position: absolute;
  left: 32px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
}

.mobile-label {
  display: none;
}

.schedule-view {
  display: none;
}

[data-view="schedule"] .player-view {
  display: none;
}

[data-view="schedule"] .schedule-view {
  display: block;
}

.schedule-page-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin: 68px 32px 0;
}

.schedule-page-header h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.schedule-page-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

#back-to-player {
  position: absolute;
  top: 4px;
  right: 0;
  border: 0;
  padding: 4px 0 0;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  font-size: 12px;
  line-height: 18px;
}

.date-selector {
  display: flex;
  gap: 20px;
  margin: 28px 32px 0;
}

.date-selector button {
  width: 20px;
  border: 1px solid transparent;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  line-height: 18px;
}

.date-selector button.is-active {
  color: var(--cyan);
}

.full-schedule-card {
  position: relative;
  height: 557px;
  margin: 28px 32px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
}

.full-schedule-head {
  grid-template-columns: 150px 1fr;
  padding-left: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26, 35, 40, 0.7);
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.full-schedule-list {
  height: 433px;
  margin-top: 28px;
  overflow-y: auto;
  padding-left: 28px;
  padding-right: 32px;
  scrollbar-color: var(--cyan) rgba(26, 35, 40, 0.6);
  scrollbar-width: thin;
}

.full-row {
  grid-template-columns: 150px 1fr;
  position: relative;
  min-height: 36px;
  color: rgba(233, 226, 216, 0.78);
  font-size: 13px;
  line-height: 19px;
}

.full-row.is-current {
  color: var(--text);
}

.full-row.is-current::before {
  content: "";
  position: absolute;
  left: -21.5px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.82;
}

.dropdowns {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dropdown {
  position: absolute;
  display: none;
  width: 170px;
  border: 1px solid var(--line-cyan);
  border-radius: 12px;
  background: var(--panel-solid);
  padding: 10px 0;
  pointer-events: auto;
}

.dropdown-server {
  left: 32px;
  top: 514px;
}

.dropdown-quality {
  left: 242px;
  top: 514px;
}

.dropdown-skin {
  right: 32px;
  top: 56px;
  height: 84px;
}

[data-menu="server"] .dropdown-server,
[data-menu="quality"] .dropdown-quality,
[data-menu="skin"] .dropdown-skin {
  display: block;
}

[data-view="schedule"][data-menu="skin"] .dropdown-skin {
  top: 56px;
}

.dropdown-option {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 26px;
  border: 0;
  padding: 0 0 0 34px;
  background: transparent;
  color: #8a9299;
  text-align: left;
  cursor: pointer;
  font-size: 11px;
  line-height: 18px;
}

.dropdown-option.is-active {
  color: var(--cyan);
}

.active-dot {
  position: absolute;
  left: 17px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 19px rgba(77, 189, 255, 0.24);
  transform: translateY(-50%);
}

.dropdown-note {
  display: block;
  margin: 8px 0 0 34px;
  color: #8a9299;
  font-size: 10px;
  line-height: 18px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 96px;
  height: 44px;
  margin: 36px 32px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.footer-links a {
  align-self: center;
}

.footer-links .accent {
  color: var(--patreon);
}

@media (min-width: 750px) {
  .footer-links {
    position: absolute;
    right: 32px;
    bottom: 31px;
    left: 32px;
    margin: 0;
  }
}

/* Figma typography contract: Desktop v1 handoff */
.logo {
  font-weight: 400;
  letter-spacing: 0.08em;
}

.stream-label {
  letter-spacing: 0.08em;
}

.skin-switch {
  font-weight: 300;
  letter-spacing: 0.08em;
}

.player-area h1 {
  letter-spacing: 0.18em;
}

.status-row,
#live-label,
.control,
.control-button span:first-child,
.control-volume > span:first-child,
.control-url > span:first-child,
.schedule-card h2,
.schedule-head,
.schedule-row,
.full-schedule-link,
.schedule-page-header h2,
.schedule-page-header p,
#back-to-player,
.date-selector button,
.full-schedule-head,
.full-row {
  letter-spacing: 0.08em;
  font-weight: 300;
}

.now-playing p {
  letter-spacing: 0.08em;
  font-weight: 300;
}

.control-button strong {
  letter-spacing: 0;
  font-weight: 300;
}

.copy-button {
  letter-spacing: 0.08em;
  font-weight: 300;
}

.dropdown-option {
  letter-spacing: 0.04em;
  font-weight: 300;
}

.dropdown-note {
  letter-spacing: 0.02em;
  font-weight: 300;
}

.footer-links {
  letter-spacing: 0.12em;
  font-weight: 300;
}

@keyframes broadcastGlow {
  0% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.21;
    transform: scale(1.08);
  }
  100% {
    opacity: 0.1;
    transform: scale(1);
  }
}

@keyframes nowPlayingMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--marquee-distance, 0px)));
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-playback="playing"] .play-glow {
    animation: none;
  }
}

@media (max-width: 749px) {
  html,
  body {
    color: var(--text-mobile);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .night-zero {
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .glow-center {
    left: -130px;
    top: 70px;
    width: 650px;
    height: 520px;
    transform: none;
    opacity: 0.2;
  }

  .glow-bottom {
    left: -80px;
    bottom: -76px;
    width: 550px;
    height: 360px;
    transform: none;
  }

  .panel {
    width: 100%;
    max-width: 390px;
    min-height: 100dvh;
    height: auto;
    margin: 0;
    padding-top: max(24px, env(safe-area-inset-top, 0px));
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .header-bar {
    height: 56px;
    margin: 0 24px;
  }

  .logo {
    display: none;
    font-size: 28px;
    font-weight: 400;
    line-height: 32px;
  }

  .stream-label {
    left: 0;
    top: 0;
    margin-top: 0;
    gap: 7px;
    color: var(--cyan-mobile);
    font-size: 13px;
    line-height: 18px;
  }

  .stream-label::before {
    width: 5px;
    height: 5px;
    background: var(--cyan-mobile);
  }

  .skin-switch {
    top: 0;
    right: 6px;
    gap: 8px;
    height: 16px;
    color: #b9c1c2;
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
  }

  .chevron {
    width: 10px;
    height: 8px;
    background-image: url("assets/chevron-mobile.svg");
  }

  .skin-switch .chevron {
    width: 11px;
    height: 8px;
    background-image: url("assets/chevron-skin-mobile.svg");
  }

  .player-area {
    width: calc(100% - 48px);
    max-width: 342px;
    height: 210px;
    margin: 14px auto 0;
    padding-top: 22px;
  }

  .play-button {
    width: 124px;
    height: 124px;
    margin-top: -4px;
  }

  .play-glow,
  .play-halo {
    display: none;
  }

  .play-ring {
    border-color: var(--cyan-mobile);
    border-width: 2px;
  }

  .play-symbol {
    left: 52px;
    top: 46px;
    border-top-width: 16px;
    border-bottom-width: 16px;
    border-left-color: var(--cyan-mobile);
  }

  [data-playback="playing"] .play-button {
    width: 146px;
    height: 146px;
    margin-top: -15px;
  }

  [data-playback="playing"] .play-glow,
  [data-playback="playing"] .play-halo {
    display: block;
  }

  [data-playback="playing"] .play-glow {
    inset: 7px;
    background: var(--cyan-mobile);
    opacity: 0.09;
    filter: blur(26px);
  }

  [data-playback="playing"] .play-halo {
    inset: 8px;
    border-color: rgba(86, 208, 255, 0.22);
  }

  [data-playback="playing"] .play-ring {
    inset: 17px;
    border-color: var(--cyan-mobile);
  }

  [data-playback="playing"] .play-symbol {
    left: 61px;
    top: 58px;
    width: 24px;
    height: 30px;
    background:
      linear-gradient(var(--cyan-mobile), var(--cyan-mobile)) 0 0 / 7px 30px no-repeat,
      linear-gradient(var(--cyan-mobile), var(--cyan-mobile)) 17px 0 / 7px 30px no-repeat;
  }

  .player-area h1 {
    margin-top: 30px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
  }

  [data-playback="playing"] .player-area h1 {
    margin-top: 19px;
  }

  .now-playing {
    width: calc(100% - 48px);
    max-width: 342px;
    height: 72px;
    margin: 16px auto 0;
    border: 0;
  }

  .status-row {
    gap: 9px;
    color: var(--muted-mobile);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
  }

  .live-dot {
    margin-left: 0;
    background: var(--cyan-mobile);
    opacity: 1;
  }

  #live-label {
    color: var(--cyan-mobile);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
  }

  .now-playing p {
    margin-top: 8px;
    color: var(--text-mobile);
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
  }

  .controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 10px;
    width: calc(100% - 48px);
    max-width: 342px;
    height: 142px;
    margin: 0 auto;
  }

  .control-server,
  .control-quality {
    height: 80px;
    border: 1px solid #12313a;
    border-radius: 12px;
    background: var(--panel);
  }

  .control-button {
    height: 78px;
    margin-top: 0;
    padding: 14px 16px;
  }

  .control-button span:first-child,
  .control-volume > span:first-child,
  .control-url > span:first-child {
    position: static;
    pointer-events: auto;
    color: var(--muted-mobile);
    font-size: 11px;
    line-height: 16px;
  }

  .control-button strong {
    margin-top: 8px;
    color: var(--text-mobile);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
  }

  .control-button .chevron {
    left: auto;
    right: 16px;
    top: 46px;
    color: var(--muted-mobile);
  }

  .control-volume {
    display: none;
  }

  .control-url {
    grid-column: 1 / -1;
    height: 52px;
    border: 1px solid #12313a;
    border-radius: 12px;
    background: var(--panel);
  }

  .control-url > span:first-child {
    position: absolute;
    left: 52px;
    top: 18px;
    color: #b9c1c2;
    font-size: 0;
    font-weight: 400;
    line-height: 16px;
  }

  .control-url > span:first-child::after {
    content: "COPY STREAM URL";
    font-size: 11px;
    font-weight: 400;
  }

  .control-url::before,
  .control-url::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  .control-url::before {
    left: 18px;
    top: 16px;
    width: 20px;
    height: 20px;
    background: url("assets/link-mobile.svg") center / contain no-repeat;
  }

  .control-url::after {
    right: 18px;
    top: 16px;
    width: 20px;
    height: 20px;
    background: url("assets/copy-mobile.svg") center / contain no-repeat;
  }

  .copy-button {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    color: transparent;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .control-button,
  .skin-switch,
  .full-schedule-link,
  #back-to-player,
  .dropdown-option,
  .date-selector button {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .copy-button:focus,
  .copy-button:active,
  .control-button:focus,
  .control-button:active,
  .skin-switch:focus,
  .skin-switch:active,
  .full-schedule-link:focus,
  .full-schedule-link:active,
  #back-to-player:focus,
  #back-to-player:active,
  .dropdown-option:focus,
  .dropdown-option:active,
  .date-selector button:focus,
  .date-selector button:active {
    outline: none;
    background: transparent;
  }

  .copy-button.is-copied {
    color: var(--cyan-mobile);
    padding: 33px 12px 0 0;
    font-size: 10px;
    line-height: 12px;
    text-align: right;
  }

  .control-url.is-copied {
    color: transparent;
    background: var(--panel);
  }

  .schedule-card {
    width: calc(100% - 48px);
    max-width: 342px;
    height: 104px;
    margin: 12px auto 0;
    border-color: #12313a;
    border-radius: 12px;
    background: var(--panel);
    padding: 14px 16px;
    overflow: visible;
  }

  .schedule-card-content {
    position: static;
  }

  .schedule-art-toggle,
  .schedule-gallery {
    display: none;
  }

  .schedule-head {
    display: none;
  }

  .schedule-card h2 {
    display: flex;
    justify-content: space-between;
    color: var(--muted-mobile);
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
  }

  .timezone-label {
    display: inline;
  }

  .schedule-preview {
    margin: 9px 0 0;
  }

  .schedule-row {
    display: none;
  }

  .schedule-row:first-child {
    display: block;
    min-height: 50px;
    padding-top: 0;
    color: var(--text-mobile);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
  }

  .schedule-row:first-child::before {
    display: none;
  }

  .schedule-row:first-child::after {
    content: attr(data-start);
    position: absolute;
    right: 0;
    top: 0;
    color: var(--text-mobile);
    font-size: 13px;
    line-height: 20px;
  }

  .schedule-row:first-child span:first-child {
    display: none;
  }

  .schedule-row:first-child span:last-child {
    display: block;
    width: calc(100% - 64px);
    overflow: hidden;
    color: var(--text-mobile);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .schedule-row.is-current::before {
    display: none;
  }

  .full-schedule-link {
    left: 16px;
    bottom: 14px;
    gap: 7px;
    color: rgba(86, 208, 255, 0.85);
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  .schedule-page-header {
    margin: 8px 24px 0;
  }

  .schedule-page-header h2 {
    font-size: 18px;
    line-height: 24px;
  }

  .schedule-page-header p {
    width: 250px;
    color: var(--muted-mobile);
    font-size: 11px;
    line-height: 16px;
  }

  #back-to-player {
    min-width: 58px;
    color: rgba(86, 208, 255, 0.85);
    font-size: 0;
    line-height: 16px;
  }

  #back-to-player::after {
    content: "BACK";
    font-size: 11px;
  }

  .date-selector {
    justify-content: space-between;
    width: calc(100% - 48px);
    max-width: 342px;
    gap: 0;
    margin: 46px auto 0;
  }

  .date-selector button {
    width: 38px;
    height: 30px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 16px;
  }

  .date-selector button.is-active {
    border-color: rgba(86, 208, 255, 0.9);
    background: transparent;
    color: var(--cyan-mobile);
  }

  .full-schedule-card {
    width: calc(100% - 48px);
    max-width: 342px;
    height: 386px;
    margin: 38px auto 0;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .full-schedule-head {
    display: none;
  }

  .full-schedule-list {
    height: 386px;
    margin: 0;
    padding: 0 0 0 16px;
  }

  .full-row {
    grid-template-columns: 56px 1fr;
    min-height: 52px;
    align-items: center;
    border-bottom: 1px solid rgba(18, 49, 58, 0.72);
    color: rgba(238, 232, 223, 0.78);
    font-size: 12px;
    line-height: 18px;
  }

  .full-row.is-current {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(18, 49, 58, 0.72);
    border-radius: 0;
    padding: 0;
    color: var(--text-mobile);
  }

  .full-row.is-current::before {
    display: block;
    left: -12px;
    top: 23px;
    background: var(--cyan-mobile);
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: calc(100% - 48px);
    max-width: 342px;
    height: 36px;
    margin: 14px auto 0;
    border-top: 1px solid #12313a;
    color: rgba(139, 146, 149, 0.85);
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    text-transform: none;
  }

  .footer-links a {
    justify-self: stretch;
    align-self: center;
    text-align: center;
  }

  .footer-links a:first-child,
  .footer-links a:last-child {
    justify-self: stretch;
    margin: 0;
  }

  .footer-links .accent {
    color: var(--mobile-patreon);
  }

  [data-view="schedule"] .footer-links {
    display: none;
  }

  .dropdown {
    border-color: #1a3238;
    background: var(--panel-solid);
  }

  .dropdown-option,
  .dropdown-note {
    font-weight: 400;
  }

  .dropdown-option .active-dot {
    top: calc(50% + 1px);
  }

  .dropdown-server,
  .dropdown-quality {
    top: 444px;
    width: calc((min(342px, calc(100% - 48px)) - 16px) / 2);
    height: 72px;
  }

  .dropdown-server {
    left: calc((100% - min(342px, calc(100% - 48px))) / 2);
  }

  .dropdown-quality {
    left: calc((100% - min(342px, calc(100% - 48px))) / 2 + ((min(342px, calc(100% - 48px)) - 16px) / 2) + 16px);
  }

  .dropdown-skin {
    right: 24px;
    top: 28px;
    width: 132px;
    height: 84px;
  }

  [data-view="schedule"][data-menu="skin"] .dropdown-skin {
    top: 28px;
    right: 24px;
    width: 132px;
    height: 84px;
    padding: 10px 0;
  }

  .dropdown-option {
    height: 30px;
    padding-left: 27px;
    font-size: 12px;
    line-height: 20px;
  }

  .active-dot {
    left: 14px;
    top: 12.5px;
  }

  .dropdown-note {
    margin: 0 0 0 14px;
    font-size: 11px;
  }

  /* Figma typography contract: Mobile v1 handoff */
  .logo {
    letter-spacing: 0.28em;
  }

  .now-playing p,
  .control-button span:first-child,
  .control-button strong,
  .schedule-row:first-child,
  .schedule-row:first-child::after,
  .schedule-page-header h2,
  .schedule-page-header p,
  .date-selector button,
  .full-row,
  .footer-links {
    letter-spacing: 0;
  }

  .skin-switch {
    letter-spacing: 0.08em;
  }

  .player-area h1 {
    letter-spacing: 0.12em;
  }

  .status-row,
  #live-label,
  .control-url > span:first-child,
  .control-url > span:first-child::after,
  .schedule-row:first-child::before,
  .full-schedule-link,
  #back-to-player::after {
    letter-spacing: 0.08em;
  }

  .dropdown-option {
    letter-spacing: 0.04em;
  }

  .dropdown-note {
    letter-spacing: 0.02em;
  }

  .stream-label {
    letter-spacing: 0.08em;
  }
}

@media (min-width: 750px) and (max-height: 980px) {
  .panel {
    margin-top: 14px;
    margin-bottom: 14px;
  }
}

@media (max-width: 749px) {
  [data-stream="live"] .live-dot {
    background: var(--cyan-mobile);
  }

  [data-stream="live"] #live-label {
    color: var(--cyan-mobile);
  }

  [data-stream="checking"] .live-dot,
  [data-stream="unknown"] .live-dot,
  [data-stream="offline"] .live-dot {
    background: var(--muted-mobile);
    opacity: 0.55;
  }

  [data-stream="checking"] #live-label,
  [data-stream="unknown"] #live-label,
  [data-stream="offline"] #live-label {
    color: var(--muted-mobile);
  }
}
