:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --card: #131317;
  --surface-2: #18181d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f1e8;
  --muted: #a9a59c;
  --dim: #74716a;
  --gold: #d7b46f;
  --gold-hi: #f2dca6;
  --gold-lo: #a67d38;
  --gold-grad: linear-gradient(135deg, #f4e0ab 0%, #d7b46f 42%, #a67d38 100%);
  --gold-soft: rgba(215, 180, 111, 0.12);
  --gold-dim: rgba(215, 180, 111, 0.45);
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --max: 920px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --player-h: 0px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
html { background: var(--bg); overflow: hidden; }
body {
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(1000px 480px at 50% -80px, rgba(215, 180, 111, 0.08), transparent 55%),
    var(--bg);
}
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--gold); color: #111; padding: 8px 12px; border-radius: 8px; font-weight: 700; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.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;
}

.shell {
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: calc(0.4rem + var(--player-h));
}
body.has-lib-player { --player-h: 7.75rem; }

.top {
  flex: none;
  padding: 0.75rem 0 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand img { border-radius: 50%; display: block; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word strong { letter-spacing: 0.12em; font-size: 0.92rem; }
.brand-word small { color: var(--gold); letter-spacing: 0.18em; font-size: 0.62rem; font-weight: 700; margin-top: 3px; }
.top-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}
.top-link:hover { background: var(--gold); color: #111; }

.hero { flex: none; padding: 0.85rem 0 0.7rem; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-grad); }
h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.35rem, 1.05rem + 1.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}
h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.lead { color: var(--muted); font-size: 1rem; max-width: 40em; margin: 0; }
.sub {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.55rem 0 0;
  letter-spacing: 0.01em;
}

.search-dock {
  flex: none;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  padding: 0.35rem 0 0.55rem;
  margin: 0 0 0.55rem;
}
#search {
  width: 100%;
  appearance: none;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  padding: 0.85rem 1.05rem;
  font: inherit;
  font-size: 1.02rem;
}
#search::placeholder { color: var(--dim); }
#search:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.search-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
}
.search-meta { color: var(--muted); font-size: 0.88rem; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-left: auto; }
.filter {
  appearance: none;
  background: rgba(8, 8, 10, 0.55);
  color: #eee;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.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);
}
.mode-toggle {
  display: inline-flex;
  gap: 2px;
  margin-top: 0.55rem;
  padding: 3px;
  border: 1.5px solid var(--gold-dim);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.55);
}
.mode-toggle .filter {
  border: 0;
  margin: 0;
  padding: 0.4rem 1.1rem;
}
body.mode-audio .stage { display: none; }
body.mode-audio .player-grid { grid-template-columns: 1fr; }
body.mode-audio .player-panel { max-height: none; }

.region-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 0.55rem;
  padding: 0.15rem 0 0.05rem;
}
.region-tabs::-webkit-scrollbar { display: none; }
.region-tabs .filter { flex: none; }

.outreach {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.55rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  background: var(--gold-soft);
  text-decoration: none;
  color: var(--text);
}
.outreach strong { color: var(--gold-hi); font-size: 0.98rem; }
.outreach span { color: var(--muted); font-size: 0.9rem; }
.outreach:hover { border-color: var(--gold); color: var(--text); }
.outreach-empty { margin-top: 0.5rem; }
.outreach-end { flex: none; }
.list .outreach-end {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--gold-dim);
  border-radius: 0 0 var(--radius) var(--radius);
}


