/* ============================================
   WISDOM PURPLE — Girls Unite 2016G
   Warm, family-friendly, fun
   ============================================ */

:root {
  --purple:       #7B2FBE;
  --purple-light: #9B5ED6;
  --purple-soft:  #F3EAFA;
  --purple-bg:    #FAF6FF;
  --purple-mid:   #E8D5F5;
  --white:        #FFFFFF;
  --gold:         #F5A623;
  --gold-light:   #FFF3D6;
  --gold-dark:    #D4891A;
  --green:        #2DA44E;
  --green-light:  #DFF5E1;
  --blue:         #3B82F6;
  --blue-light:   #DBEAFE;
  --red:          #DC3545;
  --red-light:    #FDE8E8;
  --text:         #2D2040;
  --text-muted:   #6B5A7D;
  --text-light:   #9A8AAD;
  --bg:           var(--white);
  --card-bg:      var(--white);
  --card-shadow:  0 2px 12px rgba(123, 47, 190, 0.08), 0 1px 3px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 6px 24px rgba(123, 47, 190, 0.14), 0 2px 6px rgba(0,0,0,0.06);
  --radius:       16px;
  --radius-sm:    12px;
  --radius-pill:  999px;
  --font:         'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--purple-bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
}

/* ---- Layout ---- */

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  display: none;
}

.section-schedule .section-title {
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  color: var(--purple);
}

.section-results .section-title {
  font-size: clamp(1.55rem, 2.8vw, 1.9rem);
  color: #7A7A7A;
}

.section-divider {
  height: 12px;
  background: linear-gradient(90deg, rgba(123, 47, 190, 0.2), rgba(245, 166, 35, 0.25), rgba(123, 47, 190, 0.2));
  border-top: 1px solid rgba(123, 47, 190, 0.18);
  border-bottom: 1px solid rgba(123, 47, 190, 0.12);
  margin: 6px 0 20px;
}

/* ---- Championship Banner ---- */

.champ-banner {
  background: linear-gradient(135deg, #6a0dad, #9b30d9, #6a0dad);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  animation: champ-pulse 2.5s ease-in-out infinite;
  position: relative;
  z-index: 10;
}
@keyframes champ-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* ---- Hero ---- */

.hero {
  background: linear-gradient(135deg, #E8D5F5 0%, #D4B8EB 30%, #B88BE0 60%, #9B5ED6 100%);
  text-align: center;
  padding: 20px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-logo {
  height: 64px;
  width: auto;
  margin: 0;
  filter: drop-shadow(0 2px 8px rgba(90, 26, 138, 0.3));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: left;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(90, 26, 138, 0.25);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.4vw, 1rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0;
}

.season-record {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--purple-mid);
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(123, 47, 190, 0.12);
}

.stats-bar {
  background: #F3EAFA;
  border-top: 1px solid rgba(123, 47, 190, 0.12);
  border-bottom: 1px solid rgba(123, 47, 190, 0.12);
  padding: 16px 24px;
}

.stats-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.stats-bar-inner--centered {
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.stat-item--center {
  border-left: 1px solid rgba(123, 47, 190, 0.15);
  border-right: 1px solid rgba(123, 47, 190, 0.15);
  padding: 0 24px;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9B5ED6;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 900;
  color: #3D1A6E;
  letter-spacing: 0.05em;
}

.stat-item--center .stat-value {
  font-size: 1rem;
  color: #5A2D9C;
}

/* ---- Watch Section ---- */

.watch-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 2px solid var(--purple-mid);
}

.watch-card--live {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  border: none;
  color: var(--white);
}

.watch-card__label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.watch-card--live .watch-card__label {
  color: rgba(255,255,255,0.8);
}

.watch-card__heading {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}

.watch-card--live .watch-card__heading {
  color: var(--white);
}

.watch-card__datetime {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}

.watch-card__opponent {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.watch-card--live .watch-card__datetime {
  color: var(--white);
}

.watch-card--live .watch-card__opponent {
  color: rgba(255,255,255,0.82);
}

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--purple);
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(123, 47, 190, 0.2), 0 0 0 0 rgba(123, 47, 190, 0);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: glow-watch 2.5s ease-in-out infinite;
}

@keyframes glow-watch {
  0%, 100% { box-shadow: 0 4px 16px rgba(123, 47, 190, 0.2); }
  50% { box-shadow: 0 4px 24px rgba(123, 47, 190, 0.35), 0 0 0 4px rgba(123, 47, 190, 0.1); }
}

.btn-watch:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 28px rgba(123, 47, 190, 0.35);
  animation: none;
}

.btn-watch--outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
  box-shadow: none;
}

.btn-watch--outline:hover {
  background: var(--purple-soft);
  box-shadow: none;
}

