:root {
  /* Wartości domyślne - nadpisywane dynamicznie w <head> na podstawie
     ustawień zapisanych w panelu admina (Ustawienia -> Kolory). */
  --primary: #17e06a;
  --primary-dark: #0c9a47;
  --bg: #05070a;
  --surface: #0f1512;
  --surface-2: #141c18;
  --border: #1e2b24;
  --text: #eef7f1;
  --text-dim: #9db3a7;
  --danger: #ff4d4f;
  --danger-bg: rgba(255, 77, 79, 0.12);
  --success: #17e06a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-image:
    radial-gradient(circle at 15% 0%, rgba(23, 224, 106, 0.10), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(23, 224, 106, 0.06), transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Top navigation ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 20px;
  white-space: nowrap;
}

.brand img { height: 34px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all .15s ease;
}

.nav-links a:hover, .nav-links a.active {
  background: rgba(23, 224, 106, 0.12);
  color: var(--primary);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--danger);
  animation: pulse 1.4s infinite;
}

.live-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px solid rgba(23, 224, 106, .45);
  border-radius: 6px;
  background: rgba(23, 224, 106, .12);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  line-height: 1.4;
  vertical-align: middle;
}

.match-status .live-badge { display: table; margin: 4px auto 0; }

.api-tag {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,77,79,.55); }
  70% { box-shadow: 0 0 0 7px rgba(255,77,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,79,0); }
}

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

.hero {
  padding: 56px 0 32px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero span.accent { color: var(--primary); }

.hero p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0;
}

/* ---------------- Section / cards ---------------- */

.section {
  padding: 26px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 18px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card + .card { margin-top: 12px; }

.match-row {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 90px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
  transition: background .15s ease;
}

.match-row:hover { background: rgba(23, 224, 106, 0.06); }

.match-status {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dim);
  line-height: 1.35;
}

.match-status.is-live { color: var(--danger); }
.match-status.is-finished { color: var(--text-dim); }

.team {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.team.away { justify-content: flex-end; text-align: right; }

.team-badge {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--primary);
  flex-shrink: 0;
}

.team-badge.crest {
  object-fit: contain;
  padding: 2px;
}

.score-box {
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
}

.score-box .score-live { color: var(--primary); }

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

.league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}

.league-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  height: 100%;
  margin-top: 0 !important;
}

.league-card .tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.league-card h3 { margin: 0; font-size: 17px; }

.league-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 4px;
}

/* pusty slot na logo - kafelki bez logo mają tę samą wysokość co z logo */
.league-logo-empty { display: block; flex: 0 0 42px; }

.league-page-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.league-page-heading .league-logo { margin: 0; }

