    :root {
      --bg: #ffffff;            /* White page background */
      --panel: rgba(0,0,0,0.04);
      --panel-border: rgba(0,0,0,0.10);
      --text: #111111;
      --muted: #222222;
      --alive: #2eaf4a;         /* Green for teams that are still alive */
      --knocked: #d60000;       /* Red for knocked-out teams */
      --shadow: 0 0px 0px rgba(0,0,0,0.08);
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background: var(--bg);
      color: var(--text);
      margin-top: 40px; /* Match this to the height of your banner */
    }
    
    h1 {
        text-align: center;
        color: #0d2f66;
        margin-bottom: 5px;
    }

    h2 {
        text-align: center;
        color: #0d2f66;
        margin-bottom: 5px;
        font-size: 16px;
    }
    
    .page {
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px 14px 30px;
    }

    .logo-wrap {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 6px 0 18px;
    }

    .logo {
      width: min(360px, 72vw);
      height: auto;
      display: block;
      filter: drop-shadow(0 0px 00px rgba(0,0,0,0.10));
    }

    .center {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 40px;
	  font-size: 20px;
    }

    .table-wrap {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 10px;
    }

    table {
      width: 100%;
      min-width: 900px;
      border-collapse: separate;
      border-spacing: 0;
      background: var(--panel);
      border: 1px solid var(--panel-border);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    th, td {
      vertical-align: top;
      text-align: left;
      padding: 18px 16px;
      border-right: 1px solid rgba(0,0,0,0.08);
      border-bottom: 1px solid rgba(0,0,0,0.08);
    }

    th:last-child, td:last-child { border-right: none; }
    tr:last-child td { border-bottom: none; }

    thead th {
      font-size: 1.25rem;
      font-weight: 800;
      letter-spacing: 0.2px;
      background: rgba(0,0,0,0.03);
    }

    .group-title {
      display: block;
      margin-bottom: 10px;
      font-size: 1.08rem;
      font-weight: 800;
      color: var(--text);
    }

    .teams {
      margin: 0;
      padding-left: 18px;
      line-height: 1.55;
      color: var(--muted);
      font-size: 1rem;
    }

    .teams li {
      margin: 0 0 6px 0;
      padding: 5px 8px;
      border-radius: 8px;
      background: rgba(46,175,74,0.16); /* green highlight for alive teams */
      color: #0f4d1f;
      font-weight: 600;
    }

    /* Change this class to red when a team is knocked out */
    .teams li.knocked-out {
      background: var(--knocked);
      color: #fff;
      font-weight: 700;
    }

    /* Optional alias class if you want to keep using alive explicitly */
    .teams li.alive {
      background: rgba(46,175,74,0.16);
      color: #0f4d1f;
      font-weight: 600;
    }

    .note {
      margin-top: 12px;
      color: #444;
      font-size: 0.95rem;
      line-height: 1.45;
      text-align: center;
    }

    @media (max-width: 900px) {
      .page { padding: 16px 10px 24px; }
      thead th { font-size: 1.05rem; }
      .teams { font-size: 0.95rem; }
      .logo { width: min(300px, 78vw); }
    }

    @media (max-width: 640px) {
      .logo-wrap { margin-bottom: 14px; }
      thead th, th, td { padding: 14px 12px; }
      table { min-width: 760px; }
      .teams li { padding: 4px 7px; }
    }


    .sidenav {
      height: 100%;
      width: 0;
      position: fixed;
      z-index: 1200;
      top: 0;
      left: 0;
      background-color: #111;
      overflow-x: hidden;
      transition: 0.5s;
      padding-top: 10px;
    }

    .sidenav a {
      padding: 8px 8px 8px 32px;
      text-decoration: none;
      font-size: 25px;
      color: #818181;
      display: block;
      transition: 0.3s;
    }

    .sidenav a:hover {
      color: #f1f1f1;
    }

    .sidenav .closebtn {
      position: absolute;
      top: 0;
      right: 25px;
      font-size: 36px;
      margin-left: 50px;
    }

    .menu-btn {
      position: fixed;
      top: 10px;
      left: 10px;
      font-size: 30px;
      cursor: pointer;
      z-index: 1300;
    }

    @media screen and (max-height: 450px) {
      .sidenav {
        padding-top: 15px;
      }

      .sidenav a {
        font-size: 18px;
      }
    }    
    
  
    .score-section {
      margin-top: 28px;
      padding-top: 12px;
    }
    .score-section h3 {
      text-align: center;
      color: #0d2f66;
      margin: 0 0 14px;
      font-size: 1.35rem;
    }
    .score-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }
    .score-card {
      background: var(--panel);
      border: 1px solid var(--panel-border);
      border-radius: 16px;
      padding: 14px;
      box-shadow: var(--shadow);
      overflow-x: auto;
    }
    .score-card h4 {
      margin: 0 0 10px;
      color: var(--text);
      font-size: 1.05rem;
    }
    .score-table {
      width: 100%;
      min-width: 560px;
      border-collapse: collapse;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
    }
    .score-table th,
    .score-table td {
      border: 1px solid rgba(0,0,0,0.08);
      padding: 8px 10px;
      font-size: 0.95rem;
    }
    .score-table thead th {
      background: rgba(0,0,0,0.03);
      font-size: 0.95rem;
      font-weight: 800;
    }
    .score-total {
      margin-top: 10px;
      text-align: right;
      font-weight: 800;
      color: #0d2f66;
    }
    .leaderboard-wrap {
      margin-top: 18px;
      overflow-x: auto;
    }
    .leaderboard {
      width: 100%;
      min-width: 420px;
      border-collapse: collapse;
      background: #fff;
      border: 1px solid var(--panel-border);
      border-radius: 14px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .leaderboard th,
    .leaderboard td {
      border: 1px solid rgba(0,0,0,0.08);
      padding: 10px 12px;
      font-size: 0.95rem;
    }
    .leaderboard thead th {
      background: rgba(0,0,0,0.03);
      font-weight: 800;
    }
    @media (max-width: 900px) {
      .score-grid { grid-template-columns: 1fr; }
      .score-table { min-width: 520px; }
    }

/* Fix the banner to the very top of the screen */
.scrolling-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #white; /* Bright background color */
  color: #000;
  font-family: sans-serif;
  font-weight: bold;
  overflow: hidden;
  z-index: 9999; /* Ensures it stays above all other page content */
  display: flex;
  align-items: center;
}

/* The moving track holding both text spans */
.banner-track {
  display: flex;
  white-space: nowrap;
  width: 200%; /* Needs to be wide enough to hold the duplicated content */
  animation: scrollText 15s linear infinite; /* Adjust 15s for speed */
}

/* Pause the animation when a user hovers over the banner */
.banner-track:hover {
  animation-play-state: paused;
}

/* Individual text blocks */
.banner-track span {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

/* The infinite sliding animation */
@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Pulls exactly half the width back */
  }
}

.banner {
  background-color: #ff9800; /* Eye-catching color */
  color: white;
  text-align: center;
  padding: 15px 0;
  width: 100%;
  position: fixed; /* Keeps it at the top of the page */
  top: 0;
  left: 0;
  z-index: 1000; /* Ensures it stays on top of other content */
}

.banner-text {
  font-size: 1.1rem;
  font-weight: bold;
}

.site-footer { border-top: 1px solid rgba(22, 55, 100, 0.08); background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,250,252,0.95)); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.site-footer p { margin: 0; color: var(--muted); }
.footer-socials { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-socials a { color: var(--blue); text-decoration: none; font-weight: 700; }
.footer-socials a:hover { text-decoration: underline; }
.page-shell { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }