/* Theme layouts implemented from the public visual reference; no external assets. */
.palette-tiles {
  display: none;
}
.standard {
  background: linear-gradient(
    125deg,
    color-mix(
      in srgb,
      color-mix(in srgb, var(--bg) 72%, var(--accent))
        calc(var(--opacity) * 100%),
      transparent
    ),
    color-mix(in srgb, var(--bg) calc(var(--opacity) * 100%), transparent) 45%
  );
  gap: 24px;
}
.standard .art,
.matte .art,
.matte-dark .art {
  width: 150px;
  height: 150px;
}
.standard .eyebrow,
.matte .eyebrow,
.matte-dark .eyebrow {
  display: none;
}
.standard .album,
.matte .album,
.matte-dark .album {
  display: none;
}
.standard .timeline,
.matte .timeline,
.matte-dark .timeline {
  margin-top: 22px;
}
.standard .rail,
.matte .rail,
.matte-dark .rail {
  height: 7px;
}
.matte,
.matte-dark {
  box-shadow: none;
}
.matte:after,
.matte-dark:after {
  display: none;
}
.matte .title,
.matte-dark .title {
  font-weight: 800;
}
.matte .artist,
.matte-dark .artist {
  letter-spacing: 3px;
}
.compact-bar,
.compact-inverted {
  height: 56px;
  padding: 13px 18px;
  border-radius: var(--radius);
  box-shadow: none;
  gap: 0;
  background: color-mix(
    in srgb,
    var(--bg) calc(var(--opacity) * 100%),
    transparent
  );
}
.compact-bar:after,
.compact-inverted:after {
  display: none;
}
.compact-bar .art,
.compact-inverted .art,
.compact-bar .eyebrow,
.compact-inverted .eyebrow,
.compact-bar .album,
.compact-inverted .album {
  display: none;
}
.compact-bar .info,
.compact-inverted .info {
  position: static;
  justify-content: center;
}
.compact-bar .track-content,
.compact-inverted .track-content {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.compact-bar .title,
.compact-inverted .title {
  font-size: 20px;
  max-width: 65%;
  flex-shrink: 0;
}
.compact-bar .artist,
.compact-inverted .artist {
  font-size: 15px;
  letter-spacing: 2px;
  margin: 0;
  min-width: 0;
}
.compact-bar .timeline,
.compact-inverted .timeline {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.compact-bar .rail,
.compact-inverted .rail {
  height: 100%;
  border-radius: inherit;
  background: transparent;
}
.compact-bar #progress {
  background: var(--accent);
  opacity: 0.62;
  border-radius: 0;
}
.compact-inverted .rail {
  background: var(--accent);
}
.compact-inverted #progress {
  background: var(--bg);
  border-radius: 0;
}
.compact-bar .times,
.compact-inverted .times {
  display: none;
}
.simple {
  padding: 0;
  gap: 22px;
  background: transparent;
  box-shadow: none;
  min-height: 160px;
}
.simple:after {
  display: none;
}
.simple .art {
  width: 160px;
  height: 160px;
}
.simple .eyebrow,
.simple .album {
  display: none;
}
.simple .rail {
  height: 7px;
}
.simple .timeline {
  margin-top: 25px;
}
.nutty-classic {
  background: transparent;
  padding: 0;
  gap: 24px;
  box-shadow: none;
  overflow: visible;
}
.nutty-classic:after {
  display: none;
}
.nutty-classic .art {
  height: 180px;
  width: 180px;
  border-radius: var(--radius);
  box-shadow: 0 12px 20px #0006;
}
.nutty-classic .info {
  height: 180px;
  background: color-mix(
    in srgb,
    var(--bg) calc(var(--opacity) * 100%),
    transparent
  );
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 20px #0006;
}
.nutty-classic .eyebrow,
.nutty-classic .album {
  display: none;
}
.nutty-classic .rail {
  height: 7px;
  overflow: visible;
}
.nutty-classic #progress {
  position: relative;
}
.nutty-classic #progress:after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 15px;
  height: 15px;
  background: var(--title);
  border-radius: 50%;
  transform: scaleX(calc(1 / max(0.01, var(--progress))));
}
.nutty-classic .times {
  font-size: 11px;
}
.card {
  flex-direction: column;
  padding: 36px;
  gap: 26px;
}
.card .art {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: calc(var(--radius) * 0.6);
}
.card .info {
  padding: 0 0 6px;
}
.card .eyebrow,
.card .album {
  display: none;
}
.card .artist {
  letter-spacing: 3px;
}
.card .timeline {
  margin-top: 28px;
}
.card .rail {
  height: 7px;
}
.album-art {
  padding: 0;
  aspect-ratio: 1;
  align-items: end;
  background: var(--bg);
}
.album-art .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.album-art .info {
  z-index: 2;
  padding: 120px 34px 34px;
  background: linear-gradient(
    transparent,
    color-mix(in srgb, var(--bg) 90%, transparent)
  );
  width: 100%;
}
.album-art .eyebrow,
.album-art .album,
.album-art .times {
  display: none;
}
.album-art .track-content {
  display: flex;
  flex-direction: column;
}
.album-art .title {
  font-size: 36px;
  order: 1;
}
.album-art .artist {
  font-size: 23px;
  letter-spacing: 5px;
  margin: 0 0 9px;
  order: 0;
}
.album-art .timeline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
}
.album-art .rail {
  height: 6px;
  border-radius: 0;
}
.vinyl {
  padding: 10px;
  aspect-ratio: 1;
  display: block;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.vinyl:after {
  display: none;
}
.vinyl:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--accent) calc(var(--progress) * 360deg),
    color-mix(in srgb, var(--artist) 20%, transparent) 0
  );
}
.vinyl .info {
  display: none;
}
.vinyl .art {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #fff1, transparent 30%, #fff1 49%, transparent 65%),
    repeating-radial-gradient(
      circle,
      #111 0px,
      #242424 1px,
      #101010 2px,
      #151515 4px
    );
  box-shadow:
    inset 0 0 0 3px #363636,
    0 8px 20px #0008;
  animation: record-spin 12s linear infinite;
}
.vinyl .art img {
  position: absolute;
  width: 36%;
  height: 36%;
  left: 32%;
  top: 32%;
  border-radius: 50%;
}
.vinyl .art:after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 3%;
  height: 3%;
  left: 48.5%;
  top: 48.5%;
  border-radius: 50%;
  background: #161719;
  box-shadow: 0 0 0 2px #ffffff40;
}
.vinyl .fallback {
  font-size: 60px;
}
.vinyl.paused .art {
  animation-play-state: paused;
}
.color-palette {
  padding: 0;
  background: transparent;
  box-shadow: none;
  display: block;
}
.color-palette:after,
.color-palette .art,
.color-palette .info {
  display: none;
}
.color-palette .palette-tiles {
  display: grid;
  gap: 10px;
}
.palette-tiles > div {
  position: relative;
  isolation: isolate;
  height: 120px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: flex-end;
  gap: 5px;
  color: color-mix(in srgb, var(--swatch) 40%, #10191e);
  transition: color 1.1s;
}
.palette-tiles > div:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: min(var(--radius), 10px);
  background: var(--swatch);
  clip-path: inset(0 calc((1 - var(--progress, 0)) * 100%) 0 0);
  transition: background 1.1s;
}
.palette-tiles small {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.palette-tiles strong {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
@keyframes record-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vinyl .art {
    animation: none;
  }
}
