/* Self-contained player skin; load after the storefront styles. */
#jazz-player.jazz-v3 {
  --jazz-ink: #493225;
  --jazz-soft: #7b6657;
  --jazz-paper: #fbf5e9;
  position: fixed;
  inset: auto auto max(20px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  z-index: 45;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 9px;
  width: 276px;
  max-width: calc(100vw - 88px);
  padding: 8px 10px 8px 8px;
  border: 1px solid #e5d7c8;
  border-radius: 44px;
  background: #fbf5e9f2;
  color: var(--jazz-ink);
  box-shadow: 0 5px 24px #35231816, 0 1px 3px #3523180c;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  font-family: var(--font-text, sans-serif);
  line-height: 1.35;
  isolation: isolate;
}
#jazz-player.jazz-v3 button { -webkit-tap-highlight-color: transparent; font-family: inherit; cursor: pointer; }
#jazz-player.jazz-v3 button:focus-visible,
#jazz-player.jazz-v3 input:focus-visible { outline: 2px solid #896143; outline-offset: 4px; }
#jazz-player .jazz-disc-button { position: relative; display: block; flex-shrink: 0; width: 56px; height: 56px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--jazz-ink); }
#jazz-player .record-disc {
  position: absolute;
  inset: 1px;
  display: block;
  border: 1px solid #38271e;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, #241b16 0 1px, #49362a 1.2px 1.65px, #2e221b 1.9px 2.6px);
  box-shadow: 0 2px 4px #2c1b2530, inset 0 0 0 1px #76604f55;
  animation: jazz-v3-spin 8s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
