/* Caber & Stone — Morning Mist: pale blue-grey, saltire blue and navy, with a light and a navy tartan. */

:root {
  /* "pine" is the navy/blue scale, "heather" the saltire blue, "gold" the tartan's gold line. */
  --pine-50: #eef4fb; --pine-100: #dce8f6; --pine-200: #b7cfec; --pine-500: #1d6fd1; --pine-600: #005eb8;
  --pine-700: #0a3d73; --pine-800: #0b1f3a; --pine-900: #08172b;
  --heather-50: #eef4fb; --heather-100: #dce8f6; --heather-500: #1d6fd1; --heather-600: #005eb8; --heather-700: #004a93;
  --gold-100: #fcf2d2; --gold-300: #f6d670; --gold-400: #f2c230; --gold-500: #e8b520; --gold-600: #8a6a0e;
  --blue: #005eb8; --blue-dark: #004a93; --navy: #0b1f3a;
  /* Morning Mist light tartan: top strip, footer band and the NASGA box edge. */
  --mist-ground: #c9d7e8;
  --mist-weave:
    repeating-linear-gradient(90deg, rgba(0,94,184,.35) 0 30%, transparent 30% 44%, rgba(11,31,58,.6) 44% 47%, transparent 47% 62%, rgba(255,255,255,.45) 62% 86%, transparent 86% 100%),
    repeating-linear-gradient(0deg, rgba(0,94,184,.35) 0 30%, transparent 30% 44%, rgba(11,31,58,.6) 44% 47%, transparent 47% 62%, rgba(255,255,255,.45) 62% 86%, transparent 86% 100%);
  --tartan-ground: #0b1f3a; --tartan-band: rgba(0,94,184,.55); --tartan-line: rgba(201,215,232,.7);
  --parchment: #f5f8fc; --cream: #fafcfe; --ink: #0b1f3a; --line: #d6e0ec;
  --stone-400: #93a2b5; --stone-500: #5f6f85; --stone-600: #4a5b73; --stone-700: #34445a;
  --red-50: #fef2f2; --red-200: #fecaca; --red-700: #b91c1c;
  --radius: 10px; --radius-lg: 16px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(11, 31, 58, .05);
  --shadow-lg: 0 20px 40px -20px rgba(11, 31, 58, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--parchment); color: var(--ink); font: 16px/1.55 var(--font-sans); -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
html, body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -0.15em; }
.icon-lg { width: 1.6rem; height: 1.6rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ── Type ─────────────────────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; color: var(--pine-900); line-height: 1.1; }
.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
.h3 { font-size: 1.6rem; }
.h4 { font-size: 1.25rem; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 1.15rem; color: var(--stone-600); }
.muted { color: var(--stone-500); }
.small { font-size: .875rem; }
.xs { font-size: .75rem; }
.strong { font-weight: 600; color: var(--pine-900); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; word-break: break-all; }
.center { text-align: center; }
.link { color: var(--heather-600); font-weight: 600; text-underline-offset: 3px; }
.link:hover { text-decoration: underline; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; }

/* ── Layout ───────────────────────────────────────────────────────── */
.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.container-wide { max-width: 80rem; }
.container-narrow { max-width: 48rem; }
.container-xs { max-width: 36rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
.section { padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 6rem; } }
.page { padding-block: 2.5rem 4rem; }
@media (min-width: 640px) { .page { padding-block: 3.5rem 5rem; } }

