/* LCCC: League of Competitive Chess Clubs
   "Official league" design system, black + gold (Nov 1, 2026). The --maroon* token names are kept for history; they now hold the black brand tones. Loads after styles.css + pages.css and
   re-skins every public page: maroon, gold and cream from the shield. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

:root {
    --maroon:       #141414;
    --maroon-deep:  #0E0E0E;
    --maroon-ink:   #080808;
    --gold:         #C9A227;
    --gold-ink:     #8A6A16;
    --gold-bright:  #DDB63A;
    --gold-soft:    #EAD9A0;
    --cream:        #F7F4EE;
    --cream-2:      #FCFBF8;

    /* remap the old editorial tokens so every page inherits the new palette */
    --ivory:        var(--cream);
    --paper:        var(--cream-2);
    --surface:      #ffffff;
    --ink:          #141414;
    --ink-soft:     #2B2A28;
    --muted:        #5C5852;
    --quiet:        #8C877F;
    --rule:         #E6E1D6;
    --rule-strong:  #CFC6B3;
    --amber:        var(--gold);
    --amber-dark:   var(--maroon);
    --amber-tint:   #F4EBCF;
    --board-light:  var(--gold-soft);
    --board-dark:   var(--maroon-ink);

    --display: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    --serif:   var(--display);
    --radius:  10px;
    --radius-sm: 6px;
    --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 1px 1px rgba(0,0,0,.04);
    --shadow-2: 0 10px 28px rgba(0,0,0,.10);
    --container: 1200px;
}

