/* Nemanj-AI FPL - generated by scripts/site_build.py. Do not edit. */

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: light;

  --paper: #fffdf6;
  --bg: #f5f2ea;
  --ink: #1a1812;
  --body: #26241c;
  --prose: #3a372e;
  --green: #2e5c43;
  --green-dark: #1d3f2d;
  --amber: #f0b429;
  --rust: #7a3b2e;
  --rule: #ddd7c9;
  --muted: #6b675c;
  --faint: #8a8578;
  --cream: #d8d2c2;
  --mint: #9fd8bc;
  --sage: #bcd2c3;
  --shade: #f0ece0;
  --shade-2: #faf7ee;
  --dash: #b6b0a2;
  --rose: #d9b8ae;
  --footer-ink: #a8a294;
  --leaf: #7fae91;
  --link-rule: #b9cfc2;
  --select: #d8e6dd;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rationalised from the canvas's 19 hand-tuned pixel sizes. In rem, so a
     reader's browser font-size setting is respected. */
  --fs-micro: 0.625rem;
  --fs-label: 0.719rem;
  --fs-mono: 0.8rem;
  --fs-mono-lg: 0.875rem;
  --fs-body: 1.094rem;
  --fs-lede: 1.188rem;
  --fs-num: 1.5rem;
  --fs-stat: 2.5rem;
  --fs-display: clamp(2.75rem, 8vw, 4.5rem);

  --ls-tight: -0.015em;
  --ls-wide: 0.08em;
  --ls-wider: 0.12em;
  --ls-widest: 0.14em;

  --measure: 1180px;
  --gutter: 28px;
  --aside: 350px;
  --shadow: 5px 5px 0 rgba(26, 24, 18, 0.16);
  --shadow-sm: 4px 4px 0 rgba(26, 24, 18, 0.12);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none;
    border-bottom: 1px solid var(--link-rule); }
a:hover { color: var(--green-dark); border-bottom-color: var(--green); }
::selection { background: var(--select); }

h1, h2, h3, h4 { font-weight: 600; margin: 0; }
img, svg { max-width: 100%; }
button { font: inherit; }
table { border-collapse: collapse; }
code { font-family: var(--mono); font-size: 0.88em;
       background: var(--shade); padding: 1px 4px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.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;
}
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 8px; top: 8px; z-index: 9; background: var(--paper);
  padding: 8px 12px; border: 1.5px solid var(--ink);
}

.shell { max-width: var(--measure); margin: 0 auto;
         padding: 0 var(--gutter) 80px; }
.mono { font-family: var(--mono); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; margin: 0 0 18px; }

/* ---------------------------------------------------------------- header */
.masthead {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}
.hero { margin: 0; }
.hero__frame { height: clamp(280px, 46vw, 620px); overflow: hidden; }
.hero__frame > img, .hero__frame > svg {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
/* The slot contract: overlays above the illustration must be click-through. */
.hero__scrim {
  position: absolute; top: 0; left: 0; right: 0; height: 150px;
  background: linear-gradient(180deg, rgba(26, 24, 18, 0.72) 0%,
              rgba(26, 24, 18, 0.35) 55%, rgba(26, 24, 18, 0) 100%);
  pointer-events: none;
}
.hero__caption {
  max-width: calc(var(--measure) - 56px);
  margin: 0 auto;
  padding: 8px var(--gutter) 6px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider);
  color: var(--faint);
}
.topbar { position: absolute; top: 0; left: 0; right: 0; padding: 0 32px; }
.topbar__inner {
  max-width: calc(var(--measure) - 56px);
  margin: 0 auto;
  padding: 22px 0 14px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: baseline; gap: 16px; }
