/* assets/league.css - the look of the public and captain pages (taken from the portal's roundrobin.php:
   navy and gold, Barlow Semi Condensed headings, rounded white boxes; made for phones first).

   Version history:
     v1.0  07/11/2026 Original (System check page).
     v1.1  07/11/2026 The public pages from the approved mock-ups: menu, home page (next Tuesday banner, fixtures,
           results, leaders), league tables. (backup: league_v1_0.css)
     v1.2  07/11/2026 Results (week chooser, match cards) and team pages; result rows are links.
           (backup: league_v1_1.css)
     v1.3  07/11/2026 Players (averages and player pages), Roll of Honour, venues, rules, contacts.
           (backup: league_v1_2.css)
     v1.4  08/11/2026 Notices (page, pinned on the home page) and the Calendar. (backup: league_v1_3.css)
     v1.5  08/11/2026 The orange test-mode banner. (backup: league_v1_4.css)
     v1.6  08/11/2026 Cup chips (cups.php). (backup: league_v1_5.css)
     v1.7  08/11/2026 The Tools page (tools.php). (backup: league_v1_6.css)
     v1.8  08/11/2026 Season chooser (.season-pick) for past seasons. (backup: league_v1_7.css)
     v1.9  08/11/2026 Player history: two-tab switch, highlights, career lists, head to head. (backup: league_v1_8.css)
     v1.10 14/11/2026 Suggestions page (feedback.php). (backup: league_v1_9.css)
     v1.11 14/11/2026 Suggestions in the easy-read look (one question at a time, 18px, big buttons). (backup: league_v1_10.css)
*/

