/* Fife Arctic Foxes IHC — site styles */
/* Fonts: Saira Condensed and Barlow, SIL Open Font License, self-hosted */
@font-face { font-family: "Saira Condensed"; src: url("fonts/saira-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("fonts/saira-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  --ink: #0c0c0f;
  --ink-2: #16161b;
  --ink-3: #22222a;
  --line: #2e2e38;
  --snow: #f5f6f8;
  --frost: #c9cfd8;
  --mute: #9aa1ad;
  --pink: #e92c8e;
  --pink-deep: #c41472;
  --ice: #69c0ce;
  --radius: 14px;
  --wrap: 1120px;
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--snow);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-underline-offset: 3px; }
a:hover { color: #ff5aaa; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 0.6em;
}
.lede { font-size: 1.2rem; color: var(--frost); max-width: 60ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 15, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--snow); text-decoration: none; }
.brand img { width: 40px; height: auto; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; }
.brand small { display: block; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--mute); font-weight: 600; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--frost); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--ink-3); }
.nav a.nav-cta { background: var(--pink); color: #fff; }
.nav a.nav-cta:hover { background: var(--pink-deep); }

.menu-toggle { display: none; }
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ink-3); color: var(--snow);
    border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px;
    font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem;
    cursor: pointer;
  }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .nav a { padding: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12,12,15,0) 60%, var(--ink) 100%),
    url("img/ice-texture.webp") center / 900px repeat, var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(233,44,142,0.28), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero h1 span { color: var(--pink); }
.hero-logo { width: min(420px, 100%); justify-self: center; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.6)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-logo { width: min(260px, 70%); grid-row: 1; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  max-width: 100%; text-align: center;
}
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-deep); color: #fff; }
.btn-ghost { border-color: var(--frost); color: var(--snow); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.06); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--ink-2); }
.section-head { max-width: 720px; margin-bottom: 36px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { font-size: 0.9rem; color: var(--mute); margin-top: 10px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--ice); }
.stat span { font-size: 0.95rem; color: var(--frost); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.card h3 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }
.card .tag {
  display: inline-block; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.85rem; color: var(--ink); background: var(--ice);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}
.card.pink { border-top: 4px solid var(--pink); }

/* Training panel */
.training {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-3);
}
.training div { padding: 22px; border-right: 1px solid var(--line); }
.training div:last-child { border-right: 0; }
.training dt { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.9rem; color: var(--pink); }
.training dd { margin: 6px 0 0; font-size: 1.15rem; font-weight: 600; }
.training dd small { display: block; font-weight: 400; font-size: 0.95rem; color: var(--frost); }
@media (max-width: 860px) {
  .training { grid-template-columns: 1fr 1fr; }
  .training div:nth-child(2) { border-right: 0; }
  .training div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .training { grid-template-columns: 1fr; }
  .training div { border-right: 0; border-bottom: 1px solid var(--line); }
  .training div:last-child { border-bottom: 0; }
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.4rem;
}
.steps b { display: block; font-size: 1.1rem; }
.steps span { color: var(--frost); }

/* ---------- Sponsors ---------- */
.sponsor-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .sponsor-strip { grid-template-columns: 1fr; } }
.sponsor-tile {
  background: #fff; border-radius: var(--radius); display: grid; place-items: center;
  aspect-ratio: 16 / 9; padding: 26px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.sponsor-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(233,44,142,0.25); }
