:root {
  --ink: #10283a;
  --muted: #6c7b87;
  --cyan: #49c7e9;
  --paper: #f4f6f7;
  --line: #dce3e7;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding-bottom: 94px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #32b9df;
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap {
  width: min(1360px, calc(100% - 72px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 12px;
  padding: 12px 16px;
  color: #061626;
  background: white;
}
.skip-link:focus {
  top: 12px;
}

/* Header and the listening room */
.night {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #edf8fc;
  background: #061626 url("/assets/ocean-atmosphere.png") center center / cover
    no-repeat;
}
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid #ffffff1a;
}
.brand-reference {
  display: block;
  flex: 0 0 225px;
  width: 225px;
  height: 58px;
  background: url("/assets/design-reference.png") -70px 0 / 1536px 1024px
    no-repeat;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 38px;
  align-self: stretch;
  color: #d1e0ec;
  font-size: 14px;
}
.site-header nav a {
  position: relative;
  display: flex;
  align-items: center;
}
.site-header nav a:hover,
.site-header nav .active {
  color: #50d2ee;
}
.site-header nav .active::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
}
.header-listen {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #c8d8e4;
  font-size: 14px;
}
.header-listen span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #52b9d8;
  border-radius: 50%;
  color: #53d1ed;
}
.header-share {
  min-width: 64px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #52b9d8;
  border-radius: 6px;
  color: #d1e0ec;
  background: transparent;
  font-size: 14px;
}

