:root {
  color-scheme: light;
  --blue-950: #062048;
  --blue-850: #0a3270;
  --blue-700: #0956ad;
  --blue-100: #dcecff;
  --green-600: #0b8f5b;
  --green-100: #dff7eb;
  --ink: #0d1726;
  --muted: #637083;
  --line: #d7dfeb;
  --paper: #f6f8fb;
  --white: #ffffff;
  --amber: #f2b84b;
  --red: #b84343;
  --shadow: 0 18px 40px rgba(11, 32, 72, 0.14);
  --radius: 8px;
}

/* Lech Stats Figma pass */
.dashboard-screen {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 1px 0 88px;
  background: linear-gradient(180deg, #001d66 0 72vh, #123679 98vh, #416ab1 136vh, #85a3d6 190vh, #b4c8eb 260vh, #c8d8f3 100%);
  color: #ffffff;
  font-family:
    "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  isolation: isolate;
}

.dashboard-screen::before {
  position: absolute;
  inset: -14px 0 auto;
  z-index: -2;
  height: min(1120px, 112vh);
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 29, 102, 0.04), rgba(0, 29, 102, 0.62) 62%, rgba(0, 29, 102, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 29, 102, 0.66), rgba(0, 29, 102, 0.16)),
    url("assets/hero-stadium.png") center 42% / cover no-repeat;
  opacity: 0.78;
  filter: blur(5px) saturate(1.08);
  transform: scale(1.018);
  transform-origin: top center;
  -webkit-mask-image: linear-gradient(180deg, #000 0 68%, rgba(0, 0, 0, 0.9) 76%, rgba(0, 0, 0, 0.42) 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 68%, rgba(0, 0, 0, 0.9) 76%, rgba(0, 0, 0, 0.42) 90%, transparent 100%);
  pointer-events: none;
}

.dashboard-screen::after {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 134px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent calc(50% - 12px),
      #0035b9 calc(50% - 12px),
      #0035b9 calc(50% - 1px),
      #ffffff calc(50% - 1px),
      #ffffff calc(50% + 10px),
      transparent calc(50% + 10px)
    ),
    rgba(0, 29, 102, 0.06);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 70%, transparent 100%);
}

.dashboard-design-topbar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1344px, calc(100vw - 48px));
  min-height: 134px;
  margin: 0 auto;
}

.dashboard-design-switch {
  display: flex;
  align-items: center;
}

.dashboard-design-switch button {
  width: 198px;
  min-height: 69px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  padding: 12px 18px;
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.dashboard-design-switch button:hover,
.dashboard-design-switch button.active {
  color: #ffffff;
}

.dashboard-center-mark {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  width: 29px;
  height: 134px;
  transform: translateX(-50%);
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(180deg, #000 0 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 72%, transparent 100%);
}

.dashboard-center-mark span:first-child {
  width: 15px;
  background: #0035b9;
}

.dashboard-center-mark span:last-child {
  width: 14px;
  background: #ffffff;
}

.dashboard-profile-menu {
  position: relative;
  top: auto;
  right: auto;
  z-index: 40;
}

.dashboard-profile-summary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
}

.dashboard-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #d0deff;
  color: #0035b9;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  font-size: 14px;
  font-weight: 950;
}

.dashboard-view-heading {
  position: relative;
  z-index: 2;
  width: min(1242px, calc(100vw - 80px));
  margin: -6px auto 18px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.25;
}

.dashboard-stat-tabbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: min(1242px, calc(100vw - 80px));
  margin: 0 auto 16px;
}

.dashboard-stat-tab {
  width: 124px;
  min-height: 43px;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 9px 6px;
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.dashboard-stat-tab:hover,
.dashboard-stat-tab.active {
  color: #8f8f8f;
}

.dashboard-stat-content {
  position: relative;
  z-index: 2;
  width: min(1242px, calc(100vw - 80px));
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #001d66;
  box-shadow: none;
}

.dashboard-stat-content .filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 206px));
  gap: 15px;
  justify-content: start;
  width: min(869px, 100%);
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-stat-content .filters .compact-field {
  position: relative;
  min-height: 41px;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.dashboard-stat-content .filters label {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 16px;
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
  pointer-events: none;
}

.dashboard-stat-content .filters select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 41px;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 22px 34px 4px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  appearance: none;
  cursor: pointer;
}

.dashboard-stat-content .filters .compact-field::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.dashboard-stat-content .filters .compact-field:hover,
.dashboard-stat-content .filters .compact-field:focus-within {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
}

.dashboard-stat-content .filters select:focus-visible {
  outline: 0;
}

.dashboard-stat-content .filters select option {
  color: #001d66;
}

.matches-stats-stage {
  display: grid;
  gap: 20px;
}

.matches-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 646px) minmax(240px, 336px);
  gap: 16px;
}

.matches-summary-card {
  min-height: 121px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 24px 28px;
}

.matches-summary-card h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.matches-summary-card strong {
  display: block;
  color: #ffffff;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 800;
  line-height: 1;
}

.matches-balance-card strong {
  font-size: clamp(30px, 3.2vw, 40px);
}

.matches-summary-card span {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.matches-ticket-panel {
  border: 0;
  background: transparent;
  padding: 0;
}

.matches-ticket-panel .empty {
  color: #001d66;
}

.matches-stats-stage .match-list {
  display: grid;
  gap: 14px;
}

.matches-stats-stage .match-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 175px) minmax(0, 1fr) 138px minmax(150px, 190px);
  grid-template-rows: auto auto auto;
  column-gap: 20px;
  row-gap: 0;
  align-items: center;
  min-height: 140px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  padding: 22px 38px 20px 20px;
  box-shadow: 0 20px 40px rgba(0, 29, 102, 0.08);
}

.matches-stats-stage .match-row::before {
  display: none;
}

.matches-stats-stage .match-row::after {
  position: absolute;
  top: 0;
  right: 176px;
  width: 42px;
  height: 100%;
  content: "";
  background: #d9d9d9;
  opacity: 0.9;
}

.matches-stats-stage .match-row > * {
  position: relative;
  z-index: 1;
}

.matches-stats-stage .match-row > div:first-child {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  padding: 0;
  text-align: center;
}

.matches-stats-stage .match-row > div:first-child strong {
  color: #001d66;
  font-size: 20px;
  font-weight: 700;
}

.matches-stats-stage .match-row > div:first-child small {
  display: block;
  margin-top: 8px;
  color: #001d66;
  font-size: 16px;
  font-weight: 700;
}

.matches-stats-stage .match-row > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.matches-stats-stage .match-row > div:nth-child(2) strong {
  display: block;
  overflow: hidden;
  color: #001d66;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.14;
}

.matches-stats-stage .match-row > div:nth-child(2) > span {
  display: block;
  margin-top: 8px;
  color: #001d66;
  font-size: 20px;
  font-weight: 850;
}

