:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f9fbfd;
  --surface-green: #eaf8f0;
  --text: #071326;
  --muted: #657083;
  --faint: #dfe5ec;
  --green: #07963b;
  --green-dark: #05752f;
  --green-soft: #dff5e8;
  --navy: #0b172a;
  --shadow-sm: 0 8px 22px rgba(15, 32, 56, 0.08);
  --shadow-md: 0 16px 38px rgba(15, 32, 56, 0.11);
  --shadow-card: 0 14px 26px rgba(15, 32, 56, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --site-max-width: 1440px;
  --site-gutter: 32px;
  --container: var(--site-max-width);
}


* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(7, 150, 59, 0.08), transparent 34rem),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 42%, #f9fafc 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 227, 235, 0.86);
  box-shadow: 0 10px 28px rgba(15, 32, 56, 0.05);
  backdrop-filter: blur(16px);
}

.topbar {
  border-bottom: 1px solid rgba(223, 230, 238, 0.95);
  background: rgba(255, 255, 255, 0.98);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(var(--site-max-width), calc(100% - (var(--site-gutter) * 2)));
  min-height: 52px;
  margin: 0 auto;
}

.topbar-left,
.topbar-right,
.topbar-ticker,
.topbar-score,
.topbar-link,
.topbar-social {
  display: flex;
  align-items: center;
}

.topbar-left {
  min-width: 0;
}

.topbar-right {
  justify-content: flex-end;
  gap: 18px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.topbar-ticker {
  gap: 18px;
  min-width: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.topbar-score {
  gap: 10px;
  min-width: 0;
}

.topbar-score strong {
  overflow: hidden;
  max-width: 230px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-minute {
  color: var(--green);
  font-size: 16px;
}

.topbar-competition {
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 31px;
  padding: 0 15px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), #00ad44);
  color: #fff;
  box-shadow: 0 9px 18px rgba(7, 150, 59, 0.18);
}

.live-chip::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.topbar-separator {
  width: 1px;
  height: 26px;
  background: #dce3ec;
}

.topbar-link {
  gap: 8px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.topbar-link svg,
.topbar-competition svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.topbar-menu {
  position: relative;
}

.topbar-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 170px;
  padding: 8px;
  border: 1px solid #dfe6ee;
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.topbar-menu:not(.is-open) .topbar-dropdown {
  display: none;
}

.topbar-menu.is-open .topbar-dropdown {
  display: grid;
}

.topbar-dropdown button {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

.topbar-dropdown button:hover,
.topbar-dropdown button:focus-visible {
  background: var(--green-soft);
  color: var(--green-dark);
}

.topbar-social {
  gap: 14px;
}

.topbar-social button {
  display: grid;
  min-width: 20px;
  min-height: 28px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.topbar-link:focus-visible,
.topbar-social button:focus-visible,
.header-bell:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(7, 150, 59, 0.24);
  outline-offset: 3px;
}

.header-main {
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(var(--site-max-width), calc(100% - (var(--site-gutter) * 2)));
  min-height: 86px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--navy);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand-accent {
  color: var(--green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  min-width: 0;
}

.main-nav a {
  position: relative;
  color: #131c2d;
  font-size: 15px;
  font-weight: 700;
  padding: 34px 0 31px;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  opacity: 0;
  transform: scaleX(0.5);
  transition: 160ms ease;
  content: "";
}

.main-nav a.is-active {
  color: var(--green);
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-shell {
  position: relative;
  flex: 0 0 auto;
}

.search {
  display: grid;
  grid-template-columns: 1fr 36px 48px;
  width: 360px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #d9e0e8;
  border-radius: 14px;
  background: #fbfcfe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.search input {
  grid-column: 1;
  min-width: 0;
  padding: 0 0 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.search input::placeholder {
  color: #8994a5;
}

.search input::-webkit-search-cancel-button,
.search-page-form input::-webkit-search-cancel-button,
.search-modal-form input::-webkit-search-cancel-button {
  display: none;
}

.search button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
}

.search-clear {
  color: #8190a4;
}

.search button[type="submit"] {
  grid-column: 3;
}

.search svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.1;
}

.search-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 40;
  width: min(790px, calc(100vw - 64px));
  max-height: min(760px, calc(100vh - 180px));
  overflow: auto;
  border: 1px solid rgba(218, 228, 239, 0.96);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(15, 32, 56, 0.19);
}

.search-panel-inner {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.search-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.search-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.search-section-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.search-section-title a {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.search-top-block,
.search-suggestion-group,
.search-recent {
  padding: 12px;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow-sm);
}

.search-top-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 12px;
  border: 1px solid #e5edf5;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(7, 150, 59, 0.08), transparent 42%),
    #fff;
}

.search-top-card.is-active,
.search-suggestion-row.is-active {
  border-color: rgba(7, 150, 59, 0.42);
  background: #f2fbf6;
}

.search-top-avatar,
.search-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dfe8f2;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.search-top-avatar {
  width: 82px;
  height: 82px;
}

.search-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 11px;
}

.search-top-avatar img,
.search-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-top-copy,
.search-row-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.search-top-copy strong,
.search-row-copy strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-row-copy strong {
  font-size: 13px;
}

.search-top-copy small,
.search-row-copy small,
.search-top-copy em,
.search-page-row em {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(56px, 1fr));
  align-self: stretch;
  min-width: 260px;
  border-left: 1px solid #e8eef5;
}

.search-result-stats span {
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-right: 1px solid #edf2f7;
}

.search-result-stats b {
  color: var(--navy);
  font-size: 15px;
}

.search-result-stats small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.search-suggestion-list {
  display: grid;
  gap: 6px;
}

.search-suggestion-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
}

.search-state {
  display: grid;
  gap: 6px;
  min-height: 96px;
  place-content: center;
  padding: 20px;
  border: 1px dashed #dbe5ef;
  border-radius: 16px;
  background: #fbfcfe;
  text-align: center;
}

.search-state strong {
  color: var(--navy);
  font-size: 15px;
}

.search-state span {
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.search-state-error {
  border-color: rgba(239, 68, 68, 0.18);
  background: #fffafa;
}

.search-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-chip-list a {
  padding: 9px 12px;
  border: 1px solid #dfe8f2;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.header-bell {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(223, 230, 238, 0.9);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.header-bell svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.header-bell span {
  position: absolute;
  top: 7px;
  right: 8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 13px;
  text-align: center;
}

.btn {
  display: inline-grid;
  min-width: 108px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
}

.btn-ghost {
  border: 1px solid rgba(7, 150, 59, 0.55);
  color: var(--green-dark);
  background: #fff;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), #008b35);
  box-shadow: 0 11px 22px rgba(7, 150, 59, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--faint);
  border-radius: 12px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--navy);
}

.app-shell {
  width: min(var(--site-max-width), calc(100% - (var(--site-gutter) * 2)));
  margin: 0 auto;
  padding: 18px 0 36px;
}

.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid rgba(7, 150, 59, 0.22);
  border-radius: 16px;
  background: rgba(234, 248, 240, 0.8);
  color: #14532d;
  font-size: 13px;
  font-weight: 700;
}

