/* Senior Ryder Cup theme: white base, deep brown ink, gold used as a fill and a rule, never as body text. */
:root {
  --ink: #1f1a17; --ink-2: #3b3430; --muted: #6b6560; --line: #e5e3e1; --line-2: #efeeed; --soft: #f5f5f4;
  --accent: #2e1e13; --accent-ink: #fff; --accent-soft: #f0efee; --accent-2: #2e1e13;
  --gold: #cca643; --gold-deep: #8a6a14; --slate: #2d3239;
  --font-head: 'Roboto Slab', Georgia, serif; --font-body: 'Open Sans', system-ui, sans-serif;
  --radius: 6px; --radius-lg: 10px; --max: 1160px;
  --chart: #b8912a;
}
body { font-size: 15px; line-height: 1.6; font-feature-settings: normal; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.005em; }
a { color: var(--gold-deep); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 300; border-radius: 6px; }
.skip:focus { left: 8px; }
.btn { border-radius: var(--radius); font-weight: 600; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #2e1e13; }
.btn.gold:hover { background: #d8b34f; }
.btn.line { border-color: var(--accent); }
.chart .ln { stroke-width: 2.2; }

/* header */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr::before { content: ''; display: block; height: 3px; background: var(--gold); }
.hdr-in { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--accent); text-decoration: none !important; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { display: block; font: 800 17px/1 var(--font-head); letter-spacing: .02em; }
.brand small { display: block; font: 600 10.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.hdr .nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.hdr .nav a, .nav button.dd { all: unset; cursor: pointer; padding: 8px 12px; font: 600 14px var(--font-body); color: var(--ink-2); border-radius: 6px; position: relative; display: inline-flex; align-items: center; gap: 4px; }
.hdr .nav a:hover, .nav button.dd:hover, .nav .dd-wrap:focus-within > button { color: var(--accent); background: var(--soft); text-decoration: none; }
.hdr .nav a.on, .nav button.dd.on { color: var(--accent); }
.hdr .nav a.on::after, .nav button.dd.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 3px; background: var(--accent); }
.dd-wrap { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 6px; display: none; }
.dd-wrap:hover .dd-menu, .dd-wrap:focus-within .dd-menu { display: block; }
.dd-menu a { display: flex; width: 100%; box-sizing: border-box; }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { all: unset; display: none; cursor: pointer; padding: 8px; border-radius: 6px; }
.user-chip { display: flex; align-items: center; gap: 8px; }
.bell { all: unset; position: relative; cursor: pointer; padding: 8px; border-radius: 6px; display: grid; place-items: center; }
.bell:hover { background: var(--soft); }
.bell i { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--gold); color: #2e1e13; font: 700 10px/16px var(--font-body); text-align: center; font-style: normal; }

/* sections */
.sec { padding: 64px 0; }
.sec.tight { padding: 40px 0; }
.sec.soft { background: var(--soft); }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-h h2 { font-size: 30px; }
.sec-h p { margin: 6px 0 0; color: var(--muted); max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--accent); }
.link-arrow:hover { gap: 10px; text-decoration: none; }
.page-top { padding: 44px 0 28px; border-bottom: 1px solid var(--line); background: #fff; }
.page-top h1 { font-size: 38px; }
.page-top p { color: var(--muted); max-width: 62ch; margin: 10px 0 0; font-size: 16px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* hero */
.hero { padding: 56px 0 0; }
.hero-g { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; box-shadow: inset 0 -.28em 0 var(--gold); }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 46ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; background: #8fb37a; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: var(--radius-lg); padding: 14px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.hero-card .tag { font: 700 10.5px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.hero-card b { display: block; font: 700 15px var(--font-head); }
.hero-card small { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 56px; }
.stat { padding: 26px 24px 26px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 40px/1 var(--font-head); color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* lists */
.ev-list { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.ev { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none !important; }
.ev:last-child { border-bottom: 0; }
.ev:hover { background: #fafafa; }
.dtile { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 0 6px; background: #fff; }
.dtile b { display: block; font: 800 22px/1 var(--font-head); color: var(--accent); }
.dtile span { display: block; font: 700 10.5px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.dtile.today { background: var(--accent); border-color: var(--accent); }
.dtile.today b, .dtile.today span { color: #fff; }
.ev h4 { font: 700 16px var(--font-head); margin-bottom: 2px; }
.ev p { margin: 0; color: var(--muted); font-size: 13.5px; }
.ev .r { display: flex; align-items: center; gap: 12px; }
.div-code { display: inline-block; min-width: 34px; text-align: center; padding: 1px 7px; border-radius: 4px; background: var(--accent); color: #fff; font: 700 12px var(--font-body); letter-spacing: .04em; margin-right: 8px; vertical-align: 2px; }
.month-h { font: 700 13px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 22px 0 10px; }
.pill.final { background: var(--soft); color: var(--ink-2); }
.pill.awaiting, .pill.today { background: #fdf3d6; color: #7a5a00; }
.pill.gold { background: var(--gold); color: #2e1e13; }

/* ties */
.tie { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.tie-h { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 22px; }
.tie-h .tm { font: 700 17px var(--font-head); }
.tie-h .tm.r { text-align: right; }
.tie-h .tm small { display: block; font: 600 11px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.tie-h .tm.win { color: var(--accent); }
.tie-h .tm.lose { color: var(--muted); }
.score { font: 800 30px/1 var(--font-head); display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; color: var(--accent); }
.score i { font-style: normal; color: var(--line); }
.score.pending { font-size: 15px; color: var(--muted); font-weight: 600; font-family: var(--font-body); }
.pairs { width: 100%; border-collapse: collapse; font-size: 14px; border-top: 1px solid var(--line); }
.pairs td { padding: 11px 22px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.pairs tr:last-child td { border-bottom: 0; }
.pairs .no { width: 70px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pairs .p2 { text-align: right; }
.pairs .res { text-align: center; width: 110px; font-weight: 700; white-space: nowrap; }
.pairs .w { font-weight: 700; color: var(--accent); }
.pairs .res span { display: inline-block; padding: 2px 9px; border-radius: 11px; background: var(--soft); font-size: 12.5px; }
.pairs .res span.h, .pairs .res span.a { background: var(--accent); color: #fff; }
.mini-tie { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 9px 0; font-size: 14px; }
.mini-tie span:last-child { text-align: right; }
.mini-tie b { font: 800 15px var(--font-head); font-variant-numeric: tabular-nums; }
.res-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; background: #fff; color: inherit; text-decoration: none !important; display: block; }
.res-card:hover { border-color: #cfcbc8; }
.res-card .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: var(--muted); }

/* standings */
.st { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.st th { text-align: right; font: 700 11.5px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 11px 12px; border-bottom: 1px solid var(--line); }
.st th:nth-child(1), .st th:nth-child(2) { text-align: left; }
.st td { padding: 14px 12px; border-bottom: 1px solid var(--line-2); text-align: right; font-variant-numeric: tabular-nums; }
.st td:nth-child(1) { text-align: left; width: 44px; color: var(--muted); font-weight: 700; }
.st td:nth-child(2) { text-align: left; }
.st td.club { font-weight: 700; }
.st td.club a { color: var(--ink); }
.st td.club small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.st td.pts { font: 800 16px var(--font-head); color: var(--accent); }
.st tr.q td:first-child { box-shadow: inset 4px 0 0 var(--gold); }
.st tr.q td:first-child { color: var(--accent); }
.st tr:last-child td { border-bottom: 0; }
.legend { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--line); }
.legend i { width: 4px; height: 14px; background: var(--gold); display: inline-block; border-radius: 2px; }
.div-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.div-card header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.div-card header h3 { font-size: 18px; }
.div-card header small { color: var(--muted); }
.st-wrap { overflow-x: auto; }

/* timeline */
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.path > div { padding: 0 28px 0 0; position: relative; }
.path > div::before { content: ''; position: absolute; top: 15px; left: 34px; right: 0; height: 2px; background: var(--line); }
.path > div:last-child::before { display: none; }
.path .n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 14px var(--font-head); position: relative; z-index: 1; margin-bottom: 16px; }
.path .n.gold { background: var(--gold); color: #2e1e13; }
.path h4 { font-size: 17px; margin-bottom: 6px; }
.path p { color: var(--muted); font-size: 14px; margin: 0; }

/* cards */
.news-card { border-top: 2px solid var(--accent); padding-top: 16px; color: inherit; text-decoration: none !important; display: block; }
.news-card .meta { font: 600 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.news-card h3 { font-size: 20px; margin-bottom: 8px; }
.news-card:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.news-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.prose { max-width: 66ch; font-size: 16.5px; line-height: 1.75; }
.prose p { margin-bottom: 1.2em; }
.leader { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.leader:last-child { border-bottom: 0; }
.leader .rk { font: 800 15px var(--font-head); color: var(--gold-deep); }
.leader b { font-weight: 700; }
.leader small { display: block; color: var(--muted); }
.leader .pt { font: 800 18px var(--font-head); color: var(--accent); }
.sponsor-tier { margin-bottom: 40px; }
.sponsor-tier h3 { font: 700 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.sp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sp { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.sp .wm { font: 800 18px/1.15 var(--font-head); color: var(--accent); }
.sp p { margin: 0; color: var(--muted); font-size: 13.5px; }
.sp .offer { margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--gold-deep); }
.sp-strip { display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: center; }
.sp-strip span { font: 700 15px var(--font-head); color: #8a8582; }
.sp-grid.bronze { grid-template-columns: repeat(5, 1fr); }
.sp-grid.bronze .sp { min-height: 0; padding: 14px 16px; }
.sp-grid.bronze .wm { font-size: 14px; }

/* club map */
#map { height: 520px; border-radius: var(--radius-lg); border: 1px solid var(--line); z-index: 1; background: var(--soft); }
.clubs-g { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.club-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none !important; }
.club-row:hover { background: #fafafa; }
.club-row b { display: block; font-size: 14.5px; }
.club-row small { color: var(--muted); }
.club-list { max-height: 520px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* gallery */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.album { color: inherit; text-decoration: none !important; display: block; }
.album .cv { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.album img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.album:hover img { transform: scale(1.03); }
.album h3 { font-size: 18px; margin: 12px 0 2px; }
.album small { color: var(--muted); }
.photos { columns: 3; column-gap: 14px; }
.photos button { all: unset; cursor: zoom-in; display: block; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; width: 100%; }
.photos img { width: 100%; display: block; }
.lightbox { position: fixed; inset: 0; background: rgba(20,14,10,.92); z-index: 120; display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 6px; }
.lightbox button { all: unset; cursor: pointer; position: absolute; top: 16px; right: 20px; color: #fff; padding: 10px; }

/* faq */
details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { cursor: pointer; font: 700 17px var(--font-head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font: 400 24px/1 var(--font-body); color: var(--gold-deep); }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin: 12px 0 0; color: var(--ink-2); max-width: 70ch; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.board .p { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: flex; gap: 14px; align-items: center; background: #fff; }
.board b { display: block; }
.board small { color: var(--muted); }

/* auth */
.auth { min-height: calc(100vh - 71px); display: grid; place-items: center; padding: 40px 16px; background: var(--soft); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.demo-box { margin-top: 20px; border: 1px dashed #cfcbc8; border-radius: var(--radius); padding: 14px; font-size: 13px; color: var(--ink-2); }
.demo-box b { display: block; margin-bottom: 8px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.demo-box button { all: unset; cursor: pointer; display: flex; justify-content: space-between; width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 6px; }
.demo-box button:hover { background: var(--soft); }

/* captain */
.cap-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 36px 0 0; }
.cap-hero h1 { font-size: 32px; }
.cap-tabs { display: flex; gap: 4px; margin-top: 22px; overflow-x: auto; }
.cap-tabs a { padding: 12px 16px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; text-decoration: none !important; }
.cap-tabs a.on { color: var(--accent); border-bottom-color: var(--gold); }
.action-card { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-lg); }
.action-card b { display: block; }
.action-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.entry-pair { display: grid; grid-template-columns: 56px 1fr 1fr; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line-2); align-items: start; }
.entry-pair .no { font: 700 12px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 11px; }
.entry-side { display: grid; gap: 8px; }
.entry-side label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.entry-res { grid-column: 2 / -1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg-r { display: inline-flex; border: 1px solid #d0d5dd; border-radius: var(--radius); overflow: hidden; }
.seg-r label { cursor: pointer; }
.seg-r input { position: absolute; opacity: 0; }
.seg-r span { display: block; padding: 8px 14px; font-weight: 700; font-size: 13px; color: var(--ink-2); border-right: 1px solid #d0d5dd; background: #fff; }
.seg-r label:last-child span { border-right: 0; }
.seg-r input:checked + span { background: var(--accent); color: #fff; }
.seg-r input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: -2px; }
.entry-res input[type=text] { max-width: 150px; }
.sticky-bar { position: sticky; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 14px 0; z-index: 20; }
.notif { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.notif.unread { background: #fafafa; }
.notif .dotn { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-top: 7px; flex: none; }
.notif.read .dotn { background: var(--line); }
.notif b { display: block; }
.notif p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.notif small { color: var(--muted); }

/* footer */
.ftr { background: var(--accent); color: #d9d2cd; margin-top: 0; }
.ftr-in { max-width: var(--max); margin: 0 auto; padding: 56px 24px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr h5 { font: 700 11.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.ftr a { display: block; color: #d9d2cd; padding: 4px 0; font-size: 14px; }
.ftr a:hover { color: #fff; }
.ftr p { font-size: 14px; max-width: 34ch; }
.ftr .brand { color: #fff; margin-bottom: 14px; }
.ftr .brand small { color: #b5aca6; }
.ftr-bot { max-width: var(--max); margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: #a79e98; flex-wrap: wrap; }

/* bottom tab bar (installed app feel on phones) */
.tabbar { display: none; }

/* admin accents */
.is-admin .hdr, .is-admin .ftr, .is-admin .tabbar { display: none !important; }
.side-brand svg { width: 30px; height: 30px; }
.kpi b { color: var(--accent); }
.queue-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.queue-row:last-child { border-bottom: 0; }
.queue-row b { display: block; }
.queue-row small { display: block; color: var(--muted); font-size: 13px; }
.legend-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.legend-row i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.sched-note { font-size: 13px; color: var(--muted); }

@media (max-width: 1000px) {
  .hero-g { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 44px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sp-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-grid.bronze { grid-template-columns: repeat(3, 1fr); }
  .clubs-g { grid-template-columns: 1fr; }
  .board, .albums { grid-template-columns: 1fr 1fr; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .hdr .nav { display: none; }
  .menu-btn { display: grid; }
  body.menu-open .hdr .nav { display: flex; flex-direction: column; align-items: stretch; position: fixed; top: 71px; left: 0; right: 0; bottom: 0; background: #fff; padding: 12px 16px; overflow-y: auto; z-index: 55; margin: 0; }
  body.menu-open .hdr .nav a, body.menu-open .hdr .nav button.dd { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  body.menu-open .hdr .nav a.on::after { display: none; }
  body.menu-open .dd-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  body.menu-open .dd-wrap > button { pointer-events: none; }
}
@media (max-width: 720px) {
  .hdr-in { height: 60px; padding: 0 16px; gap: 12px; }
  .brand small { display: none; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 16px; }
  .sec { padding: 44px 0; }
  .sec-h h2 { font-size: 24px; }
  .page-top h1 { font-size: 30px; }
  .stat b { font-size: 30px; }
  .ev { grid-template-columns: 54px 1fr; gap: 14px; padding: 14px 16px; }
  .ev .r { grid-column: 2; }
  .tie-h { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .tie-h .tm.r { text-align: center; }
  .score { justify-content: center; }
  .pairs td { padding: 10px 14px; font-size: 13px; }
  .pairs .no { display: none; }
  .path { grid-template-columns: 1fr; gap: 24px; }
  .path > div::before { display: none; }
  .albums, .board { grid-template-columns: 1fr; }
  .photos { columns: 2; }
  .sp-grid, .sp-grid.bronze { grid-template-columns: 1fr 1fr; }
  .ftr-in { grid-template-columns: 1fr; padding-top: 40px; }
  .entry-pair { grid-template-columns: 1fr; padding: 16px; }
  .entry-pair .no { padding-top: 0; }
  .entry-res { grid-column: 1; }
  .st th, .st td { padding: 12px 8px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 70; padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; font: 600 10.5px var(--font-body); color: var(--muted); text-decoration: none !important; }
  .tabbar a.on { color: var(--accent); }
  .tabbar a.on .ic { color: var(--gold-deep); }
  body:not(.is-admin) main { padding-bottom: 64px; }
  .ftr { padding-bottom: 64px; }
  #map { height: 380px; }
}
