:root {
  --red: #c41230;
  --red-dark: #8f0b20;
  --ink: #15171a;
  --muted: #656b73;
  --line: #dfe2e6;
  --paper: #ffffff;
  --soft: #f2f3f5;
  --nav: #111316;
  --green: #147a4a;
  --gold: #c9912f;
  --blue: #275c9c;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.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;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(196, 18, 48, 0.95), rgba(17, 19, 22, 0.96)),
    url("assets/sports-hero.png") center / cover no-repeat;
  color: #fff;
  animation: loading-failsafe 5.7s ease forwards;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.loading-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 2px,
    transparent 2px,
    transparent 22px
  );
  animation: loading-stripes 1.2s linear infinite;
}

.loading-screen.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loading-inner {
  position: relative;
  display: grid;
  width: min(420px, 100%);
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.loading-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
}

.loading-mark {
  display: grid;
  width: 58px;
  height: 46px;
  place-items: center;
  border-radius: 4px;
  background: #fff;
  color: var(--red);
  font-size: 20px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.loading-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
}

.loading-track span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #fff, #f2c94c);
  animation: loading-progress 5s linear forwards;
}

.loading-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes loading-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes loading-stripes {
  from {
    transform: translateX(-24px);
  }

  to {
    transform: translateX(24px);
  }
}

