/* === RETRO POSTER DESIGN === */

:root {
  --color-cream: #F5F0E6;
  --color-orange: #E8A838;
  --color-red: #E05A47;
  --color-black: #1A1A1A;
  --color-brown: #3D2B1F;
  --font-display: 'Abril Fatface', serif;
  --font-body: 'Work Sans', sans-serif;

  --stroke: 3px;
  --stroke-thin: 2px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 22px rgba(26, 26, 26, 0.18);
  --shadow-soft-hover: 0 16px 34px rgba(26, 26, 26, 0.22);
}

* {
  box-sizing: border-box;
}

button,
input {
  font: inherit;
}

.hidden {
  display: none !important;
}

/* Hide default cursor */
body,
body * {
  cursor: none !important;
}

body {
  margin: 0;
  background-color: var(--color-cream);
  font-family: var(--font-body);
  color: var(--color-black);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}

/* Grain texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Wiggly arm container */
.wiggly-arm-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20000;
}

/* Arm figure */
.arm-figure {
  position: fixed;
  bottom: 20px;
  right: 60px;
  width: 50px;
  height: 100px;
  z-index: 10;
  animation: figure-breathe 4s ease-in-out infinite;
  transform-origin: 50% 100%;
}

.figure-svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes figure-breathe {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(1.02);
  }
}

/* Floating musical notes */
.floating-notes {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

.musical-note {
  position: absolute;
  font-size: 24px;
  color: var(--color-orange);
  opacity: 0;
  animation: float-up 4s ease-out forwards;
}

@keyframes float-up {
  0% {
    opacity: 0.8;
    transform: translateY(0) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translateY(-200px) rotate(20deg);
  }
}

/* =========================
   LAYOUT
   ========================= */

.listen-container {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100vh;
  width: 100vw;
}

.player-section,
.collection-section {
  flex: 1;
  position: relative;
}

.player-section {
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: var(--stroke) solid var(--color-black);
}

.player-section::before {
  content: "";
  position: absolute;
  width: min(520px, 78vmin);
  height: min(520px, 78vmin);
  border-radius: 50%;
  background: var(--color-orange);
  opacity: 0.22;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.collection-section {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.collection-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background: var(--color-red);
  opacity: 0.08;
  border-radius: 40%;
  right: -220px;
  top: -200px;
  transform: rotate(-10deg);
  z-index: 0;
}

.collection-section>* {
  position: relative;
  z-index: 1;
}

/* =========================
   RECORD PLAYER
   ========================= */

.record-player {
  width: 640px;
  height: 640px;
  position: relative;
  background: var(--color-brown);
  border-radius: var(--radius-lg);
  border: var(--stroke) solid var(--color-black);
  box-shadow: none;
  overflow: hidden;
  z-index: 1;
}

.record-player::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--color-orange);
  top: -120px;
  left: -120px;
  opacity: 0.9;
  z-index: 0;
}

.record-player::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 160px;
  border-radius: 32px;
  background: var(--color-red);
  bottom: -70px;
  right: -60px;
  opacity: 0.5;
  transform: rotate(12deg);
  z-index: 0;
}

.platter {
  width: 500px;
  height: 500px;
  background: var(--color-black);
  border-radius: 50%;
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
  z-index: 1;
  background-image:
    repeating-radial-gradient(circle at center,
      transparent 0,
      transparent 8px,
      rgba(245, 240, 230, 0.04) 8px,
      rgba(245, 240, 230, 0.04) 9px);
}

.platter.playing {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.label {
  width: 180px;
  height: 180px;
  background: var(--color-cream);
  border: var(--stroke-thin) solid var(--color-brown);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 2;
}

.label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
}

