/* Shared navigation remains compact on desktop and wraps as one row on phones. */
.match-entry-link { display: inline-block; margin-top: 16px; color: #83dff4; font-size: 14px; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .site-header .header-inner { flex-wrap: wrap; gap: 14px 20px; padding-top: 14px; padding-bottom: 14px; }
  .site-header .nav { order: 2; flex: 0 0 100%; min-height: 34px; height: 34px; gap: 28px; }
  .site-header .header-search { order: 3; margin-top: 4px; flex: 0 0 100%; }
  .home-view .header-inner { gap: 14px 20px; }
}
.analysis-view { --panel: #0e192a; --accent: #67dfee; --blue: #7da4ff; --violet: #b0a2fa; }
.analysis-view .header-inner { max-width: 1500px; padding: 0 32px; min-height: 74px; gap: 52px; }
.analysis-mode { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; color: #acd0df; font-size: 14px; white-space: nowrap; }
.analysis-mode::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 13px #67dfee55; }
.analysis-shell { max-width: 1500px; margin: 0 auto; padding: 36px 32px 60px; }
.analysis-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.analysis-intro h1 { margin: 0; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.45; letter-spacing: -.8px; font-weight: 700; }
.analysis-intro p { color: #a6b8d0; margin: 8px 0 0; font-size: 16px; }
.analysis-refresh { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.analysis-refresh span { font-size: 14px; color: #91a8c4; }
.analysis-error { padding: 16px 20px; margin-bottom: 20px; background: #38271d; border: 1px solid #8b6743; border-radius: 10px; color: #f5d4ac; }
.analysis-error button { margin-left: 16px; background: transparent; border: 0; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.match-workspace { display: grid; grid-template-columns: 282px minmax(0, 1fr); align-items: start; gap: 22px; }
.fixture-browser { background: #0b1424; border: 1px solid #253550; border-radius: 14px; padding: 20px 16px 12px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title h2 { margin: 0; font-size: 18px; font-weight: 650; }
.analysis-view .muted { color: #9db1cc; font-size: 14px; }
.fixture-search { display: block; margin-top: 18px; }
.fixture-search input, .fixture-status-label select, .window-control select { width: 100%; min-width: 0; background: #101e31; border: 1px solid #344967; border-radius: 7px; padding: 9px 11px; color: #dce8f8; font-size: 14px; }
.fixture-search input::placeholder { color: #94a9c5; }
.fixture-status-label { display: flex; align-items: center; gap: 14px; margin: 12px 0 18px; font-size: 14px; color: #a9bdd5; white-space: nowrap; }
.fixture-status-label select { width: auto; flex: 1; padding: 7px 9px; }
.fixture-list { display: grid; align-content: start; gap: 9px; max-height: 780px; overflow-y: auto; scrollbar-color: #3b5472 #0b1424; scrollbar-width: thin; padding: 3px; margin: -3px; }
.fixture-card { text-align: left; width: 100%; background: #101b2c; border: 1px solid #25374f; color: inherit; border-radius: 9px; padding: 14px; }
.fixture-card:hover { background: #142239; border-color: #4c6c91; }
.fixture-card[aria-pressed="true"] { border-color: #57bdcf; background: #102a3b; box-shadow: inset 3px 0 #67dfee; }
.fixture-meta { display: flex; justify-content: space-between; gap: 12px; color: #a9bbd4; font-size: 14px; line-height: 1.5; }
.fixture-meta .fixture-league { overflow-wrap: anywhere; }
.fixture-state { color: #b5c6dc; flex-shrink: 0; }
.fixture-state.finished { color: #91e0c4; }
.fixture-state.void { color: #d8c398; }
.fixture-teams { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 16px; margin: 12px 0; font-size: 16px; line-height: 1.55; }
.fixture-teams span { overflow-wrap: anywhere; }
.fixture-teams b { font-weight: 600; font-variant-numeric: tabular-nums; }
.fixture-time { display: block; color: #92aac8; font-size: 14px; }
.fixture-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; color: #a9bed8; font-size: 14px; }
.match-detail { min-width: 0; }
.match-scoreboard { position: relative; overflow: hidden; background: #101e32; border: 1px solid #304766; border-radius: 14px; padding: 22px 28px 20px; margin-bottom: 18px; }
.match-scoreboard::after { content: ""; position: absolute; pointer-events: none; width: 260px; height: 260px; border: 1px solid #3c6a8726; border-radius: 50%; top: calc(50% - 130px); left: calc(50% - 130px); }
.scoreboard-meta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #b1c5de; }
.scoreboard-meta > div { display: flex; flex-wrap: wrap; gap: 5px 16px; }
.scoreboard-teams { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; gap: 25px; align-items: center; margin: 18px 0 14px; }
.team-name { font-size: clamp(20px, 2vw, 27px); font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.team-name small { display: block; font-size: 14px; font-weight: 400; color: #98b0ce; margin-top: 5px; }
.team-name.away { text-align: right; }
.score-display { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: #e6f4ff; }
.score-display.unplayed { color: #7899bd; font-size: 20px; font-weight: 500; }
.match-totals { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #a8bed8; border-top: 1px solid #2b405a; padding-top: 12px; }
.match-totals strong { color: #d6edf9; font-weight: 650; }
.match-panels { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 18px; align-items: stretch; }
.analysis-panel { min-width: 0; border: 1px solid #273b55; border-radius: 12px; padding: 22px; background: var(--panel); }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-title h2 { margin: 0; font-size: 19px; font-weight: 650; }
.method-label { color: #a0c5d5; border: 1px solid #315269; border-radius: 5px; padding: 2px 7px; font-size: 14px; line-height: 1.6; }
.metric-subtitle { margin: 0 0 10px; font-size: 16px; font-weight: 550; }
.wdl-distribution { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 0 0 24px; }
.wdl-item { background: #111f34; border: 1px solid #2a415f; border-radius: 8px; padding: 12px 10px 10px; }
.wdl-item[data-market="H"] { --chart-color: var(--accent); }
.wdl-item[data-market="D"] { --chart-color: var(--blue); }
.wdl-item[data-market="A"] { --chart-color: var(--violet); }
.wdl-label { display: block; font-size: 14px; color: #afc1d9; }
.wdl-count { margin: 3px 0 10px; font-size: 29px; line-height: 1.3; color: var(--chart-color); font-weight: 650; font-variant-numeric: tabular-nums; }
.wdl-count small { font-size: 14px; font-weight: 400; color: #9db2cc; margin-left: 4px; }
.distribution-track { height: 4px; background: #253650; border-radius: 3px; overflow: hidden; }
.distribution-track span { display: block; height: 100%; width: var(--fill); background: var(--chart-color); border-radius: inherit; }
.goals-distribution { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 8px; padding-top: 4px; }
.goal-column { min-width: 0; text-align: center; font-size: 14px; color: #bdd2e9; }
.goal-count { display: block; margin-bottom: 6px; color: #89e0ef; font-variant-numeric: tabular-nums; }
.goal-track { display: flex; align-items: flex-end; height: 68px; background: #15243a; border-radius: 4px 4px 0 0; overflow: hidden; }
.goal-track span { width: 100%; height: var(--fill); min-height: 0; background: #53bdcf; border-top: 2px solid #9be7f2; }
.goal-track span[data-zero="true"] { border: 0; }
.goal-label { display: block; margin-top: 7px; white-space: nowrap; }
.distribution-note { color: #a1b5cf; font-size: 14px; line-height: 1.8; margin: 17px 0 0; padding-top: 13px; border-top: 1px solid #273b55; }
.summary-headline { margin: 0 0 17px; color: #dceafb; font-size: 17px; font-weight: 550; line-height: 1.7; overflow-wrap: anywhere; }
.summary-block + .summary-block { margin-top: 17px; }
.summary-block h3 { font-size: 14px; color: #82d7e7; font-weight: 600; margin: 0 0 5px; }
.summary-block.disagreement h3 { color: #c1b3fc; }
.summary-block ul { margin: 0; padding-left: 18px; color: #c3d1e4; font-size: 16px; line-height: 1.8; }
.summary-block li { margin: 3px 0; overflow-wrap: anywhere; }
.summary-block p { margin: 0; color: #b1c3d9; font-size: 16px; line-height: 1.8; }
.summary-notes { border-top: 1px solid #273b55; margin-top: 18px; padding-top: 13px; color: #a1b5cf; font-size: 14px; line-height: 1.8; }
.summary-notes p { margin: 0 0 5px; }
.source-section { margin-top: 20px; }
.source-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.source-heading h2 { margin: 0; font-size: 19px; font-weight: 650; }
.source-heading p { margin: 0; color: #9db3ce; font-size: 14px; }
.source-list { display: grid; gap: 10px; }
.opinion-source { background: #0e192a; border: 1px solid #273b55; border-radius: 10px; overflow: hidden; }
.opinion-source summary { cursor: pointer; padding: 15px 18px; list-style: none; display: grid; grid-template-columns: minmax(100px,.8fr) minmax(0,1.8fr) auto; align-items: center; gap: 12px; }
.opinion-source summary::-webkit-details-marker { display: none; }
.opinion-source summary::after { content: "+"; font-size: 22px; color: #99b6d3; width: 20px; text-align: center; }
.opinion-source[open] summary::after { content: "−"; }
.source-name { font-size: 16px; font-weight: 550; overflow-wrap: anywhere; }
.historical-tag { display: block; color: #d9bc8b; font-size: 14px; font-weight: 400; margin-top: 4px; }
.source-predictions { display: flex; flex-wrap: wrap; gap: 5px 12px; color: #acdcf0; font-size: 14px; }
.source-content { padding: 0 18px 20px; border-top: 1px solid #22364e; }
.source-content h3 { margin: 17px 0 12px; font-size: 16px; font-weight: 600; }
.source-evidence { padding: 12px 14px; margin: 12px 0; background: #13253b; border-left: 2px solid #67b8cc; }
.source-evidence p { margin: 4px 0; font-size: 14px; color: #bad0e6; overflow-wrap: anywhere; }
.source-original { margin: 14px 0 0; white-space: pre-wrap; color: #c2cfe2; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.source-content a { display: inline-block; margin-top: 14px; color: #8cd9ee; font-size: 14px; text-underline-offset: 4px; }
.analysis-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 425px; padding: 40px 28px; border: 1px solid #2a405a; border-radius: 14px; text-align: center; background: #0e192a; }
.empty-pitch { position: relative; width: 178px; height: 112px; border: 1px solid #52718c; border-radius: 4px; margin: 0 0 27px; color: #50718d; }
.empty-pitch::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid currentColor; }
.empty-pitch::after { content: ""; position: absolute; width: 45px; height: 45px; border: 1px solid currentColor; border-radius: 50%; top: calc(50% - 23px); left: calc(50% - 23px); }
.empty-pitch i::before, .empty-pitch i::after { content: ""; position: absolute; width: 25px; height: 55px; border: 1px solid currentColor; top: calc(50% - 28px); }
.empty-pitch i::before { left: -1px; }
.empty-pitch i::after { right: -1px; }
.analysis-empty h2 { font-size: 23px; margin: 0 0 12px; font-weight: 600; }
.analysis-empty p { margin: 0; color: #a6bad3; max-width: 33em; font-size: 16px; line-height: 1.9; }
.empty-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin: 24px 0 0; color: #b6dbe8; font-size: 14px; }
.quiet-empty { padding: 24px 10px; margin: 0; font-size: 16px; color: #a1b6cf; text-align: center; line-height: 1.9; }
.recent-section { margin-top: 34px; border-top: 1px solid #293c55; padding-top: 28px; }
.recent-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.recent-heading h2 { margin: 0; font-size: 24px; font-weight: 650; }
.recent-heading p { margin: 6px 0 0; font-size: 16px; color: #a3b7d1; }
.recent-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.window-control { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #bed0e6; }
.window-control select { width: auto; min-width: 112px; }
.historical-control { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #b2c4dc; cursor: pointer; }
.historical-control input { width: 17px; height: 17px; accent-color: #59d1e4; }
.metric-rules { margin: 16px 0 20px; color: #9bb0cb; font-size: 14px; line-height: 1.8; }
.overall-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 18px; }
.overall-metric { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; border: 1px solid #2b415f; border-radius: 10px; background: #0f1d30; padding: 18px 22px; }
.overall-metric h3 { margin: 0; font-size: 16px; font-weight: 550; color: #cbdced; }
.overall-rate { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #88dfed; font-size: 31px; line-height: 1.3; font-weight: 650; font-variant-numeric: tabular-nums; }
.overall-metric.goals .overall-rate { color: #b6b0ff; }
.overall-metric p { margin: 0; font-size: 14px; color: #9bb3cf; }
.overall-metric p strong { font-weight: 600; color: #d0dff1; }
.recent-table-wrap { overflow-x: auto; border: 1px solid #293e59; border-radius: 10px; }
.recent-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; min-width: 730px; }
.recent-table th { padding: 13px 18px; background: #13233a; color: #b5c8e0; font-weight: 500; white-space: nowrap; }
.recent-table td { padding: 15px 18px; border-top: 1px solid #263a54; background: #0c1728; vertical-align: top; }
.recent-table th:nth-child(1) { width: 19%; }
.recent-table th:nth-child(2), .recent-table th:nth-child(3) { width: 27%; }
.recent-table tbody th { background: #0c1728; border-top: 1px solid #263a54; font-size: 16px; font-weight: 500; white-space: normal; }
.recent-table a { text-decoration: none; }
.recent-table a:hover { color: #83d9eb; }
.metric-rate { font-size: 19px; color: #e1effd; font-variant-numeric: tabular-nums; font-weight: 600; }
.metric-sample { color: #abc0d9; margin-left: 9px; white-space: nowrap; }
.metric-detail { color: #8ea8c8; margin-top: 3px; line-height: 1.8; }
.historical-count { color: #c7b393; white-space: nowrap; }
.recent-empty { padding: 30px 20px; border: 1px solid #293e59; border-radius: 10px; text-align: center; background: #0e192a; }
.recent-empty h3 { font-size: 18px; margin: 0 0 7px; font-weight: 550; }
.recent-empty p { font-size: 16px; margin: 0; color: #a5b9d1; }
.analysis-footer { max-width: 1436px; margin: 0 auto; padding: 22px 0 30px; border-top: 1px solid #253850; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; font-size: 14px; color: #91aac6; }
.analysis-footer strong { color: #c2d2e7; font-weight: 550; }
.analysis-footer p { margin: 0; }
@media (max-width: 1200px) {
  .match-workspace { grid-template-columns: 245px minmax(0,1fr); gap: 16px; }
  .match-panels { grid-template-columns: 1fr; }
  .analysis-panel { padding: 22px; }
  .goals-distribution { max-width: none; }
  .goal-track { height: 58px; }
  .analysis-footer { margin: 0 32px; }
}
@media (max-width: 900px) {
  .analysis-view .header-inner { padding-left: 24px; padding-right: 24px; gap: 32px; }
  .analysis-shell { padding: 28px 24px 42px; }
  .analysis-intro { align-items: flex-start; gap: 20px; }
  .analysis-intro h1 { font-size: 28px; }
  .analysis-intro p { max-width: 30em; }
  .match-workspace { grid-template-columns: 220px minmax(0,1fr); }
  .fixture-browser { padding: 17px 12px 12px; }
  .fixture-status-label { display: block; }
  .fixture-status-label select { width: 100%; margin-top: 7px; }
  .match-scoreboard { padding: 20px; }
  .scoreboard-teams { gap: 14px; }
  .team-name { font-size: 20px; }
  .score-display { font-size: 26px; }
  .analysis-panel { padding: 19px; }
  .analysis-footer { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 760px) {
  .analysis-view .header-inner { min-height: 112px; gap: 14px 20px; padding: 14px 18px; }
  .analysis-mode { font-size: 14px; }
  .analysis-shell { padding: 25px 18px 35px; }
  .analysis-intro { display: block; margin-bottom: 22px; }
  .analysis-intro h1 { font-size: 27px; line-height: 1.5; }
  .analysis-intro p { line-height: 1.8; }
  .analysis-refresh { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 18px; gap: 12px; }
  .analysis-refresh span { text-align: right; }
  .match-workspace { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .fixture-browser { padding: 18px 14px 15px; }
  .fixture-search { margin-top: 13px; }
  .fixture-status-label { display: flex; margin-bottom: 14px; }
  .fixture-status-label select { width: auto; margin: 0; }
  .fixture-list { display: flex; overflow-x: auto; padding: 3px 3px 8px; gap: 10px; max-height: none; scroll-snap-type: x proximity; }
  .fixture-card { flex: 0 0 250px; scroll-snap-align: start; }
  .fixture-list .quiet-empty { width: 100%; padding: 13px 6px; }
  .match-scoreboard { padding: 18px 19px 16px; }
  .scoreboard-teams { gap: 13px; }
  .team-name { font-size: 20px; }
  .match-totals { gap: 5px 15px; }
  .match-panels { gap: 14px; }
  .analysis-panel { padding: 20px 18px; }
  .goal-track { height: 62px; }
  .goals-distribution { gap: 7px; }
  .opinion-source summary { grid-template-columns: minmax(0,1fr) auto; gap: 7px; padding: 14px 16px; }
  .opinion-source summary::after { grid-column: 2; grid-row: 1 / 3; }
  .source-predictions { grid-column: 1; }
  .source-content { padding-left: 16px; padding-right: 16px; }
  .analysis-empty { min-height: 350px; padding: 32px 22px; }
  .analysis-empty h2 { font-size: 21px; }
  .recent-section { margin-top: 28px; padding-top: 23px; }
  .recent-controls { width: 100%; justify-content: space-between; gap: 14px; }
  .recent-heading h2 { font-size: 23px; }
  .recent-heading p { line-height: 1.8; }
  .overall-metrics { grid-template-columns: 1fr; gap: 11px; }
  .overall-metric { padding: 16px 18px; }
  .recent-table { min-width: 690px; }
  .recent-table th, .recent-table td { padding-left: 14px; padding-right: 14px; }
  .analysis-footer { margin: 0 18px; padding-top: 20px; gap: 8px; }
}
@media (max-width: 370px) {
  .analysis-mode { gap: 6px; font-size: 14px; }
  .analysis-intro h1 { font-size: 25px; }
  .scoreboard-teams { gap: 9px; }
  .team-name { font-size: 18px; }
  .score-display { font-size: 23px; }
  .wdl-item { padding: 10px 8px; }
  .wdl-count { font-size: 26px; }
  .goals-distribution { gap: 5px; }
  .analysis-panel { padding: 18px 14px; }
}

/* Match portal: fixtures, scoreboard, one statistical surface and short conclusions. */
.analysis-view { --panel: #101c2e; background: #080e19; }
.analysis-view::before { height: 460px; background: radial-gradient(ellipse at 62% 0,#18416332,transparent 65%); }
.analysis-view .site-header { background: #0b1422; border-color: #233347; }
.analysis-view .header-inner { min-height: 66px; }
.analysis-shell { padding-top: 24px; }
.analysis-intro { margin-bottom: 20px; gap: 20px; }
.analysis-title-row, .recent-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.analysis-intro h1 { font-size: 28px; font-weight: 650; letter-spacing: -.4px; }
.analysis-refresh { flex-direction: row-reverse; align-items: center; gap: 14px; }
.analysis-refresh .button { min-height: 35px; padding: 7px 14px; background: #14253a; border-color: #2e4967; font-weight: 500; }
.analysis-refresh span { font-size: 12px; color: #7f9bb9; }
.match-workspace { grid-template-columns: 250px minmax(0,1fr); gap: 24px; }
.fixture-browser { padding: 18px 13px 14px; background: #0d1828; border: 0; border-radius: 10px; }
.section-title h2 { font-size: 17px; }
.fixture-search { margin-top: 14px; }
.fixture-search input { padding: 8px 10px; background: #122136; border-color: #283e59; }
.fixture-status-label { margin: 10px 0 13px; }
.fixture-status-label select { background: #122136; border-color: #283e59; }
.fixture-list { gap: 2px; max-height: 826px; }
.fixture-card { padding: 14px 12px; background: transparent; border-color: transparent; border-radius: 6px; border-bottom-color: #203147; }
.fixture-card:hover { border-color: transparent; background: #15263a; }
.fixture-card[aria-pressed="true"] { background: #18364a; border-color: transparent; box-shadow: inset 3px 0 #5bc5dc; }
.fixture-meta, .fixture-bottom { font-size: 12px; }
.fixture-meta .fixture-league { color: #8ba8c7; }
.fixture-league .demo-inline { padding: 0 4px; font-size: 10px; }
.fixture-teams { font-size: 15px; margin: 11px 0 10px; gap: 5px 16px; }
.fixture-teams b { color: #d4e6f7; }
.match-scoreboard { padding: 22px 29px 16px; margin-bottom: 16px; border: 0; border-radius: 12px; background: linear-gradient(120deg,#17374b,#152a46 64%,#222f4a); }
.match-scoreboard::after { width: 230px; height: 230px; top: calc(50% - 115px); left: calc(50% - 115px); border-color: #75b3c914; }
.scoreboard-meta { color: #aac5dc; font-size: 13px; }
.scoreboard-teams { gap: 32px; margin: 23px 0 20px; }
.team-name { font-size: clamp(23px,2.4vw,32px); font-weight: 650; letter-spacing: -.3px; }
.team-name small { font-size: 12px; color: #8ba9c7; margin-top: 5px; }
.score-display { font-size: 38px; letter-spacing: 1px; }
.score-display.unplayed { font-size: 23px; color: #85a6c6; }
.match-totals { justify-content: flex-start; gap: 10px 22px; padding-top: 11px; border-color: #7598b322; color: #90afcc; font-size: 12px; }
.match-totals strong { color: #cbecf6; font-size: 14px; }
.match-panels { grid-template-columns: minmax(0,1.3fr) minmax(255px,1fr); gap: 0; background: #101c2e; border-radius: 11px; overflow: hidden; }
.analysis-panel { border: 0; border-radius: 0; padding: 22px 25px; background: transparent; }
.analysis-panel + .analysis-panel { border-left: 1px solid #26394e; }
.panel-title { margin-bottom: 21px; }
.panel-title h2 { font-size: 18px; font-weight: 600; }
.panel-title .muted { font-size: 12px; color: #819bb8; }
.metric-subtitle { font-size: 14px; color: #adc0d7; font-weight: 500; margin-bottom: 9px; }
.metric-subtitle .muted { font-size: 12px; margin-left: 4px; color: #7e99b6; }
.wdl-distribution { gap: 18px; margin-bottom: 23px; }
.wdl-item { padding: 0; background: transparent; border: 0; border-radius: 0; }
.wdl-label { font-size: 12px; color: #91abc7; }
.wdl-count { font-size: 31px; margin: 5px 0 8px; font-weight: 600; }
.wdl-count small { font-size: 12px; color: #7c98b6; }
.distribution-track { height: 3px; background: #24364d; }
.goals-distribution { gap: 11px; }
.goal-column { font-size: 12px; }
.goal-count { color: #a2dfea; }
.goal-track { height: 61px; background: #17273b; }
.goal-track span { border-top: 0; background: linear-gradient(#69c9d9,#3b829e); }
.goal-label { color: #8faac6; }
.summary-panel { display: flex; flex-direction: column; }
.summary-panel .panel-title { margin-bottom: 20px; }
.summary-block h3 { color: #84d5df; font-size: 12px; margin-bottom: 7px; }
.summary-block + .summary-block { margin-top: 23px; }
.summary-block ul { padding-left: 0; list-style: none; font-size: 15px; line-height: 1.85; color: #d0deec; }
.summary-block li { margin: 0 0 9px; }
.summary-block p { color: #91aac6; font-size: 15px; }
.summary-block.disagreement ul { font-size: 14px; color: #a7b9cf; }
.summary-block.disagreement h3 { color: #aaa7dc; }
.source-section { margin-top: 22px; }
.source-heading { margin-bottom: 10px; }
.source-heading h2 { font-size: 18px; font-weight: 600; }
.source-heading p { font-size: 12px; color: #7c98b7; }
.source-list { gap: 1px; border-radius: 9px; overflow: hidden; background: #22344a; }
.opinion-source { border: 0; border-radius: 0; background: #0f1c2d; }
.opinion-source summary { padding: 14px 18px; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) auto; }
.source-name { font-size: 14px; color: #cbdced; }
.source-predictions { font-size: 13px; gap: 7px; }
.source-predictions > span { padding: 2px 10px; border-radius: 4px; line-height: 1.6; }
.source-predictions .pick-wdl { color: #a2e3ec; background: #143b47; }
.source-predictions .pick-goals { color: #bdc7ed; background: #27344d; }
.opinion-source summary::after { font-size: 18px; color: #7595b5; }
.historical-tag { display: inline; margin-left: 7px; font-size: 11px; color: #c7b38e; }
.source-content { border-color: #25394e; }
.source-content h3 { font-size: 15px; }
.source-evidence { background: #14273b; padding: 9px 13px; }
.source-evidence p { font-size: 13px; }
.source-original { font-size: 15px; line-height: 1.85; }
.recent-section { margin-top: 30px; padding-top: 24px; }
.recent-heading h2 { font-size: 22px; }
.recent-heading { gap: 14px; margin-bottom: 15px; }
.recent-controls { gap: 16px; }
.window-control, .historical-control { font-size: 13px; }
.window-control select { padding: 7px 11px; font-size: 13px; }
.statistics-rules { margin: 0 0 18px; color: #849db9; font-size: 12px; }
.statistics-rules > summary { cursor: pointer; display: list-item; width: fit-content; color: #92abc5; padding: 3px 0; }
.statistics-rules[open] { padding: 10px 15px; background: #101c2d; border-radius: 7px; }
.statistics-rules[open] > summary { margin-bottom: 9px; }
.statistics-rules p { margin: 5px 0; color: #9bb2ca; font-size: 13px; line-height: 1.8; }
.overall-metrics { gap: 16px; }
.overall-metric { border: 0; border-radius: 9px; background: #122238; padding: 18px 22px; }
.overall-metric h3 { font-size: 14px; color: #abc3dd; }
.overall-metric p { font-size: 12px; margin-top: 5px; }
.overall-rate { font-size: 34px; font-weight: 600; }
.recent-table-wrap { border: 0; border-radius: 9px; }
.recent-table th { font-size: 12px; background: #16263a; padding-top: 11px; padding-bottom: 11px; }
.recent-table td, .recent-table tbody th { background: #0f1b2b; border-color: #22354a; padding-top: 14px; padding-bottom: 14px; }
.recent-table tbody th { font-size: 14px; }
.metric-rate { font-size: 22px; color: #dceefa; }
.metric-sample { font-size: 12px; color: #7f9bb8; }
.metric-breakdown { font-size: 11px; margin-top: 3px; }
.metric-breakdown summary { color: #708aa6; cursor: pointer; width: fit-content; }
.metric-detail { font-size: 12px; }
.historical-count { font-size: 12px; color: #a99577; }
.analysis-footer { font-size: 12px; border-color: #23344b; padding-top: 18px; }
@media (max-width: 1200px) {
  .match-workspace { grid-template-columns: 225px minmax(0,1fr); gap: 18px; }
  .match-panels { grid-template-columns: minmax(0,1fr); }
  .analysis-panel { padding: 22px; }
  .analysis-panel + .analysis-panel { border-left: 0; border-top: 1px solid #26394e; }
  .summary-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 25px; }
  .summary-panel .panel-title { grid-column: 1 / -1; margin: 0; }
  .summary-block + .summary-block { margin: 0; }
  .summary-block ul, .summary-block.disagreement ul { font-size: 14px; }
}
@media (max-width: 760px) {
  .analysis-view .header-inner { min-height: 110px; }
  .analysis-shell { padding-top: 20px; }
  .analysis-intro { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
  .analysis-intro h1 { font-size: 25px; }
  .analysis-refresh { margin: 0; flex: 1; justify-content: flex-start; gap: 10px; }
  .analysis-refresh span { display: none; }
  .analysis-refresh .button { margin-left: auto; }
  .match-workspace { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .fixture-browser { padding: 15px 12px 8px; }
  .fixture-list { padding-bottom: 7px; gap: 8px; }
  .fixture-card { flex-basis: 225px; background: #132236; border-color: #20384f; padding: 11px 12px; }
  .fixture-card[aria-pressed="true"] { border-color: #42798b; }
  .fixture-search { margin-top: 11px; }
  .fixture-status-label { margin: 8px 0 10px; font-size: 12px; }
  .match-scoreboard { padding: 18px 20px 14px; }
  .scoreboard-meta { font-size: 12px; gap: 7px 12px; }
  .scoreboard-teams { margin: 21px 0 18px; gap: 14px; }
  .team-name { font-size: 22px; }
  .score-display { font-size: 30px; }
  .score-display.unplayed { font-size: 20px; }
  .match-totals { font-size: 11px; gap: 7px 15px; }
  .analysis-panel { padding: 20px; }
  .summary-panel { display: block; }
  .summary-panel .panel-title { margin-bottom: 17px; }
  .summary-block + .summary-block { margin-top: 17px; }
  .opinion-source summary { padding: 13px 15px; grid-template-columns: minmax(0,1fr) auto; }
  .source-predictions { font-size: 12px; }
  .source-predictions > span { padding: 2px 8px; }
  .recent-heading { align-items: flex-start; }
  .recent-heading h2 { font-size: 21px; }
  .recent-controls { gap: 12px; }
  .overall-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .overall-metric { display: block; padding: 16px 15px; }
  .overall-rate { font-size: 30px; margin: 8px 0 4px; }
  .overall-metric p { line-height: 1.8; }
  .recent-table { min-width: 620px; }
}
