@font-face {
  font-family: Outfit;
  src: url("/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #15171c;
  --bg-end: #1c1e23;
  --surface: #25262b;
  --raised: #34363b;
  --accent: #c5f04a;
  --text: #f6f6f7;
  --muted: #a1a4ad;
  --line: #3c3e45;
  --error: #ff9b9b;
  --top: max(
    env(safe-area-inset-top, 0px),
    var(--tg-content-safe-area-inset-top, 0px)
  );
  --bottom: max(
    env(safe-area-inset-bottom, 0px),
    var(--tg-content-safe-area-inset-bottom, 0px)
  );
  font-family: Outfit, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
}
.launch-pending body {
  visibility: hidden;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 300px;
  background: linear-gradient(150deg, var(--bg) 15%, var(--bg-end) 70%);
  min-height: 100dvh;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
  min-height: 44px;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:not(:disabled):active {
  transform: scale(0.97);
}
button,
a,
input,
select {
  transition:
    background 0.18s,
    color 0.18s,
    opacity 0.18s,
    transform 0.18s;
}
a {
  color: inherit;
  text-decoration: none;
}
button:hover:not(:disabled) {
  background-color: var(--raised);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
input,
select {
  max-width: 100%;
  accent-color: var(--accent);
}
input[type="range"] {
  cursor: pointer;
  min-height: 36px;
}
img {
  object-fit: cover;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1.15px;
  text-wrap: balance;
}
h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.35px;
}
h3 {
  font-size: 18px;
  font-weight: 500;
}
p {
  line-height: 1.5;
}
small {
  font-size: 12px;
}
.lime {
  color: var(--accent);
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.eyebrow {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.25px;
}
.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: 0;
  transform: translateY(-150%);
  left: 16px;
  z-index: 20;
  padding: 12px;
  background: var(--accent);
  color: var(--bg);
}
.skip:focus-visible {
  transform: translateY(16px);
}
.app {
  max-width: 1120px;
  margin: auto;
  padding: var(--top) 0 calc(185px + var(--bottom));
}
.brand-row {
  height: 97px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 31px;
  letter-spacing: -1.7px;
}
.brand-dot {
  color: var(--accent);
}
.avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 50%;
  font-size: 15px;
}
.desktop-tag {
  display: none;
}
.page {
  padding: 0 5px;
}
.heading {
  padding: 7px 13px 24px;
}
.heading .eyebrow {
  margin-bottom: 10px;
}
.feature-card {
  min-height: 188px;
  border-radius: 12px;
  background: var(--raised);
  display: flex;
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}
.feature-copy {
  padding: 20px;
  position: relative;
  z-index: 1;
  width: 64%;
}
.feature-copy h2 {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 400;
  margin: 14px 0 8px;
  letter-spacing: -0.6px;
}
.feature-copy p {
  font-size: 13px;
  color: #dadbe0;
  max-width: 240px;
}
.pill {
  font-size: 10px;
  letter-spacing: 1.2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 9px;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
}
.primary:hover:not(:disabled) {
  background: #d4ff60;
}
.feature-copy .primary {
  margin-top: 18px;
}
.feature-art {
  position: absolute;
  right: -23px;
  top: 50%;
  transform: translateY(-50%) rotate(12deg);
  width: 168px;
  height: 168px;
  border-radius: 14px;
}
.feature-art > img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px #0005;
}
.record {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #17191b 0 2px, #292c2a 3px 4px);
  box-shadow: 0 14px 35px #0005;
  display: grid;
  place-items: center;
}
.record span {
  width: 38%;
  height: 38%;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.record span:after {
  content: "";
  position: absolute;
  inset: 43%;
  border-radius: 50%;
  background: var(--bg);
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stats > button {
  height: 80px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  text-align: left;
  padding: 12px;
  gap: 10px;
}
.stats > button > span:first-child {
  color: var(--accent);
}
.stats > button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.stats b {
  font-size: 23px;
  font-weight: 400;
}
.stats small {
  color: var(--muted);
}
.stats > button > span:last-child .icon {
  width: 16px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 25px 13px 12px;
}
.section-heading .muted {
  font-size: 12px;
  max-width: 140px;
  text-align: right;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 0 8px;
  border-radius: 8px;
  flex-shrink: 0;
}
.text-button .icon {
  width: 18px;
}
.chips {
  display: flex;
  gap: 8px;
  padding: 0 12px 16px;
  flex-wrap: wrap;
}
.chip {
  font-size: 13px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 50px;
  min-height: 40px;
}
.chip.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.track-list {
  display: grid;
  gap: 8px;
}
.track {
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  background: var(--surface);
  padding: 8px 10px;
  min-height: 72px;
  min-width: 0;
}
.track.current {
  box-shadow: inset 2px 0 var(--accent);
}
.track-main {
  display: flex;
  flex: 1;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 0;
  border-radius: 8px;
  min-width: 0;
}
.track-main img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  background: var(--raised);
  flex-shrink: 0;
}
.track-copy {
  min-width: 0;
  flex: 1;
}
.track-copy b,
.mini-track b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.track-copy small,
.mini-track small {
  display: block;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
  font-size: 12px;
}
.track-duration {
  color: var(--muted);
  font-size: 12px;
}
.round {
  min-width: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.round[aria-pressed="true"],
.round.is-on {
  color: var(--accent);
}
.lime-button {
  background: var(--accent);
  color: var(--bg);
}
.lime-button:hover:not(:disabled) {
  background: #d4ff60;
}
.track-actions {
  display: flex;
  gap: 0;
}
.track-actions .round {
  width: 40px;
  min-width: 40px;
}
.empty {
  text-align: center;
  padding: 36px 22px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
}
.empty > .icon,
.empty > [data-icon] .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--accent);
}
.empty h3 {
  color: var(--text);
  margin-bottom: 8px;
}
.empty p {
  font-size: 14px;
  margin: 0 auto;
  max-width: 300px;
}
.empty .primary {
  margin-top: 20px;
}
.search-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  margin: 0 12px;
  gap: 10px;
  padding: 4px 10px 4px 15px;
}
.search-input > span {
  color: var(--muted);
}
.search-input input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  height: 48px;
  font-size: 15px;
  outline-offset: 2px;
}
.search-input button {
  width: 44px;
  border-radius: 9px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 13px 14px;
}
.queue-position {
  color: var(--muted);
  font-size: 12px;
  min-width: 18px;
  text-align: center;
}
.queue-track {
  flex-wrap: wrap;
}
.queue-track .track-actions {
  margin-left: auto;
}
.queue-track .track-main {
  min-width: 160px;
}
.library-banner {
  border-radius: 12px;
  background: var(--raised);
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 10px;
}
.library-banner > [data-icon] {
  color: var(--accent);
}
.library-banner > [data-icon] .icon {
  width: 30px;
  height: 30px;
}
.library-banner > div {
  flex: 1;
}
.library-banner p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.playlist-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.playlist-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}
.playlist-card > span:first-child {
  background: var(--raised);
  color: var(--accent);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.playlist-card > span:nth-child(2) {
  flex: 1;
}
.playlist-card b {
  font-weight: 500;
  display: block;
}
.playlist-card small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.settings-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  margin-top: 24px;
}
.settings-card h2 {
  margin-bottom: 20px;
}
.settings-card label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0 8px;
  font-size: 14px;
}
select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 8px;
  min-height: 44px;
}
.settings-card p {
  font-size: 12px;
}
.bottom-nav {
  position: fixed;
  z-index: 5;
  bottom: calc(18px + var(--bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 306px;
  height: 66px;
  border-radius: 22px;
  background: var(--raised);
  box-shadow: 0 10px 40px #0006;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  gap: 4px;
}
.bottom-nav > button {
  width: 64px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #bfc1c8;
}
.bottom-nav > button.active {
  background: var(--bg);
  color: var(--accent);
}
.bottom-nav small {
  font-size: 10px;
}
.bottom-nav .icon {
  width: 21px;
  height: 21px;
}
.mini-player {
  position: fixed;
  z-index: 5;
  bottom: calc(96px + var(--bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 650px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  box-shadow: 0 6px 30px #0005;
  overflow: hidden;
}
.mini-track {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  text-align: left;
  gap: 10px;
  padding: 0;
  border-radius: 8px;
}
.mini-track img {
  border-radius: 8px;
}
.mini-track > span {
  min-width: 0;
}
.mini-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
}
.mini-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}
.connection {
  position: fixed;
  top: calc(8px + var(--top));
  left: 16px;
  right: 16px;
  z-index: 30;
  background: var(--raised);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
}
.toast {
  position: fixed;
  z-index: 40;
  bottom: calc(190px + var(--bottom));
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 30px #0005;
  font-size: 14px;
  max-width: min(90vw, 480px);
  width: max-content;
}
dialog {
  padding: 0;
  border: 0;
  background: linear-gradient(155deg, var(--bg), var(--bg-end));
  color: var(--text);
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #0009;
}
.player-shell {
  max-width: 1060px;
  margin: auto;
  padding: calc(12px + var(--top)) 24px calc(30px + var(--bottom));
}
.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.player-header .eyebrow {
  letter-spacing: 1.5px;
}
.cover-wrap {
  width: min(100%, 390px);
  aspect-ratio: 1;
  margin: 0 auto 26px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.cover-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
.now-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.now-heading > div {
  min-width: 0;
  flex: 1;
}
.now-heading h2 {
  font-size: 27px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.now-heading p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
}
.seek input {
  width: 100%;
  margin: 0;
}
.seek > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.playback-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 18px 0;
}
.play-button {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
}
.play-button .icon {
  width: 30px;
  height: 30px;
}
.play-button:hover:not(:disabled) {
  background: #d4ff60;
}
.player-status {
  text-align: center;
  min-height: 22px;
  font-size: 13px;
  color: var(--muted);
}
#retry-audio {
  margin: 10px auto;
  display: flex;
}
.player-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0;
}
.volume {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.volume input {
  flex: 1;
  min-width: 0;
}
.lyrics-pane {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  margin-top: 12px;
  min-width: 0;
}
.lyrics-pane .section-heading {
  margin: 0 0 8px;
}
.lyrics {
  max-height: 380px;
  overflow: auto;
  overscroll-behavior: contain;
  margin-top: 24px;
  scroll-padding-top: 40%;
  scrollbar-width: thin;
}
.lyric-line {
  display: block;
  text-align: left;
  color: var(--muted);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
  padding: 9px 0;
  width: 100%;
  border-radius: 8px;
  transition: color 0.2s;
  overflow-wrap: anywhere;
}
.lyric-line.active {
  color: var(--accent);
}
p.lyric-line {
  font-size: 21px;
}
.lyric-offset {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
.lyric-offset select {
  font-size: 12px;
}
.skeleton {
  height: 72px;
  background: var(--surface);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.skeleton:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #ffffff06, transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
.busy .icon {
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
@media (min-width: 700px) {
  .app {
    padding-left: 24px;
    padding-right: 24px;
  }
  .brand-row {
    padding-left: 12px;
    padding-right: 12px;
    height: 110px;
  }
  .desktop-tag {
    display: block;
    flex: 1;
    text-align: right;
    font-size: 13px;
    color: var(--muted);
    margin-right: 12px;
  }
  .page {
    padding: 0 12px;
  }
  .heading {
    padding-left: 0;
    padding-top: 16px;
    padding-bottom: 30px;
  }
  h1 {
    font-size: 48px;
    letter-spacing: -1.6px;
  }
  .feature-card {
    min-height: 270px;
  }
  .feature-copy {
    padding: 28px 32px;
    width: 65%;
  }
  .feature-copy h2 {
    font-size: 36px;
  }
  .feature-art {
    width: 235px;
    height: 235px;
    right: 35px;
  }
  .feature-copy p {
    font-size: 15px;
  }
  .feature-copy .primary {
    margin-top: 22px;
  }
  .stats {
    gap: 12px;
    margin-top: 12px;
  }
  .stats > button {
    padding: 18px 22px;
    height: 88px;
  }
  .stats b {
    font-size: 26px;
  }
  .section-heading {
    margin-left: 0;
    margin-right: 0;
    margin-top: 30px;
  }
  .track-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .track {
    padding: 12px;
    min-height: 80px;
  }
  .chips {
    padding-left: 0;
  }
  .bottom-nav {
    width: 330px;
  }
  .bottom-nav > button {
    width: 70px;
  }
  .search-input {
    margin: 0;
  }
  .playlist-grid {
    grid-template-columns: 1fr 1fr;
  }
  .settings-card {
    max-width: 680px;
  }
  .player-shell {
    padding-top: 28px;
  }
  .player-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  .lyrics-pane {
    margin-top: 0;
    padding: 26px;
  }
  .lyrics {
    max-height: 520px;
  }
  .now-heading h2 {
    font-size: 28px;
  }
  .player-header {
    margin-bottom: 28px;
  }
  .empty {
    grid-column: 1/-1;
  }
  .queue-track .track-main {
    min-width: 180px;
  }
}
@media (min-width: 1000px) {
  .track-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #queue-tracks,
  #playlist-tracks {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card {
    min-height: 280px;
  }
  .feature-art {
    width: 265px;
    height: 265px;
    right: 90px;
  }
  .feature-copy h2 {
    font-size: 40px;
  }
  .feature-copy {
    width: 58%;
  }
  .feature-copy p {
    max-width: 400px;
  }
  .mini-player {
    max-width: 710px;
  }
  .playlist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 359px) {
  .track-actions .round {
    width: 36px;
    min-width: 36px;
  }
  .track-duration {
    display: none;
  }
  .feature-copy {
    padding: 16px;
    width: 70%;
  }
  .feature-art {
    right: -45px;
  }
  .player-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .round {
    min-width: 40px;
    width: 40px;
  }
  .now-heading h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

body.player-open {
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
  height: 100dvh;
  min-height: 0;
}
dialog {
  position: fixed;
  inset: 0;
  height: 100dvh;
  max-height: 100dvh;
}
dialog::backdrop {
  background: var(--bg);
}
.track-actions .round {
  width: 44px;
  min-width: 44px;
}
.chip {
  min-height: 44px;
}
input[type="range"] {
  min-height: 44px;
}
@media (max-width: 359px) {
  .round {
    min-width: 44px;
    width: 44px;
  }
}
/* Compact mobile surfaces keep full-sized touch controls. */
.avatar,
.person-avatar {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img,
.person-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.has-photo img {
  opacity: 1;
}
.person-avatar {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--raised);
  color: var(--accent);
  border: 1px solid var(--line);
}
.session-people {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 0;
  text-align: left;
  font-size: 12px;
  color: var(--accent);
}
.session-people .icon {
  width: 14px;
  height: 14px;
}
.avatar-stack {
  display: flex;
  padding-left: 5px;
}
.avatar-stack .person-avatar {
  width: 24px;
  height: 24px;
  margin-left: -5px;
  font-size: 11px;
  border: 2px solid var(--surface);
}
#participants-dialog {
  width: min(100% - 24px, 460px);
  height: fit-content;
  max-height: 80dvh;
  margin: auto auto max(12px, var(--bottom));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
#participants-dialog::backdrop,
#option-picker::backdrop {
  background: #000a;
}
#participants-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
#participants-dialog header > div {
  min-width: 0;
}
#participants-dialog header .round {
  flex-shrink: 0;
}
#participants-dialog h2 {
  overflow-wrap: anywhere;
}
#participants-summary,
#participants-note {
  font-size: 13px;
  margin: 12px 0;
}
.participants-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.participants-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.participants-list li > div {
  min-width: 0;
}
.participants-list b {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 500;
}
.participants-list small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.participants-list [data-presence="listening"] small {
  color: var(--accent);
}
.you-label {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  padding: 2px 6px;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.session-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px 16px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
}
.session-banner > div {
  flex: 1;
  min-width: 0;
}
.session-banner > .live-dot {
  display: none;
}
.session-banner b {
  font-size: 14px;
}
.session-banner > .text-button {
  white-space: nowrap;
}
@media (max-width: 359px) {
  .session-people .avatar-stack {
    display: none;
  }
}
.session-banner b,
.session-banner small {
  display: block;
}
.session-banner small {
  color: var(--muted);
  line-height: 1.4;
}
.session-banner .round {
  flex-shrink: 0;
}
.player-header > .eyebrow {
  flex: 1;
  text-align: center;
}
.player-header {
  gap: 8px;
}
.select-button {
  background: var(--raised);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: left;
  max-width: 100%;
}
.select-button::after {
  content: "⌄";
  margin-left: 12px;
  color: var(--accent);
}
#option-picker {
  width: min(100% - 24px, 460px);
  height: fit-content;
  max-height: 80dvh;
  margin: auto auto max(12px, var(--bottom));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 20px 80px #0008;
}
#option-picker header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
#picker-options {
  display: grid;
  gap: 8px;
}
.picker-option {
  padding: 14px 16px;
  border-radius: 12px;
  text-align: left;
  background: var(--raised);
  border: 1px solid transparent;
}
.picker-option[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg);
}
#lyrics-fullscreen {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: calc(12px + var(--top)) max(20px, calc((100vw - 900px) / 2))
    calc(12px + var(--bottom));
}
#lyrics-fullscreen[open] {
  display: flex;
  flex-direction: column;
}
.lyrics-header {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.lyrics-header > div {
  flex: 1;
  min-width: 0;
}
.lyrics-header small {
  letter-spacing: 2px;
  color: var(--accent);
}
.lyrics-header h2 {
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}
#fullscreen-body {
  flex: 1;
  min-height: 0;
  display: flex;
}
#fullscreen-body .lyrics-pane {
  background: transparent;
  padding: 16px 0 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#fullscreen-body .section-heading h2 {
  display: none;
}
#fullscreen-body .section-heading {
  min-height: 20px;
  margin: 0;
}
#fullscreen-body .lyrics {
  flex: 1;
  max-height: none;
  margin-top: 8px;
  padding: 22vh 0;
  mask-image: linear-gradient(transparent, black 8%, black 92%, transparent);
}
#fullscreen-body .lyric-line {
  font-size: clamp(26px, 6.5vw, 44px);
  font-weight: 600;
  line-height: 1.35;
  padding: 14px 0;
}
#fullscreen-body .lyric-offset {
  flex-shrink: 0;
  margin-top: 12px;
}
#lyrics-fullscreen footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .brand-row {
    height: 64px;
    padding: 0 16px;
  }
  .brand {
    font-size: 27px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  #home .heading {
    padding: 8px 18px 16px;
  }
  #home h1 {
    font-size: 27px;
    letter-spacing: -0.7px;
  }
  #home .heading .eyebrow {
    margin-bottom: 6px;
  }
  .feature-card {
    min-height: 150px;
    margin: 0 12px;
  }
  .feature-copy {
    padding: 16px;
    width: 68%;
  }
  .feature-copy h2 {
    font-size: 23px;
    line-height: 1.12;
    margin: 10px 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .feature-copy p {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .feature-copy .pill {
    font-size: 9px;
    letter-spacing: 0.2px;
  }
  .feature-copy .primary {
    min-height: 44px;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 13px;
  }
  .feature-art {
    width: 114px;
    height: 114px;
    right: 6px;
  }
  .stats {
    margin: 10px 12px 0;
    gap: 10px;
  }
  .stats > button {
    height: 60px;
    min-height: 60px;
    padding: 8px 12px;
    gap: 10px;
  }
  .stats b {
    font-size: 18px;
  }
  .section-heading {
    margin-top: 18px;
    margin-bottom: 8px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .chips {
    margin-bottom: 10px;
    gap: 8px;
  }
  .chip {
    padding: 8px 16px;
    min-height: 44px;
  }
  .track {
    min-height: 64px;
    padding: 8px;
  }
  .track-list {
    gap: 7px;
  }
  .bottom-nav {
    height: 60px;
    bottom: calc(10px + var(--bottom));
  }
  .mini-player {
    bottom: calc(80px + var(--bottom));
  }
  .player-shell {
    padding-left: 20px;
    padding-right: 20px;
  }
  .player-header {
    margin-bottom: 14px;
  }
  .cover-wrap {
    width: min(100%, 330px);
    margin-bottom: 20px;
  }
  .settings-card label {
    flex-wrap: wrap;
    gap: 10px;
  }
  .settings-card .select-button {
    margin-left: auto;
  }
}
@media (min-width: 768px) {
  #option-picker {
    margin: auto;
  }
}
