/* ===========================================================
   Match Results — "Stadium Scoreboard" design
   Scoped entirely under .match-results-page, same convention as
   .upcoming-matches-page. Brand colors reuse the theme's existing
   tokens (--plum, --accent-magenta, --accent-blue) from style.css;
   the LED/panel tones are new, page-local variables.
   =========================================================== */

.match-results-page {
  --panel: #0a0a0f;
  --panel-2: #121218;
  --bezel: #1c1c24;
  --led-amber: #ffb703;
  --led-green: #39ff6a;
  --led-red: #ff4d4d;

  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: var(--font-body);
}

.match-results-page .floodlights {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 15% -5%, rgba(169,0,199,.32), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% -5%, rgba(0,210,255,.2), transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(108,0,133,.28), transparent 60%);
}
.match-results-page .crowd-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 14px 14px;
}

.match-results-page .brand-row {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 28px 20px 4px;
  font-family: var(--font-heading); font-weight: 700; font-size: .72rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--accent-blue);
}
.match-results-page .brand-row .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-magenta); }

.match-results-page .headline { position: relative; z-index: 2; text-align: center; padding: 8px 20px 12px; }
.match-results-page .headline h1 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  letter-spacing: -.02em;
  margin: 0;
  background: linear-gradient(90deg, #fff, var(--accent-blue) 60%, var(--accent-magenta));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.match-results-page .headline p { margin-top: 8px; font-size: .85rem; color: rgba(255,255,255,.5); }

.match-results-page .filter-row {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  padding: 4px 20px 34px;
}
.match-results-page .filter-chip {
  font-family: var(--font-heading); font-weight: 700; font-size: .68rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 4px;
  border: 1px solid rgba(169,0,199,.4);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.55);
  cursor: pointer;
}
.match-results-page .filter-chip.active { background: var(--plum); border-color: var(--plum); color: #fff; }
.match-results-page .filter-chip:hover { border-color: var(--accent-blue); color: #fff; }

.match-results-page .stage {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 30px;
  padding: 10px 20px 70px;
}

.match-results-page .no-results-msg {
  max-width: 640px;
  text-align: center;
  padding: 40px 30px;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.6;
}

.match-results-page .board-wrap {
  width: min(94vw, 640px);
  animation: mbsn-board-in .6s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes mbsn-board-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.match-results-page .board {
  position: relative;
  background: linear-gradient(180deg, var(--bezel), #101015 60%, var(--bezel));
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
}
.match-results-page .bolt {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6a6a76, #232329 70%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4);
}
.match-results-page .bolt.tl { top: 8px; left: 8px; } .match-results-page .bolt.tr { top: 8px; right: 8px; }
.match-results-page .bolt.bl { bottom: 8px; left: 8px; } .match-results-page .bolt.br { bottom: 8px; right: 8px; }

.match-results-page .board-screen {
  position: relative;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(105,0,199,.18), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    var(--panel);
  border-radius: 10px;
  overflow: hidden;
}

.match-results-page .board-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: var(--panel-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.match-results-page .board-comp {
  font-family: var(--font-led, 'JetBrains Mono', monospace); font-size: 1.05rem; letter-spacing: .04em;
  color: var(--led-amber); text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255,183,3,.55);
}
.match-results-page .board-date {
  font-family: var(--font-led, 'JetBrains Mono', monospace); font-size: .95rem; letter-spacing: .04em;
  color: rgba(255,255,255,.55);
}

.match-results-page .board-body { padding: 22px 18px 10px; }

.match-results-page .board-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.match-results-page .board-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.match-results-page .board-crest {
  width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: .82rem; color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 4px 12px rgba(0,0,0,.4);
}
.match-results-page .board-crest.mbsg { background: linear-gradient(145deg, #8B1E1E 48%, #1A6B2F 48%); }
.match-results-page .board-team-name {
  font-family: var(--font-heading); font-weight: 700; font-size: .74rem; color: #fff;
  text-align: center; line-height: 1.25; max-width: 130px;
}
.match-results-page .board-team-tag {
  font-family: var(--font-led, 'JetBrains Mono', monospace); font-size: .82rem; letter-spacing: .12em;
  color: rgba(255,255,255,.4); text-transform: uppercase;
}

.match-results-page .board-score {
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.match-results-page .led-digit {
  font-family: var(--font-led, 'JetBrains Mono', monospace);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--led-amber);
  text-shadow: 0 0 8px rgba(255,183,3,.65), 0 0 22px rgba(255,183,3,.3);
  min-width: 34px;
  text-align: center;
}
.match-results-page .led-sep { font-family: var(--font-led, 'JetBrains Mono', monospace); font-size: 2rem; color: rgba(255,183,3,.4); align-self: flex-start; margin-top: 8px; }

.match-results-page .board-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px 16px;
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: var(--panel-2);
}

.match-results-page .beacon-group { display: flex; align-items: center; gap: 8px; }
.match-results-page .beacon {
  width: 11px; height: 11px; border-radius: 50%;
  box-shadow: 0 0 8px 2px currentColor;
}
.match-results-page .beacon.win { background: var(--led-green); color: var(--led-green); }
.match-results-page .beacon.draw { background: var(--led-amber); color: var(--led-amber); }
.match-results-page .beacon.loss { background: var(--led-red); color: var(--led-red); }
.match-results-page .beacon-label {
  font-family: var(--font-heading); font-weight: 700; font-size: .62rem;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6);
}

.match-results-page .board-info {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: .68rem; color: rgba(255,255,255,.45);
}
.match-results-page .board-info b { color: rgba(255,255,255,.8); font-weight: 600; }

.match-results-page .board-motm {
  width: 100%;
  padding-top: 10px; margin-top: 4px;
  border-top: 1px dashed rgba(255,255,255,.08);
  font-size: .7rem; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 6px;
}
.match-results-page .board-motm b { color: #fff; font-family: var(--font-heading); font-weight: 700; }

.match-results-page .board-actions { width: 100%; display: flex; justify-content: center; margin-top: 12px; }
.match-results-page .btn-report {
  font-family: var(--font-heading); font-weight: 700; font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 22px; border-radius: 4px;
  background: var(--plum); color: #fff; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(169,0,199,.5);
  transition: background .15s ease, transform .15s ease;
}
.match-results-page .btn-report:hover { background: var(--accent-magenta); transform: translateY(-1px); }

.match-results-page .load-more-row { position: relative; z-index: 2; display: flex; justify-content: center; padding-bottom: 60px; }
.match-results-page .load-more-btn {
  font-family: var(--font-heading); font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 12px 28px; border-radius: 4px;
  background: rgba(255,255,255,.04); color: #fff;
  border: 1px solid rgba(169,0,199,.5);
  cursor: pointer;
}
.match-results-page .load-more-btn:hover { background: var(--plum); border-color: var(--plum); }
.match-results-page .load-more-btn:disabled { opacity: .4; cursor: default; }

@media (max-width: 480px) {
  .match-results-page .led-digit { font-size: 2.3rem; }
  .match-results-page .board-crest { width: 38px; height: 38px; }
  .match-results-page .board-team-name { font-size: .68rem; max-width: 96px; }
  .match-results-page .board-comp, .match-results-page .board-date { font-size: .85rem; }
}
