:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --soft: #f3f2ef;
  --muted: #3d3d42;
  --red: #a8221c;
  --red-dark: #7d1913;
  --red-on-dark: #ff6a5c;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Barlow, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; }
img { max-width: 100%; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.eyebrow { display: block; color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.dark .eyebrow { color: var(--red-on-dark); }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -0.005em; }
h1 { text-transform: uppercase; } /* only the top headline in capitals */
h2 { font-size: clamp(36px, 5.5vw, 48px); letter-spacing: 0; }
h3 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 10px; font-weight: 700; font-size: 18px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2a2e; color: #fff; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d3d; display: inline-block; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } html { scroll-behavior: auto; } }

/* back to top: a round button in the corner once you've scrolled down */
.to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-dark); color: #fff; }
.to-top:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.to-top svg { width: 24px; height: 24px; }
/* header: sticky and slim. Computers (1024px and up): every link in a row, More, and Register on the right.
   Tablets (768–1023px): Live Scores, Register and a menu button. Phones: Register and a menu button. */
.top { background: var(--ink); color: #fff; border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 30; }
.top .wrap { max-width: 1480px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: auto; }
.brand b { white-space: nowrap; display: block; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: 0.02em; }
.brand small { display: block; font-size: 13px; color: #c9c9c9; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 12px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; align-items: center; gap: 2px; }
.nl { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none;
  color: #f2f2f2; font: inherit; font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; }
.nl:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nl:focus-visible, .more-menu a:focus-visible, .menu-x:focus-visible, .menu-btn:focus-visible, .brand:focus-visible, .pill:focus-visible { outline: 3px solid #ffb3aa; outline-offset: 2px; }
/* the section on screen (home page) and the page you're on: a red bar under the link */
.nl.is-active, .nl[aria-current="page"], .more.is-active > .more-btn, .more.is-current > .more-btn { color: #fff; }
.nl.is-active::after, .nl[aria-current="page"]::after, .more.is-active > .more-btn::after, .more.is-current > .more-btn::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--red-on-dark); }
.nl-live .dot { flex: none; }
.more { position: relative; }
.more-btn .chev { width: 16px; height: 16px; transition: transform 0.15s; }
.more-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.more-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; list-style: none; margin: 0; padding: 6px;
  background: #161618; border: 1px solid #333; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,0.45); }
.more-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; color: #f2f2f2; font-size: 16px; font-weight: 500; text-decoration: none; }
.more-menu a:hover, .more-menu a:focus-visible { background: rgba(255,255,255,0.1); color: #fff; }
.more-menu a.is-active, .more-menu a[aria-current="page"] { color: #fff; box-shadow: inset 3px 0 0 var(--red-on-dark); }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.pill-line { color: #fff; border: 2px solid #fff; }
.pill-line:hover { color: #fff; background: rgba(255,255,255,0.12); }
.pill-red { background: var(--red); color: #fff; }
.pill-red:hover { background: var(--red-dark); color: #fff; }
.nav-reg { font-size: 16px; }
.menu-btn { display: grid; width: 44px; height: 44px; flex: none; border: 2px solid #fff; border-radius: 12px; background: transparent; color: #fff; padding: 0; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
/* phones: the logo, a small Register button and the menu button */
.nav-live { display: none; }
@media (max-width: 767px) { .nav { gap: 10px; } .nav-reg { min-height: 40px; padding: 0 14px; font-size: 15px; } }
@media (max-width: 420px) { .top .wrap { padding-left: 14px; padding-right: 14px; gap: 10px; } .brand { gap: 8px; } .brand small { display: none; } .brand b { font-size: 20px; } .brand img { width: 32px; } }
@media (max-width: 360px) { .brand > span { display: none; } }
/* tablets: Live Scores and Register stay in the header */
@media (min-width: 768px) { .nav-live { display: inline-flex; } }
/* computers: every link in a row (unless they don't fit: then the tablet header) */
@media (min-width: 1024px) {
  .top .wrap { min-height: 68px; padding-top: 8px; padding-bottom: 8px; gap: 20px; }
  .brand img { width: 38px; }
  .nav { gap: 14px; }
  .top:not(.tight) .nav-links { display: flex; }
  .top:not(.tight) .nav-live, .top:not(.tight) .menu-btn { display: none; }
  .nav-reg { min-height: 46px; padding: 0 24px; font-size: 17px; box-shadow: 0 0 0 2px rgba(255,106,92,0.35); }
}
/* the menu: full screen, every link, a red Register button pinned at the bottom */
.menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--ink); color: #fff; }
.menu[hidden] { display: none !important; }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; padding-top: max(12px, env(safe-area-inset-top)); border-bottom: 4px solid var(--red); }
.menu-x { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 2px solid #fff; border-radius: 12px; background: transparent; color: #fff; cursor: pointer; padding: 0; }
.menu-x svg { width: 24px; height: 24px; }
.menu-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.menu-body ul { list-style: none; margin: 0 auto; padding: 8px 20px; max-width: 720px; }
.menu-body a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.01em; border-bottom: 1px solid #2a2a2a; }
.menu-body a::after { content: "›"; color: var(--red-on-dark); font-size: 30px; margin-left: auto; }
.menu-body a .dot { margin-right: 2px; }
.menu-body a:hover, .menu-body a:focus-visible { color: #ffb3aa; }
.menu-body a:focus-visible { outline: 3px solid #ffb3aa; outline-offset: -3px; border-radius: 6px; }
.menu-body a[aria-current] { color: #ffb3aa; }
.menu-foot { padding: 12px 20px; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-top: 1px solid #2a2a2a; }
.menu-foot .btn { width: 100%; max-width: 720px; margin: 0 auto; justify-content: center; min-height: 56px; font-size: 19px; display: flex; }
.menu-foot .btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 420px) { .menu-head { padding-left: 14px; padding-right: 14px; } .menu-head .brand small { display: none; } .menu-head .brand b { font-size: 20px; } .menu-head .brand img { width: 32px; } }
html.menu-open, html.menu-open body { overflow: hidden; }
.anchor { display: block; position: relative; top: -88px; visibility: hidden; }
/* sections */
section { scroll-margin-top: 88px; }
.block { padding: 84px 0; }
.dark { background: var(--ink); color: #fff; }
.soft { background: var(--soft); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.head a { font-weight: 700; font-size: 18px; }
.dark .head a { color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* league announcement (posted on the admin page; same one as live scores) */
.alert { background: var(--ink); color: #fff; border-bottom: 3px solid var(--red); }
.alert.weather { background: var(--red); border-bottom-color: var(--red-dark); }
.alert .wrap { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.alert .ic { font-size: 26px; line-height: 1; flex: none; }
.alert .txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.alert b { font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.alert small { font-size: 14px; color: rgba(255,255,255,0.85); }
.alert small a { color: #fff; font-weight: 700; white-space: nowrap; }
.alert button { flex: none; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; padding: 6px 8px; cursor: pointer; border-radius: 8px; }
.alert button:focus-visible { outline: 3px solid #fff; }
@media (max-width: 600px) { .alert b { font-size: 17px; } .alert .wrap { gap: 10px; } }
input:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
/* footer */
footer { background: var(--ink); color: #c9c9c9; border-top: 4px solid var(--red); }
footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 15px; }
footer .who { display: flex; align-items: center; gap: 14px; }
footer .who img { width: 36px; height: auto; }
footer .links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
footer a { color: #fff; }
footer a:hover { color: #ffb3aa; }

/* ---------- Shared by every page (added Oct 2026 when the site became several pages) ---------- */
/* The page you're on is marked in the header and the phone menu. */
/* Footer: crest and name on the left; wraps under on phones. */
footer .who span { line-height: 1.4; }
