/* Soda City Cribbage Club — site styles */
:root {
  --navy: #14284B;
  --navy-dark: #0E1D38;
  --gold: #C9A45C;
  --gold-text: #8A6A2B;
  --cream: #F7F2E7;
  --line: #E6DFCF;
  --text: #2B2B2B;
  --muted: #5A5A5A;
  --on-navy: #D9E0EC;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #fff; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold-text); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { display: block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; margin-bottom: 8px; }
.on-navy .eyebrow, .eyebrow.light { color: var(--gold); }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-block; font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8b774; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: var(--gold); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(201,164,92,.15); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 60px; height: 60px; object-fit: contain; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--navy); line-height: 1.1; display: block; }
.brand-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 700; font-size: 16px; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.main-nav a.btn { color: #fff; border-bottom: none; padding: 11px 20px; }
.main-nav a.btn[aria-current="page"] { background: var(--gold); color: var(--navy); }
.menu-toggle { display: none; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; min-height: 44px; padding: 0 14px; font: 700 15px var(--sans); color: var(--navy); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1160px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,40,75,.08); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .main-nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav li a.btn { margin-top: 12px; border-bottom: none; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 18px; }
}

/* Sections */
.section { padding: 80px 0; }
.section-cream { background: var(--cream); }
.section-navy, .on-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h1, .section-navy h2, .section-navy h3, .on-navy h1, .on-navy h2, .on-navy h3 { color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }

