:root {
  --blue-950: #0b3156;
  --blue-900: #123f6d;
  --blue-800: #175386;
  --blue-700: #126fbc;
  --blue-600: #1686db;
  --blue-100: #e8f3fc;
  --orange: #ff8500;
  --green: #12a46d;
  --red: #e55353;
  --ink: #1e2b3a;
  --muted: #697789;
  --line: #dbe3ec;
  --surface: #ffffff;
  --background: #f2f5f8;
  --shadow: 0 12px 32px rgba(18, 63, 109, 0.11);
  --radius: 14px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  line-height: 1.5;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 133, 0, 0.5);
  outline-offset: 2px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
  color: var(--blue-900);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 3px 12px rgba(8, 39, 69, 0.18);
}

.notice-bar {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 7px 16px;
  background: var(--blue-950);
  color: #e5f1fb;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.notice-bar p {
  margin: 0;
}

.header-main {
  min-height: 68px;
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding: 0 max(20px, calc((100vw - 1320px) / 2));
  background: linear-gradient(115deg, var(--blue-950) 0%, var(--blue-800) 48%, var(--blue-700) 100%);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 205px;
  color: #fff;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 205px;
  max-width: 100%;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.header-main .brand-logo {
  transform: translateY(1px);
}

.primary-nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 0;
  left: 13px;
  height: 3px;
  transform: scaleX(0);
  background: var(--orange);
  transition: transform 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(8, 49, 84, 0.17);
  color: #fff;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.icon-button,
.account-button,
.menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.icon-button {
  width: 42px;
  height: 42px;
  font-size: 25px;
}

.account-button {
  min-height: 42px;
  padding: 0 15px;
  font-weight: 800;
}

.account-button--logout {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  margin-left: auto;
  font-size: 24px;
}

.page-shell {
  width: min(calc(100% - 32px), 1240px);
  min-height: 70vh;
  margin: 24px auto 48px;
}

.score-ticker {
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 18px rgba(18, 63, 109, 0.06);
}

.score-ticker__inner {
  width: min(calc(100% - 32px), 1240px);
  min-height: 48px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  margin: 0 auto;
  scrollbar-width: none;
}

.score-ticker__inner::-webkit-scrollbar {
  display: none;
}

.ticker-live {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 0 18px 0 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.ticker-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(229, 83, 83, 0.14);
}

.score-ticker a {
  min-width: 285px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-left: 1px solid var(--line);
  padding: 0 16px;
  color: var(--ink);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.score-ticker a strong {
  color: var(--blue-900);
  font-size: 14px;
}

.score-ticker a small {
  border-radius: 999px;
  padding: 3px 6px;
  background: #fff0e1;
  color: #c56500;
  font-weight: 900;
}

.hero {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 24px 28px;
  background:
    radial-gradient(circle at 85% 35%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(125deg, var(--blue-950), var(--blue-800));
  box-shadow: var(--shadow);
  color: #fff;
}

.hero h1 {
  margin: 3px 0 4px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
}

.hero p {
  margin: 0;
  color: #cfe3f5;
}

.hero .eyebrow {
  color: #ffad54;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.7px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  white-space: nowrap;
}

.live-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5a5f;
  box-shadow: 0 0 0 5px rgba(255, 90, 95, 0.17);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(255, 90, 95, 0); }
}

.score-panel {
  margin-top: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 18px;
  margin-top: 16px;
}

.dashboard-sidebar {
  display: grid;
  gap: 16px;
}

.side-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 63, 109, 0.08);
}

.side-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 15px 17px 13px;
  background: linear-gradient(180deg, #fff, #f8fbfd);
}

.side-card__header h2,
.side-card--accent h2 {
  margin: 2px 0 0;
  color: var(--blue-950);
  font-size: 18px;
}

