:root {
  --gsl-bg: #0b1d36;
  --gsl-panel: #172941;
  --gsl-row: #374151;
  --gsl-border: #1f3a56;
  --gsl-green: #00c853;
  --gsl-green-dark: #0f513f;
  --gsl-red: #ef4444;
  --gsl-muted: #6b7280;
  --gsl-soft: #cbd5e1;
  --gsl-max-page: 1200px;
  --gsl-sidebar: 230px;
}

/* =========================================================
   WORDPRESS RESET / PAGE WRAPPER
========================================================= */

body.gsl-dashboard-page,
body.gsl-dashboard-active {
  margin: 0 !important;
  background: #ffffff !important;
  overflow-x: hidden !important;
}

body.gsl-dashboard-page .site-header,
body.gsl-dashboard-page .site-footer,
body.gsl-dashboard-page .entry-title,
body.gsl-dashboard-page .wp-block-post-title,
body.gsl-dashboard-active .site-header,
body.gsl-dashboard-active .site-footer,
body.gsl-dashboard-active .entry-title,
body.gsl-dashboard-active .wp-block-post-title {
  display: none !important;
}

body.gsl-dashboard-page .site,
body.gsl-dashboard-page .site-content,
body.gsl-dashboard-page .content-area,
body.gsl-dashboard-page main,
body.gsl-dashboard-page article,
body.gsl-dashboard-page .entry-content,
body.gsl-dashboard-page .wp-block-post-content,
body.gsl-dashboard-active .site,
body.gsl-dashboard-active .site-content,
body.gsl-dashboard-active .content-area,
body.gsl-dashboard-active main,
body.gsl-dashboard-active article,
body.gsl-dashboard-active .entry-content,
body.gsl-dashboard-active .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.gsl-page-bg,
.gsl-page-bg * {
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

.gsl-page-bg {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  color: #ffffff;
  display: flex;
  justify-content: center;
}

.gsl-app-frame {
  width: min(100%, var(--gsl-max-page));
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--gsl-sidebar) minmax(0, 1fr);
  background: var(--gsl-bg);
  border-left: 1px solid rgba(31, 58, 86, 0.55);
  border-right: 1px solid rgba(31, 58, 86, 0.55);
  position: relative;
}

/* =========================================================
   SIDEBAR
========================================================= */

.gsl-sidebar {
  grid-column: 1;
  min-height: 100vh;
  background: var(--gsl-bg);
  border-right: 1px solid var(--gsl-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.gsl-brand {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-bottom: 1px solid var(--gsl-border);
  overflow: hidden;
}

.gsl-brand-logo {
  width: 100%;
  max-width: 190px;
  height: auto;
  object-fit: contain;
  display: block;
}

.gsl-logo-light { display: none; }
.gsl-logo-dark { display: block; }

.gsl-menu {
  padding-top: 24px;
}

.gsl-menu-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 78%;
  min-height: 27px;
  margin: 0 0 10px 0;
  padding: 0 12px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.05;
  border-left: 4px solid transparent;
}

.gsl-menu-item.active {
  background: var(--gsl-green-dark);
  border-left-color: var(--gsl-green);
}

.gsl-menu-icon,
.gsl-menu-item span {
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.gsl-menu-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.gsl-sidebar-bottom {
  padding-bottom: 18px;
}

/* =========================================================
   THEME TOGGLE
========================================================= */

.gsl-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 0 28px 0 16px;
  font-size: 15px;
  color: #ffffff;
}

.gsl-theme-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gsl-theme-toggle,
button.gsl-theme-toggle {
  width: 43px !important;
  height: 21px !important;
  min-width: 43px !important;
  min-height: 21px !important;
  max-width: 43px !important;
  max-height: 21px !important;
  border: none !important;
  border-radius: 999px !important;
  background: var(--gsl-green) !important;
  position: relative !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none !important;
}

.gsl-theme-toggle span,
button.gsl-theme-toggle span {
  width: 20px !important;
  height: 20px !important;
  background: #d1d5db !important;
  border-radius: 50% !important;
  position: absolute !important;
  right: 0 !important;
  top: 0.5px !important;
  transition: all 0.22s ease !important;
}

.gsl-theme-toggle:hover {
  opacity: 0.9;
}

/* =========================================================
   MAIN / TOPBAR
========================================================= */

.gsl-main {
  grid-column: 2;
  min-width: 0;
  min-height: 100vh;
  background: var(--gsl-bg);
}

.gsl-topbar {
  height: 76px;
  border-bottom: 1px solid var(--gsl-border);
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: var(--gsl-bg);
}

.gsl-search {
  width: min(520px, 65%);
  min-width: 240px;
  height: 36px;
  background: #ffffff;
  border-radius: 5px;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--gsl-muted);
  padding: 0 12px;
}

.gsl-search .gsl-top-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6b7280 !important;
}

.gsl-search .gsl-top-icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.2 !important;
  display: block !important;
}

.gsl-search input {
  height: 100% !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  width: 100%;
  color: var(--gsl-muted) !important;
  font-size: 13px;
  padding: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.gsl-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 25px;
  white-space: nowrap;
}

.gsl-top-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.gsl-top-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.2;
}

.gsl-user-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(203, 213, 225, 0.22) !important;
  border: 1px solid rgba(203, 213, 225, 0.35) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gsl-user-icon svg {
  width: 21px !important;
  height: 21px !important;
  stroke-width: 2.1 !important;
}

/* =========================================================
   CONTENT / TABLE
========================================================= */

.gsl-content {
  padding: 22px;
  background: var(--gsl-bg);
}

.gsl-section-title {
  margin: 0 0 7px;
  font-size: 21px;
  font-weight: 700;
  color: #ffffff !important;
}

.gsl-table-box {
  border: 1px solid var(--gsl-border);
  border-radius: 4px;
  min-height: 310px;
  padding: 0 24px 6px;
  width: 100%;
  background: var(--gsl-bg) !important;
}

.gsl-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.gsl-matches-table {
  width: 100%;
  min-width: 920px;
  margin-top: 12px;
  border-collapse: collapse !important;
  border: 1px solid var(--gsl-border) !important;
}

.gsl-matches-table th,
.gsl-matches-table td {
  border: 1px solid var(--gsl-border) !important;
  white-space: nowrap;
}

.gsl-matches-table th {
  background: var(--gsl-panel) !important;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 9px;
  text-align: center;
}

.gsl-matches-table th:first-child,
.gsl-matches-table td:first-child {
  text-align: left;
}

.gsl-matches-table td {
  background: var(--gsl-bg) !important;
  color: #ffffff !important;
  font-size: 13px;
  padding: 8px 9px;
  text-align: center;
}

.gsl-match-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gsl-match-cell img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.gsl-pill {
  display: inline-flex;
  min-width: 40px;
  height: 21px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 13px;
}

.gsl-pill.green {
  color: var(--gsl-green);
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid var(--gsl-green);
}

.gsl-pill.red {
  color: var(--gsl-red);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.7);
}

.gsl-view-all-match {
  height: 25px;
  width: 95%;
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #374151;
  color: var(--gsl-green) !important;
  border-radius: 3px;
  text-decoration: none !important;
  font-size: 13px;
}

/* =========================================================
   BOTTOM CARDS
========================================================= */

.gsl-bottom-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.gsl-card {
  border: 1px solid var(--gsl-border);
  border-radius: 4px;
  min-height: 258px;
  padding: 13px 14px;
  background: var(--gsl-bg) !important;
  min-width: 0;
}

.gsl-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}

.gsl-card h2,
.gsl-card-head h2 {
  margin: 0;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
}

.gsl-card-head a {
  color: var(--gsl-green) !important;
  text-decoration: none !important;
  font-size: 13px;
}

.gsl-league-row {
  min-height: 36px;
  background: #374151;
  margin-bottom: 5px;
  padding: 5px 12px 5px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
  color: #ffffff !important;
  font-size: 18px;
  line-height: 1.1;
}

.gsl-league-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gsl-country-flag {
  width: 26px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
}

.gsl-league-row em {
  color: #d1b4b4;
  font-style: normal;
  font-size: 28px;
}

.gsl-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.gsl-tabs button {
  background: #374151;
  color: #ffffff;
  border: 0;
  border-radius: 4px;
  padding: 4px 8px;
  min-height: 23px;
  font-size: 11px;
  cursor: pointer;
}

.gsl-tabs button.active {
  border-bottom: 2px solid var(--gsl-green);
}

.gsl-leader-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 48px;
  align-items: center;
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 13px;
  gap: 6px;
}

