:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --quiet: rgba(255, 255, 255, 0.46);
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(22, 22, 25, 0.66);
  --glass-strong: rgba(22, 22, 25, 0.86);
  --live: #67e281;
  --accent: #65dcf4;
  --accent-rgb: 101, 220, 244;
  --app-background: #08090b;
  --surface: #1a1d20;
  --surface-rgb: 26, 29, 32;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

.app [hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--app-background);
  color: var(--text);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.62);
  outline-offset: 3px;
}

.app {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  isolation: isolate;
}

.app:fullscreen,
.app:-webkit-full-screen {
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
}

.backdrop,
.backdrop > img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.backdrop {
  z-index: -3;
  overflow: hidden;
  background: var(--app-background);
}

.backdrop > img {
  object-fit: cover;
  filter: blur(48px) saturate(1.05) brightness(0.4);
  opacity: 0.88;
  transform: scale(1.16);
  transition: opacity 500ms ease;
}

.videoBackdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--app-background);
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.videoBackdrop iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  border: 0;
  filter: saturate(1.1) brightness(0.48);
  opacity: 0.92;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.02);
  transition: filter 520ms ease, opacity 520ms ease, transform 520ms ease;
}

.backdrop.has-video .videoBackdrop {
  opacity: 1;
}

.backdrop.has-video > img {
  opacity: 0;
}

.backdrop::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(78, 231, 255, 0.15), transparent 30%),
    radial-gradient(circle at 70% 70%, rgba(255, 111, 97, 0.11), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.86));
  transition: background 520ms ease;
}

.topbar {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  left: clamp(18px, 3vw, 42px);
  right: clamp(18px, 3vw, 42px);
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.topbarLeft,
.topbarActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbarLeft {
  justify-self: start;
}

.topbarActions {
  justify-self: end;
}

.programNotification {
  position: fixed;
  top: calc(max(20px, env(safe-area-inset-top)) + 58px);
  right: clamp(18px, 3vw, 42px);
  z-index: 35;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  align-items: start;
  gap: 9px;
  width: min(336px, calc(100vw - 36px));
  min-height: 74px;
  padding: 11px 10px 11px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(var(--surface-rgb), 0.78);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    0 7px 20px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  color: white;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px) scale(0.975);
  transform-origin: top right;
  transition:
    opacity 220ms ease,
    transform 420ms cubic-bezier(0.16, 0.88, 0.24, 1);
  -webkit-backdrop-filter: blur(46px) saturate(1.35);
  backdrop-filter: blur(46px) saturate(1.35);
}

.programNotification.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.programNotificationGlyph {
  display: grid;
  align-self: center;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 10px;
  background: rgba(249, 249, 251, 0.94);
  box-shadow:
    0 5px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.programNotificationGlyph img {
  width: 19px;
  height: 19px;
}

.programNotification[data-artwork="true"] .programNotificationGlyph {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(12, 12, 14, 0.82);
}

.programNotification[data-artwork="true"] .programNotificationGlyph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.programNotificationBody {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.programNotificationHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.programNotificationHeader strong {
  min-width: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 650;
  line-height: inherit;
  letter-spacing: 0;
  white-space: nowrap;
}

.programNotificationTime {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.42);
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.programNotificationHeader[hidden] {
  display: none;
}

.programNotificationTitle {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.32;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.programNotificationMessage {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.38;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.programNotificationMessage[hidden] {
  display: none;
}

.programNotification[data-kind="track"] .programNotificationBody {
  align-self: center;
}

.programNotification[data-kind="track"] {
  width: min(400px, calc(100vw - 36px));
}

.programNotification[data-kind="track"] .programNotificationMessage {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.programNotification[data-kind="program"] .programNotificationBody,
.programNotification[data-kind="upcoming-program"] .programNotificationBody {
  align-self: center;
}

.programNotification[data-kind="program"] .programNotificationBody {
  text-align: left;
}

.programNotification[data-kind="upcoming-program"] .programNotificationBody {
  text-align: center;
}

.programNotification[data-kind="dedication"] {
  min-height: 96px;
}

.programNotificationClose {
  display: grid;
  align-self: start;
  width: 22px;
  height: 22px;
  margin-top: -1px;
  padding: 3px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.44);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.programNotificationClose:hover {
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.86);
  transform: scale(1.04);
}

.programNotificationClose .icon {
  width: 16px;
  height: 16px;
  transform: scale(0.7);
}

.brand {
  position: absolute;
  top: 0;
  left: 50%;
  justify-self: center;
  display: grid;
  width: clamp(176px, 18vw, 210px);
  height: 120px;
  place-items: center;
  transform: translateX(-50%);
}

.brandLogo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.42));
}

.iconButton,
.sheetClose {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(20, 20, 23, 0.42);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px) saturate(1.2);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.iconButton:hover,
.sheetClose:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.04);
}

.iconButton.is-active {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(46, 46, 50, 0.82);
}

.webTvToggle {
  overflow: hidden;
}

.fullscreenToggle {
  display: none;
  overflow: hidden;
}

.fullscreenToggle[hidden] {
  display: none;
}

