/* Styles for the WTD Band Management Suite admin pages and shortcodes */

/* Admin navigation tabs */
.wtd-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}
.wtd-tabs a {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: #222;
    color: #ddd;
    text-decoration: none;
}
.wtd-tabs a.active {
    background: #7a0e12;
    color: #fff;
}

/* Admin panel wrapper */
.wtd-panel {
    background: #111;
    color: #ddd;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
}
.wtd-panel label {
    display: block;
    margin: 0.5rem 0 0.25rem;
}
.wtd-panel input[type="text"],
.wtd-panel input[type="url"] {
    width: 100%;
    max-width: 640px;
}

/* Search form */
.wtd-filter {
    margin-bottom: 1rem;
}
.wtd-filter input[type="text"] {
    padding: 0.5rem;
    width: 50%;
}
.wtd-filter button {
    padding: 0.5rem 1rem;
}

/* Card grid */
.wtd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.wtd-card {
    background: #0e0e0e;
    border-radius: 0.75rem;
    padding: 1rem;
    color: #ddd;
}
.wtd-card img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}
.wtd-card h3 {
    /* Maintain top margin for all h3 elements inside cards, but don't force font size here. */
    margin: 0.5rem 0 0;
}
.wtd-tags {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.wtd-tag {
    background: #5c0c10;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

/* Page generator results styling */
.wtd-pg-results.is-loading { opacity: .6; pointer-events: none; }
.wtd-pg-col { flex: 1; min-width: 260px; }
.wtd-pg-col h4 { margin: 0.25rem 0 0.5rem; }
.wtd-pg-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.wtd-pg-choice { background: #0e0e0e; border-radius: 0.5rem; padding: 0.5rem; }
.wtd-sub { color: #aaa; font-size: 0.9em; }
.wtd-pg-row { display: flex; gap: 1rem; flex-wrap: wrap; margin: 0.75rem 0 0; }

/* ----- Suite overrides for directory cards ----- */
/* Make the card a flex container so content stacks vertically */
.wtd-card {
    display: flex;
    flex-direction: column;
}

/* Clamp long band names to two lines without breaking words. Adjust font size responsively. */
.wtd-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    line-height: 1.15;
    margin: 0.5rem 0 0;
    font-size: clamp(18px, 1.8vw, 24px);
}

/* Ensure tag chips wrap nicely (already defined but repeated here for clarity) */
.wtd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

/* Spotify and Wikipedia embed styling on band pages */
.wtd-embed {
    margin: 0 0 1.25rem;
}
.wtd-wiki {
    font-size: 1.05rem;
    line-height: 1.6;
}
.wtd-wiki p {
    margin: 0 0 0.9rem;
}

/* v10.4.1 directory tidy-up */
.wtd-az-jumpbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 1rem 0 1.25rem;
}
.wtd-az-jumpbar a {
    color: #d92332;
    text-decoration: none;
    font-weight: 700;
}
.wtd-searchbar-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin: 0 0 1rem;
}
.wtd-searchbar-container .wtd-filter-input,
.wtd-searchbar-container .wtd-filter-select {
    min-width: 180px;
    max-width: 260px;
    width: auto;
    box-sizing: border-box;
}
.wtd-searchbar-container .wtd-clear-button {
    white-space: nowrap;
}
.wtd-band-grid .wtd-letter-anchor {
    display: none !important;
}
.wtd-wiki-article {
    line-height: 1.6;
    margin-top: 1rem;
}
.wtd-wiki-article h2,
.wtd-wiki-article h3 {
    margin-top: 1.4rem;
}
.wtd-tour-dates {
    margin-top: 2rem;
}


/* v10.4.7 admin readability fix */
.wtd-panel,
.wtd-panel p,
.wtd-panel li,
.wtd-panel td,
.wtd-panel th,
.wtd-panel label,
.wtd-panel small,
.wtd-panel span {
    color: #f1f1f1;
}

.wtd-panel h1,
.wtd-panel h2,
.wtd-panel h3,
.wtd-panel h4,
.wtd-panel h5,
.wtd-panel h6,
.wtd-panel .description,
.wtd-panel .wtd-sub,
.wtd-panel .wtd-muted {
    color: #ffffff;
}

.wtd-panel a {
    color: #7aa7ff;
}

.wtd-panel input,
.wtd-panel select,
.wtd-panel textarea {
    color: #111111;
    background: #ffffff;
}

.wtd-panel button,
.wtd-panel .button,
.wtd-panel .button-primary {
    color: #ffffff;
}

.wtd-panel .button:not(.button-primary) {
    background: #1f2937;
    border-color: #3b4a5f;
}

.wtd-panel .button:not(.button-primary):hover,
.wtd-panel .button:not(.button-primary):focus {
    background: #2b384a;
    border-color: #5c6d85;
    color: #ffffff;
}

/* v10.8.1 admin progress bar */
.wtd-progress-wrap {
    display: none;
    max-width: 900px;
    margin: 10px 0 14px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #0b0b0b;
    color: #f5f5f5;
}
.wtd-progress-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 700;
}
.wtd-progress-track {
    height: 14px;
    border-radius: 999px;
    background: #222;
    overflow: hidden;
    border: 1px solid #444;
}
.wtd-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3154ff, #d92332);
    transition: width .25s ease;
}
.wtd-progress-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}
.wtd-progress-step {
    border: 1px solid #444;
    border-radius: 999px;
    padding: 3px 8px;
    background: #161616;
    color: #ddd;
    font-size: 12px;
}
.wtd-progress-step.is-working { border-color: #3154ff; color: #ffffff; }
.wtd-progress-step.is-done { border-color: #1f8f4d; color: #bfffd0; }
.wtd-progress-step.is-fail { border-color: #a97900; color: #ffd98a; }

.wtd-check-ok{color:#7dff9b;font-weight:700}.wtd-check-no{color:#ff8a8a;font-weight:700}.wtd-check-table td,.wtd-check-table th{vertical-align:top}.wtd-pg-precheck .widefat{background:#111;color:#eee}.wtd-pg-precheck .widefat th{color:#fff}.wtd-pg-precheck .widefat td{color:#eee}

/* v10.9.2 tour directory cards */
.wtd-tour-directory .wtd-tour-summary {
    margin-top: .6rem;
    font-size: .95rem;
    line-height: 1.35;
    color: #f1f1f1;
}
.wtd-tour-card .wtd-tags {
    margin-top: .75rem;
}

/* Release Watch admin readability */
.wtd-panel .wtd-release-watch-table,
.wtd-panel .wtd-release-watch-table th,
.wtd-panel .wtd-release-watch-table td,
.wtd-panel .wtd-release-watch-table a {
  color: #111 !important;
}
.wtd-panel .wtd-release-watch-table th {
  font-weight: 700;
}
.wtd-panel .wtd-release-watch-table .button {
  color: #fff !important;
}
.wtd-panel .wtd-release-table-wrap {
  overflow-x: auto;
  background: #fff;
}


/* v10.12.5 Update Status table readability */
.wtd-panel table.wtd-status-table,
.wtd-panel table.wtd-status-table thead,
.wtd-panel table.wtd-status-table tbody,
.wtd-panel table.wtd-status-table tr,
.wtd-panel table.wtd-status-table th,
.wtd-panel table.wtd-status-table td {
  color: #111111 !important;
  background-color: #ffffff;
}
.wtd-panel table.wtd-status-table.striped > tbody > :nth-child(odd) {
  background-color: #f6f7f7 !important;
}
.wtd-panel table.wtd-status-table th,
.wtd-panel table.wtd-status-table td {
  color: #111111 !important;
}
.wtd-panel table.wtd-status-table strong {
  color: #111111 !important;
}
.wtd-panel table.wtd-status-table a {
  color: #135e96 !important;
}

/* v10.12.7 Latest Releases front-end cards */
.wtd-latest-releases.wtd-band-grid,
.wtd-latest-releases.wtd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.wtd-release-card .wtd-release-band {
  margin: .35rem 0 .5rem;
  font-weight: 700;
}
.wtd-release-card .wtd-release-info {
  color: #ddd;
  font-size: .95rem;
  line-height: 1.4;
  margin: .75rem 0;
}
.wtd-release-card .wtd-release-meta .wtd-tag {
  background: #7a0e12;
}
.wtd-release-card .wtd-spotify-button,
.wtd-release-card .wtd-button {
  display: inline-block;
  background: #7a0e12;
  color: #fff !important;
  border-radius: 999px;
  padding: .35rem .75rem;
  text-decoration: none;
  font-weight: 700;
}
@media (max-width: 900px) {
  .wtd-latest-releases.wtd-band-grid,
  .wtd-latest-releases.wtd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .wtd-latest-releases.wtd-band-grid,
  .wtd-latest-releases.wtd-grid {
    grid-template-columns: 1fr;
  }
}

/* v10.13.0 health/dashboard and discovery blocks */
.wtd-readable-table,
.wtd-readable-table th,
.wtd-readable-table td,
.wtd-release-watch-table,
.wtd-release-watch-table th,
.wtd-release-watch-table td { color:#111 !important; }
.wtd-health-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:1rem 0 1.5rem;max-width:1100px}
.wtd-health-card{background:#171717;border:1px solid #333;border-radius:10px;padding:14px;color:#fff}
.wtd-health-card strong{display:block;font-size:1.7rem;color:#fff;line-height:1.1}
.wtd-health-card span{display:block;color:#ddd;margin-top:5px}
.wtd-band-releases,.wtd-related-bands{margin:2rem 0}
.wtd-release-mini-grid,.wtd-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:1rem 0}
.wtd-release-mini-card,.wtd-related-card{background:#111;border:1px solid #333;border-radius:12px;padding:16px;color:#eee}
.wtd-release-mini-card img,.wtd-related-card img{width:100%;height:auto;border-radius:8px;display:block;margin-bottom:10px}
.wtd-release-mini-card h3,.wtd-related-card h3{margin:.25rem 0 .5rem;color:#e53b58}
.wtd-featured-band{display:grid;grid-template-columns:minmax(180px,320px) 1fr;gap:20px;align-items:center;margin:2rem 0;padding:20px;background:#111;border:1px solid #333;border-radius:14px;color:#eee}
.wtd-featured-band img{width:100%;border-radius:10px;display:block}
.wtd-featured-band h2,.wtd-featured-band h3{margin:.25rem 0;color:#e53b58}
.wtd-button{display:inline-block;background:#7d0710;color:#fff !important;padding:.55rem .8rem;border-radius:999px;text-decoration:none;font-weight:700}
@media (max-width:900px){.wtd-release-mini-grid,.wtd-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wtd-featured-band{grid-template-columns:1fr}}
@media (max-width:600px){.wtd-release-mini-grid,.wtd-related-grid{grid-template-columns:1fr}}

/* v10.14.3 Band Health clickable issue guidance */
.wtd-health-help {
  margin: .35rem 0 1rem;
  color: #f1f1f1 !important;
}
.wtd-health-muted {
  color: #666 !important;
  font-size: 12px;
}
.wtd-health-table td {
  vertical-align: top;
}
.wtd-health-issues {
  display: grid;
  gap: 8px;
  max-width: 760px;
}
.wtd-health-issue {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d8dee6;
  background: #ffffff;
  color: #111111 !important;
  text-decoration: none;
}
.wtd-health-issue:hover,
.wtd-health-issue:focus {
  border-color: #7a0e12;
  box-shadow: 0 0 0 2px rgba(122,14,18,.15);
  color: #111111 !important;
}
.wtd-health-issue-label {
  display: inline-block;
  margin: 0 0 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #7a0e12;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12px;
}
.wtd-health-issue-hint {
  display: block;
  color: #333333 !important;
  font-size: 13px;
  line-height: 1.35;
}
.wtd-health-actions {
  white-space: nowrap;
}

.wtd-health-focus {padding:10px 12px;border:1px solid #7a5200;background:#251b00;color:#ffd98a;border-radius:8px;max-width:900px;}
.wtd-health-table tr.wtd-health-focus-row td {background:#fff8dc !important;}
.wtd-panel .wtd-health-table tr.wtd-health-focus-row td {box-shadow: inset 4px 0 0 #9b0b16;}

/* YouTube cards */
.wtd-youtube-videos{margin:2rem 0;padding:1.25rem;background:rgba(18,18,18,.92);border:1px solid rgba(255,255,255,.12);border-radius:16px}.wtd-section-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.wtd-section-head h2{margin:0;text-transform:uppercase;letter-spacing:.06em}.wtd-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.wtd-video-card{background:#0b0b0b;border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:.75rem}.wtd-video-thumb{display:block;position:relative;aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden}.wtd-video-thumb img{width:100%;height:100%;object-fit:cover;display:block}.wtd-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#8b0812;color:#fff;border-radius:999px;width:46px;height:46px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;box-shadow:0 0 18px rgba(0,0,0,.5)}.wtd-video-card h3{font-size:1rem;line-height:1.25;margin:.75rem 0 .35rem}.wtd-video-source,.wtd-video-date{font-size:.85rem;color:#aaa;margin:.2rem 0}.wtd-yt-result{border:1px solid #333;background:#111;color:#eee;border-radius:8px;padding:10px;margin:10px 0}.wtd-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.wtd-card{background:#101010;border:1px solid #333;border-radius:10px;padding:1rem;color:#fff}@media(max-width:800px){.wtd-video-grid,.wtd-grid-2{grid-template-columns:1fr}.wtd-section-head{align-items:flex-start;flex-direction:column}}


/* v10.15.3 YouTube admin readability and API help */
.wtd-panel .notice p,
.wtd-panel .notice code,
.wtd-panel .updated p,
.wtd-panel .error p {
  color: #1d2327 !important;
}
.wtd-panel .wtd-youtube-api-help p,
.wtd-panel .wtd-youtube-api-help code {
  color: #1d2327 !important;
}
.wtd-panel table.wtd-youtube-admin-table,
.wtd-panel table.wtd-youtube-admin-table thead,
.wtd-panel table.wtd-youtube-admin-table tbody,
.wtd-panel table.wtd-youtube-admin-table tr,
.wtd-panel table.wtd-youtube-admin-table th,
.wtd-panel table.wtd-youtube-admin-table td {
  color: #111111 !important;
  background-color: #ffffff;
}
.wtd-panel table.wtd-youtube-admin-table.striped > tbody > :nth-child(odd) {
  background-color: #f6f7f7 !important;
}
.wtd-panel table.wtd-youtube-admin-table strong,
.wtd-panel table.wtd-youtube-admin-table small,
.wtd-panel table.wtd-youtube-admin-table code {
  color: #111111 !important;
}
.wtd-panel table.wtd-youtube-admin-table a:not(.button) {
  color: #135e96 !important;
}
.wtd-panel table.wtd-youtube-admin-table .button {
  color: #ffffff !important;
  background: #1f2937;
  border-color: #334155;
  min-width: 120px;
  text-align: center;
  margin: 0 0 6px;
}
.wtd-panel table.wtd-youtube-admin-table .button-primary {
  background: #3154ff;
  border-color: #3154ff;
}
.wtd-panel table.wtd-youtube-admin-table .wtd-pill {
  color: #ffffff !important;
}


/* v10.15.14 homepage video/refined release grids */
.wtd-home-videos .wtd-video-grid,
.wtd-youtube-videos .wtd-video-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.wtd-home-videos .wtd-video-card h3{font-size:1rem;line-height:1.25;}
@media(max-width:900px){.wtd-home-videos .wtd-video-grid,.wtd-youtube-videos .wtd-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.wtd-home-videos .wtd-video-grid,.wtd-youtube-videos .wtd-video-grid{grid-template-columns:1fr;}}

/* v10.15.15 band-page readability and directory repair */
.wtd-generated-band-page,
.wtd-generated-band-page .wtd-wiki-article,
.wtd-wiki-article {
  background: transparent !important;
  color: inherit !important;
}
.wtd-generated-band-page .wtd-wiki-article p,
.wtd-generated-band-page .wtd-wiki-article li,
.wtd-generated-band-page .wtd-wiki-article dd,
.wtd-generated-band-page .wtd-wiki-article td,
.wtd-wiki-article p,
.wtd-wiki-article li,
.wtd-wiki-article dd,
.wtd-wiki-article td {
  color: inherit !important;
}
.wtd-generated-band-page .wtd-wiki-article a,
.wtd-wiki-article a {
  color: #e53b58 !important;
}
.wtd-generated-band-page .wtd-wiki-article table,
.wtd-wiki-article table {
  background: rgba(255,255,255,.03) !important;
  border-color: rgba(255,255,255,.15) !important;
}
.wtd-band-grid,
.wtd-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .wtd-band-grid,
  .wtd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wtd-band-grid,
  .wtd-grid { grid-template-columns: 1fr; }
}


/* v10.15.24 admin readability for Refresh & Clean tables */
.wtd-admin-page .wtd-panel table,
.wtd-admin-page .wtd-panel table th,
.wtd-admin-page .wtd-panel table td,
.wtd-suite-panel table,
.wtd-suite-panel table th,
.wtd-suite-panel table td,
.wtd-panel .widefat,
.wtd-panel .widefat th,
.wtd-panel .widefat td,
.wtd-panel table.widefat,
.wtd-panel table.widefat th,
.wtd-panel table.widefat td {
  color: #111111 !important;
}
.wtd-admin-page .wtd-panel table,
.wtd-suite-panel table,
.wtd-panel .widefat,
.wtd-panel table.widefat {
  background: #ffffff !important;
}
.wtd-admin-page .wtd-panel table tr,
.wtd-admin-page .wtd-panel table th,
.wtd-admin-page .wtd-panel table td,
.wtd-suite-panel table tr,
.wtd-suite-panel table th,
.wtd-suite-panel table td,
.wtd-panel .widefat tr,
.wtd-panel .widefat th,
.wtd-panel .widefat td {
  background-color: #ffffff !important;
}
.wtd-admin-page .wtd-panel table a,
.wtd-suite-panel table a,
.wtd-panel .widefat a {
  color: #005ecb !important;
}
.wtd-admin-page .wtd-panel table .button,
.wtd-suite-panel table .button,
.wtd-panel .widefat .button {
  color: #ffffff !important;
  background: #16243a !important;
  border-color: #16243a !important;
}

/* v11.0.0 simplified admin layout */
.wtd-admin-page .wtd-tabs-major {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.wtd-admin-page .wtd-tabs-major a {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  background: #1b1b1f;
  color: #fff !important;
  text-decoration: none;
  border: 1px solid #333;
}
.wtd-admin-page .wtd-tabs-major a.active {
  background: #b00020;
  border-color: #b00020;
}
.wtd-dashboard-actions,
.wtd-advanced-card {
  background: #fff;
  color: #111;
  border: 1px solid #ccd0d4;
  padding: 14px;
  margin: 14px 0;
}
.wtd-advanced-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.wtd-advanced-card h3 { margin-top: 0; }
.wtd-dashboard-summary { margin: 12px 0 18px; }
@media (max-width: 900px) {
  .wtd-advanced-grid { grid-template-columns: 1fr; }
}

/* BMS band quick facts box restored from Wikipedia infobox */
.wtd-band-infobox {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0 2rem;
  color: #f5f5f5;
}
.wtd-band-infobox h2 {
  margin: 0 0 .75rem;
  font-size: 1.35rem;
  line-height: 1.2;
}
.wtd-band-infobox dl { margin: 0; }
.wtd-band-infobox-row {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: .75rem;
  padding: .45rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.wtd-band-infobox-row:first-child { border-top: 0; }
.wtd-band-infobox dt {
  font-weight: 700;
  color: #fff;
}
.wtd-band-infobox dd {
  margin: 0;
  color: #e9e9e9;
}
@media (max-width: 640px) {
  .wtd-band-infobox-row { grid-template-columns: 1fr; gap: .15rem; }
}

/* WTD-style band quick facts panel, replacing the plain wiki-style infobox look */
.wtd-band-quickfacts {
  position: relative;
  overflow: hidden;
  margin: 1.75rem 0 2.25rem;
  padding: 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(circle at top left, rgba(190, 18, 38, 0.32), transparent 34%),
    linear-gradient(135deg, rgba(22,22,24,0.96), rgba(7,7,9,0.96));
  color: #f6f6f6;
  box-shadow: 0 18px 38px rgba(0,0,0,0.32);
}
.wtd-band-quickfacts:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), transparent 26%, transparent 74%, rgba(255,255,255,0.03));
}
.wtd-band-quickfacts-head,
.wtd-band-quickfacts-grid,
.wtd-band-quickfacts-people { position: relative; z-index: 1; }
.wtd-band-quickfacts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding-bottom: .75rem;
}
.wtd-band-quickfacts-kicker {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  background: #b5121b;
  border-radius: 999px;
  padding: .32rem .65rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset;
}
.wtd-band-quickfacts h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.1;
  text-align: right;
}
.wtd-band-quickfacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.wtd-bms-fact-card {
  min-width: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.11);
  padding: .85rem;
}
.wtd-bms-fact-card-wide { grid-column: span 2; }
.wtd-bms-fact-label {
  display: block;
  margin-bottom: .42rem;
  color: rgba(255,255,255,0.66);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wtd-bms-fact-card strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.35;
}
.wtd-bms-fact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}
.wtd-bms-fact-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .28rem .58rem;
  background: rgba(181, 18, 27, 0.26);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.15;
}
.wtd-band-quickfacts-people {
  margin-top: .85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.wtd-band-quickfacts-people details {
  border-radius: 14px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  padding: .75rem .85rem;
}
.wtd-band-quickfacts-people summary {
  cursor: pointer;
  font-weight: 900;
  color: #fff;
}
.wtd-bms-fact-list {
  margin: .55rem 0 0;
  padding-left: 1.05rem;
  color: #ededed;
}
.wtd-bms-fact-list li { margin: .2rem 0; }
@media (max-width: 900px) {
  .wtd-band-quickfacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wtd-band-quickfacts-people { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wtd-band-quickfacts { padding: .95rem; }
  .wtd-band-quickfacts-head { display: block; }
  .wtd-band-quickfacts h2 { text-align: left; margin-top: .65rem; }
  .wtd-band-quickfacts-grid { grid-template-columns: 1fr; }
  .wtd-bms-fact-card-wide { grid-column: auto; }
}

/* v11.2.4 admin advanced tools readability */
.wtd-panel .wtd-advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.wtd-panel .wtd-advanced-card {
    background: #171717 !important;
    color: #f4f4f4 !important;
    border: 1px solid #333 !important;
    border-radius: 10px;
    padding: 16px;
    box-shadow: none;
}
.wtd-panel .wtd-advanced-card h3,
.wtd-panel .wtd-advanced-card p {
    color: #f4f4f4 !important;
}
.wtd-panel .wtd-advanced-card .button {
    background: #142033;
    color: #fff !important;
    border-color: #2b3d5f;
}
.wtd-panel table.widefat,
.wtd-panel table.widefat th,
.wtd-panel table.widefat td {
    color: #111 !important;
}


/* v11.3.1 WTD wiki article formatter */
.wtd-wiki-article {
  color: #f2f2f2;
  line-height: 1.72;
}
.wtd-wiki-article p,
.wtd-wiki-article li,
.wtd-wiki-article dd,
.wtd-wiki-article td,
.wtd-wiki-article th {
  color: #f2f2f2 !important;
}
.wtd-wiki-article h2,
.wtd-wiki-article h3,
.wtd-wiki-article h4 {
  color: #fff;
  margin-top: 2rem;
  margin-bottom: .85rem;
  line-height: 1.15;
}
.wtd-wiki-article h2::before,
.wtd-wiki-article h3::before {
  content: '';
  display: inline-block;
  width: .22em;
  height: 1em;
  margin-right: .45em;
  vertical-align: -.12em;
  background: #ff2251;
}
.wtd-wiki-article a { color: #ff335f; text-decoration-color: rgba(255,51,95,.65); }
.wtd-wiki-article a:hover { color: #ff6f8d; }
.wtd-wiki-article table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 14px;
  background: rgba(255,255,255,.035) !important;
  margin: 1.2rem 0 1.6rem;
}
.wtd-wiki-article table tbody,
.wtd-wiki-article table thead,
.wtd-wiki-article table tr { width: 100%; }
.wtd-wiki-article table th {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  font-weight: 900;
}
.wtd-wiki-article table td,
.wtd-wiki-article table th {
  border: 1px solid rgba(255,255,255,.16) !important;
  padding: .75rem .85rem !important;
  vertical-align: top;
}
.wtd-wiki-article table ul { margin: .4rem 0 .2rem 1.15rem; }
.wtd-wiki-article .wtd-wiki-collapsible {
  margin: 2rem 0 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(0,0,0,.26);
  padding: .9rem 1rem;
}
.wtd-wiki-article .wtd-wiki-collapsible summary {
  cursor: pointer;
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
}
.wtd-wiki-article .wtd-wiki-collapsible-body {
  margin-top: .85rem;
  color: #e8e8e8;
}
.wtd-wiki-article .wtd-wiki-collapsible-body ol,
.wtd-wiki-article .wtd-wiki-collapsible-body ul {
  padding-left: 1.2rem;
  margin: .5rem 0 0;
}
.wtd-wiki-article .wtd-wiki-collapsible-body li { margin: .45rem 0; }

/* v11.3.2 WTD discography card conversion */
.wtd-wiki-article .wtd-discography-cards {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
  margin:22px 0 28px;
}
.wtd-wiki-article .wtd-discography-card {
  background:linear-gradient(135deg,rgba(155,11,22,.28),rgba(20,20,20,.95));
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  color:#f5f5f5;
}
.wtd-wiki-article .wtd-discography-card h3 {
  margin:4px 0 12px !important;
  color:#fff !important;
  font-size:1.35rem !important;
  line-height:1.15 !important;
}
.wtd-wiki-article .wtd-discography-year {
  display:inline-block;
  background:#9b0b16;
  color:#fff;
  border-radius:999px;
  padding:4px 10px;
  font-weight:800;
  letter-spacing:.04em;
  margin-bottom:8px;
}
.wtd-wiki-article .wtd-discography-details {
  margin:0 0 12px 18px !important;
  padding:0 !important;
}
.wtd-wiki-article .wtd-discography-details li {
  color:#f1f1f1 !important;
  margin:4px 0 !important;
}
.wtd-wiki-article .wtd-discography-charts {
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:10px;
  color:#f1f1f1;
  font-size:.95rem;
}

/* v11.3.7 BMS-controlled Wikipedia discography and references */
.wtd-wiki-article .wtd-wiki-discography {
  margin: 2rem 0 2.2rem;
}
.wtd-wiki-article .wtd-table-wrap,
.wtd-wiki-article .wtd-discography-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 1.2rem 0 1.6rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.24);
}
.wtd-wiki-article .wtd-table-wrap table,
.wtd-wiki-article .wtd-discography-table-wrap table {
  display: table;
  min-width: 680px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.wtd-wiki-article .wtd-wiki-references {
  margin-top: 2.25rem;
  border: 1px solid rgba(255,51,95,.35);
  background: linear-gradient(135deg, rgba(155,11,22,.18), rgba(0,0,0,.34));
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.wtd-wiki-article .wtd-wiki-references summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wtd-wiki-article .wtd-wiki-references summary::-webkit-details-marker { display: none; }
.wtd-wiki-article .wtd-wiki-references summary::after {
  content: 'Show sources';
  color: #ff335f;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.wtd-wiki-article .wtd-wiki-references[open] summary::after { content: 'Hide sources'; }
.wtd-wiki-article .wtd-wiki-references .wtd-wiki-collapsible-body {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: .9rem;
}
.wtd-wiki-article .wtd-discography-charts span {
  display: inline-block;
  margin: .25rem .55rem .25rem 0;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
@media (max-width: 700px) {
  .wtd-wiki-article .wtd-discography-cards { grid-template-columns: 1fr; }
  .wtd-wiki-article .wtd-wiki-references summary { align-items: flex-start; gap: .75rem; }
  .wtd-wiki-article .wtd-wiki-references summary::after { white-space: nowrap; }
}