.matches-stats-stage .match-row .result-pill {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  min-width: 134px;
  min-height: 57px;
  border-radius: 21px;
  color: #001d66;
  padding: 4px 18px;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.matches-stats-stage .result-pill.win {
  background: #bdffa9;
  color: #001d66;
}

.matches-stats-stage .result-pill.draw,
.matches-stats-stage .result-pill.unknown {
  background: #d9d9d9;
  color: #001d66;
}

.matches-stats-stage .result-pill.loss {
  background: #ff7c7c;
  color: #001d66;
}

.matches-stats-stage .match-row .tag {
  grid-column: 4;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: stretch;
  min-width: 0;
  min-height: 41px;
  border-radius: 5px;
  background: rgba(0, 29, 102, 0.1);
  color: #001d66;
  padding: 7px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
  white-space: normal;
}

.matches-stats-stage .match-extra-meta {
  grid-column: 2 / 5;
  grid-row: 3;
  margin-top: 10px;
  color: #001d66;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

@media (max-width: 1120px) {
  .dashboard-stat-tabbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .dashboard-stat-tab {
    flex: 0 0 auto;
    width: auto;
    padding-right: 14px;
    padding-left: 14px;
  }

  .matches-stats-stage .match-row {
    grid-template-columns: minmax(112px, 140px) minmax(0, 1fr) 112px minmax(132px, 166px);
    padding-right: 24px;
  }

  .matches-stats-stage .match-row::after {
    right: 152px;
    width: 34px;
  }

  .matches-stats-stage .match-row .result-pill {
    min-width: 110px;
    font-size: 28px;
  }
}

@media (max-width: 860px) {
  .dashboard-screen::after {
    display: none;
  }

  .dashboard-design-topbar {
    min-height: 104px;
    width: min(100% - 28px, 100%);
  }

  .dashboard-design-switch button {
    width: auto;
    min-width: 126px;
    min-height: 54px;
    font-size: 16px;
  }

  .dashboard-center-mark {
    display: none;
  }

  .dashboard-profile-summary > span:first-child {
    display: none;
  }

  .dashboard-view-heading {
    width: calc(100vw - 28px);
    margin-top: 10px;
    text-align: left;
  }

  .dashboard-stat-content {
    width: calc(100vw - 28px);
  }

  .dashboard-stat-content .filters,
  .dashboard-stat-content .filters.filter-count-4,
  .dashboard-stat-content .filters.filter-count-3,
  .dashboard-stat-content .filters.filter-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .matches-summary-row {
    grid-template-columns: 1fr;
  }

  .matches-stats-stage .match-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  .matches-stats-stage .match-row::after {
    display: none;
  }

  .matches-stats-stage .match-row > div:first-child,
  .matches-stats-stage .match-row > div:nth-child(2),
  .matches-stats-stage .match-row .result-pill,
  .matches-stats-stage .match-row .tag,
  .matches-stats-stage .match-extra-meta {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    text-align: left;
  }

  .matches-stats-stage .match-row > div:first-child {
    text-align: left;
  }

  .matches-stats-stage .match-row .result-pill {
    justify-content: center;
    max-width: 150px;
  }
}

@media (max-width: 560px) {
  .dashboard-stat-content .filters,
  .dashboard-stat-content .filters.filter-count-4,
  .dashboard-stat-content .filters.filter-count-3,
  .dashboard-stat-content .filters.filter-count-2 {
    grid-template-columns: 1fr;
  }

  .dashboard-design-switch button {
    min-width: 108px;
    font-size: 14px;
  }
}

/* Final stadium tab typography guard. This must stay after legacy stadium rules. */
.dashboard-stat-content .stadium-stats-stage .stadium-story-band {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr) !important;
  gap: 22px !important;
  min-height: 190px !important;
  padding: 26px 32px !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-band h2 {
  max-width: 620px !important;
  font-size: clamp(25px, 2.55vw, 34px) !important;
  line-height: 1.08 !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-band p {
  max-width: 660px !important;
  font-size: 15px !important;
  line-height: 1.38 !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats span {
  min-height: 98px !important;
  padding: 11px 12px !important;
  border-radius: 12px !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats strong {
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1 !important;
  overflow-wrap: normal !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats small {
  font-size: 10px !important;
  line-height: 1.12 !important;
}

@media (max-width: 980px) {
  .dashboard-stat-content .stadium-stats-stage .stadium-story-band {
    grid-template-columns: 1fr !important;
  }

  .dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
    grid-template-columns: 1fr !important;
  }
}

/* Stadium hero final sizing: fixed stat boxes, balanced typography. */
.dashboard-stat-content .stadium-stats-stage .stadium-story-band {
  grid-template-columns: minmax(0, 1fr) 540px !important;
  gap: 26px !important;
  min-height: 220px !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-band h2 {
  max-width: 690px !important;
  font-size: clamp(32px, 3.28vw, 44px) !important;
  line-height: 1.04 !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-band p {
  max-width: 690px !important;
  font-size: 16px !important;
  line-height: 1.42 !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
  grid-template-columns: repeat(3, 164px) !important;
  justify-content: end !important;
  align-content: center !important;
  align-items: stretch !important;
  gap: 12px !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats span {
  box-sizing: border-box !important;
  display: grid !important;
  width: 164px !important;
  min-width: 164px !important;
  height: 132px !important;
  min-height: 132px !important;
  padding: 14px !important;
  align-content: space-between !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats strong {
  font-size: clamp(31px, 2.65vw, 40px) !important;
  line-height: 0.98 !important;
  white-space: nowrap !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats small {
  align-self: end !important;
  font-size: 11px !important;
  line-height: 1.16 !important;
  overflow-wrap: normal !important;
}

@media (max-width: 1120px) {
  .dashboard-stat-content .stadium-stats-stage .stadium-story-band {
    grid-template-columns: 1fr !important;
  }

  .dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
  }

  .dashboard-stat-content .stadium-stats-stage .stadium-story-stats span {
    width: auto !important;
    min-width: 0 !important;
    height: 124px !important;
    min-height: 124px !important;
  }
}

/* Final weather tab guard: restored context cards, fixed gradient bars, no ticket layout. */
.dashboard-stat-content .weather-rankings-only {
  max-width: 1180px;
  margin: 0 auto;
}

.dashboard-stat-content .weather-rankings-only .weather-hero-card {
  border: 1px solid rgba(208, 222, 255, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 6, 130, 0.22), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(20, 223, 25, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(0, 29, 102, 0.94), rgba(0, 83, 151, 0.72));
}

.dashboard-stat-content .weather-rankings-only .weather-kpi-grid .start-record-card {
  min-height: 156px;
  border-color: rgba(208, 222, 255, 0.36);
  background:
    radial-gradient(circle at 92% 16%, rgba(20, 223, 25, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.dashboard-stat-content .weather-rankings-only .weather-result-section {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(208, 222, 255, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 235, 0, 0.16), transparent 30%),
    radial-gradient(circle at 15% 90%, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(0, 29, 102, 0.78), rgba(54, 86, 145, 0.6));
  box-shadow: 0 22px 56px rgba(0, 29, 102, 0.18);
  padding: 24px;
}

.dashboard-stat-content .weather-rankings-only .weather-result-section .start-eyebrow,
.dashboard-stat-content .weather-rankings-only .weather-result-section .weather-heading h2,
.dashboard-stat-content .weather-rankings-only .weather-result-section .weather-heading p {
  color: #ffffff;
}

.dashboard-stat-content .weather-rankings-only .weather-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-stat-content .weather-rankings-only .weather-result-card {
  min-height: 132px;
  border-color: rgba(208, 222, 255, 0.42);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--weather-heat, #14df19) 22%, transparent), transparent 34%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(0, 29, 102, 0.12);
}

.dashboard-stat-content .weather-rankings-only .weather-result-card i {
  right: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 9px !important;
  border-radius: 0 999px 999px 0 !important;
  background: linear-gradient(90deg, #2563eb 0%, #14df19 42%, #ffeb00 68%, var(--weather-heat, #f00682) 100%) !important;
}

.dashboard-stat-content .weather-rankings-only .weather-split {
  align-items: start;
}

.dashboard-stat-content .weather-rankings-only .weather-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(208, 222, 255, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(20, 223, 25, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(0, 29, 102, 0.82), rgba(54, 86, 145, 0.66));
  box-shadow: 0 22px 56px rgba(0, 29, 102, 0.2);
  color: #ffffff;
  padding: 24px;
}

.dashboard-stat-content .weather-rankings-only .weather-panel:nth-child(2) {
  background:
    radial-gradient(circle at 88% 8%, rgba(240, 6, 130, 0.24), transparent 31%),
    radial-gradient(circle at 18% 90%, rgba(255, 235, 0, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(0, 29, 102, 0.82), rgba(77, 98, 147, 0.66));
}

.dashboard-stat-content .weather-rankings-only .weather-panel .start-eyebrow,
.dashboard-stat-content .weather-rankings-only .weather-heading h2,
.dashboard-stat-content .weather-rankings-only .weather-heading p {
  color: #ffffff;
}

.dashboard-stat-content .weather-rankings-only .weather-heading h2 {
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1;
}

.dashboard-stat-content .weather-rankings-only .weather-heading p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.dashboard-stat-content .weather-rankings-only .weather-match-list {
  gap: 12px;
}

.dashboard-stat-content .weather-rankings-only .weather-match-tile {
  min-height: 86px;
  border-color: rgba(208, 222, 255, 0.42);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 50%, rgba(20, 223, 25, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
  box-shadow: 0 16px 32px rgba(0, 29, 102, 0.12);
  padding: 14px 16px 22px;
}

.dashboard-stat-content .weather-rankings-only .weather-match-tile.hot,
.dashboard-stat-content .weather-rankings-only .weather-match-tile.warm {
  background:
    radial-gradient(circle at 92% 50%, rgba(240, 6, 130, 0.1), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
}

.dashboard-stat-content .weather-rankings-only .weather-match-tile strong,
.dashboard-stat-content .weather-rankings-only .weather-match-tile b {
  color: #001d66;
}

.dashboard-stat-content .weather-rankings-only .weather-match-tile span,
.dashboard-stat-content .weather-rankings-only .weather-match-tile small {
  color: #576985;
}

.dashboard-stat-content .weather-rankings-only .weather-match-tile i {
  right: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  width: var(--weather-ratio, 10%) !important;
  height: 9px !important;
  border-radius: 0 999px 999px 0 !important;
  background: linear-gradient(90deg, #2563eb 0%, var(--weather-heat, #14df19) 100%) !important;
  box-shadow: 0 0 16px rgba(20, 223, 25, 0.22) !important;
}

.dashboard-stat-content .weather-empty {
  border: 1px dashed rgba(208, 222, 255, 0.48);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  padding: 16px;
  font-weight: 850;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .dashboard-stat-content .weather-rankings-only .weather-split,
  .dashboard-stat-content .weather-rankings-only .weather-kpi-grid,
  .dashboard-stat-content .weather-rankings-only .weather-result-grid,
  .dashboard-stat-content .weather-rankings-only .weather-hero-card {
    grid-template-columns: 1fr;
  }
}

/* Weather tab: keep it as a clean hot/cold gradient view, not as tickets. */
.weather-rankings-only {
  max-width: 1180px;
  margin: 0 auto;
}

.weather-rankings-only .weather-split {
  align-items: start;
}

.weather-rankings-only .weather-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(208, 222, 255, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(20, 223, 25, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(0, 29, 102, 0.82), rgba(54, 86, 145, 0.66));
  box-shadow: 0 22px 56px rgba(0, 29, 102, 0.2);
  color: #ffffff;
  padding: 24px;
}

.weather-rankings-only .weather-panel:nth-child(2) {
  background:
    radial-gradient(circle at 88% 8%, rgba(240, 6, 130, 0.24), transparent 31%),
    radial-gradient(circle at 18% 90%, rgba(255, 235, 0, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(0, 29, 102, 0.82), rgba(77, 98, 147, 0.66));
}

.weather-rankings-only .weather-panel .start-eyebrow,
.weather-rankings-only .weather-heading h2,
.weather-rankings-only .weather-heading p {
  color: #ffffff;
}

.weather-rankings-only .weather-heading h2 {
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1;
}

.weather-rankings-only .weather-heading p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.weather-rankings-only .weather-match-list {
  gap: 12px;
}

.weather-rankings-only .weather-match-tile {
  min-height: 86px;
  border-color: rgba(208, 222, 255, 0.42);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 50%, color-mix(in srgb, var(--weather-heat, #14df19) 30%, transparent), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
  box-shadow: 0 16px 32px rgba(0, 29, 102, 0.12);
  padding: 14px 16px 20px;
}

.weather-rankings-only .weather-match-tile strong,
.weather-rankings-only .weather-match-tile b {
  color: #001d66;
}

.weather-rankings-only .weather-match-tile span,
.weather-rankings-only .weather-match-tile small {
  color: #576985;
}

.weather-rankings-only .weather-match-tile i {
  width: var(--weather-ratio, 10%);
  height: 9px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #2563eb 0%, #14df19 42%, #ffeb00 68%, var(--weather-heat, #f00682) 100%);
}

.weather-empty {
  border: 1px dashed rgba(208, 222, 255, 0.48);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  padding: 16px;
  font-weight: 850;
  line-height: 1.35;
}

.weather-source-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.weather-source-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 980px) {
  .weather-rankings-only .weather-split {
    grid-template-columns: 1fr;
  }
}

/* Stadium tab polish */
.stadium-stats-stage {
  display: grid;
  gap: 22px;
}

.dashboard-stat-content .stadium-heatmap-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 12%, rgba(20, 223, 25, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: 0 30px 72px rgba(0, 13, 52, 0.28);
  backdrop-filter: blur(14px);
}

.stadium-stats-stage .stadium-heatmap {
  min-height: auto;
}

.stadium-stats-stage .stadium-story-band {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  min-height: 214px;
  padding: 30px 32px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 86% 18%, rgba(240, 6, 130, 0.34), transparent 28%),
    radial-gradient(circle at 60% 82%, rgba(20, 223, 25, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(0, 29, 102, 0.98), rgba(0, 59, 150, 0.84) 52%, rgba(0, 111, 132, 0.88));
  background-size: 112px 112px, 112px 112px, auto, auto, auto;
}

.stadium-stats-stage .stadium-story-band::after {
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, #14df19, #fff200 40%, #ff8a00 66%, #f00682);
}

.stadium-stats-stage .stadium-story-band .eyebrow {
  display: inline-flex;
  width: auto;
  margin-bottom: 12px;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.stadium-stats-stage .stadium-story-band h2 {
  max-width: 760px;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: clamp(28px, 3.35vw, 44px);
  font-weight: 800;
  line-height: 1.04;
}

.stadium-stats-stage .stadium-story-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.stadium-stats-stage .stadium-story-stats {
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  align-content: stretch;
}

.stadium-stats-stage .stadium-story-stats span {
  min-height: 116px;
  padding: 12px 13px;
  border-color: rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 18px 40px rgba(0, 13, 52, 0.12);
}

.stadium-stats-stage .stadium-story-stats strong {
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: clamp(22px, 2.65vw, 34px);
  line-height: 0.98;
}

.stadium-stats-stage .stadium-story-stats small {
  font-size: 11px;
  line-height: 1.16;
  overflow-wrap: normal;
}

.stadium-stats-stage .stadium-map-shell {
  min-height: clamp(620px, 66vw, 900px);
  padding: clamp(10px, 1.3vw, 18px);
  border: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.22), transparent 38%),
    radial-gradient(circle at 36% 36%, rgba(0, 217, 255, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(10, 39, 92, 0.92), rgba(0, 29, 102, 0.98));
}

.stadium-stats-stage .stadium-map {
  min-height: clamp(620px, 66vw, 900px);
  filter: drop-shadow(0 30px 48px rgba(0, 11, 43, 0.38));
}

.stadium-stats-stage .fan-map-bg {
  fill: rgba(208, 222, 255, 0.12);
}

.stadium-stats-stage .fan-stadium-bowl {
  fill: rgba(208, 222, 255, 0.16);
  stroke: rgba(255, 255, 255, 0.44);
}

.stadium-stats-stage .fan-stand {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.22);
}

.stadium-stats-stage .fan-pitch-wrap {
  fill: rgba(0, 53, 185, 0.96);
}

.stadium-stats-stage .fan-pitch {
  fill: #44b926;
}

.stadium-stats-stage .stand-name,
.stadium-stats-stage .fan-map-title {
  paint-order: stroke;
  stroke: rgba(0, 29, 102, 0.7);
  stroke-width: 6px;
  fill: rgba(255, 255, 255, 0.96);
}

.stadium-stats-stage .heat-legend {
  right: 32px;
  bottom: 28px;
  left: 32px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(0, 29, 102, 0.72);
  color: #ffffff;
  text-shadow: none;
}

.stadium-stats-stage .heat-scale {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(90deg, #00d9ff, #14df19, #fff200, #ff8a00, #f00682);
}

.stadium-stats-stage .stadium-hotspots {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.stadium-stats-stage .stadium-hotspots > div,
.stadium-stats-stage .stadium-story-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 8%, rgba(20, 223, 25, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 44px rgba(0, 29, 102, 0.16);
}

.stadium-stats-stage .stadium-hotspots > div {
  min-height: 164px;
}

.stadium-stats-stage .stadium-hotspots .eyebrow,
.stadium-stats-stage .stadium-story-panel .eyebrow {
  display: inline-flex;
  width: auto;
  margin-bottom: 10px;
  border: 0;
  background: rgba(0, 29, 102, 0.08);
  color: #4a5b78;
  padding: 5px 9px;
}

.stadium-stats-stage .stadium-hotspots strong {
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
}

.stadium-stats-stage .stadium-hotspots p {
  color: #4a5b78;
}

.stadium-stats-stage .stadium-hotspots .bar-row,
.stadium-stats-stage .stadium-story-panel .bar-row {
  grid-template-columns: minmax(122px, 176px) minmax(0, 1fr) minmax(42px, auto);
  gap: 12px;
}

.stadium-stats-stage .stadium-hotspots .bar-track,
.stadium-stats-stage .stadium-story-panel .bar-track {
  overflow: hidden;
  height: 13px;
  border: 1px solid rgba(0, 29, 102, 0.08);
  border-radius: 999px;
  background: rgba(0, 29, 102, 0.08);
}

.stadium-stats-stage .stadium-hotspots .bar-fill,
.stadium-stats-stage .stadium-story-panel .bar-fill {
  background: linear-gradient(90deg, #14df19 0%, var(--bar-heat, #14df19) 100%) !important;
  box-shadow:
    0 0 16px color-mix(in srgb, var(--bar-heat, #14df19) 38%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.stadium-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.stadium-stats-stage .stadium-story-panel {
  min-height: 312px;
  padding: 26px;
}

.stadium-stats-stage .stadium-story-panel h2 {
  margin: 0 0 12px;
  color: #001d66;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
}

.stadium-stats-stage .stadium-story-panel p {
  margin: 0 0 20px;
  color: #4a5b78;
}

@media (max-width: 1120px) {
  .stadium-stats-stage .stadium-story-band,
  .stadium-insight-grid {
    grid-template-columns: 1fr;
  }

  .stadium-stats-stage .stadium-hotspots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .stadium-stats-stage .stadium-story-stats,
  .stadium-stats-stage .stadium-hotspots {
    grid-template-columns: 1fr;
  }

  .stadium-stats-stage .stadium-map-shell,
  .stadium-stats-stage .stadium-map {
    min-height: 430px;
  }

  .stadium-stats-stage .heat-legend {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: auto minmax(70px, 1fr) auto;
  }
}

/* Final PDF ticket override. */
.matches-stats-stage .match-row {
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) minmax(180px, 220px);
  grid-template-rows: auto auto auto;
  column-gap: 28px;
  min-height: 146px;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 29, 102, 0.035), transparent 12%),
    radial-gradient(circle at 82% 70%, rgba(0, 29, 102, 0.025), transparent 13%),
    linear-gradient(90deg, rgba(0, 29, 102, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 29, 102, 0.025) 1px, transparent 1px),
    #faf9f4;
  background-size: auto, auto, 19px 19px, 17px 17px, auto;
  padding: 24px 38px 22px 22px;
  box-shadow:
    0 22px 46px rgba(0, 29, 102, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(0, 29, 102, 0.04);
}

.matches-stats-stage .match-row::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: calc(100% - 244px);
  z-index: 1;
  display: block;
  width: 18px;
  content: "";
  background:
    radial-gradient(circle, #ffffff 0 8px, transparent 8.5px) center top / 18px 29px repeat-y;
  opacity: 1;
}

.matches-stats-stage .match-row::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: auto;
  height: auto;
  content: "";
  background:
    radial-gradient(circle at left 31%, transparent 0 27px, #faf9f4 28px) left top / 50% 100% no-repeat,
    radial-gradient(circle at left 69%, transparent 0 27px, #faf9f4 28px) left top / 50% 100% no-repeat,
    radial-gradient(circle at right 31%, transparent 0 27px, #faf9f4 28px) right top / 50% 100% no-repeat,
    radial-gradient(circle at right 69%, transparent 0 27px, #faf9f4 28px) right top / 50% 100% no-repeat;
  pointer-events: none;
}

.matches-stats-stage .match-row > * {
  z-index: 2;
}

.matches-stats-stage .match-row > div:first-child {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  text-align: center;
}

.matches-stats-stage .match-row > div:first-child strong {
  color: #001d66;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.matches-stats-stage .match-row > div:first-child small {
  margin-top: 14px;
  color: #001d66;
  font-size: 16px;
  font-weight: 600;
}

.matches-stats-stage .match-row > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-width: 0;
}

.matches-stats-stage .match-row > div:nth-child(2) strong {
  color: #001d66;
  text-transform: uppercase;
  font-family: "Montserrat", Inter, sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 950;
  letter-spacing: -0.01em;
}

.matches-stats-stage .match-row > div:nth-child(2) > span {
  margin-top: 6px;
  color: #001d66;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 850;
}

.matches-stats-stage .match-extra-meta {
  grid-column: 2;
  grid-row: 3;
  margin-top: 14px;
  color: #001d66;
  font-size: 13px;
  font-weight: 600;
}

.matches-stats-stage .match-row .result-pill {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  min-width: 166px;
  min-height: 68px;
  border-radius: 30px;
  background: #bdffa9;
  color: #001d66;
  font-family: "Montserrat", Inter, sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
}

.matches-stats-stage .result-pill.win {
  background: #bdffa9;
}

.matches-stats-stage .result-pill.draw,
.matches-stats-stage .result-pill.unknown {
  background: #d9d9d9;
}

.matches-stats-stage .result-pill.loss {
  background: #ff7c7c;
}

.matches-stats-stage .match-row .tag {
  grid-column: 3;
  grid-row: 3;
  align-self: end;
  justify-self: center;
  min-height: auto;
  border-radius: 0;
  background: transparent;
  color: #001d66;
  padding: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 950;
}

@media (max-width: 1120px) {
  .matches-stats-stage .match-row {
    grid-template-columns: minmax(118px, 145px) minmax(0, 1fr) minmax(146px, 180px);
    column-gap: 18px;
    padding-right: 24px;
  }

  .matches-stats-stage .match-row::before {
    left: calc(100% - 204px);
  }

  .matches-stats-stage .match-row > div:nth-child(2) strong {
    font-size: clamp(20px, 2.4vw, 28px);
  }

  .matches-stats-stage .match-row .result-pill {
    min-width: 136px;
    min-height: 58px;
    font-size: 46px;
  }
}

@media (max-width: 860px) {
  .matches-stats-stage .match-row {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 20px;
  }

  .matches-stats-stage .match-row::before,
  .matches-stats-stage .match-row::after {
    display: none;
  }

  .matches-stats-stage .match-row > div:first-child,
  .matches-stats-stage .match-row > div:nth-child(2),
  .matches-stats-stage .match-extra-meta,
  .matches-stats-stage .match-row .result-pill,
  .matches-stats-stage .match-row .tag {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    text-align: left;
  }

  .matches-stats-stage .match-row > div:first-child {
    display: flex;
    gap: 12px;
    align-items: baseline;
  }

  .matches-stats-stage .match-row > div:first-child small {
    margin-top: 0;
  }

  .matches-stats-stage .match-row .result-pill {
    justify-self: start;
    justify-content: center;
    max-width: 150px;
    min-width: 132px;
    font-size: 40px;
  }

  .matches-stats-stage .match-row .tag {
    font-size: 15px;
  }
}

/* Guided account access */
.auth-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 119, 219, 0.3), transparent 32%),
    linear-gradient(115deg, rgba(0, 15, 47, 0.94), rgba(0, 29, 102, 0.8)),
    url("assets/lech-bilety-seats-bg.png") center / cover;
}

.auth-stage {
  grid-template-columns: minmax(280px, 390px) minmax(0, 620px);
  justify-content: center;
  gap: clamp(24px, 4vw, 54px);
  min-height: 100dvh;
  padding-top: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(28px, 5vw, 64px);
}

.auth-guide,
.auth-card {
  border-radius: 24px;
}

.auth-guide {
  align-self: center;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(155deg, rgba(0, 29, 102, 0.88), rgba(0, 14, 47, 0.82));
  box-shadow: 0 28px 70px rgba(0, 10, 35, 0.36);
  color: #ffffff;
  backdrop-filter: blur(16px);
}

.auth-guide-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: -8px 0 30px -8px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 15px;
}

.auth-guide-home > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 950;
}

.auth-guide-kicker {
  display: block;
  margin-bottom: 8px;
  color: #72c7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-guide h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.06;
}

.auth-guide > p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.auth-guide-steps,
.auth-guide-preview {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.auth-guide-step,
.auth-guide-preview li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
}

.auth-guide-step.current {
  border-color: rgba(114, 199, 255, 0.55);
  background: rgba(114, 199, 255, 0.12);
}

.auth-guide-step.upcoming {
  opacity: 0.56;
}

.auth-guide-step-number,
.auth-guide-preview li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.auth-guide-step.current .auth-guide-step-number {
  border-color: #72c7ff;
  background: #72c7ff;
  color: #001d66;
  box-shadow: 0 0 0 5px rgba(114, 199, 255, 0.12);
}

.auth-guide-step.complete .auth-guide-step-number {
  border-color: rgba(132, 232, 184, 0.5);
  background: rgba(40, 164, 104, 0.22);
  color: #a8f2ce;
}

.auth-guide-step strong,
.auth-guide-preview strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
}

.auth-guide-step small,
.auth-guide-preview small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.4;
}

.auth-guide-footnote {
  margin-top: 24px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.auth-guide-footnote strong {
  color: #ffffff;
}

.auth-guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(114, 199, 255, 0.55);
  border-radius: 12px;
  background: rgba(114, 199, 255, 0.14);
  color: #ffffff;
  font-weight: 900;
}

.auth-guide-cta:hover {
  background: rgba(114, 199, 255, 0.23);
}

.auth-card {
  width: min(620px, 100%);
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(248, 251, 255, 0.97);
  color: var(--blue-950);
  box-shadow: 0 30px 80px rgba(0, 10, 35, 0.4);
  backdrop-filter: blur(18px);
}

.auth-card .lech-connect-heading {
  margin-bottom: 22px;
  color: var(--blue-950);
  text-shadow: none;
}

.auth-card .lech-connect-kicker {
  color: var(--blue-700);
}

.auth-card .lech-connect-heading h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
  white-space: normal;
}

.auth-card .lech-connect-heading p {
  color: #4b6077;
  font-weight: 650;
  line-height: 1.55;
  text-shadow: none;
  overflow-wrap: anywhere;
}

.auth-card .lech-connect-fields {
  gap: 16px;
}

.auth-card .lech-connect-field {
  gap: 7px;
}

.auth-card .lech-connect-field label {
  color: #15324f;
  font-size: 13px;
  text-shadow: none;
}

.auth-card .lech-connect-field input {
  min-height: 52px;
  border: 1px solid #b9cadb;
  background: #ffffff;
  color: var(--blue-950);
  box-shadow: 0 8px 20px rgba(0, 29, 102, 0.07);
}

.auth-card .lech-connect-field input:focus {
  border-color: var(--blue-700);
  outline: 3px solid rgba(9, 86, 173, 0.16);
  outline-offset: 1px;
}

.auth-password-control {
  position: relative;
}

.auth-card .auth-password-control input {
  padding-right: 88px;
}

.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  min-width: 72px;
  min-height: 44px;
  padding: 7px 10px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 7px;
  background: #e9f2fa;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 900;
}

.auth-password-toggle:hover {
  background: #dcebf8;
}

.auth-tabs {
  gap: 6px;
  margin-bottom: 16px;
  border-color: #d3e0eb;
  background: #eaf2f8;
}

.auth-tabs button {
  min-height: 44px;
  color: #526a80;
}

.auth-tabs button.active {
  color: var(--blue-950);
  box-shadow: 0 7px 18px rgba(0, 29, 102, 0.12);
}

.auth-task-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #c4def2;
  border-radius: 12px;
  background: #edf7ff;
  color: #274761;
}

.auth-task-note > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-700);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

.auth-task-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.auth-password-guidance {
  margin-top: -4px;
  padding: 12px 13px;
  border: 1px solid #d3e0eb;
  border-radius: 11px;
  background: #f3f7fb;
}

.auth-password-guidance-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #536b81;
  font-size: 12px;
}

.auth-password-guidance-top strong {
  color: var(--blue-950);
  font-variant-numeric: tabular-nums;
}

.auth-password-track {
  height: 5px;
  margin: 9px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce6ef;
}

.auth-password-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #e3a008;
  transition: width 140ms ease, background-color 140ms ease;
}

.auth-password-guidance.ready {
  border-color: #a9d9c1;
  background: #f0faf5;
}

.auth-password-guidance.ready .auth-password-track span {
  background: #218b5a;
}

.auth-password-guidance.ready [data-password-status] {
  color: #176942;
  font-weight: 850;
}

.auth-password-guidance p,
.auth-login-password-note,
.auth-provider-hint {
  margin: 0;
  color: #536b81;
  font-size: 12px;
  line-height: 1.5;
}

.auth-password-guidance p strong {
  color: #274761;
}

.auth-login-password-note {
  margin-top: -7px;
}

.auth-consent {
  margin-top: 17px;
  color: #425a70;
}

.auth-consent a,
.auth-card .auth-legal-copy a,
.auth-card .auth-debug-link {
  color: var(--blue-700);
}

.auth-card .auth-text-button {
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 2px;
  color: var(--blue-700);
}

.auth-card .auth-text-button-left {
  margin-right: auto;
  margin-left: 0;
}

.auth-card .auth-legal-copy,
.auth-provider-hint {
  color: #64798e;
  text-align: center;
}

.auth-provider-hint {
  margin-top: 9px;
}

.auth-card .auth-divider {
  color: #718397;
}

.auth-card .auth-divider::before,
.auth-card .auth-divider::after {
  background: #d3e0eb;
}

.auth-card .google-loading {
  border-color: #d3e0eb;
  background: #ffffff;
  color: #536b81;
}

.auth-card .auth-message {
  max-width: none;
  margin: 0 0 16px;
  border-color: #afd8c3;
  background: #edf9f3;
  color: #155f3c;
  font-weight: 750;
}

.auth-card .auth-error {
  border-color: #efb7b7;
  background: #fff0f0;
  color: #992f2f;
}

.auth-next-step-card,
.auth-existing-help,
.auth-instruction-card,
.auth-resend-panel {
  border-radius: 14px;
}

.auth-next-step-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid #a9d9c1;
  background: #f0faf5;
}

.auth-next-step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #d9f3e6;
  font-size: 19px;
}

.auth-next-step-card h2,
.auth-existing-help h2,
.auth-instruction-card h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: 17px;
  line-height: 1.25;
}

.auth-next-step-card p,
.auth-existing-help p,
.auth-instruction-card p,
.auth-resend-panel p {
  margin: 7px 0 0;
  color: #536b81;
  font-size: 13px;
  line-height: 1.5;
}

.auth-mail-checklist {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding-left: 20px;
  color: #274761;
  font-size: 13px;
  line-height: 1.45;
}

.auth-resend-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid #d3e0eb;
  background: #f7f9fb;
}

.auth-resend-panel .auth-debug-link {
  margin-top: 0;
}

.auth-existing-help,
.auth-instruction-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #c4def2;
  background: #edf7ff;
}

.auth-choice-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.auth-choice-actions > *,
.auth-secondary-actions > *,
.auth-full-button {
  min-height: 46px;
}

.auth-google-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  padding: 10px 13px;
  border: 1px solid #d3e0eb;
  border-radius: 8px;
  background: #ffffff;
  color: #3c4043;
  font-size: 13px;
  font-weight: 750;
}

.auth-card .auth-secondary-actions {
  margin-top: 16px;
}

.auth-card .auth-debug-link {
  overflow-wrap: anywhere;
}

.auth-full-button {
  width: 100%;
  margin-top: 16px;
}

.auth-card .auth-pending-message {
  padding: 18px;
  border-color: #c4def2;
  background: #edf7ff;
  color: var(--blue-950);
  text-shadow: none;
}

@media (max-width: 940px) {
  .auth-stage {
    grid-template-columns: minmax(0, 680px);
    gap: 18px;
    align-items: start;
  }

  .auth-guide,
  .auth-card {
    width: 100%;
  }

  .auth-guide-home {
    margin-bottom: 20px;
  }

  .auth-guide-steps,
  .auth-guide-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .auth-guide-step,
  .auth-guide-preview li {
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    min-height: 96px;
    padding: 10px;
  }

  .auth-guide-step-number,
  .auth-guide-preview li > span {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 640px) {
  .auth-stage {
    padding: 14px 12px 30px;
  }

  .auth-guide,
  .auth-card {
    border-radius: 18px;
  }

  .auth-guide {
    padding: 20px;
  }

  .auth-guide-home {
    margin-bottom: 16px;
  }

  .auth-guide h2 {
    font-size: 26px;
  }

  .auth-guide-steps,
  .auth-guide-preview {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .auth-guide-step,
  .auth-guide-preview li {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 58px;
    padding: 8px 10px;
  }

  .auth-guide-step.upcoming small,
  .auth-guide-step.complete small,
  .auth-guide-preview small {
    display: none;
  }

  .auth-guide-footnote {
    margin-top: 16px !important;
    padding-top: 14px;
  }

  .auth-card {
    padding: 22px 18px;
  }

  .auth-card .lech-connect-heading h1 {
    font-size: clamp(28px, 9vw, 36px);
  }

  .auth-choice-actions {
    grid-template-columns: 1fr;
  }

  .auth-next-step-card {
    grid-template-columns: 1fr;
  }

  .auth-next-step-icon {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-password-track span {
    transition: none;
  }
}

/* PDF ticket reproduction for "Moje mecze". */
.matches-stats-stage .match-row {
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) minmax(180px, 220px);
  grid-template-rows: auto auto auto;
  column-gap: 28px;
  min-height: 146px;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 29, 102, 0.035), transparent 12%),
    radial-gradient(circle at 82% 70%, rgba(0, 29, 102, 0.025), transparent 13%),
    linear-gradient(90deg, rgba(0, 29, 102, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 29, 102, 0.025) 1px, transparent 1px),
    #faf9f4;
  background-size: auto, auto, 19px 19px, 17px 17px, auto;
  padding: 24px 38px 22px 22px;
  box-shadow:
    0 22px 46px rgba(0, 29, 102, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(0, 29, 102, 0.04);
}

.matches-stats-stage .match-row::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: calc(100% - 244px);
  z-index: 1;
  display: block;
  width: 18px;
  content: "";
  background:
    radial-gradient(circle, #ffffff 0 8px, transparent 8.5px) center top / 18px 29px repeat-y;
  opacity: 1;
}

.matches-stats-stage .match-row::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  content: "";
  background:
    radial-gradient(circle at left 31%, transparent 0 27px, #faf9f4 28px) left top / 50% 100% no-repeat,
    radial-gradient(circle at left 69%, transparent 0 27px, #faf9f4 28px) left top / 50% 100% no-repeat,
    radial-gradient(circle at right 31%, transparent 0 27px, #faf9f4 28px) right top / 50% 100% no-repeat,
    radial-gradient(circle at right 69%, transparent 0 27px, #faf9f4 28px) right top / 50% 100% no-repeat;
  pointer-events: none;
}

.matches-stats-stage .match-row > * {
  z-index: 2;
}

.matches-stats-stage .match-row > div:first-child {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  text-align: center;
}

.matches-stats-stage .match-row > div:first-child strong {
  color: #001d66;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.matches-stats-stage .match-row > div:first-child small {
  margin-top: 14px;
  color: #001d66;
  font-size: 16px;
  font-weight: 600;
}

.matches-stats-stage .match-row > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-width: 0;
}

.matches-stats-stage .match-row > div:nth-child(2) strong {
  color: #001d66;
  text-transform: uppercase;
  font-family: "Montserrat", Inter, sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 950;
  letter-spacing: -0.01em;
}

.matches-stats-stage .match-row > div:nth-child(2) > span {
  margin-top: 6px;
  color: #001d66;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 850;
}

.matches-stats-stage .match-extra-meta {
  grid-column: 2;
  grid-row: 3;
  margin-top: 14px;
  color: #001d66;
  font-size: 13px;
  font-weight: 600;
}

.matches-stats-stage .match-row .result-pill {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  min-width: 166px;
  min-height: 68px;
  border-radius: 30px;
  background: #bdffa9;
  color: #001d66;
  font-family: "Montserrat", Inter, sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
}

.matches-stats-stage .result-pill.win {
  background: #bdffa9;
}

.matches-stats-stage .result-pill.draw,
.matches-stats-stage .result-pill.unknown {
  background: #d9d9d9;
}

.matches-stats-stage .result-pill.loss {
  background: #ff7c7c;
}

.matches-stats-stage .match-row .tag {
  grid-column: 3;
  grid-row: 3;
  align-self: end;
  justify-self: center;
  min-height: auto;
  border-radius: 0;
  background: transparent;
  color: #001d66;
  padding: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 950;
}

@media (max-width: 1120px) {
  .matches-stats-stage .match-row {
    grid-template-columns: minmax(118px, 145px) minmax(0, 1fr) minmax(146px, 180px);
    column-gap: 18px;
    padding-right: 24px;
  }

  .matches-stats-stage .match-row::before {
    left: calc(100% - 204px);
  }

  .matches-stats-stage .match-row > div:nth-child(2) strong {
    font-size: clamp(20px, 2.4vw, 28px);
  }

  .matches-stats-stage .match-row .result-pill {
    min-width: 136px;
    min-height: 58px;
    font-size: 46px;
  }
}

@media (max-width: 860px) {
  .matches-stats-stage .match-row {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 20px;
  }

  .matches-stats-stage .match-row::before,
  .matches-stats-stage .match-row::after {
    display: none;
  }

  .matches-stats-stage .match-row > div:first-child,
  .matches-stats-stage .match-row > div:nth-child(2),
  .matches-stats-stage .match-extra-meta,
  .matches-stats-stage .match-row .result-pill,
  .matches-stats-stage .match-row .tag {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    text-align: left;
  }

  .matches-stats-stage .match-row > div:first-child {
    display: flex;
    gap: 12px;
    align-items: baseline;
  }

  .matches-stats-stage .match-row > div:first-child small {
    margin-top: 0;
  }

  .matches-stats-stage .match-row .result-pill {
    justify-self: start;
    justify-content: center;
    max-width: 150px;
    min-width: 132px;
    font-size: 40px;
  }

  .matches-stats-stage .match-row .tag {
    font-size: 15px;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(9, 86, 173, 0.34);
  outline-offset: 2px;
}

.app {
  min-height: 100vh;
}

.shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 248, 251, 0.96)),
    var(--paper);
}

.shell-authenticated {
  --app-header-height: 134px;
}

.authenticated-app-header {
  position: relative;
  z-index: 35;
  min-height: var(--app-header-height);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(0, 29, 102, 0.96), rgba(0, 29, 102, 0.82)),
    url("assets/hero-stadium.png") center 22% / cover no-repeat;
  color: #ffffff;
  font-family:
    "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.authenticated-app-header::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(215, 223, 235, 0.88);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  color: var(--blue-950);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue-700);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-button,
.ghost-button,
.text-button,
.primary-button,
.danger-button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 800;
}

.nav-button {
  background: transparent;
  color: var(--blue-950);
}

.nav-button.active,
.nav-button:hover {
  background: var(--blue-100);
  color: var(--blue-850);
}

.primary-button {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(9, 86, 173, 0.24);
}

.primary-button:hover {
  background: var(--blue-850);
}

.ghost-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-950);
}

.ghost-button:hover {
  border-color: var(--blue-700);
}

.text-button {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--blue-700);
}

