:root {
  --primary: #0E3B2E; --on-primary: #fff;
  --accent: #F7C600; --on-accent: #10201a;
  --live: #D7263D;
  --ink: #13211c; --ink-2: #4a5a54; --ink-3: #7b8a84;
  --paper: #ffffff; --mist: #eef2f0; --line: #dde4e1;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --wrap: 1220px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 16px/1.55 var(--font-body); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0; letter-spacing: -.005em; }

/* ---------- header ---------- */
.hdr { background: var(--primary); color: var(--on-primary); position: sticky; top: 0; z-index: 30; }
.hdr-row { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.logo-img { height: 38px; width: auto; }
.logo-text { font: 800 27px/1 var(--font-head); text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: baseline; gap: 5px; }
.logo-mark { background: var(--accent); color: var(--on-accent); padding: 3px 7px 1px; transform: skewX(-8deg); display: inline-block; }
.logo-rest { color: inherit; }
.main-nav { display: flex; gap: 2px; flex: 1; overflow: hidden; }
.main-nav a { font: 600 17px/1 var(--font-head); padding: 21px 11px 18px; border-bottom: 3px solid transparent; white-space: nowrap; }
.main-nav a:hover { text-decoration: none; border-bottom-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.main-nav a.on { border-bottom-color: var(--accent); }
.hdr-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { background: none; border: 0; color: inherit; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.menu-btn { display: none; }
.region-pick { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.1); border-radius: 20px; padding: 0 4px 0 10px; height: 34px; }
.region-pick select { background: transparent; color: inherit; border: 0; font: 500 14px var(--font-body); max-width: 128px; cursor: pointer; }
.region-pick select option { color: #111; }
.lang-btn { background: none; color: inherit; border: 1.5px solid currentColor; border-radius: 4px; font: 700 13px var(--font-body); height: 28px; padding: 0 7px; cursor: pointer; opacity: .9; }
.adv-btn { background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--font-head); padding: 9px 14px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: .02em; }
.adv-btn:hover { text-decoration: none; filter: brightness(1.05); }
.drawer { background: var(--primary); color: var(--on-primary); display: flex; flex-direction: column; padding: 4px 16px 14px; border-top: 1px solid rgba(255,255,255,.12); }
.drawer[hidden] { display: none; }
@media (min-width: 961px) { .drawer { display: none; } }
.drawer a { font: 600 20px var(--font-head); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

/* ---------- score ticker: the signature element ---------- */
.ticker { background: #08130f; color: #fff; border-bottom: 3px solid var(--accent); }
.tk-list { list-style: none; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; margin: 0 auto; }
.tk-list::-webkit-scrollbar { display: none; }
.tk { display: grid; grid-template-columns: auto 1fr auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 8px 18px; border-right: 1px solid rgba(255,255,255,.1); min-width: 236px; flex-shrink: 0; }
.tk-comp { grid-column: 1 / 4; font: 600 11px var(--font-body); color: rgba(255,255,255,.55); letter-spacing: .02em; }
.tk-status { grid-column: 4; grid-row: 1; justify-self: end; font: 700 12px var(--font-body); color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 5px; }
.tk.is-live .tk-status { color: #ff5a6e; }
.tk-team { font: 600 15px/1.1 var(--font-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; grid-row: 2; }
.tk-team:first-of-type { grid-column: 1 / 3; text-align: right; }
.tk-team:last-of-type { grid-column: 4; }
.tk-score { grid-row: 2; grid-column: 3; font: 700 20px/1 var(--font-head); background: rgba(255,255,255,.08); padding: 4px 8px 3px; border-radius: 3px; font-variant-numeric: tabular-nums; min-width: 54px; text-align: center; }
.tk.is-live .tk-score { background: var(--live); }
.tk-score i { font-style: normal; opacity: .6; margin: 0 3px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5a6e; display: inline-block; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ---------- layout ---------- */
main { min-height: 60vh; }
.page { padding: 20px 0 48px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 76px; }
.box { background: var(--paper); border-radius: 4px; padding: 16px; }
.box-title { font-size: 22px; font-weight: 700; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 3px solid var(--primary); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.65fr 1fr; gap: 3px; background: var(--primary); border-radius: 4px; overflow: hidden; margin-bottom: 24px; }
.hero-lead { position: relative; min-height: 420px; color: #fff; display: flex; align-items: flex-end; }
.hero-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4,14,10,.92)); }
.hero-lead .hl-body { position: relative; z-index: 1; padding: 26px; max-width: 720px; }
.hero-lead h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; margin: 8px 0 10px; text-wrap: balance; }
.hero-lead p { margin: 0; color: rgba(255,255,255,.85); font-size: 17px; max-width: 60ch; }
.hero-lead .kicker { color: var(--accent); }
.hero-list { display: flex; flex-direction: column; gap: 3px; }
.hero-item { background: var(--paper); flex: 1; display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px; align-items: center; }
.hero-item img { width: 112px; height: 74px; object-fit: cover; border-radius: 3px; }
.hero-item h3 { font-size: 19px; font-weight: 700; text-wrap: pretty; }
.hero-item time { font-size: 12px; color: var(--ink-3); display: block; margin-top: 4px; }

/* ---------- kicker / meta ---------- */
.kicker { font: 700 13px/1 var(--font-body); color: var(--primary); display: inline-flex; gap: 8px; align-items: center; }
.k-sport { color: var(--ink-3); font-weight: 600; }
.k-sport::before { content: ""; display: inline-block; width: 4px; height: 4px; background: currentColor; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.hero-lead .k-sport { color: rgba(255,255,255,.7); }
.flag-breaking { position: absolute; top: 10px; left: 10px; background: var(--live); color: #fff; font: 700 12px/1 var(--font-body); padding: 5px 7px; border-radius: 2px; z-index: 2; }

/* ---------- sections ---------- */
.section { margin-bottom: 30px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; }
.sec-head h2 { font-size: 30px; font-weight: 800; text-transform: uppercase; }
.sec-head p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.sec-head .more { font: 700 15px var(--font-head); color: var(--primary); white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--paper); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 16/9; background: var(--primary); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card-img img { transition: none; } }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 21px; font-weight: 700; text-wrap: pretty; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card time { font-size: 12px; color: var(--ink-3); margin-top: auto; }
.cards.four .card h3 { font-size: 18px; }
.card.wide { display: grid; grid-template-columns: 1.1fr 1fr; }
.card.wide .card-img { aspect-ratio: auto; min-height: 220px; }
.card.wide h3 { font-size: 28px; }
.card.compact { flex-direction: row; }
.card.compact .card-img { width: 132px; flex-shrink: 0; aspect-ratio: 4/3; }
.card.compact h3 { font-size: 18px; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }

.rows { list-style: none; margin: 0; padding: 0; }
.row-item { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.row-item:last-child { border-bottom: 0; }
.rank { font: 800 28px/1 var(--font-head); color: var(--accent); -webkit-text-stroke: 1px var(--primary); }
.row-item a { font: 600 17px/1.2 var(--font-head); display: block; }
.row-item time { font-size: 12px; color: var(--ink-3); }

.standings table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.standings th { font-weight: 600; color: var(--ink-3); font-size: 12px; padding: 8px 4px; text-align: center; }
.standings td { padding: 7px 4px; text-align: center; border-top: 1px solid var(--line); }
.standings .tl { text-align: left; }
.standings tbody tr:first-child td:first-child { box-shadow: inset 3px 0 var(--accent); }

/* ---------- ads ---------- */
.ad { position: relative; text-align: center; }
.ad-label { display: block; font: 600 10px/1 var(--font-body); color: var(--ink-3); margin-bottom: 5px; letter-spacing: .04em; }
.ad a { display: block; }
.ad a:hover { text-decoration: none; }
.ad img { margin: 0 auto; border-radius: 3px; }
.ad-leaderboard { margin: 18px auto; max-width: 970px; }
.ad-leaderboard img { width: 100%; max-height: 120px; object-fit: contain; }
.ad-sidebar img { width: 100%; max-height: 300px; object-fit: contain; }
.ad-infeed img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.ad-article { margin: 26px 0; }
.ad-article img { max-width: 336px; width: 100%; }
.ad-text { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 2px solid var(--primary); border-radius: 4px; padding: 20px 16px; text-align: left; }
.ad-text strong { font: 800 24px/1.05 var(--font-head); color: var(--primary); }
.ad-text span { color: var(--ink-2); font-size: 15px; }
.ad-house a { border: 2px dashed color-mix(in srgb, var(--primary) 40%, transparent); border-radius: 4px; padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; background: color-mix(in srgb, var(--accent) 10%, var(--paper)); }
.ad-house strong { font: 800 22px var(--font-head); color: var(--primary); }
.ad-house span { font-size: 14px; color: var(--ink-2); }
.ad-leaderboard.ad-house a { flex-direction: row; justify-content: center; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cards .ad-infeed { background: var(--paper); border-radius: 4px; padding: 12px; display: flex; flex-direction: column; justify-content: center; }

/* ---------- article page ---------- */
.art { background: var(--paper); border-radius: 4px; overflow: hidden; }
.art-head { padding: 26px 30px 18px; }
.art-head h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin: 10px 0 14px; text-wrap: balance; }
.art-head .standfirst { font-size: 20px; color: var(--ink-2); margin: 0 0 16px; max-width: 62ch; line-height: 1.45; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-3); font-size: 14px; align-items: center; }
.byline b { color: var(--ink); }
.art-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.art-body { padding: 24px 30px 30px; font-size: 18px; line-height: 1.7; max-width: 760px; }
.art-body p { margin: 0 0 1.1em; }
.art-body h2 { font-size: 30px; margin: 1.4em 0 .5em; }
.art-body h3 { font-size: 24px; margin: 1.2em 0 .4em; }
.art-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 5px solid var(--accent); font: 600 24px/1.3 var(--font-head); color: var(--primary); }
.art-body a { color: var(--primary); text-decoration: underline; }
.art-body .ad a { text-decoration: none; color: inherit; }
.art-body img, .art-body iframe { max-width: 100%; border-radius: 3px; margin: 1em 0; }
.art-body iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.share { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 30px 26px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 3px; font: 700 14px var(--font-body); border: 0; cursor: pointer; color: #fff; }
.share a:hover { text-decoration: none; filter: brightness(1.08); }
.sh-wa { background: #1f9d55; } .sh-fb { background: #2d5fc4; } .sh-x { background: #111; } .sh-copy { background: var(--ink-2); }
.demo-badge { background: var(--accent); color: var(--on-accent); font: 700 11px var(--font-body); padding: 3px 6px; border-radius: 2px; }

/* ---------- category page ---------- */
.cat-hero { background: var(--primary); color: var(--on-primary); padding: 26px 0 0; }
.cat-hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; text-transform: uppercase; }
.cat-hero p { margin: 4px 0 16px; opacity: .8; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
.chip { flex-shrink: 0; padding: 7px 13px; border-radius: 20px; background: rgba(255,255,255,.1); font: 600 14px var(--font-body); color: inherit; }
.chip:hover { text-decoration: none; background: rgba(255,255,255,.2); }
.chip.on { background: var(--accent); color: var(--on-accent); }
.empty { padding: 40px 16px; text-align: center; color: var(--ink-2); background: var(--paper); border-radius: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 3px; border: 0; cursor: pointer; font: 700 16px var(--font-head); background: var(--primary); color: var(--on-primary); text-transform: uppercase; letter-spacing: .02em; }
.btn:hover { text-decoration: none; filter: brightness(1.12); }
.btn.alt { background: var(--accent); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.center { text-align: center; margin-top: 18px; }

/* ---------- search ---------- */
.search-bar { display: flex; gap: 8px; margin-bottom: 18px; }
.search-bar input { flex: 1; font: 500 18px var(--font-body); padding: 12px 14px; border: 2px solid var(--line); border-radius: 3px; }
.search-bar input:focus { border-color: var(--primary); outline: none; }

/* ---------- footer ---------- */
footer { background: #08130f; color: rgba(255,255,255,.75); padding: 36px 0 0; margin-top: 10px; }
.ftr { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.ftr h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.ftr > div > a, .ftr > div > span { display: block; font-size: 14px; padding: 3px 0; }
.ftr-brand p { font-size: 14px; max-width: 42ch; }
.ftr-brand .logo-text { color: #fff; }
.ftr-base { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding: 14px 16px; font-size: 13px; }
.powered { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: 12.5px; }
.powered:hover { color: #fff; text-decoration: none; }
.powered img { width: 34px; height: 34px; border-radius: 6px; background: #fff; padding: 2px; flex-shrink: 0; }
.powered b { font-family: "Montserrat", var(--font-body); font-weight: 700; color: #fff; letter-spacing: .01em; }

/* ---------- forms (advertise) ---------- */
.adv-hero { background: var(--primary); color: var(--on-primary); padding: 36px 0 30px; }
.adv-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; max-width: 18ch; }
.adv-hero p { max-width: 62ch; opacity: .85; font-size: 18px; margin: 12px 0 0; }
.adv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.step { background: var(--paper); border-radius: 4px; padding: 22px; margin-bottom: 16px; }
.step h2 { font-size: 26px; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.step h2 .n { background: var(--accent); color: var(--on-accent); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fld label, .fld .lbl { font-weight: 600; font-size: 15px; }
.fld .help { font-size: 13px; color: var(--ink-3); }
.fld input, .fld select, .fld textarea { font: 400 16px var(--font-body); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink); width: 100%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; flex-direction: column; gap: 2px; border: 2px solid var(--line); border-radius: 4px; padding: 12px 14px; cursor: pointer; height: 100%; }
.opt span b { font: 700 18px var(--font-head); }
.opt span small { color: var(--ink-3); font-size: 13px; }
.opt span em { font-style: normal; font-weight: 700; color: var(--primary); font-size: 14px; }
.opt input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--accent) 14%, #fff); }
.opt input:focus-visible + span { outline: 3px solid var(--accent); }
.summary { position: sticky; top: 76px; }
.summary .tot { font: 800 40px/1 var(--font-head); color: var(--primary); margin: 6px 0 2px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; margin: 14px 0 0; }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.pay-box { background: var(--mist); border-left: 4px solid var(--accent); padding: 12px 14px; border-radius: 3px; font-size: 15px; margin-bottom: 14px; }
.notice { padding: 14px 16px; border-radius: 4px; background: #e6f4ec; border-left: 4px solid #1f9d55; margin-bottom: 16px; }
.notice.err { background: #fde8eb; border-left-color: var(--live); }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table thead th { color: var(--ink-3); font-weight: 600; font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 21px 7px 18px; font-size: 16px; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .grid-main, .adv-grid { grid-template-columns: 1fr; }
  .side, .summary { position: static; }
  .hero { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .ftr { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hdr-row { gap: 6px; height: 56px; }
  .logo-text { font-size: 21px; gap: 3px; }
  .logo-mark { padding: 3px 5px 1px; }
  .logo-img { height: 30px; }
  .adv-btn, .hdr-tools a.icon-btn { display: none; }
  .hdr-tools { gap: 5px; }
  .brand { min-width: 0; overflow: hidden; flex-shrink: 1; }
  .menu-btn { flex-shrink: 0; width: 34px; }
  .region-pick { padding-left: 8px; }
  .region-pick select { max-width: 76px; font-size: 13px; }
  .hero-lead { min-height: 340px; }
  .hero-lead .hl-body { padding: 18px; }
  .hero-lead p { font-size: 15px; }
  .hero-item { grid-template-columns: 88px 1fr; }
  .hero-item img { width: 88px; height: 62px; }
  .hero-item h3 { font-size: 17px; }
  .cards, .cards.four, .split, .card.wide { grid-template-columns: 1fr; }
  .card.wide .card-img { min-height: 0; aspect-ratio: 16/9; }
  .card.wide h3 { font-size: 24px; }
  .sec-head h2 { font-size: 25px; }
  .art-head, .art-body { padding-left: 16px; padding-right: 16px; }
  .share { padding: 0 16px 20px; }
  .art-body { font-size: 17px; }
  .two, .opts { grid-template-columns: 1fr; }
  .ftr { grid-template-columns: 1fr; }
  .tk { min-width: 210px; padding: 7px 12px; }
}

/* cookie notice (only when Google Analytics is set) and legal pages */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 640px; margin: 0 auto; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; color: #15211d; border-radius: 6px; padding: 12px 14px; box-shadow: 0 6px 24px rgba(0,0,0,.18); font-size: 14px; }
.cookie-bar p { margin: 0; flex: 1 1 260px; }
.cookie-bar div { display: flex; gap: 8px; }
.ftr-base a { color: inherit; text-decoration: underline; }
.art.legal .art-body p { white-space: normal; }
.btn.sm { padding: 6px 12px; font-size: 14px; }

/* ============ breaking bar (Matchday and Newsroom layouts) ============ */
.breaking-bar { background: var(--live); color: #fff; }
.breaking-bar .wrap { display: flex; gap: 12px; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.breaking-bar span { font: 800 13px/1 var(--font-body); text-transform: uppercase; letter-spacing: .06em; background: #fff; color: var(--live); padding: 5px 8px; border-radius: 2px; flex-shrink: 0; }
.breaking-bar a { font: 700 17px/1.25 var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ MATCHDAY: dark, bold sports layout ============ */
[data-layout=matchday] { --paper: #1a1e25; --mist: #0f1216; --ink: #f1f3f5; --ink-2: #b9c0c8; --ink-3: #87909b; --line: #2a3039; }
[data-layout=matchday] body { background: var(--mist); }
[data-layout=matchday] .hdr { border-bottom: 3px solid var(--accent); }
[data-layout=matchday] .main-nav a, [data-layout=matchday] .sec-head h2, [data-layout=matchday] .card h3, [data-layout=matchday] .hero-lead h1, [data-layout=matchday] .hero-item h3 { text-transform: uppercase; letter-spacing: .01em; }
[data-layout=matchday] .ticker { background: #000; border-bottom-width: 0; }
[data-layout=matchday] .tk { padding: 12px 22px; min-width: 260px; }
[data-layout=matchday] .tk-score { font-size: 24px; background: var(--accent); color: var(--on-accent); }
[data-layout=matchday] .tk.is-live .tk-score { background: var(--live); color: #fff; }
[data-layout=matchday] .hero { grid-template-columns: 1.5fr 1fr; gap: 6px; background: transparent; border-radius: 0; margin-top: 18px; }
[data-layout=matchday] .hero-lead { border-radius: 6px; overflow: hidden; min-height: 460px; }
[data-layout=matchday] .hero-list { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 6px; }
[data-layout=matchday] .hero-item { position: relative; display: flex; align-items: flex-end; padding: 0; min-height: 200px; border-radius: 6px; overflow: hidden; color: #fff; background: #000; }
[data-layout=matchday] .hero-item img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
[data-layout=matchday] .hero-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.88)); }
[data-layout=matchday] .hero-item > div { position: relative; z-index: 1; padding: 12px; }
[data-layout=matchday] .hero-item h3 { font-size: 18px; }
[data-layout=matchday] .hero-item time { color: rgba(255,255,255,.7); }
[data-layout=matchday] .hero-item .kicker, [data-layout=matchday] .kicker { color: var(--accent); }
[data-layout=matchday] .sec-head { border-bottom: 0; position: relative; padding-left: 14px; }
[data-layout=matchday] .sec-head::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 10px; width: 5px; background: var(--accent); }
[data-layout=matchday] .sec-head .more, [data-layout=matchday] .art-body a { color: var(--accent); }
[data-layout=matchday] .card { border-radius: 6px; }
[data-layout=matchday] .box-title { border-bottom-color: var(--accent); }
[data-layout=matchday] .rank { -webkit-text-stroke: 0; }
[data-layout=matchday] .art-body blockquote { color: var(--ink); }
[data-layout=matchday] .btn.ghost { color: var(--ink); border-color: var(--ink-3); }
[data-layout=matchday] .ad-text strong, [data-layout=matchday] .ad-house strong, [data-layout=matchday] .opt span em, [data-layout=matchday] .summary .tot { color: var(--accent); }
[data-layout=matchday] .fld input, [data-layout=matchday] .fld select, [data-layout=matchday] .fld textarea, [data-layout=matchday] .search-bar input { background: #11151a; color: var(--ink); border-color: var(--line); }
[data-layout=matchday] .opt input:checked + span { background: color-mix(in srgb, var(--accent) 16%, var(--paper)); border-color: var(--accent); }
[data-layout=matchday] .pay-box { background: #11151a; }
[data-layout=matchday] .notice { background: #12301f; } [data-layout=matchday] .notice.err { background: #3a1219; }
.results .res-list { list-style: none; margin: 0; padding: 0; }
.results li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.results li:last-child { border-bottom: 0; }
.res-comp { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.res-row { display: flex; justify-content: space-between; font: 600 16px/1.35 var(--font-head); }
.res-row b { font-variant-numeric: tabular-nums; }
.results li.is-live .res-row b { color: var(--live); }

/* ============ NEWSROOM: clean, text-led news layout ============ */
[data-layout=newsroom] { --mist: #ffffff; --line: #e3e5e8; --ink: #111418; --ink-2: #474d55; }
[data-layout=newsroom] body { background: #fff; }
[data-layout=newsroom] .hdr { border-bottom: 4px solid var(--live); }
[data-layout=newsroom] .logo-mark { transform: none; }
[data-layout=newsroom] .hero { grid-template-columns: 1.7fr 1fr; gap: 28px; background: transparent; border-radius: 0; margin-top: 22px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
[data-layout=newsroom] .hero-lead { flex-direction: column; align-items: stretch; min-height: 0; color: var(--ink); }
[data-layout=newsroom] .hero-lead img { position: static; aspect-ratio: 16/9; height: auto; }
[data-layout=newsroom] .hero-lead::after { display: none; }
[data-layout=newsroom] .hero-lead .hl-body { padding: 14px 0 0; }
[data-layout=newsroom] .hero-lead p { color: var(--ink-2); }
[data-layout=newsroom] .hero-lead .kicker, [data-layout=newsroom] .kicker { color: var(--live); text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
[data-layout=newsroom] .hero-lead .k-sport { color: var(--ink-3); }
[data-layout=newsroom] .hero-list { gap: 0; }
[data-layout=newsroom] .top-title { font-size: 22px; padding-bottom: 8px; border-bottom: 3px solid var(--ink); margin-bottom: 4px; }
[data-layout=newsroom] .hero-item { grid-template-columns: 1fr; padding: 13px 0; border-bottom: 1px solid var(--line); background: transparent; flex: none; }
[data-layout=newsroom] .hero-item h3 { font-size: 20px; margin-top: 5px; }
[data-layout=newsroom] .sec-head { border-bottom: 1px solid var(--line); border-top: 3px solid var(--ink); padding-top: 10px; }
[data-layout=newsroom] .sec-head h2 { font-size: 24px; text-transform: none; }
[data-layout=newsroom] .card { border-radius: 0; background: transparent; }
[data-layout=newsroom] .card-body { padding: 10px 0 4px; }
[data-layout=newsroom] .card-img { border-radius: 2px; }
[data-layout=newsroom] .box { padding: 0; background: transparent; }
[data-layout=newsroom] .box-title { border-bottom: 1px solid var(--line); border-top: 3px solid var(--ink); padding-top: 10px; font-size: 20px; }
[data-layout=newsroom] .rank { color: var(--live); -webkit-text-stroke: 0; font-size: 22px; }
[data-layout=newsroom] .art { border-radius: 0; }
[data-layout=newsroom] .art-head, [data-layout=newsroom] .art-body, [data-layout=newsroom] .share { padding-left: 0; padding-right: 0; }
[data-layout=newsroom] .art-body { font-size: 19px; }
[data-layout=newsroom] .art-body blockquote { border-left-color: var(--live); color: var(--ink); font-style: italic; font-weight: 500; }
[data-layout=newsroom] .cat-hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
[data-layout=newsroom] .cat-hero h1 { text-transform: none; }
[data-layout=newsroom] .chip { background: var(--mist); border: 1px solid var(--line); }
[data-layout=newsroom] .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-layout=newsroom] .chip:hover { background: #f1f2f4; }
[data-layout=newsroom] .chip.on:hover { background: var(--ink); }
[data-layout=newsroom] .step { border: 1px solid var(--line); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 0 0 18px 16px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--live); border: 2px solid #fff; }
.timeline time { font: 700 13px/1.4 var(--font-body); color: var(--ink-3); }
.timeline h3 { font-size: 21px; margin: 4px 0; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 15px; }

@media (max-width: 960px) {
  [data-layout=matchday] .hero, [data-layout=newsroom] .hero { grid-template-columns: 1fr; }
  [data-layout=matchday] .hero-lead { min-height: 340px; }
}
@media (max-width: 560px) {
  [data-layout=matchday] .hero-list { grid-template-columns: 1fr 1fr; }
  [data-layout=matchday] .hero-item { min-height: 160px; }
  [data-layout=matchday] .hero-item h3 { font-size: 15px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .breaking-bar a { white-space: normal; }
}

/* site not activated (license) */
.lic-off{max-width:560px;margin:60px auto;text-align:center}.lic-off h1{font-size:26px;margin-bottom:8px}

/* TikTok videos are tall; audio clips; lesson series */
.art-body iframe.tiktok, .art-body iframe[src*="tiktok.com"] { aspect-ratio: 9 / 16; width: 100%; max-width: 340px; height: auto; display: block; margin: 16px auto; border: 0; }
.art-body audio { display: block; width: 100%; margin: 14px 0; }
.series-tag { display: inline-block; margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.series-nav { margin: 24px 0; padding: 14px; border: 1px solid var(--line, #e2e5ea); border-radius: 8px; }
.series-pn { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.series-pn .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.series-nav summary { cursor: pointer; font-weight: 600; }
.series-nav ol { margin: 8px 0 0; padding-left: 22px; }
.series-nav li { margin: 3px 0; }

/* ---------- Classroom layout (lessons and courses) ---------- */
[data-layout=classroom] body { background: #f6f7f4; }
[data-layout=classroom] .hdr { border-bottom: 4px solid var(--accent); }
.continue { display: grid; gap: 2px; margin: 18px 0 6px; padding: 16px 18px; border-radius: 12px; background: var(--primary); color: var(--on-primary); text-decoration: none; }
.continue span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.continue b { font-family: var(--font-head); font-size: 20px; line-height: 1.25; }
.continue small { opacity: .85; }
.continue::after { content: "→"; justify-self: end; margin-top: -26px; font-size: 22px; }
.courses { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.course { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.course img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.course-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-body h3 { margin: 0; font-family: var(--font-head); font-size: 20px; }
.course-body h3 a { color: var(--ink); text-decoration: none; }
.course-body p { margin: 0; font-size: 13px; }
.progress { height: 8px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); }
.course-list { margin: 0; padding-left: 20px; font-size: 14px; flex: 1; }
.course-list li { margin: 3px 0; }
.course-list li.done a { color: var(--ink-3); }
.course-list li.done::marker { content: "✓  "; color: var(--primary); }
.course-list li.more { list-style: none; margin-left: -20px; }
.course .btn { align-self: flex-start; }
[data-layout=classroom] .art-body audio { background: var(--mist); border-radius: 30px; }

/* ---------- Studio layout (creators and short videos) ---------- */
[data-layout=studio] { --paper: #1b1b1d; --mist: #0e0e10; --ink: #f4f4f5; --ink-2: #b8b8bf; --ink-3: #8a8a93; --line: #2c2c31; }
[data-layout=studio] body { background: var(--mist); }
[data-layout=studio] .hdr { border-bottom: 2px solid var(--accent); }
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 4px; }
.socials > span { font-size: 13px; color: var(--ink-2); margin-right: 4px; }
.soc { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.soc:hover { border-color: var(--accent); }
.feature-video { display: grid; gap: 16px; margin: 14px 0 8px; align-items: center; }
@media (min-width: 860px) { .feature-video { grid-template-columns: 1.6fr 1fr; } .feature-video.tall { grid-template-columns: minmax(260px, 360px) 1fr; } }
.fv-player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.feature-video.tall .fv-player { aspect-ratio: 9 / 16; max-width: 360px; width: 100%; margin: 0 auto; }
.fv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fv-body h1 { font-family: var(--font-head); font-size: clamp(26px, 5vw, 40px); line-height: 1.05; margin: 6px 0; }
.fv-body h1 a { color: var(--ink); text-decoration: none; }
.fv-body p { color: var(--ink-2); }
.vgrid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .vgrid { grid-template-columns: repeat(4, 1fr); } }
.vtile { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #000; color: #fff; text-decoration: none; }
.vtile img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .2s; }
.vtile:hover img { opacity: 1; }
.vtile .play { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; }
.vtile .vt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font-weight: 600; font-size: 14px; line-height: 1.3; }
[data-layout=studio] .main-nav a, [data-layout=studio] .sec-head h2 { text-transform: uppercase; letter-spacing: .03em; }

[hidden] { display: none !important; }
