
/* v4.3.12: standard page wrapper */
.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}
@media (max-width: 700px){
  .wrap{ padding: 0 16px; }
}

:root{
  --bg:#0b0f14;
  --panel:#101720;
  --panel2:#0f141c;
  --fg:#e9eef5;
  --muted:#a2acb6;
  --line:#1b2633;
  --accent:#6aa6ff;
  --good:#4bd37b;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--fg);
}

header{
  padding:26px 20px 18px;
  background:linear-gradient(135deg,#0f1a28,#0b0f14);
  border-bottom:1px solid var(--line);
}

h1{margin:0;font-size:22px;letter-spacing:.2px}
.sub{color:var(--muted);margin-top:6px;font-size:14px}

.container{padding:16px 20px;max-width:1300px;margin:0 auto}

/* Shared band filter pills (Shows / Songs / Bands) */
.navPills{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 0 0}
.navPills .pill{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 16px;border-radius:999px;
  border:1px solid rgba(163,134,255,0.55);
  background:rgba(109,68,208,0.18);
  color:#EAE6FF;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  transition:background .15s ease;
  cursor:pointer;
  white-space:nowrap;
}
.navPills .pill:hover{background:rgba(109,68,208,0.28)}
.navPills .pill.active{background:rgba(109,68,208,0.34);border-color:rgba(163,134,255,0.75)}

/* Collapsible timeline on Bands page */
.timelineToggle{cursor:pointer;user-select:none}
.timelineClickHint{opacity:.7;font-weight:600;font-size:12px;margin-left:8px}
.timelineCard.timelineCollapsed .timelineScroll{display:none}

.controls{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;
  margin:12px 0 6px;
}

select,input[type="search"]{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel);
  color:var(--fg);
  outline:none;
}

select:focus,input[type="search"]:focus{
  border-color:#2b4060;
  box-shadow:0 0 0 3px rgba(106,166,255,.15);
}

.toggle{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--panel2);
  cursor:pointer;
  user-select:none;
  color:var(--fg);
}

.toggle input{accent-color:var(--accent)}

hr.sep{border:none;border-top:1px solid var(--line);margin:16px 0}

table{border-collapse:collapse;width:100%;max-width:1200px}
th,td{padding:10px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}
th{
  text-align:left;
  position:sticky;
  top:0;
  background:rgba(16,23,32,.95);
  backdrop-filter: blur(6px);
  border-bottom:1px solid #243244;
  z-index:2;
}
tr:hover td{background:rgba(255,255,255,.03)}

a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

.no-audio{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:var(--muted);
  font-style:italic;
  font-size:12px;
  border:1px solid rgba(255,255,255,.08);
}

.thumb{
  width:56px;height:56px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:12px;
  margin-top:14px;
  max-width:1200px;
}
.card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background:var(--panel);
  box-shadow:0 6px 20px rgba(0,0,0,.25);
}
.showThumbWrap{display:flex;justify-content:center;margin:0 0 10px;}
.showThumb{width:140px;max-width:100%;height:90px;object-fit:cover;border-radius:14px;border:1px solid var(--line);box-shadow:0 10px 30px rgba(0,0,0,.35);background:rgba(255,255,255,.06);}
.yearDivider{margin:18px 0 10px;font-size:18px;font-weight:900;letter-spacing:.04em;}
.card h2{font-size:14px;margin:0 0 6px 0}
.card .meta{color:var(--muted);font-size:12px;margin-bottom:10px}
.cardrow{display:flex;gap:10px;align-items:flex-start}

.section-title{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
  margin:18px 0 10px;
}

.footer{
  padding:18px 20px;
  color:var(--muted);
  font-size:12px;
  border-top:1px solid var(--line);
}

.badge{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(106,166,255,.14);
  color:var(--fg);
  font-size:12px;
  border:1px solid rgba(106,166,255,.22);
  margin-left:8px;
}

#top-heatmaps .hm{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background:var(--panel);
  overflow:auto;
}
#top-frequencies .freqbox{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background:var(--panel);
}

.freqgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;max-width:1200px}
.freqgrid ol{margin:8px 0 0 18px;color:var(--fg)}
.freqgrid li{margin:4px 0;color:var(--fg)}
.freqgrid .muted{color:var(--muted);font-size:12px}