body { background: var(--cream); color: var(--ink); }
::selection { background: var(--gold-soft); color: #000; }
a:hover { color: var(--gold-ink); }

/* ── TYPE ─────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); letter-spacing: 0; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: .98; text-transform: uppercase; font-weight: 700; letter-spacing: .005em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.32rem; line-height: 1.15; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
h1 em, h2 em { font-style: normal; color: var(--gold); font-weight: inherit; }
p { color: var(--muted); }

.eyebrow {
    font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .16em;
    color: var(--gold-ink); gap: .6rem; margin-bottom: .8rem;
}
.eyebrow::before { width: 28px; height: 3px; background: var(--gold); transform: translateY(-3px); border-radius: 2px; }
.eyebrow .roman { color: var(--gold); }

.lede, .page-section .lede { color: var(--muted); font-size: 1.06rem; max-width: 70ch; }
.tablenote { color: var(--quiet); font-size: .9rem; }
.tablenote a, .lede a, p a, dd a, li a { color: var(--gold-ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ── HEADER ───────────────────────────────────────────────── */
.masthead {
    background: var(--maroon) !important;
    border-bottom: 3px solid var(--gold);
    backdrop-filter: none;
}
.masthead-inner { height: 72px; }
.brand { color: var(--cream); }
.brand-mark { height: 46px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.brand-text strong { font-family: var(--display); color: var(--cream); font-size: 1.45rem; letter-spacing: .06em; font-weight: 700; }
.brand-text small { font-family: var(--sans); color: var(--gold-soft); letter-spacing: .12em; font-size: .6rem; font-weight: 600; }
.brand:hover { color: var(--cream); }
.primary-nav { gap: 1.6rem; }
.primary-nav a { color: var(--cream); font-weight: 600; font-size: .9rem; letter-spacing: .01em; }
.primary-nav a:hover, .primary-nav a.active { color: #fff; }
.primary-nav a:not(.nav-cta)::after { background: var(--gold); height: 2px; bottom: -2px; }
.nav-cta {
    background: var(--gold) !important; color: var(--maroon-ink) !important;
    border-radius: var(--radius-sm) !important; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-bright) !important; color: var(--maroon-ink) !important; }
.menu-toggle span { background: var(--cream); }
@media (max-width: 860px) {
    .primary-nav { display: none; }
    .menu-toggle { display: flex; }
    .primary-nav.mobile-open {
        display: flex; position: absolute; top: 75px; left: 0; right: 0;
        background: var(--maroon-deep); flex-direction: column; align-items: flex-start;
        padding: 1.25rem var(--gutter) 1.5rem; gap: 1.1rem; border-bottom: 3px solid var(--gold);
        box-shadow: var(--shadow-2);
    }
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn { border-radius: var(--radius-sm); font-weight: 700; letter-spacing: .02em; }
.btn-primary { background: var(--maroon); color: var(--cream); }
.btn-primary:hover { background: var(--maroon-deep); color: #fff; }
.btn-secondary { border: 2px solid var(--maroon); color: var(--gold-ink); }
.btn-secondary:hover { background: var(--maroon); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--maroon-ink); }
.btn-gold:hover { background: var(--gold-bright); color: var(--maroon-ink); }
.btn-ghost-light { border: 2px solid rgba(243,237,223,.7); color: var(--cream); background: transparent; }
.btn-ghost-light:hover { background: var(--cream); color: var(--gold-ink); border-color: var(--cream); }
.btn-arrow::after { font-family: var(--sans); }

/* ── DARK BANDS (home hero, interior page heads) ─────────── */
.band-maroon, .hero.home-hero, .page-head {
    background:
        radial-gradient(ellipse 70% 90% at 100% 0%, rgba(196,154,58,.16), transparent 60%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
        linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 60%, var(--maroon-ink) 100%);
    color: var(--cream);
    border-bottom: 0;
}
.hero.home-hero::before { display: none; }
.page-head { padding: 3.6rem 0 2.8rem; }
.page-head h1, .hero.home-hero h1 { color: var(--cream); }
.page-head .standfirst, .hero.home-hero .hero-lede { color: rgba(243,237,223,.86); }
.page-head .standfirst a, .hero.home-hero .hero-lede a { color: var(--gold-soft); }
.page-head .dateline, .hero.home-hero .dateline { color: var(--gold-soft); font-family: var(--sans); font-weight: 600; letter-spacing: .16em; }
.page-head .dateline .dot, .hero.home-hero .dateline .dot { background: var(--gold); }
.page-head h1 em { color: var(--gold); }

/* ── SECTIONS + CARDS ─────────────────────────────────────── */
.page-section { padding: 3.5rem 0; }
.page-section + .page-section { border-top: 0; }
.page-section.alt, .home-sec.alt { background: var(--cream-2); }
.home-sec { padding: 4.25rem 0; }

.spec, .fixture, .checklist li, .step, .split > div, .road > div, .faq-item,
.pod-table, .join-card, .team-card, .notice, .rule-item, .pod-card, .stage .fixture {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
}
.spec-grid { gap: 1rem; }
.spec { padding: 1.3rem 1.3rem 1.2rem; border-top: 4px solid var(--maroon); }
.spec .label { font-family: var(--sans); font-weight: 700; color: var(--gold-ink); letter-spacing: .12em; }
.spec .value { font-family: var(--display); font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
.notice { border-left: 5px solid var(--gold); padding: 1rem 1.25rem; background: #fffaf0; }
.notice strong { color: var(--gold-ink); }

/* stage / fixture lists (calendar, rules) */
.stage { margin-top: 1.25rem; }
.stage-head { border-bottom: 3px solid var(--maroon); padding-bottom: .5rem; margin-bottom: .9rem; }
.stage-head h3 { text-transform: uppercase; letter-spacing: .02em; }
.stage-head .window { color: var(--gold-ink); font-family: var(--sans); font-weight: 700; letter-spacing: .1em; }
.fixture { margin-bottom: .6rem; padding: .95rem 1.1rem; border-top: 1px solid var(--rule); }
.fixture .weekend { font-family: var(--display); font-weight: 600; color: var(--gold-ink); text-transform: uppercase; font-size: 1.05rem; }
.fixture .pod-name { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.fixture .day-label { color: var(--gold); font-weight: 700; }
.status { background: #E9F2DE; color: #3E5A20; border-radius: 99px; padding: .15rem .6rem; font-weight: 700; }
.status.tbc { background: var(--amber-tint); color: var(--gold-ink); }

/* home schedule rows */
.sched { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
.sched-row { border-top: 1px solid var(--rule); }
.sched-head { background: var(--maroon); color: var(--cream); font-family: var(--sans); font-weight: 700; letter-spacing: .1em; border-top: 0; }
.sched-head span { color: var(--cream); }
.s-date { font-family: var(--display); font-weight: 600; color: var(--gold-ink); text-transform: uppercase; }
.s-pod { font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.s-ok { color: #3E5A20; font-weight: 700; }
.s-tbc { color: var(--gold-ink); font-weight: 700; }

/* checklist, steps, split, road */
.checklist li { padding: 1.3rem 1.4rem; }
.checklist li h3 { text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; }
.step { padding: 1.3rem 1.4rem; }
.step h3 { text-transform: uppercase; font-size: 1.1rem; }
.split > div { padding: 1.6rem; }
.split .amount { font-family: var(--display); color: var(--gold-ink); font-weight: 700; }
.split .who { color: var(--gold-ink); font-weight: 700; letter-spacing: .12em; }
.road > div { padding: 1.4rem; border-top: 4px solid var(--gold); }
.road strong { font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; color: var(--gold-ink); }
.road .r-when { color: var(--gold); font-weight: 700; }

/* tables */
.cost-table, .pod-standings-preview { background: var(--surface); }
.pod-standings-preview thead th, .cost-table thead th {
    background: var(--maroon); color: var(--cream); font-family: var(--sans); font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; font-size: .72rem;
}
.cost-table tr.total td { color: var(--gold-ink); font-weight: 700; border-top: 2px solid var(--maroon); }
.pod-table { overflow: hidden; padding: 0; margin-bottom: 1.5rem; }
.pod-table .stage-head { padding: 1rem 1.2rem .6rem; margin: 0; }
.table-wrapper, .table-wrap { border-radius: 0 0 var(--radius) var(--radius); }

/* rules list */
.rule-item { padding: 1rem 1.2rem; margin-bottom: .6rem; }
.rule-label { color: var(--gold-ink); font-family: var(--display); font-weight: 600; text-transform: uppercase; }

/* FAQ */
.faq { background: var(--cream-2); }
.faq-item { padding: 1.1rem 1.25rem; margin-bottom: .7rem; }
.faq-item dt { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--gold-ink); }

/* photo banner */
.photo-banner img { filter: saturate(.9) contrast(1.02); }
.photo-banner { border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }

/* CTA band + partner */
.cta-band {
    background:
        radial-gradient(ellipse 60% 120% at 0% 100%, rgba(196,154,58,.18), transparent 60%),
        linear-gradient(160deg, var(--maroon) 0%, var(--maroon-ink) 100%);
    color: var(--cream);
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(243,237,223,.85); }
.btn-cta { background: var(--gold); color: var(--maroon-ink); border-radius: var(--radius-sm); font-weight: 700; }
.btn-cta:hover { background: var(--gold-bright); color: var(--maroon-ink); }
.btn-cta-ghost { background: transparent; color: var(--cream); border: 2px solid rgba(243,237,223,.7); }
.btn-cta-ghost:hover { background: var(--cream); color: var(--gold-ink); }
.official-partner { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.official-partner .label { color: var(--gold-ink); font-weight: 700; }
.official-partner .visit { color: var(--gold-ink); }

/* forms */
.join-card { padding: 2rem; border-top: 5px solid var(--maroon); }
.form-control { background: #fff; border: 1.5px solid var(--rule-strong); border-radius: var(--radius-sm); }
.form-control:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(201,162,39,.3); }
.form-section-label, .form-eyebrow { color: var(--gold-ink); font-weight: 700; letter-spacing: .12em; }
.req { color: var(--gold-ink); }

/* team */
.team-card { overflow: hidden; }
.team-name { font-family: var(--display); text-transform: uppercase; }
.team-role { color: var(--gold-ink); font-weight: 700; }

/* standings medals */
.pod-standings-preview .medal { font-family: var(--display); }

/* ── FOOTER ───────────────────────────────────────────────── */
.colophon {
    background: linear-gradient(180deg, var(--maroon-ink), #2A0A10);
    border-top: 4px solid var(--gold);
    color: var(--cream);
}
.colophon h3, .colophon h4 { font-family: var(--display); color: var(--cream); text-transform: uppercase; letter-spacing: .04em; }
.colophon h4 { color: var(--gold); font-size: .95rem; }
.colophon p, .colophon li, .colophon small { color: rgba(243,237,223,.72); }
.colophon a:hover { color: var(--gold-soft); }
.colophon-brand .mark { height: 64px; width: auto; }
.colophon .domain { color: var(--gold-soft); }
.newsletter-form input { background: rgba(255,255,255,.08); border: 1px solid rgba(243,237,223,.25); color: var(--cream); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.newsletter-form button { background: var(--gold); color: var(--maroon-ink); font-weight: 700; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ═══ NEW HOME COMPONENTS ═════════════════════════════════════ */
.hero.home-hero { padding: 4.2rem 0 4.6rem; }
.home-hero .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: stretch; }
.home-hero h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); margin-bottom: 1.2rem; }
.home-hero .hero-lede { font-size: 1.1rem; max-width: 56ch; }
.home-hero .hero-shield { width: 92px; height: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.next-card {
    background: var(--cream-2); color: var(--ink); border-radius: var(--radius);
    border-top: 6px solid var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.28);
    padding: 1.6rem 1.6rem 1.3rem; display: flex; flex-direction: column;
}
.next-card .nc-label { font-family: var(--sans); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; color: var(--gold-ink); }
.next-card .nc-count { font-family: var(--display); font-weight: 700; color: var(--gold-ink); font-size: 3.6rem; line-height: 1; margin: .35rem 0 .2rem; display: flex; align-items: baseline; gap: .5rem; }
.next-card .nc-count small { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--muted); }
.next-card .nc-pod { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 1.6rem; color: var(--ink); margin-bottom: .6rem; }
.next-card .nc-facts { display: grid; gap: .45rem; margin: 0 0 1rem; }
.next-card .nc-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .6rem; border-top: 1px solid var(--rule); padding-top: .45rem; }
.next-card dt { font-weight: 700; color: var(--gold-ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.next-card dd { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.next-card .nc-link { margin-top: auto; font-weight: 700; color: var(--gold-ink); }

/* fall-round scoreboard */
.scoreboard-wrap { background: var(--maroon-ink); padding: 0 0 1.6rem; }
.scoreboard { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; transform: translateY(-1.4rem); }
.sb-card {
    background: var(--surface); border-radius: var(--radius); padding: 1rem 1.05rem 1.05rem;
    border-top: 5px solid var(--maroon); box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: .2rem;
    color: var(--ink); min-height: 150px;
}
.sb-card:hover { transform: translateY(-2px); transition: transform .15s ease; color: var(--ink); }
.sb-card.final { border-top-color: var(--gold); }
.sb-date { font-family: var(--display); font-weight: 600; color: var(--gold-ink); text-transform: uppercase; font-size: .95rem; letter-spacing: .03em; }
.sb-pod { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; }
.sb-host { font-size: .82rem; color: var(--quiet); }
.sb-line { margin-top: auto; font-size: .86rem; color: var(--ink-soft); }
.sb-line strong { color: var(--gold-ink); }
.chip { display: inline-block; align-self: flex-start; font-family: var(--sans); font-weight: 800; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; border-radius: 99px; padding: .2rem .55rem; }
.chip-final { background: var(--gold); color: var(--maroon-ink); }
.chip-next { background: var(--maroon); color: var(--cream); }
.chip-set { background: #E9F2DE; color: #3E5A20; }
.chip-tbc { background: var(--amber-tint); color: var(--gold-ink); }
.sb-foot { color: rgba(243,237,223,.75); font-size: .88rem; margin-top: -.4rem; }
.sb-foot a { color: var(--gold-soft); }

/* standings snapshot + join panel */
.hub { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; align-items: stretch; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.6rem; }
.panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 1rem; }
.mini-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mini h3 { text-transform: uppercase; font-size: 1.05rem; color: var(--gold-ink); border-bottom: 3px solid var(--maroon); padding-bottom: .35rem; margin-bottom: .4rem; display: flex; justify-content: space-between; align-items: baseline; }
.mini h3 span { font-family: var(--sans); font-size: .7rem; letter-spacing: .1em; color: var(--quiet); font-weight: 700; }
.mini ol { margin: 0; padding: 0; }
.mini li { display: grid; grid-template-columns: 1.6rem 1fr auto; align-items: center; gap: .5rem; padding: .42rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.mini li .pts { font-family: var(--display); font-weight: 600; color: var(--ink); }
.medal { display: inline-flex; width: 1.4rem; height: 1.4rem; border-radius: 50%; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: .75rem; color: #fff; background: var(--quiet); }
.medal.m1 { background: #C9A227; } .medal.m2 { background: #9AA3AD; } .medal.m3 { background: #B07A45; }
.mini li.champ { font-weight: 700; }
.panel-join {
    background:
        radial-gradient(ellipse 80% 80% at 100% 0%, rgba(196,154,58,.2), transparent 60%),
        linear-gradient(160deg, var(--maroon), var(--maroon-ink));
    color: var(--cream); border: 0;
}
.panel-join h2 { color: var(--cream); }
.panel-join p { color: rgba(243,237,223,.86); }
.panel-join ul { margin: 1rem 0 1.4rem; display: grid; gap: .55rem; }
.panel-join li { display: flex; gap: .6rem; color: var(--cream); font-size: .98rem; }
.panel-join li::before { content: "♜"; color: var(--gold); flex: none; }
.panel-join .btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ═══ EVENT PAGES ═════════════════════════════════════════════ */
.event-head .chip { margin-bottom: 1rem; }
.event-head .ev-sub { color: var(--gold-soft); font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: .03em; margin-top: -.3rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: -2.2rem; position: relative; }
.fact { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-2); padding: 1.1rem 1.2rem; border-top: 4px solid var(--maroon); }
.fact .k { font-family: var(--sans); font-weight: 800; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.fact .v { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--ink); line-height: 1.2; margin-top: .25rem; }
.fact .s { font-size: .88rem; color: var(--muted); margin-top: .2rem; }
.fact a { color: var(--gold-ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.ev-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; }
.ev-block h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 .8rem; }
.ev-list { display: grid; gap: .55rem; margin: 0; }
.ev-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink-soft); }
.ev-list li::before { content: ""; width: .5rem; height: .5rem; margin-top: .55rem; border-radius: 2px; background: var(--gold); flex: none; transform: rotate(45deg); }
.teams { display: flex; flex-wrap: wrap; gap: .5rem; }
.team-pill { background: var(--surface); border: 1px solid var(--rule); border-radius: 99px; padding: .35rem .8rem; font-weight: 600; font-size: .92rem; }
.team-pill.is-host { border-color: var(--gold); background: #fffaf0; }
.team-pill.is-host::after { content: " · Host"; color: var(--gold-ink); font-weight: 700; font-size: .75rem; letter-spacing: .06em; }
.results-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.results-table th { background: var(--maroon); color: var(--cream); text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .7rem .9rem; }
.results-table td { padding: .7rem .9rem; border-top: 1px solid var(--rule); }
.results-table td.n { font-family: var(--display); font-weight: 600; text-align: right; }
.results-table th.n { text-align: right; }
.ev-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.ev-nav a { background: var(--surface); border: 1px solid var(--rule); border-radius: 99px; padding: .4rem .9rem; font-weight: 700; font-size: .88rem; color: var(--gold-ink); }
.ev-nav a.on { background: var(--maroon); color: var(--cream); border-color: var(--maroon); }

/* events hub list */
.ev-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.ev-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.3rem; border-top: 5px solid var(--maroon); display: flex; flex-direction: column; gap: .35rem; color: var(--ink); }
.ev-card.final { border-top-color: var(--gold); }
.ev-card:hover { box-shadow: var(--shadow-2); color: var(--ink); }
.ev-card .sb-pod { font-size: 1.7rem; }
.ev-card .go { margin-top: auto; font-weight: 700; color: var(--gold-ink); padding-top: .6rem; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1080px) {
    .scoreboard { grid-template-columns: repeat(3, 1fr); }
    .hub { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .home-hero .hero-grid { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr 1fr; }
    .ev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .scoreboard { grid-template-columns: 1fr 1fr; }
    .mini-tables { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr; margin-top: -1.6rem; }
    .next-card .nc-facts div { grid-template-columns: 1fr; gap: .1rem; }
    .brand-text small { display: none; }
    .hero.home-hero { padding: 3rem 0 3.4rem; }
}
@media (max-width: 420px) {
    .scoreboard { grid-template-columns: 1fr; }
}

/* hero fixes over old editorial rules */
.hero.home-hero h1 em { color: var(--gold); font-style: normal; font-weight: 700; display: inline; }
.hero.home-hero .hero-lede strong { color: var(--cream); font-weight: 700; }
.next-card dt, .next-card dd { font-family: var(--sans); }
.road { border-top: 0; gap: 1rem; }
.road > div, .road > div + div { padding: 1.4rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.day-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.colophon li a, .colophon p a { text-decoration: none; }
.colophon-partner a { text-decoration: underline; }
@media (max-width: 760px) { .road > div, .road > div + div { padding: 1.2rem; } }

.page-head .chip-next, .page-head .chip-set, .page-head .chip-tbc { background: var(--gold); color: var(--maroon-ink); }
.page-head .chip-final { background: var(--cream); color: var(--gold-ink); }
.facts + * { margin-top: 0; }
.event-facts-sec { padding-bottom: 0 !important; }
.ev-block .results-table thead th { background: var(--maroon); color: var(--cream); font-family: var(--sans); font-weight: 700; letter-spacing: .1em; border: 0; }
.ev-block .results-table td { font-family: var(--sans); }
.fixture .host { font-family: var(--sans); text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .92rem; }

/* partners */
.partner-bar { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0 0 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid rgba(247,244,238,.14); }
.pbadge { display: flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.05); border: 1px solid rgba(201,162,39,.45); border-radius: var(--radius); padding: .75rem 1.1rem; color: var(--cream); }
.pbadge:hover { border-color: var(--gold); color: var(--cream); background: rgba(201,162,39,.08); }
.pbadge svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.pbadge small { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.pbadge strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; color: var(--cream); }
.partner-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.partner-card { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--rule); border-top: 5px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.5rem; color: var(--ink); }
.partner-card:hover { box-shadow: var(--shadow-2); color: var(--ink); }
.pc-icon { width: 64px; height: 64px; border-radius: 14px; background: var(--maroon); display: flex; align-items: center; justify-content: center; flex: none; }
.pc-icon svg { width: 36px; height: 36px; color: var(--gold); }
.pc-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold-ink); }
.partner-card h3 { text-transform: uppercase; font-size: 1.5rem; margin: .15rem 0 .4rem; }
.partner-card p { font-size: .96rem; margin-bottom: .6rem; }
.pc-go { font-weight: 700; color: var(--gold-ink); }
@media (max-width: 760px) { .partner-cards { grid-template-columns: 1fr; } .partner-card { flex-direction: column; } }
.partner-card { display: block; }
.pbadge { padding: .7rem 1.2rem; }

/* Partner logos (Nov 1) */
.pbadge { flex-direction: column; align-items: flex-start; gap: .45rem; padding: .8rem 1.2rem .9rem; }
.pbadge img { display: block; height: 44px; width: auto; }
.pbadge img.pb-usc { height: 62px; }
.pc-logo { background: var(--maroon); border-radius: calc(var(--radius) - 2px); height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; padding: 1.2rem; }
.pc-logo img { max-height: 76px; max-width: 78%; width: auto; height: auto; }
.pc-logo-light { background: #fff; border: 1px solid var(--rule); }
.pc-logo-light img { max-height: 112px; }
.partner-card p { margin-top: .4rem; }

/* SEO: page h1s that keep the look of a section h2 (Nov 8) */
.team-head h1, .join-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; font-weight: 600; }
.team-head h1 { margin-bottom: 1rem; }
.join-info h1 { margin-top: 1rem; margin-bottom: 1.5rem; }

/* High school chess guide + state club lists (Nov 8) */
.hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; margin-top: 1.4rem; }
.hs-grid a { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .7rem .9rem; border: 1px solid var(--line, #ddd6c8); background: #fff; color: var(--ink); text-decoration: none; }
.hs-grid a:hover { border-color: var(--gold, #c9a24a); }
.hs-grid span { font-size: .85rem; color: var(--muted, #6b6457); white-space: nowrap; }
.hs-cities { columns: 3 260px; column-gap: 2rem; }
.hs-city { break-inside: avoid; margin-bottom: 1.3rem; }
.hs-city h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.hs-city ul { list-style: none; padding: 0; margin: 0; }
.hs-city li { padding: .18rem 0; font-size: .98rem; }
.hs-tag { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; background: var(--ink, #16130f); color: var(--gold, #d9b45a); padding: .1rem .35rem; margin-left: .3rem; white-space: nowrap; }
.hs-states { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .8rem; font-size: .95rem; }
.hs-states a.on { font-weight: 700; text-decoration: none; }
.hs-faqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem 2rem; margin-top: 1.2rem; }
.hs-faq h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.hs-near { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem 1.5rem; }
.hs-near li { display: flex; flex-direction: column; padding: .55rem 0; border-bottom: 1px solid var(--line, #ddd6c8); }
.hs-near span { font-size: .85rem; color: var(--muted, #6b6457); }
.hs-city li a { color: inherit; }
.hs-about p { margin: 0 0 .8rem; }
.hs-title { display: flex; align-items: center; gap: 1rem; }
.hs-title h1 { margin: 0; }
.hs-logo { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; flex: none; }
.hs-facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1rem; margin: 0 0 1.2rem; font-size: .97rem; }
.hs-facts dt { color: var(--muted, #6b6457); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .15rem; }
.hs-facts dd { margin: 0; overflow-wrap: anywhere; }
.hs-photo { margin: 1rem 0; }
.hs-photo img { width: 100%; height: auto; display: block; }
.hs-photo figcaption { font-size: .85rem; color: var(--muted, #6b6457); margin-top: .35rem; }
@media (max-width: 560px) { .hs-logo { width: 52px; height: 52px; } .hs-facts { grid-template-columns: 1fr; gap: .1rem; } .hs-facts dd { margin-bottom: .5rem; } }
.club-search { position: relative; max-width: 560px; margin-top: 1.2rem; }
.club-search input { width: 100%; box-sizing: border-box; padding: .8rem 1rem; font-size: 1rem; border: 1px solid var(--line, #ddd6c8); border-radius: 8px; background: #fff; color: var(--ink, #16130f); }
.club-search input:focus { outline: 2px solid var(--gold, #c9a24a); outline-offset: 1px; }
.club-hits { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 4px); list-style: none; margin: 0; padding: .3rem 0; background: #fff; border: 1px solid var(--line, #ddd6c8); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.club-hits a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 1rem; color: var(--ink, #16130f); text-decoration: none; }
.club-hits li.on a, .club-hits a:hover { background: #f6f1e6; }
.club-hits span { color: var(--muted, #6b6457); font-size: .88rem; white-space: nowrap; }
.club-hits .none { padding: .55rem 1rem; color: var(--muted, #6b6457); }

/* Top nav: More menu */
.primary-nav { gap: 1.35rem; }
.nav-more { position: relative; }
.nav-more-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; font: inherit; font-family: var(--sans); color: var(--cream); font-weight: 600; font-size: .9rem; }
.nav-more-btn { display: flex; align-items: center; padding: 8px 2px; }
.nav-more-btn svg { display: block; }
.nav-more.open .nav-more-btn, .nav-more:hover .nav-more-btn { color: var(--gold); }
.nav-more-menu a.active { color: var(--gold); }
.nav-more-btn:hover { color: #fff; }
.nav-more-menu { display: none; position: absolute; right: -1rem; top: 100%; padding-top: 14px; min-width: 220px; z-index: 100; }
.nav-more-menu::before { content: ""; position: absolute; inset: 14px 0 0; background: var(--maroon-deep, #16130f); border: 1px solid rgba(217,180,90,.35); border-top: 3px solid var(--gold); box-shadow: 0 12px 28px rgba(0,0,0,.35); z-index: -1; }
.nav-more-menu a { display: block; padding: .6rem 1.1rem; white-space: nowrap; }
.nav-more-label { padding: .8rem 1.1rem .3rem; margin-top: .3rem; border-top: 1px solid rgba(217,180,90,.25); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.nav-more-menu a:first-child { margin-top: .4rem; }
.nav-more-menu a:last-child { margin-bottom: .4rem; }
.nav-more-menu a::after { display: none !important; }
.nav-more-menu a:hover { background: rgba(217,180,90,.12); }
@media (hover: hover) and (min-width: 861px) { .nav-more:hover .nav-more-menu { display: block; } }
@media (min-width: 861px) { .nav-more.open .nav-more-menu { display: block; } }
@media (max-width: 860px) {
    .primary-nav.mobile-open { gap: .95rem; max-height: calc(100vh - 80px); overflow-y: auto; }
    .nav-more { width: 100%; }
    .nav-more-btn { display: none; }
    .nav-more-menu { display: flex; flex-direction: column; position: static; padding: .9rem 0 0; margin-top: .1rem; border-top: 1px solid rgba(217,180,90,.3); gap: .95rem; min-width: 0; }
    .nav-more-menu::before { display: none; }
    .nav-more-menu a { padding: 0; margin: 0 !important; }
    .nav-more-menu a:hover { background: none; }
}

/* ── CLUB PAGES: each school in its own colors ─────────────── */
.sc-page .sc-head {
    background:
        radial-gradient(ellipse 60% 90% at 100% 0%, color-mix(in srgb, var(--sc2) 22%, transparent), transparent 65%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 16px),
        linear-gradient(160deg, color-mix(in srgb, var(--sc1) 88%, #fff) 0%, var(--sc1) 55%, color-mix(in srgb, var(--sc1) 70%, #000) 100%);
    padding: 3.2rem 0 4.6rem; position: relative; overflow: hidden;
}
.sc-head-in { display: flex; align-items: center; gap: 1.8rem; }
.sc-head h1 { margin: .2rem 0 .4rem; }
.sc-head .dateline { color: color-mix(in srgb, var(--sc2) 55%, #fff); }
.sc-head .dateline a { color: inherit; }
.sc-head .dateline .dot { background: var(--sc2); }
.sc-head .hs-tag { background: var(--sc2); color: var(--sc1); font-weight: 700; }
.sc-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(90deg, var(--sc2) 0 70%, #fff 70% 72%, var(--sc2) 72%); }
.sc-crest { flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.sc-crest-logo { width: 112px; height: 112px; border-radius: 18px; background: #fff; padding: 8px; border: 4px solid var(--sc2); display: grid; place-items: center; }
.sc-crest-logo img { width: 100%; height: 100%; object-fit: contain; }
.sc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: -2.6rem 0 0; position: relative; z-index: 2;
    background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); border-top: 5px solid var(--sc2); overflow: hidden; }
.sc-stats > div { padding: 1.1rem 1.2rem; border-right: 1px solid #eee7da; display: flex; flex-direction: column; gap: .2rem; }
.sc-stats > div:last-child { border-right: 0; }
.sc-stats b { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; color: var(--sc-ink); text-transform: uppercase; overflow-wrap: anywhere; }
.sc-stats span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #6b6457); }
.sc-body { padding-top: 2.6rem; }
.sc-page .sc-body .eyebrow { color: var(--sc-ink); }
.sc-page .sc-body .eyebrow::before { background: var(--sc2); }
.sc-page .sc-body p a, .sc-page .sc-body dd a { color: var(--sc-ink); text-decoration-color: var(--sc2); }
.sc-summary { font-size: 1.12rem; line-height: 1.65; }
.sc-panel { border-top: 5px solid var(--sc-p); }
.sc-page .sc-panel .btn { background: var(--sc1); border-color: var(--sc1); color: #fff; }
.sc-sws { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.sc-sw { display: inline-flex; align-items: center; gap: .4rem; }
.sc-sw i { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); display: inline-block; }
.sc-map { margin: 0 0 1.4rem; }
.sc-map svg { width: 100%; height: auto; display: block; }
.sc-state { fill: color-mix(in srgb, var(--sc-p) 9%, #f4efe4); stroke: color-mix(in srgb, var(--sc-p) 55%, #8a8274); stroke-width: 1.2; stroke-linejoin: round; }
.sc-dots circle { fill: color-mix(in srgb, var(--sc-p) 45%, #6b6457); opacity: .55; }
.sc-map figcaption { font-size: .8rem; color: var(--muted, #6b6457); margin-top: .4rem; }
.sc-src { font-size: .8rem; color: var(--muted, #6b6457); margin-top: -.6rem; }
.sc-page .hs-near a { color: var(--sc-ink); }
@media (max-width: 700px) {
    .sc-head { padding: 2.2rem 0 4rem; }
    .sc-head-in { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .sc-crest svg { width: 72px; height: 83px; } .sc-crest-logo { width: 84px; height: 84px; }
    .sc-stats { grid-template-columns: repeat(2, 1fr); }
    .sc-stats > div { border-bottom: 1px solid #eee7da; }
    .sc-stats b { font-size: 1.35rem; }
    .sc-stats > div:nth-child(2n) { border-right: 0; }
    .sc-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .sc-stats > div:nth-last-child(-n+2):nth-child(odd), .sc-stats > div:last-child { border-bottom: 0; }
}
/* club page results */
.sc-results h2 { margin-bottom: .4rem; }
.ev-titles { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ev-titles li { background: var(--sc1, var(--ink)); color: #fff; border-left: 4px solid var(--sc2, var(--gold)); padding: .35rem .7rem; font-size: .88rem; border-radius: 4px; }
.ev-wrap { overflow-x: auto; }
.ev-table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-top: .6rem; background: #fff; }
.ev-table th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6b6457); padding: .55rem .7rem; border-bottom: 2px solid var(--sc2, var(--gold)); }
.ev-table td { padding: .55rem .7rem; border-bottom: 1px solid #eee7da; vertical-align: top; }
.ev-table td.ev-d { white-space: nowrap; color: var(--muted, #6b6457); font-variant-numeric: tabular-nums; }
.ev-table a { color: var(--sc-ink, var(--gold-ink)); }
.ev-tag { display: inline-block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: .05rem .35rem; border-radius: 3px; background: #efe9dc; color: #5b5446; margin-left: .25rem; white-space: nowrap; }
.ev-tag.ev-host { background: var(--sc2, var(--gold)); color: var(--sc1, #000); font-weight: 700; }
.ev-tag.ev-uscf { background: #e3ebf5; color: #1f3a5c; }
.ev-more summary { cursor: pointer; margin: .8rem 0 .2rem; color: var(--sc-ink, var(--gold-ink)); font-weight: 600; }
@media (max-width: 600px) { .ev-table { font-size: .85rem; } .ev-table td, .ev-table th { padding: .45rem .4rem; } }
/* club highlights (left column) */
.hl-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; margin: .4rem 0 1.2rem; }
.hl-chips > div { background: #fff; border-radius: 10px; padding: .8rem .9rem; border-left: 4px solid var(--sc2, var(--gold)); box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.hl-chips b { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; color: var(--sc-ink, var(--ink)); }
.hl-chips span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6b6457); }
.hl-h { font-size: 1.05rem; margin: 1.2rem 0 .5rem; }
.hl-best { list-style: none; padding: 0; margin: 0; }
.hl-best li { display: flex; gap: .8rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px solid #eee7da; }
.hl-place { font-family: var(--display); font-size: 1.35rem; color: var(--sc-ink, var(--ink)); min-width: 3.2rem; }
.hl-seasons { list-style: none; padding: 0; margin: 0; }
.hl-seasons li { display: grid; grid-template-columns: 4.6rem 1fr auto; gap: .7rem; align-items: center; padding: .3rem 0; font-size: .9rem; }
.hl-s { color: var(--muted, #6b6457); font-variant-numeric: tabular-nums; }
.hl-bar { background: #ece6d8; border-radius: 4px; height: .7rem; overflow: hidden; }
.hl-bar i { display: block; height: 100%; background: var(--sc-p, var(--gold)); border-radius: 4px; }
.hl-n { font-size: .82rem; color: var(--muted, #6b6457); white-space: nowrap; }
.hs-about .sc-map { margin-top: 1.6rem; max-width: 520px; }
@media (max-width: 600px) { .hl-seasons li { grid-template-columns: 4rem 1fr; } .hl-n { grid-column: 2; } }
/* panel stays sticky only on screens tall enough to show all of it */
@media (min-width: 861px) and (min-height: 1000px) { .sc-page .sc-panel { position: sticky; top: 96px; align-self: start; } }
.sc-panel * + h2 { margin-top: 1.4rem; }
/* tournaments page */
.hs-city .ev-table { width: 100%; margin: .4rem 0 .3rem; }
.hs-city .note, .page-section .note { font-size: .85rem; color: var(--muted, #6b645b); }

/* ── SITE SEARCH (js/site-search.js) ─────────────────────── */
.ss-pill { display: inline-flex; align-items: center; gap: .5rem; height: 36px; padding: 0 .55rem 0 .75rem; min-width: 150px;
    color: rgba(255,255,255,.78) !important; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px; font-weight: 500 !important; font-size: .86rem !important; text-decoration: none; }
.ss-pill span { flex: 1; }
.ss-pill kbd { font: 600 .72rem/1 var(--sans); color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.25); border-radius: 4px; padding: .18rem .38rem; }
.ss-pill:hover { background: rgba(255,255,255,.12); border-color: var(--gold); color: #fff !important; }
.primary-nav a.ss-pill::after { display: none; }
.ss-icon { display: none; color: var(--cream); padding: .45rem; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; margin-left: auto; margin-right: .6rem; line-height: 0; }
@media (max-width: 1080px) { .ss-pill { min-width: 0; } .ss-pill span, .ss-pill kbd { display: none; } .ss-pill { width: 36px; justify-content: center; padding: 0; } }
@media (max-width: 860px) { .ss-icon { display: inline-flex; } .primary-nav .ss-pill { display: none; } }
html.ss-lock { overflow: hidden; }
.ss-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(12,10,8,.62); display: flex; justify-content: center; align-items: flex-start; padding: 9vh 16px 16px; }
.ss-overlay[hidden] { display: none; }
.ss-box { width: 100%; max-width: 640px; background: var(--paper, #fffdf8); color: var(--ink, #16130f); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.35); overflow: hidden; display: flex; flex-direction: column; max-height: 80vh; }
.ss-form { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line, #e5ddcc); color: var(--muted, #6b645b); }
.ss-form input { flex: 1; border: 0; outline: 0; font-size: 1.1rem; background: transparent; color: var(--ink, #16130f); min-width: 0; }
.ss-close { border: 1px solid var(--line, #e5ddcc); background: transparent; border-radius: 4px; font-size: .75rem; padding: .15rem .4rem; color: var(--muted, #6b645b); cursor: pointer; }
.ss-near { align-self: flex-start; margin: .7rem 1rem .2rem; border: 1px solid var(--gold, #b8902f); background: transparent; color: var(--gold-ink, #7a5c12); border-radius: 999px; padding: .3rem .8rem; font-weight: 600; font-size: .85rem; cursor: pointer; }
.ss-near:hover { background: var(--gold, #b8902f); color: var(--maroon-ink, #16130f); }
.ss-list { list-style: none; margin: 0; padding: .3rem 0; overflow-y: auto; }
.ss-list li a { display: grid; grid-template-columns: 6.2rem 1fr; column-gap: .7rem; padding: .55rem 1rem; text-decoration: none; color: inherit; }
.ss-list li a strong { font-weight: 650; }
.ss-list li a small { grid-column: 2; color: var(--muted, #6b645b); font-size: .82rem; }
.ss-list li.on a, .ss-list li a:hover { background: var(--cream-soft, #f6efe0); }
.ss-type { grid-row: span 2; align-self: center; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink, #7a5c12); }
.ss-none, .ss-all a { display: block; padding: .7rem 1rem; color: var(--muted, #6b645b); font-size: .92rem; }
.ss-all a { color: var(--gold-ink, #7a5c12); font-weight: 600; }
.ss-foot { margin: 0; padding: .55rem 1rem; border-top: 1px solid var(--line, #e5ddcc); font-size: .78rem; color: var(--muted, #6b645b); }
.ss-foot kbd { border: 1px solid var(--line, #e5ddcc); border-radius: 3px; padding: 0 .3rem; font-size: .75rem; }
@media (max-width: 620px) { .ss-overlay { padding-top: 12px; } .ss-box { max-height: 92vh; } .ss-list li a { grid-template-columns: 1fr; } .ss-type { grid-row: auto; } .ss-list li a small { grid-column: 1; } }
/* /search page */
.ss-form-page { background: #fff; border: 1px solid var(--line, #e5ddcc); border-radius: 10px; max-width: 640px; margin-top: 1rem; }
#ss-page .ss-near { margin: .8rem 0 0; }
#ss-page .ss-results { max-width: 760px; margin-top: 1rem; background: #fff; color: var(--ink, #16130f); border-radius: 10px; }
#ss-page .ss-results:empty { display: none; }
#ss-page .ss-results h2 { font-size: 1rem; margin: 0; padding: .9rem 1rem .2rem; color: var(--ink, #16130f); }
#ss-page .ss-results h2 span, .ss-count { color: var(--muted, #6b645b); font-weight: 400; }
.ss-count { padding: .8rem 1rem 0; margin: 0; font-size: .9rem; }

/* ── PHONE: keep wide tables inside their cards (Nov 14 layout audit) ── */
@media (max-width: 620px) {
    /* standings + event results: # / School / Wins / Points fit; games played and draws hide */
    .pod-standings-preview th:nth-child(3), .pod-standings-preview td:nth-child(3),
    .pod-standings-preview th:nth-child(5), .pod-standings-preview td:nth-child(5),
    .results-table th:nth-child(3), .results-table td:nth-child(3),
    .results-table th:nth-child(5), .results-table td:nth-child(5) { display: none; }
    .pod-standings-preview th, .pod-standings-preview td, .results-table th, .results-table td { padding-left: .45rem; padding-right: .45rem; }
    /* schools table: school, members, ready, could host */
    table.schools th:nth-child(2), table.schools td:nth-child(2),
    table.schools th:nth-child(3), table.schools td:nth-child(3),
    table.schools th:nth-child(6), table.schools td:nth-child(6) { display: none; }
    table.schools th, table.schools td { padding: .55rem .45rem; font-size: .86rem; }
    table.schools th { white-space: normal; letter-spacing: .06em; font-size: .6rem; }
    /* tournaments page: let long names wrap, tighter cells */
    .hs-city .ev-table { table-layout: fixed; font-size: .86rem; }
    .hs-city .ev-table th, .hs-city .ev-table td { padding: .45rem .35rem; overflow-wrap: anywhere; }
    .hs-city .ev-table th:first-child, .hs-city .ev-table td:first-child { width: 44%; }
}
/* club page: embeddable badge */
.badge-box { margin-top: 1rem; border-top: 1px solid var(--line, #e5ddcc); padding-top: .8rem; }
.badge-box summary { cursor: pointer; font-weight: 600; color: var(--gold-ink, #7a5c12); }
.badge-box img { display: block; margin: .7rem 0 .2rem; max-width: 100%; height: auto; }
.badge-box textarea { width: 100%; box-sizing: border-box; font: .78rem/1.4 ui-monospace, Menlo, monospace; padding: .5rem; border: 1px solid var(--line, #e5ddcc); border-radius: 6px; resize: vertical; }
.badge-copy { margin-top: .4rem; border: 1px solid var(--gold, #b8902f); background: transparent; color: var(--gold-ink, #7a5c12); border-radius: 999px; padding: .3rem .9rem; font-weight: 600; cursor: pointer; }

/* Team page: regional leads */
.team-sub { margin-top: 4rem; }
.team-sub h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.05; margin-bottom: .6rem; }
.team-initials { display: flex; align-items: center; justify-content: center; background: #111; }
.team-initials span { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold, #C9A227); letter-spacing: .04em; }
.team-school { font-size: .86rem; color: var(--ink-soft, #555); margin-top: .25rem; }
