/* v120 — premium, reliable full player. All colours use the site's active theme tokens. */
#fullPlayer.fullPlayer {
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  padding: max(14px, env(safe-area-inset-top)) clamp(16px, 4vw, 44px) max(18px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior: contain;
  background: var(--bg);
  background:
    radial-gradient(ellipse at 80% 10%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 34%),
    var(--bg);
  color: var(--text);
  -webkit-overflow-scrolling: touch;
}
#fullPlayer *, #fullPlayer *::before, #fullPlayer *::after { box-sizing: border-box; }
#fullPlayer .fullPlayerTop {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1180px, 100%);
  height: 56px;
  margin: 0 auto;
  padding: 0 2px 10px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 110px;
  align-items: center;
  gap: 12px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-align: center;
}
#fullPlayer .fullPlayerTop .iconButton { width: 44px; height: 44px; border-radius: 14px; }
#fullPlayer .playerBrand { justify-self: end; color: var(--brand); white-space: nowrap; }
#fullPlayer .fullPlayerBody {
  width: min(1140px, 100%);
  min-width: 0;
  margin: clamp(20px, 5vh, 54px) auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
}
#fullPlayer .fullArtworkWrap { position: relative; width: 100%; min-width: 0; max-width: 560px; justify-self: center; aspect-ratio: 1; }
#fullPlayer .fullArtworkGlow { position: absolute; z-index: 0; inset: 12%; border-radius: 30%; background: var(--brand); filter: blur(76px); opacity: .2; pointer-events: none; }
#fullPlayer .fullArtworkWrap img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: clamp(20px, 3vw, 32px);
  box-shadow: 0 28px 78px rgba(0,0,0,.22);
}
#fullPlayer .fullPlayerMeta { min-width: 0; }
#fullPlayer .fullPlayerMeta > .eyebrow { display: block; color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
#fullPlayer .fullPlayerMeta h2 {
  max-width: 100%;
  margin: 10px 0 5px;
  color: var(--text);
  font: 800 clamp(34px, 4.8vw, 62px)/1.02 Manrope, Inter, sans-serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
#fullPlayer .fullArtistLink { display: inline-block; max-width: 100%; margin: 2px 0 22px; color: var(--muted); font-size: 16px; text-decoration: none; overflow-wrap: anywhere; }
#fullPlayer .fullArtistLink:hover { color: var(--brand); }
#fullPlayer .fullPlayback { min-width: 0; }
#fullPlayer #fullSeek { display: block; width: 100%; height: 20px; margin: 0; cursor: pointer; accent-color: var(--brand); }
#fullPlayer .fullTimes { display: flex; justify-content: space-between; gap: 12px; margin: 3px 0 10px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
#fullPlayer .fullControls { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 2vw, 24px); margin: 10px 0 7px; }
#fullPlayer .fullControls .playerIcon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; color: var(--text); }
#fullPlayer .fullControls .playerIcon:hover { background: var(--surface-2); }
#fullPlayer .fullControls .fullOption { color: var(--muted); font-size: 20px; }
#fullPlayer .fullControls .fullOption.is-active { color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); }
#fullPlayer .fullControls .playerPlay.large { flex: 0 0 68px; width: 68px; height: 68px; }
#fullPlayer .fullVolume { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 14px; color: var(--muted); }
#fullPlayer .fullVolume .playerIcon { width: 34px; height: 34px; }
#fullPlayer #fullVolumeRange { width: min(180px, 42%); height: 16px; cursor: pointer; accent-color: var(--brand); }
#fullPlayer #fullVolumeLabel { min-width: 38px; font-size: 11px; font-variant-numeric: tabular-nums; }
#fullPlayer .fullActionDock { display: grid; gap: 9px; }
#fullPlayer .fullPurchase { display: grid; grid-template-columns: 1fr; gap: 9px; }
#fullPlayer .fullPurchase > * { min-width: 0; }
#fullPlayer .fullPurchase .btn { min-height: 48px; border-radius: 14px; padding: 10px 12px; text-align: center; white-space: normal; line-height: 1.2; }
#fullPlayer #fullBuy { grid-column: 1 / -1; }
#fullPlayer .fullCommerceNote { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--muted); text-align: center; font-size: 12px; }
#fullPlayer .fullSocial { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
#fullPlayer .fullSocial .btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 44px; border-radius: 13px; padding: 8px 7px; text-align: center; font-size: 12px; line-height: 1.15; white-space: normal; }
#fullPlayer .fullSocial .btn span { overflow-wrap: anywhere; }
#fullPlayer .fullQueue { min-width: 0; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
#fullPlayer .fullQueueHead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#fullPlayer #fullQueueList { display: grid; gap: 6px; max-height: 154px; margin-top: 8px; overflow: auto; overscroll-behavior: contain; }
#fullPlayer .fullQueueItem { width: 100%; min-width: 0; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
#fullPlayer .fullQueueItem img { display: block; width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
#fullPlayer .fullQueueItem span { min-width: 0; display: grid; gap: 2px; }
#fullPlayer .fullQueueItem strong, #fullPlayer .fullQueueItem small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#fullPlayer .fullQueueItem small { color: var(--muted); }
#fullPlayer .fullQueueItem b { color: var(--brand); }
#fullPlayer [hidden] { display: none !important; }
#fullPlayer .fullPlayerMeta, #fullPlayer .fullActionDock, #fullPlayer .fullControls, #fullPlayer .fullVolume { min-width: 0; }