.spindle {
  width: 14px;
  height: 14px;
  background: var(--color-cream);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Tonearm */
.tonearm-container {
  position: absolute;
  top: 36px;
  right: 32px;
  width: 120px;
  height: 420px;
  transform-origin: top center;
  transform: rotate(10deg);
  z-index: 20;
}

.tonearm-container.active .tonearm-pivot {
  outline: 3px solid rgba(232, 168, 56, 0.8);
  outline-offset: 4px;
}

.tonearm-pivot {
  width: 40px;
  height: 40px;
  background: var(--color-cream);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.tonearm-rod {
  width: 6px;
  height: 300px;
  background: var(--color-cream);
  border-radius: 999px;
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
}

.tonearm-head {
  width: 46px;
  height: 28px;
  background: var(--color-cream);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 8px;
  position: absolute;
  bottom: 62px;
  left: 50%;
  transform: translateX(-50%);
}

/* Now Playing */
.now-playing-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px;
  background: var(--color-cream);
  border: var(--stroke) solid var(--color-black);
  border-radius: var(--radius-md);
  z-index: 30;
  gap: 14px;
  align-items: flex-start;
  display: none;
  /* Hidden by default */
}

.now-playing-album-cover {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  background: var(--color-brown);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.now-playing-album-cover:empty::after {
  content: '♪';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  opacity: 0.3;
  color: var(--color-cream);
}

.now-playing-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.now-playing-header {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}

.now-playing-track {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.now-playing-artist,
.now-playing-album,
.now-playing-artist-album {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  opacity: 0.92;
  margin-top: 4px;
}

.queued-by {
  margin-top: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

/* Progress */
.progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.progress-time {
  width: 48px;
  font-size: 12px;
  text-align: center;
  flex: 0 0 auto;
  opacity: 0.9;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--color-brown);
  border-radius: 999px;
  overflow: hidden;
  border: var(--stroke-thin) solid var(--color-black);
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--color-red);
  border-radius: 999px;
}

.progress-container[data-playing="true"] .progress-bar {
  border-color: var(--color-red);
}

/* =========================
   HEADER + SEARCH
   ========================= */

.header-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  padding: 18px;
}

.invite-btn,
.queue-btn,
#chatSendBtn,
.spotify-btn {
  background: var(--color-cream);
  color: var(--color-black);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.invite-btn:hover,
.queue-btn:hover {
  background: var(--color-orange);
  transform: translateY(-2px) scale(1.05);
}

.invite-btn:active,
.queue-btn:active {
  transform: translateY(0) scale(0.98);
}

.invite-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}

.connection-dot {
  width: 12px;
  height: 12px;
  background: var(--color-cream);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 50%;
}

.search-container {
  width: 360px;
  max-width: 44vw;
  position: relative;
  z-index: 100;
}

#searchInput {
  width: 100%;
  padding: 12px 14px;
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 999px;
  background: rgba(245, 240, 230, 0.85);
  color: var(--color-black);
  font-size: 13px;
  outline: none;
}

#searchInput::placeholder {
  color: rgba(26, 26, 26, 0.55);
}

#searchInput:focus {
  border-color: var(--color-red);
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: var(--color-cream);
  border: var(--stroke) solid var(--color-black);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
  z-index: 101;
}

.search-result-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  transition: background 0.15s ease;
}

.search-result-item:hover {
  background: var(--color-orange);
}

.search-result-item img {
  width: 46px;
  height: 46px;
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.search-result-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-subtitle {
  font-size: 12px;
  opacity: 0.82;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================
   ALBUM SCATTER
   ========================= */

.album-scatter-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.album-cover {
  width: 180px;
  height: 180px;
  position: absolute;
  user-select: none;
  touch-action: none;
  background: #fff;
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  translate: 0 0;
  rotate: 0deg;
  transition: translate 0.2s ease, rotate 0.2s ease, box-shadow 0.2s ease;
}

.album-cover:hover {
  translate: 0 -8px;
  rotate: 2deg;
  box-shadow: var(--shadow-soft-hover);
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border-radius: 4px;
}

/* =========================
   AUTH OVERLAY
   ========================= */

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.78);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.auth-card {
  width: min(440px, calc(100vw - 40px));
  background: var(--color-cream);
  border: var(--stroke) solid var(--color-black);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
}

.auth-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.92;
}

.spotify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--color-red);
  color: var(--color-cream);
}

.spotify-btn:hover {
  background: var(--color-orange);
  color: var(--color-black);
  transform: translateY(-2px) scale(1.05);
}

.spotify-btn:active {
  transform: translateY(0) scale(0.98);
}

/* =========================
   CREDIT
   ========================= */

.credit-link {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 10000;
  background: rgba(245, 240, 230, 0.95);
  color: var(--color-black);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease;
}

.credit-link:hover {
  background: var(--color-orange);
  transform: translateY(-2px);
}

/* =========================
   QUEUE OVERLAY
   ========================= */

.queue-overlay {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.queue-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.7);
}

.queue-modal {
  position: relative;
  width: min(560px, calc(100vw - 40px));
  max-height: min(72vh, 680px);
  overflow: hidden;
  background: var(--color-cream);
  border: var(--stroke) solid var(--color-black);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.queue-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-orange);
  color: var(--color-black);
  border-bottom: var(--stroke) solid var(--color-black);
}

.queue-modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.queue-modal-close {
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--color-cream);
  color: var(--color-black);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.queue-modal-close:hover {
  background: #fff;
  transform: translateY(-2px);
}