.stack > * + * { margin-top: var(--gap, 1.25rem); }
.stack-sm { --gap: .75rem; }
.stack-lg { --gap: 2rem; }
.stack-xl { --gap: 3.5rem; }
.row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.row-top { align-items: flex-start; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.gap-sm { gap: .75rem; }
.gap-lg { gap: 2rem; }
@media (min-width: 640px) {
  .sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .lg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; }
  .lg-aside-wide { grid-template-columns: minmax(0, 1fr) 420px; gap: 2.5rem; }
  .lg-aside-left { grid-template-columns: 320px minmax(0, 1fr); }
  .sticky { position: sticky; top: 6rem; align-self: start; }
}
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-14 { margin-top: 3.5rem; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.max-prose { max-width: 40rem; }

/* ── Tartan ───────────────────────────────────────────────────────── */
.tartan {
  background-color: var(--tartan-ground);
  background-image:
    repeating-linear-gradient(90deg, var(--tartan-band) 0 30%, transparent 30% 44%, var(--tartan-line) 44% 47%, transparent 47% 62%, rgba(0,0,0,.35) 62% 86%, transparent 86% 100%),
    repeating-linear-gradient(0deg, var(--tartan-band) 0 30%, transparent 30% 44%, var(--tartan-line) 44% 47%, transparent 47% 62%, rgba(0,0,0,.35) 62% 86%, transparent 86% 100%);
  background-size: 96px 96px;
  color: #fff;
}
/* Top strip: the Morning Mist tartan (pale blue ground, saltire blue and navy). */
body::before {
  content: ""; display: block; height: 8px; flex-shrink: 0;
  background-color: var(--mist-ground);
  background-image: var(--mist-weave);
  background-size: 48px 48px;
}
/* Schedule accents use the navy tartan, like the entry fee box. */
.knot-rule { height: 8px; width: 100%; margin-top: .8rem; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.knot-rule, .tartan-edge::before {
  background-color: var(--tartan-ground);
  background-image:
    repeating-linear-gradient(90deg, var(--tartan-band) 0 30%, transparent 30% 44%, var(--tartan-line) 44% 47%, transparent 47% 62%, rgba(0,0,0,.35) 62% 86%, transparent 86% 100%),
    repeating-linear-gradient(0deg, var(--tartan-band) 0 30%, transparent 30% 44%, var(--tartan-line) 44% 47%, transparent 47% 62%, rgba(0,0,0,.35) 62% 86%, transparent 86% 100%);
  background-size: 48px 48px;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.25rem; border-radius: 8px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--pine-700); }
.btn-gold { background: var(--gold-500); color: var(--pine-900); box-shadow: var(--shadow); }
.btn-gold:hover { background: var(--gold-400); }
.btn-secondary { background: #fff; color: var(--pine-800); border-color: var(--line); }
.btn-secondary:hover { background: var(--pine-50); border-color: var(--pine-200); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-ghost { background: transparent; color: var(--pine-700); padding: .55rem .75rem; }
.btn-ghost:hover { background: var(--pine-50); }
.btn-danger { background: #fff; color: var(--red-700); border-color: var(--red-200); }
.btn-danger:hover { background: var(--red-50); }
.btn-sm { padding: .55rem .9rem; font-size: .875rem; border-radius: 10px; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ── Cards, badges, notices ───────────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-pad { padding: 1.25rem; }
@media (min-width: 640px) { .card-pad { padding: 1.75rem; } .card-pad-lg { padding: 2.25rem; } }
.card-link { display: block; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card-link:hover { border-color: var(--pine-200); }
.card-head { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--pine-900); }
.card-cream { background: var(--cream); }
.badge { display: inline-flex; align-items: center; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.badge-pine { background: var(--pine-50); color: var(--pine-700); box-shadow: inset 0 0 0 1px var(--pine-100); }
.badge-gold { background: var(--gold-100); color: var(--gold-600); box-shadow: inset 0 0 0 1px rgba(226,196,124,.5); }
.badge-heather { background: var(--heather-50); color: var(--heather-700); }
.badge-stone { background: #eef2f6; color: var(--stone-600); }
.badge-red { background: var(--red-50); color: var(--red-700); }
.notice { border: 1px solid; border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; font-weight: 500; }
.notice-info { background: var(--heather-50); border-color: var(--heather-100); color: var(--heather-700); }
.notice-success { background: var(--pine-50); border-color: var(--pine-200); color: var(--pine-700); }
.notice-warn { background: var(--gold-100); border-color: var(--gold-300); color: #7a5f1c; }
.notice-error { background: var(--red-50); border-color: var(--red-200); color: #991b1b; }
.flashes { position: fixed; z-index: 80; top: 1rem; left: 50%; transform: translateX(-50%); width: min(32rem, calc(100% - 2rem)); display: grid; gap: .5rem; }
.flashes .notice { box-shadow: var(--shadow-lg); animation: flash-in .25s ease-out; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-6px); } }

/* ── Forms ────────────────────────────────────────────────────────── */
.field label, .label { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 600; color: var(--pine-900); }
.req { color: var(--heather-600); margin-left: 2px; }
.hint { margin-top: .4rem; font-size: .85rem; color: var(--stone-500); }
.input {
  display: block; width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--stone-400); }
.input:focus { outline: none; border-color: var(--pine-500); box-shadow: 0 0 0 4px var(--pine-100); }
.input-sm { padding: .5rem .75rem; font-size: .95rem; border-radius: 9px; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005eb8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem;
}
select.input-sm { padding-right: 2.25rem; background-position: right .7rem center; background-size: .95rem; }
textarea.input { resize: vertical; min-height: 5rem; }
.input-mono { font-family: ui-monospace, Menlo, monospace; font-size: .875rem; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--stone-400); pointer-events: none; }
.input-prefix > .input { padding-left: 2rem; }
.input-suffix { position: relative; }
.input-suffix > span { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--stone-400); pointer-events: none; }
.input-suffix > .input { padding-right: 2.25rem; }
.check { display: flex; gap: .75rem; align-items: flex-start; }
.check input, .radio input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--pine-700); flex-shrink: 0; }
.check-card { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.check-card strong { display: block; color: var(--pine-900); }
.check-card span { display: block; font-size: .875rem; color: var(--stone-600); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; }
input[type="file"] { font-size: .875rem; max-width: 100%; }

/* ── Header / footer ──────────────────────────────────────────────── */
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo-mark { width: 2.25rem; height: 2.25rem; flex-shrink: 0; }
.logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--pine-800); white-space: nowrap; }
.logo-text.light { color: #fff; }
.logo-text .amp { color: var(--blue); }
.logo-text.light .amp { color: var(--gold-400); }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header.overlay { position: absolute; inset: 0 0 auto; background: transparent; border: 0; backdrop-filter: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.25rem; }
@media (min-width: 640px) { .header-inner { height: 5rem; } }
.nav { display: none; gap: .25rem; }
.nav a, .nav-right a.plain { padding: .5rem .8rem; border-radius: 9px; font-weight: 500; color: var(--pine-800); }
.nav a:hover, .nav-right a.plain:hover { background: var(--pine-50); }
.overlay .nav a, .overlay .nav-right a.plain { color: rgba(255,255,255,.85); }
.overlay .nav a:hover, .overlay .nav-right a.plain:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-right { display: none; align-items: center; gap: .5rem; }
.menu-btn { background: none; border: 0; padding: .5rem; color: var(--pine-800); border-radius: 8px; }
.overlay .menu-btn { color: #fff; }
.menu-btn .icon { width: 1.6rem; height: 1.6rem; }
@media (min-width: 860px) { .nav, .nav-right { display: flex; } .menu-btn { display: none; } }
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(11,31,58,.6); }
.drawer-panel { position: absolute; inset: 0 0 0 auto; width: min(82%, 22rem); background: var(--parchment); padding: 1.25rem; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.drawer-panel nav { display: flex; flex-direction: column; margin-top: 1rem; }
.drawer-panel nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.3rem; color: var(--pine-900); }
.site-footer { margin-top: auto; padding-top: 40px; }
.site-footer.tartan { background-color: var(--mist-ground); background-image: var(--mist-weave); background-size: 96px 96px; }
.site-footer .inner { background: var(--navy); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid p, .footer-grid li { color: rgba(255,255,255,.72); }
.footer-grid ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.footer-grid a:hover { color: #fff; }
.footer-head { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400) !important; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.25rem; font-size: .875rem; color: rgba(255,255,255,.5); }

/* ── Hero / marketing ─────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,.25), rgba(11,31,58,.85)); }
.hero-inner { position: relative; padding-block: 8rem 5rem; }
@media (min-width: 640px) { .hero-inner { padding-block: 11rem 7rem; } }
.hero h1 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; max-width: 52rem; margin-top: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lead { color: rgba(255,255,255,.85); max-width: 40rem; margin-top: 1.5rem; }
.hero .eyebrow { color: var(--gold-300); }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); color: #fff; font-size: .85rem; font-weight: 600; }
.hero-badge .icon { color: var(--gold-400); }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.promo-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .85rem .3rem .3rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 600; box-shadow: 0 8px 20px -10px rgba(11,31,58,.6); transition: transform .15s ease; }
.promo-pill:hover { transform: translateY(-1px); color: #fff; }
.promo-pill strong { font-family: var(--font-display); font-size: 1rem; }
.promo-pill s { opacity: .6; font-weight: 500; }
.promo-pill .icon { width: 1rem; height: 1rem; }
.promo-tag { padding: .25rem .6rem; border-radius: 999px; background: var(--gold-400); color: var(--navy); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 480px) { .promo-pill .promo-until { display: none; } }
.promo-callout { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .75rem 1rem .75rem .75rem; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 14px 30px -16px rgba(11,31,58,.6); transition: transform .15s ease; }
.promo-callout:hover { transform: translateY(-2px); color: #fff; }
.promo-callout .promo-go { color: var(--pine-200); }
.promo-callout:hover .promo-go { color: #fff; }
.promo-callout .promo-text { flex: 1; min-width: 14rem; font-size: 1rem; font-weight: 500; }
.promo-callout .promo-text strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.promo-callout .promo-text s { opacity: .6; margin-left: .15rem; }
.promo-callout .promo-go { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.promo-callout-page { padding: 1.1rem 1.4rem 1.1rem 1.1rem; }
.promo-callout-page .promo-text { font-size: 1.1rem; }
.hero-chips { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; max-width: 44rem; }
.hero-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 8px; background: rgba(11,31,58,.28); color: rgba(255,255,255,.92); font-size: .875rem; font-weight: 500; }
.hero-chips .icon { color: var(--gold-400); width: 1rem; height: 1rem; }
.btn-ghost-light { color: rgba(255,255,255,.85); }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,.1); }
@media (min-width: 640px) { .hero-cta { flex-wrap: wrap; } }
.hero-cta { display: flex; flex-direction: column; gap: .75rem; margin-top: 2.25rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
.stat-strip { display: grid; gap: 1px; margin-top: 3.5rem; max-width: 48rem; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.15); }
@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(3, 1fr); } }
.stat-strip div { background: rgba(11,31,58,.35); padding: 1.25rem 1.5rem; }
.stat-strip strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-300); font-weight: 600; }
.stat-strip span { font-size: .875rem; color: rgba(255,255,255,.7); }
/* Morning Mist: the light home hero under the normal white header. */
.saltire, .hero-mist, .game-hero.no-image {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 520'%3E%3Cpath d='M0 0 760 520M760 0 0 520' stroke='%23005eb8' stroke-opacity='.055' stroke-width='90'/%3E%3C/svg%3E") right -180px center / auto max(130%, 420px) no-repeat, linear-gradient(180deg, #f3f7fc 0%, #e6eef8 100%);
  color: var(--ink);
}
.hero-mist, .game-hero.no-image { border-bottom: 1px solid var(--line); }
.hero-mist .hero-inner { padding-block: 3rem 3.5rem; }
@media (min-width: 640px) { .hero-mist .hero-inner { padding-block: 3.5rem 4.5rem; } }
/* Sized so the headline, intro, chips and buttons fit in the first screen on a laptop. */
.hero-mist h1 { color: var(--navy); font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 64rem; margin-top: 1.1rem; }
@media (min-width: 900px) { .hero-mist h1 em { display: block; } }
.hero-mist .lead { max-width: 46rem; margin-top: 1.1rem; }
.hero-mist .hero-chips { margin-top: 1.25rem; max-width: 50rem; }
@media (max-width: 639px) { .hero-mist .hero-chips { display: none; } }
.hero-mist .hero-cta { margin-top: 1.6rem; }
.hero-mist .stat-strip { margin-top: 2.75rem; }
.hero-mist h1 em { color: var(--blue); }
.hero-mist .lead { color: var(--stone-700); }
.hero-mist .hero-badge { background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); }
.hero-mist .hero-badge .icon { color: var(--blue); }
.hero-mist .hero-chips li { background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); }
.hero-mist .hero-chips .icon { color: var(--blue); }
.hero-mist .btn-primary { box-shadow: 0 10px 24px -12px rgba(0,94,184,.7); }
.hero-mist .btn-secondary { border-color: #b9c8db; }
.hero-mist .hero-link { color: var(--blue); }
.hero-mist .stat-strip { background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.hero-mist .stat-strip div { background: #fff; }
.hero-mist .stat-strip strong { color: var(--blue); }
.hero-mist .stat-strip span { color: var(--stone-500); }
.section-title { max-width: 42rem; }
.section-title .eyebrow { margin-bottom: .75rem; }
.section-title p { margin-top: 1rem; font-size: 1.125rem; color: var(--stone-600); }
.step { position: relative; padding: 1.75rem; }
.step-num { position: absolute; top: -1rem; left: 1.75rem; width: 2rem; height: 2rem; border-radius: 999px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.step .icon { color: var(--heather-600); width: 1.75rem; height: 1.75rem; }
.feature-icon { width: 2.75rem; height: 2.75rem; border-radius: 10px; background: var(--pine-50); color: var(--blue); display: grid; place-items: center; }
.band { border-block: 1px solid var(--line); background: var(--cream); }
.plan-card.tartan, .price-panel.tartan { box-shadow: inset 0 0 0 100vmax rgba(11,31,58,.62); }
.plan-card { padding: 2rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; position: relative; overflow: hidden; }
@media (min-width: 640px) { .plan-card { padding: 2.5rem; } }
.plan-price { font-family: var(--font-display); font-size: 3.5rem; font-weight: 600; line-height: 1; margin-top: 1rem; }
.plan-ribbon { position: absolute; right: 1.5rem; top: 1.5rem; background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .75rem; color: var(--stone-700); }
.checklist .icon { color: var(--pine-500); margin-top: .15rem; }
.faq { border-block: 1px solid var(--line); }
.faq > div { padding: 1.5rem 0; }
.faq > div + div { border-top: 1px solid var(--line); }
.faq dt { font-size: 1.1rem; font-weight: 600; color: var(--pine-900); }
.faq dd { margin: .5rem 0 0; color: var(--stone-600); }
.cta-band { border-radius: 28px; overflow: hidden; }
.nasga { display: grid; gap: 2rem; padding: 2rem 1.5rem; border-radius: var(--radius-lg); background: var(--navy); position: relative; overflow: hidden; }
.nasga::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px;
  background-color: var(--mist-ground); background-image: var(--mist-weave);
  background-size: 32px 32px; }
@media (min-width: 640px) { .nasga { padding: 3rem 3rem 3rem 3.5rem; } }
@media (min-width: 1024px) { .nasga { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 3rem; } }
.nasga-logo { display: inline-block; }
.nasga-logo img { display: block; width: 220px; max-width: 100%; height: auto; }
.nasga-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.nasga-list li { display: flex; gap: .75rem; padding: 1rem 1.1rem; border-radius: 12px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.5; }
.nasga-list strong { color: #fff; }
.nasga-list .icon { color: var(--gold-400); width: 1.3rem; height: 1.3rem; margin-top: .1rem; }
.cta-band > div { background: rgba(11,31,58,.72); padding: 3.5rem 1.5rem; text-align: center; }
@media (min-width: 640px) { .cta-band > div { padding: 5rem 3rem; } }

/* ── Game page ────────────────────────────────────────────────────── */
.game-hero { position: relative; background: var(--pine-900); overflow: hidden; }
.game-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.game-hero > .saltire { position: absolute; inset: 0; }
.game-hero-fade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,23,43,.85), rgba(8,23,43,.35) 55%, rgba(8,23,43,.1)); }
.game-hero .eyebrow { color: var(--gold-300); }
.game-hero .lead { color: rgba(255,255,255,.8); }
.game-hero.no-image { color: var(--ink); }
.game-hero.no-image .game-hero-inner { padding-block: 4rem 3.25rem; }
@media (min-width: 640px) { .game-hero.no-image .game-hero-inner { padding-block: 5.5rem 4rem; } }
.game-hero.no-image h1 { color: var(--navy); }
.game-hero.no-image .eyebrow { color: var(--blue); }
.game-hero.no-image .lead { color: var(--stone-700); }
.game-hero.no-image .game-meta { color: var(--stone-700); }
.game-hero.no-image .game-meta .icon { color: var(--blue); }
.game-hero-inner { position: relative; padding-block: 8rem 3rem; }
@media (min-width: 640px) { .game-hero-inner { padding-block: 10rem 4rem; } }
.game-hero h1 { font-family: var(--font-display); color: #fff; font-size: clamp(2.3rem, 6vw, 3.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-top: .75rem; max-width: 56rem; }
.game-meta { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.5rem; color: rgba(255,255,255,.85); }
@media (min-width: 640px) { .game-meta { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; } }
.game-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.game-meta .icon { color: var(--gold-400); }
.pill-nav { display: flex; gap: .5rem; overflow-x: auto; margin: 0 -1rem; padding: 0 1rem .25rem; scrollbar-width: none; }
.pill-nav a { flex-shrink: 0; padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--pine-800); }
.pill-nav a:hover { border-color: var(--pine-200); }
.anchor { scroll-margin-top: 6rem; }
.section.anchor, .band.anchor { scroll-margin-top: 0; }
.day-head { position: relative; padding: 1rem 1.25rem 1rem 2.1rem; background: var(--pine-50); border-bottom: 1px solid var(--line); color: var(--navy); }
.tartan-edge::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 11px; }
.day-head p:first-child { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.day-head p + p { color: var(--stone-600); font-size: .875rem; }
.agenda { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .4rem; font-size: .95rem; }
.agenda li { display: flex; gap: .75rem; }
.agenda .t { width: 5rem; flex-shrink: 0; color: var(--stone-500); }
.label-caps { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-500); }
.roster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .roster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .roster-grid { grid-template-columns: repeat(4, 1fr); } }
.roster-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.roster-grid .name { margin-top: .5rem; font-weight: 600; color: var(--pine-900); line-height: 1.2; }
.avatar { border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px #fff; flex-shrink: 0; display: inline-block; }
.avatar-initials { display: inline-grid; place-items: center; background: var(--pine-100); color: var(--pine-700); font-family: var(--font-display); font-weight: 600; }
.avatar-shadow { box-shadow: 0 0 0 3px #fff, 0 6px 16px -6px rgba(11,31,58,.45); }
.price-panel { padding: 1.25rem 1.5rem; }
.price-panel .price-label { color: rgba(255,255,255,.75); }
.price-panel .price-note { color: var(--gold-300); }
.price-panel .price-amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; line-height: 1.1; }
.mobile-cta { position: fixed; inset: auto 0 0; z-index: 30; padding: .75rem; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .mobile-cta { display: none; } }
.has-mobile-cta { padding-bottom: 5rem; }
@media (min-width: 1024px) { .has-mobile-cta { padding-bottom: 0; } }
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-top: 1.25rem; }
.game-card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.game-card-img img, .game-card-img .tartan { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-link:hover .game-card-img img { transform: scale(1.04); }
.game-card-img .chip { position: absolute; left: .75rem; top: .75rem; background: rgba(255,255,255,.95); color: var(--pine-800); font-size: .75rem; font-weight: 700; padding: .25rem .75rem; border-radius: 999px; }
.meta-line { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--stone-600); margin-top: .35rem; }
.meta-line .icon { color: var(--heather-500); }

