.deck-panel {
  color: #ffffff;
  min-width: 0;
  width: min(100%, clamp(285px, 33vw, 420px));
  justify-self: center;
  align-self: center;
}
.console { width: 100%; height: auto; }
.turntable {
  position: relative;
  margin-block: 0 9px;
  border-radius: 18px;
  isolation: isolate;
  box-shadow: 0 10px 14px -4px #0d0907c9;
}
.turntable.drop-ready {
  outline: 2px solid #ffde98;
  outline-offset: 3px;
}
.vinyl {
  border-radius: 50%;
  background:
    conic-gradient(from -35deg, transparent 0deg, #d5e2f14d 32deg, transparent 68deg 169deg, #adcae145 213deg, transparent 252deg),
    repeating-radial-gradient(circle, #111923 0 1px, #303944 1.4px, #121820 2.25px, #151c26 3.5px);
  box-shadow: 0 2px 4px #0009, inset 0 0 0 1px #121922;
}
.platter-disc, #disc-control {
  position: absolute; left: 16.5385%; top: 8.8435%;
  width: 46.5385%; aspect-ratio: 1;
}
.platter-disc { pointer-events: none; opacity: 0; }
.has-record .platter-disc { opacity: 1; }
.record-face { position: absolute; inset: 0; border-radius: 50%; transform: rotate(0deg); }
.is-spinning .record-face { will-change: transform; }
.record-label {
  position: absolute; inset: 33%; overflow: hidden; border-radius: 50%;
  background: #26374b; border: 1px solid #ffffff3d;
}
.record-label img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.spindle {
  position: absolute; inset: 48.6%; border-radius: 50%;
  background: linear-gradient(120deg,#fff,#909ca7 55%,#d3dce5);
  box-shadow: 0 1px 2px #000b;
}
.arm-plane { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tonearm { transform-box: view-box; transform-origin: 413px 64px; transition: transform 1.45s cubic-bezier(.42,0,.3,1), filter 1.45s; filter: drop-shadow(2px 3px 1.8px #241c1485); }
.arm-down .tonearm { transform: rotate(32deg); filter: drop-shadow(.5px .5px .5px #241c1466); }
#disc-control { border: 0; padding: 0; border-radius: 50%; background: transparent; }
#disc-control:focus-visible { outline-color: #ffde98; outline-offset: -4px; }
.travelling-record { position: fixed; z-index: 20; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.sleeve-front { position: fixed; z-index: 21; pointer-events: none; border-radius: 3px; }
.now { display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1px solid #a48a5b88; border-bottom: 0; border-radius: 10px 10px 0 0; background: #211b17f4; padding: 3px 10px 0; }
.now-copy { min-width: 0; line-height: 1.15; }
.micro { display: block; color: #eee0c5; font-size: .62rem; text-transform: uppercase; font-weight: 650; letter-spacing: .06em; }
.micro b { color: #f2ce83; margin-left: 3px; white-space: nowrap; }
.now h3 { font-size: clamp(1.05rem, 1.65vw, 1.35rem); line-height: 1.05; margin-top: 2px; }
.buttons { flex-shrink: 0; }
.buttons button { display: grid; place-items: center; border: 0; background: transparent; color: #ffffff; min-width: 44px; height: 44px; padding: 0; }
.buttons .skip svg { width: 15px; fill: currentColor; stroke: currentColor; stroke-width: 1.7; }
#toggle { --button-face: #f2ce83; color: #10232e; border-radius: 50%;
  background: radial-gradient(circle, var(--button-face) 15px, #ffebaf 15.5px 16px, transparent 16.5px);
}
#toggle:hover { --button-face: #fff0c9; }
#toggle svg { width: 18px; fill: currentColor; }
.pause-mark, .is-playing .play-mark { display: none; }
.is-playing .pause-mark { display: inline; }
.timeline { border: 1px solid #a48a5b88; border-top: 0; border-radius: 0 0 10px 10px; padding: 0 10px 3px; background: #211b17f4; display: flex; gap: 9px; align-items: center; color: #f5ead7; font-size: .68rem; font-variant-numeric: tabular-nums; }
#seek { width: 100%; height: 24px; margin: 0; cursor: pointer; accent-color: #f2ce83; background: transparent; }
#seek:disabled { opacity: .7; }
#error { color: #ffcfab; font-size: .85rem; }
#error:not(:empty) { margin-top: 8px; background: #241c17; padding: 8px 12px; border-radius: 6px; }
.deck-options { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; }
#volume-bar {
  display: flex; flex: 1 1 186px; align-items: center; min-width: min(186px, 100%); padding-right: 8px;
  border-radius: 6px; background: #211b17f0; color: #f2dcb6;
}
#mute { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; background: transparent; color: inherit; }
#mute svg { width: 20px; height: 20px; }
#mute .cross, #mute.is-muted .waves { display: none; }
#mute.is-muted .cross { display: inline; }
#volume { flex: 1; width: 100%; min-width: 34px; height: 44px; margin: 0; accent-color: #f2ce83; cursor: pointer; }
#volume-percent { min-width: 3.5em; text-align: right; font: .7rem ui-monospace, monospace; }
#motion-toggle {
  display: block; margin: 0 0 0 auto; min-height: 44px; padding: 7px 8px;
  border: 0; border-radius: 6px; background: #211b17db; color: #f2dcb6;
  font-size: .75rem; line-height: 1.3;
}
#motion-toggle:hover { color: #fff1c9; background: #211b17; }
.shelf { min-width: 0; scroll-margin-top: 16px; padding: clamp(16px, 1.9vw, 26px); border: 1px solid #c9b17d88; border-radius: 14px; color: #fff6e4; background: linear-gradient(165deg,#30281ff2,#211b16f2); box-shadow: 0 10px 26px #120c0842; }
.shelf-head { border-bottom: 1px solid #8b775482; padding: 0 0 13px; margin-bottom: 15px; }
.shelf h2 { font-size: clamp(2.1rem,3.5vw,3rem); letter-spacing: -.025em; line-height: 1; margin-top: 2px; }
.catalog { font-size: .69rem; color: #f2dcb6; letter-spacing: .14em; border: 1px solid #8d795d; border-radius: 15px; padding: 3px 9px; }
.releases { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); column-gap: clamp(10px,1.1vw,17px); row-gap: 18px; padding: 0; list-style: none; }
.release { display: block; text-decoration: none; }
.sleeve {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px;
  box-shadow: 1px 3px 5px #40321c29; transition: transform .18s, box-shadow .18s;
}
.sleeve img { width: 100%; height: auto; }
.release[aria-current=true] .sleeve { outline: 2px solid #f8d391; outline-offset: 3px; }
.release:hover .sleeve { transform: translateY(-2px); box-shadow: 1px 5px 9px #40321c36; }
.cue {
  position: absolute; bottom: 7px; right: 7px; width: 26px; height: 26px;
  border-radius: 50%; background: #ffffff; display: grid; place-items: center; color: #193956;
  box-shadow: 0 1px 5px #201e1c3d;
}
.cue::after { content: ""; width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; margin-left: 2px; }
.release.playing .cue::after { width: 4px; height: 10px; border: 0; border-left: 3px solid; border-right: 3px solid; margin: 0; box-sizing: content-box; }
.release-name { display: block; font: 700 clamp(1rem,1.45vw,1.22rem)/1.15 Barlow,"Arial Narrow",sans-serif; margin-top: 8px; }