.brand__name {
  font-family: var(--mono); font-weight: 600; font-size: 1.625rem;
  letter-spacing: 0.04em; color: var(--bg);
  text-shadow: 0 1px 8px rgba(26, 24, 18, 0.6);
  border-bottom: 0;
}
.brand__name:hover { color: #fff; border-bottom: 0; }
.brand__ai { color: var(--mint); font-style: italic; }
.brand__tag {
  font-family: var(--mono); font-size: 0.75rem; color: var(--cream);
  letter-spacing: var(--ls-wider);
}
.nav {
  display: flex; align-items: center; gap: 22px;
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.nav a { color: var(--bg); border-bottom: 0; }
.nav a:hover { color: #fff; border-bottom: 1px solid var(--bg); }
.lang {
  border: 1px solid var(--bg);
  padding: 5px 10px;
  color: var(--bg);
  border-bottom: 1px solid var(--bg);
}
.lang:hover { background: var(--bg); color: var(--ink); }

/* Archive and permalink pages have no illustration, so the bar sits in normal
   flow on ink rather than floating over a picture. */
.masthead--slim { background: var(--ink); }
.masthead--slim .topbar { position: static; }

/* -------------------------------------------------------------- deadline */
.deadline {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 10px 14px; margin: 32px 0 0;
  background: var(--ink); color: var(--cream);
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: 0.1em;
}
.deadline__when { color: var(--amber); }
/* Filled by site.js; empty and invisible when JavaScript is off, because the
   absolute deadline is already rendered beside it. */
.deadline__count { font-variant-numeric: tabular-nums; }
/* the separator only appears once the script has put something there, and only
   while the phrase it follows is still visible */
.deadline__next:not([hidden]) + .deadline__count:not(:empty)::before {
  content: "· ";
}
.deadline__next[hidden] { display: none; }

/* ------------------------------------------------------------------ lede */
.lede { margin: 32px 0 0; max-width: 820px; }
.lede h1 {
  font-size: var(--fs-display); line-height: 1.02;
  letter-spacing: var(--ls-tight); margin: 0 0 20px;
}
.lede h1 em { font-style: italic; color: var(--green); }
.lede p {
  font-size: var(--fs-lede); line-height: 1.55; margin: 0;
  color: var(--prose); font-style: italic;
}

/* ----------------------------------------------------------------- stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  margin: 36px 0 0;
}
.stat { padding: 18px 20px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--mono); font-size: var(--fs-stat); font-weight: 600;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.stat__value--green { color: var(--green); }
.stat__value small { font-size: 0.5em; color: var(--muted); }
.stat__label {
  font-family: var(--mono); font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider); color: var(--muted); margin-top: 8px;
}

/* ---------------------------------------------------------------- layout */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--aside);
  gap: 40px; align-items: start; margin-top: 40px;
}
.column { min-width: 0; }
.rail { display: flex; flex-direction: column; gap: 22px; }

/* ------------------------------------------------------------------ blog */
.section-label {
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: var(--ls-widest); color: var(--muted);
  border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 8px;
}
.post { padding: 32px 0 36px; border-bottom: 1px solid var(--rule); }
.post:last-child { border-bottom: 0; }
.post__meta {
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.1em;
}
.post__badge { background: var(--ink); color: var(--bg); padding: 3px 8px; }
.post__badge--review { background: var(--green); }
.post__date { color: var(--muted); }
.post__title {
  font-size: var(--fs-stat); line-height: 1.08; margin: 14px 0 10px;
  letter-spacing: -0.01em;
}
.post__title a { color: inherit; border-bottom: 0; }
.post__title a:hover { color: var(--green); }
.post__deck {
  font-size: 1.375rem; line-height: 1.25; font-style: italic;
  color: var(--rust); margin: 0 0 16px;
}
.post__deck--review { color: var(--green); }
.post__body { font-size: var(--fs-body); line-height: 1.62; color: var(--body); }
.post__body p { margin: 0 0 14px; }
.post__body h3 { font-size: 1.4375rem; margin: 26px 0 10px; }
.post__body h4 { font-size: 1.125rem; margin: 22px 0 8px; }
.post__body ul { margin: 0 0 14px; padding-left: 22px; }
.post__body li { margin: 0 0 6px; }
.post__body blockquote {
  margin: 0 0 16px; padding: 2px 0 2px 16px;
  border-left: 3px solid var(--green);
  font-style: italic; color: var(--prose);
}
.post__body table { width: 100%; min-width: 320px; }
.post__body th {
  font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400;
  letter-spacing: 0.1em; color: var(--muted); text-align: left;
  padding: 0 10px 7px 0; border-bottom: 1px solid var(--ink);
}
.post__body td {
  font-family: var(--mono); font-size: var(--fs-mono); color: var(--body);
  padding: 7px 10px 7px 0; border-bottom: 1px dotted var(--rule);
}
.post__body th.num, .post__body td.num { text-align: right; }
.post__more { font-family: var(--mono); font-size: var(--fs-label);
              letter-spacing: var(--ls-wide); }

.empty {
  border: 1.5px dashed var(--dash); background: var(--paper);
  padding: 30px 26px; margin: 42px 0 46px;
}
.empty__label {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: var(--ls-widest); color: var(--muted);
}
.empty p {
  margin: 14px 0 0; font-size: var(--fs-body); line-height: 1.6;
  color: var(--prose); font-style: italic;
}

/* --------------------------------------------------------------- receipt */
.receipt {
  margin-top: 20px; border: 1.5px solid var(--ink);
  background: var(--paper); box-shadow: var(--shadow-sm);
}
.receipt__head {
  font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: var(--ls-wider); color: var(--muted);
  padding: 8px 14px; border-bottom: 1px solid var(--rule);
  overflow-wrap: anywhere;
}
/* A definition list on a two-column grid, replacing the canvas's
   &nbsp;-padded monospace, which wrapped badly on narrow screens. */
.receipt__rows {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 2px 14px; margin: 0; padding: 12px 14px;
  font-family: var(--mono); font-size: var(--fs-mono); line-height: 1.75;
  color: var(--body);
}
.receipt__rows dt { color: var(--muted); }
.receipt__rows dd { margin: 0; overflow-wrap: anywhere; }

/* ----------------------------------------------------------------- cards */
.card {
  border: 1.5px solid var(--ink); background: var(--paper);
  box-shadow: var(--shadow);
}
.card__head {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 16px;
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: var(--ls-widest);
}
.card__head--green { background: var(--green); color: var(--bg); }
.card__head--green .card__meta { color: var(--sage); }
.card__head--amber { background: var(--amber); color: var(--ink); }
.card__head--amber .card__meta { color: rgba(26, 24, 18, 0.6); }
.card__head--rust { background: var(--rust); color: var(--bg); }
.card__head--rust .card__meta { color: var(--rose); }
.card__note {
  font-family: var(--mono); font-size: var(--fs-micro); line-height: 1.5;
  letter-spacing: 0.04em; color: var(--faint); padding: 0 16px 12px;
}

/* ------------------------------------------------------------- standings */
.total { padding: 18px 16px 8px; display: flex; align-items: baseline;
         gap: 10px; }
.total__value {
  font-family: var(--mono); font-size: 2.875rem; font-weight: 600;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.total__label {
  font-family: var(--mono); font-size: 0.75rem; color: var(--muted);
  letter-spacing: var(--ls-wide);
}
.leagues { padding: 8px 16px 16px; display: flex; flex-direction: column; }
.league { padding: 10px 0 12px; border-top: 1px solid var(--rule); }
.league__top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; margin-bottom: 7px;
}
.league__name {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: var(--ls-wide); color: var(--muted);
}
.league__weight { color: var(--faint); font-size: var(--fs-micro); }
.league__rank {
  font-family: var(--mono); font-size: 0.9375rem; font-weight: 600;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.league__rank span { color: var(--muted); font-weight: 400; }
.bar {
  position: relative; height: 13px; border: 1px solid var(--ink);
  background: var(--bg);
}
.bar--primary { height: 16px; }
.bar--empty { border-color: var(--dash); }
/* The one dynamic value the markup is allowed to carry: --pct. */
.bar__fill {
  position: absolute; inset: 0 auto 0 0;
  width: calc(var(--pct, 0) * 1%);
  background: var(--green);
}
.bar__marker {
  position: absolute; top: -4px; bottom: -4px; width: 3px;
  left: calc(var(--pct, 0) * 1%); background: var(--ink);
}
.bar__ticks {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0,
    transparent 27px, rgba(26, 24, 18, 0.12) 27px,
    rgba(26, 24, 18, 0.12) 28px);
}
.league__foot {
  display: flex; justify-content: space-between; gap: 8px; margin-top: 5px;
  font-family: var(--mono); font-size: var(--fs-micro); color: var(--faint);
}
.league__pct { color: var(--green); font-weight: 600; }
.leagues__note {
  padding: 10px 0 2px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: var(--fs-micro); line-height: 1.5;
  color: var(--faint);
}

/* ----------------------------------------------------------------- squad */
/* Tabs without JavaScript: two radios, sibling selectors, native keyboard
   support. The radios sit before the labels and panes so ~ can reach them. */
.squad__radio { position: absolute; opacity: 0; width: 0; height: 0; }
.squad__tabs { display: flex; border-bottom: 1px solid var(--rule); }
.tab {
  flex: 1; text-align: center; padding: 7px 0; cursor: pointer;
  font-family: var(--mono); font-size: var(--fs-micro);
  letter-spacing: var(--ls-widest); color: var(--muted);
  background: transparent;
}
#view-pitch:checked ~ .squad__tabs .tab--pitch,
#view-table:checked ~ .squad__tabs .tab--table {
  background: var(--green); color: var(--bg);
}
/* The panes live one level down, inside the per-gameweek panel, so these have
   to be `~ .squad-panel .pane--x` and not `~ .pane--x`. `~` only reaches
   SIBLINGS: when the gameweek picker wrapped each gameweek's pitch and table in
   a .squad-panel, the bare sibling form silently stopped matching and both
   panes rendered at once with the tabs doing nothing. Nothing failed loudly —
   the classes still existed and every rule still parsed, which is precisely why
   --selftest now pins this pair of selectors against the markup. */