.fullscreenIcon {
  position: absolute;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.fullscreenIcon--exit {
  opacity: 0;
  transform: scale(0.72);
}

.fullscreenToggle[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.fullscreenToggle[aria-pressed="true"] .fullscreenIcon {
  filter: none;
}

.fullscreenToggle[aria-pressed="true"] .fullscreenIcon--enter {
  opacity: 0;
  transform: scale(0.72);
}

.fullscreenToggle[aria-pressed="true"] .fullscreenIcon--exit {
  opacity: 1;
  transform: scale(1);
}

.webTvToggle[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.webTvToggle[aria-pressed="true"]:hover {
  background: white;
}

.iconImg {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
  opacity: 0.94;
  filter: brightness(0) invert(1);
}

.webTvIcon {
  position: absolute;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.webTvIcon--radio {
  opacity: 0;
  transform: scale(0.72);
}

.webTvToggle[aria-pressed="true"] .webTvIcon {
  filter: none;
}

.webTvToggle[aria-pressed="true"] .webTvIcon--tv {
  opacity: 0;
  transform: scale(0.72);
}

.webTvToggle[aria-pressed="true"] .webTvIcon--radio {
  opacity: 1;
  transform: scale(1);
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 50;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(12, 12, 14, 0.86);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-2px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dock [data-tooltip]::after {
  top: auto;
  bottom: calc(100% + 9px);
}

.stage {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding:
    calc(96px + env(safe-area-inset-top))
    clamp(28px, 6vw, 88px)
    calc(116px + env(safe-area-inset-bottom));
}

.player {
  display: grid;
  grid-template-columns: clamp(300px, 34vw, 420px) minmax(300px, 520px);
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
  width: min(1080px, 100%);
  transition:
    width 460ms cubic-bezier(0.22, 0.8, 0.25, 1),
    gap 460ms cubic-bezier(0.22, 0.8, 0.25, 1),
    padding 460ms cubic-bezier(0.22, 0.8, 0.25, 1),
    background 360ms ease,
    box-shadow 360ms ease;
}

.coverWrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: clamp(22px, 2.2vw, 30px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.48),
    0 10px 30px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.16);
  transition:
    width 460ms cubic-bezier(0.22, 0.8, 0.25, 1),
    border-radius 460ms cubic-bezier(0.22, 0.8, 0.25, 1),
    box-shadow 360ms ease;
}

.coverWrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 600ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.coverWrap:hover .cover {
  transform: scale(1.018);
}

.playButton {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(9, 10, 12, 0.62);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px) saturate(1.25);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.playButton:hover {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(26, 27, 30, 0.72);
  transform: scale(1.055);
}

.playButton:active {
  transform: scale(0.97);
}

.playIcon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid white;
}

.app[data-playing="true"] .playIcon {
  display: flex;
  justify-content: space-between;
  width: 20px;
  height: 24px;
  margin-left: 0;
  border: 0;
}

.app[data-playing="true"] .playIcon::before,
.app[data-playing="true"] .playIcon::after {
  content: "";
  width: 6px;
  height: 24px;
  border-radius: 4px;
  background: white;
}

@media (hover: hover) and (pointer: fine) {
  .app[data-playing="true"] .coverWrap .playButton {
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px) scale(0.94);
  }

  .app[data-playing="true"] .coverWrap:hover .playButton,
  .app[data-playing="true"].is-play-control-hovered .coverWrap .playButton {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .app[data-playing="true"].is-play-control-dismissed .coverWrap:hover .playButton {
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px) scale(0.94);
  }

  .app[data-playing="true"] .coverWrap .playButton:focus-visible,
  .app[data-playing="true"].is-play-control-dismissed .coverWrap .playButton:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .app.is-webtv[data-playing="true"] .coverWrap .playButton {
    transform: translate(-50%, -50%) scale(0.94);
  }

  .app.is-webtv[data-playing="true"] .coverWrap:hover .playButton,
  .app.is-webtv[data-playing="true"].is-play-control-hovered .coverWrap .playButton,
  .app.is-webtv[data-playing="true"] .coverWrap .playButton:focus-visible,
  .app.is-webtv[data-playing="true"].is-play-control-dismissed .coverWrap .playButton:focus-visible {
    transform: translate(-50%, -50%) scale(1);
  }

  .app.is-webtv[data-playing="true"].is-play-control-dismissed .coverWrap:hover .playButton {
    transform: translate(-50%, -50%) scale(0.94);
  }
}

.app[data-playing="true"].is-play-control-dismissed .coverWrap .playButton {
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px) scale(0.94);
}

.app[data-playing="true"].is-play-control-hovered .coverWrap .playButton,
.app[data-playing="true"] .coverWrap .playButton:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.app.is-webtv[data-playing="true"].is-play-control-dismissed .coverWrap .playButton {
  transform: translate(-50%, -50%) scale(0.94);
}

.app.is-webtv[data-playing="true"].is-play-control-hovered .coverWrap .playButton,
.app.is-webtv[data-playing="true"] .coverWrap .playButton:focus-visible {
  transform: translate(-50%, -50%) scale(1);
}

.meta {
  min-width: 0;
  text-align: left;
  transition: opacity 320ms ease, transform 460ms cubic-bezier(0.22, 0.8, 0.25, 1);
}

.nowPlaying {
  margin: 0 0 10px;
  color: var(--quiet);
  font-size: 0.76rem;
  font-weight: 720;
  text-transform: uppercase;
}

.meta h1 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(2.15rem, 4.2vw, 4rem);
  font-weight: 760;
  line-height: 1;
}

.meta > #artist {
  max-width: 100%;
  margin: 18px 0 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: clamp(1.16rem, 2.3vw, 1.7rem);
  font-weight: 560;
  line-height: 1.25;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 12;
  width: auto;
  height: 58px;
  transform: translateX(-50%);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.22, 0.8, 0.25, 1);
}

.app.is-sheet-open .dock {
  z-index: 24;
}

.dockInner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
}

.dockTab[data-menu-key] {
  order: var(--desktop-menu-order, 1);
}

.dockItem {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.dockTab {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 54px;
  height: 54px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(var(--surface-rgb), 0.68);
  color: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(24px) saturate(1.25);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.historyTab {
  width: auto;
  min-width: 122px;
  padding: 0 18px;
}

.dockTab:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(38, 38, 42, 0.76);
  color: white;
  transform: translateY(-2px);
}

.dockTab:active {
  transform: translateY(0) scale(0.97);
}

.dockTab.is-active,
.volumeItem.is-open .dockTab {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(46, 46, 50, 0.82);
  color: white;
  transform: translateY(-2px);
}

.dockGlyph {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
}

.dockIcon {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(0) invert(1);
  transition: transform 180ms ease, opacity 180ms ease;
}

.dockTab:hover .dockIcon,
.dockTab.is-active .dockIcon,
.volumeItem.is-open .dockIcon {
  opacity: 1;
  transform: scale(1.05);
}

.dockLabel {
  max-width: 70px;
  overflow: hidden;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dockTab:not(.historyTab) .dockLabel {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mobileLiveTab {
  display: none;
}

.volumePopover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 72px;
  height: 192px;
  padding: 14px 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  background: rgba(25, 25, 28, 0.8);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(28px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px) scale(0.98);
  transform-origin: bottom center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.volumePopover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(25, 25, 28, 0.88);
  transform: translateX(-50%) rotate(45deg);
}

.volumeItem:hover .volumePopover,
.volumeItem.is-open .volumePopover,
.volumePopover:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.volumePopover strong {
  display: block;
  min-width: 40px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.volumeSlider {
  position: relative;
  display: grid;
  width: 40px;
  height: 128px;
  place-items: center;
}

#volume {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 128px;
  height: 34px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
}

#volume::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff var(--volume-level, 78%), rgba(255, 255, 255, 0.18) 0);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.24);
}

#volume::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 0;
  border-radius: 50%;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.32);
  -webkit-appearance: none;
}

#volume::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff var(--volume-level, 78%), rgba(255, 255, 255, 0.18) 0);
}

#volume::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.32);
}

.sheet[hidden],
.shareMenu[hidden] {
  display: none;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.sheetBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(6px);
}

.sheetPanel {
  position: absolute;
  right: 24px;
  bottom: 98px;
  width: min(410px, calc(100vw - 48px));
  max-height: min(610px, calc(100dvh - 126px));
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(var(--surface-rgb), 0.94);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(30px) saturate(1.2);
}

.sheet[data-panel="history"] .sheetPanel {
  bottom: 24px;
  width: min(480px, calc(100vw - 48px));
  max-height: min(680px, calc(100dvh - 48px));
}

.sheet[data-panel="qr"] .sheetPanel {
  right: 24px;
  bottom: 24px;
  left: auto;
  width: min(390px, calc(100vw - 48px));
  max-height: min(620px, calc(100dvh - 48px));
  padding: 22px;
  border-radius: 20px;
  transform: none;
}

.sheet[data-panel="qr"] .eyebrow {
  color: rgba(255, 255, 255, 0.52);
}

