/* WinnerWho visual system: ink, ivory and a restrained copper accent. */
:root {
  --navy: #142334;
  --navy2: #21384b;
  --blue: #315e91;
  --accent: #da9861;
  --bg: #eff1f3;
  --text: #1c2c3e;
  --muted: #778391;
  --line: #e0e5eb;
  --radius: 12px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: -.12px;
  background: var(--bg);
}
strong, .score-center, .row-scores, .featured-score, .outcome-labels, .stat-card {
  font-variant-numeric: tabular-nums;
}
button, a, select { transition: background-color .16s, border-color .16s, box-shadow .16s; }
.topbar { background: #132332; box-shadow: none; border-bottom: 1px solid #ffffff10; }
.top-inner { max-width: 1480px; height: 72px; padding: 0 26px; gap: 45px; }
.brand { font-size: 25px; letter-spacing: -1.3px; gap: 9px; }
.brand-mark { background: #d39a68; width: 30px; height: 33px; color: #132332; }
.brand span:last-child { color: #d39a68; margin-left: -7px; }
.top-nav { gap: 32px; }
.top-nav a { color: #97a9bb; font-size: 13px; gap: 8px; }
.top-nav a.active { color: #fff; }
.top-nav a.active:after { height: 3px; background: #d6a071; }
.top-nav .icon { width: 18px; height: 18px; }
.user-link { background: #2e4354; border: 1px solid #60788d55; color: #d8e1ea; }
.header-actions .icon-btn { color: #c3cfda; }

/* Dense, horizontally scrollable live score rail. */
.score-ribbon { background: #fff; border-bottom: 1px solid #dee4ea; }
.score-ribbon-inner { max-width: 1480px; margin: auto; padding: 0 26px; display: flex; height: 65px; }
.ribbon-label { display: flex; flex-wrap: wrap; align-content: center; align-items: center; gap: 5px; width: 95px; flex: none; border-right: 1px solid #e8ecf0; padding-right: 17px; }
.ribbon-label strong { font-size: 10px; letter-spacing: .6px; color: #2b775d; }
.ribbon-label small { display: block; width: 100%; margin-left: 10px; font-size: 10px; color: #62758a; }
.ribbon-label>.icon { width: 12px; height: 12px; margin-left: auto; color: #8596a6; }
.ribbon-live-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #39906f; box-shadow: 0 0 0 3px #e6f3ed; }
.ribbon-games { display: flex; min-width: 0; flex: 1; overflow: auto; scrollbar-width: none; }
.ribbon-games::-webkit-scrollbar { display: none; }
.ribbon-game { display: flex; align-items: center; justify-content: center; gap: 11px; flex: 1; min-width: 230px; padding: 10px 15px; border-right: 1px solid #e8ecf0; }
.ribbon-game:hover { background: #f5f8fa; }
.ribbon-minute { font-size: 9px; color: #338261; background: #edf6f0; padding: 4px 5px; border-radius: 3px; }
.ribbon-club { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ribbon-club>span:last-child { font-size: 10px; color: #5f7183; white-space: nowrap; }
.ribbon-club .logo-wrap { width: 21px; height: 21px; }
.ribbon-score { display: flex; gap: 7px; font-size: 16px; color: #20374c; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ribbon-score b { color: #a4afbb; font-size: 11px; padding-top: 2px; font-weight: 400; }
.ribbon-game>.icon { width: 12px; height: 12px; color: #b0bbc5; }

.app-layout { max-width: 1480px; padding: 25px 26px 60px; grid-template-columns: 188px minmax(0,1fr) 272px; gap: 20px; }
.sidebar { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 9px 16px; top: 93px; box-shadow: 0 5px 18px #1d324605; }
.sidebar-title { color: #60758a; font-size: 9px; font-weight: 750; letter-spacing: 1.2px; margin-left: 12px; }
.side-link { padding: 12px 11px; font-size: 12px; color: #637486; position: relative; margin: 3px 0; border-radius: 7px; }
.side-link.active { background: #20374a; color: #fff; box-shadow: 0 3px 8px #15304712; }
.side-link.active .icon { color: #e4b186; }
.side-link.active:before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: #d8a271; border-radius: 2px; }
.side-link .icon { width: 18px; height: 18px; }
.side-link .count { font-size: 9px; padding: 2px 5px; background: #eaf0f7; color: #6583a7; }
.side-link.active .count { background: #ffffff18; color: #d3e2f2; }
.side-divider { margin: 20px 10px; border-top-color: #e9edf1; }
.side-league { padding: 10px 11px; font-size: 11px; gap: 9px; color: #65778a; }
.side-league .logo-wrap { width: 20px; height: 23px; }
.sidebar-note { font-size: 9px; line-height: 1.8; margin-top: 21px; color: #64788b; }
.sidebar>.side-link:nth-of-type(3) { font-weight: 400; }
.sidebar>.side-link.active { font-weight: 650; }
.page-title { margin: 0 1px 14px; align-items: center; gap: 14px; }
.page-kicker { display: block; font-size: 8px; letter-spacing: 1.4px; font-weight: 700; color: #5b6e81; margin-bottom: 7px; }
.page-title h1 { font-size: 29px; letter-spacing: -1.1px; color: #23374a; font-weight: 760; }
.page-title .subtitle { color: #5b7084; font-size: 11px; margin-top: 5px; }
.page-title>.icon-btn { font-size: 10px; color: #7289a1; white-space: nowrap; }
.page-title>.icon-btn .icon { width: 14px; height: 14px; }
.panel { border-color: #e0e5eb; box-shadow: 0 3px 12px #24394c04; border-radius: 11px; margin-bottom: 14px; }
.panel-head { padding: 15px 16px; background: #fdfefe; }
.panel-head h2 { color: #354e65; font-size: 13px; letter-spacing: -.2px; }
.panel-head .sub { font-size: 9px; color: #607287; }
.small-link { color: #496f99; font-weight: 600; }
.primary-btn { background: #315c85; border-radius: 6px; }
.primary-btn:hover { background: #254665; }
.analysis-pulse { gap: 7px; font-size: 9px; color: #5a7085; margin: 0 2px 16px; }
.analysis-pulse>a { color: #63809f; }
.pulse-dot { background: #4c9279; box-shadow: 0 0 0 3px #e2eee9; }

.league-quick-select { display: flex; gap: 7px; margin: 0 0 17px; overflow-x: auto; scrollbar-width: none; padding: 1px 0; }
.league-quick-select::-webkit-scrollbar { display: none; }
.league-quick { display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border: 1px solid #dfe5eb; padding: 8px 10px; border-radius: 6px; white-space: nowrap; font-size: 10px; font-weight: 550; color: #526980; min-height: 36px; flex: 1; }
.league-quick>.icon { width: 14px; height: 14px; }
.league-quick .logo-wrap { width: 17px; height: 19px; }
.league-quick.active { background: #233c52; border-color: #233c52; color: #fff; }
.league-quick:hover:not(.active) { border-color: #9db0c3; background: #f9fbfd; }

/* A matte match spotlight with pitch geometry and strong team crests. */
.premium-spotlight { position: relative; isolation: isolate; padding: 19px 22px 0; background: #1b3042; border: 1px solid #263f53; border-top: 1px solid #4d6374; box-shadow: 0 7px 19px #172c4312; color: #fff; }
.premium-spotlight:before { content: ''; position: absolute; top: 0; left: 22px; width: 46px; height: 2px; background: #d1a174; z-index: 1; }
.spotlight-pitch { position: absolute; width: 100%; height: 235px; left: 0; top: 19px; opacity: .09; stroke: #c4d9e5; stroke-width: 1; z-index: -1; pointer-events: none; }
.premium-spotlight .analysis-feature-top { align-items: center; }
.premium-spotlight .feature-kicker { color: #d3ab86; font-size: 9px; letter-spacing: 1.2px; gap: 7px; }
.feature-kicker>i { display: inline-block; width: 4px; height: 4px; background: #d3ab86; transform: rotate(45deg); }
.spotlight-league { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #c0d0dc; }
.spotlight-league .logo-wrap { width: 19px; height: 21px; background: #e8eff4; border-radius: 3px; padding: 2px; }
.spotlight-league>.icon { width: 12px; height: 12px; color: #8096a9; }
.spotlight-match { display: flex; justify-content: center; align-items: center; gap: 26px; padding: 24px 12px 21px; }
.spotlight-team { display: flex; flex-direction: column; align-items: center; gap: 9px; flex: 1; min-width: 0; max-width: 185px; }
.spotlight-team .logo-wrap { width: 50px; height: 50px; filter: drop-shadow(0 3px 3px #0003); }
.spotlight-team>span:not(.logo-wrap) { font-size: 14px; font-weight: 650; color: #edf3f9; text-align: center; }
.spotlight-team small { color: #b1c5d5; font-size: 7px; letter-spacing: 1.1px; margin-top: -3px; }
.spotlight-versus { text-align: center; min-width: 68px; padding-top: 6px; }
.spotlight-versus strong { display: block; font-size: 30px; letter-spacing: -.8px; color: #dce8f0; font-weight: 550; font-variant-numeric: tabular-nums; }
.spotlight-versus>span { display: inline-block; font-size: 7px; font-weight: 550; letter-spacing: 1px; border: 1px solid #516b8055; color: #bacddc; border-radius: 3px; padding: 4px 6px; margin-top: 7px; }
.spotlight-analysis { display: flex; align-items: center; gap: 20px; padding: 16px 0 18px; border-top: 1px solid #49627455; }
.spotlight-analysis>div:first-child { flex: 1; min-width: 0; }
.spotlight-caption { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.spotlight-caption>span:first-child { color: #bfceda; font-size: 8px; letter-spacing: 1px; }
.premium-spotlight .risk.low { background: #3c7b602e; color: #99c6ab; }
.premium-spotlight .risk.medium { background: #9c7d3a2b; color: #c9b07e; }
.premium-spotlight .risk.high { background: #a95f6829; color: #d3a2a7; }
.spotlight-analysis h2 { font-size: 23px; color: #f0f4f7; letter-spacing: -.7px; font-weight: 650; }
.spotlight-analysis p { font-size: 11px; line-height: 1.7; color: #bfceda; margin-top: 8px; max-width: 450px; }
.spotlight-signal { width: 93px; flex: none; padding-left: 16px; border-left: 1px solid #49627455; }
.spotlight-signal>strong { font-size: 34px; font-weight: 550; color: #d8b38f; display: block; line-height: 1; letter-spacing: -1.2px; }
.spotlight-signal>strong small { font-size: 10px; color: #b3c5d3; letter-spacing: 0; font-weight: 400; }
.spotlight-signal>span { font-size: 8px; display: block; margin-top: 7px; color: #b7c8d6; }
.spotlight-signal>i { height: 3px; width: 65px; background: #3a5062; display: block; overflow: hidden; border-radius: 2px; margin-top: 9px; }
.spotlight-signal b { display: block; height: 100%; border-radius: 2px; background: #bd9c7d; }
.spotlight-footer { display: flex; align-items: center; gap: 30px; border-top: 1px solid #49627455; padding: 15px 0 16px; }
.spotlight-stat small { font-size: 9px; display: block; color: #b6c7d4; margin-bottom: 5px; }
.spotlight-stat strong { color: #c4d3df; font-size: 13px; font-weight: 550; font-variant-numeric: tabular-nums; }
.spotlight-stat strong span { color: #5c778d; font-size: 10px; margin: 0 3px; }
.spotlight-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-left: auto; border: 1px solid #d4b08d; background: #d4b08d; color: #23394a; padding: 10px 14px; font-size: 10px; font-weight: 700; border-radius: 5px; }
.spotlight-cta .icon { width: 14px; height: 14px; }
.spotlight-cta:hover { background: #e3c4a7; border-color: #e3c4a7; }
.premium-spotlight .logo-wrap.is-pending:before { background: #42596c; }
.premium-spotlight .logo-wrap.is-pending:after { background: linear-gradient(90deg,transparent,#b0c5d74d,transparent); }

/* Risk counters are deliberately compact to keep matches close to the fold. */
.analysis-risk-grid { gap: 9px; margin: 14px 0; }
.risk-overview { position: relative; padding: 12px 13px; border-color: #dee4ea; background: #fafcfd; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 7px 6px; border-radius: 8px; }
.risk-overview>span { font-size: 10px; color: #6d7f90; }
.risk-overview>strong { font-size: 24px; margin: 0; grid-column: 2; grid-row: 1 / 3; font-weight: 600; color: #435c70; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.risk-overview>strong>small { margin: 0; font-size: 7px; color: #607588; }
.risk-overview>em { font-size: 8px; color: #5f7589; }
.risk-overview.selected { border-color: #829bad; box-shadow: inset 0 0 0 1px #829bad; background: #fff; }
.risk-overview.selected:after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 0; height: 2px; background: var(--risk-color); }
.daily-radar { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 0 0 24px; }
.radar-insight { display: block; background: #fff; border: 1px solid #e0e5eb; border-radius: 8px; padding: 12px 13px; min-width: 0; }
.radar-insight:hover { border-color: #a8bacb; box-shadow: 0 4px 12px #233c5208; }
.radar-kicker { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #526a80; font-weight: 550; }
.radar-kicker .icon { width: 13px; height: 13px; color: #7e98ad; }
.radar-kicker>.icon:last-child { margin-left: auto; width: 11px; height: 11px; color: #b1bdc9; }
.radar-value { display: flex; align-items: baseline; gap: 7px; margin: 9px 0 10px; }
.radar-value strong { font-size: 25px; color: #314d65; letter-spacing: -.8px; font-weight: 600; }
.radar-value>span { font-size: 8px; color: #60778b; line-height: 1.4; }
.radar-match { display: flex; align-items: center; gap: 4px; min-width: 0; }
.radar-match .logo-wrap { width: 15px; height: 15px; }
.radar-match>span:last-child { font-size: 8px; color: #516b82; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 3px; }
.radar-goals { border-top: 2px solid #7c9bad; }
.radar-form { border-top: 2px solid #a1b5a9; }
.radar-balance { border-top: 2px solid #cfb392; }

.analysis-feed-header { margin-bottom: 13px; }
.analysis-feed-header h2 { color: #314c64; font-size: 18px; font-weight: 700; letter-spacing: -.5px; }
.feed-date select { background: #fff; border-color: #d9e1e9; font-size: 10px; border-radius: 5px; padding: 6px 10px; }
.analysis-scope { gap: 23px; border-color: #d8e0e9; margin-bottom: 13px; }
.analysis-scope button { font-size: 11px; color: #536b82; padding-bottom: 12px; }
.analysis-scope button.active { color: #355a7a; }
.analysis-scope button.active:after { background: #355a7a; }
.analysis-search-row { padding: 9px; background: #e5eaf0; border: 1px solid #dce3eb; border-radius: 8px; margin: 0 0 9px; gap: 7px; }
.analysis-search-row .search-field { border-color: #dce3e9; border-radius: 5px; padding: 9px 11px; }
.analysis-search-row .search-field input { font-size: 11px; }
.analysis-search-row .control { font-size: 10px; padding: 9px 11px; border-color: #d9e1e8; border-radius: 5px; }
.analysis-search-row .settings-select { height: 35px; font-size: 10px; max-width: 125px; background: #f8fafc; border-color: #d4dee8; padding-right: 4px; }
.market-chips { padding: 1px 0 15px; gap: 6px; }
.market-chips button { font-size: 10px; border-radius: 5px; padding: 7px 10px; border-color: #dbe3eb; color: #586d81; }
.market-chips button.active { background: #fff; color: #466b8f; border-color: #9db3c6; font-weight: 600; }
.analysis-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.analysis-list>.empty-state { grid-column: 1 / -1; }
.analysis-list .analysis-card { margin: 0; width: 100%; min-width: 0; }
.analysis-card { border-top: 2px solid #9daebd; box-shadow: 0 4px 12px #20384c05; }
.analysis-card[data-risk="low"] { border-top-color: #97b6a4; }
.analysis-card[data-risk="medium"] { border-top-color: #c9b895; }
.analysis-card[data-risk="high"] { border-top-color: #c89da3; }
.analysis-card-head { background: #f8fafc; padding: 10px 13px; font-size: 9px; color: #5e7388; border-bottom-color: #e8edf2; }
.analysis-card-head .league-inline { font-size: 10px; color: #6a8095; gap: 6px; font-weight: 550; }
.league-inline .logo-wrap { width: 16px; height: 18px; }
.an-match-head { padding: 14px 13px 13px; gap: 8px; }
.an-team-stack { gap: 10px; }
.an-team-stack>span { font-size: 12px; color: #405b72; gap: 8px; font-weight: 650; }
.an-team-stack .logo-wrap { width: 23px; height: 23px; }
.an-live-score { font-size: 14px; gap: 13px; color: #46785e; }
.an-start-time { font-size: 11px; color: #5d748b; }
.analysis-card .analysis-body { margin: 0 12px 12px; padding: 11px; background: #f0f4f8; border: 1px solid #e2e9f1; border-radius: 6px; }
.analysis-card .analysis-pick { gap: 7px; }
.analysis-card .analysis-pick>div { min-width: 0; }
.analysis-card .analysis-pick>div>strong { font-size: 13px; color: #355976; line-height: 1.35; font-weight: 650; letter-spacing: -.2px; }
.analysis-card .mini-caption { font-size: 7px; letter-spacing: .7px; color: #567087; }
.analysis-card .analysis-body p { font-size: 10px; line-height: 1.7; color: #4e647a; margin-top: 7px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.risk { font-size: 8px; font-weight: 600; padding: 4px 5px; border-radius: 3px; }
.risk.low { background: #e9f1ec; color: #65866f; }
.risk.medium { background: #f3eee4; color: #a28a5f; }
.risk.high { background: #f6ebec; color: #b37f88; }
.an-outcomes { padding: 0 13px 12px; }
.outcome-track { height: 4px; gap: 2px; }
.outcome-0,.key-home { background: #658cab; }
.outcome-1,.key-draw { background: #bec9d4; }
.outcome-2,.key-away { background: #caa57c; }
.outcome-labels { margin-top: 7px; font-size: 9px; }
.outcome-labels strong { color: #6b8298; font-weight: 600; }
.an-evidence { gap: 10px; padding: 0 13px 12px; font-size: 8px; flex-wrap: wrap; }
.an-evidence>span { gap: 4px; }
.an-evidence .icon { width: 11px; height: 11px; }
.an-evidence strong { color: #64829d; font-size: 8px; }
.card-reasoning { margin: 0 13px 11px; padding-top: 10px; border-color: #e7edf3; }
.card-reasoning summary { font-size: 9px; color: #5b7288; }
.card-reasoning p { font-size: 10px; color: #8196aa; }
.card-reasoning p strong { color: #5e7b97; }
.card-risk-note { font-size: 9px; color: #a08f7b; }
.analysis-card .analysis-footer { padding: 0 13px 13px; gap: 7px; align-items: center; }
.signal-inline { font-size: 8px; gap: 4px; color: #5b7187; white-space: nowrap; }
.signal-inline>i { width: 22px; }
.signal-inline strong { font-size: 8px; color: #68849e; }
.analysis-card .analysis-footer .small-link { font-size: 9px; white-space: nowrap; }
.analysis-card .analysis-footer .icon { width: 12px; height: 12px; }

/* The rail is a compact match desk, with the live game carrying the dark theme. */
.right-column>.panel:first-child { background: #203649; border-color: #304a5f; box-shadow: 0 6px 16px #1d344911; }
.right-column>.panel:first-child .section-kicker { color: #9ab0c2; font-size: 8px; letter-spacing: 1px; }
.right-column>.panel:first-child .featured-badge { color: #d0ad88; background: #d0ad881c; border: 1px solid #d0ad8833; font-size: 8px; }
.right-column>.panel:first-child .featured-team { color: #cfdeeb; font-size: 10px; }
.featured { padding: 17px 16px; }
.featured-top { margin-bottom: 20px; }
.featured-team .logo-wrap { width: 42px; height: 42px; margin-bottom: 10px; }
.featured-score { color: #fff; font-size: 30px; font-weight: 600; letter-spacing: 1px; }
.featured-score small { color: #90b6a3; font-size: 9px; font-weight: 400; letter-spacing: 0; }
.rail-verdict { border-color: #46607366; padding-top: 15px; margin-top: 19px; }
.rail-verdict>span:first-child { color: #b6cadb; font-size: 10px; }
.right-column>.panel:first-child .risk.low { color: #a4c8b3; background: #59987521; }
.right-column>.panel:first-child .featured-footer { border-color: #46607366; background: #142a3b55; color: #b8cfdf; font-size: 10px; padding: 12px; }
.right-column>.panel:first-child .logo-wrap.is-pending:before { background: #476175; }
.right-column .panel-head { padding: 14px 14px; }
.right-column .panel-head h2 { font-size: 12px; }
.right-column .panel-head>.icon { width: 16px; height: 16px; color: #9bafc2; }
.rail-analysis { padding: 13px 13px; gap: 10px; }
.rail-analysis strong { color: #5d758a; font-size: 10px; }
.rail-analysis small { font-size: 8px; color: #62778d; }
.rail-strength { background: #edf2f6; color: #64839f; border: 1px solid #e1e8ef; font-size: 10px; border-radius: 4px; }
.featured-footer { color: #6e8ba6; font-size: 9px; border-top-color: #e6edf3; background: #fafcfd; }
.mini-table { font-size: 10px; }
.mini-table th { padding: 10px 6px; font-size: 9px; color: #5e758a; background: #fafcfd; }
.mini-table td { padding: 10px 6px; color: #6c8195; border-color: #edf1f5; }
.mini-table td:last-child { color: #45647f; }
.mini-table tr.highlight { background: #f0f4f8; }
.mini-table .table-team { font-size: 10px; }
.right-note { font-size: 9px; color: #697d90; line-height: 1.9; padding: 0 4px; }

/* Apply the same rhythm to score, league and match pages. */
.league-header { background: #f7f9fb; padding: 13px 15px; }
.league-title { color: #4d677e; font-size: 12px; }
.league-country { color: #60768b; font-size: 9px; }
.match-row { min-height: 78px; padding: 12px 13px; }
.row-team { font-size: 13px; color: #4a637a; }
.row-scores { font-size: 15px; color: #4f6b83; }
.row-scores.live { color: #4c8a6d; }
.match-status { font-size: 10px; }
.detail-hero { background: #1b3042; padding: 18px 20px 25px; }
.score-team { font-size: 13px; color: #deebf4; }
.score-center strong { font-size: 40px; font-weight: 550; color: #edf5fa; letter-spacing: 4px; }
.score-team .logo-wrap { width: 65px; height: 65px; }
.detail-top { color: #8ca3b7; }
.tabs { background: #fff; }
.tab { font-size: 11px; color: #5d748b; }
.tab.active { color: #3e6487; }
.tab.active:after { background: #4b7092; }
.analysis-detail-nav { padding: 0 0 13px; gap: 5px; }
.analysis-detail-nav button { color: #5d748b; font-size: 10px; }
.analysis-detail-nav button.active { background: #e2eaf2; border-color: #cfdae6; color: #537393; }
.verdict-panel { border-top: 2px solid #9eafc0; }
.verdict-title h2 { font-size: 23px; color: #3c5b77; font-weight: 650; }
.verdict-confidence>strong { color: #6f8ca5; font-size: 30px; }
.verdict-body>p { font-size: 12px; line-height: 1.8; color: #7d90a3; }
.prob-card { border-radius: 7px; background: #f5f8fb; border-color: #e2e9f1; }
.prob-card strong { color: #6b8aa8; font-size: 23px; }
.prob-card.best { background: #eaf1f7; border-color: #c8d8e7; }
.reason-item h3 { color: #607f9a; font-size: 12px; }
.reason-item p,.risk-factor>p,.analysis-notes { font-size: 11px; line-height: 1.8; color: #7e92a6; }
.reason-number { border-radius: 5px; background: #edf2f7; color: #8ea5ba; }
.stat-line-top strong { color: #6b88a1; }
.stat-line-top span { color: #60788e; }
.dual-bar i:first-child { background: #7296b4; }
.dual-bar i:last-child { background: #c6ab8b; }
.full-table th { background: #f7f9fc; }
.full-table td { color: #6e859b; }
.full-table .table-team { color: #56738f; }
.full-table tr.qualified td:first-child:before { background: #7395b3; }
.entity-header h1 { color: #36526e; font-size: 25px; letter-spacing: -.7px; }
.entity-header p { color: #5e768c; }
.league-list-row h3 { color: #55718c; font-size: 13px; }
.league-list-row p { color: #60788e; }
.dialog { border: 1px solid #dbe3ec; box-shadow: 0 20px 90px #1226363d; }
.dialog-head { background: #f7f9fc; }
.dialog-head h2 { color: #4a6682; }
.dialog-choice { color: #7189a2; }
.switch:checked { background: #527a9d; }

@media(min-width:1550px) {
  .app-layout { grid-template-columns: 198px minmax(0,1fr) 290px; gap: 24px; }
  .sidebar { padding-top: 20px; }
  .analysis-list { gap: 16px; }
  .analysis-card .analysis-body p { font-size: 11px; }
}
@media(max-width:1200px) and (min-width:1101px) {
  .app-layout { grid-template-columns: 168px minmax(0,1fr) 245px; gap: 15px; padding-left: 20px; padding-right: 20px; }
  .top-inner { padding: 0 20px; }
  .ribbon-game { min-width: 210px; padding: 10px; gap: 8px; }
  .ribbon-club>span:last-child { font-size: 9px; }
  .analysis-card .analysis-footer { flex-wrap: wrap; gap: 8px; }
  .analysis-card .analysis-footer .small-link { margin-left: auto; }
  .an-evidence { gap: 6px; flex-direction: column; align-items: flex-start; }
  .feature-team-line { gap: 7px; }
  .league-quick { font-size: 9px; padding: 8px; }
}
@media(max-width:1100px) and (min-width:761px) {
  .app-layout { max-width: 1100px; grid-template-columns: 175px minmax(0,1fr); gap: 19px; padding: 24px 22px 60px; }
  .right-column { display: none; }
  .top-inner { max-width: 1100px; padding: 0 22px; gap: 34px; }
  .top-nav { gap: 25px; }
  .top-nav a { font-size: 12px; }
  .score-ribbon-inner { padding: 0 22px; }
  .ribbon-game { min-width: 220px; gap: 8px; }
  .ribbon-club>span:last-child { font-size: 9px; }
}
@media(max-width:900px) and (min-width:761px) {
  .app-layout { grid-template-columns: 155px minmax(0,1fr); gap: 15px; padding-left: 18px; padding-right: 18px; }
  .brand { font-size: 22px; }
  .top-inner { gap: 25px; }
  .top-nav { gap: 18px; }
  .top-nav .icon { display: none; }
  .side-link { font-size: 11px; padding: 11px 9px; gap: 8px; }
  .side-league { font-size: 10px; padding: 9px; }
  .analysis-card .analysis-footer { flex-wrap: wrap; gap: 7px; }
  .analysis-card .analysis-footer .small-link { margin-left: auto; }
  .an-evidence { flex-direction: column; align-items: flex-start; gap: 5px; }
  .an-team-stack>span { font-size: 11px; }
  .radar-insight { padding: 11px; }
  .radar-value { gap: 5px; }
  .radar-value strong { font-size: 22px; }
  .radar-value>span { font-size: 7px; }
  .league-quick { font-size: 9px; padding: 7px 8px; }
}
@media(max-width:760px) {
  body { font-size: 13px; }
  .top-inner { height: 60px; padding: 0 16px; gap: 10px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand-mark { width: 26px; height: 28px; }
  .top-nav { display: none; }
  .header-actions { gap: 9px; }
  .header-actions .icon { width: 19px; height: 19px; }
  .user-link { width: 29px; height: 29px; font-size: 9px; }
  .score-ribbon-inner { padding: 0 0 0 13px; height: 58px; }
  .ribbon-label { width: 49px; padding: 0 8px 0 0; gap: 4px; }
  .ribbon-label strong { font-size: 8px; letter-spacing: .3px; }
  .ribbon-label small { font-size: 8px; margin-left: 8px; margin-top: 1px; }
  .ribbon-label>.icon { display: none; }
  .ribbon-live-dot { width: 4px; height: 4px; box-shadow: 0 0 0 2px #e6f3ed; }
  .ribbon-game { min-width: 143px; padding: 9px 10px; gap: 8px; flex: none; }
  .ribbon-club>span:last-child { display: none; }
  .ribbon-club .logo-wrap { width: 21px; height: 21px; }
  .ribbon-minute { font-size: 8px; padding: 3px 4px; }
  .ribbon-score { font-size: 15px; gap: 4px; }
  .ribbon-score b { font-size: 10px; }
  .ribbon-game>.icon { display: none; }
  .app-layout { display: block; padding: 19px 13px 94px; }
  .sidebar,.right-column { display: none; }
  .page-title { margin: 0 1px 12px; gap: 8px; }
  .page-kicker { font-size: 7px; letter-spacing: 1.15px; margin-bottom: 6px; }
  .page-title h1 { font-size: 25px; letter-spacing: -.9px; }
  .page-title .subtitle { font-size: 10px; margin-top: 4px; }
  .page-title>.icon-btn { font-size: 9px; padding: 5px 1px 5px 5px; }
  .page-title>.icon-btn .icon { width: 13px; height: 13px; }
  .analysis-pulse { font-size: 8px; margin-bottom: 14px; gap: 5px; }
  .analysis-pulse>a { font-size: 8px; }
  .analysis-pulse .icon { width: 10px; height: 10px; }
  .league-quick-select { gap: 6px; margin: 0 -13px 14px 0; padding: 0 13px 1px 0; }
  .league-quick { flex: none; min-height: 33px; padding: 7px 10px; font-size: 9px; border-radius: 5px; gap: 6px; }
  .league-quick .logo-wrap { width: 16px; height: 17px; }
  .league-quick>.icon { width: 13px; height: 13px; }
  .panel { border-radius: 10px; margin-bottom: 12px; box-shadow: 0 3px 9px #24394c03; }
  .premium-spotlight { padding: 15px 15px 0; border-radius: 10px; }
  .premium-spotlight:before { left: 16px; width: 35px; }
  .premium-spotlight .feature-kicker { font-size: 7px; letter-spacing: .9px; }
  .spotlight-league { font-size: 8px; gap: 5px; }
  .spotlight-league .logo-wrap { width: 16px; height: 18px; }
  .spotlight-pitch { top: 16px; height: 180px; width: 116%; left: -8%; opacity: .075; }
  .spotlight-match { gap: 15px; padding: 18px 3px 17px; }
  .spotlight-team { gap: 7px; }
  .spotlight-team .logo-wrap { width: 39px; height: 39px; }
  .spotlight-team>span:not(.logo-wrap) { font-size: 11px; }
  .spotlight-team small { font-size: 6px; letter-spacing: 1px; margin-top: -2px; }
  .spotlight-versus { min-width: 57px; padding-top: 3px; }
  .spotlight-versus strong { font-size: 25px; letter-spacing: -.6px; }
  .spotlight-versus>span { font-size: 6px; padding: 3px 5px; letter-spacing: .7px; margin-top: 5px; }
  .spotlight-analysis { padding: 13px 0 14px; gap: 12px; }
  .spotlight-caption { gap: 7px; margin-bottom: 7px; }
  .spotlight-caption>span:first-child { font-size: 6px; letter-spacing: .9px; }
  .premium-spotlight .risk { font-size: 7px; padding: 3px 4px; gap: 3px; }
  .spotlight-analysis h2 { font-size: 18px; letter-spacing: -.4px; }
  .spotlight-analysis p { font-size: 9px; line-height: 1.65; margin-top: 6px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .spotlight-signal { width: 67px; padding-left: 12px; }
  .spotlight-signal>strong { font-size: 28px; letter-spacing: -.8px; }
  .spotlight-signal>strong small { font-size: 8px; }
  .spotlight-signal>span { font-size: 7px; margin-top: 6px; }
  .spotlight-signal>i { width: 48px; height: 2px; margin-top: 7px; }
  .spotlight-footer { gap: 21px; padding: 12px 0 14px; }
  .spotlight-stat small { font-size: 7px; margin-bottom: 4px; }
  .spotlight-stat strong { font-size: 11px; }
  .spotlight-stat strong span { font-size: 8px; margin: 0 1px; }
  .spotlight-cta { gap: 6px; font-size: 9px; padding: 9px 10px; border-radius: 4px; }
  .spotlight-cta .icon { width: 12px; height: 12px; }
  .analysis-risk-grid { gap: 7px; margin: 12px 0 10px; }
  .risk-overview { padding: 10px; border-radius: 7px; gap: 6px 4px; }
  .risk-overview>span { font-size: 9px; gap: 4px; }
  .risk-overview>span:before { width: 4px; height: 4px; }
  .risk-overview>strong { font-size: 21px; gap: 2px; }
  .risk-overview>strong>small { font-size: 6px; }
  .risk-overview>em { font-size: 7px; line-height: 1.4; }
  .daily-radar { gap: 7px; margin-bottom: 22px; }
  .radar-insight { padding: 10px 9px; border-radius: 7px; }
  .radar-kicker { font-size: 8px; gap: 4px; }
  .radar-kicker>.icon { width: 11px; height: 11px; }
  .radar-kicker>.icon:last-child { display: none; }
  .radar-value { display: block; margin: 7px 0 8px; }
  .radar-value strong { font-size: 23px; letter-spacing: -.6px; }
  .radar-value>span { display: block; font-size: 7px; margin-top: 1px; }
  .radar-match { gap: 3px; flex-wrap: wrap; }
  .radar-match .logo-wrap { width: 14px; height: 14px; }
  .radar-match>span:last-child { display: block; width: 100%; margin: 3px 0 0; font-size: 7px; }
  .analysis-feed-header { margin-bottom: 12px; }
  .analysis-feed-header h2 { font-size: 17px; letter-spacing: -.5px; }
  .feed-date { gap: 8px; }
  .feed-date>span { font-size: 8px; }
  .feed-date select { font-size: 9px; padding: 6px 8px; }
  .analysis-scope { gap: 22px; margin-bottom: 12px; }
  .analysis-scope button { font-size: 10px; padding-bottom: 11px; }
  .analysis-search-row { gap: 5px; padding: 7px; border-radius: 7px; }
  .analysis-search-row .search-field { flex: 1; min-width: 80px; padding: 8px; border-radius: 4px; }
  .analysis-search-row .search-field input { font-size: 9px; }
  .analysis-search-row .control { padding: 8px 7px; font-size: 9px; border-radius: 4px; gap: 4px; }
  .analysis-search-row .settings-select { max-width: 94px; padding: 6px 2px; font-size: 8px; height: 32px; }
  .market-chips { gap: 5px; padding-bottom: 13px; }
  .market-chips button { font-size: 9px; padding: 6px 8px; border-radius: 4px; }
  .analysis-list { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .analysis-card { border-radius: 9px; }
  .analysis-card-head { padding: 10px 13px; font-size: 9px; }
  .analysis-card-head .league-inline { font-size: 10px; }
  .league-inline .logo-wrap { width: 16px; height: 18px; }
  .an-match-head { padding: 14px 13px 13px; gap: 11px; }
  .an-team-stack>span { font-size: 13px; gap: 9px; }
  .an-team-stack .logo-wrap { width: 23px; height: 23px; }
  .an-live-score { font-size: 15px; gap: 13px; }
  .an-start-time { font-size: 12px; }
  .analysis-card .analysis-body { margin: 0 12px 13px; padding: 12px; border-radius: 5px; }
  .analysis-card .mini-caption { font-size: 7px; }
  .analysis-card .analysis-pick>div>strong { font-size: 14px; letter-spacing: -.2px; }
  .analysis-card .analysis-body p { font-size: 10px; line-height: 1.7; -webkit-line-clamp: 2; }
  .risk { font-size: 8px; }
  .an-outcomes { padding: 0 14px 13px; }
  .outcome-labels { font-size: 9px; margin-top: 8px; }
  .an-evidence { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 13px; padding: 0 13px 13px; font-size: 8px; }
  .an-evidence strong { font-size: 9px; }
  .card-reasoning { margin: 0 13px 12px; padding-top: 10px; }
  .card-reasoning summary { font-size: 10px; }
  .analysis-card .analysis-footer { padding: 0 13px 13px; flex-wrap: nowrap; }
  .signal-inline { font-size: 8px; gap: 5px; }
  .signal-inline strong { font-size: 9px; }
  .signal-inline>i { width: 25px; }
  .analysis-card .analysis-footer .small-link { font-size: 10px; }
  .bottom-nav { background: #fff; border-top: 1px solid #dce4ec; padding: 9px 4px calc(9px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px #1b334609; }
  .bottom-nav a { font-size: 9px; gap: 5px; color: #9aa7b4; }
  .bottom-nav a.active { color: #345e80; }
  .bottom-nav a.active .icon { fill: #355d8010; }
  .bottom-nav .icon { width: 21px; height: 21px; }
  .panel-head { padding: 14px; }
  .panel-head h2 { font-size: 12px; }
  .league-header { padding: 12px; }
  .league-title { font-size: 11px; }
  .match-row { padding: 11px 8px; min-height: 77px; }
  .row-team { font-size: 12px; }
  .row-scores { font-size: 14px; }
  .row-meta { width: 43px; }
  .entity-header { padding: 20px 15px; }
  .entity-header h1 { font-size: 23px; }
  .detail-hero { padding: 15px 14px 23px; }
  .score-team { font-size: 12px; }
  .score-team .logo-wrap { width: 55px; height: 55px; }
  .score-center strong { font-size: 35px; }
  .verdict-title h2 { font-size: 19px; }
  .verdict-confidence>strong { font-size: 27px; }
  .verdict-body>p { font-size: 11px; }
  .reason-item h3 { font-size: 11px; }
  .reason-item p,.risk-factor>p { font-size: 10px; }
  .prob-card strong { font-size: 21px; }
  .league-list-row h3 { font-size: 12px; }
}
@media(max-width:365px) {
  .page-title h1 { font-size: 23px; }
  .page-title>.icon-btn { font-size: 8px; }
  .spotlight-team>span:not(.logo-wrap) { font-size: 10px; }
  .spotlight-match { gap: 11px; }
  .spotlight-signal { width: 60px; padding-left: 10px; }
  .spotlight-signal>strong { font-size: 26px; }
  .spotlight-analysis h2 { font-size: 16px; }
  .spotlight-footer { gap: 17px; }
  .spotlight-cta { padding: 8px; font-size: 8px; }
  .spotlight-stat strong { font-size: 10px; }
  .risk-overview { padding: 9px 8px; }
  .risk-overview>span { font-size: 8px; }
  .risk-overview>strong { font-size: 20px; }
  .risk-overview>em { font-size: 6px; }
  .radar-kicker { font-size: 7px; }
  .radar-value strong { font-size: 21px; }
  .radar-match>span:last-child { font-size: 6px; }
  .analysis-scope { gap: 18px; }
  .analysis-search-row .search-field { flex-basis: 100%; }
  .analysis-search-row .control { flex: 1; }
  .analysis-search-row .settings-select { flex: 1; max-width: none; }
}
@media(prefers-reduced-motion:reduce) { button,a,select { transition: none; } }
@media(max-width:1100px) and (min-width:761px) {
  .ribbon-game { min-width: 280px; }
}
/* Mobile readability and intrinsic sizing: content wraps instead of pushing the viewport. */
:root {
  --ink: #243b50;
  --copy: #4e647a;
  --meta: #5d7287;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.app-layout, .main, .panel, .analysis-list, .analysis-card,
.page-title>div, .an-team-stack, .analysis-pick>div,
.entity-header>div, .profile-cover>div { min-width: 0; }
.main { max-width: 100%; }
.panel-head { gap: 10px; }
.panel-head h2 { min-width: 0; line-height: 1.4; }
.panel-head .sub { flex-shrink: 0; }
.analysis-pulse { flex-wrap: wrap; row-gap: 7px; line-height: 1.5; }
.analysis-pulse>span:not(.pulse-dot) { white-space: nowrap; }
.analysis-pulse>a { white-space: nowrap; }
.spotlight-caption { flex-wrap: wrap; row-gap: 6px; }
.spotlight-team>span:not(.logo-wrap), .score-team,
.entity-header h1, .verdict-title h2 { overflow-wrap: anywhere; }
.an-team-stack>span { min-width: 0; line-height: 1.35; }
.an-team-stack .logo-wrap, .analysis-form-row .logo-wrap,
.league-quick .logo-wrap, .ribbon-club .logo-wrap { flex-shrink: 0; }
.entity-header>.star-btn { flex-shrink: 0; }
.league-quick.active .logo-wrap { background: #fff; padding: 1px; border-radius: 2px; }
.risk.low { color: #345f47; background: #e9f1ec; }
.risk.medium { color: #795b28; background: #f3eee4; }
.risk.high { color: #91444e; background: #f6ebec; }
.analysis-body p, .card-reasoning p, .card-reasoning p strong,
.reason-item p, .risk-factor>p, .risk-report-intro p,
.help-copy p, .analysis-intro, .muted-note, .analysis-notes,
.settings-row small, .profile-cover p, .info-row span { color: var(--copy); }
.mini-caption, .an-evidence, .an-evidence strong, .outcome-labels,
.outcome-labels strong, .signal-inline, .signal-inline strong,
.card-reasoning summary, .form-footnote, .chart-caption,
.verdict-meta, .verdict-meta button, .verdict-confidence>span,
.verdict-confidence small, .prob-card>span, .scenario-row p,
.score-scenario span, .analysis-form-row>strong>small,
.settings-select, .country-heading, .league-list-row p,
.player-row p, .full-table th, .table-legend, .breadcrumbs,
.radar-match>span:last-child { color: var(--meta); }
.small-link { color: #345e85; }
.control, .search-field input, .settings-row label { color: #425e76; }
.search-field input::placeholder { color: #667b90; opacity: 1; }
.risk-overview>em { color: #60758a; }
.radar-value>span { color: #60758a; }
.bottom-nav a { color: #607589; }
.detail-hero .detail-top, .detail-hero .match-info,
.detail-hero .detail-time { color: #b9cbd9; }
.premium-spotlight .spotlight-team small,
.premium-spotlight .spotlight-signal>span,
.premium-spotlight .spotlight-stat small { color: #b5c7d5; }
.verdict-title h2, .risk-report-intro h2 { line-height: 1.35; }
.settings-row label { min-width: 0; }
.settings-select { min-width: 0; }

@media(max-width:760px) {
  .app-layout { padding: 18px 12px calc(96px + env(safe-area-inset-bottom)); }
  .page-title { align-items: flex-start; gap: 8px; }
  .page-title h1 { font-size: 24px; line-height: 1.2; letter-spacing: -.7px; }
  .page-kicker { font-size: 9px; line-height: 1.4; letter-spacing: .8px; }
  .page-title .subtitle { font-size: 12px; line-height: 1.5; }
  .page-title>.icon-btn { font-size: 11px; min-height: 40px; flex-shrink: 0; gap: 4px; }
  .analysis-pulse { font-size: 10px; column-gap: 7px; margin: 0 1px 14px; }
  .analysis-pulse>a { font-size: 10px; }
  .analysis-pulse .icon { width: 12px; height: 12px; }
  .ribbon-label strong, .ribbon-label small { font-size: 9px; }
  .ribbon-minute { font-size: 10px; }
  .ribbon-game { min-width: 153px; }
  .ribbon-score { font-size: 16px; }
  .league-quick-select { margin-right: 0; padding: 0 0 2px; gap: 7px; }
  .league-quick { font-size: 11px; min-height: 40px; padding: 8px 11px; }
  .premium-spotlight { padding: 15px 14px 0; }
  .premium-spotlight .feature-kicker { font-size: 9px; letter-spacing: .8px; }
  .spotlight-league { font-size: 10px; gap: 5px; }
  .spotlight-match { padding: 20px 0 18px; gap: 12px; }
  .spotlight-team { min-width: 0; }
  .spotlight-team>span:not(.logo-wrap) { font-size: 13px; line-height: 1.35; }
  .spotlight-team small { font-size: 9px; letter-spacing: .6px; }
  .spotlight-team .logo-wrap { width: 41px; height: 41px; }
  .spotlight-versus { min-width: 58px; flex: none; }
  .spotlight-versus strong { font-size: 26px; }
  .spotlight-versus>span { font-size: 8px; letter-spacing: .6px; }
  .spotlight-analysis { align-items: flex-start; gap: 12px; }
  .spotlight-caption { gap: 6px; }
  .spotlight-caption>span:first-child { font-size: 9px; letter-spacing: .55px; }
  .premium-spotlight .risk { font-size: 9px; padding: 4px 5px; }
  .spotlight-analysis h2 { font-size: 19px; line-height: 1.35; }
  .spotlight-analysis p { font-size: 12px; line-height: 1.65; -webkit-line-clamp: 3; color: #bfceda; }
  .spotlight-signal { width: 71px; flex: none; padding-left: 10px; margin-top: 4px; }
  .spotlight-signal>strong { font-size: 28px; }
  .spotlight-signal>strong small { font-size: 10px; }
  .spotlight-signal>span { font-size: 10px; line-height: 1.5; }
  .spotlight-footer { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 14px; row-gap: 14px; padding: 14px 0; }
  .spotlight-stat { min-width: 0; }
  .spotlight-stat small { font-size: 10px; }
  .spotlight-stat strong { font-size: 14px; }
  .spotlight-stat strong span { font-size: 11px; }
  .spotlight-cta { grid-column: 1 / -1; width: 100%; min-height: 42px; margin: 0; padding: 11px 12px; font-size: 12px; }
  .spotlight-cta .icon { width: 16px; height: 16px; }

  .analysis-risk-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 7px; }
  .risk-overview { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto 1fr; padding: 11px 9px; gap: 8px; min-width: 0; text-align: left; }
  .risk-overview>span { font-size: 11px; line-height: 1.3; gap: 4px; }
  .risk-overview>strong { display: block; grid-column: 1; grid-row: 2; font-size: 25px; line-height: 1.15; }
  .risk-overview>strong>small { display: inline; margin-left: 4px; font-size: 10px; }
  .risk-overview>em { font-size: 10px; line-height: 1.45; min-height: 2.9em; overflow-wrap: anywhere; }
  .daily-radar { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding: 2px 0 8px; margin: 0 0 18px; scroll-snap-type: x proximity; }
  .radar-insight { flex: 0 0 172px; min-width: 0; padding: 12px; scroll-snap-align: start; }
  .radar-kicker { font-size: 11px; gap: 6px; }
  .radar-kicker>.icon { width: 14px; height: 14px; }
  .radar-value { margin: 10px 0; }
  .radar-value strong { font-size: 26px; }
  .radar-value>span { font-size: 11px; line-height: 1.4; }
  .radar-match { align-items: center; gap: 4px; }
  .radar-match .logo-wrap { width: 17px; height: 17px; }
  .radar-match>span:last-child { font-size: 10px; line-height: 1.4; margin-top: 4px; }
  .analysis-feed-header { align-items: center; flex-wrap: wrap; gap: 10px; }
  .analysis-feed-header h2 { font-size: 18px; }
  .feed-date { min-width: 0; gap: 7px; }
  .feed-date>span { font-size: 11px; }
  .feed-date select { font-size: 16px; padding: 7px 6px; max-width: 108px; }
  .analysis-scope { gap: 0; justify-content: space-between; }
  .analysis-scope button { font-size: 12px; min-height: 44px; padding: 10px 3px 13px; gap: 4px; }
  .analysis-search-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; padding: 8px; }
  .analysis-search-row .search-field { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 42px; padding: 9px 10px; }
  .analysis-search-row .search-field input { font-size: 16px; line-height: 1.4; }
  .analysis-search-row .control { width: 100%; min-width: 0; min-height: 40px; justify-content: center; padding: 8px 6px; font-size: 12px; }
  .analysis-search-row .control .icon { width: 14px; height: 14px; }
  .analysis-search-row .settings-select { width: 100%; max-width: none; min-width: 0; height: 40px; font-size: 16px; padding: 6px 5px; }
  .market-chips { margin-right: 0; padding-right: 0; gap: 7px; }
  .market-chips button { font-size: 11px; min-height: 36px; padding: 8px 10px; }

  .analysis-card-head { gap: 8px; font-size: 10px; line-height: 1.4; }
  .analysis-card-head .league-inline { min-width: 0; font-size: 11px; }
  .analysis-card-head>span { flex-shrink: 0; font-size: 10px; }
  .an-team-stack>span { font-size: 14px; line-height: 1.45; }
  .an-live-score { font-size: 16px; gap: 15px; }
  .analysis-card .analysis-pick { align-items: flex-start; }
  .analysis-card .analysis-pick>div>strong { font-size: 15px; line-height: 1.4; }
  .analysis-card .mini-caption { font-size: 10px; line-height: 1.4; }
  .analysis-card .analysis-body p { font-size: 13px; line-height: 1.65; color: #4e647a; -webkit-line-clamp: 3; }
  .risk { font-size: 10px; line-height: 1.4; padding: 4px 6px; }
  .outcome-labels { font-size: 11px; line-height: 1.4; }
  .outcome-labels strong { font-size: 11px; }
  .an-evidence { font-size: 11px; line-height: 1.5; gap: 8px 14px; }
  .an-evidence strong { font-size: 11px; }
  .an-evidence .icon { width: 13px; height: 13px; }
  .card-reasoning summary { min-height: 36px; font-size: 12px; }
  .card-reasoning p, .card-reasoning p strong, .card-risk-note { font-size: 12px; line-height: 1.65; }
  .analysis-card .analysis-footer { gap: 8px; flex-wrap: wrap; row-gap: 10px; }
  .signal-inline { font-size: 10px; flex-wrap: wrap; gap: 5px; line-height: 1.5; }
  .signal-inline strong { font-size: 11px; }
  .signal-inline>i { width: 22px; }
  .analysis-card .analysis-footer .small-link { margin-left: auto; min-height: 34px; font-size: 11px; }
  .analysis-card .analysis-footer .icon { width: 13px; height: 13px; }

  .panel-head { align-items: center; flex-wrap: wrap; row-gap: 6px; }
  .panel-head h2 { font-size: 14px; }
  .panel-head .sub { font-size: 11px; line-height: 1.5; }
  .panel-head .small-link { font-size: 11px; }
  .filter-toolbar { gap: 8px; flex-wrap: wrap; }
  .segment { font-size: 12px; padding: 10px; min-height: 40px; }
  .control { font-size: 12px; min-height: 40px; }
  .date-day { font-size: 10px; }
  .date-day strong { font-size: 16px; }
  .league-title { font-size: 12px; }
  .league-country, .match-status { font-size: 11px; }
  .match-status { width: 36px; }
  .row-team { font-size: 13px; }
  .row-scores { font-size: 16px; }
  .row-meta { width: 56px; }
  .row-meta .risk { font-size: 9px; padding: 4px; }
  .row-meta .analysis-link { font-size: 8px; }
  .match-row { column-gap: 7px; }
  .row-teams { min-width: 0; }
  .scoreboard { display: grid; grid-template-columns: minmax(0,1fr) 86px minmax(0,1fr); gap: 8px; align-items: start; }
  .score-team { width: auto; min-width: 0; font-size: 13px; line-height: 1.5; }
  .score-center { min-width: 0; align-self: center; }
  .score-center strong { font-size: 33px; letter-spacing: 2px; }
  .score-team .logo-wrap { width: 49px; height: 49px; }
  .score-center .detail-time, .live-tag, .detail-top { font-size: 11px; }
  .detail-top { align-items: flex-start; gap: 8px; }
  .detail-top>a { min-width: 0; line-height: 1.5; }
  .detail-top .star-btn { flex-shrink: 0; }
  .match-info { font-size: 10px; line-height: 1.7; }
  .tab { font-size: 12px; padding: 14px 10px; min-height: 44px; }
  .analysis-detail-nav { gap: 5px; }
  .analysis-detail-nav button { flex: none; font-size: 12px; padding: 10px 12px; min-height: 40px; }
  .verdict-title { align-items: flex-start; gap: 12px; }
  .verdict-title>div:first-child { min-width: 0; }
  .verdict-title h2 { font-size: 20px; line-height: 1.4; }
  .verdict-body>p, .reason-item p, .risk-factor>p, .risk-report-intro p { font-size: 13px; line-height: 1.75; }
  .verdict-body .mini-caption { font-size: 10px; }
  .verdict-confidence>span { font-size: 10px; }
  .verdict-meta { flex-wrap: wrap; row-gap: 10px; font-size: 11px; }
  .verdict-meta button { font-size: 11px; min-height: 32px; }
  .prob-card>span { font-size: 11px; }
  .prob-card strong { font-size: 22px; }
  .reason-item h3, .risk-factor h3, .analysis-notes h3 { font-size: 13px; }
  .chart-caption, .form-footnote, .analysis-risk-preview p { font-size: 11px; line-height: 1.65; }
  .momentum-legend, .chart-range button { font-size: 11px; }
  .chart-range button { min-width: 32px; min-height: 32px; }
  .analysis-form-row { flex-wrap: wrap; gap: 12px; }
  .analysis-form-row>a { flex: 1 1 100%; font-size: 13px; }
  .analysis-form-row .form { flex: 1; }
  .analysis-form-row>strong { font-size: 16px; }
  .analysis-form-row>strong>small { font-size: 10px; }
  .form i, .analysis-form-row .form i { width: 21px; height: 21px; font-size: 10px; }
  .scenario-row h3 { font-size: 14px; line-height: 1.5; }
  .scenario-row .mini-caption, .scenario-row p { font-size: 11px; line-height: 1.5; }
  .scenario-row>div:first-child { min-width: 0; }
  .scenario-prob { min-width: 62px; flex-shrink: 0; }
  .score-scenario span { font-size: 11px; }
  .score-scenario strong { font-size: 19px; }
  .stat-line-top { font-size: 13px; }
  .stat-line-top span { font-size: 12px; }
  .full-table { font-size: 12px; }
  .full-table th { font-size: 10px; }
  .full-table td { padding: 12px 6px; }
  .full-table .table-team { min-width: 123px; }
  .table-scroll { overflow-x: auto; }
  .table-legend { font-size: 10px; line-height: 1.6; }
  .entity-header { gap: 12px; padding: 18px 14px; }
  .entity-header h1 { font-size: 22px; line-height: 1.3; }
  .entity-header p { font-size: 12px; line-height: 1.6; }
  .team-summary span, .team-follow-card p { font-size: 11px; }
  .league-list-row h3, .team-follow-card h3, .player-row h3 { font-size: 13px; line-height: 1.4; }
  .league-list-row p, .player-row p { font-size: 11px; line-height: 1.5; }
  .team-card-list { grid-template-columns: minmax(0,1fr); }
  .team-follow-card>a { min-width: 0; }
  .team-follow-card>button { flex-shrink: 0; }
  .settings-row { gap: 14px; align-items: flex-start; }
  .settings-row label { font-size: 13px; line-height: 1.5; }
  .settings-row small { font-size: 12px; line-height: 1.6; }
  .settings-select { font-size: 16px; max-width: 48%; min-height: 40px; }
  .switch { margin-top: 2px; }
  .profile-cover h1 { font-size: 20px; }
  .profile-cover p, .info-row, .analysis-intro, .muted-note { font-size: 12px; line-height: 1.7; }
  .info-row { gap: 12px; }
  .info-row>strong { min-width: 0; text-align: right; overflow-wrap: anywhere; }
  .info-row .form { flex-shrink: 0; }
  .breadcrumbs { font-size: 11px; flex-wrap: wrap; row-gap: 6px; line-height: 1.5; }
  .analysis-detail-link { font-size: 12px; line-height: 1.5; gap: 10px; }
  .analysis-detail-link>span { min-width: 0; }
  .search-field input, .dialog .search-field input { font-size: 16px; }
  .dialog-choice { min-height: 46px; font-size: 14px; line-height: 1.5; gap: 10px; }
  .dialog-choice img, .dialog-choice .logo-wrap { flex-shrink: 0; }
  .dialog-hint, .help-copy p { font-size: 13px; line-height: 1.75; }
  .help-copy h3 { font-size: 14px; }
  .bottom-nav { padding-bottom: calc(9px + env(safe-area-inset-bottom)); }
  .bottom-nav a { flex: 1; min-width: 0; font-size: 11px; line-height: 1.3; color: #607589; }
  .bottom-nav a.active { color: #244e73; }
}
@media(max-width:365px) {
  .page-title { flex-wrap: wrap; }
  .page-title>.icon-btn { padding-left: 0; min-height: 32px; margin-top: -4px; }
  .analysis-pulse>a { margin-left: 0; }
  .spotlight-analysis { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
  .spotlight-signal { width: 100%; display: flex; align-items: center; gap: 9px; padding: 0; border: 0; margin: 0; }
  .spotlight-signal>strong { font-size: 26px; }
  .spotlight-signal>span { margin-top: 0; }
  .spotlight-signal>i { flex: 1; width: auto; margin-top: 0; }
  .spotlight-analysis h2 { font-size: 19px; }
  .spotlight-caption>span:first-child { font-size: 9px; }
  .risk-overview { padding: 11px 8px; }
  .risk-overview>span { font-size: 10px; }
  .analysis-card-head { flex-wrap: wrap; }
  .analysis-scope button { font-size: 11px; }
  .analysis-card .analysis-footer .small-link { margin-left: 0; }
  .row-meta { display: none; }
  .scoreboard { grid-template-columns: minmax(0,1fr) 76px minmax(0,1fr); gap: 6px; }
  .score-center strong { font-size: 29px; }
}
/* Supporting text follows the same contrast rules on the other app pages. */
.date-day { color: #5e7185; }
.date-day strong { color: #3b536c; }
.date-day.active { color: #d2deea; }
.date-day.active strong { color: #fff; }
.team-summary span, .team-follow-card p, .entity-header p,
.profile-cover p, .league-country, .match-status,
.momentum-legend, .reason-number, .timeline-event .time,
.timeline-label, .event-content small, .empty-state p { color: #5d7287; }
.full-table td, .full-table .table-team,
.analysis-form-row>a, .stat-line-top strong { color: #4b637b; }
.prob-card strong, .scenario-prob>strong, .score-scenario strong,
.verdict-confidence>strong, .analysis-form-row>strong { color: #42627f; }
.match-status.live { color: #277050; }
.timeline-event, .analysis-detail-link { color: #4e647a; }
@media(max-width:760px) {
  .timeline-event { font-size: 12px; line-height: 1.5; }
  .timeline-event .time, .timeline-label { font-size: 11px; }
  .event-content small { font-size: 10px; }
  .event-content { min-width: 0; gap: 5px; }
  .event-content>div { min-width: 0; overflow-wrap: anywhere; }
  .timeline-event { grid-template-columns: minmax(0,1fr) 35px minmax(0,1fr); gap: 7px; }
}
/* League directory: country headings and direct, full-width rows. */
.league-directory-entry {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; background: #fff; border: 1px solid #dce4eb;
  border-radius: 8px; margin-bottom: 16px;
}
.directory-entry-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; background: #edf2f7; border-radius: 6px; color: #5b7892; }
.directory-entry-icon .icon { width: 19px; height: 19px; }
.league-directory-entry>span:nth-child(2) { flex: 1; min-width: 0; }
.league-directory-entry strong { display: block; font-size: 12px; color: #34546e; margin-bottom: 4px; }
.league-directory-entry small { font-size: 10px; color: #61778b; }
.directory-entry-end { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #607c94; flex: none; }
.directory-entry-end .icon { width: 14px; height: 14px; }
.league-directory-search { margin-bottom: 12px; }
.directory-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; }
.directory-toolbar>.segmented { gap: 5px; }
.directory-toolbar .segment { display: flex; align-items: center; gap: 5px; font-size: 11px; }
.directory-toolbar .segment .icon { width: 13px; height: 13px; }
.directory-toolbar>span { font-size: 10px; color: #657b8e; white-space: nowrap; }
.league-country-list { border: 1px solid #dde4eb; border-radius: 10px; overflow: hidden; background: #fff; }
.league-country-bar { display: flex; align-items: center; gap: 9px; padding: 10px 14px; background: #f2f5f8; border-bottom: 1px solid #e2e8ef; }
.league-country-bar h2 { font-size: 11px; font-weight: 650; letter-spacing: .1px; color: #4d667c; }
.league-country-bar>span:last-child { margin-left: auto; font-size: 9px; color: #6e8295; }
.country-code { display: grid; place-items: center; min-width: 25px; height: 20px; padding: 0 4px; background: #e4ebf2; border: 1px solid #d7e0e9; border-radius: 3px; font-size: 9px; font-weight: 700; color: #5e7890; letter-spacing: .3px; }
.league-country-panel { border: 0; box-shadow: none; border-radius: 0; margin: 0; }
.league-directory-row { padding: 0; gap: 0; border-bottom: 1px solid #e9eef3; }
.league-directory-row>a { gap: 12px; min-width: 0; padding: 16px 14px; }
.league-directory-row>a>div { flex: 1; min-width: 0; }
.league-directory-row h3 { font-size: 13px; color: #3b5973; line-height: 1.45; margin-bottom: 4px; }
.league-directory-row p { font-size: 10px; color: #627a90; line-height: 1.5; }
.league-directory-row .league-logo { width: 32px; height: 35px; }
.league-directory-status { flex: none; font-size: 9px; color: #6c8195; }
.directory-live { color: #347156; background: #e9f3ed; padding: 4px 6px; border-radius: 3px; white-space: nowrap; }
.league-directory-row .star-btn { min-height: 56px; width: 36px; flex: none; padding: 8px; margin-right: 7px; }
.league-directory-row .chevron { flex: none; width: 13px; margin: 0; }
.league-directory-row:hover { background: #f9fbfd; }
.league-country-group:last-child .league-directory-row { border-bottom: 0; }
.league-country-label, .club-header-league { display: block; font-size: 10px; color: #60798e; margin-bottom: 6px; }
.league-page-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #e5ebf1; background: #fafcfd; }
.league-page-links>a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 10px; font-size: 11px; color: #5c7a95; min-width: 0; }
.league-page-links>a:first-child { border-right: 1px solid #e5ebf1; }
.league-page-links .icon { width: 14px; height: 14px; }
.league-club-row { display: flex; gap: 6px; padding: 0 9px 0 16px; border-bottom: 1px solid #e9eef3; align-items: center; }
.league-club-row:last-child { border: 0; }
.league-club-row>a { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 15px 0; }
.league-club-row .logo-wrap { width: 31px; height: 34px; }
.league-club-row a>div { min-width: 0; flex: 1; }
.league-club-row h3 { font-size: 12px; color: #3d5b75; margin-bottom: 5px; }
.league-club-row p { font-size: 10px; color: #60788d; }
.league-club-row p span { color: #8ba0b3; margin: 0 3px; }
.league-club-row>a>.icon { width: 14px; height: 14px; color: #7e95aa; }

/* Club identity is independent from the score and model data. */
.club-profile-header .entity-header { padding: 23px 19px; }
.club-profile-header .entity-header>.logo-wrap { width: 62px; height: 62px; }
.club-profile-header .entity-header h1 { font-size: 25px; }
.club-about-copy { padding: 18px; }
.club-about-copy p { font-size: 12px; line-height: 1.85; color: #4f677d; }
.club-identity-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; border-top: 1px solid #e8edf3; background: #fafcfd; }
.club-identity-facts>div { display: flex; gap: 10px; padding: 16px 18px; min-width: 0; align-items: flex-start; }
.club-identity-facts>div:first-child { border-right: 1px solid #e8edf3; }
.club-identity-facts .icon { width: 16px; height: 16px; color: #7893aa; flex: none; margin-top: 2px; }
.club-identity-facts span { min-width: 0; font-size: 10px; color: #667e93; line-height: 1.5; }
.club-identity-facts strong { display: block; color: #43627d; font-size: 13px; line-height: 1.5; margin-top: 4px; font-weight: 600; overflow-wrap: anywhere; }
.club-facts { padding: 0; margin: 0; }
.club-facts>div { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 15px; padding: 14px 18px; border-bottom: 1px solid #e9eef3; }
.club-facts>div:last-child { border: 0; }
.club-facts dt { font-size: 11px; line-height: 1.65; color: #657d93; }
.club-facts dd { margin: 0; min-width: 0; font-size: 12px; line-height: 1.65; color: #3f5b74; overflow-wrap: anywhere; }
.club-facts dd a { color: #386185; }
.club-facts dd a .icon { display: inline-block; vertical-align: middle; width: 13px; height: 13px; margin-left: 5px; }
.club-source-list { border-top: 1px solid #e5ebf1; background: #fbfcfe; padding: 0 18px; }
.club-source-list summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; padding: 14px 0; font-size: 11px; color: #657f97; }
.club-source-list summary::-webkit-details-marker { display: none; }
.club-source-list summary .icon { width: 14px; height: 14px; }
.club-source-list summary .icon:last-child { margin-left: auto; }
.club-source-list[open] summary .icon:last-child { transform: rotate(180deg); }
.club-source-list>div { padding-bottom: 13px; }
.club-source-list a { display: grid; grid-template-columns: minmax(0,1fr) 18px; gap: 4px 8px; padding: 11px 0; border-top: 1px solid #e6edf3; }
.club-source-list a>span { font-size: 11px; color: #496d8d; grid-column: 1; }
.club-source-list a>small { font-size: 10px; color: #6c8398; grid-column: 1; overflow-wrap: anywhere; }
.club-source-list a>.icon { width: 14px; height: 14px; grid-column: 2; grid-row: 1 / 3; align-self: center; color: #7893ab; }
.club-source-list p { font-size: 9px; color: #6d8498; margin-top: 9px; line-height: 1.6; }
@media(max-width:760px) {
  .league-directory-entry { padding: 12px; gap: 10px; }
  .league-directory-entry strong { font-size: 13px; }
  .league-directory-entry small { font-size: 11px; }
  .directory-entry-end { font-size: 11px; gap: 4px; }
  .directory-entry-icon { width: 33px; height: 33px; }
  .directory-toolbar { gap: 8px; }
  .directory-toolbar .segment { font-size: 12px; padding: 10px; min-height: 42px; }
  .directory-toolbar>span { font-size: 11px; }
  .league-directory-search input { font-size: 16px; }
  .league-country-bar { padding: 11px 12px; gap: 8px; }
  .league-country-bar h2 { font-size: 13px; }
  .league-country-bar>span:last-child { font-size: 11px; }
  .country-code { font-size: 10px; min-width: 27px; height: 22px; }
  .league-directory-row>a { gap: 9px; padding: 14px 11px; }
  .league-directory-row h3 { font-size: 13px; line-height: 1.4; }
  .league-directory-row p { font-size: 10px; line-height: 1.5; }
  .league-directory-row .league-logo { width: 30px; height: 34px; }
  .league-directory-status { font-size: 10px; }
  .directory-live { padding: 4px 5px; }
  .league-directory-row .star-btn { width: 32px; padding: 8px 5px; margin-right: 4px; }
  .league-directory-row .chevron { width: 12px; }
  .league-country-label, .club-header-league { font-size: 11px; }
  .league-page-links>a { font-size: 12px; min-height: 44px; gap: 6px; }
  .league-club-row { padding-left: 13px; }
  .league-club-row>a { padding: 15px 0; gap: 10px; }
  .league-club-row h3 { font-size: 14px; line-height: 1.4; }
  .league-club-row p { font-size: 12px; line-height: 1.5; }
  .club-profile-header .entity-header { padding: 20px 14px; gap: 12px; }
  .club-profile-header .entity-header>.logo-wrap { width: 52px; height: 52px; }
  .club-profile-header .entity-header h1 { font-size: 23px; line-height: 1.3; }
  .club-about-copy { padding: 16px 14px; }
  .club-about-copy p { font-size: 14px; line-height: 1.8; }
  .club-identity-facts>div { padding: 14px 12px; gap: 8px; }
  .club-identity-facts span { font-size: 11px; }
  .club-identity-facts strong { font-size: 14px; }
  .club-identity-facts .icon { width: 15px; height: 15px; }
  .club-facts>div { grid-template-columns: 86px minmax(0,1fr); padding: 14px; gap: 12px; }
  .club-facts dt { font-size: 12px; }
  .club-facts dd { font-size: 13px; }
  .club-source-list { padding: 0 14px; }
  .club-source-list summary { font-size: 12px; min-height: 44px; }
  .club-source-list a>span { font-size: 13px; }
  .club-source-list a>small { font-size: 11px; line-height: 1.5; }
  .club-source-list p { font-size: 10px; }
}
@media(max-width:365px) {
  .directory-entry-end { font-size: 0; }
  .directory-entry-end .icon { width: 16px; height: 16px; }
  .league-directory-row>a { gap: 8px; }
  .league-directory-status { display: none; }
  .club-profile-header .entity-header h1 { font-size: 21px; }
}