#view-pitch:checked ~ .squad-panel .pane--table,
#view-table:checked ~ .squad-panel .pane--pitch { display: none; }
#view-pitch:focus-visible ~ .squad__tabs .tab--pitch,
#view-table:focus-visible ~ .squad__tabs .tab--table {
  outline: 2px solid var(--ink); outline-offset: -3px;
}

/* Gameweek picker. A second radio group, same no-JS mechanism as the tabs: a
   <select> cannot switch panels without script, and this page has to be right
   with JavaScript off. Scrolls sideways rather than wrapping, so a full season
   of chips stays one line. */
.squad__gws {
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: thin;
  border-bottom: 1px solid var(--rule); background: var(--shade);
}
.gwchip {
  flex: 0 0 auto; padding: 6px 12px; cursor: pointer; white-space: nowrap;
  font-family: var(--mono); font-size: var(--fs-micro);
  letter-spacing: var(--ls-wide); color: var(--muted);
  border-right: 1px solid var(--rule);
}
.gwchip:hover { color: var(--ink); }
.squad-panel { display: none; }

.pitch {
  margin: 12px; padding: 18px 8px 24px; position: relative; overflow: hidden;
  border: 1.5px solid var(--ink); background: var(--green);
  background-image: repeating-linear-gradient(180deg,
    rgba(245, 242, 234, 0.055) 0, rgba(245, 242, 234, 0.055) 36px,
    transparent 36px, transparent 72px);
}
.pitch::before, .pitch::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  border: 1px solid rgba(245, 242, 234, 0.35);
}
.pitch::before { top: 0; width: 120px; height: 30px; border-top: none; }
.pitch::after {
  bottom: -44px; width: 88px; height: 88px; border-radius: 50%;
}
.pitch__row {
  position: relative; display: flex; justify-content: center; gap: 6px;
}
.pitch__row + .pitch__row { margin-top: 16px; }
.player { width: 60px; text-align: center; font-family: var(--mono); }
.player__kit { display: block; margin: 0 auto; }
.player__badge {
  position: absolute; top: -3px; right: -6px; width: 15px; height: 15px;
  border-radius: 50%; border: 1px solid var(--ink);
  font-size: 0.5625rem; line-height: 15px; text-align: center;
  background: var(--paper); color: var(--ink);
}
.player__badge--c { background: var(--ink); color: var(--bg); }
.player__figure { position: relative; width: 44px; margin: 0 auto; }
.player__name {
  margin-top: 3px; background: var(--ink); color: var(--bg);
  font-size: 0.5625rem; padding: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__pts {
  background: var(--paper); border: 1px solid var(--ink); border-top: none;
  font-size: 0.6875rem; font-weight: 600; padding: 1px 0;
}
.player__pts--haul { color: var(--green); font-weight: 700; }

.squad-table { padding: 10px 16px 6px; }
.squad-table table { width: 100%; }
.squad-table th {
  font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400;
  letter-spacing: var(--ls-wide); color: var(--muted); text-align: left;
  padding: 0 0 6px; border-bottom: 1px solid var(--rule);
}
.squad-table th.num { text-align: right; }
.squad-table td {
  font-family: var(--mono); font-size: var(--fs-mono-lg);
  padding: 6px 0; border-top: 1px dotted var(--rule);
}
.squad-table td.pos { font-size: var(--fs-micro); color: var(--muted); }
.squad-table td.club { font-size: var(--fs-label); color: var(--muted); }
.squad-table td.num { font-weight: 600; font-variant-numeric: tabular-nums; }
.squad-table tr.is-captain { background: var(--shade); }
.squad-table tr.is-captain td { font-weight: 600; }
.squad-table .haul { color: var(--green); }
.tag {
  font-size: 0.625rem; padding: 1px 5px;
  background: var(--ink); color: var(--bg);
}
.tag--v { background: transparent; color: var(--muted); }

.bench {
  padding: 8px 16px 14px; border-top: 1px solid var(--rule);
  background: var(--shade-2);
}
.bench__label {
  font-family: var(--mono); font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider); color: var(--muted); padding: 4px 0 6px;
}
.bench__list {
  display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0;
  list-style: none;
  font-family: var(--mono); font-size: var(--fs-mono); color: var(--muted);
}

