:root {
  --green: #009270;
  --green-dark: #006f55;
  --green-deep: #005942;
  --green-bright: #15b884;
  --green-soft: #e5f6f1;
  --green-wash: #f3fbf8;
  --red: #e61b2a;
  --blue: #0b67b2;
  --amber: #f5a623;
  --ink: #202a33;
  --muted: #66737f;
  --line: #dfe5e8;
  --bg: #f4f7f8;
  --card: #ffffff;
  --soft: #f8fafb;
  --shadow: 0 10px 28px rgba(23, 42, 57, 0.08);
  --shadow-soft: 0 4px 14px rgba(23, 42, 57, 0.06);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(0, 146, 112, 0.08), transparent 22%),
    linear-gradient(180deg, #f7fbfc 0, var(--bg) 360px, #f8fafb 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

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

.topbar {
  background: linear-gradient(90deg, var(--green-deep), var(--green), #008365);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0, 60, 46, 0.18);
}

.topbar-inner,
.container {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
  font-size: 26px;
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 2px rgba(0, 146, 112, 0.2);
  font-size: 13px;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  right: -1px;
  top: 3px;
  border-radius: 50%;
  background: #33ff99;
  box-shadow: 0 0 0 4px rgba(51, 255, 153, 0.18);
}

.nav {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow: auto;
  scrollbar-width: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

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

.nav a {
  opacity: 0.95;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #dff8ef;
}

.nav a {
  padding: 19px 0;
}

.subnav {
  position: sticky;
  top: 58px;
  z-index: 19;
  border-bottom: 1px solid rgba(0, 111, 85, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(23, 42, 57, 0.06);
  backdrop-filter: blur(12px);
}

.subnav-inner {
  width: min(1240px, calc(100% - 28px));
  min-height: 46px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar {
  display: none;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #425160;
  font-size: 12px;
  font-weight: 800;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.subnav a:hover,
.subnav a[aria-current="page"] {
  color: var(--green-dark);
  border-color: rgba(0, 146, 112, 0.24);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.search-label {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
}

.ticker {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 229, 232, 0.9);
  backdrop-filter: blur(10px);
}

.ticker-grid {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  gap: 10px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.ticker-grid::-webkit-scrollbar {
  height: 6px;
}

.ticker-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 146, 112, 0.28);
}

.ticker-card {
  flex: 0 0 238px;
  min-height: 110px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff, #fbfdfd);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.ticker-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--green);
}

.ticker-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 146, 112, 0.28);
  box-shadow: 0 12px 26px rgba(23, 42, 57, 0.12);
}

.ticker-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.live {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 22px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  position: relative;
  overflow: hidden;
}

.live::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

.ticker-teams {
  margin-top: 7px;
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
}

.ticker-teams span,
.team-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.flag {
  width: 18px;
  height: 13px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.flag.ban { background: radial-gradient(circle at 52% 50%, #f42a41 0 27%, transparent 28%), #006a4e; }
.flag.sl { background: linear-gradient(90deg, #ffb700 0 22%, #006a44 22% 38%, #f36c21 38% 54%, #8d153a 54%); }
.flag.ind { background: linear-gradient(#ff9933 0 33%, #fff 33% 66%, #138808 66%); }
.flag.aus { background: linear-gradient(135deg, #012169 0 48%, #1c6b41 48%); }
.flag.eng { background: linear-gradient(90deg, transparent 0 40%, #ce1124 40% 60%, transparent 60%), linear-gradient(transparent 0 38%, #ce1124 38% 62%, transparent 62%), #fff; }
.flag.pak { background: radial-gradient(circle at 62% 50%, #fff 0 18%, transparent 19%), linear-gradient(90deg, #fff 0 25%, #01411c 25%); }

.ticker-status {
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.ticker-pill {
  display: inline-grid;
  place-items: center;
  min-width: 62px;
  height: 22px;
  border-radius: 4px;
  background: #edf3f5;
  color: #52616f;
  font-size: 10px;
  font-weight: 900;
}

.api-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
}

.score-title-row .api-state {
  background: var(--green-soft);
  color: var(--green-dark);
}

.api-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.api-state-ok::before {
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(21, 184, 132, 0.14);
}

.api-state-warn::before {
  background: var(--amber);
}

.page {
  padding: 14px 0 36px;
}

.score-spotlight {
  min-height: 250px;
  margin-bottom: 14px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px 290px;
  align-items: end;
  gap: 24px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(0, 111, 85, 0.22);
  background:
    linear-gradient(90deg, rgba(0, 45, 35, 0.96) 0%, rgba(0, 86, 67, 0.82) 42%, rgba(0, 86, 67, 0.18) 100%),
    url("images/cricket-stadium-score-hero.png") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #dff8ef;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.spotlight-copy h2 {
  max-width: 660px;
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
}

.spotlight-copy p {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.primary-pill,
.secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.primary-pill {
  background: #fff;
  color: var(--green-dark);
}

.secondary-pill {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
}

.spotlight-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero-score-panel {
  align-self: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(3, 18, 24, 0.48);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.hero-panel-top,
.hero-panel-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-panel-top {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.hero-panel-match {
  margin-top: 14px;
  color: #dff8ef;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel-score {
  margin-top: 7px;
}

.hero-panel-score span {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.hero-panel-score small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.hero-panel-bar {
  height: 8px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-panel-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18c98b, #ffd166);
}

.hero-panel-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.spotlight-stats div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.spotlight-stats strong,
.spotlight-stats span {
  display: block;
}

.spotlight-stats strong {
  font-size: 24px;
  line-height: 1;
}

.spotlight-stats span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1.3;
}

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

.block,
.score-header,
.match-card,
.content-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.score-header {
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(23, 42, 57, 0.08);
}

.block {
  margin-bottom: 14px;
  overflow: hidden;
}

.block-title {
  padding: 15px 14px 11px;
  background: #fff;
  color: #101820;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: none;
  border-bottom: 1px solid #eef1f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.block-title::after {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.menu-list {
  padding: 8px;
}

.menu-item,
.rank-row,
.legal-list li {
  border-bottom: 1px solid #eef1f3;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  color: #293744;
  font-size: 13px;
  border-radius: 8px;
  border-bottom: 0;
  transition: background 0.16s ease, color 0.16s ease;
}

.menu-item:hover,
.menu-item:first-child {
  color: var(--green-dark);
  background: var(--green-soft);
}

.menu-item:last-child,
.rank-row:last-child,
.legal-list li:last-child {
  border-bottom: 0;
}

.count {
  min-width: 28px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.score-title-row {
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e6eaed;
  background:
    linear-gradient(135deg, #ffffff, #f5fbf8);
}

.page-title {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.page-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.scorechat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: #fff;
  color: var(--green-dark);
  border: 1px solid #b7e4d6;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 146, 112, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.scorechat-badge:hover,
.primary-pill:hover,
.secondary-pill:hover,
.action-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(23, 42, 57, 0.12);
}

.tabs,
.date-row {
  display: flex;
  align-items: center;
  overflow: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar,
.date-row::-webkit-scrollbar {
  display: none;
}

.tabs {
  gap: 18px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid #e6eaed;
}

.tab {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 15px 0 12px;
  color: #4f5f6e;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 3px solid transparent;
}

.tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.date-row {
  gap: 8px;
  padding: 14px 20px;
  background: var(--soft);
  border-top: 0;
}

.date-chip {
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: #536271;
  background: #fff;
  font-size: 13px;
  border-radius: 7px;
}

.date-chip.active {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: var(--green);
  font-weight: 800;
}

.match-card {
  margin-top: 12px;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 146, 112, 0.25);
  box-shadow: 0 16px 34px rgba(23, 42, 57, 0.12);
}

.match-head {
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background:
    linear-gradient(90deg, #fff, #f8fbfc);
  border-bottom: 1px solid #e2e6ea;
}

.match-name {
  min-width: 0;
  color: #26313b;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.match-tag {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(135deg, #fff1f2, #ffe5e8);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.match-body {
  padding: 18px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
}

.team-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f2;
}

.team-score:last-child {
  border-bottom: 0;
}

.team-name {
  color: #1f2933;
  font-size: 17px;
  font-weight: 800;
}

.team-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
  line-height: 1.35;
}

.score {
  color: #151f29;
  max-width: 240px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

.match-result {
  color: var(--green);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  margin-top: 11px;
}

.match-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.fact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid #d8e8e2;
  border-radius: 999px;
  background: #f7fcfa;
  color: #455462;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.fact-pill strong {
  color: var(--green-dark);
  font-weight: 900;
}

.mini-ai {
  align-self: stretch;
  padding: 14px;
  border: 1px solid #cfeade;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(242, 251, 247, 0.96), rgba(238, 248, 255, 0.96)),
    url("images/cricket-stadium-score-hero.png") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.mini-ai::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 8px solid rgba(0, 146, 112, 0.08);
}

.mini-ai-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.mini-ai-title::before {
  content: "✦";
  color: var(--green-bright);
  font-size: 16px;
}

.mini-ai-big {
  margin: 9px 0 6px;
  color: #1f2933;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.mini-ai-copy {
  position: relative;
  z-index: 1;
  color: #647382;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-top: 1px solid #e6eaed;
  background: #fafbfc;
  overflow: auto;
  white-space: nowrap;
}

.action-link {
  color: #0b4774;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  border: 1px solid #dce8f0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 42, 57, 0.05);
}

.action-link:last-child {
  border-right: 1px solid #dce8f0;
}

.news-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef1f3;
  transition: background 0.16s ease, transform 0.16s ease;
}

.news-item:hover {
  background: #f7fbf9;
  transform: translateX(2px);
}

.news-thumb {
  min-height: 60px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(0, 111, 85, 0.82), rgba(21, 184, 132, 0.18)),
    url("images/cricket-stadium-score-hero.png") center / cover no-repeat;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.news-title {
  margin: 0;
  color: #1f2933;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
}

.news-meta {
  color: var(--muted);
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px;
}

.news-meta span:first-child {
  color: var(--green-dark);
  font-weight: 900;
}

.news-summary {
  margin: 7px 0 0;
  color: #536271;
  font-size: 13px;
  line-height: 1.45;
}

.news-featured {
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(229, 246, 241, 0.72), rgba(255, 255, 255, 0.96));
}

.news-featured .news-thumb {
  min-height: 118px;
  border-radius: 10px;
}

.news-featured .news-title {
  font-size: 20px;
  line-height: 1.25;
}

.news-source {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.rank-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  color: #25313b;
  font-size: 13px;
}

.rank-points {
  color: var(--green);
  font-weight: 800;
}

.content-card {
  padding: 20px;
  margin: 14px 0 12px;
}

.content-card {
  box-shadow: 0 14px 34px rgba(23, 42, 57, 0.08);
}

.live-data-section {
  margin: 14px 0;
}

.live-data-head {
  margin-bottom: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #ffffff, #f2fbf7);
  box-shadow: var(--shadow-soft);
}

.live-data-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.live-data-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.live-data-head .api-state {
  margin-top: 0;
  flex: 0 0 auto;
  background: var(--green-soft);
  color: var(--green-dark);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.content-card p {
  color: #435260;
  line-height: 1.65;
  margin: 0 0 12px;
}

.content-card ul,
.content-card ol {
  color: #435260;
  line-height: 1.65;
  padding-left: 20px;
}

.warning-box {
  padding: 12px;
  margin: 14px 0;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  color: #1f5144;
  line-height: 1.55;
}

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

.keyword-card {
  padding: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff, var(--soft));
  border-radius: 10px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.keyword-card strong::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green-bright);
}

.keyword-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.keyword-card strong {
  display: block;
  margin-bottom: 5px;
}

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

.blog-card {
  min-height: 230px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.82)),
    url("images/cricket-stadium-score-hero.png") center / cover no-repeat;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--amber));
}

.blog-card h2,
.blog-card h3 {
  margin: 0 0 10px;
  color: #14202a;
  font-size: 22px;
  line-height: 1.16;
}

.blog-card p {
  color: #445462;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.blog-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 146, 112, 0.1);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

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

.article-hero {
  padding: 28px;
  border: 1px solid rgba(0, 111, 85, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(115deg, rgba(0, 54, 42, 0.96), rgba(0, 146, 112, 0.72)),
    url("images/cricket-stadium-score-hero.png") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.article-hero .page-title {
  color: #fff;
  max-width: 820px;
}

.article-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}

.article-body {
  padding: 26px;
}

.article-body h2 {
  margin-top: 24px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.toc-card {
  position: sticky;
  top: 116px;
}

.toc-card .menu-item:first-child {
  background: transparent;
  color: #293744;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 18px;
}

.footer-inner {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--green-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .ticker-grid {
    width: min(100% - 24px, 1240px);
  }

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

  .score-spotlight {
    grid-template-columns: 1fr 250px;
  }

  .hero-score-panel {
    grid-column: 1 / -1;
  }

  .left-col,
  .right-col {
    display: none;
  }
}

@media (max-width: 680px) {
  .subnav {
    top: 112px;
  }

  .subnav-inner {
    min-height: 42px;
  }

  .topbar-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .brand {
    min-width: auto;
    font-size: 25px;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    gap: 22px;
    font-size: 14px;
  }

  .nav a {
    padding: 6px 0;
  }

  .search-label {
    display: none;
  }

  .ticker-grid {
    width: min(100% - 20px, 1240px);
  }

  .ticker-card {
    flex-basis: 252px;
  }

  .page {
    padding-top: 10px;
  }

  .score-spotlight {
    min-height: 0;
    padding: 22px 18px;
    border-radius: 12px;
    background:
      linear-gradient(180deg, rgba(0, 54, 42, 0.95), rgba(0, 90, 70, 0.78)),
      url("images/cricket-stadium-score-hero.png") center / cover no-repeat;
  }

  .hero-score-panel {
    grid-column: auto;
  }

  .spotlight-copy h2 {
    font-size: 28px;
  }

  .spotlight-copy p {
    font-size: 14px;
  }

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

  .spotlight-stats div {
    min-height: 70px;
    padding: 10px 8px;
  }

  .score-title-row,
  .match-body,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .score-title-row {
    display: grid;
    padding: 20px 20px 16px;
  }

  .page-title {
    font-size: 30px;
  }

  .scorechat-badge {
    justify-content: center;
  }

  .tabs {
    gap: 22px;
    padding: 0 20px;
  }

  .tab {
    font-size: 14px;
  }

  .date-row {
    padding: 14px 20px;
  }

  .match-head {
    align-items: flex-start;
  }

  .match-body {
    gap: 16px;
  }

  .team-name {
    font-size: 18px;
  }

  .score {
    max-width: 150px;
    font-size: 22px;
  }

  .mini-ai-big {
    font-size: 30px;
  }

  .live-data-head {
    display: grid;
  }

  .mini-ai {
    padding: 14px;
  }

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

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

  .news-featured {
    grid-template-columns: 1fr;
  }

  .news-featured .news-thumb {
    min-height: 150px;
  }

  .content-card {
    padding: 22px 20px;
  }

  .content-card h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .content-card p,
  .content-card li {
    font-size: 16px;
  }
}
