/* Merge-A-Palooza section under /merge-a-palooza/ (BKL-1737).
   Layout follows the D3 pages (hero card where the story art leads) with the La Subida / Halloween Bash
   music-first opening; the disclaimer is a compact note, not a panel (owner design review, BKL-1744, 2026-10-29).
   No festival-style logo, lettering or imagery (BKL-1737 D1 guardrail). */

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 229, 255, 0.18), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(255, 45, 214, 0.14), transparent 32%),
    linear-gradient(180deg, #030610 0%, #08111f 48%, #05070d 100%);
  color: #eaf7ff;
}

.map-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  line-height: 1.7;
  font-size: 1.1em;
  overflow-wrap: anywhere;
}

.map-page a { color: #7cf0ff; }
.map-page a:hover, .map-page a:focus { color: #ffffff; }
.map-page a:focus-visible { outline: 3px solid #00e5ff; outline-offset: 3px; }
.map-page h1 {
  margin: 0 0 8px;
  font-size: 2.3em;
  line-height: 1.2;
  color: #f7fbff;
  overflow-wrap: break-word;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
}

.map-kicker {
  margin: 0 0 8px;
  font-size: 0.85em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00e5ff;
}
.map-kicker a { text-decoration: none; }

/* Hero card: the title block, then the story art right beneath it (the D3 entry order). */
.map-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.36);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 42px rgba(0, 229, 255, 0.16);
  background: #091428;
}
.map-hero-art { display: block; width: 100%; height: auto; }
.map-hero-text {
  padding: 22px 28px 26px;
  background: linear-gradient(180deg, rgba(9, 20, 40, 0.94), rgba(5, 9, 18, 0.96));
}
.map-hero-text p:last-child { margin-bottom: 0; }
.map-hero-art { border-top: 1px solid rgba(0, 229, 255, 0.28); }
.map-intro { margin: 8px 0 0; color: #dbeef7; }

/* Music-first opening section. */
.map-sponsor {
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 14px;
  background: rgba(9, 20, 40, 0.85);
}
.map-song-heading { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.map-page .map-song-heading h2 { margin: 2px 0 0; font-size: 1.3em; line-height: 1.3; color: #f7fbff; }
.map-song-heading p { text-align: left; }
.map-song-kicker { margin: 0; font-size: 0.8em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #5be6d9; }
.map-sponsor-cover { flex: 0 0 auto; width: 120px; height: 120px; border-radius: 12px; border: 1px solid #5c7078; object-fit: cover; }
.map-sponsor-line { margin: 4px 0 0; color: #ffd166; font-weight: 700; }
.map-player { width: 100%; aspect-ratio: 16 / 9; }
.map-player iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.map-sponsor-links { margin: 12px 0 0; font-size: 0.92em; color: #b5cbd7; }

/* The disclaimer is a quiet note: small, muted, one thin rule. */
.map-disclaimer {
  margin: 0 0 28px;
  padding: 2px 0 2px 14px;
  border-left: 2px solid rgba(159, 196, 214, 0.45);
  font-size: 0.82em;
  line-height: 1.55;
  color: #a9c3d1;
}
.map-disclaimer p { margin: 0 0 4px; }
.map-disclaimer p:last-child { margin-bottom: 0; }
.map-disclaimer strong { color: #cfe3ee; font-weight: 600; }
.map-disclaimer .map-tag { font-size: 0.78em; }

/* Section index: article cards led by their story art. */
.map-articles h2, .map-labels h2 { margin: 0 0 12px; font-size: 1.3em; color: #f7fbff; }
.map-article-list { margin: 0 0 32px; padding: 0; list-style: none; }
.map-article-list li { margin: 0 0 18px; }
.map-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: #eaf7ff !important;
  background: rgba(9, 20, 40, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-bottom: 5px solid #ffd166;
}
.map-card:hover, .map-card:focus { border-color: rgba(255, 45, 214, 0.6); }
.map-card img { display: block; width: 100%; height: auto; }
.map-card-head { display: grid; gap: 2px; padding: 16px 20px 14px; }
.map-card-text { display: block; padding: 14px 20px 18px; }
.map-card-number { font-size: 0.85em; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #ffd166; }
.map-card-title { font-size: 1.45em; font-weight: 800; line-height: 1.25; color: #f7fbff; }
.map-card-subtitle { color: #cfe8f4; }

.map-labels { margin-top: 8px; font-size: 0.92em; }
.map-labels dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.map-labels dt { font-weight: 800; color: #ffffff; }
.map-labels dd { margin: 0; color: #cfe3ee; }

/* Article pages (BKL-1738, BKL-1739). Each statement ends with a small label tag; SEC Fact, Law
   and Reported tags link to the numbered source list. Tag text stays in text ink; the tag border
   carries the label's identity. */
.map-subtitle { margin: 0 0 8px; font-size: 1.15em; color: #cfe8f4; }
.map-meta { margin: 0 0 4px; font-size: 0.9em; color: #9fc4d6; }
.map-article h2 { margin-top: 36px; }
.map-tag {
  display: inline-block;
  margin-left: 2px;
  padding: 0 6px;
  border: 1px solid #5d7686;
  border-radius: 4px;
  font-size: 0.68em;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 0.15em;
  color: #dcecf5;
}
.map-tag a { text-decoration: none; }
.map-tag-sec-fact { border-color: #3987e5; }
.map-tag-law { border-color: #9085e9; }
.map-tag-reported { border-color: #c98500; }
.map-tag-opinion { border-color: #5d7686; }
.map-tag-speculation { border-color: #d55181; border-style: dashed; }
.map-tag-rumor { border-color: #e66767; border-style: dotted; }
.map-article q { font-style: italic; }

.map-table-wrap { width: 100%; overflow-x: auto; margin: 20px 0; }
.map-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.88em; line-height: 1.45; overflow-wrap: normal; word-break: normal; }
.map-table-wrap:focus-visible { outline: 3px solid #00e5ff; outline-offset: 3px; }
.map-table caption { caption-side: top; text-align: left; padding-bottom: 8px; color: #a9c3d1; }
.map-table th, .map-table td { padding: 8px 10px; border-bottom: 1px solid rgba(124, 240, 255, 0.18); text-align: left; vertical-align: top; }
.map-table thead th { color: #ffffff; border-bottom-color: rgba(124, 240, 255, 0.45); }
.map-table td:nth-child(5), .map-table td:nth-child(2), .map-table td:nth-child(3) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.map-table tfoot th, .map-table tfoot td { font-weight: 800; border-bottom: 0; }
#volume-table td:nth-child(n+3) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.map-chart { margin: 24px 0; }
.map-bars { list-style: none; margin: 0; padding: 0; }
.map-bars li { display: grid; grid-template-columns: minmax(150px, 34%) 1fr 4.5em; gap: 4px 12px; align-items: center; margin: 0 0 10px; }
.map-bar-label { font-size: 0.88em; line-height: 1.3; overflow-wrap: normal; }
.map-bar-track { display: block; min-width: 0; }
.map-bar-track svg { display: block; height: 22px; min-width: 2px; border-radius: 4px; }
.map-bar-value { font-size: 0.88em; font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.map-legend { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; font-size: 0.88em; }
.map-legend li { display: block; overflow-wrap: normal; }
.map-legend strong { white-space: nowrap; }
.map-swatch { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; vertical-align: -1px; }
.map-chart figcaption { font-size: 0.85em; color: #a9c3d1; }

.map-questions li { margin-bottom: 10px; }
.map-closing { margin-top: 36px; }
.map-sources { font-size: 0.85em; line-height: 1.5; }
.map-sources li { margin-bottom: 8px; }

@media (max-width: 560px) {
  .map-bars li { grid-template-columns: 1fr auto; }
  .map-bar-track { grid-column: 1 / -1; grid-row: 2; }
  .map-table { font-size: 0.8em; }
  .map-table th, .map-table td { padding: 6px; }
  .map-page { padding: 24px 16px 48px; }
  .map-labels dl { grid-template-columns: 1fr; }
  .map-labels dd { margin-bottom: 8px; }
  .map-page h1 { font-size: 1.8em; }
  .map-hero-text { padding: 18px 18px 20px; }
  .map-sponsor { padding: 16px; }
  .map-song-heading { gap: 14px; }
  .map-sponsor-cover { width: 84px; height: 84px; }
  .map-page .map-song-heading h2 { font-size: 1.1em; }
  .map-sponsor-line { font-size: 0.92em; }
  .map-card-head, .map-card-text { padding-left: 16px; padding-right: 16px; }
}