.danger-button {
  background: #ffe5e5;
  color: var(--red);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86vh;
  padding: 34px max(20px, calc((100vw - 1180px) / 2)) 40px;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 18, 42, 0.92) 0%,
      rgba(4, 18, 42, 0.84) 34%,
      rgba(4, 18, 42, 0.35) 70%,
      rgba(4, 18, 42, 0.18) 100%
    ),
    url("assets/hero-stadium.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-content {
  width: min(660px, 100%);
}

.cover-hero {
  min-height: 92vh;
  align-items: stretch;
  padding-top: clamp(26px, 5vw, 64px);
  padding-bottom: clamp(30px, 5vw, 70px);
  background-image:
    linear-gradient(90deg, rgba(2, 9, 25, 0.96) 0%, rgba(4, 18, 42, 0.88) 36%, rgba(4, 18, 42, 0.38) 76%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.5), transparent 22%),
    url("assets/hero-stadium.png");
}

.cover-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, #0956ad, #ffffff 42%, #14df19 70%, #f00682);
  opacity: 0.95;
}

.cover-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.cover-lead {
  max-width: 780px;
}

.cover-masthead {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.92);
}

.cover-masthead span {
  color: var(--white);
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
}

.cover-masthead b {
  padding: 5px 8px;
  background: #f00682;
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.cover-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.cover-kicker.dark {
  border-color: #c9d7e8;
  background: #edf5ff;
  color: var(--blue-700);
}

.cover-lead h1 {
  max-width: 820px;
  margin: 14px 0 14px;
  color: var(--white);
  font-size: clamp(46px, 7.2vw, 86px);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
}

.cover-lead p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 750;
}

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

.cover-headlines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.cover-headlines article {
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(6, 32, 72, 0.46);
  backdrop-filter: blur(12px);
}

.cover-headlines span,
.landing-cover-story span,
.start-top-heading span {
  letter-spacing: 0;
}

.cover-headlines span {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffe05f;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.cover-headlines strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.08;
}

.cover-splash {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(235, 243, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 12, 34, 0.38);
  backdrop-filter: blur(16px);
}

.cover-splash h2 {
  max-width: 420px;
  margin: 0;
  color: var(--white);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 0.98;
}

.cover-splash p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.cover-stamp {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 3px solid #ffe05f;
  border-radius: 50%;
  background: #f00682;
  color: #ffffff;
  font-size: 19px;
  font-weight: 950;
  transform: rotate(-9deg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

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

.cover-preview-grid div {
  min-height: 102px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.cover-preview-grid strong {
  display: block;
  color: var(--white);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.cover-preview-grid span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.page-title h1 {
  margin: 18px 0 14px;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions,
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.google-button {
  display: inline-grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #ffffff;
  color: #3c4043;
  font-weight: 700;
}

.google-button-slot {
  display: grid;
  min-width: min(420px, 100%);
  min-height: 46px;
  align-items: center;
}

.google-button-slot > div:not(.google-loading) {
  width: 100%;
}

.google-loading {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 800;
}

.google-dot {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(
      from -45deg,
      #4285f4 0deg 90deg,
      #34a853 90deg 180deg,
      #fbbc05 180deg 270deg,
      #ea4335 270deg 360deg
    );
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.auth-message {
  max-width: 650px;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 750;
}

.auth-message code {
  color: var(--white);
  font-weight: 900;
}

.auth-error {
  border-color: rgba(255, 220, 220, 0.64);
  background: rgba(184, 67, 67, 0.26);
  color: #fff2f2;
}

.auth-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 230px;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-950);
  padding: 5px 10px 5px 6px;
  font-size: 13px;
  font-weight: 850;
}

.auth-user img,
.auth-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  font-size: 11px;
}

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

.google-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 10, 24, 0.58);
}

.google-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(590px, 100%);
  min-height: min(820px, calc(100vh - 36px));
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  color: #202124;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.google-dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 10px 16px;
  border-bottom: 1px solid #dadce0;
}

.google-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.google-g {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #4285f4;
  font-weight: 900;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  font-size: 26px;
  line-height: 1;
}

.icon-button:hover {
  background: #f1f3f4;
}

.google-dialog-body {
  padding: 28px 24px;
}

.google-app-mark {
  display: grid;
  width: 54px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--blue-700);
  color: #ffffff;
  font-weight: 950;
}

.google-dialog h2 {
  margin: 0 0 16px;
  color: #202124;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.18;
}

.google-dialog-body > p {
  margin: 0 0 28px;
  color: #202124;
  font-size: 16px;
}

.account-list {
  display: grid;
  border-top: 1px solid #dadce0;
}

.account-option {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 70px;
  border: 0;
  border-bottom: 1px solid #dadce0;
  background: #ffffff;
  color: #202124;
  padding: 10px 0;
  text-align: left;
}

.account-option:hover {
  background: #f8fafd;
}

.account-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
}

.account-avatar.neutral {
  border: 1px solid #dadce0;
  background: #ffffff;
  color: #5f6368;
}

.account-option strong,
.account-option small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-option strong {
  font-size: 16px;
  font-weight: 500;
}

.account-option small {
  color: #3c4043;
  font-size: 14px;
}

.manual-account-form {
  display: grid;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #dadce0;
}

.google-legal {
  margin-top: 38px;
  color: #3c4043;
  font-size: 14px;
}

.google-dialog-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
  min-height: 52px;
  padding: 10px 24px;
  color: #3c4043;
  font-size: 12px;
}

.google-dialog-footer span:first-child {
  margin-right: auto;
}

.hero .ghost-button {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
  max-width: 650px;
}

.landing-cta {
  min-width: 220px;
}

.landing-secondary {
  color: var(--white);
}

.metric-tile,
.card,
.panel,
.person-card,
.match-row,
.badge-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.hero .metric-tile {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.metric-tile {
  min-height: 104px;
  padding: 14px;
}

.metric-value {
  display: block;
  margin-bottom: 4px;
  color: inherit;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.metric-label {
  display: block;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.78;
}

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.page-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.page-title h1 {
  margin: 0 0 8px;
  color: var(--blue-950);
  font-size: 42px;
}

.page-title p,
.muted {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

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

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

.panel {
  padding: 20px;
  box-shadow: 0 8px 24px rgba(11, 32, 72, 0.06);
}

.landing-steps .panel {
  position: relative;
  overflow: hidden;
  min-height: 188px;
}

.landing-steps .panel > span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 900;
}

.landing-paper {
  padding-top: 46px;
}

.landing-paper-title {
  align-items: start;
}

.landing-cover-stories {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.82fr) minmax(250px, 0.82fr);
  gap: 16px;
  margin-bottom: 18px;
}

.landing-cover-story {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 14%, rgba(240, 6, 130, 0.14), transparent 34%),
    linear-gradient(160deg, #ffffff, #f4f8ff);
  box-shadow: 0 16px 34px rgba(11, 32, 72, 0.08);
}

.landing-cover-story.primary {
  background:
    linear-gradient(135deg, rgba(6, 32, 72, 0.98), rgba(9, 86, 173, 0.94)),
    url("assets/hero-stadium.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.landing-cover-story span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  background: #ffe05f;
  color: var(--blue-950);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.landing-cover-story.primary span {
  background: #f00682;
  color: var(--white);
}

.landing-cover-story h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.02;
}

.landing-cover-story.primary h2 {
  color: var(--white);
  font-size: clamp(30px, 3vw, 48px);
}

.landing-cover-story p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 830;
  line-height: 1.48;
}

.landing-cover-story.primary p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
}

.landing-steps-cover {
  margin-top: 18px;
}

.landing-steps-cover .panel {
  min-height: 154px;
}

.trust-block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #b7d8c8;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e3f8ee, #f8fbff);
  color: #115a3b;
  font-size: 14px;
  font-weight: 800;
}

.trust-block strong {
  color: var(--blue-950);
}

.trust-block span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-block span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green-600);
}

.panel h2,
.card h2,
.panel h3,
.card h3 {
  margin: 0 0 12px;
  color: var(--blue-950);
  font-size: 20px;
  line-height: 1.18;
}

.panel p {
  color: var(--muted);
}

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

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

.status-item {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.status-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-950);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.unlock-page {
  display: grid;
  gap: 14px;
  padding-top: 24px;
}

.unlock-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.48fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(2, 9, 25, 0.97), rgba(6, 32, 72, 0.9) 56%, rgba(9, 86, 173, 0.62)),
    url("assets/hero-stadium.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 24px 58px rgba(6, 32, 72, 0.2);
}

.unlock-hero-copy h1 {
  max-width: 760px;
  margin: 14px 0 12px;
  color: var(--white);
  font-size: clamp(40px, 5.8vw, 74px);
  font-weight: 950;
  line-height: 0.92;
}

.unlock-hero-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 780;
}

.unlock-countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.unlock-countdown span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.unlock-cta-card {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(241, 247, 255, 0.16);
  backdrop-filter: blur(16px);
}

.unlock-cta-card > span {
  color: #ffe05f;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.unlock-cta-card strong {
  color: var(--white);
  font-size: 28px;
  font-weight: 950;
  line-height: 1.02;
}

.unlock-cta-card p,
.unlock-cta-card small {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.unlock-main-cta {
  width: 100%;
  min-height: 60px;
  margin-top: 4px;
  background: #f00682;
  box-shadow: 0 18px 34px rgba(240, 6, 130, 0.26);
}

.unlock-main-cta:hover {
  background: #c9006d;
}

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

.unlock-card {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #cddbec;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 16%, rgba(240, 6, 130, 0.13), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 240, 250, 0.74)),
    var(--white);
  box-shadow: 0 10px 28px rgba(11, 32, 72, 0.06);
}

.unlock-card span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-950);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.unlock-card strong {
  display: block;
  color: var(--blue-950);
  font-size: 20px;
  line-height: 1.15;
}

.unlock-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 750;
}

.unlock-teaser-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.unlock-teaser-strip div {
  min-height: 72px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--blue-950);
  color: var(--white);
}

.unlock-teaser-strip b,
.unlock-teaser-strip span {
  display: block;
}

.unlock-teaser-strip b {
  font-size: 22px;
  font-weight: 950;
}

.unlock-teaser-strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.app-trust {
  margin-top: 0;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--blue-950);
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 10px 12px;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.lech-connect-page {
  min-height: calc(100vh - var(--app-header-height, 68px));
  background:
    linear-gradient(90deg, rgba(3, 13, 31, 0.18) 0%, rgba(3, 13, 31, 0.06) 48%, rgba(3, 13, 31, 0.16) 100%),
    url("assets/lech-bilety-seats-bg.png");
  background-position: center;
  background-size: cover;
}

.lech-connect-stage {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--app-header-height, 68px));
  padding: clamp(28px, 7vw, 78px) max(20px, calc((100vw - 1180px) / 2));
}

.lech-connect-card {
  width: min(580px, 100%);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(234, 242, 249, 0.34);
  box-shadow: 0 26px 70px rgba(0, 20, 48, 0.32);
  backdrop-filter: blur(13px);
}

.lech-connect-heading {
  margin-bottom: 24px;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 12, 34, 0.5);
}

.lech-connect-heading p {
  max-width: 540px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  text-shadow: 0 2px 14px rgba(0, 12, 34, 0.45);
}

.lech-connect-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lech-connect-heading h1 {
  margin: 0;
  font-size: clamp(19px, 3.55vw, 42px);
  line-height: 1.04;
  white-space: nowrap;
}

.lech-connect-fields {
  display: grid;
  gap: 18px;
}

.lech-connect-field {
  display: grid;
  gap: 8px;
}

.lech-connect-field input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--blue-950);
  padding: 13px 16px;
  box-shadow: 0 12px 26px rgba(0, 20, 48, 0.14);
}

.lech-connect-field label {
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 12, 34, 0.48);
}

.lech-connect-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 750;
  text-shadow: 0 2px 14px rgba(0, 12, 34, 0.45);
}

.lech-connect-recovery {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 4px solid #e51b4d;
  border-radius: 6px;
  background: rgba(255, 246, 248, 0.96);
  color: #3d1020;
  box-shadow: 0 10px 24px rgba(0, 20, 48, 0.14);
}

.lech-connect-recovery strong,
.lech-connect-recovery p,
.lech-connect-recovery small {
  margin: 0;
}

.lech-connect-recovery strong {
  font-size: 16px;
}

.lech-connect-recovery p {
  line-height: 1.45;
}

.lech-connect-recovery small {
  color: #6f3b4b;
  font-weight: 750;
  line-height: 1.4;
}

.lech-connect-submit {
  width: 100%;
  margin-top: 0;
  min-height: 50px;
  box-shadow: 0 14px 34px rgba(0, 45, 109, 0.34);
}

.lech-connect-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.lech-connect-cancel {
  width: 100%;
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.9);
}

.lech-connect-card .notice,
.lech-connect-card .error,
.lech-connect-card .auth-message {
  margin-bottom: 16px;
}

.google-login-card {
  width: min(620px, calc(100vw - 40px));
}

.google-login-page,
.google-login-stage {
  min-height: 100vh;
}

.google-login-card .lech-connect-heading h1 {
  font-size: clamp(30px, 5.4vw, 38px);
  line-height: 1.08;
  white-space: nowrap;
}

.google-login-card .google-button-slot {
  width: 100%;
  min-width: 0;
}

.google-login-card .google-button {
  width: 100%;
  min-height: 54px;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 20, 48, 0.14);
}

.google-login-card .auth-message {
  margin-top: 16px;
}

.auth-card {
  width: min(620px, calc(100vw - 40px));
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.auth-tabs.single {
  grid-template-columns: minmax(0, 1fr);
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.auth-tabs button.active {
  background: var(--white);
  color: var(--blue-950);
  box-shadow: 0 10px 24px rgba(0, 20, 48, 0.18);
}

.auth-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-submit.is-loading::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: auth-spin 0.85s linear infinite;
}

.auth-form.is-pending input,
.auth-tabs button:disabled,
.auth-submit:disabled,
.auth-google-slot .google-button:disabled {
  cursor: progress;
  opacity: 0.78;
}

.auth-pending-message {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(0, 29, 102, 0.34);
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 12, 34, 0.46);
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
}

.auth-google-slot {
  width: 100%;
  min-width: 0;
}

.auth-google-slot .google-button {
  width: 100%;
  justify-content: center;
  border-radius: 8px;
}

.auth-google-slot .google-button[data-google-terms-required]:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

#google-registration-hint {
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
}

.auth-field-hint,
.auth-legal-copy {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.5;
}

.auth-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.auth-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #075db8;
}

.auth-consent a {
  color: #ffffff;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-legal-copy a,
.auth-debug-link {
  color: #ffffff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-text-button {
  width: fit-content;
  margin: 12px 0 0 auto;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-secondary-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.auth-debug-link {
  display: block;
  margin-top: 12px;
  text-align: center;
}

.auth-message.auth-success {
  border-color: rgba(185, 245, 211, 0.5);
  background: rgba(13, 108, 66, 0.42);
  color: #ffffff;
}

.notice {
  padding: 12px 14px;
  border: 1px solid #b7d8c8;
  border-radius: var(--radius);
  background: var(--green-100);
  color: #115a3b;
  font-size: 14px;
  font-weight: 700;
}

.settings-page {
  display: grid;
  gap: 18px;
}

.settings-page-title {
  align-items: start;
  margin-bottom: 0;
}

.settings-primary-panel {
  overflow: hidden;
  padding: 0;
  border-color: #bfcfe5;
  box-shadow: 0 10px 28px rgba(11, 32, 72, 0.08);
}

.settings-primary-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 24px;
  background: linear-gradient(110deg, #ffffff 0%, #f4f8ff 100%);
}

.settings-primary-copy {
  min-width: 0;
}

.settings-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.settings-primary-copy h2,
.settings-panel-heading h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: 24px;
  line-height: 1.15;
}

.settings-primary-copy p {
  max-width: 670px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.settings-import-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #176040;
  font-size: 12px;
  font-weight: 850;
}

.settings-import-trust::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--green-600);
}

.settings-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.settings-primary-actions button {
  white-space: nowrap;
}

.settings-data-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.settings-data-facts > div {
  min-width: 0;
  padding: 16px 20px;
  border-right: 1px solid var(--line);
}

.settings-data-facts > div:last-child {
  border-right: 0;
}

.settings-data-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-data-facts dd {
  margin: 5px 0 0;
  color: var(--blue-950);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.settings-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "history security"
    "privacy privacy";
  gap: 18px;
  align-items: start;
}

.settings-secondary-grid.no-history {
  grid-template-columns: 1fr;
  grid-template-areas:
    "security"
    "privacy";
}

.settings-history-panel {
  grid-area: history;
}

.settings-security-panel {
  grid-area: security;
}

.settings-privacy-panel {
  grid-area: privacy;
}

.settings-history-panel,
.settings-security-panel,
.settings-privacy-panel {
  display: grid;
  gap: 16px;
}

.settings-panel-heading {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
}

.settings-heading-meta {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.settings-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faff;
}

.settings-identity div,
.settings-row-copy {
  min-width: 0;
}

.settings-identity span,
.settings-row-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.settings-identity strong,
.settings-row-copy strong {
  display: block;
  color: var(--blue-950);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.settings-identity strong {
  margin-top: 3px;
  font-size: 15px;
}

.settings-list {
  display: grid;
}

.settings-setting-row,
.settings-disclosure {
  border-top: 1px solid var(--line);
}

.settings-list > :first-child {
  border-top: 0;
}

.settings-setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 70px;
  padding: 14px 0;
}

.settings-row-copy strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.settings-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

.settings-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #9aa9bc;
}

.settings-status.is-success {
  color: #176040;
}

.settings-status.is-success::before {
  background: var(--green-600);
}

.settings-status.is-warning {
  color: #8d5500;
}

.settings-status.is-warning::before {
  background: #e89a20;
}

.settings-disclosure summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  min-height: 70px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.settings-disclosure summary::-webkit-details-marker {
  display: none;
}

.settings-disclosure summary::after {
  content: "+";
  color: var(--blue-700);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.settings-disclosure[open] summary::after {
  content: "−";
}

.settings-disclosure-content {
  padding: 0 0 18px;
}

.settings-security-form,
.settings-delete-form {
  display: grid;
  gap: 12px;
}

.settings-security-form label,
.settings-delete-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.settings-security-form input,
.settings-delete-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--blue-950);
  font: inherit;
}