.gsl-leader-row .team {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.gsl-leader-row img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

.gsl-leader-row .value {
  font-size: 14px;
  text-align: right;
}

.gsl-leader-row .value.green { color: var(--gsl-green); }
.gsl-leader-row .value.red { color: red; }

.gsl-insight p {
  color: var(--gsl-muted);
  font-size: 14px;
  line-height: 1.22;
  margin: 15px 0 0;
}

.gsl-insight a {
  display: block;
  background: var(--gsl-green);
  color: #000000 !important;
  text-decoration: none !important;
  border-radius: 4px;
  min-height: 25px;
  line-height: 25px;
  text-align: center;
  width: min(160px, 100%);
  margin: 42px auto 0;
  font-size: 13px;
}

/* =========================================================
   LIGHT THEME
========================================================= */

body.gsl-light-theme {
  background: #ffffff !important;
}

body.gsl-light-theme .gsl-app-frame {
  background: #f4f7fb !important;
  border-left: 1px solid #d9e2ef;
  border-right: 1px solid #d9e2ef;
}

body.gsl-light-theme .gsl-sidebar,
body.gsl-light-theme .gsl-brand,
body.gsl-light-theme .gsl-topbar {
  background: #ffffff !important;
  border-color: #d9e2ef !important;
}

body.gsl-light-theme .gsl-main,
body.gsl-light-theme .gsl-content {
  background: #f4f7fb !important;
}

body.gsl-light-theme .gsl-logo-dark { display: none; }
body.gsl-light-theme .gsl-logo-light { display: block; }

body.gsl-light-theme .gsl-menu-item,
body.gsl-light-theme .gsl-theme-row,
body.gsl-light-theme .gsl-leader-row {
  color: #0f172a !important;
}

body.gsl-light-theme .gsl-menu-item.active {
  background: rgba(0, 200, 83, 0.14);
  color: #064e3b !important;
  border-left-color: var(--gsl-green);
}

body.gsl-light-theme .gsl-menu-icon svg {
  stroke: #0f172a;
}

body.gsl-light-theme .gsl-menu-item.active .gsl-menu-icon svg {
  stroke: var(--gsl-green);
}

body.gsl-light-theme .gsl-search {
  background: #f8fafc;
  border: 1px solid #d9e2ef;
}

body.gsl-light-theme .gsl-search input {
  color: #64748b !important;
}

body.gsl-light-theme .gsl-search .gsl-top-icon svg {
  stroke: #64748b;
}

body.gsl-light-theme .gsl-top-icon svg {
  stroke: #0f172a;
}

body.gsl-light-theme .gsl-user-icon {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.gsl-light-theme .gsl-user-icon svg {
  stroke: #0f172a !important;
}

body.gsl-light-theme .gsl-section-title,
body.gsl-light-theme .gsl-card h2,
body.gsl-light-theme .gsl-card-head h2 {
  color: #0f172a !important;
}

body.gsl-light-theme .gsl-table-box,
body.gsl-light-theme .gsl-card {
  background: #ffffff !important;
  border: 1px solid #d9e2ef !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06) !important;
}

body.gsl-light-theme .gsl-matches-table {
  border: 1px solid #d9e2ef !important;
}

body.gsl-light-theme .gsl-matches-table th,
body.gsl-light-theme .gsl-matches-table td {
  border: 1px solid #d9e2ef !important;
}

body.gsl-light-theme .gsl-matches-table th {
  background: #eaf0f8 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.gsl-light-theme .gsl-matches-table td {
  background: #ffffff !important;
  color: #0f172a !important;
}

body.gsl-light-theme .gsl-matches-table tbody tr:hover td {
  background: #f8fafc !important;
}

body.gsl-light-theme .gsl-match-cell span {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.gsl-light-theme .gsl-view-all-match,
body.gsl-light-theme .gsl-tabs button,
body.gsl-light-theme .gsl-league-row {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

body.gsl-light-theme .gsl-view-all-match {
  color: #00a846 !important;
}

body.gsl-light-theme .gsl-league-row em,
body.gsl-light-theme .gsl-insight p {
  color: #64748b;
}

body.gsl-light-theme .gsl-theme-toggle,
body.gsl-light-theme button.gsl-theme-toggle {
  background: #cbd5e1 !important;
}

body.gsl-light-theme .gsl-theme-toggle span,
body.gsl-light-theme button.gsl-theme-toggle span {
  right: 22px !important;
  background: #ffffff !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

.gsl-mobile-menu-btn {
  display: none;
}

@media (max-width: 1100px) {
  :root { --gsl-sidebar: 210px; }

  .gsl-menu-item { font-size: 14px; }

  .gsl-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gsl-insight {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .gsl-app-frame {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .gsl-mobile-menu-btn {
    display: flex;
    position: fixed;
    z-index: 10001;
    top: 18px;
    left: 18px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gsl-border);
    border-radius: 10px;
    background: #10243a;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
  }

  .gsl-sidebar {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 20px 0 45px rgba(0, 0, 0, 0.35);
  }

  body.gsl-menu-open .gsl-sidebar {
    transform: translateX(0);
  }

  .gsl-main {
    grid-column: 1;
    width: 100%;
  }

  .gsl-topbar {
    padding-left: 72px;
  }

  .gsl-search {
    width: 100%;
    min-width: 0;
  }

  .gsl-top-actions {
    display: none;
  }

  .gsl-content {
    padding: 18px 14px;
  }

  .gsl-table-box {
    padding: 0 10px 12px;
    min-height: 0;
  }

  .gsl-bottom-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .gsl-insight {
    grid-column: auto;
  }

  .gsl-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .gsl-section-title { font-size: 19px; }

  .gsl-card h2,
  .gsl-card-head h2 { font-size: 18px; }

  .gsl-league-row,
  .gsl-leader-row { font-size: 16px; }

  .gsl-insight a { margin-top: 22px; }
}





.gsl-team-name {
  font-size: 12px;
  font-weight: 700;
  color: inherit;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



/* Match filters */
.gsl-match-filters {
  display: flex;
  align-items: end;
  gap: 14px;
  margin: 10px 0 14px;
}

.gsl-filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gsl-filter-field label {
  font-size: 12px;
  color: var(--gsl-muted);
  font-weight: 600;
}

.gsl-filter-field select,
.gsl-filter-field input {
  height: 34px;
  border: 1px solid var(--gsl-border);
  border-radius: 5px;
  background: #10243a;
  color: #ffffff;
  padding: 0 10px;
  outline: none;
  font-size: 13px;
}

.gsl-filter-search {
  flex: 1;
  max-width: 320px;
}

.gsl-league-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}

.gsl-league-cell img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.gsl-league-cell span {
  max-width: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Light theme filters */
body.gsl-light-theme .gsl-filter-field label {
  color: #64748b;
}

body.gsl-light-theme .gsl-filter-field select,
body.gsl-light-theme .gsl-filter-field input {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #d9e2ef;
}

@media (max-width: 700px) {
  .gsl-match-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .gsl-filter-search {
    max-width: 100%;
  }
}

.gsl-matches-table {
  min-width: 0 !important;
  width: 100% !important;
  table-layout: fixed !important;
}

.gsl-matches-table th,
.gsl-matches-table td {
  padding: 8px 6px !important;
  font-size: 12px !important;
}

.gsl-matches-table th:nth-child(1),
.gsl-matches-table td:nth-child(1) {
  width: 66px;
}

.gsl-matches-table th:nth-child(2),
.gsl-matches-table td:nth-child(2) {
  width: 120px;
}

.gsl-matches-table th:nth-child(3),
.gsl-matches-table td:nth-child(3) {
  width: 120px;
}

.gsl-league-cell span {
  max-width: 78px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gsl-match-cell {
  gap: 7px !important;
}

.gsl-match-cell img {
  width: 20px !important;
  height: 20px !important;
}

.gsl-country-flag {
  width: 24px !important;
  height: 16px !important;
}

.gsl-pill {
  min-width: 36px !important;
  font-size: 12px !important;
  padding: 0 6px !important;
}

.gsl-leader-panel {
  display: none;
}

.gsl-leader-panel.active {
  display: block;
}

.gsl-empty-leader {
  margin: 18px 0 0;
  color: var(--gsl-muted);
  font-size: 14px;
}

/* =========================================================
   LEAGUES STATS PAGE
========================================================= */

.gsl-leagues-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 14px;
}

.gsl-page-subtitle {
  margin: 4px 0 0;
  color: var(--gsl-muted);
  font-size: 14px;
}

.gsl-leagues-toolbar {
  display: flex;
  align-items: end;
  gap: 14px;
  margin: 12px 0 18px;
}

.gsl-league-stats-card {
  border: 1px solid var(--gsl-border);
  border-radius: 6px;
  background: var(--gsl-bg);
  overflow: hidden;
}

.gsl-league-stats-scroll {
  width: 100%;
  overflow-x: auto;
}

.gsl-league-stats-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1040px;
}

.gsl-league-stats-table th {
  background: var(--gsl-panel);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 11px 8px;
  text-align: center;
  border-bottom: 1px solid var(--gsl-border);
  white-space: nowrap;
}

.gsl-league-stats-table th:first-child {
  text-align: left;
}

.gsl-league-stats-table td {
  color: #ffffff;
  font-size: 13px;
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--gsl-border);
  white-space: nowrap;
}

.gsl-league-stats-table td:first-child {
  text-align: left;
}

.gsl-league-stat-name {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 260px;
}

.gsl-league-stat-name img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
}

.gsl-league-stat-name strong {
  font-weight: 700;
}

.gsl-league-stat-name em {
  color: var(--gsl-muted);
  font-style: normal;
  margin: 0 3px;
}

.gsl-stats-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #000000 !important;
  text-decoration: none !important;
  font-size: 13px;
}

.gsl-green-text {
  color: var(--gsl-green) !important;
}

.gsl-blue-text {
  color: #38bdf8 !important;
}

.gsl-muted-text {
  color: var(--gsl-muted) !important;
}

/* Light theme */
body.gsl-light-theme .gsl-league-stats-card {
  background: #ffffff !important;
  border: 1px solid #d9e2ef;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

body.gsl-light-theme .gsl-league-stats-table th {
  background: #eaf0f8;
  color: #0f172a;
  border-bottom: 1px solid #d9e2ef;
}

body.gsl-light-theme .gsl-league-stats-table td {
  color: #0f172a;
  border-bottom: 1px solid #d9e2ef;
}

body.gsl-light-theme .gsl-league-stat-name em,
body.gsl-light-theme .gsl-muted-text,
body.gsl-light-theme .gsl-page-subtitle {
  color: #64748b !important;
}

body.gsl-light-theme .gsl-stats-btn {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #000000 !important;
}

/* Responsive */
@media (max-width: 800px) {
  .gsl-leagues-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================================================
   TEAMS PAGE
========================================================= */

.gsl-team-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin: 14px 0 10px;
  border: 1px solid var(--gsl-border);
  border-radius: 6px;
  padding: 12px;
}

.gsl-team-hero {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 18px;
  border: 1px solid var(--gsl-border);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 14px;
  background: var(--gsl-bg);
}

.gsl-team-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gsl-team-logo-xl {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex: 0 0 auto;
}

.gsl-team-identity h2 {
  margin: 0;
  color: #ffffff;
  font-size: 26px;
}

.gsl-team-identity p {
  margin: 5px 0;
  color: #ffffff;
  font-size: 14px;
}

.gsl-team-identity span {
  color: var(--gsl-muted);
  font-size: 13px;
}

.gsl-inline-flag {
  width: 21px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: -2px;
}

.gsl-team-kpis {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border: 1px solid var(--gsl-border);
  border-radius: 6px;
  overflow: hidden;
}

.gsl-team-kpis div {
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid var(--gsl-border);
}

.gsl-team-kpis div:last-child {
  border-right: none;
}

.gsl-team-kpis span {
  display: block;
  color: var(--gsl-soft);
  font-size: 12px;
  margin-bottom: 6px;
}

.gsl-team-kpis strong {
  color: #ffffff;
  font-size: 23px;
}

.gsl-team-kpis .green {
  color: var(--gsl-green);
}

.gsl-team-kpis .yellow {
  color: #facc15;
}

.gsl-team-kpis .red {
  color: #ef4444;
}

.gsl-team-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.gsl-team-grid-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gsl-team-panel {
  min-height: auto;
}

.gsl-mini-table {
  width: 100%;
  border-collapse: collapse;
}

.gsl-mini-table th {
  color: var(--gsl-soft);
  font-size: 12px;
  padding: 7px 6px;
  border-bottom: 1px solid var(--gsl-border);
  text-align: center;
}

.gsl-mini-table th:first-child,
.gsl-mini-table td:first-child {
  text-align: left;
}

.gsl-mini-table td {
  color: #ffffff;
  font-size: 13px;
  padding: 7px 6px;
  border-bottom: 1px solid rgba(31, 58, 86, 0.8);
  text-align: center;
}

.gsl-mini-table tr.active td {
  background: rgba(0, 200, 83, 0.15);
  color: #ffffff;
  font-weight: 700;
}

.gsl-mini-table .team {
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
}

.gsl-mini-table .team img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.gsl-last-matches-list {
  display: grid;
  gap: 4px;
}

.gsl-last-match {
  display: grid;
  grid-template-columns: 48px 1fr auto 1fr 22px 44px;
  gap: 5px;
  align-items: center;
  padding: 7px 8px;
  color: #0f172a;
  font-size: 12px;
  border-radius: 4px;
}

.gsl-last-match.win {
  background: #c8f1ca;
}

.gsl-last-match.draw {
  background: #fff7b8;
}

.gsl-last-match.loss {
  background: #ffc1c1;
}

.gsl-last-match b {
  background: #ffffff;
  color: #0000ff;
  border-radius: 5px;
  padding: 3px 6px;
  text-align: center;
}

.gsl-goals-table tr.good td {
  background: rgba(34, 197, 94, 0.18);
}

.gsl-goals-table tr.bad td {
  background: rgba(239, 68, 68, 0.22);
}

.gsl-coming-soon {
  border: 1px dashed var(--gsl-border);
  color: var(--gsl-muted);
  border-radius: 6px;
  padding: 18px;
  font-size: 13px;
  line-height: 1.4;
}

/* Light theme */
body.gsl-light-theme .gsl-team-hero,
body.gsl-light-theme .gsl-team-filters {
  background: #ffffff !important;
  border-color: #d9e2ef !important;
}

body.gsl-light-theme .gsl-team-identity h2,
body.gsl-light-theme .gsl-team-identity p,
body.gsl-light-theme .gsl-team-kpis strong,
body.gsl-light-theme .gsl-mini-table td {
  color: #0f172a;
}

body.gsl-light-theme .gsl-team-kpis,
body.gsl-light-theme .gsl-team-kpis div,
body.gsl-light-theme .gsl-mini-table th,
body.gsl-light-theme .gsl-mini-table td {
  border-color: #d9e2ef;
}

body.gsl-light-theme .gsl-mini-table th,
body.gsl-light-theme .gsl-team-identity span,
body.gsl-light-theme .gsl-coming-soon {
  color: #64748b;
}

/* Responsive */
@media (max-width: 1100px) {
  .gsl-team-hero {
    grid-template-columns: 1fr;
  }

  .gsl-team-kpis {
    grid-template-columns: repeat(4, 1fr);
  }

  .gsl-team-grid-top,
  .gsl-team-grid-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .gsl-team-filters,
  .gsl-team-grid-top,
  .gsl-team-grid-main {
    grid-template-columns: 1fr;
  }

  .gsl-team-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .gsl-last-match {
    grid-template-columns: 42px 1fr 28px;
  }

  .gsl-last-match em,
  .gsl-last-match small {
    display: none;
  }
}


/* =========================================================
   TEAM GOALS BY HALF / GOAL TRENDS
========================================================= */

.gsl-half-goals {
  display: grid;
  gap: 10px;
}

.gsl-half-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gsl-border);
  border-radius: 6px;
  overflow: hidden;
}

.gsl-half-label {
  grid-row: span 2;
  background: rgba(34,197,94,0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 10px;
}

.gsl-half-data {
  display: grid;
  grid-template-columns: 32px 42px 1fr 45px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #ffffff;
}

.gsl-half-data span {
  color: var(--gsl-soft);
}

.gsl-half-data strong {
  color: #ffffff;
}

.gsl-half-data b {
  color: var(--gsl-green);
  text-align: right;
}

.gsl-half-data.red b {
  color: #ef4444;
}

.gsl-half-bar {
  height: 9px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
}

.gsl-half-bar em {
  display: block;
  height: 100%;
  background: var(--gsl-green);
  border-radius: 999px;
}

.gsl-half-data.red .gsl-half-bar em {
  background: #ef4444;
}

.gsl-trend-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--gsl-border);
  border-radius: 6px;
  overflow: hidden;
}

.gsl-trend-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--gsl-border);
  color: #ffffff;
  font-size: 13px;
}

.gsl-trend-list div:last-child {
  border-bottom: none;
}

.gsl-trend-list span {
  color: var(--gsl-soft);
}

.gsl-trend-list strong {
  color: var(--gsl-green);
}

.gsl-trend-list strong.red {
  color: #ef4444;
}

/* Light theme */
body.gsl-light-theme .gsl-half-row,
body.gsl-light-theme .gsl-trend-list,
body.gsl-light-theme .gsl-trend-list div {
  border-color: #d9e2ef;
}

body.gsl-light-theme .gsl-half-label {
  color: #0f172a;
}

body.gsl-light-theme .gsl-half-data,
body.gsl-light-theme .gsl-half-data strong,
body.gsl-light-theme .gsl-trend-list div {
  color: #0f172a;
}

body.gsl-light-theme .gsl-half-data span,
body.gsl-light-theme .gsl-trend-list span {
  color: #64748b;
}

body.gsl-light-theme .gsl-half-bar {
  background: #e2e8f0;
}


/* =========================================================
   DARK THEME TABLE POLISH - TEAMS PAGE
========================================================= */

body:not(.gsl-light-theme) .gsl-team-panel {
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%) !important;
  border: 1px solid rgba(96, 125, 160, 0.22) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18) !important;
}

body:not(.gsl-light-theme) .gsl-mini-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

body:not(.gsl-light-theme) .gsl-mini-table th {
  background: rgba(255, 255, 255, 0.055) !important;
  color: #cbd5e1 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
  border-right: none !important;
  font-weight: 700 !important;
}