/* ----------------------------------------------------------------- chips */
.warchest {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}
.warchest > div { padding: 14px 12px; border-right: 1px solid var(--rule); }
.warchest > div:last-child { border-right: 0; }
.warchest__value {
  font-family: var(--mono); font-size: var(--fs-num); font-weight: 600;
  line-height: 1;
}
.warchest__value--word { font-size: var(--fs-mono); }
.warchest__label {
  font-family: var(--mono); font-size: var(--fs-micro);
  letter-spacing: 0.1em; color: var(--muted); margin-top: 5px;
}
.chipset { padding: 14px 16px 6px; }
.chipset + .chipset { padding: 8px 16px 16px; }
.chipset__top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px;
}
.chipset__label {
  font-family: var(--mono); font-size: var(--fs-micro);
  letter-spacing: var(--ls-wider); color: var(--muted);
}
.chipset__expiry {
  font-family: var(--mono); font-size: var(--fs-micro); color: var(--rust);
  letter-spacing: 0.06em;
}
.pips { display: flex; gap: 6px; margin: 8px 0 4px; padding: 0;
        list-style: none; }
.pip {
  flex: 1; text-align: center; padding: 6px 0;
  font-family: var(--mono); font-size: 0.6875rem;
}
.pip--live { border: 1px solid var(--green); color: var(--green); }
.pip--locked { border: 1px dashed var(--green); color: var(--green);
               opacity: 0.75; }