.sponsor-tile img { width: 100%; height: 100%; object-fit: contain; }
.sponsor-tile.dark { background: #111; }

.sponsor {
  display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.sponsor + .sponsor { margin-top: 22px; }
.sponsor .sponsor-tile { aspect-ratio: 4 / 3; }
.sponsor .tier { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ice); font-size: 0.95rem; margin-bottom: 4px; }
.sponsor h3 { font-size: 2rem; }
@media (max-width: 760px) { .sponsor { grid-template-columns: 1fr; } }

/* ---------- Documents ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc-list a {
  display: grid; grid-template-columns: 46px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line);
  color: var(--snow); text-decoration: none;
}
.doc-list a:hover { border-color: var(--pink); }
.doc-list .ico {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(233,44,142,0.14); color: var(--pink); font-family: var(--display); font-weight: 800; font-size: 0.85rem;
}
.doc-list b { display: block; font-weight: 600; }
.doc-list small { color: var(--mute); }
.doc-list .go { color: var(--pink); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 520px) { .doc-list a { grid-template-columns: 40px 1fr; } .doc-list .go { display: none; } }

.notice {
  border-left: 4px solid var(--ice); background: rgba(105,192,206,0.08);
  padding: 16px 20px; border-radius: 0 12px 12px 0; color: var(--frost);
}
.notice b { color: var(--snow); }

.members-panel {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(120deg, rgba(233,44,142,0.18), rgba(105,192,206,0.10));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.members-panel img { width: 72px; }
.members-panel h3 { margin-bottom: 0.2em; }
.members-panel p { margin: 0; color: var(--frost); }
@media (max-width: 760px) { .members-panel { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Page header ---------- */
.page-head {
  background: linear-gradient(180deg, rgba(12,12,15,0.2), var(--ink)), url("img/ice-texture.webp") center / 900px repeat;
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 7vw, 80px) 0 clamp(36px, 5vw, 56px);
}