.side-card__header a {
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.side-kicker {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.standings-list {
  list-style: none;
  margin: 0;
  padding: 5px 0;
}

.standings-list li {
  min-height: 48px;
  display: grid;
  grid-template-columns: 22px 30px 1fr 24px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #edf1f5;
  padding: 0 16px;
  font-size: 12px;
}

.standings-list li:last-child {
  border-bottom: 0;
}

.rank {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.mini-badge {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #687789;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.mini-badge--red { background: #d84a4a; }
.mini-badge--navy { background: #152f72; }
.mini-badge--black { background: #1e2329; }
.mini-badge--blue { background: #2780bd; }

.standings-list b {
  color: var(--blue-950);
  text-align: right;
}

.news-list {
  display: grid;
}

.news-list a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 9px;
  border-bottom: 1px solid #edf1f5;
  padding: 13px 16px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
}

.news-list a:last-child { border-bottom: 0; }
.news-list a:hover { background: #f7fbfe; }
.news-list time { color: var(--orange); font-weight: 900; }

.side-card--accent {
  padding: 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  color: #fff;
}

.side-card--accent h2 { color: #fff; }
.side-card--accent p { margin: 8px 0 17px; color: #d2e5f5; font-size: 13px; }

.side-login-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.date-toolbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.date-arrow,
.date-item {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.date-arrow {
  color: var(--blue-700);
  font-size: 34px;
}

.date-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(68px, 1fr));
}

.date-item {
  position: relative;
  display: grid;
  place-content: center;
  gap: 2px;
}

.date-item small {
  color: var(--muted);
  font-weight: 700;
}

.date-item strong {
  font-size: 13px;
}

.date-item.is-current {
  background: var(--blue-100);
  color: var(--blue-800);
}

.date-item.is-current::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 0;
  left: 20%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--orange);
}

.sport-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #e9eef4;
}

.sport-tab {
  min-height: 53px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  background: #e9eef4;
  color: var(--blue-800);
  cursor: pointer;
  font-weight: 850;
}

.sport-tab.is-active {
  background: linear-gradient(115deg, var(--blue-700), var(--blue-600));
  color: #fff;
}

.score-actions {
  min-height: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--blue-900);
}

.score-actions button {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 750;
}

.score-actions button:hover,
.score-actions button.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.match-list {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f7f9fb;
}

.league-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.league-card[hidden] {
  display: none;
}

.league-header {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  background: #edf3f8;
}

.league-header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.league-header h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: 15px;
}

.league-icon {
  font-size: 17px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue-700);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.match-row {
  position: relative;
  min-height: 68px;
  display: grid;
  grid-template-columns: 76px minmax(150px, 1fr) 98px minmax(150px, 1fr) 42px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e9edf2;
  padding: 8px 12px;
}

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

.match-row.is-live::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--orange);
}

.match-time {
  display: grid;
  gap: 1px;
  color: var(--muted);
  text-align: center;
}

.match-time strong {
  color: var(--ink);
  font-size: 14px;
}

.is-live .match-time strong {
  color: var(--orange);
}

.match-time small,
.score small {
  color: var(--muted);
  font-size: 11px;
}

.team {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

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

.team > span:first-child,
.team--away > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-badge {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #7990a7;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.team-badge--dark { background: #242a31; }
.team-badge--green { background: #188d5f; }
.team-badge--red { background: #d74444; }
.team-badge--blue { background: #2571bd; }
.team-badge--yellow { background: #e8b914; color: #122; }

.score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--blue-950);
  font-size: 15px;
}

.score strong {
  min-width: 17px;
  font-size: 19px;
  text-align: center;
}

.score small {
  flex-basis: 100%;
  text-align: center;
}

.favorite-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #91a0af;
  cursor: pointer;
  font-size: 25px;
}

.favorite-button[aria-pressed="true"] {
  background: #fff5e9;
  color: var(--orange);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--blue-950);
  color: #c6d7e7;
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -210px;
  border-radius: 50%;
  background: rgba(22, 134, 219, 0.13);
  pointer-events: none;
}

.footer-topline {
  position: relative;
  width: min(calc(100% - 32px), 1240px);
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-topline div {
  display: grid;
  gap: 3px;
}

.footer-topline strong {
  color: #fff;
  font-size: 20px;
}

.footer-topline span {
  color: #9eb7ce;
  font-size: 13px;
}

.footer-topline > a {
  border-radius: 9px;
  padding: 11px 16px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.footer-grid {
  position: relative;
  width: min(calc(100% - 32px), 1240px);
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr) 1.15fr;
  gap: 42px;
  margin: 0 auto;
  padding: 46px 0 38px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 17px;
}

.footer-grid p {
  margin: 0;
  color: #9eb7ce;
  font-size: 13px;
  line-height: 1.7;
}

.footer-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: 52px;
  margin-bottom: 14px;
  object-fit: contain;
  object-position: left center;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid a {
  color: #c6d7e7;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.footer-apps {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-apps h2 {
  margin-bottom: 4px;
}

.store-button {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.06);
}

.store-button small {
  color: #8fa9c1;
  font-size: 9px;
}

.store-button strong {
  color: #fff;
  font-size: 13px;
}

.footer-bottom {
  position: relative;
  width: min(calc(100% - 32px), 1240px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  color: #91a9be;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 25, 42, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.auth-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.auth-dialog {
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid #b9c4cf;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.38);
  transform: translateY(14px);
  transition: transform 180ms ease;
}

.auth-logo-wrap {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px 20px;
  background: linear-gradient(115deg, var(--blue-950), var(--blue-800));
}

.auth-logo-wrap img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: center;
}

.auth-overlay.is-visible .auth-dialog {
  transform: translateY(0);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e9eef4;
}

.auth-tab {
  min-height: 52px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--blue-800);
  cursor: pointer;
  font-weight: 850;
}

.auth-tab.is-active {
  border-bottom-color: var(--orange);
  background: #fff;
}

.auth-form {
  padding: 28px 32px 30px;
}

.auth-form h2 {
  margin: 0 0 7px;
  color: var(--blue-950);
  font-size: 23px;
}

.auth-form > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.auth-form label:not(.remember-row) {
  display: grid;
  gap: 7px;
  margin: 0 0 15px;
  color: #445468;
  font-size: 13px;
  font-weight: 800;
}

.auth-form .register-only[hidden] {
  display: none !important;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  height: 50px;
  border: 1px solid #bfc9d4;
  border-radius: 7px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 16px;
}

.auth-form input:focus {
  border-color: var(--blue-600);
  outline: 3px solid rgba(22, 134, 219, 0.14);
}

.remember-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.remember-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue-700);
}