/* Weekend double-header layout */
.watch-multi-header {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-align: left;
}
.watch-multi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.watch-multi .watch-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.watch-multi .watch-card__heading {
  display: none;
}
.watch-multi .watch-card .btn-watch,
.watch-multi .watch-card .btn-watch--pending {
  margin-top: auto;
}
@media (max-width: 600px) {
  .watch-multi {
    grid-template-columns: 1fr;
  }
}

/* Weekend alert banner */
.watch-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFF3CD;
  border: 2px solid #F59E0B;
  border-radius: 10px;
  color: #78350F;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 18px;
  margin-bottom: 16px;
  text-align: left;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

/* Cancelled game card (Watch section) */
.watch-card--cancelled {
  background: linear-gradient(135deg, #F3EAFA 0%, #E8D5F5 100%);
  border: 2px dashed var(--red);
  color: var(--text);
  position: relative;
}

.watch-card--cancelled .watch-card__label {
  color: var(--red);
  font-weight: 900;
}

.watch-card--cancelled .watch-card__datetime {
  color: var(--text);
  text-decoration: line-through;
  text-decoration-color: rgba(220, 53, 69, 0.55);
  text-decoration-thickness: 2px;
}

.watch-card--cancelled .watch-card__opponent {
  color: var(--text-muted);
}

.watch-cancelled-note {
  margin-top: 8px;
  padding: 10px 16px;
  background: var(--red-light);
  border-radius: var(--radius-pill);
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-block;
}

/* Pending link state */
.btn-watch--pending {
  background: rgba(255,255,255,0.25);
  color: var(--white);
  opacity: 0.75;
  cursor: default;
  animation: none;
  font-size: 1rem;
  padding: 14px 28px;
}

.watch-coming-soon {
  background: var(--gold-light);
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.watch-coming-soon__text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.watch-coming-soon__note {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---- Past Streams ---- */

.past-streams-section {
  margin-top: 32px;
}

.past-streams-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 0;
  width: 100%;
  text-align: left;
}

.past-streams-toggle:hover {
  color: var(--purple);
}

.past-streams-toggle__arrow {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 0.8rem;
}

.past-streams-toggle__arrow--open {
  transform: rotate(90deg);
}

.past-streams-list {
  display: none;
  margin-top: 12px;
  gap: 8px;
  flex-direction: column;
}

.past-streams-list--open {
  display: flex;
}

.past-stream-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1px solid var(--purple-mid);
  border-radius: var(--radius-sm);
  transition: box-shadow 0.2s;
}

.past-stream-item:hover {
  box-shadow: var(--card-shadow);
}

.past-stream-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.past-stream-opponent {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.past-stream-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.past-stream-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--purple-soft);
  transition: background 0.2s;
}

.past-stream-link:hover {
  background: var(--purple-mid);
}

/* ---- Monthly Calendar Schedule ---- */

.month-group {
  margin-bottom: 36px;
}

.month-header {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 900;
  color: #6a2ca8;
  margin-bottom: 18px;
  padding-bottom: 0;
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 14px;
  transition: box-shadow 0.25s, transform 0.2s;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.game-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.game-card--upcoming {
  background: #F5F0FF;
  border-color: rgba(123, 47, 190, 0.15);
}

.game-card--today {
  background: var(--purple-soft);
  border-color: rgba(123, 47, 190, 0.3);
  box-shadow: 0 4px 20px rgba(123, 47, 190, 0.15);
}

.matchup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px 12px;
  background: linear-gradient(90deg, rgba(250, 245, 255, 0.95), rgba(255, 248, 232, 0.95));
  border-bottom: 1px solid rgba(123, 47, 190, 0.08);
  letter-spacing: 0.06em;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: nowrap;
}

.matchup-date-time {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.matchup-date {
  white-space: nowrap;
  text-transform: uppercase;
}

.matchup-time {
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.matchup-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.matchup-location {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.matchup-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 22px 20px 18px;
}

.matchup-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.matchup-team--opponent {
  text-align: center;
}

.matchup-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fffdfa;
  display: grid;
  place-items: center;
  border: 1px solid rgba(123, 47, 190, 0.18);
  box-shadow: 0 6px 16px rgba(123, 47, 190, 0.12);
  overflow: hidden;
}

.matchup-logo-img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

.matchup-logo-fallback {
  font-size: 1.7rem;
}

.matchup-name {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.matchup-name--opponent {
  font-weight: 800;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.matchup-vs {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--purple);
  letter-spacing: 0.12em;
}

.matchup-score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text);
}

.matchup-score-value {
  line-height: 1;
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
}

.matchup-score-separator {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-light);
}

.matchup-score--win .matchup-score-value {
  border-bottom-color: var(--green);
}

.matchup-score--loss .matchup-score-value {
  border-bottom-color: var(--red);
}