body:not(.gsl-light-theme) .gsl-mini-table td {
  background: transparent !important;
  color: #e5edf7 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
  border-right: none !important;
}

body:not(.gsl-light-theme) .gsl-mini-table tbody tr:last-child td {
  border-bottom: none !important;
}

body:not(.gsl-light-theme) .gsl-mini-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.035) !important;
}

body:not(.gsl-light-theme) .gsl-mini-table tr.active td {
  background: rgba(0, 200, 83, 0.12) !important;
  color: #ffffff !important;
}

body:not(.gsl-light-theme) .gsl-goals-table tr.good td {
  background: rgba(34, 197, 94, 0.13) !important;
}

body:not(.gsl-light-theme) .gsl-goals-table tr.bad td {
  background: rgba(239, 68, 68, 0.13) !important;
}

body:not(.gsl-light-theme) .gsl-trend-list {
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

body:not(.gsl-light-theme) .gsl-trend-list div {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
  color: #e5edf7 !important;
}

body:not(.gsl-light-theme) .gsl-half-row {
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

body:not(.gsl-light-theme) .gsl-coming-soon {
  border: 1px dashed rgba(148, 163, 184, 0.25) !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: #94a3b8 !important;
}


/* =========================================================
   DARK THEME LAST MATCHES
========================================================= */

body:not(.gsl-light-theme) .gsl-last-matches-list {
  gap: 6px !important;
}

body:not(.gsl-light-theme) .gsl-last-match {
  color: #e5edf7 !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border-left: 4px solid transparent !important;
}

body:not(.gsl-light-theme) .gsl-last-match.win {
  background: rgba(0, 200, 83, 0.11) !important;
  border-left-color: #00c853 !important;
}

body:not(.gsl-light-theme) .gsl-last-match.draw {
  background: rgba(250, 204, 21, 0.10) !important;
  border-left-color: #facc15 !important;
}

body:not(.gsl-light-theme) .gsl-last-match.loss {
  background: rgba(239, 68, 68, 0.10) !important;
  border-left-color: #ef4444 !important;
}

body:not(.gsl-light-theme) .gsl-last-match span {
  color: #94a3b8 !important;
}

body:not(.gsl-light-theme) .gsl-last-match strong {
  color: #ffffff !important;
}

body:not(.gsl-light-theme) .gsl-last-match em,
body:not(.gsl-light-theme) .gsl-last-match small {
  color: #cbd5e1 !important;
}

body:not(.gsl-light-theme) .gsl-last-match b {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}


/* =========================================================
   TABLE POSITION - FIX LONG TEAM NAMES
========================================================= */

.gsl-mini-table .team {
  min-width: 0 !important;
}

.gsl-standing-team-name {
  display: block !important;
  min-width: 0 !important;
  max-width: 145px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.gsl-standings-separator td {
  text-align: center !important;
  color: #94a3b8 !important;
  letter-spacing: 4px !important;
  padding: 4px 0 !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

body.gsl-light-theme .gsl-standings-separator td {
  background: #f1f5f9 !important;
  color: #64748b !important;
}

/* =========================================================
   LAST MATCHES WITH LOGOS
========================================================= */

.gsl-last-match {
  display: grid !important;
  grid-template-columns: 58px 1fr 24px 48px !important;
  gap: 8px !important;
  align-items: center !important;
  padding: 10px 10px !important;
  border-radius: 6px !important;
}

.gsl-last-match span {
  white-space: nowrap;
}

.gsl-last-match-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.gsl-last-match-logos img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.gsl-last-match-logos em {
  font-style: normal;
  color: #cbd5e1;
  font-weight: 700;
}

.gsl-last-match small {
  text-align: center !important;
  font-weight: 700 !important;
}

.gsl-last-match b {
  justify-self: end !important;
  min-width: 42px !important;
  text-align: center !important;
}

/* =========================================================
   LAST MATCHES - DATE | HOME LOGO | SCORE | AWAY LOGO
========================================================= */

.gsl-last-match {
  display: grid !important;
  grid-template-columns: 58px 1fr 58px 1fr !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 10px 12px !important;
  border-radius: 7px !important;
  min-height: 52px !important;
  border-left: 4px solid transparent !important;
}

.gsl-last-date {
  color: #94a3b8 !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

.gsl-last-team-logo {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
}

.gsl-home-logo {
  justify-content: flex-end !important;
}

.gsl-away-logo {
  justify-content: flex-start !important;
}

.gsl-last-team-logo img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.gsl-last-score {
  justify-self: center !important;
  min-width: 52px !important;
  height: 32px !important;
  padding: 0 9px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
}

/* Dark theme */
body:not(.gsl-light-theme) .gsl-last-match {
  color: #e5edf7 !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

body:not(.gsl-light-theme) .gsl-last-match.win {
  background: rgba(0, 200, 83, 0.10) !important;
  border-left: 4px solid #00c853 !important;
}

body:not(.gsl-light-theme) .gsl-last-match.draw {
  background: rgba(250, 204, 21, 0.10) !important;
  border-left: 4px solid #facc15 !important;
}

body:not(.gsl-light-theme) .gsl-last-match.loss {
  background: rgba(239, 68, 68, 0.10) !important;
  border-left: 4px solid #ef4444 !important;
}

body:not(.gsl-light-theme) .gsl-last-score {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  color: #ffffff !important;
}

/* Light theme */
body.gsl-light-theme .gsl-last-match {
  border: 1px solid #d9e2ef !important;
  background: #ffffff !important;
}

body.gsl-light-theme .gsl-last-match.win {
  background: #e8f8ea !important;
  border-left: 4px solid #22c55e !important;
}

body.gsl-light-theme .gsl-last-match.draw {
  background: #fff9d6 !important;
  border-left: 4px solid #eab308 !important;
}

body.gsl-light-theme .gsl-last-match.loss {
  background: #ffe3e3 !important;
  border-left: 4px solid #ef4444 !important;
}

body.gsl-light-theme .gsl-last-date {
  color: #64748b !important;
}

body.gsl-light-theme .gsl-last-score {
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #0f172a !important;
}


/* =========================================================
   PLAYERS PAGE
========================================================= */

.gsl-player-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 14px;
  margin: 14px 0;
  border: 1px solid var(--gsl-border);
  border-radius: 8px;
  padding: 12px;
  background: var(--gsl-bg);
}

.gsl-player-hero {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 14px;
  border: 1px solid var(--gsl-border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%);
}

.gsl-player-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.gsl-player-photo-wrap {
  width: 128px;
  height: 128px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(148,163,184,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.gsl-player-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gsl-player-info {
  min-width: 0;
}

.gsl-player-meta-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--gsl-muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.gsl-player-meta-line img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.gsl-player-meta-line em {
  font-style: normal;
  color: var(--gsl-border);
}

.gsl-player-info h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
}

.gsl-player-club {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
}

.gsl-player-club img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.gsl-player-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gsl-player-tags span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(148,163,184,0.18);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
}

.gsl-player-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gsl-player-kpis div {
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
  padding: 12px;
}

.gsl-player-kpis span {
  display: block;
  color: var(--gsl-muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.gsl-player-kpis strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.gsl-player-kpis strong.green {
  color: var(--gsl-green);
}

.gsl-player-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.gsl-player-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gsl-player-panel {
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%) !important;
  border: 1px solid rgba(96, 125, 160, 0.22) !important;
}

.gsl-player-stat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gsl-player-stat-cards div {
  border: 1px solid rgba(148,163,184,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
  padding: 10px;
}

.gsl-player-stat-cards span {
  display: block;
  color: var(--gsl-muted);
  font-size: 12px;
  margin-bottom: 5px;
}

.gsl-player-stat-cards strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
}

.gsl-player-stat-cards strong.red {
  color: #ef4444;
}

.gsl-top-player-list {
  display: grid;
  gap: 7px;
}

.gsl-top-player-row {
  display: grid;
  grid-template-columns: 22px 34px 1fr 48px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(148,163,184,0.14);
  border-radius: 8px;
  padding: 6px 8px;
  color: #ffffff !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.03);
}

.gsl-top-player-row:hover {
  background: rgba(255,255,255,0.06);
}

.gsl-top-player-row img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.gsl-top-player-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gsl-top-player-row em {
  font-style: normal;
  color: var(--gsl-green);
  font-weight: 800;
  text-align: right;
}

.gsl-player-bio-grid {
  display: grid;
  gap: 8px;
}

.gsl-player-bio-grid div {
  border-bottom: 1px solid rgba(148,163,184,0.14);
  padding-bottom: 8px;
}

.gsl-player-bio-grid span {
  display: block;
  color: var(--gsl-muted);
  font-size: 12px;
  margin-bottom: 3px;
}

.gsl-player-bio-grid strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
}

/* Light theme */
body.gsl-light-theme .gsl-player-filters,
body.gsl-light-theme .gsl-player-hero,
body.gsl-light-theme .gsl-player-panel {
  background: #ffffff !important;
  border-color: #d9e2ef !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

body.gsl-light-theme .gsl-player-info h2,
body.gsl-light-theme .gsl-player-club,
body.gsl-light-theme .gsl-player-kpis strong,
body.gsl-light-theme .gsl-player-stat-cards strong,
body.gsl-light-theme .gsl-top-player-row,
body.gsl-light-theme .gsl-player-bio-grid strong {
  color: #0f172a !important;
}

body.gsl-light-theme .gsl-player-tags span,
body.gsl-light-theme .gsl-player-kpis div,
body.gsl-light-theme .gsl-player-stat-cards div,
body.gsl-light-theme .gsl-top-player-row {
  background: #f8fafc;
  border-color: #d9e2ef;
}

body.gsl-light-theme .gsl-player-meta-line,
body.gsl-light-theme .gsl-player-tags span,
body.gsl-light-theme .gsl-player-kpis span,
body.gsl-light-theme .gsl-player-stat-cards span,
body.gsl-light-theme .gsl-player-bio-grid span {
  color: #64748b;
}

/* Responsive */
@media (max-width: 1100px) {
  .gsl-player-hero,
  .gsl-player-main-grid {
    grid-template-columns: 1fr;
  }

  .gsl-player-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gsl-player-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .gsl-player-filters,
  .gsl-player-stats-grid {
    grid-template-columns: 1fr;
  }

  .gsl-player-profile {
    align-items: flex-start;
  }

  .gsl-player-photo-wrap {
    width: 92px;
    height: 92px;
    border-radius: 14px;
  }

  .gsl-player-info h2 {
    font-size: 22px;
  }

  .gsl-player-kpis {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   MATCHES PAGE
========================================================= */

.gsl-matches-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.gsl-matches-main {
  min-width: 0;
}

.gsl-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--gsl-border);
  border-radius: 8px;
  color: #ffffff !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.03);
  font-weight: 700;
  font-size: 13px;
}

.gsl-outline-btn svg {
  width: 16px;
  height: 16px;
}

.gsl-match-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 16px 0;
}

.gsl-summary-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--gsl-border);
  border-radius: 10px;
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%);
  padding: 16px;
}

.gsl-summary-card > span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.18);
  color: var(--gsl-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.gsl-summary-card.red > span {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.gsl-summary-card svg {
  width: 24px;
  height: 24px;
}

.gsl-summary-card strong {
  display: block;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.gsl-summary-card small {
  display: block;
  color: var(--gsl-muted);
  font-size: 13px;
  margin-top: 4px;
}

.gsl-matches-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr auto;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--gsl-border);
  border-radius: 10px;
  background: var(--gsl-bg);
  padding: 12px;
  margin-bottom: 16px;
}

.gsl-filter-submit {
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--gsl-green);
  color: #061a12;
  font-weight: 800;
  padding: 0 16px;
  cursor: pointer;
}

.gsl-matches-table-card {
  border: 1px solid var(--gsl-border);
  border-radius: 10px;
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%);
  overflow: hidden;
}

.gsl-matches-scroll {
  width: 100%;
  overflow-x: auto;
}

.gsl-matches-list-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
}

.gsl-matches-list-table th {
  background: rgba(255,255,255,0.055);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(148,163,184,0.16);
  white-space: nowrap;
}

.gsl-matches-list-table th:first-child,
.gsl-matches-list-table td:first-child {
  text-align: left;
}

.gsl-matches-list-table td {
  color: #e5edf7;
  font-size: 13px;
  padding: 11px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(148,163,184,0.12);
  white-space: nowrap;
}

.gsl-matches-list-table tbody tr:hover td {
  background: rgba(255,255,255,0.035);
}

.gsl-match-league {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 135px;
}

.gsl-match-league img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.gsl-match-versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 250px;
}

.gsl-match-versus span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gsl-match-versus span:first-child {
  justify-content: flex-end;
}

.gsl-match-versus span:last-child {
  justify-content: flex-start;
}

.gsl-match-versus img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.gsl-match-versus em {
  color: var(--gsl-muted);
  font-style: normal;
  text-transform: uppercase;
  font-size: 11px;
}

.gsl-score-cell {
  color: var(--gsl-green) !important;
  font-weight: 800;
}

.gsl-live-time {
  color: #ef4444;
  font-weight: 800;
  line-height: 1.2;
}

.gsl-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 30px;
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 7px;
  color: var(--gsl-green) !important;
  text-decoration: none !important;
  font-weight: 800;
  background: rgba(255,255,255,0.03);
}

.gsl-view-btn:hover {
  background: rgba(0,200,83,0.13);
}

.gsl-matches-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.gsl-side-card {
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%) !important;
  border: 1px solid rgba(96, 125, 160, 0.22) !important;
}