.settings-security-form .primary-button,
.settings-delete-form .danger-button {
  justify-self: start;
}

.settings-row-action {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.settings-google-slot {
  width: min(300px, 100%);
}

.settings-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.settings-link-row a,
.settings-debug-link {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.settings-debug-link {
  display: inline-flex;
  width: fit-content;
}

.settings-danger-zone {
  border-top-color: #e9b0b0;
}

.settings-danger-zone summary .settings-row-copy strong,
.settings-danger-zone summary::after {
  color: var(--red);
}

.settings-danger-content {
  display: grid;
  gap: 12px;
}

.settings-danger-content p {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.settings-snapshot-list {
  display: grid;
}

.settings-snapshot-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.settings-snapshot-row:first-child {
  border-top: 0;
}

.settings-snapshot-row > div {
  min-width: 0;
}

.settings-snapshot-row strong,
.settings-snapshot-row span:not(.settings-status):not(.settings-snapshot-dot) {
  display: block;
}

.settings-snapshot-row strong {
  color: var(--blue-950);
  font-size: 14px;
}

.settings-snapshot-row > div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.settings-snapshot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a6b4c6;
}

.settings-snapshot-row.is-active .settings-snapshot-dot {
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(18, 154, 89, 0.12);
}

.settings-snapshot-row > .settings-status::before {
  display: none;
}

.settings-empty-state {
  min-height: 92px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

@media (max-width: 980px) {
  .settings-primary-main {
    grid-template-columns: 1fr;
  }

  .settings-primary-actions {
    justify-content: flex-start;
  }

  .settings-secondary-grid,
  .settings-secondary-grid.no-history {
    grid-template-columns: 1fr;
    grid-template-areas:
      "history"
      "security"
      "privacy";
  }

  .settings-secondary-grid.no-history {
    grid-template-areas:
      "security"
      "privacy";
  }
}

@media (max-width: 640px) {
  .settings-primary-main {
    gap: 20px;
    padding: 20px;
  }

  .settings-primary-actions,
  .settings-primary-actions button {
    width: 100%;
  }

  .settings-data-facts {
    grid-template-columns: 1fr;
  }

  .settings-data-facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .settings-data-facts > div:last-child {
    border-bottom: 0;
  }

  .settings-identity,
  .settings-setting-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .settings-setting-row > button,
  .settings-setting-row .settings-row-action,
  .settings-google-slot {
    width: 100%;
    justify-items: stretch;
  }

  .settings-setting-row > button,
  .settings-row-action > button {
    width: 100%;
  }

  .settings-link-row {
    justify-content: flex-start;
  }

  .settings-snapshot-row {
    grid-template-columns: 10px minmax(0, 1fr);
  }

  .settings-snapshot-row > .settings-status {
    grid-column: 2;
    justify-self: start;
  }
}

.error {
  padding: 12px 14px;
  border: 1px solid #e9b0b0;
  border-radius: var(--radius);
  background: #ffecec;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.import-panel {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.import-status-panel {
  display: grid;
  gap: 16px;
}

.import-status-panel > h1,
.import-status-panel > p,
.import-ready-form h2,
.import-ready-form p {
  margin: 0;
}

.import-status-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.import-status-kicker,
.import-status-badge {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.import-status-kicker {
  color: var(--blue-700);
}

.import-status-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-950);
}

[data-import-state="awaiting_credentials"] .import-status-badge {
  background: #fff2c7;
  color: #745100;
}

[data-import-state="running"] .import-status-badge,
[data-import-state="succeeded"] .import-status-badge {
  background: #ddf7e5;
  color: #075d28;
}

.import-live-status {
  min-height: 0;
}

.import-queue-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.import-queue-stats > div {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faff;
}

.import-queue-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.import-queue-stats dd {
  margin: 0;
  color: var(--blue-950);
  font-size: 22px;
  font-weight: 900;
}

.progress-track {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9e4f2;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-700), var(--green-600));
  transition: width 620ms ease;
}

.progress-track.is-indeterminate .progress-fill {
  width: 38%;
  animation: import-progress-indeterminate 1.7s ease-in-out infinite;
}

.progress-track.is-complete .progress-fill {
  width: 100%;
}

@keyframes import-progress-indeterminate {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(275%);
  }
}

.import-queue-message {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(0, 53, 185, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue-950);
  font-weight: 900;
}

.import-poll-message,
.import-not-started-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.import-poll-message {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff6d9;
  color: #654800;
  font-weight: 800;
}

.import-ready-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 53, 185, 0.24);
  border-radius: 14px;
  background: #f7faff;
}

.import-ready-form > .primary-button {
  justify-self: start;
}

.import-progress-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
}

.import-cancel-button {
  min-height: 44px;
  padding: 8px 4px;
  color: var(--red);
}

.import-progress-actions > button,
.import-ready-form > .primary-button,
.background-import-banner > button {
  min-height: 44px;
}

.background-import-banner {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(0, 53, 185, 0.2);
  border-radius: 14px;
  background: #f5f9ff;
  box-shadow: 0 10px 28px rgba(0, 18, 55, 0.08);
}

.background-import-banner > div {
  display: grid;
  gap: 3px;
}

.background-import-banner strong {
  color: var(--blue-950);
}

.background-import-banner span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .progress-track.is-indeterminate .progress-fill {
    animation: none;
    transform: translateX(80%);
  }
}

@media (max-width: 640px) {
  .import-queue-stats {
    grid-template-columns: 1fr;
  }

  .import-progress-actions,
  .background-import-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .import-progress-actions > button,
  .background-import-banner > button,
  .import-ready-form > .primary-button {
    width: 100%;
    min-height: 44px;
  }
}

.steps {
  display: grid;
  gap: 10px;
}

.step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.step-index {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #e8eef7;
  color: var(--blue-950);
  font-weight: 900;
}

.step.done .step-index {
  background: var(--green-600);
  color: #ffffff;
}

.step.active {
  border-color: var(--blue-700);
  box-shadow: 0 10px 28px rgba(9, 86, 173, 0.12);
}

.step small {
  color: var(--muted);
  font-weight: 800;
}

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

.primary-person-panel {
  display: grid;
  max-width: 720px;
}

.person-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  text-align: left;
}

.primary-person-card {
  gap: 16px;
  padding: 24px;
}

.person-card.selected,
.person-card:hover {
  border-color: var(--blue-700);
  box-shadow: 0 12px 28px rgba(9, 86, 173, 0.14);
}

.person-kicker {
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.person-name {
  margin: 0;
  color: var(--blue-950);
  font-size: 20px;
  font-weight: 900;
}

.primary-person-card .person-name {
  font-size: 30px;
}

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

.primary-person-stats span {
  padding: 12px;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--muted);
  font-weight: 800;
}

.primary-person-stats strong {
  display: block;
  color: var(--blue-950);
  font-size: 28px;
  line-height: 1;
}

.person-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.confidence {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.confidence-bar {
  flex: 1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef7;
}

.confidence-bar span {
  display: block;
  height: 100%;
  background: var(--green-600);
}

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

.sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.tab-button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--blue-950);
  padding: 9px 10px;
  text-align: left;
  font-weight: 850;
}

.tab-button.active,
.tab-button:hover {
  background: var(--blue-100);
}

.dashboard-screen {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 1px 0 88px;
  background:
    radial-gradient(circle at 50% 46%, #0845b3 0%, #04318d 48%, #001d66 100%);
  color: var(--white);
  font-family:
    "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  isolation: isolate;
}

.dashboard-screen::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 112px 112px, 112px 112px;
  opacity: 0.58;
}

.dashboard-main {
  position: relative;
  z-index: 1;
}

.dashboard-menu {
  position: fixed;
  top: 30px;
  z-index: 50;
}

.dashboard-menu-left {
  left: 360px;
}

.dashboard-top-switch {
  position: fixed;
  top: 30px;
  left: 24px;
  z-index: 49;
}