/* ---------- Footer ---------- */
.site-footer { background: #08080a; border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--mute); font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; color: var(--snow); font-size: 1rem; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--frost); text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { width: 56px; }
.foot-base { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; font-size: 0.85rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- New Foxes guide ---------- */
.kit-list { columns: 2; column-gap: 24px; padding-left: 1.2em; margin: 0 0 20px; }
.kit-list li { margin-bottom: 6px; break-inside: avoid; }
.kit-list li::marker { color: var(--pink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.groups { width: 100%; border-collapse: collapse; background: var(--ink-3); }
.groups th, .groups td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.groups th { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.95rem; color: var(--pink); }
.groups tr:last-child td { border-bottom: 0; }
.groups td:first-child { font-weight: 600; }
@media (max-width: 420px) { .kit-list { columns: 1; } }

/* ---------- Committee: who's who ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 0; }
.person { background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.person dt { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.88rem; color: var(--pink); }
.person dd { margin: 4px 0 0; font-weight: 600; }
.groups td a { color: var(--snow); }
.groups td small { color: var(--frost); }

/* ---------- Fan jerseys ---------- */
@media (max-width: 1100px) and (min-width: 901px) { .nav a { padding: 8px 8px; font-size: 0.98rem; } .brand small { display: none; } }
.promo { background: linear-gradient(110deg, rgba(233,44,142,0.22), rgba(105,192,206,0.10)); border-bottom: 1px solid var(--line); }
.promo-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px 0; }
.promo-inner img { width: 96px; border-radius: 12px; background: #fff; padding: 6px; }
.promo h2 { font-size: 1.9rem; margin: 0 0 4px; }
.promo p { margin: 0; color: var(--frost); }
@media (max-width: 760px) { .promo-inner { grid-template-columns: auto 1fr; } .promo-inner .btn { grid-column: 1 / -1; } .promo-inner img { width: 72px; } }

.jerseys { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jersey { margin: 0; background: #fff; border-radius: var(--radius); padding: 18px; text-align: center; color: #111; }
.jersey img { max-height: 320px; width: auto; margin: 0 auto; }
.jersey figcaption { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; margin-top: 8px; }
@media (max-width: 520px) { .jerseys { gap: 10px; } .jersey { padding: 10px; } .jersey figcaption { font-size: 1.1rem; } }
.pricebar { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-top: 20px; }
.pricepair { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 8px; }
.pricepair b { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--ice); display: block; line-height: 1; }
.deadline { display: grid; gap: 6px; background: linear-gradient(120deg, rgba(233,44,142,0.25), rgba(105,192,206,0.12)); border: 1px solid var(--pink); border-radius: var(--radius); padding: 18px 22px; margin-top: 20px; }
.deadline b { font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1.1; }
.deadline span { color: var(--frost); }

.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-alt .form { background: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 0.95rem; }
.field small { font-weight: 400; color: var(--mute); }
.field input, .field select { width: 100%; background: var(--ink-2); border: 1px solid var(--line); color: var(--snow); border-radius: 8px; padding: 11px 12px; font: inherit; }
.field input:focus, .field select:focus { border-color: var(--ice); outline: none; box-shadow: 0 0 0 3px rgba(105,192,206,0.25); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1.35fr 0.8fr 1.45fr; gap: 12px; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; gap: 0; } }
.line { background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 0 0 12px; min-width: 0; }
.line-head { display: flex; justify-content: space-between; width: 100%; padding: 0; font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.line-head .line-price { color: var(--ice); }
.line .personal { grid-template-columns: 2fr 1fr; }
.line .personal[hidden] { display: none; }
.line .personal:not([hidden]) { display: grid; }
@media (max-width: 560px) { .line .personal:not([hidden]) { grid-template-columns: 1fr; } }
.line .personal .hint { grid-column: 1 / -1; margin: -6px 0 6px; }
.toggle { display: flex; gap: 8px; }
.toggle label { flex: 1; cursor: pointer; position: relative; }
.toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.toggle span { display: block; text-align: center; padding: 10px 6px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 0.92rem; background: var(--ink-2); }
.toggle input:checked + span { background: var(--pink); border-color: var(--pink); color: #fff; }
.toggle input:focus-visible + span { outline: 3px solid var(--ice); outline-offset: 2px; }
.remove-line { background: none; border: 0; color: var(--mute); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.9rem; padding: 0; }
.remove-line:hover { color: var(--pink); }
.addbtn { background: none; border: 2px dashed var(--line); border-radius: 10px; padding: 10px 16px; color: var(--frost); font: inherit; font-weight: 600; cursor: pointer; margin-bottom: 14px; }
.addbtn:hover { border-color: var(--pink); color: #fff; }
.total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.total b { font-family: var(--display); font-weight: 800; font-size: 2.2rem; }
.hint { font-size: 0.88rem; color: var(--mute); margin: 8px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { border-left: 4px solid var(--pink); background: rgba(233,44,142,0.12); padding: 14px 18px; border-radius: 0 10px 10px 0; margin-top: 14px; }
.form-error ul { margin: 6px 0 0; padding-left: 1.2em; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
button.btn { font-family: var(--display); }

.conf { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.conf:focus { outline: none; }
.conf .ref { font-family: var(--display); font-weight: 800; font-size: 3rem; color: var(--pink); letter-spacing: 0.06em; line-height: 1.1; margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; margin: 18px 0; }
.kv dt { color: var(--frost); }
.kv dd { margin: 0; font-weight: 600; }
.muted { color: var(--mute); font-weight: 400; }
.diagram { margin: 0 0 16px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { font-size: 0.9rem; color: var(--frost); margin-top: 6px; }
.sizes { font-variant-numeric: tabular-nums; }
.sizes th, .sizes td { text-align: center; padding: 9px 12px; }
.sizes td:first-child, .sizes th:first-child { text-align: left; }

@media print {
  .site-header, .site-footer, .page-head, .no-print, .skip, .section:not(#order), #order .split > div:last-child { display: none !important; }
  body { background: #fff; color: #000; }
  .conf, .section-alt { background: #fff !important; border: 0; color: #000; }
  .conf .ref { color: #000; }
  .kv dt, .muted { color: #333; }
  .groups { background: #fff; } .groups th { color: #000; } .groups td, .groups th { border-color: #ccc; }
  #order .split { display: block; }
}

/* ---------- Committee: orders ---------- */
.tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.filters button { background: var(--ink-3); border: 1px solid var(--line); color: var(--frost); border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.filters button.on { background: var(--snow); color: var(--ink); border-color: var(--snow); }
.filters input { flex: 1; min-width: 200px; background: var(--ink-2); border: 1px solid var(--line); color: var(--snow); border-radius: 999px; padding: 8px 14px; font: inherit; }
.orders-table td { vertical-align: top; font-size: 0.95rem; }
.orders-table td small { color: var(--mute); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 0.8rem; white-space: nowrap; }
.pill.paid { background: #1f6f4a; color: #d8ffe9; }
.pill.unpaid { background: #6b2232; color: #ffd9e1; }
.linkbtn { background: none; border: 0; padding: 4px 0 0; color: var(--frost); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.9rem; }
.linkbtn.strong { color: var(--ice); font-weight: 600; }
.linkbtn.danger { color: var(--mute); }
.linkbtn:hover { color: var(--pink); }
@media (max-width: 760px) { #summary { grid-template-columns: 1fr 1fr !important; } }
.btn-ghost { background: transparent; }

/* ---------- Long-form text (privacy notice) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 4px; }
.prose li::marker { color: var(--pink); }

/* ---------- Player kit form ---------- */
.toggle.big span { padding: 13px 8px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; }
.kitrow { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.kitrow .field { margin: 0; }
.kitrow h3 { font-size: 1.15rem; margin: 0; }
.kitrow h3 small { display: block; font-family: var(--body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: var(--mute); margin-top: 2px; }
.kitrow .warn, .kitrow .ok { grid-column: 1 / -1; margin: 0; }
.warn { color: #ffb4c8; font-weight: 600; font-size: 0.92rem; }
.ok { color: #9be3c0; font-weight: 600; font-size: 0.92rem; }
@media (max-width: 480px) { .kitrow { grid-template-columns: 1fr; } }
.chart h3 { font-size: 1.3rem; margin: 22px 0 8px; }
.chart h3:first-of-type { margin-top: 6px; }
[data-pos="Player"] .only-goalie, [data-pos="Goalie"] .only-player { display: none !important; }
.sw { display: inline-flex; align-items: center; gap: 10px; }
.sw .pill { font-size: 0.85rem; }
.orders-table input.cell { width: 64px; background: var(--ink-2); border: 1px solid var(--line); color: var(--snow); border-radius: 6px; padding: 5px 7px; font: inherit; font-size: 0.92rem; }
.orders-table input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ice); cursor: pointer; }
.orders-table td.c { text-align: center; }
.orders-table .sz { white-space: nowrap; }
.kit-table th { font-size: 0.82rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.orders-table select.cell { width: auto; min-width: 104px; }
.orders-table select.cell { background: var(--ink-2); border: 1px solid var(--line); color: var(--snow); border-radius: 6px; padding: 5px 7px; font: inherit; font-size: 0.92rem; }
[data-units="cm"] .u-in, [data-units="in"] .u-cm { display: none; }
.toggle.units { max-width: 380px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.subnav a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-3); color: var(--frost); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.subnav a:hover { border-color: var(--pink); color: var(--snow); }
.subnav a[aria-current] { background: var(--snow); color: var(--ink); border-color: var(--snow); }
/* Player and goalie guides share one space, so switching doesn't move the page */
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; min-width: 0; }
[data-pos="Player"] .stack > .only-goalie, [data-pos="Goalie"] .stack > .only-player { display: block !important; visibility: hidden; }
[data-pos="Player"] .stack > table.only-goalie, [data-pos="Goalie"] .stack > table.only-player { display: table !important; }
.reg-photo { width: 56px; height: 70px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #fff; display: block; }
.photo-preview { max-width: 180px; max-height: 220px; margin-top: 10px; border-radius: 8px; border: 1px solid var(--line); }
.field input[type=file] { padding: 9px; }

[hidden] { display: none !important; }

/* ---------- PVG form ---------- */
.field textarea { width: 100%; background: var(--ink-2); border: 1px solid var(--line); color: var(--snow); border-radius: 8px; padding: 11px 12px; font: inherit; resize: vertical; }
.field textarea:focus { border-color: var(--ice); outline: none; box-shadow: 0 0 0 3px rgba(105,192,206,0.25); }
.field .hint { margin-top: 4px; }
.prose-list { padding-left: 1.3em; margin: 0 0 6px; }
.prose-list li { margin-bottom: 4px; }
.prose-list li::marker { color: var(--pink); font-weight: 700; }
.doc-preview { max-width: 260px; max-height: 200px; margin-top: 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.orders-table .doc { margin: 4px 0 8px; }
@media (max-width: 560px) { .toggle { flex-wrap: wrap; } .toggle label { flex: 1 1 30%; } }
/* Number checker on the player kit orders page */
.numcheck { display: grid; grid-template-columns: 180px 1fr; gap: 6px 20px; align-items: start; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 18px; }
.numcheck input { font-family: var(--display); font-weight: 800; font-size: 1.4rem; }
.num-holders { margin: 4px 0 0; padding-left: 1.2em; }
.num-holders li { margin-bottom: 3px; }
.free-list { grid-column: 1 / -1; font-size: 0.92rem; color: var(--frost); }
.free-list summary { cursor: pointer; font-weight: 600; }
.free-list p { margin: 6px 0 0; line-height: 1.7; }
@media (max-width: 560px) { .numcheck { grid-template-columns: 1fr; } }
/* Sent to Hercules (locked) tables on the committee order pages */
.sent-head { font-size: 1.7rem; margin: 40px 0 10px; display: flex; align-items: center; gap: 10px; }
.sent-head .pill { font-family: var(--body); font-size: 0.9rem; }
.orders-table.locked td { color: var(--frost); }
.orders-table.locked td b { color: var(--snow); }
/* Import a past kit order */
.import-panel { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 16px; }
.import-panel h3 { font-size: 1.3rem; margin: 0 0 6px; }
.import-panel textarea { width: 100%; background: var(--ink-2); border: 1px solid var(--line); color: var(--snow); border-radius: 8px; padding: 10px; font: inherit; font-size: 0.9rem; }
.import-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: end; margin: 12px 0; }
.import-row label { display: grid; gap: 4px; font-size: 0.9rem; color: var(--frost); }
.import-row input[type=date] { background: var(--ink-2); border: 1px solid var(--line); color: var(--snow); border-radius: 8px; padding: 8px 10px; font: inherit; }
.import-preview td { font-size: 0.9rem; }
/* Slim kit tables (Player kit orders) */
.orders-table.slim { font-size: 0.86rem; }
.orders-table.slim th { font-size: 0.72rem; padding: 8px 6px; white-space: nowrap; }
.orders-table.slim td { padding: 7px 6px; vertical-align: middle; font-size: 0.86rem; }
.orders-table.slim td.pl { min-width: 110px; line-height: 1.25; }
.orders-table.slim .nw { white-space: nowrap; }
.orders-table.slim input.cell.xs { width: 40px; padding: 4px 5px; }
.orders-table.slim input.cell.sm { width: 50px; padding: 4px 5px; }
.orders-table.slim select.cell { min-width: 0; width: auto; padding: 4px 3px; font-size: 0.82rem; }
.orders-table.slim input[type=checkbox] { width: 18px; height: 18px; }
.orders-table.slim .more-btn { font-size: 0.78rem; padding: 0; }
.orders-table.slim tr.detail td { background: var(--ink-2); color: var(--frost); font-size: 0.84rem; line-height: 1.6; padding: 8px 10px 10px; border-top: 0; }
.orders-table.slim tr.detail a { color: var(--frost); }
.gk { display: inline-block; font-size: 0.68rem; font-weight: 700; background: var(--ice); color: var(--ink); border-radius: 4px; padding: 0 4px; vertical-align: 1px; }