#lightbox{
  position:fixed;inset:0;
  /* Only a *slight* dim behind the poster (keep image bright). */
  background:rgba(0,0,0,.08);
  display:none;
  align-items:center;justify-content:center;
  padding:20px;
  z-index:9999;
}
#lightbox.open{display:flex}
#lightbox img{
  /* Let the poster render much larger (up to nearly full viewport). */
  max-width:96vw;
  max-height:96vh;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:var(--panel);
  box-shadow:0 18px 60px rgba(0,0,0,.55);
}

/* Version stamp */
.ver{font-size:12px; font-weight:700; opacity:0.75; margin-left:6px;}


/* --- Archived show cards + upcoming rows --- */
.show-row{padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.08)}
.show-row__date{font-weight:700}
.show-row__band{margin-top:2px}
.show-row__venue{opacity:.85}

.show-thumb-wrap{display:flex;justify-content:center;margin-bottom:10px}
.show-thumb{
  width:120px;
  height:180px;
  object-fit:contain;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
.show-thumb-wrap--empty{height:10px}

.show-card__band{font-size:1.05rem;font-weight:800;margin-bottom:6px;text-align:center}
.show-card__venue{text-align:center;opacity:.9;margin-bottom:6px}
.show-card__date{text-align:center;opacity:.7;font-size:.9rem;margin-bottom:10px}

.show-card__actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:10px}
.pill-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;border:1px solid rgba(167,139,250,0.55);background:rgba(88,28,135,0.25);color:#fff;text-decoration:none;font-weight:700;font-size:.9rem}
.pill-btn:hover{background:rgba(88,28,135,0.4)}

.show-personnel{margin-top:6px}
.show-personnel__label{font-size:.8rem;opacity:.7;margin-bottom:4px;text-transform:uppercase;letter-spacing:.08em}
.show-personnel__text{font-size:.92rem;opacity:.9}

/* Archived Shows (two-up cards on desktop) */
.archivedGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
  margin-top:14px;
  max-width:1200px;
}
@media (max-width:700px){
   .archivedGrid{ grid-template-columns: 1fr; }
}

/* Year separator inside archived grid should span full width */
.yearDivider{
  grid-column:1 / -1;
  font-weight:800;
  font-size:18px;
  letter-spacing:0.02em;
  margin:18px 0 6px;
}


/* Archived show card layout (poster left, details right) */
.archivedGrid .card.show-card{ display:flex; gap:14px; align-items:flex-start; }
.archivedGrid .card.show-card .card-media{ flex:0 0 96px; width:96px; height:144px; display:flex; align-items:center; justify-content:center; border-radius:12px; overflow:hidden; background:rgba(255,255,255,0.04); }
.archivedGrid .card.show-card .card-thumb{ width:100%; height:100%; object-fit:contain; display:block; }
.archivedGrid .card.show-card .card-body{ flex:1; min-width:0; text-align:left; }
.archivedGrid .card.show-card .show-band{ font-weight:800; font-size:16px; line-height:1.15; }
.archivedGrid .card.show-card .show-card__date{ margin-bottom:2px; }
.archivedGrid .card.show-card .show-venue{ opacity:0.92; }
.archivedGrid .card.show-card .show-actions{ margin-top:8px; }


/* v4.3.12 Archived shows: 2-column cards + left poster layout (ArtworkURL only) */
.archivedGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}
@media (max-width: 900px){
  .archivedGrid{ grid-template-columns:1fr; }
}

.show-card--archived .show-card__row{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.show-card--archived .card-media--poster{
  flex:0 0 96px;
  width:96px;
  height:128px;
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
}

.show-card--archived .card-media--poster.card-media--empty{
  background:rgba(255,255,255,0.02);
}

.show-card--archived .card-thumb--poster{
  width:100%;
  height:100%;
  object-fit:contain; /* do NOT crop posters */
  display:block;
}

.show-card--archived .show-card__row{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.show-card--archived .show-card__body{
  flex:1 1 auto;
  min-width:0;
}

.show-card--archived .show-card__date{
  font-size:0.95rem;
  opacity:0.95;
  margin-bottom:2px;
}

.show-card--archived .show-card__band{
  font-weight:700;
  font-size:1.05rem;
  line-height:1.2;
  margin-bottom:2px;
}

.show-card--archived .show-card__venue{
  opacity:0.9;
  margin-bottom:10px;
}

.show-card--archived .card-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-start;
  margin-bottom:10px;
}


/* ===== Archived Shows: 2-wide cards + constrained images (v4.3.12) ===== */

/* Archived Shows grid container */
#shows-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

@media (max-width: 980px) {
  #shows-container {
    grid-template-columns: 1fr;
  }
}

