@font-face {
  font-family: "GravitasOne";
  src: url("/fonts/GravitasOne-Regular.ttf");
  font-weight: 400;
}

:root {
  --ink: #0a0a0a;
  --panel: #181818;
  --panel-2: #242424;
  --bone: #f5e6d3;
  --bone-dim: rgb(245 230 211 / 0.68);
  --blood: #dc2626;
  --blood-dark: #8a1111;
  --amber: #fbbf24;
  --line: rgb(245 230 211 / 0.18);
  --shadow: 0 22px 48px rgb(0 0 0 / 0.42);
  font-family: "Special Elite", ui-serif, Georgia, "Times New Roman", serif;
}

body {
  margin: 0;
  background:
    radial-gradient(at 10% -10%, rgb(220 38 38 / 0.24), transparent 48%),
    radial-gradient(at 90% 110%, rgb(251 191 36 / 0.1), transparent 42%), var(--ink);
  color: var(--bone);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.85'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell,
.admin-shell {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 46px 16px 28px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 112px -20vw auto;
  height: 92px;
  rotate: -3deg;
  background: linear-gradient(90deg, transparent, rgb(220 38 38 / 0.32), transparent);
  filter: blur(18px);
}

.kicker,
.section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgb(245 230 211 / 0.58);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
}

.kicker::before,
.kicker::after {
  content: "";
  height: 1px;
  width: clamp(42px, 12vw, 92px);
  background: rgb(245 230 211 / 0.34);
}

.hero-title {
  margin: 8px 0 0;
  font-family: "GravitasOne", Impact, serif;
  font-size: clamp(58px, 16vw, 136px);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow:
    7px 7px 0 var(--blood),
    0 2px 0 rgb(0 0 0 / 0.7);
  animation: title-flicker 24s linear infinite;
}

@keyframes title-flicker {
  0%,
  29.9%,
  31.1%,
  31.6%,
  32.0%,
  74.9%,
  75.6%,
  100% {
    text-shadow:
      7px 7px 0 var(--blood),
      0 2px 0 rgb(0 0 0 / 0.7);
  }
  30.0%,
  31.5% {
    text-shadow:
      7px 7px 0 rgb(220 38 38 / 0.18),
      0 2px 0 rgb(0 0 0 / 0.7);
  }
  31.0% {
    text-shadow:
      7px 7px 0 rgb(220 38 38 / 0.5),
      0 2px 0 rgb(0 0 0 / 0.7);
  }
  75.0% {
    text-shadow:
      7px 7px 0 rgb(220 38 38 / 0.1),
      0 2px 0 rgb(0 0 0 / 0.7);
  }
  75.4% {
    text-shadow:
      7px 7px 0 rgb(220 38 38 / 0.6),
      0 2px 0 rgb(0 0 0 / 0.7);
  }
}

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

.ribbon {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 28px;
  rotate: -1deg;
  border-block: 2px solid rgb(245 230 211 / 0.82);
  background: var(--blood);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(30px, 8vw, 48px);
  letter-spacing: 0.52em;
  text-indent: 0.52em;
}

.tagline {
  max-width: 520px;
  margin: 28px auto 0;
  color: var(--bone-dim);
  font-size: 18px;
  line-height: 1.5;
  font-style: italic;
}

.hero-actions {
  display: grid;
  gap: 14px;
  max-width: 460px;
  margin: 28px auto 0;
}

.rock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border: 2px solid var(--bone);
  background: var(--blood);
  color: var(--bone);
  padding: 9px 16px;
  box-shadow: 5px 5px 0 var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.rock-button:hover {
  translate: 2px 2px;
  box-shadow: 2px 2px 0 var(--ink);
}

.search-box {
  display: grid;
  gap: 6px;
}

.search-box input {
  box-sizing: border-box;
  width: 100%;
  border: 2px solid rgb(245 230 211 / 0.3);
  background: rgb(10 10 10 / 0.82);
  color: var(--bone);
  padding: 10px 12px;
  outline: none;
}

