* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --page-bg: #f3f7fb;
  --card-bg: #ffffff;
  --text-main: #0b1220;
  --text-muted: #243447;
  --heading: #020617;
  --link: #0047b3;
  --link-hover: #002f7a;
  --border: #b8c4d4;
  --soft-border: #d4deea;
  --accent: #ffb000;
  --accent-soft: #fff4cf;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  color: var(--text-main);
  background: var(--page-bg);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: 19px;
  line-height: 1.74;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 22px 64px;
}

header,
section,
nav {
  border-bottom: 1px solid var(--soft-border);
  padding: 26px 0;
}

header,
section {
  background: var(--card-bg);
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin: 18px 0;
  padding: 28px 30px;
}

h1 {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h2 {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

h3 {
  margin: 22px 0 10px;
  color: var(--heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.24;
}

p {
  margin: 0 0 15px;
  max-width: 820px;
}

ul,
ol {
  margin: 0;
  padding-left: 26px;
}

li {
  margin: 10px 0;
  color: var(--text-main);
}

a {
  color: var(--link);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
  background: var(--accent-soft);
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

code {
  background: #eef4fb;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #07111f;
  padding: 2px 6px;
}

pre {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fbff;
  color: #07111f;
  padding: 18px;
}

.entry-list,
.match-list {
  padding-left: 0;
  list-style-position: inside;
}

.entry-list li,
.match-list li {
  margin: 16px 0;
  padding: 18px 20px;
  background: #f8fbff;
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  border-radius: 14px;
}

.match-list a,
.entry-list a {
  display: inline;
  font-size: 21px;
  line-height: 1.36;
}

.match-list p,
.note {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.58;
}

.answer {
  font-size: 22px;
  line-height: 1.58;
  color: var(--heading);
  font-weight: 700;
  background: var(--accent-soft);
  border-left: 6px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
}

.breadcrumb {
  border-bottom: 0;
  padding: 0 0 10px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 700;
}

.breadcrumb ol {
  padding-left: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li + li::before {
  content: " / ";
  color: #334155;
}

.implementation-note {
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  border-radius: 14px;
  padding: 18px 20px;
  background: #f8fbff;
}

@media (max-width: 620px) {
  body {
    font-size: 18px;
  }

  main {
    padding: 22px 14px 48px;
  }

  header,
  section {
    border-radius: 14px;
    margin: 14px 0;
    padding: 22px 18px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 25px;
  }

  .match-list a,
  .entry-list a {
    font-size: 19px;
  }
}

/* MATCH_NEWS_HOME_V2_START */
.match-news-home main {
  max-width: 1180px;
  padding: 24px 18px 56px;
}

.match-news-home header,
.match-news-home section,
.match-news-home nav {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--soft-border);
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 24px 0;
}

.match-news-home header {
  padding-top: 8px;
}

.match-news-home h1,
.match-news-home h2 {
  letter-spacing: 0;
}

.match-news-home h1 {
  font-size: 46px;
  line-height: 1.08;
  margin-bottom: 12px;
}

.match-news-home h2 {
  font-size: 29px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.match-news-home p {
  max-width: none;
}

.match-news-home .kicker {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.match-news-home .answer {
  font-size: 21px;
  line-height: 1.5;
  border-radius: 8px;
  padding: 14px 16px;
}

.match-news-home .intro-points,
.match-news-home .search-grid,
.match-news-home .league-grid,
.match-news-home .footer-links,
.match-news-home .search-question-list,
.match-news-home .mini-list {
  list-style: none;
  padding: 0;
}

.match-news-home .intro-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}

.match-news-home .intro-points li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--soft-border);
  border-radius: 8px;
  background: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.match-news-home .search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 14px 0 0;
}

.match-news-home .search-grid li,
.match-news-home .league-grid li {
  margin: 0;
}

.match-news-home .search-tile,
.match-news-home .league-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  text-decoration: none;
}

.match-news-home .search-tile .tile-label {
  display: block;
  font-size: 18px;
  line-height: 1.3;
}

.match-news-home .search-tile .tile-note {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.match-news-home .match-list.compact-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.match-news-home .match-list.compact-list li {
  margin: 0 0 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 0;
  border-radius: 8px;
}

.match-news-home .match-list.compact-list a {
  font-size: 19px;
  line-height: 1.34;
}

.match-news-home .match-list.compact-list p,
.match-news-home .match-meta {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.match-news-home .league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 14px 0 0;
}

.match-news-home .league-card-link {
  font-size: 19px;
  line-height: 1.32;
}

.match-news-home .league-card p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.match-news-home .mini-list {
  margin: 12px 0 0;
}

.match-news-home .mini-list li {
  margin: 10px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.match-news-home .mini-list a {
  font-size: 16px;
  line-height: 1.4;
}

.match-news-home .search-question-list {
  margin: 8px 0 0;
}

.match-news-home .search-question-list li {
  margin: 10px 0;
  padding-left: 18px;
  position: relative;
}

.match-news-home .search-question-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--link);
}

.match-news-home .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 10px;
}

.match-news-home .footer-links li {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

@media (max-width: 620px) {
  .match-news-home main {
    padding: 18px 14px 42px;
  }

  .match-news-home header,
  .match-news-home section,
  .match-news-home nav {
    padding: 18px 0;
  }

  .match-news-home h1 {
    font-size: 36px;
  }

  .match-news-home h2 {
    font-size: 24px;
  }

  .match-news-home .answer {
    font-size: 19px;
  }
}
/* MATCH_NEWS_HOME_V2_END */

/* MATCH_NEWS_HOME_ENGAGEMENT_START */
.match-news-home .section-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.match-news-home .section-heading-row h2,
.match-news-home .section-heading-row .kicker {
  margin-bottom: 0;
}

.match-news-home .section-cta {
  flex: 0 0 auto;
  display: inline-block;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
}

.match-news-home .spotlight-grid,
.match-news-home .guide-grid,
.match-news-home .faq-list {
  margin: 14px 0 0;
}

.match-news-home .spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.match-news-home .spotlight-grid li,
.match-news-home .guide-card,
.match-news-home .faq-list details {
  margin: 0;
  padding: 15px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.match-news-home .spotlight-grid a {
  display: block;
  font-size: 18px;
  line-height: 1.32;
}

.match-news-home .spotlight-grid span,
.match-news-home .guide-card p,
.match-news-home .faq-list p {
  display: block;
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.match-news-home .guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.match-news-home .guide-card strong {
  color: var(--heading);
  font-size: 17px;
}

.match-news-home .faq-list {
  display: grid;
  gap: 10px;
}

.match-news-home .faq-list summary {
  color: var(--heading);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 620px) {
  .match-news-home .section-heading-row {
    display: block;
  }

  .match-news-home .section-cta {
    margin-top: 10px;
  }
}
/* MATCH_NEWS_HOME_ENGAGEMENT_END */

/* MATCH_INTELLIGENCE_QUERY_RESOLUTION_START */
.ai-answer-box,
.last-24h-change {
  border-left: 8px solid #0047b3;
  background: #f8fbff;
}

.ai-answer-kicker {
  margin: 0 0 8px;
  color: #0047b3;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-answer-direct {
  max-width: 900px;
  color: var(--heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
}

.ai-answer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.ai-answer-grid div {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--soft-border);
  border-radius: 12px;
  background: #ffffff;
}

.ai-answer-grid dt {
  margin: 0 0 6px;
  color: #0047b3;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-answer-grid dd {
  margin: 0;
  color: var(--text-main);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.48;
}

.last-24h-change ul {
  padding-left: 22px;
}

.last-24h-change li {
  font-weight: 700;
}
/* MATCH_INTELLIGENCE_QUERY_RESOLUTION_END */