.primary-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(115deg, var(--blue-700), var(--blue-600));
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-form .form-error {
  min-height: 20px;
  margin: 0 0 10px;
  color: #c33d3d;
  font-size: 13px;
}

.auth-form .privacy-note {
  margin: 12px 0 0;
  color: #7a8796;
  font-size: 11px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  max-width: min(360px, calc(100% - 40px));
  transform: translateY(20px);
  border-radius: 9px;
  padding: 12px 16px;
  background: var(--blue-950);
  box-shadow: var(--shadow);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

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

@media (max-width: 1120px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-card--accent {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }

  .footer-apps {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 190px));
  }

  .footer-apps h2,
  .footer-apps p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .header-main {
    min-height: 62px;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
  }

  .brand {
    min-height: 62px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    order: 5;
    width: calc(100% + 32px);
    display: none;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 10px;
    background: var(--blue-950);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 48px;
    flex: 0 0 auto;
  }

  .header-actions {
    margin-left: 4px;
  }

  .icon-button {
    display: none;
  }

  .match-row {
    grid-template-columns: 60px minmax(100px, 1fr) 72px minmax(100px, 1fr) 36px;
  }
}

@media (max-width: 680px) {
  .notice-bar {
    font-size: 12px;
  }

  .brand-logo {
    width: 168px;
    height: 42px;
  }

  .header-main .brand-logo {
    transform: none;
  }

  .account-button {
    padding: 0 10px;
    font-size: 13px;
  }

  .page-shell {
    width: calc(100% - 16px);
    margin-top: 10px;
  }

  .hero {
    min-height: 98px;
    border-radius: 10px;
    padding: 17px 18px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero p:not(.eyebrow) {
    display: none;
  }

  .live-pill {
    padding: 7px 10px;
    font-size: 13px;
  }

  .score-panel {
    border-radius: 10px;
  }

  .date-toolbar {
    min-height: 62px;
    grid-template-columns: 36px 1fr 36px;
  }

  .date-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .date-item:nth-child(1),
  .date-item:nth-child(5) {
    display: none;
  }

  .sport-tab {
    min-height: 48px;
    font-size: 13px;
  }

  .score-actions {
    min-height: 44px;
  }

  .score-actions button {
    font-size: 12px;
  }

  .match-list {
    gap: 10px;
    padding: 8px;
  }

  .league-header {
    min-height: 40px;
  }

  .match-row {
    min-height: 92px;
    grid-template-columns: 48px minmax(0, 1fr) 58px minmax(0, 1fr) 30px;
    gap: 4px;
    padding: 8px 6px;
  }

  .team {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    text-align: center;
  }

  .team--home,
  .team--away {
    justify-content: center;
  }

  .team--away .team-badge {
    order: -1;
  }

  .team > span:first-child,
  .team--away > span:last-child {
    width: 100%;
  }

  .team-badge {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .score {
    gap: 3px;
  }

  .score strong {
    font-size: 17px;
  }

  .match-time strong {
    font-size: 12px;
  }

  .match-time small {
    font-size: 9px;
  }

  .favorite-button {
    width: 30px;
    height: 30px;
    font-size: 21px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .footer-brand,
  .footer-apps {
    grid-column: 1 / -1;
  }

  .footer-topline {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

  .dashboard-sidebar {
    grid-template-columns: 1fr;
  }

  .side-card--accent {
    grid-column: auto;
  }

  .auth-overlay {
    padding: 10px;
  }

  .auth-dialog {
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .auth-form {
    padding: 22px 18px 24px;
  }

  .auth-form h2 {
    font-size: 20px;
  }
}

@media (max-width: 460px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 148px;
  }

  .header-main {
    column-gap: 6px;
  }

  .account-button {
    padding: 0 8px;
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-apps {
    grid-column: auto;
  }

  .footer-apps {
    grid-template-columns: 1fr;
  }

  .footer-apps h2,
  .footer-apps p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