/* Compact three-column player */
.hero.home-player {
  display: grid;
  grid-template-columns: minmax(225px, 0.82fr) minmax(440px, 1.85fr) minmax(
      280px,
      0.92fr
    );
  align-items: center;
  gap: 24px;
  min-height: 382px;
  padding-block: 22px 28px;
}
.home-record-column {
  align-self: center;
  text-align: center;
}
.vinyl-record {
  width: min(302px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 50%;
  animation: vinyl-turn 28s linear infinite;
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle, #000 58%, #000c 66%, transparent 75%);
}
.vinyl-record img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.record-caption {
  margin: 7px 0 0;
  color: #a8c4d6;
  font-size: 12px;
  letter-spacing: 1.2px;
}
.record-caption span {
  padding-inline: 5px;
  color: #56c9e3;
}
.home-feature {
  min-width: 0;
}
.feature-art {
  position: relative;
  min-height: 330px;
  aspect-ratio: 1.68 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #0b2035;
}
.feature-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #061322bf 0%, #06132270 48%, #06132210 100%),
    linear-gradient(0deg, #061322a6, transparent 60%);
}
.home-feature-content {
  position: absolute;
  inset: auto 24px 20px;
  max-width: 530px;
}
.eyebrow {
  margin: 0;
  color: #7ccbe0;
  font-size: 10px;
  letter-spacing: 2px;
}
.home-feature-content .eyebrow,
.home-queue-heading .eyebrow {
  font-size: 12px;
}
.home-feature-content h1 {
  margin: 8px 0 1px;
  color: #fff;
  font-family: Georgia, "Microsoft YaHei", serif;
  font-size: clamp(27px, 3.2vw, 43px);
  font-weight: 500;
  line-height: 1.25;
}
.home-feature-content > p:not(.eyebrow) {
  margin: 0;
  color: #e1edf3;
  font-size: 13px;
}
.home-feature-content .home-track-summary {
  margin-top: 8px !important;
  color: #c4d3df !important;
  font-size: 12px !important;
}
.home-transport {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
}
.home-transport button {
  min-width: 28px;
  min-height: 30px;
  padding: 4px 6px;
  color: #e0eff6;
  background: transparent;
  font-size: 14px;
}
.home-transport button:hover {
  color: #5ed6f1;
}
.home-transport .home-play-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid #65d5ed;
  border-radius: 50%;
  color: #042034;
  background: #73dcf1;
  font-size: 15px;
}
#hero-play.home-play-toggle {
  color: #041321;
  background: #73dcf1;
}
.home-transport #home-repeat {
  margin-left: 2px;
  padding-inline: 10px;
  border: 1px solid #79b8d4;
  border-radius: 4px;
  color: #f4fbff;
  background: #0b2740;
  font-size: 14px;
}
.home-transport .home-room-button {
  margin-left: auto;
  padding-inline: 12px;
  border: 1px solid #9bb8cb7a;
  border-radius: 4px;
  color: #eff8fb;
  font-size: 14px;
}
.home-room-button span {
  margin-left: 4px;
  color: #5ed6f1;
}
.home-timeline {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 9px;
  margin-top: 0;
}
.home-timeline span {
  color: #c6d8e4;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  accent-color: #49c7e9;
}
.home-timeline input {
  appearance: none;
  width: 100%;
  height: 20px;
  margin: 0;
  background: linear-gradient(
      to right,
      #52d7f2 var(--played, 0%),
      #17405d var(--played, 0%)
    )
    center / 100% 4px no-repeat;
}
.home-timeline input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  box-shadow: 0 0 9px #2cc9f355;
}
.home-timeline input::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: #d9fbff;
  box-shadow: 0 0 9px #49d7f3;
}
.home-timeline input::-moz-range-track {
  height: 4px;
  box-shadow: 0 0 9px #2cc9f355;
}
.home-timeline input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #d9fbff;
  box-shadow: 0 0 9px #49d7f3;
}
#home-waveform {
  display: block;
  width: calc(100% - 82px);
  height: 52px;
  margin: 5px 41px -8px;
  color: #8beaff;
}
.media-modes {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.media-modes button {
  padding: 6px 12px;
  border: 1px solid #b5ccdb55;
  border-radius: 20px;
  color: #cadde7;
  background: #07182755;
  font-size: 14px;
}
.media-modes button[aria-pressed="true"] {
  border-color: #54c9e8;
  color: #071a29;
  background: #65d5ee;
}
.home-playlist {
  min-width: 0;
  max-height: 352px;
  padding: 15px 14px 12px;
  border: 1px solid #80b8d133;
  border-radius: 8px;
  background: #0b203bbd;
  backdrop-filter: blur(8px);
}
.home-queue-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.home-queue-heading h2 {
  margin: 4px 0 0;
  color: white;
  font-size: 16px;
  font-weight: 500;
}
.home-queue-heading > span {
  color: #a9c2d2;
  font-size: 12px;
}
#home-playlist {
  width: 100%;
  margin-bottom: 8px;
  padding: 7px 8px;
  border: 1px solid #698ba044;
  border-radius: 4px;
  color: #e4f0f6;
  background: #0c2135;
  font-size: 14px;
}
#home-playlist option {
  color: #10283a;
}
.home-queue {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 244px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #53829b transparent;
}
.home-queue li {
  margin: 0;
}
.home-queue button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 8px 7px;
  border-radius: 4px;
  color: #d0e0e9;
  background: transparent;
  text-align: left;
  font-size: 14px;
}
.home-queue button:hover,
.home-queue button.is-active,
.home-queue button[aria-current="true"] {
  color: white;
  background: #1a4261;
}
.home-queue-number {
  color: #8eabc0;
  font-variant-numeric: tabular-nums;
}
.home-queue-title {
  color: #abd8ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-queue-duration {
  color: #a3bbcb;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* Collection and artist sections */
.collection {
  padding-block: 50px 40px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.section-heading h2,
.artist-intro h2 {
  margin: 7px 0 0;
  color: #122c40;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.section-heading h2 em,
.artist-intro h2 em {
  color: #248eaf;
  font-family: Georgia, serif;
  font-weight: 400;
}
.collection-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.collection-tools select {
  padding: 9px 12px;
  border: 1px solid #cbd7df;
  border-radius: 4px;
  color: #234357;
  background: #fff;
  font-size: 14px;
}
.outline-button {
  padding: 10px 14px;
  border: 1px solid #8ca7b5;
  border-radius: 4px;
  color: #17445b;
  background: transparent;
  font-size: 14px;
}
.outline-button:hover {
  border-color: #298bab;
  color: #14708e;
}
.tracks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}
.track-card {
  min-width: 0;
}
.cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 5px;
  background: #dbe4e9;
}
.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.track-card .play-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #08233a;
  background: #effbff;
}
.track-card .play-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.track-card .concept-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 7px;
  border-radius: 3px;
  color: white;
  background: #071727b8;
  font-size: 8px;
}
.track-card.is-active .cover-wrap {
  outline: 2px solid #2da5c3;
  outline-offset: 2px;
}
.track-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  padding-top: 13px;
  align-items: start;
}
.track-info .track-title {
  grid-column: 1 / -1;
  margin: 0;
  color: #19374d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.track-info .track-artist,
.track-info .track-meta {
  margin: 0;
  color: #748792;
  font-size: 12px;
  line-height: 1.5;
}
.track-info .track-artist {
  min-width: 0;
  grid-column: 1;
}
.track-info .track-duration {
  grid-column: 2;
  color: #8798a1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 9px;
}
.track-actions button {
  min-height: 36px;
  padding: 6px 0;
  border-bottom: 1px solid #bdcbd2;
  color: #5c7887;
  background: transparent;
  font-size: 14px;
}
.track-actions button:hover {
  color: #146b8a;
}
.track-actions .track-select {
  flex-basis: 100%;
  min-height: 44px;
  text-align: left;
}
.track-select[aria-pressed="true"] {
  color: #146b8a;
  font-weight: 600;
}
#open-my-playlist {
  min-height: 44px;
}
.collection-footnote {
  margin: 22px 0 0;
  color: #7b8d96;
  font-size: 10px;
}
.artists-section {
  padding-block: 42px;
  background: #eaf0f3;
}
.artists-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.6fr;
  align-items: center;
  gap: 50px;
}
.artist-intro h2 {
  font-size: 30px;
  line-height: 1.35;
}
.artist-intro > p:not(.eyebrow) {
  color: #71828c;
  font-size: 12px;
  line-height: 1.7;
}
.artists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.artist-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.artist-card img {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
}
.artist-name {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 4px;
  color: #19374d;
  font-size: 14px;
}
.artist-card p:not(.artist-name) {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: #758790;
  font-size: 12px;
  line-height: 1.6;
}
.artist-card button {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  min-height: 34px;
  padding: 5px 0;
  color: #267391;
  background: transparent;
  font-size: 14px;
}
.playlist-section {
  padding-block: 47px;
}
.section-note {
  color: #7b8991;
  font-size: 11px;
}
.playlists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.playlist-card {
  position: relative;
  min-height: 150px;
  padding: 20px;
  overflow: hidden;
  border-radius: 5px;
  color: white;
  background: linear-gradient(120deg, #142d47, #35708b);
}
.playlist-card:nth-child(3n + 2) {
  background: linear-gradient(120deg, #233e59, #667f9b);
}
.playlist-card:nth-child(3n) {
  background: linear-gradient(120deg, #453c3d, #9b726d);
}
.playlist-card .eyebrow {
  color: #c2e7f0;
  font-size: 8px;
}
.playlist-card h3 {
  margin: 5px 0;
  font-size: 21px;
  font-weight: 500;
}
.playlist-card p {
  max-width: 78%;
  margin: 0 0 12px;
  color: #e2eaf0;
  font-size: 10px;
  line-height: 1.5;
}
.playlist-card button {
  margin-right: 8px;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid #ffffff88;
  border-radius: 3px;
  color: #f4fbfd;
  background: #07182733;
  font-size: 14px;
}
.playlist-card button:hover {
  background: #ffffff26;
}

/* Dialog lyrics and footer */
.small {
  color: #80919a;
  font-size: 10px;
}
.lyrics {
  min-width: 0;
  max-height: 320px;
  min-height: 170px;
  padding: 14px 20px;
  overflow-y: auto;
  border-left: 1px solid #cbd8de;
}
.lyrics button {
  display: block;
  width: 100%;
  padding: 4px 0;
  color: #8798a1;
  background: transparent;
  text-align: left;
  font-size: 18px;
  line-height: 1.7;
}
.lyrics button.active {
  color: #153b52;
  font-size: 25px;
  font-weight: 600;
}
.lyrics p {
  margin: 0 0 10px;
  color: #657b88;
  font-size: 14px;
  line-height: 1.8;
}
.lyrics .lyric-gap {
  min-height: 0;
  height: 0;
  margin: 0;
  padding: 0;
}
footer {
  padding-block: 28px 100px;
  color: #d3e1e8;
  background: #020a15;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-content .brand-reference {
  flex: none;
  width: 225px;
  height: 58px;
  background-size: 1536px 1024px;
  background-position: -70px 0;
}
.footer-motto {
  margin: 0;
  color: #e0ebf1;
  font-family: Georgia, serif;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.5;
}
.footer-message {
  text-align: center;
}
.footer-location {
  margin: 9px 0 0;
  color: #aabfce;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.contact-link {
  border-bottom: 1px solid #91b2c5;
  color: #c4deeb;
  padding-bottom: 2px;
  text-decoration: none;
}
.footer-contact {
  max-width: 800px;
  margin-top: 24px;
  color: #c2d4df;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
}
.footer-contact p {
  margin: 6px 0 0;
}
.footer-notice {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  gap: 6px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #263b48;
  color: #aabfce;
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
}
.footer-notice p {
  margin: 0;
}

/* Shared listening dialog and single media element */
body:has(#listening-dialog[open]),
body:has(#song-share-dialog[open]) {
  overflow: hidden;
}
.listening-dialog {
  width: min(1360px, calc(100vw - 64px));
  max-width: none;
  max-height: calc(100dvh - 50px);
  margin: auto;
  padding: 22px 26px 26px;
  overflow: auto;
  border: 1px solid #385365;
  border-radius: 8px;
  color: #e2edf2;
  background: #071521;
  box-shadow: 0 24px 100px #0007;
  scrollbar-width: thin;
  scrollbar-color: #345061 transparent;
}
.listening-dialog::backdrop {
  background: #020a12c9;
}
.dialog-toolbar {
  position: sticky;
  top: -1px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -1px 0 20px;
  padding-block: 2px 10px;
  background: #071521;
}
.dialog-toolbar .eyebrow {
  color: #8eaebd;
  font-size: 9px;
}
#close-player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  color: #c1d2da;
  background: transparent;
  font-size: 14px;
}
#close-player span {
  font-size: 24px;
  font-weight: 300;
}
.dialog-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  align-items: start;
  gap: 30px;
}
.dialog-media-pane,
.dialog-sidebar {
  min-width: 0;
}
#video-stage {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: transparent;
}
#media {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: transparent;
}
#dialog-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0a1c29;
}
.dialog-playing-note {
  margin: 16px 0 0;
  color: #668394;
  font-size: 8px;
  letter-spacing: 2px;
  text-align: center;
}
.dialog-song {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #263b48;
}
.dialog-song .eyebrow {
  margin-bottom: 8px;
  color: #79b7c6;
  font-size: 8px;
}
.dialog-song h2 {
  margin: 0 0 6px;
  font-family: Georgia, "Microsoft YaHei", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
}
.dialog-song > p:not(.eyebrow) {
  margin: 0;
  color: #9eb4c0;
  font-size: 10px;
}
.dialog-song .media-modes {
  margin-top: 12px;
}
.dialog-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid #284654;
}
.dialog-tabs button {
  min-height: 44px;
  padding: 9px 13px;
  border-bottom: 2px solid transparent;
  color: #7996a5;
  background: transparent;
  font-size: 14px;
}
.dialog-tabs [aria-selected="true"] {
  border-bottom-color: #68bdcf;
  color: #d3eff7;
}
.listening-dialog:not(.show-lyrics) .dialog-lyrics-section,
.listening-dialog:not(.show-queue) .dialog-queue-section,
.listening-dialog:not(.show-about) .dialog-about-section {
  display: none;
}
.dialog-about-section {
  display: flex;
  min-height: 0;
  flex-direction: column;
}
#dialog-about {
  height: 240px;
  max-height: 34dvh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #395b6b transparent;
}
#dialog-description {
  margin: 0;
  color: #d9eff6;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.panel-label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  color: #b8d5de;
  font-size: 9px;
  letter-spacing: 1.6px;
}
.panel-label span {
  color: #7896a5;
  font-size: 8px;
  letter-spacing: 0;
}
.dialog-lyrics-section {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #263b48;
}
#dialog-lyrics {
  height: 240px;
  min-height: 140px;
  max-height: 34dvh;
  padding: 0 8px 0 0;
  overflow-y: auto;
  border: 0;
  scrollbar-width: thin;
  scrollbar-color: #395b6b transparent;
}
#dialog-lyrics button {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.8;
}
#dialog-lyrics button.active {
  color: #ffe08a;
  font-size: 24px;
  font-weight: 600;
}
#dialog-lyrics p {
  margin: 0 0 8px;
  color: #9db2bd;
  font-size: 13px;
  line-height: 1.8;
}
#dialog-lyrics .small {
  color: #7395a4;
  font-size: 9px;
}
#dialog-lyrics .lyric-line.untimed {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.8;
}
.dialog-queue-section {
  display: flex;
  min-height: 0;
  flex-direction: column;
}
.queue-playlist-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px 104px;
  flex: none;
  gap: 4px;
  margin-bottom: 6px;
}
.queue-playlist-controls select,
.queue-playlist-controls button {
  min-width: 0;
  min-height: 44px;
  padding: 4px;
  border: 1px solid #395b6b;
  border-radius: 4px;
  color: #d9eff6;
  background: #0a1c29;
  font-size: 16px;
}
.queue-playlist-controls select {
  width: 100%;
}
#edit-my-playlist {
  flex: none;
  min-height: 44px;
  margin-bottom: 4px;
  border: 1px solid #395b6b;
  border-radius: 4px;
  color: #d9eff6;
  background: #0a1c29;
  font-size: 16px;
}
#my-playlist-editor {
  min-height: 0;
  max-height: 230px;
  flex: 1;
  overflow-y: auto;
}
#my-playlist-status,
.personal-empty {
  margin: 0 0 6px;
  color: #9cb7c3;
  font-size: 12px;
  line-height: 1.5;
}
.my-playlist-choice {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 6px;
  color: #d9eff6;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.my-playlist-choice input {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: #52c6df;
}
#dialog-queue {
  display: flex;
  max-height: 230px;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #395b6b transparent;
}
#dialog-queue button {
  width: 100%;
  padding: 9px;
  border-radius: 3px;
  color: #abd8ff;
  background: transparent;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
}
#dialog-queue button:hover,
#dialog-queue button[aria-current="true"],
#dialog-queue button.is-active {
  color: #c8e7ff;
  background: #15384b;
}
.listening-dialog .player {
  position: relative;
  margin-top: 22px;
  border-top: 1px solid #263b48;
  color: #e6f2f7;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.listening-dialog .player-inner {
  width: 100%;
  min-height: 64px;
  gap: 18px;
}
.listening-dialog .player-brand {
  display: none;
}
.listening-dialog .mini-track #mini-title {
  color: #d9eff6;
}
.listening-dialog .mini-track #mini-artist {
  color: #789aa9;
}
.listening-dialog .transport button,
.listening-dialog .player-extras button {
  color: #b5d4df;
}
.listening-dialog .transport .play-toggle {
  color: #09202c;
  background: #a8dce9;
}