/* Hero */
.hero { background: var(--navy); padding: 48px 0 64px; text-align: center; color: var(--on-navy); }
.hero-banner { width: min(1040px, 100%); margin: 0 auto 36px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero h1 { color: #fff; }
.hero p { font-size: 1.2rem; max-width: 720px; margin: 0 auto 28px; }

.page-hero { background: var(--navy); color: var(--on-navy); padding: 64px 0; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 1.15rem; }

/* Next game strip */
.next-strip { background: var(--cream); border-bottom: 1px solid var(--line); padding: 24px 0; }
.next-inner { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.next-info { display: flex; align-items: center; gap: 14px; }
.next-info svg { width: 36px; height: 36px; flex-shrink: 0; }
.next-info strong { display: block; font-size: 1.3rem; color: var(--navy); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 6px 20px rgba(20,40,75,.06); }
.card p:last-child { margin-bottom: 0; }
.card-navy { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.card-navy h2, .card-navy h3 { color: #fff; }
.card-navy .eyebrow { color: var(--gold); }
.icon-box { width: 56px; height: 56px; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-box svg { width: 28px; height: 28px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* Welcome split */
.split { display: flex; align-items: center; gap: 64px; }
.split img { width: 300px; flex-shrink: 0; }
@media (max-width: 800px) { .split { flex-direction: column; gap: 28px; } .split img { width: 200px; } }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.info-table th { text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--navy); width: 34%; }

/* Lists */
.check-list, .plain-list { padding-left: 1.2em; }
.check-list li, .plain-list li { margin-bottom: .5em; }
ol.steps li { margin-bottom: .8em; }

/* Event cards */
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; }
.event + .event { margin-top: 20px; }
.event-date { background: var(--navy); color: #fff; border-radius: 12px; text-align: center; padding: 14px 8px; font-weight: 700; line-height: 1.2; }
.event-date .mon { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.event-date .day { display: block; font-family: var(--serif); font-size: 32px; }
.event h3 { margin-bottom: 6px; }
.event p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .event { grid-template-columns: 80px 1fr; } .event .btn { grid-column: 1 / -1; } }

/* Embeds */
.embed-box { border: 2px dashed #B8AE98; border-radius: var(--radius); background: #fff; padding: 40px 28px; text-align: center; color: var(--muted); }
.embed-box strong { display: block; color: var(--navy); font-size: 1.15rem; margin-bottom: 6px; }
.embed-frame { width: 100%; border: 0; border-radius: var(--radius); background: #fff; }

/* Register layout */
.register-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
@media (max-width: 960px) { .register-layout { grid-template-columns: minmax(0, 1fr); } }
.details-list { list-style: none; padding: 0; margin: 0; }
.details-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.details-list b { color: #fff; }
.stack > * + * { margin-top: 24px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: var(--on-navy); padding: 48px 0; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 72px; height: 72px; object-fit: contain; }
.footer-brand strong { font-family: var(--serif); font-size: 20px; color: #fff; display: block; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer-links a { color: var(--gold); font-weight: 700; }
.footer-links nav { display: flex; gap: 18px; }
@media (max-width: 700px) { .footer-links { align-items: flex-start; } }

/* Map */
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }

@media (max-width: 520px) { .brand-tag { display: none; } }

/* ---------- Results page ---------- */
.muted { color: var(--muted); }
.small { font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.results-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.results-bar h2 { margin-bottom: 4px; }
.results-bar p { margin: 0; }
.select-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
select { font: 700 16px var(--sans); color: var(--navy); background: #fff; border: 1px solid #CFC6B2; border-radius: 8px; min-height: 44px; padding: 0 36px 0 12px; max-width: 100%; }
select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; margin-bottom: 20px; }
.podium-spot { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 22px 18px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.podium-1 { order: 2; padding-block: 34px; border-top: 5px solid var(--gold); }
.podium-2 { order: 1; }
.podium-3 { order: 3; }
.podium-place { font-family: var(--serif); font-size: 28px; color: var(--gold); font-weight: 800; }
.podium-1 .podium-place { font-size: 38px; }
.podium-name { background: none; border: 0; padding: 0; font: 700 1.25rem var(--serif); color: #fff; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(201,164,92,.5); text-underline-offset: 4px; }
.podium-stat { font-size: 15px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .podium { grid-template-columns: minmax(0,1fr); } .podium-1, .podium-2, .podium-3 { order: 0; } }

.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.hl { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.hl-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.hl-value { font-size: 16px; line-height: 1.5; }
@media (max-width: 800px) { .highlights { grid-template-columns: minmax(0,1fr); } }

.table-card { padding: 8px 8px; }
.stats-table { font-variant-numeric: tabular-nums; }
.stats-table th, .stats-table td { white-space: nowrap; padding: 11px 12px; }
.stats-table .num { text-align: right; }
.stats-table tbody tr:hover { background: #FBF8F1; }
.stats-table .pos { color: #1F6B3A; font-weight: 700; }
.stats-table .neg { color: #A33B2B; font-weight: 700; }
.acc { font-size: 13px; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: 700 16px var(--sans); color: var(--navy); cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--gold-text); text-decoration: underline; }
.grp { display: inline-block; min-width: 32px; text-align: center; border-radius: 999px; padding: 2px 8px; color: var(--muted); }
.grp-on { background: #E4EFD9; color: #1F5A2E; font-weight: 700; }
.sort-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.sortable th[aria-sort="descending"], .sortable th[aria-sort="ascending"] { color: var(--navy); }

.leaders { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 20px 0 24px; }
.leader { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.leader-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.leader-value { font-family: var(--serif); font-size: 32px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.leader-name { font-size: 15px; }
@media (max-width: 1000px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.h2h-pickers { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 12px 0 20px; }
.h2h-pickers .select-label { flex: 1 1 160px; }
.h2h-pickers select { width: 100%; }
.h2h-vs { font-family: var(--serif); font-weight: 700; color: var(--muted); padding-bottom: 10px; }
.h2h-score { display: flex; align-items: center; justify-content: center; gap: 18px; background: var(--navy); color: var(--on-navy); border-radius: 12px; padding: 20px; }
.h2h-side { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.h2h-name { font-weight: 700; font-size: 15px; }
.h2h-num { font-family: var(--serif); font-size: 48px; font-weight: 800; color: #fff; line-height: 1; }
.h2h-side.ahead .h2h-num { color: var(--gold); }
.h2h-dash { font-size: 32px; color: var(--gold); }
.h2h-note { margin: 12px 0 6px; color: var(--muted); }
.h2h-games { margin: 0; padding-left: 1.2em; font-size: 15px; }

.pc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pc-head h3 { margin: 0; font-size: 1.75rem; }
.pc-rank { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 12px; }
.pc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.pc-stat { background: var(--cream); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.pc-stat b { font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .pc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pc-line { margin: 0 0 10px; font-size: 16px; }
.pc-sub { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin: 14px 0 6px; }
.pc-opp ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.pc-opp li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.hl-list { font-size: 14px; color: var(--muted); }
.sortable th, .sortable td { padding: 10px 8px; font-size: 15px; }
.season-pick { align-items: center; margin: 24px auto 0; color: var(--gold); }
.season-pick select { min-width: 220px; }
.champion { margin: 28px auto 0; max-width: 640px; border: 1px solid rgba(201,164,92,.5); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,.04); }
.champion strong { font-family: var(--serif); font-size: 2rem; color: #fff; }
.champion span:last-child { color: var(--on-navy); font-variant-numeric: tabular-nums; }
.sortable th, .sortable td { padding: 10px 6px; font-size: 14px; }

/* ---------- Awards page ---------- */
.award-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.award-jump a { color: #fff; text-decoration: none; border: 1px solid var(--gold); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 15px; }
.award-jump a:hover { background: rgba(201,164,92,.15); color: #fff; }
.award-head h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.award-count { background: var(--gold); color: var(--navy); font: 700 15px var(--sans); border-radius: 999px; padding: 3px 12px; }
.award-head p { margin: 0 0 24px; }
.award-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.award-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(20,40,75,.06); display: flex; flex-direction: column; }
.award-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.award-noimg { aspect-ratio: 4 / 3; max-width: 100%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font: 800 44px var(--serif); }
.award-body { padding: 14px 16px 16px; }
.award-body h3 { font-size: 1.2rem; margin: 0 0 2px; }
.award-date { margin: 0; color: var(--muted); font-size: 15px; }
.award-detail { margin: 6px 0 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.award-empty { color: var(--muted); font-style: italic; }
.award-empty { grid-column: 1 / -1; }
.main-nav a { white-space: nowrap; }
@media (min-width: 1161px) { .main-nav ul { gap: 20px; } }

.award-card img { object-position: center 30%; }
#hands-28 .award-card img, #hands-29 .award-card img { aspect-ratio: 3 / 4; object-position: center 60%; }
.club-photo { margin: 0; flex: 0 0 min(520px, 100%); }
.club-photo img { width: 100%; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(20,40,75,.15); }
.club-photo figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.event-photo { max-width: 620px; margin: 40px auto 0; }
@media (max-width: 800px) { .split .club-photo { flex-basis: auto; width: 100%; } }

/* ACC rules section (New Players) */
.rules-grid .card h3 { font-size: 1.15rem; margin-bottom: .6em; }
.rules-grid .card h3 + ul + h3, .rules-grid .card ul + h3 { margin-top: 1.1em; }
.rules-grid .plain-list { font-size: .96rem; }
.rules-grid .card-navy .plain-list b { color: var(--gold); }
.section-head .btn { margin-top: 6px; }
.judge-card { margin-top: 28px; }
@media (min-width: 901px) { .judge-card .plain-list { columns: 2; column-gap: 48px; } .judge-card li { break-inside: avoid; } }

/* Code of Congeniality (New Players) */
.section-tight { padding-top: 0; }
.congeniality { padding: 40px 44px; }
.congeniality h2 { margin-bottom: .4em; }
.congeniality .lead-in { font-style: italic; color: var(--gold); margin: 1.2em 0 .6em; }
.pledge-list { list-style: none; padding: 0; margin: 0; }
.pledge-list li { position: relative; padding-left: 34px; margin-bottom: 1em; }
.pledge-list li::before { content: "♥"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 1.1em; }
.pledge-list li b { color: #fff; }
.pledge-list li span { display: block; opacity: .85; margin-top: .25em; font-size: .95rem; }
@media (max-width: 600px) { .congeniality { padding: 28px 22px; } }

/* Director roles (About) */
.role-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.role-list li { position: relative; padding: .45em 0 .45em 26px; border-bottom: 1px solid rgba(20,40,75,.1); font-weight: 700; color: var(--navy); }
.role-list li:last-child { border-bottom: 0; }
.role-list li::before { content: "♠"; position: absolute; left: 0; color: var(--gold); }

/* eCrib+ promo */
.ecrib-band { background: radial-gradient(ellipse at 25% 50%, #4a3222 0%, #2a1c14 55%, #1d130d 100%); color: #eadfcf; padding: 72px 0; }
.ecrib-inner { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 56px; align-items: center; }
.ecrib-logo img { width: 100%; height: auto; filter: drop-shadow(0 12px 28px rgba(0,0,0,.55)); transition: transform .2s; }
.ecrib-logo:hover img { transform: scale(1.03); }
.ecrib-band .eyebrow, .ecrib-card .eyebrow { color: #E8B84A; }
.ecrib-band h2 { color: #fff; margin-bottom: .4em; }
.ecrib-band p { font-size: 1.1rem; }
.ecrib-points { list-style: none; padding: 0; margin: 1em 0 1.6em; }
.ecrib-points li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.ecrib-points li::before { content: "+"; position: absolute; left: 4px; top: -3px; color: #F2C12E; font-weight: 800; font-size: 1.35em; }
.btn-ecrib { background: linear-gradient(180deg,#F5CD4B,#D9A21E); color: #2a1c14; border: 0; font-weight: 800; box-shadow: 0 6px 18px rgba(217,162,30,.35); }
.btn-ecrib:hover { background: linear-gradient(180deg,#FFD95E,#E5AE28); color: #2a1c14; }
.ecrib-card { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 32px; align-items: center; background: linear-gradient(135deg,#3a281b,#1f150e); color: #eadfcf; border-radius: 18px; padding: 32px 36px; }
.ecrib-card img { width: 100%; height: auto; }
.ecrib-card h2 { color: #fff; font-size: 1.6rem; margin-bottom: .35em; }
@media (max-width: 800px) {
  .ecrib-band { padding: 52px 0; }
  .ecrib-inner, .ecrib-card { grid-template-columns: minmax(0,1fr); gap: 20px; text-align: center; }
  .ecrib-logo img { max-width: 240px; margin: 0 auto; display: block; }
  .ecrib-card img { max-width: 240px; margin: 0 auto; }
  .ecrib-points { display: inline-block; text-align: left; }
  .ecrib-card { padding: 28px 22px; }
}

/* Tournaments dropdown */
.main-nav ul { gap: 22px; }
.main-nav .has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle { background: none; border: 0; padding: 4px 2px 6px; cursor: pointer; color: var(--text); display: inline-flex; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.sub-menu { list-style: none; position: absolute; top: 100%; left: -16px; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 32px rgba(20,40,75,.14); padding: 8px !important; margin-top: 10px !important; display: none !important; flex-direction: column; align-items: stretch !important; gap: 0 !important; z-index: 60; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; border-bottom: 0 !important; font-weight: 700; white-space: nowrap; }
.sub-menu a:hover { background: var(--cream, #F6F1E7); color: var(--navy); }
@media (min-width: 1161px) {
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { display: flex !important; }
  .has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
}
@media (max-width: 1160px) {
  .main-nav .has-sub { flex-wrap: wrap; }
  .main-nav .has-sub > a { flex: 1; }
  .sub-toggle { padding: 12px; }
  .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
  .sub-menu { position: static; box-shadow: none; border: 0; min-width: 0; width: 100%; margin: 0 !important; padding: 0 0 6px 16px !important; }
  .has-sub.open .sub-menu { display: flex !important; }
  .sub-menu a { padding: 12px 4px; border-bottom: 1px solid var(--line) !important; border-radius: 0; white-space: normal; font-weight: 400; }
}

/* Tournaments page */
.section-tight-bottom { padding-bottom: 0; }
.tourney-jump { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.tourney-jump a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 18px 18px 20px; color: var(--text); transition: transform .15s, box-shadow .15s; }
.tourney-jump a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,40,75,.1); }
.tourney-jump b { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.tourney-jump span:last-child { font-size: .93rem; }
.tourney-sec { scroll-margin-top: 90px; }
.tourney-date { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-top: -.2em; }
.tourney-split { align-items: center; }
.tourney-split .club-photo { flex: 0 0 46%; margin: 0; }
.tourney-split .club-photo img { width: 100%; }
@media (max-width: 900px) { .tourney-jump { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 800px) { .tourney-split .club-photo img { width: 100%; } }
.brand-name { white-space: nowrap; }
@media (min-width: 1161px) {
  .tag-sep { display: none; } .tag-city { display: block; }
  .main-nav ul { gap: 18px; } .main-nav a { font-size: 15px; }
  .main-nav a.btn { padding: 10px 16px; }
}
@media (min-width: 1161px) {
  .header-inner { gap: 32px; }
  .main-nav .has-sub { align-items: flex-start; }
  .sub-toggle { padding: 3px 2px 0; }
}
@media (min-width: 1161px) { .main-nav .has-sub { margin-top: 6px; } }

/* ACC branding */
.acc-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0; }
.acc-inner { display: flex; align-items: center; gap: 28px; }
.acc-inner img { width: 96px; height: 96px; border-radius: 50%; display: block; flex: none; }
.acc-inner > div { flex: 1; }
.acc-inner p { margin: .2em 0 0; }
.acc-inner .btn { flex: none; }
.acc-mark { width: 80px; height: 80px; border-radius: 50%; display: block; margin: 0 auto 14px; }
.footer-brand { flex-wrap: wrap; }
.footer-acc { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-navy); margin-left: 20px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); font-size: 14px; line-height: 1.35; }
.footer-acc img { width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 3px; }
.footer-acc b { color: #fff; }
.footer-acc:hover b { color: var(--gold); }
@media (max-width: 800px) {
  .acc-inner { flex-direction: column; text-align: center; gap: 14px; }
  .footer-acc { margin: 16px 0 0; padding: 16px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); width: 100%; }
}
.acc-inner .acc-word img { width: 230px; height: auto; border-radius: 0; }
.footer-acc img { padding: 0; }
@media (max-width: 800px) { .acc-inner .acc-word img { width: 210px; } }

/* Past champions */
.champ-card { padding: 28px 32px; margin-bottom: 24px; }
.champ-card h3 { font-size: 1.5rem; margin-bottom: .8em; }
.champ-events { display: grid; gap: 22px; }
.champ-event h4 { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.champ-event h4 span { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--gold-text); }
.champ-div { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.champ-div:last-child { border-bottom: 0; }
.champ-div-name { font-weight: 700; color: var(--navy); }
.champ-div-name span { display: block; font-weight: 400; font-size: .85rem; color: var(--muted, #667); }
.champ-div ul { list-style: none; margin: 0; padding: 0; }
.champ-div li { margin: 0 0 6px; }
.champ-div .place { display: inline-block; min-width: 40px; margin-right: 8px; padding: 1px 8px; border-radius: 999px; font-size: .8rem; font-weight: 800; text-align: center; background: #E9EDF4; color: var(--navy); }
.champ-div .place-1 { background: var(--gold); color: var(--navy); }
.champ-div .from { color: var(--muted, #667); font-size: .92rem; }
@media (max-width: 640px) { .champ-div { grid-template-columns: minmax(0,1fr); gap: 6px; } .champ-card { padding: 22px 18px; } }
.weekend { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 22px 0 16px; }
.weekend > div { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 16px; }
.weekend h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.weekend p { margin: 0; font-size: .93rem; }
@media (max-width: 700px) { .weekend { grid-template-columns: minmax(0,1fr); } }
.champ-note { margin: 14px 0 0; font-style: italic; }
@media (min-width: 900px) { .champ-events { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; } .champ-div { grid-template-columns: 130px minmax(0,1fr); } }
.champ-div li { display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 8px; align-items: start; margin-bottom: 10px; }
.champ-div li .place { grid-row: span 2; margin: 2px 0 0; min-width: 0; }
.champ-div li b { line-height: 1.3; }
.champ-div li .from { font-size: .85rem; line-height: 1.3; }
#champions .wrap { max-width: 1100px !important; }
[hidden] { display: none !important; }

/* ===== This week (home) ===== */
.section-head.tight { margin-bottom: 28px; }
.this-week-sec { padding-top: 56px; padding-bottom: 56px; }
.this-week { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.tw-tile { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 14px; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 18px rgba(20,40,75,.05); }
.tw-title { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); line-height: 1.2; }
.tw-title a { color: inherit; }
.tw-tile p { margin: 0; font-size: .95rem; flex: 1; }
.tw-tile .link-arrow { font-size: .9rem; margin-top: 6px; }
.tw-count { background: var(--navy); border-color: var(--navy); border-top-color: var(--gold); color: var(--on-navy); }
.tw-count .tw-title { color: #fff; font-size: 2rem; }
.tw-count .eyebrow { color: var(--gold); }
.tw-count .link-arrow { color: var(--gold); }
@media (max-width: 1000px) { .this-week { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .this-week { grid-template-columns: minmax(0,1fr); } }

/* ===== Shared ===== */
a.plink { color: inherit; text-decoration: underline; text-decoration-color: rgba(201,164,92,.7); text-underline-offset: 3px; }
a.plink:hover { color: var(--gold-text); }
.tag { display: inline-block; font-family: var(--sans); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #E9EDF4; color: var(--navy); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--navy); color: #fff; font-size: .85rem; letter-spacing: .03em; }
.data-table tbody th { color: var(--navy); white-space: nowrap; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table tr.current { background: #FBF7EE; }
.pos { color: #1F7A4A; } .neg { color: #B23B3B; }

/* ===== Records ===== */
.rec-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.rec-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.rec-card strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--navy); line-height: 1.1; margin: 6px 0 4px; }
.rec-card p { margin: 0; }
.boards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.boards h3 { margin-bottom: .2em; }
.board { list-style: none; padding: 0; margin: 12px 0 0; }
.board li { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.board li:last-child { border-bottom: 0; }
.board li:first-child .bpos { background: var(--gold); color: var(--navy); }
.bpos { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: #E9EDF4; color: var(--navy); font-weight: 800; font-size: .8rem; align-items: center; justify-content: center; }
.bval { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; }
.bval small { display: block; font-weight: 400; color: var(--muted, #667); font-size: .78rem; }
@media (max-width: 1000px) { .rec-cards { grid-template-columns: repeat(2, minmax(0,1fr)); } .boards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .rec-cards, .boards { grid-template-columns: minmax(0,1fr); } }

/* ===== Player profiles ===== */
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.dir-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 24px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.dir-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20,40,75,.1); }
.dir-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.initials { display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 1.8rem; border: 3px solid var(--gold); }
.dir-name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.dir-meta { font-size: .88rem; color: var(--muted, #667); }
.dir-badge { margin-top: 6px; font-size: .78rem; font-weight: 800; background: var(--gold); color: var(--navy); border-radius: 999px; padding: 3px 10px; }
.dir-badge.soft { background: #E9EDF4; }
.profile-hero { text-align: left; padding: 48px 0; }
.pr-head { display: flex; align-items: center; gap: 28px; }
.pr-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); flex: none; }
.pr-photo.initials { font-size: 3rem; }
.pr-head h1 { margin: 4px 0 8px; }
.back-link { color: var(--gold); font-weight: 700; font-size: .9rem; text-decoration: none; }
.back-link::before { content: "← "; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; }
.pr-honors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.honor { background: rgba(201,164,92,.18); color: #F3E3BE; border: 1px solid rgba(201,164,92,.5); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 700; }
.pr-tiles { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; margin-bottom: 36px; }
.pr-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.pr-tile strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--navy); }
.pr-tile span { font-size: .82rem; color: var(--muted, #667); }
.pr-h { font-size: 1.5rem; margin-bottom: 14px; }
.pr-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 32px; align-items: start; }
.pr-list { list-style: none; padding: 0; margin: 10px 0 0; }
.pr-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pr-list li:last-child { border-bottom: 0; }
.pr-list.rivals li { display: flex; justify-content: space-between; gap: 10px; }
.pr-list .place { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: #E9EDF4; color: var(--navy); }
.pr-list .place-1 { background: var(--gold); }
@media (max-width: 1000px) { .pr-tiles { grid-template-columns: repeat(3, minmax(0,1fr)); } .pr-cols { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 600px) { .pr-head { flex-direction: column; text-align: center; } .pr-meta, .pr-honors { justify-content: center; } .pr-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } .pr-photo { width: 104px; height: 104px; } }

/* ===== Gallery ===== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--navy); font: 700 .92rem var(--sans); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: #eee; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; display: block; }
.g-item:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(8,16,32,.85)); color: #fff; font-weight: 700; font-size: .9rem; text-align: left; }
.g-cap small { display: block; font-weight: 400; opacity: .85; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,14,28,.92); display: flex; align-items: center; justify-content: center; padding: 24px 64px; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 8px; }
.lb-cap { color: #fff; margin-top: 10px; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }
@media (max-width: 600px) { .lightbox { padding: 60px 8px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }
.pc-profile { margin: -4px 0 12px; }
.cluster-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 20px; margin: 4px 0 22px; }
.cluster-facts div { border-left: 3px solid var(--gold); padding-left: 12px; }
.cluster-facts dt { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.cluster-facts dd { margin: 2px 0 0; font-size: .95rem; }
.weekend-2 { grid-template-columns: minmax(0,1fr); gap: 10px; margin: 16px 0; }
.weekend-2 > div { padding: 10px 14px; }
@media (max-width: 500px) { .cluster-facts { grid-template-columns: minmax(0,1fr); } }
.bval.pos { color: #1F7A4A; } .bval.neg { color: #B23B3B; }
.data-table td, .data-table th { white-space: nowrap; }
.lightbox { z-index: 1000; }
@media (max-width: 600px) { .data-table th, .data-table td { padding: 10px 10px; font-size: .9rem; } }

/* Menus without arrows: hover/focus opens on desktop, sub-links always listed on phones */
.sub-toggle { display: none !important; }
@media (min-width: 1161px) {
  .main-nav .has-sub { margin-top: 0; align-items: center; }
  .main-nav .has-sub > a::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
  .main-nav .has-sub > a { position: relative; }
}
@media (max-width: 1160px) {
  .main-nav .sub-menu { display: flex !important; padding: 0 0 4px 18px !important; }
  .main-nav .sub-menu a { font-size: .95rem; padding: 10px 4px; color: var(--muted, #556); }
  .main-nav .has-sub > a { flex: 1 1 100%; }
}
@media (min-width: 1161px) { .main-nav .has-sub { margin-top: 6px; } }
.dir-avatar { border: 3px solid var(--gold); box-sizing: border-box; }
.champ-photos { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 10px; }
.champ-photo { display: block; width: 150px; text-decoration: none; color: var(--text); }
.champ-photo img { width: 150px; height: 190px; object-fit: cover; object-position: center 35%; border-radius: 10px; border: 2px solid var(--gold); display: block; transition: transform .15s; }
.champ-photo:hover img { transform: scale(1.03); }
.champ-photo span { display: block; font-size: .8rem; font-weight: 700; margin-top: 5px; color: var(--navy); line-height: 1.25; }
.champ-div li.has-thumb { grid-template-columns: 44px 58px minmax(0,1fr); align-items: center; margin-bottom: 12px; }
.champ-div li .champ-who { display: block; }
.champ-div li .champ-who b, .champ-div li .champ-who .from { display: block; }
.champ-div li:not(.has-thumb) .champ-who { grid-row: span 2; }
.champ-div li.has-thumb .place { grid-row: auto; }
.champ-thumb img { width: 52px; height: 64px; object-fit: cover; object-position: center 40%; border-radius: 8px; border: 2px solid var(--gold); display: block; transition: transform .15s; }
.champ-thumb:hover img { transform: scale(1.08); }
.g-item img { object-position: center 22%; }
/* Gallery: caption under the photo so it never covers faces; portrait photos get a taller tile */
.g-grid { align-items: start; }
.g-item { aspect-ratio: auto; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.g-item img { aspect-ratio: 4 / 3; height: auto; object-position: center 30%; }
.g-item.tall img { aspect-ratio: 4 / 5; object-position: center 34%; }
.g-cap { position: static; background: none; color: var(--navy); padding: 10px 12px 12px; font-size: .88rem; line-height: 1.3; }
.g-cap small { color: var(--muted, #667); opacity: 1; }
/* Past Champions: hover a thumbnail to see the full Winner's Circle photo */
.champ-thumb { position: relative; display: block; }
.champ-pop { display: none; position: absolute; z-index: 50; top: 50%; left: calc(100% + 12px); transform: translateY(-50%); width: 280px; padding: 6px; background: #fff; border: 2px solid var(--gold); border-radius: 12px; box-shadow: 0 18px 40px rgba(14,29,56,.3); pointer-events: none; }
.champ-pop img { width: 100% !important; height: auto !important; border: 0 !important; border-radius: 8px !important; object-fit: contain !important; transform: none !important; }
.champ-events > .champ-event:nth-child(2) .champ-pop { left: auto; right: calc(100% + 12px); }
@media (hover: hover) and (min-width: 900px) { .champ-thumb:hover .champ-pop, .champ-thumb:focus-visible .champ-pop { display: block; } }
/* Cluster schedule */
.sched-title { margin: 44px 0 16px; font-size: 1.5rem; }
.sched { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.sched-col { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 18px 20px; }
.sched-col h4 { font-family: var(--serif); color: var(--navy); font-size: 1.2rem; margin: 4px 0 2px; }
.sched-col .fee { font-weight: 800; color: var(--gold-text); margin: 0 0 6px; }
.sched-col ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: .93rem; }
.sched-col li { padding: 3px 0; border-bottom: 1px dashed var(--line); }
.sched-col ul:last-child { margin-bottom: 0; }
.sched-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 18px 0; font-size: .95rem; }
.travel { margin-top: 10px; }
.travel h4 { font-family: var(--serif); color: var(--navy); font-size: 1.2rem; margin: 0 0 6px; }
.reg-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.reg-card h2 { margin: 6px 0 10px; }
.reg-card hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0 20px; }
.btn-lg { font-size: 1.1rem; padding: 16px 28px; }
@media (max-width: 900px) { .sched { grid-template-columns: minmax(0,1fr); } }
.champ-28 { background: #FBF7EE; border-radius: 10px; padding: 10px 12px !important; margin-top: 6px; border-bottom: 0 !important; }
.champ-div .place-28 { background: var(--navy); color: var(--gold); }
.home-pair { align-items: stretch; }
.home-pair > .card { display: flex; flex-direction: column; align-items: flex-start; }
.home-pair > .card p { flex: 1; }
.footer-acc img[src*="ecribplus"] { background: transparent; }

/* Home: event banner (hidden automatically after data-until by js/home.js) */
.event-banner { background: var(--navy); color: #fff; border-top: 3px solid var(--gold); padding: 14px 0; }
.event-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.event-inner p { margin: 0; font-size: 1.05rem; }
.event-inner b { color: var(--gold); }
.event-tag { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.event-due { white-space: nowrap; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.weekend-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 700px) { .weekend-4 { grid-template-columns: minmax(0,1fr); } }
.podium-score { font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }

/* New Players: ACC Code of Ethics */
.ethics-card { padding: 28px 32px; }
.ethics-list { list-style: none; padding: 0; margin: 0; counter-reset: eth; }
.ethics-list li { counter-increment: eth; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px dashed var(--line); }
.ethics-list li:last-child { border-bottom: 0; }
.ethics-list li::before { content: counter(eth); position: absolute; left: 0; top: 9px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.ethics-close { margin-top: 20px; font-style: italic; text-align: center; color: var(--navy); }
@media (max-width: 600px) { .ethics-card { padding: 18px; } }

/* New Players: Cribbage Glossary */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.gl-board { margin: 8px auto 34px; max-width: 980px; display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.gl-track { position: relative; flex: 1 1 600px; display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(180deg, #b98a52, #9c6f3c); border-radius: 12px; padding: 14px 10px 46px; box-shadow: inset 0 2px 6px rgba(0,0,0,.25); }
.gl-track::before { content: ""; position: absolute; left: 10px; right: 10px; top: 58px; height: 8px; background: radial-gradient(circle, #3b2614 1.6px, transparent 2.2px) 0 0 / 8px 8px repeat-x; opacity: .7; }
.gl-street { position: relative; text-align: center; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .03em; padding: 6px 4px 22px; border-right: 2px dashed rgba(255,255,255,.35); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.gl-street:last-of-type { border-right: 0; }
.gl-street small { display: block; font-weight: 400; opacity: .9; }
.gl-mark { position: absolute; bottom: 8px; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.gl-mark b { color: var(--gold); margin-right: 4px; }
.gl-mark::after { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 14px; background: var(--navy); }
.gl-mark.m120 { transform: translateX(-90%); }
.gl-game { flex: 0 0 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--navy); color: #fff; border-radius: 12px; font-size: 13px; font-weight: 700; text-align: center; padding: 10px; }
.gl-game b { font-family: var(--serif); color: var(--gold); font-size: 2rem; line-height: 1; }
.gl-board figcaption { flex-basis: 100%; text-align: center; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.gl-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.gl-search { flex: 1 1 320px; max-width: 460px; }
.gl-search input { width: 100%; font: inherit; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.gl-search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.gl-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-letters button { font: inherit; font-weight: 700; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.gl-letters button:hover { background: var(--navy); color: var(--gold); }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gl-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 16px; box-shadow: 0 2px 8px rgba(20,40,75,.06); transition: transform .15s, box-shadow .15s; scroll-margin-top: 110px; }
.gl-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,40,75,.12); }
.gl-card.gl-wide { grid-column: span 2; }
.gl-pip { position: absolute; top: 12px; right: 14px; font-size: 20px; line-height: 1; }
.gl-pip.red { color: #B3261E; } .gl-pip.blk { color: var(--navy); }
.gl-card h3 { font-family: var(--serif); font-size: 1.2rem; margin: 0 28px 8px 0; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 6px; display: inline-block; }
.gl-card p, .gl-card li { font-size: .95rem; line-height: 1.5; margin: 0; }
.gl-sub { margin: 0; padding-left: 1.4em; } .gl-sub li { margin-bottom: .3em; }
.gl-note { font-style: italic; color: var(--gold-text); margin-bottom: 6px !important; }
.gl-runs { list-style: none; padding: 0; margin: 0; } .gl-runs li { padding: 6px 0; border-top: 1px dashed var(--line); } .gl-runs b { color: var(--navy); }
.gl-card.gl-hit, .gl-card.gl-flash { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.35); }
.gl-empty { text-align: center; color: var(--muted); margin-top: 18px; }
@media (max-width: 700px) {
  .gl-card.gl-wide { grid-column: auto; }
  .gl-track { grid-template-columns: repeat(2, 1fr); padding-bottom: 50px; }
  .gl-track::before { display: none; }
  .gl-street:nth-of-type(even) { border-right: 0; }
  .gl-street:nth-of-type(odd) { border-right: 2px dashed rgba(255,255,255,.35); }
  .gl-mark.m90 { left: 30% !important; } .gl-mark.m120 { left: 72% !important; transform: translateX(-50%); }
  .gl-mark::after { display: none; }
  .gl-game { flex-basis: 100%; flex-direction: row; gap: 10px; }
  .gl-letters button { width: 30px; height: 30px; font-size: 13px; }
}
/* Glossary board diagram (two rows of holes: 1–60 top, 61–120 bottom, 121 at the end) */
.gl-board2 { margin: 8px auto 34px; max-width: 1100px; }
.gl-board-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
.gl-board-svg { display: block; width: 100%; min-width: 760px; height: auto; }
.glb-street { font: 700 14px var(--sans); fill: var(--navy); }
.glb-range { font-weight: 400; fill: var(--gold-text); }
.glb-small { font: 700 12px var(--sans); fill: var(--navy); }
.glb-tag { font: 700 12px var(--sans); fill: #fff; }
.glb-note { font: italic 13px var(--sans); fill: var(--muted); }
.gl-board2 figcaption { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 10px; }
@media (max-width: 800px) { .gl-board2 figcaption::before { content: "Swipe to see the whole board. "; font-style: italic; } }
.np-jump { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px) { .np-jump { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .np-jump { grid-template-columns: minmax(0,1fr); } .np-jump a { padding: 12px 16px; } }
section[id] { scroll-margin-top: 90px; }

/* New Players: Weekly Entry Fees & Payouts */
.fees { max-width: 1000px; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.fee-split { display: grid; grid-template-columns: 180px 1fr; gap: 0 28px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px 30px; }
.fee-big { text-align: center; border-right: 1px solid rgba(255,255,255,.18); padding-right: 24px; }
.fee-big span { display: block; font-family: var(--serif); font-size: 3.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.fee-big small { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--on-navy); }
.fee-rows { list-style: none; margin: 0; padding: 0; }
.fee-rows li { display: flex; gap: 14px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.fee-rows li:last-child { border-bottom: 0; }
.fee-rows b { min-width: 52px; color: var(--gold); font-size: 1.15rem; }
.fee-rows a { color: #fff; }
.fee-foot { grid-column: 1 / -1; margin: 16px 0 0; text-align: center; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.fees-sub { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin: 36px 0 14px; }
.bonus-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.bonus { position: relative; padding: 22px 22px 18px; border-top: 4px solid var(--gold); scroll-margin-top: 100px; }
.bonus-icon { position: absolute; top: 16px; right: 18px; font-size: 26px; }
.bonus h4 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin: 0 36px 10px 0; }
.bonus .plain-list { font-size: .95rem; margin: 0; }
.bonus-lead { margin: 0 0 10px; }
.tie-list { margin: .4em 0 0; padding-left: 1.3em; }
.tie-list li { margin-bottom: .15em; }
.award-tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.award-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.award-tile .at-amt { font-family: var(--serif); font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.award-tile b { color: var(--navy); font-size: 1.1rem; }
.award-tile small { color: var(--muted); }
.award-tile.gold { background: var(--navy); border-color: var(--navy); }
.award-tile.gold .at-amt { color: var(--gold); } .award-tile.gold b { color: #fff; } .award-tile.gold small { color: var(--on-navy); }
.fees-note { margin-top: 22px; background: #fff; border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 18px; font-size: .95rem; }
@media (max-width: 800px) {
  .fee-split { grid-template-columns: 1fr; padding: 22px; }
  .fee-big { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 0 0 14px; margin-bottom: 8px; }
  .bonus-grid, .award-tiles { grid-template-columns: 1fr; }
}
.fees-solo { margin-top: 0; padding-top: 0; border-top: 0; }
.np-pair { align-items: stretch; }
@media (min-width: 1161px) { .main-nav > ul > li.has-sub:nth-last-child(-n+2) > .sub-menu { left: auto; right: -16px; } }

/* Home: club-night notice (hidden automatically after data-until by js/home.js) */
.notice-banner { background: #FFF4D6; border-bottom: 1px solid #E8D29A; padding: 12px 0; }
.notice-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.notice-inner p { margin: 0; color: var(--navy); font-size: 1.05rem; }
.notice-tag { background: #B3261E; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