.player-panel {
  flex: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
  margin: 0 0 0.6rem;
  max-height: 42vh;
  overflow: auto;
}
.player-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .player-grid { grid-template-columns: minmax(200px, 280px) 1fr; align-items: start; }
  .player-panel { max-height: 26vh; }
  .list-shell { min-height: 16rem; }
  body.has-player .hero .lead { display: none; }
  body.has-player .hero { padding: 0.35rem 0 0.45rem; }
  body.has-player h1 { font-size: 1.45rem; margin: 0 0 0.2rem; }
  body.has-lib-player .foot { display: none; }
}
.stage {
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  min-height: 120px;
  display: grid;
  place-items: center;
}
.yt-host, .stage iframe, .coming-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  border: 0;
  background: #000;
  display: block;
}
.yt-host iframe { width: 100%; height: 100%; border: 0; aspect-ratio: auto; max-height: none; }
.coming-stage {
  display: grid;
  place-items: center;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  background: radial-gradient(circle at 50% 40%, rgba(215,180,111,0.12), transparent 55%), #111;
}
.player-copy h2 { margin: 0 0 0.2rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.player-kicker {
  margin: 0 0 0.3rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.player-meta { color: var(--muted); margin: 0 0 0.8rem; font-size: 0.9rem; }
.signup-h { margin: 0 0 0.4rem; font-size: 1.05rem; }
.signup-lead, .coming-note { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.7rem; }
.toro-signup { margin: 0 0 0.8rem; }
.toro-signup .ml-form-embedContainer .ml-form-embedWrapper,
.toro-signup .ml-form-embedBody,
.toro-signup .ml-form-successBody,
.toro-signup .ml-form-align-center,
.toro-signup .ml-form-embedWrapper.embedForm {
  background: rgba(0,0,0,.55) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 12px !important;
}
.toro-signup .ml-form-embedBody *,
.toro-signup .ml-form-successBody * { color: #f2e9dc !important; }
.toro-signup .ml-form-embedContainer button.primary { color: #fff !important; }

.signup-details { margin: 0 0 0.7rem; }
.signup-details summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 700;
  list-style: none;
}
.signup-details summary::-webkit-details-marker { display: none; }
.signup-details summary::after { content: " ▾"; font-weight: 400; }
.signup-details[open] summary::after { content: " ▴"; }
.signup-h { display: none; } /* summary already says Get the full song free */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.05rem;
  line-height: 1.25;
}
.btn-primary {
  background: var(--gold-grad);
  color: #111;
  border: 0;
}
.btn-primary:hover { color: #111; filter: brightness(1.06); }

.list-shell {
  flex: 1 1 auto;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.list {
  flex: 1 1 auto;
  min-height: 0;
  background: var(--card);
  border: 1px solid rgba(215, 180, 111, 0.22);
  border-radius: var(--radius);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scroll-snap-type: y proximity;
  scrollbar-color: var(--gold-lo) transparent;
}
.row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  grid-template-areas: "team play share fav";
  gap: 0.15rem 0.2rem;
  align-items: center;
  padding: 0;
  padding-right: 0.35rem;
  border-top: 1px solid var(--line);
  background: transparent;
  scroll-snap-align: start;
}
.row:first-child { border-top: 0; }
.row:hover, .row.is-active { background: rgba(215, 180, 111, 0.07); }
.row-team {
  grid-area: team;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.85rem;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 0.75rem 0.15rem 0.75rem 1rem;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(215, 180, 111, 0.25);
  touch-action: manipulation;
}
/* Stretch the team-page link over the whole row; controls sit above it. */
.row-team::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.row-team:hover .row-name,
.row-team:focus-visible .row-name,
#player-title a:hover,
#player-title a:focus-visible,
.lp-title a:hover,
.lp-title a:focus-visible {
  color: var(--gold-hi);
  text-decoration: underline;
}
#player-title a,
.lp-title a,
.team-page-link {
  color: inherit;
  text-decoration: none;
}
#player-title a,
.lp-title a {
  display: inline-block;
  max-width: 100%;
  padding: 0.15rem 0;
  min-height: 1.4em;
  -webkit-tap-highlight-color: rgba(215, 180, 111, 0.25);
  touch-action: manipulation;
}
.lp-title a { display: block; }
.row-play,
.row-share,
.row-fav {
  position: relative;
  z-index: 2;
}
.row-share { grid-area: share; }
.row-fav { grid-area: fav; }
.row-play {
  grid-area: play;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0.45rem 0.35rem;
  min-height: 44px;
  justify-self: end;
  -webkit-tap-highlight-color: rgba(215, 180, 111, 0.25);
  touch-action: manipulation;
}
.thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px dashed var(--gold-dim);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .ini {
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold-hi);
  font-size: 0.95rem;
}
.thumb .slot {
  position: absolute;
  bottom: 3px;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}
.row-body { min-width: 0; }
.row-name { display: block; font-weight: 700; letter-spacing: -0.01em; }
.row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 3px;
}
.row-place { color: var(--muted); }
.league-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.05rem 0.42rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.row-action {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.row.is-soon .row-action { color: var(--dim); }
.row.is-soon { opacity: 0.82; }
.row.is-playing .row-action { color: var(--gold-hi); }

.empty { color: var(--muted); padding: 1.5rem 0.2rem; }
.foot {
  flex: none;
  color: var(--dim);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
  padding: 0.8rem 0.2rem 0.4rem;
  margin-top: 0.4rem;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--gold); }

.lib-player {
  position: fixed;
  left: 0.7rem;
  right: 0.7rem;
  bottom: max(0.7rem, env(safe-area-inset-bottom, 0px));
  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; }
.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(215,180,111,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 { fill: none; }
.lp-repeat[data-mode="off"] { color: rgba(255,255,255,0.45); }
.lp-repeat[data-mode="all"], .lp-repeat[data-mode="one"] { color: var(--gold); }
.lp-repeat[data-mode="all"]::after, .lp-repeat[data-mode="one"]::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 var(--font-sans);
  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; }

.row-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;
}
.row-fav svg,
.lp-fav svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linejoin: round;
  stroke-linecap: round;
  overflow: visible;
}
.row-fav:hover,
.row-fav:focus-visible,
.lp-fav:hover,
.lp-fav:focus-visible {
  background: rgba(215,180,111,0.16);
  color: #fff;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.row-fav[aria-pressed="true"],
.lp-fav[aria-pressed="true"] { color: var(--gold); }
.row-fav[aria-pressed="true"] svg,
.lp-fav[aria-pressed="true"] svg {
  fill: var(--gold);
  stroke: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold-dim);
}
.btn-outline:hover { background: var(--gold-soft); color: var(--gold-hi); border-color: var(--gold); }

