/* =============================================================================
   Newcastle Cup Live — styles
   Mobile-first single column → desktop dashboard grid.
   Brand: #BD5965 (rose) / #47535F (slate)
   ========================================================================== */

:root {
  /* Brand */
  --rose:        #BD5965;
  --rose-dark:   #9c4753;
  --rose-darker: #7d3945;
  --rose-tint:   #f6e9eb;
  --slate:       #47535F;
  --slate-dark:  #333c45;
  --slate-darker:#252c33;
  --slate-tint:  #eef0f2;
  --gold:        #c9a86a;
  --gold-dark:   #9a7a2c;
  --gold-tint:   #f7eed6;
  --gold-tint2:  #efe0ba;
  --gold-line:   #ddc890;
  --gold-ink:    #5a4a22;

  /* Neutrals */
  --ink:      #232a30;
  --muted:    #6b7580;
  --line:     #e5e8ea;
  --bg:       #f7f8fa;
  --card:     #ffffff;
  --head-pink:#f0d3d8;
  --card-2:   #fafbfc;

  --radius:   16px;
  --radius-sm: 10px;
  --shadow:   0 1px 2px rgba(30,38,45,.06), 0 8px 24px rgba(30,38,45,.06);
  --shadow-lg: 0 20px 50px rgba(30,38,45,.14);

  --font:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display:  'Archivo', var(--font);

  --header-h: 64px;
  --maxw:     1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* room for mobile bottom nav */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.01em; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(37,44,51,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  height: var(--header-h);
  padding: 0 16px;
  display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-title { font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.brand-sub {
  font-family: var(--display); font-weight: 700; font-size: .64rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--rose);
  margin-top: 3px;
}

.main-nav { display: none; gap: 4px; }
.main-nav a {
  font-weight: 600; font-size: .9rem; color: #d5dade; white-space: nowrap;
  padding: 8px 12px; border-radius: 8px; transition: .15s;
}
.main-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.social { display: flex; gap: 8px; }
.social a {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; transition: .15s;
}
.social a:hover { background: var(--rose); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: 0; border-radius: 8px;
  background: rgba(255,255,255,.1); cursor: pointer; padding: 0 10px;
}
.nav-toggle span { height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown nav */
.main-nav.open {
  display: flex; flex-direction: column;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--slate-darker); padding: 8px; gap: 2px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.main-nav.open a { padding: 12px 14px; }

/* ============================ HERO ============================ */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(189,89,101,.45) 0%, transparent 60%),
    linear-gradient(180deg,
      var(--rose) 0%,
      var(--rose-dark) 12%,
      #7c414b 30%,
      var(--slate-dark) 62%,
      var(--slate-darker) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .6;
}
.hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 44px 16px 52px;
  display: flex; align-items: center; gap: 32px;
}
.hero-content { flex: 1; min-width: 0; }
.hero-badges { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.badge-live {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(20,25,29,.5); color: #fff; font-family: var(--display);
  font-weight: 800; font-size: .72rem; letter-spacing: .12em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(3px);
}
.badge-live .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.badge-year {
  font-family: var(--display); font-weight: 800; letter-spacing: .1em;
  border: 1px solid rgba(255,255,255,.3); padding: 5px 12px; border-radius: 999px;
  font-size: .74rem;
}
.hero-title {
  font-size: clamp(1.9rem, 6vw, 3.6rem); font-weight: 900;
  line-height: 1.02; text-wrap: balance;
}
.hero-tagline {
  margin: 14px 0 0; font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: #d8dde1; max-width: 46ch;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-chip {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 10px 14px; border-radius: 12px; font-size: .9rem;
}
.hero-chip strong { display: block; font-family: var(--display); font-size: .98rem; }
.hero-chip span { color: #b9c0c6; font-size: .8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: .18s; border: 0;
}
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.hero-crest { display: none; }
.hero-crest img {
  width: 230px; height: 230px; border-radius: 50%;
  background: #fff; padding: 10px; box-shadow: var(--shadow-lg);
}

/* ============================ PAGE / DASHBOARD ============================ */
.page { max-width: var(--maxw); margin: 0 auto; padding: 20px 16px 40px; }

.dashboard { display: flex; flex-direction: column; gap: 18px; }

.panel {
  background: var(--card); border: 1px solid #c6cdd2;
  border-radius: var(--radius);
  box-shadow: 0 2px 5px rgba(30,38,45,.13), 0 18px 38px rgba(30,38,45,.20);
  overflow: hidden; margin-bottom: 18px;
}
.dashboard .panel { margin-bottom: 0; }

.panel-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 18px; border-bottom: 1px solid rgba(189,89,101,.24);
  background: var(--head-pink);
}
.panel-head h2 {
  font-size: 1.1rem; font-weight: 800; color: #1b2026;
  display: flex; align-items: center; gap: 9px;
}
.panel-note { margin-left: auto; color: var(--slate-dark); font-size: .82rem; font-weight: 600; }
.pip { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px var(--rose-tint); }
.head-ico { display: inline-flex; align-items: center; color: var(--rose-dark); }
.head-ico svg { width: 20px; height: 20px; }
.live-dot {
  width: 11px; height: 11px; border-radius: 50%; flex: none;
  background: var(--rose); animation: dotPulse 1.6s infinite;
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(189,89,101,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(189,89,101,0); }
  100% { box-shadow: 0 0 0 0 rgba(189,89,101,0); }
}

/* ---- Club resources ---- */
.resources-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px;
  padding: 16px 18px;
}
.res-btn {
  display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center;
  padding: 18px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2);
  font-family: var(--display); font-weight: 700; font-size: .86rem; color: var(--slate-dark);
  transition: .15s; line-height: 1.2;
}
.res-btn:hover { border-color: var(--rose); color: var(--rose-dark); background: var(--rose-tint); transform: translateY(-2px); }
.res-ico { display: inline-flex; color: var(--rose); }
.res-ico svg { width: 30px; height: 30px; }