.search-results {
  display: grid;
  gap: 4px;
  max-height: 240px;
  overflow: auto;
}

.search-results button {
  border: 1px solid var(--line);
  background: rgb(24 24 24 / 0.92);
  color: var(--bone);
  padding: 8px 10px;
  text-align: left;
}

.section-header {
  max-width: 720px;
  margin: 42px auto 36px;
  padding: 0 16px;
}

.section-kicker {
  justify-content: flex-start;
  color: var(--blood);
}

.section-kicker .led-dot {
  flex-shrink: 0;
}

.section-kicker .section-meta {
  margin-left: auto;
  color: rgb(245 230 211 / 0.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 13px;
}

.section-kicker .section-meta::before {
  content: "";
  display: inline-block;
  width: clamp(24px, 8vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, rgb(220 38 38 / 0.6), rgb(245 230 211 / 0.3), transparent);
  margin-right: 10px;
  vertical-align: middle;
}

.section-title {
  margin: 5px 0 0;
  font-family: "GravitasOne", Impact, serif;
  font-size: clamp(32px, 9vw, 52px);
  line-height: 1;
}

.album-list {
  display: grid;
  gap: 42px;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 44px;
}

.album-card {
  rotate: -0.35deg;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.album-card:nth-child(even) {
  rotate: 0.35deg;
}

.album-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .album-card,
  .album-card.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.album-meta {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 8px;
  padding: 0 4px;
}

.album-count {
  color: var(--blood);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 28px;
  letter-spacing: 0.18em;
  line-height: 1;
}

.album-side {
  color: rgb(245 230 211 / 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 2px;
}

.album-year {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 22px;
  margin-left: auto;
  line-height: 1;
}

.poster {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.album-art,
.album-panel {
  position: relative;
  aspect-ratio: 1;
  background: #111;
}

.album-panel-slot {
  animation: panel-swap-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

@keyframes panel-swap-in {
  from {
    opacity: 0;
    transform: translateX(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .album-panel-slot {
    animation: none;
  }
}

.album-art img,
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-album {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 2px solid var(--bone);
  background: radial-gradient(circle at 35% 30%, #ef4444, var(--blood) 58%, #450a0a);
  color: var(--bone);
  box-shadow: 0 0 24px rgb(220 38 38 / 0.55);
  font-size: 32px;
  cursor: pointer;
}

.album-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
}

.setlist-panel {
  overflow: hidden;
}

.image-panel {
  padding: 0;
}

.setlist-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgb(245 230 211 / 0.28);
  padding-bottom: 10px;
}

.setlist-heading h3 {
  margin: 0;
  font-family: "GravitasOne", Impact, serif;
  font-size: 24px;
  line-height: 1.1;
}

.art-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgb(245 230 211 / 0.52);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgb(220 38 38 / 0.18), transparent 38%),
    repeating-linear-gradient(45deg, #141414 0 12px, #111 12px 24px);
}

.setlist-scroll {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  margin-top: 16px;
  overflow: hidden;
}

.setlist-scroll::before,
.setlist-scroll::after {
  content: "";
  position: absolute;
  right: 8px;
  left: 0;
  z-index: 2;
  height: 42px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.setlist-scroll::before {
  top: 0;
  background: linear-gradient(to bottom, #111 10%, rgb(17 17 17 / 0));
}

.setlist-scroll::after {
  bottom: 0;
  background: linear-gradient(to top, #111 10%, rgb(17 17 17 / 0));
}

.setlist-panel.can-scroll-up .setlist-scroll::before,
.setlist-panel.can-scroll-down .setlist-scroll::after {
  opacity: 1;
}

.track-list {
  height: 100%;
  list-style: decimal-leading-zero;
  padding-left: 34px;
  padding-right: 8px;
  min-height: 0;
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 6px;
  scrollbar-color: rgb(245 230 211 / 0.38) transparent;
}

.track-list::-webkit-scrollbar {
  width: 8px;
}

.track-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgb(245 230 211 / 0.28);
}

.setlist-panel p {
  margin: 12px 0 0;
  flex-shrink: 0;
}

.track-list button {
  width: 100%;
  border: 0;
  border-bottom: 1px dashed rgb(245 230 211 / 0.18);
  background: transparent;
  color: var(--bone);
  text-align: left;
  padding: 3px 0;
  cursor: pointer;
}

.track-list button[aria-current="true"] {
  color: var(--amber);
}

.album-pager {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgb(245 230 211 / 0.12);
  padding: 10px;
  background: rgb(10 10 10 / 0.55);
}

.album-pager button {
  border: 1px solid rgb(245 230 211 / 0.2);
  background: rgb(24 24 24 / 0.92);
  color: var(--bone);
  cursor: pointer;
  min-height: 30px;
  padding: 5px 8px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.album-pager .album-pager-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  padding: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 20px;
  line-height: 1;
}

.album-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.album-tabs button[aria-current="page"] {
  border-color: var(--blood);
  color: var(--amber);
  box-shadow: inset 0 -2px 0 var(--blood);
}

.player-bar {
  position: fixed;
  z-index: 4;
  inset: auto 0 0;
  border-top: 1px solid #4a4a4a;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.025) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #2b2b2b 0%, #181818 50%, #0c0c0c 100%);
  box-shadow:
    0 -20px 40px rgb(0 0 0 / 0.7),
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    inset 0 -1px 0 rgb(0 0 0 / 0.6);
  animation: player-slide-up 380ms cubic-bezier(0.18, 0.86, 0.3, 1.06) backwards;
  view-transition-name: player-bar;
}

::view-transition-old(player-bar),
::view-transition-new(player-bar) {
  animation-duration: 380ms;
  animation-timing-function: cubic-bezier(0.18, 0.86, 0.3, 1.06);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(player-bar),
  ::view-transition-new(player-bar) {
    animation-duration: 0ms;
  }
}

@keyframes player-slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.player-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--blood), var(--amber), var(--blood));
}

.player-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 22px 8px;
}

.power-light {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgb(245 230 211 / 0.62);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 10px;
  letter-spacing: 0.26em;
}

.led-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd96b 0%, var(--blood) 50%, #450a0a 100%);
  box-shadow:
    0 0 8px rgb(220 38 38 / 0.9),
    0 0 2px rgb(255 217 107 / 0.9),
    inset 0 0 2px rgb(0 0 0 / 0.6);
}

.is-paused .led-dot {
  opacity: 0.5;
}

.led-display {
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid #2a1505;
  background: #14080a;
  color: var(--amber);
  padding: 4px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 6px rgb(251 191 36 / 0.9),
    0 0 1px var(--amber);
  box-shadow:
    inset 0 0 12px rgb(251 191 36 / 0.15),
    inset 0 0 2px rgb(0 0 0 / 0.9),
    0 0 0 1px rgb(0 0 0 / 0.6);
}

.marquee-track {
  display: inline-block;
  padding-right: 32px;
}

.is-playing .marquee-track {
  animation: marquee 18s linear infinite;
}

.vu-meter {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 28px;
}

.vu-bar {
  display: inline-block;
  width: 5px;
  height: 100%;
  background: linear-gradient(to top, #16a34a 0%, #84cc16 35%, var(--amber) 65%, var(--blood) 90%);
  transform: scaleY(0.2);
  transform-origin: bottom;
  animation: vu 0.6s ease-in-out infinite alternate;
  box-shadow: 0 0 4px rgb(0 0 0 / 0.6);
}

.vu-bar:nth-child(1) {
  animation-duration: 0.42s;
}

.vu-bar:nth-child(2) {
  animation-duration: 0.61s;
}

.vu-bar:nth-child(3) {
  animation-delay: -0.1s;
  animation-duration: 0.38s;
}

.vu-bar:nth-child(4) {
  animation-delay: -0.2s;
  animation-duration: 0.55s;
}

.vu-bar:nth-child(5) {
  animation-duration: 0.47s;
}

.vu-bar:nth-child(6) {
  animation-delay: -0.3s;
  animation-duration: 0.7s;
}

.vu-bar:nth-child(7) {
  animation-delay: -0.15s;
  animation-duration: 0.36s;
}

.vu-bar:nth-child(8) {
  animation-duration: 0.58s;
}

.vu-bar:nth-child(9) {
  animation-delay: -0.05s;
  animation-duration: 0.45s;
}

.vu-bar:nth-child(10) {
  animation-duration: 0.65s;
}

.is-paused .vu-bar {
  animation-play-state: paused;
  transform: scaleY(0.05);
}

.player-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 22px 16px;
}

.player-art-shell {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  margin-right: 56px;
  transform-origin: 80% 30%;
  animation: needle-drop 820ms cubic-bezier(0.34, 1.45, 0.64, 1) 320ms backwards;
}

@keyframes needle-drop {
  0% {
    transform: translate(-12px, -64px) scale(0.45) rotate(-32deg);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  82% {
    transform: translate(0, 0) scale(1) rotate(2deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .player-art-shell {
    animation: none;
  }
}

.vinyl-record {
  position: absolute;
  top: 0;
  right: -54px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      rgb(255 255 255 / 0) 0deg,
      rgb(255 255 255 / 0.07) 25deg,
      rgb(255 255 255 / 0) 70deg,
      rgb(255 255 255 / 0) 200deg,
      rgb(255 255 255 / 0.05) 225deg,
      rgb(255 255 255 / 0) 270deg
    ),
    radial-gradient(
      circle at 50% 50%,
      #1a1a1a 0%,
      #1a1a1a 16%,
      #2a0e0e 17%,
      #1a1a1a 18%,
      #0a0a0a 100%
    ),
    repeating-radial-gradient(circle at 50% 50%, #0a0a0a 0 1px, #1a1a1a 2px 3px);
  box-shadow:
    inset 0 0 0 2px #2a2a2a,
    0 4px 12px rgb(0 0 0 / 0.8);
}

.vinyl-record::before {
  content: "";
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 26% 30%, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0) 45%),
    radial-gradient(circle at 50% 50%, var(--amber) 0%, var(--blood) 60%, #7f1d1d 100%);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.4);
}

.vinyl-record::after {
  content: "";
  position: absolute;
  inset: 47%;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--bone);
}

.is-playing .vinyl-record {
  animation: spin-vinyl 3.2s linear infinite;
}

.player-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(245 230 211 / 0.4);
  background: var(--ink);
  color: rgb(245 230 211 / 0.58);
  box-shadow: 3px 3px 0 var(--blood);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.16em;
}

.player-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-deck {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.transport-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.transport-button,
.play-button,
.volume-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: var(--bone);
  cursor: pointer;
}

.transport-button,
.volume-button {
  width: 34px;
  height: 34px;
  background: transparent;
}

.transport-button:hover,
.volume-button:hover {
  color: var(--amber);
}

.play-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ef4444 0%, #b91c1c 60%, #450a0a 100%);
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 0.25),
    inset 0 -2px 0 rgb(0 0 0 / 0.5),
    0 0 0 2px rgb(0 0 0 / 0.6),
    0 0 18px rgb(220 38 38 / 0.6);
  transition: transform 80ms ease;
}