.dashboard-top-nav {
  display: none;
  position: fixed;
  top: 30px;
  left: 112px;
  z-index: 49;
  gap: 4px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  padding: 4px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.dashboard-top-nav-button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.dashboard-top-nav-button:hover,
.dashboard-top-nav-button.active {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.dashboard-top-nav-button.active {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.dashboard-menu-right {
  right: 36px;
}

.dashboard-menu-summary {
  border: 0;
  background: transparent;
  padding: 0;
  list-style: none;
}

.dashboard-menu-summary::-webkit-details-marker {
  display: none;
}

.dashboard-hamburger {
  display: grid;
  gap: 7px;
  width: 54px;
  min-height: 42px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dashboard-hamburger span {
  display: block;
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: rgba(217, 217, 217, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.dashboard-profile-summary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  cursor: pointer;
  min-height: 54px;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.dashboard-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(217, 217, 217, 0.28);
  color: var(--white);
  font-size: 18px;
  font-weight: 950;
}

.dashboard-menu-popover {
  position: absolute;
  top: calc(100% + 14px);
  display: none;
  min-width: 260px;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(2, 18, 61, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.dashboard-menu.open .dashboard-menu-popover {
  display: grid;
}

.dashboard-menu-popover-left {
  left: 0;
}

.dashboard-menu-popover-right {
  right: 0;
}

.dashboard-menu-popover strong {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-menu-item {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
  font-weight: 800;
}

.dashboard-menu-item.active,
.dashboard-menu-item:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
}

.dashboard-menu-item.danger {
  color: #ffd6d6;
}

.dashboard-flash-wrap {
  position: fixed;
  top: 92px;
  left: 50%;
  z-index: 45;
  width: min(720px, calc(100vw - 40px));
  transform: translateX(-50%);
}

.dashboard-hub {
  display: grid;
  width: min(1058px, calc(100vw - 80px));
  gap: 20px;
  margin: 178px auto 96px;
}

.dashboard-hub-pill,
.dashboard-hub-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 18, 63, 0.34);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}

.dashboard-hub-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(356px, 100%);
  min-height: 67px;
  border-radius: 30px;
  padding: 13px 28px;
  color: var(--white);
  text-align: left;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
}

.dashboard-hub-pill small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-hub-panel {
  min-height: 485px;
  border-radius: 30px;
  padding: 34px 44px 42px;
}

.dashboard-hub-kicker {
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.dashboard-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(156px, 190px);
  gap: 32px;
}

.dashboard-hub-left,
.dashboard-hub-side {
  display: grid;
  gap: 24px;
}

.dashboard-hub-mini-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dashboard-hub-tile {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: 84px;
  border: 0;
  border-radius: 8px;
  background: #d9d9d9;
  color: #0b2255;
  padding: 18px 22px;
  text-align: center;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.03);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.dashboard-hub-tile::after {
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, #17da37 0%, #f0ea00 46%, #ff7a1a 68%, #ed0579 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.dashboard-hub-tile:hover,
.dashboard-hub-tile.active {
  transform: translateY(-2px);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.24),
    inset 0 -10px 0 rgba(0, 0, 0, 0.03);
}

.dashboard-hub-tile:hover::after,
.dashboard-hub-tile.active::after {
  transform: scaleX(1);
}

.dashboard-hub-tile span {
  position: relative;
  z-index: 1;
  display: block;
  color: #081f4f;
  font-size: clamp(28px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 1;
}

.dashboard-hub-tile small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  color: rgba(8, 31, 79, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.dashboard-hub-tile-large {
  min-height: 128px;
}

.dashboard-hub-tile-small span,
.dashboard-hub-tile-side span {
  font-size: clamp(20px, 2.4vw, 28px);
}

.dashboard-hub-tile-side {
  min-height: 118px;
}

.dashboard-stat-content {
  width: min(1180px, calc(100vw - 80px));
  margin: 112px auto 72px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(246, 248, 251, 0.98);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.dashboard-stat-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.dashboard-home-button {
  min-height: 40px;
  border: 1px solid rgba(9, 86, 173, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #eaf3ff 100%);
  color: var(--blue-950);
  padding: 9px 14px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(9, 86, 173, 0.1);
}

.dashboard-home-button:hover,
.dashboard-home-button.active {
  border-color: var(--blue-700);
  background: var(--blue-100);
}

.dashboard-stat-content .filters {
  margin-bottom: 18px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(172px, 210px));
  gap: 10px;
  justify-content: start;
}

.filters.filter-count-4 {
  grid-template-columns: repeat(4, minmax(172px, 210px));
}

.filters.filter-count-3 {
  grid-template-columns: repeat(3, minmax(172px, 210px));
}

.filters.filter-count-2 {
  grid-template-columns: repeat(2, minmax(172px, 210px));
}

.compact-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.compact-field select {
  width: 100%;
  min-height: 40px;
}

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

.stat-card {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stat-card strong {
  display: block;
  color: var(--blue-950);
  font-size: 32px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.start-wow {
  display: grid;
  gap: 16px;
}

.women-story {
  display: grid;
  gap: 16px;
}

.women-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 22%, rgba(34, 216, 111, 0.32), transparent 34%),
    linear-gradient(135deg, #041b3f 0%, #064876 48%, #0f9f68 100%);
  color: #ffffff;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(6, 32, 72, 0.16);
}

.women-hero-card.is-empty {
  background:
    radial-gradient(circle at 82% 24%, rgba(232, 242, 47, 0.28), transparent 34%),
    linear-gradient(135deg, #061f49 0%, #0b5f73 54%, #108f62 100%);
}

.women-hero-card h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
}

.women-hero-card p {
  max-width: 820px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 780;
  line-height: 1.5;
}

.women-hero-score {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  text-align: center;
}

.women-hero-score strong {
  color: #ffffff;
  font-size: 58px;
  line-height: 1;
}

.women-hero-score span {
  max-width: 160px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

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

.women-invite-card {
  min-height: 260px;
  background:
    radial-gradient(circle at 86% 18%, rgba(34, 216, 111, 0.16), transparent 34%),
    linear-gradient(160deg, #ffffff, #f5fbff);
}

.women-invite-card .start-eyebrow {
  color: var(--muted);
}

.women-invite-card h2 {
  max-width: 520px;
  margin: 0;
  color: var(--blue-950);
  font-size: 30px;
  line-height: 1.05;
}

.women-invite-card p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.55;
}

.start-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(5, 26, 59, 0.96), rgba(7, 79, 147, 0.92) 58%, rgba(9, 143, 91, 0.92)),
    url("assets/hero-stadium.png");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(6, 32, 72, 0.18);
}

.start-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.start-hero-card h2 {
  margin: 0;
  max-width: 720px;
  font-size: 42px;
  line-height: 0.98;
}

.start-hero-match-count {
  display: inline-block;
  min-width: 3ch;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-align: right;
}

.start-hero-card p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
}

.start-scoreline {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.start-scoreline strong {
  font-size: 42px;
  line-height: 1;
}

.start-scoreline span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.start-coverage-story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(190px, 0.55fr));
  gap: 0;
  height: 196px;
  min-height: 196px;
  overflow: hidden;
  border-top: 4px solid #22d86f;
  border-radius: var(--radius);
  background: #061f49;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(6, 32, 72, 0.16);
}

.start-coverage-copy {
  display: grid;
  align-content: center;
  min-height: 192px;
  padding: 26px 28px;
}

.start-coverage-eyebrow,
.start-coverage-stat-label {
  color: #8ee8b7;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.start-coverage-copy h2 {
  max-width: 620px;
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.08;
}

.start-coverage-copy p {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.start-coverage-stat {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 192px;
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.start-coverage-stat strong {
  margin-top: 10px;
  color: #ffd74a;
  font-size: 46px;
  line-height: 1;
}

.start-coverage-stat.is-debut strong {
  color: #53e594;
}

.start-coverage-stat > span:not(.start-coverage-stat-label) {
  margin-top: 9px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.start-coverage-stat small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 800;
}

.start-coverage-meter {
  width: 100%;
  height: 5px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.start-coverage-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffd74a;
}

.start-coverage-stat.is-debut .start-coverage-meter i {
  background: #22d86f;
}

.start-coverage-story.is-loading {
  border-top-color: #ffd74a;
}

.start-coverage-loading-number {
  display: inline-block;
  min-width: 5.4ch;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-shadow: 0 0 20px rgba(255, 215, 74, 0.22);
}

.start-coverage-stat.is-debut .start-coverage-loading-number {
  text-shadow: 0 0 20px rgba(83, 229, 148, 0.24);
}

.start-coverage-story.is-loading .start-coverage-meter i {
  width: 38%;
  animation: start-coverage-meter-scan 1.25s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.start-coverage-story:not(.is-loading) .start-coverage-stat strong {
  animation: start-coverage-result-reveal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.start-coverage-story:not(.is-loading) .start-coverage-stat.is-debut strong {
  animation-delay: 90ms;
}

@keyframes start-coverage-meter-scan {
  0% {
    transform: translateX(-125%);
  }
  55% {
    transform: translateX(95%);
  }
  100% {
    transform: translateX(290%);
  }
}

@keyframes start-coverage-result-reveal {
  from {
    opacity: 0.35;
    transform: translateY(6px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .start-coverage-story.is-loading .start-coverage-meter i,
  .start-coverage-story:not(.is-loading) .start-coverage-stat strong {
    animation: none;
  }

  .start-coverage-story.is-loading .start-coverage-meter i {
    width: 38%;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .start-coverage-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 384px;
    min-height: 384px;
  }

  .start-coverage-copy {
    grid-column: 1 / -1;
    min-height: 188px;
  }

  .start-coverage-stat {
    min-height: 192px;
  }

  .start-coverage-stat:first-of-type {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .start-coverage-story {
    grid-template-columns: 1fr;
    height: 576px;
    min-height: 576px;
  }

  .start-coverage-copy {
    grid-column: auto;
    min-height: 220px;
    padding: 22px 20px;
  }

  .start-coverage-copy h2 {
    font-size: 24px;
  }

  .start-coverage-stat,
  .start-coverage-stat:first-of-type {
    min-height: 176px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .start-coverage-stat strong {
    font-size: 40px;
  }
}

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

.start-record-card {
  display: grid;
  align-content: space-between;
  min-height: 186px;
  overflow: hidden;
  border: 1px solid #dbe8f5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 18%, rgba(34, 216, 111, 0.18), transparent 36%),
    linear-gradient(160deg, #ffffff, #f5f9ff);
  padding: 16px;
}

.start-record-card.is-win {
  border-color: rgba(17, 160, 95, 0.28);
  background:
    radial-gradient(circle at 84% 18%, rgba(34, 216, 111, 0.28), transparent 38%),
    linear-gradient(160deg, #ffffff, #f0fff7);
}

.start-record-card.is-loss {
  border-color: rgba(233, 44, 44, 0.2);
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 31, 61, 0.2), transparent 38%),
    linear-gradient(160deg, #ffffff, #fff6f6);
}

.start-record-card b {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.start-record-card strong {
  display: block;
  margin-top: 20px;
  color: var(--blue-950);
  font-size: 38px;
  line-height: 1;
}

.start-record-card span {
  display: block;
  margin-top: 10px;
  color: var(--blue-950);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.start-record-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.3;
}

.start-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.start-story-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.start-mini-list {
  display: grid;
  gap: 10px;
}

.start-mini-list div {
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 54px;
  border-radius: 8px;
  background: #f7fbff;
  padding: 12px;
}

.start-mini-list strong {
  overflow: hidden;
  color: var(--blue-950);
  font-size: 17px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-mini-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.start-stats-for-you {
  display: grid;
  gap: 16px;
}

.start-section-heading {
  max-width: 760px;
}

.start-section-heading .start-eyebrow {
  color: var(--blue-700);
}

.start-section-heading h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: 30px;
  line-height: 1.05;
}

.start-section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

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

.start-top-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.start-top-card.is-featured {
  grid-column: 1 / -1;
}

.start-top-card.is-featured .start-top-list {
  grid-template-columns: 1fr;
}

.start-top-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.start-top-heading h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: 22px;
  line-height: 1.12;
}

.start-top-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.start-top-list,
.start-recent-list {
  display: grid;
  gap: 8px;
}

.start-top-row,
.start-recent-row {
  display: grid;
  width: 100%;
  min-height: 58px;
  border: 1px solid #dbe6f3;
  border-radius: var(--radius);
  background: #f8fbff;
  color: var(--blue-950);
  text-align: left;
}

.start-top-row {
  grid-template-columns: minmax(0, 1fr) minmax(118px, 36%) 74px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
}

.start-top-row:hover,
.start-recent-row:hover {
  border-color: rgba(9, 86, 173, 0.34);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 32, 72, 0.07);
}

.start-top-main {
  min-width: 0;
}

.start-top-main strong,
.start-recent-row strong {
  display: block;
  overflow: hidden;
  color: var(--blue-950);
  font-weight: 950;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-top-main small,
.start-recent-row small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-top-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eff7;
}

.start-top-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14df19 0%, #ebe600 36%, #ff9f1c 68%, #f00682 100%);
  background-position: left center;
  background-size: var(--start-top-gradient-size, 100%) 100%;
  box-shadow: 0 0 14px color-mix(in srgb, var(--start-top-heat, #14df19) 30%, transparent);
}

.start-top-row b {
  justify-self: end;
  color: var(--blue-950);
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.start-recent-card {
  display: grid;
  gap: 16px;
}

.start-recent-row {
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px 12px;
}

.start-recent-row time {
  color: var(--blue-950);
  font-weight: 950;
}

.start-recent-row b {
  justify-self: end;
  min-width: 84px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-950);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

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

.metric-item {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.metric-item strong {
  display: block;
  color: var(--blue-950);
  font-size: 24px;
  line-height: 1;
}

.metric-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.attendance-story {
  display: grid;
  gap: 16px;
}

.attendance-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 290px);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 18%, rgba(240, 6, 130, 0.34), transparent 32%),
    radial-gradient(circle at 18% 86%, rgba(34, 216, 111, 0.26), transparent 34%),
    linear-gradient(135deg, #061f49 0%, #074f93 48%, #0b8f5b 100%);
  color: #ffffff;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(6, 32, 72, 0.18);
}

.attendance-hero-card h2 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.96;
}

.attendance-hero-card p {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.attendance-hero-score {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.1);
  text-align: center;
  backdrop-filter: blur(12px);
}

.attendance-hero-score strong {
  color: #ffffff;
  font-size: 50px;
  line-height: 1;
}

.attendance-hero-score span {
  max-width: 160px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

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

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

.attendance-split.single {
  grid-template-columns: minmax(0, 1fr);
}

.attendance-panel {
  display: grid;
  gap: 16px;
}

.attendance-panel .start-eyebrow {
  color: var(--muted);
}

.attendance-heading h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.attendance-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.attendance-match-list {
  display: grid;
  gap: 10px;
}

.attendance-panel.is-short .attendance-match-list {
  grid-template-columns: minmax(0, 1fr);
}

.attendance-match-tile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  overflow: hidden;
  border: 1px solid #dbe8f5;
  border-radius: 8px;
  background: #fbfdff;
  padding: 13px 14px 17px;
}

.attendance-match-tile.hot {
  background:
    radial-gradient(circle at 92% 18%, rgba(240, 6, 130, 0.12), transparent 34%),
    #fbfdff;
}

.attendance-match-tile.quiet {
  background:
    radial-gradient(circle at 92% 18%, rgba(0, 217, 255, 0.12), transparent 34%),
    #fbfdff;
}

.attendance-match-tile strong {
  display: block;
  overflow: hidden;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attendance-match-tile span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.attendance-match-tile b {
  color: var(--blue-950);
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.attendance-match-tile i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 7px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #14df19 0%, var(--attendance-heat, #14df19) 100%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--attendance-heat, #14df19) 34%, transparent);
}

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

.attendance-result-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid #dbe8f5;
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(34, 216, 111, 0.16), transparent 36%),
    linear-gradient(160deg, #ffffff, #f5f9ff);
  padding: 14px;
}

.attendance-result-card.win {
  border-color: rgba(17, 160, 95, 0.28);
}

.attendance-result-card.loss {
  border-color: rgba(240, 6, 130, 0.22);
}

.attendance-result-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.attendance-result-card strong {
  color: var(--blue-950);
  font-size: 32px;
  line-height: 1;
}

.attendance-result-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.attendance-result-card i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #14df19 0%, var(--attendance-heat, #14df19) 100%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--attendance-heat, #14df19) 34%, transparent);
}

.attendance-callout {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(9, 86, 173, 0.16);
  border-radius: 8px;
  background: #f7fbff;
}

.attendance-callout strong {
  color: var(--blue-950);
}

.attendance-callout span {
  color: var(--muted);
  font-weight: 850;
}

.weather-story {
  display: grid;
  gap: 16px;
}

.weather-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 290px);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 14%, rgba(240, 6, 130, 0.28), transparent 32%),
    radial-gradient(circle at 14% 88%, rgba(6, 182, 212, 0.28), transparent 36%),
    linear-gradient(135deg, #061f49 0%, #075985 42%, #0b8f5b 72%, #ff9f1c 100%);
  color: #ffffff;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(6, 32, 72, 0.18);
}

.weather-hero-card h2 {
  max-width: 840px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.96;
}

.weather-hero-card p {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.weather-hero-score {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.1);
  text-align: center;
  backdrop-filter: blur(12px);
}

.weather-hero-score.freezing,
.weather-hero-score.cold {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(160deg, rgba(37, 99, 235, 0.86), rgba(6, 182, 212, 0.38));
}

.weather-hero-score strong {
  color: #ffffff;
  font-size: 58px;
  line-height: 1;
}

.weather-hero-score span {
  max-width: 160px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.weather-kpi-grid,
.weather-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

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

.weather-split.single {
  grid-template-columns: minmax(0, 1fr);
}

.weather-panel {
  display: grid;
  gap: 16px;
}

.weather-panel .start-eyebrow {
  color: var(--muted);
}

.weather-heading h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.weather-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.weather-match-list {
  display: grid;
  gap: 10px;
}

.weather-match-tile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  min-height: 78px;
  overflow: hidden;
  border: 1px solid #dbe8f5;
  border-radius: 8px;
  background: #fbfdff;
  padding: 13px 14px 18px;
}

.weather-match-tile.freezing,
.weather-match-tile.cold {
  background:
    radial-gradient(circle at 92% 18%, rgba(37, 99, 235, 0.12), transparent 34%),
    #fbfdff;
}

.weather-match-tile.hot {
  background:
    radial-gradient(circle at 92% 18%, rgba(240, 6, 130, 0.12), transparent 34%),
    #fbfdff;
}

.weather-match-tile strong {
  display: block;
  overflow: hidden;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-match-tile span,
.weather-match-tile small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.weather-match-tile small {
  grid-column: 1 / 2;
}

.weather-match-tile b {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--blue-950);
  font-size: 22px;
  font-weight: 950;
  white-space: nowrap;
}

.weather-match-tile i,
.weather-result-card i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 8px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #2563eb 0%, var(--weather-heat, #14df19) 100%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--weather-heat, #14df19) 34%, transparent);
}

.weather-result-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid #dbe8f5;
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(6, 182, 212, 0.16), transparent 36%),
    linear-gradient(160deg, #ffffff, #f5f9ff);
  padding: 14px;
}

.weather-result-card.hot,
.weather-result-card.warm {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 159, 28, 0.18), transparent 36%),
    linear-gradient(160deg, #ffffff, #fff9f0);
}

.weather-result-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.weather-result-card strong {
  color: var(--blue-950);
  font-size: 32px;
  line-height: 1;
}

.weather-result-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.weather-callout {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(9, 86, 173, 0.16);
  border-radius: 8px;
  background: #f7fbff;
}

.weather-callout strong {
  color: var(--blue-950);
}

.weather-callout span {
  color: var(--muted);
  font-weight: 850;
}

.match-list,
.bar-list,
.snapshot-list,
.badge-list {
  display: grid;
  gap: 10px;
}

.match-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(108px, 120px) minmax(0, 1fr) minmax(74px, auto) minmax(170px, max-content);
  grid-template-rows: auto auto;
  column-gap: 22px;
  row-gap: 8px;
  align-items: center;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid #cfdcf0;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(9, 86, 173, 0.06), transparent 18%),
    #ffffff;
  padding: 15px 14px;
  box-shadow: 0 8px 22px rgba(11, 32, 72, 0.05);
}

.match-row::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  content: "";
  background: linear-gradient(180deg, var(--blue-700), #17da37);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.match-row:hover {
  border-color: rgba(9, 86, 173, 0.34);
  box-shadow: 0 14px 32px rgba(11, 32, 72, 0.09);
}

.match-row:hover::before {
  opacity: 1;
}

.match-row > div:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 1px;
}

.match-row > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.match-row strong {
  display: block;
  color: var(--blue-950);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.16;
}

.match-row > div:first-child strong {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.match-row > div:first-child small {
  margin-top: 6px;
  color: #5d6b81;
  font-size: 13px;
  font-weight: 900;
}

.match-row > div:nth-child(2) > span {
  display: block;
  margin-top: 4px;
  color: #5f6b7f;
  font-size: 15px;
  font-weight: 900;
}

.match-row span,
.match-row small {
  color: var(--muted);
  font-weight: 700;
}

.match-row .result-pill {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  min-width: 78px;
}

.match-row .tag {
  grid-column: 4;
  grid-row: 1;
  min-width: 170px;
  justify-self: stretch;
  white-space: nowrap;
}

.match-extra-meta {
  grid-column: 2 / -1;
  grid-row: 2;
  align-self: end;
  overflow: visible;
  color: #5d6b81;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
}

.result-pill,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 900;
}

.result-pill.win {
  background: var(--green-100);
  color: #115a3b;
}

.result-pill.draw {
  background: #fff2d2;
  color: #7a5208;
}

.result-pill.loss {
  background: #ffe5e5;
  color: var(--red);
}

.result-pill.unknown {
  background: #eef2f6;
  color: var(--muted);
}

.tag {
  background: #edf3fb;
  color: var(--blue-850);
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef7;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-700), var(--green-600));
}

.competition-filter-panel {
  display: grid;
  gap: 14px;
}

.competition-filter-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

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

.competition-filter-row {
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  border: 1px solid #dbe8f5;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-950);
  padding: 9px 10px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.competition-filter-row.active {
  border-color: rgba(0, 92, 172, 0.44);
  background: #edf7ff;
  box-shadow: 0 10px 22px rgba(6, 32, 72, 0.08);
}

.competition-filter-row:hover,
.competition-filter-row:focus-visible {
  border-color: rgba(0, 92, 172, 0.58);
  outline: none;
}

.competition-filter-row strong {
  overflow: hidden;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.competition-filter-row > span:last-child {
  justify-self: end;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 950;
}

.goal-scorer-panel {
  display: grid;
  gap: 14px;
}

.goal-scorer-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.goal-scorer-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.goal-scorer-row {
  border: 1px solid #dbe8f5;
  background: #ffffff;
  color: var(--blue-950);
  font: inherit;
  cursor: pointer;
}

.goal-scorer-row.active {
  border-color: rgba(0, 92, 172, 0.44);
  background: #edf7ff;
  box-shadow: 0 10px 22px rgba(6, 32, 72, 0.08);
}

.goal-scorer-row:hover,
.goal-scorer-row:focus-visible {
  border-color: rgba(0, 92, 172, 0.58);
  outline: none;
}

.goal-scorer-list {
  display: grid;
  gap: 7px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.goal-scorer-row {
  display: grid;
  grid-template-columns: minmax(150px, 260px) minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  min-height: 40px;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
}

.goal-scorer-name {
  overflow: hidden;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goal-scorer-track {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef7;
}

.goal-scorer-track i {
  display: block;
  height: 100%;
  min-width: 7px;
  border-radius: inherit;
  background: linear-gradient(90deg, #14df19 0%, var(--scorer-heat, #14df19) 100%);
}

.goal-scorer-row strong {
  justify-self: end;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 950;
}

.goal-pulse-panel {
  display: grid;
  gap: 16px;
  min-height: 650px;
  overflow: hidden;
}

.goal-filter-line {
  min-height: 20px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.goal-pulse-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.goal-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #0a6c45;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.goal-pulse-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.goal-pulse-kpis span {
  min-height: 68px;
  border: 1px solid #d7e6d9;
  border-radius: 8px;
  background: #fbfffc;
  padding: 10px;
}

.goal-pulse-kpis strong {
  display: block;
  color: var(--blue-950);
  font-size: 22px;
  line-height: 1;
}

.goal-pulse-kpis small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.goal-pulse-note {
  margin: -6px 0 0;
  border-left: 4px solid #f0c400;
  background: #fff9db;
  color: #5b4a00;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.goal-pulse-note.is-placeholder {
  visibility: hidden;
}

.goal-pulse-board {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%,
    linear-gradient(180deg, #08234b 0%, #0d315e 46%, #0c4e4f 100%);
  padding: 26px 18px 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.goal-pulse-board::before {
  content: "";
  position: absolute;
  inset: 20px 18px 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  pointer-events: none;
}

.goal-minute-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(90, minmax(2px, 1fr)) 14px minmax(38px, 38px);
  column-gap: 1px;
  align-items: end;
  height: 188px;
}

.goal-minute-bar {
  display: block;
  min-height: 4px;
  height: var(--goal-height);
  border-radius: 999px 999px 2px 2px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.goal-minute-bar.empty {
  min-height: 0;
  height: 0;
  background: transparent;
}

.goal-minute-bar.live {
  background: #22d86f;
  box-shadow: 0 0 12px rgba(34, 216, 111, 0.36);
}

.goal-minute-bar.warm {
  background: #e8f22f;
  box-shadow: 0 0 16px rgba(232, 242, 47, 0.42);
}

.goal-minute-bar.hot {
  background: #ff9f1c;
  box-shadow: 0 0 18px rgba(255, 159, 28, 0.55);
}

.goal-minute-bar.peak {
  background: #ff1f3d;
  box-shadow: 0 0 22px rgba(255, 31, 61, 0.68);
}

.goal-minute-bar.stoppage {
  justify-self: center;
  width: min(18px, 62%);
  border-radius: 999px 999px 3px 3px;
  outline: 1px solid rgba(255, 255, 255, 0.32);
}

.goal-axis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(90, minmax(2px, 1fr)) 14px minmax(38px, 38px);
  column-gap: 1px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.goal-axis span {
  justify-self: center;
  white-space: nowrap;
}

.goal-axis span:first-child {
  justify-self: start;
}

.goal-axis .goal-axis-stoppage {
  color: #ffffff;
  justify-self: center;
}

.goal-phase-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 104px;
  align-items: stretch;
  gap: 8px;
}

.goal-phase {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  height: 104px;
  min-height: 104px;
  border: 1px solid #dbe8f5;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.94)),
    #fbfdff;
  padding: 10px;
  box-shadow: 0 10px 22px rgba(6, 32, 72, 0.06);
}

.goal-phase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 216, 111, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(34, 216, 111, 0.09), transparent 56%);
  opacity: 0.8;
  pointer-events: none;
}

.goal-phase.warm::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(232, 242, 47, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(34, 216, 111, 0.1), rgba(232, 242, 47, 0.12) 62%, transparent);
}

.goal-phase.hot::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 159, 28, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(34, 216, 111, 0.1), rgba(232, 242, 47, 0.13) 48%, rgba(255, 159, 28, 0.16));
}

.goal-phase.peak {
  border-color: rgba(255, 31, 61, 0.28);
}

.goal-phase.peak::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 31, 61, 0.34), transparent 36%),
    linear-gradient(135deg, rgba(34, 216, 111, 0.12), rgba(232, 242, 47, 0.16) 38%, rgba(255, 159, 28, 0.18) 62%, rgba(255, 31, 61, 0.24));
}

.goal-phase.empty {
  align-self: center;
  height: 68px;
  min-height: 68px;
  border-style: dashed;
  background: #fbfdff;
  box-shadow: none;
  opacity: 0.74;
  padding: 9px 10px;
}

.goal-phase.empty::before {
  opacity: 0;
}

.goal-phase-top,
.goal-phase strong,
.goal-phase em {
  position: relative;
  z-index: 1;
}

.goal-phase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.goal-phase-top span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goal-phase-top b {
  border-radius: 999px;
  background: #edf3fb;
  color: var(--blue-850);
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 950;
}

.goal-phase strong {
  display: block;
  align-self: center;
  margin-top: 0;
  color: var(--blue-950);
  font-size: 32px;
  line-height: 1;
}

.goal-phase.empty strong {
  color: #718096;
  font-size: 24px;
}

.goal-phase em {
  display: block;
  min-height: 26px;
  margin-top: 0;
  color: #52627a;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.14;
}

.goal-phase.empty em,
.goal-phase.empty i {
  display: none;
}

.goal-phase i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: var(--phase-fill);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d86f 0%, var(--phase-heat, #22d86f) 100%);
}

.goal-moment-strip {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
  padding: 14px;
}

.goal-moment-strip strong {
  color: var(--blue-950);
}

.goal-moment-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.goal-moment-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dfe8f4;
  color: var(--blue-850);
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(6, 32, 72, 0.06);
}

.goal-moment-strip b {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e8f7ee;
  color: #0a6c45;
}

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

.opponent-item {
  border-radius: 8px;
}

.opponent-item.is-open {
  background: #f7fbff;
}