.gsl-side-empty {
  color: var(--gsl-muted);
  font-size: 13px;
  margin: 0;
}

.gsl-live-list {
  display: grid;
  gap: 10px;
}

.gsl-live-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  border-bottom: 1px solid rgba(148,163,184,0.12);
  padding-bottom: 10px;
}

.gsl-live-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gsl-live-minute {
  color: #ef4444;
  font-weight: 800;
  font-size: 13px;
}

.gsl-live-row p {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  gap: 8px;
  align-items: center;
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 13px;
}

.gsl-live-row p:last-child {
  margin-bottom: 0;
}

.gsl-live-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.gsl-live-row strong {
  text-align: right;
  color: #ffffff;
}

.gsl-top-picks-list {
  display: grid;
  gap: 9px;
}

.gsl-top-pick-row {
  display: grid;
  grid-template-columns: 30px 1fr 52px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(148,163,184,0.14);
  border-radius: 9px;
  padding: 9px;
  background: rgba(255,255,255,0.03);
}

.gsl-top-pick-row > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gsl-green);
  color: #061a12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.gsl-top-pick-row strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
}

.gsl-top-pick-row small {
  display: block;
  color: var(--gsl-muted);
  font-size: 12px;
}

.gsl-top-pick-row b {
  background: rgba(0,200,83,0.16);
  color: var(--gsl-green);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  text-align: center;
}

.gsl-popular-match-leagues {
  display: grid;
}

.gsl-popular-match-leagues div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(148,163,184,0.12);
  padding: 9px 0;
}

.gsl-popular-match-leagues div:last-child {
  border-bottom: none;
}

.gsl-popular-match-leagues span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}

.gsl-popular-match-leagues img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.gsl-popular-match-leagues strong {
  color: var(--gsl-muted);
  font-size: 12px;
}

/* Light theme */
body.gsl-light-theme .gsl-outline-btn,
body.gsl-light-theme .gsl-summary-card,
body.gsl-light-theme .gsl-matches-filters,
body.gsl-light-theme .gsl-matches-table-card,
body.gsl-light-theme .gsl-side-card {
  background: #ffffff !important;
  border-color: #d9e2ef !important;
  color: #0f172a !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

body.gsl-light-theme .gsl-summary-card strong,
body.gsl-light-theme .gsl-matches-list-table td,
body.gsl-light-theme .gsl-live-row p,
body.gsl-light-theme .gsl-live-row strong,
body.gsl-light-theme .gsl-top-pick-row strong,
body.gsl-light-theme .gsl-popular-match-leagues span {
  color: #0f172a;
}

body.gsl-light-theme .gsl-matches-list-table th {
  background: #eaf0f8;
  color: #0f172a;
}

body.gsl-light-theme .gsl-matches-list-table td {
  border-bottom: 1px solid #d9e2ef;
}

/* Responsive */
@media (max-width: 1180px) {
  .gsl-matches-layout {
    grid-template-columns: 1fr;
  }

  .gsl-matches-side {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .gsl-match-summary-grid,
  .gsl-matches-side {
    grid-template-columns: 1fr 1fr;
  }

  .gsl-matches-filters {
    grid-template-columns: 1fr 1fr;
  }

  .gsl-filter-submit {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .gsl-match-summary-grid,
  .gsl-matches-side,
  .gsl-matches-filters {
    grid-template-columns: 1fr;
  }

  .gsl-filter-submit {
    grid-column: auto;
  }
}


/* =========================================================
   MATCHES PAGE - FULL WIDTH TABLE + BOTTOM CARDS
========================================================= */

.gsl-matches-layout,
.gsl-matches-layout-full {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.gsl-matches-main {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

/* Summary cards */
.gsl-match-summary-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 16px 0 !important;
}

/* Filters */
.gsl-matches-filters {
  display: grid !important;
  grid-template-columns: 110px 1fr 145px 110px 1.3fr 90px !important;
  gap: 12px !important;
  align-items: end !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Table should use full content width */
.gsl-matches-table-card {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin-bottom: 18px !important;
}

.gsl-matches-scroll {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.gsl-matches-list-table {
  width: 100% !important;
  min-width: 980px !important;
  border-collapse: collapse !important;
}

/* Better column compactness */
.gsl-matches-list-table th,
.gsl-matches-list-table td {
  padding: 10px 8px !important;
}

.gsl-match-league {
  min-width: 120px !important;
  max-width: 150px !important;
}

.gsl-match-league span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.gsl-match-versus {
  min-width: 280px !important;
  max-width: 340px !important;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) !important;
}

.gsl-match-versus span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Bottom cards */
.gsl-matches-bottom-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  margin-top: 18px !important;
}

.gsl-matches-bottom-cards .gsl-side-card {
  min-width: 0 !important;
  width: 100% !important;
}

/* Disable old sidebar behavior */
.gsl-matches-side {
  width: auto !important;
  max-width: none !important;
}

@media (max-width: 1000px) {
  .gsl-match-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .gsl-matches-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .gsl-filter-submit {
    grid-column: span 2 !important;
  }

  .gsl-matches-bottom-cards {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .gsl-match-summary-grid,
  .gsl-matches-filters {
    grid-template-columns: 1fr !important;
  }

  .gsl-filter-submit {
    grid-column: auto !important;
  }
}

/* =========================================================
   MATCHES TABLE - NO SCROLL / COMPACT LEAGUE + ALIGNED MATCH
========================================================= */

.gsl-matches-scroll {
  overflow-x: visible !important;
}

.gsl-matches-list-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}

/* Larguras das colunas */
.gsl-matches-list-table th:nth-child(1),
.gsl-matches-list-table td:nth-child(1) {
  width: 58px !important;
}

.gsl-matches-list-table th:nth-child(2),
.gsl-matches-list-table td:nth-child(2) {
  width: 52px !important;
}

.gsl-matches-list-table th:nth-child(3),
.gsl-matches-list-table td:nth-child(3) {
  width: auto !important;
}

.gsl-matches-list-table th:nth-child(4),
.gsl-matches-list-table td:nth-child(4),
.gsl-matches-list-table th:nth-child(5),
.gsl-matches-list-table td:nth-child(5),
.gsl-matches-list-table th:nth-child(6),
.gsl-matches-list-table td:nth-child(6) {
  width: 54px !important;
}

.gsl-matches-list-table th:nth-child(7),
.gsl-matches-list-table td:nth-child(7),
.gsl-matches-list-table th:nth-child(8),
.gsl-matches-list-table td:nth-child(8) {
  width: 74px !important;
}

.gsl-matches-list-table th:nth-child(9),
.gsl-matches-list-table td:nth-child(9) {
  width: 64px !important;
}

.gsl-matches-list-table th:nth-child(10),
.gsl-matches-list-table td:nth-child(10) {
  width: 68px !important;
}

.gsl-matches-list-table th:nth-child(11),
.gsl-matches-list-table td:nth-child(11) {
  width: 70px !important;
}

/* Padding mais compacto */
.gsl-matches-list-table th,
.gsl-matches-list-table td {
  padding: 9px 6px !important;
  overflow: hidden !important;
}

/* Coluna League: só bandeira */
.gsl-league-flag-cell {
  text-align: center !important;
}

.gsl-match-league-flag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 22px !important;
}

.gsl-match-league-flag img {
  width: 24px !important;
  height: 16px !important;
  object-fit: cover !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* Coluna Match alinhada */
.gsl-match-cell-wide {
  min-width: 0 !important;
}

.gsl-match-versus {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.gsl-match-versus span {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.gsl-match-versus .gsl-team-home {
  justify-content: flex-end !important;
  text-align: right !important;
}

.gsl-match-versus .gsl-team-away {
  justify-content: flex-start !important;
  text-align: left !important;
}

.gsl-match-versus strong {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
  color: inherit !important;
}

.gsl-match-versus img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.gsl-match-versus em {
  display: block !important;
  text-align: center !important;
  color: var(--gsl-muted) !important;
  font-style: normal !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

/* Botão View mais compacto */
.gsl-view-btn {
  min-width: 52px !important;
  height: 28px !important;
  font-size: 12px !important;
}

/* Pills mais compactos */
.gsl-matches-list-table .gsl-pill {
  min-width: 44px !important;
  padding: 2px 6px !important;
  font-size: 12px !important;
}


/* =========================================================
   MATCH ANALYSIS PAGE
========================================================= */

.gsl-analysis-hero {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  border: 1px solid var(--gsl-border);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%);
  margin-bottom: 14px;
}

.gsl-analysis-team {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gsl-analysis-team img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 12px;
}

.gsl-analysis-team h2 {
  color: #ffffff;
  margin: 0;
  font-size: 24px;
}

.gsl-analysis-team span {
  color: var(--gsl-muted);
  font-size: 13px;
  margin-top: 4px;
}

.gsl-analysis-score {
  border-left: 1px solid rgba(148,163,184,0.16);
  border-right: 1px solid rgba(148,163,184,0.16);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gsl-analysis-score span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
}

.gsl-analysis-score span img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.gsl-analysis-score strong {
  display: block;
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
  margin: 12px 0 4px;
}

.gsl-analysis-score em {
  color: var(--gsl-green);
  font-style: normal;
  font-weight: 800;
}

.gsl-analysis-score small {
  color: var(--gsl-muted);
  font-size: 12px;
  margin-top: 7px;
}

.gsl-analysis-meta {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(148,163,184,0.16);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gsl-analysis-meta span {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #cbd5e1;
  font-size: 13px;
}

.gsl-analysis-meta svg {
  width: 16px;
  height: 16px;
}

.gsl-form-badges {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  justify-content: center;
}

.gsl-form-badges b {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.gsl-form-badges .w {
  background: #16a34a;
}

.gsl-form-badges .d {
  background: #eab308;
}

.gsl-form-badges .l {
  background: #ef4444;
}

.gsl-analysis-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--gsl-border);
  margin-bottom: 14px;
}

.gsl-analysis-tabs button {
  background: transparent;
  border: 0;
  color: var(--gsl-muted);
  padding: 12px 0;
  font-weight: 800;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.gsl-analysis-tabs button.active {
  color: var(--gsl-green);
  border-color: var(--gsl-green);
}

.gsl-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gsl-analysis-panel {
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%) !important;
  border: 1px solid rgba(96, 125, 160, 0.22) !important;
}

.gsl-prediction-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.gsl-prediction-boxes div {
  border: 1px solid rgba(148,163,184,0.16);
  border-radius: 9px;
  background: rgba(255,255,255,0.03);
  padding: 13px;
}

.gsl-prediction-boxes span {
  display: block;
  color: var(--gsl-muted);
  font-size: 12px;
  margin-bottom: 7px;
}

.gsl-prediction-boxes strong {
  color: var(--gsl-green);
  font-size: 24px;
}

.gsl-prediction-boxes strong.yellow {
  color: #facc15;
}

.gsl-prediction-boxes strong.red {
  color: #ef4444;
}

.gsl-team-form-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gsl-team-form-compare h3 {
  color: #ffffff;
  margin: 0 0 6px;
}

.gsl-team-form-compare p {
  display: flex;
  justify-content: space-between;
  color: var(--gsl-muted);
  margin: 10px 0 0;
  font-size: 13px;
}

.gsl-team-form-compare strong {
  color: var(--gsl-green);
}

.gsl-team-form-compare strong.red {
  color: #ef4444;
}

.gsl-goals-compare {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.gsl-goals-compare div {
  position: relative;
  min-height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148,163,184,0.15);
  padding: 8px 12px 8px 54px;
}

.gsl-goals-compare img {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 32px;
  height: 32px;
  object-fit: contain;
  z-index: 2;
}

.gsl-goals-compare span {
  display: block;
  color: var(--gsl-muted);
  font-size: 12px;
  position: relative;
  z-index: 2;
}

.gsl-goals-compare strong {
  color: #ffffff;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.gsl-goals-compare em {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: rgba(0,200,83,0.26);
  z-index: 1;
}

.gsl-goals-compare .away em {
  background: rgba(96,165,250,0.28);
}

.gsl-match-insight p {
  color: #cbd5e1;
  line-height: 1.5;
  font-size: 14px;
}

.gsl-insight-actions {
  margin-top: 12px;
}

.gsl-insight-actions a {
  display: inline-flex;
  min-height: 34px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  background: var(--gsl-green);
  color: #061a12 !important;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  .gsl-analysis-hero {
    grid-template-columns: 1fr;
  }

  .gsl-analysis-score {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(148,163,184,0.16);
    border-bottom: 1px solid rgba(148,163,184,0.16);
  }

  .gsl-analysis-meta {
    grid-template-columns: 1fr 1fr;
  }

  .gsl-analysis-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   LEAGUES PAGE - NO HORIZONTAL SCROLL
========================================================= */

.gsl-league-stats-card {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.gsl-league-stats-scroll {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: visible !important;
}

.gsl-league-stats-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

/* Coluna League maior */
.gsl-league-stats-table th:nth-child(1),
.gsl-league-stats-table td:nth-child(1) {
  width: 32% !important;
}

/* GP */
.gsl-league-stats-table th:nth-child(2),
.gsl-league-stats-table td:nth-child(2) {
  width: 6% !important;
}

/* Home W, Draws, Away W */
.gsl-league-stats-table th:nth-child(3),
.gsl-league-stats-table td:nth-child(3),
.gsl-league-stats-table th:nth-child(4),
.gsl-league-stats-table td:nth-child(4),
.gsl-league-stats-table th:nth-child(5),
.gsl-league-stats-table td:nth-child(5) {
  width: 8% !important;
}

/* Goals, HG, AG */
.gsl-league-stats-table th:nth-child(6),
.gsl-league-stats-table td:nth-child(6),
.gsl-league-stats-table th:nth-child(7),
.gsl-league-stats-table td:nth-child(7),
.gsl-league-stats-table th:nth-child(8),
.gsl-league-stats-table td:nth-child(8) {
  width: 6% !important;
}

/* 1.5+, 2.5+, 3.5+, BTS */
.gsl-league-stats-table th:nth-child(9),
.gsl-league-stats-table td:nth-child(9),
.gsl-league-stats-table th:nth-child(10),
.gsl-league-stats-table td:nth-child(10),
.gsl-league-stats-table th:nth-child(11),
.gsl-league-stats-table td:nth-child(11),
.gsl-league-stats-table th:nth-child(12),
.gsl-league-stats-table td:nth-child(12) {
  width: 6% !important;
}

.gsl-league-stats-table th,
.gsl-league-stats-table td {
  padding: 10px 6px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Primeira coluna: bandeira + liga */
.gsl-league-stat-name {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.gsl-league-stat-name img {
  width: 24px !important;
  height: 16px !important;
  object-fit: cover !important;
  border-radius: 2px !important;
  flex: 0 0 auto !important;
}

.gsl-league-stat-name span {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
}

.gsl-league-stat-name em {
  display: none !important;
}

/* =========================================================
   HOME TABLE - LEAGUE COLUMN ALIGN
========================================================= */

/* Cabeçalho League */
.gsl-matches-table th:nth-child(2) {
  text-align: left !important;
  padding-left: 16px !important;
}

/* Célula League */
.gsl-matches-table td:nth-child(2) {
  text-align: left !important;
  padding-left: 16px !important;
  vertical-align: middle !important;
}

/* Conteúdo interno da coluna League */
.gsl-match-league {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
  white-space: nowrap;
}

/* Bandeira */
.gsl-match-league img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 18px;
}

/* Nome da liga */
.gsl-match-league span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.gsl-matches-table th:nth-child(2),
.gsl-matches-table td:nth-child(2) {
  width: 130px;
}

/* =========================================================
   PREDICTIONS PAGE
========================================================= */

.gsl-prediction-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.gsl-predictions-filters {
  display: grid;
  grid-template-columns: 120px 150px 1fr 1.4fr 90px;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--gsl-border);
  border-radius: 10px;
  background: var(--gsl-bg);
  padding: 12px;
  margin-bottom: 16px;
}

.gsl-prediction-league-list {
  display: grid;
  gap: 16px;
}

.gsl-prediction-league-card {
  border: 1px solid var(--gsl-border);
  border-radius: 10px;
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%);
  overflow: hidden;
}

.gsl-prediction-league-head {
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.045);
  border-bottom: 1px solid rgba(148,163,184,0.16);
}

.gsl-prediction-league-head div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gsl-prediction-league-head img {
  width: 26px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
}

.gsl-prediction-league-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
}

.gsl-prediction-league-head a {
  color: var(--gsl-green) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.gsl-prediction-league-head svg {
  width: 15px;
  height: 15px;
}

.gsl-prediction-table-wrap {
  width: 100%;
  overflow: hidden;
}

.gsl-prediction-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.gsl-prediction-table th {
  background: rgba(255,255,255,0.035);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(148,163,184,0.14);
}

.gsl-prediction-table td {
  color: #e5edf7;
  font-size: 13px;
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(148,163,184,0.11);
  overflow: hidden;
  white-space: nowrap;
}

.gsl-prediction-table tbody tr:hover td {
  background: rgba(255,255,255,0.035);
}

.gsl-prediction-table th:nth-child(1),
.gsl-prediction-table td:nth-child(1) {
  width: 70px;
}

.gsl-prediction-table th:nth-child(2),
.gsl-prediction-table td:nth-child(2) {
  width: 60px;
}

.gsl-prediction-table th:nth-child(3),
.gsl-prediction-table td:nth-child(3) {
  width: auto;
}

.gsl-prediction-table th:nth-child(4),
.gsl-prediction-table td:nth-child(4),
.gsl-prediction-table th:nth-child(5),
.gsl-prediction-table td:nth-child(5),
.gsl-prediction-table th:nth-child(6),
.gsl-prediction-table td:nth-child(6) {
  width: 70px;
}

.gsl-prediction-table th:nth-child(7),
.gsl-prediction-table td:nth-child(7),
.gsl-prediction-table th:nth-child(8),
.gsl-prediction-table td:nth-child(8) {
  width: 76px;
}

.gsl-pred-league-flag span {
  display: inline-flex;
  width: 30px;
  height: 22px;
  align-items: center;
  justify-content: center;
}

.gsl-pred-league-flag img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.gsl-pred-match-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: inherit !important;
  text-decoration: none !important;
  min-width: 0;
}

.gsl-pred-match-cell span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.gsl-pred-match-cell .home {
  justify-content: flex-end;
  text-align: right;
}

.gsl-pred-match-cell .away {
  justify-content: flex-start;
  text-align: left;
}

.gsl-pred-match-cell strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font-weight: 700;
}

.gsl-pred-match-cell img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.gsl-pred-match-cell em {
  color: var(--gsl-muted);
  font-style: normal;
  font-weight: 800;
  font-size: 11px;
}

/* Light theme */
body.gsl-light-theme .gsl-predictions-filters,
body.gsl-light-theme .gsl-prediction-league-card {
  background: #ffffff !important;
  border-color: #d9e2ef !important;
}

body.gsl-light-theme .gsl-prediction-league-head {
  background: #eaf0f8;
  border-color: #d9e2ef;
}

body.gsl-light-theme .gsl-prediction-league-head h2,
body.gsl-light-theme .gsl-prediction-table td {
  color: #0f172a;
}

body.gsl-light-theme .gsl-prediction-table th {
  background: #eaf0f8;
  color: #0f172a;
}

body.gsl-light-theme .gsl-prediction-table td {
  border-bottom: 1px solid #d9e2ef;
}

/* Responsive */
@media (max-width: 900px) {
  .gsl-prediction-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gsl-predictions-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gsl-filter-submit {
    grid-column: span 2;
  }

  .gsl-prediction-table-wrap {
    overflow-x: auto;
  }

  .gsl-prediction-table {
    min-width: 760px;
  }
}

@media (max-width: 640px) {
  .gsl-prediction-summary-grid,
  .gsl-predictions-filters {
    grid-template-columns: 1fr;
  }

  .gsl-filter-submit {
    grid-column: auto;
  }
}


/* =========================================================
   PREDICTION ANALYSIS PAGE
========================================================= */

.gsl-pa-hero {
  border: 1px solid var(--gsl-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%);
  overflow: hidden;
  margin-bottom: 14px;
}

.gsl-pa-league-line {
  min-height: 44px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13px;
}

.gsl-pa-league-line img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.gsl-pa-league-line em {
  color: var(--gsl-muted);
  font-style: normal;
}

.gsl-pa-match-head {
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px;
}

.gsl-pa-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gsl-pa-team img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 10px;
}

.gsl-pa-team h2 {
  margin: 0;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.1;
}

.gsl-pa-team span {
  color: var(--gsl-muted);
  margin-top: 5px;
  font-size: 13px;
}

.gsl-pa-selected {
  border: 1px solid rgba(0, 200, 83, 0.55);
  border-radius: 12px;
  background: rgba(0, 200, 83, 0.06);
  padding: 18px;
  text-align: center;
}

.gsl-pa-selected > span {
  display: inline-flex;
  color: var(--gsl-green);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.gsl-pa-selected h3 {
  color: #ffffff;
  margin: 0 0 14px;
  font-size: 26px;
}

.gsl-pa-selected-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 12px;
}

.gsl-pa-selected-grid div {
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0 8px;
}

.gsl-pa-selected-grid div:last-child {
  border-right: none;
}

.gsl-pa-selected-grid small {
  display: block;
  color: var(--gsl-muted);
  font-size: 10px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gsl-pa-selected-grid strong {
  color: #ffffff;
  font-size: 18px;
}

.gsl-pa-selected-grid strong.green {
  color: var(--gsl-green);
}

.gsl-pa-selected-grid strong.yellow {
  color: #facc15;
}

.gsl-pa-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--gsl-border);
  margin-bottom: 14px;
  overflow-x: auto;
}

.gsl-pa-tabs button {
  background: transparent;
  border: 0;
  color: var(--gsl-muted);
  padding: 12px 0;
  font-weight: 800;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.gsl-pa-tabs button.active {
  color: var(--gsl-green);
  border-color: var(--gsl-green);
}

.gsl-pa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gsl-pa-panel {
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%) !important;
  border: 1px solid rgba(96, 125, 160, 0.22) !important;
}

.gsl-pa-summary-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.gsl-pa-summary-boxes a,
.gsl-pa-summary-boxes div {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 9px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  text-decoration: none !important;
  color: inherit !important;
  text-align: center;
}

.gsl-pa-summary-boxes span {
  display: block;
  color: var(--gsl-muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.gsl-pa-summary-boxes strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
}

.gsl-pa-summary-boxes strong.green {
  color: var(--gsl-green);
}

.gsl-pa-summary-boxes strong.yellow {
  color: #facc15;
}

.gsl-pa-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gsl-pa-evidence div {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.025);
}

.gsl-pa-evidence h3 {
  color: #ffffff;
  margin: 0 0 10px;
  font-size: 14px;
}

.gsl-pa-evidence p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--gsl-muted);
  font-size: 13px;
  margin: 8px 0;
}