/* ── Rich text ────────────────────────────────────────────────────── */
.prose { line-height: 1.7; font-size: 1.0625rem; color: #22324a; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--pine-800); margin-top: 1.6em; line-height: 1.25; }
.prose h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--pine-800); margin-top: 1.4em; }
.prose a { color: var(--heather-600); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose img { border-radius: 12px; }
.prose blockquote { border-left: 3px solid var(--gold-500); margin-left: 0; padding-left: 1em; color: var(--stone-600); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5em .7em; }

/* ── Rich text editor ─────────────────────────────────────────────── */
.editor { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.editor:focus-within { border-color: var(--pine-500); box-shadow: 0 0 0 4px var(--pine-100); }
.editor-toolbar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 2px; align-items: center; padding: .35rem .5rem; background: var(--cream); border-bottom: 1px solid var(--line); }
.editor-toolbar button { background: none; border: 0; padding: .45rem .55rem; border-radius: 7px; color: var(--pine-800); font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.editor-toolbar button:hover { background: var(--pine-50); }
.editor-toolbar button.on { background: var(--pine-800); color: #fff; }
.editor-toolbar .sep { width: 1px; height: 1.25rem; background: var(--line); margin: 0 .25rem; }
.editor-area { min-height: 16rem; padding: 1rem 1.25rem; outline: none; }
.editor-area:empty::before { content: attr(data-placeholder); color: var(--stone-400); }
.editor-area img { cursor: pointer; }
.editor-area img.sel { outline: 3px solid var(--gold-400); }
.tag-menu { position: absolute; z-index: 20; margin-top: .25rem; width: 18rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: .35rem; }
.tag-menu button { display: flex; width: 100%; justify-content: space-between; gap: .75rem; padding: .5rem .75rem; border-radius: 8px; font-weight: 500; text-align: left; }
.tag-menu code { color: var(--heather-600); font-size: .75rem; }

/* ── Auth ─────────────────────────────────────────────────────────── */
.auth { display: grid; min-height: 100dvh; }
@media (min-width: 1024px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-art { display: none; position: relative; }
@media (min-width: 1024px) { .auth-art { display: flex; flex-direction: column; justify-content: space-between; padding: 3rem; } }
.auth-art { border-right: 1px solid var(--line); }
.auth-art p.big { color: var(--navy); font-family: var(--font-display); font-size: 2.4rem; line-height: 1.15; max-width: 28rem; }
.auth-form { display: flex; flex-direction: column; padding: 2rem 1rem; }
@media (min-width: 640px) { .auth-form { padding: 2.5rem; } }
.auth-form .inner { width: 100%; max-width: 28rem; margin: auto; padding: 2.5rem 0; }
@media (min-width: 1024px) { .auth-form .mobile-logo { display: none; } }

/* ── Dashboard ────────────────────────────────────────────────────── */
.dash-header .inner { background: var(--navy); }
.dash-header .header-inner { height: 4rem; }
.dash-header a.plain, .dash-header button.plain { color: rgba(255,255,255,.75); font-size: .875rem; background: none; border: 0; padding: 0; }
.dash-header a.plain:hover, .dash-header button.plain:hover { color: #fff; }
.dash-header a.admin-link { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.1); }
.dash-header a.admin-link .icon { width: 1rem; height: 1rem; color: var(--gold-400); }
.dash-header a.admin-link.on { background: var(--gold-400); color: var(--navy); }
.dash-header a.admin-link.on .icon { color: var(--navy); }
.announcement { padding: .65rem 0; font-size: .9rem; font-weight: 500; text-align: center; border-bottom: 1px solid; }
.announcement a { font-weight: 600; text-decoration: underline; color: inherit; }
.announcement-info { background: var(--blue); border-color: var(--blue-dark); color: #fff; }
.announcement-success { background: var(--pine-50); border-color: var(--pine-200); color: var(--pine-700); }
.announcement-warn { background: var(--gold-400); border-color: var(--gold-500); color: var(--navy); }
.announcement-error { background: var(--red-700); border-color: var(--red-700); color: #fff; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.admin-actions form { margin: 0; }
.dash { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.5rem 0 4rem; }
@media (min-width: 1024px) { .dash { flex-direction: row; gap: 2.5rem; padding-top: 2.5rem; } .dash-side { width: 14rem; flex-shrink: 0; } }
.dash-main { min-width: 0; flex: 1; }
.dash-org { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--pine-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-nav { display: flex; gap: .25rem; overflow-x: auto; margin: .75rem -1rem 0; padding: 0 1rem .25rem; scrollbar-width: none; }
@media (min-width: 1024px) { .side-nav { flex-direction: column; margin: .75rem 0 0; padding: 0; } }
.side-nav a { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; padding: .6rem .9rem; border-radius: 12px; font-size: .9rem; font-weight: 500; color: var(--pine-800); }
.side-nav a .icon { color: var(--stone-400); }
.side-nav a:hover { background: #fff; }
.side-nav a.on { background: var(--pine-800); color: #fff; }
.side-nav a.on .icon { color: var(--gold-400); }
.tabs { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 1.5rem -1rem 0; padding: 0 1rem; scrollbar-width: none; }
@media (min-width: 640px) { .tabs { margin-inline: 0; padding: 0; } }
.tabs a { flex-shrink: 0; padding: .8rem .75rem; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: .9rem; font-weight: 600; color: var(--stone-500); }
.tabs a:hover { color: var(--pine-800); }
.tabs a.on { border-color: var(--blue); color: var(--pine-900); }
.stat { padding: 1.25rem; }
.stat .k { font-size: .875rem; color: var(--stone-500); }
.stat .v { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--pine-900); margin-top: .15rem; }
/* :where keeps the margin reset weaker than the mt-* helpers. */
:where(.list) { margin: 0; }
.list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.list-row { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; }
@media (min-width: 640px) { .list-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.divided > * + * { border-top: 1px solid var(--line); }
.steps-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; }
.steps-list a { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.steps-list a:hover { border-color: var(--pine-200); }
.steps-list .n { width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: .875rem; background: var(--gold-100); color: var(--gold-600); flex-shrink: 0; }
.steps-list .done a { background: var(--pine-50); border-color: var(--pine-100); }
.steps-list .done .n { background: var(--pine-600); color: #fff; }
.steps-list .done span.t { text-decoration: line-through; color: var(--pine-700); }
.bar { height: 6px; border-radius: 999px; background: var(--pine-50); margin-top: .3rem; }
.bar > div { height: 100%; border-radius: 999px; background: var(--blue); }
.bar.gold > div { background: var(--gold-500); }
.bar.lg { height: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip-sm { padding: .2rem .55rem; border-radius: 7px; background: var(--pine-50); color: var(--pine-700); font-size: .75rem; font-weight: 600; }
.filters { display: flex; flex-direction: column; gap: .75rem; padding: 1rem; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .filters { flex-direction: row; align-items: center; } .filters .w-sel { width: 12rem; } }
.search { position: relative; flex: 1; }
.search .icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--stone-400); }
.search .input { padding-left: 2.5rem; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; text-align: left; }
.table th { background: var(--cream); padding: .75rem 1rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone-500); font-weight: 600; white-space: nowrap; }
.table td { padding: .75rem 1rem; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: rgba(238,244,251,.6); }
.athlete-cell { display: flex; align-items: center; gap: .75rem; }
.only-desktop { display: none; }
@media (min-width: 768px) { .only-desktop { display: table; } .only-mobile { display: none; } }
.mobile-list { list-style: none; margin: 0; padding: 0; }
.mobile-list a { display: flex; align-items: center; gap: .75rem; padding: 1rem; border-top: 1px solid var(--line); }
.savebar { position: fixed; inset: auto 0 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.savebar .container { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; padding-block: .75rem; }
.with-savebar { padding-bottom: 6rem; }

/* Schedule editor */
.class-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .75rem; border: 1px solid var(--line); background: var(--cream); border-radius: 12px; }
.class-row .name { grid-column: span 2; }
@media (min-width: 900px) {
  .class-row, .class-head { grid-template-columns: minmax(0,1fr) 90px 90px 180px 105px 60px 110px; align-items: center; gap: .75rem; }
  .class-row { border: 0; background: none; padding: .25rem; }
  .class-row .name { grid-column: auto; }
}
.class-head { display: none; padding: 0 .25rem; }
@media (min-width: 900px) { .class-head { display: grid; } }
.icon-btn { background: none; border: 0; padding: .5rem; border-radius: 8px; color: var(--stone-500); display: inline-flex; }
.icon-btn:hover { background: #fff; color: var(--pine-800); }
.icon-btn.danger:hover { background: var(--red-50); color: var(--red-700); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }
.agenda-row { display: flex; gap: .5rem; }
.agenda-row .time { width: 7rem; flex-shrink: 0; }

/* Registration flow */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; list-style: none; margin: 2rem 0; padding: 0; }
.stepper .track { height: 6px; border-radius: 999px; background: var(--line); }
.stepper li.on .track, .stepper li.done .track { background: var(--blue); }
.stepper p { margin-top: .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stone-400); }
.stepper li.on p { color: var(--pine-900); }
.stepper li.skip { opacity: .4; }
.choice-grid { display: grid; gap: .5rem; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; padding: 1rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; text-align: left; width: 100%; }
.choice:hover { border-color: var(--pine-200); }
.choice.on { border-color: var(--pine-600); background: var(--pine-50); }
.choice:disabled { opacity: .5; cursor: not-allowed; }
.choice .t { display: block; font-weight: 600; color: var(--pine-900); }
.choice .s { display: block; font-size: .875rem; color: var(--stone-500); }
.choice .r { font-size: .75rem; font-weight: 600; color: var(--pine-600); flex-shrink: 0; }
.choice .r.full { color: var(--heather-600); }
.size-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
@media (min-width: 640px) { .size-grid { grid-template-columns: repeat(9, 1fr); } }
.size { padding: .8rem 0; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; font-size: .875rem; color: var(--pine-800); }
.size.on { background: var(--pine-800); border-color: var(--pine-600); color: #fff; }
.waiver-box { max-height: 20rem; overflow-y: auto; white-space: pre-wrap; padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); font-size: .95rem; line-height: 1.65; }
.avatar-picker { position: relative; background: none; border: 0; padding: 0; flex-shrink: 0; }
.avatar-picker .cam { position: absolute; right: -4px; bottom: -4px; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--gold-500); color: var(--pine-900); display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.summary { margin-top: 1rem; }
.summary > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.summary > div + div { border-top: 1px solid var(--line); }
.summary dt { color: var(--stone-500); }
.summary dd { margin: 0; text-align: right; font-weight: 500; color: var(--pine-900); }
.totals { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.totals > div { display: flex; justify-content: space-between; color: var(--stone-700); }
.totals .grand { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); font-size: 1.15rem; font-weight: 600; color: var(--pine-900); }
.spinner { width: 1.2em; height: 1.2em; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 999px; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 640px) { .amount-grid { grid-template-columns: repeat(4, 1fr); } }
.amount { padding: .9rem 0; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.1rem; font-weight: 700; color: var(--pine-800); }
.amount.on { background: var(--pine-800); border-color: var(--pine-700); color: #fff; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; justify-content: center; align-items: stretch; padding: .5rem; background: rgba(11,31,58,.6); }
@media (min-width: 640px) { .modal { padding: 1.5rem; } }
.modal-panel { width: 100%; max-width: 48rem; background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.modal-panel iframe { flex: 1; width: 100%; border: 0; }

/* Status pages */
.big-icon { width: 4rem; height: 4rem; margin: 0 auto; color: var(--pine-500); }
.ticket-head { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.ticket-head .n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.ticket-head .n { color: var(--navy); }
.ticket-head .c { color: var(--blue); font-weight: 600; }
.ticket-head { border-bottom: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; font-size: .875rem; }
.kv dt { color: var(--stone-500); }
.kv dd { margin: 0; font-weight: 600; color: var(--pine-900); }

@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Discount codes */
.discount-box { padding: 1rem; border-radius: 12px; border: 1px dashed var(--pine-200); background: var(--pine-50); }
.discount-applied { color: var(--pine-700); font-size: .95rem; }
.discount-applied .icon { color: var(--pine-600); }
.discount-line { color: var(--pine-700); font-weight: 600; }
.discount-card { overflow: hidden; }
.discount-card summary { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; }
.discount-card summary::-webkit-details-marker { display: none; }
.discount-card summary:hover { background: rgba(238,244,251,.6); }
.discount-code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: .95rem; letter-spacing: .04em; padding: .35rem .7rem; border-radius: 8px; background: var(--navy); color: var(--gold-400); }
.discount-chevron { color: var(--stone-400); transition: transform .15s ease; }
.discount-card[open] .discount-chevron { transform: rotate(180deg); }
.discount-body { padding: 1.25rem; border-top: 1px solid var(--line); }
.game-map-card { overflow: hidden; }
.game-map-card .map-frame { display: block; margin: 1rem 0 0; border-radius: 0; border-width: 1px 0; }
.reg-image { display: block; width: 100%; height: auto; max-height: 36rem; object-fit: contain; border-radius: var(--radius-lg); background: var(--pine-50); border: 1px solid var(--line); }
.reg-image-cover { aspect-ratio: 3 / 1; max-height: none; object-fit: cover; }
.photo-fields { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .photo-fields { grid-template-columns: 1fr 1fr; } }
.photo-field { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.photo-field .label { margin: 0; }
.photo-field input[type=file] { max-width: 100%; }
.photo-where { display: block; width: 100%; max-width: 9rem; height: auto; color: var(--stone-400); }
.photo-where .hl { fill: var(--blue); opacity: .85; }
.photo-current { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.photo-current.wide { aspect-ratio: 3/1; object-fit: cover; }
.photo-current.flyer { max-height: 14rem; width: auto; max-width: 100%; }
.reg-image-preview { display: block; max-width: 100%; max-height: 18rem; border-radius: 12px; border: 1px solid var(--line); }
.chip-sm .icon { width: .75rem; height: .75rem; vertical-align: -1px; }

/* Games page section navigation */
.section-nav { position: sticky; top: var(--nav-top, .75rem); z-index: 20; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(5.5rem, 1fr)); overflow-x: auto; scrollbar-width: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 20px rgba(11,31,58,.06); }
.section-nav::-webkit-scrollbar { display: none; }
/* With the sticky white header above it, the bar stops just below the header. */
body:has(.site-header:not(.overlay)) { --nav-top: calc(var(--header-h, 4.25rem) + .5rem); }
@media (min-width: 640px) { body:has(.site-header:not(.overlay)) { --nav-top: calc(var(--header-h, 5rem) + .75rem); } }
body:has(.site-header:not(.overlay)):has(.section-nav) .anchor { scroll-margin-top: calc(var(--nav-top) + 6rem); }
.section-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .95rem .5rem .85rem; font-size: .9rem; font-weight: 600; color: var(--navy); text-align: center; transition: background .15s ease, color .15s ease; }
.section-nav a + a { border-left: 1px solid var(--line); }
.section-nav a .icon { width: 1.35rem; height: 1.35rem; color: var(--blue); transition: transform .15s ease; }
.section-nav a::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold-400); transform: scaleX(0); transition: transform .2s ease; }
.section-nav a:hover { background: var(--pine-50); color: var(--blue-dark); }
.section-nav a:hover .icon { transform: translateY(-2px); }
.section-nav a:hover::after, .section-nav a:focus-visible::after, .section-nav a.on::after { transform: scaleX(1); }
.section-nav a.on { color: var(--blue-dark); background: var(--pine-50); }
.section-nav a:first-child { border-radius: 15px 0 0 15px; }
.section-nav a:last-child { border-radius: 0 15px 15px 0; }
@media (min-width: 640px) { .section-nav a { flex-direction: row; gap: .55rem; padding: 1.1rem .75rem; font-size: .95rem; } }
.stack > .section-nav.after-image { margin-top: 1.5rem; }
.section-nav.stuck { box-shadow: 0 12px 30px rgba(11,31,58,.16); }
.connect-choice { display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--parchment); }
.connect-choice .btn { margin-top: auto; }
.connect-choice .small { flex: 1; }
.guide { border: 1px solid var(--line); border-radius: 12px; background: var(--parchment); padding: .85rem 1rem; }
.guide > summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--blue-dark); list-style: none; display: flex; align-items: center; gap: .4rem; }
.guide > summary::-webkit-details-marker { display: none; }
.guide > summary::before { content: "▸"; color: var(--blue); transition: transform .15s ease; }
.guide[open] > summary::before { transform: rotate(90deg); }
.guide-list { margin: .4rem 0 0; padding-left: 1.25rem; display: grid; gap: .35rem; font-size: .9rem; line-height: 1.5; color: var(--stone-600); }
.guide-list strong { color: var(--navy); }
.guide-intro { border-left: 4px solid var(--gold-400); }
.help-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.help-steps li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.help-steps .n { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-family: var(--font-display); }
.qr-preview { display: block; width: 100%; max-width: 20rem; margin: 0 auto; aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--line); background: #fff; }

/* Games setup wizard */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.25rem .9rem; margin: 1.25rem 0 .5rem; }
.wizard ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wizard-step { position: relative; }
.wizard-step::before { content: ""; position: absolute; top: 1rem; left: calc(-50% + 1.15rem); right: calc(50% + 1.15rem); height: 3px; border-radius: 3px; background: var(--line); }
.wizard-step:first-child::before { display: none; }
.wizard-step.done::before, .wizard-step.current::before { background: var(--blue); }
.wizard-step > a, .wizard-step > span { display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; color: var(--stone-500); }
.wizard-step > a:hover .lbl { color: var(--blue-dark); }
.wizard-step .dot { width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; background: #fff; border: 2px solid var(--line); color: var(--stone-500); position: relative; z-index: 1; }
.wizard-step .dot .icon { width: 1rem; height: 1rem; }
.wizard-step .lbl { font-size: .78rem; font-weight: 600; line-height: 1.25; }
.wizard-step.done .dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.wizard-step.done .lbl { color: var(--navy); }
.wizard-step.current .dot { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy); box-shadow: 0 0 0 5px rgba(242,194,48,.25); }
.wizard-step.current .lbl { color: var(--navy); font-weight: 700; }
.wizard-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.wizard-foot form { margin: 0; }
@media (max-width: 640px) {
  .wizard ol { overflow-x: auto; grid-template-columns: repeat(6, 5.25rem); scrollbar-width: none; }
  .wizard-step .lbl { font-size: .72rem; }
}


/* Contact */
.contact-layout { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr) 17rem; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-topic { display: flex; gap: .85rem; align-items: flex-start; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.contact-topic:hover { border-color: var(--pine-200); transform: translateY(-1px); }
.contact-topic-icon { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--pine-50); color: var(--pine-700); }
.contact-sent { text-align: center; padding-block: 3rem; }
.contact-sent .row { justify-content: center; }
.contact-sent-icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--pine-50); color: var(--pine-700); }
.contact-sent-icon .icon { width: 1.75rem; height: 1.75rem; }
.contact-tip a { color: inherit; }
.message-item { border-top: 1px solid var(--line); padding: 1rem 1.25rem; }
.message-item.handled { opacity: .7; }
.message-list { list-style: none; margin: 0; padding: 0; }
.message-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.message-when { margin-left: auto; }

/* Games revenue */
.revenue-payout { background: var(--pine-50); border-color: var(--pine-200); }
.revenue-payout .v { color: var(--blue); }
.revenue-weeks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.revenue-weeks li { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 5rem; align-items: center; gap: .25rem .9rem; font-variant-numeric: tabular-nums; }
.revenue-weeks .wk { font-size: .85rem; color: var(--stone-600); }
.revenue-weeks .bar { margin: 0; display: block; }
.revenue-weeks .bar > span { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.revenue-weeks .amt { text-align: right; font-weight: 600; color: var(--navy); }
.revenue-weeks .cnt { grid-column: 2 / -1; margin-top: -.2rem; }
.revenue-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.revenue-table th.num { text-align: right; }
@media (max-width: 640px) { .revenue-table .opt { display: none; } }
.revenue-table tfoot td { border-top: 2px solid var(--line); background: var(--cream); }
.link-plain { color: var(--navy); }
.link-plain:hover { color: var(--blue); }
.revenue-sum { margin: 0; display: grid; }
.revenue-sum > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.revenue-sum > div:first-child { border-top: 0; }
.revenue-sum dd { margin: 0; font-weight: 600; color: var(--navy); }
.revenue-sum .total dt, .revenue-sum .total dd { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--blue); }
.seg-links { display: flex; gap: .25rem; padding: .25rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.seg-links a { padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--stone-600); }
.seg-links a.on { background: var(--navy); color: #fff; }
.admin-months li { grid-template-columns: 5rem minmax(0, 1fr) 6.5rem; }
.admin-months .bars { display: grid; gap: .3rem; }
.admin-months .bar { height: 9px; }
.bar.plan > span, .legend-dot.plan { background: var(--navy); }
.legend-dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 2px; background: var(--blue); margin: 0 .25rem 0 .5rem; vertical-align: middle; }

/* Custom websites: the /websites page and the callouts that point to it. */
.site-addon-price { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--blue); white-space: nowrap; }
.site-choices { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: .6rem; font-size: .875rem; font-weight: 600; color: var(--pine-900); }
.site-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: 1.4rem 1.6rem; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.site-offer > div { flex: 1 1 22rem; min-width: 0; }
.site-offer-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.site-offer-text { margin-top: .3rem; font-size: .925rem; color: rgba(255,255,255,.78); }
.btn-on-navy { background: #fff; color: var(--navy); }
.btn-on-navy:hover { background: var(--pine-50); }
.site-band { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; padding: 1.4rem 1.6rem; border: 1px solid var(--pine-200); border-radius: var(--radius-lg); background: var(--pine-50); }
.site-band .feature-icon { background: #fff; }
.site-band .grow { flex: 1 1 20rem; min-width: 0; }
.site-callout { position: relative; display: flex; gap: 1rem; align-items: flex-start; }
.site-callout .grow { min-width: 0; padding-right: 1.5rem; }
.site-callout-line { align-items: center; padding: .85rem 1rem; border: 1px dashed var(--pine-200); border-radius: 12px; background: #fff; font-size: .9rem; color: var(--stone-700); }
.callout-close { position: absolute; top: .6rem; right: .6rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 8px; background: none; color: var(--stone-500); cursor: pointer; }
.callout-close:hover { background: var(--pine-50); color: var(--navy); }
.site-callout-line .callout-close { top: 50%; transform: translateY(-50%); }

/* Guides: article with a contents list beside it on wide screens. */
.article-guide { display: grid; gap: 2rem; }
.guide-header { max-width: 46rem; }
.guide-header .knot-rule { margin-top: 1.75rem; }
.guide-crumbs { display: flex; gap: .5rem; color: var(--stone-500); }
.guide-crumbs a { color: var(--blue); font-weight: 600; }
.guide-toc { align-self: start; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.guide-toc ol { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .1rem; counter-reset: toc; }
.guide-toc li { counter-increment: toc; }
.guide-toc a { display: flex; gap: .55rem; padding: .3rem 0; font-size: .9rem; color: var(--stone-700); }
.guide-toc a::before { content: counter(toc); min-width: 1.1rem; color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.guide-toc a:hover { color: var(--blue); }
.guide-body { min-width: 0; max-width: 46rem; }
.guide-body .anchor { scroll-margin-top: calc(var(--header-h, 5rem) + 1rem); }
@media (min-width: 1024px) {
  .article-guide { grid-template-columns: minmax(0, 46rem) 15rem; column-gap: 4rem; justify-content: center; }
  .guide-header { grid-column: 1 / -1; max-width: none; }
  .guide-header > :not(.knot-rule) { max-width: 46rem; }
  .guide-toc { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--header-h, 5rem) + 1.5rem); }
  .guide-body { grid-column: 1; grid-row: 2; }
}
.guide-events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: .5rem; }
.prose .guide-event-chip, .guide-event-chip { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .9rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.prose .guide-event-chip:hover, .guide-event-chip:hover { border-color: var(--pine-200); background: var(--pine-50); }
.guide-event-chip small { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.prose .guide-event { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.prose .guide-event + .guide-event { margin-top: .75rem; }
.guide-event-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.prose .guide-event h3 { margin-top: 0; }
.prose .guide-event p { margin-top: .5rem; }
.guide-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--pine-50); padding: .2rem .55rem; border-radius: 999px; }
.guide-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.guide-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.guide-table th, .guide-table td { padding: .65rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.guide-table th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone-500); background: var(--pine-50); }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-table td + td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.guide-dl { display: grid; gap: .9rem; }
.guide-dl dt { font-weight: 700; color: var(--navy); }
.guide-dl dd { margin: .15rem 0 0; color: var(--stone-700); }
.guide-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 3px solid var(--pine-100); }
.guide-timeline > li { position: relative; padding: 0 0 1.4rem 1.4rem; }
.guide-timeline > li::before { content: ""; position: absolute; left: -.5rem; top: .35rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--parchment); }
.guide-timeline-when { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.guide-timeline ul { margin: .4rem 0 0; padding-left: 1.1rem; list-style: disc; display: grid; gap: .3rem; color: var(--stone-700); font-size: 1rem; }
.guide-note { padding: 1.1rem 1.25rem; border: 1px solid var(--pine-200); border-radius: 12px; background: var(--pine-50); }
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 2.5rem; padding: 1.4rem 1.6rem; border-radius: var(--radius-lg); background: var(--navy); color: rgba(255,255,255,.8); }
.guide-cta > div { flex: 1 1 18rem; }
.guide-cta-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; }
.guide-card { display: block; text-decoration: none; color: inherit; }
.guide-body section > * + * { margin-top: 1em; }
.guide-body section > h2 + * { margin-top: .75em; }
.guide-body > section + section { margin-top: 2.75rem; }
.guide-body > section:first-child h2 { margin-top: 0; }
.prose .guide-timeline { list-style: none; padding-left: 0; }