.share-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.share-btn svg { display: block; }
.share-btn:hover, .share-btn:focus-visible {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-hi);
}

.sample-prompt {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
  padding: 0.8rem;
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  background: var(--gold-soft);
}
.sample-prompt .btn { width: 100%; }

.row-share {
  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;
}
.row-share svg {
  width: 18px;
  height: 18px;
  display: block;
  overflow: visible;
}
.row-share:hover,
.row-share:focus-visible,
.lp-share:hover,
.lp-share:focus-visible {
  background: rgba(215,180,111,0.16);
  color: #fff;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.lp-share svg { fill: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--player-h, 0px) + 1.15rem);
  transform: translateX(-50%) translateY(8px);
  z-index: 60;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 799px) {
  .shell { width: min(var(--max), calc(100% - 1rem)); }
  .top { padding: 0.55rem 0 0.2rem; }
  .top-link { font-size: 0.75rem; padding: 0.35rem 0.65rem; }
  .hero { padding: 0.35rem 0 0.45rem; }
  h1 { font-size: 1.22rem; margin: 0 0 0.25rem; }
  .lead { display: none; }
  .sub { margin: 0.25rem 0 0; font-size: 0.8rem; }
  .eyebrow { margin-bottom: 0.25rem; }
  body.has-player .hero .sub { display: none; }
  body.has-player .hero { padding: 0.15rem 0 0.25rem; }
  body.has-player h1 { font-size: 1.05rem; margin: 0; }
  body.has-player .eyebrow { display: none; }
  .search-dock { padding: 0.2rem 0 0.45rem; margin-bottom: 0.4rem; }
  #search { padding: 0.7rem 0.9rem; font-size: 1rem; }
  .player-panel { padding: 0.55rem; margin-bottom: 0.4rem; max-height: 38vh; }
  .yt-host, .coming-stage { max-height: 132px; }
  body.has-lib-player .foot { display: none; }
  .list-shell { min-height: 28vh; }
  .player-copy h2 { font-size: 1.05rem; }
  .btn { width: 100%; padding: 0.65rem 0.85rem; font-size: 0.84rem; text-wrap: balance; }
  #custom-btn { display: none; } /* header already has Request a custom anthem; prompt shows it when the sample ends */
  .share-btn { margin-bottom: 0.45rem; }
  .player-panel { max-height: none; }
  .row {
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "team share fav"
      "play share fav";
  }
  .row-team { grid-template-columns: 44px 1fr; gap: 0.55rem; padding: 0.6rem 0.1rem 0.25rem 0.7rem; }
  .thumb { width: 44px; height: 44px; border-radius: 10px; }
  .row-play, .row-action { justify-self: start; font-size: 0.68rem; margin-left: calc(44px + 0.55rem); padding: 0.15rem 0.35rem 0.55rem; }
  .row-share, .row-fav { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
  .lib-player { left: 0.5rem; right: 0.5rem; bottom: max(0.5rem, env(safe-area-inset-bottom, 0px)); padding: 0.45rem 0.5rem 0.3rem; }
  .lp-btn { width: 34px; height: 36px; }
  .lp-toggle { width: 38px; height: 38px; }
  .foot { font-size: 0.75rem; }
}
@media (max-width: 420px) {
  .lp-controls { gap: 0; }
}

/* Dedicated unlisted team pages (team.html). Not listed in the site menu. */
.team-page .shell { padding-bottom: 2.5rem; }
.team-missing { color: var(--muted); padding: 1.5rem 0; }
.team-missing a { color: var(--gold); }
.team-hero {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.1rem;
  align-items: center;
  margin: 0.4rem 0 1.1rem;
}
.team-logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  border: 1px dashed var(--gold-dim);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.team-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-logo .ini {
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold-hi);
  font-size: 1.7rem;
}
.team-logo .slot {
  position: absolute;
  bottom: 6px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}