.standings-head { align-items: baseline; }
.standings-head h2 { margin-bottom: 3px; }
.table-note { color: var(--text-dim); font-size: 12px; }
.standings-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.standings-mode { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 8px; background: #0a100d; }
.standings-mode button { border: 0; background: transparent; color: var(--text-dim); font: inherit; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 5px; cursor: pointer; }
.standings-mode button.is-active { background: var(--primary); color: #05130a; box-shadow: 0 2px 8px rgba(23,224,106,.16); }
.form-limit { display: inline-flex; align-items: center; gap: 7px; color: var(--text-dim); font-size: 12px; font-weight: 700; }
.form-limit select { width: auto; padding: 7px 28px 7px 9px; font-size: 13px; }
.standings-card { border-radius: 10px; overflow: hidden; box-shadow: none; }
.standings-wrap, .table-scroll { overflow-x: auto; }
.standings-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.standings-table th { height: 38px; color: var(--text-dim); background: rgba(0,0,0,.18); font-size: 10px; letter-spacing: .5px; font-weight: 800; text-align: center; padding: 9px 8px; border-bottom: 1px solid var(--border); }
.standings-table th.team-col, .standings-table td.standings-team { text-align: left; }
.standings-table td { height: 52px; padding: 8px; text-align: center; border-bottom: 1px solid rgba(30,43,36,.72); }
.standings-table tbody tr:last-child td { border-bottom: 0; }
.standings-table tbody tr:hover { background: rgba(23,224,106,.055); }
.standings-table .rank-col { width: 42px; }
.standings-table .points-col { width: 54px; }
.standings-position span { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; border-radius: 5px; background: rgba(255,255,255,.06); color: var(--text-dim); font-size: 11px; font-weight: 800; }
.table-rank-1 .standings-position span, .table-rank-2 .standings-position span { background: rgba(23,224,106,.20); color: var(--primary); }
.table-rank-3 .standings-position span, .table-rank-4 .standings-position span { background: rgba(93,163,255,.16); color: #8fc0ff; }
.table-rank-5 .standings-position span { background: rgba(255,207,64,.15); color: #ffcf40; }
.standings-team { display: flex; align-items: center; gap: 9px; min-width: 190px; font-weight: 700; }
.standings-crest { width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain; margin: 0; }
.fallback-crest { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text-dim); font-size: 11px; }
.standings-table td[data-stat="points"], .standings-points { color: var(--primary); font-weight: 800; background: rgba(23,224,106,.035); }
.standings-form { white-space: nowrap; min-width: 122px; }
.form-result { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 3px; border-radius: 5px; font-size: 10px; font-weight: 800; }
.form-result.w { background: rgba(23,224,106,.18); color: var(--primary); }
.form-result.r { background: rgba(255,255,255,.10); color: var(--text-dim); }
.form-result.p { background: var(--danger-bg); color: var(--danger); }
.admin-note { margin: 0 0 18px; color: var(--text-dim); font-size: 14px; line-height: 1.5; }
.team-crest-list { display: grid; gap: 8px; }
.team-crest-item { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px; border-bottom: 1px solid var(--border); }
.team-crest-item img { width: 38px; height: 38px; object-fit: contain; }
.team-crest-item strong { flex: 1; font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
}

.btn.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #05130a;
  border: none;
}

.btn.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(255,77,79,.35);
}

.btn:disabled { opacity: .5; cursor: not-allowed; }

footer {
  margin-top: auto;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
}

/* ---------------- Match detail ---------------- */

.match-hero {
  padding: 34px 0 10px;
  text-align: center;
}

.match-hero .teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 22px;
  font-weight: 800;
  margin: 14px 0 6px;
}

.match-league, .hero-team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.match-league {
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.match-league img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-team img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.match-hero .score {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 2px;
}

.match-meta {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 640px;
  margin: 18px auto 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
}

.match-meta div {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  text-align: center;
}

.match-meta div + div { border-left: 1px solid var(--border); }
.match-meta span { display: block; color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.match-meta strong { font-size: 14px; overflow-wrap: anywhere; }

.timeline {
  max-width: 640px;
  margin: 0 auto;
}

.event-row {
  display: flex;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--border);
}

.event-row .ev-minute {
  width: 44px;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.event-badge {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-right: 8px;
}

.event-badge.goal { color: var(--primary); border-color: rgba(23,224,106,.4); }
.event-badge.card_yellow { color: #ffcf40; border-color: rgba(255,207,64,.4); }
.event-badge.card_red { color: var(--danger); border-color: rgba(255,77,79,.4); }


.tables-widget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.table-widget { padding: 15px 16px; transition: transform .15s ease, border-color .15s ease; }
.table-widget:hover { transform: translateY(-2px); border-color: rgba(23,224,106,.32); }
.table-widget-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px solid var(--border); }
.table-widget-top strong { font-size: 14px; }
.table-widget-top span { color: var(--text-dim); font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.table-widget-row { display: grid; grid-template-columns: 28px minmax(0,1fr) 42px; gap: 8px; align-items: center; min-height: 39px; border-bottom: 1px solid rgba(30,43,36,.65); font-size: 13px; }
.table-widget-row:last-child { border-bottom: 0; }
.mini-pos { color: var(--text-dim); font-size: 11px; }
.mini-team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.table-widget-row > strong { color: var(--primary); text-align: right; }
.table-widget-empty { padding: 18px 0 4px; color: var(--text-dim); font-size: 12px; }
.section-link { color: var(--primary); font-size: 12px; font-weight: 800; }
/* ---------------- Tabele 10 Score ---------------- */
.tables-hero { padding: 46px 0 24px; text-align: center; }
.tables-hero h1 { margin: 4px 0 8px; font-size: clamp(30px, 5vw, 44px); letter-spacing: -.8px; }
.tables-hero p { margin: 0 auto; max-width: 680px; color: var(--text-dim); }
.eyebrow { color: var(--primary); font-size: 10px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }
.tables-section { padding-top: 10px; }
.league-switcher { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 16px; }
.league-switch { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px 15px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); transition: .15s ease; }
.league-switch:hover { border-color: rgba(23,224,106,.35); transform: translateY(-1px); }
.league-switch.is-active { border-color: var(--primary); box-shadow: 0 0 0 1px rgba(23,224,106,.18), 0 10px 28px rgba(0,0,0,.24); background: linear-gradient(180deg, rgba(23,224,106,.10), var(--surface-2)); }
.league-switch img, .league-switch-icon { width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; display: grid; place-items: center; }
.league-switch span:last-child { min-width: 0; }
.league-switch strong, .league-switch small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.league-switch strong { font-size: 14px; }
.league-switch small { margin-top: 2px; color: var(--text-dim); font-size: 11px; }
.table-panel { overflow: hidden; }
.table-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 24px 18px; border-bottom: 1px solid var(--border); }
.table-panel-head h2 { margin: 3px 0 5px; font-size: 24px; }
.table-panel-head p { margin: 0; color: var(--text-dim); font-size: 12px; }
.table-season { padding: 8px 11px; border: 1px solid var(--border); border-radius: 9px; color: var(--text-dim); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.table-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(0,0,0,.10); }
.modern-standings { min-width: 820px; }
.modern-standings thead th { height: 44px; }
.modern-standings tbody tr { transition: background .15s ease; }
.modern-standings tbody tr:nth-child(-n+3) .position-badge { font-weight: 900; color: var(--primary); background: rgba(23,224,106,.13); }
.modern-standings .position-badge { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: rgba(255,255,255,.055); }
.modern-standings .club-cell { min-width: 230px; text-align: left; display: flex; align-items: center; gap: 10px; }
.modern-standings .club-cell img, .modern-standings .crest-fallback { width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; }
.modern-standings .crest-fallback { display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text-dim); }
.modern-standings td[data-stat="points"] { font-size: 14px; }
.table-empty { padding: 58px 20px; text-align: center; color: var(--text-dim); }
.table-empty span { display: block; font-size: 32px; margin-bottom: 10px; }
.table-empty strong { display: block; color: var(--text); font-size: 17px; }
.table-empty p { margin: 6px 0 0; font-size: 13px; }

