    body {
      background-color: #0b061f;
      color: white;
      font-family: Arial, sans-serif;
      margin: 0;
      padding-top: 54px;  /* matches .header fixed height */
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 100vh;
    }

    /* ── HEADER — shared spec (must match lojat.css exactly) ── */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 54px;               /* FIXED — never changes between pages */
      box-sizing: border-box;
      background: #14103b;
      z-index: 1000;
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    .header-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
      padding: 0 30px;
      max-width: 1400px;
      margin: 0 auto;
      gap: 12px;
      box-sizing: border-box;
    }

    .header-left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex-shrink: 0;
      min-width: 0;
    }

    .header-left a {
      display: block;
      line-height: 1;
    }

    .header-title {
      font-size: 24px;
      font-weight: bold;
      color: white;
      margin: 0;
      line-height: 1;
    }

    .header-subtitle {
      font-size: 12px;
      color: #9ca3af;
      margin: 4px 0 0 0;
      padding: 0;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 15px;
      flex-shrink: 0;
      min-width: 0;
    }

    .header-search {
      width: 100%;
      max-width: 280px;
      min-width: 0;
      padding: 10px 15px;
      border-radius: 8px;
      border: none;
      font-size: 14px;
      background: #0b061f;
      color: white;
      outline: none;
      box-sizing: border-box;
    }

    .header-search::placeholder {
      color: #6b7280;
    }

    .discord-button-header {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background-color: rgb(88, 101, 242);
      color: white;
      padding: 10px 20px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      transition: background-color 0.25s ease;
      white-space: nowrap;
    }

    .discord-button-header:hover {
      background-color: rgb(71, 82, 196);
    }

    .discord-button-header i {
      font-size: 18px;
    }

    .matches {
      width: 90%;
      max-width: 1400px;
      margin-top: 8px;
      background: #12102f;
      padding: 12px;
      border-radius: 10px;
      flex-grow: 1;
      box-sizing: border-box;
    }

    .league {
      background: #0078ff;
      padding: 8px;
      margin: 8px 0;
      font-weight: bold;
      border-radius: 5px;
    }

    .match {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px;
      margin-bottom: 8px;
      border-bottom: 1px solid gray;
      cursor: pointer;
      text-decoration: none;
      color: white;
    }

    .match span {
      flex: 1;
    }

    .watch-button {
      background: green;
      color: white;
      padding: 4px 8px;
      border: none;
      cursor: pointer;
      border-radius: 5px;
    }

    .hidden {
      display: none !important;
    }

    .no-results {
      text-align: center;
      padding: 20px;
      color: #ccc;
      font-style: italic;
    }

    footer {
      background-color: #14103b;
      color: white;
      padding: 15px;
      font-size: 14px;
      text-align: center;
      margin-top: auto;
      width: 100%;
      box-sizing: border-box;
    }

    footer a {
      color: #0078ff;
      text-decoration: none;
    }

    .section-footer {
      background-color: #14103b;
      color: white;
      padding: 6px;
      font-size: 12px;
      text-align: center;
      margin-top: 15px;
      border-radius: 5px;
      width: 100%;
      box-sizing: border-box;
    }

    .section-footer a {
      color: #0078ff;
      text-decoration: none;
    }

    #backupBanner {
      background-color: #ff9800;
      color: #000;
      padding: 6px 12px;
      border-radius: 6px;
      margin: 0 auto 15px auto;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      font-weight: bold;
      font-size: 14px;
      max-width: 600px;
      text-align: center;
      flex-wrap: wrap;
    }

    #backupBanner a {
      color: #000;
      text-decoration: underline;
    }

    /* ── TABLET (769px – 1024px) ── */
    @media screen and (min-width: 769px) and (max-width: 1024px) {
      .header-content {
        padding: 0 20px;
        gap: 15px;
      }

      .header-search {
        max-width: 200px;
      }

      .matches {
        width: 92%;
      }
    }

    /* ── MOBILE (≤ 768px) ── */
    @media screen and (max-width: 768px) {
      body {
        padding-top: 56px;   /* matches .header height on mobile */
      }

      .header {
        height: 56px;        /* FIXED mobile header height */
      }

      .header-content {
        padding: 0 12px;
        gap: 8px;
      }

      .header-left {
        flex-shrink: 0;
        min-width: 0;
      }

      .header-title {
        font-size: 15px;
        white-space: nowrap;
      }

      .header-subtitle {
        font-size: 9px;
        margin-top: 2px;
        white-space: nowrap;
      }

      .header-right {
        flex: 1;
        flex-shrink: 1;
        min-width: 0;
        gap: 6px;
        justify-content: flex-end;
      }

      .header-search {
        flex: 1;
        min-width: 0;
        max-width: 160px;
        padding: 6px 8px;
        font-size: 12px;
      }

      .discord-button-header {
        padding: 6px 10px;
        font-size: 11px;
        gap: 4px;
        flex-shrink: 0;
      }

      .discord-button-header i {
        font-size: 14px;
      }

      .discord-button-header span {
        display: none;
      }

      .matches {
        width: 95%;
        padding: 8px;
        font-size: 12px;
        box-sizing: border-box;
      }

      .match {
        padding: 4px;
      }

      .watch-button {
        padding: 2px 5px;
        font-size: 10px;
      }

      #backupBanner {
        font-size: 12px;
        padding: 8px 10px;
      }
    }

    /* ── EXTRA SMALL phones (≤ 400px) ── */
    @media screen and (max-width: 400px) {
      body {
        padding-top: 50px;
      }

      .header {
        height: 50px;
      }

      .header-content {
        padding: 0 10px;
        gap: 6px;
      }

      .header-title {
        font-size: 13px;
      }

      .header-subtitle {
        font-size: 8px;
        letter-spacing: 0.5px;
      }

      .header-search {
        max-width: 120px;
        padding: 5px 7px;
        font-size: 11px;
      }

      .discord-button-header {
        padding: 5px 8px;
      }
    }