#jazz-player .record-disc::before { content: ''; position: absolute; inset: 1px; border: 0; border-radius: inherit; background: conic-gradient(from 30deg, transparent 0deg, #fff3d419 32deg, transparent 62deg, transparent 180deg, #fff3d416 212deg, transparent 245deg); }
#jazz-player .record-disc::after { content: ''; position: absolute; inset: 6px; border: 1px solid #c2a58430; border-radius: inherit; }
#jazz-player .record-disc .record-center {
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  transform: translate(-50%, -50%);
  border: 1px solid #e1bd8a;
  border-radius: 50%;
  background: #ba895c;
  color: #342116;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1;
}
#jazz-player.is-playing .record-disc { animation-play-state: running; }
#jazz-player .jazz-transport { position: absolute; right: -1px; bottom: -1px; z-index: 2; display: grid; place-items: center; width: 23px; height: 23px; border: 2px solid var(--jazz-paper); border-radius: 50%; background: #e8d8bb; box-shadow: 0 1px 3px #33201220; color: #513828; }
#jazz-player .jazz-transport svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2.8; fill: none; }
#jazz-player .jazz-transport .play-icon { display: block; fill: currentColor; stroke: none; }
#jazz-player .jazz-transport .pause-icon { display: none; }
#jazz-player.is-playing .jazz-transport .play-icon { display: none; }
#jazz-player.is-playing .jazz-transport .pause-icon { display: block; }
#jazz-player .jazz-copy { min-width: 0; padding: 0 0 1px; }
#jazz-player .jazz-copy strong { display: block; margin: 0 0 5px; font-size: 14px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
#jazz-player .jazz-caption { display: flex; align-items: center; gap: 7px; min-height: 16px; }
#jazz-player #jazz-status { display: block; min-width: 0; max-width: none; overflow: hidden; color: var(--jazz-soft); font-size: 12px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
#jazz-player .jazz-meter { display: flex; align-items: flex-end; flex: 0 0 auto; gap: 2px; height: 18px; margin-left: auto; padding-bottom: 1px; }
#jazz-player .jazz-meter i { display: block; width: 3px; height: 100%; border-radius: 2px; background: #9b7453; transform: scaleY(.12); transform-origin: 50% 100%; }
#jazz-player .jazz-settings { display: grid; place-items: center; width: 34px; height: 40px; margin: 0; padding: 8px; border: 0; border-radius: 17px; background: transparent; color: #6e5340; transition: background .18s ease; }
#jazz-player .jazz-settings:hover,
#jazz-player .jazz-settings[aria-expanded="true"] { background: #eadfcf; }
#jazz-player .jazz-settings svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; }
#jazz-player .jazz-volume {
  position: absolute;
  inset: auto auto calc(100% + 10px) 0;
  z-index: 2;
  width: 270px;
  max-width: calc(100vw - 28px);
  padding: 18px 20px 16px;
  border: 1px solid #e3d5c3;
  border-radius: 22px;
  background: var(--jazz-paper);
  box-shadow: 0 12px 34px #3b251a22;
  animation: jazz-v3-panel-in .18s ease-out both;
}
#jazz-player .jazz-volume[hidden] { display: none; }
#jazz-player .jazz-volume::after { content: ''; position: absolute; bottom: -14px; left: 0; width: 100%; height: 15px; }
#jazz-player .jazz-volume-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#jazz-player .jazz-volume label { color: var(--jazz-ink); font-size: 14px; font-weight: 550; }
#jazz-player .jazz-volume output { color: var(--jazz-soft); font-size: 13px; font-variant-numeric: tabular-nums; }
#jazz-player .jazz-volume input { --jazz-volume: 30%; display: block; width: 100%; height: 36px; margin: 7px 0 9px; padding: 0; border: 0; background: transparent; accent-color: #886143; cursor: pointer; appearance: none; -webkit-appearance: none; }
#jazz-player .jazz-volume input::-webkit-slider-runnable-track { height: 5px; border-radius: 8px; background: linear-gradient(to right, #886143 var(--jazz-volume), #dfd0bd var(--jazz-volume)); }
#jazz-player .jazz-volume input::-moz-range-track { height: 5px; border-radius: 8px; background: #dfd0bd; }
#jazz-player .jazz-volume input::-moz-range-progress { height: 5px; border-radius: 8px; background: #886143; }
#jazz-player .jazz-volume input::-webkit-slider-thumb { width: 17px; height: 17px; margin-top: -6px; border: 3px solid var(--jazz-paper); border-radius: 50%; background: #886143; box-shadow: 0 0 0 1px #886143, 0 2px 4px #49322522; appearance: none; -webkit-appearance: none; }
#jazz-player .jazz-volume input::-moz-range-thumb { width: 12px; height: 12px; border: 3px solid var(--jazz-paper); border-radius: 50%; background: #886143; box-shadow: 0 0 0 1px #886143; }
#jazz-player #jazz-mute { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; margin: -5px 0 0 -6px; padding: 6px; border: 0; border-radius: 10px; background: transparent; color: var(--jazz-ink); text-decoration: none; text-align: left; font-size: 13px; line-height: 1.4; }
#jazz-player #jazz-mute:hover { background: #eadfcf; }
#jazz-player #jazz-mute svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#jazz-player .jazz-speaker-cross { display: none; }
#jazz-player.is-muted .jazz-speaker-cross { display: block; }
#jazz-player.is-muted .jazz-speaker-waves { display: none; }
#jazz-player .jazz-volume small { display: block; margin-top: 10px; color: var(--jazz-soft); font-size: 12px; line-height: 1.5; }
@keyframes jazz-v3-spin { to { transform: rotate(360deg); } }
@keyframes jazz-v3-panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 580px) {
  #jazz-player.jazz-v3 { inset: auto auto max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); grid-template-columns: 48px minmax(0, 1fr) 32px; gap: 7px; width: 251px; max-width: calc(100vw - 84px); padding: 7px 8px 7px 7px; }
  #jazz-player .jazz-disc-button { width: 48px; height: 48px; }
  #jazz-player .record-disc .record-center { width: 19px; height: 19px; font-size: 10px; }
  #jazz-player .jazz-transport { width: 22px; height: 22px; }
  #jazz-player .jazz-settings { width: 32px; height: 40px; }
  #jazz-player .jazz-copy strong { font-size: 13px; }
  #jazz-player #jazz-status { font-size: 12px; }
  #jazz-player .jazz-meter { gap: 2px; height: 16px; }
  #jazz-player .jazz-meter i { width: 3px; }
  #jazz-player .jazz-caption { gap: 5px; }
  #jazz-player .jazz-volume { width: 251px; }
}
@media (prefers-reduced-motion: reduce) {
  #jazz-player .record-disc { animation: none !important; will-change: auto; }
  #jazz-player .jazz-meter i { transform: scaleY(.12) !important; }
  #jazz-player .jazz-volume { animation: none; }
  #jazz-player .jazz-settings { transition: none; }
}