/* ---- Key dates ---- */
.keydates-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px;
}
.keydate {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  background: linear-gradient(180deg, #fff, var(--card-2));
  position: relative; overflow: hidden;
}
.keydate::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--rose);
}
.keydate.is-passed { opacity: .72; }
.keydate.is-passed::before { background: var(--slate-light); }
.keydate-top { display: flex; align-items: flex-start; gap: 12px; }
.keydate-ico {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--rose-tint); color: var(--rose-dark);
}
.keydate-ico svg { width: 22px; height: 22px; }
.keydate-titles { min-width: 0; }
.keydate-label { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--ink); line-height: 1.2; }
.keydate-when { font-size: .82rem; color: var(--rose-dark); font-weight: 600; margin-top: 2px; }
.keydate-count { display: flex; gap: 8px; margin: 12px 0 4px; flex-wrap: wrap; }
.cd-unit {
  display: flex; flex-direction: column; align-items: center;
  background: var(--slate); color: #fff; border-radius: 9px; padding: 7px 0 5px;
  min-width: 50px;
}
.cd-num { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1; letter-spacing: .02em; }
.cd-lbl { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 3px; }
.cd-passed {
  display: inline-block; font-family: var(--display); font-weight: 800; font-size: .9rem;
  color: var(--slate); background: var(--slate-tint); padding: 6px 12px; border-radius: 8px;
}
.keydate-note { font-size: .84rem; color: #4a545e; margin-top: 6px; }

/* ---- Live feed ---- */
.live-feed { padding: 6px; }
.update {
  display: flex; gap: 14px; padding: 16px 14px;
  border-bottom: 1px solid var(--line); position: relative;
}
.update:last-child { border-bottom: 0; }
.update-rail { display: flex; flex-direction: column; align-items: center; }
.update-ico {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-size: 1.1rem;
  background: var(--slate-tint); color: var(--slate);
}
.update.type-result .update-ico { background: var(--rose-tint); color: var(--rose-dark); }
.update.type-goal   .update-ico { background: #eaf6ee; color: #2e7d4f; }
.update.type-news   .update-ico { background: #fbf1e2; color: #a9772a; }
.update-ico svg { width: 21px; height: 21px; }
.update-flag {
  width: 26px; height: 18px; border-radius: 3px; overflow: hidden; display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.update-flag svg { width: 100%; height: 100%; display: block; }
.update-body { min-width: 0; flex: 1; }
.update-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.update-tag {
  font-family: var(--display); font-weight: 700; font-size: .68rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--rose-dark);
  background: var(--rose-tint); padding: 3px 8px; border-radius: 6px;
}
.update-time { color: var(--muted); font-size: .78rem; font-weight: 600; }
.update h3 { font-size: 1rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.update p { margin: 6px 0 0; color: #4a545e; font-size: .9rem; line-height: 1.5; }
.update-img {
  width: 100%; max-width: 420px; margin-top: 12px; border-radius: 12px;
  display: block; border: 1px solid var(--line);
}

/* ---- Live stream ---- */
.ls-body { display: flex; flex-direction: column; }
.ls-media { display: flex; align-items: center; justify-content: center; }
.ls-media img { width: 100%; height: auto; display: block; }
.ls-content { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.ls-intro { margin: 0; font-size: .95rem; color: #45505a; line-height: 1.6; }
.ls-passes { display: flex; flex-direction: column; gap: 12px; }
.ls-pass {
  border: 1px solid var(--line); border-left: 4px solid var(--rose);
  border-radius: 12px; padding: 16px; background: var(--card-2);
}
.ls-pass-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ls-pass-name { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.ls-pass-badge {
  font-family: var(--display); font-weight: 700; font-size: .66rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--rose-dark);
  background: var(--rose-tint); padding: 4px 9px; border-radius: 999px;
}
.ls-pass-price {
  font-family: var(--display); font-weight: 900; font-size: 2rem; color: var(--slate-dark);
  margin: 8px 0 4px; letter-spacing: -.01em;
}
.ls-cta { margin-top: 6px; align-self: flex-start; }
.ls-pass-note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }

/* Souvenir shirt deadline callout */
.shirt-deadline {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--rose-tint); border-left: 4px solid var(--rose);
  border-radius: 10px; padding: 12px 14px;
  font-size: .9rem; font-weight: 600; color: var(--rose-darker); line-height: 1.45;
}
.shirt-deadline-ico { display: inline-flex; align-items: center; }
.shirt-deadline-ico svg { width: 18px; height: 18px; }

/* Special Offers: one box containing the two promo boxes — gold themed to
   stand out from the pink-headed sections around it. */
.panel-offers {
  border-color: var(--gold-line);
  box-shadow: 0 2px 6px rgba(120,92,20,.16), 0 20px 40px rgba(120,92,20,.22);
}
.panel-offers > .panel-head {
  background: linear-gradient(var(--gold-tint), var(--gold-tint2));
  border-bottom-color: var(--gold-line);
}
.panel-offers > .panel-head h2 { color: var(--gold-ink); }
.panel-offers > .panel-head .head-ico { color: var(--gold-dark); }
.offers-body { padding: 16px 18px 18px; background: #fdfaf1; }

/* Inner promo boxes pick up the gold theme too */
.panel-offers .promo-row .panel { border-color: var(--gold-line); }
.panel-offers .promo-row .panel-head {
  background: var(--gold-tint); border-bottom-color: var(--gold-line);
}
.panel-offers .promo-row .panel-head h2 { color: var(--gold-ink); }
.panel-offers .promo-row .panel-head .head-ico { color: var(--gold-dark); }
.panel-offers .ls-pass { border-left-color: var(--gold-dark); }
.panel-offers .ls-pass-badge { color: var(--gold-dark); background: var(--gold-tint); }
.panel-offers .shirt-deadline {
  background: var(--gold-tint); border-left-color: var(--gold-dark); color: var(--gold-ink);
}
.panel-offers .btn-primary { background: var(--gold-dark); }
.panel-offers .btn-primary:hover { background: #83671f; }
.promo-row { display: flex; flex-direction: column; gap: 16px; }
/* The nested promo boxes read as lighter cards inside the Special Offers box */
.promo-row .panel {
  margin-bottom: 0; display: flex; flex-direction: column;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(30,38,45,.06);
}
.promo-row .ls-body { flex: 1; }
.promo-row .panel-head { background: var(--rose-tint); }
@media (min-width: 1024px) {
  .promo-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  /* Narrower columns → keep the promo image compact beside the offer text,
     capped in height so the two blocks stay short and balanced. */
  .promo-row .ls-media { flex: 0 0 40%; max-width: 210px; align-self: center; padding: 14px 0 14px 14px; }
  .promo-row .ls-media img { max-height: 260px; border-radius: 10px; }
  .promo-row .ls-content { padding: 18px 20px; gap: 12px; }
  .promo-row .ls-intro { font-size: .88rem; line-height: 1.5; }
  .promo-row .ls-pass { padding: 14px; }
  .promo-row .ls-pass-price { font-size: 1.7rem; margin: 4px 0 2px; }
}

/* ---- Featured players carousel ---- */
.carousel { position: relative; padding: 16px 8px; }
.carousel-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 auto; width: 240px; scroll-snap-align: start;
  border-radius: 14px; overflow: hidden; background: var(--slate);
  box-shadow: var(--shadow);
}
.carousel-slide img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--rose);
  background: #fff; color: var(--rose); font-size: 1.5rem; line-height: 1;
  cursor: pointer; box-shadow: var(--shadow); transition: .15s;
  display: grid; place-items: center;
}
.carousel-btn:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.carousel-btn.prev { left: 4px; }
.carousel-btn.next { right: 4px; }
.carousel.no-scroll .carousel-btn { display: none; }
.carousel.no-scroll .carousel-track { justify-content: center; }

/* ---- Our partners ---- */
.partners-body { padding: 16px 18px 20px; }
.partners-intro { margin: 0 0 14px; color: #45505a; font-size: .92rem; line-height: 1.55; }
.partners-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .partners-grid { grid-template-columns: 1fr 1fr; } }

/* Rich partner cards */
.partner {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
}
.partner-logo {
  height: 112px; background: #fff; display: grid; place-items: center;
  padding: 16px; border-bottom: 1px solid var(--line); overflow: hidden;
}
.partner-logo img { max-width: 100%; max-height: 80px; width: auto; object-fit: contain; }
.partner-copy { padding: 16px 18px; }
.partner-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.partner-title { font-family: var(--display); font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.partner-badge {
  font-family: var(--display); font-weight: 700; font-size: .62rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gold-dark); background: var(--gold-tint);
  border: 1px solid var(--gold-line); padding: 4px 9px; border-radius: 999px;
}
.partner-copy p { margin: 0 0 8px; color: #45505a; font-size: .9rem; line-height: 1.55; }
.partner-copy p:last-child { margin-bottom: 0; }
.partner-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.partner-chip {
  font-family: var(--display); font-weight: 700; font-size: .74rem; color: var(--slate-dark);
  background: var(--slate-tint); padding: 5px 11px; border-radius: 999px;
}

/* Placeholder tiles (shown only when no partners are set) */
.partner-card {
  display: grid; place-items: center; min-height: 96px; padding: 16px;
  border: 1px dashed #d3d9dd; border-radius: 12px; background: var(--card-2);
}
.partner-ph {
  font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .04em;
  color: var(--muted);
}

/* ---- Roll of honour ---- */
.honours-body { padding: 16px 18px 20px; }
.honours-block { margin-top: 26px; }
.honours-block:first-child { margin-top: 0; }
.honours-subhead {
  font-size: 1rem; font-weight: 800; color: var(--slate-dark);
  margin: 0 0 6px; display: flex; align-items: center; gap: 8px;
}
.honours-hint { margin: 0 0 12px; font-size: .85rem; color: var(--muted); }

/* Most successful clubs */
.top-clubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.top-club {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2);
}
.top-name { font-weight: 700; font-size: .92rem; flex: 1; min-width: 0; line-height: 1.2; }
.top-wins { text-align: right; color: var(--muted); font-size: .72rem; font-weight: 600; }
.top-wins .tw-num {
  display: block; font-family: var(--display); font-weight: 900; font-size: 1.3rem;
  color: var(--rose-dark); line-height: 1;
}

/* Winners by age group */
.age-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.age-chip {
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--slate); cursor: pointer; transition: .15s; white-space: nowrap;
}
.age-chip:hover { border-color: var(--rose); color: var(--rose-dark); }
.age-chip.active { background: var(--rose); color: #fff; border-color: var(--rose); }
.age-winners { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.age-win-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border: 1px solid var(--line); border-left: 3px solid var(--rose);
  border-radius: 10px; background: var(--card-2);
}
.aw-year { font-family: var(--display); font-weight: 800; color: var(--slate); font-size: .95rem; min-width: 42px; }
.aw-club { font-weight: 700; font-size: .9rem; flex: 1; min-width: 0; }

/* ---- Schedule ---- */
.schedule-body { padding: 14px 16px 18px; }
.sched-day { margin-top: 18px; }
.sched-day:first-child { margin-top: 0; }
.sched-day-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.sched-day-head h3 { font-size: 1rem; color: var(--rose-dark); }
.sched-day-head span { color: var(--muted); font-size: .82rem; }
.sched-item {
  display: flex; gap: 14px; padding: 9px 0; border-left: 2px solid var(--line);
  padding-left: 16px; margin-left: 6px; position: relative;
}
.sched-item::before {
  content: ""; position: absolute; left: -6px; top: 15px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--rose); border: 2px solid #fff;
}
.sched-time { font-family: var(--display); font-weight: 800; color: var(--slate); min-width: 48px; font-size: .9rem; }
.sched-label { font-size: .9rem; color: #4a545e; }

/* ---- Clubs ---- */
.clubs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px; padding: 16px;
}
.club {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2);
}
.club-flag {
  width: 28px; height: 19px; flex: none; margin-top: 2px;
  border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  display: block;
}
.club-flag svg { width: 100%; height: 100%; display: block; }
.club-info { min-width: 0; flex: 1; }
.club-name { font-weight: 700; font-size: .92rem; line-height: 1.25; color: var(--ink); }
.club-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.age-tag {
  font-family: var(--display); font-weight: 700; font-size: .68rem; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 6px; background: var(--slate-tint); color: var(--slate-dark);
}
.age-tag.girls { background: var(--rose-tint); color: var(--rose-dark); }


/* ============================ VENUES SUBPAGE ============================ */
.back-btn {
  font-family: var(--display); font-weight: 700; font-size: .82rem; color: #d5dade;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: .15s;
}
.back-btn:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.subpage-head { padding: 8px 0 20px; }
.back-link { font-weight: 600; font-size: .85rem; color: var(--rose-dark); }
.back-link:hover { text-decoration: underline; }
.subpage-head h1 { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--ink); margin: 10px 0 6px; }
.subpage-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.venue-pages { display: grid; gap: 18px; }
.venue-page-card {
  background: var(--card); border: 1px solid #ccd3d8; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(30,38,45,.10), 0 14px 30px rgba(30,38,45,.13); overflow: hidden;
  display: grid; grid-template-columns: 1fr;
}
.vp-info { padding: 22px 24px; }
.vp-info h2 { font-size: 1.35rem; font-weight: 800; color: var(--slate-dark); margin: 0 0 10px; }
.vp-ages, .vp-address { margin: 6px 0; font-size: .95rem; color: #45505a; }
.vp-pin { width: 15px; height: 15px; color: var(--rose); vertical-align: -2px; }
.vp-info .lbl { font-weight: 700; color: var(--ink); }
.vp-info .btn { margin-top: 14px; }
.vp-map { display: block; position: relative; background: var(--slate-tint); }
.vp-map img { width: 100%; height: auto; display: block; }
@media (min-width: 800px) {
  .venue-page-card { grid-template-columns: 340px 1fr; align-items: stretch; }
  .vp-map { display: flex; align-items: center; justify-content: center; }
}

/* ---- Document subpages (handbook / formats) ---- */
.doc { display: flex; flex-direction: column; gap: 18px; }
.doc-body { padding: 18px 22px; }
.doc-body > *:first-child { margin-top: 0; }
.doc-body > *:last-child { margin-bottom: 0; }
.doc-body p { margin: 0 0 12px; color: #3a444d; font-size: .94rem; line-height: 1.6; }
.doc-body h3 {
  font-family: var(--display); font-size: 1.02rem; color: var(--slate-dark);
  margin: 20px 0 8px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
}
.doc-body ul { margin: 0 0 14px; padding-left: 20px; }
.doc-body li { margin: 6px 0; color: #3a444d; font-size: .94rem; line-height: 1.55; }
.doc-body a { color: var(--rose-dark); font-weight: 600; }
.doc-body a:hover { text-decoration: underline; }
.doc-body strong { color: var(--ink); }
.doc-tag {
  font-family: var(--display); font-weight: 700; font-size: .62rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--rose-dark); background: var(--rose-tint);
  padding: 3px 8px; border-radius: 6px;
}
.doc-note {
  background: var(--rose-tint); border-left: 4px solid var(--rose); border-radius: 10px;
  padding: 12px 14px; font-size: .9rem; color: var(--rose-darker); margin-top: 6px;
}
.table-scroll { overflow-x: auto; }
.fmt-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.fmt-table th {
  background: var(--slate); color: #fff; font-family: var(--display); font-weight: 700;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; padding: 11px 12px; text-align: left;
}
.fmt-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); color: #3a444d; }
.fmt-table tbody tr:last-child td { border-bottom: 0; }
.fmt-table tbody tr:nth-child(even) { background: var(--card-2); }
.fmt-table td:first-child { font-family: var(--display); font-weight: 800; color: var(--slate-dark); }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--slate-darker); color: #cdd3d8; margin-top: 12px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 28px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; padding: 3px; }
.footer-brand strong { display: block; font-family: var(--display); color: #fff; font-size: 1.05rem; }
.footer-brand span { font-size: .84rem; color: #9aa3ab; }
.site-footer .social a { background: rgba(255,255,255,.08); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08); padding: 16px;
  text-align: center; font-size: .8rem; color: #8b949c;
}

/* ============================ MOBILE BOTTOM NAV ============================ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; background: rgba(37,44,51,.98); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 0 10px; color: #b9c0c6; font-size: .68rem; font-weight: 600;
}
.bottom-nav a:active { color: var(--rose); }
.bn-ico { display: inline-flex; align-items: center; }
.bn-ico svg { width: 20px; height: 20px; }

/* ============================ RESPONSIVE ============================ */

/* Tablet: two-up grid for some panels */
@media (min-width: 680px) {
  .keydates-grid { grid-template-columns: repeat(3, 1fr); }

  /* Live stream: image beside the offer */
  .ls-body { flex-direction: row; }
  .ls-media { flex: 0 0 40%; max-width: 360px; }
  .ls-media img { max-height: 560px; object-fit: contain; }
  .ls-content { flex: 1; padding: 26px 30px; justify-content: center; }
}

/* Desktop: reveal nav, hide mobile chrome, spread the dashboard */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .bottom-nav { display: none; }
  .hero-crest { display: block; }
  .hero-inner { padding: 60px 24px 68px; }
  .page { padding: 28px 24px 56px; }

  /* Dashboard: Live Updates beside the Schedule. */
  .dashboard {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-areas: "live schedule";
    gap: 18px;
    align-items: start;
  }
  .panel-live     { grid-area: live; }
  .panel-schedule { grid-area: schedule; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