/* Archived show card */
.showCard {
  border-radius: 16px;
  overflow: hidden;
}

/* Thumb wrapper already used by archived cards */
.showCard .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  margin-bottom: 12px;
}

/* Constrain the poster/artwork image */
.showCard .thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* change to contain if you prefer no cropping */
  object-position: center;
}

/* If placeholder has no image, keep it sized */
.showCard .thumb.placeholder {
  min-height: 140px;
}


/* ===== Archived Shows grid override (v4.3.12) ===== */
/* Some builds accidentally forced 1-column; this block enforces 2-column on desktop. */
#shows-container{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:16px !important;
  align-items:start !important;
}
@media (max-width: 980px){
  #shows-container{
    grid-template-columns:1fr !important;
  }
}

/* Constrain hero/banner & poster thumbnails inside archived cards */
.showCard .thumb{
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  border-radius:14px;
  background: rgba(255,255,255,0.04);
  margin-bottom:12px;
}
.showCard .thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}


/* ===== Archived Shows card polish (v4.3.12) ===== */
.archivedGrid{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  gap:16px !important;
  max-width:1200px;
  margin: 14px auto 0 auto;
  padding: 0 6px;
}
@media (max-width: 980px){
  .archivedGrid{
    grid-template-columns:1fr !important;
  }
}

.showCard{
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
}

.showCard .thumb{
  width:100%;
  height: 220px;           /* hard cap to stop giant banners */
  max-height: 220px;
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,0.04);
  margin-bottom: 12px;
}

.showCard .thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  object-position: center;
}

.showCard .meta .personnel{
  margin-top: 8px;
  opacity: 0.95;
  line-height: 1.35;
}


/* Bands page thumb sizing */
.band-card .thumb{ width:96px; height:144px; border-radius:12px; overflow:hidden; background:rgba(255,255,255,0.04); }


/* Upcoming shows one-line list + month separators */
.upMonthHeader{
  margin: 18px 0 10px;
  font-weight: 700;
  letter-spacing: .08em;
  opacity: .9;
}

