:root {
  color-scheme: dark;
  --bg: #100d0e;
  --panel: #1b1719;
  --panel2: #241e21;
  --line: #3d3035;
  --text: #f5eee8;
  --muted: #b2a2a0;
  --lime: #ff4f43;
  --lime2: #ff7864;
  --red: #ff4f43;
  --accent: #ff654f;
}

* { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(ellipse at 8% 2%, #72252b4d 0, transparent 34rem),
    radial-gradient(ellipse at 92% 12%, #c35b2526 0, transparent 32rem),
    linear-gradient(145deg, #100d0e 0%, #171214 55%, #100d0e 100%);
  color: var(--text);
}
header { border-color: #3b292d; }
.brand { color: #fff6ef; text-transform: uppercase; letter-spacing: .6px; }
.brand small { color: #b38c88; letter-spacing: 2.2px; }
.mark {
  color: #fff7ef;
  background: linear-gradient(145deg, #ff765d, #c52236);
  border: 1px solid #ff9a7a;
  border-radius: 10px 10px 10px 3px;
  box-shadow: 0 0 24px #ff433b4d;
}
.privacy { color: #bca8a3; }
.privacy i { background: #ff6752; box-shadow: 0 0 0 4px #ff675222, 0 0 14px #ff6752a0; }
.hero { position: relative; padding-top: 68px; }
.hero:before {
  content: ""; position: absolute; z-index: -1; right: 4%; top: 18px;
  width: clamp(170px, 23vw, 310px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #ff9e68, #e9363d 46%, #701b38 72%, transparent 73%);
  opacity: .22; filter: blur(2px); animation: amp-pulse 6s ease-in-out infinite;
}
@keyframes amp-pulse { 0%,100% { transform: scale(.96); opacity: .16; } 50% { transform: scale(1.05); opacity: .28; } }
.eyebrow,.detail-eyebrow { color: #ff8068; letter-spacing: 2.4px; }
.hero h1 { color: #fff5ee; text-transform: uppercase; text-wrap: balance; text-shadow: 0 5px 30px #ff4b3b20; }
.hero p { color: #b5a5a1; }
.btn {
  color: #f4e9e3; background: linear-gradient(145deg, #241d20, #1a1618);
  border-color: #49373b; box-shadow: 0 5px 18px #0005;
}
.btn:hover { border-color: #d75a50; box-shadow: 0 8px 24px #0008, 0 0 18px #fa57401f; }
.btn.primary {
  color: #fff8f1; background: linear-gradient(135deg, #ff7056, #cd263d);
  border-color: #ff715a; box-shadow: 0 6px 20px #da343d38;
}
.btn.primary:hover { background: linear-gradient(135deg, #ff8b6a, #e23a46); }
.stat {
  background: linear-gradient(145deg, #211b1eeb, #171315eb);
  border-color: #3b2c30; box-shadow: 0 12px 28px #0003;
}
.stat strong { color: #fff1e7; }
.stat span,.count,.meta { color: #b09d99; }
.search input,.select,.field input,.field select {
  color: var(--text); background: #1b1719; border-color: #49383c;
  box-shadow: inset 0 1px #ffffff08, 0 5px 18px #0003;
}
.search input::placeholder { color: #927f7c; }
.search span { color: #ff8068; }
.search input:focus,.select:focus,.field input:focus,.field select:focus {
  border-color: #ff7056; box-shadow: 0 0 0 3px #ff654f2a;
}
.artist-card {
  position: relative; overflow: hidden; color: #f7eee8;
  background: linear-gradient(120deg, #211a1d, #191517 72%);
  border-color: #3b2c30; box-shadow: 0 8px 22px #0003;
}
.artist-card:before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(#ff9b61, #d52342); opacity: .65;
}
.artist-card:hover,.artist-card:focus-visible {
  border-color: #a34c4d; background: linear-gradient(120deg, #302024, #1b1618 72%);
  box-shadow: 0 14px 30px #0006, 0 0 22px #f3423920; transform: translateY(-3px) scale(1.008);
}
.artist-art { color: #fff5ea; background: linear-gradient(145deg, #d34b43, #53232e); box-shadow: inset 0 0 20px #ffbe7833; }
.artist-arrow { color: #ff765e; }
.cover { background: linear-gradient(145deg, #40262b, #1c1719); box-shadow: 0 12px 28px #0007; transition: transform .25s, box-shadow .25s; }
.card:hover .cover { transform: translateY(-5px) rotate(-.7deg); box-shadow: 0 18px 36px #000a, 0 0 20px #ff514126; }
.placeholder { background: radial-gradient(circle at 72% 20%, #fff4, transparent 42%), linear-gradient(145deg, var(--tone,#a94442), #24171b); }
.placeholder .vinyl:after { background: #ff674f; }
.album-title { color: #fff1e9; }
.artist { color: #d2bfba; }
.format-label,.discogs-link { color: #ff8068; }
.icon-btn { background: #171214e8; border: 1px solid #ffffff24; }
.icon-btn:hover { background: #ff624e; color: #1a1112; }
.empty { color: #b4a29e; border-color: #543b40; background: #1a151780; }
.empty strong { color: #fff1e9; }
.format-chip { color: #c2adaa; background: #211a1d; border-color: #49383c; }
.format-chip.active { color: #fff7f0; background: linear-gradient(135deg,#ff7056,#c9283e); border-color: #ff7056; }
.detail-backdrop,.modal-backdrop { background: #080607d9; backdrop-filter: blur(8px); }
.detail-modal,.modal {
  color: var(--text); background: linear-gradient(145deg,#251e21,#171315);
  border-color: #563d42; box-shadow: 0 30px 100px #000b, 0 0 35px #b32f3820;
}
.detail-cover { background: #241c1f; box-shadow: 0 16px 35px #0008; }
.detail-artist { color: #dac5bf; }
.detail-meta { color: #c0afaa; }
.detail-tracklist { background: #171315; border-color: #49383c; }
.field label { color: #dfceca; }
.hint { color: #a18d89; }
.close { color: #d2bfba; }
.toast { color: #fff8f1; background: linear-gradient(135deg,#ff7056,#c9283e); box-shadow: 0 10px 32px #0008; }
.spotify-link { color: #55e68b; }
.spotify-link:hover { color: #9dffba; }
footer { color: #927e7b; border-color: #3b292d; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline: 3px solid #ff8068; outline-offset: 3px; }
::selection { color: #fff8f1; background: #bc293f; }
@media (hover: none) { .card-actions { opacity: 1; } }
@media (max-width: 780px) {
  .privacy { font-size: 11px; gap: 7px; }
  .hero { padding-top: 46px; }
  .hero:before { right: 0; top: 20px; width: 145px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .toolbar .search { flex-basis: 100%; }
}
@media (max-width: 500px) {
  .stats { gap: 8px; }
  .stat { padding: 12px 11px; }
  .stat strong { font-size: 21px; }
  .hero-actions .btn { padding-inline: 9px; font-size: 12px; }
  .card-actions { right: 6px; top: 6px; }
  .icon-btn { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
