:root {
    --ink: #132439;
    --muted: #627286;
    --paper: #f1f4f8;
    --surface: #fff;
    --line: #d7dfe8;
    --accent: #c0ef47;
    --active: #356515;
    --radius: 4px;
    --score-font: 'Arial Narrow', 'Liberation Sans Narrow', 'DejaVu Sans Condensed', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--ink);
    font: 14px/1.5 system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 3px; }
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #659222; outline-offset: 3px; }
[hidden] { display: none !important; }
.container, .header-inner { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
main.container { flex: 1; padding-bottom: 16px; min-width: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 1.2; font-weight: 800; font-style: italic; letter-spacing: -.6px; text-transform: uppercase; }
h2 { font-size: 16px; line-height: 1.4; font-weight: 700; }
h3 { font-size: 14px; font-weight: 600; }
p { margin-block: 8px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -80px; left: 12px; padding: 10px; background: var(--ink); color: white; z-index: 10; }
.skip:focus { top: 10px; }
.site-header { flex-shrink: 0; background: var(--ink); border-bottom: 3px solid var(--accent); }
.header-inner { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-current { font-size: 14px; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .8px; color: white; text-decoration: none; }
.account-nav { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.user-name { color: #bfcbda; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-button { border: 0; padding: 6px 0; background: none; color: white; }
.site-footer { padding-block: 14px 20px; color: var(--muted); font-size: 10px; }
.site-footer a { color: inherit; text-decoration: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px 20px; }
.page-heading h1 { margin-top: 8px; }
.back-link { display: inline-block; font-size: 12px; }
.eyebrow { color: var(--muted); font-size: 11px; }
.season-eyebrow { margin-top: 16px; font-weight: 600; letter-spacing: .3px; }
.notice { padding: 12px 16px; border: 1px solid #c7d9ac; border-radius: var(--radius); background: #eef5e4; margin-block: 16px; font-size: 12px; }
.notice.error { color: #81452d; border-color: #e9c9b4; background: #fff3eb; }
.notice ul { margin: 0; padding-left: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 14px; border: 1px solid #abd737; border-radius: 3px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; }
.button:hover { background: #b0dd39; }
.button.secondary { background: var(--ink); border-color: var(--ink); color: white; }
.button.secondary:hover { background: #2b415b; }
.button.full { width: 100%; margin-top: 12px; }
label { display: block; margin-block: 14px 6px; font-size: 11px; font-weight: 650; color: #3e526b; }
input:not([type=checkbox]) { display: block; width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid #c8d3df; border-radius: 3px; background: white; color: var(--ink); font-size: 14px; }
input::placeholder { color: #768497; font-size: 11px; }
.search-field { display: flex; overflow: hidden; border: 1px solid #c8d3df; border-radius: 3px; background: white; }
.search-field input { border: 0; border-radius: 0; }
.search-field button { flex-shrink: 0; width: 38px; border: 0; background: var(--ink); color: white; font-size: 18px; }
.search-field button:hover { background: #2b415b; }
.panel { padding: 18px; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); background: white; }
.panel h2 { margin-bottom: 8px; font-size: 14px; font-weight: 750; font-style: italic; text-transform: uppercase; letter-spacing: .4px; }
.dashboard-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-bottom: 10px; margin-block: 18px; border-bottom: 1px solid #cad4e0; }
.tabs { display: flex; align-items: center; gap: 4px; }
.tab { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 8px 13px; border: 0; border-radius: 3px; background: none; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.tab:hover { background: #e4eaf2; }
.tab.selected { background: var(--ink); color: white; }
.tab span:not(.live-dot) { padding: 0 5px; border-radius: 3px; background: #e0e7ef; color: var(--ink); font-size: 10px; line-height: 1.5; font-weight: 750; }
.tab.selected span:not(.live-dot) { background: var(--accent); }
.live-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #398126; }
.refresh-controls { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.icon-button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #c7d2de; border-radius: 50%; background: white; color: var(--ink); font-size: 20px; line-height: 1; }
.view-toggle { min-height: 30px; padding: 4px 9px; border: 1px solid #c7d2de; border-radius: 3px; background: white; color: var(--ink); font-size: 10px; font-weight: 600; }
.dashboard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; }
.sidebar { align-self: start; position: sticky; top: 16px; }
.team-add-panel { margin-top: 16px; }
.player-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.team-grid { margin-bottom: 16px; }
.player-card { overflow: hidden; border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--radius); background: white; }
.player-card[data-live=true] { border-left-color: #86b728; }
.player-card-header { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); background: #f4f7fb; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 3px; border-bottom: 2px solid #a2c85d; background: #e4ecd9; color: var(--ink); font-size: 11px; font-weight: 750; }
.player-identity { flex: 1; min-width: 0; }
.player-identity h2 { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 750; text-transform: uppercase; overflow-wrap: anywhere; }
.player-identity p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.player-name-link { color: inherit; text-decoration: none; }
.player-name-link:hover { text-decoration: underline; }
.remove-button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 3px; padding: 0; background: none; color: #718198; font-size: 20px; }
.remove-button:hover { background: #f8e9e5; color: #9f4731; }
.match-section { padding: 14px; }
.match-section + .match-section { border-top: 1px solid var(--line); }
.match-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--muted); font-size: 10px; }
.match-meta > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 3px; background: #e8edf3; color: #52637a; font-size: 8px; line-height: 1.25; font-weight: 750; letter-spacing: .6px; white-space: nowrap; }
.status.live { background: var(--accent); color: #243e15; }
.match-date-range { margin-left: auto; color: #465b74; font-size: 10px; font-weight: 600; white-space: nowrap; }
.performances { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 14px 24px; }
.performance { min-width: 0; }
.score-label { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .8px; }
.batting-score, .bowling-score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; color: var(--ink); font-family: var(--score-font); font-weight: 800; letter-spacing: -1px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.batting-score { font-size: 42px; }
.bowling-score { font-size: 32px; }
.batting-score > span, .bowling-score > span { color: var(--muted); font-family: system-ui, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: -.3px; }
.batting-now { align-self: center; color: var(--active); font-family: system-ui, sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .2px; }
.dismissal { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.score-details { display: flex; gap: 16px; margin-top: 10px; font-size: 11px; }
.score-details small { margin-left: 4px; color: var(--muted); font-size: 8px; }
.bowling p { margin: 4px 0 0; font-size: 10px; }
.fielding-summary { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.player-match-context { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.player-match-context strong { color: #40536c; font-size: inherit; font-weight: 600; }
.player-match-context small { font-size: 9px; }
.player-match-context > a { flex-shrink: 0; font-size: 10px; font-weight: 600; text-decoration: none; }
.player-match-result { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.fetched-time { display: block; margin-top: 8px; color: var(--muted); font-size: 9px; }
.stale-note { margin: 0; padding: 10px 14px; background: #fff4dd; color: #7c581d; font-size: 11px; }
.waiting-state { padding: 22px 16px; text-align: center; color: var(--muted); }
.waiting-state > span { display: none; }
.waiting-state h3 { font-size: 13px; font-weight: 550; }
.waiting-state p, .waiting { color: var(--muted); font-size: 11px; }
.empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 180px; padding: 24px; border: 1px dashed #bac9d9; border-radius: var(--radius); background: #f8fafd; text-align: center; }
.empty-state h2 { font-size: 18px; font-weight: 650; font-style: italic; }
.empty-state p { max-width: 380px; color: var(--muted); font-size: 12px; }
.no-live { padding: 24px; color: var(--muted); text-align: center; font-size: 12px; }
.suggestions { padding: 8px 4px; }
.suggestion { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.suggestion strong { display: block; font-size: 12px; font-weight: 600; }
.suggestion small { color: var(--muted); font-size: 10px; }
.suggestion button { width: 28px; height: 28px; border: 1px solid #b8cda2; border-radius: 3px; background: #edf4e3; color: var(--active); }
/* Team match cards */
.team-card .player-card-header { align-items: flex-start; }
.team-identities { flex: 1; min-width: 0; }
.team-identity { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-identity + .team-identity { margin-top: 8px; }
.team-identity h2 { font-size: 14px; font-weight: 750; text-transform: uppercase; }
.team-identity small { color: var(--muted); font-size: 10px; }
.team-game-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.match-scores > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block: 5px; font-size: 12px; }
.match-scores strong { font-family: var(--score-font); font-size: 22px; font-weight: 800; white-space: nowrap; }
.team-overs { color: var(--muted); font-family: system-ui, sans-serif; font-size: 9px; font-weight: 400; }
.team-game-body > .match-scores:last-child { grid-column: 1 / -1; }
.team-current { padding-left: 16px; border-left: 1px solid var(--line); }
.current-player { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block: 6px; font-size: 11px; }
.current-player > span { min-width: 0; }
.current-player strong { font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.current-player a { color: inherit; font-weight: 650; text-decoration: none; }
.current-role { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; letter-spacing: .5px; }
.current-favourite { margin-left: -8px; padding: 6px 8px; border-left: 2px solid #91b735; border-radius: 0 3px 3px 0; background: #f1f7e6; }
.favourite-star { color: #587a18; font-size: 10px; }
.match-result { margin-block: 10px 0; color: #485e77; font-size: 11px; }
.match-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 10px; }
.match-footer small { color: var(--muted); font-size: 10px; }
.match-footer a { flex-shrink: 0; font-weight: 650; text-decoration: none; }
.team-next { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 10px; }
.team-next > span { color: var(--muted); white-space: nowrap; }
.team-next a { text-align: right; text-decoration: none; }
/* Player and team season pages */
.player-team-picker { margin-bottom: 18px; }
.player-team-picker summary { width: fit-content; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted); }
.player-team-picker summary small { display: inline-block; padding: 0 5px; margin-left: 4px; border-radius: 3px; background: #e0e7ef; color: var(--ink); font-size: 10px; }
.player-team-picker .follow-team-links { margin: 12px 0 0; }
.follow-team-links .team-choice { flex-direction: column; align-items: flex-start; gap: 2px; }
.team-choice small { max-width: 270px; color: #c3cfde; font-size: 9px; font-weight: 400; text-align: left; }

.follow-team-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.follow-team-links .button { min-height: 32px; padding: 6px 10px; font-size: 11px; }
.season-totals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; margin-bottom: 20px; border-radius: var(--radius); background: var(--ink); }
.season-totals > div { padding: 14px 20px; border-right: 1px solid #35475e; border-bottom: 3px solid #35475e; }
.season-totals > div:first-child { border-bottom-color: var(--accent); }
.season-totals > div:last-child { border-right: 0; }
.season-totals span { display: block; color: #c3cfde; font-size: 9px; font-weight: 650; letter-spacing: .8px; }
.season-totals strong { display: block; color: var(--accent); font-family: var(--score-font); font-size: 34px; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; }
.season-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block: 20px 12px; }
.season-results-heading h2 { font-size: 15px; font-weight: 750; font-style: italic; text-transform: uppercase; letter-spacing: .4px; }
.season-results-heading p { margin: 0; color: var(--muted); font-size: 11px; text-align: right; }
.season-results-heading small { font-size: 10px; }
.season-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.season-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.season-table thead th { padding: 12px 18px; background: var(--ink); color: #ebf1f8; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.season-table td, .season-table tbody th { padding: 18px; vertical-align: top; border-top: 1px solid var(--line); }
.season-table tbody tr:hover { background: #fcfdf9; }
.season-match { width: 38%; font-weight: 400; }
.season-match time { display: inline-block; margin-bottom: 6px; color: var(--muted); font-size: 10px; }
.season-match > strong { display: block; font-size: 13px; font-weight: 650; line-height: 1.5; }
.season-match > small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.season-match p { color: #485e77; font-size: 10px; }
.season-match .status { margin-left: 7px; vertical-align: middle; font-size: 7px; }
.season-figures strong { display: block; font-family: var(--score-font); font-size: 25px; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; }
.season-figures strong > span { color: var(--muted); font-family: system-ui, sans-serif; font-size: 13px; font-weight: 400; }
.season-figures small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.season-figures + .season-figures { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.season-table td[data-label=Fielding] { color: var(--muted); font-size: 11px; }
.season-scorecard a { font-size: 10px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.season-footnote { margin-block: 14px 20px; color: var(--muted); font-size: 10px; }
.season-empty { margin-bottom: 20px; }
.fixture-score { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 8px; font-size: 11px; }
.fixture-score strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.team-fixtures td p, .team-fixtures td a { font-size: 10px; }
/* Search and authentication */
.search-page-form { max-width: 500px; margin-bottom: 24px; }
.search-results { max-width: 900px; }
.search-result { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; margin-bottom: 10px; border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--radius); background: white; }
.search-result > div { min-width: 0; }
.search-result h2 { margin: 0; font-size: 14px; font-weight: 700; }
.search-result p { margin: 6px 0; color: var(--muted); font-size: 11px; }
.search-result a:not(.button) { font-size: 11px; }
.search-result .button { flex-shrink: 0; white-space: nowrap; }
.followed { color: var(--active); font-size: 11px; font-weight: 650; white-space: nowrap; }
.auth-layout { width: min(400px, 100%); margin: clamp(32px, 8vh, 72px) auto 32px; }
.auth-panel { padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); background: white; }
.auth-panel h1 { margin-bottom: 20px; font-size: 24px; }
.auth-panel small { color: var(--muted); font-size: 11px; }
.auth-switch { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 20px; font-size: 12px; }
.auth-switch a { font-weight: 600; }
.check-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; color: var(--muted); }
.check-label input { width: 15px; height: 15px; margin: 0; accent-color: #5c8d1f; }
@media (min-width: 761px) {
    .compact .player-grid { grid-template-columns: 1fr; gap: 12px; }
    .compact .individual-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
    .compact .individual-card .player-card-header { border-bottom: 0; border-right: 1px solid var(--line); }
    .compact .player-identity h2 { font-size: 12px; }
    .compact .batting-score { font-size: 37px; }
    .compact .bowling-score { font-size: 28px; }
    .compact .score-details { display: none; }
    .compact .individual-card .performances { gap: 14px 24px; }
    .compact .team-card, .compact .match-overview { display: block; }
}
@media (min-width: 761px) and (max-width: 1150px) {
    .dashboard-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; }
    .player-grid { grid-template-columns: 1fr; }
    .compact .individual-card { grid-template-columns: 145px minmax(0, 1fr); }
    .compact .individual-card .avatar { display: none; }
    .team-game-body { grid-template-columns: 1fr; gap: 12px; }
    .team-current { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0 0; }
}
@media (max-width: 1000px) {
    .season-table thead th { padding: 12px; }
    .season-table td, .season-table tbody th { padding: 16px 12px; }
    .season-match { width: 34%; }
}
@media (max-width: 760px) {
    .container, .header-inner { width: calc(100% - 28px); }
    .header-inner { min-height: 46px; }
    .nav-current { font-size: 13px; }
    .account-nav { gap: 16px; font-size: 11px; }
    .user-name { max-width: 120px; }
    .dashboard-bar { gap: 8px; margin-top: 12px; padding-bottom: 8px; }
    .tabs { gap: 0; }
    .tab { min-height: 34px; padding: 8px 9px; gap: 5px; font-size: 10px; letter-spacing: .2px; }
    .refresh-controls { margin-left: auto; gap: 8px; font-size: 9px; }
    .refresh-controls > span { max-width: 130px; text-align: right; }
    .view-toggle { display: none; }
    .dashboard-layout { display: flex; flex-direction: column; gap: 20px; }
    .sidebar { position: static; align-self: stretch; }
    .player-grid { grid-template-columns: 1fr; gap: 12px; }
    .player-card-header, .match-section { padding: 12px; }
    .player-identity h2 { font-size: 13px; }
    .remove-button { width: 32px; height: 32px; }
    .match-meta { gap: 8px; font-size: 9px; }
    .match-date-range { font-size: 9px; }
    .batting-score { font-size: 38px; }
    .bowling-score { font-size: 30px; }
    .player-match-context { align-items: flex-start; font-size: 10px; }
    .player-match-context small { font-size: 9px; }
    .player-match-context > a { font-size: 9px; }
    .player-match-result, .fetched-time, .fielding-summary { font-size: 9px; }
    .match-overview { padding: 12px; }
    .team-game-body { grid-template-columns: 1fr; gap: 12px; }
    .team-current { border-left: 0; border-top: 1px solid var(--line); padding: 8px 0 0; }
    .team-identity h2 { font-size: 13px; }
    .team-identity small { font-size: 9px; }
    .team-current strong { font-size: 11px; }
    .team-next { flex-direction: column; align-items: flex-start; gap: 4px; }
    .team-next a { text-align: left; }
    .page-heading { padding-block: 18px 16px; gap: 12px; }
    .page-heading h1 { font-size: 24px; }
    .player-page-heading { display: block; }
    .player-page-heading > .button { margin-top: 12px; }
    .follow-team-links { gap: 8px; }
    .season-totals > div { padding: 12px 6px; }
    .season-totals strong { font-size: 22px; }
    .season-totals span { font-size: 8px; letter-spacing: .4px; }
    .season-results-heading { gap: 12px; }
    .season-results-heading h2 { font-size: 14px; }
    .season-results-heading small { font-size: 9px; }
    .season-table thead { display: none; }
    .season-table, .season-table tbody { display: block; }
    .season-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; padding: 16px 12px; border-top: 1px solid var(--line); border-left: 2px solid #dce5ee; }
    .season-table tr:first-child { border-top: 0; }
    .season-table tbody th { grid-column: 1 / -1; width: 100%; padding: 0; border: 0; }
    .season-table td { padding: 0; border: 0; font-size: 10px; }
    .season-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; letter-spacing: .5px; text-transform: uppercase; }
    .season-table td:last-child { grid-column: 1 / -1; }
    .season-match > strong { font-size: 13px; }
    .season-match > small { font-size: 9px; }
    .season-figures strong { font-size: 23px; }
    .season-figures strong > span { font-size: 12px; }
    .season-figures small { font-size: 9px; }
    .season-table td[data-label=Fielding] { font-size: 10px; }
    .season-footnote { font-size: 9px; }
    .team-fixtures tr { display: flex; flex-direction: column; }
    .team-fixtures td { display: block; }
    .fixture-score { font-size: 10px; }
    .search-result { padding: 14px; gap: 12px; align-items: flex-start; }
    .search-result h2 { font-size: 13px; }
    .search-result .button { min-height: 34px; padding: 6px 10px; font-size: 11px; }
    input:not([type=checkbox]) { font-size: 16px; }
    input::placeholder { font-size: 11px; }
    .auth-layout { margin-top: 30px; }
    .auth-panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}

.live-only-control { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 11px; white-space: nowrap; cursor: pointer; }
.live-only-control input { width: 16px; height: 16px; margin: 0; accent-color: var(--active); }
.live-only-control span { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .refresh-controls { width: 100%; margin-left: 0; } .live-only-control { margin-right: auto; } }
.reorder-link { margin-left: 6px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.reorder-tabs { margin-bottom: 12px; }
.reorder-tabs .tab { text-decoration: none; }
.reorder-number { color: var(--muted); font-variant-numeric: tabular-nums; }
.reorder-buttons { display: flex; flex-shrink: 0; gap: 6px; }
.reorder-buttons .button { min-width: 38px; }
.reorder-buttons .button:disabled { opacity: .35; cursor: default; }
.search-result:target { border-left-color: var(--accent); }