.sheetHeader {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.sheetHeading {
  min-width: 0;
}

.sheetClose {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sheetClose .icon-close {
  width: 18px;
  height: 18px;
}

.sheetClose .icon-close::before,
.sheetClose .icon-close::after {
  top: 8px;
  left: 3px;
  width: 12px;
  height: 1.5px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 720;
  text-transform: uppercase;
}

.sheetPanel h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.sheetContent {
  color: var(--muted);
  line-height: 1.5;
}

.streamList,
.infoGrid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timelinePanel {
  display: grid;
  gap: 14px;
}

.timelineTabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background: rgba(5, 6, 8, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 8px 24px rgba(0, 0, 0, 0.1);
}

.timelineTabs.is-two-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timelineTabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.timelineTabs button:hover {
  color: rgba(255, 255, 255, 0.8);
}

.timelineTabs button.is-active {
  background: rgba(248, 248, 250, 0.96);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 6px 18px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 white;
  color: #121317;
}

.timelineTabCount {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.timelineTabs button.is-active .timelineTabCount {
  background: rgba(18, 19, 23, 0.09);
  color: rgba(18, 19, 23, 0.62);
}

.timelineTabs button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.timelineView {
  min-width: 0;
  min-height: 282px;
}

.timelineView > * {
  animation: timelineViewIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes timelineViewIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trackArtwork {
  position: relative;
  display: block;
  overflow: hidden;
  width: 52px;
  height: 52px;
  border-radius: 7px;
  background: var(--art, linear-gradient(135deg, #15171a, #34373d));
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

.timelineCopy {
  min-width: 0;
}

.timelineCopy strong,
.streamOptionCopy strong,
.infoCard strong {
  display: block;
  overflow: hidden;
  color: white;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timelineList {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timelineRow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 68px;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 7px;
  transition: background 160ms ease;
}

.timelineRow:hover {
  background: rgba(255, 255, 255, 0.035);
}

.timelineRow:last-child {
  border-bottom: 0;
}

.timelineCopy strong {
  font-size: 0.9rem;
  font-weight: 680;
}

.timelineCopy > span,
.streamOptionCopy > span,
.infoCard span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--quiet);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timelineTime {
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}

.timelineRow.is-upcoming .timelineTime {
  color: rgba(255, 255, 255, 0.72);
}

.timelineRow.is-placeholder {
  opacity: 0.58;
}

.trackArtwork.trackArtwork--pending {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.trackArtwork.trackArtwork--pending img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  opacity: 0.72;
  filter: brightness(0) invert(1);
}

.upcomingEmpty {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-height: 282px;
  padding: 30px;
  text-align: center;
}

.upcomingGlyph {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 10px 30px rgba(0, 0, 0, 0.2);
}

.upcomingGlyph img {
  width: 20px;
  height: 20px;
  opacity: 0.88;
  filter: brightness(0) invert(1);
}

.upcomingEmpty > span:last-child {
  max-width: 270px;
  min-width: 0;
}

.upcomingEmpty strong,
.upcomingEmpty > span:last-child > span {
  display: block;
}

.upcomingEmpty strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.upcomingEmpty > span:last-child > span {
  margin-top: 4px;
  color: var(--quiet);
  font-size: 0.78rem;
  line-height: 1.4;
}

.timelineEmpty {
  padding: 14px 2px;
  color: var(--quiet);
  font-size: 0.82rem;
}

.timelineRow.is-loading {
  pointer-events: none;
}

.timelineRow.is-loading .trackArtwork,
.timelineRow.is-loading .timelineCopy i {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  background-size: 220% 100%;
  animation: timelineLoading 1.2s ease-in-out infinite;
}

.timelineRow.is-loading .timelineCopy i {
  display: block;
  width: min(180px, 78%);
  height: 10px;
  border-radius: 4px;
}

.timelineRow.is-loading .timelineCopy i:last-child {
  width: min(120px, 54%);
  height: 8px;
  margin-top: 8px;
}

@keyframes timelineLoading {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.sheet[data-panel="streams"] .sheetPanel {
  right: 24px;
  bottom: 24px;
  left: auto;
  width: min(360px, calc(100vw - 48px));
  padding: 20px;
  border-radius: 20px;
  transform: none;
}

.sheet[data-panel="site"] .sheetPanel {
  right: 24px;
  bottom: 24px;
  left: auto;
  width: min(380px, calc(100vw - 48px));
  padding: 20px;
  border-radius: 20px;
  transform: none;
}

.sheet[data-panel="dedication"] .sheetPanel {
  right: 24px;
  bottom: 24px;
  left: auto;
  width: min(380px, calc(100vw - 48px));
  max-height: min(520px, calc(100dvh - 48px));
  padding: 20px;
  border-radius: 20px;
  transform: none;
}

.sheet[data-panel="chat"] .sheetPanel {
  right: 24px;
  bottom: 24px;
  left: auto;
  display: flex;
  flex-direction: column;
  width: min(430px, calc(100vw - 48px));
  height: min(570px, calc(100dvh - 48px));
  max-height: none;
  overflow: hidden;
  padding: 0;
  border-radius: 20px;
  background: rgba(var(--surface-rgb), 0.96);
  transform: none;
}

.sheet[data-panel="chat"].is-chat-join .sheetPanel {
  height: auto;
  min-height: 340px;
}

.sheet[data-panel="streams"] .sheetBackdrop,
.sheet[data-panel="qr"] .sheetBackdrop,
.sheet[data-panel="site"] .sheetBackdrop,
.sheet[data-panel="dedication"] .sheetBackdrop,
.sheet[data-panel="chat"] .sheetBackdrop {
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(4px);
}

.sheet[data-panel="streams"] .sheetHeader,
.sheet[data-panel="qr"] .sheetHeader,
.sheet[data-panel="site"] .sheetHeader,
.sheet[data-panel="dedication"] .sheetHeader {
  margin-bottom: 12px;
}

.sheet[data-panel="chat"] .sheetHeader {
  flex: 0 0 auto;
  margin: 0;
  padding: 18px 20px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(255, 255, 255, 0.018);
}

.sheet[data-panel="streams"] .sheetPanel h2,
.sheet[data-panel="qr"] .sheetPanel h2,
.sheet[data-panel="site"] .sheetPanel h2,
.sheet[data-panel="dedication"] .sheetPanel h2,
.sheet[data-panel="chat"] .sheetPanel h2 {
  font-size: 1.28rem;
}

.streamList {
  gap: 0;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.streamList li {
  min-width: 0;
}

.streamOption {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 66px;
  padding: 8px 5px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: white;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.streamOption:hover {
  background: rgba(255, 255, 255, 0.055);
}

.streamOption.is-current {
  background: rgba(255, 255, 255, 0.035);
}

.streamOptionGlyph {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.streamOptionGlyph img {
  width: 19px;
  height: 19px;
  opacity: 0.82;
  filter: brightness(0) invert(1);
}

.streamOptionCopy {
  min-width: 0;
}

.streamOptionCopy strong {
  font-size: 0.88rem;
  font-weight: 620;
}

.streamOptionCopy > span {
  margin-top: 3px;
  font-size: 0.75rem;
}

.streamOptionState {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1;
}

.streamOption.is-current .streamOptionState {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.streamOption:focus-visible {
  outline-offset: 2px;
}

.songRequestPanel,
.songRequestForm {
  display: grid;
  gap: 14px;
}

.songRequestSearch {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(7, 8, 10, 0.38);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.songRequestSearch:focus-within {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.songRequestSearch img {
  width: 18px;
  height: 18px;
  opacity: 0.48;
  filter: brightness(0) invert(1);
}

.songRequestSearch input {
  width: 100%;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font: inherit;
  font-size: 0.88rem;
}

.songRequestSearch input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.songRequestList {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.songRequestRow {
  min-width: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.songRequestRow[hidden] {
  display: none;
}

.songRequestRow > button {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 8px 6px;
  border: 0;
  border-radius: 7px;
  appearance: none;
  background: transparent;
  color: white;
  font: inherit;
  text-align: left;
  transition: background 160ms ease;
}

.songRequestRow > button:hover {
  background: rgba(255, 255, 255, 0.035);
}

.songRequestArtwork {
  display: block;
  width: 52px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: var(--art, linear-gradient(135deg, #15171a, #34373d));
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

.songRequestCopy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.songRequestCopy strong,
.songRequestCopy > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.songRequestCopy strong {
  color: white;
  font-size: 0.9rem;
  font-weight: 680;
}

.songRequestCopy > span {
  margin-top: 2px;
  color: var(--quiet);
  font-size: 0.8rem;
}

.songRequestChoose {
  min-width: 64px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 680;
  text-align: center;
}

.songRequestBack {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 4px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
}

.songRequestBack span {
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 0.8;
}

.songRequestSelection {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.085);
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.songRequestArtwork--selected {
  width: 64px;
  border-radius: 8px;
}

.songRequestForm .formField input {
  height: 44px;
}

.songRequestSubmit {
  min-height: 44px;
  margin-top: 2px;
}

.songRequestFeedback {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.4;
}

.songRequestEmpty {
  margin: 0;
  padding: 22px 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  text-align: center;
}

.primaryAction {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: #0b0c0e;
  font-size: 0.78rem;
  font-weight: 720;
}

.infoGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.infoCard {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.sitePanel {
  display: grid;
  gap: 12px;
}

.siteLinkList {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.siteLinkRow {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 66px;
  padding: 8px 5px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: white;
  text-align: left;
  transition: background 160ms ease, color 160ms ease;
}

.siteLinkRow + .siteLinkRow {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0 0 12px 12px;
}

.siteLinkRow:hover {
  background: rgba(255, 255, 255, 0.055);
}

.siteLinkGlyph {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.siteLinkGlyph img {
  width: 19px;
  height: 19px;
  opacity: 0.82;
  filter: brightness(0) invert(1);
}

.siteLinkCopy {
  display: grid;
  min-width: 0;
}

.siteLinkCopy strong {
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.siteLinkCopy > span {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.siteLinkArrow {
  color: rgba(255, 255, 255, 0.48);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.messageForm {
  display: grid;
  gap: 15px;
}

.sheet[data-panel="dedication"] .messageForm {
  gap: 12px;
}

.panelIntro {
  margin: -2px 0 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
}

.formRow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.formField {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.formField > span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.74rem;
  font-weight: 680;
}

.formField input,
.formField textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  outline: 0;
  background: rgba(7, 8, 10, 0.36);
  color: white;
  font: inherit;
  font-size: 0.86rem;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.formField input {
  height: 42px;
  padding: 0 12px;
}

.formField textarea {
  min-height: 88px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.4;
}

.sheet[data-panel="dedication"] .formField textarea {
  min-height: 76px;
}

.emojiComposer {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  margin-top: -6px;
}

.dedicationActions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -6px;
}

.dedicationActions .emojiComposer {
  flex: 0 0 auto;
  min-height: 40px;
  margin-top: 0;
}

.dedicationActions .formSubmit {
  margin-top: 0;
}

.emojiToggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.07);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.emojiToggle:hover,
.emojiToggle[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
  background: rgba(255, 255, 255, 0.13);
}

.emojiTray {
  position: absolute;
  bottom: 42px;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, 30px);
  gap: 3px;
  width: 215px;
  max-height: 150px;
  margin-left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px;
  background: rgba(28, 28, 31, 0.96);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(1.2);
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
  scrollbar-width: thin;
}

.emojiTray[hidden] {
  display: none;
}

.emojiTray::-webkit-scrollbar {
  width: 5px;
}

.emojiTray::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.22);
}

.emojiTray button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-family: "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  transition: background 140ms ease, transform 140ms ease;
}

.emojiTray button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.08);
}

.emojiTray button:active {
  transform: scale(0.94);
}

.formField input:focus,
.formField textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(10, 11, 14, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.formSubmit {
  justify-self: start;
  min-height: 40px;
  margin-top: 1px;
  padding: 0 17px;
}

.formSubmit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.formStatus {
  margin: -2px 0 0;
  border-radius: 10px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  line-height: 1.4;
}

.formStatus[data-type="success"] {
  color: #c9f7d6;
  background: rgba(46, 160, 84, 0.16);
}

.formStatus[data-type="error"] {
  color: #ffd1d1;
  background: rgba(210, 64, 64, 0.16);
}

.sheet[data-panel="chat"] .sheetContent {
  flex: 1;
  min-height: 0;
  padding: 0 20px 20px;
}

.chatJoin {
  display: grid;
  gap: 18px;
  padding-top: 14px;
}

.chatJoinIntro {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.chatJoinGlyph {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chatJoinGlyph img {
  width: 25px;
  height: 25px;
  opacity: 0.88;
  filter: brightness(0) invert(1);
}

.chatJoinCopy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.chatJoinCopy strong {
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.98rem;
  font-weight: 700;
}

.chatJoinCopy span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  line-height: 1.4;
}

.chatJoin .formField input {
  height: 50px;
  border-radius: 14px;
  background: rgba(6, 7, 9, 0.34);
}

.chatJoin .primaryAction {
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
}

.chatRoom {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 11px;
  height: 100%;
  min-height: 0;
}

.chatIdentity {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 14px 2px 1px;
}

.chatAvatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.88rem;
  font-weight: 740;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chatIdentityCopy {
  display: grid;
  min-width: 0;
}

.chatIdentityCopy strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.88rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatIdentityCopy span {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.69rem;
}

.chatIdentity button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 620;
}

.chatIdentity button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.chatPresence {
  display: grid;
  grid-template-columns: 7px auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.032);
}

.chatPresenceDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(103, 226, 129, 0.1);
}

.chatPresence strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 680;
  white-space: nowrap;
}

.chatPresence > span:last-child {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatMessages {
  display: flex;
  min-height: 0;
  margin: 0;
  padding: 8px 4px 8px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  scrollbar-width: thin;
}

.chatMessages::-webkit-scrollbar {
  width: 5px;
}

.chatMessages::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
}

.chatMessage {
  display: grid;
  grid-template-columns: 28px minmax(0, auto);
  align-items: end;
  align-self: flex-start;
  gap: 8px;
  width: fit-content;
  max-width: 90%;
}

.chatMessage.is-mine {
  align-self: flex-end;
  grid-template-columns: minmax(0, auto);
  justify-items: end;
}

.chatMessageAvatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
  font-weight: 720;
}

.chatMessage.is-mine .chatMessageAvatar {
  display: none;
}

.chatBubble {
  display: grid;
  gap: 4px;
  min-width: 96px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px 14px 14px 5px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.chatMessage.is-mine .chatBubble {
  border-radius: 14px 14px 5px 14px;
  background: rgba(247, 247, 249, 0.94);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 white;
}

.chatMessageMeta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.chatMessageMeta strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.67rem;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatMessageMeta time {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.62rem;
}

.chatMessage p {
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  line-height: 1.38;
}

.chatMessage.is-mine .chatMessageMeta strong,
.chatMessage.is-mine .chatMessageMeta time {
  color: rgba(15, 16, 19, 0.52);
}

.chatMessage.is-mine p {
  color: #141519;
}

.chatEmpty {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: auto;
  padding: 24px;
  text-align: center;
}

.chatEmptyGlyph {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.chatEmptyGlyph img {
  width: 20px;
  height: 20px;
  opacity: 0.62;
  filter: brightness(0) invert(1);
}

.chatEmpty strong {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
}

.chatEmpty > span:last-child {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

.chatComposer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 5px 6px 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(7, 8, 10, 0.48);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.chatComposer input {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-size: 0.82rem;
}

.chatComposer input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.chatComposer:focus-within {
  border-color: rgba(255, 255, 255, 0.27);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.chatComposer button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transition: opacity 150ms ease, transform 150ms ease;
}

.chatComposer button:hover {
  transform: scale(1.04);
}

.chatComposer button:active {
  transform: scale(0.96);
}

.chatComposer button:disabled {
  cursor: wait;
  opacity: 0.48;
}

.chatComposer button img {
  width: 18px;
  height: 18px;
}

.chatStatus {
  margin: -2px 2px 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
  line-height: 1.3;
}

.chatStatus[data-type="error"] {
  color: #ffd1d1;
}

.shareMenu {
  position: fixed;
  top: calc(max(20px, env(safe-area-inset-top)) + 52px);
  right: clamp(18px, 3vw, 42px);
  z-index: 25;
  display: grid;
  width: 230px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(var(--surface-rgb), 0.92);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(28px) saturate(1.2);
}

.shareMenu button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 6px 9px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
}

.shareMenu button:hover {
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.shareMenu .mobileOnlyMenuAction {
  display: none;
}

.shareMenu button[hidden] {
  display: none;
}

.miniGlyph {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
}

.miniIcon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.86;
  filter: brightness(0) invert(1);
}

.qrPanel {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.qrCodeFrame {
  position: relative;
  display: grid;
  width: 184px;
  height: 184px;
  place-items: center;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 14px;
  background: white;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.qrCodeFrame canvas {
  display: block;
  width: 168px;
  height: 168px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.qrCodeFrame.is-ready canvas {
  opacity: 1;
}

.qrLoading {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.82);
  color: white;
  font-size: 0.64rem;
  font-weight: 720;
  text-align: center;
  transition: opacity 180ms ease;
}

.qrCodeFrame.is-ready .qrLoading {
  opacity: 0;
  pointer-events: none;
}

.qrCodeFrame.has-error canvas {
  display: none;
}

.qrIdentity {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
}

.qrIdentity img {
  width: 142px;
  height: auto;
}

.qrIdentity span {
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qrActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
}

.qrAction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.qrAction--primary {
  border-color: white;
  background: white;
  color: #0b0c0e;
}

.qrAction img {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.qrAction--primary img {
  filter: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 40;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.84);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
  color: white;
  font-size: 0.82rem;
  font-weight: 680;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.icon-close::before,
.icon-close::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 3px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.icon-close::before {
  transform: rotate(45deg);
}

.icon-close::after {
  transform: rotate(-45deg);
}

.app.is-webtv .videoBackdrop iframe {
  filter: saturate(1.06) brightness(0.88);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.app.is-webtv .backdrop::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.02) 48%, rgba(0, 0, 0, 0.72) 100%);
}

.app.is-webtv .topbar [data-panel="info"],
.app.is-webtv .topbarPanelButton,
.app.is-webtv #shareOpen {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88);
}

.app.is-webtv .player {
  position: fixed;
  right: auto;
  bottom: calc(clamp(22px, 4vw, 40px) + env(safe-area-inset-bottom));
  left: clamp(22px, 4vw, 40px);
  z-index: 11;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  width: min(470px, calc(100vw - 44px));
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(12, 12, 14, 0.38);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.18);
}

.app.is-webtv .coverWrap {
  width: 84px;
  border-radius: 15px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.app.is-webtv .coverWrap:hover .cover {
  transform: none;
}

.app.is-webtv .playButton {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
}

.app.is-webtv .playButton:hover {
  transform: translate(-50%, -50%) scale(1.055);
}

.app.is-webtv .playButton:active {
  transform: translate(-50%, -50%) scale(0.97);
}

.app.is-webtv .playIcon {
  margin-left: 3px;
  border-top-width: 8px;
  border-bottom-width: 8px;
  border-left-width: 13px;
}

.app.is-webtv[data-playing="true"] .playIcon {
  width: 15px;
  height: 18px;
  margin-left: 0;
}

.app.is-webtv[data-playing="true"] .playIcon::before,
.app.is-webtv[data-playing="true"] .playIcon::after {
  width: 5px;
  height: 18px;
}

.app.is-webtv .meta {
  width: auto;
  max-width: 100%;
  text-align: left;
}

.app.is-webtv .nowPlaying {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
}

.app.is-webtv .meta h1 {
  display: -webkit-box;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  font-size: clamp(1.24rem, 2.2vw, 1.9rem);
  line-height: 1.06;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app.is-webtv .meta > #artist {
  max-width: 100%;
  margin: 6px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.88rem, 1.35vw, 1.05rem);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app.is-webtv .dock {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(22px);
}

.app.is-webtv .toast {
  bottom: calc(138px + env(safe-area-inset-bottom));
}

.app.is-echo-show .topbar {
  top: 20px;
  right: 24px;
  left: 24px;
}

.app.is-echo-show .topbarLeft,
.app.is-echo-show .topbarActions {
  gap: 10px;
}

.app.is-echo-show .fullscreenToggle {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}

.app.is-echo-show .fullscreenToggle[hidden] {
  display: none;
}

.app.is-echo-show .fullscreenToggle .fullscreenIcon {
  width: 22px;
  height: 22px;
}

.app.is-echo-show .brand {
  width: 210px;
  height: 126px;
}

.app.is-echo-show .iconButton {
  width: 56px;
  height: 56px;
}

.app.is-echo-show .iconImg {
  width: 25px;
  height: 25px;
}

.app.is-echo-show [data-tooltip]::after {
  display: none;
}

.app.is-echo-show:not(.is-webtv) .videoBackdrop iframe {
  transform: translate(-50%, -50%) scale(1.28);
}

.app.is-echo-show .stage {
  padding: 88px 56px 106px;
}

.app.is-echo-show .player {
  grid-template-columns: min(48vh, 400px) minmax(340px, 520px);
  gap: clamp(48px, 6vw, 76px);
  width: min(1020px, 100%);
}

.app.is-echo-show .coverWrap {
  border-radius: 26px;
}

.app.is-echo-show .playButton {
  right: 18px;
  bottom: 18px;
  width: 84px;
  height: 84px;
}

.app.is-echo-show .playIcon {
  border-top-width: 13px;
  border-bottom-width: 13px;
  border-left-width: 21px;
}

.app.is-echo-show[data-playing="true"] .playIcon {
  width: 24px;
  height: 28px;
}

.app.is-echo-show[data-playing="true"] .playIcon::before,
.app.is-echo-show[data-playing="true"] .playIcon::after {
  width: 7px;
  height: 28px;
}

.app.is-echo-show .nowPlaying {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.app.is-echo-show .meta h1 {
  display: -webkit-box;
  max-width: 12ch;
  overflow: hidden;
  font-size: clamp(2.8rem, 4.7vw, 3.8rem);
  line-height: 1.02;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app.is-echo-show .meta > #artist {
  max-width: 22ch;
  margin-top: 18px;
  overflow: hidden;
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app.is-echo-show .dock {
  bottom: 18px;
  width: min(760px, calc(100vw - 48px));
  height: 68px;
}

.app.is-echo-show .dockInner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}

.app.is-echo-show .dockItem {
  width: 100%;
}

.app.is-echo-show .dockTab,
.app.is-echo-show .historyTab {
  width: 100%;
  min-width: 0;
  height: 64px;
  gap: 8px;
  padding: 0 10px;
  border-radius: 18px;
}

.app.is-echo-show .dockGlyph {
  flex-basis: 25px;
  width: 25px;
  height: 25px;
}

.app.is-echo-show .dockIcon {
  width: 23px;
  height: 23px;
}

.app.is-echo-show .dockLabel,
.app.is-echo-show .dockTab:not(.historyTab) .dockLabel {
  position: static;
  width: auto;
  height: auto;
  max-width: 64px;
  overflow: hidden;
  clip: auto;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app.is-echo-show .volumePopover {
  bottom: calc(100% + 16px);
  width: 82px;
  height: 220px;
}

.app.is-echo-show .programNotification {
  top: 88px;
  right: 24px;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 11px;
  width: min(420px, calc(100vw - 48px));
  min-height: 94px;
  padding: 14px;
  border-radius: 20px;
}

.app.is-echo-show .programNotificationGlyph {
  width: 44px;
  height: 44px;
}

.app.is-echo-show .programNotificationGlyph img {
  width: 23px;
  height: 23px;
}

.app.is-echo-show .programNotification[data-artwork="true"] .programNotificationGlyph img {
  width: 100%;
  height: 100%;
}

.app.is-echo-show .programNotificationHeader strong {
  font-size: 0.8rem;
}

.app.is-echo-show .programNotificationTitle {
  font-size: 0.94rem;
}

.app.is-echo-show .programNotificationMessage {
  font-size: 0.84rem;
}

.app.is-echo-show.is-sheet-open .programNotification {
  opacity: 0;
  pointer-events: none;
}

.app.is-echo-show .sheetPanel {
  right: 24px;
  bottom: 98px;
  left: auto;
  width: min(480px, calc(100vw - 48px));
  max-height: calc(100vh - 126px);
  padding: 26px;
  border-radius: 20px;
  transform: none;
}

.app.is-echo-show .sheet[data-panel="history"] .sheetPanel {
  right: 24px;
  bottom: 98px;
  left: auto;
  width: min(540px, calc(100vw - 48px));
  max-height: calc(100vh - 126px);
}

.app.is-echo-show .sheet[data-panel="streams"] .sheetPanel,
.app.is-echo-show .sheet[data-panel="qr"] .sheetPanel,
.app.is-echo-show .sheet[data-panel="site"] .sheetPanel,
.app.is-echo-show .sheet[data-panel="dedication"] .sheetPanel {
  right: 24px;
  bottom: 98px;
  left: auto;
  width: min(480px, calc(100vw - 48px));
  max-height: calc(100vh - 126px);
  padding: 26px;
}

.app.is-echo-show .sheet[data-panel="chat"] .sheetPanel {
  right: 24px;
  bottom: 98px;
  left: auto;
  width: min(500px, calc(100vw - 48px));
  height: min(610px, calc(100vh - 126px));
  padding: 0;
}

.app.is-echo-show .sheet[data-panel="chat"].is-chat-join .sheetPanel {
  height: auto;
  min-height: 390px;
}

.app.is-echo-show .sheetHeader {
  margin-bottom: 18px;
}

.app.is-echo-show .sheet[data-panel="chat"] .sheetHeader {
  margin: 0;
  padding: 22px 24px 18px;
}

.app.is-echo-show .sheet[data-panel="chat"] .sheetContent {
  padding: 0 24px 24px;
}

.app.is-echo-show .sheetPanel h2,
.app.is-echo-show .sheet[data-panel="streams"] .sheetPanel h2,
.app.is-echo-show .sheet[data-panel="qr"] .sheetPanel h2,
.app.is-echo-show .sheet[data-panel="site"] .sheetPanel h2,
.app.is-echo-show .sheet[data-panel="dedication"] .sheetPanel h2,
.app.is-echo-show .sheet[data-panel="chat"] .sheetPanel h2 {
  font-size: 1.55rem;
}

.app.is-echo-show .sheetClose {
  width: 44px;
  height: 44px;
}

.app.is-echo-show .streamOption {
  min-height: 76px;
}

.app.is-echo-show .formField > span {
  font-size: 0.84rem;
}

.app.is-echo-show .formField input {
  height: 52px;
  font-size: 1rem;
}

.app.is-echo-show .formField textarea {
  min-height: 100px;
  font-size: 1rem;
}

.app.is-echo-show .primaryAction {
  min-height: 50px;
  padding: 0 22px;
  font-size: 0.94rem;
}

.app.is-echo-show .chatRoom {
  gap: 12px;
}

.app.is-echo-show .chatIdentity {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.app.is-echo-show .chatAvatar {
  width: 42px;
  height: 42px;
  font-size: 0.94rem;
}

.app.is-echo-show .chatIdentityCopy strong {
  font-size: 0.96rem;
}

.app.is-echo-show .chatIdentity button,
.app.is-echo-show .chatPresence strong,
.app.is-echo-show .chatPresence > span:last-child {
  font-size: 0.8rem;
}

.app.is-echo-show .chatMessage {
  padding: 0;
}

.app.is-echo-show .chatMessageAvatar {
  width: 34px;
  height: 34px;
  font-size: 0.78rem;
}

.app.is-echo-show .chatBubble {
  padding: 11px 13px;
}

.app.is-echo-show .chatMessageMeta strong {
  font-size: 0.78rem;
}

.app.is-echo-show .chatMessageMeta time {
  font-size: 0.72rem;
}

.app.is-echo-show .chatMessage p {
  font-size: 0.96rem;
}

.app.is-echo-show .chatComposer {
  grid-template-columns: minmax(0, 1fr) 46px;
  min-height: 56px;
  padding-left: 15px;
  border-radius: 16px;
}

.app.is-echo-show .chatComposer input {
  height: 44px;
  font-size: 0.96rem;
}

.app.is-echo-show .chatComposer button {
  width: 44px;
  height: 44px;
}

.app.is-echo-show .chatComposer button img {
  width: 21px;
  height: 21px;
}

.app.is-echo-show .shareMenu {
  top: 86px;
  right: 24px;
  width: 270px;
}

.app.is-echo-show .shareMenu button {
  min-height: 56px;
  font-size: 0.96rem;
}

.app.is-echo-show .toast {
  bottom: 104px;
  font-size: 0.92rem;
}

.app.is-echo-show.is-webtv .player {
  bottom: 24px;
  left: 24px;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  width: min(520px, calc(100vw - 48px));
  padding: 12px 18px 12px 12px;
  border-radius: 20px;
}

.app.is-echo-show.is-webtv .topbarLeft {
  transform: translateY(52px);
}

.app.is-echo-show.is-webtv .coverWrap {
  width: 88px;
  border-radius: 14px;
}

.app.is-echo-show.is-webtv .playButton {
  right: auto;
  bottom: auto;
  width: 52px;
  height: 52px;
}

.app.is-echo-show.is-webtv .meta h1 {
  max-width: 100%;
  font-size: 1.45rem;
  line-height: 1.06;
  -webkit-line-clamp: 1;
}

.app.is-echo-show.is-webtv .meta > #artist {
  max-width: 100%;
  margin-top: 5px;
  font-size: 1rem;
}

@media (max-width: 820px) {
  html,
  body,
  .app {
    height: 100vh;
    height: 100lvh;
    min-height: 100vh;
    min-height: 100lvh;
  }

  .app {
    overflow: hidden;
  }

  .stage {
    min-height: 100vh;
    min-height: 100lvh;
  }

  .backdrop,
  .backdrop > img,
  .videoBackdrop,
  .backdrop::after {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: 100vh;
    height: 100lvh;
    min-height: 100vh;
    min-height: 100lvh;
  }

  .videoBackdrop iframe {
    width: max(100vw, 177.78lvh);
    height: max(100lvh, 56.25vw);
  }

  .topbar {
    top: max(12px, env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .programNotification {
    top: calc(max(12px, env(safe-area-inset-top)) + 112px);
    right: 12px;
    left: 12px;
    width: auto;
  }

  .iconButton {
    width: 42px;
    height: 42px;
  }

  .topbarPanelButton[data-panel="contact"] {
    display: none;
  }

  .brand {
    width: min(46vw, 174px);
    height: 110px;
  }

  .stage {
    place-items: center;
    padding:
      calc(72px + env(safe-area-inset-top))
      16px
      calc(92px + env(safe-area-inset-bottom));
  }

  .player {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: clamp(17px, 2.8dvh, 24px);
    width: min(430px, 100%);
  }

  .coverWrap {
    width: min(76vw, 38dvh, 306px);
    border-radius: 24px;
  }

  .playButton {
    display: none;
  }

  .meta {
    width: min(100%, 430px);
    text-align: center;
  }

  .nowPlaying {
    margin: 0 0 7px;
  }

  .meta h1 {
    display: -webkit-box;
    max-width: min(100%, 18ch);
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    font-size: clamp(1.55rem, 7vw, 2.35rem);
    line-height: 1.05;
    overflow-wrap: break-word;
    text-wrap: balance;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .meta > #artist {
    max-width: min(100%, 28ch);
    margin-right: auto;
    margin-top: 10px;
    margin-left: auto;
    overflow: hidden;
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dock {
    position: absolute;
    right: auto;
    bottom: max(6px, calc(env(safe-area-inset-bottom) - 14px));
    left: 50%;
    width: min(356px, calc(100vw - 28px));
    height: 76px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 38px;
    background: rgba(13, 15, 18, 0.84);
    box-shadow:
      0 20px 52px rgba(0, 0, 0, 0.5),
      0 5px 18px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateX(-50%);
    backdrop-filter: blur(36px) saturate(1.35);
  }

  .dockInner {
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(var(--mobile-dock-items, 5), minmax(0, 1fr));
    gap: 0;
  }

  .dockItem {
    display: none;
  }

  .dockTab {
    display: flex;
    position: relative;
    width: 100%;
    height: 64px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 32px;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    box-shadow: none;
  }

  .siteTab {
    display: none;
  }

  .mobileLiveTab {
    display: flex;
    order: 3;
  }

  .historyTab {
    order: 1;
  }

  .streamsTab {
    order: 2;
  }

  .dedicationTab {
    order: 4;
  }

  .chatTab {
    order: 5;
  }

  .dockTab[data-menu-key],
  .mobileLiveTab {
    grid-column: var(--mobile-menu-column, auto);
    grid-row: 1;
    order: var(--mobile-menu-order, 3);
  }

  .historyTab {
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .dockTab:hover,
  .dockTab:active {
    border-color: transparent;
    background: transparent;
    transform: none;
  }

  .dockTab.is-active,
  .mobileLiveTab.is-current,
  .mobileLiveTab.is-playing {
    border-color: transparent;
    background: transparent;
    color: white;
    transform: none;
  }

  .dockGlyph {
    position: relative;
    flex: 0 0 56px;
    width: 60px;
    height: 56px;
    border-radius: 28px;
    transition:
      width 180ms ease,
      background 180ms ease,
      box-shadow 180ms ease,
      transform 180ms ease;
  }

  .dockIcon {
    width: 25px;
    height: 25px;
    opacity: 0.72;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .dockTab.is-active .dockGlyph,
  .mobileLiveTab.is-current .dockGlyph,
  .mobileLiveTab.is-playing .dockGlyph {
    width: 62px;
    background: rgba(var(--accent-rgb), 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 4px 14px rgba(0, 0, 0, 0.18);
  }

  .dockTab.is-active .dockIcon {
    opacity: 1;
    filter: brightness(0) invert(1);
    transform: scale(1.06);
  }

  .dockTab .dockLabel,
  .dockTab:not(.historyTab) .dockLabel {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .mobileLiveGlyph {
    width: 60px;
    height: 56px;
    background: transparent;
    box-shadow: none;
  }

  .mobileLiveIcon {
    display: block;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid rgba(255, 255, 255, 0.76);
  }

  .mobileLiveTab.is-current .mobileLiveIcon {
    border-left-color: white;
  }

  .mobileLiveTab.is-playing .mobileLiveIcon {
    display: flex;
    justify-content: space-between;
    width: 9px;
    height: 14px;
    margin-left: 0;
    border: 0;
  }

  .mobileLiveTab.is-playing .mobileLiveIcon::before,
  .mobileLiveTab.is-playing .mobileLiveIcon::after {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: white;
  }

  .sheetPanel {
    right: 10px;
    bottom: calc(104px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-height: calc(100dvh - 116px - env(safe-area-inset-bottom));
    padding: 22px;
    border-radius: 24px;
    overscroll-behavior: contain;
  }

  .sheet[data-panel="history"] .sheetPanel {
    right: 10px;
    bottom: calc(100px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-height: calc(100dvh - 118px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .sheet[data-panel="qr"] .sheetPanel {
    right: 10px;
    bottom: calc(100px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-height: calc(100dvh - 102px - env(safe-area-inset-bottom));
    padding: 20px;
    transform: none;
  }

  .sheet[data-panel="streams"] .sheetPanel {
    right: 10px;
    bottom: calc(100px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    padding: 20px;
    transform: none;
  }

  .sheet[data-panel="site"] .sheetPanel {
    right: 10px;
    bottom: calc(100px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    padding: 20px;
    transform: none;
  }

  .sheet[data-panel="dedication"] .sheetPanel {
    right: 10px;
    bottom: calc(100px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-height: calc(100dvh - 102px - env(safe-area-inset-bottom));
    padding: 20px;
    transform: none;
  }

  .sheet[data-panel="chat"] .sheetPanel {
    right: 10px;
    bottom: calc(100px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    height: min(520px, calc(100dvh - 102px - env(safe-area-inset-bottom)));
    padding: 0;
    transform: none;
  }

  .shareMenu {
    top: calc(max(12px, env(safe-area-inset-top)) + 50px);
    right: 8px;
    width: min(260px, calc(100vw - 16px));
  }

  .shareMenu .mobileOnlyMenuAction {
    display: flex;
  }

  .toast {
    bottom: calc(106px + env(safe-area-inset-bottom));
    width: max-content;
    max-width: calc(100vw - 32px);
    text-align: center;
    white-space: normal;
  }

  .app.is-webtv .player {
    right: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 12px;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 11px;
    width: min(360px, calc(100vw - 24px));
    padding: 9px 12px 9px 9px;
    border-radius: 18px;
  }

  .app.is-webtv .coverWrap {
    width: 68px;
    border-radius: 12px;
  }

  .app.is-webtv .playButton {
    right: auto;
    bottom: auto;
    width: 40px;
    height: 40px;
  }

  .app.is-webtv .nowPlaying {
    margin-bottom: 3px;
    font-size: 0.61rem;
  }

  .app.is-webtv .meta h1 {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    font-size: clamp(1.03rem, 5vw, 1.28rem);
    line-height: 1.05;
  }

  .app.is-webtv .meta > #artist {
    max-width: 100%;
    margin: 4px 0 0;
    font-size: 0.84rem;
  }

  .app.is-webtv .toast {
    bottom: calc(112px + env(safe-area-inset-bottom));
  }
}

@media (display-mode: standalone) and (max-width: 820px) {
  .topbar {
    top: calc(8px + env(safe-area-inset-top));
  }

  .programNotification {
    top: calc(116px + env(safe-area-inset-top));
  }

  .dock {
    bottom: max(6px, calc(env(safe-area-inset-bottom) - 14px));
  }
}

@media (max-width: 390px) {
  .stage {
    padding-right: 14px;
    padding-left: 14px;
  }

  .coverWrap {
    width: min(70vw, 36dvh, 274px);
  }

  .brand {
    width: min(42vw, 158px);
    height: 100px;
  }

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

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

@media (max-width: 360px) {
  .brand {
    width: min(40vw, 142px);
    height: 90px;
  }
}

@media (max-height: 720px) and (min-width: 821px) {
  .player {
    grid-template-columns: min(46vh, 350px) minmax(300px, 500px);
  }

}

@media (max-height: 700px) and (max-width: 820px) {
  .stage {
    padding-top: calc(70px + env(safe-area-inset-top));
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .player {
    gap: 16px;
  }

  .coverWrap {
    width: min(64vw, 35dvh, 236px);
  }

  .playButton {
    right: 11px;
    bottom: 11px;
    width: 54px;
    height: 54px;
  }

  .meta h1 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .topbar {
    top: max(8px, env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .iconButton {
    width: 40px;
    height: 40px;
  }

  .brand {
    width: min(28vw, 150px);
    height: 92px;
  }

  .stage {
    place-items: center;
    padding:
      calc(56px + env(safe-area-inset-top))
      72px
      calc(66px + env(safe-area-inset-bottom));
  }

  .player {
    grid-template-columns: min(38dvh, 190px) minmax(240px, 400px);
    justify-content: center;
    justify-items: stretch;
    gap: clamp(30px, 7vw, 72px);
    width: min(760px, 100%);
  }

  .coverWrap {
    width: 100%;
    border-radius: 18px;
  }

  .playButton {
    right: 10px;
    bottom: 10px;
    width: 48px;
    height: 48px;
  }

  .meta {
    width: 100%;
    text-align: left;
  }

  .meta h1 {
    max-width: 100%;
    margin-left: 0;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
  }

  .meta > #artist {
    max-width: 100%;
    margin-left: 0;
    font-size: 1.08rem;
  }

  .dock {
    right: auto;
    bottom: max(6px, env(safe-area-inset-bottom));
    left: 50%;
    width: min(330px, calc(100vw - 20px));
    height: 58px;
    padding: 4px;
    border-radius: 29px;
    transform: translateX(-50%);
  }

  .dockInner {
    display: grid;
    grid-template-columns: repeat(var(--mobile-dock-items, 5), minmax(0, 1fr));
    gap: 0;
  }

  .dockItem {
    width: 100%;
  }

  .dockTab {
    width: 100%;
    height: 50px;
    padding: 0;
  }

  .dockGlyph,
  .mobileLiveGlyph {
    flex-basis: 46px;
    width: 48px;
    height: 46px;
    border-radius: 23px;
  }

  .dockTab.is-active .dockGlyph,
  .mobileLiveTab.is-current .dockGlyph,
  .mobileLiveTab.is-playing .dockGlyph {
    width: 50px;
  }

  .historyTab {
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .app.is-webtv .player {
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
    width: min(430px, calc(100vw - 32px));
    padding: 8px 12px 8px 8px;
    border-radius: 17px;
  }

  .app.is-webtv .coverWrap {
    width: 60px;
    border-radius: 11px;
  }

  .app.is-webtv .playButton {
    right: auto;
    bottom: auto;
    width: 38px;
    height: 38px;
  }

  .app.is-webtv .meta h1 {
    max-width: 100%;
    margin-left: 0;
    font-size: 1.12rem;
  }

  .app.is-webtv .meta > #artist {
    max-width: 100%;
    margin: 4px 0 0;
    font-size: 0.8rem;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .app.is-echo-show:not(.is-webtv) .videoBackdrop iframe {
    transform: translate(-50%, -50%) scale(1.36);
  }

  .app.is-echo-show .stage {
    padding: 82px 48px 140px;
  }

  .app.is-echo-show .player {
    grid-template-columns: min(44vh, 250px) minmax(280px, 440px);
    gap: clamp(36px, 5vw, 54px);
    width: min(820px, 100%);
  }

  .app.is-echo-show .meta h1 {
    font-size: clamp(2rem, 4.2vw, 2.8rem);
  }

  .app.is-echo-show .meta > #artist {
    margin-top: 12px;
    font-size: clamp(1.16rem, 2vw, 1.45rem);
  }
}

@media (hover: none) {
  [data-tooltip]::after {
    content: none;
  }

  .volumeItem:hover .volumePopover:not(:focus-within) {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px) scale(0.98);
  }

  .volumeItem.is-open .volumePopover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .videoBackdrop iframe {
    display: none;
  }

  .backdrop.has-video > img {
    opacity: 0.88;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