.queue-list {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.queue-item {
  display: grid;
  grid-template-columns: 34px 54px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: var(--stroke-thin) solid var(--color-brown);
  border-radius: var(--radius-md);
}

.queue-position {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  color: var(--color-cream);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 12px;
  font-weight: 700;
}

.queue-album-art {
  width: 54px;
  height: 54px;
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.queue-title {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-artist,
.queue-added-by {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.82;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-vote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 12px;
  background: var(--color-cream);
  color: var(--color-black);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.queue-vote-btn:hover {
  background: var(--color-orange);
  transform: translateY(-2px);
}

.queue-vote-btn.voted {
  background: var(--color-red);
  color: var(--color-cream);
}

.vote-count {
  font-weight: 700;
  font-size: 14px;
}

.empty-state {
  margin: 0;
  padding: 22px 0;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* =========================
   CHAT WIDGET
   ========================= */

.chat-toggle-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  background: var(--color-red);
  color: var(--color-cream);
  border: var(--stroke) solid var(--color-black);
  border-radius: 50%;
  z-index: 2550;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.chat-toggle-btn:hover {
  background: var(--color-orange);
  color: var(--color-black);
  transform: translateY(-2px) rotate(-2deg);
}

.chat-unread-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  background: var(--color-black);
  color: var(--color-cream);
  border: var(--stroke-thin) solid var(--color-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 104px;
  width: 340px;
  height: 460px;
  background: var(--color-cream);
  border: var(--stroke) solid var(--color-black);
  border-radius: var(--radius-lg);
  z-index: 2550;
  display: flex;
  flex-direction: column;
  transform: translateY(120%);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.chat-widget.open {
  transform: translateY(0);
  pointer-events: auto;
}

.chat-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--color-orange);
  color: var(--color-black);
  border-bottom: var(--stroke) solid var(--color-black);
}

.chat-widget-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chat-widget-close {
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--color-cream);
  color: var(--color-black);
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.chat-widget-close:hover {
  background: #fff;
  transform: translateY(-2px);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.chat-message {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-message-avatar {
  width: 32px;
  height: 32px;
  border: var(--stroke-thin) solid var(--color-black);
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  object-fit: cover;
}

.chat-message-content {
  flex: 1;
  min-width: 0;
}

.chat-message-header {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.chat-message-name {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.chat-message-time {
  font-size: 11px;
  opacity: 0.75;
}

.chat-message-text {
  font-size: 13px;
  line-height: 1.35;
  word-wrap: break-word;
}

.chat-input-container {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: var(--stroke) solid var(--color-black);
  background: rgba(245, 240, 230, 0.9);
}

#chatInput {
  flex: 1;
  padding: 10px 12px;
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  outline: none;
}

#chatInput:focus {
  border-color: var(--color-red);
}

#chatSendBtn {
  background: var(--color-red);
  color: var(--color-cream);
}

#chatSendBtn:hover {
  background: var(--color-orange);
  color: var(--color-black);
  transform: translateY(-2px) scale(1.05);
}

#chatSendBtn:active {
  transform: translateY(0) scale(0.98);
}

/* =========================
   NOTIFICATION
   ========================= */

#notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(245, 240, 230, 0.95);
  color: var(--color-black);
  padding: 10px 16px;
  border: var(--stroke-thin) solid var(--color-black);
  border-radius: 999px;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 600;
  letter-spacing: 0.01em;
}

#notification[data-visible="true"] {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
  .record-player {
    width: 520px;
    height: 520px;
  }

  .platter {
    width: 400px;
    height: 400px;
  }

  .label {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  body {
    overflow: auto;
  }

  .listen-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding-bottom: 112px;
  }

  .player-section {
    border-right: none;
    border-bottom: var(--stroke) solid var(--color-black);
    padding: 18px 0;
  }

  .player-section::before {
    top: 46%;
  }

  .record-player {
    width: min(420px, 92vw);
    height: min(560px, 92vw);
  }

  .platter {
    width: min(320px, 72vw);
    height: min(320px, 72vw);
    top: 42%;
  }

  .label {
    width: min(120px, 30vw);
    height: min(120px, 30vw);
  }

  .tonearm-container {
    top: 26px;
    right: 20px;
    width: 90px;
    height: 300px;
  }

  .tonearm-pivot {
    width: 34px;
    height: 34px;
  }

  .tonearm-rod {
    height: 210px;
    top: 38px;
  }

  .tonearm-head {
    width: 40px;
    height: 26px;
    bottom: 44px;
  }

  .now-playing-info {
    position: static;
    margin: 14px 18px 18px;
  }

  .collection-section {
    overflow: visible;
  }

  .header-controls {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    justify-content: space-between;
    border-top: var(--stroke) solid var(--color-black);
    background: rgba(245, 240, 230, 0.95);
  }

  .search-container {
    flex: 1;
    max-width: none;
    width: auto;
  }

  .invite-btn span {
    display: none;
  }

  .arm-figure {
    right: 20px;
    bottom: 20px;
  }

  .chat-toggle-btn {
    bottom: 112px;
  }

  .chat-widget {
    bottom: 196px;
  }

  .credit-link {
    bottom: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platter.playing {
    animation: none;
  }

  .arm-figure {
    animation: none;
  }

  .musical-note {
    animation: none;
  }

  .chat-widget {
    transition: none;
  }

  .invite-btn,
  .queue-btn,
  #chatSendBtn,
  .spotify-btn,
  .chat-toggle-btn,
  .credit-link,
  .queue-modal-close,
  .chat-widget-close,
  .album-cover {
    transition: none;
  }
}