/* ---------------- Informacje meczu ---------------- */
.match-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1100px; margin: 18px auto 0; gap: 10px; }
.match-info-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px 17px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow); }
.match-info-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(23,224,106,.10); font-size: 18px; }
.match-info-card > div { min-width: 0; }
.match-info-card span:not(.match-info-icon) { display: block; margin-bottom: 4px; color: var(--text-dim); font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.match-info-card strong { display: block; overflow-wrap: anywhere; font-size: 14px; }

/* ---------------- Forms / auth (also used in admin) ---------------- */

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  padding: 34px 30px;
  text-align: center;
}

.auth-card .brand { justify-content: center; margin-bottom: 18px; }

.auth-card h1 {
  font-size: 20px;
  margin: 0 0 6px;
}

.auth-card p.sub {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0 0 22px;
}

.field { text-align: left; margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

input[type=text], input[type=email], input[type=password], input[type=file],
input[type=number], input[type=datetime-local], input[type=color],
select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: left;
}

.alert-error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(255,77,79,.35);
}

.alert-success {
  background: rgba(23, 224, 106, 0.12);
  color: var(--primary);
  border: 1px solid rgba(23,224,106,.35);
}

.pin-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 6px 0 18px;
}

/* ---------------- Admin layout ---------------- */

.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-sidebar .brand { padding: 6px 10px 22px; }

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.admin-nav a:hover, .admin-nav a.active {
  background: rgba(23,224,106,.10);
  color: var(--primary);
}

.admin-main { flex: 1; padding: 30px 34px; max-width: 1100px; }

.admin-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-topline h1 { font-size: 22px; margin: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 18px;
}

