:root {
  --red: #f20d19;
  --red-dark: #dc0813;
  --green: #19b536;
  --text: #101116;
  --muted: #7b7f89;
  --border: #e7e8eb;
  --soft-border: #eeeeef;
  --bg: #f6f7f8;
  --card: #fff;
  --shadow: 0 3px 18px rgba(18, 22, 33, .045);
  --radius: 13px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f7f8f9 0, #fff 760px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.topbar__inner {
  width: min(1370px, calc(100% - 64px));
  height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 290px 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2.4px;
  line-height: 1;
}
.brand__red { color: #ef111d; }
.brand__black { color: #111216; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}
.main-nav > a { transition: color .18s ease; }
.main-nav > a:hover, .main-nav > a.is-active { color: var(--red); }
.main-nav__live { color: var(--red); display: inline-flex; align-items: center; gap: 9px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; flex: none; }
.live-dot--green { width: 7px; height: 7px; background: var(--green); }
.live-count {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 29px;
  padding: 0 7px;
  border-radius: 7px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}
.top-actions { display: flex; gap: 20px; align-items: center; }
.icon-button {
  width: 42px; height: 42px; border: 0; background: transparent; padding: 7px; cursor: pointer;
}
.icon-button svg { width: 100%; height: 100%; fill: none; stroke: #11151b; stroke-width: 1.8; stroke-linecap: round; }
.icon-button--user { border: 1px solid #b8bdc6; border-radius: 50%; padding: 8px; }
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); transition: .18s ease; }
.search-panel.is-open { opacity: 1; transform: translateY(0); }
.search-panel__form { width: min(900px, calc(100% - 40px)); margin: 18px auto; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
.search-panel input { border: 1px solid #d9dce2; border-radius: 10px; padding: 13px 16px; outline: none; }
.search-panel input:focus { border-color: #aeb3bd; }
.search-panel button[type="submit"] { border: 0; color: #fff; background: var(--red); border-radius: 10px; padding: 0 24px; font-weight: 800; cursor: pointer; }
.search-panel__close { border: 0; background: transparent; font-size: 30px; cursor: pointer; }

.page-shell { width: min(1378px, calc(100% - 64px)); margin: 22px auto 60px; }
.sports-nav {
  height: 57px;
  padding: 0 34px;
  display: flex;
  align-items: stretch;
  gap: 50px;
  background: #fff;
  border: 1px solid var(--soft-border);
  border-radius: 9px;
  box-shadow: var(--shadow);
  margin-bottom: 13px;
}
.sports-nav__item { position: relative; display: flex; align-items: center; gap: 10px; min-width: 115px; justify-content: center; font-size: 16px; }
.sports-nav__item.is-active { color: var(--red); }
.sports-nav__item.is-active::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: -1px; background: var(--red); border-radius: 3px; }
.sports-nav__icon { font-size: 24px; filter: saturate(.95); }
.sports-nav__item.is-disabled { cursor: default; color: #17181d; }

.home-grid, .content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 438px; gap: 34px; align-items: start; }
.home-main { min-width: 0; }
.matches-panel, .content-card, .news-sidebar, .latest-news {
  background: #fff;
  border: 1px solid var(--soft-border);
  box-shadow: var(--shadow);
  border-radius: 12px;
}
.matches-panel { padding: 17px 22px 16px; }
.matches-panel__top { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin-bottom: 7px; padding: 0 7px; }
.matches-panel__top h1 { margin: 0; font-size: 21px; letter-spacing: .1px; }
.date-switcher { display: flex; align-items: center; gap: 11px; font-size: 16px; }
.date-switcher > a:first-child, .date-switcher > a:last-child { font-size: 28px; line-height: 1; }
.date-switcher__divider { width: 1px; height: 24px; background: #dddfe3; }
.date-switcher .is-current { color: var(--red); font-weight: 800; }

.league-card { overflow: hidden; border: 1px solid #e1e3e7; border-radius: 12px; margin-top: 12px; background: #fff; }
.league-card__header { min-height: 51px; padding: 0 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #e8e9ec; }
.league-card__header strong { display: block; font-size: 15.5px; }
.league-card__header small { color: var(--muted); font-size: 11px; margin-top: 2px; display: block; }
.league-mark { width: 29px; height: 29px; display: grid; place-items: center; font-size: 23px; }
.league-mark--large { width: 72px; height: 72px; border-radius: 18px; background: #f6f7f8; font-size: 38px; }
.league-card__live { margin-left: auto; color: #12aa31; font-size: 13px; font-weight: 750; display: inline-flex; align-items: center; gap: 7px; }
.league-card__chevron { margin-left: auto; font-size: 27px; color: #585c64; }
.match-row {
  display: grid;
  grid-template-columns: 155px minmax(170px, 1fr) 125px minmax(170px, 1fr) 26px;
  align-items: center;
  min-height: 55px;
  padding: 0 18px;
  border-top: 1px solid #eceef0;
  transition: background .15s ease;
}
.league-card__matches .match-row:first-child { border-top: 0; }
.match-row:hover { background: #fafafa; }
.match-row__state { font-size: 14px; color: #23262c; }
.match-row__state.is-live { color: var(--green); font-weight: 800; }
.match-row__team { min-width: 0; display: flex; align-items: center; gap: 13px; }
.match-row__team span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-row__score { text-align: center; font-size: 18px; font-weight: 850; letter-spacing: 3px; }
.match-row__score.is-live { color: #13a931; }
.match-row__arrow { font-size: 27px; color: #5d6169; text-align: right; }
.team-badge { flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, hsl(var(--team-hue) 75% 42%), hsl(calc(var(--team-hue) + 38deg) 75% 55%)); color: #fff; border: 2px solid rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(0,0,0,.08), inset 0 -8px 12px rgba(0,0,0,.12); font-weight: 900; letter-spacing: -.6px; }
.team-badge--sm { width: 31px; height: 31px; font-size: 9px; }
.team-badge--md { width: 42px; height: 42px; font-size: 11px; }
.team-badge--lg { width: 82px; height: 82px; font-size: 20px; border-width: 4px; }

.news-sidebar { padding: 19px 14px 20px; }
.news-sidebar .section-title { font-size: 16px; margin: 3px 9px 21px; }
.lead-story { position: relative; min-height: 265px; display: block; overflow: hidden; border-radius: 11px; margin: 0 0 17px; color: #fff; }
.lead-story__visual { position: absolute; inset: 0; display: grid; place-items: center; font-size: 126px; opacity: .62; transform: translateX(24%); }
.lead-story__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,15,.92) 0%, rgba(5,8,15,.68) 44%, rgba(5,8,15,.1) 100%); }
.lead-story .story-tag { position: absolute; z-index: 3; top: 22px; left: 16px; }
.lead-story__content { position: absolute; left: 16px; right: 20px; bottom: 25px; z-index: 3; max-width: 280px; }
.lead-story__content h3 { margin: 0 0 23px; font-size: 20px; line-height: 1.4; }
.lead-story__content time { font-size: 12px; color: rgba(255,255,255,.85); }
.story-tag { display: inline-block; width: max-content; background: var(--red); color: #fff; font-size: 10px; font-weight: 850; padding: 5px 8px; border-radius: 5px; }
.news-sidebar__list { display: flex; flex-direction: column; }
.side-news-item { display: grid; grid-template-columns: 117px 1fr 86px; align-items: center; gap: 14px; min-height: 105px; padding: 10px 0; border-top: 1px solid #e5e6e9; }
.side-news-item:first-child { border-top: 0; }
.side-news-item__thumb { height: 79px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; font-size: 35px; }
.side-news-item__title { font-size: 13.5px; line-height: 1.45; font-weight: 560; }
.side-news-item time { color: var(--muted); font-size: 11px; text-align: right; }
.news-art--hero { background: radial-gradient(circle at 76% 35%, #b47c5b 0 8%, transparent 9%), linear-gradient(125deg,#0c1726,#3a5465 54%,#956e51); }
.news-art--player { background: linear-gradient(135deg,#9b161c,#d82d30 42%,#111924 43%,#364658); }
.news-art--cup { background: radial-gradient(circle at 50% 35%,#e8c762 0 7%,transparent 8%), linear-gradient(135deg,#051065,#182bc8 55%,#090f57); }
.news-art--league { background: radial-gradient(circle at 25% 65%,#5db5ed 0 9%,transparent 10%), linear-gradient(135deg,#18387c,#1d7da6,#101f56); }
.news-art--ball { background: radial-gradient(circle at 63% 48%,#f4f5f6 0 12%,#bec7d1 13% 17%,transparent 18%), linear-gradient(135deg,#314c69,#8bb1ca 53%,#244059); }

.latest-news { margin-top: 12px; padding: 14px 16px 16px; }
.section-heading-row { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.section-heading-row h2 { margin: 0; font-size: 15.5px; display: flex; align-items: center; gap: 9px; }
.section-heading-row h2 > span { width: 3px; height: 17px; background: var(--red); display: inline-block; border-radius: 2px; }
.section-heading-row > a { font-size: 12px; }
.news-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.news-card { border: 1px solid #e4e5e8; border-radius: 8px; overflow: hidden; min-width: 0; }
.news-card__image { position: relative; height: 105px; display: grid; place-items: center; overflow: hidden; }
.news-card__symbol { font-size: 49px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.2)); }
.news-card__image .story-tag { position: absolute; left: 7px; bottom: 7px; }
.news-card h3 { margin: 8px 9px 6px; min-height: 55px; font-size: 12.5px; line-height: 1.38; font-weight: 570; }
.news-card time { display: block; color: var(--muted); font-size: 10px; padding: 0 9px 9px; }

.content-card { padding: 23px; min-width: 0; }
.page-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-title-row h1 { margin: 3px 0 0; font-size: 24px; }
.eyebrow { color: var(--red); font-size: 11px; font-weight: 850; letter-spacing: .8px; }
.status-tabs { display: flex; background: #f4f5f6; padding: 4px; border-radius: 9px; gap: 2px; }
.status-tabs a { padding: 9px 12px; border-radius: 7px; font-size: 12px; font-weight: 700; }
.status-tabs a.is-active { background: #fff; color: var(--red); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.status-tabs b { background: var(--red); color: #fff; padding: 1px 6px; border-radius: 5px; margin-left: 4px; }
.db-warning { margin: 12px 0; padding: 12px 14px; background: #fff8e7; border: 1px solid #f0dfa9; border-radius: 9px; display: flex; gap: 8px; flex-direction: column; font-size: 12px; line-height: 1.5; }
.db-warning code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.empty-state { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #636873; text-align: center; }
.empty-state__icon { font-size: 40px; filter: grayscale(1); opacity: .65; }
.empty-state strong { color: #23262d; font-size: 17px; }
.muted-empty { padding: 34px 8px; text-align: center; color: var(--muted); }
.text-link { color: var(--red); font-weight: 750; }

.match-hero { padding-bottom: 17px; }
.match-hero__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); border-bottom: 1px solid #eceef0; padding-bottom: 14px; }
.match-hero__meta a { color: #292d35; font-weight: 700; }
.match-scoreboard { min-height: 235px; display: grid; grid-template-columns: 1fr 190px 1fr; gap: 20px; align-items: center; padding: 28px 20px; }
.match-team-large { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; font-size: 17px; }
.match-scoreboard__center { text-align: center; }
.match-status { display: inline-flex; min-height: 25px; align-items: center; padding: 0 9px; border-radius: 6px; background: #f0f1f3; color: #595e66; font-size: 11px; font-weight: 850; }
.match-status.is-live { background: #e8f8ec; color: #0b9f2a; }
.match-score { font-size: 47px; font-weight: 900; letter-spacing: 5px; line-height: 1.4; }
.match-scoreboard__center small { color: var(--muted); }
.match-info-strip { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #eceef0; padding-top: 15px; }
.match-info-strip > div { padding: 4px 16px; border-left: 1px solid #eceef0; }
.match-info-strip > div:first-child { border-left: 0; }
.match-info-strip span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 5px; text-transform: uppercase; }
.match-info-strip strong { font-size: 12px; }
.match-section { margin-top: 14px; }
.live-data-label { color: var(--green); display: inline-flex; gap: 6px; align-items: center; font-weight: 800; }
.odds-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.odd-box { border: 1px solid #e3e5e8; background: #fafbfb; border-radius: 9px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; }
.odd-box span { font-size: 12px; color: #666b74; }
.odd-box strong { font-size: 16px; }
.stats-table { display: flex; flex-direction: column; }
.stat-row { padding: 13px 0; border-top: 1px solid #eef0f1; }
.stat-row:first-child { border-top: 0; }
.stat-row__values { display: grid; grid-template-columns: 85px 1fr 85px; text-align: center; font-size: 12px; align-items: center; margin-bottom: 7px; }
.stat-row__values strong:first-child { text-align: left; }
.stat-row__values strong:last-child { text-align: right; }
.stat-row__values span { color: #666a72; }
.stat-bars { height: 5px; display: flex; gap: 3px; border-radius: 5px; overflow: hidden; background: #eee; }
.stat-bars i { background: #20242c; border-radius: 5px 0 0 5px; }
.stat-bars b { background: var(--red); border-radius: 0 5px 5px 0; }
.entity-hero { display: flex; gap: 20px; align-items: center; padding: 5px 0 24px; margin-bottom: 15px; border-bottom: 1px solid #eceef0; }
.entity-hero h1 { margin: 4px 0 7px; font-size: 28px; }
.entity-hero p { margin: 0; color: var(--muted); font-size: 13px; }

.big-search { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 24px; }
.big-search input { border: 1px solid #d8dbe0; padding: 13px 15px; border-radius: 9px; outline: none; }
.big-search button { border: 0; background: var(--red); color: #fff; border-radius: 9px; padding: 0 22px; font-weight: 800; cursor: pointer; }
.search-results { display: grid; gap: 25px; }
.search-block h2 { font-size: 15px; margin: 0 0 9px; }
.search-block > a { min-height: 48px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid #eceef0; font-size: 13px; }
.search-block > a:last-child { border-bottom: 1px solid #eceef0; }
.search-block > p { color: var(--muted); font-size: 12px; }
.mini-ball { font-size: 18px; }
.news-list-page { display: flex; flex-direction: column; }
.news-list-card { display: grid; grid-template-columns: 230px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid #eceef0; }
.news-list-card:first-child { border-top: 0; }
.news-list-card__image { height: 135px; border-radius: 10px; display: grid; place-items: center; font-size: 56px; }
.news-list-card h2 { margin: 8px 0 7px; font-size: 18px; }
.news-list-card p { color: #656a73; font-size: 13px; margin: 0 0 11px; }
.news-list-card time, .article time { color: var(--muted); font-size: 11px; }
.article { max-width: 760px; }
.article h1 { font-size: 32px; line-height: 1.2; margin: 10px 0 8px; }
.article__hero { height: 330px; border-radius: 12px; margin: 20px 0; display: grid; place-items: center; font-size: 110px; }
.article p { font-size: 15px; line-height: 1.7; color: #3f444d; }

.site-footer { margin-top: 55px; border-top: 1px solid #e7e8ea; background: #fff; }
.site-footer__inner { width: min(1378px, calc(100% - 64px)); margin: 0 auto; min-height: 100px; display: flex; justify-content: space-between; align-items: center; color: #747982; font-size: 12px; }
.site-footer__inner > div:first-child { font-size: 23px; font-weight: 900; letter-spacing: -1px; }

@media (max-width: 1180px) {
  .topbar__inner { grid-template-columns: 220px 1fr auto; }
  .brand { font-size: 34px; }
  .main-nav { gap: 22px; font-size: 14px; }
  .home-grid, .content-grid { grid-template-columns: minmax(0,1fr) 350px; gap: 18px; }
  .side-news-item { grid-template-columns: 95px 1fr; }
  .side-news-item time { display: none; }
  .match-row { grid-template-columns: 90px minmax(130px,1fr) 90px minmax(130px,1fr) 20px; }
}

@media (max-width: 900px) {
  .topbar__inner { width: calc(100% - 28px); height: 68px; grid-template-columns: 1fr auto; }
  .brand { font-size: 30px; }
  .main-nav { display: none; }
  .page-shell { width: calc(100% - 24px); margin-top: 12px; }
  .sports-nav { padding: 0 10px; overflow-x: auto; gap: 6px; height: 52px; }
  .sports-nav__item { min-width: 94px; font-size: 13px; }
  .sports-nav__icon { font-size: 20px; }
  .home-grid, .content-grid { grid-template-columns: 1fr; }
  .news-sidebar { order: 2; }
  .matches-panel { padding: 12px 10px; }
  .match-row { grid-template-columns: 68px minmax(110px,1fr) 68px minmax(110px,1fr) 14px; padding: 0 9px; font-size: 12px; }
  .match-row__team { gap: 7px; }
  .team-badge--sm { width: 26px; height: 26px; font-size: 8px; }
  .news-card-grid { grid-template-columns: repeat(2,1fr); }
  .match-scoreboard { grid-template-columns: 1fr 110px 1fr; padding: 24px 4px; }
  .match-score { font-size: 34px; }
  .team-badge--lg { width: 64px; height: 64px; }
  .match-info-strip { grid-template-columns: 1fr; }
  .match-info-strip > div { border-left: 0; border-top: 1px solid #eceef0; padding: 10px 4px; }
  .match-info-strip > div:first-child { border-top: 0; }
  .site-footer__inner { width: calc(100% - 28px); flex-direction: column; justify-content: center; gap: 8px; text-align: center; padding: 20px 0; }
}

@media (max-width: 600px) {
  .top-actions { gap: 7px; }
  .matches-panel__top { align-items: flex-start; gap: 12px; }
  .matches-panel__top h1 { font-size: 17px; }
  .date-switcher { font-size: 13px; gap: 7px; }
  .match-row { grid-template-columns: 56px 1fr 58px 1fr 10px; min-height: 62px; }
  .match-row__team { flex-direction: column; align-items: flex-start; gap: 2px; }
  .match-row__team--away { align-items: flex-start; }
  .team-badge--sm { display: none; }
  .match-row__score { font-size: 14px; letter-spacing: 1px; }
  .news-card-grid { grid-template-columns: 1fr 1fr; }
  .news-card h3 { min-height: 72px; }
  .content-card { padding: 15px; }
  .page-title-row { align-items: flex-start; flex-direction: column; }
  .status-tabs { width: 100%; overflow-x: auto; }
  .odds-grid { grid-template-columns: repeat(2,1fr); }
  .match-scoreboard { grid-template-columns: 1fr 90px 1fr; gap: 6px; }
  .match-team-large { font-size: 12px; }
  .team-badge--lg { width: 50px; height: 50px; font-size: 13px; }
  .match-score { font-size: 26px; letter-spacing: 2px; }
  .news-list-card { grid-template-columns: 1fr; }
  .news-list-card__image { height: 170px; }
  .article h1 { font-size: 25px; }
  .article__hero { height: 220px; }
}
.entity-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.entity-card { min-height: 67px; border: 1px solid #e6e8ea; border-radius: 10px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 9px 13px; transition: background .15s ease, transform .15s ease; }
.entity-card:hover { background: #fafafa; transform: translateY(-1px); }
.entity-card strong { display: block; font-size: 13px; }
.entity-card small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 3px; }

/* Tournament card: main link (-> matches) + secondary link (-> standings table) */
.entity-card--tournament { display: flex; flex-direction: column; padding: 0; gap: 0; }
.entity-card--tournament:hover { background: transparent; transform: none; }
.entity-card__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border-radius: 10px 10px 0 0;
  transition: background .15s ease;
}
.entity-card__main:hover { background: #fafafa; }
.entity-card__main strong { display: block; font-size: 13px; }
.entity-card__main small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 3px; }
.entity-card__chevron { color: var(--muted); }
.entity-card__table-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-top: 1px solid #eeeae5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--muted);
  border-radius: 0 0 10px 10px;
  transition: color .15s ease, background .15s ease;
}
.entity-card__table-link:hover { color: var(--red-dark); background: rgba(226,11,24,.04); }
@media (max-width: 600px) { .entity-grid { grid-template-columns: 1fr; } }


/* ===== VSE.MEDIA live UI / placeholders ===== */

/* Only active sports are shown; keep the bar compact with "Мои" + "Футбол". */
.sports-nav {
  gap: 22px;
}
.sports-nav__item {
  min-width: 135px;
}

/* Neutral placeholder used until real team logos are connected. */
.team-badge {
  background: #f5f6f8;
  border: 1px dashed #c9cdd4;
  box-shadow: none;
  color: #a2a7b0;
}
.team-badge__placeholder {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.team-badge--lg {
  border-width: 1px;
}

/* LIVE must be visually obvious and red. */
.league-card__live,
.match-row__state.is-live,
.match-row__score.is-live,
.match-status.is-live,
.match-score.is-live {
  color: var(--red);
}
.league-card__live .live-dot,
.live-dot--green {
  background: var(--red);
}

.match-row.is-live {
  position: relative;
  background: linear-gradient(90deg, rgba(242,13,25,.045), rgba(242,13,25,0) 48%);
  animation: liveRowGlow 1.8s ease-in-out infinite;
}
.match-row.is-live::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--red);
  animation: liveBarBlink 1.1s ease-in-out infinite;
}
.match-row__state.is-live {
  font-weight: 900;
  animation: liveStateMove 1.1s ease-in-out infinite;
}
.match-row__score.is-live {
  font-weight: 950;
  animation: liveScoreMove 1.05s ease-in-out infinite;
}
.match-status.is-live {
  background: #fff0f1;
  font-weight: 900;
  animation: liveStatusPulse 1.2s ease-in-out infinite;
}
.match-score.is-live {
  animation: liveDetailScore 1.15s ease-in-out infinite;
}

/* Stronger temporary effect when AJAX detects a changed live score. */
.match-row.is-goal-flash {
  z-index: 2;
  animation: goalRowFlash .7s ease-in-out 6;
}
.match-row__score.is-goal-flash,
.match-score.is-goal-flash {
  color: var(--red);
  animation: goalScorePop .52s cubic-bezier(.2,.9,.25,1.35) 8;
}

/* Odds are intentionally placeholders until betting data UI is enabled. */
.odds-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.odd-box--placeholder {
  background: #f7f8f9;
  border-style: dashed;
  border-color: #d7dae0;
  color: #a1a6af;
  min-height: 48px;
}
.odd-box--placeholder span {
  color: #8f949d;
}
.odd-box--placeholder strong {
  color: #b4b8bf;
}
.odds-placeholder__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

@keyframes liveRowGlow {
  0%, 100% { background-color: rgba(242,13,25,0); }
  50% { background-color: rgba(242,13,25,.055); }
}
@keyframes liveBarBlink {
  0%, 100% { opacity: .4; transform: scaleY(.78); }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes liveStateMove {
  0%, 100% { opacity: .65; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3px); }
}
@keyframes liveScoreMove {
  0%, 100% { opacity: .78; transform: scale(1); text-shadow: 0 0 0 rgba(242,13,25,0); }
  50% { opacity: 1; transform: scale(1.08); text-shadow: 0 0 12px rgba(242,13,25,.18); }
}
@keyframes liveStatusPulse {
  0%, 100% { opacity: .72; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}
@keyframes liveDetailScore {
  0%, 100% { transform: scale(1); text-shadow: 0 0 0 rgba(242,13,25,0); }
  50% { transform: scale(1.035); text-shadow: 0 0 18px rgba(242,13,25,.2); }
}
@keyframes goalRowFlash {
  0%, 100% { background: rgba(242,13,25,.035); box-shadow: inset 0 0 0 0 rgba(242,13,25,0); }
  50% { background: rgba(242,13,25,.16); box-shadow: inset 0 0 0 1px rgba(242,13,25,.25); }
}
@keyframes goalScorePop {
  0% { transform: scale(1); }
  45% { transform: scale(1.3) translateY(-2px); }
  100% { transform: scale(1); }
}

@media (max-width: 600px) {
  .odds-placeholder {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .match-row.is-live,
  .match-row.is-live::before,
  .match-row__state.is-live,
  .match-row__score.is-live,
  .match-status.is-live,
  .match-score.is-live,
  .match-row.is-goal-flash,
  .match-row__score.is-goal-flash,
  .match-score.is-goal-flash {
    animation: none !important;
  }
}


/* ===== VSE.MEDIA v3 additions ===== */
.sports-nav__notice {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8a8f98;
  font-size: 11px;
  white-space: nowrap;
}
.sports-nav__notice strong {
  color: #4e535c;
  font-weight: 800;
}
.sports-nav__notice span {
  color: #9a9fa7;
}

/* The live minute is a real client-side running clock between parser updates. */
[data-live-clock="1"] {
  min-width: 48px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.2px;
}
.match-status[data-live-clock="1"] {
  justify-content: center;
  min-width: 58px;
}

.match-information {
  padding-top: 18px;
  padding-bottom: 18px;
}
.match-information__notice {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fafbfc;
  color: #6c717a;
  font-size: 12px;
  line-height: 1.55;
}
.match-information__notice::before {
  content: "i";
  position: absolute;
  left: 14px;
  top: 13px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef0f3;
  color: #686e77;
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .sports-nav__notice {
    margin-left: 8px;
    padding-right: 12px;
  }
}

@media (max-width: 600px) {
  .sports-nav__notice {
    min-width: 225px;
    white-space: normal;
    line-height: 1.25;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
  }
}

/* ===== VSE.MEDIA v4 — premium light editorial skin ===== */
:root {
  --red: #e20b18;
  --red-dark: #b80712;
  --text: #141418;
  --muted: #747780;
  --border: #e7e4df;
  --soft-border: #eeeae5;
  --bg: #f4f2ef;
  --card: rgba(255,255,255,.94);
  --shadow: 0 16px 46px rgba(37,31,25,.07), 0 2px 8px rgba(37,31,25,.035);
  --shadow-soft: 0 8px 26px rgba(37,31,25,.055);
  --radius: 18px;
  --ink-soft: #26262b;
  --warm: #faf9f7;
}

html { background: #f4f2ef; }
body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 11% -8%, rgba(226,11,24,.055), transparent 27%),
    radial-gradient(circle at 89% 5%, rgba(16,16,18,.035), transparent 24%),
    linear-gradient(180deg, #f8f7f5 0, #f2f0ed 380px, #f7f6f4 100%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -.01em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(rgba(0,0,0,.12) .55px, transparent .55px);
  background-size: 15px 15px;
  mask-image: linear-gradient(to bottom, #000, transparent 36%);
  z-index: -1;
}

.topbar {
  background: rgba(250,249,247,.86);
  border-bottom: 1px solid rgba(208,204,198,.7);
  box-shadow: 0 8px 30px rgba(31,27,24,.035);
  backdrop-filter: blur(20px) saturate(1.15);
}
.topbar__inner {
  height: 82px;
}
.brand {
  position: relative;
  font-size: 39px;
  letter-spacing: -2.6px;
  font-weight: 950;
}
.brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), #ff4751);
  box-shadow: 0 5px 14px rgba(226,11,24,.25);
}
.main-nav {
  gap: 38px;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: .035em;
}
.main-nav > a {
  position: relative;
  padding: 9px 0;
}
.main-nav > a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 1px;
  height: 2px;
  border-radius: 10px;
  background: var(--red);
  transition: left .18s ease, right .18s ease;
}
.main-nav > a:hover::after,
.main-nav > a.is-active::after { left: 0; right: 0; }
.main-nav__live::after { display: none; }
.live-count {
  min-width: 31px;
  height: 27px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f01524, #c80612);
  box-shadow: 0 6px 18px rgba(226,11,24,.18);
}
.live-dot { box-shadow: 0 0 0 5px rgba(226,11,24,.08); }
.icon-button {
  width: 40px; height: 40px;
  border-radius: 12px;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.icon-button:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(24,22,20,.07);
}
.icon-button--user { border-color: #d1cdc8; background: rgba(255,255,255,.66); }
.search-panel { background: rgba(250,249,247,.98); }
.search-panel input {
  border-color: #ddd8d2;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.025);
}
.search-panel button[type="submit"] {
  background: linear-gradient(135deg, #ef1220, #c50813);
  box-shadow: 0 8px 22px rgba(226,11,24,.15);
}

.page-shell { margin-top: 24px; }
.sports-nav {
  height: 62px;
  padding: 0 18px;
  gap: 8px;
  border-radius: 18px;
  border: 1px solid rgba(222,218,212,.9);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.sports-nav__item {
  min-width: 132px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 780;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.sports-nav__item:hover { background: #faf8f6; transform: translateY(-1px); }
.sports-nav__item.is-active {
  color: #fff;
  background: linear-gradient(135deg, #1f2025, #0e0e11);
  box-shadow: 0 8px 18px rgba(16,16,18,.12);
}
.sports-nav__item.is-active::after { display: none; }
.sports-nav__icon { font-size: 20px; }
.sports-nav__notice {
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid #ece7e1;
  border-radius: 12px;
  background: #faf9f7;
  gap: 6px;
}
.sports-nav__notice strong { color: #292a2e; }
.sports-nav__notice span { color: #898b92; }

.home-grid, .content-grid { gap: 28px; }
.matches-panel, .content-card, .news-sidebar, .latest-news {
  border: 1px solid rgba(221,217,211,.9);
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.matches-panel { padding: 20px 20px 18px; }
.matches-panel__top {
  min-height: 55px;
  margin-bottom: 8px;
  padding: 0 8px;
}
.matches-panel__top h1,
.page-title-row h1 {
  letter-spacing: -.045em;
  font-weight: 920;
}
.matches-panel__top h1 { font-size: 22px; }
.date-switcher {
  padding: 7px 9px;
  border: 1px solid #ebe7e2;
  border-radius: 13px;
  background: #faf9f7;
  gap: 10px;
}
.date-switcher > a:first-child,
.date-switcher > a:last-child {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 9px;
  font-size: 20px;
  transition: background .18s ease;
}
.date-switcher > a:first-child:hover,
.date-switcher > a:last-child:hover { background: #fff; }
.date-switcher .is-current { color: var(--red); }

.league-card {
  border-color: #e5e1dc;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(32,28,24,.035);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.league-card:hover {
  transform: translateY(-1px);
  border-color: #dcd6cf;
  box-shadow: 0 12px 30px rgba(32,28,24,.06);
}
.league-card__header {
  min-height: 58px;
  padding: 0 18px;
  background: linear-gradient(180deg, #fff, #fcfbfa);
}
.league-card__header strong { font-size: 15px; letter-spacing: -.015em; }
.league-card__header small { font-size: 10.5px; letter-spacing: .025em; text-transform: uppercase; }
.league-mark {
  width: 34px; height: 34px;
  border: 1px solid #ebe6e0;
  border-radius: 11px;
  background: #faf8f5;
  font-size: 18px;
}
.league-card__live {
  padding: 6px 10px;
  border: 1px solid rgba(226,11,24,.14);
  border-radius: 999px;
  background: rgba(226,11,24,.045);
  font-size: 11px;
  letter-spacing: .06em;
}

.match-row {
  position: relative;
  min-height: 62px;
  padding: 0 16px;
  border-top-color: #efebe7;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.match-row:hover {
  z-index: 1;
  background: #fbfaf8;
  transform: translateX(2px);
  box-shadow: inset 3px 0 0 #202126;
}
.match-row.is-live:hover { box-shadow: inset 3px 0 0 var(--red); }
.match-row__state {
  color: #676a72;
  font-size: 13px;
  font-weight: 690;
  font-variant-numeric: tabular-nums;
}
.match-row__state.is-live {
  width: max-content;
  min-width: 48px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff0f1;
  border: 1px solid rgba(226,11,24,.11);
  color: var(--red);
  font-weight: 900;
}
.match-row__team { gap: 11px; font-weight: 680; }
.match-row__team span:last-child { color: #222328; }
.match-row__score {
  font-size: 17px;
  font-weight: 920;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.match-row__arrow {
  color: #b0aba5;
  transition: transform .18s ease, color .18s ease;
}
.match-row:hover .match-row__arrow { transform: translateX(2px); color: #25262a; }
.team-badge {
  background: linear-gradient(145deg, #fbfaf8, #f0ede9);
  border: 1px solid #ddd8d2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 4px 10px rgba(39,34,29,.05);
  color: #a29c95;
}
.team-badge--sm { width: 32px; height: 32px; }
.team-badge--md { width: 44px; height: 44px; }
.team-badge--lg { width: 86px; height: 86px; }

.news-sidebar { padding: 20px 16px 22px; }
.news-sidebar .section-title,
.section-heading-row h2 {
  letter-spacing: .04em;
  font-weight: 880;
}
.lead-story {
  min-height: 285px;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(20,23,30,.14);
  transition: transform .22s ease, box-shadow .22s ease;
}
.lead-story:hover { transform: translateY(-3px); box-shadow: 0 22px 42px rgba(20,23,30,.18); }
.lead-story__shade { background: linear-gradient(90deg, rgba(7,8,12,.94) 0%, rgba(7,8,12,.72) 46%, rgba(7,8,12,.12) 100%); }
.story-tag {
  border-radius: 999px;
  padding: 6px 9px;
  background: linear-gradient(135deg, #ef1422, #bd0711);
  box-shadow: 0 7px 16px rgba(226,11,24,.16);
  letter-spacing: .055em;
}
.side-news-item {
  border-top-color: #ece8e3;
  transition: opacity .18s ease, transform .18s ease;
}
.side-news-item:hover { transform: translateX(2px); }
.side-news-item__thumb { border-radius: 13px; }
.latest-news { padding: 18px 18px 20px; }
.news-card {
  padding: 0 0 8px;
  border-radius: 14px;
  transition: transform .18s ease;
}
.news-card:hover { transform: translateY(-3px); }
.news-card__image { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(24,26,31,.08); }

.content-card { padding: 22px; }
.page-title-row { border-bottom-color: #ebe7e2; padding-bottom: 18px; margin-bottom: 20px; }
.eyebrow {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f4f1ed;
  color: #8a857f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}
.status-tabs {
  padding: 4px;
  border: 1px solid #e8e4df;
  border-radius: 13px;
  background: #f8f6f3;
}
.status-tabs a {
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 760;
}
.status-tabs a.is-active {
  color: #fff;
  background: #1b1b1f;
  box-shadow: 0 6px 16px rgba(20,20,23,.12);
}
.status-tabs a.is-active b { background: var(--red); color: #fff; }

.match-hero {
  position: relative;
  overflow: hidden;
  padding: 0 22px 20px;
}
.match-hero::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -170px; top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,11,24,.08), rgba(226,11,24,0) 68%);
  pointer-events: none;
}
.match-hero__meta {
  min-height: 58px;
  align-items: center;
  border-bottom-color: #ebe7e2;
  position: relative;
  z-index: 1;
}
.match-hero__meta a { font-weight: 790; }
.match-scoreboard {
  min-height: 250px;
  position: relative;
  z-index: 1;
}
.match-team-large strong { font-size: 16px; }
.match-scoreboard__center {
  padding: 17px 16px;
  border: 1px solid #ebe7e2;
  border-radius: 20px;
  background: rgba(250,249,247,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.match-status {
  border-radius: 999px;
  padding: 0 10px;
  min-height: 26px;
  background: #efede9;
}
.match-status.is-live {
  background: #fff0f1;
  border: 1px solid rgba(226,11,24,.12);
  color: var(--red);
}
.match-score {
  margin: 7px 0 2px;
  font-size: 46px;
  letter-spacing: .075em;
  font-variant-numeric: tabular-nums;
}
.match-info-strip { border-top-color: #ebe7e2; }
.match-info-strip > div { border-left-color: #ebe7e2; }
.match-info-strip span { letter-spacing: .08em; }
.match-information__notice {
  border-color: #e7e2dc;
  border-radius: 13px;
  background: #faf8f5;
}
.match-information__notice::before { background: #ece7e1; color: #55504a; }

.odds-placeholder { gap: 12px; }
.odd-box--placeholder {
  min-height: 54px;
  border: 1px solid #e9e4de;
  border-radius: 13px;
  background: linear-gradient(180deg, #fbfaf8, #f6f4f1);
}
.stats-table .stat-row { border-top-color: #eeeae5; }
.stat-bars { height: 6px; background: #eeeae5; }
.stat-bars i { background: #242429; }
.stat-bars b { background: linear-gradient(90deg, #f02330, #bd0711); }

.big-search input {
  border-color: #ded9d3;
  border-radius: 13px;
  background: #fbfaf8;
  min-height: 48px;
}
.big-search input:focus { border-color: #bdb7b0; box-shadow: 0 0 0 4px rgba(35,35,38,.035); }
.big-search button {
  border-radius: 13px;
  background: linear-gradient(135deg, #1f2024, #0d0d0f);
  padding: 0 24px;
  box-shadow: 0 8px 18px rgba(20,20,22,.1);
}
.entity-grid { gap: 11px; }
.entity-card {
  min-height: 72px;
  border-color: #e8e3de;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(34,30,26,.025);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.entity-card:hover {
  background: #fff;
  transform: translateY(-2px);
  border-color: #dcd6cf;
  box-shadow: 0 12px 25px rgba(34,30,26,.06);
}
.entity-card--tournament:hover { transform: none; box-shadow: 0 5px 14px rgba(34,30,26,.025); }
.entity-card--tournament:hover .entity-card__main { background: #faf8f5; }
.entity-card--tournament .entity-card__main { border-radius: 15px 15px 0 0; }
.entity-card--tournament .entity-card__table-link { border-radius: 0 0 15px 15px; }

.db-warning {
  border-radius: 14px;
  border-color: #f0d6d8;
  background: #fff7f7;
}
.empty-state { min-height: 260px; }
.empty-state__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: #f4f1ed;
  font-size: 25px;
}

.site-footer {
  background: rgba(248,247,245,.85);
  border-top-color: #dedad5;
  backdrop-filter: blur(10px);
}
.site-footer__inner { min-height: 112px; }
.site-footer__inner > div:first-child { font-weight: 950; letter-spacing: -1.4px; }

/* Minute-only LIVE clock. */
[data-live-clock="1"] {
  min-width: 44px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.match-status[data-live-clock="1"] { min-width: 52px; }

/* Keep live motion premium: noticeable, but not visually noisy. */
.match-row.is-live { animation-duration: 1.8s; }
.match-row__state.is-live { animation-duration: 1.65s; }
.match-row__score.is-live { animation-duration: 1.55s; }
.match-score.is-live { animation-duration: 1.65s; }

@media (max-width: 1180px) {
  .topbar__inner { height: 76px; }
  .main-nav { gap: 24px; font-size: 13px; }
  .brand { font-size: 35px; }
}

@media (max-width: 900px) {
  .topbar__inner { height: 68px; }
  .page-shell { margin-top: 14px; }
  .sports-nav { border-radius: 15px; }
  .sports-nav__notice { background: transparent; border: 0; }
  .matches-panel, .content-card, .news-sidebar, .latest-news { border-radius: 17px; }
  .home-grid, .content-grid { gap: 16px; }
}

@media (max-width: 600px) {
  body { background: #f6f4f1; }
  .page-shell { width: calc(100% - 16px); }
  .topbar__inner { width: calc(100% - 20px); }
  .brand { font-size: 29px; }
  .brand::after { bottom: -6px; height: 2px; }
  .sports-nav { height: 58px; padding: 0 8px; }
  .sports-nav__item { min-width: 104px; padding: 0 12px; }
  .sports-nav__notice { min-width: 210px; }
  .matches-panel { padding: 13px 10px 12px; }
  .matches-panel__top { padding: 0 4px; }
  .date-switcher { padding: 5px 6px; }
  .league-card { border-radius: 14px; }
  .league-card__header { padding: 0 12px; }
  .match-row { min-height: 66px; padding: 0 10px; }
  .match-row__state.is-live { padding: 4px 7px; }
  .content-card { padding: 16px; }
  .match-hero { padding: 0 14px 16px; }
  .match-scoreboard__center { padding: 13px 8px; border-radius: 15px; }
  .match-score { font-size: 28px; }
}


/* ===== VSE.MEDIA v5: domain brand + halftime + clean stats ===== */
.brand--domain {
  font-size: 29px;
  letter-spacing: -1.35px;
  text-transform: lowercase;
  white-space: nowrap;
}
.brand--domain .brand__red,
.brand--domain .brand__black {
  text-transform: lowercase;
}

/* Halftime is calm blue: no blinking or motion. */
.match-row.is-halftime {
  position: relative;
  background: linear-gradient(90deg, rgba(37,99,235,.055), rgba(37,99,235,0) 48%);
  animation: none !important;
}
.match-row.is-halftime::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #2563eb;
  animation: none !important;
}
.match-row.is-halftime:hover {
  box-shadow: inset 3px 0 0 #2563eb;
}
.match-row__state.is-halftime {
  width: max-content;
  min-width: 66px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,.13);
  background: #eff6ff;
  color: #2563eb;
  font-weight: 900;
  animation: none !important;
  transform: none !important;
}
.match-row__score.is-halftime,
.match-score.is-halftime {
  color: #2563eb;
  animation: none !important;
  transform: none !important;
  text-shadow: none !important;
}
.match-status.is-halftime {
  background: #eff6ff;
  border: 1px solid rgba(37,99,235,.13);
  color: #2563eb;
  font-weight: 900;
  animation: none !important;
  transform: none !important;
}

@media (max-width: 1180px) {
  .brand--domain { font-size: 26px; }
}
@media (max-width: 600px) {
  .brand--domain { font-size: 22px; letter-spacing: -1px; }
}

/* ===== VSE.MEDIA v6: realtime board + match priority ===== */
.match-information__notice {
  font-size: 18px;
  line-height: 1.65;
  font-weight: 720;
  letter-spacing: -0.18px;
}

.match-section--primary-stats {
  margin-top: 14px;
}

/* Halftime must always be calm blue, including after AJAX status changes. */
.match-row.is-halftime,
.match-row.is-halftime:hover {
  animation: none !important;
  transform: none !important;
}
.match-row__state.is-halftime,
.match-status.is-halftime {
  color: #2563eb !important;
  background: #eff6ff !important;
  border-color: rgba(37, 99, 235, .16) !important;
  animation: none !important;
  transform: none !important;
  text-shadow: none !important;
}
.match-row__score.is-halftime,
.match-score.is-halftime,
[data-detail-subtitle].is-halftime {
  color: #2563eb !important;
  animation: none !important;
  transform: none !important;
  text-shadow: none !important;
}

/* Finished status is static and clearly different from LIVE. */
.match-row__state.is-finished,
.match-status.is-finished {
  color: #5f636b;
  background: #f2f3f5;
  border-color: #e4e6e9;
  animation: none !important;
  transform: none !important;
}
.match-score.is-finished,
[data-detail-subtitle].is-finished {
  animation: none !important;
  transform: none !important;
}

/* AJAX board replacement should not cause a visible jump. */
[data-live-board] {
  min-height: 80px;
}

@media (max-width: 700px) {
  .match-information__notice {
    font-size: 16px;
    line-height: 1.55;
  }
}
.match-row__score.is-finished {
  color: #2f3338;
  animation: none !important;
  transform: none !important;
  text-shadow: none !important;
}

/* ===== VSE.MEDIA v7: compact match rows, inline sport note, mobile + 2 min goal pulse ===== */

/* Tournament title is intentionally more prominent than individual match rows. */
.league-card__header {
  min-height: 56px;
  padding: 0 17px;
  background: linear-gradient(180deg, #ffffff, #fbfaf8);
}
.league-card__header strong {
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: -.025em;
}
.league-card__header small {
  font-size: 10px;
  font-weight: 700;
}

.match-row {
  min-height: 50px;
  font-size: 12.5px;
  padding-top: 3px;
  padding-bottom: 3px;
}
.match-row__state {
  font-size: 11.5px;
}
.match-row__team {
  gap: 8px;
  font-weight: 690;
}
.match-row__team span:last-child {
  font-size: 12.5px;
}
.match-row__score {
  font-size: 15px;
  letter-spacing: .055em;
}
.team-badge--sm {
  width: 25px;
  height: 25px;
}
.match-row__arrow {
  font-size: 21px;
}

/* Sport availability text sits immediately next to Football instead of at the far edge. */
.sports-nav {
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
}
.sports-nav::-webkit-scrollbar { display: none; }
.sports-nav__notice {
  margin-left: 2px !important;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-color: #e9e4de;
  background: #faf8f5;
  white-space: nowrap;
}
.sports-nav__notice strong {
  color: #25262a;
  font-weight: 880;
}
.sports-nav__notice span {
  color: #85878e;
}

/* Match information warning: intentionally large and green so it cannot be missed. */
.match-information__notice {
  position: relative;
  padding: 20px 22px 20px 58px;
  border: 1px solid #b9e5c6;
  border-radius: 16px;
  background: linear-gradient(135deg, #effcf3, #f8fffa);
  color: #167a36;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 830;
  letter-spacing: -.025em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.match-information__notice::before {
  content: "i";
  left: 19px;
  top: 21px;
  width: 27px;
  height: 27px;
  background: #1ca64a;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 5px 14px rgba(28,166,74,.18);
}

.archive-note {
  margin: -3px 0 15px;
  padding: 13px 15px;
  border: 1px solid #e5e1dc;
  border-radius: 12px;
  background: #faf8f5;
  color: #77736e;
  font-size: 13px;
  font-weight: 720;
}
.archive-note--matches { margin-top: -6px; }

/* Keep score digits separate so the exact changed digit can pulse after a goal. */
.score-digit,
.score-separator {
  display: inline-block;
  vertical-align: baseline;
}
.score-separator { padding: 0 .16em; }
.score-digit.is-goal-pulse {
  color: #ef0d1a !important;
  transform-origin: 50% 55%;
  animation: goalDigitPulse 1.05s ease-in-out infinite !important;
  text-shadow: 0 0 0 rgba(239,13,26,0);
}
@keyframes goalDigitPulse {
  0%, 100% { transform: scale(1); text-shadow: 0 0 0 rgba(239,13,26,0); }
  45% { transform: scale(1.28); text-shadow: 0 0 16px rgba(239,13,26,.35); }
  62% { transform: scale(1.12); text-shadow: 0 0 8px rgba(239,13,26,.18); }
}

/* Mobile: preserve the full navigation as a horizontal second row instead of hiding it. */
@media (max-width: 900px) {
  .topbar__inner {
    width: calc(100% - 20px);
    height: auto !important;
    min-height: 112px;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: 62px 46px;
    column-gap: 8px;
    row-gap: 0;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .top-actions {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .main-nav {
    display: flex !important;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 6px !important;
    overflow-x: auto;
    padding: 2px 0 8px;
    font-size: 11px !important;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav > a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #e8e4df;
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    letter-spacing: .02em;
  }
  .main-nav > a::after { display: none !important; }
  .main-nav > a.is-active { background: #fff; box-shadow: 0 4px 12px rgba(25,22,19,.05); }
  .main-nav__live { border-color: rgba(226,11,24,.15) !important; background: #fff5f5 !important; }
  .live-count { min-width: 25px; height: 22px; font-size: 10px; }

  .page-shell { width: calc(100% - 18px); margin-top: 10px; }
  .sports-nav {
    height: 58px;
    padding: 0 8px;
    gap: 6px;
    border-radius: 14px;
  }
  .sports-nav__item {
    min-width: 100px;
    padding: 0 12px;
  }
  .sports-nav__notice {
    min-width: 300px;
    padding: 7px 10px;
    font-size: 10.5px;
  }
  .home-grid, .content-grid { gap: 12px; }
  .news-sidebar { margin-top: 0; }
  .matches-panel, .content-card, .news-sidebar, .latest-news { border-radius: 15px; }

  .league-card__header { min-height: 52px; padding: 0 12px; }
  .league-card__header strong { font-size: 15px; }
  .match-row {
    grid-template-columns: 56px minmax(0,1fr) 58px minmax(0,1fr) 12px;
    min-height: 54px;
    padding: 3px 8px;
    font-size: 11.5px;
  }
  .match-row__team span:last-child { font-size: 11.5px; }
  .match-row__score { font-size: 14px; }
  .team-badge--sm { width: 22px; height: 22px; }

  .match-information__notice {
    padding: 17px 17px 17px 51px;
    font-size: 18px;
    line-height: 1.46;
  }
  .match-information__notice::before {
    left: 16px;
    top: 17px;
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 600px) {
  .topbar__inner { min-height: 108px; grid-template-rows: 58px 46px; }
  .brand--domain { font-size: 20px !important; letter-spacing: -.9px !important; }
  .brand::after { bottom: -5px; }
  .icon-button { width: 35px; height: 35px; padding: 7px; }
  .top-actions { gap: 3px; }
  .main-nav { font-size: 10.5px !important; gap: 5px !important; }
  .main-nav > a { padding: 7px 9px; }

  .page-shell { width: calc(100% - 12px); }
  .sports-nav__item { min-width: 91px; font-size: 12px; }
  .sports-nav__icon { font-size: 17px; }
  .sports-nav__notice {
    min-width: 280px !important;
    white-space: nowrap !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 9.7px;
  }

  .matches-panel { padding: 10px 7px 10px; }
  .matches-panel__top {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 0 3px;
  }
  .matches-panel__top h1 { font-size: 16px; }
  .date-switcher { justify-content: space-between; width: 100%; }

  .league-card { border-radius: 12px; margin-top: 8px; }
  .league-card__header { min-height: 49px; gap: 8px; padding: 0 9px; }
  .league-card__header strong { font-size: 14px; }
  .league-card__header small { font-size: 9px; }
  .league-mark { transform: scale(.86); transform-origin: center; }

  .match-row {
    grid-template-columns: 47px minmax(0,1fr) 48px minmax(0,1fr) 7px;
    min-height: 52px;
    padding: 3px 6px;
  }
  .match-row__state { font-size: 10px; }
  .match-row__state.is-live,
  .match-row__state.is-halftime { min-width: 0; padding: 4px 5px; }
  .match-row__team {
    flex-direction: row;
    align-items: center;
    min-width: 0;
    gap: 0;
  }
  .match-row__team--away { align-items: center; }
  .team-badge--sm { display: none !important; }
  .match-row__team span:last-child {
    max-width: 100%;
    font-size: 10.8px;
  }
  .match-row__score { font-size: 13px; letter-spacing: 0; white-space: nowrap; }
  .match-row__arrow { font-size: 16px; }

  .content-card { padding: 13px; }
  .page-title-row h1 { font-size: 21px; }
  .status-tabs a { padding: 8px 9px; font-size: 11.5px; }
  .match-scoreboard {
    min-height: 190px;
    grid-template-columns: minmax(0,1fr) 88px minmax(0,1fr);
    gap: 5px;
  }
  .match-team-large strong { font-size: 11.5px; line-height: 1.25; }
  .team-badge--lg { width: 46px; height: 46px; }
  .match-scoreboard__center { padding: 10px 6px; }
  .match-score { font-size: 25px; }
  .match-status { font-size: 10px; }
  .match-information__notice {
    padding: 15px 14px 15px 46px;
    border-radius: 13px;
    font-size: 16px;
  }
  .match-information__notice::before { left: 13px; top: 15px; }

  .search-panel__form {
    width: calc(100% - 16px);
    grid-template-columns: minmax(0,1fr) auto;
    gap: 6px;
  }
  .search-panel__close { grid-column: 2; grid-row: 1; }
  .search-panel button[type="submit"] { grid-column: 1 / -1; min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .score-digit.is-goal-pulse { animation: none !important; text-decoration: underline; text-decoration-thickness: 2px; }
}

/* ===== VSE.MEDIA v9: highly visible goal pulse ===== */
.score-digit.is-goal-pulse {
  position: relative;
  z-index: 3;
  color: #079447 !important;
  background: #e7f9ee;
  border: 1px solid rgba(7, 148, 71, .22);
  border-radius: 10px;
  padding: .08em .20em;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 6px 20px rgba(7, 148, 71, .18);
  transform-origin: 50% 55%;
  animation: goalDigitPulseGreen .82s ease-in-out infinite !important;
}

.match-row__score .score-digit.is-goal-pulse {
  font-size: 29px;
  min-width: 30px;
}

.match-score .score-digit.is-goal-pulse {
  font-size: 64px;
  min-width: 64px;
  border-radius: 15px;
  padding: .06em .16em;
}

@keyframes goalDigitPulseGreen {
  0%, 100% {
    color: #079447;
    background: #e7f9ee;
    transform: scale(1);
    box-shadow: 0 5px 16px rgba(7, 148, 71, .16);
    opacity: 1;
  }
  45% {
    color: #ffffff;
    background: #0aa653;
    transform: scale(1.20);
    box-shadow: 0 8px 28px rgba(10, 166, 83, .42);
    opacity: .96;
  }
  62% {
    color: #087c3e;
    background: #dff7e9;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(7, 148, 71, .24);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .match-row__score .score-digit.is-goal-pulse {
    font-size: 24px;
    min-width: 25px;
    padding: .08em .14em;
    border-radius: 8px;
  }
  .match-score .score-digit.is-goal-pulse {
    font-size: 43px;
    min-width: 43px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .score-digit.is-goal-pulse {
    animation: goalDigitPulseGreenReduced 1.4s steps(2, end) infinite !important;
    text-decoration: none;
  }
  @keyframes goalDigitPulseGreenReduced {
    0%, 100% { background: #e7f9ee; color: #079447; }
    50% { background: #0aa653; color: #fff; }
  }
}

/* ==========================================================================
   V10 — реальные новости из sports_news + локальные изображения
   ========================================================================== */
.news-card__image,
.side-news-item__thumb,
.news-list-card__image,
.article__hero {
  background: #eef0f3;
}

.news-card__image img,
.side-news-item__thumb img,
.news-list-card__image img,
.article__hero img,
.lead-story__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-card__image img,
.side-news-item__thumb img,
.news-list-card__image img,
.article__hero img {
  transition: transform .25s ease;
}

.news-card:hover .news-card__image img,
.news-list-card:hover .news-list-card__image img {
  transform: scale(1.025);
}

.news-card h3 {
  min-height: 0;
  padding-bottom: 10px;
}

.lead-story__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lead-story__shade {
  z-index: 1;
}

.lead-story .story-tag,
.lead-story__content {
  z-index: 2;
}

.lead-story__content h3 {
  margin-bottom: 0;
}

.side-news-item {
  grid-template-columns: 117px minmax(0, 1fr);
}

.side-news-item__thumb {
  background: #eef0f3;
}

.article {
  max-width: 820px;
}

.article__hero {
  overflow: hidden;
  padding: 0;
  font-size: 0;
}

.article__content {
  margin: 0 0 26px;
}

.article__content p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.72;
  color: #353a43;
}

.article__content p:last-child {
  margin-bottom: 0;
}

.news-list-card__image {
  overflow: hidden;
}

.news-empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.news-empty--sidebar {
  padding: 35px 12px;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #eceef0;
  font-size: 12px;
}

.news-pagination a {
  color: var(--red);
  font-weight: 800;
}

.news-pagination span {
  color: var(--muted);
}

@media (max-width: 760px) {
  .side-news-item {
    grid-template-columns: 95px minmax(0, 1fr);
  }

  .article__content p {
    font-size: 15px;
  }

  .news-pagination {
    flex-wrap: wrap;
  }
}

/* SEO/navigation structure: breadcrumbs, categories, related content */
.breadcrumbs {
  margin: 12px 0 16px;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 7px;
  color: #b7bbc2;
}

.breadcrumbs a {
  color: #6c727d;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.breadcrumbs span[aria-current="page"] {
  overflow: hidden;
  max-width: 540px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #383d45;
}

.category-tabs,
.news-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tabs {
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eceef0;
}

.category-tabs a,
.news-category-links a {
  border: 1px solid #e0e3e8;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: #535963;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.category-tabs a:hover,
.category-tabs a.is-active,
.news-category-links a:hover {
  border-color: var(--red);
  color: var(--red);
}

.news-category-links {
  margin: -4px 0 14px;
}

.news-category-links a {
  padding: 5px 9px;
  font-size: 10px;
}

.story-tag--link {
  display: inline-flex;
  text-decoration: none;
}

.article__meta {
  margin: -5px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.article__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.related-news {
  margin-top: 34px;
  padding-top: 8px;
  border-top: 1px solid #eceef0;
}

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

.related-news__grid a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 94px;
  padding: 14px;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  color: #252a31;
  text-decoration: none;
}

.related-news__grid a:hover {
  border-color: #d4d7dc;
  transform: translateY(-1px);
}

.related-news__grid span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-news__grid strong {
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .breadcrumbs span[aria-current="page"] {
    max-width: 230px;
  }

  .related-news__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== VSE.MEDIA v7: match events, lineups, standings, scorers, H2H, form ===== */

/* --- Events timeline --- */
.events-timeline__teams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 4px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.events-timeline__teams span:last-child { text-align: right; }

.events-timeline { display: flex; flex-direction: column; }
.event-row {
  display: grid;
  grid-template-columns: 1fr 74px 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
  border-top: 1px solid #eeeae5;
}
.event-row:first-child { border-top: 0; }
.event-row__side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.event-row__side--home { justify-content: flex-start; }
.event-row__side--away { justify-content: flex-end; text-align: right; }
.event-icon { font-size: 16px; flex: none; line-height: 1; }
.event-desc {
  font-size: 13px;
  font-weight: 650;
  color: #23262d;
  min-width: 0;
  overflow-wrap: anywhere;
}
.event-assist { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.event-sub-in { display: block; font-size: 12.5px; color: #178a3a; font-weight: 700; }
.event-sub-out { display: block; font-size: 12.5px; color: #9a9fa8; font-weight: 600; }
.event-row__minute {
  text-align: center;
  font-size: 12.5px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: #45484f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.event-row__minute small { font-weight: 700; color: var(--red); font-size: 10.5px; }
.event-row--goal .event-desc { color: #14181f; }
.event-row--red_card .event-icon { filter: drop-shadow(0 1px 0 rgba(0,0,0,.05)); }

/* --- Match form strip (hero) --- */
.match-form-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid #ebe7e2;
  padding-top: 15px;
  margin-top: 15px;
}
.match-form-strip > div:last-child { text-align: right; }
.match-form-strip > div:last-child .form-strip { justify-content: flex-end; }
.match-form-strip span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 7px;
}
.form-strip { display: inline-flex; gap: 5px; flex-wrap: wrap; }
.form-strip--empty { color: var(--muted); font-size: 11px; }
.form-pill {
  width: 24px; height: 24px;
  display: inline-grid; place-items: center;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  background: #efede9;
  color: #6a6d75;
  transition: transform .15s ease;
}
.form-pill:hover { transform: translateY(-2px); }
.form-pill.is-win { background: rgba(25,181,54,.14); color: #12872b; }
.form-pill.is-draw { background: rgba(120,120,120,.14); color: #5c5f66; }
.form-pill.is-loss { background: rgba(226,11,24,.1); color: var(--red-dark); }

/* --- Lineups: two real tables side by side --- */
.lineups-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.lineups-col__team {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ebe7e2;
  margin-bottom: 10px;
}
.lineups-col__team strong { font-size: 14px; }

.lineup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.lineup-table thead th {
  text-align: left;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid #ebe7e2;
}
.lineup-table__num { width: 34px; text-align: center !important; }
.lineup-table tbody td {
  padding: 7px 8px;
  border-bottom: 1px solid #f1ede9;
  vertical-align: middle;
}
.lineup-table tbody tr:last-child td { border-bottom: 0; }
.lineup-table td.lineup-table__num {
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  color: #55585f;
}
.lineup-table tr.is-goalkeeper td.lineup-table__num { color: var(--red-dark); }
.lineup-table tr.is-goalkeeper td:last-child { font-weight: 700; }
.lineup-table__section-row td {
  padding: 10px 8px 6px;
  border-bottom: 1px solid #ebe7e2;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  background: #faf8f5;
}
.lineup-table__gk {
  display: inline-block;
  margin-left: 6px;
  font-size: 9.5px;
  font-weight: 900;
  color: var(--red);
  border: 1px solid rgba(226,11,24,.25);
  border-radius: 5px;
  padding: 1px 5px;
  vertical-align: middle;
}
.lineup-table__bench-row td { color: #5b5e65; }

/* --- Accessible + SEO-friendly hidden headings (kept in the DOM/crawlable, not display:none) --- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Match tabs (СОБЫТИЯ / СТАТИСТИКА / СОСТАВЫ / КОЭФФИЦИЕНТЫ) ---
   Pure-CSS radio tabs: every panel is fully present in the HTML at all
   times (nothing is injected by JS), so search engines and no-JS clients
   get the complete content regardless of which tab is visually active. */
.match-tabs-card { padding-top: 6px; }
.tabs { display: flex; flex-wrap: wrap; }
.tabs__radio {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  order: 0;
}
.tabs__label {
  order: 1;
  cursor: pointer;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
  user-select: none;
}
.tabs__label:hover { color: #23262d; }
#tab-events:checked ~ label[for="tab-events"],
#tab-stats:checked ~ label[for="tab-stats"],
#tab-lineups:checked ~ label[for="tab-lineups"],
#tab-odds:checked ~ label[for="tab-odds"] {
  color: var(--red-dark);
  border-bottom-color: var(--red);
}
.tabs__radio:focus-visible ~ label {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}
.tabs__panel {
  order: 10;
  flex: 1 1 100%;
  width: 100%;
  display: none;
  padding-top: 18px;
  border-top: 1px solid #ebe7e2;
  margin-top: -1px;
}
#tab-events:checked ~ #panel-events,
#tab-stats:checked ~ #panel-stats,
#tab-lineups:checked ~ #panel-lineups,
#tab-odds:checked ~ #panel-odds {
  display: block;
}

@media (max-width: 760px) {
  .tabs__label { padding: 10px 11px; font-size: 12px; flex: 1 1 auto; text-align: center; }
}

/* --- Standings table --- */
.standings-tabs { margin-bottom: 14px; }
.standings-table-wrap { overflow-x: auto; }
.standings-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.standings-table th {
  text-align: center;
  padding: 8px 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid #ebe7e2;
  white-space: nowrap;
}
.standings-table td {
  text-align: center;
  padding: 9px 6px;
  border-bottom: 1px solid #f1ede9;
  white-space: nowrap;
}
.standings-table tbody tr:last-child td { border-bottom: 0; }
.standings-table__pos { font-weight: 800; color: #45484f; position: relative; }
.standings-zone-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 5px;
  background: var(--zone-color, #b7b2ab);
  vertical-align: middle;
}
.standings-table__team { text-align: left; white-space: normal; min-width: 170px; }
.standings-table__team a { font-weight: 700; color: #23262d; }
.standings-table__team a:hover { color: var(--red); }
.standings-table__note { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.standings-table__note-row td { text-align: left; color: var(--muted); font-size: 10.5px; padding: 4px 6px 10px; border-bottom: 1px solid #f1ede9; }
.standings-table__points strong { font-size: 13px; }
.standings-table tr.is-highlighted { background: rgba(226,11,24,.045); }
.standings-table tr.is-highlighted .standings-table__team a { color: var(--red-dark); }

/* --- Top scorers --- */
.scorers-table-wrap { overflow-x: auto; }
.scorers-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.scorers-table th {
  text-align: left;
  padding: 8px 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid #ebe7e2;
}
.scorers-table td { padding: 9px 6px; border-bottom: 1px solid #f1ede9; }
.scorers-table tbody tr:last-child td { border-bottom: 0; }
.scorers-table__pos { font-weight: 800; color: #45484f; width: 30px; }
.scorers-table__player { font-weight: 700; }
.scorers-table__player small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; }
.scorers-table__goals strong { font-size: 14px; color: var(--red-dark); }
.scorers-table a { font-weight: 650; }
.scorers-table a:hover { color: var(--red); }

/* --- Head-to-head --- */
.h2h-list { display: flex; flex-direction: column; }
.h2h-list .match-row { border-top: 1px solid #f1ede9; }
.h2h-list .match-row:first-child { border-top: 0; }

/* --- Odds (real data) --- */
.odds-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(226,11,24,.06);
  border: 1px solid rgba(226,11,24,.14);
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.odd-box { flex-direction: column; align-items: flex-start; gap: 3px; }
.odd-box__opening { color: var(--muted); font-size: 10px; font-weight: 500; }

@media (max-width: 760px) {
  .lineups-grid { grid-template-columns: 1fr; gap: 18px; }
  .match-form-strip { grid-template-columns: 1fr; gap: 12px; }
  .match-form-strip > div:last-child { text-align: left; }
  .match-form-strip > div:last-child .form-strip { justify-content: flex-start; }
  .event-row { grid-template-columns: 1fr 56px 1fr; gap: 6px; padding: 9px 2px; }
  .event-desc { font-size: 12px; }
  .standings-table th, .standings-table td { padding: 7px 5px; font-size: 11.5px; }
  .scorers-table th, .scorers-table td { padding: 7px 5px; font-size: 11.5px; }
  .lineup-table { font-size: 12px; }
  .lineup-table thead th, .lineup-table tbody td { padding: 6px; }
}

/* --- Multi-source hockey predictions --- */
.latest-predictions { margin-top: 24px; }
.prediction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.prediction-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prediction-card {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 16px; border: 1px solid #ece7e2; border-radius: 14px;
  background: #fff; color: #202329; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.prediction-card:hover { transform: translateY(-2px); border-color: #d9d2ca; box-shadow: 0 10px 28px rgba(23,24,26,.07); }
.prediction-card__top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; font-weight: 700; }
.prediction-card__top > span { color: #34373d; }
.prediction-card h2, .prediction-card h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.prediction-card h2 span, .prediction-card h3 span { color: #a8a39c; font-weight: 500; }
.prediction-card__probs { display: flex; gap: 7px; flex-wrap: wrap; }
.prediction-card__probs > span { padding: 6px 9px; border-radius: 9px; background: #f6f3ef; color: #66615b; font-size: 11px; }
.prediction-card__probs b { color: #202329; margin-left: 4px; }
.prediction-card p { margin: 0; color: #5a5c61; font-size: 12px; line-height: 1.5; }
.prediction-card small { margin-top: auto; color: #8a8580; }
.predictions-index .page-title-row p { max-width: 800px; color: #676a70; line-height: 1.6; }
.prediction-article { padding: 28px; }
.prediction-kicker { color: var(--red-dark); font-size: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.prediction-article h1 { margin: 8px 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.prediction-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; color: var(--muted); font-size: 12px; }
.prediction-matchbox { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 22px 0; }
.prediction-matchbox > div { padding: 16px; border: 1px solid #ece7e2; border-radius: 12px; background: #faf8f5; }
.prediction-matchbox span, .prediction-facts span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.prediction-matchbox strong { display: block; margin: 5px 0 8px; font-size: 14px; }
.prediction-matchbox b { font-size: 25px; }
.prediction-lead { font-size: 18px; line-height: 1.65; color: #373a40; }
.prediction-copy { margin-top: 26px; }
.prediction-copy h2, .prediction-facts h2 { margin: 0 0 12px; font-size: 20px; }
.prediction-copy p { font-size: 15px; line-height: 1.7; color: #45484e; }
.prediction-facts { margin-top: 26px; }
.prediction-facts__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.prediction-facts__grid > div { padding: 14px; border: 1px solid #ece7e2; border-radius: 11px; }
.prediction-facts strong { display: block; margin-top: 5px; font-size: 19px; }
.prediction-pick { margin-top: 26px; padding: 18px; border-left: 4px solid var(--red); background: #fff7f7; border-radius: 0 12px 12px 0; }
.prediction-pick span { display: block; margin-bottom: 5px; color: var(--red-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.prediction-pick strong { font-size: 17px; line-height: 1.5; }
.prediction-risk, .prediction-method-note { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: #f7f5f2; color: #66615d; font-size: 12px; line-height: 1.6; }
.prediction-method-note a { color: var(--red-dark); font-weight: 700; }
.methodology { max-width: 900px; }
.methodology h2 { margin-top: 28px; }
.methodology p { color: #44474c; line-height: 1.75; }

@media (max-width: 980px) {
  .prediction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .prediction-grid, .prediction-grid--home { grid-template-columns: 1fr; }
  .prediction-matchbox, .prediction-facts__grid { grid-template-columns: 1fr; }
  .prediction-article { padding: 18px; }
}

/* Prediction SEO/trust blocks */
.prediction-archive-note {
  margin: 16px 0 0; padding: 12px 14px; border: 1px solid #e7e2dc; border-radius: 10px;
  background: #faf8f5; color: #5d5954; font-size: 12px; line-height: 1.55;
}
.prediction-models { margin-top: 28px; }
.prediction-models h2, .prediction-hub-note h2 { margin: 0 0 12px; font-size: 20px; }
.prediction-models > p { margin: 10px 0 0; color: #6a6661; font-size: 12px; line-height: 1.6; }
.prediction-models__table { overflow: hidden; border: 1px solid #ece7e2; border-radius: 12px; }
.prediction-models__row { display: grid; grid-template-columns: minmax(110px,1.4fr) repeat(3,minmax(60px,.6fr)); align-items: center; }
.prediction-models__row > * { padding: 10px 12px; border-top: 1px solid #f0ece8; font-size: 12px; }
.prediction-models__row > * + * { border-left: 1px solid #f0ece8; text-align: center; }
.prediction-models__head > * { border-top: 0; background: #f8f6f3; color: #78736d; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.prediction-hub-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid #ece7e2; }
.prediction-hub-note p { max-width: 850px; color: #55585d; font-size: 14px; line-height: 1.7; }
.prediction-hub-note a { color: var(--red-dark); font-size: 13px; font-weight: 800; }
@media (max-width: 620px) {
  .prediction-models__row { grid-template-columns: minmax(96px,1.2fr) repeat(3,minmax(48px,.55fr)); }
  .prediction-models__row > * { padding: 9px 7px; }
}

/* ==========================================================
   VSE.MEDIA redesign v3 — sports media + analytics
   ========================================================== */
:root {
  --blue: #155eef;
  --blue-dark: #0d3fa9;
  --blue-soft: #eef4ff;
  --navy: #0b1830;
  --ink: #111827;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --line: #e4e9f2;
  --muted-v3: #667085;
  --success-v3: #168a55;
  --danger-v3: #df2538;
  --shadow-v3: 0 10px 35px rgba(16, 24, 40, .06);
}
body { background: #f5f7fb; color: var(--ink); }
body::before { content:""; display:block; position:fixed; inset:0 0 auto; height:220px; background:linear-gradient(180deg,#fff 0,#f5f7fb 100%); z-index:-1; }

.topbar { background:rgba(255,255,255,.96); border-bottom:1px solid var(--line); box-shadow:0 1px 0 rgba(16,24,40,.02); }
.topbar__inner { width:min(1280px,calc(100% - 40px)); height:70px; grid-template-columns:210px 1fr auto; gap:24px; }
.brand { font-size:28px; letter-spacing:-1.5px; font-weight:900; }
.brand__blue { color:var(--blue); }
.main-nav { justify-content:flex-start; gap:28px; font-size:14px; font-weight:750; }
.main-nav > a, .nav-dropdown__toggle { position:relative; display:flex; align-items:center; gap:6px; min-height:70px; }
.main-nav > a::after, .nav-dropdown.is-active > .nav-dropdown__toggle::after, .main-nav > a.is-active::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:3px; border-radius:4px 4px 0 0; background:var(--blue); opacity:0; transform:scaleX(.4); transition:.18s; }
.main-nav > a:hover, .main-nav > a.is-active, .nav-dropdown.is-active > .nav-dropdown__toggle, .nav-dropdown:hover > .nav-dropdown__toggle { color:var(--blue); }
.main-nav > a:hover::after, .main-nav > a.is-active::after, .nav-dropdown.is-active > .nav-dropdown__toggle::after { opacity:1; transform:scaleX(1); }
.nav-live-count { display:inline-grid; place-items:center; min-width:22px; height:20px; padding:0 6px; border-radius:999px; background:#fff0f2; color:var(--danger-v3); font-size:11px; }
.nav-dropdown { position:relative; }
.nav-dropdown__menu { position:absolute; top:58px; left:-18px; display:none; width:250px; padding:10px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 18px 50px rgba(16,24,40,.14); }
.nav-dropdown:hover .nav-dropdown__menu { display:grid; }
.nav-dropdown__menu a { padding:10px 12px; border-radius:9px; color:#344054; font-size:13px; }
.nav-dropdown__menu a:hover { background:var(--blue-soft); color:var(--blue); }
.nav-dropdown__menu .nav-dropdown__all { margin-top:5px; padding-top:12px; border-top:1px solid var(--line); color:var(--blue); font-weight:800; }
.top-actions { gap:6px; }
.icon-button { width:38px; height:38px; padding:8px; border-radius:10px; }
.icon-button:hover { background:#f3f6fb; }
.mobile-menu-button { display:none; }

.page-shell { width:min(1280px,calc(100% - 40px)); margin:18px auto 64px; }
.sports-nav { height:46px; padding:0 16px; gap:8px; border-color:var(--line); border-radius:12px; box-shadow:none; overflow-x:auto; }
.sports-nav__item { min-width:auto; padding:0 12px; gap:7px; font-size:13px; font-weight:700; color:#475467; }
.sports-nav__item.is-active { color:var(--blue); }
.sports-nav__item.is-active::after { background:var(--blue); height:2px; }
.sports-nav__icon { font-size:15px; }
.sports-nav__spacer { flex:1; }
.sports-nav__live { display:flex; align-items:center; gap:7px; padding:0 12px; color:var(--danger-v3); font-size:12px; font-weight:850; white-space:nowrap; }
.live-dot { background:var(--danger-v3); }

.breadcrumbs { color:#8a94a6; font-size:12px; }
.breadcrumbs a:hover { color:var(--blue); }

.home-dashboard-hero { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr); gap:18px; margin:18px 0; }
.home-dashboard-hero__main, .hero-consensus-card, .hero-story-card { border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-v3); }
.home-dashboard-hero__main { padding:34px 36px; background:linear-gradient(135deg,#fff 0%,#f7faff 62%,#edf4ff 100%); }
.home-dashboard-hero__main h1 { margin:6px 0 10px; font-size:clamp(32px,4vw,50px); line-height:1; letter-spacing:-1.8px; }
.home-dashboard-hero__main p { max-width:650px; margin:0; color:#556176; font-size:16px; line-height:1.6; }
.eyebrow, .section-kicker { color:var(--blue); font-size:11px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.hero-quick-links { display:flex; gap:10px; margin-top:24px; flex-wrap:wrap; }
.button-primary, .button-secondary { display:inline-flex; justify-content:center; align-items:center; min-height:42px; padding:0 18px; border-radius:10px; font-weight:800; font-size:13px; }
.button-primary { background:var(--blue); color:#fff; box-shadow:0 8px 22px rgba(21,94,239,.22); }
.button-primary:hover { background:var(--blue-dark); }
.button-secondary { background:#fff; border:1px solid #d7dfec; color:#344054; }

.hero-consensus-card { display:flex; flex-direction:column; padding:24px; background:#0b1830; color:#fff; }
.hero-consensus-card__top { display:flex; justify-content:space-between; gap:14px; color:#a9b8d1; font-size:12px; }
.hero-consensus-card__match { margin:19px 0 15px; font-size:24px; line-height:1.2; letter-spacing:-.5px; }
.hero-consensus-card__match span { color:#7790b8; font-weight:500; }
.consensus-label { color:#7da7ff; font-size:10px; font-weight:900; letter-spacing:.14em; }
.consensus-bar, .prediction-consensus-scale { display:flex; overflow:hidden; width:100%; height:8px; margin:10px 0 8px; border-radius:999px; background:#263753; }
.consensus-bar > span, .prediction-consensus-scale > span { width:var(--w); height:100%; min-width:0; }
.consensus-bar > span:nth-child(1), .prediction-consensus-scale > span:nth-child(1) { background:#4f8cff; }
.consensus-bar > span:nth-child(2), .prediction-consensus-scale > span:nth-child(2) { background:#a9b5c8; }
.consensus-bar > span:nth-child(3), .prediction-consensus-scale > span:nth-child(3) { background:#ff6172; }
.consensus-values { display:flex; justify-content:space-between; gap:12px; color:#aebbd0; font-size:10px; }
.consensus-values b { display:block; color:#fff; font-size:20px; }
.hero-consensus-card__cta { margin-top:auto; padding-top:18px; color:#d5e2ff; font-size:12px; font-weight:800; }
.hero-story-card { min-height:250px; padding:24px; display:flex; flex-direction:column; justify-content:flex-end; background:#0b1830 center/cover no-repeat; color:#fff; }
.hero-story-card strong { margin:14px 0 10px; font-size:24px; line-height:1.25; }

.dashboard-section, .matches-panel--modern, .latest-news--modern { margin-top:18px; padding:22px; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-v3); }
.section-heading-row--modern { margin:0 0 16px; align-items:end; }
.section-heading-row--modern h2 { margin:4px 0 0; font-size:22px; letter-spacing:-.4px; }
.section-heading-row--modern > a { color:var(--blue); font-weight:800; font-size:12px; }
.league-shortcuts, .category-tabs--modern { display:flex; gap:8px; margin:0 0 18px; overflow-x:auto; padding-bottom:2px; }
.league-shortcuts a, .category-tabs--modern a { flex:none; padding:8px 12px; border:1px solid var(--line); border-radius:9px; color:#5a6578; background:#fff; font-size:12px; font-weight:800; }
.league-shortcuts a:hover, .league-shortcuts a.is-active, .category-tabs--modern a:hover, .category-tabs--modern a.is-active { border-color:#c8d9ff; background:var(--blue-soft); color:var(--blue); }

.prediction-grid--dashboard { grid-template-columns:repeat(3,minmax(0,1fr)); }
.prediction-card--modern { min-height:240px; padding:17px; gap:14px; border-color:var(--line); border-radius:14px; box-shadow:none; }
.prediction-card--modern:hover { transform:translateY(-2px); border-color:#c8d9ff; box-shadow:0 12px 30px rgba(21,94,239,.08); }
.prediction-card__teams { display:grid; grid-template-columns:1fr auto 1fr; gap:8px; align-items:center; min-height:44px; }
.prediction-card__teams strong { font-size:15px; line-height:1.25; }
.prediction-card__teams strong:last-child { text-align:right; }
.prediction-card__teams > span { color:#a4adbd; }
.prediction-card__probs--modern { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.prediction-card__probs--modern > span { display:flex; flex-direction:column; gap:2px; padding:9px; background:#f6f8fc; border:1px solid #edf0f5; text-align:center; }
.prediction-card__probs--modern small { color:#8b95a7; font-size:9px; font-weight:800; }
.prediction-card__probs--modern b { margin:0; font-size:16px; }
.prediction-card__pick { padding:11px 12px; background:#f2f7ff; border-radius:9px; }
.prediction-card__pick span { display:block; color:#7a8ba7; font-size:9px; font-weight:850; text-transform:uppercase; }
.prediction-card__pick strong { display:block; margin-top:3px; color:#22406f; font-size:12px; line-height:1.35; }
.prediction-card__sources { color:#8a94a6; }
.empty-state--compact { min-height:110px; padding:28px; }

.home-grid--modern { grid-template-columns:minmax(0,1fr) 340px; gap:18px; }
.matches-panel--modern { padding:18px; }
.matches-panel--modern .matches-panel__top { padding:0; margin-bottom:10px; }
.matches-panel--modern .matches-panel__top h2 { margin:4px 0 0; font-size:22px; }
.matches-panel--modern .league-card { border-color:var(--line); box-shadow:none; }
.latest-news--modern { margin-top:18px; }
.news-card-grid--modern { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.news-card--modern { padding-bottom:8px; border:0; box-shadow:none; }
.news-card--modern .news-card__image { aspect-ratio:16/9; border-radius:11px; overflow:hidden; }
.news-card--modern h3 { margin:10px 0 7px; font-size:14px; line-height:1.35; }
.news-card__meta { color:var(--blue); font-size:11px; font-weight:800; }

.news-sidebar { border-color:var(--line); box-shadow:var(--shadow-v3); border-radius:16px; }
.news-sidebar .section-title { font-size:15px; }
.news-category-links a:hover { color:var(--blue); }
.story-tag { background:var(--blue); }

/* Prediction league / match */
.predictions-index--v3 { padding:0; overflow:hidden; }
.league-landing-hero { display:grid; grid-template-columns:100px 1fr; gap:22px; align-items:center; padding:28px; background:linear-gradient(135deg,#0b1830 0,#12356c 100%); color:#fff; }
.league-landing-hero__mark { display:grid; place-items:center; width:88px; height:88px; border-radius:24px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); font-size:24px; font-weight:900; }
.league-landing-hero h1 { margin:5px 0 8px; font-size:34px; letter-spacing:-1px; }
.league-landing-hero p { max-width:850px; margin:0; color:#c6d3e8; line-height:1.6; }
.predictions-index--v3 > .category-tabs, .predictions-index--v3 > .prediction-grid, .predictions-index--v3 > .empty-state, .predictions-index--v3 > .news-pagination, .predictions-index--v3 > .prediction-hub-note, .predictions-index--v3 > .predictions-list-title { margin-left:24px; margin-right:24px; }
.predictions-index--v3 > .category-tabs { margin-top:20px; }
.predictions-list-title { margin-top:24px; }
.predictions-index--v3 .prediction-grid { padding-bottom:24px; }

.prediction-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:18px; align-items:start; }
.prediction-article--v3 { padding:0; overflow:hidden; border-color:var(--line); border-radius:16px; box-shadow:var(--shadow-v3); }
.prediction-hero { padding:28px 30px 18px; background:linear-gradient(180deg,#fff 0,#f7faff 100%); border-bottom:1px solid var(--line); text-align:center; }
.prediction-hero h1 { margin:7px auto 6px; max-width:900px; font-size:clamp(28px,4vw,44px); letter-spacing:-1.3px; }
.prediction-hero__subtitle { margin:0; color:#6d788a; }
.prediction-versus { display:grid; grid-template-columns:1fr 150px 1fr; gap:20px; align-items:center; margin:28px 0 20px; }
.prediction-versus__team { display:flex; align-items:center; gap:12px; text-align:left; }
.prediction-versus__team--away { flex-direction:row-reverse; text-align:right; }
.team-mark { display:grid; place-items:center; width:64px; height:64px; flex:none; border-radius:20px; background:#fff; border:1px solid #dfe6f2; box-shadow:0 8px 20px rgba(16,24,40,.05); color:var(--blue); font-size:20px; font-weight:900; }
.prediction-versus__team strong { font-size:19px; line-height:1.2; }
.prediction-versus__center span { display:block; color:var(--blue); font-size:10px; font-weight:900; letter-spacing:.12em; }
.prediction-versus__center b { display:block; margin-top:4px; font-size:20px; }
.prediction-consensus-scale { max-width:760px; margin:0 auto 8px; background:#e7ecf4; }
.prediction-consensus-values { display:flex; justify-content:space-between; max-width:760px; margin:0 auto; }
.prediction-consensus-values span { min-width:70px; color:#8a94a6; font-size:10px; }
.prediction-consensus-values b { display:block; color:#1b2a41; font-size:22px; }
.prediction-consensus-values small { font-size:10px; font-weight:800; }
.prediction-anchor-nav { display:flex; justify-content:center; gap:8px; margin:24px -30px -18px; padding:10px 20px; border-top:1px solid var(--line); background:#fff; }
.prediction-anchor-nav a { padding:8px 12px; border-radius:8px; color:#5d697c; font-size:12px; font-weight:750; }
.prediction-anchor-nav a:hover { background:var(--blue-soft); color:var(--blue); }
.prediction-article--v3 > .prediction-archive-note, .prediction-article--v3 > .forecast-summary, .prediction-article--v3 > .prediction-lead, .prediction-article--v3 > .prediction-models, .prediction-article--v3 > .prediction-copy, .prediction-article--v3 > .prediction-risk, .prediction-article--v3 > .prediction-method-note, .prediction-article--v3 > .related-news { margin-left:30px; margin-right:30px; }
.forecast-summary { display:grid; grid-template-columns:minmax(250px,.9fr) minmax(0,1.1fr); gap:12px; margin-top:24px; }
.forecast-summary__primary { padding:20px; border-radius:13px; background:#eef5ff; border:1px solid #d8e6ff; }
.forecast-summary__primary > span, .forecast-summary__metrics span { display:block; color:#6f7f98; font-size:10px; font-weight:850; text-transform:uppercase; letter-spacing:.05em; }
.forecast-summary__primary strong { display:block; margin:7px 0; color:#12356c; font-size:22px; line-height:1.25; }
.forecast-summary__primary small { color:#71809a; }
.forecast-summary__metrics { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.forecast-summary__metrics > div { padding:15px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.forecast-summary__metrics strong { display:block; margin-top:5px; font-size:18px; }
.prediction-lead { padding-top:22px; font-size:17px; line-height:1.7; }
.prediction-models--cards { padding-top:10px; }
.model-source-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.model-source-card { padding:14px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.model-source-card__top { display:flex; justify-content:space-between; gap:8px; align-items:center; }
.model-source-card__top strong { font-size:13px; }
.model-source-card__top span { color:#8190a6; font-size:9px; text-transform:uppercase; }
.model-source-card__values { display:flex; gap:8px; margin-top:12px; }
.model-source-card__values span { flex:1; padding:8px; background:#f7f9fc; border-radius:8px; color:#7a8598; font-size:9px; text-align:center; }
.model-source-card__values b { display:block; margin-top:2px; color:#27364f; font-size:14px; }
.model-consensus-note { margin-top:10px; padding:12px 14px; border-radius:10px; background:#f7f9fc; color:#667085; font-size:12px; line-height:1.55; }
.prediction-copy--article { padding-top:6px; }
.prediction-copy--article p { font-size:15px; line-height:1.75; }
.prediction-risk--v3 { padding:18px; background:#fff8ec; border:1px solid #f3dfbb; color:#6f5a2c; }
.prediction-risk--v3 strong { display:block; color:#8a671d; }
.prediction-risk--v3 p { margin:5px 0 0; }
.related-news--modern { padding-bottom:30px; }

.site-footer { margin-top:48px; border-top:1px solid var(--line); background:#fff; }
.site-footer__inner { width:min(1280px,calc(100% - 40px)); min-height:120px; margin:0 auto; display:grid; grid-template-columns:180px 1fr auto; gap:24px; align-items:center; color:#7a8598; font-size:12px; }
.site-footer__brand { font-size:20px; font-weight:900; }
.site-footer__nav { display:flex; gap:20px; justify-content:center; }
.site-footer__nav a:hover { color:var(--blue); }
.mobile-bottom-nav { display:none; }

/* make older pages fit the new visual system */
.content-card, .matches-panel, .latest-news, .news-sidebar { border-color:var(--line); box-shadow:var(--shadow-v3); border-radius:16px; }
.page-title-row h1, .article h1, .entity-hero h1 { letter-spacing:-.7px; }
.text-link, .section-heading-row a { color:var(--blue); }
.category-tabs a.is-active { color:var(--blue); border-color:#c8d9ff; background:var(--blue-soft); }

@media (max-width: 1080px) {
  .topbar__inner { grid-template-columns:180px 1fr auto; }
  .main-nav { gap:18px; }
  .home-dashboard-hero { grid-template-columns:1fr 1fr; }
  .prediction-grid--dashboard { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-grid--modern, .prediction-layout { grid-template-columns:minmax(0,1fr) 300px; }
  .news-card-grid--modern { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  body { padding-bottom:66px; }
  .topbar__inner { width:calc(100% - 24px); height:60px; grid-template-columns:1fr auto; }
  .brand { font-size:24px; }
  .main-nav { display:none; position:absolute; left:12px; right:12px; top:61px; padding:10px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 18px 50px rgba(16,24,40,.16); }
  .main-nav.is-mobile-open { display:grid; }
  .main-nav > a, .nav-dropdown__toggle { min-height:auto; padding:11px 12px; border-radius:8px; }
  .main-nav > a::after, .nav-dropdown__toggle::after { display:none; }
  .nav-dropdown__menu { display:grid; position:static; width:auto; margin:0 8px 8px; padding:5px; border:0; box-shadow:none; background:#f8faff; }
  .nav-dropdown__menu a { padding:8px 10px; }
  .mobile-menu-button { display:block; }
  .page-shell { width:calc(100% - 24px); margin-top:12px; }
  .sports-nav { margin-bottom:10px; }
  .home-dashboard-hero { grid-template-columns:1fr; }
  .home-dashboard-hero__main { padding:26px 22px; }
  .hero-consensus-card { min-height:250px; }
  .dashboard-section, .matches-panel--modern, .latest-news--modern { padding:16px; border-radius:14px; }
  .prediction-grid--dashboard, .news-card-grid--modern { grid-template-columns:1fr 1fr; }
  .home-grid--modern, .prediction-layout { grid-template-columns:1fr; }
  .home-grid--modern > .news-sidebar, .prediction-layout > .news-sidebar { display:none; }
  .league-landing-hero { grid-template-columns:70px 1fr; padding:22px; }
  .league-landing-hero__mark { width:62px; height:62px; border-radius:17px; font-size:18px; }
  .league-landing-hero h1 { font-size:27px; }
  .prediction-hero { padding:22px 18px 15px; }
  .prediction-versus { grid-template-columns:1fr 90px 1fr; gap:8px; }
  .prediction-versus__team, .prediction-versus__team--away { flex-direction:column; text-align:center; gap:7px; }
  .team-mark { width:52px; height:52px; border-radius:16px; font-size:16px; }
  .prediction-versus__team strong { font-size:14px; }
  .prediction-anchor-nav { margin:20px -18px -15px; overflow-x:auto; justify-content:flex-start; }
  .prediction-article--v3 > .prediction-archive-note, .prediction-article--v3 > .forecast-summary, .prediction-article--v3 > .prediction-lead, .prediction-article--v3 > .prediction-models, .prediction-article--v3 > .prediction-copy, .prediction-article--v3 > .prediction-risk, .prediction-article--v3 > .prediction-method-note, .prediction-article--v3 > .related-news { margin-left:18px; margin-right:18px; }
  .forecast-summary { grid-template-columns:1fr; }
  .site-footer__inner { width:calc(100% - 24px); grid-template-columns:1fr; gap:10px; padding:26px 0 90px; text-align:center; }
  .site-footer__nav { flex-wrap:wrap; }
  .mobile-bottom-nav { position:fixed; z-index:120; left:10px; right:10px; bottom:10px; display:grid; grid-template-columns:repeat(4,1fr); padding:7px; background:rgba(255,255,255,.96); border:1px solid var(--line); border-radius:16px; box-shadow:0 12px 35px rgba(16,24,40,.18); backdrop-filter:blur(12px); }
  .mobile-bottom-nav a { display:flex; flex-direction:column; align-items:center; gap:3px; color:#667085; font-size:9px; font-weight:750; }
  .mobile-bottom-nav a span { color:#344054; font-size:18px; line-height:1; }
}

@media (max-width: 560px) {
  .page-shell { width:calc(100% - 16px); }
  .sports-nav { border-radius:10px; }
  .home-dashboard-hero__main h1 { font-size:34px; }
  .prediction-grid--dashboard, .news-card-grid--modern { grid-template-columns:1fr; }
  .prediction-card--modern { min-height:auto; }
  .section-heading-row--modern h2 { font-size:19px; }
  .prediction-versus { grid-template-columns:1fr 72px 1fr; }
  .prediction-versus__center span { font-size:8px; }
  .prediction-versus__center b { font-size:16px; }
  .prediction-consensus-values b { font-size:18px; }
  .forecast-summary__metrics, .model-source-grid { grid-template-columns:1fr; }
  .league-landing-hero { grid-template-columns:1fr; }
  .league-landing-hero__mark { display:none; }
  .predictions-index--v3 > .category-tabs, .predictions-index--v3 > .prediction-grid, .predictions-index--v3 > .empty-state, .predictions-index--v3 > .news-pagination, .predictions-index--v3 > .prediction-hub-note, .predictions-index--v3 > .predictions-list-title { margin-left:15px; margin-right:15px; }
}

/* v4: shared football + hockey prediction hub */
.prediction-sport-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0 30px}
.prediction-sport-choice{display:flex;gap:18px;align-items:flex-start;padding:22px;border:1px solid var(--border,#e5e7eb);border-radius:18px;background:#fff;text-decoration:none;color:inherit;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.prediction-sport-choice:hover{transform:translateY(-2px);border-color:#b7cdfd;box-shadow:0 12px 30px rgba(22,65,130,.08)}
.prediction-sport-choice__icon{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#f1f5ff;font-size:28px;flex:0 0 54px}
.prediction-sport-choice strong{display:block;font-size:22px;margin-bottom:6px}
.prediction-sport-choice p{margin:0 0 12px;color:var(--muted,#64748b);line-height:1.55}
.prediction-sport-choice b{font-size:14px;color:var(--brand,#155eef)}
.prediction-hub-sport{margin-top:30px}
.prediction-sport-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 12px}
.prediction-sport-tabs a{padding:10px 14px;border-radius:999px;background:#f4f6f8;color:#334155;text-decoration:none;font-weight:700;font-size:14px}
.prediction-sport-tabs a.is-active{background:#155eef;color:#fff}
@media(max-width:760px){.prediction-sport-choices{grid-template-columns:1fr}.prediction-sport-choice{padding:17px}.prediction-sport-choice strong{font-size:19px}}

/* v5: evergreen prediction academy (no automated match picks) */
.hero-guide-card{display:flex;flex-direction:column;justify-content:flex-end;min-height:250px;padding:28px;border-radius:18px;background:linear-gradient(145deg,#13213a,#1f3f70);color:#fff;text-decoration:none;box-shadow:0 18px 45px rgba(17,44,84,.18)}
.hero-guide-card strong{display:block;margin:10px 0 8px;font-size:clamp(22px,3vw,32px);line-height:1.12;letter-spacing:-.5px}
.hero-guide-card p{margin:0 0 16px;color:#dce7fa;line-height:1.55}
.hero-guide-card>span:last-child{font-size:13px;font-weight:800;color:#fff}

.guide-home-section{margin-top:18px}
.guide-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 24px}
.guide-card-grid--home{margin-bottom:0}
.guide-card{display:flex;min-width:0;min-height:220px;flex-direction:column;padding:20px;border:1px solid var(--line,#e6eaf0);border-radius:15px;background:#fff;color:inherit;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.guide-card:hover{transform:translateY(-2px);border-color:#c8d9ff;box-shadow:0 12px 30px rgba(21,94,239,.08)}
.guide-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8a94a6;font-size:11px;font-weight:750}
.guide-card__topic{display:inline-flex;width:max-content;padding:5px 8px;border-radius:999px;background:#eef4ff;color:#155eef;font-size:10px;font-weight:850;letter-spacing:.03em;text-transform:uppercase}
.guide-card h2,.guide-card h3{margin:14px 0 8px;color:#1b2a41;font-size:19px;line-height:1.25;letter-spacing:-.25px}
.guide-card p{margin:0 0 16px;color:#667085;font-size:13px;line-height:1.58}
.guide-card small{margin-top:auto;color:#155eef;font-size:12px;font-weight:800}

.guide-hub-hero{padding:34px;background:linear-gradient(180deg,#fff 0,#f7faff 100%);border-color:var(--line)}
.guide-hub-hero h1{max-width:900px;margin:7px 0 12px;font-size:clamp(32px,5vw,50px);line-height:1.05;letter-spacing:-1.4px}
.guide-hub-hero>p{max-width:850px;margin:0;color:#657083;font-size:17px;line-height:1.7}
.guide-hub-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.guide-topic-nav{display:flex;gap:8px;overflow-x:auto;margin:16px 0;padding:4px 0 6px;scrollbar-width:none}
.guide-topic-nav::-webkit-scrollbar{display:none}
.guide-topic-nav a{white-space:nowrap;padding:10px 14px;border:1px solid var(--line,#e6eaf0);border-radius:999px;background:#fff;color:#526071;text-decoration:none;font-size:13px;font-weight:800}
.guide-topic-nav a.is-active,.guide-topic-nav a:hover{border-color:#c8d9ff;background:#eef4ff;color:#155eef}

.guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.guide-article{padding:0;overflow:hidden}
.guide-hero{padding:34px 36px 26px;background:linear-gradient(180deg,#fff,#f8faff);border-bottom:1px solid var(--line,#e6eaf0)}
.guide-hero h1{max-width:950px;margin:8px 0 14px;font-size:clamp(30px,4.7vw,46px);line-height:1.07;letter-spacing:-1.1px}
.guide-lead{max-width:900px;margin:0;color:#4f5d70;font-size:18px;line-height:1.72}
.guide-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:18px;color:#8791a2;font-size:11px;font-weight:700}
.guide-toc{display:grid;gap:8px;margin:24px 36px;padding:18px;border:1px solid #e6ebf3;border-radius:13px;background:#fafcff}
.guide-toc strong{margin-bottom:3px;color:#26364f;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.guide-toc a{color:#426391;text-decoration:none;font-size:13px;line-height:1.45}
.guide-toc a:hover{color:#155eef}
.guide-copy{padding:0 36px 8px}
.guide-copy section{scroll-margin-top:90px;padding:14px 0 18px;border-bottom:1px solid #eef1f5}
.guide-copy section:last-child{border-bottom:0}
.guide-copy h2{margin:0 0 12px;color:#1d2b40;font-size:24px;line-height:1.25;letter-spacing:-.3px}
.guide-copy p{margin:0 0 12px;color:#4e5868;font-size:16px;line-height:1.78}
.guide-copy p:last-child{margin-bottom:0}
.guide-copy ul{margin:12px 0 0;padding-left:22px;color:#4e5868}
.guide-copy li{margin:8px 0;line-height:1.6}
.guide-note{margin:20px 36px;padding:18px 20px;border:1px solid #f0dfb8;border-radius:13px;background:#fff9ec;color:#66542e}
.guide-note strong{display:block;margin-bottom:5px;color:#7f611a}
.guide-note p{margin:0;font-size:13px;line-height:1.65}
.guide-faq{margin:32px 36px 8px;padding-top:24px;border-top:1px solid #e9edf2}
.guide-faq h2{margin:4px 0 16px;font-size:25px}
.guide-faq details{border-top:1px solid #e8ecf2}
.guide-faq details:last-child{border-bottom:1px solid #e8ecf2}
.guide-faq summary{cursor:pointer;padding:16px 0;color:#27364d;font-weight:800}
.guide-faq p{margin:-4px 0 16px;color:#5b6575;font-size:14px;line-height:1.65}
.guide-related{margin:34px 36px 36px;padding-top:26px;border-top:1px solid #e9edf2}
.guide-card-grid--related{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:0}
.guide-card-grid--related .guide-card{min-height:190px;padding:17px}
.guide-card-grid--related .guide-card h3{font-size:16px}

.guide-principles{margin-top:18px;padding:26px}
.guide-principles h2{margin:4px 0 18px;font-size:24px}
.guide-principles__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.guide-principles__grid>div{padding:17px;border:1px solid #e7ebf1;border-radius:12px;background:#fafcff}
.guide-principles__grid strong{color:#253650;font-size:15px}
.guide-principles__grid p{margin:6px 0 0;color:#667085;font-size:13px;line-height:1.55}

@media(max-width:1080px){.guide-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-layout{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:820px){.guide-layout{grid-template-columns:1fr}.guide-layout>.news-sidebar{display:none}.guide-hero{padding:26px 22px 20px}.guide-toc{margin:20px 22px}.guide-copy{padding-left:22px;padding-right:22px}.guide-note,.guide-faq,.guide-related{margin-left:22px;margin-right:22px}.guide-principles__grid{grid-template-columns:1fr}.guide-hub-hero{padding:26px 22px}}
@media(max-width:560px){.guide-card-grid,.guide-card-grid--related{grid-template-columns:1fr}.guide-card{min-height:auto}.guide-hero h1{font-size:31px}.guide-lead{font-size:16px}.guide-copy h2{font-size:21px}.guide-copy p{font-size:15px}.guide-hub-hero h1{font-size:34px}}

/* v6: editorial predictions & analysis hub */
.guide-hub-hero--editorial{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:28px;align-items:stretch;padding:0;overflow:hidden;background:linear-gradient(135deg,#fff 0%,#f7faff 58%,#eef4ff 100%)}
.guide-hub-hero--editorial .guide-hub-hero__copy{padding:38px 40px}
.guide-hub-hero__facts{display:grid;align-content:center;gap:1px;background:#17396d}
.guide-hub-hero__facts>div{display:flex;flex-direction:column;gap:5px;padding:22px 26px;border-bottom:1px solid rgba(255,255,255,.12);color:#fff}
.guide-hub-hero__facts>div:last-child{border-bottom:0}
.guide-hub-hero__facts strong{font-size:20px;letter-spacing:-.35px}
.guide-hub-hero__facts span{color:#c9d8ef;font-size:12px;line-height:1.45}

.guide-start-block{margin-top:24px}
.guide-start-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.guide-start-card{position:relative;display:flex;min-height:170px;flex-direction:column;padding:20px;border:1px solid #e3e8f0;border-radius:15px;background:#fff;color:#1f2d42;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.guide-start-card:hover{transform:translateY(-2px);border-color:#bfd0ee;box-shadow:0 14px 34px rgba(30,74,133,.08)}
.guide-start-card__num{margin-bottom:18px;color:#9aa7ba;font-size:12px;font-weight:900;letter-spacing:.08em}
.guide-start-card strong{font-size:16px;line-height:1.35;letter-spacing:-.2px}
.guide-start-card>span:last-child{margin-top:auto;padding-top:18px;color:#155eef;font-size:12px;font-weight:800}

.guide-topic-nav--anchors{position:sticky;top:68px;z-index:7;margin:24px 0 8px;padding:9px;border:1px solid #e6eaf0;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 8px 22px rgba(31,45,66,.05);backdrop-filter:blur(10px)}
.guide-topic-section{scroll-margin-top:145px;padding-top:22px}
.guide-topic-section__head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px}
.guide-topic-section__head h2{margin:4px 0 5px;color:#1d2b40;font-size:27px;letter-spacing:-.45px}
.guide-topic-section__head p{max-width:740px;margin:0;color:#667085;font-size:14px;line-height:1.6}

.guide-intro-box{margin:24px 36px 0;padding:18px 20px;border-left:4px solid #155eef;border-radius:0 12px 12px 0;background:#f5f8ff}
.guide-intro-box strong{display:block;margin-bottom:5px;color:#17396d;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.guide-intro-box p{margin:0;color:#526071;font-size:14px;line-height:1.65}
.guide-principles--editorial{background:linear-gradient(180deg,#fff,#fbfcff)}

@media(max-width:1080px){
  .guide-hub-hero--editorial{grid-template-columns:1fr}
  .guide-hub-hero__facts{grid-template-columns:repeat(3,1fr)}
  .guide-hub-hero__facts>div{border-bottom:0;border-right:1px solid rgba(255,255,255,.12)}
  .guide-hub-hero__facts>div:last-child{border-right:0}
  .guide-start-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .guide-hub-hero--editorial .guide-hub-hero__copy{padding:28px 24px}
  .guide-topic-nav--anchors{position:static}
  .guide-intro-box{margin-left:22px;margin-right:22px}
}
@media(max-width:620px){
  .guide-hub-hero__facts{grid-template-columns:1fr}
  .guide-hub-hero__facts>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.12)}
  .guide-start-grid{grid-template-columns:1fr}
  .guide-start-card{min-height:145px}
  .guide-topic-section__head h2{font-size:23px}
}

/* v7: trust, article metadata and crawl-friendly editorial pages */
.guide-meta__link,.article__author{color:inherit;text-decoration:none;border-bottom:1px solid rgba(80,99,128,.3)}
.guide-meta__link:hover,.article__author:hover{color:#155eef;border-bottom-color:#155eef}
.article__meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#7a8799}
.editorial-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.seo-intro{margin:0 0 20px;color:#5f6b7c;font-size:14px;line-height:1.7}
.entity-summary{margin:14px 0 22px;padding:16px 18px;border:1px solid #e7ebf2;border-radius:12px;background:#fafcff;color:#596579;font-size:14px;line-height:1.65}

/* ===== Match page: prominent kickoff date ===== */
.match-kickoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 0 11px;
  padding: 9px 12px;
  border: 1px solid #e9e4de;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(31, 27, 24, .04);
}
.match-kickoff > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.match-kickoff time {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}
.match-kickoff strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .01em;
}
.match-kickoff small {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 600px) {
  .match-kickoff {
    margin-bottom: 8px;
    padding: 7px 6px;
    border-radius: 11px;
  }
  .match-kickoff > span { font-size: 8px; }
  .match-kickoff strong { font-size: 11px; }
  .match-kickoff small { font-size: 10px; }
}