@media (max-width: 900px) {
  #fullPlayer.fullPlayer { padding: max(7px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
  #fullPlayer .fullPlayerTop { height: 50px; grid-template-columns: 44px minmax(0,1fr) 96px; gap: 7px; font-size: 10px; }
  #fullPlayer .fullPlayerTop .iconButton { width: 40px; height: 40px; }
  #fullPlayer .fullPlayerBody { width: min(100%, 540px); margin: 14px auto 24px; grid-template-columns: minmax(0,1fr); gap: 16px; }
  #fullPlayer .fullArtworkWrap { width: min(64vw, 286px); max-width: 100%; }
  #fullPlayer .fullArtworkGlow { inset: 15%; filter: blur(48px); }
  #fullPlayer .fullPlayerMeta h2 { margin-top: 7px; font-size: clamp(27px, 7.2vw, 40px); line-height: 1.06; text-wrap: pretty; }
  #fullPlayer .fullArtistLink { margin: 2px 0 13px; font-size: 15px; }
  #fullPlayer .fullTimes { margin-bottom: 5px; font-size: 11px; }
  #fullPlayer .fullControls { gap: clamp(5px, 3vw, 18px); margin: 4px 0 3px; }
  #fullPlayer .fullControls .playerIcon { flex-basis: 38px; width: 38px; height: 38px; }
  #fullPlayer .fullControls .playerPlay.large { flex-basis: 60px; width: 60px; height: 60px; }
  #fullPlayer .fullVolume { margin-bottom: 10px; }
  #fullPlayer .fullPurchase { grid-template-columns: 1fr; }
  #fullPlayer .fullPurchase .btn { min-height: 46px; font-size: 13px; }
  #fullPlayer .fullSocial { gap: 7px; }
  #fullPlayer .fullSocial .btn { min-height: 42px; font-size: 11px; }
  #fullPlayer .fullQueue { margin-top: 14px; }
}
@media (max-width: 380px) {
  #fullPlayer.fullPlayer { padding-right: 12px; padding-left: 12px; }
  #fullPlayer .fullArtworkWrap { width: min(62vw, 250px); }
  #fullPlayer .fullControls { gap: 2px; }
  #fullPlayer .fullControls .playerIcon { flex-basis: 34px; width: 34px; height: 34px; }
  #fullPlayer .fullControls .fullOption { font-size: 18px; }
  #fullPlayer .fullControls .playerPlay.large { flex-basis: 56px; width: 56px; height: 56px; }
  #fullPlayer .fullSocial .btn { padding-right: 3px; padding-left: 3px; }
}
@media (max-width: 900px) and (orientation: landscape) {
  #fullPlayer .fullPlayerBody { width: min(100%, 850px); grid-template-columns: minmax(150px,34vw) minmax(0,1fr); align-items: center; gap: clamp(16px,4vw,34px); margin-top: 8px; }
  #fullPlayer .fullArtworkWrap { width: min(34vw,280px); }
  #fullPlayer .fullPlayerMeta h2 { font-size: clamp(25px,4vw,36px); }
}
@media (prefers-reduced-motion: reduce) { #fullPlayer *, #fullPlayer *::before, #fullPlayer *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