.stat-card .num { font-size: 28px; font-weight: 800; color: var(--primary); }
.stat-card .label { color: var(--text-dim); font-size: 13px; margin-top: 4px; }

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.admin-table th {
  text-align: left;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

table.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

table.admin-table tr:hover td { background: rgba(23,224,106,.04); }

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge.scheduled { background: rgba(255,255,255,.08); color: var(--text-dim); }
.badge.live { background: var(--danger-bg); color: var(--danger); }
.badge.finished { background: rgba(23,224,106,.12); color: var(--primary); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full { grid-column: 1 / -1; }

.upload-preview {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 0 8px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.league-logo-preview { width: 72px; height: 72px; }
.league-logo-thumb { display:block; width:30px; height:30px; object-fit:contain; }
.check-label { margin-top: 8px; font-size: 12px !important; color: var(--text-dim) !important; text-transform: none !important; letter-spacing: 0 !important; }
.check-label input { width: auto; margin: 0 5px 0 0; vertical-align: middle; }
.compact-btn { padding: 6px 12px; font-size: 12px; margin-right: 4px; }
.muted { color: var(--text-dim); }

.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.pad { padding: 22px; }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }

@media (max-width: 900px) {
  .admin-shell { display: block; }
  .admin-sidebar {
    display: block;
    width: 100%;
    height: auto;
    position: static;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .admin-sidebar .brand { display: none; }
  .admin-nav { display: flex; gap: 4px; overflow-x: auto; }
  .admin-nav a { flex: 0 0 auto; margin: 0; padding: 8px 10px; white-space: nowrap; }
  .admin-nav div { display: none; }
  .admin-main { padding: 20px; }
  .form-grid, .two-col { grid-template-columns: 1fr; }
  .match-row { grid-template-columns: 92px minmax(0, 1fr) 54px; gap: 8px; padding: 13px 14px; }
  .match-row .team.away { grid-column: 1 / -1; justify-content: flex-start; text-align: left; margin-top: -6px; }
  .match-row > .match-status:last-child { display: none; }
  .topbar-inner { gap: 12px; }
  .nav-links { flex-wrap: nowrap; overflow-x: auto; padding: 4px 0; }
  .nav-links a { padding: 8px 10px; white-space: nowrap; }
  .hero { padding: 36px 0 22px; }
  .hero h1 { font-size: 30px; }
  .admin-topline { align-items: flex-start; gap: 12px; }
  .admin-topline .btn { flex-shrink: 0; }
  table.admin-table { min-width: 720px; }
  .card.pad:has(table.admin-table) { overflow-x: auto; }
}

@media (max-width: 900px) {
  .match-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .match-info-grid { grid-template-columns: 1fr; }
  .table-panel-head { align-items: flex-start; flex-direction: column; padding: 20px 16px 16px; }
  .table-season { align-self: flex-start; }
  .table-toolbar { align-items: flex-start; flex-direction: column; }
  .league-switcher { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 14px; }
  .topbar-inner { height: 60px; }
  .brand img { height: 28px; }
  .match-hero { padding-top: 24px; }
  .match-hero .teams { gap: 12px; font-size: 17px; flex-wrap: wrap; }
  .hero-team { gap: 6px; }
  .hero-team img { width: 32px; height: 32px; }
  .match-hero .score { font-size: 38px; }
  .match-meta { margin-top: 14px; }
  .match-meta div { padding: 12px 10px; }
  .match-meta strong { font-size: 13px; }
  .team { font-size: 14px; }
  .team-badge { width: 24px; height: 24px; }
  .section { padding: 20px 0; }
  .standings-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .standings-controls { align-items: flex-start; flex-direction: column; }
  .league-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .league-card { padding: 16px; }
  .league-card h3 { font-size: 15px; }
  .admin-main { padding: 16px 14px; }
  .pad { padding: 16px; }
  .admin-topline h1 { font-size: 19px; }
}

/* ================= FUTURE STADIUM TABLE ================= */
.standings-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 42%, rgba(23,224,106,.025)),
    #080d0c;
  box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
}

.standings-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(23,224,106,.055), transparent);
  transform: translateX(-100%);
  animation: stadiumSweep 7s ease-in-out infinite;
}

@keyframes stadiumSweep {
  0%, 55% { transform: translateX(-100%); opacity: 0; }
  65% { opacity: 1; }
  85%, 100% { transform: translateX(100%); opacity: 0; }
}

.standings-wrap { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--primary) rgba(255,255,255,.06); }
.standings-wrap::-webkit-scrollbar { height: 8px; }
.standings-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,.04); }
.standings-wrap::-webkit-scrollbar-thumb { background: linear-gradient(90deg,var(--primary-dark),var(--primary)); border-radius: 99px; }

.standings-table {
  min-width: 850px;
  border-spacing: 0 7px;
  padding: 8px 10px 12px;
  position: relative;
  z-index: 1;
}