.demo-banner a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.dashboard {
  display: grid;
  grid-template-columns: 252px minmax(620px, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.sidebar,
.content,
.right-rail {
  min-width: 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  margin: 0 0 13px;
}

.title-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.section-title h2,
.section-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.section-title h3 {
  font-size: 16px;
}

.section-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.mini-icon {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: var(--green);
}

.mini-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.competition-list {
  display: grid;
  gap: 8px;
}

.competition-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 9px 14px;
  border: 1px solid rgba(224, 231, 240, 0.85);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.competition-card strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chevron {
  color: #8793a4;
  font-size: 20px;
  line-height: 1;
}

.badge,
.team-logo,
.player-avatar,
.news-thumb {
  display: grid;
  flex: none;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8), 0 5px 12px rgba(15, 32, 56, 0.12);
}

.badge {
  width: 34px;
  height: 34px;
  font-size: 10px;
}

.team-logo {
  width: 54px;
  height: 54px;
  font-size: 14px;
}

.team-logo.large {
  width: 78px;
  height: 78px;
  font-size: 18px;
}

.badge.logo-img,
.team-logo.logo-img,
.mini-logo.logo-img {
  background: #fff;
  color: var(--navy);
}

.badge.logo-img img,
.team-logo.logo-img img,
.mini-logo.logo-img img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.story-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-pl,
.logo-mci {
  background: radial-gradient(circle at 30% 20%, #9ad8ff, #41a4da 38%, #6f2677 39%, #3d0b4f);
}

.logo-laliga,
.logo-bar {
  background: conic-gradient(from 0deg, #d91f26, #f4b500, #17964a, #1b6ac9, #d91f26);
}

.logo-sa,
.logo-inter {
  background: radial-gradient(circle at 35% 30%, #2d7cff, #0047a7 48%, #061a46);
}

.logo-bun,
.logo-bay {
  background: radial-gradient(circle at 30% 30%, #ff8890, #d71920 45%, #97121b);
}

.logo-ligue,
.logo-psg {
  background: radial-gradient(circle at 35% 22%, #4da4ff, #143f8f 50%, #071e46);
}

.logo-ucl {
  background: radial-gradient(circle at 50% 45%, #ffffff 0 18%, transparent 20%), linear-gradient(135deg, #093a8f, #071b4c);
}

.logo-uel {
  background: linear-gradient(135deg, #f97316, #111827 55%, #fbbf24);
}

.logo-wc {
  background: radial-gradient(circle at 34% 28%, #ffd166, #c99412 45%, #76520b);
}

.logo-ars {
  background: linear-gradient(135deg, #e41f2d, #8d1018 54%, #f4c14b);
}

.logo-bet {
  background: linear-gradient(135deg, #1b9d55, #f8f0d9 44%, #f59e0b);
}

.logo-mil {
  background: repeating-linear-gradient(90deg, #111827 0 10px, #d71920 10px 20px);
}

.logo-bvb {
  color: #111;
  background: #ffd51f;
}

.logo-om {
  background: linear-gradient(135deg, #35c0f2, #0490cc 52%, #ffffff);
}

.logo-new {
  background: linear-gradient(135deg, #111827, #fff 50%, #111827);
  color: #111827;
}

.logo-che {
  background: radial-gradient(circle at 35% 25%, #69a7ff, #1047a6 54%, #09275f);
}

.logo-liv {
  background: linear-gradient(135deg, #d71920, #008060);
}

.logo-avl {
  background: linear-gradient(135deg, #8fd0ff, #7b1f4d);
}

.logo-tot {
  background: linear-gradient(135deg, #eff6ff, #1e3a8a);
  color: #123;
}

.promo-card {
  position: relative;
  min-height: 336px;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(231, 247, 238, 0.8)),
    url("../img/football-stadium-card.png") center bottom / cover no-repeat;
  box-shadow: var(--shadow-md);
}

.promo-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.2) 42%, rgba(7, 150, 59, 0.11) 100%);
  content: "";
}

.promo-card > * {
  position: relative;
  z-index: 1;
}

.promo-copy {
  padding: 24px 22px;
}

.promo-copy h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.22;
}

.promo-copy p {
  max-width: 160px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.date-strip {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.date-scroller {
  display: grid;
  grid-template-columns: repeat(7, minmax(64px, 1fr));
  gap: 9px;
  min-width: 0;
}

.date-arrow,
.date-pill {
  border: 1px solid #dfe6ee;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.date-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #111827;
  font-size: 27px;
}

.date-pill {
  min-height: 52px;
  min-width: 0;
  padding: 9px 6px;
  border-radius: 14px;
  color: var(--text);
  text-align: center;
}

.date-pill span {
  display: block;
  font-size: 11px;
  font-weight: 700;
}

.date-pill strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 800;
}

.date-pill.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #018d36);
  box-shadow: 0 14px 28px rgba(7, 150, 59, 0.24);
}

.content-section {
  margin-bottom: 28px;
}

.featured-card {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  border: 1px solid rgba(217, 229, 224, 0.9);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  box-shadow: var(--shadow-card);
}

.featured-card::before,
.featured-card::after {
  position: absolute;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.featured-card::before {
  left: 0;
}

.featured-card::after {
  right: 0;
}

.featured-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(150px, 190px) 1fr;
  align-items: center;
  gap: 24px;
  min-height: 172px;
  padding: 18px 64px 26px;
}

.featured-team {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
}

.featured-team strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-meta {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.league-label {
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}

.scoreline {
  color: var(--navy);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.minute {
  color: #2f3a4d;
  font-size: 13px;
  font-weight: 750;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.live-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.dots {
  position: absolute;
  right: 0;
  bottom: 11px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #aab4c0;
}

.dots span:first-child {
  width: 8px;
  background: var(--green);
}

.matches {
  display: grid;
  gap: 9px;
}

.match-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(130px, 154px) minmax(190px, 1fr) 34px;
  align-items: center;
  gap: 14px;
  min-height: 100px;
  padding: 14px 18px;
  border: 1px solid rgba(227, 233, 240, 0.84);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.match-team {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.match-team.away {
  grid-template-columns: minmax(0, 1fr) 62px;
  text-align: right;
}

.match-team strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 15px;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-center {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  text-align: center;
}

.match-league {
  overflow: hidden;
  max-width: 100%;
  color: #5d6676;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-score {
  color: var(--navy);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
}

.match-sub {
  color: #5d6676;
  font-size: 12px;
  font-weight: 700;
}

.match-live-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.match-live-line .live-pill {
  padding: 4px 8px;
  font-size: 9px;
}

.bell {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.bell svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.rail-stack {
  display: grid;
  gap: 22px;
}

.info-card {
  padding: 18px 18px 14px;
  border: 1px solid rgba(225, 232, 240, 0.86);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

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

.card-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.card-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.selected-league {
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.table {
  display: grid;
  gap: 0;
}

.table-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 34px 48px 38px;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid rgba(232, 237, 243, 0.95);
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
}

.table-row.head {
  min-height: 28px;
  color: #7b8796;
  font-size: 10px;
  font-weight: 800;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.table-team span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-logo {
  display: grid;
  width: 23px;
  height: 23px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 7px;
  font-weight: 800;
}

.table-row .rank-green {
  color: var(--green);
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.scorer-list,
.news-list {
  display: grid;
  gap: 11px;
}

.scorer-row {
  display: grid;
  grid-template-columns: 22px 38px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
}

.player-avatar {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #f2d6c3, #9b5b37);
  font-size: 11px;
}

.scorer-main {
  min-width: 0;
}

.scorer-main strong,
.scorer-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scorer-main span {
  margin-top: 2px;
  color: #778293;
  font-size: 11px;
}

.goals {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.news-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
}

.news-thumb {
  width: 72px;
  height: 58px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.1), rgba(7, 150, 59, 0.22)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  color: var(--navy);
  font-size: 10px;
}

.news-copy {
  min-width: 0;
}

.news-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--navy);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-copy span {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.empty-card {
  display: grid;
  min-height: 132px;
  place-items: center;
  padding: 22px;
  border: 1px dashed #cfd8e3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: #697586;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.empty-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 15px;
}

.empty-card button {
  margin-top: 12px;
  border: 1px solid rgba(3, 166, 75, 0.35);
  background: #fff;
  color: var(--green);
  border-radius: 12px;
  padding: 8px 14px;
  font-weight: 800;
  cursor: pointer;
}

.placeholder-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.page-hero,
.search-results {
  min-height: 360px;
  padding: 30px;
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.page-hero h1,
.search-results h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.15;
}

.page-hero p,
.search-results p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.placeholder-actions a {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.search-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.search-item strong {
  color: var(--navy);
  font-size: 14px;
}

.search-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.search-results-page {
  display: grid;
  gap: 20px;
}

.search-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 22px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.search-page-form input {
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #dfe7f0;
  border-radius: 13px;
  background: #fbfcfe;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  outline: 0;
}

.search-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.search-tabs button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #dde6ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.search-tabs button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(7, 150, 59, 0.22);
}

.search-page-body {
  display: grid;
  gap: 16px;
}

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

.search-page-group {
  padding: 14px;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.search-page-list {
  display: grid;
  gap: 8px;
}

.search-page-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 10px;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  background: #fbfcfe;
}

.search-page-row span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.search-page-row strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-page-row small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 38, 0.38);
}

.search-modal-card {
  position: relative;
  width: min(100% - 24px, 520px);
  max-height: calc(100vh - 36px);
  margin: 18px auto;
  overflow: hidden;
  border: 1px solid rgba(224, 232, 242, 0.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(7, 19, 38, 0.25);
}

.search-modal-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #edf2f7;
}

.search-modal-form input {
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dfe7f0;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--navy);
  outline: 0;
  font-size: 14px;
  font-weight: 700;
}

.search-modal-form button {
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.search-modal-body {
  max-height: calc(100vh - 124px);
  overflow: auto;
  padding: 12px;
}

body.search-modal-open {
  overflow: hidden;
}

.site-footer {
  margin-top: 42px;
  color: #e5edf7;
}

.footer-feature-strip {
  width: min(var(--site-max-width), calc(100% - (var(--site-gutter) * 2)));
  margin: 0 auto 38px;
}

.footer-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 28px 36px;
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.footer-feature {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.footer-feature-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid #e5ecf4;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, #f8fbfd);
  color: var(--green);
  box-shadow: 0 14px 25px rgba(15, 32, 56, 0.07);
}

.footer-feature-icon svg,
.footer-language svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-feature h2 {
  margin: 2px 0 9px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.footer-feature p {
  margin: 0;
  color: #40506a;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.footer-main,
.footer-bottom {
  background:
    radial-gradient(circle at top left, rgba(7, 150, 59, 0.12), transparent 34rem),
    linear-gradient(135deg, #071326, #091b34 55%, #071426);
}

.footer-main-inner,
.footer-bottom-inner {
  width: min(var(--site-max-width), calc(100% - (var(--site-gutter) * 2)));
  margin: 0 auto;
}

.footer-main-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(150px, 0.8fr)) minmax(260px, 1.2fr);
  gap: 42px;
  padding: 68px 0 58px;
}

.footer-brand,
.footer-brand-col,
.footer-link-col,
.footer-newsletter {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 18px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

.footer-brand span {
  color: #fff;
}

.footer-brand b {
  color: #16b755;
}

.footer-brand-col p,
.footer-newsletter p {
  margin: 0;
  color: #c9d4e4;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.footer-brand-col .footer-tagline {
  margin-bottom: 22px;
  color: #f7fbff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.footer-social button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
}

.footer-link-col,
.footer-newsletter {
  display: grid;
  align-content: start;
  gap: 15px;
}

.footer-link-col h2,
.footer-newsletter h2 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.footer-link-col h2::after,
.footer-newsletter h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.footer-link-col a {
  color: #edf5ff;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.footer-link-col a:hover,
.footer-link-col a:focus-visible,
.footer-brand:hover,
.footer-brand:focus-visible {
  color: #32d26b;
}

.footer-newsletter-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.footer-newsletter-form input {
  width: 100%;
  min-height: 64px;
  padding: 0 22px;
  border: 1px solid rgba(221, 231, 244, 0.22);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  outline: 0;
  font-size: 15px;
  font-weight: 650;
}

.footer-newsletter-form input::placeholder {
  color: #8998ad;
}

.footer-newsletter-form button {
  min-height: 56px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #12b750, #08a43f);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 25px rgba(7, 150, 59, 0.22);
}

.footer-note {
  min-height: 18px;
  color: #a7b5c8;
  font-size: 12px;
  font-weight: 750;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 30px;
  align-items: center;
  min-height: 112px;
  padding: 24px 0;
}

.footer-bottom p {
  margin: 0;
  color: #c5d0df;
  font-size: 14px;
  font-weight: 650;
}

.footer-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #cbd6e4;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.footer-trust span {
  position: relative;
}

.footer-trust span + span::before {
  position: absolute;
  top: 50%;
  left: -14px;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
  content: "";
}

.footer-language {
  position: relative;
}

.footer-language > button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 154px;
  height: 56px;
  justify-content: center;
  border: 1px solid rgba(221, 231, 244, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
}

.footer-language svg {
  width: 18px;
  height: 18px;
}

.footer-social button:hover,
.footer-social button:focus-visible,
.footer-newsletter-form button:hover,
.footer-newsletter-form button:focus-visible,
.footer-language > button:hover,
.footer-language > button:focus-visible {
  outline: 3px solid rgba(24, 194, 89, 0.2);
  outline-offset: 3px;
}

.live-dashboard {
  display: grid;
  grid-template-columns: 236px minmax(620px, 1fr) 324px;
  gap: 28px;
  align-items: start;
}

.live-left,
.live-main,
.live-right {
  min-width: 0;
}

.live-panel {
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid rgba(225, 232, 240, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.live-filter-card {
  display: grid;
  gap: 2px;
  padding: 0;
  overflow: hidden;
}

.live-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.live-filter-row.is-active {
  color: var(--green);
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.13), rgba(7, 150, 59, 0.02));
}

.live-filter-row strong {
  color: var(--green);
  font-size: 12px;
}

.live-filter-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.live-dot-icon {
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.live-card-title {
  margin: 2px 0 14px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.live-competition-list,
.popular-list {
  display: grid;
  gap: 10px;
}

.live-competition-row,
.popular-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: #1f2937;
  font-size: 12px;
  font-weight: 750;
}

.live-competition-row strong,
.popular-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-competition-row > span:last-child,
.popular-row > span:last-child {
  color: #687386;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.popular-row > span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.popular-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef233c;
}

.live-promo-card,
.fbl-promo-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.live-promo-card {
  min-height: 352px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 42%, rgba(7, 150, 59, 0.12) 100%),
    url("../img/football-stadium-card.png") center bottom / cover no-repeat;
}

.live-promo-copy {
  position: relative;
  z-index: 1;
  padding: 26px 22px;
}

.live-promo-copy h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
}

.live-promo-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.live-promo-copy a,
.fbl-promo-card a,
.enable-alerts-btn,
.view-live-btn {
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #06b447);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(7, 150, 59, 0.2);
}

.live-promo-copy a {
  padding: 0 16px;
}

.live-main {
  padding: 22px;
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.live-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.live-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.live-title h1 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.live-signal {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.live-signal::before,
.live-signal::after {
  position: absolute;
  inset: 3px;
  border: 1px solid var(--green);
  border-radius: 50%;
  content: "";
}

.live-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #4b5563;
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.refresh-btn span {
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
}

.live-divider {
  width: 1px;
  height: 24px;
  background: #dfe5ec;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #657083;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.toggle-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-label i {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #d8dee8;
}

.toggle-label i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(15, 32, 56, 0.18);
  content: "";
}

.toggle-label input:checked + i {
  background: var(--green);
}

.toggle-label input:checked + i::after {
  transform: translateX(14px);
}

.live-status {
  min-height: 18px;
  margin: -4px 0 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 750;
}

.live-chips {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 0 18px;
  border-bottom: 1px solid #e7edf4;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.live-chip.is-active {
  background: linear-gradient(135deg, var(--green), #06b447);
  color: #fff;
  box-shadow: 0 10px 20px rgba(7, 150, 59, 0.22);
}

.live-groups {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.live-group {
  overflow: hidden;
  border: 1px solid rgba(224, 231, 240, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.live-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid #e7edf4;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  color: var(--navy);
  cursor: pointer;
}

.live-group-name,
.live-group-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.live-group-name strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-group-meta b {
  color: #ef233c;
  font-size: 12px;
  font-weight: 800;
}

.live-group-meta span {
  color: #475569;
  font-size: 16px;
}

.live-group.is-collapsed .live-group-body {
  display: none;
}

.live-match-row {
  display: grid;
  grid-template-columns: 30px 54px minmax(150px, 1fr) 76px minmax(150px, 1fr) 34px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 10px 16px;
  border-bottom: 1px solid #e8edf3;
}

.live-match-row:last-child {
  border-bottom: 0;
}

.favorite-btn {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #a3afbf;
  cursor: pointer;
}

.favorite-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.live-minute {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.live-team {
  display: grid;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.live-team.home {
  grid-template-columns: minmax(0, 1fr) 38px;
  text-align: right;
}

.live-team.away {
  grid-template-columns: 38px minmax(0, 1fr);
}

.live-team .team-logo {
  width: 36px;
  height: 36px;
  font-size: 10px;
}

.live-team strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-score-cell {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.live-score-cell strong {
  display: inline-grid;
  min-width: 50px;
  min-height: 28px;
  place-items: center;
  border: 1px solid rgba(7, 150, 59, 0.45);
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 800;
}

.live-score-cell .live-pill {
  padding: 3px 7px;
  border: 1px solid rgba(7, 150, 59, 0.32);
  background: #fff;
  color: var(--green);
  font-size: 8px;
}

.live-score-cell .live-pill::before {
  background: var(--green);
}

.live-alert-btn {
  margin-left: auto;
}

.live-empty-wrap {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.view-live-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(300px, 100%);
  margin: 22px auto 0;
  background: #fff;
  color: var(--navy);
  border: 1px solid #dfe6ee;
  box-shadow: var(--shadow-sm);
}

.alerts-card {
  position: relative;
  min-height: 170px;
  padding: 26px;
}

.alerts-card h3,
.fbl-promo-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.alerts-card p {
  max-width: 210px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}

.enable-alerts-btn {
  width: 100%;
}

.alert-bubble {
  position: absolute;
  top: 28px;
  right: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.alert-bubble svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.alert-note {
  display: block;
  min-height: 17px;
  margin-top: 10px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.fbl-promo-card {
  min-height: 160px;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(7, 19, 38, 0.96), rgba(7, 19, 38, 0.65)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.fbl-promo-card .promo-brand {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.fbl-promo-card .promo-brand span {
  color: #1bdb63;
}

.fbl-promo-card h3 {
  max-width: 210px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.fbl-promo-card a {
  min-height: 36px;
  padding: 0 18px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  max-width: min(360px, calc(100% - 32px));
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.worldcup-dashboard {
  display: grid;
  grid-template-columns: 252px minmax(650px, 1fr) 350px;
  gap: 24px;
  align-items: start;
}

.worldcup-left,
.worldcup-main,
.worldcup-right {
  min-width: 0;
}

.wc-menu-card,
.wc-card,
.wc-groups-section {
  border: 1px solid rgba(225, 232, 240, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.wc-menu-card {
  overflow: hidden;
  margin-bottom: 26px;
}

.wc-menu-title {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid #e7edf4;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}

.wc-menu-title strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-trophy-mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #f6d365, #a54bca);
}

.wc-trophy-mark::before {
  width: 9px;
  height: 15px;
  border: 2px solid #fff;
  border-top-width: 4px;
  border-radius: 6px 6px 3px 3px;
  content: "";
}

.wc-menu-list {
  display: grid;
  padding: 8px;
}

.wc-menu-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 750;
}

.wc-menu-item.is-active {
  color: var(--green);
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.12), rgba(7, 150, 59, 0.03));
}

.wc-menu-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-menu-dot {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1.8px solid currentColor;
  border-radius: 6px;
}

.wc-menu-dot::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.wc-side-promo {
  min-height: 450px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(7, 19, 38, 0.86) 0%, rgba(7, 19, 38, 0.58) 38%, rgba(7, 19, 38, 0.08) 100%),
    url("../img/world-cup-trophy-card.png") center bottom / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.wc-side-promo > div {
  padding: 34px 22px;
}

.wc-side-promo h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
}

.wc-side-promo p {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}

.wc-side-promo a {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(7, 150, 59, 0.25);
}

.wc-hero {
  min-height: 226px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(42, 2, 39, 0.95) 0%, rgba(83, 8, 71, 0.86) 46%, rgba(42, 2, 39, 0.1) 100%),
    url("../img/world-cup-trophy-card.png") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.wc-hero-copy {
  max-width: 610px;
  padding: 58px 32px 36px;
}

.wc-hero-copy span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
}

.wc-hero-copy h1 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.1;
}

.wc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.wc-hero-meta strong {
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 750;
}

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

.wc-stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 70px;
  padding: 14px 18px;
  border: 1px solid rgba(225, 232, 240, 0.88);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.wc-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.wc-stat-icon.green {
  background: radial-gradient(circle at 35% 30%, #fff, #b7f2cd 45%, #22c55e);
}

.wc-stat-icon.blue {
  background: radial-gradient(circle at 35% 30%, #fff, #bfdbfe 45%, #3b82f6);
}

.wc-stat-icon.purple {
  background: radial-gradient(circle at 35% 30%, #fff, #ddd6fe 45%, #8b5cf6);
}

.wc-stat-icon.orange {
  background: radial-gradient(circle at 35% 30%, #fff, #fed7aa 45%, #f97316);
}

.wc-stat-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.wc-stat-card strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.wc-card,
.wc-groups-section {
  margin-bottom: 18px;
  padding: 16px;
}

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

.wc-section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.wc-section-head a {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.wc-match-list {
  display: grid;
}

.wc-match-row {
  display: grid;
  grid-template-columns: 160px minmax(160px, 1fr) 44px minmax(160px, 1fr) 92px;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 14px;
  border-bottom: 1px solid #e8edf3;
}

.wc-match-row:last-child {
  border-bottom: 0;
}

.wc-match-time strong,
.wc-match-time span {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.wc-match-time span {
  margin-top: 4px;
  color: #64748b;
  font-weight: 700;
}

.wc-match-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wc-match-team.home {
  justify-content: flex-end;
  text-align: right;
}

.wc-match-team.away {
  justify-content: flex-start;
}

.wc-match-team strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-vs {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.wc-status-pill {
  display: inline-grid;
  min-height: 30px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.wc-group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wc-group-card {
  padding: 14px;
  border: 1px solid #e3eaf2;
  border-radius: 12px;
  background: #fff;
}

.wc-group-card h3 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.wc-group-teams {
  display: grid;
  gap: 8px;
}

.wc-group-teams div {
  display: grid;
  grid-template-columns: 18px 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #475569;
  font-size: 11px;
  font-weight: 750;
}

.wc-group-teams strong {
  overflow: hidden;
  color: #1f2937;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-group-card a {
  display: block;
  margin-top: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.wc-side-card .card-head h3 {
  white-space: nowrap;
}

.wc-qualified-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
}

.wc-qualified-grid div {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
}

.wc-qualified-grid span:last-child {
  overflow: hidden;
  max-width: 100%;
  color: var(--navy);
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flag-chip {
  display: inline-grid;
  width: 34px;
  height: 24px;
  flex: none;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 4px 10px rgba(15, 32, 56, 0.12);
}

.flag-usa {
  background: repeating-linear-gradient(180deg, #c1121f 0 4px, #fff 4px 8px);
  color: #1d3557;
}

.flag-can {
  background: linear-gradient(90deg, #d00000 0 25%, #fff 25% 75%, #d00000 75%);
  color: #d00000;
}

.flag-mex {
  background: linear-gradient(90deg, #006341 0 33%, #fff 33% 66%, #ce1126 66%);
  color: #0f5132;
}

.flag-bra {
  background: radial-gradient(circle, #254aa5 0 22%, #f6d32d 23% 48%, transparent 49%), #149954;
}

.flag-arg {
  background: linear-gradient(180deg, #74acdf 0 33%, #fff 33% 66%, #74acdf 66%);
  color: #7a5c00;
}

.flag-fra {
  background: linear-gradient(90deg, #002395 0 33%, #fff 33% 66%, #ed2939 66%);
  color: #111827;
}

.flag-ger {
  background: linear-gradient(180deg, #000 0 33%, #dd0000 33% 66%, #ffce00 66%);
}

.flag-esp {
  background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.flag-eng {
  background: linear-gradient(90deg, transparent 0 42%, #c8102e 42% 58%, transparent 58%), linear-gradient(180deg, #fff 0 42%, #c8102e 42% 58%, #fff 58%);
  color: #1f2937;
}

.flag-jpn {
  background: radial-gradient(circle, #bc002d 0 28%, #fff 29%);
  color: #1f2937;
}

.flag-irn {
  background: linear-gradient(180deg, #239f40 0 33%, #fff 33% 66%, #da0000 66%);
  color: #111827;
}

.flag-kor {
  background: radial-gradient(circle at 50% 50%, #c60c30 0 18%, #003478 19% 34%, transparent 35%), #fff;
  color: #111827;
}

.flag-rsa {
  background: linear-gradient(135deg, #007a4d 0 40%, #ffb81c 40% 52%, #de3831 52%);
}

.flag-mar {
  background: #c1272d;
}

.flag-cro {
  background: linear-gradient(180deg, #f00 0 33%, #fff 33% 66%, #171796 66%);
  color: #111827;
}

.flag-srb,
.flag-par {
  background: linear-gradient(180deg, #c6363c 0 33%, #0c4076 33% 66%, #fff 66%);
}

.flag-sui {
  background: #d52b1e;
}

.flag-cmr {
  background: linear-gradient(90deg, #007a5e 0 33%, #ce1126 33% 66%, #fcd116 66%);
}

.flag-aus {
  background: #012169;
}

.flag-tbd {
  background: #eef2f7;
  color: #64748b;
}

.wc-news-thumb {
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.1), rgba(109, 40, 217, 0.18)),
    url("../img/world-cup-trophy-card.png") center / cover no-repeat;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.competitions-dashboard {
  display: grid;
  grid-template-columns: 252px minmax(680px, 1fr) 306px;
  gap: 24px;
  align-items: start;
}

.competitions-left,
.competitions-main,
.competitions-right {
  min-width: 0;
}

.competitions-title {
  margin: 2px 0 18px;
}

.competitions-title h1 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.1;
}

.competitions-title p {
  margin: 0;
  color: #3d4a5f;
  font-size: 14px;
  font-weight: 650;
}

.competition-filter-card,
.competitions-card {
  border: 1px solid rgba(225, 232, 240, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.competition-filter-card {
  padding: 16px 14px;
}

.competition-filter-card h2,
.filter-group h3,
.competitions-card-head h2 {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.competition-filter-card h2 {
  margin-bottom: 14px;
  font-size: 16px;
}

.filter-search {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid #dce4ed;
  border-radius: 10px;
  background: #fbfcfe;
}

.filter-search input {
  min-width: 0;
  padding: 0 0 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 12px;
  font-weight: 650;
}

.filter-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-width: 2.1;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-group h3,
.select-field span {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
}

.filter-options {
  display: grid;
  gap: 2px;
}

.filter-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 33px;
  padding: 0 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #263246;
  cursor: pointer;
  text-align: left;
}

.filter-option.is-active {
  color: var(--green);
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.13), rgba(7, 150, 59, 0.04));
}

.filter-option strong,
.filter-option em {
  overflow: hidden;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-option em {
  color: inherit;
  font-weight: 800;
}

.filter-dot,
.fact-icon,
.region-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.filter-dot {
  width: 16px;
  height: 16px;
  border: 1.6px solid currentColor;
}

.filter-dot::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.select-field {
  display: block;
  margin-bottom: 14px;
}

.select-field select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dce4ed;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: 10px;
}

.filter-reset,
.filter-apply,
.competition-promo-card a,
.competition-view {
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.filter-reset {
  border: 1px solid #dfe6ee;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.filter-apply {
  border: 0;
  background: linear-gradient(135deg, var(--green), #00943a);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(7, 150, 59, 0.2);
}

.filter-note {
  display: block;
  min-height: 16px;
  margin-top: 9px;
  color: #718096;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.competition-promo-card {
  min-height: 316px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(7, 19, 38, 0.92), rgba(7, 19, 38, 0.42) 48%, rgba(7, 150, 59, 0.15)),
    url("../img/football-stadium-card.png") center bottom / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.competition-promo-card div {
  padding: 22px 18px;
}

.competition-promo-card h3 {
  max-width: 205px;
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.competition-promo-card p {
  max-width: 188px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.competition-promo-card a {
  width: max-content;
  padding: 0 16px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 20px rgba(7, 150, 59, 0.22);
}

.competitions-card {
  margin-bottom: 18px;
  padding: 18px 16px;
}

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

.competitions-card-head h2 {
  font-size: 15px;
}

.competitions-card-head a {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.competition-tile-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.competition-tile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: 136px;
  min-width: 0;
  padding: 12px 8px;
  border: 1px solid #e1e8f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 32, 56, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.competition-tile:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.competition-tile .badge {
  width: 54px;
  height: 54px;
  font-size: 11px;
}

.competition-tile strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.competition-tile span:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
  color: #526176;
  font-size: 11px;
  font-weight: 750;
}

.competition-tile .flag-chip {
  width: 18px;
  height: 13px;
  border-radius: 3px;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0;
}

.compact-dots {
  position: static;
  margin-top: 14px;
}

.competitions-table-card {
  padding-bottom: 20px;
  overflow: hidden;
}

.competition-table {
  display: grid;
}

.competition-table-head,
.competition-table-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.6fr) minmax(120px, 1fr) 82px 72px 62px 104px;
  align-items: center;
  gap: 8px;
}

.competition-table-row > * {
  min-width: 0;
}

.competition-table-head {
  min-height: 32px;
  padding: 0 8px 8px;
  color: #667287;
  font-size: 12px;
  font-weight: 750;
}

.competition-table-row {
  min-height: 54px;
  padding: 8px;
  border-top: 1px solid #e8edf3;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.competition-name-cell,
.competition-country-cell,
.competition-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.competition-actions {
  justify-content: flex-start;
}

.competition-name-cell strong,
.competition-country-cell span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.competition-country-cell .flag-chip {
  width: 24px;
  height: 17px;
  border-radius: 4px;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0;
}

.competition-type-pill {
  display: inline-grid;
  width: max-content;
  min-height: 24px;
  place-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
}

.competition-type-pill.cup {
  background: #dbeafe;
  color: #1d4ed8;
}

.competition-type-pill.international {
  background: #ede9fe;
  color: #6d28d9;
}

.competition-type-pill.women {
  background: #fce7f3;
  color: #be185d;
}

.competition-type-pill.youth {
  background: #ffedd5;
  color: #c2410c;
}

.competition-season,
.competition-matches {
  color: #172033;
}

.competition-view {
  min-width: 62px;
  border: 1px solid #dfe6ee;
  background: #fff;
  color: var(--navy);
}

.competition-actions .favorite-btn.is-followed,
.popular-region-row b.is-followed {
  color: var(--green);
}

.competition-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.competition-pagination button,
.competition-pagination span {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #dfe6ee;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.competition-pagination button {
  cursor: pointer;
}

.competition-pagination button.is-active {
  border-color: transparent;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 18px rgba(7, 150, 59, 0.22);
}

.region-list,
.popular-region-list {
  display: grid;
  gap: 12px;
}

.region-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}

.region-row strong,
.region-row em {
  overflow: hidden;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-row em {
  color: #44536a;
}

.region-icon {
  width: 24px;
  height: 24px;
}

.region-europe {
  background: radial-gradient(circle at 35% 30%, #e0f2fe, #38bdf8 45%, #2563eb);
}

.region-south {
  background: radial-gradient(circle at 35% 30%, #dcfce7, #22c55e 45%, #059669);
}

.region-north {
  background: radial-gradient(circle at 35% 30%, #dbeafe, #60a5fa 45%, #2563eb);
}

.region-asia {
  background: radial-gradient(circle at 35% 30%, #ffedd5, #fb923c 45%, #f97316);
}

.region-africa {
  background: radial-gradient(circle at 35% 30%, #dcfce7, #16a34a 45%, #15803d);
}

.region-oceania {
  background: radial-gradient(circle at 35% 30%, #e0f2fe, #38bdf8 45%, #0ea5e9);
}

.card-link.centered {
  justify-content: center;
  margin-top: 18px;
}

.popular-region-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.popular-region-row span:nth-child(2) {
  min-width: 0;
}

.popular-region-row strong,
.popular-region-row em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popular-region-row strong {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.popular-region-row em {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.popular-region-row b {
  display: grid;
  place-items: center;
  color: #718096;
}

.popular-region-row svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.competition-fact-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 18px;
}

.fact-icon {
  width: 36px;
  height: 36px;
  background: radial-gradient(circle at 35% 30%, #fff, #bbf7d0 45%, #22c55e);
}

.fact-icon::before {
  width: 14px;
  height: 14px;
  border: 2px solid #07963b;
  border-radius: 50%;
  content: "";
}

.competition-fact-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 15px;
}

.competition-fact-card p {
  margin: 0 0 16px;
  color: #526176;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.competition-fact-card a {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.team-profile-page,
.account-page {
  display: grid;
  gap: 14px;
}

.team-hero-card,
.team-stat-grid .player-stat-card,
.account-sidebar,
.account-panel,
.login-required-card,
.account-ready-card,
.search-filter-sidebar,
.search-right-sidebar {
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.team-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 24px;
  min-height: 248px;
  overflow: hidden;
  padding: 28px;
}

.team-hero-card.has-data {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(237, 247, 255, 0.86) 58%, rgba(219, 237, 255, 0.7)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.team-hero-logo {
  display: grid;
  place-items: center;
}

.team-hero-logo img,
.team-hero-logo .team-logo {
  width: 158px;
  height: 158px;
  border-radius: 50%;
  box-shadow: 0 20px 42px rgba(15, 32, 56, 0.14);
}

.team-hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.team-hero-copy h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
}

.team-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #263653;
  font-size: 14px;
  font-weight: 800;
}

.team-hero-copy p {
  max-width: 720px;
  margin: 0;
  color: #263653;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.team-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  margin-top: 6px;
  border-top: 1px solid #dfe7f0;
}

.team-info-strip div {
  display: grid;
  gap: 5px;
  padding: 14px 18px 0;
  border-left: 1px solid #dfe7f0;
}

.team-info-strip div:first-child {
  padding-left: 0;
  border-left: 0;
}

.team-info-strip span,
.team-info-list span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.team-info-strip strong,
.team-info-list strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-hero-empty {
  grid-column: 1 / -1;
}

.team-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.team-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  align-items: start;
}

.team-main-column,
.team-side-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.team-two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.team-info-list {
  display: grid;
  gap: 11px;
}

.team-info-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
}

.account-page {
  grid-template-columns: 240px minmax(0, 1fr) 340px;
  align-items: start;
}

.account-sidebar,
.account-right,
.account-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.account-sidebar {
  padding: 16px;
}

.account-sidebar a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: #243149;
  font-size: 13px;
  font-weight: 800;
}

.account-sidebar a.is-active {
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.13), rgba(7, 150, 59, 0.04));
  color: var(--green);
}

.account-sidebar a span {
  width: 16px;
  height: 16px;
  border: 1.8px solid currentColor;
  border-radius: 5px;
}

.account-upgrade-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf3, #f8fafc);
}

.account-upgrade-card strong,
.account-panel h2 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.account-upgrade-card p {
  margin: 0;
  color: #526176;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.account-upgrade-card button,
.filter-apply {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.account-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.account-heading h1,
.login-required-card h1,
.account-ready-card h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 900;
}

.account-heading p,
.login-required-card p,
.account-ready-card p {
  margin: 0;
  color: #526176;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.login-required-card,
.account-ready-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.login-required-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.login-required-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.account-section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.account-panel {
  min-width: 0;
  padding: 16px;
}

.account-panel h2 {
  margin: 0 0 14px;
}

.account-panel.wide {
  grid-column: 1 / -1;
}

.settings-form {
  display: grid;
  gap: 14px;
}

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

.settings-grid label,
.settings-preferences label,
.filter-select {
  display: grid;
  gap: 7px;
  color: #25334d;
  font-size: 12px;
  font-weight: 800;
}

.settings-grid input,
.filter-select select,
.search-sort select {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dfe7f0;
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--navy);
}

.settings-preferences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.settings-preferences label {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
}

.settings-preferences input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.full-search-results {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.search-content-column,
.search-filter-sidebar,
.search-right-sidebar {
  min-width: 0;
}

.search-content-column {
  display: grid;
  gap: 18px;
}

.search-filter-sidebar,
.search-right-sidebar {
  display: grid;
  gap: 18px;
  padding: 16px;
}

.filter-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.filter-head button {
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.filter-group {
  display: grid;
  gap: 6px;
}

.filter-group > span,
.filter-select > span {
  margin-bottom: 4px;
  color: #3d4b63;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-group button {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #263653;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.filter-group button.is-active {
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.14), rgba(7, 150, 59, 0.04));
  color: var(--green);
}

.filter-group button span,
.filter-group button i {
  width: 15px;
  height: 15px;
  border: 1.8px solid currentColor;
  border-radius: 5px;
}

.filter-group.compact button {
  grid-template-columns: 18px minmax(0, 1fr);
}

.filter-group.compact button i {
  border-radius: 50%;
}

.filter-group b,
.search-tabs b {
  display: inline-grid;
  min-width: 24px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #edf4f0;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.search-tabs {
  align-items: center;
  border-bottom: 1px solid #e3eaf2;
}

.search-tabs .search-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #526176;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.recent-search-list {
  display: grid;
  gap: 8px;
}

.recent-search-list a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 34px;
  color: #263653;
  font-size: 13px;
  font-weight: 760;
}

.recent-search-list a span {
  width: 14px;
  height: 14px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}

.legal-page,
.about-page,
.help-page {
  display: grid;
  gap: 22px;
}

.legal-hero,
.legal-toc-card,
.legal-help-card,
.legal-section-card,
.legal-notice,
.about-feature-strip,
.about-copy-card,
.about-values,
.about-cta-card,
.help-card,
.help-quick-card {
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  min-height: 250px;
  overflow: hidden;
  padding: 36px 42px;
  background:
    radial-gradient(circle at 82% 38%, rgba(7, 150, 59, 0.12), transparent 15rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 255, 0.82));
}

.legal-hero-copy {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.legal-hero h1,
.about-hero h1,
.help-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
}

.legal-hero p,
.about-hero p,
.help-hero p,
.about-copy-card p,
.about-value-grid p,
.about-feature-strip p,
.help-card p,
.help-quick-card p {
  margin: 0;
  color: #43516a;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.legal-hero small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #526176;
  font-size: 12px;
  font-weight: 750;
}

.legal-hero small svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.legal-hero-icon,
.legal-section-icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b95b, var(--green));
  color: #fff;
}

.legal-hero-icon::before,
.legal-section-icon::before,
.legal-mini-icon::before {
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 6px;
  content: "";
}

.legal-hero-visual {
  position: relative;
  display: grid;
  height: 210px;
  place-items: center;
}

.legal-hero-visual span {
  width: 160px;
  height: 150px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 54%, #fff 0 11px, transparent 12px),
    linear-gradient(145deg, #fff, #d9f8e6 45%, #0ba447);
  box-shadow: 0 24px 55px rgba(7, 150, 59, 0.2), inset 0 0 0 12px rgba(255, 255, 255, 0.32);
  transform: rotate(-7deg);
}

.legal-hero.doc .legal-hero-visual span {
  border-radius: 20px;
  background:
    linear-gradient(#cad5e2 0 10px, transparent 10px 22px, #dce5ef 22px 32px, transparent 32px 48px, #dce5ef 48px 58px, transparent 58px),
    linear-gradient(145deg, #fff, #f8fafc 58%, #d9f8e6);
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 16px;
}

.legal-toc-card,
.legal-help-card,
.legal-section-card,
.help-card {
  max-width: 100%;
  min-width: 0;
  padding: 18px;
}

.legal-toc-card h2,
.legal-help-card h2,
.help-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.legal-toc-list {
  display: grid;
  gap: 6px;
}

.legal-toc-list button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #263653;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
}

.legal-toc-list button.is-active {
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.13), rgba(7, 150, 59, 0.04));
  color: var(--green);
}

.legal-mini-icon {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  color: currentColor;
}

.legal-mini-icon::before {
  width: 11px;
  height: 11px;
  border-width: 1.8px;
  border-radius: 4px;
}

.legal-hero.lock .legal-hero-icon::before,
.legal-section-icon.lock::before,
.legal-mini-icon.lock::before {
  width: 17px;
  height: 14px;
  border-radius: 4px;
  box-shadow: 0 -9px 0 -4px currentColor;
}

.legal-hero.doc .legal-hero-icon::before,
.legal-section-icon.doc::before,
.legal-section-icon.screen::before,
.legal-mini-icon.doc::before,
.legal-mini-icon.screen::before {
  width: 20px;
  height: 16px;
  border-radius: 3px;
  border-bottom-width: 5px;
}

.legal-section-icon.user::before,
.legal-mini-icon.user::before,
.legal-section-icon.group::before,
.legal-mini-icon.group::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 13px 0 3px currentColor;
}

.legal-section-icon.chart::before,
.legal-mini-icon.chart::before {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 9px, currentColor 9px 13px, transparent 13px 18px, currentColor 18px 22px);
  clip-path: polygon(0 48%, 18% 48%, 18% 100%, 0 100%, 0 48%, 41% 22%, 59% 22%, 59% 100%, 41% 100%, 41% 22%, 82% 0, 100% 0, 100% 100%, 82% 100%);
}

.legal-section-icon.cookie::before,
.legal-mini-icon.cookie::before,
.legal-section-icon.globe::before,
.legal-mini-icon.globe::before,
.legal-section-icon.target::before,
.legal-mini-icon.target::before,
.legal-section-icon.clock::before,
.legal-mini-icon.clock::before,
.legal-section-icon.info::before,
.legal-mini-icon.info::before {
  border-radius: 50%;
}

.legal-section-icon.share::before,
.legal-mini-icon.share::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 13px -8px 0 -1px currentColor, 13px 8px 0 -1px currentColor;
}

.legal-section-icon.shield::before,
.legal-mini-icon.shield::before {
  width: 19px;
  height: 21px;
  border-radius: 10px 10px 14px 14px;
  clip-path: polygon(50% 0, 100% 16%, 90% 72%, 50% 100%, 10% 72%, 0 16%);
}

.legal-section-icon.check::before,
.legal-mini-icon.check::before {
  width: 18px;
  height: 9px;
  border-top: 0;
  border-right: 0;
  border-radius: 0;
  transform: rotate(-45deg);
}

.legal-section-icon.calendar::before,
.legal-mini-icon.calendar::before,
.legal-section-icon.mail::before,
.legal-mini-icon.mail::before {
  border-radius: 3px;
}

.legal-section-icon.handshake::before,
.legal-mini-icon.handshake::before {
  width: 22px;
  height: 13px;
  border-radius: 8px;
  transform: rotate(-10deg);
}

.legal-section-icon.star::before,
.legal-mini-icon.star::before {
  width: 22px;
  height: 22px;
  border: 0;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 80% 95%, 50% 72%, 20% 95%, 31% 57%, 0 35%, 38% 35%);
}

.legal-section-icon.scale::before,
.legal-mini-icon.scale::before {
  width: 22px;
  height: 14px;
  border-top: 0;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  border-radius: 0 0 8px 8px;
}

.legal-section-icon.heart::before,
.legal-mini-icon.heart::before {
  width: 19px;
  height: 19px;
  border-radius: 7px 7px 3px 7px;
  transform: rotate(45deg);
}

.legal-help-card {
  display: grid;
  gap: 12px;
  background: linear-gradient(135deg, #f5fcf8, #fff);
}

.legal-help-card a,
.help-link-list a,
.support-category-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.legal-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.legal-section-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  scroll-margin-top: 140px;
}

.legal-section-card > div {
  min-width: 0;
}

.legal-section-card h2 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.legal-section-card ul,
.about-copy-card ul {
  margin: 0;
  padding-left: 18px;
  color: #3b4960;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.7;
}

.legal-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 18px;
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.08), rgba(7, 150, 59, 0.03));
  color: #075f2b;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.about-hero {
  display: grid;
  min-height: 410px;
  align-items: center;
  overflow: hidden;
  padding: 48px 44px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(246, 250, 255, 0.98) 0 44%, rgba(246, 250, 255, 0.72) 58%, rgba(246, 250, 255, 0.1)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.about-hero-copy {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.about-hero h1 span,
.about-hero h2,
.about-dark-card span {
  color: var(--green);
}

.about-hero h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.about-cta-card .about-actions button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.about-hero .about-actions button {
  cursor: pointer;
}

.about-feature-strip,
.about-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.about-feature-strip article,
.about-value-grid article {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 26px 22px;
  border-left: 1px solid #e2e9f1;
}

.about-feature-strip article:first-child,
.about-value-grid article:first-child {
  border-left: 0;
}

.about-feature-strip strong,
.about-value-grid strong,
.help-quick-card strong,
.support-category-grid strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.about-copy-card {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  padding: 28px;
}

.about-copy-card h2,
.about-values h2,
.about-cta-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.15;
}

.about-dark-card {
  display: grid;
  align-content: space-between;
  gap: 24px;
  min-height: 300px;
  padding: 34px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.92), rgba(7, 19, 38, 0.58)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.about-dark-card h2 {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.15;
}

.about-dark-card div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-dark-card div span {
  display: grid;
  min-height: 54px;
  align-items: end;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.about-values {
  display: grid;
  gap: 20px;
  padding: 28px;
  text-align: center;
}

.about-value-grid {
  box-shadow: none;
}

.about-team-section {
  grid-template-columns: 1fr 1fr;
}

.about-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.84), rgba(7, 150, 59, 0.56)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  color: #fff;
}

.about-cta-card h2,
.about-cta-card p {
  color: #fff;
}

.help-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 230px;
  padding: 38px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  text-align: center;
}

.help-search {
  width: min(100%, 560px);
}

.help-search input {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  outline: 0;
}

.help-note {
  min-height: 18px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.help-quick-grid,
.support-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.help-quick-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

button.help-quick-card {
  width: 100%;
}

.help-inline-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.help-quick-card p {
  grid-column: 2;
}

.help-quick-card b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #dfe7f0;
  border-radius: 50%;
  color: var(--navy);
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.help-main,
.help-sidebar {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.help-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.help-topic-list button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #dfe7f0;
  border-radius: 9px;
  background: #fff;
  color: #263653;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  border: 1px solid #e2e9f1;
  border-radius: 10px;
  overflow: hidden;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
}

.faq-item button span::before {
  content: "+";
}

.faq-item button[aria-expanded="true"] span::before {
  content: "-";
}

.faq-item p {
  padding: 0 14px 14px;
}

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

.support-form label {
  display: grid;
  gap: 7px;
  color: #25334d;
  font-size: 12px;
  font-weight: 800;
}

.support-form input,
.support-form select,
.support-form textarea {
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #dfe7f0;
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--navy);
  outline: 0;
}

.support-form input,
.support-form select {
  height: 42px;
}

.support-form textarea {
  padding-top: 12px;
  resize: vertical;
}

.support-form .wide,
.support-category-grid {
  grid-column: 1 / -1;
}

.support-hp {
  position: absolute;
  left: -10000px;
}

.support-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-category-grid article {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #e2e9f1;
  border-radius: 13px;
  background: #fff;
}

.help-link-list,
.help-side-list {
  display: grid;
  gap: 8px;
}

.help-side-list p {
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f7;
}

.help-side-list p:last-child {
  border-bottom: 0;
}

.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-option-grid button,
.contact-option-grid a {
  display: grid;
  min-height: 70px;
  place-items: center;
  border: 1px solid #dfe7f0;
  border-radius: 11px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.cookie-page,
.not-found-page,
.download-page,
.advertising-page,
.sitemap-page {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.cookie-hero-visual,
.not-found-hero,
.suggestion-card,
.download-hero,
.app-feature-grid article,
.waitlist-card,
.app-info-strip,
.ad-hero,
.ad-benefit-grid article,
.ad-opportunity-grid article,
.ad-metrics-strip,
.ad-cta,
.ad-contact-grid,
.sitemap-hero,
.sitemap-search-card,
.sitemap-card,
.sitemap-cta,
.cookie-preference-strip {
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.legal-section-icon.settings::before,
.legal-mini-icon.settings::before {
  width: 22px;
  height: 12px;
  border: 0;
  border-top: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  border-radius: 0;
  box-shadow: 0 8px 0 -3px currentColor;
}

.legal-section-icon.football::before,
.legal-mini-icon.football::before {
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px currentColor;
}

.legal-section-icon.bell::before,
.legal-mini-icon.bell::before {
  width: 17px;
  height: 19px;
  border-radius: 9px 9px 5px 5px;
  box-shadow: 0 10px 0 -7px currentColor;
}

.legal-section-icon.table::before,
.legal-mini-icon.table::before {
  width: 22px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent 0 44%, currentColor 44% 55%, transparent 55%), linear-gradient(180deg, transparent 0 44%, currentColor 44% 55%, transparent 55%);
}

.legal-section-icon.trophy::before,
.legal-mini-icon.trophy::before {
  width: 20px;
  height: 18px;
  border-radius: 5px 5px 10px 10px;
  box-shadow: 0 12px 0 -8px currentColor;
}

.legal-section-icon.flag::before,
.legal-mini-icon.flag::before {
  width: 18px;
  height: 16px;
  border-right: 0;
  border-radius: 2px;
  box-shadow: -8px 9px 0 -6px currentColor;
}

.legal-hero.cookie {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.legal-hero.cookie .legal-hero-icon::before {
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, currentColor 0 2px, transparent 3px), radial-gradient(circle at 62% 46%, currentColor 0 2px, transparent 3px), radial-gradient(circle at 42% 68%, currentColor 0 2px, transparent 3px);
}

.cookie-hero-visual {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cookie-hero-visual span {
  position: relative;
  width: 185px;
  height: 135px;
  border-radius: 22px;
  background: linear-gradient(#dfe6ef 0 22px, #fff 22px 100%);
  box-shadow: 0 24px 55px rgba(15, 32, 56, 0.14);
  transform: rotate(5deg);
}

.cookie-hero-visual span::before {
  position: absolute;
  top: 39px;
  left: 50%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 28%, #70462c 0 5px, transparent 6px),
    radial-gradient(circle at 64% 34%, #70462c 0 5px, transparent 6px),
    radial-gradient(circle at 44% 62%, #70462c 0 5px, transparent 6px),
    #dca460;
  content: "";
  transform: translateX(-50%);
}

.cookie-hero-visual b {
  position: absolute;
  right: 58px;
  bottom: 34px;
  width: 58px;
  height: 64px;
  border-radius: 16px 16px 22px 22px;
  background: linear-gradient(135deg, var(--green), #18c868);
  box-shadow: 0 18px 32px rgba(7, 150, 59, 0.24);
  clip-path: polygon(50% 0, 100% 18%, 88% 72%, 50% 100%, 12% 72%, 0 18%);
}

.cookie-hero-visual b::after {
  position: absolute;
  top: 25px;
  left: 17px;
  width: 23px;
  height: 12px;
  border-bottom: 4px solid #fff;
  border-left: 4px solid #fff;
  content: "";
  transform: rotate(-45deg);
}

.cookie-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe7f0;
  border-radius: 12px;
}

.cookie-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: #273653;
  font-size: 12px;
  font-weight: 650;
}

.cookie-table th,
.cookie-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e6edf4;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: #f6f8fb;
  color: var(--navy);
  font-weight: 900;
}

.cookie-table tr:last-child td {
  border-bottom: 0;
}

.cookie-preference-strip,
.sitemap-cta,
.waitlist-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.1), rgba(255, 255, 255, 0.96));
}

.cookie-preference-strip h2,
.waitlist-card h2,
.sitemap-search-card h2,
.sitemap-cta h2,
.suggestion-card h2,
.ad-section h2,
.ad-cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.cookie-preference-strip p,
.waitlist-card p,
.sitemap-search-card p,
.sitemap-card p,
.sitemap-cta p,
.suggestion-card p,
.download-page p,
.advertising-page p {
  margin: 0;
  color: #43516a;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.58;
}

.cookie-preference-strip small,
.waitlist-card small,
.ad-contact-grid small,
.sitemap-search-card small {
  display: block;
  min-height: 17px;
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.cookie-actions,
.not-found-actions,
.ad-actions,
.store-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.not-found-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: 32px;
  align-items: center;
  min-height: 410px;
  overflow: hidden;
  padding: 46px 58px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 44%, rgba(255, 255, 255, 0.6) 62%, rgba(255, 255, 255, 0.12)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.not-found-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.not-found-code {
  display: block;
  color: var(--navy);
  font-size: clamp(94px, 13vw, 178px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.86;
}

.not-found-copy h1,
.download-copy h1,
.ad-hero h1,
.sitemap-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 950;
  line-height: 1.04;
}

.not-found-copy p,
.download-copy p,
.ad-hero p,
.sitemap-hero p {
  max-width: 560px;
  color: #46556d;
  font-size: 17px;
}

.not-found-visual {
  position: relative;
  min-height: 310px;
}

.not-found-visual span {
  position: absolute;
  right: 92px;
  bottom: 48px;
  width: 190px;
  height: 190px;
  border: 1px solid #d8e1eb;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 31%, transparent 32%),
    conic-gradient(from 18deg, #111827 0 9%, #fff 9% 20%, #111827 20% 29%, #fff 29% 42%, #111827 42% 52%, #fff 52% 64%, #111827 64% 73%, #fff 73% 86%, #111827 86% 100%);
  box-shadow: 0 28px 48px rgba(15, 32, 56, 0.17);
}

.not-found-visual b {
  position: absolute;
  right: 20px;
  top: 26px;
  width: 230px;
  height: 190px;
  border: 8px solid rgba(15, 32, 56, 0.18);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.suggestion-card {
  display: grid;
  gap: 22px;
  padding: 24px 28px;
}

.suggestion-card h2 {
  text-align: center;
}

.suggestion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.suggestion-grid article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border-right: 1px solid #e2e9f1;
}

.suggestion-grid article:last-child {
  border-right: 0;
}

.suggestion-grid h3,
.sitemap-card h2,
.app-feature-grid h2,
.ad-benefit-grid h3,
.ad-opportunity-grid h3,
.ad-contact-grid h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.suggestion-grid a,
.sitemap-card a,
.ad-opportunity-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  color: #24324c;
  font-size: 13px;
  font-weight: 780;
}

.ad-opportunity-grid button {
  width: max-content;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.suggestion-grid a span,
.sitemap-card a span,
.ad-opportunity-grid a,
.sitemap-card a:hover {
  color: var(--green);
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1fr);
  gap: 36px;
  align-items: center;
  min-height: 500px;
  overflow: hidden;
  padding: 54px 62px;
  background:
    radial-gradient(circle at 75% 46%, rgba(7, 150, 59, 0.14), transparent 21rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 46%, rgba(245, 250, 255, 0.75) 65%, rgba(245, 250, 255, 0.2)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.download-copy,
.ad-hero-copy,
.sitemap-hero > div {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.launch-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(7, 150, 59, 0.12);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.launch-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.download-copy h1 span,
.ad-hero h1 span {
  color: var(--green);
}

.store-button-row button {
  display: grid;
  min-width: 210px;
  min-height: 72px;
  justify-items: start;
  padding: 14px 22px;
  border: 1px solid #d8e1eb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #7b8493;
  cursor: pointer;
  text-align: left;
}

.store-button-row button b {
  color: #6d7480;
  font-size: 18px;
}

.launch-note {
  color: #687589;
  font-size: 13px;
  font-weight: 750;
}

.phone-mockup {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
}

.phone-mockup > div {
  position: relative;
  z-index: 2;
  width: 230px;
  min-height: 390px;
  padding: 26px 18px;
  border: 10px solid #101827;
  border-radius: 36px;
  background: linear-gradient(180deg, #071326, #0d1e35);
  color: #fff;
  box-shadow: 0 32px 72px rgba(7, 19, 38, 0.28);
  transform: rotate(7deg);
}

.phone-mockup strong {
  font-size: 22px;
  font-style: italic;
}

.phone-mockup strong span,
.phone-mockup section small {
  color: #3de077;
}

.phone-mockup section {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin: 22px 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-mockup section b {
  font-size: 34px;
}

.phone-mockup ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 750;
}

.phone-mockup > span {
  position: absolute;
  top: 54px;
  right: 42px;
  z-index: 3;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 4px solid #10b95b;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 20px 44px rgba(7, 19, 38, 0.24);
}

.app-feature-grid,
.app-info-strip,
.ad-benefit-grid,
.ad-opportunity-grid,
.ad-metrics-strip,
.sitemap-grid {
  display: grid;
  gap: 16px;
}

.app-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.app-feature-grid article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 116px;
  padding: 18px;
}

.waitlist-card form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 160px;
  gap: 12px;
  min-width: min(100%, 620px);
}

.waitlist-card input,
.sitemap-search-card input,
.ad-contact-grid input,
.ad-contact-grid select,
.ad-contact-grid textarea {
  min-width: 0;
  border: 1px solid #dfe7f0;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  outline: 0;
}

.waitlist-card input,
.sitemap-search-card input,
.ad-contact-grid input,
.ad-contact-grid select {
  height: 44px;
  padding: 0 14px;
}

.app-info-strip,
.ad-metrics-strip {
  padding: 18px;
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.07), rgba(255, 255, 255, 0.96));
}

.app-info-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ad-metrics-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.app-info-strip article,
.ad-metrics-strip article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 8px 18px;
  border-left: 1px solid #dfe7f0;
}

.app-info-strip article .legal-section-icon {
  grid-row: 1 / span 2;
}

.app-info-strip article strong,
.app-info-strip article p {
  grid-column: 2;
}

.ad-metrics-strip article {
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  min-height: 92px;
  text-align: center;
}

.app-info-strip article:first-child,
.ad-metrics-strip article:first-child {
  border-left: 0;
}

.app-info-strip strong,
.ad-metrics-strip strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.app-info-strip span:not(.legal-section-icon),
.ad-metrics-strip span:not(.legal-section-icon) {
  color: #59667b;
  font-size: 12px;
  font-weight: 750;
}

.ad-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: 42px;
  align-items: center;
  padding: 42px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.78));
}

.ad-hero-copy .eyebrow,
.ad-section .eyebrow {
  color: var(--green);
}

.ad-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.ad-trust span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: #25334d;
  font-size: 12px;
  font-weight: 830;
}

.ad-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.78), rgba(7, 150, 59, 0.28)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  box-shadow: var(--shadow-md);
}

.ad-visual span {
  display: none;
}

.ad-visual::before {
  position: absolute;
  inset: 54px 74px 70px;
  border: 10px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(7, 19, 38, 0.66);
  content: "";
}

.ad-visual::after {
  position: absolute;
  right: 32px;
  bottom: 28px;
  width: 150px;
  min-height: 82px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  content: "Audience ready";
  font-size: 22px;
  font-weight: 950;
  box-shadow: var(--shadow-md);
}

.ad-section {
  display: grid;
  gap: 16px;
  text-align: center;
}

.ad-benefit-grid,
.ad-opportunity-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ad-opportunity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ad-benefit-grid article,
.ad-opportunity-grid article {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 22px 18px;
  text-align: left;
}

.ad-benefit-grid article {
  justify-items: center;
  text-align: center;
}

.ad-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(7, 150, 59, 0.9), rgba(7, 19, 38, 0.76)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  color: #fff;
}

.ad-cta h2,
.ad-cta p {
  color: #fff;
}

.ad-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 18px;
  padding: 20px;
  align-items: start;
}

.ad-contact-grid form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ad-contact-grid label {
  display: grid;
  gap: 7px;
  color: #25334d;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.ad-contact-grid label.wide {
  grid-column: 1 / -1;
}

.ad-contact-grid textarea {
  min-height: 114px;
  padding: 12px 14px;
  resize: vertical;
}

.ad-contact-grid form button,
.ad-contact-grid form small {
  grid-column: 1 / -1;
}

.ad-contact-info {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f6fcf8, #fff);
}

.sitemap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: center;
  min-height: 250px;
  padding: 38px 42px;
  border: 0;
  background: radial-gradient(circle at 74% 40%, rgba(7, 150, 59, 0.12), transparent 17rem);
  box-shadow: none;
}

.sitemap-hero > span {
  position: relative;
  display: block;
  width: 190px;
  height: 132px;
  justify-self: center;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.sitemap-hero > span::before {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--green);
  box-shadow: -50px 48px 0 -4px var(--green), 0 48px 0 -4px var(--green), 50px 48px 0 -4px var(--green);
  content: "";
  transform: translateX(-50%);
}

.sitemap-search-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.sitemap-search-card form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
}

.sitemap-search-card small {
  grid-column: 1 / -1;
}

.sitemap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sitemap-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 250px;
  padding: 24px;
}

.sitemap-card .legal-section-icon {
  width: 52px;
  height: 52px;
  background: var(--green-soft);
  color: var(--green);
}

.sitemap-seo-card {
  grid-column: span 2;
  align-content: center;
  justify-items: center;
  min-height: 200px;
  background: linear-gradient(135deg, rgba(7, 150, 59, 0.08), rgba(255, 255, 255, 0.98));
  text-align: center;
}

.logo-lib {
  background: linear-gradient(135deg, #f97316, #111827 52%, #f8fafc);
}

.logo-ere {
  background: radial-gradient(circle at 35% 30%, #fff, #1d4ed8 42%, #0f172a);
}

.logo-pri {
  background: linear-gradient(135deg, #059669, #ef4444 52%, #f8fafc);
}

.logo-mls {
  background: linear-gradient(135deg, #0f172a, #fff 48%, #ef4444);
  color: #0f172a;
}

.logo-ligamx {
  background: radial-gradient(circle at 35% 30%, #fff, #16a34a 45%, #b91c1c);
}

.logo-afc {
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8 52%, #111827);
}

.flag-eur {
  background: #1d4ed8;
}

.flag-world {
  background: radial-gradient(circle, #22c55e 0 35%, #2563eb 36%);
}

.flag-ita {
  background: linear-gradient(90deg, #009246 0 33%, #fff 33% 66%, #ce2b37 66%);
}

.flag-ned {
  background: linear-gradient(180deg, #ae1c28 0 33%, #fff 33% 66%, #21468b 66%);
}

.flag-por {
  background: linear-gradient(90deg, #046a38 0 42%, #da291c 42%);
}

.flag-south {
  background: radial-gradient(circle, #facc15 0 23%, transparent 24%), linear-gradient(135deg, #16a34a, #0f766e);
}

.flag-asia {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.news-dashboard {
  display: grid;
  grid-template-columns: 236px minmax(680px, 1fr) 336px;
  gap: 24px;
  align-items: start;
}

.news-left,
.news-main,
.news-right {
  min-width: 0;
}

.news-category-card,
.news-card {
  border: 1px solid rgba(225, 232, 240, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.news-category-card {
  overflow: hidden;
  padding: 16px 14px;
}

.news-category-card h2,
.news-card-head h2 {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.news-category-card h2 {
  margin-bottom: 14px;
  font-size: 16px;
}

.news-category-list {
  display: grid;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
}

.news-category-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}

.news-category-row.is-active {
  color: var(--green);
  background: linear-gradient(90deg, rgba(7, 150, 59, 0.13), rgba(7, 150, 59, 0.04));
}

.news-category-row strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-category-icon {
  width: 17px;
  height: 17px;
  border: 1.8px solid currentColor;
  border-radius: 5px;
}

.news-category-icon::before {
  display: block;
  width: 5px;
  height: 5px;
  margin: 4px auto 0;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.news-promo-card {
  min-height: 440px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(7, 19, 38, 0.96), rgba(7, 19, 38, 0.54) 44%, rgba(7, 150, 59, 0.08)),
    url("../img/football-stadium-card.png") center bottom / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.news-promo-card div {
  padding: 28px 20px;
}

.news-promo-card h3 {
  max-width: 190px;
  margin: 0 0 16px;
  font-size: 23px;
  line-height: 1.15;
}

.news-promo-card p {
  max-width: 180px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.news-promo-card a,
.load-more-news,
.subscribe-form button {
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green), #00943a);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(7, 150, 59, 0.2);
  cursor: pointer;
}

.news-promo-card a {
  padding: 0 16px;
}

.news-card {
  margin-bottom: 18px;
  padding: 16px;
}

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

.news-card-head h2 {
  font-size: 16px;
}

.news-card-head a {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.top-stories-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(260px, 1fr);
  gap: 16px;
}

.featured-news-story {
  position: relative;
  display: flex;
  min-height: 350px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(7, 19, 38, 0.95), rgba(7, 19, 38, 0.38)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  color: #fff;
}

.featured-news-story::after,
.story-thumb::after,
.news-detail-hero::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 68% 30%, rgba(255, 255, 255, 0.2), transparent 24rem);
  pointer-events: none;
  content: "";
}

.story-category-pill {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: max-content;
  min-height: 24px;
  place-items: center;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.featured-news-story h1 {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.2;
}

.featured-news-story p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.story-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: currentColor;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.88;
}

.story-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.story-meta span::before {
  width: 5px;
  height: 5px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  content: "";
}

.side-story-list {
  display: grid;
}

.side-story {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 14px;
  min-height: 112px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e8edf3;
}

.side-story + .side-story {
  padding-top: 14px;
}

.side-story:last-child {
  border-bottom: 0;
}

.side-story strong,
.latest-news-copy strong,
.trending-row strong,
.video-row strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
}

.side-story strong {
  margin-bottom: 14px;
  font-size: 14px;
  -webkit-line-clamp: 3;
}

.side-story .story-meta,
.latest-news-row .story-meta {
  color: #64748b;
}

.story-thumb {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.2), rgba(7, 150, 59, 0.2)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.story-thumb em {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.story-thumb.large {
  width: 136px;
  height: 104px;
}

.story-thumb.wide {
  width: 170px;
  height: 84px;
}

.story-thumb.small {
  width: 84px;
  height: 64px;
}

.story-img-blue {
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.42), rgba(59, 130, 246, 0.42)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.story-img-white {
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.32), rgba(255, 255, 255, 0.25)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.story-img-red {
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.35), rgba(220, 38, 38, 0.42)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.story-img-purple {
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.32), rgba(109, 40, 217, 0.42)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.story-img-navy,
.story-img-coach {
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.6), rgba(15, 23, 42, 0.36)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.story-img-trophy {
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.42), rgba(180, 120, 15, 0.38)),
    url("../img/world-cup-trophy-card.png") center / cover no-repeat;
}

.story-img-green {
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.34), rgba(7, 150, 59, 0.42)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.latest-head {
  align-items: flex-start;
}

.news-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.news-filter select {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dfe6ee;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: -4px 0 14px;
}

.news-chip {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.news-chip.is-active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 18px rgba(7, 150, 59, 0.18);
}

.latest-news-list {
  display: grid;
}

.latest-news-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  min-height: 110px;
  padding: 12px 0;
  border-bottom: 1px solid #e8edf3;
}

.latest-news-row:last-child {
  border-bottom: 0;
}

.latest-news-copy {
  min-width: 0;
}

.latest-news-copy strong {
  margin-bottom: 6px;
  font-size: 17px;
  -webkit-line-clamp: 2;
}

.latest-news-copy em {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 8px;
  color: #526176;
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.load-more-news {
  width: min(220px, 100%);
  margin: 16px auto 0;
}

.trending-list,
.video-list {
  display: grid;
  gap: 14px;
}

.trending-row {
  display: grid;
  grid-template-columns: 20px 84px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.trending-row b {
  color: #41516a;
  font-size: 13px;
  line-height: 1;
}

.trending-row strong {
  font-size: 13px;
  -webkit-line-clamp: 3;
}

.trending-row em {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.video-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.video-row strong {
  font-size: 13px;
  -webkit-line-clamp: 2;
}

.video-thumb {
  width: 92px;
  height: 58px;
}

.video-thumb i {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.video-thumb i::before {
  position: absolute;
  top: 7px;
  left: 9px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  content: "";
}

.video-thumb em {
  position: absolute;
  right: 6px;
  bottom: 5px;
  z-index: 1;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(7, 19, 38, 0.75);
  color: #fff;
  font-size: 10px;
}

.subscribe-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 16px;
}

.subscribe-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
}

.subscribe-icon::before {
  width: 18px;
  height: 13px;
  border: 2px solid var(--green);
  border-radius: 3px;
  content: "";
}

.subscribe-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 15px;
}

.subscribe-card p {
  margin: 0;
  color: #526176;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.subscribe-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 9px;
  margin-top: 8px;
}

.subscribe-form input {
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 650;
}

.subscribe-card .alert-note {
  grid-column: 1 / -1;
}

.news-detail-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 24px;
  align-items: start;
}

.news-detail-card {
  padding: 20px;
  border: 1px solid rgba(225, 232, 240, 0.88);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.news-detail-hero {
  position: relative;
  min-height: 320px;
  margin: 14px 0 18px;
  overflow: hidden;
  border-radius: 14px;
}

.news-detail-card h1 {
  max-width: 780px;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.15;
}

.news-detail-card p {
  max-width: 760px;
  color: #526176;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

body.auth-route {
  background:
    radial-gradient(circle at top left, rgba(7, 150, 59, 0.08), transparent 34rem),
    linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
}

body.auth-route .site-header,
body.auth-route > .site-footer {
  display: none;
}

body.auth-route .app-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.auth-page {
  min-height: 100vh;
  padding: 28px 32px 24px;
}

.auth-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(var(--container), 100%);
  margin: 0 auto 34px;
}

.auth-header > span {
  color: #40506a;
  font-size: 13px;
  font-weight: 750;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(460px, 1.35fr);
  gap: 28px;
  width: min(var(--container), 100%);
  min-height: 720px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(225, 232, 240, 0.88);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-sm);
}

.auth-page.is-register .auth-shell {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.auth-page.is-register .auth-visual {
  display: none;
}

.auth-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(7, 19, 38, 0.78), rgba(255, 255, 255, 0.22) 60%),
    url("../img/football-stadium-card.png") center / cover no-repeat;
  box-shadow: var(--shadow-md);
}

.auth-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 150, 59, 0.12));
  content: "";
}

.auth-player-mark {
  position: absolute;
  right: 20px;
  bottom: 42px;
  left: 20px;
  z-index: 1;
  display: grid;
  min-height: 170px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(7, 19, 38, 0.05), rgba(7, 19, 38, 0.38));
}

.auth-player-mark strong {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.auth-player-mark span {
  color: #18d65d;
}

.auth-content {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
}

.auth-page.is-register .auth-content {
  width: min(660px, 100%);
  margin: 0 auto 28px;
}

.auth-card {
  width: min(456px, 100%);
  padding: 34px 30px 28px;
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.register-card {
  width: 100%;
  padding: 36px 32px 28px;
}

.auth-card-title {
  margin-bottom: 26px;
  text-align: center;
}

.auth-card-title h1 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.15;
}

.auth-card-title p {
  margin: 0;
  color: #40506a;
  font-size: 14px;
  font-weight: 650;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.auth-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.auth-field > span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.auth-input-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 52px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-input-wrap:focus-within {
  border-color: rgba(7, 150, 59, 0.72);
  box-shadow: 0 0 0 4px rgba(7, 150, 59, 0.09);
}

.auth-input-wrap input,
.auth-input-wrap select {
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
}

.auth-input-wrap select {
  grid-column: 2 / 4;
  padding-right: 14px;
}

.auth-input-wrap input::placeholder {
  color: #738096;
}

.auth-field-icon,
.auth-benefit-icon {
  display: grid;
  place-items: center;
  color: var(--green);
}

.auth-field-icon {
  width: 42px;
  height: 50px;
}

.auth-field-icon::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 4px;
  content: "";
}

.auth-field-icon.mail::before {
  height: 11px;
  border-radius: 2px;
}

.auth-field-icon.user::before {
  border-radius: 50%;
}

.auth-field-icon.lock::before {
  width: 13px;
  height: 12px;
  border-radius: 3px;
  box-shadow: 0 -7px 0 -3px #fff, 0 -7px 0 -1px currentColor;
}

.auth-field-icon.globe::before {
  border-radius: 50%;
}

.password-toggle {
  width: 42px;
  height: 50px;
  border: 0;
  background: transparent;
  color: #7a8698;
  cursor: pointer;
}

.password-toggle::before {
  display: block;
  width: 17px;
  height: 11px;
  margin: 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.auth-form-row {
  display: flex;
  justify-content: space-between;
  margin-top: -4px;
}

.auth-text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.auth-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #008b35);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 13px 24px rgba(7, 150, 59, 0.24);
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #40506a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.auth-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}

.auth-check a,
.auth-switch a {
  color: var(--green);
  font-weight: 800;
}

.auth-message {
  min-height: 18px;
  color: #b42318;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.social-auth {
  margin-top: 22px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #657083;
  font-size: 12px;
  font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: #e4eaf2;
  content: "";
}

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

.social-grid button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid #dfe6ee;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
}

.social-grid b {
  color: #0b8f3a;
  font-size: 17px;
}

.auth-switch {
  margin: 24px 0 0;
  color: #4b5870;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.auth-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(225, 232, 240, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.auth-page.is-register .auth-benefits {
  width: min(660px, 100%);
  margin: 26px auto 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.auth-benefits article {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.auth-benefit-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.auth-benefit-icon::before {
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 3px;
  content: "";
}

.auth-benefit-icon.star::before {
  border-radius: 50%;
}

.auth-benefits strong {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.auth-benefits p {
  max-width: 150px;
  margin: 0;
  color: #526176;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.auth-footer {
  width: min(var(--container), 100%);
  margin: 34px auto 0;
}

.auth-footer .brand {
  margin-bottom: 10px;
  font-size: 29px;
}

.auth-footer p,
.auth-footer nav {
  margin: 0;
  color: #526176;
  font-size: 12px;
  font-weight: 700;
}

.auth-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.match-center-page {
  display: grid;
  gap: 16px;
}

.match-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #40506a;
  font-size: 12px;
  font-weight: 750;
}

.match-breadcrumbs span:last-child {
  color: var(--navy);
}

.match-breadcrumbs b {
  color: #8b96a7;
}

.match-center-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.match-center-main,
.match-center-side,
.match-left-column,
.match-middle-column,
.match-right-column {
  min-width: 0;
}

.match-hero-card,
.match-card,
.match-tabs {
  border: 1px solid rgba(225, 232, 240, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.match-hero-card {
  min-height: 220px;
  padding: 18px;
  overflow: hidden;
}

.match-hero-card.has-data {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.match-hero-meta {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--navy);
  text-align: center;
}

.match-hero-meta strong {
  font-size: 13px;
  font-weight: 800;
}

.match-hero-meta span {
  color: #40506a;
  font-size: 12px;
  font-weight: 750;
}

.match-hero-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 130px;
}

.match-hero-team {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
}

.match-hero-team strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-score-block {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.match-score-block .scoreline {
  font-size: 42px;
}

.match-score-block > strong {
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.match-score-block em {
  color: var(--navy);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.goal-scorers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #e8edf3;
}

.goal-scorers div {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #29364d;
  font-size: 12px;
  font-weight: 750;
}

.match-tabs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 8px;
  overflow-x: auto;
}

.match-tabs button,
.event-filters button,
.stats-tabs button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #243149;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.match-tabs button.is-active,
.event-filters button.is-active,
.stats-tabs button.is-active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 18px rgba(7, 150, 59, 0.18);
}

.match-center-grid {
  display: grid;
  grid-template-columns: 356px minmax(540px, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.match-card {
  margin-bottom: 16px;
  padding: 16px;
}

.match-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline-list::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 51px;
  width: 2px;
  background: #dfe7ef;
  content: "";
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 40px 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-height: 64px;
  color: var(--navy);
}

.timeline-row > strong {
  font-size: 12px;
  font-weight: 800;
}

.timeline-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.timeline-icon::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.timeline-icon.goal {
  background: #eef2ff;
  color: #111827;
}

.timeline-icon.card {
  border-radius: 5px;
  background: #facc15;
  color: #b45309;
}

.timeline-row b,
.match-event-row b {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.timeline-row em,
.match-event-row em {
  display: block;
  margin-top: 3px;
  color: #526176;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.timeline-row i {
  display: inline-grid;
  min-width: 36px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.match-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  margin-top: 14px;
  border: 1px solid #dfe6ee;
  border-radius: 9px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.lineup-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.lineup-head div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 8px;
  min-width: 0;
}

.lineup-head div:last-child {
  justify-items: end;
  text-align: right;
}

.lineup-head .mini-logo {
  grid-row: 1 / span 2;
}

.lineup-head strong,
.lineup-head span {
  overflow: hidden;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lineup-head span {
  color: #526176;
  font-weight: 700;
}

.vertical-pitch {
  position: relative;
  width: min(100%, 580px);
  aspect-ratio: 0.76 / 1;
  margin: 0 auto;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 34px, rgba(0, 0, 0, 0.06) 34px 68px),
    linear-gradient(135deg, #2f8d32, #146d24);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72), 0 18px 36px rgba(15, 32, 56, 0.16);
}

.vertical-pitch::before,
.vertical-pitch::after,
.pitch-line,
.pitch-circle,
.pitch-box {
  position: absolute;
  pointer-events: none;
}

.vertical-pitch::before {
  inset: 18px;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 4px;
  content: "";
}

.pitch-line.half {
  top: 50%;
  right: 18px;
  left: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.78);
}

.pitch-circle {
  top: calc(50% - 52px);
  left: calc(50% - 52px);
  width: 104px;
  height: 104px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.pitch-box {
  left: 25%;
  width: 50%;
  height: 13%;
  border: 2px solid rgba(255, 255, 255, 0.78);
}

.pitch-box.top {
  top: 18px;
  border-top: 0;
}

.pitch-box.bottom {
  bottom: 18px;
  border-bottom: 0;
}

.player-marker {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 3px;
  width: 70px;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}

.player-avatar-dot {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4d7c7, #8b5137);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 7px 14px rgba(7, 19, 38, 0.24);
}

.player-marker.away .player-avatar-dot {
  background: linear-gradient(135deg, #c7e9ff, #1d4ed8);
}

.player-avatar-dot b,
.player-avatar-dot i {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  font-weight: 800;
}

.player-avatar-dot b {
  right: -7px;
  bottom: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--navy);
  font-size: 9px;
}

.player-avatar-dot i {
  top: -6px;
  left: -7px;
  width: 16px;
  height: 16px;
  background: #facc15;
  color: #111827;
  font-size: 9px;
}

.player-marker a {
  max-width: 78px;
  overflow: hidden;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(7, 19, 38, 0.38);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-filters,
.stats-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.match-events-list {
  display: grid;
}

.match-event-row {
  display: grid;
  grid-template-columns: 42px 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 42px;
  padding: 8px 0;
  border-top: 1px solid #e8edf3;
}

.match-info-list {
  display: grid;
  gap: 15px;
}

.match-info-list div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.match-info-list span {
  color: #526176;
  font-size: 12px;
  font-weight: 750;
}

.match-info-list strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
}

.match-stats-list {
  display: grid;
  gap: 16px;
}

.stat-compare-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.stat-compare-row span:last-child {
  text-align: right;
}

.stat-compare-row div {
  display: grid;
  gap: 6px;
  text-align: center;
}

.stat-compare-row strong {
  color: #40506a;
  font-size: 11px;
  font-weight: 750;
}

.stat-compare-row i {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4eaf2;
}

.stat-compare-row b {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 999px;
  background: var(--green);
}

.next-match-list {
  display: grid;
}

.next-match-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 24px 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #e8edf3;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.next-match-row:last-child {
  border-bottom: 0;
}

.next-match-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next-match-row span {
  color: #526176;
  text-align: center;
}

.next-match-row em {
  grid-column: 1 / -1;
  color: #526176;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.player-profile-page {
  display: grid;
  gap: 12px;
}

.player-hero-card,
.player-card,
.player-tabs,
.player-stat-card {
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.player-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 220px;
  overflow: hidden;
}

.player-hero-card.has-data {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 36%, rgba(240, 248, 255, 0.82) 58%, rgba(223, 240, 255, 0.78)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.player-hero-empty {
  grid-column: 1 / -1;
  padding: 18px;
}

.player-portrait {
  position: relative;
  align-self: end;
  min-height: 226px;
  overflow: hidden;
}

.player-portrait::before {
  position: absolute;
  right: 38px;
  bottom: -14px;
  width: 188px;
  height: 188px;
  border-radius: 54% 46% 44% 56%;
  background: linear-gradient(145deg, #b9e7ff, #69a7d7 52%, #8ecae6);
  content: "";
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.32);
}

.player-portrait::after {
  position: absolute;
  right: 92px;
  bottom: 132px;
  width: 78px;
  height: 88px;
  border-radius: 45% 45% 40% 40%;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.42), transparent 11px),
    linear-gradient(145deg, #f2c2a4, #c9825e 68%, #8f4b32);
  content: "";
  box-shadow: 0 -24px 0 -7px #d9a46d;
}

.player-portrait span {
  position: absolute;
  right: 58px;
  bottom: 0;
  width: 152px;
  height: 130px;
  border-radius: 44px 44px 0 0;
  background:
    linear-gradient(90deg, transparent 0 17%, rgba(255, 255, 255, 0.45) 17% 24%, transparent 24% 76%, rgba(255, 255, 255, 0.45) 76% 83%, transparent 83%),
    linear-gradient(135deg, #8ed7ff, #54a5dd 54%, #2f7fbb);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.player-hero-body {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  padding: 26px 34px 24px 6px;
}

.player-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.player-title-row h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
}

.player-title-row p {
  margin: 0;
  color: #25334d;
  font-size: 14px;
  font-weight: 750;
}

.verified-mark {
  position: relative;
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #1683ff;
  color: #fff;
}

.verified-mark::before {
  width: 8px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(-45deg);
}

.player-actions {
  display: flex;
  gap: 10px;
}

.follow-player-btn,
.share-player-btn,
.outline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.follow-player-btn {
  padding: 0 18px;
  border: 0;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(7, 150, 59, 0.24);
}

.follow-player-btn svg,
.share-player-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.share-player-btn {
  width: 44px;
  border: 1px solid #dfe6ee;
  background: #fff;
  color: var(--navy);
}

.player-affiliation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.player-affiliation .mini-logo {
  width: 28px;
  height: 28px;
}

.splitter {
  width: 1px;
  height: 26px;
  background: #dce4ee;
}

.flag {
  display: inline-block;
  width: 22px;
  height: 15px;
  flex: none;
  border-radius: 3px;
  background: linear-gradient(180deg, #f8fafc, #dfe6ef);
  box-shadow: inset 0 0 0 1px rgba(7, 19, 38, 0.12);
  vertical-align: -2px;
}

.flag-eng {
  background:
    linear-gradient(90deg, transparent 42%, #d71920 42% 58%, transparent 58%),
    linear-gradient(180deg, transparent 38%, #d71920 38% 62%, transparent 62%),
    #fff;
}

.flag-nor {
  background:
    linear-gradient(90deg, transparent 32%, #fff 32% 40%, #073b8e 40% 53%, #fff 53% 61%, transparent 61%),
    linear-gradient(180deg, transparent 34%, #fff 34% 42%, #073b8e 42% 56%, #fff 56% 64%, transparent 64%),
    #d71920;
}

.flag-tbd {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.player-detail-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
  padding-top: 15px;
  border-top: 1px solid rgba(221, 229, 238, 0.9);
}

.player-detail-strip div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid #e2e9f1;
}

.player-detail-strip div:first-child {
  padding-left: 0;
  border-left: 0;
}

.player-detail-strip span {
  color: #506074;
  font-size: 11px;
  font-weight: 800;
}

.player-detail-strip strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-action-note {
  min-height: 18px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.player-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.player-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 16px;
}

.player-stat-card div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.player-stat-card span {
  color: #526176;
  font-size: 11px;
  font-weight: 800;
}

.player-stat-card strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-stat-card em {
  color: #526176;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.player-stat-icon {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.player-stat-icon::before {
  width: 16px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 5px;
  content: "";
}

.player-stat-icon.football::before {
  border-radius: 50%;
}

.player-stat-icon.assist {
  background: #eef4ff;
  color: #2368d9;
}

.player-stat-icon.yellow {
  background: #fff6de;
  color: #f2a900;
}

.player-stat-icon.yellow::before,
.player-stat-icon.red::before {
  width: 12px;
  height: 18px;
  border: 0;
  border-radius: 3px;
  background: currentColor;
}

.player-stat-icon.red {
  background: #ffe9e9;
  color: #ef4444;
}

.player-stat-icon.clock {
  background: #eef2ff;
  color: #3136a8;
}

.player-stat-icon.clock::before {
  border-radius: 50%;
}

.player-tabs {
  display: flex;
  gap: 18px;
  padding: 0 18px;
  overflow-x: auto;
}

.player-tabs button {
  min-height: 48px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #243149;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.player-tabs button.is-active {
  border-color: var(--green);
  color: var(--green);
}

.player-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 438px;
  gap: 12px;
  align-items: start;
}

.player-main-column,
.player-side-column {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.player-two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.player-card {
  min-width: 0;
  padding: 16px;
}

.player-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.player-card .card-head h2 {
  margin: 0;
}

.table-scroll {
  overflow-x: auto;
}

.player-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
}

.player-table.compact {
  min-width: 640px;
}

.player-table th {
  padding: 10px 8px;
  background: #f4f6f9;
  color: #40506a;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
}

.player-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #e8edf3;
  vertical-align: middle;
}

.player-table .mini-logo {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  font-size: 8px;
  vertical-align: middle;
}

.player-table td strong,
.player-table td span {
  vertical-align: middle;
}

.outline-action {
  min-width: 142px;
  margin: 14px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(7, 150, 59, 0.45);
  background: #fff;
  color: var(--green);
}

.club-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.club-head > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.club-head strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.club-head span {
  color: #526176;
  font-size: 12px;
  font-weight: 750;
}

.club-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.club-meta-grid div {
  display: grid;
  gap: 6px;
}

.club-meta-grid span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.club-meta-grid strong {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.career-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0 4px;
}

.career-timeline::before {
  position: absolute;
  top: 42px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #b9c8d9 0 8px, transparent 8px 14px);
  content: "";
}

.career-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.career-node .team-logo {
  width: 54px;
  height: 54px;
}

.career-node strong {
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.career-node span {
  color: #526176;
  font-size: 11px;
  font-weight: 750;
}

.honours-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 10px;
}

.honour-item {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.honour-item > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #19243a;
}

.honour-item svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.honour-item strong {
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.honour-item em {
  color: #526176;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.player-ranking-list .scorer-row.is-current {
  background: rgba(234, 248, 240, 0.72);
}

.player-news-list .news-thumb {
  border-radius: 10px;
}

.logo-fa {
  background: linear-gradient(135deg, #f7f9fc, #cbd5e1 55%, #64748b);
  color: var(--navy);
}

.logo-efl {
  background: linear-gradient(135deg, #2bb673, #0c8a46 52%, #e11d48);
}

.logo-molde {
  background: linear-gradient(135deg, #67e8f9, #0e7490 58%, #0f172a);
}

.logo-rbs {
  background: linear-gradient(135deg, #fff, #d71920 48%, #facc15);
  color: #0f172a;
}

.country-profile-page {
  display: grid;
  gap: 12px;
}

.country-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr) 200px;
  gap: 28px;
  min-height: 220px;
  padding: 34px 24px;
  overflow: hidden;
  border: 1px solid rgba(225, 232, 240, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.country-hero-card.has-data {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(245, 250, 255, 0.84) 56%, rgba(223, 240, 255, 0.76)),
    url("../img/football-stadium-card.png") center / cover no-repeat;
}

.country-flag-card {
  display: grid;
  min-height: 132px;
  place-items: center;
  border-right: 1px solid rgba(222, 230, 239, 0.85);
}

.country-flag-card .flag {
  width: 188px;
  height: 118px;
  border-radius: 10px;
  box-shadow: 0 16px 28px rgba(15, 32, 56, 0.13), inset 0 0 0 1px rgba(7, 19, 38, 0.1);
}

.country-hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.country-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.country-title-row h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
}

.country-title-row p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.country-description {
  max-width: 610px;
  margin: 0;
  color: #1d2b42;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 650;
}

.country-actions {
  display: flex;
  align-items: start;
  gap: 10px;
}

.mini-pin {
  width: 22px;
  height: 22px;
  border: 2px solid #40506a;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.mini-pin::before {
  display: block;
  width: 6px;
  height: 6px;
  margin: 6px;
  border-radius: 50%;
  background: #40506a;
  content: "";
}

.country-detail-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(221, 229, 238, 0.9);
}

.country-detail-strip div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 0 16px;
  border-left: 1px solid #e2e9f1;
}

.country-detail-strip div:first-child {
  padding-left: 0;
  border-left: 0;
}

.country-detail-strip span {
  color: #526176;
  font-size: 11px;
  font-weight: 800;
}

.country-detail-strip strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-crest {
  display: grid;
  align-self: center;
  width: 132px;
  height: 152px;
  place-items: center;
  justify-self: center;
  border: 5px solid #1f6fc4;
  border-radius: 16px 16px 36px 36px;
  background:
    radial-gradient(circle at 22% 24%, #d71920 0 5px, transparent 6px),
    radial-gradient(circle at 76% 30%, #d71920 0 5px, transparent 6px),
    radial-gradient(circle at 48% 62%, #d71920 0 5px, transparent 6px),
    #fff;
  color: #1f6fc4;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 18px 32px rgba(15, 32, 56, 0.13);
}

.country-stat-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.player-stat-icon.trophy {
  background: var(--green-soft);
  color: var(--green);
}

.player-stat-icon.purple {
  background: #f3e8ff;
  color: #7c3aed;
}

.player-stat-icon.glove {
  background: #e6fffb;
  color: #0f8f86;
}

.country-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 12px;
  align-items: start;
}

.country-main-column,
.country-side-column {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.country-top-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.9fr;
  gap: 12px;
}

.country-top-grid:nth-child(2),
.country-top-grid:nth-child(3) {
  grid-template-columns: 0.9fr 1.9fr;
}

.performance-body {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.performance-donut {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 38%, transparent 39%),
    conic-gradient(var(--green) 0 calc(var(--wins) * 1%), #2673d9 0 calc((var(--wins) + var(--draws)) * 1%), #ef4444 0);
  box-shadow: inset 0 0 0 1px rgba(7, 19, 38, 0.06), 0 12px 24px rgba(15, 32, 56, 0.12);
}

.performance-legend {
  display: grid;
  gap: 12px;
}

.performance-legend span {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: #1f2c44;
  font-size: 12px;
  font-weight: 800;
}

.performance-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.performance-legend .win {
  background: var(--green);
}

.performance-legend .draw {
  background: #2673d9;
}

.performance-legend .loss {
  background: #ef4444;
}

.country-match-table {
  min-width: 620px;
}

.country-match-table td:nth-child(3) {
  white-space: nowrap;
}

.country-match-table td:nth-child(3) .flag {
  margin: 0 6px;
}

.country-match-table td:nth-child(3) .flag:first-child {
  margin-left: 0;
}

.result-badge {
  display: inline-grid;
  min-width: 24px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.result-badge.d {
  background: #eaf1ff;
  color: #2563eb;
}

.result-badge.l {
  background: #ffe9e9;
  color: #ef4444;
}

.country-next-card {
  display: grid;
  gap: 9px;
  text-align: center;
}

.country-next-teams {
  display: grid;
  grid-template-columns: 1fr 46px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}

.country-next-teams div {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.country-next-teams .flag {
  width: 54px;
  height: 34px;
}

.country-next-teams > span {
  color: var(--navy);
  font-weight: 900;
}

.country-next-card p {
  margin: 0;
  color: #526176;
  font-size: 12px;
  font-weight: 750;
}

.country-preview-btn {
  margin: 6px auto 0;
  padding: 0 20px;
}

.country-squad-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.country-player-card,
.country-top-player-grid a {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  padding: 12px 8px;
  border: 1px solid #e3eaf2;
  border-radius: 13px;
  background: #fff;
  color: var(--navy);
  text-align: center;
}

.country-player-card strong,
.country-top-player-grid strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-player-card em,
.country-player-card span,
.country-player-card b,
.country-top-player-grid em {
  color: #526176;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.country-player-card b {
  color: var(--green-dark);
}

.country-competition-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.country-competition-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 5px 10px;
  align-items: center;
  min-height: 76px;
  color: var(--navy);
}

.country-competition-item .mini-logo {
  grid-row: 1 / span 2;
}

.country-competition-item strong {
  font-size: 12px;
  font-weight: 900;
}

.country-competition-item span {
  color: #526176;
  font-size: 11px;
  font-weight: 750;
}

.country-top-player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.country-top-player-grid .player-avatar {
  width: 54px;
  height: 54px;
}

.logo-euro {
  background: linear-gradient(135deg, #dce8f5, #9ca3af 52%, #475569);
  color: #0f172a;
}

.flag-is {
  background:
    linear-gradient(90deg, transparent 34%, #fff 34% 42%, #d71920 42% 56%, #fff 56% 64%, transparent 64%),
    linear-gradient(180deg, transparent 36%, #fff 36% 44%, #d71920 44% 58%, #fff 58% 66%, transparent 66%),
    #02529c;
}

.flag-bel {
  background: linear-gradient(90deg, #000 0 33%, #ffe936 33% 66%, #ef3340 66%);
}

.flag-ire {
  background: linear-gradient(90deg, #169b62 0 33%, #fff 33% 66%, #ff883e 66%);
}

.flag-gre {
  background: repeating-linear-gradient(180deg, #0d5eaf 0 5px, #fff 5px 10px);
}

@media (max-width: 1220px) {
  :root {
    --site-gutter: 24px;
  }

  .topbar-inner,
  .header-inner,
  .app-shell {
    width: min(var(--site-max-width), calc(100% - (var(--site-gutter) * 2)));
  }

  .dashboard,
  .live-dashboard,
  .worldcup-dashboard,
  .competitions-dashboard,
  .news-dashboard {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .full-search-results,
  .account-page,
  .team-layout-grid,
  .help-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .right-rail,
  .live-right,
  .worldcup-right,
  .competitions-right,
  .news-right,
  .search-right-sidebar,
  .account-right,
  .team-side-column,
  .help-sidebar {
    grid-column: 1 / -1;
  }

  .team-side-column,
  .account-right,
  .help-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rail-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search {
    width: 260px;
  }

  .search-panel {
    width: min(720px, calc(100vw - 48px));
  }

  .search-result-stats {
    display: none;
  }

  .topbar-social {
    display: none;
  }

  .topbar-score strong {
    max-width: 170px;
  }

  .wc-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .competition-tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .competition-table-head,
  .competition-table-row {
    grid-template-columns: minmax(180px, 1.4fr) minmax(118px, 1fr) 78px 70px 58px 100px;
  }

  .top-stories-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-center-top,
  .match-center-grid {
    grid-template-columns: 1fr;
  }

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

  .country-overview-grid {
    grid-template-columns: 1fr;
  }

  .country-side-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .country-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .country-hero-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .country-crest {
    display: none;
  }

  .player-side-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .player-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-split,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .not-found-hero,
  .download-hero,
  .ad-hero,
  .sitemap-hero {
    grid-template-columns: 1fr;
  }

  .not-found-visual {
    min-height: 240px;
  }

  .ad-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sitemap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-sidebar {
    position: static;
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .player-detail-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 0;
  }

  .player-detail-strip div:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }

  .match-center-side,
  .match-right-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .match-center-side .match-card,
  .match-right-column .match-card {
    margin-bottom: 0;
  }

  .side-story-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .side-story {
    grid-template-columns: 1fr;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 10px;
  }

  .side-story + .side-story {
    padding-top: 10px;
  }

  .side-story .story-thumb.large {
    width: 100%;
  }

  .footer-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main-inner {
    grid-template-columns: 1.1fr repeat(2, minmax(160px, 0.8fr));
  }

  .footer-newsletter {
    grid-column: span 2;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-trust {
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .auth-page {
    padding: 20px 16px 24px;
  }

  .auth-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 22px;
  }

  .auth-header > span {
    grid-column: 1 / -1;
    order: 3;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
  }

  .auth-visual {
    min-height: 260px;
  }

  .auth-page.is-login .auth-benefits,
  .auth-page.is-register .auth-benefits {
    width: 100%;
  }

  .topbar-inner {
    justify-content: flex-start;
    gap: 18px;
    min-height: 52px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topbar-left,
  .topbar-right {
    flex: none;
    width: auto;
    overflow: visible;
  }

  .topbar-inner::-webkit-scrollbar {
    display: none;
  }

  .topbar-right {
    gap: 14px;
  }

  .topbar-ticker {
    min-width: max-content;
  }

  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    padding: 14px 0;
  }

  .brand {
    font-size: 32px;
  }

  .nav-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
  }

  .header-actions {
    grid-column: 2;
    display: flex;
    justify-self: end;
  }

  .header-actions .search {
    grid-template-columns: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .header-actions .search-shell {
    width: 44px;
  }

  .header-actions .search input {
    padding: 0;
    opacity: 0;
  }

  .header-actions .search-clear {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .header-bell {
    width: 44px;
    height: 44px;
  }

  body.nav-open .main-nav,
  body.nav-open .header-actions {
    display: flex;
  }

  body.nav-open .main-nav {
    flex-wrap: wrap;
    gap: 20px;
  }

  body.nav-open .main-nav a {
    padding: 6px 0 13px;
  }

  body.nav-open .main-nav a::after {
    bottom: 4px;
  }

  body.nav-open .header-actions {
    grid-column: 1 / -1;
    align-items: stretch;
    flex-wrap: wrap;
    justify-self: stretch;
  }

  body.nav-open .header-actions .search {
    grid-template-columns: 1fr 38px 44px;
    width: min(100%, 420px);
  }

  body.nav-open .header-actions .search-shell {
    width: min(100%, 420px);
  }

  body.nav-open .header-actions .search input {
    padding-left: 16px;
    opacity: 1;
  }

  body.nav-open .header-actions .search-clear {
    display: grid;
  }

  body.nav-open .header-actions .btn {
    display: inline-grid;
  }

  .search {
    width: min(100%, 420px);
  }

  .search-panel {
    right: auto;
    left: 0;
    width: min(520px, calc(100vw - 32px));
  }

  .search-page-heading,
  .search-page-grid,
  .search-panel-grid {
    grid-template-columns: 1fr;
  }

  .dashboard,
  .live-dashboard,
  .worldcup-dashboard,
  .competitions-dashboard,
  .news-dashboard,
  .news-detail-page,
  .placeholder-page,
  .full-search-results,
  .account-page,
  .team-layout-grid,
  .team-two-grid,
  .legal-hero,
  .legal-layout,
  .help-layout {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .live-left,
  .worldcup-left,
  .competitions-left,
  .news-left,
  .account-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
    align-items: start;
  }

  .search-filter-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-head,
  .filter-apply {
    grid-column: 1 / -1;
  }

  .team-hero-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .team-hero-actions {
    grid-column: 1 / -1;
  }

  .account-section-grid,
  .team-side-column,
  .account-right,
  .about-feature-strip,
  .about-value-grid,
  .app-feature-grid,
  .ad-opportunity-grid,
  .ad-contact-grid,
  .sitemap-search-card,
  .help-quick-grid,
  .support-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-sidebar {
    grid-template-columns: 1fr;
  }

  .legal-content,
  .legal-sidebar {
    min-width: 0;
  }

  .legal-toc-list {
    display: flex;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .legal-toc-list button {
    flex: 0 0 auto;
    min-width: 150px;
    max-width: 220px;
  }

  .legal-hero-visual {
    display: none;
  }

  .about-dark-card div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-hero,
  .ad-hero,
  .not-found-hero {
    padding: 34px;
  }

  .phone-mockup {
    min-height: 360px;
  }

  .promo-card,
  .live-promo-card {
    min-height: 280px;
    margin-top: 0;
  }

  .date-scroller {
    grid-template-columns: repeat(4, minmax(86px, 1fr));
  }

  .date-pill:nth-child(n + 5) {
    display: none;
  }

  .rail-stack {
    grid-template-columns: 1fr;
  }

  .live-main {
    padding: 18px;
  }

  .live-match-row {
    grid-template-columns: 28px 46px minmax(120px, 1fr) 70px minmax(120px, 1fr) 30px;
    gap: 9px;
  }

  .wc-side-promo {
    min-height: 280px;
  }

  .wc-menu-list {
    display: flex;
    overflow-x: auto;
    padding: 8px;
  }

  .wc-menu-item {
    min-width: max-content;
  }

  .competition-promo-card {
    min-height: 280px;
    margin-top: 0;
  }

  .competition-table-head,
  .competition-table-row {
    grid-template-columns: minmax(170px, 1.4fr) minmax(110px, 1fr) 74px 66px 56px 96px;
    gap: 10px;
  }

  .news-promo-card {
    min-height: 280px;
    margin-top: 0;
  }

  .featured-news-story {
    min-height: 300px;
  }

  .match-hero-score {
    grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  }

  .match-center-side,
  .match-right-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --site-gutter: 16px;
  }

  .auth-page {
    padding: 18px 12px 22px;
  }

  .auth-header .brand {
    font-size: 28px;
  }

  .auth-back-link {
    font-size: 12px;
  }

  .auth-shell {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .auth-page.is-login .auth-visual {
    min-height: 190px;
  }

  .auth-card,
  .register-card {
    padding: 28px 20px 24px;
  }

  .auth-grid-two,
  .auth-benefits,
  .auth-page.is-register .auth-benefits {
    grid-template-columns: 1fr;
  }

  .auth-benefits {
    padding: 16px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .auth-footer {
    padding: 0 4px;
  }

  .app-shell {
    width: min(var(--site-max-width), calc(100% - (var(--site-gutter) * 2)));
    padding-top: 14px;
  }

  .site-footer {
    margin-top: 28px;
  }

  .footer-feature-strip {
    margin-bottom: 26px;
  }

  .footer-feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .footer-feature {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .footer-feature-icon {
    width: 52px;
    height: 52px;
  }

  .footer-feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .footer-main-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0;
  }

  .footer-newsletter {
    grid-column: auto;
  }

  .footer-brand {
    font-size: 42px;
  }

  .footer-bottom-inner {
    min-height: 0;
    padding: 24px 0 32px;
  }

  .footer-trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    white-space: normal;
  }

  .footer-trust span + span::before {
    display: none;
  }

  .footer-language > button {
    min-width: 148px;
  }

  .sidebar,
  .live-left,
  .worldcup-left,
  .competitions-left,
  .news-left {
    grid-template-columns: 1fr;
  }

  .promo-card,
  .live-promo-card,
  .competition-promo-card,
  .news-promo-card {
    min-height: 220px;
  }

  .live-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .live-chips {
    gap: 8px;
  }

  .live-match-row {
    grid-template-columns: 26px 44px minmax(0, 1fr) 32px;
    min-height: 118px;
  }

  .live-team.home,
  .live-team.away {
    grid-column: 3;
    grid-template-columns: 34px minmax(0, 1fr);
    text-align: left;
  }

  .live-team.home .team-logo {
    order: -1;
  }

  .live-score-cell {
    grid-column: 3;
    justify-items: start;
  }

  .live-alert-btn {
    grid-column: 4;
    grid-row: 1 / span 3;
  }

  .live-team .team-logo {
    width: 32px;
    height: 32px;
    font-size: 9px;
  }

  .wc-hero {
    min-height: 250px;
  }

  .wc-hero-copy {
    padding: 38px 22px 28px;
  }

  .wc-hero-copy h1 {
    font-size: 30px;
  }

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

  .wc-match-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: auto;
    padding: 14px;
  }

  .wc-match-team.home,
  .wc-match-team.away {
    justify-content: flex-start;
    text-align: left;
  }

  .wc-vs {
    text-align: left;
  }

  .wc-status-pill {
    width: max-content;
  }

  .wc-group-grid,
  .wc-qualified-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .competitions-title h1 {
    font-size: 28px;
  }

  .competition-tile-grid {
    grid-template-columns: repeat(2, minmax(132px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .competition-table-head {
    display: none;
  }

  .competition-table {
    gap: 10px;
  }

  .competition-table-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    min-height: auto;
    padding: 14px;
    border: 1px solid #e3eaf2;
    border-radius: 14px;
    background: #fff;
  }

  .competition-name-cell,
  .competition-country-cell,
  .competition-type-pill,
  .competition-season,
  .competition-matches {
    grid-column: 1;
  }

  .competition-actions {
    grid-column: 2;
    grid-row: 1 / span 5;
    flex-direction: column;
    align-self: stretch;
    justify-content: center;
  }

  .competition-country-cell,
  .competition-season,
  .competition-matches {
    color: #526176;
    font-size: 12px;
  }

  .news-category-list,
  .news-tabs {
    display: flex;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .news-category-row {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .side-story-list {
    grid-template-columns: 1fr;
  }

  .latest-head {
    flex-direction: column;
  }

  .news-filter {
    width: 100%;
    justify-content: space-between;
  }

  .latest-news-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .story-thumb.wide {
    width: 100%;
    height: 150px;
  }

  .featured-news-story {
    min-height: 330px;
    padding: 20px;
  }

  .featured-news-story h1 {
    font-size: 24px;
  }

  .news-detail-card h1 {
    font-size: 28px;
  }

  .news-detail-hero {
    min-height: 240px;
  }

  .match-hero-score {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .match-score-block {
    order: -1;
  }

  .goal-scorers {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .match-tabs {
    padding: 7px;
  }

  .lineup-head {
    flex-direction: column;
  }

  .lineup-head div:last-child {
    justify-items: start;
    text-align: left;
  }

  .vertical-pitch {
    aspect-ratio: 0.7 / 1;
  }

  .player-marker {
    width: 58px;
  }

  .player-avatar-dot {
    width: 32px;
    height: 32px;
    font-size: 9px;
  }

  .player-marker a {
    max-width: 64px;
    font-size: 9px;
  }

  .player-hero-card {
    grid-template-columns: 1fr;
  }

  .team-hero-card,
  .login-required-card,
  .account-ready-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .team-hero-logo img,
  .team-hero-logo .team-logo {
    width: 116px;
    height: 116px;
  }

  .team-info-strip,
  .team-stat-grid,
  .account-section-grid,
  .account-sidebar,
  .account-right,
  .search-filter-sidebar,
  .settings-grid,
  .settings-preferences,
  .about-feature-strip,
  .about-value-grid,
  .about-split,
  .app-feature-grid,
  .app-info-strip,
  .ad-benefit-grid,
  .ad-opportunity-grid,
  .ad-metrics-strip,
  .ad-contact-grid,
  .ad-contact-grid form,
  .sitemap-grid,
  .sitemap-search-card,
  .sitemap-search-card form,
  .cookie-preference-strip,
  .waitlist-card,
  .waitlist-card form,
  .sitemap-cta,
  .help-quick-grid,
  .support-category-grid,
  .support-form,
  .contact-option-grid {
    grid-template-columns: 1fr;
  }

  .team-info-strip div,
  .team-info-strip div:first-child {
    padding: 10px 0;
    border-top: 1px solid #dfe7f0;
    border-left: 0;
  }

  .team-info-strip div:first-child {
    border-top: 0;
  }

  .account-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .full-search-results {
    gap: 16px;
  }

  .search-filter-sidebar,
  .search-right-sidebar {
    padding: 14px;
  }

  .search-tabs .search-sort {
    width: 100%;
    margin-left: 0;
  }

  .legal-hero,
  .about-hero,
  .help-hero,
  .about-copy-card,
  .about-values,
  .about-cta-card,
  .download-hero,
  .ad-hero,
  .not-found-hero,
  .suggestion-card,
  .sitemap-hero,
  .sitemap-search-card,
  .sitemap-card,
  .ad-contact-grid {
    padding: 22px;
  }

  .legal-hero-copy,
  .about-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-section-card {
    grid-template-columns: 1fr;
  }

  .legal-hero.cookie {
    grid-template-columns: 1fr;
  }

  .cookie-hero-visual,
  .sitemap-hero > span {
    display: none;
  }

  .cookie-actions,
  .not-found-actions,
  .ad-actions,
  .store-button-row {
    width: 100%;
  }

  .cookie-actions > *,
  .not-found-actions > *,
  .ad-actions > *,
  .store-button-row > * {
    flex: 1 1 100%;
  }

  .not-found-hero {
    min-height: 0;
  }

  .not-found-visual {
    display: none;
  }

  .suggestion-grid {
    grid-template-columns: 1fr;
  }

  .suggestion-grid article,
  .app-info-strip article,
  .ad-metrics-strip article {
    border-top: 1px solid #e2e9f1;
    border-left: 0;
    border-right: 0;
  }

  .suggestion-grid article:first-child,
  .app-info-strip article:first-child,
  .ad-metrics-strip article:first-child {
    border-top: 0;
  }

  .phone-mockup {
    min-height: 330px;
  }

  .phone-mockup > div {
    width: 205px;
    min-height: 330px;
    transform: rotate(0);
  }

  .phone-mockup > span {
    top: 6px;
    right: 10px;
    width: 88px;
    height: 88px;
    font-size: 12px;
  }

  .ad-trust {
    grid-template-columns: 1fr;
  }

  .ad-visual {
    min-height: 230px;
  }

  .ad-visual::before {
    inset: 38px 42px 58px;
  }

  .ad-visual::after {
    right: 18px;
    bottom: 18px;
    width: 130px;
    font-size: 18px;
  }

  .ad-cta,
  .sitemap-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .about-feature-strip article,
  .about-value-grid article {
    border-top: 1px solid #e2e9f1;
    border-left: 0;
  }

  .about-feature-strip article:first-child,
  .about-value-grid article:first-child {
    border-top: 0;
  }

  .help-quick-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .help-quick-card b {
    display: none;
  }

  .player-hero-body {
    padding: 0 18px 20px;
  }

  .player-portrait {
    min-height: 190px;
  }

  .player-portrait::before {
    right: calc(50% - 96px);
  }

  .player-portrait::after {
    right: calc(50% - 38px);
  }

  .player-portrait span {
    right: calc(50% - 76px);
  }

  .player-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .player-actions {
    width: 100%;
  }

  .follow-player-btn {
    flex: 1;
  }

  .player-detail-strip {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .player-detail-strip div,
  .player-detail-strip div:nth-child(4) {
    padding: 10px 0;
    border-top: 1px solid #e2e9f1;
    border-left: 0;
  }

  .player-detail-strip div:first-child {
    border-top: 0;
  }

  .player-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-side-column,
  .player-two-grid,
  .career-timeline,
  .honours-grid {
    grid-template-columns: 1fr;
  }

  .career-timeline::before {
    top: 0;
    bottom: 0;
    left: 27px;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, #b9c8d9 0 8px, transparent 8px 14px);
  }

  .career-node {
    grid-template-columns: 58px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .career-node span {
    grid-column: 2;
  }

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

  .country-hero-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .country-flag-card {
    min-height: 128px;
    border-right: 0;
    border-bottom: 1px solid rgba(222, 230, 239, 0.85);
    padding-bottom: 18px;
  }

  .country-flag-card .flag {
    width: 172px;
    height: 108px;
  }

  .country-title-row,
  .country-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .country-detail-strip {
    grid-template-columns: 1fr;
  }

  .country-detail-strip div {
    padding: 10px 0;
    border-top: 1px solid #e2e9f1;
    border-left: 0;
  }

  .country-detail-strip div:first-child {
    border-top: 0;
  }

  .country-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .country-top-grid,
  .country-top-grid:nth-child(2),
  .country-top-grid:nth-child(3),
  .country-side-column,
  .country-competition-list,
  .country-top-player-grid {
    grid-template-columns: 1fr;
  }

  .performance-body {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .performance-legend {
    width: 100%;
  }

  .country-squad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-row {
    grid-template-columns: 34px 26px minmax(0, 1fr);
  }

  .timeline-row i {
    grid-column: 3;
    width: max-content;
  }

  .match-info-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .date-strip {
    grid-template-columns: 38px 1fr 38px;
    gap: 10px;
  }

  .date-arrow {
    width: 38px;
    height: 38px;
  }

  .date-scroller {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .date-pill:nth-child(n + 3) {
    display: none;
  }

  .featured-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 22px 32px;
  }

  .featured-team {
    grid-template-columns: 64px minmax(0, 1fr);
    justify-items: start;
  }

  .featured-team.away {
    grid-template-columns: minmax(0, 1fr) 64px;
    justify-items: end;
    text-align: right;
  }

  .featured-team.away .team-logo {
    order: 2;
  }

  .team-logo.large {
    width: 58px;
    height: 58px;
    font-size: 14px;
  }

  .featured-meta {
    order: -1;
  }

  .match-row {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 8px 12px;
    min-height: auto;
  }

  .match-team,
  .match-team.away {
    grid-column: 1;
    grid-template-columns: 48px minmax(0, 1fr);
    text-align: left;
  }

  .match-team.away .team-logo {
    order: 0;
  }

  .match-center {
    grid-column: 1;
    justify-items: start;
    text-align: left;
    padding-left: 62px;
  }

  .bell {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .team-logo {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .page-hero,
  .search-results {
    min-height: 280px;
    padding: 24px;
  }

  .page-hero h1,
  .search-results h1 {
    font-size: 28px;
  }

  .search-top-card {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 86px;
  }

  .search-top-avatar {
    width: 62px;
    height: 62px;
  }

  .search-page-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  body.nav-open .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.nav-open .search-shell,
  body.nav-open .search {
    grid-column: 1 / -1;
    width: 100%;
  }

  .btn {
    min-width: 0;
  }

  .demo-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .trending-row,
  .video-row {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .trending-row b {
    display: none;
  }

  .story-thumb.small,
  .video-thumb {
    width: 74px;
  }
}

/* =========================================================================
   FBL24 — Home redesign (right rail removed, league-grouped match grid, live red)
   Appended overrides. Safe: scoped to new classes + a few targeted overrides.
   ========================================================================= */

/* Right rail removed on home -> widen content to two columns */
.dashboard {
  grid-template-columns: 252px minmax(0, 1fr) !important;
}
@media (max-width: 1024px) {
  .dashboard { grid-template-columns: 1fr !important; }
}

/* Make the LIVE pill red (was green) with a pulsing dot */
.live-pill {
  background: #e11d2a !important;
}
.live-pill::before {
  background: #fff;
  animation: fbl24-live-pulse 1.1s ease-in-out infinite;
}
@keyframes fbl24-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.7); }
}

/* League block (header + games grid) */
.league-block { margin: 0 0 18px; }
.league-block__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  padding: 0 2px;
}
.league-block__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}
.league-block__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f1720;
}
.league-block__count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #5b6b7a;
  background: #eef2f5;
  border-radius: 999px;
  padding: 2px 9px;
}

/* 3 games per line (responsive) */
.match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px)  { .match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .match-grid { grid-template-columns: 1fr; } }

/* Compact, clickable match card */
.match-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 13px;
  background: #fff;
  border: 1px solid #e6ebf0;
  border-radius: 14px;
  text-decoration: none;
  color: #0f1720;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.match-mini:hover {
  transform: translateY(-2px);
  border-color: #d4dde5;
  box-shadow: 0 14px 28px -18px rgba(16, 23, 32, .45);
}
.match-mini__head,
.mm-status {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 18px;
}
.mm-min {
  font-size: 11px;
  font-weight: 700;
  color: #5b6b7a;
}
.match-mini.is-live .mm-min { color: #e11d2a; }
.mm-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mm-id {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mm-id img,
.mm-id .mini-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}
.mm-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-sc {
  font-size: 15px;
  font-weight: 800;
  color: #0f1720;
  flex: 0 0 auto;
}
.match-mini.is-live {
  border-color: #f6c9cd;
  box-shadow: inset 3px 0 0 #e11d2a;
}
.match-mini.is-live .mm-sc { color: #e11d2a; }

/* Header "Live" nav item feels live (pulsing red dot) */
.main-nav a[data-route="/live"] {
  position: relative;
}
.main-nav a[data-route="/live"]::after {
  content: "";
  position: absolute;
  top: 6px;
  right: -10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e11d2a;
  animation: fbl24-live-pulse 1.1s ease-in-out infinite;
}

/* =========================================================================
   FBL24 — Sidebar: search + all world leagues (scrollable), Featured removed
   ========================================================================= */
.sidebar .league-search { margin: 0 0 10px; }
.sidebar .league-search input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #e6ebf0;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sidebar .league-search input:focus {
  border-color: #0a8f3c;
  box-shadow: 0 0 0 3px #e7f6ed;
}
.sidebar .league-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5b6b7a;
  margin: 14px 2px 8px;
}
.sidebar [data-all-leagues] {
  max-height: 540px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}
.sidebar [data-all-leagues]::-webkit-scrollbar { width: 7px; }
.sidebar [data-all-leagues]::-webkit-scrollbar-thumb { background: #d4dde5; border-radius: 999px; }
.competition-card .badge-img {
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
}
.competition-card .badge-img img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

/* =========================================================================
   FBL24 — Home v2: league cards + horizontal match cards (match design spec)
   Appended overrides (later rules win over earlier .match-mini block).
   ========================================================================= */

/* League section = white rounded card */
.league-card {
  background: #fff;
  border: 1px solid #e9eef2;
  border-radius: 18px;
  padding: 16px 16px 18px;
  margin: 0 0 18px;
  box-shadow: 0 1px 2px rgba(16,23,32,.04);
}
.league-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.league-card__logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}
.league-card__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f1720;
}
.league-card__viewall {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: #0a8f3c;
  text-decoration: none;
  white-space: nowrap;
}
.league-card__viewall:hover { text-decoration: underline; }

/* 3 match cards per row (responsive: 2 on tablet, 1 on mobile) */
.league-card .match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1100px) { .league-card .match-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px)  { .league-card .match-grid { grid-template-columns: 1fr; } }

/* Horizontal match card: [home] [center] [away] */
.match-mini {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 120px;
  padding: 14px 12px;
  background: #fbfcfd;
  border: 1px solid #eceff2;
  border-radius: 14px;
  text-decoration: none;
  color: #0f1720;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.match-mini:hover {
  transform: translateY(-2px);
  border-color: #d8e0e6;
  box-shadow: 0 16px 30px -18px rgba(16,23,32,.45);
}
.match-mini .mm-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.match-mini .mm-side img,
.match-mini .mm-side .mini-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.match-mini .mm-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.match-mini .mm-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 78px;
  padding: 0 4px;
}
.match-mini .mm-score {
  font-size: 20px;
  font-weight: 800;
  color: #0f1720;
  white-space: nowrap;
}
.match-mini.is-live .mm-score { color: #e11d2a; }
.match-mini .mm-min { font-size: 12px; font-weight: 700; color: #5b6b7a; }
.match-mini .mm-min.is-live { color: #e11d2a; }
.match-mini .mm-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #5b6b7a;
}
.match-mini .mm-time {
  font-size: 13px;
  font-weight: 700;
  color: #0f1720;
  text-align: center;
  line-height: 1.25;
}
.match-mini .mm-venue {
  font-size: 11px;
  color: #8a97a3;
  text-align: center;
  line-height: 1.2;
  max-width: 120px;
}

/* Sidebar: View all + empty state */
.competition-viewall {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #0a8f3c;
  text-decoration: none;
}
.competition-viewall:hover { text-decoration: underline; }
.league-empty {
  padding: 16px 4px;
  font-size: 13px;
  color: #8a97a3;
  text-align: center;
}

/* ==========================================================================
   FBL24 real-data Home and Live dashboards
   ========================================================================== */

.fbl24-home-page .topbar,
.fbl24-live-page .topbar {
  display: none;
}

.fbl24-home-page .header-main,
.fbl24-live-page .header-main {
  border-bottom: 1px solid #e7ebf0;
  background: rgba(255, 255, 255, 0.98);
}

.fbl24-home-page .header-inner,
.fbl24-live-page .header-inner {
  min-height: 78px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.fbl24-home-page .app-shell,
.fbl24-live-page .app-shell {
  width: min(1560px, calc(100% - 36px));
  padding-top: 14px;
}

.fbl24-home-dashboard {
  display: grid;
  gap: 18px;
}

.home-date-strip {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  gap: 10px;
  align-items: stretch;
  padding: 10px 14px;
  border: 1px solid #e4e9ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 32, 56, 0.05);
}

.home-date-scroll {
  display: grid;
  grid-template-columns: repeat(8, minmax(86px, 1fr));
  min-width: 0;
}

.home-calendar-button,
.home-date-next,
.home-date-button {
  border: 0;
  background: transparent;
  color: #0d1728;
  cursor: pointer;
}

.home-calendar-button,
.home-date-next {
  display: grid;
  place-items: center;
  border: 1px solid #e0e6ed;
  border-radius: 11px;
  background: #fafbfc;
}

.home-calendar-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.home-date-next {
  font-size: 28px;
}

.home-date-button {
  min-width: 0;
  padding: 7px 10px;
  border-left: 1px solid #edf0f4;
  text-align: center;
}

.home-date-button strong,
.home-date-button span {
  display: block;
}

.home-date-button strong {
  font-size: 13px;
  font-weight: 850;
}

.home-date-button span {
  margin-top: 4px;
  color: #788497;
  font-size: 11px;
  font-weight: 700;
}

.home-date-button.is-active {
  border-radius: 11px;
  background: linear-gradient(180deg, #f7fff9, #f2fbf5);
  color: #07963b;
}

.home-date-button.is-active span {
  color: #07963b;
}

.home-dashboard-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.home-competitions-card,
.home-league-section,
.live-sidebar-card,
.live-login-card,
.live-league-section,
.live-right-card {
  border: 1px solid #e5eaf0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 32, 56, 0.05);
}

.home-competitions-card {
  position: sticky;
  top: 14px;
  padding: 16px;
}

.home-competitions-card h2,
.live-sidebar-card h2 {
  margin: 0 0 13px;
  color: #111827;
  font-size: 16px;
}

.home-competition-search,
.live-league-search {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  color: #68768a;
  background: #fff;
}

.home-competition-search input,
.live-league-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #0f1d31;
  background: transparent;
  font: inherit;
  font-size: 12px;
}

.home-competition-list,
.live-league-list {
  display: grid;
  max-height: 590px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.home-competition-row,
.live-league-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 7px 5px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  background: transparent;
  color: #111827;
  cursor: pointer;
  text-align: left;
}

.home-competition-row strong,
.live-league-row strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-competition-row > span:last-child {
  color: #8b98aa;
  font-size: 20px;
  text-align: center;
}

.home-competition-logo,
.home-league-logo,
.home-team-logo,
.live-league-logo,
.live-section-logo,
.live-team-logo,
.live-scorer-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f3f6f9;
  color: #18314f;
  font-size: 8px;
  font-weight: 900;
}

.home-competition-logo {
  width: 29px;
  height: 29px;
}

.home-competition-logo img,
.home-league-logo img,
.home-team-logo img,
.live-league-logo img,
.live-section-logo img,
.live-team-logo img,
.live-scorer-avatar img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.home-view-competitions,
.live-more-competitions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 11px 8px 2px;
  color: #07963b;
  font-size: 12px;
  font-weight: 850;
}

.home-sidebar-state,
.live-league-empty {
  padding: 18px 8px;
  color: #738095;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.home-league-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.home-league-section {
  padding: 14px;
  scroll-margin-top: 18px;
}

.home-league-section > header,
.live-league-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.home-league-title,
.live-league-section > header > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-league-title h2,
.live-league-section h2 {
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-league-logo,
.live-section-logo {
  width: 32px;
  height: 32px;
}

.home-league-section > header a,
.live-league-section > header a {
  color: #07963b;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.home-match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-match-card {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) minmax(100px, 1.15fr) minmax(70px, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 118px;
  padding: 13px 12px;
  border: 1px solid #e2e7ed;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 32, 56, 0.05);
  transition: border-color 0.2s, transform 0.2s;
}

.home-match-card:hover {
  border-color: rgba(7, 150, 59, 0.38);
  transform: translateY(-2px);
}

.home-match-team {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.home-team-logo {
  width: 46px;
  height: 46px;
}

.home-match-team strong {
  width: 100%;
  overflow: hidden;
  color: #101827;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-match-center {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.home-match-live,
.home-match-status {
  padding: 3px 9px;
  border-radius: 999px;
  background: #e9f8ee;
  color: #069638;
  font-size: 9px;
  font-weight: 900;
}

.home-match-status {
  background: #eef2f6;
  color: #5e6c7e;
}

.home-match-score {
  color: #101827;
  font-size: 25px;
  line-height: 1;
}

.home-match-minute {
  color: #07963b;
  font-size: 11px;
  font-weight: 850;
}

.home-match-time {
  color: #111827;
  font-size: 11px;
  line-height: 1.35;
}

.home-match-venue {
  display: -webkit-box;
  overflow: hidden;
  color: #8390a3;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-league-section.is-skeleton header span,
.home-league-section.is-skeleton .home-match-grid i,
.live-page-skeleton i {
  display: block;
  min-height: 90px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f1f4f7 25%, #f8fafb 50%, #f1f4f7 75%);
  background-size: 200% 100%;
  animation: fbl24-dashboard-shimmer 1.2s infinite;
}

.home-league-section.is-skeleton header span {
  width: 180px;
  min-height: 28px;
}

@keyframes fbl24-dashboard-shimmer {
  to { background-position: -200% 0; }
}

.fbl24-live-dashboard {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.live-competition-sidebar,
.live-events-sidebar {
  display: grid;
  gap: 16px;
}

.live-sidebar-card,
.live-right-card,
.live-login-card {
  padding: 15px;
}

.live-league-row {
  grid-template-columns: 30px minmax(0, 1fr) 32px;
}

.live-league-row b {
  display: grid;
  min-width: 26px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #f0f3f6;
  font-size: 10px;
}

.live-league-row.is-active {
  margin: 3px 0;
  padding-right: 9px;
  padding-left: 9px;
  border: 0;
  border-radius: 10px;
  background: #eefaf2;
  color: #078d38;
}

.live-all-icon {
  color: #07963b;
  font-size: 20px;
  text-align: center;
}

.live-league-logo {
  width: 26px;
  height: 26px;
}

.live-login-card {
  min-height: 180px;
  background: linear-gradient(145deg, #fff, #effbf3);
}

.live-login-card h3 {
  margin: 0 0 10px;
  color: #101827;
  font-size: 16px;
}

.live-login-card p {
  margin: 0 0 18px;
  color: #566477;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
}

.live-login-card a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 8px;
  background: #07963b;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.live-page-main {
  min-width: 0;
}

.live-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.live-page-toolbar h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #101827;
  font-size: 24px;
}

.live-page-toolbar h1 > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ef1d2f;
  box-shadow: 0 0 0 5px rgba(239, 29, 47, 0.09);
}

.live-auto-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #263449;
  font-size: 11px;
  font-weight: 750;
}

.live-auto-toggle input {
  position: absolute;
  opacity: 0;
}

.live-auto-toggle i {
  position: relative;
  width: 38px;
  height: 21px;
  border-radius: 999px;
  background: #cfd7df;
  cursor: pointer;
}

.live-auto-toggle i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform 0.2s;
}

.live-auto-toggle input:checked + i {
  background: #07963b;
}

.live-auto-toggle input:checked + i::after {
  transform: translateX(17px);
}

.live-status-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 14px;
  overflow-x: auto;
  border-bottom: 1px solid #e7ecf1;
}

.live-status-filters button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 18px;
  border: 1px solid #dce3ea;
  border-radius: 999px;
  background: #fff;
  color: #243249;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.live-status-filters button.is-active {
  border-color: #07963b;
  background: #07963b;
  color: #fff;
}

.live-league-section {
  margin-bottom: 10px;
  padding: 12px;
}

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

.live-premium-card {
  display: grid;
  gap: 9px;
  min-height: 190px;
  padding: 12px 16px;
  border: 1px solid #e2e7ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 13px rgba(15, 32, 56, 0.05);
}

.live-card-top {
  display: flex;
  justify-content: center;
  gap: 7px;
  color: #ef1d2f;
  font-size: 10px;
}

.live-card-top span {
  padding: 3px 8px;
  border-radius: 5px;
  background: #ef1d2f;
  color: #fff;
  font-weight: 900;
}

.live-card-top strong {
  align-self: center;
}

.live-card-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.live-card-score > b {
  color: #0d1728;
  font-size: 28px;
  text-align: center;
}

.live-card-team {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.live-team-logo {
  width: 52px;
  height: 52px;
}

.live-card-team strong {
  width: 100%;
  overflow: hidden;
  color: #101827;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-card-event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-height: 33px;
}

.live-card-scorers {
  display: grid;
  gap: 3px;
  color: #29384e;
  font-size: 9px;
  font-weight: 700;
}

.live-card-scorers:nth-child(2) {
  text-align: right;
}

.live-card-scorers span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-card-scorers b,
.live-card-scorers em {
  color: #07963b;
  font-style: normal;
}

.live-card-scorers .more {
  color: #7a8799;
}

.live-card-event-loading {
  min-height: 33px;
  color: #8a96a6;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.live-card-venue {
  display: flex;
  justify-content: center;
  gap: 7px;
  color: #8490a2;
  font-size: 9px;
  font-weight: 700;
}

.live-load-more {
  display: block;
  margin: 16px auto;
  padding: 10px 18px;
  border: 1px solid #dbe3ea;
  border-radius: 999px;
  background: #fff;
  color: #07963b;
  cursor: pointer;
  font-weight: 850;
}

.live-right-card h2 {
  margin: 0 0 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7ecf1;
  color: #101827;
  font-size: 15px;
}

.live-scorer-row {
  display: grid;
  grid-template-columns: 18px 38px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
  min-height: 58px;
}

.live-scorer-row > b {
  font-size: 11px;
}

.live-scorer-avatar {
  width: 36px;
  height: 36px;
}

.live-scorer-row span {
  min-width: 0;
}

.live-scorer-row span strong,
.live-scorer-row span em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-scorer-row span strong {
  color: #18253a;
  font-size: 10px;
}

.live-scorer-row span em {
  margin-top: 3px;
  color: #7b8899;
  font-size: 9px;
  font-style: normal;
}

.live-scorer-row > i {
  color: #07963b;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.live-scorer-row > i small {
  display: block;
  color: #7d8999;
  font-size: 8px;
}

.live-alert-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f4;
}

.live-alert-row > b {
  color: #18253a;
  font-size: 11px;
}

.live-alert-row span strong,
.live-alert-row span em,
.live-alert-row span small {
  display: block;
}

.live-alert-row span strong {
  color: #07963b;
  font-size: 9px;
  text-transform: uppercase;
}

.live-alert-row span em {
  margin: 3px 0;
  color: #17253a;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.live-alert-row span small {
  color: #7b8899;
  font-size: 9px;
}

.live-right-empty {
  padding: 26px 8px;
  color: #7a8798;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.live-page-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.live-page-skeleton i {
  min-height: 190px;
}

@media (max-width: 1180px) {
  .fbl24-live-dashboard {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .live-events-sidebar {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .home-match-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-dashboard-grid,
  .fbl24-live-dashboard {
    grid-template-columns: 1fr;
  }

  .home-competitions-card {
    position: static;
  }

  .home-competition-list,
  .live-league-list {
    max-height: 250px;
  }

  .home-date-scroll {
    display: flex;
    overflow-x: auto;
  }

  .home-date-button {
    flex: 0 0 104px;
  }

  .live-competition-sidebar {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .live-events-sidebar {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .fbl24-home-page .app-shell,
  .fbl24-live-page .app-shell {
    width: min(100% - 20px, 1560px);
  }

  .home-date-strip {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    padding: 8px;
  }

  .home-match-grid,
  .live-premium-grid,
  .live-page-skeleton,
  .live-events-sidebar,
  .live-competition-sidebar {
    grid-template-columns: 1fr;
  }

  .home-match-card {
    min-height: 108px;
  }

  .live-page-toolbar {
    align-items: flex-start;
  }

  .live-page-toolbar h1 {
    font-size: 21px;
  }

  .live-premium-card {
    min-height: 184px;
  }
}