/* Persistent transport */
.player {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  color: #193849;
  background: #f9fbfcf2;
  border-top: 1px solid #d9e1e5;
  box-shadow: 0 -4px 20px #18374c12;
  backdrop-filter: blur(12px);
}
.player-inner {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-inline: auto;
}
.player-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.mini-track {
  display: flex;
  width: 180px;
  flex: none;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  text-align: left;
}
.mini-track span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-track #mini-title {
  color: #234c5c;
  font-size: 14px;
}
.mini-track #mini-artist {
  color: #7b8f96;
  font-size: 12px;
}
.mini-track:hover #mini-title {
  text-decoration: underline;
}
.transport,
.player-extras {
  display: flex;
  align-items: center;
  gap: 14px;
}
.transport button,
.player-extras button {
  padding: 7px;
  color: #456171;
  background: transparent;
  font-size: 14px;
}
.control-icon {
  width: 20px;
  height: 20px;
  flex: none;
  pointer-events: none;
}
.transport .play-toggle {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #174963;
}
.timeline {
  display: flex;
  width: min(320px, 28vw);
  align-items: center;
  gap: 9px;
}
.timeline span {
  color: #748791;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.timeline input {
  width: 100%;
}
.player-extras {
  gap: 9px;
}
.volume-control {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #607987;
}
.volume-control input {
  width: 76px;
}
.player-status {
  position: absolute;
  right: 12px;
  bottom: 100%;
  margin: 0;
  padding: 5px 10px;
  color: #dbe9ef;
  background: #123147;
  font-size: 10px;
}
.toast {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 100px;
  max-width: min(440px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: 5px;
  color: white;
  background: #14364b;
  font-size: 11px;
}
.toast:empty,
.player-status:empty {
  display: none;
}

@keyframes vinyl-turn {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: min(calc(100% - 48px), 1000px);
  }
  .site-header nav {
    gap: 22px;
  }
  .hero.home-player {
    grid-template-columns: minmax(190px, 0.7fr) minmax(320px, 1.5fr);
    gap: 20px;
  }
  .home-playlist {
    grid-column: 1 / -1;
    max-height: 250px;
  }
  .home-queue {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 155px;
  }
  .vinyl-record {
    width: min(260px, 100%);
  }
  .feature-art {
    min-height: 315px;
  }
  .tracks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .dialog-layout {
    grid-template-columns: 1.35fr 1fr;
    gap: 22px;
  }
  .listening-dialog {
    padding: 20px;
  }
  .player-inner {
    gap: 14px;
  }
  .mini-track {
    width: 140px;
  }
}
@media (max-width: 700px) {
  body {
    padding-bottom: calc(202px + env(safe-area-inset-bottom, 0px));
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    min-height: 100px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 16px;
    padding-block: 4px 10px;
  }
  .brand-reference {
    flex-basis: 112.5px;
    width: 112.5px;
    height: 29px;
    background-size: 768px 512px;
    background-position: -35px 0;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    min-height: 30px;
    font-size: 12px;
  }
  .site-header nav .active::after {
    bottom: -2px;
  }
  .header-listen {
    gap: 7px;
    font-size: 12px;
  }
  .header-listen span {
    width: 25px;
    height: 25px;
  }
  .hero.home-player {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 17px 22px;
  }
  .home-record-column {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .vinyl-record {
    width: 126px;
    flex: none;
  }
  .record-caption {
    max-width: 128px;
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
  }
  .feature-art {
    min-height: 340px;
    aspect-ratio: 1.05 / 1;
  }
  .home-feature-content {
    inset: auto 14px 15px;
  }
  .home-feature-content h1 {
    font-size: 30px;
  }
  .home-feature-content > p:not(.eyebrow) {
    font-size: 12px;
  }
  .home-transport {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }
  .home-transport .home-play-toggle {
    width: 36px;
    height: 36px;
  }
  .home-transport .home-room-button {
    margin-left: auto;
    font-size: 14px;
  }
  .home-playlist {
    grid-column: auto;
    max-height: 245px;
    padding: 12px;
  }
  .home-queue {
    display: flex;
    max-height: 150px;
  }
  .home-queue button {
    padding-block: 7px;
    font-size: 14px;
  }
  .collection {
    padding-block: 34px;
  }
  .section-heading {
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }
  .section-heading h2,
  .artist-intro h2 {
    font-size: 24px;
  }
  .collection-tools {
    flex-direction: column;
    align-items: end;
    gap: 6px;
  }
  .collection-tools select,
  .outline-button {
    max-width: 150px;
    padding: 7px 9px;
    font-size: 12px;
  }
  .tracks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .track-title {
    margin-top: 8px;
    font-size: 14px;
  }
  .track-artist,
  .track-meta {
    font-size: 12px;
  }
  .track-card .play-icon {
    right: 7px;
    bottom: 7px;
    width: 40px;
    height: 40px;
  }
  .track-card .concept-label {
    bottom: 7px;
    left: 7px;
    font-size: 7px;
  }
  .artists-section {
    padding-block: 30px;
  }
  .artists-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .artist-intro {
    text-align: center;
  }
  .artist-intro > p:not(.eyebrow) {
    margin-bottom: 0;
  }
  .artists {
    gap: 12px;
  }
  .artist-card {
    grid-template-columns: 56px 1fr;
    gap: 8px;
  }
  .artist-card img {
    width: 56px;
    height: 56px;
  }
  .artist-name {
    font-size: 12px;
  }
  .artist-card p:not(.artist-name) {
    font-size: 12px;
  }
  .playlist-section {
    padding-block: 34px;
  }
  .section-note {
    display: none;
  }
  .playlists {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .playlist-card {
    min-height: 130px;
    padding: 16px;
  }
  .playlist-card h3 {
    font-size: 19px;
  }
  .lyrics {
    max-height: 250px;
    min-height: 120px;
    padding: 12px 0;
    border-top: 1px solid #cbd8de;
    border-left: 0;
  }
  .lyrics button {
    font-size: 16px;
  }
  .lyrics button.active {
    font-size: 22px;
  }
  footer {
    padding-block: 26px 130px;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .listening-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 24px);
    padding: 13px;
    border-radius: 7px;
  }
  .dialog-toolbar {
    margin-bottom: 12px;
  }
  .dialog-layout {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }
  .dialog-media-pane,
  .dialog-sidebar {
    width: 100%;
  }
  .dialog-playing-note {
    display: none;
  }
  .dialog-song {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .dialog-song h2 {
    font-size: 21px;
  }
  .dialog-song .media-modes {
    position: absolute;
    right: 0;
    bottom: 8px;
    margin: 0;
  }
  .dialog-song > p:not(.eyebrow) {
    padding-right: 90px;
  }
  .dialog-lyrics-section {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .panel-label {
    display: none;
  }
  #dialog-lyrics {
    height: 200px;
    max-height: 29dvh;
    min-height: 100px;
  }
  #dialog-lyrics button {
    font-size: 14px;
  }
  #dialog-lyrics .lyric-line.untimed {
    font-size: 14px;
  }
  #dialog-lyrics button.active {
    font-size: 21px;
  }
  #dialog-queue {
    max-height: 210px;
  }
  .player {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .listening-dialog .player {
    padding-bottom: 0;
  }
  .player-inner,
  .listening-dialog .player-inner {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(44px, 1fr)) minmax(52px, 1.15fr)
      repeat(2, minmax(44px, 1fr));
    gap: 8px 4px;
    width: calc(100% - 24px);
    min-height: 0;
    padding-block: 10px;
  }
  .listening-dialog .player-inner {
    width: 100%;
  }
  .player-brand {
    display: none;
  }
  .mini-track {
    grid-column: 1 / 4;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .mini-track #mini-title {
    display: -webkit-box;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
  }
  .mini-track #mini-artist {
    font-size: 13px;
    line-height: 1.3;
  }
  .transport,
  .player-extras {
    display: contents;
  }
  .transport button,
  .player-extras button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    justify-self: center;
    grid-row: 2;
    padding: 4px;
    font-size: 20px;
    line-height: 1;
  }
  .control-icon {
    width: 24px;
    height: 24px;
  }
  #previous {
    grid-column: 2;
  }
  .transport .play-toggle {
    grid-column: 3;
    width: 52px;
    height: 52px;
  }
  #next {
    grid-column: 4;
  }
  #repeat {
    grid-column: 1;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.1;
  }
  .repeat-label {
    font-size: 9px;
    line-height: 1;
  }
  #share {
    grid-column: 5;
  }
  .timeline {
    grid-column: 1 / -1;
    grid-row: 3;
    min-width: 0;
    width: 100%;
    gap: 7px;
  }
  .timeline input {
    min-width: 0;
  }
  .timeline span {
    font-size: 12px;
  }
  .volume-control {
    grid-column: 4 / 6;
    grid-row: 1;
    min-width: 0;
    align-self: end;
    gap: 5px;
  }
  .volume-control input {
    min-width: 0;
    width: 100%;
  }
  .toast {
    right: 10px;
    bottom: calc(202px + env(safe-area-inset-bottom, 0px));
    font-size: 10px;
  }
}
@media (max-width: 700px) and (min-height: 500px) {
  .listening-dialog[open] {
    display: flex;
    height: calc(100dvh - 24px);
    flex-direction: column;
    overflow: hidden;
    padding-top: 6px;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }
  .listening-dialog .dialog-toolbar {
    flex: none;
    margin-bottom: 4px;
    padding: 0;
  }
  .listening-dialog #close-player {
    min-height: 44px;
  }
  .listening-dialog .dialog-layout {
    flex: 1;
    min-height: 0;
    gap: 6px;
  }
  .listening-dialog .dialog-media-pane {
    flex: none;
  }
  .listening-dialog .dialog-sidebar {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
  }
  .listening-dialog .dialog-song {
    flex: none;
    margin-bottom: 4px;
    padding-bottom: 4px;
  }
  .listening-dialog .dialog-song .eyebrow {
    display: none;
  }
  .listening-dialog .dialog-tabs {
    flex: none;
    margin-bottom: 4px;
  }
  .listening-dialog .dialog-tabs button {
    min-height: 44px;
    padding-block: 4px;
  }
  .listening-dialog .dialog-lyrics-section,
  .listening-dialog .dialog-about-section,
  .listening-dialog .dialog-queue-section {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .listening-dialog #dialog-lyrics,
  .listening-dialog #dialog-queue {
    height: 100%;
    min-height: 28px;
    max-height: 160px;
    overflow-y: auto;
  }
  #dialog-controls {
    flex: none;
  }
  .listening-dialog .player {
    margin-top: 6px;
  }
  .listening-dialog .player-inner {
    gap: 4px;
    padding-block: 6px;
  }
  .listening-dialog .mini-track {
    display: none;
  }
  .listening-dialog #dialog-queue {
    height: auto;
    min-height: 0;
    max-height: none;
    flex: 1;
  }
  .listening-dialog #dialog-about {
    height: 100%;
    min-height: 0;
    max-height: none;
    flex: 1;
  }
  .listening-dialog #my-playlist-editor {
    max-height: none;
  }
}
.song-share-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid #47617a;
  border-radius: 14px;
  color: #eff7fc;
  background: #071424;
}
.song-share-dialog::backdrop {
  background: #010813b8;
  backdrop-filter: blur(8px);
}
.share-dialog-top,
.share-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.share-dialog-top {
  justify-content: space-between;
}
.song-share-dialog h2 {
  margin: 18px 0 8px;
  font-size: clamp(20px, 4vw, 28px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.share-song-artist,
.share-note {
  color: #b5c9d9;
}
#share-card-preview {
  display: block;
  width: min(240px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 20px auto;
  border-radius: 8px;
  background: #020a15;
}
.share-link-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}
#share-url {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #557088;
  border-radius: 5px;
  color: #e8f5ff;
  background: #020c18;
}
.share-actions {
  margin-top: 18px;
}
.share-actions button,
.share-actions a,
#share-close {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #6689a2;
  border-radius: 5px;
  color: #e8f5ff;
  background: #112c42;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.share-actions button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.share-note,
.share-feedback {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
}
.share-feedback:empty {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
