:root {
  color-scheme: light;
  --bg: #f6f5f3;
  --panel: #fff;
  --ink: #111114;
  --soft: #55555f;
  --line: #d6d4d5;
  --red: #e52437;
  --accent: #a5162a;
  font: 16px/1.55 Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #111114;
  --panel: #1b1b20;
  --ink: #fff;
  --soft: #bcbcc5;
  --line: #393941;
  --accent: #ff8995;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
button, a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.masthead { border-top: 4px solid var(--red); border-bottom: 1px solid var(--line); background: var(--bg); }
.mast { min-height: 76px; display: flex; align-items: center; gap: 20px; }
.mast img { display: block; width: 145px; }
.account-button { background: var(--red); color: #fff; border: 0; font-size: .75rem; padding: 8px 12px; font-weight: 700; white-space: nowrap; }
.edition, .edition-note, .tag, .kicker { font-size: .7rem; font-weight: 800; letter-spacing: .11em; }
.edition { color: var(--soft); }
.nav { display: flex; overflow: auto; gap: clamp(12px, 3vw, 36px); }
.nav button, .nav a { border: 0; border-bottom: 3px solid transparent; background: none; text-decoration: none; padding: 9px 2px 11px; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.nav button[aria-pressed=true] { border-bottom-color: var(--red); color: var(--accent); }
.edition-note { padding: 17px 0 12px; color: var(--soft); }
.edition-note span { color: var(--accent); }
.front { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(230px, 1fr); gap: 22px; }
.lead { min-height: 430px; position: relative; isolation: isolate; display: flex; align-items: end; overflow: hidden; background: #2d272b; color: white; }
.lead img, .lead::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.lead img { object-fit: cover; }
.lead::after { content: ""; background: linear-gradient(180deg, #110a1a05 8%, #12101567 44%, #101012f8 96%); }
.lead-copy { padding: clamp(18px, 4.4vw, 42px); max-width: 680px; }
.tag { display: inline-block; background: #a5162a; color: #fff; padding: 5px 9px; }
.lead h1, h2, h3 { font-family: Outfit, Inter, system-ui, sans-serif; }
.lead h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 750; line-height: .94; letter-spacing: -.056em; margin: 9px 0 13px; }
.lead-copy > p:not(.tag) { max-width: 47ch; }
.cta { background: #fff; color: #111114; border: 0; font-weight: 800; padding: 9px 12px; margin-top: 14px; font-size: .83rem; }
.rule { display: flex; align-items: center; gap: 9px; }
.rule span { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.rule h2 { font-size: 1.65rem; letter-spacing: -.035em; }
.sample { margin-bottom: 8px; }
.muted, .credit, footer { color: var(--soft); font-size: .78rem; }
.dispatch { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 6px; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 12px 0; }
.dispatch span { grid-column: 1 / -1; font-size: .65rem; letter-spacing: .08em; color: var(--accent); font-weight: 800; }
.dispatch strong { font-weight: 400; line-height: 1.4; }
.dispatch small { color: var(--accent); }
.media, .stories { margin-top: 32px; }
.section-heading { border-top: 2px solid var(--line); padding-top: 9px; margin-bottom: 13px; }
.section-heading h2 { font-size: clamp(1.75rem, 4vw, 2.65rem); line-height: 1.06; letter-spacing: -.035em; }
.kicker { color: var(--accent); }
.media-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.media-grid > *, .media-grid .media-preview, .media-grid .media-choices { min-width: 0; max-width: 100%; }
.media-grid h3, .media-grid p, .media-grid a, .media-grid summary { overflow-wrap: anywhere; }
.media-grid video, .media-grid audio, .media-grid iframe { max-width: 100%; min-width: 0; }
.media-grid .media-choices { width: 100%; box-sizing: border-box; }
.media-grid .media-choices button { min-width: 0; overflow-wrap: anywhere; }
.video-card, .audio-card { background: var(--panel); padding: 16px; }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #1d1820; margin-bottom: 14px; }
.video-select { display: flex; gap: 8px; margin-top: 12px; }
.video-select button { background: var(--bg); border: 1px solid var(--line); padding: 8px 13px; font-size: .8rem; }
.video-select button[aria-pressed=true] { border-color: var(--accent); color: var(--accent); }
.media h3 { font-size: 1.5rem; line-height: 1.1; margin: 4px 0 7px; }
.audio-card { display: flex; flex-direction: column; justify-content: center; align-items: start; }
.audio-card details { margin-top: 12px; font-size: .82rem; }
.audio-card details p { margin-top: 5px; }
.wave { height: 65px; display: flex; align-items: center; gap: 6px; margin-bottom: 9px; }
.wave i { display: block; width: 5px; height: 20%; background: var(--red); border-radius: 8px; }
.wave i:nth-child(3n + 1) { height: 48%; }
.wave i:nth-child(3n + 2) { height: 68%; }
.wave i:nth-child(5n) { height: 100%; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.story { border: 1px solid var(--line); padding: 0; text-align: left; background: var(--panel); }
.story img { width: 100%; aspect-ratio: 2.2; object-fit: cover; display: block; }
.story-copy { display: block; padding: 13px; }
.story-copy strong { display: block; font: 700 1.28rem/1.1 Outfit, system-ui, sans-serif; margin: 4px 0 8px; }
.story:hover strong, .dispatch:hover strong { color: var(--accent); }
.source-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .73rem; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--soft); }
.publisher-icon { display: inline-grid; place-items: center; position: relative; width: 23px; height: 23px; flex: 0 0 23px; background: #fff; color: #17171c; border: 1px solid #ccc; border-radius: 5px; overflow: hidden; font: 800 9px/1 Inter, system-ui, sans-serif; }
.publisher-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 2px; background: #fff; margin: 0; aspect-ratio: auto; }
.hero-source { margin-top: 9px; }
.hero-source .source-badge { color: #fff; }
.dispatch .source-badge { grid-column: 1 / -1; display: inline-flex; color: var(--soft); }
.dispatch .source-badge > span { grid-column: auto; font-size: inherit; color: inherit; }
.dispatch .publisher-icon > span { font-size: 9px; }
.publisher-icon > span { color: #17171c; }
.story-copy > .credit { margin-left: 6px; }
.image-note { display: block; margin-top: 3px; color: var(--soft); font-size: .65rem; }
.ad-space { display: grid; place-items: center; align-content: center; gap: 4px; min-height: 95px; padding: 16px; margin: 20px 0; border: 1px dashed var(--line); background: var(--panel); color: var(--soft); text-align: center; }
.ad-space > span { font-size: .6rem; letter-spacing: .16em; }
.ad-space strong { font-size: .85rem; }
.ad-space small { font-size: .65rem; }
.story-grid > .ad-space { margin: 0; }
.small-action, .save-button { background: var(--bg); color: var(--accent); border: 1px solid var(--line); padding: 8px 11px; font-size: .8rem; font-weight: 700; }
.save-button { display: block; margin-top: 8px; }
.favourites-picker { padding: 9px 0; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.favourites-picker summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.favourites-picker summary span { color: var(--soft); font-size: .75rem; margin-left: 8px; font-weight: 500; }
.team-options { display: flex; flex-wrap: wrap; gap: 6px; max-height: 240px; overflow: auto; margin-top: 9px; }
.team-star { border: 1px solid var(--line); color: var(--soft); background: var(--bg); padding: 7px; font: inherit; font-size: .75rem; }
.team-star[aria-pressed=true] { color: var(--accent); border-color: var(--accent); }
.favourites-strip { border-left: 3px solid var(--red); padding-left: 12px; margin: 15px 0 20px; }
.favourites-strip h3 { font-size: 1rem; margin-bottom: 8px; }
.favourites-strip .match-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 8px; }
.match-card { display: block; width: 100%; border: 1px solid var(--line); padding: 14px; text-align: center; background: var(--bg); }
.match-status { display: block; color: var(--soft); font-size: .72rem; }
.match-status.live { color: var(--accent); font-weight: 750; }
.match-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 9px 0; }
.match-row strong { font-size: .87rem; }
.match-row b { font: 800 clamp(1.35rem,4vw,2.5rem)/1 Outfit,system-ui,sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.match-card small { color: var(--soft); font-size: .7rem; }
.favourite-match { border-color: var(--accent); }
.table-scroll { overflow: auto; }
.league-table { border-collapse: collapse; width: 100%; font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.league-table caption { text-align: left; padding: 8px 0; color: var(--soft); }
.league-table :is(th,td) { border-bottom: 1px solid var(--line); padding: 9px 6px; text-align: center; }
.league-table th:nth-child(2), .league-table th[scope=row] { text-align: left; }
.favourite-row { background: var(--bg); color: var(--accent); }
.league-table .team-star { border: none; padding: 6px; }
.stat-row { display: grid; grid-template-columns: 1fr 2fr 1fr; text-align: center; padding: 9px; border-bottom: 1px solid var(--line); }
.match-detail h3 { margin-top: 20px; }
.weather-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 20px; }
.weather-metrics > div { display: flex; flex-direction: column; padding: 12px; background: var(--bg); }
.weather-metrics span, .weather-metrics small { color: var(--soft); font-size: .72rem; }
.weather-metrics strong { font-size: 1.1rem; margin: 5px 0; }
.week { margin-top: 22px; }
.week details { border-bottom: 1px solid var(--line); padding: 10px 0; font-size: .83rem; }
.week summary { display: grid; grid-template-columns: 1fr 1.5fr .8fr .5fr .5fr; align-items: center; gap: 6px; cursor: pointer; font-variant-numeric: tabular-nums; }
.week details p { padding-top: 9px; color: var(--soft); }
.rain { color: var(--accent); }
.membership { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; padding: clamp(18px,4vw,36px); border-top: 3px solid var(--red); background: var(--panel); margin-top: 32px; }
.membership h2 { font: 750 clamp(2rem,5vw,3.5rem)/1 Outfit,system-ui,sans-serif; letter-spacing: -.04em; margin: 10px 0 14px; }
.membership h3 { font: 650 1.3rem/1.1 Outfit,system-ui,sans-serif; }
.membership fieldset { display: flex; flex-wrap: wrap; gap: 7px 14px; border: 0; padding: 10px 0; margin: 8px 0; }
.membership legend { font-size: .75rem; color: var(--soft); }
.membership label { display: block; font-size: .8rem; }
.membership label:has(input[type=checkbox]) { display: inline-flex; align-items: center; gap: 5px; }
.membership input:not([type=checkbox]), .membership select { display: block; width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line); font: inherit; padding: 8px; margin: 4px 0 8px; }
.membership input[type=checkbox] { accent-color: var(--red); }
.membership .check { margin: 6px 0; }
.benefits { padding-left: 20px; }
#account-summary p { color: var(--soft); font-size: .83rem; margin: 7px 0; }
.saved-list button { display: block; width: 100%; margin: 8px 0; padding: 8px; background: var(--bg); border: 1px solid var(--line); text-align: left; }
.service { padding: 16px; background: var(--panel); border: 1px solid var(--line); }
.service table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.service :is(td, th) { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.service p + p { margin-top: 8px; }
.service p span { display: block; color: var(--soft); }
footer { margin: 36px 0 26px; border-top: 1px solid var(--line); padding-top: 10px; }
dialog { width: min(640px, calc(100% - 32px)); background: var(--panel); color: var(--ink); border: 1px solid var(--line); padding: 25px; }
dialog::backdrop { background: #000a; }
dialog form { text-align: right; }
dialog button { border: 1px solid var(--line); background: var(--bg); font-size: 1.3rem; }
dialog h2 { font-size: clamp(1.75rem, 4vw, 2.65rem); line-height: 1.04; margin: 6px 0 12px; }
.read-more { display: inline-block; background: #a5162a; color: #fff; font-weight: 700; text-decoration: none; margin-top: 16px; padding: 10px 14px; }
.read-more:hover { text-decoration: underline; }
.gallery figure { margin: 14px 0 0; }
.gallery img { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.module-hero { border-left: 4px solid var(--red); padding: 4px 0 6px 16px; margin: 8px 0 22px; }
.module-hero h1 { font: 800 clamp(2.7rem, 6vw, 4.5rem)/1 Outfit, system-ui, sans-serif; letter-spacing: -.055em; }
.module-hero > p:last-child { color: var(--soft); margin-top: 8px; }
.dashboard { padding: clamp(14px, 3vw, 24px); background: var(--panel); border: 1px solid var(--line); }
.dashboard h2 { line-height: 1.1; font-size: clamp(1.55rem, 4vw, 2rem); margin-bottom: 10px; }
.dashboard-head { display: flex; align-items: start; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.chip-label { color: var(--soft); font-size: .72rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chips button { background: var(--bg); border: 1px solid var(--line); padding: 7px 11px; min-height: 38px; font-size: .78rem; font-weight: 650; }
.chips button[aria-pressed=true] { color: var(--accent); border-color: var(--accent); }
.scoreboard { text-align: center; padding: 18px 10px; background: var(--bg); border-top: 2px solid var(--red); margin-top: 12px; }
.scoreboard > div { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 8px auto; max-width: 620px; }
.scoreboard b { font: 800 clamp(1.45rem, 5vw, 2.65rem)/1 Outfit, system-ui, sans-serif; white-space: nowrap; font-variant-numeric: tabular-nums; }
.football-news { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.football-news .story { display: block; width: 100%; margin-top: 7px; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rate-table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.rate-table :is(td, th) { text-align: right; border-bottom: 1px solid var(--line); padding: 9px 4px; }
.rate-table th:first-child { text-align: left; }
.dashboard label { display: grid; gap: 3px; font-size: .78rem; color: var(--soft); }
.dashboard :is(input, select) { color: var(--ink); background: var(--bg); border: 1px solid var(--line); font: inherit; padding: 8px; min-width: 0; width: 100%; }
.inputs { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; margin-bottom: 8px; }
.converter output { display: block; color: var(--accent); font: 800 clamp(1.55rem, 5vw, 2.55rem)/1 Outfit, system-ui, sans-serif; margin: 14px 0 6px; }
.temperature { display: flex; align-items: center; gap: 16px; margin: 14px 0 20px; }
.temperature b { font: 800 clamp(4rem, 11vw, 7rem)/.9 Outfit, system-ui, sans-serif; letter-spacing: -.07em; }
.forecast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.forecast div { padding: 8px; background: var(--bg); font-size: .8rem; }
.forecast strong, .paper strong, .paper .credit { display: block; }
.paper-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 10px; }
.sports-papers { grid-template-columns: repeat(4, minmax(0, 175px)); }
.technology-feature { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; background: var(--panel); border: 1px solid var(--line); }
.technology-video { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: #211922; }
.technology-video img { width: 100%; height: 100%; object-fit: cover; }
.technology-video > span { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #111114e8; color: #fff; font-size: 1.35rem; }
.technology-copy { padding: clamp(15px, 3vw, 28px); }
.technology-copy h2 { font-size: clamp(1.55rem, 4vw, 2.5rem); line-height: 1.07; margin: 6px 0 12px; }
.paper { text-align: left; background: var(--bg); border: 1px solid var(--line); padding: 8px; }
.paper-image { display: grid; place-items: center; aspect-ratio: 3 / 4; background: var(--panel); overflow: hidden; margin-bottom: 8px; }
.paper-image img { width: 100%; height: 100%; object-fit: contain; }
.paper-image.unavailable, .cover-fallback { color: var(--soft); text-align: center; padding: 8px; font-size: .75rem; }
.gallery .paper-preview img { max-height: 55vh; object-fit: contain; }
@media (max-width: 740px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 28px); }
  .nav { position: fixed; inset: auto 0 0; z-index: 2; width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; padding-bottom: env(safe-area-inset-bottom); background: var(--bg); border-top: 1px solid var(--line); }
  .nav button { padding: 12px 0; font-size: clamp(.6rem, 2.7vw, .73rem); min-height: 52px; }
  .front, .media-grid { grid-template-columns: 1fr; }
  .front { gap: 14px; }
  .lead { min-height: 360px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edition { display: none; }
  .membership { grid-template-columns: 1fr; }
  .weather-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .week summary { grid-template-columns: .9fr 1.2fr .65fr .45fr .45fr; font-size: .73rem; }
  .account-button { font-size: .65rem; padding: 7px; }
  .mast { gap: 7px; }
  .mast img { width: 115px; }
    .tool-grid, .football-news { grid-template-columns: 1fr; }
  .technology-feature { grid-template-columns: 1fr; }
  .sports-papers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scoreboard strong { font-size: .82rem; }
  .mast { min-height: 64px; }
}
@media (max-width: 380px) { .story-grid { grid-template-columns: 1fr; } }

#login-form { display: grid; gap: 10px; text-align: left; }
#login-form label { display: grid; gap: 4px; }
#login-form input { width: 100%; min-width: 0; }
#account-status:empty { display: none; }

.ad-space>a{display:block;width:100%}
.ad-space>a img{display:block;max-width:100%;max-height:320px;object-fit:contain;margin:auto}
.ad-space.ad-house{background:#f5f0f1;border:1px solid #e7dfe1}
.ad-house button{background:none;border:0;color:#b31a30;font:600 12px Inter,sans-serif;cursor:pointer}
.ads-preferences{border:0;background:transparent;color:inherit;text-decoration:underline;font:inherit;cursor:pointer;margin-top:10px}
#ad-consent{max-width:480px;padding:26px}
#ad-consent button{display:block;margin:12px 0;padding:10px 14px}

.front { align-items: start; }
.lead { height: 520px; min-height: 0; }
.lead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-copy { max-width: 100%; width: 100%; padding: 30px 34px 82px; }
.lead h1 { font-size: clamp(2rem, 3.7vw, 3.25rem); line-height: 1.07; letter-spacing: -.035em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lead-copy > p:not(.tag) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .9rem; line-height: 1.5; }
.hero-controls { position: absolute; bottom: 20px; left: 34px; right: 34px; display: flex; gap: 9px; align-items: center; }
.hero-controls button { border: 1px solid #ffffff60; color: white; background: #101012a6; border-radius: 5px; min-width: 34px; min-height: 34px; padding: 3px 8px; font-size: .8rem; }
.hero-controls button:hover { background: #a5162a; }
#hero-dots { display: flex; align-items: center; gap: 6px; }
#hero-dots button { min-width: 28px; min-height: 34px; padding: 8px; background: none; border: 0; }
#hero-dots button::after { content: ''; display: block; width: 7px; height: 7px; border-radius: 50%; background: #ffffff66; }
#hero-dots button[aria-current=true]::after { background: white; }
#hero-counter { color: white; font-size: .72rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
#hero-play { margin-left: auto; font-size: .7rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ad-space.ad-filled { padding: 0; min-height: 0; gap: 5px; border: 0; background: transparent; align-content: start; align-self: start; width: 100%; }
.ad-space.ad-filled > a { display: block; width: 100%; line-height: 0; }
.ad-space.ad-filled > a img { display: block; width: 100%; height: auto; max-width: none; max-height: none; margin: 0; object-fit: contain; }
:root[data-theme=dark] .ad-space.ad-house { background: var(--panel); border-color: var(--line); }
@media (max-width: 740px) {
  .lead { height: 480px; min-height: 0; }
  .lead-copy { padding: 22px 20px 78px; }
  .lead h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero-controls { left: 20px; right: 20px; gap: 4px; }
  #hero-dots { gap: 0; }
  #hero-dots button { min-width: 22px; padding: 7px; }
    }

/* Compact appearance control, aligned with the account action. */
.theme-picker { position: relative; margin-left: auto; flex: 0 0 36px; color: var(--ink); }
.theme-picker > summary { list-style: none; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--line); background: transparent; border-radius: 4px; }
.theme-picker > summary::-webkit-details-marker { display: none; }
.theme-picker > summary:hover, .theme-picker[open] > summary { background: var(--panel); border-color: var(--accent); color: var(--accent); }
.theme-picker svg { width: 18px; height: 18px; flex: 0 0 18px; }
.theme-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 10; min-width: 156px; margin: 0; padding: 5px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); box-shadow: 0 8px 24px #0002; }
.theme-option { width: 100%; border: 0; background: transparent; color: inherit; text-align: left; font-family: inherit; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 3px; cursor: pointer; font-size: .8rem; font-weight: 500; }
.theme-option:hover { background: var(--bg); }
.theme-option:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.theme-check { margin-left: auto; visibility: hidden; color: var(--accent); }
.theme-option[aria-pressed=true] { color: var(--accent); background: var(--bg); }
.theme-option[aria-pressed=true] .theme-check { visibility: visible; }

/* Keep the headline low and leave the photograph in view. */
.lead-copy { padding: 24px 34px 76px; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-meta .hero-source { margin: 0; }
.lead h1 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em; -webkit-line-clamp: 3; margin: 12px 0 0; }
.lead .cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 156px; min-height: 42px; padding: 10px 16px; margin-top: 16px; }
.lead::after { background: linear-gradient(180deg, transparent 18%, #10101218 38%, #101012b8 65%, #101012f5 100%); }
@media (max-width: 740px) {
 .lead-copy { padding: 20px 20px 76px; }
 .lead h1 { font-size: clamp(1.65rem, 5.7vw, 2rem); line-height: 1.12; }
 .hero-meta { gap: 8px; }
 .hero-meta .tag { font-size: .6rem; }
}

.dispatch .source-badge > span { font-weight: 600; }

.mobile-nav, .sport-filters, .account-button > svg { display: none; }
@media (max-width: 740px) {
 body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
 .nav { display: none; }
 .mast { min-height: 64px; gap: 10px; }
 .account-button { width: 44px; height: 44px; padding: 10px; display: grid; place-items: center; }
 .account-button > span { display: none; }
 .account-button > svg { display: block; width: 22px; height: 22px; }
 .theme-picker { flex-basis: 44px; }
 .theme-picker > summary { width: 44px; height: 44px; }
 .edition-note { display: none; }
 main.wrap { padding-top: 12px; }
 .module-hero { margin: 0 0 14px; padding: 0 0 0 10px; border-left-width: 3px; }
 .module-hero h1 { font-size: 2rem; line-height: 1.1; letter-spacing: -.04em; }
 .module-hero > .kicker { font-size: .59rem; line-height: 1.4; margin-bottom: 4px; }
 .module-hero > p:last-child:not(.kicker) { display: none; }
 .dashboard { padding: 14px; }
 .dashboard h2 { font-size: 1.35rem; }
 .sports-dashboard { display: flex; flex-direction: column; }
 .sports-dashboard > .dashboard-head { order: 0; }
 .sports-dashboard .dashboard-head .small-action { display: none; }
 .sports-dashboard .dashboard-head .kicker { font-size: .59rem; }
 .sports-dashboard .dashboard-head h2 { margin: 3px 0 0; }
 .desktop-sport-filters { display: none; }
 .sport-filters { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; margin: 12px 0 6px; order: 1; }
 .sport-filters label { min-width: 0; font-size: .65rem; }
 .sport-filters select { height: 44px; font-size: 16px; padding: 8px 6px; border-radius: 4px; }
 .sports-dashboard > .favourites-picker { order: 2; padding: 8px 0; margin: 0 0 10px; }
 .sports-dashboard .favourites-picker summary { font-size: .8rem; font-weight: 500; }
 .sports-dashboard .favourites-picker summary span { font-size: .7rem; margin-left: 4px; }
 .sports-dashboard > :is(.match-list,.table-scroll,.credit) { order: 3; }
 .sports-dashboard > .favourites-strip { order: 4; }
 .sports-dashboard > .favourites-hint { display: none; }
 .mobile-nav { position: fixed; inset: auto 0 0; z-index: 5; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: var(--panel); border-top: 1px solid var(--line); padding: 0 8px env(safe-area-inset-bottom); }
 .mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border: 0; border-top: 2px solid transparent; background: none; color: var(--soft); font-size: .68rem; font-weight: 500; }
 .mobile-nav svg { width: 20px; height: 20px; }
 .mobile-nav button[aria-pressed=true], .mobile-nav button.selected { color: var(--accent); border-top-color: var(--red); }
 .paper-grid, .sports-papers { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .paper-image { background: var(--bg); }
 .paper { min-width: 0; }
 .paper .source-badge { flex-wrap: wrap; }
 #sections-menu { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 75dvh; margin: 0; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border: 1px solid var(--line); border-radius: 16px 16px 0 0; background: var(--panel); color: var(--ink); overflow-y: auto; }
 #sections-menu::backdrop { background: #0007; }
 #sections-menu h2 { font-size: 1.55rem; margin: 0 44px 4px 0; }
 #sections-menu form { position: absolute; right: 16px; top: 16px; }
 #sections-menu form button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--ink); font-size: 1.5rem; }
 .sections-list { display: grid; margin-top: 12px; }
 .sections-list button { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; padding: 9px 0; min-height: 52px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); }
 .sections-list strong { font-size: 1rem; font-weight: 600; }
 .sections-list button > span:first-of-type { grid-column: 1; font-size: .75rem; color: var(--soft); }
 .sections-list button > span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--accent); }
 .sections-list button[aria-pressed=true] strong { color: var(--accent); }
}
@media (max-width: 540px) {
 .story-grid { grid-template-columns: minmax(0,1fr); }
 .story img { aspect-ratio: 16 / 9; }
 .membership { padding: 20px 16px; }
 .media-grid .video-card, .media-grid .audio-card { padding: 14px; }
}

@media (max-width: 740px) {
 input:not([type=checkbox]):not([type=radio]), select { font-size: 16px; min-height: 44px; }
 .chips button, .small-action { min-height: 44px; }
 .sports-dashboard > .next-games { order: 3; margin-top: 8px; }
 .next-games h3 { font-size: .9rem; margin-bottom: 8px; }
 .converter output { font-size: clamp(1.5rem, 8vw, 2.8rem); overflow-wrap: anywhere; }
}

.paper-group { margin-top: 20px; }
.paper-group > h3 { font-size: 1.05rem; margin-bottom: 10px; font-weight: 600; }

.share-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:9px 12px; border:1px solid var(--line); border-radius:4px; background:var(--panel); color:var(--ink); font:600 .78rem Inter,system-ui,sans-serif; cursor:pointer; }
.share-button:hover { color:var(--accent); border-color:var(--accent); }
.share-button svg { width:20px; height:20px; flex-shrink:0; }
.header-share { margin-left:auto; }
.mast .theme-picker { margin-left:0; }
.reader-share { margin:12px 0 0 8px; }
.share-button:disabled { opacity:.6; cursor:wait; }
#reader-share-status:empty { display:none; }
#share-dialog { width:min(440px,calc(100% - 28px)); padding:24px; border:1px solid var(--line); border-radius:10px; background:var(--panel); color:var(--ink); }
#share-dialog h2 { margin-right:40px; font-size:1.5rem; }
#share-dialog > form { float:right; }
#share-dialog > form button { min-width:44px; min-height:44px; background:var(--bg); color:var(--ink); border:1px solid var(--line); font-size:1.4rem; }
.share-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:18px 0; }
.share-options :is(a,button) { display:flex; align-items:center; justify-content:center; min-height:44px; padding:10px; border:1px solid var(--line); border-radius:4px; background:var(--bg); color:var(--ink); font:600 .8rem Inter,system-ui,sans-serif; text-decoration:none; }
.share-options :is(a,button):hover { color:var(--accent); border-color:var(--accent); }
.share-url-label { display:grid; gap:6px; font-size:.75rem; color:var(--soft); }
#share-url { width:100%; min-height:44px; padding:8px; font-size:16px; color:var(--ink); background:var(--bg); border:1px solid var(--line); }
#share-status { margin-top:10px; }
.link-notice { padding:12px; margin:10px 0; background:var(--panel); border-left:3px solid var(--red); }
footer > .share-button { margin-bottom:16px; }
@media(max-width:740px) {
 .header-share { width:44px; padding:10px; }
 .header-share > span { display:none; }
 .reader-share { margin-left:0; margin-right:8px; }
 #share-dialog { position:fixed; inset:auto 0 0; width:100%; max-width:none; max-height:85dvh; margin:0; padding:20px 20px calc(20px + env(safe-area-inset-bottom)); border-radius:16px 16px 0 0; overflow:auto; }
}

.shared-match-score { font:700 clamp(3rem,12vw,5rem)/1 Outfit,system-ui,sans-serif; text-align:center; margin:20px 0; color:var(--accent); }

.share-card-preview { margin:16px 0; }
.share-card-preview img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:6px; }
.share-card-preview figcaption { margin-top:8px; line-height:1.4; }
#share-download { margin:0 8px 8px 0; text-decoration:none; }
#share-dialog { max-height:90dvh; overflow-y:auto; }

/* Content-first layouts: fill available width and keep news cards compact. */
@media(min-width:741px){.sports-papers{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.sports-papers .paper-image{height:auto;aspect-ratio:3/4}.sports-papers .paper-image img{width:100%;height:100%;object-fit:contain}}
.football-news{grid-template-columns:minmax(0,1fr)}
.football-news>section{min-width:0}.football-news>section>h3{margin:4px 0 14px}
.football-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.football-news .story{margin:0;display:flex;flex-direction:column;min-width:0}
.football-news .story>img{width:100%;aspect-ratio:16/9;object-fit:cover}
.football-news .story strong{font-size:1.05rem;line-height:1.35;font-weight:600}
.technology-overview{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:18px 0}.technology-overview p{margin:0;color:var(--soft)}
@media(max-width:740px){.football-story-grid{grid-template-columns:1fr}.football-news .story{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:start}.football-news .story>img{height:90px}.football-news .story-copy{padding:0 0 8px 10px}.football-news .story .image-note{display:none}}

@media(min-width:741px){.football-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.football-news .story{display:grid;grid-template-columns:148px minmax(0,1fr);align-items:stretch}.football-news .story>img{width:148px;height:100%;min-height:118px;max-height:160px;object-fit:cover}.football-news .story-copy{padding:12px}.football-news .story strong{font-size:1rem}}

.reader-related{margin:18px 0;padding:14px;border:1px solid var(--line)}.reader-related h3{font-size:1rem;margin:0 0 10px}.reader-related p{font-size:.85rem;margin:8px 0}.reader-related a{color:var(--accent)}

.media-preview{position:relative;aspect-ratio:16/9;background:var(--line);overflow:hidden;margin-bottom:14px}.media-preview>img{display:block;width:100%;height:100%;object-fit:cover}.media-play{position:absolute;left:16px;bottom:16px;border:0;background:var(--accent);color:#fff;padding:12px 18px;font-weight:700;cursor:pointer}.media-choices{display:flex;gap:8px;overflow-x:auto;padding:10px 0;scroll-snap-type:x proximity}.media-choices button{flex:0 0 46%;padding:10px;border:1px solid var(--line);background:var(--bg);color:var(--ink);text-align:left;font:inherit;font-size:.78rem;line-height:1.4;scroll-snap-align:start}.media-choices button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.media-choices button>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}#media-audio{display:block;width:100%;margin:14px 0}.edition-bulletin{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}.edition-bulletin>summary{cursor:pointer;font-weight:600}.media-grid:has(#live-video-card[hidden]){grid-template-columns:1fr}.media-grid:has(#live-video-card[hidden]) .audio-card{max-width:100%}

.video-card iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;margin-bottom:14px}
/* Compact match centre: two team rows, fixed score column, grouped competitions. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.sport-toolbar { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin:12px 0 0; }
.sport-competition select { max-width:100%; height:38px; border:1px solid var(--line); background:var(--panel); color:var(--ink); padding:6px 28px 6px 10px; font-size:.85rem; border-radius:6px; }
.sport-tabs { display:flex; gap:18px; overflow-x:auto; scrollbar-width:none; }
.sport-tabs button { flex-shrink:0; min-height:42px; padding:8px 0; background:none; border:0; border-bottom:2px solid transparent; color:var(--soft); font-size:.82rem; }
.sport-tabs button[aria-pressed=true] { color:var(--accent); border-bottom-color:var(--accent); font-weight:650; }
.sport-count { font-size:.75rem; color:var(--soft); white-space:nowrap; }
.sports-content { min-width:0; }
.match-group { margin:0 0 12px; }
.match-group h3 { display:flex; gap:10px; align-items:center; margin:0; padding:9px 12px; background:var(--bg); border-bottom:1px solid var(--line); font-size:.76rem; font-weight:600; }
.match-group h3 span { margin-left:auto; color:var(--soft); font-size:.68rem; font-weight:400; }
.sports-dashboard .match-list { display:block; }
.sports-dashboard .match-card { display:grid; grid-template-columns:52px minmax(0,1fr) 24px; align-items:center; gap:10px; width:100%; min-height:76px; border:0; border-bottom:1px solid var(--line); padding:10px 12px; background:var(--panel); text-align:left; color:var(--ink); }
.match-card:hover { background:var(--bg); }
.match-card:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
.sports-dashboard .match-status { font-size:.72rem; text-align:center; font-variant-numeric:tabular-nums; }
.match-teams { display:grid; gap:7px; min-width:0; }
.match-teams > span { display:grid; grid-template-columns:24px minmax(0,1fr) 24px; align-items:center; gap:9px; font-size:.85rem; font-weight:450; line-height:1.25; }
.match-teams > span > span:not(.team-emblem) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.match-teams b { text-align:right; font-size:.9rem; font-variant-numeric:tabular-nums; font-weight:650; }
.team-emblem { display:inline-grid; place-items:center; position:relative; width:22px; height:22px; border-radius:4px; background:var(--bg); font-size:.55rem; font-weight:650; }
.team-emblem img { position:absolute; inset:0; width:22px; height:22px; object-fit:contain; background:var(--panel); }
.match-follow { text-align:center; color:var(--soft); font-size:1rem; }
.favourite-match .match-follow { color:var(--accent); }
.favourite-match { box-shadow:inset 2px 0 var(--accent); }
.sport-more { width:100%; padding:12px; background:var(--panel); border:1px solid var(--line); border-radius:5px; color:var(--accent); font-size:.82rem; font-weight:600; }
.sport-source { margin:12px 0 0; font-size:.65rem; }
.image-credits { font-size:.65rem; color:var(--soft); }
@media(max-width:700px) {
 .sports-dashboard { padding:12px; }
 .sports-dashboard > .sport-toolbar { order:1; display:block; margin-top:8px; }
 .sport-competition { display:block; }
 .sport-competition select { width:100%; font-size:16px; }
 .sport-tabs { gap:20px; margin-top:2px; }
 .sport-tabs button { font-size:.76rem; min-height:40px; }
 .sports-dashboard > .favourites-picker { order:2; margin:0; padding:7px 0; }
 .sports-content { order:3; }
 .sports-dashboard > .sport-source { order:4; }
 .match-group h3 { padding:8px; font-size:.7rem; }
 .sports-dashboard .match-card { grid-template-columns:40px minmax(0,1fr) 18px; gap:7px; min-height:72px; padding:9px 5px; }
 .match-teams > span { gap:6px; font-size:.79rem; }
 .sport-source { font-size:.6rem; }
}
.match-detail-score { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:18px; padding:24px 0; text-align:center; }
.match-detail-score > div { display:grid; justify-items:center; gap:10px; font-size:.9rem; }
.match-detail-score > b { font-size:2rem; font-variant-numeric:tabular-nums; }
.match-detail-score .team-emblem,.match-detail-score .team-emblem img { width:48px; height:48px; }
@media(max-width:600px){.match-detail-score{gap:10px}.match-detail-score > div{font-size:.78rem}.match-detail-score > b{font-size:1.6rem}}
/* Dedicated match page */
body.game-route main > :not(#modules):not(footer) { display:none!important; }
body.game-route #modules { display:block!important; }
.game-page { margin:24px 0 40px; }
.game-topbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.game-topbar > a { color:var(--ink); text-decoration:none; font-size:.87rem; font-weight:600; padding:10px 0; }
.game-header { position:static; padding:25px 30px 30px; background:var(--panel); border:1px solid var(--line); border-top:3px solid var(--red); text-align:center; }
.game-header .kicker { margin:0; }
.game-date { color:var(--soft); font-size:.8rem; margin:6px 0 20px; }
.game-scoreboard { display:grid; grid-template-columns:minmax(0,1fr) minmax(110px,180px) minmax(0,1fr); align-items:center; gap:20px; max-width:850px; margin:auto; }
.game-team { display:grid; justify-items:center; gap:12px; min-width:0; }
.game-team .team-emblem,.game-team .team-emblem img { width:76px; height:76px; background:transparent; font-size:1.1rem; }
.game-team h2 { margin:0; font:650 1.2rem/1.3 Outfit,system-ui,sans-serif; }
.game-team button { border:1px solid var(--line); border-radius:20px; background:var(--panel); color:var(--soft); padding:6px 13px; min-height:34px; font-size:.75rem; }
.game-team button[aria-pressed=true] { color:var(--accent); border-color:var(--accent); }
.game-score { display:grid; justify-items:center; gap:10px; }
.game-score > strong { font:750 3.3rem/1 Outfit,system-ui,sans-serif; font-variant-numeric:tabular-nums; white-space:nowrap; }
.game-score > span { font-size:.78rem; color:var(--soft); }
.game-score > .live { color:var(--accent); font-weight:700; }
.game-tabs { display:flex; gap:30px; overflow-x:auto; background:var(--panel); border:1px solid var(--line); border-top:0; padding:0 24px; scrollbar-width:none; }
.game-tabs button { border:0; border-bottom:3px solid transparent; background:none; color:var(--soft); padding:16px 0; font-size:.87rem; white-space:nowrap; }
.game-tabs [aria-selected=true] { color:var(--accent); border-bottom-color:var(--accent); font-weight:650; }
.game-tab-content { background:var(--panel); border:1px solid var(--line); border-top:0; padding:24px; min-height:200px; }
.game-tab-content:has(.game-info) { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:30px; }
.game-tab-content h2 { font-size:1.2rem; margin:0 0 18px; }
.game-empty { padding:10px 0; color:var(--soft); font-size:.9rem; }
.game-empty h2 { color:var(--ink); }
.game-info { padding-left:24px; border-left:1px solid var(--line); }
.game-info dl { margin:0; }
.game-info dl > div { margin:0 0 18px; }
.game-info dt { color:var(--soft); font-size:.73rem; }
.game-info dd { margin:4px 0 0; font-size:.85rem; }
.game-timeline ol,.game-lineups ol { list-style:none; padding:0; margin:0; }
.game-timeline li { display:flex; align-items:center; gap:16px; padding:12px 0; border-bottom:1px solid var(--line); font-size:.82rem; }
.game-timeline time { width:45px; font-variant-numeric:tabular-nums; color:var(--accent); }
.game-timeline p { margin:3px 0 0; color:var(--soft); }
.game-timeline .away-event { border-right:3px solid var(--line); }
.game-timeline li > b { margin-left:auto; }
.game-stats { max-width:760px; margin:auto; }
.game-stat { margin:18px 0; }
.game-stat > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:.85rem; }
.game-stat-bar { display:block; height:5px; background:var(--line); margin-top:8px; border-radius:5px; overflow:hidden; }
.game-stat-bar i { display:block; height:5px; background:var(--accent); }
.game-lineups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:35px; }
.game-lineups h3 { font-size:.78rem; color:var(--soft); margin-top:24px; }
.game-lineups li { padding:10px 0; border-bottom:1px solid var(--line); display:flex; gap:12px; font-size:.85rem; }
.game-lineups li > span { width:25px; color:var(--soft); font-variant-numeric:tabular-nums; }
.game-table-team { background:var(--bg); box-shadow:inset 3px 0 var(--accent); }
.game-update { margin:10px 0 0; font-size:.72rem; }
@media(max-width:700px) {
 .game-page { margin-top:8px; }
 .game-topbar { margin-bottom:8px; }
 .game-header { padding:18px 12px 22px; }
 .game-date { margin:5px 0 18px; font-size:.72rem; }
 .game-scoreboard { grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr); gap:8px; }
 .game-team { gap:9px; }
 .game-team .team-emblem,.game-team .team-emblem img { width:52px; height:52px; }
 .game-team h2 { font-size:.9rem; min-height:35px; }
 .game-team button { padding:5px 10px; min-height:36px; font-size:.7rem; }
 .game-score > strong { font-size:2rem; }
 .game-score > span { font-size:.69rem; }
 .game-tabs { gap:24px; padding:0 12px; }
 .game-tabs button { padding:13px 0; font-size:.78rem; min-height:46px; }
 .game-tab-content { padding:18px 14px; }
 .game-tab-content:has(.game-info) { display:block; }
 .game-info { border-left:0; border-top:1px solid var(--line); padding:20px 0 0; margin-top:22px; }
 .game-tab-content h2 { font-size:1.08rem; }
 .game-lineups { gap:20px; }
 .game-lineups li { font-size:.75rem; gap:5px; }
}
/* Team navigation and profile */
.match-card { position:relative; }
.match-open { position:absolute; inset:0; z-index:1; }
.match-open:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
.match-teams { position:relative; z-index:2; pointer-events:none; }
.match-teams > span { grid-template-columns:minmax(0,1fr) 24px; }
.match-team-link { display:grid; grid-template-columns:24px minmax(0,1fr); align-items:center; gap:9px; min-width:0; color:inherit; text-decoration:none; pointer-events:auto; }
.match-team-link > span:last-child { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.match-team-link:hover,.team-table-link:hover { color:var(--accent); }
.team-table-link { display:inline-flex; align-items:center; gap:8px; color:inherit; text-decoration:none; font-weight:500; }
.game-team-profile { display:grid; justify-items:center; gap:12px; color:inherit; text-decoration:none; }
.game-team-profile:hover h2 { color:var(--accent); }
.team-page { margin:24px 0 40px; }
.team-header { position:static; display:flex; align-items:center; gap:24px; padding:28px; background:var(--panel); border:1px solid var(--line); border-top:3px solid var(--red); }
.team-header > .team-emblem,.team-header > .team-emblem img { width:88px; height:88px; background:transparent; font-size:1.3rem; }
.team-header h1 { font:750 2.3rem/1.15 Outfit,system-ui,sans-serif; margin:5px 0; }
.team-header .kicker,.team-header .credit { margin:0; }
.team-follow-button { margin-left:auto; border:1px solid var(--line); border-radius:22px; padding:10px 18px; min-height:44px; color:var(--soft); background:var(--panel); white-space:nowrap; }
.team-follow-button[aria-pressed=true] { color:var(--accent); border-color:var(--accent); }
.team-games { padding:0; border:0; }
.team-games .match-card { padding:10px 12px; }
.team-games .match-group:last-child { margin-bottom:0; }
.squad-group { margin-bottom:26px; }
.squad-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.squad-player { display:flex; align-items:center; gap:12px; padding:12px; background:var(--bg); min-width:0; }
.squad-player img,.player-placeholder { width:48px; height:48px; flex-shrink:0; object-fit:contain; border-radius:50%; }
.player-placeholder { display:grid; place-items:center; background:var(--line); }
.squad-player strong { font-weight:550; font-size:.85rem; }
.squad-player small { display:block; color:var(--soft); font-size:.7rem; margin-top:3px; }
.team-news-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.team-news-card { display:grid; grid-template-columns:110px minmax(0,1fr); gap:14px; color:inherit; text-decoration:none; border:1px solid var(--line); padding:10px; }
.team-news-card:not(:has(img)) { grid-template-columns:1fr; }
.team-news-card img { width:110px; height:100%; max-height:150px; object-fit:cover; }
.team-news-card h2 { font-size:1rem; line-height:1.35; margin:0 0 12px; }
.team-news-card p { margin:0; font-size:.7rem; }
.team-news-card p > .credit { display:block; margin-top:5px; }
.team-news-card:hover h2 { color:var(--accent); }
.team-league-table + .team-league-table { margin-top:26px; }
@media(max-width:700px) {
 .match-team-link { gap:6px; }
 .team-page { margin-top:8px; }
 .team-header { flex-wrap:wrap; gap:14px; padding:20px 14px; }
 .team-header > .team-emblem,.team-header > .team-emblem img { width:58px; height:58px; }
 .team-header > div { flex:1; min-width:0; }
 .team-header h1 { font-size:1.6rem; }
 .team-header .kicker { font-size:.62rem; }
 .team-follow-button { margin-left:72px; padding:8px 15px; font-size:.78rem; }
 .team-games .match-card { padding:10px 4px; }
 .squad-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .squad-player { padding:8px; gap:8px; }
 .squad-player img,.player-placeholder { width:36px; height:36px; }
 .squad-player strong { font-size:.74rem; }
 .team-news-list { grid-template-columns:1fr; }
 .team-news-card { grid-template-columns:88px minmax(0,1fr); gap:10px; }
 .team-news-card img { width:88px; }
 .team-news-card h2 { font-size:.9rem; }
 .game-team-profile { gap:9px; }
}
@media(max-width:700px) {
 .team-header { display:grid; grid-template-columns:58px minmax(0,1fr); }
 .team-header > .team-emblem { grid-column:1; grid-row:1 / span 2; }
 .team-header > div { grid-column:2; }
 .team-follow-button { grid-column:2; justify-self:start; margin-left:0; }
}
/* Keep club links on their actual name/crest; spare row space opens the match. */
.match-team-link { width:fit-content; max-width:100%; justify-self:start; }
/* Tecnologia: edição editorial, com conteúdo antes da publicidade. */
.technology-edition{padding-top:22px}.tech-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:15px}.tech-heading h1{font:700 clamp(30px,4vw,44px)/1.1 Outfit,sans-serif;margin:0}.tech-heading>span{color:var(--soft);font-size:13px}.tech-topics{display:flex;gap:8px;overflow:auto;padding:0 0 16px;scrollbar-width:none}.tech-topics button{white-space:nowrap;border:1px solid var(--line);border-radius:24px;background:var(--panel);color:var(--ink);padding:8px 15px;font:500 13px Inter,sans-serif;cursor:pointer}.tech-topics button[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}.tech-opening{display:grid;grid-template-columns:1.5fr 1fr;gap:16px}.tech-card{display:flex;flex-direction:column;padding:0;border:0;text-align:left;background:var(--panel);color:var(--ink);overflow:hidden;cursor:pointer;min-width:0;width:100%}.tech-card>img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.tech-copy{padding:18px;display:flex;flex-direction:column;gap:9px}.tech-copy>strong{font:600 21px/1.25 Outfit,sans-serif}.tech-copy .kicker{font-size:10px}.tech-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--soft)}.tech-meta .source-badge{margin:0}.tech-lead{grid-row:span 2;position:relative;min-height:440px}.tech-lead>img{height:100%;position:absolute;inset:0;aspect-ratio:auto}.tech-lead .tech-copy{position:relative;margin-top:auto;padding:28px;background:linear-gradient(transparent,rgba(0,0,0,.93));padding-top:100px;color:white;z-index:1}.tech-lead .tech-copy>strong{font-size:clamp(25px,3vw,36px)}.tech-lead .tech-meta,.tech-lead .kicker{color:white}.tech-secondary{flex-direction:row;align-items:stretch;min-height:210px}.tech-secondary>img{width:40%;aspect-ratio:auto;object-fit:cover}.tech-secondary .tech-copy{justify-content:center;flex:1}.tech-secondary .tech-copy>strong{font-size:20px}.tech-latest,.tech-national{margin:30px 0}.technology-edition h2{font:600 clamp(24px,3vw,30px)/1.2 Outfit,sans-serif;margin:0 0 20px}.tech-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tech-national-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.tech-national{border-top:3px solid var(--red);padding-top:22px}.tech-national .tech-copy>strong{font-size:19px}.tech-compact{flex-direction:row;align-items:flex-start}.tech-compact>img{width:32%;margin-top:18px;aspect-ratio:1}.tech-compact .tech-copy{flex:1;padding:16px 12px}.tech-compact .tech-copy>strong{font-size:19px}.tech-card:hover strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.tech-card:focus-visible,.tech-topics button:focus-visible{outline:3px solid var(--red);outline-offset:3px}.tech-empty{padding:28px 0;color:var(--soft)}
@media(max-width:740px){.technology-edition{padding-top:16px}.tech-heading{margin-bottom:13px}.tech-heading h1{font-size:30px}.tech-heading>span{display:none}.tech-topics{gap:6px;padding-bottom:14px}.tech-topics button{padding:7px 12px;font-size:12px}.tech-opening{grid-template-columns:minmax(0,1fr);gap:10px}.tech-lead{grid-row:auto;min-height:340px}.tech-lead .tech-copy{padding:60px 18px 20px}.tech-lead .tech-copy>strong{font-size:27px}.tech-secondary{min-height:112px;flex-direction:row}.tech-secondary>img{width:30%;aspect-ratio:1;max-height:145px}.tech-secondary .tech-copy{padding:12px;gap:7px}.tech-secondary .tech-copy>strong{font-size:18px}.tech-news-grid,.tech-national-grid{grid-template-columns:minmax(0,1fr);gap:14px}.tech-news-grid .tech-card:not(:first-child),.tech-national .tech-card{flex-direction:row;border-bottom:1px solid var(--line);background:transparent}.tech-news-grid .tech-card:not(:first-child)>img,.tech-national .tech-card>img{width:30%;aspect-ratio:1;max-height:150px;margin-top:0}.tech-news-grid .tech-card:not(:first-child) .tech-copy,.tech-national .tech-copy{flex:1;padding:8px 12px 14px}.tech-copy>strong{font-size:21px}.tech-news-grid .tech-card:not(:first-child) strong,.tech-national .tech-copy>strong{font-size:18px}.tech-latest,.tech-national{margin:24px 0}.tech-meta{gap:5px;font-size:10px}.technology-edition h2{margin-bottom:16px}}

.tech-lead .source-badge{color:#fff}

.translation-label{font-size:10px;font-weight:400;opacity:.85}.translation-original{padding:16px 0;border-top:1px solid var(--line);color:var(--soft);font-size:13px}.translation-original summary{cursor:pointer}
.ad-space.ad-network{display:block;min-width:0;width:100%;box-sizing:border-box;padding:0;border:0;background:var(--panel);min-height:250px;}
.ad-network>span{display:block;text-align:center;padding:6px 0;}
.ad-network>.adsbygoogle{display:block;width:100%;min-width:0;}
.story-grid>.ad-space[data-ad-format="infeed"],.tech-news-grid>.ad-space[data-ad-format="infeed"]{align-self:stretch;margin:0;min-width:0;}
@media(max-width:740px){.ad-space.ad-network{min-height:250px;margin:18px 0;}.ad-space.ad-network[data-ad-slot$="-topo"]{min-height:100px;}}