.upRow{
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.upLine{
  /* Desktop/tablet: behave like a 4-column row so band names have room */
  display: grid;
  grid-template-columns: 140px minmax(0, 2.8fr) minmax(0, 1.0fr) 160px;
  column-gap: 10px;
  align-items: baseline;
}

.upDate{
  grid-column: 1;
  white-space: nowrap;
}

.upBand{
  grid-column: 2;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upVenue{
  grid-column: 3;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right; /* slide venue closer to city */
}

.upCity{
  grid-column: 4;
  white-space: nowrap;
  text-align: right;
}

/* Small screens: go back to wrapped flex layout */
@media (max-width: 760px){
  .upLine{
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
  }
  .upVenue{ text-align: left; }
  .upCity{ text-align: left; }
}


.upDot{
  opacity: .6;
}

.upDate{
  font-weight: 650;
  white-space: nowrap;
}


/* Upcoming Shows stable list layout */
.upcoming-list .month-sep{
  margin:18px 0 8px;
  font-weight:800;
  letter-spacing:0.08em;
  opacity:0.9;
}
.upcoming-list .show-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
  flex-wrap:wrap;
}
.upcoming-list .show-row .show-cell{
  min-width: 160px;
}
.upcoming-list .show-row .show-date{min-width: 190px;}
.upcoming-list .show-row .show-band{min-width: 320px;}
.upcoming-list .show-row .show-venue{min-width: 220px;}
.upcoming-list .show-row .show-loc{min-width: 180px;}
@media (max-width: 720px){
  .upcoming-list .show-row{gap:8px;}
  .upcoming-list .show-row .show-band{min-width: 240px;}
}

/* Bands Timeline (bands.html) */
.timelineHost svg { display: block; width: 100%; height: auto; }
.timelineGridBg { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.timelineYearTick { stroke: rgba(255,255,255,0.12); stroke-width: 1; }
.timelineYearLabel { fill: rgba(255,255,255,0.70); font-size: 12px; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
.timelineBandLabel { fill: rgba(255,255,255,0.85); font-size: 12px; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
.timelineBar { fill: rgba(141,92,246,0.35); stroke: rgba(141,92,246,0.90); stroke-width: 1; }
.timelineHost a:hover .timelineBar { fill: rgba(141,92,246,0.50); }

/* Compatibility aliases (older loader class names) */
.tlGridBg { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.tlYearTick { stroke: rgba(255,255,255,0.12); stroke-width: 1; }
.tlTickLabel { fill: rgba(255,255,255,0.55); font-size: 11px; }
.tlTickLabelLabel { fill: rgba(255,255,255,0.55); font-size: 11px; }
.tlRowLabel { fill: rgba(255,255,255,0.78); font-size: 12px; }
.tlBar { fill: rgba(141,92,246,0.35); stroke: rgba(141,92,246,0.90); stroke-width: 1; }

/* =============================
   Songs page: compact list rows
   ============================= */

.songs-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.song-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.song-row:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.12);
}

.song-row .song-left{
  min-width:0;
  flex:1;
}

.song-row .song-title{
  font-weight:700;
  font-size:1.05rem;
  line-height:1.2;
  margin-bottom:4px;
}

.song-row .song-sub{
  font-size:.92rem;
  opacity:.85;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.song-row .song-sub .dot{
  opacity:.6;
}

.song-row .song-right{
  flex:0 0 auto;
  text-align:right;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.song-row .plays{
  font-weight:800;
  font-size:1.05rem;
}

.song-row .dates{
  font-size:.86rem;
  opacity:.75;
  white-space:nowrap;
}

.song-row .actions{
  margin-top:2px;
}

.song-row .actions .link{
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}

@media (max-width: 720px){
  .song-row{
    flex-direction:column;
    align-items:stretch;
  }
  .song-row .song-right{
    text-align:left;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }
  .song-row .dates{
    white-space:normal;
  }
}


/* Archived Shows – personnel layout safety (no truncation) */
.archivedGrid .personnel{
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
}
.archivedGrid .personnel .names{
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.archivedGrid .card.show-card{
  min-height: 220px;
}




/* --- Archived Shows: keep date/band/venue on one line; buttons under meta; personnel at bottom --- */
.showCard--archived .metaLine1,
.showCard--archived .metaLine2,
.showCard--archived .meta h3 {
  white-space: nowrap;
}

.showCard--archived .meta h3 {
  font-size: 1.02rem;
}

.showCard--archived .metaLine1,
.showCard--archived .metaLine2 {
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   Shared page header typography (keep consistent across pages)
   ------------------------------------------------------------ */
.page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:10px 0 10px;
}

.page-title{
  font-size:28px !important;
  line-height:1.15 !important;
  margin:0 !important;
  font-weight:900 !important;
  letter-spacing:.14em !important;
  text-transform:uppercase !important;
}

.page-subtitle{
  margin:4px 0 0;
  font-size:14px;
  color:rgba(255,255,255,.72);
}

/* ======================
   B. TAYLOR ARTIST MANAGEMENT
   ====================== */

/* Intro with logo + wrapped text */
.artist-management-intro {
  position: relative;
}

.btam-logo {
  float: left;
  max-width: 180px; /* slightly larger to prevent orphan line */
  width: 100%;
  height: auto;
  margin: 0 1.25rem 0.5rem 0; /* tighten bottom margin */
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0,0,0,.38);
}

.artist-management-intro::after {
  content: "";
  display: table;
  clear: both;
}

/* Band image galleries */


.artist-roster-heading {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.band-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem 0;
}

.band-photo {
  margin: 0;
}

.band-photo img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 36px rgba(0,0,0,.38);
}

.band-photo figcaption {
  display: none;
}

.band-photo figcaption strong {
  color: rgba(255,255,255,.92);
}

/* Mobile */
@media (max-width: 520px) {
  .btam-logo {
    float: none;
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 140px;
  }
}

/* Musicians page: Top 10 formatting */
.top10-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.top10-col{display:flex;flex-direction:column;gap:10px;}
.top10-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.07);}
.top10-rankname{display:flex;gap:10px;min-width:0;}
.top10-rank{opacity:.7;width:1.6rem;text-align:right;}
.top10-name{font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.top10-shows{opacity:.9;font-weight:650;white-space:nowrap;}

/* New: Top 10 mini-cards (preferred UI) */
.top10-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.top10-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.03);}
.top10-card-left{display:flex;align-items:center;gap:12px;min-width:0;}
.top10-rank-badge{min-width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(138, 92, 246, .18);border:1px solid rgba(138, 92, 246, .35);font-weight:750;}
.top10-card-name{font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.top10-card-shows{opacity:.9;font-weight:750;white-space:nowrap;}

@media (max-width: 720px){
  .top10-grid{grid-template-columns:1fr;}
  .top10-cards{grid-template-columns:1fr;}
}


/* ===== Band page: mini show cards + hero image constraints ===== */
.bandHero .heroImgWrap{
  width:360px;
  max-width:min(420px, 40vw);
  height:240px;
}
.bandHero .heroImg{
  width:100%;
  height:100%;
  object-fit:contain;
}

.showCardMini{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.showCardMini .cardPoster{
  width:110px;
  height:170px;
  border-radius:10px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
}
.showCardMini .cardPoster img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.showCardMini .cardMeta{
  min-width:0;
}

/* =========================
   Band page: mini show cards
   Ensures posters don't blow out layout (11x17 portrait, no cropping).
   ========================= */
.miniShowCard{
  display:flex;
  gap:16px;
  align-items:flex-start;

  /* v2.1 Band miniShowCard polish */
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.28);
  transition: border-color .15s ease, background-color .15s ease;
}
.miniShowCard:hover{
  border-color: rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.32);
}

.miniShowThumb{
  width:240px;
  height:370px; /* ~11x17 ratio */
  border-radius:16px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  overflow:hidden;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}

.miniShowThumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}