/* ── MULTI STREAM BUTTON ── */
.ms-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ms-btn:hover { opacity: 0.88; }

/* ── MULTI STREAM OVERLAY ── */
#msOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.ms-modal {
  background: #0d0b1f;
  border: 1px solid #2a2750;
  border-radius: 12px;
  width: 100%;
  max-width: 1100px;
  height: 85vh;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ms-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #2a2750;
  flex-shrink: 0;
}
.ms-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
}
.ms-modal-sub {
  font-size: 12px;
  color: #6b7280;
  flex: 1;
}
.ms-close-btn {
  background: #1e1b35;
  border: 1px solid #2a2750;
  color: #fff;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.ms-close-btn:hover { background: #2d2a50; }

/* Panels */
.ms-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  flex: 1;
  overflow: hidden;
  min-height: 0;
  height: 0;
}
.ms-panel {
  background: #12102f;
  border: 1px solid #2a2750;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

/* Search area */
.ms-search-area {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
}
.ms-search-wrap {
  padding: 10px;
  border-bottom: 1px solid #2a2750;
  flex-shrink: 0;
}
.ms-search-input {
  width: 100%;
  box-sizing: border-box;
  background: #0b061f;
  border: 1px solid #2a2750;
  border-radius: 7px;
  color: #fff;
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
}
.ms-search-input::placeholder { color: #4b5563; }
.ms-results {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
}
.ms-result-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  cursor: pointer;
  border-bottom: 1px solid #1e1b35;
  transition: background 0.12s;
}
.ms-result-item:hover { background: #1e1b35; }
.ms-result-sport {
  font-size: 9px;
  font-weight: 800;
  background: #2a2750;
  color: #a78bfa;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.ms-result-title {
  flex: 1;
  font-size: 12px;
  color: #e5e7eb;
  line-height: 1.3;
}
.ms-result-time {
  font-size: 11px;
  color: #6b7280;
  flex-shrink: 0;
}
.ms-no-results {
  padding: 20px;
  text-align: center;
  color: #4b5563;
  font-size: 13px;
}

/* Player area */
.ms-player-area {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.ms-panel-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #2a2750;
  flex-shrink: 0;
}
.ms-panel-title {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  color: #e5e7eb;
  line-height: 1.3;
}
.ms-change-btn {
  background: #1e1b35;
  border: 1px solid #2a2750;
  color: #a78bfa;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.12s;
}
.ms-change-btn:hover { background: #2d2a50; }
.ms-stream-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px 10px;
  flex-shrink: 0;
  border-bottom: 1px solid #2a2750;
}
.ms-stream-btn {
  background: #1e1b35;
  border: 1px solid #2a2750;
  color: #9ca3af;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.12s;
}
.ms-stream-btn.active {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}
.ms-stream-btn:hover { background: #2d2a50; color: #fff; }
.ms-iframe-wrap {
  flex: 1;
  position: relative;
  min-height: 200px;
}
.ms-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile */
@media (max-width: 700px) {
  .ms-panels { grid-template-columns: 1fr; overflow-y: auto; height: calc(85vh - 56px); }
  .ms-panel { min-height: 300px; max-height: 380px; }
  .ms-search-area { min-height: 260px; }
  .ms-modal-sub { display: none; }
  .ms-btn span { display: none; }
  .ms-btn { padding: 6px 10px; font-size: 13px; }
}


/* ── TABLET already handled above ── */

/* ── VPN Notice ── */
.vpn-notice {
  width: 90%;
  max-width: 1400px;
  box-sizing: border-box;
  background-color: #12102f;
  border: 1px solid #2a2750;
  border-radius: 6px;
  padding: 6px 14px;
  margin: 8px auto 0 auto;
  font-size: 12px;
  color: #b0b8cc;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vpn-icon { font-size: 13px; flex-shrink: 0; }
.vpn-link { font-weight: 700; text-decoration: none; }
.vpn-chrome  { color: #f5a623; }
.vpn-firefox { color: #ffffff; }
.vpn-warp    { color: #00e1ff; }
@media (max-width: 768px) {
  .vpn-notice { width: 95%; font-size: 10px; padding: 5px 10px; gap: 4px; margin: 5px auto 0 auto; }
}