@keyframes loading-failsafe {
  0%,
  88% {
    visibility: visible;
    opacity: 1;
  }

  100% {
    visibility: hidden;
    opacity: 0;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.score-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.strip-button {
  min-width: 72px;
  height: 26px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.scores {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  font-size: 13px;
}

.scores::-webkit-scrollbar {
  display: none;
}

.scores span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #30343a;
}

.scores strong {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}

.scores em {
  color: var(--red);
  font-style: normal;
  font-weight: 700;
}

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr minmax(150px, 220px) auto;
  align-items: center;
  gap: 22px;
  min-height: 58px;
  padding: 0 24px;
  background: var(--nav);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 30px;
  place-items: center;
  background: var(--red);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a {
  color: #f5f5f5;
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: transparent;
  place-items: center;
  padding: 7px 10px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px 0;
  background: #fff;
  border-radius: 2px;
}

.search-box input {
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 4px;
  padding: 0 12px;
  background: #2b2f34;
  color: #fff;
  outline: 1px solid transparent;
}

.search-box input:focus {
  outline-color: rgba(255, 255, 255, 0.65);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: #20242a;
}

.language-switcher button {
  min-width: 34px;
  height: 28px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #dce1e7;
  font-size: 12px;
  font-weight: 800;
}

.language-switcher button.active,
.language-switcher button:hover {
  background: var(--red);
  color: #fff;
}

main {
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 40px;
}

.league-tabs {
  display: flex;
  gap: 8px;
  padding: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.league-tabs::-webkit-scrollbar {
  display: none;
}

.league-tabs button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #343a40;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.league-tabs button.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

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

.left-rail,
.panel,
.hero-card,
.story-card,
.video-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.left-rail {
  padding: 16px;
}

.left-rail h2,
.panel h2,
.section-title h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.mini-card {
  border-top: 1px solid var(--line);
}

.mini-card:first-of-type {
  margin-top: 12px;
}

.mini-card a {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
}

.mini-card .card-image {
  width: 78px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}

.mini-card h3 {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.22;
}

.mini-card p,
.mini-card .read-link {
  display: none;
}

.tag {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tag.hot {
  color: var(--gold);
}

.hero-card {
  overflow: hidden;
}

.hero-card > a,
.story-card > a,
.video-card > a,
.article-card > a {
  display: block;
  height: 100%;
}

.hero-media {
  position: relative;
  min-height: 340px;
  background: #1b1d21;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.78));
}

.live-pill {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  padding: 18px 20px 22px;
}

.hero-copy h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 780px;
  margin: 0;
  color: #555b63;
  font-size: 16px;
  line-height: 1.5;
}

.read-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-link {
  margin-top: 16px;
}

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

.story-card {
  overflow: hidden;
}

.story-card h3 {
  margin: 6px 14px 16px;
  font-size: 18px;
  line-height: 1.25;
}

.story-card .tag {
  display: block;
  margin: 13px 14px 0;
}

.story-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.right-rail {
  display: grid;
  gap: 14px;
}

.panel {
  padding: 16px;
}

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

.panel-heading a,
.section-title a,
.panel-heading span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.headline-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: headlines;
}

.headline-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  counter-increment: headlines;
}

.headline-list li::before {
  content: counter(headlines);
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #f2d9df;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.headline-list a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

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

.article-card.standard {
  overflow: hidden;
  min-height: 310px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.article-card.standard a {
  display: grid;
  grid-template-rows: auto 1fr;
}

.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #1b1d21;
}

.article-card.standard .card-copy {
  padding: 14px 16px 16px;
}

.article-card.standard h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.article-card.standard p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.article-detail {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-detail h1 {
  max-width: 900px;
  margin: 8px 0 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.article-summary {
  max-width: 820px;
  margin: 0 0 14px;
  color: #424850;
  font-size: 19px;
  line-height: 1.5;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  border-top: 1px solid var(--line);
}

.article-hero-image {
  width: 100%;
  max-height: 470px;
  margin: 4px 0 22px;
  object-fit: cover;
  border-radius: 6px;
}

.key-points {
  padding: 16px 18px;
  margin-bottom: 22px;
  border-left: 4px solid var(--red);
  background: #f7f8fa;
}

.key-points h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.key-points ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.key-points li {
  line-height: 1.4;
}

.article-body {
  max-width: 820px;
}

.article-body p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.72;
}

.related-panel {
  position: sticky;
  top: 124px;
}

.related-list {
  display: grid;
}

.related-list a {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.related-list img {
  grid-row: span 2;
  width: 86px;
  height: 62px;
  object-fit: cover;
  border-radius: 4px;
}

.related-list strong {
  font-size: 15px;
  line-height: 1.35;
}

.match {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.match span {
  grid-row: span 2;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.match strong {
  font-size: 14px;
}

.match em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.feature-band {
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

.video-card {
  overflow: hidden;
}

.video-card h3 {
  min-height: 48px;
  margin: 12px 14px 16px;
  font-size: 17px;
  line-height: 1.3;
}

.video-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1b1d21;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}

.video-preview span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  min-width: 54px;
  height: 30px;
  place-items: center;
  border-radius: 4px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: var(--nav);
  color: #d7dbe0;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

@media (max-width: 1040px) {
  .main-nav {
    grid-template-columns: auto 1fr auto;
  }

  .language-switcher {
    grid-column: 3;
  }

  .search-box {
    display: none;
  }

  .page-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

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

  .left-rail h2 {
    grid-column: 1 / -1;
  }

  .mini-card {
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .mini-card a {
    padding: 12px;
  }

  .mini-card:first-of-type {
    margin-top: 0;
  }

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .related-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .main-nav {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 16px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links,
  .search-box,
  .language-switcher {
    grid-column: 1 / -1;
  }

  .nav-links {
    display: none;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-top: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .search-box {
    display: none;
  }

  .search-box.open {
    display: block;
  }

  .language-switcher {
    display: none;
    width: fit-content;
  }

  .language-switcher.open {
    display: inline-flex;
  }

  .page-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .left-rail {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 260px;
  }

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

  .article-detail {
    padding: 18px;
  }

  .article-detail h1 {
    font-size: 32px;
  }

  .article-summary,
  .article-body p {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .score-strip {
    padding: 0 12px;
  }

  main {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand span:last-child {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .hero-copy {
    padding: 16px;
  }

  .hero-copy h1 {
    font-size: 27px;
  }

  .feature-band {
    padding: 14px;
  }

  .site-footer {
    flex-direction: column;
  }
}
