:root {
  --bg: #050506;
  --card: #0c0c0f;
  --gold: #d4af37;
  --gold-soft: #e0c05a;
  --gold-dim: rgba(212, 175, 55, 0.45);
  --text: #f4f4f5;
  --muted: #9a9aa3;
  --line: rgba(212, 175, 55, 0.22);
  --boom-bap: #e0a63a;
  --trap: #b07aee;
  --rnb: #4aa6f5;
  --drill: #f25b5b;
  --afrobeats: #1fc7b6;
  --max: 920px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
html, body { margin: 0; padding: 0; color: var(--text); }
body {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background: transparent;
  position: relative;
  isolation: isolate;
}
/* Mixing board backdrop (4syite Media hero-studio) with a dark overlay so type, buttons, the player and signup stay readable. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(5,5,6,0.80) 0%, rgba(5,5,6,0.72) 30%, rgba(5,5,6,0.76) 68%, rgba(5,5,6,0.90) 100%),
    url("/css/free-library-bg.jpg");
  background-image:
    linear-gradient(180deg, rgba(5,5,6,0.80) 0%, rgba(5,5,6,0.72) 30%, rgba(5,5,6,0.76) 68%, rgba(5,5,6,0.90) 100%),
    image-set(
      url("/css/free-library-bg.webp") type("image/webp"),
      url("/css/free-library-bg.jpg") type("image/jpeg")
    );
  background-position: center, center 42%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
@media (max-width: 720px) {
  body::before {
    background-image:
      linear-gradient(180deg, rgba(5,5,6,0.80) 0%, rgba(5,5,6,0.72) 30%, rgba(5,5,6,0.76) 68%, rgba(5,5,6,0.90) 100%),
      url("/css/free-library-bg-960.jpg");
    background-image:
      linear-gradient(180deg, rgba(5,5,6,0.80) 0%, rgba(5,5,6,0.72) 30%, rgba(5,5,6,0.76) 68%, rgba(5,5,6,0.90) 100%),
      image-set(
        url("/css/free-library-bg-960.webp") type("image/webp"),
        url("/css/free-library-bg-960.jpg") type("image/jpeg")
      );
  }
}
.kicker, h1, .tagline {
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}

.preview-banner {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  background: #111;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
}
.preview-banner strong { color: var(--gold-soft); }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.6rem 0 3.5rem;
}

.hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
  padding: 0.4rem 0 1.5rem;
}
.seal {
  width: 132px;
  height: 132px;
  display: block;
  object-fit: contain;
}
.hero-copy { min-width: 0; border-left: 1px solid var(--gold-dim); padding-left: 1.5rem; }
.kicker {
  margin: 0 0 0.15rem;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}
.tagline {
  margin: 0.45rem 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  color: #b8b8c0;
}
.phones {
  width: 92px;
  height: 92px;
  color: var(--gold);
  flex: none;
}

.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.35rem 0 1.15rem;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none;
  appearance: none;
  background: rgba(5,5,6,0.55);
  color: #eee;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 0.48rem 1.05rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.filter:hover { border-color: var(--gold-dim); color: #fff; }
.filter[aria-pressed="true"], .filter.is-on {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}

.list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.04), 0 18px 40px rgba(0,0,0,0.35);
}
.row {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 0.85rem 0.95rem;
  padding: 0.95rem 1.15rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
  background: transparent;
  color: inherit;
  text-align: left;
}
.row:first-child { border-top: 0; }
.row:hover { background: rgba(212,175,55,0.04); }

.play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.55);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex: none;
}
.play:hover, .row.is-playing .play {
  border-color: var(--gold);
  color: var(--gold);
}
.play svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.play svg path, .play svg rect { fill: currentColor; }
.play:not(.is-pause) svg { margin-left: 2px; }

.wave {
  width: 46px;
  height: 28px;
  color: #9a9aa3;
  display: block;
}
.row.is-playing .wave { color: var(--gold-soft); }

.meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
}
.title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b0b0c;
  background: var(--gold);
}
.pill[data-genre="Boom Bap"] { background: var(--boom-bap); }
.pill[data-genre="Trap"] { background: var(--trap); color: #fff; }
.pill[data-genre="R&B"] { background: var(--rnb); color: #fff; }
.pill[data-genre="Drill"] { background: var(--drill); color: #fff; }
.pill[data-genre="Afrobeats"] { background: var(--afrobeats); color: #111; }

.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  min-width: 0;
}
.bpm {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.download, .dl {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border-radius: 8px;
  text-decoration: none;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex: none;
}
.download:hover, .dl:hover { background: rgba(212,175,55,0.1); color: var(--gold-soft); }
.download svg, .dl svg { width: 22px; height: 22px; display: block; }

.empty, .status {
  padding: 1.6rem 1.2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.list + .empty {
  margin: 0.85rem 0 0;
  padding: 0.85rem 0.25rem;
}

.more {
  position: static;
  z-index: auto;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--gold-dim);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18,16,12,0.88), rgba(12,12,15,0.92));
}
.more-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
  flex: none;
}
.more-copy { flex: 1 1 14rem; min-width: 0; }
.more-copy h2, .more-copy p { overflow-wrap: break-word; }
.more-copy h2 {
  margin: 0 0 0.2rem;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.more-copy p {
  margin: 0;
  color: #cfcfd6;
  font-size: 0.95rem;
  line-height: 1.4;
}
.more-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.more-btn:hover { background: var(--gold); color: #111; }

.foot {
  margin-top: 1.6rem;
  text-align: center;
  color: #6e6e76;
  font-size: 0.78rem;
}
.foot a { color: #8a8a92; }

@media (max-width: 720px) {
  .hero {
    grid-template-columns: auto 1fr;
    gap: 0.85rem 1rem;
  }
  .phones { display: none; }
  .seal { width: 92px; height: 92px; }
  .hero-copy { padding-left: 1rem; }
  .row {
    grid-template-columns: auto 1fr auto auto;
    gap: 0.65rem 0.7rem;
  }
  .wave { display: none; }
  .title { font-size: 1rem; }
  .more {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1.75rem;
    gap: 0.85rem;
  }
  .more-copy { flex: 1 1 auto; width: 100%; }
  .more-btn { margin-left: 0; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 1.2rem); }
  .pill { min-width: 0; }
}

/* Registration gate */
.gate-overlay {
  z-index: 1200;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.gate-overlay[hidden] { display: none; }
.gate {
  width: min(500px, 100%);
  background: #0c0c0f;
  border: 1px solid var(--gold-dim);
  border-radius: 22px;
  padding: 1.45rem 1.4rem 1.25rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  position: relative;
  max-height: calc(100vh - 2.5rem);
  overflow-x: hidden;
  overflow-y: auto;
}
.gate h2 {
  margin: 0 1.8rem 0.55rem 0;
  color: #fff;
  font-size: clamp(1.02rem, 3.4vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-transform: uppercase;
}
.gate .lead {
  margin: 0 0 0.55rem;
  color: #cfcfd6;
  font-size: 0.95rem;
  line-height: 1.45;
}
.gate .lead + .lead { margin-bottom: 0.85rem; }
.gate label.email-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.gate input[type="email"] {
  width: 100%;
  background: #16161a;
  border: 1.5px solid rgba(212,175,55,0.35);
  border-radius: 12px;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  outline: none;
}
.gate input[type="email"]:focus { border-color: var(--gold); }
.hp {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}
.hp-label { display: none; }
.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 1rem 0 0.85rem;
  color: #e8e8ee;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
}
.consent input {
  margin-top: 0.2rem;
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--gold);
}
.gate .note, .gate .id-line {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.gate .id-line { margin-bottom: 0; }
.gate .id-line a { color: var(--gold-soft); }
.gate .optional {
  margin: 0 0 1rem;
  color: #9a9aa3;
  font-size: 0.8rem;
  line-height: 1.4;
}
.gate-submit {
  width: 100%;
  margin-top: 1rem;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  cursor: pointer;
}
.gate-submit:hover { background: var(--gold-soft); }
.gate-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.gate-submit:disabled.busy { cursor: wait; }
.gate-error {
  margin: 0.7rem 0 0;
  color: #f25b5b;
  font-size: 0.85rem;
}
.gate-error[hidden] { display: none; }
.gate-close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #cfcfd6;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}
.gate-close:hover { color: #fff; background: rgba(255,255,255,0.06); }

.email-label .req { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }

.scope-note {
  margin: 0 0 1.1rem;
  color: #b8b8c0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.scope-note a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.scope-note a:hover { color: var(--gold); }
.library-scope {
  padding: 0.15rem 0 0.15rem;
}

.refresh-note {
  margin: -0.35rem 0 0.85rem;
  color: var(--gold-soft);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 500;
}
@media (max-width: 720px) {
  .refresh-note { margin-top: 0; font-size: 0.84rem; }
}
.gate .scope-note {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.gate-submit { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.92rem; }


/* Now-playing bar (t434u) — same idea as the premium store bar, simpler library look */
.lib-player {
  position: fixed;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 40;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  padding: 0.55rem 0.7rem 0.4rem;
  background: #0c0c0f;
  border: 1px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.6);
}
.lib-player[hidden] { display: none; }
body.has-lib-player { padding-bottom: 7.75rem; }
.lp-text { flex: 1; min-width: 0; display: grid; gap: 0.1rem; }
.lp-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-genre {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lp-controls { display: flex; align-items: center; gap: 0.1rem; flex: none; margin-left: auto; }
.lp-btn {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.lp-btn:hover, .lp-btn:focus-visible { background: rgba(212,175,55,0.14); }
.lp-btn:focus-visible, .lp-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lp-btn:disabled { opacity: 0.35; cursor: default; background: transparent; }
.lp-btn svg { width: 20px; height: 20px; display: block; }
.lp-prev svg, .lp-next svg { fill: currentColor; }
.lp-repeat svg, .lp-shuffle svg { fill: none; }
.lp-repeat[data-mode="off"], .lp-shuffle[aria-pressed="false"] { color: rgba(255,255,255,0.45); }
.lp-repeat[data-mode="all"], .lp-repeat[data-mode="one"], .lp-shuffle[aria-pressed="true"] { color: var(--gold); }
.lp-repeat[data-mode="all"]::after, .lp-repeat[data-mode="one"]::after, .lp-shuffle[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
}
.lp-badge {
  display: none;
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 8px;
  background: var(--gold);
  color: #111;
  font: 800 10px/15px system-ui, sans-serif;
  text-align: center;
}
.lp-repeat[data-mode="one"] .lp-badge { display: block; }
.lp-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: #111;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.lp-toggle svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.lp-toggle:not(.is-on) svg { margin-left: 2px; }
.lp-seek { flex: 1 0 100%; display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.lp-cur, .lp-rem {
  flex: none;
  min-width: 2.9em;
  font: 600 0.74rem/1 Inter, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.lp-rem { text-align: right; color: rgba(255,255,255,0.7); }
.lp-range {
  --p: 0%;
  flex: 1;
  min-width: 0;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  touch-action: none;
}
.lp-range:disabled { cursor: default; opacity: 0.5; }
.lp-range::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold) var(--p), rgba(255,255,255,0.16) var(--p));
}
.lp-range::-moz-range-track { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.16); }
.lp-range::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--gold); }
.lp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #111;
  box-shadow: 0 0 0 1px var(--gold);
}
.lp-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid #111; }
.lp-range:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 420px) {
  .lib-player { gap: 0.35rem 0.45rem; padding: 0.45rem 0.5rem 0.3rem; }
  .lp-btn { width: 34px; height: 36px; }
  .lp-toggle { width: 38px; height: 38px; }
  .lp-controls { gap: 0; }
}
@media (max-width: 360px) {
  .lib-player { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; padding: 0.45rem 0.5rem 0.3rem; gap: 0.35rem 0.45rem; }
  .lp-btn { width: 34px; height: 36px; }
  .lp-toggle { width: 38px; height: 38px; }
  .lp-title { font-size: 0.9rem; }
}