/* Organizer website and social profile buttons. */
.social-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.social-links .label-caps + ul { margin-top: .6rem; }
.social-links a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); transition: background .15s, color .15s, border-color .15s; }
.social-links a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.social-links .icon { width: 1.15rem; height: 1.15rem; }

/* Full Stripe session id in admin tables: wraps instead of clipping, and copies on click. */
.session-id { display: block; max-width: 17rem; margin-top: .2rem; padding: 0; border: 0; background: none; text-align: left; word-break: break-all; cursor: copy; }
.session-id:hover { color: var(--blue); }
.session-id .icon { width: .85em; height: .85em; vertical-align: -.1em; }
.session-id.copied { color: var(--pine-600); }
.announcement { position: relative; }
.announcement > .container { padding-inline: 2.75rem; }
.announcement .callout-close { top: 50%; transform: translateY(-50%); color: inherit; opacity: .8; }
.announcement .callout-close:hover { opacity: 1; background: rgba(255,255,255,.18); color: inherit; }
.announcement-success .callout-close:hover, .announcement-warn .callout-close:hover { background: rgba(11,31,58,.08); }

/* Games page sidebar before registration opens. */
.opens-box { padding: .9rem 1rem; border-radius: 12px; background: var(--pine-50); border: 1px solid var(--line); }
.opens-when { margin-top: .3rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--navy); }