/* Band page bottom sections */
#collabs .mini-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:6px 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
#collabs .mini-row:last-child{ border-bottom:none; }
#collabs .mini-name{ font-size:14px; }
#collabs .mini-num{ font-size:14px; opacity:0.85; }

/* Recent History: horizontal scroller of mini show cards */
#recent{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:6px;
  scroll-snap-type:x proximity;
}
#recent .miniShow{
  flex:0 0 360px;
  scroll-snap-align:start;
}
#recent::-webkit-scrollbar{
  height:8px;
}
#recent::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,0.18);
  border-radius:999px;
}

.songs-year-table-wrap{
  width:100%;
  overflow:auto;
}
.songs-year-table{
  width:100%;
  border-collapse:collapse;
  min-width:520px;
}
.songs-year-table th,
.songs-year-table td{
  padding:8px 10px;
  border-bottom:1px solid rgba(255,255,255,0.06);
  text-align:right;
  white-space:nowrap;
}
.songs-year-table th:first-child,
.songs-year-table td:first-child{
  text-align:left;
  position:sticky;
  left:0;
  background:rgba(10,12,18,0.92);
}
.songs-year-table th{
  font-size:12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  opacity:0.8;
}
.songs-year-table td.song-name{
  font-size:14px;
}

.show-time{margin-left:.35rem;opacity:.85;font-size:.9em}


/* v2.1 Stability Sweep: unify card language (no glow/shadow) */
.card,
.statCard,
.panel,
.miniShowCard,
.press-item,
.insightCard{
  box-shadow:none !important;
  text-shadow:none !important;
  filter:none !important;
}


/* Sprint B.2: Transitions scope pills */
.pill-btn.active{background:rgba(109,68,208,0.34);border-color:rgba(163,134,255,0.75)}

/* Songs: transitions scope toggle */
.transToggle{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.transToggle .pill-btn{padding:6px 10px;font-size:12px;line-height:1;}
.pill-btn.disabled,
.pill-btn:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.85);}
.pill-btn:disabled:hover{background:rgba(88,28,135,0.25)}
.insightTitleRow{display:flex;align-items:center;justify-content:space-between;gap:12px}
.transitionArrow{opacity:.85;margin:0 6px}