.standings-table thead th {
  height: 42px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  color: #71877b;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.standings-table tbody tr {
  background: linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 5px 18px rgba(0,0,0,.12);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.standings-table tbody tr:hover {
  transform: translateY(-2px) scale(1.002);
  background: linear-gradient(90deg, rgba(23,224,106,.105), rgba(255,255,255,.025));
  box-shadow: 0 10px 28px rgba(0,0,0,.24), inset 3px 0 0 var(--primary);
}

.standings-table td {
  height: 58px;
  padding: 8px 10px;
  border: 0;
  color: #d8e4de;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.standings-table tbody tr td:first-child { border-radius: 13px 0 0 13px; }
.standings-table tbody tr td:last-child { border-radius: 0 13px 13px 0; }

.standings-position { width: 54px; }
.standings-position span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.065);
  color: #84978e;
  font-size: 11px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.standings-team {
  min-width: 235px;
  gap: 12px;
  color: #f3faf6;
  font-size: 14px;
}

.standings-crest {
  width: 36px;
  height: 36px;
  padding: 5px;
  border-radius: 11px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.075);
  box-shadow: 0 5px 16px rgba(0,0,0,.22);
}

.fallback-crest {
  background: linear-gradient(135deg, rgba(23,224,106,.16), rgba(255,255,255,.035));
  border-color: rgba(23,224,106,.20);
  color: var(--primary);
}

