/* Independent Mid Bay News map page; no bracket-page styles are required. */
.mbn-map-page {
  --map-green: #487858;
  --map-deep: #294738;
  --map-yellow: #ffc850;
  --map-aqua: #78d0c8;
  --map-charcoal: #585858;
  --map-ink: #333333;
  --map-muted: #64645e;
  --map-line: #d6d6d0;
  --map-1a: #487858;
  --map-2a: #ffc850;
  --map-3a: #78d0c8;
  --map-4a: #806297;
  --map-5a: #585858;
  margin: 0;
  color: var(--map-ink);
  background: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.5;
}
.mbn-map-page *, .mbn-map-page *::before, .mbn-map-page *::after { box-sizing: border-box; }
.mbn-map-page [hidden] { display: none !important; }
.mbn-map-page button, .mbn-map-page input, .mbn-map-page select { font: inherit; }
.mbn-map-page button { cursor: pointer; }
.mbn-map-page button:disabled { cursor: wait; opacity: .6; }
.mbn-map-page a { color: var(--map-green); text-underline-offset: .18em; }
.mbn-map-page a:hover { color: var(--map-deep); }
.mbn-map-page :focus-visible { outline: 3px solid #23675f; outline-offset: 3px; }
.mbn-map-page h1, .mbn-map-page h2, .mbn-map-page h3, .mbn-map-page p { margin-top: 0; }
.mbn-map-page img { max-width: 100%; }
.map-shell { max-width: 1280px; margin: 0 auto; }
.map-header { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 30px; border-top: 3px dotted #d9a02c; border-bottom: 1px solid var(--map-line); }
.map-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.map-brand img, .map-footer img { display: block; width: 104px; height: 45px; object-fit: contain; }
.map-brand span { color: var(--map-deep); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.map-back { font-size: 13px; font-weight: 700; }
.map-main { padding: 0 30px 32px; }
.map-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 310px); align-items: center; gap: 54px; padding: 35px 0 28px; border-bottom: 3px dotted #d9a02c; }
.map-kicker { margin-bottom: 8px; color: var(--map-green); font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.map-hero h1 { margin-bottom: 17px; color: var(--map-deep); font-size: clamp(44px, 5.6vw, 70px); font-weight: 700; letter-spacing: -.05em; line-height: .98; }
.map-hero h1 span { color: var(--map-green); }
.map-intro { max-width: 660px; margin-bottom: 12px; font-size: 16px; line-height: 1.6; }
.map-freshness { margin-bottom: 0; color: var(--map-muted); font-size: 12px; line-height: 1.6; }
.map-editor-note { padding: 21px 22px 18px; background: #fff8e5; border: 1px solid #ebcf79; border-left: 4px solid var(--map-yellow); }
.map-editor-note h2 { margin: 5px 0 10px; color: var(--map-deep); font-size: 25px; letter-spacing: -.035em; line-height: 1.15; }
.map-editor-note p:last-child { margin: 0; font-size: 13px; line-height: 1.6; }
.map-editor-note .map-kicker { color: #756026; }
.map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 16px; }
.map-view-switch { display: inline-flex; border: 1px solid var(--map-green); }
.map-view-switch button { min-height: 44px; padding: 10px 22px; color: var(--map-deep); background: #ffffff; border: 0; font-size: 14px; font-weight: 700; }
.map-view-switch button + button { border-left: 1px solid var(--map-green); }
.map-view-switch button[aria-pressed="true"] { color: #ffffff; background: var(--map-green); }
.map-view-switch button:hover:not([aria-pressed="true"]) { background: #f1f6f1; }
.map-toolbar-note { margin: 0; color: var(--map-muted); font-size: 12px; }
.map-filters { padding: 16px; background: #f7f8f4; border: 1px solid var(--map-line); }
.map-filters fieldset { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; padding: 0; margin: 0; border: 0; min-width: 0; }
.map-filters label { display: flex; flex: 1 1 155px; flex-direction: column; gap: 6px; min-width: 0; color: var(--map-deep); font-size: 11px; font-weight: 700; letter-spacing: .055em; }
.map-filters .map-search-label { flex: 1.5 1 220px; }
.map-filters input, .map-filters select { width: 100%; min-height: 44px; padding: 10px; color: var(--map-ink); background: #ffffff; border: 1px solid #bdbdb7; border-radius: 0; font-size: 14px; font-weight: 400; letter-spacing: normal; }
.map-filters input::placeholder { color: #74746b; opacity: 1; }
.map-reset { min-height: 44px; padding: 9px 5px; color: var(--map-green); background: transparent; border: 0; font-size: 12px; text-decoration: underline; text-underline-offset: .18em; }
.map-summary-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 53px; }
.map-summary-bar p { margin: 0; color: var(--map-deep); font-size: 12px; font-weight: 700; }
.map-text-button { min-height: 40px; padding: 7px 0; color: var(--map-green); background: transparent; border: 0; font-size: 12px; text-decoration: underline; text-underline-offset: .18em; }
.map-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 355px; align-items: start; border-top: 3px solid var(--map-green); }
.map-map-column { min-width: 0; }
.map-stage { position: relative; height: 620px; overflow: hidden; background: #edf1e9; border: 1px solid var(--map-line); border-top: 0; }
.map-canvas { width: 100%; height: 100%; }
/* Keep the SDK's own controls, map labels and attribution typography untouched. */
.map-sdk-state { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; padding: 28px; background: #f1f4ee; text-align: center; }
.map-sdk-state h2 { max-width: 350px; margin: 0; color: var(--map-deep); font-size: 27px; line-height: 1.1; letter-spacing: -.03em; }
.map-sdk-state p { max-width: 340px; margin: 0; color: var(--map-muted); font-size: 14px; line-height: 1.6; }
.map-sdk-state a { margin-top: 5px; font-size: 13px; }
.map-loading-mark { width: 28px; height: 28px; margin-bottom: 5px; border: 3px solid #cbd8c8; border-top-color: var(--map-green); border-radius: 50%; animation: map-turn 1s linear infinite; }
.map-stage.is-error .map-loading-mark { width: 32px; height: 4px; border: 0; border-radius: 0; background: var(--map-yellow); animation: none; }
.map-sdk-state button, .map-data-error button { min-height: 42px; margin-top: 4px; padding: 9px 15px; color: #ffffff; background: var(--map-green); border: 1px solid var(--map-green); font-size: 13px; }
.map-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 13px 14px; border: 1px solid var(--map-line); border-top: 0; font-size: 12px; }
.map-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend-title { margin-right: auto; color: var(--map-muted); font-size: 11px; }
.map-class-dot { display: inline-block; width: 11px; height: 11px; flex: 0 0 11px; border: 1px solid var(--map-deep); border-radius: 50%; }
.map-class-1a { background: var(--map-1a); }
.map-class-2a { background: var(--map-2a); }
.map-class-3a { background: var(--map-3a); }
.map-class-4a { background: var(--map-4a); }
.map-class-5a { background: var(--map-5a); }
.map-campus-caption, .map-location-note { margin: 9px 0 0; color: var(--map-muted); font-size: 11px; line-height: 1.55; }
.map-location-note { padding: 10px 12px; color: #63501c; background: #fff8e5; border-left: 3px solid var(--map-yellow); }
.map-sidebar { min-width: 0; max-height: 690px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 1px solid var(--map-line); border-top: 0; border-left: 0; }
.map-results { scroll-margin-top: 16px; }
.map-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 17px 0; }
.map-results-heading .map-kicker { margin-bottom: 3px; font-size: 9px; }
.map-results h2 { margin-bottom: 0; color: var(--map-deep); font-size: 24px; letter-spacing: -.035em; line-height: 1.15; }
#map-result-total { padding: 4px 8px; color: var(--map-deep); background: #f0f4ee; font-size: 14px; }
.map-results-help { margin: 9px 17px 16px; color: var(--map-muted); font-size: 11px; line-height: 1.55; }
.map-result-list { padding: 0; margin: 0; list-style: none; }
.map-result-list > li { border-top: 1px solid #e3e3dc; }
.map-result-button { display: flex; align-items: start; gap: 10px; width: 100%; padding: 14px 17px; color: var(--map-ink); background: #ffffff; border: 0; text-align: left; }
.map-result-button:hover { background: #f7faf5; }
.map-result-button[aria-pressed="true"] { background: #fff8e5; box-shadow: inset 4px 0 0 var(--map-yellow); }
.map-result-button .map-class-dot { margin-top: 6px; }
.map-result-copy { min-width: 0; }
.map-result-copy strong { display: block; color: var(--map-deep); font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.map-result-copy small { display: block; margin-top: 4px; color: var(--map-muted); font-size: 11px; line-height: 1.45; }
.map-result-copy em { display: block; margin-top: 5px; color: var(--map-green); font-size: 10px; font-style: normal; font-weight: 700; line-height: 1.5; }
.map-result-copy .map-unlocated { color: #795e1a; }
.map-empty { padding: 25px 18px; color: var(--map-muted); font-size: 14px; line-height: 1.6; }
.map-detail { padding: 18px 17px 20px; background: #ffffff; border-bottom: 3px solid var(--map-yellow); scroll-margin-top: 16px; }
.map-detail-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 15px; }
.map-detail-tools button { min-height: 36px; padding: 4px 0; color: var(--map-green); background: transparent; border: 0; font-size: 11px; text-decoration: underline; text-underline-offset: .18em; }
.map-detail-tools .map-detail-close { min-width: 36px; padding: 4px 8px; margin-left: auto; border: 1px solid var(--map-line); color: var(--map-charcoal); font-size: 20px; line-height: 1; text-decoration: none; }
.map-detail-identity { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px dotted #b8bdb2; }
.map-detail-identity > div { min-width: 0; }
.map-team-logo { display: inline-grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; overflow: hidden; }
.map-team-logo img { width: 100%; height: 100%; object-fit: contain; }
.map-logo-fallback { display: grid; place-items: center; width: 52px; height: 52px; color: #ffffff; background: var(--map-green); border-radius: 50%; font-size: 14px; font-weight: 700; }
.map-detail h2 { margin: 0 0 5px; color: var(--map-deep); font-size: 26px; letter-spacing: -.035em; line-height: 1.1; overflow-wrap: anywhere; }
.map-detail h3 { margin: 19px 0 7px; color: var(--map-deep); font-size: 16px; line-height: 1.3; }
.map-detail .map-kicker { margin-bottom: 5px; font-size: 9px; }
.map-detail-subtitle { margin: 0; color: var(--map-muted); font-size: 12px; }
.map-detail-path { margin: 16px 0; color: #414941; font-size: 14px; line-height: 1.65; }
.map-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; margin: 14px 0; background: var(--map-line); }
.map-metrics > div { padding: 11px 9px; background: #f8faf5; }
.map-metrics dt { color: var(--map-muted); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.map-metrics dd { margin: 4px 0 0; color: var(--map-deep); font-size: 20px; font-weight: 700; line-height: 1.2; }
.map-detail-status { padding: 10px 11px; margin: 0 0 8px; color: var(--map-deep); background: #fff8e5; border-left: 3px solid var(--map-yellow); font-size: 12px; font-weight: 700; line-height: 1.5; }
.map-detail-note { margin: 8px 0 0; color: var(--map-muted); font-size: 11px; line-height: 1.6; }
.map-detail-location { margin: 0; font-size: 13px; line-height: 1.6; }
.map-detail-links { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 11px; font-size: 12px; }
.map-schedule { padding: 0; margin: 0; list-style: none; }
.map-schedule li { padding: 10px 0; border-bottom: 1px solid #e3e3dc; font-size: 12px; line-height: 1.5; }
.map-schedule time, .map-schedule .map-schedule-date { display: block; color: var(--map-muted); font-size: 11px; }
.map-schedule strong { color: var(--map-deep); }
.map-site-badge { display: inline-block; margin-right: 5px; color: var(--map-green); font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.map-schedule-past { display: block; color: #795e1a; font-size: 10px; }
.map-game-date { margin: 13px 0 10px; color: var(--map-deep); font-size: 17px; font-weight: 700; }
.map-game-side { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; margin: 7px 0; font-size: 14px; }
.map-game-side > span { flex: 0 0 40px; color: var(--map-muted); font-size: 10px; letter-spacing: .06em; }
.map-inline-team { padding: 2px 0; color: var(--map-green); background: transparent; border: 0; font-weight: 700; text-align: left; text-decoration: underline; text-underline-offset: .18em; }
.map-popup { max-width: 260px; color: #333333; font-family: Georgia, "Times New Roman", serif; font-size: 12px; line-height: 1.5; }
.map-popup strong { display: block; margin-bottom: 3px; color: #294738; font-size: 15px; }
.map-popup p { margin: 4px 0; }
.map-popup button { display: block; width: 100%; min-height: 38px; padding: 5px 0; color: #487858; background: #ffffff; border: 0; border-bottom: 1px solid #d6d6d0; font: inherit; text-align: left; text-decoration: underline; }
.map-popup small { display: block; margin-top: 8px; color: #64645e; }
.map-notice { margin: 18px 0; padding: 17px 19px; color: #63501c; background: #fff8e5; border: 1px solid #ebcf79; font-size: 13px; line-height: 1.6; }
.map-data-error { color: #76372a; background: #fff3ed; border-color: #dbb5a3; }
.map-data-error p { margin-bottom: 10px; }
.map-data-notes { margin-top: 22px; }
.map-data-notes details { padding: 14px 0; border-top: 1px solid var(--map-line); }
.map-data-notes summary { width: fit-content; padding: 4px 0; color: var(--map-deep); font-size: 14px; font-weight: 700; cursor: pointer; }
.map-data-notes details > p { max-width: 850px; margin: 10px 0; color: var(--map-muted); font-size: 12px; line-height: 1.6; }
.map-notice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; padding-left: 20px; margin: 12px 0 0; }
.map-notice-list li { padding: 5px 0; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.map-notice-list time { color: var(--map-muted); }
.map-method { display: grid; grid-template-columns: minmax(200px, .7fr) minmax(0, 1.4fr); gap: 38px; margin: 29px 0 0; padding: 25px; background: var(--map-charcoal); border-top: 3px solid var(--map-yellow); color: #ffffff; }
.map-method .map-kicker { color: var(--map-aqua); }
.map-method h2 { margin-bottom: 0; font-size: 30px; line-height: 1.1; letter-spacing: -.035em; }
.map-method p { margin-bottom: 12px; font-size: 13px; line-height: 1.65; }
.map-method p:last-child { margin-bottom: 0; }
.map-method a { color: #ffffff; }
.map-method a:hover { color: var(--map-yellow); }
.map-sponsor { display: grid; place-items: center; gap: 10px; padding: 17px; margin-top: 28px; border: 1px solid #deded7; }
.map-sponsor span { color: var(--map-green); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; text-align: center; }
.map-sponsor img { width: min(100%, 720px); max-height: 125px; object-fit: contain; }
.map-footer { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 22px 30px 35px; border-top: 3px dotted #d9a02c; }
.map-footer > div { max-width: 770px; }
.map-footer p { margin: 0 0 7px; color: var(--map-muted); font-size: 11px; line-height: 1.65; }
.map-footer p:last-child { margin: 0; }
.map-skip { position: absolute; z-index: 50; top: 8px; left: 12px; padding: 10px 16px; transform: translateY(-160%); background: #ffffff; border: 2px solid var(--map-green); }
.map-skip:focus { transform: translateY(0); }
.map-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes map-turn { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
  .map-workspace { grid-template-columns: minmax(0, 1fr) 320px; }
  .map-hero { gap: 30px; }
  .map-main { padding-right: 22px; padding-left: 22px; }
  .map-filters label { flex-basis: 135px; }
  .map-filters .map-search-label { flex-basis: 190px; }
}
@media (max-width: 760px) {
  .map-header { min-height: 68px; padding: 10px 16px; }
  .map-brand { gap: 8px; }
  .map-brand img { width: 83px; height: 38px; }
  .map-brand span { font-size: 9px; }
  .map-back { max-width: 145px; font-size: 11px; text-align: right; }
  .map-main { padding: 0 14px 25px; }
  .map-hero { display: block; padding: 26px 0 23px; }
  .map-hero h1 { font-size: 49px; }
  .map-intro { font-size: 15px; }
  .map-editor-note { margin-top: 20px; padding: 15px 17px; }
  .map-editor-note h2 { font-size: 23px; }
  .map-editor-note p:last-child { font-size: 12px; }
  .map-toolbar { margin-top: 21px; gap: 9px; }
  .map-view-switch { width: 100%; }
  .map-view-switch button { flex: 1; padding: 10px 12px; }
  .map-toolbar-note { font-size: 11px; }
  .map-filters { padding: 12px; }
  .map-filters fieldset { gap: 12px; }
  .map-filters label { flex: 1 1 calc(50% - 6px); }
  .map-filters .map-search-label { flex-basis: 100%; }
  .map-filters #map-date-label { flex-basis: calc(75% - 6px); }
  .map-reset { margin-left: auto; }
  .map-summary-bar { align-items: start; min-height: 62px; padding: 10px 0; }
  .map-summary-bar p { font-size: 11px; }
  .map-summary-bar button { flex: 0 0 88px; min-height: 32px; padding: 0; font-size: 11px; text-align: right; }
  .map-workspace { display: block; }
  .map-stage { height: 440px; }
  .map-legend { gap: 9px 15px; padding: 11px; }
  .map-legend-title { flex-basis: 100%; }
  .map-sidebar { max-height: none; margin-top: 18px; overflow: visible; border: 1px solid var(--map-line); border-top: 3px solid var(--map-green); }
  .map-result-list { max-height: 460px; overflow-y: auto; overscroll-behavior: auto; }
  .map-result-button { min-height: 78px; padding: 15px 17px; }
  .map-detail { padding: 17px; }
  .map-detail h2 { font-size: 29px; }
  .map-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map-metrics dd { font-size: 19px; }
  .map-notice-list { grid-template-columns: 1fr; }
  .map-method { display: block; padding: 21px; }
  .map-method h2 { margin-bottom: 17px; }
  .map-footer { align-items: start; flex-direction: column; gap: 17px; padding: 21px 17px 30px; }
}
@media (max-width: 390px) { .map-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .map-loading-mark { animation: none; } }

/* Source-enriched, conditional district-title paths precede generic model odds. */
.map-title-paths { padding: 13px 12px; margin-top: 16px; background: #fff8e5; border: 1px solid #ebcf79; border-left: 4px solid var(--map-yellow); }
.map-title-paths h3 { margin: 0 0 8px; color: var(--map-deep); font-size: 17px; }
.map-title-paths ul { padding-left: 17px; margin: 0; }
.map-title-paths li { padding: 3px 0; font-size: 14px; line-height: 1.55; }
.map-title-paths p { margin: 8px 0 0; color: #63501c; font-size: 11px; line-height: 1.5; }