.opponent-row {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 6px 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.opponent-row:hover,
.opponent-row:focus-visible {
  background: #f0f6ff;
  outline: none;
}

.opponent-name {
  overflow: hidden;
  color: var(--blue-950);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opponent-bar-track {
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
}

.opponent-bar-scale {
  display: flex;
  height: 100%;
  min-width: 10px;
  overflow: hidden;
  border-radius: inherit;
}

.opponent-segment {
  display: block;
  height: 100%;
}

.opponent-segment.win {
  background: #14df19;
}

.opponent-segment.draw {
  background: #ebe600;
}

.opponent-segment.loss {
  background: #f00682;
}

.opponent-segment.unknown {
  background: #aeb9c7;
}

.opponent-count {
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.opponent-details {
  margin: 4px 0 12px 252px;
  padding: 12px 14px 14px;
  border-left: 3px solid var(--blue-700);
  border-radius: 0 0 8px 8px;
  background: #f7fbff;
}

.opponent-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.opponent-summary-card {
  padding: 10px 12px;
  border: 1px solid #d9e6f6;
  border-radius: 8px;
  background: #ffffff;
}

.opponent-summary-card strong {
  display: block;
  color: var(--blue-950);
  font-size: 20px;
  font-weight: 950;
}

.opponent-summary-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.season-row {
  display: grid;
  grid-template-columns: minmax(100px, 160px) minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  min-height: 34px;
  border-radius: 8px;
  padding: 6px 0;
}

.season-name {
  overflow: hidden;
  color: var(--blue-950);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-count {
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.coach-story {
  display: grid;
  gap: 16px;
}

.coach-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: 18px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(16, 93, 168, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 16%, rgba(20, 223, 25, 0.18), transparent 30%),
    radial-gradient(circle at 18% 90%, rgba(0, 91, 171, 0.14), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 56%, #eef8f1 100%);
  box-shadow: 0 16px 36px rgba(6, 32, 72, 0.08);
}

.coach-hero-card h2 {
  max-width: 760px;
  margin: 8px 0 10px;
  color: var(--blue-950);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: 0;
}

.coach-hero-card p {
  max-width: 760px;
  margin: 0;
  color: #38516f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.coach-hero-score {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(0, 91, 171, 0.96), rgba(0, 152, 102, 0.86));
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.coach-hero-score strong {
  color: #ffffff;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.02;
}

.coach-hero-score span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.coach-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.coach-heading h2 {
  margin-bottom: 6px;
}

.coach-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.coach-timeline {
  position: relative;
  display: grid;
  gap: 10px;
}

.coach-timeline::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #005bab, #14df19);
  content: "";
}

.coach-item {
  position: relative;
  border-radius: 8px;
}

.coach-item.is-open {
  background: #f7fbff;
}

.coach-item.is-unknown {
  opacity: 0.76;
}

.coach-item.is-unknown .coach-index {
  background: #94a3b8;
  box-shadow: none;
}

.coach-row {
  display: grid;
  grid-template-columns: 36px minmax(150px, 230px) minmax(0, 1fr) 72px 42px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 8px 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.coach-row:hover,
.coach-row:focus-visible {
  background: #f0f6ff;
  outline: none;
}

.coach-index {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--blue-700);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 6px 14px rgba(0, 91, 171, 0.22);
}

.coach-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.coach-main strong {
  overflow: hidden;
  color: var(--blue-950);
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coach-main small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coach-record {
  color: var(--blue-950);
  font-size: 13px;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

.coach-details {
  margin: 4px 0 12px 48px;
  padding: 12px 14px 14px;
  border-left: 3px solid var(--green);
  border-radius: 0 0 8px 8px;
  background: #f7fbff;
}

.stadium-heatmap-panel {
  overflow: hidden;
  padding: 0;
}

.stadium-heatmap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 880px;
}

.stadium-story-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: stretch;
  padding: 26px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #061f49 0%, #006a78 46%, #009f58 72%, #e21b35 100%);
  background-size: 112px 100%, auto;
  color: #ffffff;
}

.stadium-story-band .eyebrow,
.stadium-story-panel .eyebrow {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stadium-story-band h2 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.02;
  text-shadow: 0 3px 18px rgba(0, 24, 52, 0.45);
}

.stadium-story-band p {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.stadium-story-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: stretch;
}

.stadium-story-stats span {
  display: flex;
  min-width: 0;
  min-height: 104px;
  justify-content: space-between;
  flex-direction: column;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.stadium-story-stats strong {
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.stadium-story-stats small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.stadium-map-shell {
  position: relative;
  min-height: 820px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(145deg, #6b7d9e 0%, #536a8e 48%, #385979 100%);
}

.stadium-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 820px;
  filter: drop-shadow(0 22px 34px rgba(4, 20, 44, 0.25));
}

.fan-map-bg {
  fill: #657895;
}

.fan-stadium-bowl {
  fill: rgba(226, 243, 249, 0.2);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2;
}

.fan-stand {
  fill: rgba(15, 35, 61, 0.18);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2;
}

.fan-pitch-wrap {
  fill: rgba(16, 118, 201, 0.9);
}

.fan-pitch {
  fill: #4aad2d;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3;
}

.fan-map-title {
  fill: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
}

.stadium-bowl {
  fill: #e4f2f7;
  stroke: #1976c9;
  stroke-width: 3;
}

.stadium-ring {
  fill: none;
  stroke: rgba(25, 118, 201, 0.28);
  stroke-width: 8;
}

.stadium-track {
  fill: #1778c8;
  stroke: #1778c8;
  stroke-width: 3;
}

.stadium-pitch {
  fill: #4aad2d;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 3;
}

.pitch-line,
.pitch-box,
.pitch-line-fill {
  fill: none;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 3;
}

.pitch-label {
  fill: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 950;
}

.pitch-label-vertical-left {
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
}

.pitch-label-vertical-right {
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(90deg);
}

.stadium-name {
  fill: #111827;
  font-size: 15px;
  font-weight: 950;
}

.stadium-gate-label {
  fill: rgba(71, 85, 105, 0.72);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.stand-name {
  fill: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(5, 19, 40, 0.58);
  stroke-width: 5;
  stroke-linejoin: round;
}

.stand-name-north,
.stand-name-south,
.stand-name-west,
.stand-name-east {
  fill: rgba(255, 255, 255, 0.95);
}

.vertical-label {
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
}

.stadium-sector {
  cursor: pointer;
}

.fan-heat-blob {
  filter: url("#fanHeatBlur");
  mix-blend-mode: normal;
  pointer-events: none;
}

.fan-heat-cool {
  fill: #00d9ff;
  opacity: 0.42;
}

.fan-heat-mid {
  fill: #ffe100;
  opacity: 0.64;
}

.fan-heat-hot {
  fill: url("#fanHeatHotGradient");
  filter: url("#fanHeatBlur");
  pointer-events: none;
}

.fan-heat-peak {
  fill: url("#fanHeatPeakGradient");
  filter: url("#fanHeatPeakBlur");
  pointer-events: none;
}

.stadium-sector-base-shape {
  fill: #d8dde3;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 2;
  stroke-linejoin: round;
  opacity: 0.78;
  pointer-events: none;
}

.stadium-sector-shape {
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 2.2;
  stroke-linejoin: round;
  fill-opacity: 0.96;
  transition:
    filter 160ms ease,
    opacity 160ms ease,
    stroke-width 160ms ease,
    transform 160ms ease;
}

.stadium-sector:not(.has-heat) {
  cursor: default;
  opacity: 0.88;
}

.stadium-sector:not(.has-heat) .stadium-sector-label {
  fill: rgba(51, 65, 85, 0.7);
}

.stadium-sector.has-heat:hover .stadium-sector-shape,
.stadium-sector.has-heat:focus-visible .stadium-sector-shape {
  filter: url("#stadiumGlow");
  stroke: #05294e;
  stroke-width: 4;
}

.stadium-sector-label,
.stadium-sector-count {
  pointer-events: none;
  fill: #061a3b;
  font-size: 10.5px;
  font-weight: 950;
}

.stadium-sector-label.small {
  font-size: 9.5px;
}

.stadium-sector-count {
  font-size: 9px;
  fill: #061a3b;
}

.heat-legend {
  position: absolute;
  right: 26px;
  bottom: 22px;
  left: 26px;
  display: grid;
  grid-template-columns: minmax(62px, auto) minmax(0, 1fr) minmax(88px, auto);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(4, 20, 44, 0.24);
  color: #061f49;
  font-size: 13px;
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.heat-legend span:not(.heat-scale) {
  white-space: nowrap;
}

.heat-scale {
  height: 14px;
  border: 1px solid rgba(6, 31, 73, 0.18);
  border-radius: 999px;
  background: linear-gradient(90deg, #00d9ff, #42f86b, #ffe100, #ff8a00, #ff2014);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 4px 12px rgba(6, 31, 73, 0.12);
}

.stadium-hotspots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-content: start;
  gap: 16px;
  padding: 22px;
  background: #fbfdff;
}

.stadium-hotspots > div {
  min-height: 148px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.stadium-hotspots .eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.stadium-hotspots strong {
  display: block;
  color: var(--blue-950);
  font-size: 28px;
  line-height: 1.05;
}

.stadium-hotspots p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.stadium-hotspots .bar-row {
  grid-template-columns: minmax(80px, 128px) minmax(0, 1fr) 30px;
  gap: 8px;
}

.stadium-hotspots .bar-row strong {
  font-size: 13px;
}

.stadium-hotspots .bar-track {
  height: 14px;
  border: 1px solid rgba(6, 31, 73, 0.08);
  background: #e7eef7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.stadium-hotspots .bar-fill {
  min-width: 8px;
  background: linear-gradient(90deg, #20df6f 0%, #dff21f 42%, #ff9f1a 68%, #f00682 100%);
  box-shadow:
    0 0 14px rgba(240, 6, 130, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.share-bar-list .bar-row {
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) minmax(70px, auto);
}

.stadium-hotspots .share-bar-list .bar-row {
  grid-template-columns: minmax(80px, 128px) minmax(0, 1fr) minmax(58px, auto);
}

.share-bar-list .bar-track {
  height: 14px;
  border: 1px solid rgba(6, 31, 73, 0.08);
  background: #e7eef7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.share-bar-list .bar-fill,
.stadium-hotspots .share-bar-list .bar-fill {
  min-width: 0;
  background: linear-gradient(90deg, #14df19 0%, var(--bar-heat, #14df19) 100%) !important;
  box-shadow:
    0 0 14px color-mix(in srgb, var(--bar-heat, #14df19) 42%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.share-bar-list .bar-value {
  color: var(--blue-950);
  font-size: 12px;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

.stadium-story-panel .eyebrow {
  color: var(--muted);
}

.stadium-story-panel p {
  max-width: 640px;
  margin: -4px 0 16px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

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

.badge-card {
  min-height: 160px;
  padding: 18px;
}

.badge-card .badge-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue-100);
  color: var(--blue-850);
  font-weight: 950;
}

.badge-card.locked {
  opacity: 0.64;
}

.profile-story {
  display: grid;
  gap: 16px;
}

.profile-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: 18px;
  align-items: stretch;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(4, 27, 63, 0.96) 0%, rgba(5, 91, 171, 0.9) 52%, rgba(9, 143, 91, 0.9) 100%),
    url("assets/hero-stadium.png");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  padding: 26px;
  box-shadow: var(--shadow);
}

.profile-hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
}

.profile-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-hero-card h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
}

.profile-hero-card p {
  max-width: 800px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 820;
  line-height: 1.5;
}

.profile-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.profile-hero-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 900;
}

.profile-id-card {
  display: grid;
  align-content: space-between;
  min-height: 248px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.profile-id-card > span,
.profile-id-card em {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-id-card strong {
  color: #ffffff;
  font-size: 44px;
  line-height: 1;
}

.profile-id-card small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.profile-id-card div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.profile-id-card b {
  display: grid;
  min-height: 56px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 28px;
}

.profile-dna-panel,
.profile-signature-panel,
.profile-timeline-panel {
  overflow: hidden;
}

.profile-dna-panel {
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 223, 25, 0.08), rgba(240, 6, 130, 0.06)),
    #ffffff;
  padding: 20px;
}

.profile-section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.profile-section-heading .start-eyebrow {
  margin-bottom: 0;
  color: var(--muted);
}

.profile-section-heading h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: 26px;
  line-height: 1.08;
}

.profile-section-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.45;
}

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

.profile-dna-card {
  --profile-progress: 0%;
  --profile-heat: #14df19;
  display: grid;
  align-content: space-between;
  min-height: 164px;
  padding: 15px;
  border: 1px solid #dbe8f5;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.94)),
    #ffffff;
}

.profile-dna-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-dna-top span,
.profile-dna-card small,
.profile-fact-card span,
.profile-fact-card small,
.profile-moment-card span,
.profile-moment-card small,
.profile-moment-card em {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.profile-dna-top b {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-950);
  font-size: 11px;
}

.profile-dna-score {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-dna-info {
  position: relative;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(9, 86, 173, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-850);
  cursor: help;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.profile-dna-info:hover,
.profile-dna-info:focus-visible {
  border-color: rgba(20, 223, 25, 0.48);
  box-shadow: 0 0 0 3px rgba(20, 223, 25, 0.14);
  outline: 0;
}

.profile-dna-tooltip {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  right: 0;
  display: grid;
  width: min(320px, calc(100vw - 44px));
  gap: 7px;
  padding: 13px;
  border: 1px solid rgba(9, 86, 173, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, #ffffff, #f5fbff);
  box-shadow: 0 18px 42px rgba(6, 32, 72, 0.2);
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  visibility: hidden;
}

.profile-dna-tooltip::before {
  position: absolute;
  top: -6px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(9, 86, 173, 0.18);
  border-left: 1px solid rgba(9, 86, 173, 0.18);
  background: #ffffff;
  content: "";
  transform: rotate(45deg);
}

.profile-dna-info:hover .profile-dna-tooltip,
.profile-dna-info:focus-visible .profile-dna-tooltip {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.profile-dna-tooltip strong {
  margin: 0;
  color: var(--blue-950);
  font-size: 14px;
  line-height: 1.18;
}

.profile-dna-tooltip small,
.profile-dna-tooltip em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}

.profile-dna-tooltip em {
  padding-top: 7px;
  border-top: 1px solid #e4edf7;
  color: var(--blue-850);
}

.profile-dna-card strong {
  margin-top: 18px;
  color: var(--blue-950);
  font-size: 34px;
  line-height: 1;
}

.profile-dna-card i {
  display: block;
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.profile-dna-card i::before {
  display: block;
  width: var(--profile-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14df19 0%, var(--profile-heat) 100%);
  box-shadow: 0 0 16px color-mix(in srgb, var(--profile-heat) 36%, transparent);
  content: "";
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 16px;
}

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

.profile-fact-card,
.profile-moment-card {
  display: grid;
  align-content: space-between;
  min-height: 136px;
  padding: 14px;
  border: 1px solid #dbe8f5;
  border-radius: var(--radius);
  background: #fbfdff;
}

.profile-fact-card.primary {
  border-color: rgba(17, 160, 95, 0.28);
  background:
    linear-gradient(135deg, rgba(20, 223, 25, 0.14), rgba(255, 255, 255, 0.92)),
    #ffffff;
}

.profile-fact-card.hot {
  border-color: rgba(240, 6, 130, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 159, 28, 0.15), rgba(240, 6, 130, 0.08)),
    #ffffff;
}

.profile-fact-card strong,
.profile-moment-card strong {
  margin: 10px 0;
  color: var(--blue-950);
  font-size: 20px;
  line-height: 1.15;
}

.profile-timeline {
  display: grid;
  gap: 10px;
}

.profile-timeline .profile-moment-card {
  min-height: 118px;
}

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

.profile-moment-grid .profile-moment-card {
  background:
    linear-gradient(160deg, #ffffff, #f5f9ff);
}

.profile-moment-card em {
  font-style: normal;
  color: var(--green-600);
}

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

.achievement-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: stretch;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 210, 31, 0.34), transparent 30%),
    radial-gradient(circle at 18% 85%, rgba(20, 223, 25, 0.28), transparent 32%),
    linear-gradient(135deg, #061b3d 0%, #073a5f 42%, #078264 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.achievement-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.achievement-hero h2,
.achievement-featured h2,
.achievement-next-panel h2,
.achievement-category-heading h2 {
  margin: 0;
  color: inherit;
  line-height: 1.05;
}

.achievement-hero h2 {
  max-width: 720px;
  font-size: 48px;
}

.achievement-hero p {
  max-width: 700px;
  margin: 12px 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
}

.achievement-hero-progress,
.achievement-progress,
.achievement-next-item {
  --achievement-progress: 0%;
  --achievement-heat: #f00682;
}

.achievement-hero-progress {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.achievement-hero-progress div,
.achievement-progress div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 950;
}

.achievement-hero-progress i,
.achievement-progress i,
.achievement-next-item i,
.achievement-level-card i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.achievement-hero-progress i::before,
.achievement-progress i::before,
.achievement-next-item i::before,
.achievement-level-card i::before {
  display: block;
  width: var(--achievement-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f00682 0%, var(--achievement-heat) 100%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--achievement-heat) 34%, transparent);
  content: "";
}

.achievement-level-card {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.achievement-level-card span,
.achievement-level-card small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.achievement-level-card strong {
  font-size: 74px;
  line-height: 0.9;
}

.achievement-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.achievement-featured,
.achievement-stats,
.achievement-next-panel,
.achievement-category {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.achievement-featured {
  display: grid;
  gap: 16px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(20, 223, 25, 0.12), rgba(240, 6, 130, 0.1)),
    var(--white);
}

.achievement-featured .achievement-kicker {
  border-color: rgba(9, 86, 173, 0.16);
  background: rgba(9, 86, 173, 0.08);
  color: var(--blue-850);
}

.achievement-featured-main {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.achievement-featured h2 {
  color: var(--blue-950);
  font-size: 30px;
}

.achievement-featured p,
.achievement-featured small {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.achievement-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.achievement-stats div {
  display: grid;
  align-content: center;
  min-height: 94px;
  padding: 16px;
  background: #fbfdff;
}

.achievement-stats strong {
  color: var(--blue-950);
  font-size: 28px;
  line-height: 1;
}

.achievement-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.achievement-next-panel {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.achievement-next-panel .achievement-kicker {
  border-color: rgba(9, 86, 173, 0.16);
  background: rgba(9, 86, 173, 0.08);
  color: var(--blue-850);
}

.achievement-next-panel h2 {
  color: var(--blue-950);
}

.achievement-next-list {
  display: grid;
  gap: 10px;
}

.achievement-next-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px 12px;
  align-items: center;
  min-height: 44px;
}

.achievement-next-item strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--blue-950);
}

.achievement-next-item strong span {
  color: inherit;
  font-weight: 950;
}

.achievement-next-item strong b {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(20, 223, 25, 0.12);
  color: var(--green-600);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.achievement-next-item span {
  color: var(--muted);
  font-weight: 950;
}

.achievement-next-item i {
  grid-column: 1 / -1;
  height: 7px;
  background: #e8eef6;
}

.achievement-category {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.achievement-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.achievement-category-heading h2 {
  color: var(--blue-950);
  font-size: 22px;
}

.achievement-category-heading span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-850);
  font-size: 12px;
  font-weight: 950;
}

.achievement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.achievement-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(190px, 280px) 118px;
  grid-template-rows: auto auto;
  gap: 10px 16px;
  align-items: center;
  min-height: 124px;
  padding: 14px 16px 14px 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 14%, var(--rarity-glow, rgba(9, 86, 173, 0.12)), transparent 34%),
    #fbfdff;
}

.achievement-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--rarity-color, var(--blue-700));
  content: "";
}

.achievement-card-top {
  display: flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.achievement-mark {
  display: grid;
  width: 58px;
  min-width: 58px;
  height: 58px;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent),
    var(--rarity-color, var(--blue-700));
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(6, 32, 72, 0.16);
}

.achievement-rarity {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--blue-950);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.achievement-copy {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 5px;
}

.achievement-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.achievement-copy h3 {
  margin: 0;
  color: var(--blue-950);
  font-size: 19px;
  line-height: 1.12;
}

.achievement-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.achievement-progress {
  display: grid;
  grid-column: 3;
  grid-row: 1 / span 2;
  gap: 7px;
  width: 100%;
  margin-top: 0;
}

.achievement-progress div {
  align-items: flex-start;
  color: var(--blue-950);
  font-size: 12px;
}

.achievement-progress b {
  min-width: 62px;
  text-align: right;
  white-space: nowrap;
}

.achievement-progress-label {
  display: grid;
  min-width: 0;
  gap: 2px;
  line-height: 1.15;
}

.achievement-progress-label > span {
  white-space: nowrap;
}

.achievement-progress-label small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.achievement-progress i {
  height: 8px;
  background: #e8eef6;
}

.achievement-card em {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.achievement-state {
  grid-column: 4;
  grid-row: 1 / span 2;
  justify-self: stretch;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(11, 143, 91, 0.1);
  color: var(--green-600);
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.achievement-card.locked {
  background:
    radial-gradient(circle at 86% 14%, rgba(99, 112, 131, 0.12), transparent 34%),
    #f8fafc;
}

.achievement-card.locked .achievement-mark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    #9aa6b5;
}

.achievement-card.locked .achievement-state {
  background: rgba(99, 112, 131, 0.12);
  color: var(--muted);
}

.rarity-starter {
  --rarity-color: #0956ad;
  --rarity-glow: rgba(9, 86, 173, 0.14);
}

.rarity-common {
  --rarity-color: #0b8f5b;
  --rarity-glow: rgba(11, 143, 91, 0.14);
}

.rarity-rare {
  --rarity-color: #00a7e1;
  --rarity-glow: rgba(0, 167, 225, 0.18);
}

.rarity-epic {
  --rarity-color: #f00682;
  --rarity-glow: rgba(240, 6, 130, 0.16);
}

.rarity-legendary {
  --rarity-color: #ff9f1c;
  --rarity-glow: rgba(255, 159, 28, 0.2);
}

.snapshot-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.snapshot-row strong {
  display: block;
}

.empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

/* Public landing — isolated from authenticated and auth form views. */
html:has(.public-landing),
body:has(.public-landing) {
  scrollbar-width: auto;
}

html:has(.public-landing)::-webkit-scrollbar,
body:has(.public-landing)::-webkit-scrollbar {
  display: block;
  width: 11px;
  height: 11px;
}

html:has(.public-landing)::-webkit-scrollbar-track,
body:has(.public-landing)::-webkit-scrollbar-track {
  background: #eaf0f8;
}

html:has(.public-landing)::-webkit-scrollbar-thumb,
body:has(.public-landing)::-webkit-scrollbar-thumb {
  border: 3px solid #eaf0f8;
  border-radius: 999px;
  background: #7790b2;
}

.public-landing {
  --landing-navy: #001846;
  --landing-navy-deep: #000c27;
  --landing-blue: #0874e8;
  --landing-blue-bright: #3ea2ff;
  --landing-sky: #86d8ff;
  --landing-green: #22c978;
  --landing-ink: #071a3d;
  --landing-muted: #5d6d84;
  --landing-line: #dbe5f2;
  min-height: 100vh;
  overflow: hidden;
  background: #f7faff;
  color: var(--landing-ink);
  font-family:
    "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.public-landing *,
.public-landing *::before,
.public-landing *::after {
  box-sizing: border-box;
}

.public-landing :is(a, button):focus-visible {
  outline: 3px solid #8bd8ff;
  outline-offset: 4px;
}

.landing-skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--landing-navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.landing-skip-link:focus {
  transform: translateY(0);
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 18, 55, 0.94);
  box-shadow: 0 12px 34px rgba(0, 10, 34, 0.2);
  color: #ffffff;
  backdrop-filter: blur(18px);
}

.landing-header-inner {
  display: flex;
  width: min(1240px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.landing-brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 13px;
  background: linear-gradient(145deg, #0c83f3, #0750bd);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 26px rgba(0, 0, 0, 0.22);
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.landing-brand-copy {
  display: grid;
  gap: 1px;
}

.landing-brand-copy strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.landing-brand-copy small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-nav-link,
.landing-nav-login {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.landing-nav-link {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
}

.landing-nav-login {
  margin-left: 4px;
  background: #ffffff;
  color: var(--landing-navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.landing-hero {
  position: relative;
  min-height: max(720px, calc(100svh - 78px));
  padding: clamp(64px, 7vw, 100px) 24px clamp(68px, 8vw, 112px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(0, 12, 39, 0.98) 0%, rgba(0, 19, 59, 0.93) 43%, rgba(0, 23, 68, 0.55) 72%, rgba(0, 13, 38, 0.46) 100%),
    linear-gradient(180deg, transparent 58%, rgba(0, 10, 31, 0.76) 100%),
    url("assets/hero-stadium.png") 59% center / cover no-repeat;
  color: #ffffff;
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(100, 188, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 188, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  pointer-events: none;
}

.landing-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, #0b7ff0 0 58%, #ffffff 58% 72%, #21ca78 72% 100%);
}

.landing-hero-glow {
  position: absolute;
  top: 8%;
  right: 4%;
  z-index: -1;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(42, 145, 255, 0.28);
  filter: blur(110px);
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.78fr);
  width: min(1240px, 100%);
  margin: 0 auto;
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.landing-hero-copy {
  max-width: 720px;
}

.landing-eyebrow,
.landing-section-kicker {
  margin: 0;
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.landing-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--landing-green);
  box-shadow: 0 0 0 5px rgba(34, 201, 120, 0.16);
}

.landing-hero-copy h1 {
  max-width: 730px;
  margin: 20px 0 24px;
  color: #ffffff;
  font-size: clamp(50px, 5.5vw, 78px);
  font-weight: 900;
  letter-spacing: -0.052em;
  line-height: 0.98;
  text-wrap: balance;
}

.landing-hero-copy h1 span {
  color: var(--landing-sky);
}

.landing-hero-intro {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.65;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.landing-primary-cta,
.landing-secondary-cta {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.landing-primary-cta {
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #1185f5, #075ecb);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 93, 208, 0.34);
}

.landing-primary-cta span {
  font-size: 20px;
  line-height: 1;
}

.landing-secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.landing-auth-message {
  max-width: 650px;
  margin-top: 18px;
}

.landing-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 26px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.landing-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.landing-hero-trust li::before {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(91, 229, 166, 0.38);
  border-radius: 50%;
  background: rgba(34, 201, 120, 0.12);
  color: #77efb8;
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.landing-product-preview {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(490px, 100%);
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(232, 242, 255, 0.95));
  box-shadow: 0 42px 100px rgba(0, 8, 28, 0.46), inset 0 1px 0 #ffffff;
  color: var(--landing-ink);
}

.landing-product-preview::before {
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(0, 64, 151, 0.08);
  border-radius: 21px;
  content: "";
}

.landing-preview-toolbar {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 3px;
  color: #63748c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-preview-toolbar b {
  padding: 4px 7px;
  border-radius: 999px;
  background: #dceeff;
  color: #0768cf;
  font-size: 9px;
}

.landing-preview-hero {
  position: relative;
  display: flex;
  min-height: 174px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 22px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 14%, rgba(73, 179, 255, 0.66), transparent 34%),
    linear-gradient(140deg, #001b57, #075fbf 68%, #129367);
  color: #ffffff;
}

.landing-preview-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 52%, rgba(255, 255, 255, 0.08) 52% 53%, transparent 53%);
  pointer-events: none;
}

.landing-preview-hero > div {
  position: relative;
  z-index: 1;
}

.landing-preview-hero span,
.landing-preview-hero small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-preview-hero strong {
  display: block;
  margin: 8px 0 1px;
  font-size: 76px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.landing-preview-badge {
  display: grid !important;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: 24px !important;
  backdrop-filter: blur(8px);
}

.landing-preview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.landing-preview-stats > div,
.landing-preview-profile {
  padding: 15px;
  border: 1px solid #d9e5f2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.landing-preview-stats span,
.landing-preview-profile span {
  display: block;
  color: #708096;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-preview-stats strong {
  display: block;
  margin-top: 5px;
  color: var(--landing-navy);
  font-size: 26px;
  line-height: 1;
}

.landing-preview-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 16px;
}

.landing-preview-profile strong {
  display: block;
  margin-top: 4px;
  color: var(--landing-navy);
  font-size: 14px;
}

.landing-preview-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe9f5;
}

.landing-preview-progress i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0874e8, #22c978);
}

.landing-preview-insight {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 2px 4px 1px;
}

.landing-preview-insight > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: #e2f7ed;
  color: #078c54;
}

.landing-preview-insight p {
  margin: 0;
  color: #67778d;
  font-size: 11px;
  line-height: 1.5;
}

.landing-preview-insight strong {
  color: var(--landing-navy);
}

.landing-pillars {
  border-bottom: 1px solid var(--landing-line);
  background: #ffffff;
}

.landing-pillars-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-pillars article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 116px;
  align-items: center;
  gap: 17px;
  padding: 24px 30px;
  border-right: 1px solid var(--landing-line);
}

.landing-pillars article:first-child {
  border-left: 1px solid var(--landing-line);
}

.landing-pillars article > span {
  color: #a6b6ca;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.landing-pillars article div {
  display: grid;
  gap: 4px;
}

.landing-pillars strong {
  color: var(--landing-navy);
  font-size: 16px;
  font-weight: 900;
}

.landing-pillars small {
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.landing-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(84px, 9vw, 126px) 0;
}

.landing-section-heading {
  max-width: 780px;
}

.landing-section-heading-centered {
  margin: 0 auto;
  text-align: center;
}

.landing-section-heading h2,
.landing-privacy h2,
.landing-final-cta h2 {
  margin: 13px 0 16px;
  color: var(--landing-navy);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.landing-section-heading > p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--landing-muted);
  font-size: 17px;
  line-height: 1.7;
}

.landing-section-heading-centered > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.landing-how {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(540px, 1.22fr);
  align-items: start;
  gap: clamp(54px, 8vw, 112px);
}

.landing-step-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-step-list li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  min-height: 152px;
  padding: 3px 0 34px;
}

.landing-step-list li:not(:last-child)::after {
  position: absolute;
  top: 52px;
  bottom: 0;
  left: 25px;
  width: 1px;
  content: "";
  background: linear-gradient(#9ecaf3, #dce7f3);
}

.landing-step-list li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #bed8f1;
  border-radius: 17px;
  background: #eef7ff;
  color: #086acb;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.landing-step-list h3 {
  margin: 1px 0 8px;
  color: var(--landing-navy);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.landing-step-list p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.65;
}

.landing-features {
  width: min(1240px, calc(100% - 48px));
  padding-top: 20px;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  grid-template-rows: repeat(2, minmax(260px, auto));
  gap: 18px;
  margin-top: 52px;
}

.landing-feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 28px;
  padding: 32px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(3, 29, 69, 0.07);
}

.landing-feature-card-main {
  display: grid;
  min-height: 604px;
  grid-row: 1 / span 2;
  grid-template-rows: auto minmax(280px, 1fr);
  background:
    radial-gradient(circle at 78% 68%, rgba(16, 131, 240, 0.3), transparent 38%),
    linear-gradient(150deg, #00143e, #043c86);
  color: #ffffff;
}

.landing-feature-label {
  display: inline-flex;
  margin-bottom: 13px;
  color: #0a6ccf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.landing-feature-card h3 {
  max-width: 560px;
  margin: 0 0 12px;
  color: var(--landing-navy);
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.landing-feature-card p {
  max-width: 600px;
  margin: 0;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.65;
}

.landing-feature-card-main .landing-feature-label {
  color: #75caff;
}

.landing-feature-card-main h3 {
  color: #ffffff;
}

.landing-feature-card-main p {
  color: rgba(255, 255, 255, 0.68);
}

.landing-stadium-map {
  position: relative;
  width: min(470px, 86%);
  aspect-ratio: 1.42;
  align-self: end;
  justify-self: center;
  border: 30px solid rgba(89, 174, 255, 0.18);
  border-radius: 46%;
  background: rgba(0, 12, 42, 0.54);
  box-shadow:
    0 0 0 1px rgba(154, 213, 255, 0.32),
    inset 0 0 0 1px rgba(154, 213, 255, 0.22),
    0 34px 70px rgba(0, 6, 26, 0.38);
  transform: perspective(700px) rotateX(12deg);
}

.landing-pitch {
  position: absolute;
  inset: 18%;
  border: 2px solid rgba(255, 255, 255, 0.66);
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(255, 255, 255, 0.58) 49.6% 50.4%, transparent 50.4%),
    repeating-linear-gradient(90deg, #159361 0 11%, #128456 11% 22%);
  box-shadow: inset 0 0 30px rgba(0, 30, 18, 0.22);
}

.landing-pitch::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.landing-sector {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: #38a9ff;
  box-shadow: 0 0 0 7px rgba(56, 169, 255, 0.18), 0 0 24px #38a9ff;
}

.landing-sector-one {
  top: -19px;
  left: 28%;
}

.landing-sector-two {
  top: 19%;
  right: -21px;
}

.landing-sector-three {
  right: 22%;
  bottom: -20px;
}

.landing-sector-four {
  top: 58%;
  left: -21px;
}

.landing-stadium-map > b {
  position: absolute;
  top: -33px;
  left: 28%;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 8px;
  background: #ffffff;
  color: #075ab9;
  font-size: 10px;
  transform: translateX(-38%);
}

.landing-feature-card-stats {
  background:
    radial-gradient(circle at 100% 0, rgba(67, 164, 255, 0.14), transparent 36%),
    #ffffff;
}

.landing-feature-card-moments {
  background:
    radial-gradient(circle at 100% 100%, rgba(34, 201, 120, 0.15), transparent 40%),
    #ffffff;
}

.landing-mini-chart {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}

.landing-mini-chart span {
  position: relative;
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eef7;
}

.landing-mini-chart span::after {
  display: block;
  width: 88%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0874e8, #65b8ff);
  content: "";
}

.landing-mini-chart span:nth-child(2)::after {
  width: 64%;
}

.landing-mini-chart span:nth-child(3)::after {
  width: 46%;
}

.landing-badge-row {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.landing-badge-row span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid #cfe0ef;
  border-radius: 17px;
  background: #f6fbff;
  color: #0870d4;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 9px 24px rgba(3, 42, 86, 0.08);
}

.landing-privacy {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  width: min(1180px, calc(100% - 48px));
  margin-top: 6px;
  margin-bottom: clamp(84px, 9vw, 126px);
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid #b8e5cf;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 10%, rgba(34, 201, 120, 0.15), transparent 28%),
    linear-gradient(135deg, #effbf5, #f7fbff);
  box-shadow: 0 22px 70px rgba(6, 76, 49, 0.07);
}

.landing-privacy-symbol {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 25px;
  background: linear-gradient(145deg, #0b79df, #064a9e);
  box-shadow: 0 18px 36px rgba(6, 83, 160, 0.24);
}

.landing-privacy-symbol span {
  position: relative;
  width: 28px;
  height: 23px;
  border: 3px solid #ffffff;
  border-radius: 5px;
}

.landing-privacy-symbol span::before {
  position: absolute;
  bottom: 17px;
  left: 50%;
  width: 16px;
  height: 15px;
  border: 3px solid #ffffff;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  content: "";
  transform: translateX(-50%);
}

.landing-privacy h2 {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: clamp(30px, 3vw, 42px);
}

.landing-privacy-copy > p:last-child {
  max-width: 710px;
  margin: 0;
  color: #526b62;
  font-size: 14px;
  line-height: 1.7;
}

.landing-privacy-actions {
  display: grid;
  min-width: 190px;
  gap: 10px;
}

.landing-privacy-actions a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #bad8c9;
  color: #0759a9;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.landing-final-cta {
  display: flex;
  width: min(1240px, calc(100% - 48px));
  min-height: 290px;
  margin: 0 auto clamp(84px, 9vw, 124px);
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 72px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 84% 18%, rgba(61, 163, 255, 0.4), transparent 28%),
    linear-gradient(135deg, #00143e, #064c9f);
  box-shadow: 0 34px 90px rgba(0, 27, 77, 0.2);
}

.landing-final-cta > div {
  max-width: 760px;
}

.landing-final-cta .landing-section-kicker {
  color: #7bd0ff;
}

.landing-final-cta h2 {
  margin-bottom: 0;
  color: #ffffff;
}

.landing-final-button {
  min-width: 176px;
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--landing-navy);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.landing-footer {
  border-top: 1px solid #dce5f0;
  background: #ffffff;
}

.landing-footer-inner {
  display: flex;
  width: min(1240px, calc(100% - 48px));
  min-height: 112px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.landing-footer-inner > div {
  display: grid;
  gap: 4px;
}

.landing-footer strong {
  color: var(--landing-navy);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-footer span {
  color: var(--landing-muted);
  font-size: 12px;
}

.landing-footer nav {
  display: flex;
  gap: 22px;
}

.landing-footer a {
  color: #52647b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

@media (hover: hover) {
  .landing-nav-link:hover,
  .landing-footer a:hover,
  .landing-privacy-actions a:hover {
    color: var(--landing-blue-bright);
  }

  .landing-nav-login:hover,
  .landing-primary-cta:hover,
  .landing-secondary-cta:hover {
    transform: translateY(-2px);
  }

  .landing-nav-login:hover {
    background: #e9f5ff;
  }

  .landing-primary-cta:hover {
    box-shadow: 0 22px 44px rgba(0, 93, 208, 0.42);
  }

  .landing-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 1020px) {
  .landing-hero {
    min-height: auto;
    background-position: 66% center;
  }

  .landing-hero-inner,
  .landing-how {
    grid-template-columns: 1fr;
  }

  .landing-hero-copy {
    max-width: 780px;
  }

  .landing-product-preview {
    width: min(620px, 100%);
    justify-self: start;
  }

  .landing-how {
    gap: 52px;
  }

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

  .landing-step-list li {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 16px;
    padding: 0;
  }

  .landing-step-list li:not(:last-child)::after {
    display: none;
  }

  .landing-feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .landing-feature-card-main {
    min-height: 560px;
    grid-row: auto;
  }

  .landing-feature-card-stats,
  .landing-feature-card-moments {
    min-height: 270px;
  }

  .landing-privacy {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .landing-privacy-actions {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .landing-header,
  .landing-header-inner {
    min-height: 68px;
  }

  .landing-header-inner,
  .landing-pillars-inner,
  .landing-footer-inner {
    width: calc(100% - 32px);
  }

  .landing-nav-link {
    display: none;
  }

  .landing-nav-login {
    min-height: 44px;
    padding: 9px 14px;
  }

  .landing-hero {
    padding: 58px 16px 72px;
    background-position: 70% center;
  }

  .landing-hero-copy h1 {
    margin-top: 17px;
    font-size: clamp(42px, 12vw, 60px);
    letter-spacing: -0.045em;
  }

  .landing-hero-intro {
    font-size: 16px;
  }

  .landing-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-primary-cta,
  .landing-secondary-cta {
    width: 100%;
  }

  .landing-product-preview {
    border-radius: 23px;
    padding: 13px;
  }

  .landing-preview-hero {
    min-height: 156px;
    padding: 18px;
  }

  .landing-preview-hero strong {
    font-size: 64px;
  }

  .landing-pillars-inner {
    grid-template-columns: 1fr;
  }

  .landing-pillars article,
  .landing-pillars article:first-child {
    min-height: 92px;
    border-right: 1px solid var(--landing-line);
    border-bottom: 1px solid var(--landing-line);
    border-left: 1px solid var(--landing-line);
    padding: 20px;
  }

  .landing-pillars article:last-child {
    border-bottom: 0;
  }

  .landing-section,
  .landing-features {
    width: calc(100% - 32px);
    padding: 76px 0;
  }

  .landing-section-heading h2,
  .landing-final-cta h2 {
    font-size: clamp(36px, 10vw, 50px);
  }

  .landing-step-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .landing-step-list li {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .landing-feature-grid {
    margin-top: 36px;
  }

  .landing-feature-card {
    border-radius: 23px;
    padding: 25px;
  }

  .landing-feature-card-main {
    min-height: 520px;
    grid-template-rows: auto minmax(250px, 1fr);
  }

  .landing-stadium-map {
    width: 90%;
    border-width: 22px;
  }

  .landing-privacy {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    margin-bottom: 76px;
    padding: 26px;
    border-radius: 23px;
  }

  .landing-privacy-symbol {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .landing-privacy-actions {
    grid-column: auto;
  }

  .landing-final-cta {
    align-items: stretch;
    flex-direction: column;
    width: calc(100% - 32px);
    min-height: auto;
    margin-bottom: 76px;
    padding: 34px 26px;
    border-radius: 25px;
  }

  .landing-final-button {
    width: 100%;
  }

  .landing-footer-inner {
    min-height: 132px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
}

@media (max-width: 440px) {
  .landing-header-inner {
    gap: 12px;
  }

  .landing-brand {
    gap: 8px;
  }

  .landing-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .landing-brand-copy strong {
    font-size: 14px;
    white-space: nowrap;
  }

  .landing-brand-copy small {
    display: none;
  }

  .landing-nav-login {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .landing-preview-stats,
  .landing-preview-profile,
  .landing-privacy-actions {
    grid-template-columns: 1fr;
  }

  .landing-preview-profile {
    gap: 12px;
  }

  .landing-preview-progress {
    width: 100%;
  }

  .landing-stadium-map {
    width: 100%;
    border-width: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .landing-skip-link,
  .landing-primary-cta,
  .landing-secondary-cta {
    transition: none;
  }
}

.footer-band {
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .topbar,
  .page-title,
  .cover-hero-grid,
  .landing-cover-stories,
  .unlock-hero,
  .grid.two,
  .goal-pulse-heading,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .stadium-heatmap {
    grid-template-columns: 1fr;
  }

  .stadium-story-band {
    grid-template-columns: 1fr;
  }

  .start-hero-card,
  .attendance-hero-card,
  .attendance-kpi-grid,
  .attendance-split,
  .weather-hero-card,
  .weather-kpi-grid,
  .weather-split,
  .coach-hero-card,
  .coach-kpi-grid,
  .women-hero-card,
  .women-invite-grid,
  .profile-hero-card,
  .profile-overview-grid,
  .achievement-hero,
  .achievement-overview,
  .achievement-next-panel,
  .start-top-grid,
  .start-story-grid {
    grid-template-columns: 1fr;
  }

  .start-top-card.is-featured .start-top-list {
    grid-template-columns: 1fr;
  }

  .start-record-grid,
  .profile-moment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-dna-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attendance-result-grid,
  .weather-result-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .stadium-map-shell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .topbar {
    align-items: flex-start;
  }

  .topnav {
    justify-content: flex-start;
  }

  .cover-hero {
    min-height: auto;
  }

  .cover-hero-grid {
    align-items: start;
  }

  .cover-lead h1 {
    max-width: 760px;
  }

  .cover-splash {
    width: min(640px, 100%);
  }

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

  .dashboard-menu-left {
    left: 340px;
  }

  .dashboard-top-switch {
    left: 22px;
  }

  .dashboard-menu-right {
    right: 22px;
  }

  .dashboard-hub {
    width: min(760px, calc(100vw - 36px));
    margin-top: 132px;
  }

  .dashboard-hub-panel {
    padding: 28px;
  }

  .dashboard-hub-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hub-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-stat-content {
    width: calc(100vw - 36px);
    margin-top: 98px;
    padding: 18px;
  }

  .hero {
    min-height: 760px;
    background-position: 62% center;
  }

  .lech-connect-stage {
    align-items: start;
    padding-top: 44px;
  }

  .lech-connect-card {
    width: min(560px, 100%);
  }

  .hero h1 {
    font-size: 44px;
  }

  .page-title h1 {
    font-size: 34px;
  }

  .hero-metrics,
  .unlock-preview,
  .unlock-teaser-strip,
  .grid.three,
  .grid.four,
  .people-grid,
  .primary-person-stats,
  .status-strip,
  .status-strip.compact,
  .stats-grid,
  .metric-grid,
  .filters,
  .goal-pulse-kpis,
  .badge-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters,
  .filters.filter-count-4,
  .filters.filter-count-3,
  .filters.filter-count-2 {
    grid-template-columns: repeat(auto-fit, minmax(172px, 210px));
    justify-content: start;
  }

  .goal-phase-grid {
    grid-template-columns: repeat(7, minmax(86px, 1fr));
    grid-auto-rows: 104px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .topbar {
    padding: 12px 16px;
  }

  .dashboard-screen {
    padding-bottom: 56px;
  }

  .dashboard-menu {
    top: 18px;
  }

  .dashboard-menu-left {
    left: 280px;
  }

  .dashboard-top-switch {
    top: 25px;
    left: 16px;
  }

  .dashboard-menu-right {
    right: 16px;
  }

  .dashboard-profile-summary {
    gap: 9px;
    min-height: 40px;
    font-size: 18px;
  }

  .dashboard-avatar {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .dashboard-menu-popover {
    max-height: calc(100vh - 94px);
    min-width: min(280px, calc(100vw - 32px));
    overflow-y: auto;
  }

  .dashboard-hub {
    width: calc(100vw - 28px);
    margin-top: 106px;
  }

  .dashboard-hub-pill {
    min-height: 58px;
    padding: 12px 18px;
  }

  .dashboard-hub-panel {
    min-height: auto;
    border-radius: 20px;
    padding: 20px;
  }

  .dashboard-hub-kicker {
    margin-bottom: 18px;
  }

  .dashboard-hub-left,
  .dashboard-hub-side,
  .dashboard-hub-mini-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-hub-tile,
  .dashboard-hub-tile-large,
  .dashboard-hub-tile-side {
    min-height: 86px;
  }

  .dashboard-hub-tile span,
  .dashboard-hub-tile-small span,
  .dashboard-hub-tile-side span {
    font-size: clamp(22px, 9vw, 38px);
  }

  .dashboard-stat-content {
    width: calc(100vw - 24px);
    margin-top: 86px;
    padding: 12px;
    border-radius: 14px;
  }

  .dashboard-flash-wrap {
    top: 72px;
  }

  .page {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: 760px;
    padding: 28px 16px;
  }

  .cover-hero {
    min-height: auto;
    padding: 22px 16px 34px;
    background-position: 62% center;
  }

  .cover-masthead {
    margin-bottom: 14px;
  }

  .cover-lead h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .cover-lead p {
    font-size: 16px;
  }

  .cover-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cover-actions > * {
    width: 100%;
  }

  .cover-headlines,
  .cover-preview-grid {
    grid-template-columns: 1fr;
  }

  .cover-splash {
    padding: 18px;
  }

  .unlock-page {
    width: calc(100% - 24px);
    padding-top: 14px;
  }

  .unlock-hero {
    padding: 20px;
  }

  .unlock-hero-copy h1 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .unlock-hero-copy p {
    font-size: 16px;
  }

  .unlock-cta-card strong {
    font-size: 26px;
  }

  .unlock-teaser-strip {
    grid-template-columns: 1fr;
  }

  .landing-cover-stories {
    grid-template-columns: 1fr;
  }

  .landing-cover-story,
  .landing-cover-story.primary {
    min-height: auto;
  }

  .lech-connect-page,
  .lech-connect-stage {
    min-height: calc(100vh - 68px);
  }

  .lech-connect-stage {
    padding: 28px 14px 42px;
  }

  .lech-connect-card {
    padding: 20px;
  }

  .lech-connect-field input {
    min-height: 50px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .cover-lead h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero p {
    font-size: 17px;
  }

  .hero-actions,
  .actions-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions > *,
  .actions-row > * {
    width: 100%;
  }

  .start-hero-card {
    padding: 20px;
  }

  .start-hero-card h2 {
    font-size: 34px;
  }

  .profile-hero-card,
  .profile-dna-panel {
    padding: 20px;
  }

  .profile-hero-card h2 {
    font-size: 34px;
  }

  .profile-id-card {
    min-height: 190px;
  }

  .attendance-hero-card {
    padding: 20px;
  }

  .attendance-hero-card h2 {
    font-size: 34px;
  }

  .attendance-hero-score {
    min-height: 130px;
  }

  .women-hero-card {
    padding: 20px;
  }

  .women-hero-card h2 {
    font-size: 32px;
  }

  .women-hero-score {
    min-height: 128px;
  }

  .start-record-grid,
  .attendance-result-grid,
  .profile-dna-grid,
  .profile-fact-grid,
  .profile-moment-grid,
  .achievement-grid,
  .achievement-stats,
  .achievement-featured-main,
  .start-top-row,
  .start-recent-row,
  .start-mini-list div {
    grid-template-columns: 1fr;
  }

  .start-top-row b,
  .start-recent-row b {
    justify-self: start;
  }

  .achievement-hero {
    padding: 20px;
  }

  .achievement-hero h2 {
    font-size: 34px;
  }

  .achievement-level-card {
    min-height: 150px;
  }

  .achievement-next-item {
    grid-template-columns: 1fr;
  }

  .achievement-card {
    grid-template-columns: 1fr;
  }

  .achievement-card-top,
  .achievement-copy,
  .achievement-progress,
  .achievement-card em,
  .achievement-state {
    grid-column: auto;
    grid-row: auto;
  }

  .achievement-card-top {
    align-items: flex-start;
  }

  .achievement-state {
    justify-self: start;
    width: fit-content;
  }

  .hero-metrics,
  .unlock-preview,
  .grid.three,
  .grid.four,
  .people-grid,
  .primary-person-stats,
  .status-strip,
  .status-strip.compact,
  .stats-grid,
  .metric-grid,
  .filters,
  .goal-pulse-kpis,
  .badge-list {
    grid-template-columns: 1fr;
  }

  .filters,
  .filters.filter-count-4,
  .filters.filter-count-3,
  .filters.filter-count-2 {
    grid-template-columns: 1fr;
  }

  .goal-phase-grid {
    grid-template-columns: repeat(7, minmax(82px, 1fr));
    grid-auto-rows: 104px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .goal-scorer-heading {
    grid-template-columns: 1fr;
  }

  .goal-scorer-row {
    grid-template-columns: minmax(0, 1fr) 72px 34px;
    gap: 8px;
  }

  .competition-filter-row {
    grid-template-columns: minmax(0, 1fr) 72px 34px;
    gap: 8px;
  }

  .goal-pulse-board {
    padding: 18px 10px 10px;
  }

  .goal-minute-grid {
    grid-template-columns: repeat(90, minmax(1px, 1fr)) 10px minmax(34px, 34px);
    column-gap: 1px;
    height: 150px;
  }

  .goal-axis {
    grid-template-columns: repeat(90, minmax(1px, 1fr)) 10px minmax(34px, 34px);
    column-gap: 1px;
    font-size: 10px;
  }

  .goal-moment-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .goal-moment-strip div {
    justify-content: flex-start;
  }

  .sidebar {
    position: sticky;
    top: 68px;
    z-index: 20;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: thin;
  }

  .tab-button {
    flex: 0 0 auto;
    min-width: 142px;
    text-align: center;
    white-space: nowrap;
  }

  .setup-grid {
    grid-template-columns: 1fr;
  }

  .match-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
  }

  .match-row > div:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .match-row > div:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .match-row .result-pill,
  .match-row .tag {
    grid-row: auto;
    justify-self: stretch;
  }

  .match-row .result-pill {
    grid-column: 1;
  }

  .match-row .tag {
    grid-column: 2;
    min-width: min(190px, 45vw);
  }

  .match-extra-meta {
    grid-column: 1 / -1;
    grid-row: auto;
    white-space: normal;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .opponent-row {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .season-row {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .opponent-bar-track {
    grid-column: 1 / -1;
  }

  .opponent-details {
    margin-left: 0;
  }

  .opponent-summary {
    grid-template-columns: 1fr;
  }

  .coach-hero-card {
    padding: 18px;
  }

  .coach-hero-score {
    min-height: 130px;
  }

  .coach-heading {
    display: block;
  }

  .coach-timeline::before {
    left: 15px;
  }

  .coach-row {
    grid-template-columns: 32px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .coach-row .opponent-bar-track,
  .coach-record {
    grid-column: 2 / -1;
  }

  .coach-row .opponent-count {
    grid-column: 3;
    grid-row: 1;
  }

  .coach-details {
    margin-left: 0;
  }

  .stadium-map-shell {
    min-height: 430px;
    padding: 10px;
  }

  .stadium-story-band {
    padding: 20px;
  }

  .stadium-story-band h2 {
    font-size: 28px;
  }

  .stadium-story-stats {
    grid-template-columns: 1fr;
  }

  .stadium-story-stats span {
    min-height: 82px;
  }

  .stadium-map {
    min-height: 430px;
  }

  .stadium-hotspots {
    padding: 16px;
  }

  .stadium-hotspots strong {
    font-size: 22px;
  }

  .heat-legend {
    right: 14px;
    bottom: 12px;
    left: 14px;
    grid-template-columns: auto minmax(76px, 1fr) auto;
    padding: 8px 10px;
    font-size: 11px;
  }

  .capability-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .capability-row span {
    text-align: left;
  }
}

/* Final Lech Stats visual override. Kept last on purpose while the legacy CSS is being split. */
.dashboard-screen {
  min-height: 100vh;
  overflow-x: hidden;
  padding: 1px 0 88px;
  background: linear-gradient(180deg, #001d66 0 72vh, #123679 98vh, #416ab1 136vh, #85a3d6 190vh, #b4c8eb 260vh, #c8d8f3 100%);
  color: #ffffff;
}

.dashboard-screen::before {
  position: absolute;
  inset: -14px 0 auto;
  z-index: -2;
  height: min(1120px, 112vh);
  background:
    linear-gradient(180deg, rgba(0, 29, 102, 0.04), rgba(0, 29, 102, 0.62) 62%, rgba(0, 29, 102, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 29, 102, 0.66), rgba(0, 29, 102, 0.16)),
    url("assets/hero-stadium.png") center 42% / cover no-repeat;
  opacity: 0.78;
  filter: blur(5px) saturate(1.08);
  transform: scale(1.018);
  transform-origin: top center;
  -webkit-mask-image: linear-gradient(180deg, #000 0 68%, rgba(0, 0, 0, 0.9) 76%, rgba(0, 0, 0, 0.42) 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 68%, rgba(0, 0, 0, 0.9) 76%, rgba(0, 0, 0, 0.42) 90%, transparent 100%);
  pointer-events: none;
}

.dashboard-screen::after {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 134px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent calc(50% - 12px),
      #0035b9 calc(50% - 12px),
      #0035b9 calc(50% - 1px),
      #ffffff calc(50% - 1px),
      #ffffff calc(50% + 10px),
      transparent calc(50% + 10px)
    ),
    rgba(0, 29, 102, 0.06);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 70%, transparent 100%);
}

.dashboard-design-topbar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1344px, calc(100vw - 48px));
  min-height: 134px;
  margin: 0 auto;
}

.dashboard-design-switch {
  display: flex;
  align-items: center;
}

.dashboard-design-switch button {
  width: 198px;
  min-height: 69px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  padding: 12px 18px;
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.dashboard-design-switch button:hover,
.dashboard-design-switch button.active {
  color: #ffffff;
}

.dashboard-center-mark {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  width: 29px;
  height: 134px;
  transform: translateX(-50%);
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(180deg, #000 0 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 72%, transparent 100%);
}

.dashboard-center-mark span:first-child {
  width: 15px;
  background: #0035b9;
}

.dashboard-center-mark span:last-child {
  width: 14px;
  background: #ffffff;
}

.dashboard-profile-menu {
  position: relative;
  top: auto;
  right: auto;
  z-index: 40;
}

.dashboard-profile-summary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
}

.dashboard-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #d0deff;
  color: #0035b9;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  font-size: 14px;
  font-weight: 950;
}

.dashboard-view-heading {
  position: relative;
  z-index: 2;
  width: min(1242px, calc(100vw - 80px));
  margin: -6px auto 18px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.25;
}

.dashboard-stat-tabbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: min(1242px, calc(100vw - 80px));
  margin: 0 auto 16px;
}

.dashboard-stat-tab {
  width: 124px;
  min-height: 43px;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 9px 6px;
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.dashboard-stat-tab:hover,
.dashboard-stat-tab.active {
  color: #8f8f8f;
}

.dashboard-stat-content {
  position: relative;
  z-index: 2;
  width: min(1242px, calc(100vw - 80px));
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #001d66;
  box-shadow: none;
}

.dashboard-stat-content .filters,
.dashboard-stat-content .filters.filter-count-4,
.dashboard-stat-content .filters.filter-count-3,
.dashboard-stat-content .filters.filter-count-2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 206px));
  gap: 15px;
  justify-content: start;
  width: min(869px, 100%);
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-stat-content .filters .compact-field {
  position: relative;
  min-height: 41px;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.dashboard-stat-content .filters label {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 16px;
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
  pointer-events: none;
}

.dashboard-stat-content .filters select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 41px;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 22px 34px 4px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  appearance: none;
  cursor: pointer;
}

.dashboard-stat-content .filters .compact-field::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.dashboard-stat-content .filters .compact-field:hover,
.dashboard-stat-content .filters .compact-field:focus-within {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
}

.dashboard-stat-content .filters select:focus-visible {
  outline: 0;
}

.dashboard-stat-content .filters select option {
  color: #001d66;
}

.matches-stats-stage {
  display: grid;
  gap: 20px;
}

.matches-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 336px);
  gap: 16px;
}

.matches-summary-card {
  min-height: 121px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 24px 28px;
}

.matches-summary-card h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.matches-summary-card strong {
  display: block;
  color: #ffffff;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 800;
  line-height: 1;
}

.matches-balance-card strong {
  font-size: clamp(30px, 3.2vw, 40px);
}

.matches-summary-card span {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.matches-ticket-panel {
  border: 0;
  background: transparent;
  padding: 0;
}

.matches-ticket-panel .empty {
  color: #001d66;
}

.matches-stats-stage .match-list {
  display: grid;
  gap: 14px;
}

.matches-stats-stage .match-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 175px) minmax(0, 1fr) 138px minmax(150px, 190px);
  grid-template-rows: auto auto auto;
  column-gap: 20px;
  row-gap: 0;
  align-items: center;
  min-height: 140px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  padding: 22px 38px 20px 20px;
  box-shadow: 0 20px 40px rgba(0, 29, 102, 0.08);
}

.matches-stats-stage .match-row::before {
  display: none;
}

.matches-stats-stage .match-row::after {
  position: absolute;
  top: 0;
  right: 176px;
  width: 42px;
  height: 100%;
  content: "";
  background: #d9d9d9;
  opacity: 0.9;
}

.matches-stats-stage .match-row > * {
  position: relative;
  z-index: 1;
}

.matches-stats-stage .match-row > div:first-child {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  padding: 0;
  text-align: center;
}

.matches-stats-stage .match-row > div:first-child strong {
  color: #001d66;
  font-size: 20px;
  font-weight: 700;
}

.matches-stats-stage .match-row > div:first-child small {
  display: block;
  margin-top: 8px;
  color: #001d66;
  font-size: 16px;
  font-weight: 700;
}

.matches-stats-stage .match-row > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.matches-stats-stage .match-row > div:nth-child(2) strong {
  display: block;
  overflow: hidden;
  color: #001d66;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.14;
}

.matches-stats-stage .match-row > div:nth-child(2) > span {
  display: block;
  margin-top: 8px;
  color: #001d66;
  font-size: 20px;
  font-weight: 850;
}

.matches-stats-stage .match-row .result-pill {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  min-width: 134px;
  min-height: 57px;
  border-radius: 21px;
  color: #001d66;
  padding: 4px 18px;
  font-family: "Unbounded", "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.matches-stats-stage .result-pill.win {
  background: #bdffa9;
  color: #001d66;
}

.matches-stats-stage .result-pill.draw,
.matches-stats-stage .result-pill.unknown {
  background: #d9d9d9;
  color: #001d66;
}

.matches-stats-stage .result-pill.loss {
  background: #ff7c7c;
  color: #001d66;
}

.matches-stats-stage .match-row .tag {
  grid-column: 4;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: stretch;
  min-width: 0;
  min-height: 41px;
  border-radius: 5px;
  background: rgba(0, 29, 102, 0.1);
  color: #001d66;
  padding: 7px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
  white-space: normal;
}

.matches-stats-stage .match-extra-meta {
  grid-column: 2 / 5;
  grid-row: 3;
  margin-top: 10px;
  color: #001d66;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

@media (max-width: 1120px) {
  .dashboard-stat-tabbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .dashboard-stat-tab {
    flex: 0 0 auto;
    width: auto;
    padding-right: 14px;
    padding-left: 14px;
  }

  .matches-stats-stage .match-row {
    grid-template-columns: minmax(112px, 140px) minmax(0, 1fr) 112px minmax(132px, 166px);
    padding-right: 24px;
  }

  .matches-stats-stage .match-row::after {
    right: 152px;
    width: 34px;
  }

  .matches-stats-stage .match-row .result-pill {
    min-width: 110px;
    font-size: 28px;
  }
}

@media (max-width: 860px) {
  .dashboard-screen::after {
    display: none;
  }

  .dashboard-design-topbar {
    min-height: 104px;
    width: min(100% - 28px, 100%);
  }

  .dashboard-design-switch button {
    width: auto;
    min-width: 126px;
    min-height: 54px;
    font-size: 16px;
  }

  .dashboard-center-mark {
    display: none;
  }

  .dashboard-profile-summary > span:first-child {
    display: none;
  }

  .dashboard-view-heading {
    width: calc(100vw - 28px);
    margin-top: 10px;
    text-align: left;
  }

  .dashboard-stat-content {
    width: calc(100vw - 28px);
  }

  .dashboard-stat-content .filters,
  .dashboard-stat-content .filters.filter-count-4,
  .dashboard-stat-content .filters.filter-count-3,
  .dashboard-stat-content .filters.filter-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .matches-summary-row {
    grid-template-columns: 1fr;
  }

  .matches-stats-stage .match-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  .matches-stats-stage .match-row::after {
    display: none;
  }

  .matches-stats-stage .match-row > div:first-child,
  .matches-stats-stage .match-row > div:nth-child(2),
  .matches-stats-stage .match-row .result-pill,
  .matches-stats-stage .match-row .tag,
  .matches-stats-stage .match-extra-meta {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    text-align: left;
  }

  .matches-stats-stage .match-row > div:first-child {
    text-align: left;
  }

  .matches-stats-stage .match-row .result-pill {
    justify-content: center;
    max-width: 150px;
  }
}

@media (max-width: 560px) {
  .dashboard-stat-content .filters,
  .dashboard-stat-content .filters.filter-count-4,
  .dashboard-stat-content .filters.filter-count-3,
  .dashboard-stat-content .filters.filter-count-2 {
    grid-template-columns: 1fr;
  }

  .dashboard-design-switch button {
    min-width: 108px;
    font-size: 14px;
  }
}

/* Final stadium tab typography guard. This must stay after every legacy stadium rule. */
.dashboard-stat-content .stadium-stats-stage .stadium-story-band {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr) !important;
  gap: 22px !important;
  min-height: 190px !important;
  padding: 26px 32px !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-band h2 {
  max-width: 620px !important;
  font-size: clamp(25px, 2.55vw, 34px) !important;
  line-height: 1.08 !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-band p {
  max-width: 660px !important;
  font-size: 15px !important;
  line-height: 1.38 !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats span {
  min-height: 98px !important;
  padding: 11px 12px !important;
  border-radius: 12px !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats strong {
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1 !important;
  overflow-wrap: normal !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats small {
  font-size: 10px !important;
  line-height: 1.12 !important;
}

@media (max-width: 980px) {
  .dashboard-stat-content .stadium-stats-stage .stadium-story-band {
    grid-template-columns: 1fr !important;
  }

  .dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
    grid-template-columns: 1fr !important;
  }
}
/* Stadium hero final sizing: fixed stat boxes, balanced typography. */
.dashboard-stat-content .stadium-stats-stage .stadium-story-band {
  grid-template-columns: minmax(0, 1fr) 540px !important;
  gap: 26px !important;
  min-height: 220px !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-band h2 {
  max-width: 690px !important;
  font-size: clamp(32px, 3.28vw, 44px) !important;
  line-height: 1.04 !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-band p {
  max-width: 690px !important;
  font-size: 16px !important;
  line-height: 1.42 !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
  grid-template-columns: repeat(3, 164px) !important;
  justify-content: end !important;
  align-content: center !important;
  align-items: stretch !important;
  gap: 12px !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats span {
  box-sizing: border-box !important;
  display: grid !important;
  width: 164px !important;
  min-width: 164px !important;
  height: 132px !important;
  min-height: 132px !important;
  padding: 14px !important;
  align-content: space-between !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats strong {
  font-size: clamp(31px, 2.65vw, 40px) !important;
  line-height: 0.98 !important;
  white-space: nowrap !important;
}

.dashboard-stat-content .stadium-stats-stage .stadium-story-stats small {
  align-self: end !important;
  font-size: 11px !important;
  line-height: 1.16 !important;
  overflow-wrap: normal !important;
}

@media (max-width: 1120px) {
  .dashboard-stat-content .stadium-stats-stage .stadium-story-band {
    grid-template-columns: 1fr !important;
  }

  .dashboard-stat-content .stadium-stats-stage .stadium-story-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
  }

  .dashboard-stat-content .stadium-stats-stage .stadium-story-stats span {
    width: auto !important;
    min-width: 0 !important;
    height: 124px !important;
    min-height: 124px !important;
  }
}

/* Weather bars: one proportional scale, shared by hot/cold lists and result cards. */
.dashboard-stat-content .weather-rankings-only .weather-match-tile i,
.dashboard-stat-content .weather-rankings-only .weather-result-card i,
.weather-rankings-only .weather-match-tile i,
.weather-rankings-only .weather-result-card i {
  right: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  width: var(--weather-width, var(--weather-ratio, 10%)) !important;
  height: 9px !important;
  border-radius: 0 999px 999px 0 !important;
  background: linear-gradient(
    90deg,
    #2563eb 0%,
    #06b6d4 28%,
    #14df19 48%,
    #ebe600 68%,
    #ff9f1c 84%,
    #f00682 100%
  ) !important;
  background-position: left center !important;
  background-size: var(--weather-gradient-size, 100%) 100% !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--weather-heat, #14df19) 28%, transparent) !important;
}

.dashboard-stat-content .weather-rankings-only .weather-result-summary,
.weather-rankings-only .weather-result-summary {
  max-width: none !important;
  overflow: hidden !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .dashboard-stat-content .weather-rankings-only .weather-result-summary,
  .weather-rankings-only .weather-result-summary {
    white-space: normal !important;
  }
}

/* Upcoming tickets in "Moje mecze". */
.matches-summary-row:has(.matches-upcoming-card) {
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(220px, 336px));
}

.matches-upcoming-card {
  background: linear-gradient(135deg, rgba(255, 225, 0, 0.36), rgba(20, 223, 25, 0.22));
}

.matches-stats-stage .match-row.match-row-upcoming {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 225, 0, 0.1), transparent 14%),
    radial-gradient(circle at 82% 74%, rgba(20, 223, 25, 0.08), transparent 16%),
    linear-gradient(90deg, rgba(0, 29, 102, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 29, 102, 0.025) 1px, transparent 1px),
    #fffdf0;
  box-shadow:
    0 24px 48px rgba(0, 29, 102, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(0, 29, 102, 0.04);
}

.matches-stats-stage .match-row.match-row-upcoming::after {
  background:
    radial-gradient(circle at left 31%, transparent 0 27px, #fffdf0 28px) left top / 50% 100% no-repeat,
    radial-gradient(circle at left 69%, transparent 0 27px, #fffdf0 28px) left top / 50% 100% no-repeat,
    radial-gradient(circle at right 31%, transparent 0 27px, #fffdf0 28px) right top / 50% 100% no-repeat,
    radial-gradient(circle at right 69%, transparent 0 27px, #fffdf0 28px) right top / 50% 100% no-repeat;
}

.matches-stats-stage .result-pill.upcoming,
.matches-stats-stage .result-pill.waiting {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  color: #001d66;
  font-size: 9px;
  letter-spacing: 0;
  line-height: 1.05;
  padding: 9px 10px;
  text-align: center;
  text-transform: uppercase;
}

.matches-stats-stage .result-pill.upcoming {
  background: #ffe100;
  min-width: 138px;
}

.matches-stats-stage .result-pill.waiting {
  background: #d9d9d9;
}

.matches-stats-stage .result-pill.upcoming span,
.matches-stats-stage .result-pill.waiting span {
  color: inherit;
  font-size: 9px;
  font-weight: 950;
}

.matches-stats-stage .result-pill.upcoming strong,
.matches-stats-stage .result-pill.waiting strong {
  color: inherit;
  font-family: "Montserrat", Inter, sans-serif;
  font-size: clamp(11px, 0.85vw, 13px);
  font-variant-numeric: tabular-nums;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
  max-width: 100%;
  min-width: 15ch;
  text-align: center;
  white-space: nowrap;
}

.matches-stats-stage .result-pill.upcoming strong {
  max-width: none;
}

@media (max-width: 1120px) {
  .matches-summary-row:has(.matches-upcoming-card) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .matches-summary-row:has(.matches-upcoming-card) {
    grid-template-columns: 1fr;
  }

  .matches-stats-stage .result-pill.upcoming,
  .matches-stats-stage .result-pill.waiting {
    justify-items: start;
    max-width: none;
    min-width: 0;
    padding: 12px 14px;
  }
}

/* Keep the restored ticket artwork, but skip layout and paint for distant rows. */
.matches-stats-stage .match-row {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 100px;
}

@media (max-width: 860px) {
  .matches-stats-stage .match-row {
    contain-intrinsic-block-size: auto 202px;
  }

  .shell-authenticated {
    --app-header-height: 104px;
  }

  .authenticated-app-header {
    min-height: var(--app-header-height);
  }
}

/* Keep guided-auth presentation above the older shared connector rules. */
.lech-connect-page.auth-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 119, 219, 0.3), transparent 32%),
    linear-gradient(115deg, rgba(0, 15, 47, 0.94), rgba(0, 29, 102, 0.8)),
    url("assets/lech-bilety-seats-bg.png") center / cover no-repeat;
  background-color: #001237;
}

.auth-page .auth-stage {
  grid-template-columns: minmax(280px, 390px) minmax(0, 620px);
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  min-height: 100dvh;
  padding-top: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(28px, 5vw, 64px);
}

.auth-page .auth-card {
  grid-column: 2;
  grid-row: 1;
  width: min(620px, 100%);
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.97);
  color: var(--blue-950);
  box-shadow: 0 30px 80px rgba(0, 10, 35, 0.4);
  backdrop-filter: blur(18px);
}

.auth-page .auth-guide {
  grid-column: 1;
  grid-row: 1;
}

.auth-page .auth-tabs {
  gap: 6px;
  margin-bottom: 16px;
  border-color: #d3e0eb;
  background: #eaf2f8;
}

.auth-page .auth-tabs button {
  min-height: 46px;
  color: #526a80;
}

.auth-page .auth-tabs button.active {
  background: #ffffff;
  color: var(--blue-950);
  box-shadow: 0 7px 18px rgba(0, 29, 102, 0.12);
}

.auth-page .auth-consent {
  margin-top: 17px;
  color: #425a70;
}

.auth-page .auth-consent a {
  color: var(--blue-700);
}

.auth-page .auth-password-toggle {
  min-height: 46px;
}

.auth-page .auth-message.auth-success {
  border-color: #afd8c3;
  background: #edf9f3;
  color: #155f3c;
}

.auth-card #auth-title:focus {
  outline: none;
}

@media (max-width: 940px) {
  .auth-page .auth-stage {
    grid-template-columns: minmax(0, 680px);
    gap: 18px;
    align-items: start;
  }

  .auth-page .auth-card,
  .auth-page .auth-guide {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .auth-page .auth-stage {
    padding: 14px 12px 30px;
  }

  .auth-page .auth-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
}