.pip--future { border: 1px dashed var(--dash); color: var(--faint); }
.pip--used { border: 1px solid var(--ink); background: var(--ink);
             color: var(--bg); }
.pip small { display: block; font-size: 0.53rem; opacity: 0.8; }
.chips__note {
  font-family: var(--mono); font-size: var(--fs-micro); line-height: 1.5;
  color: var(--faint); margin-top: 10px;
}

/* ----------------------------------------------------------------- setup */
.setup { margin-top: 56px; border-top: 3px solid var(--ink);
         padding-top: 28px; }
.setup__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--aside);
  gap: 40px; align-items: start;
}
.setup__label {
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: var(--ls-widest); color: var(--muted); margin-bottom: 14px;
}
.setup__prose { font-size: 1.0625rem; line-height: 1.62; color: var(--body);
                max-width: 680px; }
.setup__prose p { margin: 0 0 14px; }
.spec__head {
  font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: var(--ls-wider); padding: 8px 14px;
  background: var(--ink); color: var(--bg);
}
.spec__rows {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 12px; margin: 0; padding: 12px 14px;
  font-family: var(--mono); font-size: var(--fs-mono); line-height: 1.7;
  color: var(--body);
}
.spec__rows dt { color: var(--muted); }
.spec__rows dd { margin: 0; overflow-wrap: anywhere; }
.spec__rows dd ul { margin: 0; padding: 0; list-style: none; }

