/* Player dock + chant tile + team pick modal styles — theme-aware */

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

.league-dot {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    var(--c1) 0 33.33%,
    var(--c2) 33.33% 66.66%,
    var(--c3) 66.66% 100%
  );
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.league-dot--small {
  width: 24px;
  height: 24px;
}

.fc-player {
  --fc-player-accent: var(--fc-primary, #FF6FB1);
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--fc-player-accent);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -10px 44px rgba(0,0,0,.5);
  z-index: 50;
  font-family: var(--fc-font-body);
  color: var(--fc-black);
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: transform .24s ease, opacity .18s ease, visibility 0s linear 0s;
}
.fc-player.is-empty {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 16px));
  visibility: hidden;
  transition: transform .24s ease, opacity .18s ease, visibility 0s linear .24s;
}
body:has(.fc-player:not(.is-empty)) main { padding-bottom: 120px; }
body:has(.fc-player.fc-player--open) main { padding-bottom: 310px; }
body[data-theme="light"] .fc-player {
  background: var(--fc-player-accent);
  border-top: 1px solid rgba(0,0,0,.12);
}
.fc-player__row { display: flex; align-items: center; gap: 18px; padding: 13px 24px; }
.fc-player__lead { display: flex; align-items: center; gap: 16px; min-width: 0; flex-shrink: 0; }
.fc-player__transport { display: flex; align-items: center; gap: 6px; }
.fc-player__skip {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent;
  color: rgba(0,0,0,.72); cursor: pointer; display: grid; place-items: center;
  transition: background var(--fc-t-fast), color var(--fc-t-fast), transform var(--fc-t-instant) var(--fc-ease-sharp);
}
.fc-player__skip:hover { background: rgba(0,0,0,.09); color: var(--fc-black); }
.fc-player__skip:active { transform: scale(.9); }
.fc-player__play {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; flex-shrink: 0; background: var(--fc-black);
  color: var(--fc-white);
  transition: transform var(--fc-t-instant) var(--fc-ease-sharp), filter var(--fc-t-fast);
}
.fc-player__play svg[hidden] { display: none; }
.fc-player__play:hover { transform: scale(1.06); filter: brightness(1.05); }
.fc-player__play:active { transform: scale(0.95); }
.fc-player__np { display: flex; align-items: center; gap: 13px; min-width: 0; max-width: 200px; }
.fc-player__avatar {
  width: 44px; height: 44px; border-radius: 5px; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12); background: #17140F;
}
.fc-player__cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-player__cover[hidden],
.fc-player__mark[hidden] { display: none; }
.fc-player__mark { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.fc-player__mark span:nth-child(1) { background: var(--team-a, #1D428A); }
.fc-player__mark span:nth-child(2) { background: var(--team-b, #FFC72C); }
.fc-player__mark span:nth-child(3) { background: var(--team-c, #FFFFFF); }
.fc-player__mark span:nth-child(4) { background: var(--team-d, #FF6FB1); }
.fc-player__meta { min-width: 0; flex: 1 1 auto; }
.fc-player__title-row { display: flex; align-items: center; gap: 9px; min-width: 0; }
.fc-player__title {
  font-family: var(--fc-font-display); font-weight: 700; font-size: 17px; line-height: 1.1;
  min-width: 0; max-width: 100%; color: var(--fc-black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0;
}
.fc-player__eq { display: none; align-items: end; gap: 2px; width: 14px; height: 14px; flex-shrink: 0; color: var(--fc-black); }
.fc-player.is-playing .fc-player__eq { display: inline-flex; }
.fc-player__eq span { width: 3px; border-radius: 2px; background: currentColor; animation: fc-player-eq .72s ease-in-out infinite; }
.fc-player__eq span:nth-child(1) { height: 8px; animation-delay: -.2s; }
.fc-player__eq span:nth-child(2) { height: 13px; animation-delay: -.35s; }
.fc-player__eq span:nth-child(3) { height: 6px; animation-delay: -.05s; }
.fc-player__sub {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: 0.05em; margin-top: 3px;
  color: rgba(0,0,0,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase;
}
.fc-player__sub-team { color: rgba(0,0,0,.8); }
.fc-player__track { flex: 1 1 auto; min-width: 74px; display: flex; align-items: center; gap: 12px; }
.fc-player__time {
  font-family: var(--fc-font-mono); font-size: 11.5px; letter-spacing: .03em;
  color: rgba(0,0,0,.5); flex-shrink: 0; font-variant-numeric: tabular-nums;
}
.fc-player__time--tot { color: rgba(0,0,0,.38); }
.fc-player__bar { position: relative; flex: 1; height: 5px; border-radius: 3px; background: rgba(0,0,0,.14); cursor: pointer; }
.fc-player__bar::after { content: ''; position: absolute; inset: -8px 0; }
.fc-player__fill {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px;
  background: var(--fc-black); transition: width .2s linear;
}
.fc-player__playhead {
  position: absolute; top: 50%; width: 12px; height: 12px; transform: translate(-50%, -50%);
  border-radius: 50%; opacity: 0; background: var(--fc-black);
  transition: opacity .15s; box-shadow: 0 1px 5px rgba(0,0,0,.55);
}
.fc-player__bar:hover .fc-player__playhead { opacity: 1; }
.fc-player__spotify {
  min-height: 42px; display: flex; align-items: center; gap: 16px;
  padding: 4px 24px; background: #1DB954; color: #08210f;
}
.fc-player__spotify-eyebrow {
  font-family: var(--fc-font-mono); font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: #0b3d1e; text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.fc-player__spotify-album {
  min-width: 0; flex: 1 1 auto; font-size: 13px; font-weight: 600; color: #08210f;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fc-spotify-chip {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  background: #1DB954; color: #fff; text-decoration: none;
  font-family: var(--fc-font-body); font-weight: 600; font-size: 14px;
  padding: 10px 18px 10px 13px; border-radius: 999px; white-space: nowrap;
  transition: background var(--fc-t-fast), transform var(--fc-t-instant) var(--fc-ease-sharp);
}
.fc-spotify-chip__logo { width: 19px; height: 19px; }
.fc-spotify-chip:hover { background: #1ED760; color: #fff; transform: scale(1.03); }
.fc-spotify-chip:active { transform: scale(.98); }
.fc-spotify-chip:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.fc-spotify-chip--player { background: #08210f; color: #fff; padding: 8px 14px 8px 11px; }
.fc-spotify-chip--player:hover { background: #0b3d1e; color: #fff; }
.fc-spotify-playlist-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border-bottom: 1px solid #f3f1eb;
}
.fc-spotify-playlist-row:last-child { border-bottom: 0; }
.fc-spotify-playlist-row__title {
  font-family: var(--fc-font-display); font-size: 18px; line-height: 1.1;
}
.fc-player__utils { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.fc-icon-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent;
  color: rgba(0,0,0,.6); cursor: pointer; display: grid; place-items: center;
  font-family: var(--fc-font-mono); font-size: 16px;
  transition: background var(--fc-t-fast), color var(--fc-t-fast);
}
.fc-icon-btn:hover { background: rgba(0,0,0,.08); color: var(--fc-black); }
.fc-icon-btn.is-active { color: var(--fc-black); }
.fc-icon-btn[aria-disabled="true"] { cursor: default; opacity: .62; }
.fc-icon-btn[aria-disabled="true"]:hover { background: transparent; color: rgba(0,0,0,.6); }
.fc-icon-btn[data-fc-tooltip] { position: relative; }
.fc-icon-btn[data-fc-tooltip]::after {
  content: attr(data-fc-tooltip);
  position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 2;
  padding: 5px 7px; border-radius: 4px;
  background: #fff; color: #0E0C0A;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  font-family: var(--fc-font-mono); font-size: 10px; letter-spacing: .04em; line-height: 1; white-space: nowrap;
  opacity: 0; pointer-events: none; transform: translate(-50%, 4px); visibility: hidden;
  transition: opacity var(--fc-t-fast), transform var(--fc-t-fast), visibility 0s linear var(--fc-t-fast);
}
.fc-icon-btn[data-fc-tooltip]:hover::after,
.fc-icon-btn[data-fc-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s;
}
.fc-player__heart.is-liked { color: var(--fc-black); }
.fc-player__heart.is-liked svg { fill: currentColor; }

/* Drawer — downloads */
.fc-player__drawer {
  max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.fc-player--open .fc-player__drawer { max-height: 120px; }
.fc-player__drawer-inner { padding: 14px 32px 14px; }
.fc-player__drawer-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.fc-player__drawer-hd span:first-child { font-family: var(--fc-font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(0,0,0,.8); }
.fc-player__drawer-hd span:last-child { font-family: var(--fc-font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(0,0,0,.45); }
.fc-player__chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fc-dlchip {
  display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 6px;
  background: rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.06);
  color: var(--fc-black); text-decoration: none;
  transition: background .15s, border-color .15s, transform .12s;
}
.fc-dlchip:hover { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.14); }
.fc-dlchip[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.fc-dlchip[aria-disabled="true"]:hover { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.06); }
.fc-dlchip:active { transform: scale(.985); }
.fc-dlchip__ic {
  width: 26px; height: 26px; border-radius: 4px; display: grid; place-items: center;
  background: rgba(0,0,0,.06); color: var(--fc-volt);
}
.fc-dlchip__body { display: flex; flex-direction: column; min-width: 0; }
.fc-dlchip__kind { font-family: var(--fc-font-display); font-weight: 700; font-size: 13px; line-height: 1.1; color: var(--fc-black); }
.fc-dlchip__meta { font-family: var(--fc-font-mono); font-size: 10px; letter-spacing: .04em; color: rgba(0,0,0,.5); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-dlchip__badge {
  font-family: var(--fc-font-mono); font-weight: 800; font-size: 9px; letter-spacing: .1em;
  padding: 3px 6px; border-radius: 2px; background: var(--fc-volt); color: var(--fc-black);
}
.fc-dlchip__dl { color: rgba(0,0,0,.45); display: grid; place-items: center; }
.fc-dlchip:hover .fc-dlchip__dl { color: var(--fc-volt); }

.fc-player__drawer-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.7);
  padding: 6px 10px; border-radius: 999px; cursor: pointer;
  font-family: var(--fc-font-mono); font-size: 10px; letter-spacing: .1em; font-weight: 700;
}
.fc-player__drawer-toggle:hover { color: var(--fc-volt); border-color: var(--fc-volt); }

@media (max-width: 900px) {
  .fc-player__chips { grid-template-columns: repeat(2, 1fr); }
  .fc-player--open .fc-player__drawer { max-height: 220px; }
  body:has(.fc-player.fc-player--open) main { padding-bottom: 352px; }
}
@media (min-width: 1280px) { .fc-player__np { max-width: 280px; } }
@media (max-width: 680px) {
  body:has(.fc-player:not(.is-empty)) main { padding-bottom: 198px; }
  body:has(.fc-player.fc-player--open) main { padding-bottom: 418px; }
  .fc-player__row { flex-wrap: wrap; gap: 12px 16px; padding: 12px 16px 14px; }
  .fc-player__lead { flex: 1 1 0; gap: 8px; }
  .fc-player__transport { gap: 2px; }
  .fc-player__skip { width: 32px; height: 32px; }
  .fc-player__np { flex: 1 1 0; max-width: none; gap: 8px; }
  .fc-player__track { order: 3; flex-basis: 100%; min-width: 0; }
  .fc-player__spotify { gap: 10px; padding: 4px 16px; }
  .fc-player__spotify-eyebrow { display: none; }
  .fc-player__spotify .fc-spotify-chip { font-size: 13px; padding: 8px 12px 8px 10px; }
  .fc-player__spotify .fc-spotify-chip__logo { width: 17px; height: 17px; }
}

@keyframes fc-player-eq {
  0%, 100% { transform: scaleY(.55); }
  50% { transform: scaleY(1); }
}

/* Chant tile — theme-aware */
.chant-tile {
  display: grid; grid-template-columns: 32px 44px 1fr auto auto auto;
  align-items: center; gap: 14px;
  padding: 10px 18px; border-bottom: 1px solid var(--fc-rule);
  cursor: pointer; transition: background var(--fc-t-fast);
  color: var(--fc-ink);
}
.chant-tile:hover { background: var(--fc-tile-bg); }
.chant-tile.is-playing { background: color-mix(in srgb, var(--fc-primary, var(--fc-electric)) 12%, transparent); }
body[data-theme="light"] .chant-tile.is-playing { background: rgba(80,0,255,.06); }
.chant-tile__num { font-family: var(--fc-font-mono); font-size: 13px; color: var(--fc-ink-faint); text-align: right; }
.chant-tile__cover { width: 44px; height: 44px; overflow: hidden; border-radius: 4px; background: var(--fc-tile-bg); display: flex; align-items: center; justify-content: center; }
.chant-tile__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chant-tile__body { min-width: 0; }
.chant-tile__line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.chant-tile__title { font-family: var(--fc-font-display); font-weight: 700; font-size: 18px; color: var(--fc-ink); line-height: 1.15; letter-spacing: -0.005em; }
.chant-tile__teamlink { font-family: var(--fc-font-body); font-weight: 500; font-size: 13px; color: #F26B1F; text-decoration: underline; text-decoration-color: rgba(242,107,31,.45); text-underline-offset: 2px; }
.chant-tile__teamlink:hover { color: var(--fc-electric); text-decoration-color: var(--fc-electric); }
.chant-tile__sep { color: var(--fc-ink-faint); opacity: .5; font-size: 12px; }
.chant-tile__genre { font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fc-ink-mute); text-transform: uppercase; }
.chant-tile__blurb { margin-top: 4px; font-family: var(--fc-font-body); font-size: 12.5px; line-height: 1.35; color: var(--fc-ink-mute); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.chant-tile__subrow { margin-top: 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-width: 0; }
.chant-tile__subrow .chant-tile__blurb { margin-top: 0; flex: 1; min-width: 0; }
.chant-tile__players { font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fc-ink-faint); white-space: nowrap; flex-shrink: 0; }

/* Section accent override — bubblegum */
.fc-section-bubblegum {
  background: #FFF0F6;
  padding: 24px 24px 28px;
  border-radius: 8px;
  margin-left: -24px;
  margin-right: -24px;
}
body[data-theme="dark"] .fc-section-bubblegum { background: rgba(255,111,177,.08); }
.fc-section-bubblegum .fc-tile-bordered { background: transparent; border-color: rgba(0,0,0,.08); }
body[data-theme="dark"] .fc-section-bubblegum .fc-tile-bordered { border-color: rgba(255,255,255,.08); }
.fc-section-bubblegum .chant-tile__like:hover { color: var(--fc-bubblegum); background: color-mix(in srgb, var(--fc-bubblegum) 12%, transparent); }
.fc-section-bubblegum .chant-tile:hover { background: rgba(255,111,177,.10); }
.fc-section-bubblegum .chant-tile:hover .chant-tile__btn { background: var(--fc-bubblegum); color: var(--fc-black); border-color: var(--fc-bubblegum); }
.fc-section-bubblegum .chant-tile.is-playing { background: color-mix(in srgb, var(--fc-bubblegum) 18%, transparent); }
.fc-section-bubblegum .chant-tile.is-playing .chant-tile__btn { background: var(--fc-bubblegum); color: var(--fc-black); border-color: var(--fc-bubblegum); }

/* Section accent override — mint (Curated Staff Picks) */
.fc-section-mint {
  background: #E8F5EC;
  padding: 24px 24px 28px;
  border-radius: 8px;
  margin-left: -24px;
  margin-right: -24px;
}
body[data-theme="dark"] .fc-section-mint { background: rgba(29,158,117,.10); }
.fc-section-mint .fc-tile-bordered { background: transparent; border-color: rgba(0,0,0,.08); }
body[data-theme="dark"] .fc-section-mint .fc-tile-bordered { border-color: rgba(255,255,255,.08); }
.fc-section-mint .chant-tile__like:hover { color: var(--fc-success); background: color-mix(in srgb, var(--fc-success) 12%, transparent); }
.fc-section-mint .chant-tile:hover { background: rgba(29,158,117,.10); }
.fc-section-mint .chant-tile:hover .chant-tile__btn { background: var(--fc-success); color: var(--fc-white); border-color: var(--fc-success); }
.fc-section-mint .chant-tile.is-playing { background: color-mix(in srgb, var(--fc-success) 18%, transparent); }
.fc-section-mint .chant-tile.is-playing .chant-tile__btn { background: var(--fc-success); color: var(--fc-white); border-color: var(--fc-success); }

/* Section accent override — volt (Hall of Fame) */
.fc-section-volt {
  background: #FAFFC8;
  padding: 24px 24px 28px;
  border-radius: 8px;
  margin-left: -24px;
  margin-right: -24px;
}
body[data-theme="dark"] .fc-section-volt { background: rgba(230,255,26,.10); }
.fc-section-volt .fc-tile-bordered { background: transparent; border-color: rgba(0,0,0,.10); }
body[data-theme="dark"] .fc-section-volt .fc-tile-bordered { border-color: rgba(255,255,255,.10); }
.fc-section-volt .chant-tile__like:hover { color: var(--fc-black); background: rgba(230,255,26,.45); }
.fc-section-volt .chant-tile:hover { background: rgba(230,255,26,.30); }
.fc-section-volt .chant-tile:hover .chant-tile__btn { background: var(--fc-volt); color: var(--fc-black); border-color: var(--fc-black); }
.fc-section-volt .chant-tile.is-playing { background: rgba(230,255,26,.55); }
.fc-section-volt .chant-tile.is-playing .chant-tile__btn { background: var(--fc-volt); color: var(--fc-black); border-color: var(--fc-black); }
.chant-tile__plays { font-family: var(--fc-font-mono); font-size: 12px; color: var(--fc-ink-faint); }
.chant-tile__dur   { font-family: var(--fc-font-mono); font-size: 12px; color: var(--fc-ink-faint); min-width: 38px; text-align: right; }
.chant-tile__like { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--fc-ink-mute); cursor: pointer; display: flex; align-items: center; justify-content: center; center; transition: color var(--fc-t-fast), background var(--fc-t-fast); }
.chant-tile__like:hover { color: #F26B1F; background: rgba(242,107,31,.08); }
.chant-tile__btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--fc-ink);
  background: transparent;
  color: var(--fc-ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--fc-t-fast), color var(--fc-t-fast), border-color var(--fc-t-fast), transform var(--fc-t-instant);
}
.chant-tile:hover .chant-tile__btn { background: var(--fc-primary, var(--fc-electric)); color: var(--fc-white); }
.chant-tile.is-playing .chant-tile__btn { background: var(--fc-volt); color: var(--fc-black); }
.chant-tile__btn:active { transform: scale(.94); }

/* "Volt" eyebrow within chant tile meta — switch to electric on light */
body[data-theme="light"] .chant-tile__meta [data-volt],
body[data-theme="light"] .fc-volt-on-dark { color: var(--fc-electric) !important; }

/* Team pick modal */
.tpick-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 100; display: flex; align-items: center; justify-content: center; animation: fc-fade 250ms var(--fc-ease-sharp); }
.tpick { width: min(900px, calc(100% - 48px)); max-height: 80vh; background: var(--fc-graphite); display: flex; flex-direction: column; animation: fc-rise 250ms var(--fc-ease-sharp); color: var(--fc-white); }
.tpick__hd { padding: 32px 32px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.tpick__body { padding: 24px 32px; overflow-y: auto; }
.tpick__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.04); transition: background var(--fc-t-fast); }
.tpick__row:hover { background: color-mix(in srgb, var(--fc-primary, var(--fc-electric)) 14%, transparent); }
.tpick__row.selected { background: var(--fc-primary, var(--fc-electric)); }
.tpick__group { font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fc-volt); padding: 16px 14px 8px; }
.tpick__search { display: block; width: 100%; padding: 14px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: var(--fc-white); font-family: var(--fc-font-mono); font-size: 14px; letter-spacing: 0.04em; outline: none; transition: border-color var(--fc-t-fast); }
.tpick__search:focus { border-color: var(--fc-primary, var(--fc-electric)); }
.tpick__ft { padding: 16px 32px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; align-items: center; }

@keyframes fc-fade { from { opacity: 0; } }
@keyframes fc-rise { from { opacity: 0; transform: scale(.97); } }

/* Pill (team chip) — theme-aware */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: var(--fc-pill-bg); cursor: pointer;
  font-family: var(--fc-font-body); font-weight: 500; font-size: 14px; color: var(--fc-ink);
  transition: background var(--fc-t-fast), color var(--fc-t-fast);
  border: 0;
}
.pill:hover { background: var(--fc-pill-bg-hover); }
.pill.active { background: var(--fc-primary, var(--fc-electric)); color: var(--fc-white); }

/* Spotify-style playlist card */
.pl-card {
  aspect-ratio: 1; position: relative; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px; transition: transform var(--fc-t-fast); color: var(--fc-white);
}
.pl-card:hover { transform: translateY(-3px); }
.pl-card--sm { padding: 12px; }
.pl-card--sm .fc-mono { font-size: 9px !important; }
.pl-card--sm .fc-mono-xs { font-size: 9px !important; margin-bottom: 4px !important; }
.pl-card--sm img { height: 14px !important; }
.pl-card__bg-electric   { background: var(--fc-electric); }
.pl-card__bg-orange     { background: var(--fc-orange); }
.pl-card__bg-volt       { background: var(--fc-volt); color: var(--fc-black); }
/* FAN-581 (A11Y-M07): inherited .pl-card white text on bubblegum was
   2.57:1, fails AA 4.5:1 — ink reaches 8.16:1 (mirrors --volt above). */
.pl-card__bg-bubblegum  { background: var(--fc-bubblegum); color: var(--fc-black); }
.pl-card__bg-black      { background: var(--fc-black); }
.pl-card__bg-graphite   { background: var(--fc-graphite); }

/* Stat number */
.fc-stat-num {
  font-family: var(--fc-font-display);
  font-weight: 700;
  color: var(--fc-stat);
  line-height: 0.85;
  font-feature-settings: 'tnum' on;
}

/* Theme-aware section helpers used in JSX */
.fc-section-alt { background: var(--fc-surface-2); }
.fc-tile-bordered { background: var(--fc-tile-bg); border: 1px solid var(--fc-rule); }

/* Hot Right Now tile (ChantTile) — grid layout used inside .fc-tile-bordered */
.fc-tile {
  display: grid; grid-template-columns: 36px 72px 1fr auto;
  align-items: center; gap: 16px;
  padding: 14px 18px; border-bottom: 1px solid var(--fc-rule);
  cursor: pointer; transition: background var(--fc-t-fast);
  color: var(--fc-ink); background: transparent;
}
.fc-tile-bordered .fc-tile:last-child { border-bottom: 0; }
.fc-tile:hover { background: rgba(0,0,0,.025); }
.fc-tile__rank { font-family: var(--fc-font-mono); font-weight: 700; font-size: 14px; color: rgba(0,0,0,.42); font-variant-numeric: tabular-nums; }
.fc-tile__cover { width: 72px; height: 72px; overflow: hidden; border-radius: 4px; background: var(--fc-tile-bg); }
.fc-tile__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-tile__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fc-tile__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fc-tile__title { font-family: var(--fc-font-display); font-weight: 700; font-size: 17px; line-height: 1.15; color: var(--fc-ink); display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fc-tile__sub { font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: .04em; color: var(--fc-ink-mute); text-transform: uppercase; margin-top: 2px; }
.fc-tile__blurb { font-family: var(--fc-font-body); font-size: 13px; line-height: 1.4; color: var(--fc-ink-mute); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.fc-tile__rt { display: grid; grid-template-columns: auto auto auto auto; align-items: center; gap: 14px; }
/* FAN-581 (A11Y-M07): white icon on bubblegum was 2.57:1, fails even the
   3:1 icon floor — ink reaches 8.16:1. */
.fc-tile__play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--fc-bubblegum); color: var(--fc-black); cursor: pointer; display: grid; place-items: center; }
.fc-tile__play:hover { background: #000; color: #fff; transform: scale(1.06); }
.fc-tile__like { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: rgba(0,0,0,.4); cursor: pointer; display: grid; place-items: center; }
.fc-tile__like:hover { color: var(--fc-tile-like-accent, var(--fc-bubblegum)); background: color-mix(in srgb, var(--fc-tile-like-accent, var(--fc-bubblegum)) 12%, transparent); }
.fc-tile__like.is-liked { color: var(--fc-tile-like-accent, var(--fc-bubblegum)); }
.fc-tile__num { font-family: var(--fc-font-mono); font-size: 12px; color: var(--fc-ink-faint); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.fc-tile__plays { font-family: var(--fc-font-mono); font-size: 11px; color: var(--fc-ink-mute); letter-spacing: .03em; white-space: nowrap; min-width: 88px; text-align: right; }
.fc-eyebrow-volt { color: var(--fc-primary, var(--fc-volt)); }
body[data-theme="light"] .fc-eyebrow-volt { color: var(--fc-primary, var(--fc-electric)); }
.fc-text-mute { color: var(--fc-ink-mute); }
.fc-text-faint { color: var(--fc-ink-faint); }
.fc-rule-top { border-top: 1px solid var(--fc-rule); }

/* Shared songbook rows. */
.fc-chant-list {
  min-width: 0;
}

.fc-chant-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--fc-rule, #ececea);
  color: var(--fc-black, #000);
  background: transparent;
  transition: background var(--fc-t-fast);
  content-visibility: auto;
  contain-intrinsic-size: auto 73px;
}

.fc-chant-row:last-child {
  border-bottom: 0;
}

.fc-chant-row:hover {
  background: #faf9f5;
}

.fc-chant-row.is-playing {
  background: rgba(255, 111, 177, .1);
}

.fc-chant-row__rank {
  flex: 0 0 20px;
  width: 20px;
  color: rgba(0, 0, 0, .44);
  font-family: var(--fc-font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.fc-chant-row__cover {
  position: relative;
  display: block;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 6px;
  background: #ececea;
}

.fc-chant-row__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-chant-row__hq {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 2px 4px;
  border-radius: 3px;
  color: #000;
  background: rgba(255, 255, 255, .92);
  font-family: var(--fc-font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
}

.fc-chant-row__body {
  flex: 1 1 auto;
  min-width: 0;
}

.fc-chant-row__title {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--fc-black, #000);
  font-family: var(--fc-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: normal;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}

.fc-chant-row__title:hover {
  color: var(--fc-bubblegum);
}

.fc-chant-row__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-top: 5px;
  line-height: 1;
}

.fc-chant-row__team {
  min-width: 0;
  max-width: 150px;
  overflow: hidden;
  color: rgba(0, 0, 0, .58);
  font-size: 11px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-chant-row__team:hover {
  color: var(--fc-bubblegum);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fc-chant-row__genre {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 3px 7px;
  border-radius: 999px;
  color: #242424;
  background: #ececea;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-chant-row__likes,
.fc-chant-row__duration {
  flex: 0 0 auto;
  font-family: var(--fc-font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fc-chant-row__likes {
  color: #d60062;
}

.fc-chant-row__duration {
  color: rgba(0, 0, 0, .5);
}

.fc-chant-row__play {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  /* FAN-581 (A11Y-M07): white icon on bubblegum was 2.57:1, fails even the
     3:1 icon floor — ink reaches 8.16:1. */
  color: var(--fc-black);
  background: var(--fc-bubblegum);
  cursor: pointer;
  transition: background var(--fc-t-fast), transform var(--fc-t-instant);
}

.fc-chant-row__play:hover {
  color: #fff;
  background: #000;
  transform: scale(1.06);
}

/* FAN-590/604: the row button mirrors the player state — pause icon and
   the black "now playing" pill while its track is playing. */
.fc-chant-row__play.is-playing {
  background: #000;
  color: #fff;
}

.fc-chant-row__play svg[data-icon="pause"] {
  display: none;
}

.fc-chant-row__play.is-playing svg[data-icon="play"] {
  display: none;
}

.fc-chant-row__play.is-playing svg[data-icon="pause"] {
  display: block;
}

.fc-chant-row__lyrics {
  flex: 0 0 40px;
  color: rgba(0, 0, 0, .54);
  font-family: var(--fc-font-mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.fc-chant-row__lyrics:hover {
  color: var(--fc-bubblegum);
}

@media (hover: none) {
  .fc-chant-row__play {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .fc-chant-row {
    gap: 9px;
    padding: 10px 8px;
  }

  /* Compact phone row: fixed-width meta (likes/duration) wraps under the
     title instead of pushing the play control out of the viewport. */
  .fc-chant-row__meta {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .fc-chant-row__team {
    max-width: 90px;
  }
}

/* Shared editorial quote cards. */
.chant-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 34px;
}
.chant-quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid #ececea;
  border-radius: 8px;
  color: inherit;
  background: #fff;
}
.chant-quote-card__rank {
  position: absolute;
  top: 10px;
  right: 14px;
  color: rgba(255, 111, 177, .18);
  font-family: var(--fc-font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}
.chant-quote-card__team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: rgba(0, 0, 0, .58);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.chant-quote-card__team a {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chant-quote-card__stripes {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--c1, #000) 0 33%, var(--c2, #e6ff1a) 33% 66%, var(--c3, #ff6fb1) 66%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.chant-quote-card__title {
  position: relative;
  z-index: 1;
  color: #000;
  font-family: var(--fc-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.08;
  text-decoration: none;
}
.chant-quote-card__title:hover { color: var(--fc-bubblegum); }
.chant-quote-card__blurb {
  margin-top: 4px;
  padding: 12px 14px;
  border-left: 3px solid var(--fc-bubblegum);
  border-radius: 0 6px 6px 0;
  color: #000;
  background: #fff0f6;
  font-size: 13px;
  font-style: italic;
  line-height: 1.45;
}
.chant-quote-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #d8d6d0;
  color: rgba(0, 0, 0, .58);
  font-family: var(--fc-font-mono);
  font-size: 11px;
}
.chant-quote-card__play {
  display: grid;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  /* FAN-581 (A11Y-M07): white icon on bubblegum was 2.57:1, fails even the
     3:1 icon floor — ink reaches 8.16:1. */
  color: var(--fc-black);
  background: var(--fc-bubblegum);
  cursor: pointer;
}
.chant-quote-card__play:hover { background: #000; color: #fff; transform: scale(1.06); }

@media (max-width: 1000px) {
  .chant-quote-grid { grid-template-columns: 1fr; }
}

/* Logo plinth — when in light mode, wrap the logo in a black tile so the CHANTS knockout reads */
body[data-theme="light"] .fc-logo-plinth {
  background: var(--fc-black);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
}
.fc-logo-plinth { display: inline-flex; align-items: center; }

/* Header nav text + sign-in colour adapts */
body[data-theme="light"] .fc-nav a { color: var(--fc-black) !important; opacity: .8; }
body[data-theme="light"] .fc-nav a.fc-nav-cta { color: var(--fc-orange) !important; opacity: 1; }

/* Skip link — hidden until keyboard-focused (a11y, FAN-334) */
.fc-skip-link {
  position: absolute;
  /* left:-9999px overflows the scrollable side on RTL pages, inflating scrollWidth (FAN-573) */
  inset-inline-start: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 18px;
  background: var(--fc-black);
  color: var(--fc-white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.fc-skip-link:focus {
  inset-inline-start: 0;
}

/* Logged-out membership call to action. */
.fc-join-band {
  background: var(--fc-volt);
  color: var(--fc-black);
}
.fc-join-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 36px;
}
.fc-join-band__main {
  flex: 1 1 480px;
  min-width: 0;
}
.fc-join-band__title {
  margin: 0 0 16px;
  font-family: var(--fc-font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: .97;
}
.fc-join-band__benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fc-join-band__benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .08);
  padding: 9px 16px 9px 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}
.fc-join-band__check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--fc-black);
  color: var(--fc-volt);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.fc-join-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}
.fc-join-band__join,
.fc-join-band__login {
  color: var(--fc-black);
  font-family: var(--fc-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.fc-join-band__join {
  padding: 18px 32px;
  border-radius: 4px;
  font-size: 13px;
  background: var(--fc-black);
  color: var(--fc-volt);
}
.fc-join-band__join:hover { background: var(--fc-graphite); }
.fc-join-band__login {
  padding: 4px 2px;
  text-decoration: underline;
}
.fc-join-band__login:hover { opacity: .7; }
.fc-join-band__join:focus-visible,
.fc-join-band__login:focus-visible {
  outline: 2px solid var(--fc-black);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .fc-join-band__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 26px 24px;
  }
  .fc-join-band__main { flex-basis: auto; }
  .fc-join-band__actions {
    align-items: stretch;
    width: 100%;
  }
  .fc-join-band__join,
  .fc-join-band__login {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .fc-join-band__inner {
    padding: 22px 18px;
  }
  .fc-join-band__benefits {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .fc-join-band__benefits li {
    width: 100%;
    background: transparent;
    padding: 0;
    font-size: 15px;
    white-space: normal;
  }
}
