    :root{
      /* Softer dark palette (less techno) */
      --bg: #0b0f17;
      --bg2: #0a0d14;
      --panel: #121826;
      --panel2: #0f1522;

      --border: rgba(255,255,255,0.08);
      --border2: rgba(255,255,255,0.06);

      --text: rgba(245, 247, 255, 0.92);
      --muted: rgba(245, 247, 255, 0.64);
      --muted2: rgba(245, 247, 255, 0.48);

      /* Muted accent (still "blue", just calmer) */
      --accent: #4f7cff;
      --accent2: #7aa2ff;

      --good: #34d399;
      --warn: #fbbf24;
      --bad: #fb7185;

      --shadow: 0 8px 22px rgba(0,0,0,0.38);
      --radius: 14px;
      --radius2: 10px;

      --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
    }

    *{ box-sizing: border-box; }
    html, body{ height: 100%; }
    body{
      margin: 0;
      font-family: var(--sans);
      color: var(--text);

      /* Subtle, simple background */
      background:
        linear-gradient(180deg, var(--bg), var(--bg2));
      overflow-x: hidden;
    }

    /* ===== Layout ===== */
    .app{
      min-height: 100vh;
      display: grid;
      grid-template-columns: 280px 1fr;
    }

    .sidebar{
      position: sticky;
      top: 0;
      height: 100vh;
      padding: 18px 16px;
      background: rgba(18,24,38,0.92);
      border-right: 1px solid var(--border2);
      backdrop-filter: blur(8px);
    }

    .brand{
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 12px;
      border: 1px solid var(--border2);
      border-radius: var(--radius);
      background: rgba(15,21,34,0.75);
      box-shadow: var(--shadow);
    }
    .logo{
      width: 40px; height: 40px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(79,124,255,0.9), rgba(122,162,255,0.35));
      border: 1px solid rgba(255,255,255,0.10);
      box-shadow: none; /* remove glow */
    }
    .brand h1{
      margin: 0;
      font-size: 16px;
      letter-spacing: 0.3px;
      font-weight: 650;
    }
    .brand .sub{
      margin: 2px 0 0;
      font-size: 12px;
      color: var(--muted);
    }

    .nav{
      margin-top: 14px;
      padding: 8px;
      border-radius: var(--radius);
      border: 1px solid var(--border2);
      background: rgba(15,21,34,0.45);
    }
    .nav a{
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 10px;
      margin: 4px 0;
      color: var(--muted);
      text-decoration: none;
      border-radius: 12px;
      border: 1px solid transparent;
      transition: 0.15s ease;
      user-select: none;
    }
    .nav a:hover{
      color: var(--text);
      background: rgba(79,124,255,0.10);
      border-color: rgba(79,124,255,0.18);
    }
    .nav a.active{
      color: var(--text);
      background: rgba(79,124,255,0.16);
      border-color: rgba(79,124,255,0.22);
      box-shadow: none;
    }

    /* flatter nav marker */
    .nav .dot{
      width: 8px; height: 8px;
      border-radius: 50%;
      background: rgba(245,247,255,0.35);
      box-shadow: none;
      flex: 0 0 8px;
    }
    .nav a.active .dot{
      background: var(--accent);
    }

    .sidebar .footer{
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 16px;
      padding: 12px 12px;
      border-radius: var(--radius);
      border: 1px solid var(--border2);
      background: rgba(15,21,34,0.45);
      color: var(--muted);
      font-size: 12px;
    }
    .sidebar .footer code{
      font-family: var(--mono);
      color: rgba(245,247,255,0.80);
    }

    .sidebar-footer {
  margin-top: auto; /* pushes footer to bottom */
  padding-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-footer img {
  max-width: 300px;
  width: 100%;
  opacity: 0.9;
}

    /* ===== Main ===== */
    .main{
      padding: 20px 20px 28px;
    }

    .topbar{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 14px 16px;
      border-radius: var(--radius);
      border: 1px solid var(--border2);

      /* simpler topbar surface */
      background: rgba(18,24,38,0.70);
      box-shadow: var(--shadow);
      backdrop-filter: blur(8px);
    }

    .topbar .left{
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 260px;
    }

    .pill{
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(15,21,34,0.55);
      color: var(--text);
      font-size: 12px;
      white-space: nowrap;
    }
    .pill .count{
      font-family: var(--mono);
      font-size: 12px;
      color: rgba(245,247,255,0.9);
      padding: 2px 8px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(10,13,20,0.55);
    }

    .search{
      flex: 1 1 auto;
      display: flex;
      justify-content: center;
    }
    .search input{
      width: min(720px, 100%);
      padding: 11px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(10,13,20,0.55);
      color: var(--text);
      outline: none;
      box-shadow: none;
    }
    .search input:focus{
      border-color: rgba(79,124,255,0.35);
    }
    .search input::placeholder{
      color: rgba(245,247,255,0.40);
    }

    .topbar .right{
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .btn{
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(15,21,34,0.55);
      color: var(--text);
      cursor: pointer;
      transition: 0.15s ease;
      user-select: none;
    }
    .btn:hover{
      border-color: rgba(79,124,255,0.30);
      background: rgba(79,124,255,0.10);
    }

    /* ===== Grid ===== */
    .grid{
      margin-top: 16px;
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 16px;
      align-items: start;
    }

    .card{
      border-radius: var(--radius);
      border: 1px solid var(--border2);
      background: rgba(18,24,38,0.60);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .card-header{
      padding: 14px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .card-title{
      margin: 0;
      font-size: 13px;
      letter-spacing: 0.4px;
      color: rgba(245,247,255,0.82);
      text-transform: uppercase;
    }
    .card-body{
      padding: 14px 16px 16px;
    }

    .muted{ color: var(--muted); }
    .mono{ font-family: var(--mono); }

    /* ===== Status list ===== */
    .status-row{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .status-row:last-child{ border-bottom: none; }

    .badge{
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 12px;
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(10,13,20,0.55);
      color: rgba(245,247,255,0.86);
      white-space: nowrap;
    }

    /* flatter dots (no glow) */
    .tiny-dot{
      width: 8px; height: 8px;
      border-radius: 50%;
      display: inline-block;
    }
    .dot-good{ background: var(--good); box-shadow: none; }
    .dot-warn{ background: var(--warn); box-shadow: none; }
    .dot-bad{  background: var(--bad);  box-shadow: none; }

    /* ===== Matchup cards ===== */
    .matchups{
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .match{
      border-radius: var(--radius);
      border: 1px solid rgba(255,255,255,0.08);
      background: rgba(15,21,34,0.45);
      padding: 12px 12px;
      transition: 0.15s ease;
      cursor: pointer;
    }
    .match:hover{
      border-color: rgba(79,124,255,0.25);
      background: rgba(79,124,255,0.08);
      transform: translateY(-1px);
    }
    .match .row{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .match .teams{
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 13px;
    }
    .match .meta{
      margin-top: 8px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: 12px;
    }

    .chip{
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(10,13,20,0.45);
      color: rgba(245,247,255,0.76);
      font-size: 12px;
      white-space: nowrap;
    }

    /* ===== Alerts ===== */
    .alert{
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .alert:last-child{ border-bottom: none; }
    .alert .left{
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 0;
    }
    .alert .title{
      font-size: 13px;
      color: rgba(245,247,255,0.88);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .alert .desc{
      font-size: 12px;
      color: var(--muted);
      line-height: 1.3;
    }

    /* ===== Responsive ===== */
    @media (max-width: 1020px){
      .app{ grid-template-columns: 1fr; }
      .sidebar{
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border2);
      }
      .sidebar .footer{ position: relative; left: 0; right: 0; bottom: 0; margin-top: 12px; }
      .grid{ grid-template-columns: 1fr; }
      .topbar{ flex-wrap: wrap; }
      .topbar .left{ min-width: unset; }
      .search{ order: 3; width: 100%; }
    }