/* Post-download premium note (t445u) — above the player, clear of back-to-top and gate */
.premium-nudge {
  position: fixed;
  left: 0.7rem;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: min(22rem, calc(100vw - 6.25rem));
  padding: 0.55rem 0.4rem 0.55rem 0.75rem;
  background: #050506;
  color: #f4f4f5;
  border: 1px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.55);
  font-size: 0.82rem;
  line-height: 1.4;
}
.premium-nudge[hidden] { display: none; }
.premium-nudge p { margin: 0; flex: 1; min-width: 0; }
.premium-nudge a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.premium-nudge a:hover, .premium-nudge a:focus-visible { color: var(--gold-soft); }
.premium-nudge a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.premium-nudge-close {
  flex: none;
  width: 32px;
  height: 32px;
  margin: -0.15rem -0.1rem 0 0;
  display: grid;
  place-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--gold);
  font: 600 1.25rem/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  padding: 0;
}
.premium-nudge-close:hover { color: var(--gold-soft); background: rgba(212,175,55,0.1); }
.premium-nudge-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .premium-nudge { transition: none; }
}

/* Rejoin confirmation (t610u) */
.gate-confirm { text-align: center; padding: 8px 0 4px; }
.gate-confirm h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(26px, 6vw, 34px); color: var(--gold); margin: 8px 0 10px; line-height: 1.15; }
.gate-confirm p { color: #f3f3f3; font-size: 17px; margin: 0 0 12px; }
.gate-confirm .gate-confirm-note { color: #b9b9b9; font-size: 14px; }
.gate-confirm .gate-submit { margin-top: 8px; }
.gate [hidden], .gate-confirm[hidden] { display: none !important; }

/* Free-library favourites */
.beat-fav,
.lp-fav {
  appearance: none;
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #f4e9c8;
  cursor: pointer;
}
.beat-fav svg,
.lp-fav svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linejoin: round;
  stroke-linecap: round;
  overflow: visible;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.85));
}
.beat-fav:hover,
.beat-fav:focus-visible,
.lp-fav:hover,
.lp-fav:focus-visible {
  background: rgba(212,175,55,0.16);
  color: #fff;
  outline: 2px solid var(--gold, #d4af37);
  outline-offset: 2px;
}
.beat-fav[aria-pressed="true"],
.lp-fav[aria-pressed="true"] {
  color: var(--gold, #d4af37);
}
.beat-fav[aria-pressed="true"] svg,
.lp-fav[aria-pressed="true"] svg {
  fill: var(--gold, #d4af37);
  stroke: var(--gold, #d4af37);
}
.rotated-note {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}
.fav-email {
  border: 1px solid var(--gold-dim);
  background: rgba(12,12,15,0.92);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.1rem;
  margin: 0 0 1.15rem;
}
.fav-email h3 { margin: 0 0 0.35rem; color: var(--gold); font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.25rem; }
.fav-email p { margin: 0 0 0.6rem; color: #cfc8b0; font-size: 0.92rem; }
.fav-email .btn-email {
  appearance: none;
  background: var(--gold);
  color: #111;
  border: 0;
  border-radius: 999px;
  font: 700 0.88rem/1 Inter, system-ui, sans-serif;
  padding: 0.7rem 1.1rem;
  min-height: 44px;
  cursor: pointer;
}
.fav-email .btn-email:disabled { opacity: .45; cursor: not-allowed; }
.fav-msg { min-height: 1.2em; color: var(--gold-soft); font-size: 0.88rem; }
.filter[data-filter="favs"] { padding-left: 0.9rem; }
