:root {
  --red: #e2132d;
  --red-dark: #c10f26;
  --ink: #051d37;
  --ink-2: #0e2a4a;
  --slate: #5d758f;
  --black: #151517;
  --paper: #f4f4f8;
  --text: #1b1b1d;
  --muted: #5e5f73;
  --line: #dcdce6;
  --win: #1f9d55;
  --loss: #6b6c85;
  --radius: 10px;
  --wrap: 1100px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: Oswald, Impact, sans-serif; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--red-dark); color: #fff; text-decoration: none;
  font-weight: 600; padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--red-dark);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { padding: .45em 1em; font-size: .9rem; }
.btn-lg { font-size: 1.15rem; padding: .9em 1.8em; word-break: break-all; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(5,29,55,.94); backdrop-filter: blur(8px); color: #fff; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: Oswald, sans-serif; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; }
.brand-logo { height: 46px; width: auto; filter: drop-shadow(0 0 1px rgba(255,255,255,.8)); }
.menu { display: flex; align-items: center; gap: 2px; }
.menu .top { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 6px; text-decoration: none; color: #dfe5ec; font: inherit; font-weight: 500; font-size: .93rem; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.menu .top:hover, .dd.open > .top { color: #fff; background: rgba(255,255,255,.08); }
.menu .top.active, .dd.active > .top { color: #fff; box-shadow: inset 0 -2px 0 var(--red); border-radius: 6px 6px 0 0; }
.dd { position: relative; }
.dd-btn svg { width: 10px; height: 6px; stroke: currentColor; stroke-width: 1.6; fill: none; transition: transform .15s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border-radius: 10px; padding: 6px; box-shadow: 0 14px 40px rgba(5,29,55,.25); }
.dd.open .dd-menu { display: block; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; }
.dd-menu a:hover { background: var(--paper); color: var(--red-dark); }
.dd-menu a.current { color: var(--red-dark); background: #fbeaec; }
.login-btn { margin-left: 10px; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 30%, rgba(93,117,143,.45), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    var(--ink);
  color: #fff; padding: 88px 0 72px; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-logo { order: 2; width: 100%; max-width: 440px; height: auto; justify-self: center;
  filter: drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 24px 40px rgba(0,0,0,.55)); }
.eyebrow { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin: 0 0 12px; }
.hero h1 { font-size: clamp(3.4rem, 12vw, 7.5rem); margin-bottom: .25em; }
.hero h1 span { color: var(--red); }
.lede { font-size: 1.2rem; max-width: 34ch; color: #d6d6d9; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.next-game {
  margin-top: 44px; display: inline-block; border-left: 4px solid var(--red);
  background: rgba(255,255,255,.06); padding: 14px 20px; border-radius: 0 var(--radius) var(--radius) 0;
}
.next-game p { margin: 0; }
.next-game .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 600; }
.ng-opp { font-family: Oswald, sans-serif; font-size: 1.6rem; text-transform: uppercase; }
.ng-meta { color: #c4c4c8; font-size: .95rem; }

/* Stats */
.stats-band { background: var(--red); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding-top: 22px; padding-bottom: 22px; }
.stats strong { display: block; font-family: Oswald, sans-serif; font-size: 2.2rem; line-height: 1.1; }
.stats span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.section-sub { color: var(--muted); margin: -.4em 0 28px; }
.empty { color: var(--muted); text-align: center; padding: 24px; }

/* Schedule */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.sched { width: 100%; border-collapse: collapse; min-width: 520px; }
.sched th, .sched td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sched th { background: var(--ink-2); color: #fff; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; font-size: .9rem; }
.sched tr:last-child td { border-bottom: 0; }
.sched tr.home td { font-weight: 600; }
.sched tr.home td:first-child { box-shadow: inset 4px 0 var(--red); }

/* Results */
.results { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.result { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.wl { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.result.w .wl { background: var(--win); }
.result.l .wl { background: var(--loss); }
.result.d .wl { background: var(--slate); }
.result.derby .wl { background: var(--red-dark); font-size: .75rem; }
a.result { text-decoration: none; color: inherit; transition: border-color .15s; }
a.result[href]:hover { border-color: var(--slate); }
.more-results { margin-top: 14px; grid-column: 1 / -1; justify-self: start; }
.team-pick select { font: inherit; font-size: .9rem; padding: .4em .8em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); }
.sched td small.muted { font-size: .78rem; white-space: nowrap; }
.opp { flex: 1; font-weight: 600; }
.opp small { display: block; color: var(--muted); font-weight: 400; }
.score { font-family: Oswald, sans-serif; font-size: 1.4rem; }

.sub-h { font-size: 1.3rem; margin: 36px 0 .6em; color: var(--ink); }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; background: #e8ecf2; color: var(--ink); padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.rteam { color: var(--red-dark) !important; font-weight: 600 !important; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; }

/* Team filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip { font: inherit; font-size: .9rem; font-weight: 500; padding: .45em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--slate); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* About */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.values { display: grid; gap: 14px; }
.value { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 18px 20px; }
.value h3 { font-size: 1.15rem; margin-bottom: .2em; color: var(--ink); }
.value p { margin: 0; color: var(--muted); }

/* Teams */
.teams { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.team { background: var(--ink); color: #fff; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.team::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; border: 14px solid rgba(226,19,45,.18); }
.team-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.team h3 { font-size: 1.5rem; margin: 0; }
.record { font-family: Oswald, sans-serif; font-size: 1.3rem; color: var(--red); }
.division { margin: 0; color: #a9b6c6; font-size: .9rem; }
.team-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0; }
.team-meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #8396ab; }
.team-meta dd { margin: 0; font-weight: 500; }
.team details { border-top: 1px solid rgba(255,255,255,.12); padding-top: 10px; }
.team summary { cursor: pointer; font-weight: 500; color: #d6dde6; }
.team details ul { margin: 8px 0 0; padding-left: 18px; columns: 2; color: #c4cfdc; font-size: .9rem; }
.link-btn { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 4px 0; color: #fff; font: inherit; font-weight: 600; cursor: pointer; border-bottom: 2px solid var(--red); }
.link-btn:hover { color: var(--red); }

/* Join */
.programs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-bottom: 48px; }
.program { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--paper); display: flex; flex-direction: column; }
.program h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: .3em; }
.program p { margin: 0 0 12px; color: var(--muted); }
.program .ages { color: var(--red-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 6px; }
.program .fee { margin: auto 0 0; color: var(--ink); font-weight: 600; }
.join-split { align-items: start; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 18px 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--red-dark); color: #fff; display: grid; place-items: center; font-family: Oswald, sans-serif; font-size: 1.1rem; }
.card { background: var(--ink); color: #fff; border-radius: 14px; padding: 28px; }
.training { list-style: none; padding: 0; margin: 0 0 22px; }
.training li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #c4cfdc; }
.training b { color: #fff; font-weight: 600; white-space: nowrap; }

/* News */
.news { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.news-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.news-item time { color: var(--red-dark); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.news-item h3 { font-size: 1.3rem; color: var(--ink); margin: .35em 0 .3em; }
.news-item p { margin: 0; color: var(--muted); }

/* Shop */
.shop { background: var(--red-dark); color: #fff; padding: 56px 0; }
.shop-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.shop h2 { margin-bottom: .2em; }
.shop p { margin: 0; opacity: .92; }
.shop .btn { background: #fff; color: var(--ink); border-color: #fff; }
.shop .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Committee */
.committee { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.member { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--paper); display: flex; flex-direction: column; }
.member .role { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.member span:last-child { font-weight: 600; }

/* Sponsors */
.sponsors { display: flex; flex-wrap: wrap; gap: 14px; }
.sponsor { display: flex; flex-direction: column; gap: 2px; padding: 18px 28px; border: 2px dashed var(--line); border-radius: var(--radius); background: #fff; }
.sponsor.linked { border-style: solid; }
.sponsor.linked:hover { border-color: var(--red); }
.s-name { font-weight: 600; text-decoration: none; color: var(--text); }
a.s-name:hover { color: var(--red-dark); }
.s-phone { font-size: .9rem; color: var(--muted); text-decoration: none; }
.s-phone:hover { color: var(--red-dark); text-decoration: underline; }

/* Contact */
.contact { background: var(--ink); color: #fff; text-align: center; }
.contact .section-sub { color: #a9a9ae; }
.socials { display: flex; gap: 20px; justify-content: center; margin-top: 24px; }
.socials a { color: #d6d6d9; }

/* Footer */
.footer { background: var(--black); color: #9aa3b0; font-size: .9rem; padding: 48px 0 0; }
.footer a { color: #c9d0da; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-grid > div > a:not(.btn) { display: block; padding: 4px 0; }
.footer p { margin: 0 0 6px; }
.f-name { color: #fff; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; margin-top: 10px !important; }
.f-h { color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: 10px !important; }
.footer .f-login { margin-top: 10px; color: #fff; }
.f-base { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 18px; padding-bottom: 22px; font-size: .82rem; color: #77808c; }

/* Page hero (inner pages) */
.page-hero { background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px), var(--ink); color: #fff; padding: 56px 0 48px; border-bottom: 4px solid var(--red); }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin-bottom: .2em; }
.page-hero .lede { margin: 0; max-width: 60ch; font-size: 1.1rem; }

/* Generic content */
.prose p, .prose li { line-height: 1.65; }
.prose h3 { margin-top: 1.4em; color: var(--ink); font-size: 1.2rem; }
.prose a, .muted a, .small a, .info-card a, .faq a, .card a:not(.btn) { color: var(--red-dark); font-weight: 500; }
.card a:not(.btn) { color: #fff; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; color: #a9b6c6; margin-top: 14px; }
.note { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #8a6d00; background: #fff4c2; border-radius: 4px; padding: 1px 6px; }
.mt { margin-top: 40px; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.row-head h2, .row-head h3 { margin-bottom: 0; }
.row-head .sub-h { margin-top: 36px; }
.more { color: var(--red-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.ticks { list-style: none; padding: 0; margin: 16px 0; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--red); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card p { color: #c4cfdc; }

/* Home quick links */
.quick { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.quick a { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; border-top: 4px solid var(--ink); transition: border-color .15s, transform .15s; }
.quick a:hover { border-top-color: var(--red); transform: translateY(-2px); }
.quick b { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 1.25rem; color: var(--ink); letter-spacing: .02em; }
.quick span { color: var(--muted); font-size: .92rem; }

/* Information */
.info-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.info-card h3 { color: var(--ink); font-size: 1.25rem; }
.info-card p { margin: 0 0 8px; color: var(--muted); }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--ink); }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Leagues */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.jump a { padding: .45em 1em; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 500; background: #fff; }
.jump a:hover { border-color: var(--red); color: var(--red-dark); }
.league { margin-bottom: 52px; scroll-margin-top: 80px; }
.league-head { border-left: 4px solid var(--red); padding-left: 14px; margin-bottom: 18px; }
.league-head h2 { margin-bottom: .1em; }
.league-head p { margin: 0; color: var(--muted); }
.team-meta .full { grid-column: 1 / -1; }
.teams-summary { margin: 0 0 14px; color: var(--muted); }
.teams-summary b { color: var(--ink); }
a.link-btn { text-decoration: none; }

/* Ladders */
.ladder { margin-bottom: 40px; }
.ladder h2 { font-size: 1.5rem; }
.lad-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.lad { width: 100%; border-collapse: collapse; min-width: 480px; font-variant-numeric: tabular-nums; }
.lad th, .lad td { padding: 11px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.lad th:nth-child(2), .lad td:nth-child(2) { text-align: left; width: 40%; }
.lad th { background: var(--ink-2); color: #fff; font-family: Oswald, sans-serif; font-weight: 500; letter-spacing: .05em; font-size: .9rem; }
.lad tr:last-child td { border-bottom: 0; }
.lad tr.us td { background: #fbeaec; font-weight: 600; }
.lad tr.us td:first-child { box-shadow: inset 4px 0 var(--red); }
.lad td a { color: var(--ink); font-weight: 600; text-decoration: none; }
.lad td a:hover { color: var(--red-dark); text-decoration: underline; }

/* Venues */
.venue { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 24px; scroll-margin-top: 80px; }
.venue-body { padding: 28px; }
.venue h2 { font-size: 1.6rem; }
.addr { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.map { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; background: #e8ecf2; }

/* Events */
.events { display: grid; gap: 12px; }
.event { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ev-date { flex: none; width: 64px; height: 64px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ev-date b { font-family: Oswald, sans-serif; font-size: 1.7rem; }
.ev-date span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #f2a0aa; margin-top: 3px; }
.ev-body h3 { margin: 4px 0 2px; font-size: 1.2rem; color: var(--ink); }
.ev-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.cal-frame { width: 100%; height: 760px; max-height: 80vh; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: block; }
/* Live club calendar */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#calendar[aria-busy="true"] { opacity: .6; transition: opacity .2s; }
.cal-msg { background: #fff4c2; color: #6b5500; border-radius: var(--radius); padding: 10px 14px; }
.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav h3 { margin: 0 6px; font-size: 1.6rem; color: var(--ink); min-width: 9.5em; text-align: center; }
.cal-nav button, .cal-views button, .cal-filter select { font: inherit; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; padding: 7px 12px; cursor: pointer; }
.cal-nav button[data-nav="-1"], .cal-nav button[data-nav="1"] { font-size: 1.2rem; line-height: 1; padding: 6px 12px; }
.cal-nav button:hover, .cal-views button:hover { border-color: var(--slate); }
.cal-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-views { display: inline-flex; }
.cal-views button { border-radius: 0; }
.cal-views button:first-child { border-radius: 8px 0 0 8px; }
.cal-views button:last-child { border-radius: 0 8px 8px 0; border-left: 0; }
.cal-views button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-key { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.cal-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cal-key .k-game::before { background: var(--ink); }
.cal-key .k-event::before { background: var(--red); }
.cal-key .hint { margin-left: auto; }
.cal-key .hint::before { display: none; }
.cal-grid-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-grid th { background: var(--ink-2); color: #fff; font-family: Oswald, sans-serif; font-weight: 500; letter-spacing: .06em; padding: 8px; font-size: .85rem; }
.cal-grid td { vertical-align: top; height: 112px; padding: 4px; border: 1px solid var(--line); }
.cal-grid td.out { background: #f7f8fb; }
.cal-grid td.out .dn { color: #b3b9c4; }
.cal-grid td.today { background: #fdf1f2; }
.cal-grid td.today .dn { background: var(--red-dark); color: #fff; }
.dn { display: inline-block; min-width: 24px; padding: 1px 6px; border-radius: 999px; font-weight: 600; font-size: .82rem; color: var(--ink); margin-bottom: 3px; }
.cal-chip { display: block; width: 100%; text-align: left; font: inherit; font-size: .74rem; line-height: 1.25; padding: 3px 6px; margin-bottom: 3px; border: 0; border-radius: 5px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-chip.is-game { background: #e6ebf2; color: var(--ink); border-left: 3px solid var(--ink); }
.cal-chip.is-event { background: #fbe3e6; color: #8d0b1c; border-left: 3px solid var(--red); }
.cal-chip:hover { filter: brightness(.95); }
.cal-chip .t { font-weight: 700; margin-right: 4px; }
.cal-more { font: inherit; font-size: .74rem; font-weight: 600; color: var(--red-dark); background: none; border: 0; padding: 2px 6px; cursor: pointer; }
.cal-list { display: grid; gap: 14px; }
.cal-day { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; scroll-margin-top: 80px; }
.cal-day.past { opacity: .72; }
.cal-day h4 { margin: 0 0 8px; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; color: var(--ink); }
.cal-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 4px; cursor: pointer; color: var(--text); }
.cal-row:first-of-type { border-top: 0; }
.cal-row:hover { background: var(--paper); }
.cal-row .time { flex: none; width: 64px; font-weight: 600; color: var(--ink); }
.cal-row.is-event .time { color: var(--red-dark); }
.cal-row .what { flex: 1; font-weight: 500; }
.cal-row .what small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.cal-row.is-event .what::before { content: "Event"; display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--red-dark); border-radius: 4px; padding: 1px 6px; margin-right: 8px; vertical-align: 1px; }
.cal-row .sc { font-family: Oswald, sans-serif; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.cal-dialog { border: 0; border-radius: 16px; padding: 26px 28px; width: min(480px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(5,29,55,.35); color: var(--text); }
.cal-dialog::backdrop { background: rgba(5,29,55,.55); }
.cal-dialog .x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }
.cal-dialog .kind { margin: 0; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.cal-dialog .kind.is-event { color: var(--red-dark); }
.cal-dialog h3 { margin: 4px 0 4px; font-size: 1.6rem; color: var(--ink); padding-right: 24px; }
.cal-dialog .when { margin: 0 0 12px; color: var(--muted); }
.cal-dialog .score { font-family: Oswald, sans-serif; font-size: 1.3rem; color: var(--ink); margin: 0 0 12px; }
.cal-dialog dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 8px; font-size: .92rem; }
.cal-dialog dt { color: var(--muted); }
.cal-dialog dd { margin: 0; font-weight: 500; }
@media (max-width: 760px) {
  .cal-nav h3 { min-width: 0; font-size: 1.3rem; }
  .cal-key .hint { margin-left: 0; width: 100%; }
  .cal-grid td { height: 76px; padding: 2px; }
  .cal-chip .t { display: none; }
  .cal-chip { font-size: .66rem; padding: 2px 4px; }
}
.small-muted { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.small-muted a { color: var(--red-dark); font-weight: 500; }

/* Resources */
.res-groups { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-bottom: 24px; }
.res-group { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.res-group h2 { font-size: 1.3rem; }
.res { list-style: none; margin: 0; padding: 0; }
.res li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.res li:last-child { border-bottom: 0; }
.res a { color: var(--red-dark); font-weight: 500; }
.res em { font-style: normal; font-size: .75rem; color: var(--muted); white-space: nowrap; }

/* Contacts */
.contact-main { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; }
.contact-main h2 { margin-bottom: .2em; font-size: 1.6rem; }
.contact-main p { margin: 0; }
.member a { color: var(--red-dark); font-size: .9rem; margin-top: 4px; word-break: break-all; }

/* Sponsors */
.tier { margin-bottom: 36px; }
.tier h3 { color: var(--ink); font-size: 1.3rem; }

/* Shop */
.shop-logo { width: 100%; max-width: 340px; height: auto; justify-self: center; }

/* Tablet nav */
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .menu {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 16px 18px; display: none; max-height: calc(100vh - 64px); overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .menu.open { display: flex; }
  .menu .top { width: 100%; justify-content: space-between; padding: 13px 4px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .menu .top.active, .dd.active > .top { box-shadow: none; color: var(--red); }
  .dd-menu { position: static; box-shadow: none; background: rgba(255,255,255,.04); padding: 4px 0 8px; border-radius: 0; }
  .dd-menu a { color: #dfe5ec; padding: 11px 16px; }
  .dd-menu a:hover, .dd-menu a.current { background: none; color: var(--red); }
  .login-btn { margin: 14px 0 0; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .two-col, .venue { grid-template-columns: 1fr; }
  .map { min-height: 240px; }
  .page-hero { padding: 40px 0 34px; }
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 32px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-logo { order: 0; max-width: 240px; }
  .section { padding: 52px 0; }
}
@media (max-width: 600px) {
  .table-scroll { border: 0; background: none; overflow: visible; }
  .sched { min-width: 0; }
  .sched thead { display: none; }
  .sched tbody { display: grid; gap: 10px; }
  .sched tr { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
  .sched tr.home { box-shadow: inset 4px 0 var(--red); }
  .sched td { border: 0; padding: 2px 0; }
  .sched tr.home td:first-child { box-shadow: none; }
  .sched td:nth-child(1), .sched td:nth-child(2) { font-weight: 600; color: var(--ink); }
  .sched td:nth-child(3) { grid-column: 1 / -1; order: -1; padding-bottom: 6px; }
  .sched td:nth-child(4) { grid-column: 1 / -1; font-size: 1.05rem; }
  .sched td:nth-child(5) { grid-column: 1 / -1; color: var(--muted); font-weight: 400; font-size: .9rem; }
  .sched td.empty { grid-column: 1 / -1; }
}