:root {
    --navy: #0B3D6E; --navy-dark: #072A4C; --gold: #F2C14E; --ink: #14213D; --muted: #3D4B5F;
    --line: #D5DCE6; --line-soft: #EDF0F5; --bg: #F3F5F8; --tint: #E7EEF7; --cream: #FFF8E6; --amber: #8A5A00;
    --win: #065F46; --win-bg: #ECFDF5; --bad: #991B1B; --bad-bg: #FEF2F2;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Source Sans 3', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.4; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
.display { font-family: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; font-weight: 700; }

/* ---- header and menu */
header.site { background: var(--navy); color: #fff; padding: 12px 16px 16px; }
header.site.with-nav { padding-bottom: 0; }
header.site .inner { max-width: 960px; margin: 0 auto; }
header.site .league { font-size: 14px; color: #DCE6F2; }
header.site .league a { color: inherit; text-decoration: none; }
header.site .title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
header.site h1 { margin: 0; font-family: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.1; }
header.site .sub { color: #DCE6F2; font-size: 15px; }
nav.menu { display: flex; gap: 2px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
nav.menu::-webkit-scrollbar { display: none; }
nav.menu a { flex: 0 0 auto; padding: 10px 12px; color: #fff; font-weight: 600; text-decoration: none; font-size: 15px; border-radius: 10px 10px 0 0; }
nav.menu a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
nav.menu a[aria-current="page"] { background: var(--gold); color: var(--ink); font-weight: 700; }
.gold-bar { height: 4px; background: var(--gold); }

main { max-width: 720px; margin: 0 auto; padding: 14px 12px 40px; display: flex; flex-direction: column; gap: 14px; }
.box, .card { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.box { padding: 14px; }
.card { overflow: hidden; }
.box h2 { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 22px; color: var(--navy); margin: 0 0 8px; }
.hint, .notes { font-size: 14px; color: var(--muted); }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 2px; }
.section-head h2 { margin: 0; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 22px; color: var(--navy); }
.section-head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
section.block { display: flex; flex-direction: column; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 18px; border: none; border-radius: 10px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { color: #fff; background: var(--navy-dark); }
.btn.light { background: var(--tint); color: var(--navy); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { background: #E5B23C; color: var(--ink); }

.error { background: var(--bad-bg); border: 1px solid #FCA5A5; color: var(--bad); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.okay { background: var(--win-bg); border: 1px solid #A7F3D0; color: var(--win); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.new { background: var(--cream); border: 1px solid var(--gold); border-radius: 10px; padding: 10px 12px; }

/* ---- next Tuesday banner */
.hero { background: var(--ink); color: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.hero .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--gold); }
.hero .big { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.1; }
.hero p { margin: 0; font-size: 15px; color: #DCE6F2; }
.hero .btn { align-self: flex-start; margin-top: 6px; min-height: 44px; }

/* ---- fixtures and results lists */
.div-label { padding: 7px 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--amber); background: var(--cream); border-bottom: 1px solid #F3E2B3; }
.match-row { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line-soft); align-items: center; font-size: 15px; color: var(--ink); text-decoration: none; }
.div-label + .match-row, .card > .match-row:first-child { border-top: none; }
.match-row .home { text-align: right; }
a.match-row:hover { background: #F0F5FB; color: var(--ink); }
.match-row .when { grid-column: 1 / -1; font-size: 12px; color: var(--amber); font-weight: 600; text-align: center; margin-top: -2px; }
.match-row .won { font-weight: 700; }
.match-row .vs { text-align: center; font-size: 12px; color: var(--muted); }
.score { text-align: center; font-weight: 700; color: #fff; background: var(--navy); border-radius: 6px; padding: 3px 0; }
.score.awaited { font-size: 12px; font-weight: 600; color: var(--amber); background: var(--cream); }

/* ---- leaders and more links */
.leaders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.leader { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.leader .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--amber); }
.leader .team { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.1; color: var(--navy); }
.leader .pts { font-size: 13px; color: var(--muted); }
.more-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.more-links a { min-height: 48px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px; border-radius: 10px; background: var(--tint); color: var(--navy); font-weight: 700; text-decoration: none; }

/* ---- league table */
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg a { min-height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; color: var(--muted); }
.seg a[aria-current="page"] { background: var(--navy); color: #fff; }
.league-table .t-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 24px 24px 24px 38px 38px; gap: 6px; padding: 8px 10px; align-items: center; font-size: 15px; border-top: 1px solid var(--line-soft); }
.league-table .t-head { background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; border-top: none; }
.league-table .t-row:nth-child(odd):not(.t-head) { background: #F8FAFC; }
.league-table .t-row.first { background: var(--cream); }
.league-table .c { text-align: center; }
.league-table .r { text-align: right; }
.league-table .pos { font-weight: 700; color: var(--muted); }
.league-table .team { min-width: 0; }
.league-table .team > span, .league-table .team > a { display: block; }
.league-table .team a.name { color: var(--ink); text-decoration: none; }
.league-table .team a.name:hover { color: var(--navy); text-decoration: underline; }
.league-table .team .name { font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.league-table .team .detail { font-size: 12px; color: var(--muted); }
.league-table .pts { text-align: right; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 20px; color: var(--navy); }
.league-table .tie { font-size: 12px; font-weight: 700; color: var(--amber); }
.rule-box { background: var(--cream); border: 1px solid var(--gold); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.rule-box h2 { margin: 0; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 19px; }
.rule-box ol { margin: 0; padding-left: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.rule-box p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---- week chooser */
.week-pick { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.week-pick a, .week-pick span.off { min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #9AA8BA; border-radius: 10px; color: var(--navy); text-decoration: none; }
.week-pick span.off { opacity: 0.3; }
.week-pick .now { text-align: center; }
.week-pick .now .display { font-size: 21px; color: var(--navy); line-height: 1.1; }
.week-pick .now div:last-child { font-size: 14px; color: var(--muted); }

/* ---- match card */
.match-card { background: #fff; border: 2px solid var(--navy); border-radius: 14px; overflow: hidden; }
.match-card .head { background: var(--navy); color: #fff; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); gap: 8px; align-items: center; }
.match-card .head a { color: #fff; font-weight: 700; line-height: 1.2; text-decoration: none; }
.match-card .head a:hover { text-decoration: underline; }
.match-card .head .home { text-align: right; }
.match-card .head .big { text-align: center; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 34px; line-height: 1; color: var(--gold); }
.match-card .head .big.v { font-size: 20px; color: #DCE6F2; }
.match-card .info { padding: 6px 14px; font-size: 13px; color: var(--muted); background: var(--tint); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.game-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) 30px 10px 30px minmax(0, 1fr); gap: 6px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line-soft); font-size: 15px; }
.game-row .no { font-size: 12px; font-weight: 700; color: var(--amber); }
.game-row .p { overflow-wrap: anywhere; }
.game-row .p.home { text-align: right; }
.game-row .p.won { font-weight: 700; color: var(--win); }
.game-row .p .bc { display: inline-block; font-size: 11px; font-weight: 700; color: var(--amber); background: var(--cream); border-radius: 4px; padding: 0 4px; margin: 0 3px; }
.game-row .dash { text-align: center; color: var(--muted); font-size: 12px; }
.fbox { text-align: center; font-weight: 700; font-size: 17px; border-radius: 6px; padding: 2px 0; background: var(--line-soft); color: var(--muted); }
.fbox.won { background: var(--navy); color: #fff; }
.match-card .foot { padding: 8px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); }

/* ---- team pages */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.tile .display { font-size: 32px; line-height: 1; color: var(--navy); }
.tile div:last-child { font-size: 13px; color: var(--muted); }
.form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 2px; }
.form .lbl { font-size: 14px; font-weight: 700; color: var(--muted); }
.chip { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 7px; font-weight: 700; font-size: 14px; text-decoration: none; }
.chip.w { background: var(--win); color: #fff; }
.chip.l { background: #fff; color: var(--bad); border: 2px solid var(--bad); }
.contact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.contact .who { flex: 1 1 auto; min-width: 0; }
.contact .lbl { font-size: 13px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--amber); }
.contact .name { font-weight: 700; font-size: 17px; }
.contact .phone { font-size: 15px; color: var(--muted); }
.grid-list .g-row { display: grid; gap: 6px; padding: 9px 12px; border-top: 1px solid var(--line-soft); font-size: 15px; align-items: center; color: var(--ink); text-decoration: none; }
.grid-list .g-head { background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; border-top: none; }
.grid-list a.g-row:hover { background: #F0F5FB; }
.grid-list .c { text-align: center; }
.grid-list .muted { color: var(--muted); font-size: 13px; }
.squad .g-row { grid-template-columns: minmax(0, 1fr) 30px 30px 52px 36px; }
.fixtures-list .g-row { grid-template-columns: 50px 40px minmax(0, 1fr) 62px; }
.res { text-align: center; font-weight: 700; border-radius: 6px; padding: 2px 0; font-size: 14px; }
.res.w { background: var(--win-bg); color: var(--win); }
.res.l { background: var(--bad-bg); color: var(--bad); }
.res.todo { font-weight: 400; font-size: 13px; color: var(--muted); }
.team-list .g-row { grid-template-columns: minmax(0, 1fr) auto; }

/* ---- players */
.avg .g-row { grid-template-columns: 26px minmax(0, 1fr) 28px 28px 58px; }
.avg .pct { text-align: right; font-weight: 700; color: var(--navy); }
.avg .not-yet { display: block; font-size: 11px; font-weight: 700; color: var(--amber); }
.avg .who strong { display: block; }
.toggle { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 600; text-decoration: none; color: var(--ink); min-height: 48px; }
.toggle .box-mark { width: 22px; height: 22px; border: 2px solid var(--navy); border-radius: 5px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #fff; }
.toggle.on .box-mark { background: var(--navy); }
.leader-banner { background: var(--gold); color: var(--ink); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.leader-banner .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.leader-banner .big { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.1; }
.games-list .g-row { grid-template-columns: 46px minmax(0, 1fr) 52px; }

/* ---- roll of honour */
.champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.champ-tile { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--gold); }
.champ-tile .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); }
.champ-tile .team { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.1; }
.champ-tile .ru { font-size: 13px; color: #DCE6F2; }
.honours .g-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
.honours h2, .venue-card h2 { margin: 0; padding: 9px 14px; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 19px; color: var(--navy); background: #F0F5FB; border-bottom: 1px solid var(--line); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills a { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 20px; border: 1px solid #9AA8BA; background: #fff; color: var(--muted); font-weight: 600; text-decoration: none; }
.pills a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }

/* ---- venues, rules, contacts */
.venue-card .body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.venue-card .teams { font-size: 14px; color: var(--muted); }
.venue-card .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.venue-card .actions .btn { min-height: 44px; padding: 0 14px; }
.rules-text p { margin: 0 0 10px; }
.rules-text p:last-child { margin-bottom: 0; }
.people .g-row { grid-template-columns: minmax(0, 1fr) auto; }
.people .role { display: block; font-size: 13px; color: var(--muted); }
.people .call { min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 8px; background: var(--tint); color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---- System check list */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.checks .mark { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.checks .pass .mark { background: var(--win); }
.checks .fail .mark { background: var(--bad); }
.checks .wait .mark { background: #9AA8BA; }
.checks .what { font-weight: 700; }
.checks .detail { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
pre.json { background: #F8FAFC; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 13px; overflow-x: auto; white-space: pre-wrap; margin: 8px 0 0; }

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { padding: 9px 6px; border-bottom: 1px solid #EDF0F5; text-align: left; font-size: 15px; vertical-align: top; }
th { background: var(--navy); color: #fff; font-size: 13px; }

footer.site, footer.versions { max-width: 720px; margin: 0 auto; padding: 0 12px 28px; font-size: 13px; color: var(--muted); }
footer.site .ver { font-size: 12px; margin-top: 6px; }

/* wider screens: a little more room */
@media (min-width: 760px) {
    header.site h1 { font-size: 36px; }
    main { padding-top: 20px; }
}

/* ---- notices (v1.4) */
.notice { display: block; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
a.notice:hover { color: var(--ink); background: #FAFCFF; }
.notice h2 { margin: 4px 0 6px; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--navy); }
.notice-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.notice-tag { font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--navy); }
.notice-date { color: var(--muted); }
.notice-body p { margin: 0 0 8px; font-size: 15px; }
.notice-body p:last-child { margin-bottom: 0; }
.notice.kind-important { border-left-color: var(--bad); background: var(--bad-bg); }
.notice.kind-important .notice-tag, .notice.kind-important h2 { color: var(--bad); }
.notice.kind-congrats { border-left-color: var(--gold); background: var(--cream); }
.notice.kind-congrats .notice-tag { color: var(--amber); }
.notice.kind-reminder { border-left-color: var(--win); }
.notice.kind-reminder .notice-tag { color: var(--win); }
.notice.past { opacity: .75; margin-top: 10px; }
.past-notices summary { cursor: pointer; font-weight: 700; color: var(--navy); }

/* ---- calendar (v1.4) */
.cal-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 10px 12px; border-top: 1px solid var(--line-soft); align-items: start; }
.div-label + .cal-row, .cal-list > .cal-row:first-child { border-top: none; }
.cal-date { display: grid; justify-items: center; line-height: 1.05; background: var(--tint); border-radius: 10px; padding: 5px 0; color: var(--navy); }
.cal-date .d { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700; font-size: 22px; }
.cal-date .m, .cal-date .w { font-size: 12px; font-weight: 600; text-transform: uppercase; }
.cal-title { font-weight: 700; font-size: 16px; }
.cal-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.cal-link { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; }
.cal-next { display: inline-block; background: var(--gold); color: var(--ink); border-radius: 6px; padding: 0 6px; font-size: 12px; vertical-align: 2px; }
.cal-row.next { background: var(--cream); }
.cal-row.past { opacity: .6; }
.cal-ko_cup .cal-date, .cal-sub_cup .cal-date, .cal-losers_cup .cal-date { background: #FDF0CF; color: var(--amber); }
.cal-singles .cal-date, .cal-doubles .cal-date, .cal-mixed .cal-date, .cal-other .cal-date { background: #E8F3EE; color: var(--win); }
.cal-free .cal-date { background: var(--line-soft); color: var(--muted); }

/* ---- test mode (v1.5) */
.test-banner { background: #F97316; color: #1c1206; padding: 8px 16px; font-size: 15px; text-align: center; }
.test-banner a { color: #1c1206; font-weight: 700; }

/* ---- cups (v1.6) */
.cup-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.cup-chips a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #D5DBE5; color: #14213D; text-decoration: none; font-weight: 600; font-size: 15px; }
.cup-chips a[aria-current="page"] { background: #14213D; border-color: #14213D; color: #F2B705; }

/* ---- tools (v1.7) */
.tool-list { display: grid; gap: 12px; }
.tool { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid #D5DBE5;
  border-radius: 14px; color: #14213D; text-decoration: none; }
.tool:hover { border-color: #0B3D6E; }
.tool-icon { font-size: 34px; text-align: center; }
.tool-text b { display: block; font-family: 'Barlow Semi Condensed', sans-serif; font-size: 23px; }
.tool-text span { color: #56627A; font-size: 15px; }
.tool-go { font-size: 30px; color: #0B3D6E; }


/* v1.8 past seasons: the season chooser */
.season-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 4px; }
.season-pick label { font-weight: 700; color: var(--muted); }
.season-pick select { min-height: 40px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; max-width: 100%; }
.season-pick a { font-weight: 600; }

/* v1.9 player history */
.seg.seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fact { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.fact span { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); }
.fact b { font-family: 'Barlow Semi Condensed', sans-serif; font-size: 19px; line-height: 1.15; color: var(--navy); overflow-wrap: anywhere; }
.fact small { font-size: 13px; color: var(--muted); }
a.fact:hover { background: #F0F5FB; }
.career-seasons .g-row { grid-template-columns: 64px minmax(0, 1fr) 30px 30px 44px; }
.career-venues .g-row { grid-template-columns: minmax(0, 1fr) 34px 34px 44px; }
.career-h2h .g-row { grid-template-columns: minmax(0, 1fr) 34px 62px; }
.h2h-list .g-row { grid-template-columns: 62px minmax(0, 1fr) 46px; }
.res.d { background: var(--tint); color: var(--navy); }
.find input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; box-sizing: border-box; }
.h2h { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 14px 10px; text-align: center; }
.h2h a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.h2h .display { font-size: 44px; line-height: 1; }
.h2h .v { color: var(--muted); font-weight: 700; }

.find-list .g-row { grid-template-columns: minmax(0, 1fr) auto; }
.grid-list .g-row[hidden] { display: none; }

/* v1.11 Suggestions (feedback.php): easy-read, one question at a time (Design/style-guide.md "Pages for everyone") */
.fbw { display: grid; gap: 14px; font-size: 18px; }
.fbw [hidden] { display: none !important; }
.fbw-prog { display: flex; gap: 6px; }
.fbw-prog i { flex: 1; height: 7px; border-radius: 4px; background: var(--line); }
.fbw-prog i.on { background: var(--gold); }
.fbw-bubble { justify-self: start; background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 8px 14px; font-size: 17px; font-weight: 600; color: var(--ink); }
.fbw-step { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.fbw-q { font-family: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--navy); padding: 0; margin: 0 0 4px; }
.fbw-q:focus { outline: none; }
.fbw-lead { margin: 0; color: var(--muted); font-size: 17px; }
.fbw-choice { display: flex; gap: 14px; align-items: center; min-height: 64px; padding: 10px 16px; background: #fff; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font: inherit; font-size: 18px; color: var(--ink); text-align: left; width: 100%; box-sizing: border-box; }
.fbw-choice.small { min-height: 56px; }
.fbw-choice:hover, .fbw-choice:focus-within, button.fbw-choice:focus-visible { border-color: var(--navy); }
.fbw-choice:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; background: var(--tint); }
.fbw-choice input { width: 22px; height: 22px; accent-color: var(--navy); flex: 0 0 auto; margin: 0; }
.fbw.js .fbw-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fbw-choice .e { font-size: 30px; line-height: 1; }
.fbw-choice b { display: block; font-size: 19px; }
.fbw-choice small { display: block; font-size: 16px; color: var(--muted); }
.fbw textarea { font: inherit; font-size: 18px; min-height: 170px; padding: 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; width: 100%; box-sizing: border-box; resize: vertical; }
.fbw textarea:focus, .fbw-reply input:focus { border-color: var(--navy); outline: 3px solid var(--gold); outline-offset: 1px; }
.fbw-row { display: flex; gap: 10px; }
.fbw-row .btn { flex: 1; }
.fbw-big { min-height: 56px; font-size: 18px; }
.fbw-reply { display: grid; gap: 6px; }
.fbw.js .fbw-reply { display: none; }
.fbw.js .fbw-reply.open { display: grid; }
.fbw-reply label { font-size: 16px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.fbw-reply input { font: inherit; font-size: 18px; padding: 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; width: 100%; box-sizing: border-box; }
.fbw-reply .btn { margin-top: 8px; }
.fbw-err { color: var(--bad); font-weight: 700; margin: 0; font-size: 17px; }
.fbw-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fbw-thanks { background: var(--win-bg); color: var(--win); border: 1px solid #A7F3D0; border-radius: 14px; padding: 16px; font-size: 18px; }
.fbw-thanks b { display: block; font-size: 22px; font-family: 'Barlow Semi Condensed', sans-serif; }
.fbw-done { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; }
.fbw-done-i { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 17px; }
.fbw-done-i:last-child { border-bottom: 0; }
.fbw-done-i .t { width: 26px; height: 26px; border-radius: 50%; background: var(--win); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.fbw-done-i small { display: block; color: var(--muted); font-size: 15px; }
/* the first look's Suggestions classes (v1.10) are no longer used */
/* v1.10 Suggestions (feedback.php) */
.fb-form { display: grid; gap: 12px; }
.fb-kinds { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fb-kind { display: flex; gap: 8px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.fb-kind input { margin-top: 4px; accent-color: var(--navy); }
.fb-kind span { display: grid; gap: 1px; min-width: 0; }
.fb-kind b { font-size: 15px; }
.fb-kind small { color: var(--muted); font-size: 12px; }
.fb-kind:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; }
.fb-field { display: grid; gap: 4px; }
.fb-field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.fb-field input, .fb-field select, .fb-field textarea { font: inherit; font-size: 16px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%; box-sizing: border-box; }
.fb-field textarea { min-height: 120px; resize: vertical; }
.fb-opt { border: 1px dashed var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 8px; }
.fb-opt p { margin: 0; font-size: 14px; color: var(--muted); }
.fb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-err { color: #B42318; font-weight: 700; margin: 0; }
.fb-thanks { background: #E7F6EC; color: #15803D; border-radius: 12px; padding: 14px; }
.fb-thanks b { display: block; font-size: 18px; }
.fb-done { display: grid; gap: 8px; }
.fb-done-i { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; display: grid; gap: 2px; }
.fb-done-i small { color: #15803D; font-weight: 700; }