.gsl-pa-evidence strong {
  color: var(--gsl-green);
}

.gsl-pa-form-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gsl-pa-form-compare h3 {
  color: #ffffff;
  margin: 0 0 8px;
}

.gsl-pa-form-compare p {
  display: inline-flex;
  gap: 8px;
  margin: 10px 12px 0 0;
  color: var(--gsl-muted);
}

.gsl-pa-form-compare strong {
  color: var(--gsl-green);
}

.gsl-pa-form-compare strong.red {
  color: #ef4444;
}

.gsl-pa-goals-bars {
  display: grid;
  gap: 10px;
}

.gsl-pa-goals-bars div {
  display: grid;
  grid-template-columns: 45px 1fr 130px 1fr 45px;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 12px;
}

.gsl-pa-goals-bars span:first-child {
  color: #60a5fa;
  text-align: right;
}

.gsl-pa-goals-bars span:last-child {
  color: var(--gsl-green);
}

.gsl-pa-goals-bars strong {
  text-align: center;
  color: #cbd5e1;
}

.gsl-pa-goals-bars em {
  height: 8px;
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  overflow: hidden;
}

.gsl-pa-goals-bars em i {
  display: block;
  height: 100%;
  background: #60a5fa;
  border-radius: 999px;
}

.gsl-pa-goals-bars em.away i {
  background: var(--gsl-green);
}

.gsl-empty-market-card {
  min-height: 190px;
}

.gsl-market-empty-state {
  min-height: 130px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  padding: 18px;
}

.gsl-market-empty-state svg {
  width: 28px;
  height: 28px;
  color: var(--gsl-muted);
}

.gsl-market-empty-state strong {
  color: #cbd5e1;
  font-size: 14px;
}

.gsl-market-empty-state span {
  color: var(--gsl-muted);
  font-size: 12px;
  max-width: 280px;
  line-height: 1.4;
}

.gsl-pa-model-insight p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}

.gsl-pa-model-insight strong {
  color: var(--gsl-green);
}

.gsl-pa-strength {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 120px 1fr 55px;
  gap: 10px;
  align-items: center;
}

.gsl-pa-strength span {
  color: var(--gsl-muted);
  font-size: 13px;
}

.gsl-pa-strength em {
  height: 10px;
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  overflow: hidden;
}

.gsl-pa-strength em i {
  display: block;
  height: 100%;
  background: var(--gsl-green);
  border-radius: 999px;
}

.gsl-pa-strength strong {
  text-align: right;
  color: #ffffff;
}

.gsl-pa-other-markets {
  margin-top: 14px;
}

.gsl-pa-other-market-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.gsl-pa-other-market-grid a {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  padding: 12px;
  color: inherit !important;
  text-decoration: none !important;
}

.gsl-pa-other-market-grid span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  margin-bottom: 6px;
}

.gsl-pa-other-market-grid strong {
  display: block;
  color: var(--gsl-green);
  font-size: 22px;
}

/* Light theme */
body.gsl-light-theme .gsl-pa-hero,
body.gsl-light-theme .gsl-pa-panel {
  background: #ffffff !important;
  border-color: #d9e2ef !important;
}

body.gsl-light-theme .gsl-pa-team h2,
body.gsl-light-theme .gsl-pa-selected h3,
body.gsl-light-theme .gsl-pa-selected-grid strong,
body.gsl-light-theme .gsl-pa-summary-boxes strong,
body.gsl-light-theme .gsl-pa-evidence h3,
body.gsl-light-theme .gsl-pa-form-compare h3,
body.gsl-light-theme .gsl-pa-other-market-grid span {
  color: #0f172a;
}

body.gsl-light-theme .gsl-market-empty-state {
  background: #f8fafc;
  border-color: #cbd5e1;
}

body.gsl-light-theme .gsl-market-empty-state strong {
  color: #0f172a;
}