.standings-table td[data-stat="played"],
.standings-table td[data-stat="wins"],
.standings-table td[data-stat="draws"],
.standings-table td[data-stat="losses"] { color: #9fb0a8; }

.standings-table td[data-stat="goal_difference"] { color: #c8d6d0; }

.standings-table td[data-stat="points"] {
  color: #07120c;
  background: linear-gradient(135deg, var(--primary), #a9ffd0);
  font-size: 15px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 0 22px rgba(23,224,106,.10);
}

.standings-form { min-width: 138px; }
.form-result {
  width: 25px;
  height: 25px;
  margin-right: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  font-size: 9px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.form-result.w { background: rgba(23,224,106,.16); color: #5dff9c; border-color: rgba(23,224,106,.22); }
.form-result.r { background: rgba(255,255,255,.07); color: #b5c1bc; }
.form-result.p { background: rgba(255,77,79,.13); color: #ff7779; border-color: rgba(255,77,79,.20); }

/* Top-zone markers: subtle stadium broadcast accents, not rankings. */
.standings-table tbody tr.table-rank-1 td:first-child,
.standings-table tbody tr.table-rank-2 td:first-child,
.standings-table tbody tr.table-rank-3 td:first-child {
  box-shadow: inset 3px 0 0 var(--primary);
}
.standings-table tbody tr.table-rank-1 .standings-position span {
  color: var(--primary);
  background: rgba(23,224,106,.13);
  border-color: rgba(23,224,106,.28);
  box-shadow: 0 0 18px rgba(23,224,106,.10), inset 0 1px 0 rgba(255,255,255,.06);
}

.standings-controls { margin-bottom: 14px; }
.standings-mode {
  padding: 4px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.standings-mode button {
  padding: 9px 15px;
  border-radius: 8px;
  color: #83958d;
  transition: .18s ease;
}
.standings-mode button:hover { color: #d9e7df; background: rgba(255,255,255,.04); }
.standings-mode button.is-active {
  color: #06130b;
  background: linear-gradient(135deg,var(--primary),#8dffc1);
  box-shadow: 0 5px 18px rgba(23,224,106,.16);
}

.form-limit select {
  border-radius: 10px;
  background: #0a100e;
  border-color: rgba(255,255,255,.10);
}

@media (max-width: 700px) {
  .standings-card { border-radius: 16px; }
  .standings-table { min-width: 780px; }
  .standings-table td { height: 54px; }
  .standings-team { min-width: 200px; }
}

/* ==================== PRO TABLES / 10 SCORE ==================== */
.tables-page { padding: 34px 0 56px; }
.tables-topline { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin: 10px 0 24px; }
.tables-kicker { color:var(--primary); font-size:10px; font-weight:900; letter-spacing:1.5px; text-transform:uppercase; display:flex; align-items:center; gap:8px; }
.kicker-dot { width:7px; height:7px; border-radius:50%; background:var(--primary); box-shadow:0 0 14px rgba(23,224,106,.55); }
.tables-topline h1 { margin:7px 0 5px; font-size:clamp(28px,4vw,42px); letter-spacing:-1.2px; }
.tables-topline p { margin:0; color:var(--text-dim); font-size:13px; }
.tables-live-note { display:flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid rgba(23,224,106,.16); border-radius:10px; color:#8fa39a; background:rgba(23,224,106,.035); font-size:9px; font-weight:900; letter-spacing:1px; white-space:nowrap; }
.tables-live-note span { width:6px; height:6px; border-radius:50%; background:var(--primary); box-shadow:0 0 10px rgba(23,224,106,.5); }
.league-rail { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; margin-bottom:16px; }
.league-chip { min-width:0; display:flex; align-items:center; gap:11px; padding:12px 13px; border:1px solid rgba(255,255,255,.065); border-radius:13px; background:linear-gradient(135deg,rgba(255,255,255,.035),rgba(255,255,255,.015)); transition:.18s ease; }
.league-chip:hover { transform:translateY(-1px); border-color:rgba(23,224,106,.25); background:rgba(23,224,106,.045); }
.league-chip.is-active { border-color:rgba(23,224,106,.42); background:linear-gradient(135deg,rgba(23,224,106,.11),rgba(255,255,255,.025)); box-shadow:0 10px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04); }
.league-chip-logo { width:40px; height:40px; flex:0 0 40px; border-radius:11px; display:grid; place-items:center; background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.07); }
.league-chip-logo img { width:28px; height:28px; object-fit:contain; }
.league-chip-copy { min-width:0; flex:1; }
.league-chip-copy strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.league-chip-copy small { display:block; margin-top:2px; color:#73857d; font-size:9px; font-weight:800; letter-spacing:1px; text-transform:uppercase; }
.league-chip-arrow { color:#64776e; font-size:20px; }
.pro-table-shell { overflow:hidden; border:1px solid rgba(255,255,255,.07); border-radius:18px; background:linear-gradient(180deg,#0c1210,#080d0c); box-shadow:0 24px 70px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.035); }
.pro-table-header { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 22px 17px; border-bottom:1px solid rgba(255,255,255,.06); }
.competition-heading { display:flex; align-items:center; gap:13px; min-width:0; }
.competition-logo { width:48px; height:48px; flex:0 0 48px; display:grid; place-items:center; border-radius:13px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.075); }
.competition-logo img { width:34px; height:34px; object-fit:contain; }
.competition-label { color:#6f8379; font-size:9px; font-weight:900; letter-spacing:1.5px; }
.competition-heading h2 { margin:2px 0 2px; font-size:22px; letter-spacing:-.4px; }
.competition-heading p { margin:0; color:#75877f; font-size:11px; }
.table-status { display:flex; align-items:center; gap:7px; padding:7px 9px; border-radius:8px; background:rgba(23,224,106,.055); color:#789086; font-size:8px; font-weight:900; letter-spacing:1.2px; }
.table-status i { width:6px; height:6px; border-radius:50%; background:var(--primary); box-shadow:0 0 10px rgba(23,224,106,.6); }
.pro-table-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:11px 17px; border-bottom:1px solid rgba(255,255,255,.055); background:rgba(0,0,0,.12); }
.pro-table-toolbar .standings-mode { margin:0; }
.form-filter { display:flex; align-items:center; gap:8px; color:#6e8178; font-size:8px; font-weight:900; letter-spacing:1px; }
.form-filter select { min-height:32px; padding:0 9px; border:1px solid rgba(255,255,255,.08); border-radius:8px; color:#dce7e2; background:#0b100e; font-weight:800; }
.pro-table-scroll { overflow-x:auto; scrollbar-width:thin; scrollbar-color:var(--primary-dark) rgba(255,255,255,.04); }
.pro-standings { min-width:920px; border-spacing:0 5px; padding:5px 8px 10px; }
.pro-standings thead th { height:32px; padding:0 8px; background:transparent; border:0; color:#61746b; font-size:8px; letter-spacing:1.4px; font-weight:900; }
.pro-standings thead .team-col { text-align:left; }
.pro-standings tbody tr { background:linear-gradient(90deg,rgba(255,255,255,.032),rgba(255,255,255,.015)); box-shadow:inset 0 1px 0 rgba(255,255,255,.028); transition:.16s ease; }
.pro-standings tbody tr:hover { transform:translateY(-1px); background:linear-gradient(90deg,rgba(23,224,106,.075),rgba(255,255,255,.018)); box-shadow:inset 3px 0 0 rgba(23,224,106,.8),0 8px 24px rgba(0,0,0,.18); }
.pro-standings td { height:55px; padding:7px 8px; border:0; text-align:center; color:#b8c7c0; font-size:12px; font-weight:650; font-variant-numeric:tabular-nums; }
.pro-standings tbody tr td:first-child { border-radius:11px 0 0 11px; }
.pro-standings tbody tr td:last-child { border-radius:0 11px 11px 0; }
.pro-standings .pos-col { width:50px; }
.pro-standings .pts-col { width:62px; }
.pro-standings .form-col { min-width:135px; }
.pro-standings .standings-position span { display:inline-grid; place-items:center; width:29px; height:29px; border-radius:9px; color:#788b82; background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.06); font-size:10px; font-weight:900; }
.pro-standings .standings-team { position:relative; min-width:245px; display:flex; align-items:center; gap:11px; text-align:left; color:#eef6f1; font-size:13px; }
.team-rank-accent { width:3px; height:27px; border-radius:99px; background:transparent; flex:0 0 3px; }
.pro-standings .standings-crest { width:34px; height:34px; flex:0 0 34px; padding:4px; object-fit:contain; border-radius:10px; background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.06); }
.pro-standings .fallback-crest { display:grid; place-items:center; color:var(--primary); font-weight:900; }
.pro-standings td[data-stat="played"],.pro-standings td[data-stat="wins"],.pro-standings td[data-stat="draws"],.pro-standings td[data-stat="losses"] { color:#84978e; }
.pro-standings td[data-stat="goal_difference"] { color:#c2d0c9; }
.pro-standings td[data-stat="points"] { color:#07120c; font-size:14px; font-weight:950; background:linear-gradient(135deg,var(--primary),#a9ffd0); box-shadow:inset 0 0 0 1px rgba(255,255,255,.18); }
.pro-standings .standings-form { min-width:135px; white-space:nowrap; }
.pro-standings .form-result { display:inline-grid; place-items:center; width:24px; height:24px; margin-right:3px; border-radius:7px; font-size:8px; font-weight:950; }
.pro-standings .form-result.w { background:rgba(23,224,106,.17); color:#5dff9c; border:1px solid rgba(23,224,106,.2); }
.pro-standings .form-result.r { background:rgba(255,255,255,.065); color:#aab8b2; border:1px solid rgba(255,255,255,.07); }
.pro-standings .form-result.p { background:rgba(255,77,79,.13); color:#ff7779; border:1px solid rgba(255,77,79,.17); }
.pro-standings tbody tr.table-rank-1 .standings-position span,.pro-standings tbody tr.table-rank-2 .standings-position span,.pro-standings tbody tr.table-rank-3 .standings-position span { color:var(--primary); border-color:rgba(23,224,106,.2); background:rgba(23,224,106,.09); }
.pro-standings tbody tr.table-rank-1 .team-rank-accent,.pro-standings tbody tr.table-rank-2 .team-rank-accent,.pro-standings tbody tr.table-rank-3 .team-rank-accent { background:var(--primary); box-shadow:0 0 10px rgba(23,224,106,.35); }
.table-legend { display:flex; flex-wrap:wrap; gap:10px 17px; padding:11px 17px 15px; border-top:1px solid rgba(255,255,255,.045); color:#64766e; font-size:9px; font-weight:700; }
.table-legend span { display:inline-flex; align-items:center; gap:5px; }
.table-legend b { color:#94a69e; }
.legend-line { width:3px; height:12px; border-radius:99px; display:inline-block; }
.legend-line.green { background:var(--primary); }

@media (max-width:700px) {
  .tables-page { padding-top:20px; }
  .tables-topline { align-items:flex-start; flex-direction:column; margin-bottom:17px; }
  .tables-live-note { align-self:flex-start; }
  .league-rail { grid-template-columns:1fr; }
  .pro-table-header { padding:16px; }
  .competition-heading h2 { font-size:18px; }
  .pro-table-toolbar { padding:10px 12px; }
  .pro-standings { min-width:900px; }
}

/* 10 Score Pro search + safety zone */
.site-search{display:flex;align-items:center;gap:6px;margin-left:auto;margin-right:14px}
.site-search input{width:190px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:9px 11px;color:var(--text)}
.site-search button{width:38px;height:38px;border:1px solid rgba(23,224,106,.25);border-radius:11px;background:rgba(23,224,106,.10);color:var(--primary);font-size:20px}
.search-page-box form{display:flex;gap:10px}.search-page-box input{flex:1}
.search-result{display:flex;align-items:center;justify-content:space-between;padding:16px;margin-bottom:8px;text-decoration:none;color:inherit}
.search-crest{width:34px;height:34px}.search-crest img{max-width:34px;max-height:34px}
.danger-card{border:1px solid rgba(255,80,80,.28);background:linear-gradient(145deg,rgba(60,10,12,.35),rgba(15,21,18,.92))}
.danger-icon{font-size:42px;color:#ff6b6b}.danger-actions{display:grid;gap:14px;margin-top:20px}.danger-actions form{display:flex;gap:8px;flex-wrap:wrap}.danger-actions input{min-width:280px}
.announcement-icon{display:flex!important;flex-direction:column;line-height:1;gap:2px}.announcement-icon small{font-size:7px;letter-spacing:.15em}
@media(max-width:800px){.site-search{order:3;width:100%;margin:8px 0 0}.site-search input{width:100%}}


/* Club profiles + round schedule + mobile pass */
.team-profile-page{padding:28px 0 60px}.team-profile-hero{display:flex;align-items:center;gap:20px;padding:22px;border:1px solid rgba(255,255,255,.07);border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,.04),rgba(23,224,106,.025));margin-bottom:14px}.profile-crest{width:92px;height:92px;flex:0 0 92px;display:grid;place-items:center;border-radius:20px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08)}.profile-crest img{max-width:70px;max-height:70px;object-fit:contain}.profile-crest span{font-size:34px;font-weight:950;color:var(--primary)}.profile-kicker{font-size:9px;font-weight:900;letter-spacing:1.5px;color:var(--primary)}.profile-copy h1{margin:5px 0 8px;font-size:clamp(27px,5vw,42px);letter-spacing:-1px}.profile-leagues{display:flex;gap:7px;flex-wrap:wrap}.profile-leagues a,.profile-leagues span{padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.05);color:#9bacA4;text-decoration:none;font-size:10px;font-weight:800}.profile-stat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.profile-stat{padding:15px;border:1px solid rgba(255,255,255,.065);border-radius:14px;background:rgba(255,255,255,.025)}.profile-stat small{display:block;color:#687b72;font-size:8px;font-weight:900;letter-spacing:1.2px}.profile-stat strong{display:block;margin-top:7px;font-size:20px;font-variant-numeric:tabular-nums}.profile-form{display:flex;gap:6px}.profile-form .form-result{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;font-size:10px;font-weight:950}.profile-form .w{background:rgba(23,224,106,.16);color:#63ff9d}.profile-form .r{background:rgba(255,255,255,.07);color:#b5c2bc}.profile-form .p{background:rgba(255,77,79,.14);color:#ff7779}.team-profile-link{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;width:100%}.round-list{display:grid;gap:9px}.round-card{border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.02);overflow:hidden}.round-card summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;font-weight:900}.round-card summary::-webkit-details-marker{display:none}.round-card summary:after{content:'+';color:var(--primary);font-size:20px}.round-card[open] summary:after{content:'−'}.round-card summary small{color:#70837a;font-size:9px;font-weight:800}.round-matches{padding:0 8px 8px}
@media(max-width:900px){.profile-stat-grid{grid-template-columns:repeat(3,1fr)}.team-profile-page{padding-top:18px}.match-row{grid-template-columns:74px minmax(0,1fr) 54px minmax(0,1fr) 38px;gap:7px;padding:11px 9px}.match-row .team{font-size:11px}.match-row .team-badge{width:28px;height:28px}.match-row .match-status{font-size:9px}.site-search input{font-size:16px}.container{width:min(100% - 22px,1100px)}}
@media(max-width:560px){.team-profile-hero{padding:15px;gap:13px}.profile-crest{width:64px;height:64px;flex-basis:64px;border-radius:15px}.profile-crest img{max-width:48px;max-height:48px}.profile-crest span{font-size:24px}.profile-copy h1{font-size:25px}.profile-stat-grid{grid-template-columns:repeat(2,1fr)}.profile-stat{padding:12px}.profile-stat strong{font-size:18px}.round-card summary{padding:13px 12px}.round-matches{padding:0 3px 5px}.match-row{grid-template-columns:63px minmax(0,1fr) 42px minmax(0,1fr);}.match-row > .match-status:last-child{display:none}.match-row .team{font-size:10px}.match-row .team-badge{width:24px;height:24px}.match-row .score-box span{font-size:13px!important}.site-search{margin-left:0;margin-right:0}.site-search input{min-width:0}.nav-links{overflow-x:auto;white-space:nowrap;padding-bottom:2px}.nav-links a{flex:0 0 auto}.standings-wrap{overflow-x:auto}.standings-table{min-width:760px}.section-head{gap:8px}.section-head h2{font-size:19px}}
