:root {
  color-scheme: dark;
  font-family: var(--font-sans, 'Bricolage', sans-serif);
  font-variation-settings: 'opsz' var(--font-opsz, 12);
  background: var(--color-canvas, #111014);
  color: var(--color-ink, #e7e9df);
  --muted: var(--color-muted, #a6b2ad);
  --quiet: var(--color-quiet, #7c8982);
  --line: var(--color-line, rgba(195, 211, 195, .15));
  --accent: var(--color-accent, #dfcedf);
  --mono: var(--font-mono, 'Fragment', monospace);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; isolation: isolate; background: radial-gradient(ellipse at 8% 18%, #49303a45, transparent 48%), radial-gradient(ellipse at 88% 8%, #29384255, transparent 48%), radial-gradient(ellipse at 60% 95%, #3c30352b, transparent 55%); background-color: var(--color-canvas, #111014); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: wait; }
.music-shell { width: min(var(--page-max-width, 1440px), 100%); min-height: 100svh; margin: auto; padding: 0 var(--page-gutter, clamp(24px, 4.5vw, 72px)); display: flex; flex-direction: column; }
.page-header { display: flex; justify-content: space-between; align-items: center; height: var(--header-height, 96px); flex-shrink: 0; }
.header-brand { display: block; width: 72px; height: 32px; }
.header-brand svg { display: block; width: 100%; height: 100%; color: #d0dcc8; }
.page-navigation { display: flex; gap: 40px; font-size: 14px; }
.page-navigation a { display: flex; align-items: center; gap: 28px; min-height: 44px; text-decoration: none; color: #c3c9c0; }
.page-navigation span { color: var(--muted); transition: transform 250ms, color 250ms; }
.page-navigation a:hover span { color: var(--accent); transform: translate(2px, -2px); }
.page-navigation a:hover, .page-navigation [aria-current] { color: #eef4f0; }
.page-navigation [aria-current]::after { content: ''; display: inline-block; width: 3px; height: 3px; margin: 0 0 2px 6px; background: var(--accent); border-radius: 50%; }
.listening-room { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); padding: clamp(32px, 3.5vw, 64px) 0 54px; flex: 1; }
.player { min-width: 0; }
.section-label, .library-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.section-label h1, .library-heading h2 { margin: 0; font-size: 14px; font-weight: 400; }
.section-label > span { font-size: 11px; color: var(--quiet); }
#playback-state::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 0 6px 2px 0; }
body[data-playback="playing"] #playback-state { color: var(--accent); }
.disc-stage { position: relative; aspect-ratio: 1.13; display: grid; place-items: center; perspective: 1000px; margin: 10px -24px 8px; isolation: isolate; }
#disc-mesh, .orbit-guide { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#disc-mesh { opacity: .65; }
.orbit-guide { color: #90a89c; stroke: currentColor; stroke-width: .5; opacity: .28; }
.disc-shadow { position: absolute; bottom: 8%; width: 66%; height: 6%; border-radius: 50%; background: #8aa196; filter: blur(24px); opacity: .1; }
.disc-tilt { width: 74%; aspect-ratio: 1; transform-style: preserve-3d; }
.cd-disc { --shine: 28deg; --light-x: 35%; --light-y: 24%; position: relative; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 50%; background: #939d99; box-shadow: 0 22px 55px #000, 0 0 0 1px #c3d0c0, inset 0 0 0 2px #d8dedb; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cd-disc:active { cursor: grabbing; }
.disc-surface { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: conic-gradient(from var(--shine), #9ca9a3 0deg, #d3d9d5 20deg, #eff3ed 37deg, #6b7771 65deg, #8a9791 90deg, #bed0c7 115deg, #dad7c8 140deg, #8b9892 168deg, #e6ece7 188deg, #aebeb6 218deg, #6b777a 242deg, #c8c4d0 266deg, #c2d6d0 293deg, #eef0e5 320deg, #939f99 348deg, #9ca9a3 360deg); box-shadow: inset 0 0 0 1px #f6fff399, inset 0 0 0 4px #202f2d44; }
.cd-grooves { position: absolute; inset: 2%; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 2px, #e5f2ea14 2.5px, #25383012 3px); border: 1px solid #ecf2e859; }
.disc-reflection { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(ellipse at var(--light-x) var(--light-y), #fff9, #fff0 56%), conic-gradient(from var(--shine), transparent 0deg, #ffffff3b 35deg, transparent 60deg, transparent 178deg, #ffffff4a 205deg, transparent 235deg); mix-blend-mode: screen; }
.disc-motion-light { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: .06; mix-blend-mode: screen; background: radial-gradient(ellipse 36% 42% at var(--light-x) var(--light-y), #fff, transparent 70%); }
.cd-label { position: absolute; inset: 35%; border-radius: 50%; overflow: hidden; border: 1px solid #dfe6e0aa; background: #202a25; box-shadow: 0 0 0 8px #a9b8ae44, 0 0 0 9px #edf4ed88; }
.cd-label img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5); }
.cd-center-hole { position: absolute; inset: 46%; border-radius: 50%; background: #050706; border: 3px solid #d5ded9; box-shadow: 0 0 0 3px #788c8288, inset 1px 2px 4px #000; }
.disc-etch { position: absolute; top: 14%; left: 32%; width: 36%; color: #22382e; opacity: .65; display: grid; justify-items: center; gap: 6px; }
.disc-etch img { width: 40%; filter: brightness(.25); }
.disc-etch > span { font-size: clamp(5px, .54vw, 7px); letter-spacing: .13em; }
.disc-hint { position: absolute; bottom: 0; margin: 0; color: var(--quiet); font-size: 10px; }
.now-playing { min-height: 113px; padding-top: 18px; }
.track-eyebrow { display: flex; justify-content: space-between; color: var(--quiet); font-size: 10px; letter-spacing: .05em; }
#track-title { font-size: clamp(23px, 2.8vw, 34px); font-weight: 400; line-height: 1.2; letter-spacing: -.045em; margin: 10px 0 8px; overflow-wrap: anywhere; }
.track-byline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); }
#track-source { font-size: 11px; white-space: nowrap; }
#track-source:hover { color: #eef4f0; }
#track-source svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.3; vertical-align: middle; }
.timeline { position: relative; margin-top: 22px; }
#waveform { display: block; width: 100%; height: 32px; color: #62756a; }
#waveform-path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
input[type="range"] { --progress: 0%; appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 24px; border: 0; border-radius: 0; padding: 0; margin: -11px 0; background: linear-gradient(to right, var(--accent) var(--progress), #354039 var(--progress)); background-size: 100% 2px; background-position: center; background-repeat: no-repeat; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 7px; height: 7px; border-radius: 50%; background: #dce9e0; border: 0; }
input[type="range"]::-moz-range-thumb { width: 7px; height: 7px; border-radius: 50%; background: #dce9e0; border: 0; }
input[type="range"]:disabled { opacity: .4; cursor: default; }
#seek { margin: -3px 0 -11px; }
.timecodes { display: flex; justify-content: space-between; font-size: 11px; font-family: var(--font-mono, 'Fragment', monospace); color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 12px; }
.transport, .transport-main, .volume-control { display: flex; align-items: center; }
.transport { justify-content: space-between; margin-top: 18px; gap: 18px; }
.transport-main { gap: 16px; }
.icon-button { display: grid; place-items: center; width: 36px; height: 40px; border: 0; background: transparent; padding: 8px; color: var(--muted); }
.icon-button:hover { color: #fff; }
.icon-button svg, .play-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.play-button { width: 46px; height: 46px; border: 1px solid #a0b4a64d; border-radius: 50%; background: #c1d2c70a; display: grid; place-items: center; }
.play-button:hover { border-color: var(--accent); background: #c1d2c714; }
.play-symbol { fill: currentColor; stroke: none; }
.pause-symbol { display: none; stroke-width: 3; }
body[data-playback="playing"] .play-symbol { display: none; }
body[data-playback="playing"] .pause-symbol { display: block; }
.volume-control { gap: 9px; }
#volume { width: 58px; }
#volume-value { min-width: 28px; font-size: 11px; font-family: var(--font-mono, 'Fragment', monospace); color: var(--quiet); font-variant-numeric: tabular-nums; }
#mute[aria-pressed="true"] .volume-waves { opacity: .15; }
.playback-notice { font-size: 12px; line-height: 1.6; color: #d7bd9a; border-left: 1px solid currentColor; padding-left: 10px; margin-top: 20px; }
.playback-notice a { text-decoration: underline; }
.library { min-width: 0; padding-top: 0; }
.library-heading { padding-bottom: 23px; }
.library-heading > span { font-size: 11px; color: var(--quiet); }
.library-filters { display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.library-filters button { position: relative; background: none; border: 0; padding: 6px 0; color: var(--quiet); font-size: 12px; }
.library-filters button:hover, .library-filters [aria-pressed="true"] { color: #e5eee8; }
.library-filters [aria-pressed="true"]::after { content: ''; position: absolute; height: 1px; background: var(--accent); left: 0; right: 0; bottom: -16px; }
.track-list { list-style: none; padding: 0; margin: 0; }
.track-list li[hidden] { display: none; }
.track-row { width: 100%; display: grid; grid-template-columns: 21px 32px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 15px 0; border: 0; border-bottom: 1px solid #c9d8d214; background: transparent; text-align: left; }
.track-row:hover { background: linear-gradient(90deg, #a4b9ad08, transparent); }
.track-row[aria-current="true"] { color: #edf6ef; }
.track-index { font-size: 11px; font-family: var(--font-mono, 'Fragment', monospace); color: var(--quiet); font-variant-numeric: tabular-nums; }
.track-row[aria-current="true"] .track-index { color: #dce9df; }
.track-cover { width: 32px; height: 32px; object-fit: cover; border-radius: 50%; filter: saturate(.5); opacity: .75; }
.track-row[aria-current="true"] .track-cover { opacity: 1; border: 1px solid #b7ccbf; }
.track-copy { min-width: 0; }
.row-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.5; }
.row-artist { display: block; font-size: 10px; color: var(--quiet); line-height: 1.6; }
.row-duration { font-size: 11px; font-family: var(--font-mono, 'Fragment', monospace); color: var(--quiet); font-variant-numeric: tabular-nums; }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; color: var(--quiet); }
.page-footer img { display: block; width: 46px; height: auto; opacity: .8; }
.page-footer a:hover { color: #d8dedb; }
.soundcloud-bridge { position: fixed; width: 1px; height: 1px; left: -9999px; top: -9999px; opacity: .01; pointer-events: none; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; background: #202b24; padding: 12px; z-index: 20; }
.skip-link:focus { top: 16px; }
.no-script { margin: 24px; font-size: 14px; }
@media (min-width: 761px) {
  .player { position: sticky; top: 30px; align-self: start; }
}
@media (max-width: 760px) {
  .music-shell { padding: 0 clamp(16px, 4.5vw, 24px); }
  .page-header { height: 72px; }
  .page-navigation { gap: 24px; font-size: 13px; }
  .listening-room { grid-template-columns: 1fr; gap: 44px; padding: 44px 0 36px; }
  .player { width: min(460px, 100%); margin: auto; }
  .disc-stage { margin: 0 -8px; aspect-ratio: 1.23; }
  .disc-tilt { width: 68%; }
  .disc-hint { bottom: -3px; }
  .now-playing { padding-top: 24px; min-height: 112px; }
  #track-title { font-size: 28px; }
  .disc-etch > span { font-size: 5px; }
  .library-heading { padding-bottom: 20px; }
  .track-row { padding-block: 16px; }
  .page-footer { gap: 14px; font-size: 10px; }
}
@media (max-width: 360px) {
  .music-shell { padding-inline: 18px; }
  .page-navigation { gap: 16px; font-size: 12px; }
  .volume-control { gap: 4px; }
  #volume { width: 38px; }
  .transport-main { gap: 10px; }
  .library-filters { column-gap: 19px; }
  .track-row { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Phones: bigger tap areas for the member filters and small links. */
@media (max-width: 760px) {
  .library-filters { column-gap: 8px; padding-bottom: 6px; }
  .library-filters button { padding: 12px 8px; min-width: 44px; }
  .library-filters button:first-child { margin-left: -8px; }
  .library-filters [aria-pressed="true"]::after { left: 8px; right: 8px; bottom: -7px; }
  #track-source { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .page-footer a { display: inline-block; padding-block: 12px; }
}
/* Phones held sideways: slimmer header so the disc and tracks get the space. */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 1000px) {
  .page-header { height: 56px; }
}