.matchup-score--draw .matchup-score-value {
  border-bottom-color: var(--text-light);
}

.game-card--result {
  opacity: 1;
  background: #F8F8F8;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.game-card--result .matchup-top {
  background: linear-gradient(90deg, rgba(245, 245, 245, 0.95), rgba(238, 238, 238, 0.95));
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #7A7A7A;
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  font-weight: 700;
  padding: 18px;
  background: var(--gold-light);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--gold);
}

.matchup-lower {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px 18px;
}

.badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.badge-home {
  background: var(--green-light);
  color: var(--green);
}

.badge-away {
  background: var(--blue-light);
  color: var(--blue);
}

.badge-result {
  letter-spacing: 0.08em;
}

.badge-result--win {
  background: var(--green-light);
  color: var(--green);
}

.badge-result--loss {
  background: var(--red-light);
  color: var(--red);
}

.badge-result--draw {
  background: color-mix(in srgb, var(--purple-soft) 70%, white 30%);
  color: var(--text-muted);
}

.badge-upcoming {
  background: #FFD54A;
  color: #3A2A00;
  box-shadow: inset 0 0 0 1px rgba(58, 42, 0, 0.08);
  white-space: nowrap;
}

.badge-today-label {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
}

.badge-final {
  background: #E2E2E2;
  color: #555555;
  letter-spacing: 0.12em;
}

.badge-cancelled {
  background: var(--red-light);
  color: var(--red);
  letter-spacing: 0.08em;
}

.game-card--cancelled {
  background: #FBF5F5;
  border-color: rgba(220, 53, 69, 0.25);
}

.game-card--cancelled .matchup-top {
  background: linear-gradient(90deg, rgba(253, 232, 232, 0.6), rgba(250, 246, 255, 0.6));
  border-bottom-color: rgba(220, 53, 69, 0.15);
}

.game-card--cancelled .matchup-body {
  opacity: 0.75;
}

.game-card--cancelled .matchup-date,
.game-card--cancelled .matchup-time {
  text-decoration: line-through;
  text-decoration-color: rgba(220, 53, 69, 0.55);
}

.game-cancelled-note {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--red);
  background: var(--red-light);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
}

.game-result {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.4;
}

.game-result--win {
  color: var(--green);
}

.game-result--loss {
  color: var(--text-muted);
}

.game-result--draw {
  color: var(--gold-dark);
}

.game-replay-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  background: rgba(124, 58, 237, 0.08);
  border: 1.5px solid var(--purple);
  border-radius: 8px;
  padding: 6px 18px;
}

.game-replay-link:hover {
  background: rgba(124, 58, 237, 0.18);
  text-decoration: none;
}

.game-weather {
  display: none;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: #F0EEF6;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(123, 47, 190, 0.08);
}

/* Inside the purple watch card — just plain text, no box */
.watch-card--live .game-weather,
.watch-coming-soon .game-weather {
  background: transparent !important;
  border: none !important;
  color: #000000 !important;
  font-size: 0.9rem !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  padding: 4px 0 8px !important;
}

.game-weather--visible {
  display: block;
}



/* ---- Footer ---- */

.footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--purple-soft);
  border-top: 3px solid var(--purple-mid);
}

.footer p:first-child {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple);
}

