:root {
  color-scheme: light;
  --ink: #182624;
  --muted: #62716b;
  --subtle: #77817b;
  --background: #f3f4ef;
  --surface: #fff;
  --line: #e2e7de;
  --dark: #101d22;
  --dark-soft: #16292d;
  --green: #14684f;
  --mint: #b5f3ce;
  --home: #177b59;
  --away: #7762b9;
  --draw: #b8c2b9;
  --radius: 14px;
  --shadow: 0 1px 2px #12292306, 0 8px 24px #15261d06;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-size: 15px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #34775d; outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: 1rem; transform: translateY(-200%); z-index: 9; background: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1290px, calc(100% - 88px)); margin-inline: auto; }
.topbar { background: var(--dark); color: #e7eee9; }
.topbar-inner { display: flex; gap: 54px; height: 68px; align-items: center; }
.logo { font-size: 27px; font-weight: 760; letter-spacing: -.065em; display: flex; align-items: center; gap: 11px; white-space: nowrap; line-height: 1; }
.logo-mark { transform: skew(-16deg); display: flex; align-items: end; gap: 3px; width: 24px; height: 21px; }
.logo-mark i { width: 5px; height: 45%; background: #8cdfa9; border-radius: 1px; }
.logo-mark i:nth-child(2) { height: 72%; background: #a6eebc; }
.logo-mark i:nth-child(3) { height: 100%; background: #c9f9d8; }
.logo-dot { color: #a7ebbf; }
.navigation { display: flex; align-self: stretch; gap: 29px; }
.navigation a { display: flex; align-items: center; position: relative; font-weight: 620; color: #aebeb8; white-space: nowrap; font-size: 13px; }
.navigation a:hover, .navigation a[aria-current] { color: #fff; }
.navigation a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #a6ebbd; }
.header-actions { display: flex; gap: 15px; align-items: center; margin-left: auto; }
.source-badge { display: inline-flex; gap: 7px; align-items: center; color: #d1eae0; white-space: nowrap; font-size: 12px; }
.source-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a7ecc0; box-shadow: 0 0 10px #a5e8bc50; }
.source-badge.demo::before { background: #e4ba76; box-shadow: none; }
.import-button { min-height: 36px; border: 1px solid #3c514f; background: #1a2a2d; border-radius: 8px; padding: 0 11px; color: #e3ece6; font-size: 12px; font-weight: 650; white-space: nowrap; }
.import-button:hover { background: #263d3b; }
.plus { color: #b3eacc; font-size: 19px; line-height: .7; vertical-align: -1px; margin-right: 4px; }
main { padding-top: 26px; min-height: calc(100vh - 138px); }
.hero { overflow: hidden; position: relative; min-height: 280px; isolation: isolate; display: flex; align-items: center; background: radial-gradient(ellipse at 78% 5%, #234943 0%, #192e30 42%, #101e24 76%); color: #f6fcf8; border-radius: 17px; }
.hero-inner { position: relative; z-index: 2; padding: 29px 46px 34px; }
.hero-label { color: #c1ebd4; display: flex; align-items: center; gap: 7px; margin: 0 0 13px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.hero-label span { width: 6px; height: 6px; border-radius: 50%; background: #a7eab8; }
.hero h1 { margin: 0; font-weight: 720; font-size: clamp(44px, 5.7vw, 72px); letter-spacing: -.062em; line-height: .98; }
.hero h1 em { color: #bcf1cd; font-style: normal; }
.hero-copy { font-size: 14px; color: #c0d0c8; margin: 18px 0 0; max-width: 415px; line-height: 1.6; }
.hero-meta { position: absolute; z-index: 1; bottom: 21px; right: 24px; color: #c3dfd0; font-size: 12px; font-variant-numeric: tabular-nums; }
.hero-art { pointer-events: none; position: absolute; z-index: -1; inset: 0 0 0 35%; overflow: hidden; }
.art-ground { position: absolute; inset: -40px -20px -50px -70px; background: linear-gradient(133deg, transparent 34%, #b8f6d507 34%, #a4f2c014 60%, transparent 60%), repeating-linear-gradient(90deg, #a3dfc509 0 1px, transparent 1px 53px), repeating-linear-gradient(0deg, #a3dfc509 0 1px, transparent 1px 53px); mask-image: linear-gradient(to right, transparent, #000 35%); }
.art-field { position: absolute; width: 625px; height: 346px; top: -30px; left: 14%; border: 2px solid #86c5a752; border-radius: 11px; transform: perspective(640px) rotateX(27deg) rotateZ(-19deg); background: repeating-linear-gradient(to right, #9be3bc0b 0 65px, #0b2d2a00 65px 130px), linear-gradient(145deg, #5ca78c16, #7ec99817); box-shadow: 0 0 0 11px #94e2b80a, 0 0 60px #76e2af20, inset 0 0 65px #10292530; }
.field-circle { width: 132px; height: 132px; border: 2px solid #a0dfbf66; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.field-circle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #acf2c8; transform: translate(-50%, -50%); }
.field-line { width: 1px; height: 100%; background: #b1e9cb55; position: absolute; top: 0; left: 50%; }
.field-box { width: 110px; height: 178px; border: 2px solid #a0dfbf62; position: absolute; top: 50%; transform: translateY(-50%); }
.field-box::after { content: ""; width: 44px; height: 76px; border: 1px solid #a0dfbf66; position: absolute; top: 50%; transform: translateY(-50%); }
.field-box.left, .field-box.left::after { left: -1px; border-left: 0; }
.field-box.right, .field-box.right::after { right: -1px; border-right: 0; }
.field-arc { position: absolute; height: 80px; width: 37px; top: 50%; transform: translateY(-50%); border: 1px solid #a0dfbf55; }
.field-arc.left { left: 107px; border-left: 0; border-radius: 0 100% 100% 0; }
.field-arc.right { right: 107px; border-right: 0; border-radius: 100% 0 0 100%; }
.field-pin { position: absolute; z-index: 1; width: 10px; height: 10px; border: 2px solid #b7f4c8; background: #437b64; border-radius: 100%; box-shadow: 0 0 0 5px #a6edbe2c, 0 0 20px #b7f4c89e; }
.pin-a { left: 31%; top: 58%; } .pin-b { left: 56%; top: 27%; } .pin-c { left: 75%; top: 57%; }
.field-trace { position: absolute; height: 1px; border-top: 2px dashed #a9ecc091; transform-origin: left center; }
.trace-a { width: 30%; top: 59%; left: 32%; transform: rotate(-35deg); }
.trace-b { width: 25%; top: 28%; left: 57%; transform: rotate(42deg); }
.art-glow { position: absolute; inset: 0; background: linear-gradient(90deg, #14282a 0%, transparent 27%), linear-gradient(0deg, #16292d 0%, transparent 29%); }

.workspace-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 25px 0 13px; }
.workspace-heading h1, .workspace-heading h2 { font-size: clamp(26px, 3vw, 35px); font-weight: 750; letter-spacing: -.043em; line-height: 1.18; margin: 0; }
.section-description { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.63fr) minmax(340px, 1fr); gap: 19px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.upcoming-tournaments { margin-top: 19px; padding: 16px 17px; }
.upcoming-tournaments h3 { margin: 0 0 12px; font-size: 17px; letter-spacing: -.02em; }
.upcoming-tournaments ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 13px 20px; padding: 0; margin: 0; list-style: none; }
.upcoming-tournaments li { display: grid; gap: 3px; font-size: 13px; }
.upcoming-tournaments a { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.upcoming-tournaments span { font-size: 12px; color: var(--muted); }
.calendar-tools { padding: 11px 12px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.date-strip { display: grid; grid-template-columns: repeat(5,minmax(75px, 1fr)); flex: 1; gap: 6px; }
.date-item, .date-arrow { background: #f8f9f6; border: 1px solid transparent; min-height: 52px; border-radius: 8px; }
.date-item { text-align: left; padding: 6px 10px; display: flex; flex-direction: column; justify-content: center; }
.date-item:hover, .date-arrow:hover { background: #edf3ec; }
.date-item.selected { border-color: #477b65; background: #e9f4ec; }
.day-main { text-transform: capitalize; font-size: 13px; font-weight: 690; line-height: 1.25; white-space: nowrap; }
.day-count { color: var(--muted); font-size: 11px; margin-top: 2px; }
.date-arrow { min-height: 36px; width: 33px; flex: none; font-size: 20px; color: #53665d; line-height: 1; }
.date-picker { width: 150px; flex: none; }
.select-control, .date-picker { min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfa; padding: 6px 9px; font-size: 13px; color: #33483e; }
.filter-controls { padding: 13px 14px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sports { display: flex; flex-wrap: wrap; gap: 5px; }
.sport-button { background: transparent; border: 1px solid transparent; border-radius: 7px; padding: 7px 9px; color: #53635a; font-size: 12px; font-weight: 650; white-space: nowrap; min-height: 33px; }
.sport-button:hover { background: #f1f5ef; }
.sport-button.selected { background: #e8f2eb; border-color: #d7e9dc; color: #1f654b; }
.filter-controls .select-control { margin-left: auto; min-height: 33px; padding-top: 4px; padding-bottom: 4px; max-width: 100%; }
.match-list .state-message { margin: 0; }
.match-group { background: #f6f8f3; border-block: 1px solid #eef0eb; padding: 8px 17px; line-height: 1.2; display: flex; align-items: center; gap: 7px; color: #647269; font-size: 11px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.match-group:first-child { border-top: 0; }
.sport-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--sport-color, #7d8d83); display: inline-block; }
[data-sport="tennis"] { --sport-color: #7b963a; --sport-bg: #eff4e4; }
[data-sport="football"] { --sport-color: #358a62; --sport-bg: #eaf4ec; }
[data-sport="hockey"] { --sport-color: #487b9b; --sport-bg: #eaf1f8; }
[data-sport="basketball"] { --sport-color: #ad663b; --sport-bg: #f8efe7; }
.match-row { display: grid; width: 100%; grid-template-columns: 62px minmax(0,1fr) auto 14px; align-items: center; column-gap: 10px; min-height: 63px; border: 0; border-bottom: 1px solid #edf0e9; background: #fff; padding: 8px 14px 8px 17px; text-align: left; }
.match-row:last-child { border-bottom: 0; }
.match-row:hover { background: #f7faf5; }
.match-row.selected { background: #eff7ef; box-shadow: inset 3px 0 #388669; }
.match-row .fixture-team { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.match-teams { display: grid; gap: 3px; min-width: 0; line-height: 1.2; }
.fixture-team { font-size: 13px; font-weight: 680; }
.match-time { color: #4f655a; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; }
.match-upcoming .match-time { white-space: nowrap; }
.match-time small { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; }
.forecast-mini { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 740; font-variant-numeric: tabular-nums; }
.forecast-mini span { display: block; min-width: 33px; text-align: center; padding: 4px 5px; border-radius: 5px; background: #f1f3ef; color: #5c6b62; }
.forecast-mini .favorite { background: #dcefe3; color: #18664b; }
.row-arrow { font-size: 17px; color: #7f9085; }
.match-list .match-row:last-child { border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); }

.match-detail { position: sticky; top: 18px; overflow: hidden; }
.detail-top { padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); min-height: 57px; }
.league-chip { display: inline-flex; align-items: center; gap: 6px; color: #40584a; background: var(--sport-bg, #f0f3ed); border-radius: 6px; padding: 6px 8px; font-size: 11px; font-weight: 760; line-height: 1.2; }
.detail-top .time-line { font-size: 12px; color: var(--muted); text-align: right; }
.detail-body { padding: 16px 18px 19px; }
.matchup { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: start; gap: 8px; text-align: center; }
.team-emblem { display: grid; place-items: center; height: 42px; min-width: 42px; width: fit-content; margin: 0 auto 7px; padding: 0 6px; color: #286447; background: #e7f2e9; border: 1px solid #dce9df; border-radius: 12px; font-weight: 800; font-size: 12px; letter-spacing: -.04em; }
.team-emblem.away { color: #6551a0; background: #f1edf8; border-color: #eae5f4; }
.team-title { margin: 0; font-size: 14px; line-height: 1.2; overflow-wrap: anywhere; font-weight: 730; }
.matchup-score { padding: 10px 1px 0; color: #69796d; font-weight: 710; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.matchup-score.final { color: var(--ink); font-size: 21px; }
.detail-context { margin: 12px 0 0; text-align: center; font-size: 11px; color: var(--muted); }
.probability-block { margin-top: 17px; border-top: 1px solid var(--line); padding-top: 14px; }
.probability-block h3 { font-size: 13px; margin: 0 0 11px; letter-spacing: -.012em; }
.probabilities { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.prob-outcome { text-align: center; min-width: 0; }
.prob-outcome:first-child { text-align: left; }
.prob-outcome:last-child { text-align: right; }
.prob-outcome strong { display: block; color: var(--outcome); font-weight: 760; font-size: 25px; line-height: 1.1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.prob-outcome small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prob-bar { height: 8px; border-radius: 8px; overflow: hidden; display: flex; gap: 3px; margin-top: 11px; background: #edf0eb; }
.prob-bar span { background: var(--outcome); min-width: 0; }
[data-outcome="home"] { --outcome: var(--home); }
[data-outcome="away"] { --outcome: var(--away); }
[data-outcome="draw"] { --outcome: #68796c; }
.prob-bar [data-outcome="draw"] { --outcome: var(--draw); }
.probability-block.secondary strong { font-size: 18px; }
.probability-block.secondary .prob-bar { height: 5px; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 15px 0 0; }
.detail-facts div { border-radius: 8px; background: #f6f8f4; padding: 7px 8px; min-width: 0; }
.detail-facts dt { font-size: 11px; color: var(--muted); }
.detail-facts dd { font-weight: 720; margin: 3px 0 0; font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.forecast-note { color: var(--muted); line-height: 1.5; margin: 12px 0 0; font-size: 11px; }
.forecast-note strong { color: #374f42; }
.detail-more { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 9px; color: #3e6e56; font-size: 12px; }
.detail-more summary { cursor: pointer; font-weight: 680; }
.detail-more ul { padding-left: 17px; margin: 8px 0 0; color: #52615a; line-height: 1.7; }
.panel-heading { padding: 14px 17px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.panel-heading h2, .panel-heading h3 { margin: 0; font-size: 17px; letter-spacing: -.023em; }
.panel-heading p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.content-panel { min-height: 110px; }
.secondary-page { margin-top: 2px; }
.secondary-page .workspace-heading { margin-top: 9px; margin-bottom: 19px; }
.section-filter { display: flex; gap: 7px; flex-shrink: 0; align-items: center; font-size: 13px; color: var(--muted); }
.section-filter select { min-width: 145px; max-width: 230px; }
.table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { border-bottom: 1px solid #edf0eb; text-align: right; padding: 12px 14px; white-space: nowrap; }
.data-table thead th { font-size: 11px; color: #5e6d64; font-weight: 680; background: #f7f9f5; }
.data-table th.identity, .data-table td.identity { text-align: left; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .rank-number { width: 5%; color: #65786b; }
.rating-value { color: #1d694f; font-weight: 730; font-variant-numeric: tabular-nums; }
.score-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.53fr); gap: 15px; align-items: start; }
.score-chart { padding: 13px 16px 17px; }
.score-chart ol { list-style: none; margin: 0; padding: 0; }
.bucket { display: grid; grid-template-columns: 53px 1fr auto; gap: 8px; align-items: center; margin: 9px 0; font-size: 11px; color: var(--muted); white-space: nowrap; }
.bucket-bars { display: grid; gap: 3px; }
.bucket-bars i { height: 5px; background: #8bcfa4; border-radius: 3px; }
.bucket-bars i:last-child { background: #7564ad; }
.chart-key { margin: 0 0 11px; display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--muted); }
.chart-key i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: #8bcfa4; margin-right: 3px; }
.chart-key span:nth-child(2) i { background: #7564ad; }
.score-rows .score-choice { border: 0; background: transparent; text-align: left; font-weight: 700; color: #33604b; padding: 0; }
.score-rows tr.selected { background: #eef6ef; }
.snapshots .match-row { grid-template-columns: minmax(112px, .55fr) minmax(0, 1fr) auto 14px; }
.archive-actions { display: flex; justify-content: center; padding: 10px; border-top: 1px solid var(--line); }
.archive-actions button { background: #f4f7f1; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; padding: 7px 12px; }
.archive-actions button:hover { background: #e7f1e8; }
.state-message { color: var(--muted); padding: 22px 17px; line-height: 1.5; font-size: 13px; }
.state-message strong { color: var(--ink); }
.error-message { color: #8e3e2f; }
.notice { margin: 14px 0 0; padding: 9px 14px; color: #665236; background: #fcf4e3; border: 1px solid #eadfc1; border-radius: 8px; font-size: 12px; line-height: 1.45; }
footer { margin-top: 30px; border-top: 1px solid #e1e6dd; color: var(--muted); }
.footer-inner { min-height: 54px; display: flex; gap: 12px; justify-content: space-between; align-items: center; font-size: 11px; }
.footer-inner span:first-child { font-weight: 760; font-size: 13px; color: #344a3e; }
.source-credits { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding-bottom: 14px; font-size: 11px; }
.source-credits a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.import-dialog { width: min(430px, calc(100% - 28px)); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; color: var(--ink); box-shadow: 0 20px 80px #1026213b; }
.import-dialog::backdrop { background: #0b211a7a; }
.import-dialog form { position: relative; padding: 24px; }
.import-dialog h2 { margin: 0 35px 9px 0; font-size: 23px; letter-spacing: -.04em; }
.import-dialog p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.import-dialog label { display: block; font-weight: 680; margin: 12px 0 6px; font-size: 13px; }
.import-dialog input { display: block; max-width: 100%; font-size: 13px; }
.dialog-close { position: absolute; right: 12px; top: 11px; border: 0; background: #eff4ee; border-radius: 6px; width: 30px; height: 30px; color: #53695c; font-size: 20px; }
.import-dialog .dialog-status { color: #914835; }
.source-panel { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.source-picker { display: flex; align-items: stretch; gap: 8px; }
.source-picker select { flex: 1 1 auto; min-width: 0; width: 100%; }
.primary-button { background: #216a50; color: #fff; border: 0; border-radius: 7px; font-weight: 680; padding: 8px 13px; }
.primary-button:hover { background: #2a7b5d; }
.dialog-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.secondary-button { background: #f4f7f1; border: 1px solid var(--line); border-radius: 7px; color: #375746; padding: 7px 12px; font-weight: 650; }
.secondary-button:hover { background: #e7f1e8; }
.primary-button:disabled, .secondary-button:disabled { opacity: .55; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 48px); }
  .topbar-inner { gap: 34px; }
  .navigation { gap: 20px; }
  .hero-art { inset-inline-start: 28%; }
  .art-field { left: 10%; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 12px; }
  .filter-controls .select-control { margin-left: 0; }
  .date-picker { width: 130px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 28px); }
  .topbar-inner { height: auto; min-height: 85px; gap: 0; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 47px 37px; }
  .logo { font-size: 24px; }
  .navigation { gap: 22px; grid-column: 1 / -1; grid-row: 2; }
  .navigation a { font-size: 12px; }
  .header-actions { grid-row: 1; grid-column: 2; gap: 9px; }
  .source-badge { font-size: 11px; }
  .import-button { padding: 0 7px; font-size: 11px; min-height: 30px; }
  main { padding-top: 14px; }
  .hero { min-height: 208px; }
  .hero-inner { padding: 20px 18px 29px; }
  .hero-label { font-size: 9px; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(40px, 8.8vw, 59px); }
  .hero-copy { max-width: 30ch; font-size: 12px; margin-top: 12px; }
  .hero-art { inset-inline-start: 30%; opacity: .58; }
  .art-field { width: 450px; height: 249px; top: -24px; left: 13%; }
  .field-circle { width: 92px; height: 92px; }
  .field-box { width: 80px; height: 128px; }
  .field-box::after { width: 32px; height: 55px; }
  .field-arc { display: none; }
  .hero-meta { font-size: 10px; bottom: 9px; right: 11px; }
  .dashboard-grid, .score-grid { grid-template-columns: minmax(0, 1fr); }
  .match-detail { position: static; }
  .workspace-heading { margin-top: 19px; align-items: start; }
  .calendar-tools { flex-wrap: wrap; gap: 6px; padding: 8px; }
  .date-strip { grid-template-columns: repeat(5, minmax(0,1fr)); width: 100%; order: -1; flex: 1 1 100%; gap: 4px; }
  .date-item { padding: 5px 4px; text-align: center; min-height: 42px; }
  .day-main { font-size: 11px; }
  .day-count { font-size: 10px; }
  .date-picker { margin-left: auto; min-height: 31px; font-size: 12px; }
  .date-arrow { min-height: 28px; width: 28px; }
  .section-filter { flex-direction: column; gap: 4px; align-items: start; }
  .section-filter select { max-width: 150px; min-width: 115px; }
  .section-description { font-size: 12px; }
  .match-row { min-height: 60px; grid-template-columns: 48px minmax(0,1fr) auto 8px; gap: 6px; padding-inline: 10px; }
  .match-row .forecast-mini { gap: 3px; }
  .match-row .forecast-mini span { min-width: 27px; font-size: 10px; padding-inline: 3px; }
  .snapshots .match-row { grid-template-columns: minmax(76px, .42fr) minmax(0,1fr) auto 8px; }
  .match-group { padding-inline: 11px; }
  .filter-controls { padding: 8px; }
  .sport-button { padding-inline: 6px; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding: 9px 0; }
}
@media (max-width: 350px) {
  .navigation { gap: 16px; }
  .source-badge { display: none; }
  .header-actions { gap: 2px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, nav a { transition: background-color .14s ease, color .14s ease, border-color .14s ease; }
}