/* Paid extras on the registration form. */
.extras { display: grid; gap: .6rem; }
.extra-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; flex-shrink: 0; }
.qty button { width: 2.25rem; height: 2.25rem; border: 0; background: none; font-size: 1.15rem; font-weight: 600; color: var(--navy); cursor: pointer; border-radius: 999px; }
.qty button:disabled { color: var(--stone-400); opacity: .5; cursor: default; }
.qty button:not(:disabled):hover { background: var(--pine-50); }
.qty span { min-width: 1.5rem; text-align: center; font-weight: 600; }
.extra-edit { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }

/* Team page. */
:where(.team-list) { margin: 0; }
.team-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.team-list > li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.team-list > li:last-child { border-bottom: 0; }
.role-list { display: grid; gap: .6rem; font-size: .875rem; }
.role-list > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.role-list dt { font-weight: 600; color: var(--navy); }
.role-list dd { margin: 0; color: var(--stone-600); }
.waitlist-box { padding: 1rem 1.15rem; border-radius: 12px; background: var(--pine-50); border: 1px solid var(--line); }
.change-request { border-color: var(--gold-400); background: var(--gold-100); }
.change-request .icon { color: var(--gold-600); vertical-align: -.15em; }
.code-uses { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .5rem; font-size: .8125rem; }
.code-uses > li { padding: .6rem .8rem; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); }
.idea-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.idea-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border-radius: 999px; border: 1px dashed var(--blue); background: #fff; color: var(--blue); font: 600 .85rem var(--font-sans); cursor: pointer; }
.idea-chip:hover { background: var(--pine-50); border-style: solid; }
.idea-chip .icon { width: .9rem; height: .9rem; }
.idea-chip span { color: var(--stone-500); font-weight: 500; }
.item-thumb { width: 4rem; height: 4rem; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex-shrink: 0; }
.extra-row img { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex-shrink: 0; }

/* Admin → Clients order builder. */
.order-lines { display: grid; gap: .5rem; }
.order-line { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) 8.5rem 7.5rem; gap: .6rem; align-items: center; }
.order-head { color: var(--stone-500); }
@media (max-width: 639px) { .order-line { grid-template-columns: 1.5rem 1fr; } .order-line > :nth-child(n+3) { grid-column: 2; } .order-head { display: none; } }

/* Compare page. */
.cmp-us { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.cmp-result { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cmp-result.cmp-us { box-shadow: none; }
.cmp-best { background: var(--pine-50); }
.cmp-yes .icon { color: var(--pine-600); width: 1.1rem; height: 1.1rem; }
.cmp-no { color: var(--stone-500); font-weight: 600; }
.cmp-na { color: var(--stone-400); font-size: .8125rem; }
.cmp-text { font-size: .8125rem; color: var(--stone-700); }
.cmp-table td:first-child { font-weight: 500; }
.cmp-table td:not(:first-child), .cmp-table th:not(:first-child) { text-align: center; }
/* On phones the feature table scrolls sideways in its box rather than crushing the first column. */
.cmp-table table { min-width: 34rem; }
.cmp-table td:first-child { min-width: 11rem; }