.footer-season {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- No data state ---- */

.no-streams {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  padding: 24px;
}

/* ---- Animations ---- */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.month-group .game-card {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.35s ease forwards;
}

.month-group .game-card:nth-child(2) { animation-delay: 0.06s; }
.month-group .game-card:nth-child(3) { animation-delay: 0.12s; }
.month-group .game-card:nth-child(4) { animation-delay: 0.18s; }
.month-group .game-card:nth-child(5) { animation-delay: 0.24s; }
.month-group .game-card:nth-child(6) { animation-delay: 0.30s; }

/* ---- Responsive ---- */

@media (max-width: 600px) {
  .hero {
    padding: 18px 16px;
  }

  .hero-logo {
    height: 56px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .hero-subtitle {
    font-size: 0.85rem;
    max-width: 280px;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .watch-card {
    padding: 24px 18px;
  }

  .watch-card__heading {
    font-size: 1.25rem;
  }

  .watch-card__datetime {
    font-size: 1.1rem;
  }

  .watch-card__opponent {
    font-size: 0.95rem;
  }

  .btn-watch {
    font-size: 1rem;
    padding: 14px 28px;
  }

  .game-card {
    gap: 12px;
  }

  .matchup-top {
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 0.7rem;
  }

  .matchup-time {
    justify-self: start;
    font-size: 0.78rem;
  }

  .matchup-meta {
    flex: 1 1 100%;
    min-width: 0;
    justify-self: start;
    gap: 6px;
    flex-wrap: wrap;
  }

  .matchup-location {
    width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .matchup-body {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    padding: 16px 12px;
  }

  .matchup-vs {
    font-size: 1rem;
  }

  .matchup-score {
    font-size: 1.5rem;
  }

  .matchup-score-separator {
    font-size: 1rem;
  }

  .matchup-logo {
    width: 44px;
    height: 44px;
  }

  .matchup-name {
    font-size: 0.82rem;
  }

  .matchup-lower {
    padding: 0 16px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .badge-pill {
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .past-stream-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.opponent-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.opponent-link:hover {
  color: var(--purple);
  text-decoration-style: solid;
}

/* ============================================
   TOURNAMENT MODULE — Self-contained styles
   MVLA Spring Cup (and future tournaments)
   ============================================ */

.section-tournament {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
  border-top: 3px solid #0D9488;
  border-bottom: 3px solid #0D9488;
}

.section-tournament .section-title {
  color: #0F766E;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

/* Championship photo */
.champ-photo-wrap {
  text-align: center;
  margin: 20px 0 28px;
}
.champ-photo {
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.18);
  display: block;
  margin: 0 auto;
}
.champ-photo-caption {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F766E;
  letter-spacing: 0.01em;
}

/* Championship Celebration Section */
.section-champ-celebrate {
  background: linear-gradient(135deg, #f5f0ff 0%, #ede0ff 100%);
  border: 2px solid #c4b5fd;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 24px 0 28px;
}
.champ-celebrate-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.champ-celebrate-text {
  flex: 1;
  min-width: 0;
}
.champ-celebrate-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c3aed;
  margin-bottom: 8px;
}
.champ-celebrate-title {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 900;
  color: #3b0764;
  line-height: 1.2;
  margin: 0 0 12px;
}
.champ-celebrate-body {
  font-size: 0.97rem;
  color: #4c1d95;
  line-height: 1.6;
  margin: 0 0 16px;
}
.champ-celebrate-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #7c3aed;
  text-decoration: none;
}
.champ-celebrate-link:hover {
  text-decoration: underline;
}
.champ-celebrate-photo {
  flex: 0 0 auto;
  width: min(45%, 340px);
}
.champ-celebrate-photo .champ-photo {
  max-width: 100%;
  margin: 0;
}
@media (max-width: 600px) {
  .champ-celebrate-inner {
    flex-direction: column;
  }
  .champ-celebrate-photo {
    width: 100%;
  }
}

.t-tournament-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.t-tournament-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.t-tournament-dates {
  font-size: 0.95rem;
  font-weight: 700;
  color: #134E4A;
}

.t-tournament-note {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F766E;
  background: #CCFBF1;
  border: 1px solid #0D9488;
  border-radius: 999px;
  padding: 3px 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.t-day-group {
  margin-bottom: 28px;
}

.t-day-header {
  font-size: 1rem;
  font-weight: 900;
  color: #0F766E;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(13, 148, 136, 0.35);
}

.t-game-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 148, 136, 0.4);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.1);
  transition: box-shadow 0.2s, transform 0.2s;
}

.t-game-card:hover {
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.2);
  transform: translateY(-1px);
}

.t-game-card--result {
  background: #FAFAFA;
  border-color: rgba(0, 0, 0, 0.08);
}

.t-game-card--tbd {
  background: #F0FDFA;
  border-style: dashed;
  border-color: rgba(13, 148, 136, 0.35);
  opacity: 0.85;
}

.t-game-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.t-game-time {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F766E;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.t-game-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.t-game-opponent {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.t-tbd-label {
  font-style: italic;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.t-game-note {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 6px;
}

.t-game-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.t-game-location a {
  color: var(--teal);
  text-decoration: none;
}

.t-game-location a:hover {
  text-decoration: underline;
}

.watch-tournament-link {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}
.watch-tournament-link:hover {
  text-decoration: underline;
}

.t-game-card--conditional {
  border: 2px dashed var(--teal);
  opacity: 0.85;
}

.t-conditional-note {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 5px;
  margin-bottom: 2px;
}

.t-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 900;
  margin: 6px 0;
}

.t-score-val {
  line-height: 1;
}

.t-score-sep {
  font-size: 1rem;
  color: var(--text-light);
}

.t-score--win  .t-score-val { color: var(--green); }
.t-score--loss .t-score-val { color: var(--red); }
.t-score--draw .t-score-val { color: var(--text-muted); }

.t-stream-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  background: #0D9488;
  color: #FFFFFF;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.t-stream-btn:hover {
  background: #0F766E;
  transform: translateY(-1px);
}

.t-stream-btn--pending {
  background: #CCFBF1;
  color: #134E4A;
  cursor: default;
}

@media (max-width: 600px) {
  .t-game-top {
    flex-wrap: wrap;
  }
  .t-game-opponent {
    font-size: 0.95rem;
  }
}