/* Sprint B.2 — Transitions toggle polish */
.toggleGroup{
  display:flex;
  gap:10px;
  align-items:center;
}
.toggleBtn{
  appearance:none;
  border:1px solid rgba(109,68,208,0.55);
  background: rgba(109,68,208,0.14);
  color: rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.toggleBtn:hover{
  background: rgba(109,68,208,0.22);
  border-color: rgba(163,134,255,0.85);
}
.toggleBtn:active{
  transform: translateY(1px);
}
.toggleBtn.active{
  background: rgba(109,68,208,0.35);
  border-color: rgba(163,134,255,0.95);
  box-shadow: 0 0 0 1px rgba(163,134,255,0.25) inset;
}



/* v2 close-out: On this Day years-ago label */
.tm-years{font-size:.85rem;opacity:.85;margin-bottom:2px}

/* v2 close-out: Images pills should match standard pill style */
.images-page .pill{border:1px solid rgba(163,134,255,0.55);background:rgba(109,68,208,0.18);color:#EAE6FF}


/* v3.9.3.39 — info tooltip */
.infoTipWrap{display:inline-flex;align-items:center;gap:8px}
.infoTip{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;
border:1px solid rgba(255,255,255,.25);font-size:12px;line-height:1;color:rgba(255,255,255,.85);
cursor:help;user-select:none;position:relative}
.infoTip:hover{border-color:rgba(255,255,255,.45)}
.infoTip[data-tip]:hover::after{
content:attr(data-tip);
position:absolute;left:50%;transform:translateX(-50%);
bottom:130%;
min-width:240px;max-width:360px;
background:rgba(10,12,18,.98);
border:1px solid rgba(255,255,255,.18);
color:rgba(255,255,255,.92);
padding:10px 12px;border-radius:10px;
font-size:12px;line-height:1.35;white-space:normal;
box-shadow:0 10px 30px rgba(0,0,0,.45);
z-index:9999;
}
.infoTip[data-tip]:hover::before{
content:"";
position:absolute;left:50%;transform:translateX(-50%);
bottom:115%;
border:6px solid transparent;
border-top-color:rgba(255,255,255,.18);
}


/* v3.9 drilldowns (relationship evidence) */
.rankDrill{margin:0;}
.rankDrill summary{list-style:none;cursor:pointer;}
.rankDrill summary::-webkit-details-marker{display:none;}
.rankDetails{margin:6px 0 10px 0;padding:8px 10px;border:1px solid rgba(255,255,255,0.08);border-radius:10px;background:rgba(255,255,255,0.02);}
.drillRow{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid rgba(255,255,255,0.06);}
.drillRow:last-child{border-bottom:none;}
.drillMain{display:flex;gap:10px;flex-wrap:wrap;align-items:baseline;}
.drillDate{font-weight:600;}
.drillVenue{opacity:0.95;}
.drillLocation{opacity:0.7;}
.drillLinks{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.drillPill{display:inline-block;padding:2px 8px;border:1px solid rgba(160,120,255,0.55);border-radius:999px;font-size:12px;line-height:18px;text-decoration:none;}
.drillPill:hover{border-color:rgba(200,170,255,0.9);}


/* Drilldown affordance for relationship rows */
.rankDrill summary::after{
  content:"▸";
  margin-left:8px;
  opacity:.7;
  transition:transform .15s ease, opacity .15s ease;
}
.rankDrill[open] summary::after{
  transform:rotate(90deg);
  opacity:1;
}
.rankDrill summary:hover::after{
  opacity:1;
}



/* v3.9.3.39 — Member timeline */
.member-timeline { margin-top: 8px; }
.member-timeline .mt-axis { position: relative; height: 26px; margin: 4px 0 10px; }
.member-timeline .mt-tick { position: absolute; top: 0; transform: translateX(-50%); text-align: center; }
.member-timeline .mt-tick-line { width: 1px; height: 14px; background: rgba(255,255,255,0.18); margin: 0 auto; }
.member-timeline .mt-tick-label { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.member-timeline .mt-row { display: grid; grid-template-columns: 240px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.member-timeline .mt-row:first-child { border-top: 0; }
.member-timeline .mt-meta { min-width: 0; }
.member-timeline .mt-name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.member-timeline .mt-sub { margin-top: 2px; display: flex; gap: 8px; align-items: baseline; }
.member-timeline .mt-count { font-weight: 700; font-size: 12px; }
.member-timeline .mt-inst { margin-top: 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-timeline .mt-track { position: relative; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.04); overflow: hidden; }
.member-timeline .mt-bar { position: absolute; top: 14px; height: 16px; border-radius: 10px; background: rgba(160,120,255,0.55); }
.member-timeline .mt-note { margin-top: 10px; font-size: 12px; }

@media (max-width: 900px) {
  .member-timeline .mt-row { grid-template-columns: 1fr; }
  .member-timeline .mt-track { height: 36px; }
  .member-timeline .mt-bar { top: 10px; height: 14px; }
}