.play-button:hover {
  transform: scale(1.05);
}

.play-button:active {
  transform: scale(0.97);
}

.transport-button svg,
.volume-button svg {
  width: 22px;
  height: 22px;
}

.play-button svg {
  width: 32px;
  height: 32px;
}

.time-readout {
  color: rgb(245 230 211 / 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.progress-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.volume-row {
  display: grid;
  grid-template-columns: auto minmax(96px, 140px);
  align-items: center;
  gap: 10px;
}

.player-progress,
.volume-slider {
  width: 100%;
  cursor: pointer;
}

.player-progress {
  position: relative;
  height: 20px;
  border: 0;
  background: transparent;
  padding: 0;
  touch-action: none;
  outline: none;
}

.progress-track {
  position: absolute;
  inset: 6px 0;
  display: block;
  border: 1px solid rgb(0 0 0 / 0.5);
  border-radius: 1px;
  background: rgb(245 230 211 / 0.14);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.6);
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  background: linear-gradient(90deg, var(--blood), var(--amber));
  box-shadow: 0 0 8px rgb(220 38 38 / 0.7);
}

.progress-thumb {
  position: absolute;
  top: 50%;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bone);
  box-shadow:
    0 0 0 2px var(--blood),
    0 0 8px rgb(0 0 0 / 0.8);
  transform: translate(-50%, -50%);
}