@media (max-width: 1050px) {
  .gsl-pa-match-head {
    grid-template-columns: 1fr;
  }

  .gsl-pa-grid {
    grid-template-columns: 1fr;
  }

  .gsl-pa-selected-grid,
  .gsl-pa-summary-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gsl-pa-other-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gsl-pa-evidence,
  .gsl-pa-form-compare {
    grid-template-columns: 1fr;
  }

  .gsl-pa-goals-bars div {
    grid-template-columns: 40px 1fr;
  }

  .gsl-pa-goals-bars strong,
  .gsl-pa-goals-bars em.away,
  .gsl-pa-goals-bars span:last-child {
    display: none;
  }
}

.gsl-section-hidden {
  display: none !important;
}

/* =========================================================
   PREDICTION ANALYSIS - SUMMARY FIX
========================================================= */

.gsl-pa-summary-boxes {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.gsl-pa-summary-boxes a,
.gsl-pa-summary-boxes div {
  min-height: 84px !important;
  padding: 12px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  overflow: hidden !important;
}

.gsl-pa-summary-boxes span {
  display: block !important;
  width: 100% !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-bottom: 8px !important;
}

.gsl-pa-summary-boxes strong {
  display: block !important;
  width: 100% !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Confidence não pode quebrar */
.gsl-pa-summary-boxes strong.yellow {
  font-size: 18px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

/* =========================================================
   PREDICTION ANALYSIS - TEAM FORM ALIGN FIX
========================================================= */

.gsl-pa-form-compare {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: start !important;
}

.gsl-pa-form-compare > div {
  min-width: 0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.gsl-pa-form-compare h3 {
  width: 100% !important;
  margin: 0 0 10px !important;
  text-align: center !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.gsl-pa-form-compare .gsl-form-badges {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 0 12px !important;
}

.gsl-pa-form-compare .gsl-form-badges b {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
}

.gsl-pa-form-compare p {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 8px !important;
  color: var(--gsl-muted) !important;
}

.gsl-pa-form-compare p strong {
  color: var(--gsl-green) !important;
}

.gsl-pa-form-compare p strong.red {
  color: #ef4444 !important;
}

/* =========================================================
   PREDICTIONS PAGE - VIEW ALL BY LEAGUE
========================================================= */

.gsl-pred-hidden-row {
  display: none;
}

.gsl-prediction-league-card.is-expanded .gsl-pred-hidden-row {
  display: table-row;
}

.gsl-pred-view-all {
  border: 0;
  background: transparent;
  color: var(--gsl-green);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
}

.gsl-pred-view-all svg {
  width: 15px;
  height: 15px;
}

.gsl-pred-view-all:hover {
  opacity: 0.85;
}

/* =========================================================
   PREDICTIONS PAGE - VIEW ALL BUTTON POLISH
========================================================= */

.gsl-pred-view-all {
  border: 1px solid rgba(34, 197, 94, 0.22) !important;
  background: rgba(34, 197, 94, 0.08) !important;
  color: var(--gsl-green) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;

  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

.gsl-pred-view-all svg {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 auto !important;
  stroke-width: 2.4 !important;
}

.gsl-pred-view-all:hover {
  background: rgba(34, 197, 94, 0.16) !important;
  border-color: rgba(34, 197, 94, 0.38) !important;
  color: #4ade80 !important;
  transform: translateY(-1px) !important;
}

.gsl-pred-view-all:active {
  transform: translateY(0) !important;
}

body.gsl-light-theme .gsl-pred-view-all {
  background: #eefbf2 !important;
  border-color: #bdecc9 !important;
  color: #16a34a !important;
}

body.gsl-light-theme .gsl-pred-view-all:hover {
  background: #dcfce7 !important;
  border-color: #86efac !important;
  color: #15803d !important;
}

/* =========================================================
   PREDICTION ANALYSIS - SELECTED MARKET HIGHLIGHT
========================================================= */

.gsl-pa-summary-boxes div.is-selected,
.gsl-pa-other-market-grid div.is-selected {
  border-color: rgba(34, 197, 94, 0.75) !important;
  background: rgba(34, 197, 94, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.22) !important;
}

.gsl-pa-summary-boxes div.is-selected span,
.gsl-pa-other-market-grid div.is-selected span {
  color: var(--gsl-green) !important;
  font-weight: 800 !important;
}

.gsl-pa-summary-boxes div.is-selected strong,
.gsl-pa-other-market-grid div.is-selected strong {
  color: var(--gsl-green) !important;
}

/* Como agora não são links, garantir cursor normal */
.gsl-pa-summary-boxes div,
.gsl-pa-other-market-grid div {
  cursor: default !important;
}

/* =========================================================
   PREDICTION ANALYSIS - OTHER MARKETS POLISH
========================================================= */

.gsl-pa-other-market-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.gsl-pa-other-market-grid div {
  min-height: 92px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  padding: 14px 12px !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px !important;

  box-shadow: none !important;
}

.gsl-pa-other-market-grid div span {
  display: block !important;
  color: #cbd5e1 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.gsl-pa-other-market-grid div strong {
  display: block !important;
  color: var(--gsl-green) !important;
  font-size: 23px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Mercado selecionado igual ao Prediction Summary */
.gsl-pa-other-market-grid div.is-selected {
  border: 1px solid rgba(34, 197, 94, 0.75) !important;
  background: rgba(34, 197, 94, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.18) !important;
}

.gsl-pa-other-market-grid div.is-selected span {
  color: var(--gsl-green) !important;
  font-weight: 900 !important;
}

.gsl-pa-other-market-grid div.is-selected strong {
  color: var(--gsl-green) !important;
}

/* =========================================================
   FOOTBALL STATS PAGE
========================================================= */

.gsl-stats-filters {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 130px 1.4fr 90px;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--gsl-border);
  border-radius: 10px;
  background: var(--gsl-bg);
  padding: 12px;
  margin-bottom: 16px;
}

.gsl-stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.gsl-summary-card.yellow > span {
  background: rgba(250, 204, 21, 0.16);
  color: #facc15;
}

.gsl-stats-panel {
  background: linear-gradient(180deg, #0d213d 0%, #0a1b32 100%) !important;
  border: 1px solid rgba(96, 125, 160, 0.22) !important;
  margin-bottom: 16px;
}

.gsl-stats-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.gsl-stats-section-head h2 {
  margin: 0;
  color: var(--gsl-green);
  font-size: 18px;
  font-weight: 900;
}

.gsl-stats-section-head a {
  color: var(--gsl-green) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 8px;
  padding: 7px 12px;
  background: rgba(34, 197, 94, 0.08);
}

.gsl-stats-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.gsl-stats-table th,
.gsl-stats-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  padding: 11px 10px;
  font-size: 13px;
  color: #e5edf7;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gsl-stats-table th {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,0.035);
}

.gsl-stats-table th:nth-child(1),
.gsl-stats-table td:nth-child(1) {
  width: 42px;
}

.gsl-stats-table th:nth-child(2),
.gsl-stats-table td:nth-child(2) {
  width: 250px;
  text-align: left;
}

.gsl-stats-table .green,
.gsl-stats-mini-table .green {
  color: var(--gsl-green);
  font-weight: 800;
}

.gsl-stats-mini-table .yellow {
  color: #facc15;
  font-weight: 800;
}

.gsl-stats-league-name,
.gsl-stats-team-name {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.gsl-stats-league-name img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
}

.gsl-stats-team-name img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex: 0 0 auto;
}

.gsl-stats-league-name span,
.gsl-stats-team-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.gsl-stats-tabs-head {
  align-items: center;
}

.gsl-stats-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gsl-stats-tabs a {
  color: #cbd5e1 !important;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.035);
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 13px;
}

.gsl-stats-tabs a.active {
  color: #061a12 !important;
  background: var(--gsl-green);
  border-color: var(--gsl-green);
}

.gsl-stats-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gsl-stats-side-stack {
  display: grid;
  gap: 16px;
}

.gsl-stats-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gsl-stats-highlight-grid div {
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  padding: 16px;
  min-height: 130px;
}

.gsl-stats-highlight-grid span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  color: var(--gsl-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.gsl-stats-highlight-grid span svg {
  width: 22px;
  height: 22px;
}

.gsl-stats-highlight-grid small {
  display: block;
  color: var(--gsl-muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.gsl-stats-highlight-grid strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 6px;
}

.gsl-stats-highlight-grid b {
  display: block;
  color: var(--gsl-green);
  font-size: 28px;
  line-height: 1;
}

.gsl-stats-highlight-grid em {
  display: block;
  color: var(--gsl-muted);
  font-style: normal;
  font-size: 12px;
  margin-top: 4px;
}

.gsl-stats-mini-table {
  width: 100%;
  border-collapse: collapse;
}

.gsl-stats-mini-table th,
.gsl-stats-mini-table td {
  padding: 9px 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: #e5edf7;
  font-size: 13px;
  text-align: center;
}

.gsl-stats-mini-table th:first-child,
.gsl-stats-mini-table td:first-child {
  text-align: left;
}

.gsl-stats-mini-table th {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 900;
}

.gsl-stats-coming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gsl-stats-coming-grid div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px 14px;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
}

.gsl-stats-coming-grid span {
  grid-row: span 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.gsl-stats-coming-grid span.purple {
  background: rgba(168, 85, 247, 0.22);
  color: #a855f7;
}

.gsl-stats-coming-grid span.yellow {
  background: rgba(250, 204, 21, 0.18);
  color: #facc15;
}

.gsl-stats-coming-grid span.blue {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
}

.gsl-stats-coming-grid strong {
  color: #ffffff;
  font-size: 15px;
}

.gsl-stats-coming-grid p {
  color: var(--gsl-muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.gsl-stats-coming-grid em {
  justify-self: start;
  color: var(--gsl-green);
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.12);
  padding: 5px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

/* Light theme */
body.gsl-light-theme .gsl-stats-filters,
body.gsl-light-theme .gsl-stats-panel {
  background: #ffffff !important;
  border-color: #d9e2ef !important;
}

body.gsl-light-theme .gsl-stats-table th,
body.gsl-light-theme .gsl-stats-mini-table th {
  background: #eaf0f8;
  color: #0f172a;
}

body.gsl-light-theme .gsl-stats-table td,
body.gsl-light-theme .gsl-stats-mini-table td,
body.gsl-light-theme .gsl-stats-highlight-grid strong,
body.gsl-light-theme .gsl-stats-coming-grid strong {
  color: #0f172a;
}

body.gsl-light-theme .gsl-stats-table td,
body.gsl-light-theme .gsl-stats-mini-table td {
  border-bottom-color: #d9e2ef;
}

/* Responsive */
@media (max-width: 1100px) {
  .gsl-stats-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gsl-stats-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gsl-filter-submit {
    grid-column: span 2;
  }

  .gsl-stats-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .gsl-stats-summary-grid,
  .gsl-stats-coming-grid,
  .gsl-stats-highlight-grid,
  .gsl-stats-filters {
    grid-template-columns: 1fr;
  }

  .gsl-filter-submit {
    grid-column: auto;
  }

  .gsl-stats-table {
    min-width: 850px;
  }

  .gsl-stats-panel {
    overflow-x: auto;
  }
}

/* =========================================================
   FOOTBALL STATS - ADVANCED CLEAN FINAL
   Cleaned: no duplicated advanced blocks
   Layout: Section 6 full width, Section 7 full width below
========================================================= */

/* Main stack container. Works with or without the extra PHP wrapper. */
.gsl-football-advanced-stack,
.gsl-stats-two-col {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  align-items: stretch !important;
}

/* Make each advanced panel occupy the full content width */
.gsl-football-advanced-stack > .gsl-stats-panel,
.gsl-stats-two-col > .gsl-stats-panel,
.gsl-stats-panel:has(.gsl-advanced-stats-grid),
.gsl-stats-panel:has(.gsl-rankings-advanced-grid) {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  overflow: hidden !important;
}

/* =========================================================
   6. ADVANCED MATCH STATS
========================================================= */

.gsl-advanced-stats-grid {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(120px, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.gsl-advanced-stats-grid > div {
  min-width: 0 !important;
  min-height: 116px !important;
  padding: 16px 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.035) !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  text-align: center !important;
  overflow: hidden !important;
}

.gsl-advanced-stats-grid > div > span {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: rgba(34, 197, 94, 0.14) !important;
  color: var(--gsl-green) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
}

.gsl-advanced-stats-grid > div > span svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 2.2 !important;
}

.gsl-advanced-stats-grid > div > small {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.gsl-advanced-stats-grid > div > strong {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: keep-all !important;
}

/* =========================================================
   7. TEAM ADVANCED RANKINGS
   Logo only + value. Club name appears via title attribute.
========================================================= */

.gsl-rankings-advanced-grid {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(160px, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
}

.gsl-rankings-advanced-grid > div {
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 16px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  overflow: hidden !important;
}

.gsl-rankings-advanced-grid h3 {
  margin: 0 0 14px !important;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;

  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.gsl-advanced-rank-row {
  width: 100% !important;
  min-height: 44px !important;
  padding: 8px 0 !important;

  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;

  border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
}

.gsl-advanced-rank-row:last-child {
  border-bottom: 0 !important;
}

/* Hide club text if it still exists as a text node after the logo */
.gsl-advanced-rank-row span,
.gsl-rank-logo-only {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;

  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  cursor: help !important;
}

.gsl-advanced-rank-row span img,
.gsl-rank-logo-only img {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 30px !important;
}

.gsl-rank-logo-only em {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: #e2e8f0 !important;
  color: #0f172a !important;
  font-size: 11px !important;
  line-height: 30px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  text-align: center !important;
}

.gsl-advanced-rank-row strong {
  min-width: 0 !important;
  max-width: 100% !important;
  color: #0f172a !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: left !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* =========================================================
   DARK THEME
========================================================= */

body:not(.gsl-light-theme) .gsl-advanced-rank-row strong {
    color: #00c853 !important;
}

body:not(.gsl-light-theme) .gsl-advanced-stats-grid > div,
body:not(.gsl-light-theme) .gsl-rankings-advanced-grid > div {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}

body:not(.gsl-light-theme) .gsl-advanced-stats-grid > div > small,
body:not(.gsl-light-theme) .gsl-rankings-advanced-grid h3 {
  color: #e5edf7 !important;
}

body:not(.gsl-light-theme) .gsl-advanced-stats-grid > div > strong {
  color: #ffffff !important;
}

/* =========================================================
   LIGHT THEME
========================================================= */

body.gsl-light-theme .gsl-advanced-stats-grid > div,
body.gsl-light-theme .gsl-rankings-advanced-grid > div {
  background: #ffffff !important;
  border-color: #d9e2ef !important;
}

body.gsl-light-theme .gsl-advanced-stats-grid > div > small {
  color: #64748b !important;
}

body.gsl-light-theme .gsl-advanced-stats-grid > div > strong,
body.gsl-light-theme .gsl-rankings-advanced-grid h3 {
  color: #111827 !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .gsl-advanced-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .gsl-rankings-advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .gsl-advanced-stats-grid,
  .gsl-rankings-advanced-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   ADMIN PANEL v1.6.0
========================================================= */
body:not(.gsl-user-admin) .gsl-sidebar-bottom > a.gsl-menu-item {
  display: none !important;
}

.gsl-admin-page .gsl-topbar {
  align-items: center;
}

.gsl-admin-titlebar h1 {
  margin: 0 0 4px;
  color: #fff !important;
  font-size: 22px;
  line-height: 1.1;
}

.gsl-admin-titlebar p {
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
}

.gsl-admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(0, 200, 83, 0.45);
  color: var(--gsl-green);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  background: rgba(0, 200, 83, 0.08);
}

.gsl-admin-badge svg { width: 16px; height: 16px; }

.gsl-admin-content {
  display: block;
}

.gsl-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.gsl-admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid var(--gsl-border);
  border-radius: 8px;
  background: rgba(23, 41, 65, 0.84);
  color: #cbd5e1;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.gsl-admin-tab svg { width: 16px; height: 16px; }
.gsl-admin-tab.active {
  color: #fff;
  border-color: rgba(0, 200, 83, 0.6);
  background: rgba(0, 200, 83, 0.16);
}

.gsl-admin-tab-panel { display: none; }
.gsl-admin-tab-panel.active { display: block; }

.gsl-admin-grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.gsl-admin-grid-secondary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: 14px;
  margin-top: 14px;
}

.gsl-admin-card {
  border: 1px solid var(--gsl-border);
  background: linear-gradient(180deg, rgba(23,41,65,.96), rgba(11,29,54,.96));
  border-radius: 8px;
  padding: 16px;
  color: #fff;
  min-width: 0;
}

.gsl-admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.gsl-admin-card h2,
.gsl-admin-card-head h2 {
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-size: 18px;
  line-height: 1.2;
}

.gsl-admin-card h2 svg { width: 19px; height: 19px; color: var(--gsl-green); }
.gsl-admin-card-head p,
.gsl-admin-card p.gsl-admin-muted,
.gsl-admin-muted {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
}

.gsl-admin-status-pill {
  color: var(--gsl-green);
  border: 1px solid rgba(0,200,83,.5);
  background: rgba(0,200,83,.12);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  white-space: nowrap;
}

.gsl-admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gsl-admin-form-grid label,
.gsl-admin-paths-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

.gsl-admin-form-grid input,
.gsl-admin-form-grid select,
.gsl-admin-paths-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 6px;
  background: rgba(11, 29, 54, .8);
  color: #fff;
  padding: 0 10px;
  outline: none;
}

.gsl-admin-form-grid small {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.25;
}

.gsl-admin-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 14px 0;
}

.gsl-admin-check-inline,
.gsl-admin-check-grid label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbeafe;
  font-size: 13px;
  cursor: pointer;
}

.gsl-admin-check-inline input,
.gsl-admin-check-grid input { accent-color: var(--gsl-green); }

.gsl-admin-table-selector {
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(11,29,54,.45);
}

.gsl-admin-table-selector h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
}

.gsl-admin-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  max-height: 230px;
  overflow: auto;
  padding-right: 6px;
}

.gsl-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.gsl-admin-primary,
.gsl-admin-secondary,
.gsl-admin-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 6px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 800;
  border: 1px solid transparent;
}

.gsl-admin-primary {
  background: var(--gsl-green);
  color: #06220f;
  border-color: var(--gsl-green);
}

.gsl-admin-secondary,
.gsl-admin-mini {
  background: rgba(15, 23, 42, .35);
  color: #dbeafe;
  border-color: rgba(148,163,184,.24);
}

.gsl-admin-mini {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.gsl-admin-primary svg,
.gsl-admin-secondary svg { width: 16px; height: 16px; }

.gsl-admin-paths-form {
  display: grid;
  gap: 12px;
}

.gsl-admin-result {
  margin-top: 12px;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(59, 130, 246, .35);
  color: #bfdbfe;
  white-space: pre-wrap;
}

.gsl-admin-result.success {
  background: rgba(0, 200, 83, .12);
  border-color: rgba(0, 200, 83, .45);
  color: #86efac;
}

.gsl-admin-result.error {
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .45);
  color: #fecaca;
}

.gsl-admin-log-item {
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 9px 10px;
  background: rgba(11,29,54,.45);
}

.gsl-admin-log-item summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: #e5e7eb;
  font-size: 13px;
}

.gsl-admin-log-item summary span { color: #94a3b8; }
.gsl-admin-log-item pre {
  white-space: pre-wrap;
  color: #cbd5e1;
  background: rgba(2,6,23,.35);
  border-radius: 6px;
  padding: 10px;
  max-height: 180px;
  overflow: auto;
}

.gsl-admin-flow-list {
  margin: 0;
  padding-left: 20px;
  color: #dbeafe;
  line-height: 1.85;
  font-size: 14px;
}

.gsl-admin-table-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gsl-admin-table-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 8px;
  background: rgba(11,29,54,.45);
  color: #dbeafe;
}

.gsl-admin-table-row.missing { opacity: .55; }
.gsl-admin-table-row strong { color: var(--gsl-green); }

@media (max-width: 980px) {
  .gsl-admin-grid-main,
  .gsl-admin-grid-secondary,
  .gsl-admin-table-overview {
    grid-template-columns: 1fr;
  }

  .gsl-admin-form-grid,
  .gsl-admin-check-grid {
    grid-template-columns: 1fr;
  }
}

/* Teams advanced statistics cards */
.gsl-advanced-stat-card {
    overflow: hidden;
}

.gsl-advanced-team-table {
    width: 100%;
    table-layout: fixed;
}

.gsl-advanced-team-table th,
.gsl-advanced-team-table td {
    font-size: 12px;
    line-height: 1.35;
    padding: 10px 8px;
    vertical-align: middle;
}

.gsl-advanced-team-table th:first-child,
.gsl-advanced-team-table td:first-child {
    width: 48%;
    text-align: left;
}

.gsl-advanced-team-table th:not(:first-child),
.gsl-advanced-team-table td:not(:first-child) {
    width: 17.333%;
    text-align: center;
    white-space: nowrap;
}

.gsl-advanced-team-table .green,
.gsl-mini-table .green {
    color: var(--gsl-green, #00c853) !important;
    font-weight: 800;
}

.gsl-advanced-team-table .yellow,
.gsl-mini-table .yellow {
    color: #facc15 !important;
    font-weight: 800;
}

.gsl-advanced-team-table .red,
.gsl-mini-table .red {
    color: #ef4444 !important;
    font-weight: 800;
}


/* Restored SEO block, footer and static page styles - v1.6.5 */
.gsl-seo-panel {
  margin: 34px 0 0;
  padding: 22px;
  border: 1px solid rgba(0, 200, 83, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(0, 200, 83, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(23, 41, 65, 0.96), rgba(11, 29, 54, 0.98));
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
  gap: 24px;
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.gsl-seo-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.14);
  color: #31f184;
  border: 1px solid rgba(0, 200, 83, 0.32);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gsl-seo-panel h2 {
  margin: 0 0 10px;
  color: #ffffff !important;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
}

.gsl-seo-panel p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.75;
  max-width: 820px;
}

.gsl-seo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.gsl-seo-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(203, 213, 225, 0.16);
  color: #e5edf8;
  font-size: 12px;
  font-weight: 700;
}

.gsl-seo-panel-side {
  display: grid;
  gap: 10px;
}

.gsl-seo-panel-side div {
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(203, 213, 225, 0.13);
}

.gsl-seo-panel-side strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 4px;
}

.gsl-seo-panel-side span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}

.gsl-site-footer {
  margin-top: 22px;
  padding: 26px 22px 18px;
  border: 1px solid rgba(31, 58, 86, 0.92);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(11, 29, 54, 0.98), rgba(7, 18, 34, 1));
  color: #cbd5e1;
}

.gsl-footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 24px;
}

.gsl-footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 8px;
}