/* --------------------------------------------------------------- archive */
.page-head { margin: 40px 0 0; max-width: 720px; }
.page-head h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); line-height: 1.05;
                letter-spacing: var(--ls-tight); }
.page-head p { font-size: var(--fs-lede); line-height: 1.55; color: var(--prose);
               font-style: italic; margin: 14px 0 0; }
.archive { margin: 36px 0 0; padding: 0; list-style: none;
           border-top: 2px solid var(--ink); }
.archive li {
  display: grid; grid-template-columns: 8.5rem 8rem minmax(0, 1fr);
  gap: 14px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.archive__date, .archive__kind {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: var(--ls-wide); color: var(--muted);
}
.archive__title { font-size: 1.25rem; line-height: 1.3; }
.archive__title a { color: inherit; border-bottom: 0; }
.archive__title a:hover { color: var(--green);
                          border-bottom: 1px solid var(--link-rule); }

/* ---------------------------------------------------------------- footer */
.footer {
  margin-top: 60px; background: var(--ink); padding: 18px 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: var(--ls-wide); color: var(--footer-ink);
}
.footer a { color: var(--cream); border-bottom-color: #55514a; }
.footer a:hover { color: #fff; }
.footer__ai { color: var(--leaf); }
.footer__links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .layout, .setup__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .archive li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .topbar { padding: 0 18px; }
  .deadline { font-size: var(--fs-micro); }
  .post__title { font-size: 1.875rem; }
  .post__deck { font-size: 1.1875rem; }
  .warchest { grid-template-columns: minmax(0, 1fr); }
  .warchest > div { border-right: 0; border-bottom: 1px solid var(--rule); }
}

@media print {
  .noprint { display: none !important; }
  body { background: #fff; }
  .card, .receipt { box-shadow: none; }
  .masthead { display: none; }
  a { color: inherit; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ------------------------------------------- gameweek picker */
#gw-1:checked ~ .squad__gws .gwchip--1 { background: var(--amber); color: var(--ink); }
#gw-1:checked ~ .squad-panel--1 { display: block; }
#gw-1:focus-visible ~ .squad__gws .gwchip--1 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-2:checked ~ .squad__gws .gwchip--2 { background: var(--amber); color: var(--ink); }
#gw-2:checked ~ .squad-panel--2 { display: block; }
#gw-2:focus-visible ~ .squad__gws .gwchip--2 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-3:checked ~ .squad__gws .gwchip--3 { background: var(--amber); color: var(--ink); }
#gw-3:checked ~ .squad-panel--3 { display: block; }
#gw-3:focus-visible ~ .squad__gws .gwchip--3 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-4:checked ~ .squad__gws .gwchip--4 { background: var(--amber); color: var(--ink); }
#gw-4:checked ~ .squad-panel--4 { display: block; }
#gw-4:focus-visible ~ .squad__gws .gwchip--4 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-5:checked ~ .squad__gws .gwchip--5 { background: var(--amber); color: var(--ink); }
#gw-5:checked ~ .squad-panel--5 { display: block; }
#gw-5:focus-visible ~ .squad__gws .gwchip--5 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-6:checked ~ .squad__gws .gwchip--6 { background: var(--amber); color: var(--ink); }
#gw-6:checked ~ .squad-panel--6 { display: block; }
#gw-6:focus-visible ~ .squad__gws .gwchip--6 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-7:checked ~ .squad__gws .gwchip--7 { background: var(--amber); color: var(--ink); }
#gw-7:checked ~ .squad-panel--7 { display: block; }
#gw-7:focus-visible ~ .squad__gws .gwchip--7 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-8:checked ~ .squad__gws .gwchip--8 { background: var(--amber); color: var(--ink); }
#gw-8:checked ~ .squad-panel--8 { display: block; }
#gw-8:focus-visible ~ .squad__gws .gwchip--8 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-9:checked ~ .squad__gws .gwchip--9 { background: var(--amber); color: var(--ink); }
#gw-9:checked ~ .squad-panel--9 { display: block; }
#gw-9:focus-visible ~ .squad__gws .gwchip--9 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-10:checked ~ .squad__gws .gwchip--10 { background: var(--amber); color: var(--ink); }
#gw-10:checked ~ .squad-panel--10 { display: block; }
#gw-10:focus-visible ~ .squad__gws .gwchip--10 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-11:checked ~ .squad__gws .gwchip--11 { background: var(--amber); color: var(--ink); }
#gw-11:checked ~ .squad-panel--11 { display: block; }
#gw-11:focus-visible ~ .squad__gws .gwchip--11 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-12:checked ~ .squad__gws .gwchip--12 { background: var(--amber); color: var(--ink); }
#gw-12:checked ~ .squad-panel--12 { display: block; }
#gw-12:focus-visible ~ .squad__gws .gwchip--12 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-13:checked ~ .squad__gws .gwchip--13 { background: var(--amber); color: var(--ink); }
#gw-13:checked ~ .squad-panel--13 { display: block; }
#gw-13:focus-visible ~ .squad__gws .gwchip--13 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-14:checked ~ .squad__gws .gwchip--14 { background: var(--amber); color: var(--ink); }
#gw-14:checked ~ .squad-panel--14 { display: block; }
#gw-14:focus-visible ~ .squad__gws .gwchip--14 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-15:checked ~ .squad__gws .gwchip--15 { background: var(--amber); color: var(--ink); }
#gw-15:checked ~ .squad-panel--15 { display: block; }
#gw-15:focus-visible ~ .squad__gws .gwchip--15 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-16:checked ~ .squad__gws .gwchip--16 { background: var(--amber); color: var(--ink); }
#gw-16:checked ~ .squad-panel--16 { display: block; }
#gw-16:focus-visible ~ .squad__gws .gwchip--16 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-17:checked ~ .squad__gws .gwchip--17 { background: var(--amber); color: var(--ink); }
#gw-17:checked ~ .squad-panel--17 { display: block; }
#gw-17:focus-visible ~ .squad__gws .gwchip--17 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-18:checked ~ .squad__gws .gwchip--18 { background: var(--amber); color: var(--ink); }
#gw-18:checked ~ .squad-panel--18 { display: block; }
#gw-18:focus-visible ~ .squad__gws .gwchip--18 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-19:checked ~ .squad__gws .gwchip--19 { background: var(--amber); color: var(--ink); }
#gw-19:checked ~ .squad-panel--19 { display: block; }
#gw-19:focus-visible ~ .squad__gws .gwchip--19 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-20:checked ~ .squad__gws .gwchip--20 { background: var(--amber); color: var(--ink); }
#gw-20:checked ~ .squad-panel--20 { display: block; }
#gw-20:focus-visible ~ .squad__gws .gwchip--20 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-21:checked ~ .squad__gws .gwchip--21 { background: var(--amber); color: var(--ink); }
#gw-21:checked ~ .squad-panel--21 { display: block; }
#gw-21:focus-visible ~ .squad__gws .gwchip--21 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-22:checked ~ .squad__gws .gwchip--22 { background: var(--amber); color: var(--ink); }
#gw-22:checked ~ .squad-panel--22 { display: block; }
#gw-22:focus-visible ~ .squad__gws .gwchip--22 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-23:checked ~ .squad__gws .gwchip--23 { background: var(--amber); color: var(--ink); }
#gw-23:checked ~ .squad-panel--23 { display: block; }
#gw-23:focus-visible ~ .squad__gws .gwchip--23 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-24:checked ~ .squad__gws .gwchip--24 { background: var(--amber); color: var(--ink); }
#gw-24:checked ~ .squad-panel--24 { display: block; }
#gw-24:focus-visible ~ .squad__gws .gwchip--24 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-25:checked ~ .squad__gws .gwchip--25 { background: var(--amber); color: var(--ink); }
#gw-25:checked ~ .squad-panel--25 { display: block; }
#gw-25:focus-visible ~ .squad__gws .gwchip--25 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-26:checked ~ .squad__gws .gwchip--26 { background: var(--amber); color: var(--ink); }
#gw-26:checked ~ .squad-panel--26 { display: block; }
#gw-26:focus-visible ~ .squad__gws .gwchip--26 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-27:checked ~ .squad__gws .gwchip--27 { background: var(--amber); color: var(--ink); }
#gw-27:checked ~ .squad-panel--27 { display: block; }
#gw-27:focus-visible ~ .squad__gws .gwchip--27 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-28:checked ~ .squad__gws .gwchip--28 { background: var(--amber); color: var(--ink); }
#gw-28:checked ~ .squad-panel--28 { display: block; }
#gw-28:focus-visible ~ .squad__gws .gwchip--28 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-29:checked ~ .squad__gws .gwchip--29 { background: var(--amber); color: var(--ink); }
#gw-29:checked ~ .squad-panel--29 { display: block; }
#gw-29:focus-visible ~ .squad__gws .gwchip--29 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-30:checked ~ .squad__gws .gwchip--30 { background: var(--amber); color: var(--ink); }
#gw-30:checked ~ .squad-panel--30 { display: block; }
#gw-30:focus-visible ~ .squad__gws .gwchip--30 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-31:checked ~ .squad__gws .gwchip--31 { background: var(--amber); color: var(--ink); }
#gw-31:checked ~ .squad-panel--31 { display: block; }
#gw-31:focus-visible ~ .squad__gws .gwchip--31 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-32:checked ~ .squad__gws .gwchip--32 { background: var(--amber); color: var(--ink); }
#gw-32:checked ~ .squad-panel--32 { display: block; }
#gw-32:focus-visible ~ .squad__gws .gwchip--32 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-33:checked ~ .squad__gws .gwchip--33 { background: var(--amber); color: var(--ink); }
#gw-33:checked ~ .squad-panel--33 { display: block; }
#gw-33:focus-visible ~ .squad__gws .gwchip--33 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-34:checked ~ .squad__gws .gwchip--34 { background: var(--amber); color: var(--ink); }
#gw-34:checked ~ .squad-panel--34 { display: block; }
#gw-34:focus-visible ~ .squad__gws .gwchip--34 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-35:checked ~ .squad__gws .gwchip--35 { background: var(--amber); color: var(--ink); }
#gw-35:checked ~ .squad-panel--35 { display: block; }
#gw-35:focus-visible ~ .squad__gws .gwchip--35 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-36:checked ~ .squad__gws .gwchip--36 { background: var(--amber); color: var(--ink); }
#gw-36:checked ~ .squad-panel--36 { display: block; }
#gw-36:focus-visible ~ .squad__gws .gwchip--36 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-37:checked ~ .squad__gws .gwchip--37 { background: var(--amber); color: var(--ink); }
#gw-37:checked ~ .squad-panel--37 { display: block; }
#gw-37:focus-visible ~ .squad__gws .gwchip--37 { outline: 2px solid var(--ink); outline-offset: -3px; }
#gw-38:checked ~ .squad__gws .gwchip--38 { background: var(--amber); color: var(--ink); }
#gw-38:checked ~ .squad-panel--38 { display: block; }
#gw-38:focus-visible ~ .squad__gws .gwchip--38 { outline: 2px solid var(--ink); outline-offset: -3px; }