.player-progress:focus-visible .progress-track {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.volume-slider {
  accent-color: var(--blood);
}

.volume-slider::-webkit-slider-runnable-track {
  height: 8px;
  border: 1px solid rgb(0 0 0 / 0.5);
  border-radius: 1px;
  background: rgb(245 230 211 / 0.14);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.6);
}

.volume-slider::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--bone);
  box-shadow:
    0 0 0 2px var(--blood),
    0 0 8px rgb(0 0 0 / 0.8);
}

.player-deck audio {
  display: none;
}

.rivet {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(245 230 211 / 0.4), var(--ink));
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.12);
}

.rivet.top-left {
  top: 9px;
  left: 9px;
}

.rivet.top-right {
  top: 9px;
  right: 9px;
}

.rivet.bottom-left {
  bottom: 9px;
  left: 9px;
}

.rivet.bottom-right {
  right: 9px;
  bottom: 9px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes vu {
  from {
    transform: scaleY(0.15);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes spin-vinyl {
  to {
    rotate: 360deg;
  }
}

.video-section,
.footer {
  max-width: 560px;
  margin: 48px auto 0;
  padding: 0 16px 150px;
}

.video-section iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.footer {
  padding-bottom: 180px;
  text-align: center;
  color: rgb(245 230 211 / 0.44);
}

.admin-shell {
  min-height: 100vh;
  background: #f5f3ef;
  color: #1a1a1a;
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.admin {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  font-size: 14px;
}

.admin a {
  color: var(--blood);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.admin h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.admin h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #6b7280;
}

.admin button,
.admin .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #d4d4d8;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  transition:
    background-color 100ms ease,
    border-color 100ms ease,
    color 100ms ease;
}

.admin button:hover,
.admin .button:hover {
  background: #fafafa;
  border-color: #a1a1aa;
}

.admin button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin .button-primary,
.admin button[data-variant="primary"] {
  background: var(--blood);
  border-color: var(--blood);
  color: #fff;
}

.admin .button-primary:hover,
.admin button[data-variant="primary"]:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.admin button[data-variant="danger"] {
  border-color: #fecaca;
  color: var(--blood);
}

.admin button[data-variant="danger"]:hover {
  background: #fef2f2;
  border-color: var(--blood);
}

.admin button[data-variant="ghost"] {
  border-color: transparent;
  background: transparent;
  color: #6b7280;
}

.admin button[data-variant="ghost"]:hover {
  background: #f3f4f6;
  color: #1a1a1a;
}

.admin button[data-variant="icon"] {
  width: 32px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: #6b7280;
}

.admin button[data-variant="icon"]:hover {
  background: #f3f4f6;
  color: #1a1a1a;
}

.admin table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.admin th {
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.admin td {
  border-bottom: 1px solid #f1f3f5;
  padding: 10px 12px;
  vertical-align: middle;
}

.admin tbody tr:last-child td {
  border-bottom: 0;
}

.thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: #e5e7eb;
  border-radius: 4px;
}

.admin form {
  display: grid;
  gap: 12px;
}

.admin label {
  display: grid;
  gap: 4px;
  font-weight: 500;
  font-size: 13px;
  color: #4b5563;
}

.admin input,
.admin textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #d4d4d8;
  border-radius: 4px;
  background: #fff;
  color: #1a1a1a;
  padding: 7px 10px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.admin input:focus,
.admin textarea:focus {
  border-color: var(--blood);
  box-shadow: 0 0 0 3px rgb(220 38 38 / 0.12);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 18px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  margin-bottom: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.artwork-field {
  display: grid;
  gap: 6px;
}

.artwork-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.drop-artwork,
.track-dropzone {
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 2px dashed #d4d4d8;
  border-radius: 4px;
  background: #fafafa;
  color: #6b7280;
  cursor: pointer;
  text-align: center;
  transition:
    border-color 120ms ease,
    background-color 120ms ease;
}

.drop-artwork:hover,
.track-dropzone:hover {
  border-color: #a1a1aa;
  background: #f5f5f5;
}

.drop-artwork.is-drag-over,
.track-dropzone.is-drag-over {
  border-color: var(--blood);
  background: #fef2f2;
}

.drop-artwork.has-artwork {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.drop-artwork img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.drop-placeholder {
  display: grid;
  gap: 4px;
  padding: 18px;
  font-size: 13px;
}

.drop-placeholder strong {
  color: #1a1a1a;
  font-weight: 600;
}

.remove-artwork {
  position: absolute !important;
  right: 8px !important;
  bottom: 8px !important;
  min-height: 28px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  background: rgb(255 255 255 / 0.95) !important;
}

.track-upload-panel,
.track-edit-panel {
  display: grid;
  gap: 12px;
}

.track-upload-panel + .track-edit-panel {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.track-dropzone {
  min-height: 96px;
}

.pending-tracks {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.pending-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.pending-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pending-header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

.pending-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.2fr) 32px;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.pending-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.2fr) 32px;
  gap: 10px;
  align-items: center;
  padding: 6px 12px;
  border-bottom: 1px solid #f1f3f5;
}

.pending-track:last-child {
  border-bottom: 0;
}

.pending-track input {
  padding: 5px 8px;
  font-size: 13px;
}

.pending-file {
  min-width: 0;
  overflow: hidden;
  color: #4b5563;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-progress {
  display: grid;
  gap: 4px;
}

.upload-progress > div {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
}

.upload-progress span {
  display: block;
  height: 100%;
  background: var(--blood);
  transition: width 200ms ease;
}

.upload-progress small {
  color: #6b7280;
  font-size: 12px;
}

.form-error {
  color: var(--blood);
  font-size: 13px;
}

.drag-handle {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #9ca3af;
  cursor: grab;
  user-select: none;
  border-radius: 3px;
}

.drag-handle:hover {
  background: #f3f4f6;
  color: #4b5563;
}

.drag-handle:active,
[draggable="true"]:active .drag-handle {
  cursor: grabbing;
}

/* Track editor list */

.track-editor-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.track-editor-head {
  display: grid;
  grid-template-columns: 28px 56px minmax(0, 1fr) 220px 32px;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.track-editor-row {
  display: grid;
  grid-template-columns: 28px 56px minmax(0, 1fr) 220px 32px;
  gap: 10px;
  align-items: center;
  padding: 6px 12px;
  border-bottom: 1px solid #f1f3f5;
  background: #fff;
  transition: background-color 100ms ease;
}

.track-editor-row:last-child {
  border-bottom: 0;
}

.track-editor-row:hover {
  background: #fafafa;
}

.track-editor-row.is-dragging {
  opacity: 0.4;
}

.track-editor-row.drop-above {
  box-shadow: inset 0 2px 0 var(--blood);
}

.track-editor-row.drop-below {
  box-shadow: inset 0 -2px 0 var(--blood);
}

.track-editor-row input[type="text"] {
  padding: 5px 8px;
  font-size: 13px;
}

.track-editor-row audio {
  width: 100%;
  height: 32px;
  min-width: 0;
}

.track-editor-actions {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}

.track-edit-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

/* Album list with drag reorder */

.admin-album-row {
  transition: background-color 100ms ease;
}

.admin-album-row.is-dragging {
  opacity: 0.45;
}

.admin-album-row.drop-above td {
  box-shadow: inset 0 2px 0 var(--blood);
}

.admin-album-row.drop-below td {
  box-shadow: inset 0 -2px 0 var(--blood);
}

.admin-album-row td:first-child {
  width: 32px;
  padding-right: 0;
}

.admin-album-row td.thumb-cell {
  width: 60px;
}

.admin-album-row .album-link {
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
}

.admin-album-row .album-link:hover {
  color: var(--blood);
  text-decoration: underline;
}

.admin-album-row .album-meta-text {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 12px;
}

.status {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 9px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status.published {
  background: #dcfce7;
  color: #166534;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.track-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  padding-block: 10px;
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 640px) {
  .admin-grid,
  .track-row,
  .pending-track,
  .pending-head,
  .track-editor-row,
  .track-editor-head {
    grid-template-columns: 1fr;
  }

  .pending-head,
  .track-editor-head {
    display: none;
  }

  .player-status {
    grid-template-columns: auto minmax(0, 1fr);
    padding-inline: 12px;
  }

  .vu-meter {
    display: none;
  }

  .player-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-inline: 12px;
  }

  .player-art-shell {
    display: none;
  }

  .transport-row {
    gap: 16px;
  }

  .time-readout {
    font-size: 12px;
  }

  .volume-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

/* ---------- Flourishes ---------- */

.tagline .t-loud,
.tagline .t-live,
.tagline .t-uncut {
  font-style: normal;
  font-weight: 700;
}

.tagline .t-loud {
  color: var(--blood);
}

.tagline .t-live {
  color: var(--amber);
}

.tagline .t-uncut {
  color: var(--bone);
}

.rock-button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.on-air {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  rotate: -3deg;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--blood);
  color: var(--bone);
  border: 1px solid rgb(245 230 211 / 0.85);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.18em;
  font-size: 11px;
}

.on-air .rec-light {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a 0%, var(--blood) 60%, #450a0a 100%);
  box-shadow: 0 0 6px var(--blood);
  animation: rec-pulse 1.2s ease-in-out infinite;
}

@keyframes rec-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.play-album .vu-equalizer {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  height: 26px;
}

.play-album .vu-equalizer .vu-bar {
  width: 4px;
  height: 100%;
}

.setlist-header {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
}

.setlist-subhead {
  color: var(--blood);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.32em;
  font-size: 11px;
  text-align: center;
}

.track-now-playing {
  display: inline-flex;
  align-items: end;
  gap: 2px;
  width: 14px;
  height: 12px;
  margin-right: 6px;
  vertical-align: -1px;
}

.track-now-playing .vu-bar {
  width: 3px;
  height: 100%;
}

.footer-stars {
  color: rgb(245 230 211 / 0.36);
  letter-spacing: 0.6em;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer p {
  margin: 0;
  font-style: italic;
}

/* ---------- Player collapse ---------- */

.player-collapse {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 6;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgb(245 230 211 / 0.3);
  background: rgb(0 0 0 / 0.55);
  color: rgb(245 230 211 / 0.78);
  cursor: pointer;
  border-radius: 0;
}

.player-collapse:hover {
  color: var(--amber);
  border-color: rgb(245 230 211 / 0.55);
}

.player-bar.is-collapsed {
  inset: auto 18px 18px auto;
  width: auto;
  border: 1px solid rgb(245 230 211 / 0.25);
  border-top: 1px solid #4a4a4a;
  box-shadow:
    0 12px 24px rgb(0 0 0 / 0.6),
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    inset 0 -1px 0 rgb(0 0 0 / 0.6);
}

.player-bar.is-collapsed .player-accent {
  height: 2px;
}

.player-bar.is-collapsed .player-status,
.player-bar.is-collapsed .player-inner {
  display: none;
}

.player-bar.is-collapsed .player-collapse {
  position: static;
  margin: 0;
  border-left: 1px solid rgb(245 230 211 / 0.18);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  width: 36px;
  height: 56px;
  background: transparent;
}

.player-mini {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  height: 56px;
}

.player-bar.is-collapsed .player-mini {
  display: flex;
}

.player-mini img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid rgb(245 230 211 / 0.4);
  box-shadow: 2px 2px 0 var(--blood);
}

.player-bar.is-collapsed {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  padding: 0;
}

.player-bar.is-collapsed .player-accent {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
}