.gsl-footer-brand p {
  margin: 0;
  max-width: 360px;
  color: #94a3b8;
  line-height: 1.6;
  font-size: 13px;
}

.gsl-footer-col h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gsl-footer-col a {
  display: block;
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.9;
}

.gsl-footer-col a:hover {
  color: #00c853 !important;
}

.gsl-footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #64748b;
  font-size: 12px;
  flex-wrap: wrap;
}

body.gsl-light-theme .gsl-seo-panel {
  background:
    radial-gradient(circle at top left, rgba(0, 200, 83, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid #d9e2ef;
  color: #0f172a;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}

body.gsl-light-theme .gsl-seo-panel h2,
body.gsl-light-theme .gsl-seo-panel-side strong {
  color: #0f172a !important;
}

body.gsl-light-theme .gsl-seo-panel p,
body.gsl-light-theme .gsl-seo-panel-side span {
  color: #475569;
}

body.gsl-light-theme .gsl-seo-chips span {
  background: #eef6f1;
  color: #064e3b;
  border: 1px solid #cfe8d8;
}

body.gsl-light-theme .gsl-seo-panel-side div {
  background: #f8fafc;
  border: 1px solid #d9e2ef;
}

body.gsl-light-theme .gsl-site-footer {
  background: #ffffff;
  border: 1px solid #d9e2ef;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

body.gsl-light-theme .gsl-footer-brand strong,
body.gsl-light-theme .gsl-footer-col h3 {
  color: #0f172a;
}

body.gsl-light-theme .gsl-footer-brand p,
body.gsl-light-theme .gsl-footer-col a {
  color: #64748b !important;
}

body.gsl-light-theme .gsl-footer-bottom {
  border-top: 1px solid #e2e8f0;
  color: #64748b;
}

@media (max-width: 900px) {
  .gsl-seo-panel,
  .gsl-footer-top {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   PUBLIC STATIC PAGES
========================================================= */

.gsl-static-shell {
  display: grid;
  gap: 18px;
}

.gsl-static-hero {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(0, 200, 83, 0.22);
  background:
    radial-gradient(circle at top left, rgba(0, 200, 83, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(23, 41, 65, 0.97), rgba(11, 29, 54, 0.98));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.gsl-static-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.14);
  color: #31f184;
  border: 1px solid rgba(0, 200, 83, 0.32);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.gsl-static-hero h1 {
  margin: 0 0 12px;
  color: #ffffff !important;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 850;
}

.gsl-static-hero p {
  margin: 0;
  max-width: 860px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
}

.gsl-static-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gsl-static-mini-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(23, 41, 65, 0.74);
}

.gsl-static-mini-card strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 6px;
}

.gsl-static-mini-card span {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.55;
}

.gsl-static-content-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(31, 58, 86, 0.92);
  background: rgba(11, 29, 54, 0.88);
}

.gsl-static-section {
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.gsl-static-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.gsl-static-section h2 {
  margin: 0 0 8px;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 800;
}

.gsl-static-section p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.78;
}

.gsl-footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.gsl-footer-logo {
  width: 175px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.gsl-footer-logo-wrap .gsl-logo-light { display: none; }
.gsl-footer-logo-wrap .gsl-logo-dark { display: block; }

body.gsl-light-theme .gsl-footer-logo-wrap .gsl-logo-dark { display: none; }
body.gsl-light-theme .gsl-footer-logo-wrap .gsl-logo-light { display: block; }

body.gsl-light-theme .gsl-static-hero {
  background:
    radial-gradient(circle at top left, rgba(0, 200, 83, 0.10), transparent 32%),
    linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid #d9e2ef;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}

body.gsl-light-theme .gsl-static-hero h1,
body.gsl-light-theme .gsl-static-mini-card strong,
body.gsl-light-theme .gsl-static-section h2 {
  color: #0f172a !important;
}

body.gsl-light-theme .gsl-static-hero p,
body.gsl-light-theme .gsl-static-mini-card span,
body.gsl-light-theme .gsl-static-section p {
  color: #475569;
}

body.gsl-light-theme .gsl-static-mini-card,
body.gsl-light-theme .gsl-static-content-card {
  background: #ffffff;
  border: 1px solid #d9e2ef;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

body.gsl-light-theme .gsl-static-section {
  border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
  .gsl-static-card-grid {
    grid-template-columns: 1fr;
  }

  .gsl-static-hero h1 {
    font-size: 28px;
  }
}


/* Team advanced stats neutral colors v1.6.5 */
.gsl-advanced-team-table td,
.gsl-advanced-team-table td.green,
.gsl-advanced-team-table td.yellow,
.gsl-advanced-team-table td.red,
.gsl-advanced-team-table strong,
.gsl-advanced-team-table strong.green,
.gsl-advanced-team-table strong.yellow,
.gsl-advanced-team-table strong.red {
  color: #ffffff !important;
}

body.gsl-light-theme .gsl-advanced-team-table td,
body.gsl-light-theme .gsl-advanced-team-table td.green,
body.gsl-light-theme .gsl-advanced-team-table td.yellow,
body.gsl-light-theme .gsl-advanced-team-table td.red,
body.gsl-light-theme .gsl-advanced-team-table strong,
body.gsl-light-theme .gsl-advanced-team-table strong.green,
body.gsl-light-theme .gsl-advanced-team-table strong.yellow,
body.gsl-light-theme .gsl-advanced-team-table strong.red {
  color: #020617 !important;
}


.gsl-analysis-tabs {
    display: none;
}

.gsl-match-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gsl-events-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gsl-events-team h3 {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
}

.gsl-event-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.gsl-event-item:last-child {
    border-bottom: 0;
}

.gsl-event-minute {
    font-weight: 700;
    color: var(--gsl-text-primary, #fff);
}

.gsl-event-player {
    color: var(--gsl-text-primary, #fff);
}

.gsl-event-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--gsl-text-primary, #fff);
    white-space: nowrap;
}

.gsl-empty-mini {
    padding: 12px 0;
    color: var(--gsl-text-muted, #94a3b8);
}

.gsl-match-stats-modern {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gsl-modern-stats-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gsl-modern-stat-row {
    padding: 10px 0 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.gsl-modern-stat-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.gsl-modern-stat-values {
    display: grid;
    grid-template-columns: 70px 1fr 70px;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.gsl-stat-home,
.gsl-stat-away {
    font-size: 18px;
    font-weight: 700;
    color: var(--gsl-text-primary, #fff);
}

.gsl-stat-home {
    text-align: left;
}

.gsl-stat-away {
    text-align: right;
}

.gsl-stat-label {
    text-align: center;
    font-size: 14px;
    color: var(--gsl-text-muted, #94a3b8);
    font-weight: 600;
}

.gsl-modern-stat-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.gsl-modern-bar-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    overflow: hidden;
    position: relative;
}

.gsl-modern-bar-track span {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.gsl-modern-bar-track.is-home span {
    margin-left: auto;
    background: linear-gradient(90deg, #22c55e, #34d399);
}

.gsl-modern-bar-track.is-away span {
    background: linear-gradient(90deg, #38bdf8, #60a5fa);
}

@media (max-width: 1024px) {
    .gsl-match-story-grid,
    .gsl-match-stats-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .gsl-events-columns {
        grid-template-columns: 1fr;
    }

    .gsl-modern-stat-values {
        grid-template-columns: 60px 1fr 60px;
    }

    .gsl-stat-home,
    .gsl-stat-away {
        font-size: 16px;
    }

    .gsl-stat-label {
        font-size: 13px;
    }
}
/* =========================================================
   MATCH ANALYSIS REDESIGN v2
========================================================= */
.gsl-analysis-main {
  background: radial-gradient(circle at top center, rgba(24, 64, 122, 0.35), transparent 38%), linear-gradient(180deg, #071423 0%, #07111f 100%);
}

.gsl-analysis-sidebar .gsl-menu-item.active {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.26), rgba(34, 197, 94, 0.06));
  color: #22c55e;
}

.gsl-analysis-sidebar-bottom {
  gap: 18px;
}

.gsl-upgrade-card {
  border: 1px solid rgba(96, 125, 160, 0.24);
  border-radius: 16px;
  background: rgba(6, 16, 29, 0.55);
  padding: 18px;
}

.gsl-upgrade-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  margin-bottom: 10px;
}

.gsl-upgrade-card h4 {
  color: #fff;
  font-size: 26px;
  margin: 0 0 8px;
}

.gsl-upgrade-card p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.gsl-upgrade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  color: #fff;
  font-weight: 800;
  padding: 12px 14px;
  text-decoration: none;
}

.gsl-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.gsl-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-weight: 800;
}

.gsl-analysis-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px 0;
}

.gsl-analysis-tabs-nav {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.gsl-analysis-tab-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 0 16px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.gsl-analysis-tab-link.active {
  color: #22c55e;
}

.gsl-analysis-tab-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: #22c55e;
}

.gsl-analysis-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gsl-theme-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(96, 125, 160, 0.2);
  background: transparent;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gsl-analysis-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  text-decoration: none;
  font-weight: 800;
  background: rgba(34, 197, 94, 0.05);
}

.gsl-analysis-content {
  padding-top: 18px;
}

.gsl-analysis-scorecard {
  position: relative;
  border: 1px solid rgba(96, 125, 160, 0.24);
  border-radius: 18px;
  padding: 18px 28px 28px;
  background: radial-gradient(circle at top center, rgba(26, 77, 154, 0.22), transparent 42%), linear-gradient(180deg, rgba(7, 24, 44, 0.96), rgba(6, 15, 29, 0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.gsl-analysis-scorecard-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-right: 140px;
  color: #dbe6f3;
  font-size: 14px;
  margin-bottom: 18px;
}

.gsl-analysis-scorecard-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gsl-analysis-scorecard-meta svg {
  width: 16px;
  height: 16px;
  color: #a8b7c8;
}

.gsl-analysis-status-pill {
  position: absolute;
  top: 14px;
  right: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.36);
  color: #22c55e;
  font-weight: 800;
}

.gsl-analysis-scorecard-main {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  align-items: center;
  gap: 10px;
}

.gsl-analysis-club {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 214px;
}

.gsl-analysis-club img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.gsl-analysis-club h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.gsl-analysis-score-center {
  text-align: center;
  padding: 0 18px;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
  border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.gsl-analysis-score-value {
  color: #fff;
  font-size: 72px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1px;
}

.gsl-analysis-score-value span {
  opacity: .7;
}

.gsl-analysis-score-sub {
  margin-top: 8px;
  color: #dbe6f3;
  font-size: 18px;
  font-weight: 700;
}

.gsl-analysis-goals-list {
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gsl-analysis-goal-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #dfe8f4;
  font-size: 16px;
}

.gsl-analysis-goal-line strong {
  color: #22c55e;
  font-weight: 800;
}

.gsl-analysis-goal-line svg {
  width: 16px;
  height: 16px;
  color: #dfe8f4;
}

.gsl-analysis-club-away .gsl-analysis-goal-line {
  justify-content: center;
}

.gsl-analysis-goal-line.is-empty {
  color: #7f90a4;
  font-style: italic;
}

.gsl-analysis-panels-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  margin-top: 16px;
}

.gsl-analysis-panel {
  border-radius: 18px !important;
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, rgba(8, 25, 45, 0.98) 0%, rgba(6, 18, 34, 1) 100%) !important;
  border: 1px solid rgba(96, 125, 160, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.gsl-analysis-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.gsl-analysis-panel-head h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.gsl-analysis-stats-head-row {
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.gsl-analysis-team-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
}

.gsl-analysis-team-head img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.gsl-analysis-team-head.is-away {
  justify-content: flex-end;
}

.gsl-analysis-team-head-label {
  text-align: center;
  color: #cbd5e1;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.gsl-analysis-stats-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gsl-analysis-stat-row {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding-bottom: 10px;
}

.gsl-analysis-stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gsl-analysis-stat-values-row {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.gsl-analysis-stat-value {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.gsl-analysis-stat-value.is-home {
  text-align: left;
}

.gsl-analysis-stat-value.is-away {
  text-align: right;
}

.gsl-analysis-stat-label {
  color: #d2dceb;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.gsl-analysis-bars-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.gsl-analysis-bar-side {
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
}

.gsl-analysis-bar-side span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.gsl-analysis-bar-side.is-home span {
  margin-left: auto;
  background: linear-gradient(90deg, #12d87b, #22c55e);
}

.gsl-analysis-bar-side.is-away span {
  background: linear-gradient(90deg, #ef4444, #ff5b5b);
}

.gsl-analysis-events-head {
  align-items: flex-start;
}

.gsl-analysis-event-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gsl-event-filter-btn {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255,255,255,0.02);
  color: #94a3b8;
  padding: 9px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.gsl-event-filter-btn.active {
  border-color: rgba(34, 197, 94, 0.36);
  color: #22c55e;
  background: rgba(34, 197, 94, 0.10);
}

.gsl-analysis-timeline {
  position: relative;
}

.gsl-analysis-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(148, 163, 184, 0.12);
}

.gsl-analysis-timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}

.gsl-analysis-timeline-side {
  min-height: 48px;
}

.gsl-analysis-event-card {
  max-width: 240px;
}

.gsl-analysis-event-card.is-home {
  margin-left: auto;
  text-align: left;
}

.gsl-analysis-event-card.is-away {
  text-align: left;
}

.gsl-analysis-event-main {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.gsl-analysis-event-sub {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 2px;
}

.gsl-analysis-timeline-middle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.gsl-analysis-minute-pill {
  min-width: 54px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(20, 35, 57, 0.96);
  border: 1px solid rgba(96, 125, 160, 0.18);
  color: #d8e4f2;
  font-size: 14px;
  font-weight: 800;
}

.gsl-analysis-minute-pill.type-goal {
  color: #22c55e;
}

.gsl-analysis-minute-pill.type-card {
  color: #facc15;
}

.gsl-analysis-minute-pill.type-subst {
  color: #22c55e;
}

.gsl-analysis-divider-row {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 8px auto;
  width: 100%;
  color: #cbd5e1;
}

.gsl-analysis-divider-row span,
.gsl-analysis-divider-row strong {
  background: linear-gradient(180deg, rgba(8, 25, 45, 0.98), rgba(6, 18, 34, 1));
  padding: 0 8px;
}

.gsl-analysis-divider-row span {
  font-size: 14px;
  font-weight: 700;
}

.gsl-analysis-divider-row strong {
  font-size: 15px;
}

.gsl-analysis-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  font-size: 14px;
}

.gsl-analysis-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gsl-analysis-legend b {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}

.gsl-analysis-legend .type-goal { background: #22c55e; }
.gsl-analysis-legend .type-card.yellow { background: #facc15; }
.gsl-analysis-legend .type-card.red { background: #ef4444; }
.gsl-analysis-legend .type-subst { background: #38bdf8; }

body.gsl-light-theme .gsl-analysis-main {
  background: #f6f9fc;
}

body.gsl-light-theme .gsl-analysis-scorecard,
body.gsl-light-theme .gsl-analysis-panel,
body.gsl-light-theme .gsl-analysis-divider-row span,
body.gsl-light-theme .gsl-analysis-divider-row strong {
  background: #ffffff !important;
}

body.gsl-light-theme .gsl-analysis-scorecard,
body.gsl-light-theme .gsl-analysis-panel,
body.gsl-light-theme .gsl-upgrade-card {
  border-color: rgba(148, 163, 184, 0.22) !important;
}

body.gsl-light-theme .gsl-analysis-scorecard-meta,
body.gsl-light-theme .gsl-analysis-stat-label,
body.gsl-light-theme .gsl-analysis-team-head-label,
body.gsl-light-theme .gsl-analysis-tab-link,
body.gsl-light-theme .gsl-analysis-goal-line,
body.gsl-light-theme .gsl-analysis-event-sub,
body.gsl-light-theme .gsl-analysis-legend,
body.gsl-light-theme .gsl-upgrade-card p,
body.gsl-light-theme .gsl-analysis-divider-row {
  color: #475569;
}

body.gsl-light-theme .gsl-analysis-club h2,
body.gsl-light-theme .gsl-analysis-score-value,
body.gsl-light-theme .gsl-analysis-score-sub,
body.gsl-light-theme .gsl-analysis-panel-head h3,
body.gsl-light-theme .gsl-analysis-team-head,
body.gsl-light-theme .gsl-analysis-stat-value,
body.gsl-light-theme .gsl-analysis-event-main,
body.gsl-light-theme .gsl-upgrade-card h4,
body.gsl-light-theme .gsl-sidebar-user strong {
  color: #0f172a;
}

@media (max-width: 1180px) {
  .gsl-analysis-scorecard-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gsl-analysis-score-center {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    padding: 18px 0;
  }

  .gsl-analysis-panels-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .gsl-analysis-topbar {
    padding: 18px 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .gsl-analysis-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .gsl-analysis-scorecard {
    padding: 16px 18px 20px;
  }

  .gsl-analysis-scorecard-meta {
    padding-right: 0;
  }

  .gsl-analysis-status-pill {
    position: static;
    display: inline-flex;
    margin-bottom: 14px;
  }

  .gsl-analysis-stats-head-row,
  .gsl-analysis-stat-values-row,
  .gsl-analysis-timeline-row {
    grid-template-columns: 1fr;
  }

  .gsl-analysis-team-head.is-away,
  .gsl-analysis-stat-value.is-away,
  .gsl-analysis-stat-value.is-home,
  .gsl-analysis-stat-label {
    text-align: left;
  }

  .gsl-analysis-bars-row {
    grid-template-columns: 1fr;
  }

  .gsl-analysis-timeline::before {
    display: none;
  }

  .gsl-analysis-timeline-middle {
    justify-content: flex-start;
  }

  .gsl-analysis-event-card.is-home {
    margin-left: 0;
  }
}