.team-hero-copy h1 { margin: 0.15rem 0 0.35rem; }
.team-player { margin-bottom: 1.4rem; }
.team-page .yt-host,
.team-page .coming-stage { max-height: none; aspect-ratio: 16 / 9; }
.team-page .yt-host iframe { width: 100%; height: 100%; border: 0; display: block; }
.team-videos { margin: 0.4rem 0 1.5rem; }
.team-videos-h { font-size: 1.15rem; margin: 0 0 0.35rem; }
.team-videos-lead { color: var(--muted); margin: 0 0 0.9rem; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}
.video-card {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  border: 1px solid rgba(215, 180, 111, 0.22);
  border-radius: 14px;
  background: var(--card);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.video-card:hover, .video-card.is-active {
  border-color: var(--gold);
  background: rgba(215, 180, 111, 0.07);
}
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: #111; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  color: var(--gold-hi);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.video-body { display: grid; gap: 0.15rem; padding: 0 0.7rem 0.7rem; }
.video-kind {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.video-title { font-weight: 700; letter-spacing: -0.01em; }
.team-page .foot a { color: var(--gold); }
@media (max-width: 700px) {
  .team-hero { grid-template-columns: 72px 1fr; gap: 0.8rem; }
  .team-logo { width: 72px; height: 72px; border-radius: 16px; }
  .team-logo .ini { font-size: 1.25rem; }
}

/* club logos: contain-fit on a matching tile, gold ring, never cropped or stretched */
.thumb.has-img { border: 1px solid rgba(215,180,111,.7); background: #cacdcf; }
.thumb.has-img picture { display: contents; }
.thumb.has-img img { object-fit: contain; padding: 3px; }
