/* ════════════════════════════════════════════════════════════════════════
   Acca board (ac-*)
   docs/leagues/acca-builder-plan.md

   A SEPARATE FILE, not an inline <style> block. leagues/index.html carries
   45KB of inline CSS and that is a trap rather than a pattern.

   Built on the shared dashboard shell (.wc-db-shell / .wc-db-sidebar from
   wc-streaks.css) so the fixed rail, the mobile drawer and the nav behave
   exactly as they do on the pick tracker, and on the match page's own card
   vocabulary so a leg card belongs to the same product as everything else:

     · the tier is a TINTED SURFACE with a soft inner top glow, not a loud
       outline - lifted from .pv-card[data-cat] in match.html
     · the price is a FRAMED CHIP, not a line of text - .pv-odds
     · "the book says / we say" is a framed figures strip with the book muted
       and ours larger - .pv-figs / .pv-fig.mine
     · section titles are 22px display with a mono sub pushed right
     · markets carry their own glyph, from the shared STAT_ICONS set

   THE TWO AXES THIS BOARD MUST KEEP APART, because conflating them is the
   whole failure mode:

     TIER  = how much evidence there is. strong / solid / lean / marginal / punt
             (shown as Deep / Sound / Some / Thin / Speculative)
     BAND  = how short the price is.    very_short / short / mid / long
     CONFIDENCE = the board's own 0-100 rating, High / Good / Fair / Low. It
             brings the fair chance, the record and the price together and
             is what the board is ranked on. It is a ranking, not a probability.

   A leg can be the strongest thing on the board and a longshot. So the tier
   colours the SURFACE and our own figure, and the band is a plain outlined
   chip that never takes a colour. Brand red is the page accent and is never a
   tier, because a red tier reads as a warning.
   ════════════════════════════════════════════════════════════════════════ */

body.wc-mode {
  /* Confidence ramp. Green reads as "backed", blue as "data", then it fades
     out through grey. Amber is reserved for the punt, which is a different
     axis and must not look like a rung on this ladder. */
  --ac-strong: #34d399;
  --ac-strong-soft: rgba(52, 211, 153, 0.085);
  --ac-solid: #5b9cff;
  --ac-solid-soft: rgba(91, 156, 255, 0.085);
  --ac-lean: #8f9bbd;
  --ac-lean-soft: rgba(143, 155, 189, 0.10);
  --ac-marginal: #6b7490;
  --ac-marginal-soft: rgba(107, 116, 144, 0.09);
  --ac-punt: #f5b94a;
  --ac-punt-soft: rgba(245, 185, 74, 0.1);
  --ac-reject: #f2555a;
  --ac-reject-soft: rgba(242, 85, 90, 0.10);

  --ac-line: rgba(255, 255, 255, 0.09);
  --ac-line-soft: rgba(255, 255, 255, 0.06);
  --ac-hair: rgba(255, 255, 255, 0.045);
  --ac-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* More air between the big blocks, the way the match page's .wc-pv does. */
.wc-db-main { --ac-gap: 44px; }

/* ── hero ─────────────────────────────────────────────────────────────── */
/* The hub home's hero, to the letter: Red Hat Display 800, sentence case, no
   skew, one two-tone accent with a tight core glow and a faint halo, then a
   hairline row of figures. There is no eyebrow over it on purpose - a mono
   label above a headline that already says what the page is reads as filler,
   and reads as filler written by a machine. */
.ac-hero { padding: clamp(12px, 2.2vw, 24px) 0 clamp(20px, 2.8vw, 32px); }
.ac-title {
  font-family: var(--font-body);        /* Red Hat Display, same as the hub */
  font-weight: 800;
  font-size: clamp(34px, 10.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: none;                 /* sentence case (override base h1) */
  transform: none;                      /* no skew (override base h1) */
  color: var(--text-primary);
  margin: 0 0 clamp(8px, 1.2vw, 12px);
}
.ac-title em {
  font-style: normal; display: inline-block; color: #ff2740;
  text-shadow: 0 0 9px rgba(255, 39, 64, 0.26), 0 0 22px rgba(255, 39, 64, 0.10);
}
.ac-sub {
  margin: 0 0 clamp(14px, 2vw, 20px); font-size: 14px; line-height: 1.55;
  color: var(--text-secondary); max-width: 60ch;
}
/* 18+ and the helpline. Small and quiet, never styled as an advert. */
.ac-rg { margin: 0 0 14px; font-family: var(--font-body); font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.ac-rg a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.ac-rg a:hover { color: #fff; }
.ac-slip-rg { margin: 0; padding: 8px 18px 12px; border-top: 1px solid var(--ac-line-soft); flex: none; }

/* How to read this board. Closed, short, one tap. */
.ac-how { margin: 0 0 var(--ac-gap, 36px); border: 1px solid var(--ac-line); border-radius: 12px; background: rgba(255, 255, 255, 0.018); }
.ac-how > summary {
  list-style: none; cursor: pointer; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--text-secondary);
}
.ac-how > summary::-webkit-details-marker { display: none; }
.ac-how > summary::after { content: '+'; font-size: 15px; line-height: 1; color: var(--text-muted); }
.ac-how[open] > summary::after { content: '\2212'; }
.ac-how > summary:hover { color: #fff; }
.ac-how-body { padding: 0 16px 14px; display: grid; gap: 9px; }
.ac-how-body p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-secondary); max-width: 72ch; }
.ac-how-body b { color: #fff; font-weight: 700; }
/* ── the day strip ───────────────────────────────────────────────────── */
/* Under the headline, one line. It was a column in the rail, which is where
   the upcoming games belong; and the board only runs five days, so a strip
   holds the whole horizon without scrolling on any sane width. */
.ac-days {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: clamp(14px, 1.8vw, 20px);
}
.ac-day {
  appearance: none; display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 13px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ac-line);
  color: var(--text-secondary); font-family: var(--font-body);
  transition: color 150ms var(--ac-ease), border-color 150ms var(--ac-ease), background 150ms var(--ac-ease);
}
.ac-day:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.ac-day-d { font-size: 12.5px; font-weight: 700; letter-spacing: 0.01em; }
/* The fixture count, which is why the strip is worth having: a day with no
   games says so before it is pressed. */
.ac-day-n { font-size: 12px; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ac-day.on {
  color: #fff; border-color: rgba(255, 39, 64, 0.4); background: rgba(255, 39, 64, 0.08);
}
.ac-day.on .ac-day-n { color: #ff2740; }
.ac-day.empty { opacity: 0.45; }



/* ── the matchday rail ────────────────────────────────────────────────── */
/* The sidebar is NAVIGATION, the way it is on the hub home: the days, then
   links out. It carried the filters in round one and should not have: a rail
   of wrapping chips each with a count on it is the widest thing on the page
   stuffed into the narrowest column, and it looked like it.
   Days are the shared .wc-db-sidebar-link, counts in its own count chip, so
   the rail is the same component as every other dashboard's. */
.ac-rail-meta {
  margin: 2px 12px 0; font-family: var(--font-body); font-size: 12px;
  line-height: 1.5; letter-spacing: 0; color: var(--text-muted);
}

/* ── the toolbar ──────────────────────────────────────────────────────── */
/* ONE Filters button, one Sort button, one odds-format toggle. Everything the
   board can be filtered by used to be on screen at once - two popovers, three
   pill groups and a Clear - which is five controls competing for attention
   above a list of six rows. The count on the Filters button is the only state
   that needs to be visible when the panel is shut. */
.ac-tools {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px;
}
.ac-tools-r { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ac-tool {
  appearance: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ac-line);
  border-radius: 10px; color: var(--text-secondary);
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: color 160ms var(--ac-ease), border-color 160ms var(--ac-ease), background 160ms var(--ac-ease);
}
.ac-tool:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.ac-tool b { color: #fff; font-weight: 700; }
.ac-tool-ic { width: 15px; height: 15px; flex: 0 0 auto; display: inline-flex; opacity: 0.75; }
.ac-tool-ic svg { width: 100%; height: 100%; display: block; }
.ac-tool.is-on, .ac-tool[aria-expanded="true"] {
  color: #fff; border-color: rgba(255, 39, 64, 0.4); background: rgba(255, 39, 64, 0.08);
}
.ac-tool.is-on .ac-tool-ic, .ac-tool[aria-expanded="true"] .ac-tool-ic { opacity: 1; color: #ff2740; }
/* How many filters are on, so a shut panel is never a surprise. */
.ac-tool-n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--wc-red-fill, #e0142e); color: #fff;
  font-family: var(--font-body); font-size: 12px; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ac-tool-n[hidden] { display: none; }

.ac-add {
  appearance: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ac-line);
  border-radius: 8px; color: var(--text-secondary);
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: color 160ms var(--ac-ease), border-color 160ms var(--ac-ease), background 160ms var(--ac-ease);
}
.ac-add:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.ac-add.on { color: #fff; border-color: rgba(255, 39, 64, 0.4); background: rgba(255, 39, 64, 0.08); }
.ac-add:disabled { opacity: 0.45; cursor: not-allowed; }

/* The odds-format toggle, same component as the match page's .pv-oddseg. */
.ac-oddseg {
  display: inline-flex; gap: 2px; padding: 3px; flex: none;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
}
.ac-oddseg-b {
  appearance: none; border: 0; border-radius: 7px; padding: 6px 13px; cursor: pointer;
  background: transparent; color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 120ms var(--ac-ease), background 120ms var(--ac-ease);
}
.ac-oddseg-b.is-active { background: rgba(255, 255, 255, 0.14); color: #fff; }
.ac-oddseg-b:hover:not(.is-active) { color: rgba(255, 255, 255, 0.85); }

/* ── the filter panel ─────────────────────────────────────────────────── */
/* INLINE and full width rather than a popover: it holds five groups including
   a competition list and a slider, and a popover tall enough for that would
   scroll inside itself on a laptop and be unusable on a phone. */
.ac-panel {
  margin-bottom: 16px; padding: 18px 20px 16px;
  background: rgba(255, 255, 255, 0.022); border: 1px solid var(--ac-line);
  border-radius: 14px;
}
.ac-panel[hidden] { display: none; }
.ac-panel-grid {
  display: grid; gap: 20px 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.ac-group { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.ac-group-h {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.ac-panel-foot {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ac-hair);
}
.ac-panel-sum { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--text-muted); }

/* ── a competition row, with its badge ───────────────────────────────── */
.ac-comps { display: flex; flex-direction: column; gap: 2px; }
.ac-comp {
  appearance: none; display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 7px 8px; border: 0; background: transparent; border-radius: 8px;
  cursor: pointer; text-align: left; color: var(--text-secondary);
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  transition: background 140ms var(--ac-ease), color 140ms var(--ac-ease);
}
.ac-comp:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.ac-comp.on { background: rgba(255, 39, 64, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 39, 64, 0.3); }
.ac-comp-badge {
  position: relative; width: 22px; height: 22px; flex: 0 0 auto; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
}
.ac-comp-badge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.ac-comp-badge span {
  font-family: var(--font-body); font-size: 12px; font-weight: 800; color: var(--text-secondary);
}
.ac-comp-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-comp-n {
  margin-left: auto; font-family: var(--font-body); font-size: 12px; font-weight: 700;
  color: var(--text-muted); font-variant-numeric: tabular-nums;
}
.ac-comp.on .ac-comp-n { color: #ff2740; }
.ac-segs {
  display: inline-flex; gap: 2px; padding: 4px; flex-wrap: nowrap;
  background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px; overflow-x: auto; max-width: 100%;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ac-segs::-webkit-scrollbar { display: none; }
.ac-seg {
  appearance: none; display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  min-height: 30px; padding: 6px 12px; background: transparent; border: 0; border-radius: 8px;
  color: rgba(255, 255, 255, 0.6); font-family: var(--font-body); font-size: 12px;
  font-weight: 600; letter-spacing: 0.02em; cursor: pointer; white-space: nowrap;
  transition: color 160ms var(--ac-ease), background 160ms var(--ac-ease), box-shadow 160ms var(--ac-ease);
}
.ac-seg:hover:not(:disabled) { color: #fff; background: rgba(255, 255, 255, 0.04); }
.ac-seg.on {
  color: #fff; background: rgba(255, 39, 64, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 39, 64, 0.32), 0 0 18px rgba(255, 39, 64, 0.10);
}
.ac-seg:disabled { opacity: 0.35; cursor: not-allowed; }
.ac-seg-n { font-family: var(--font-body); font-size: 12px; font-weight: 700; opacity: 0.5; }
.ac-seg.on .ac-seg-n { opacity: 0.85; }

/* The long vocabularies - competitions and leg shapes - behind one button
   each, so the toolbar stays on one line however many of them the day has. */
.ac-sel { position: relative; }
.ac-sel-btn {
  appearance: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 7px 10px 7px 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ac-line);
  border-radius: 10px; color: var(--text-secondary); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: background 160ms var(--ac-ease), border-color 160ms var(--ac-ease), color 160ms var(--ac-ease);
}
.ac-sel-btn.has-sel, .ac-sel-btn[aria-expanded="true"] {
  color: #fff; border-color: rgba(255, 39, 64, 0.4); background: rgba(255, 39, 64, 0.08);
}
.ac-sel-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.ac-sel-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.ac-sel-chev {
  width: 9px; height: 9px; flex: 0 0 auto; border: solid rgba(255, 255, 255, 0.55);
  border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms var(--ac-ease), border-color 160ms var(--ac-ease);
}
.ac-sel-btn[aria-expanded="true"] .ac-sel-chev {
  transform: rotate(225deg) translateY(-2px); border-color: #ff2740;
}
.ac-sel-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  min-width: 252px; max-width: min(360px, calc(100vw - 24px));
  padding: 6px; background: #0f1218; border: 1px solid var(--ac-line);
  border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  display: flex; flex-direction: column; gap: 1px;
  max-height: 60vh; overflow-y: auto;
}
.ac-sel-menu[hidden] { display: none; }
.ac-sel-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; margin: 0; border: 0; background: transparent;
  border-radius: 6px; cursor: pointer; text-align: left;
  color: rgba(255, 255, 255, 0.75); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  transition: background 140ms var(--ac-ease), color 140ms var(--ac-ease);
}
.ac-sel-item:hover:not(:disabled) { background: rgba(255, 255, 255, 0.04); color: #fff; }
.ac-sel-item:disabled { cursor: not-allowed; color: rgba(255, 255, 255, 0.6); }
.ac-sel-box {
  position: relative; width: 16px; height: 16px; flex: 0 0 auto; border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.3); background: transparent;
  transition: background 140ms var(--ac-ease), border-color 140ms var(--ac-ease);
}
.ac-sel-item.on .ac-sel-box { background: #ff2740; border-color: #ff2740; }
.ac-sel-item.on .ac-sel-box::after {
  content: ''; position: absolute; left: 4.5px; top: 1px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ac-sel-item:disabled .ac-sel-box { border-color: rgba(255, 255, 255, 0.12); border-style: dashed; }
.ac-sel-item.radio .ac-sel-box { border-radius: 50%; }
.ac-sel-item.radio.on .ac-sel-box::after {
  left: 3.5px; top: 3.5px; width: 5px; height: 5px; border: 0; border-radius: 50%;
  background: #fff; transform: none;
}
.ac-sel-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-sel-n {
  margin-left: auto; padding-left: 10px; font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6); white-space: nowrap;
}
/* ── the price range ─────────────────────────────────────────────────── */
/* Two thumbs over the HOUSE FRACTION LADDER rather than a continuous decimal
   scale, because the question is asked in fractions - "anything over 4/6" -
   and because the rungs a book actually prices are the only stops worth
   landing on. The slider's value is an INDEX into that ladder; the wire still
   carries decimals, since a fraction is a rendering of one.
   Two native range inputs stacked on one track: it keeps full keyboard and
   touch behaviour, which a div-and-pointer-events reimplementation loses. */
.ac-range-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  width: 300px; max-width: calc(100vw - 24px); padding: 16px 18px 14px;
  background: #0f1218; border: 1px solid var(--ac-line); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.ac-range-menu[hidden] { display: none; }
.ac-range-read {
  display: flex; align-items: baseline; gap: 7px; margin-bottom: 15px;
  font-family: var(--font-body); color: #fff;
}
.ac-range-read b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ac-range-read span { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.ac-range-track { position: relative; height: 24px; }
/* The rail both thumbs ride, plus the lit section between them. */
.ac-range-track::before {
  content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 4px;
  border-radius: 2px; background: rgba(255, 255, 255, 0.1);
}
.ac-range-fill {
  position: absolute; top: 10px; height: 4px; border-radius: 2px;
  background: #ff2740; box-shadow: 0 0 12px rgba(255, 39, 64, 0.45);
}
.ac-range-track input[type="range"] {
  position: absolute; left: 0; top: 0; width: 100%; height: 24px; margin: 0;
  appearance: none; background: none; pointer-events: none;
}
.ac-range-track input[type="range"]:focus-visible { outline: none; }
.ac-range-track input[type="range"]::-webkit-slider-thumb {
  appearance: none; pointer-events: auto; cursor: grab;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid #ff2740; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.ac-range-track input[type="range"]::-moz-range-thumb {
  pointer-events: auto; cursor: grab;
  width: 18px; height: 18px; border-radius: 50%; border: 4px solid #ff2740;
  background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.ac-range-track input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(255, 39, 64, 0.35); }
.ac-range-ends {
  display: flex; justify-content: space-between; margin-top: 9px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--text-muted);
}
.ac-range-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.ac-range-note { font-family: var(--font-body); font-size: 12px; line-height: 1.45; color: var(--text-muted); }
.ac-range-reset {
  margin-left: auto; appearance: none; background: transparent; border: 0; padding: 4px 2px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); cursor: pointer;
}
.ac-range-reset:hover { color: #ff2740; }

.ac-clear {
  margin-left: auto; appearance: none; background: transparent; border: 0; padding: 7px 2px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); cursor: pointer;
  transition: color 140ms var(--ac-ease);
}
.ac-clear:hover { color: #ff2740; }
.ac-clear[hidden] { display: none; }

/* ── sections ─────────────────────────────────────────────────────────── */
/* The hub home's section head exactly: title left, a mono meta line pushed
   right, one hairline under both. */
.ac-sec { margin: 0 0 var(--ac-gap); }
.ac-sec-h {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ac-sec-t {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -0.01em;
  text-transform: none; transform: none; margin: 0; color: var(--text-primary);
}
.ac-sec-sub {
  margin-left: auto; font-family: var(--font-body); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
}
.ac-sec-note { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); margin: -2px 0 16px; max-width: 76ch; }

/* ── the board: one list, a row per game, each row drops down ─────────── */
/* Cards are kept for the ready-made accas, which are FEATURED. Every game is
   a row in one framed list, because twenty cards is a wall and a list scans.
   The row is the quick read (game, pick, the strongest signal, chance, rating,
   price); everything else is one tap down. Josh, 13 Oct: words are Red Hat
   Display, Red Hat Mono is for numbers only, and nothing sits on the page
   without a job. */
body.wc-mode {
  --ac-green: #46c265;
  --ac-green-hi: #7fe39a;
  --ac-green-soft: rgba(70, 194, 101, 0.12);
  --ac-miss: #3a4160;
  --ac-amber: #fbbf24;
  --ac-panel: #13161d;
  --ac-well: #0f1116;
}
.ac-n { font-family: var(--font-mono, 'Red Hat Mono', monospace); font-variant-numeric: tabular-nums; }

.ac-list { border: 1px solid var(--ac-line); border-radius: 16px; background: var(--ac-well); overflow: hidden; }
.ac-list-h, .ac-row-h {
  display: grid; align-items: center; gap: 16px;
  grid-template-columns: 50px minmax(170px, 220px) minmax(0, 1fr) 124px 92px 80px 44px 36px;
}
.ac-list-h {
  padding: 12px 20px; border-bottom: 1px solid var(--ac-line);
  font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--text-muted);
}
.ac-list-h .r { text-align: center; }

.ac-row { position: relative; border-top: 1px solid var(--ac-hair); transition: background 160ms var(--ac-ease); }
.ac-row:first-child { border-top: 0; }
.ac-row.in-slip { box-shadow: inset 3px 0 0 #ff2740; }
.ac-row.is-open { background: #11141a; }
.ac-row-h { padding: 16px 20px; cursor: pointer; outline: none; }
.ac-row-h:hover { background: rgba(255, 255, 255, 0.018); }
.ac-row-h:focus-visible { box-shadow: inset 0 0 0 2px rgba(255, 39, 64, 0.5); border-radius: 12px; }

.ac-ko { font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }

/* The game: both badges overlapped, so two crests read as one fixture. */
.ac-fx { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ac-crests { display: inline-flex; flex: 0 0 auto; }
.ac-crests .ac-crest-w + .ac-crest-w { margin-left: -7px; }
.ac-crest-w {
  position: relative; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  background: #1f222a; box-shadow: 0 0 0 2px var(--ac-well);
}
.ac-crest-w.sm { width: 18px; height: 18px; box-shadow: none; background: #1a1d24; }
.ac-crest-fb { font-family: var(--font-body); font-size: 12px; font-weight: 800; color: var(--text-secondary); }
.ac-crest-w.sm .ac-crest-fb { font-size: 12px; }
.ac-crest { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 3px; background: #1f222a; }
.ac-crest-w.sm .ac-crest { padding: 2px; background: #1a1d24; }
.ac-fx-t { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ac-fx-name { font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-fx-meta { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* The pick, and its quick read. */
.ac-pk { min-width: 0; }
.ac-mkt { display: block; font-size: 12px; font-weight: 600; color: #8890aa; }
.ac-pk-label {
  margin: 2px 0 0; font-family: var(--font-body); font-size: 16px; font-weight: 800;
  letter-spacing: -0.01em; color: #fff; text-transform: none; transform: none; line-height: 1.25;
}
.ac-row-h:hover .ac-pk-label { text-decoration: underline; text-decoration-color: #3a4160; text-underline-offset: 4px; }
.ac-flav { display: flex; align-items: center; gap: 8px; margin-top: 5px; min-width: 0; }
.ac-flav-t { font-size: 13px; color: #b4bbd4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-pips { display: inline-flex; gap: 3px; flex: 0 0 auto; }
.ac-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--ac-miss); }
.ac-pip.up { background: var(--ac-green); }

/* The chip says "Good price +1.6" in words now, so it takes its own line
   under the chance rather than running into the record column. */
.ac-ch { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; white-space: nowrap; }
.ac-ch > .ac-edge { flex-basis: auto; }
.ac-ch > .ac-ch-v { flex-basis: 100%; }
.ac-ch-v { font-size: 17px; font-weight: 700; color: #fff; }
.ac-edge {
  display: inline-flex; align-items: baseline; gap: 4px; padding: 2px 7px; border-radius: 6px; white-space: nowrap;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; color: #8890aa; background: #171a21;
}
.ac-edge .ac-n { font-size: 12px; }
.ac-edge.up { color: var(--ac-green); background: var(--ac-green-soft); }

.ac-rt { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.ac-rt-v { font-size: 17px; font-weight: 700; }
.ac-rt-l { font-size: 12px; font-weight: 700; }
.ac-rt.c-high, .ac-rt-m.c-high { color: var(--ac-green); }
.ac-rt.c-good, .ac-rt-m.c-good { color: #7fd88f; }
.ac-rt.c-fair, .ac-rt-m.c-fair { color: var(--ac-amber); }
.ac-rt.c-low, .ac-rt-m.c-low { color: #8890aa; }
.ac-rt-m .ac-rt-v { font-size: 13px; font-weight: 700; }
.ac-rt-m .ac-rt-l { font-size: 12px; font-weight: 700; }
.ac-tools[hidden], .ac-sugs[hidden], .ac-passed[hidden], .ac-sugs-none[hidden] { display: none; }

/* The price: the odds only. Who is offering it is not this page's business. */
.ac-px {
  height: 44px; border: 1px solid #2a2e36; border-radius: 10px; background: #0b0d12;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
}
.ac-add {
  width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 10px;
  background: #171a21; border: 1px solid #2a2e36; color: #b4bbd4;
  font-size: 18px; font-weight: 700; line-height: 1;
}
.ac-add:hover { border-color: #ff2740; color: #fff; }
.ac-add.on { background: var(--wc-red-fill, #e0142e); border-color: var(--wc-red-fill, #e0142e); color: #fff; }
.ac-add:disabled { opacity: 0.35; }
.ac-tog {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #262a35; color: #8890aa; background: transparent; cursor: pointer;
}
.ac-tog svg { width: 14px; height: 14px; transition: transform 200ms var(--ac-ease); }
.ac-row-h:hover .ac-tog { color: #fff; border-color: #3a4160; }
.ac-row.is-open .ac-tog { background: #1f222a; border-color: #3a4160; color: #fff; }
.ac-row.is-open .ac-tog svg { transform: rotate(180deg); }

/* ── the drop-down ─────────────────────────────────────────────────────── */
.ac-drop { display: none; padding: 4px 20px 20px; }
.ac-row.is-open .ac-drop { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; }
.ac-card { padding: 18px 20px 20px; border-radius: 12px; background: var(--ac-panel); border: 1px solid #1f222a; min-width: 0; }
.ac-card-sub { margin-top: 20px; padding-top: 18px; border-top: 1px solid #1f222a; }
.ac-card-t { font-size: 14px; font-weight: 700; color: #fff; margin: 0; }
.ac-card-x { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #8890aa; }
.ac-card-x b { color: #f0f2f8; font-weight: 700; }
.ac-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; font-size: 12px; color: #b4bbd4; }
.ac-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.ac-legend i.won { background: var(--ac-green); }
.ac-legend i.lost { background: var(--ac-miss); }
.ac-legend i.void { background: #8890aa; }
.ac-legend i.line { width: 14px; height: 0; border-radius: 0; border-top: 1px dashed #8890aa; vertical-align: 3px; }
.ac-side { margin-top: 18px; }
.ac-side-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 12.5px; color: #8890aa; }
.ac-side-h .ac-n { color: #f0f2f8; font-weight: 700; }
.ac-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }

/* Under each game, the opponent's badge. */
.ac-opp { display: flex; justify-content: center; height: 18px; }

/* Goals: a ball per goal, one column per game. */
.ac-balls { position: relative; display: flex; align-items: flex-end; gap: 8px; padding-left: 38px; }
.ac-bcol { display: flex; flex-direction: column-reverse; align-items: center; gap: 3px; width: 28px; }
.ac-bcol .ac-n { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.ac-ball { width: 11px; height: 11px; border-radius: 50%; background: var(--ac-miss); }
.ac-bcol.won .ac-ball { background: var(--ac-green); }
.ac-bcol.void .ac-ball { background: #8890aa; }
.ac-line { position: absolute; left: 34px; right: 0; border-top: 1.5px dashed #b4bbd4; z-index: 1; pointer-events: none; }
.ac-line-l { position: absolute; left: 0; font-size: 12px; font-weight: 700; color: #f0f2f8; }

/* Corners, cards, shots: a bar per game, the count on top. */
.ac-bars { position: relative; display: flex; align-items: flex-end; gap: 10px; padding-left: 38px; }
.ac-bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; flex: 1 1 0; max-width: 44px; height: 100%; }
.ac-bar-v { font-size: 12px; font-weight: 700; color: #8890aa; }
.ac-bar { width: 100%; max-width: 30px; border-radius: 6px 6px 2px 2px; background: var(--ac-miss); }
.ac-bar-col.won .ac-bar-v { color: var(--ac-green-hi); }
.ac-bar-col.won .ac-bar { background: linear-gradient(180deg, #5fd47c, #3aa85a); }
.ac-bar-col.void .ac-bar { background: #8890aa; }

/* Team goals and results: a tile per game. */
.ac-tiles { display: flex; gap: 6px; flex-wrap: wrap; }
.ac-tile {
  width: 46px; padding: 8px 0 6px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--ac-well); border: 1px solid #262a35;
}
.ac-tile-v { font-size: 19px; font-weight: 700; line-height: 1; color: #8890aa; }
.ac-tile-s { font-size: 12px; color: var(--text-muted); }
.ac-tile.won { background: rgba(70, 194, 101, 0.10); border-color: rgba(70, 194, 101, 0.45); }
.ac-tile.won .ac-tile-v { color: var(--ac-green-hi); }
.ac-tile .ac-opp { margin-top: 4px; }

/* Both teams to score: two lights per game. */
.ac-lights { display: flex; gap: 6px; flex-wrap: wrap; }
.ac-light {
  width: 44px; padding: 8px 0 6px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--ac-well); border: 1px solid #262a35;
}
.ac-light i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ac-miss); }
.ac-light i.on { box-shadow: none; background: #b4bbd4; }
.ac-light.won { background: rgba(70, 194, 101, 0.10); border-color: rgba(70, 194, 101, 0.45); }
.ac-light.won i.on { background: var(--ac-green); }
.ac-light .ac-n { font-size: 12px; color: var(--text-muted); }

/* Head to head. */
.ac-chips { display: flex; gap: 6px; margin-top: 12px; }
.ac-chip {
  flex: 1 1 0; max-width: 64px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--ac-well); border: 1px solid #262a35; font-size: 15px; font-weight: 700; color: #8890aa;
}
.ac-chip b { font-weight: 700; color: #f0f2f8; }
.ac-chip i { font-style: normal; color: #555d78; }
.ac-chip.won { background: rgba(70, 194, 101, 0.10); border-color: rgba(70, 194, 101, 0.45); }
.ac-chip.won b { color: var(--ac-green-hi); }
.ac-chips.ghost { opacity: 0.45; }
.ac-chips.ghost .ac-chip { font-size: 13px; height: 38px; }
.ac-dots { display: grid; gap: 6px; align-items: center; margin-top: 12px; }
.ac-dots > span:not(.ac-n):not(.ac-dot) { font-size: 12px; font-weight: 600; color: #b4bbd4; }
.ac-dot { justify-self: center; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ac-miss); }
.ac-dot.on { box-shadow: none; background: #b4bbd4; }
.ac-dot.on.both { background: var(--ac-green); }
.ac-dots .ac-n { justify-self: center; font-size: 12px; font-weight: 700; color: var(--text-muted); }
.ac-dots .ac-n.both { color: var(--ac-green-hi); }

.ac-checks { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid #1f222a; display: grid; gap: 8px; }
.ac-check { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; font-size: 13px; line-height: 1.5; color: #b4bbd4; }
.ac-check > span:first-child { font-weight: 700; color: #8890aa; }
.ac-check.warn > span:first-child { color: var(--ac-amber); }

/* Signals: every test against the line the price needs. */
.ac-sig-card { display: flex; flex-direction: column; }
.ac-sig-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ac-sig-n { font-size: 12.5px; color: #8890aa; white-space: nowrap; }
.ac-sig-n .up { color: var(--ac-green); font-weight: 700; }
.ac-sig-n .dn { color: #f0f2f8; font-weight: 700; }
.ac-needs { position: relative; height: 16px; margin-top: 12px; }
.ac-needs .ac-n { position: absolute; top: 0; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: #f0f2f8; background: var(--ac-panel); padding: 0 4px; }
.ac-sigs { display: flex; flex-direction: column; gap: 13px; }
.ac-sig-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: #8890aa; }
.ac-sig.up .ac-sig-top > span:first-child { color: #f0f2f8; }
.ac-sig-v { white-space: nowrap; }
.ac-sig-v .ac-n { font-weight: 700; color: #8890aa; }
.ac-sig.up .ac-sig-v .ac-n { color: var(--ac-green-hi); }
.ac-sig-v em { font-style: normal; font-size: 12px; color: var(--text-muted); margin-left: 6px; }
.ac-track { position: relative; height: 6px; border-radius: 99px; background: #1f222a; margin-top: 6px; }
.ac-track b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: #555d78; }
.ac-sig.up .ac-track b { background: var(--ac-green); }
.ac-track i { position: absolute; top: -4px; width: 2px; height: 14px; margin-left: -1px; border-radius: 2px; background: #f0f2f8; }
.ac-ring-row {
  display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 14px;
  border-radius: 10px; background: var(--ac-well); border: 1px solid #1a1d24;
}
.ac-ring-row svg { flex: 0 0 auto; }
.ac-ring-t { font-size: 13px; font-weight: 700; color: #fff; }
.ac-ring-s { font-size: 12.5px; color: #8890aa; margin-top: 2px; }
.ac-verdict {
  margin-top: auto; padding-top: 14px; border-top: 1px solid #1f222a;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 13px; line-height: 1.45; color: #b4bbd4;
}
.ac-sig-card .ac-ring-row + .ac-verdict, .ac-sig-card .ac-flags + .ac-verdict { margin-top: 18px; }
.ac-flags { margin: 14px 0 0; display: grid; gap: 6px; }
.ac-flags p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ac-amber); }

/* ── the other picks from a game ───────────────────────────────────────── */
.ac-more { padding: 0 20px 14px 86px; }
.ac-morebtn {
  appearance: none; background: none; border: 0; padding: 4px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700; color: #8890aa;
}
.ac-morebtn:hover { color: #fff; }
.ac-more-chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 180ms var(--ac-ease); }
.ac-more.is-open .ac-more-chev { transform: rotate(225deg) translateY(-2px); }
.ac-alts { display: grid; gap: 6px; margin-top: 8px; }
.ac-alts[hidden] { display: none; }
.ac-alt {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 72px 44px; gap: 14px; align-items: center;
  padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--ac-hair);
}
.ac-alt-main { min-width: 0; }
.ac-alt-label { display: block; font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-alt-mkt { font-size: 12px; font-weight: 600; color: #8890aa; margin-right: 6px; }
.ac-alt-why { display: block; font-size: 12.5px; color: #8890aa; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-alt .ac-px { height: 38px; font-size: 14px; }
.ac-alt .ac-add { width: 38px; height: 38px; font-size: 16px; }
.ac-alts-note { margin: 2px 0 0; font-size: 12px; color: var(--text-muted); }


/* ── the stacked board ─────────────────────────────────────────────────── */
/* ── three layouts, keyed to the LIST's width, not the window's ───────────
   The fixtures rail takes 248px from 1180px up and nothing below it, so the
   same window can give the list 900px or 1100px; a media query on the window
   squeezed "Our pick" to a word per line between them (13 Oct). The list is a
   size container and each tier is a container query. */
.ac-list { container: aclist / inline-size; }
.ac-fx-ko { display: none; }

/* Medium: no kick-off column (it moves under the game), the rating moves
   under the chance, and the pick gets the room. */
@container aclist (max-width: 1060px) {
  .ac-list-h, .ac-row-h { grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) 112px 76px 44px 36px; gap: 14px; }
  .ac-list-h > span:nth-child(1), .ac-list-h > span:nth-child(5) { display: none; }
  .ac-row-h > .ac-ko, .ac-row-h > .ac-rt { display: none; }
  .ac-fx-ko { display: inline; }
  .ac-ch { flex-wrap: wrap; row-gap: 5px; }
  .ac-ch .ac-rt-m { display: inline-flex; flex-basis: 100%; margin-left: 0; }
  .ac-ch .ac-rt-m .ac-sep { display: none; }
  .ac-row.is-open .ac-drop { grid-template-columns: minmax(0, 1fr); }
}

/* Narrow: one stacked row. The game line keeps both badges. Below 780px the
   medium grid leaves the pick under 240px, so the stack starts there. */
@container aclist (max-width: 780px) {
  .ac-list-h { display: none; }
  .ac-row-h {
    grid-template-columns: minmax(0, 1fr) 64px 44px; gap: 10px 12px; padding: 14px 14px 12px;
    grid-template-areas: "game game game" "pk px add" "ch ch tog";
  }
  .ac-row-h > .ac-ko, .ac-row-h > .ac-fx, .ac-row-h > .ac-rt { display: none; }
  .ac-row-h > .ac-pk-game { grid-area: game; margin-bottom: -4px; }
  .ac-row-h > .ac-pk { grid-area: pk; }
  .ac-row-h > .ac-px { grid-area: px; }
  .ac-row-h > .ac-add { grid-area: add; }
  .ac-row-h > .ac-ch { grid-area: ch; flex-wrap: nowrap; align-items: center; }
  .ac-row-h > .ac-ch > .ac-ch-v { flex-basis: auto; }
  .ac-list-div { padding: 12px 14px 10px; }
  .ac-row-h > .ac-tog { grid-area: tog; justify-self: end; width: 32px; height: 32px; }
  .ac-pk-game { display: flex !important; }
  .ac-ch .ac-rt-m { display: inline-flex !important; flex-basis: auto; margin-left: 4px; }
  .ac-ch .ac-rt-m .ac-sep { display: inline; }
  /* The pips sit at the start of the line and the reason flows under them,
     so a long reason takes two full lines, not a narrow column beside them. */
  .ac-flav { display: block; line-height: 1.45; }
  .ac-flav .ac-pips { display: inline-flex; margin-right: 8px; vertical-align: 1px; }
  .ac-flav-t { display: inline; white-space: normal; }
  .ac-drop { padding: 0 10px 12px; }
  .ac-card { padding: 14px; }
  .ac-more { padding: 0 14px 12px; }
  .ac-alt { grid-template-columns: minmax(0, 1fr) 60px 38px; }
  .ac-alt > .ac-alt-conf { display: none; }
  .ac-balls, .ac-bars { padding-left: 34px; gap: 5px; }
  .ac-bcol { width: auto; flex: 1 1 0; }
  .ac-tiles, .ac-lights { gap: 4px; flex-wrap: nowrap; }
  .ac-tile, .ac-light { width: auto; flex: 1 1 0; min-width: 0; }
  .ac-chips { gap: 4px; }
  .ac-chip { font-size: 12px; height: 36px; }
  .ac-check { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ac-drop .ac-elo-h { flex-direction: column; align-items: flex-start; gap: 2px; }
  .ac-drop .ac-elo-s { text-align: left; }
}
.ac-pk-game { display: none; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); min-width: 0; }
.ac-pk-game .ac-crests .ac-crest-w { width: 22px; height: 22px; }
.ac-pk-game .ac-crests .ac-crest-w + .ac-crest-w { margin-left: -6px; }
.ac-pk-game-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-rt-m { display: none; align-items: baseline; gap: 6px; margin-left: 4px; }
.ac-rt-m .ac-sep { color: #3a4160; }


/* ── the rejections rail ──────────────────────────────────────────────── */
/* A rejected leg with its reason is the most useful thing on the board,
   because it is the difference between a tool that looks clever and one that
   is trusted. So it is a real section, not a footnote. */
.ac-rejects { display: grid; gap: 9px; }
.ac-reject-row {
  display: grid; grid-template-columns: 1fr auto; gap: 7px 16px;
  padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--ac-hair); background: rgba(255, 255, 255, 0.012);
}
.ac-reject-top { font-size: 13.5px; font-weight: 700; color: #fff; }
.ac-reject-top em { font-style: normal; color: var(--text-muted); font-weight: 500; margin-left: 7px; }
.ac-reject-price { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 800; color: var(--text-secondary); }
.ac-reject-why { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.ac-reject-gate {
  display: inline-flex; margin-right: 8px; padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ac-reject); background: var(--ac-reject-soft);
}

/* ── notes, warnings, states ──────────────────────────────────────────── */
.ac-callout {
  display: flex; gap: 11px; padding: 14px 16px; margin: 0 0 20px;
  border-radius: 12px; border: 1px solid var(--ac-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.007));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 13px; line-height: 1.58; color: var(--text-secondary);
}
.ac-callout-ic {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 1px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  color: var(--red-500, #ff2740); background: rgba(255, 39, 64, 0.14);
}
.ac-callout.warn .ac-callout-ic { color: var(--ac-punt); background: var(--ac-punt-soft); }
.ac-callout b { color: #fff; font-weight: 700; }

.ac-empty {
  border-radius: 15px; border: 1px dashed var(--ac-line); padding: 34px 28px;
  text-align: center; color: var(--text-secondary); font-size: 14px; line-height: 1.6;
}
.ac-empty h3 {
  font-family: var(--font-display, 'Red Hat Display'); font-weight: 800;
  font-size: 19px; letter-spacing: -0.02em; margin: 0 0 10px; color: #fff;
}
.ac-empty p { margin: 0 auto; max-width: 56ch; }

.ac-gate-card {
  max-width: 56ch; border-radius: 16px; border: 1px solid var(--ac-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.007));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055); padding: 32px 30px;
}
.ac-gate-card h2 {
  font-family: var(--font-display, 'Red Hat Display'); font-weight: 800;
  font-size: 23px; letter-spacing: -0.02em; margin: 0 0 11px; color: #fff;
}
.ac-gate-card p { font-size: 14px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 18px; }
.ac-gate-card code {
  font-family: var(--font-body); font-size: 12.5px; color: var(--ac-punt);
  background: var(--ac-punt-soft); padding: 2px 6px; border-radius: 4px;
}
.ac-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px;
  border-radius: 10px; border: none; cursor: pointer; text-decoration: none;
  font-family: inherit; font-size: 13.5px; font-weight: 700; color: #fff;
  background: var(--wc-red-fill, #e0142e);
}
.ac-btn:hover { background: #c8102a; }

@keyframes ac-sheen { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .ac-sk { animation: none; }
  .ac-seg, .ac-sel-item, .ac-row { transition: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   The acca slip (ac-slip-*)

   THE MATCH PAGE'S BET BUILDER, mirroring .pv-drawer / .pv-slip-* in
   leagues/match.html so adding a leg here behaves like adding one there.
   Labelled ACCA rather than BETSLIP, because the one rule this board has that
   the match page's builder does not is one leg per fixture.

   Docked BOTTOM-RIGHT and slides up, minimisable to a header strip that still
   shows the combined price. The first build was a full-height side panel that
   reflowed the main column, which cost 372px of board the moment it opened and
   forced the rows to restack; the match page's note on this is explicit - the
   dock is small, the board stays interactive, nothing is dimmed.
   ════════════════════════════════════════════════════════════════════════ */

/* The reopen pill: sticky, bottom-right, above the footer. */
.ac-pill {
  position: fixed; z-index: 60; right: 24px; bottom: 18px;
  display: none; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, #181d2b, #0f121b);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff; font-family: var(--font-body); font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 140ms var(--ac-ease), transform 140ms var(--ac-ease);
}
.ac-pill.show { display: inline-flex; }
.ac-pill:hover { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.ac-pill b { color: var(--ac-strong); font-variant-numeric: tabular-nums; }

/* The drawer. */
.ac-slip {
  position: fixed; bottom: 0; right: 24px; z-index: 200;
  width: 380px; max-width: calc(100vw - 32px); max-height: 82vh;
  display: flex; flex-direction: column;
  background: #0d0f18;
  border: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -18px 44px -18px rgba(0, 0, 0, 0.9);
  transform: translateY(calc(100% + 24px));
  transition: transform 240ms var(--ac-ease);
}
.ac-slip.open { transform: translateY(0); }
.ac-slip.is-min { max-height: none; }
.ac-slip.is-min .ac-slip-body { display: none; }
@media (prefers-reduced-motion: reduce) { .ac-slip { transition: none; } }
@media (max-width: 719px) {
  .ac-slip { right: 0; left: 0; width: auto; max-width: none; border-radius: 14px 14px 0 0; }
  /* The shared shell's floating MATCHDAYS button is z-index 1002, well above
     the drawer's 200, so an open sheet would have it sitting on top of the
     fold table. The sheet goes above it and the button stands down: the sheet
     has its own close control and the rail is unreachable behind it anyway.
     `ac-slip-open` exists ONLY for this - it no longer reflows anything. */
  .ac-slip { z-index: 1003; }
  body.ac-slip-open .wc-drawer-toggle,
  body.ac-slip-open #drawer-toggle,
  body.ac-slip-open .ac-pill { display: none; }
}

.ac-slip-h {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; flex: none;
  cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ac-slip.is-min .ac-slip-h { border-bottom: 0; }
.ac-slip-t {
  font-family: var(--font-body); font-size: 15px; font-weight: 800;
  letter-spacing: 0.02em; text-transform: uppercase; color: #fff; margin: 0;
}
.ac-slip-n { color: var(--ac-strong); font-weight: 800; font-variant-numeric: tabular-nums; }
/* Minimised, the header still has to answer "what have I got": the combined
   price and whether the fold is positive. */
.ac-slip-preview { display: none; align-items: baseline; gap: 8px; margin-left: auto; margin-right: 4px; }
.ac-slip.is-min .ac-slip-preview { display: inline-flex; }
.ac-slip-preview-odds { font-family: var(--font-body); font-size: 15px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.ac-slip-acts { display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.ac-slip.is-min .ac-slip-acts { margin-left: 0; }
.ac-slip-min, .ac-slip-x {
  width: 30px; height: 30px; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75); font-size: 17px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.ac-slip-min:hover, .ac-slip-x:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.ac-slip-chev { display: inline-block; transition: transform 180ms var(--ac-ease); }
.ac-slip.is-min .ac-slip-chev { transform: rotate(180deg); }

.ac-slip-body {
  flex: 1 1 auto; overflow-y: auto; padding: 16px 18px 28px;
  display: flex; flex-direction: column; gap: 16px;
}

/* ── legs ─────────────────────────────────────────────────────────────── */
.ac-slip-legs { display: flex; flex-direction: column; gap: 8px; }
.ac-slip-leg {
  position: relative; overflow: visible;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
}
.ac-slip-leg-id { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ac-slip-leg-title {
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: #fff; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ac-slip-leg-sub {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px;
}
.ac-slip-leg-odds { font-family: var(--font-body); font-size: 15px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.ac-slip-leg-x {
  position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: #171a26;
  color: rgba(255, 255, 255, 0.6); font-size: 12px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: color 120ms, background 120ms, border-color 120ms;
}
.ac-slip-leg-x:hover { color: #fff; background: var(--ac-reject); border-color: var(--ac-reject); }
/* A leg the server could not price at commit time: flag the exact row, so the
   reader knows which pick to swap rather than which slip is broken. */
.ac-slip-leg.is-stale { border-color: var(--ac-reject); background: rgba(242, 85, 90, 0.1); }

/* ── the foot: price, EV, stake ───────────────────────────────────────── */
.ac-slip-foot {
  display: flex; flex-direction: column; gap: 13px; padding: 16px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ac-slip-ledger { display: flex; align-items: flex-start; gap: 16px; }
.ac-slip-fig { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ac-slip-fig.mine { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.ac-slip-k {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap;
}
.ac-slip-odds { font-family: var(--font-body); font-size: 28px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.02em; }
.ac-slip-fairv { font-family: var(--font-body); font-size: 22px; font-weight: 800; color: rgba(255, 255, 255, 0.62); font-variant-numeric: tabular-nums; line-height: 1; }
.ac-slip-ev {
  display: inline-flex; align-items: baseline; gap: 4px; align-self: flex-start; margin-top: 3px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 7px; white-space: nowrap;
}
.ac-slip-ev b { font-weight: 800; font-variant-numeric: tabular-nums; }
.ac-slip-ev.up { color: var(--ac-strong); background: var(--ac-strong-soft); border: 1px solid rgba(52, 211, 153, 0.28); }
.ac-slip-ev.down { color: var(--ac-reject); background: var(--ac-reject-soft); border: 1px solid rgba(242, 85, 90, 0.28); }
.ac-slip-ev.flat { color: var(--text-muted); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.ac-slip-stake {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.ac-stake-l {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.ac-stake-l input {
  width: 62px; padding: 6px 8px; text-align: right;
  background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px; color: #fff;
  font-family: var(--font-body); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}
.ac-stake-l input:focus { outline: none; border-color: rgba(255, 255, 255, 0.3); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.05); }
.ac-slip-returns {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
}
.ac-slip-returns i { font-style: normal; text-transform: none; font-family: var(--font-mono, monospace); font-size: 12px; font-weight: 700; color: var(--text-muted); }
.ac-slip-returns b { font-size: 18px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; margin: 0 2px 0 7px; }

.ac-slip-empty {
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  padding: 26px 18px; text-align: center; border-radius: 14px;
  font-family: var(--font-body); font-size: 13px; line-height: 1.55; color: var(--text-muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.ac-slip-empty b { color: #fff; }
.ac-slip-empty-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; color: #fff; font-size: 19px; line-height: 1;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ── notes inside the slip ────────────────────────────────────────────── */
.ac-slip-note {
  display: flex; gap: 9px; padding: 10px 11px; border-radius: 9px;
  margin-bottom: 9px; font-size: 12px; line-height: 1.5; color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.025);
}
.ac-slip-note.warn { background: var(--ac-punt-soft); }
.ac-slip-note.err { background: var(--ac-reject-soft); }
.ac-slip-note b {
  flex: 0 0 auto; font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding-top: 2px; color: var(--text-muted);
}
.ac-slip-note.warn b { color: var(--ac-punt); }
.ac-slip-note.err b { color: var(--ac-reject); }

/* The value read borrows the tier tone for `value` and the punt amber for
   `no value`, so it is legible without becoming a third colour system. */
.ac-band.v-value { color: var(--ac-tone, var(--ac-strong)); border-color: color-mix(in srgb, var(--ac-tone, #34d399) 40%, transparent); }
.ac-band.v-no-value { color: var(--ac-punt); border-color: rgba(245, 185, 74, 0.35); }

/* ════════════════════════════════════════════════════════════════════════
   Suggested accas (ac-sug-*) - the front door (plan decision 3)

   Three or four pre-built slips for the day, each a different shape, with the
   full board underneath to swap legs in and out. These are the shareable
   artefact and the reason somebody comes back on a Saturday.

   AN EMPTY ONE IS STILL A CARD. §6.4: a section with no support returns
   nothing AND SAYS WHY, and on one real card every short-priced favourite
   double chance priced above our own model - the honest output was "there is
   nothing short-priced worth building there, and I checked all of them". A recipe that quietly
   disappears when it finds nothing is a recipe nobody can audit.
   ════════════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════════════
   The 13 October redesign, page furniture
   Designed in Claude Design against the home and match pages. Later rules
   here win over the earlier ones on purpose, so the history above still
   reads as it was decided.
   ════════════════════════════════════════════════════════════════════════ */

/* The day strip is the match page's tab bar: words, a red underline, the
   count of games in mono. */
.ac-days { gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--ac-line); margin-top: clamp(18px, 2.4vw, 28px); }
.ac-day {
  padding: 12px 14px; margin-bottom: -1px; border: 0; border-radius: 0; background: none;
  border-bottom: 2px solid transparent; color: var(--text-muted); gap: 6px;
}
.ac-day:hover { color: #fff; border-color: transparent; border-bottom-color: rgba(255, 255, 255, 0.18); }
.ac-day-d { font-size: 14px; font-weight: 700; letter-spacing: 0; }
.ac-day-n { font-family: var(--font-mono, monospace); font-size: 12px; color: var(--text-muted); }
.ac-day.on { color: #fff; background: none; border-bottom-color: #ff2740; }
.ac-day.on .ac-day-n { color: #ff2740; }
.ac-sub { font-size: 16px; color: #8890aa; margin-bottom: 0; }

/* One quiet line of state instead of a stack of alert boxes. */
.ac-status {
  display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center;
  margin: 0 0 var(--ac-gap, 40px); padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--ac-line-soft); background: rgba(255, 255, 255, 0.012);
  font-size: 13px; line-height: 1.5; color: #b4bbd4;
}
.ac-status:empty { display: none; }
/* Inline, not flex: the numbers are their own spans, and as flex items they
   broke the sentence into columns on a phone. The dot hangs in the indent. */
.ac-status > span { display: block; position: relative; padding-left: 16px; }
.ac-status > span::before { content: ''; position: absolute; left: 0; top: calc(0.75em - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: #8890aa; }
.ac-status > span.amber::before { background: var(--ac-amber); }
.ac-status > span.red::before { background: #ff2740; }
.ac-status b { color: #fff; font-weight: 700; }
.ac-callout { margin-bottom: 14px; padding: 12px 14px; font-size: 12.5px; }

/* Section heads: title, and a count in mono beside it. */
.ac-sec-h { border-bottom: 0; padding-bottom: 0; margin-bottom: 16px; align-items: center; }
.ac-sec-t { font-size: 22px; letter-spacing: -0.02em; }
.ac-sec-c { font-family: var(--font-mono, monospace); font-size: 15px; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.ac-sec-h .ac-tools { margin: 0 0 0 auto; }
.ac-sec-h .ac-tools-r { margin-left: 0; }
.ac-tool, .ac-oddseg { min-height: 40px; }
.ac-oddseg-b { text-transform: none; letter-spacing: 0; font-size: 12.5px; padding: 7px 12px; }
.ac-tool-toggle .ac-tick { margin-right: 2px; }

/* ── ready-made accas: the only cards on the page ──────────────────────── */
.ac-sugs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ac-sug {
  display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: radial-gradient(120% 90% at 0% 0%, rgba(251, 191, 36, 0.07), rgba(251, 191, 36, 0) 55%), #111319;
}
.ac-sug-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ac-sug-t { margin: 0; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--ac-amber); text-transform: none; transform: none; letter-spacing: 0; }
.ac-sug-price { display: block; margin-top: 8px; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.ac-sug-chance { text-align: right; }
.ac-sug-chance-l { display: block; font-size: 12px; font-weight: 600; color: #8890aa; }
.ac-sug-chance-v { display: block; font-size: 22px; font-weight: 700; color: #fff; margin: 4px 0 6px; }
.ac-sug-legs { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid #1f222a; }
.ac-sug-leg { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ac-hair); }
.ac-sug-leg-t { flex: 1 1 auto; min-width: 0; }
.ac-sug-leg-t b { display: block; font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-sug-leg-t em { display: block; font-style: normal; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.ac-sug-leg .ac-n { font-size: 14px; font-weight: 700; color: #fff; }
.ac-sug-load {
  appearance: none; width: 100%; min-height: 46px; margin-top: 16px; cursor: pointer;
  border-radius: 10px; border: 1px solid #2a2e36; background: #171a21; color: #f0f2f8;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  transition: border-color 160ms var(--ac-ease), color 160ms var(--ac-ease);
}
.ac-sug-load:hover { border-color: #ff2740; color: #fff; }
.ac-sug-load { text-transform: none; letter-spacing: 0; }
.ac-sugs-none { margin: 14px 0 0; font-size: 13px; color: var(--text-muted); }
.ac-sugs-none:first-child { margin-top: 0; }
.ac-sec-rg { margin: 14px 0 0; }
@media (max-width: 900px) { .ac-sugs { grid-template-columns: minmax(0, 1fr); } }

/* ── what we passed on, shut by default ────────────────────────────────── */
.ac-passed { margin: 16px 0 0; border: 1px solid var(--ac-line-soft); border-radius: 12px; background: rgba(255, 255, 255, 0.012); }
.ac-passed > summary {
  list-style: none; cursor: pointer; padding: 15px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ac-passed > summary::-webkit-details-marker { display: none; }
.ac-passed > summary::after { content: '+'; font-size: 16px; color: var(--text-muted); }
.ac-passed[open] > summary::after { content: '\2212'; }
.ac-passed-t { font-size: 15px; font-weight: 700; color: #fff; }
.ac-passed-s { font-size: 13px; color: #8890aa; margin-left: 10px; }
.ac-passed .ac-rejects { padding: 0 14px 14px; }
.ac-passed .ac-reject-gate { font-family: var(--font-body); }

/* ── the acca builder drawer, inside ───────────────────────────────────── */
.ac-slip { border-color: #2a2e36; box-shadow: 0 -18px 44px -18px rgba(0, 0, 0, 0.9), 0 -1px 0 rgba(255, 39, 64, 0.35); }
.ac-slip-h { background: none; box-shadow: none; padding: 14px 14px 14px 18px; gap: 10px; }
.ac-slip-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff2740; box-shadow: 0 0 10px rgba(255, 39, 64, 0.7); flex: 0 0 auto; }
/* The match page's builder header: BET BUILDER there, ACCA BUILDER here. */
.ac-slip-t { font-family: var(--font-display, var(--font-body)); font-size: 15px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.ac-slip-n {
  font-family: var(--font-mono, monospace); font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(255, 39, 64, 0.2); border: 1px solid rgba(255, 39, 64, 0.5); border-radius: 99px; padding: 1px 7px; margin-left: 6px;
}
.ac-slip-n:empty { display: none; }
.ac-slip.is-min .ac-slip-rg { display: none; }
.ac-slip-preview-odds { font-family: var(--font-mono, monospace); font-weight: 700; }
.ac-slip-body { padding: 12px 14px 18px; gap: 14px; }
/* Legs as the match builder draws them: badges, the pick, the game in small
   caps, the price, and the remove button on the card's corner. */
.ac-slip-leg { grid-template-columns: auto minmax(0, 1fr) auto; padding: 11px 12px; background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }
.ac-slip-leg-title { font-size: 13px; }
.ac-slip-leg-odds { font-family: var(--font-mono, monospace); font-size: 15px; font-weight: 800; }
.ac-slip-leg.is-stale { border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.05); }
.ac-slip-rg { margin: 8px 4px 0; font-size: 12px; line-height: 1.45; color: #8890aa; }
.ac-slip-note b { font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.ac-pill { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13px; }
.ac-pill b { color: #ff2740; font-family: var(--font-mono, monospace); }

/* ── the slip's foot, as on the match page's builder ───────────────────── */
.ac-slip-odds, .ac-slip-fairv, .ac-slip-ev b, .ac-slip-returns b, .ac-stake-l input { font-family: var(--font-mono, monospace); }
.ac-slip-hint { margin: -2px 0 0; font-size: 12px; line-height: 1.45; color: var(--text-muted); }
.ac-slip-reason-add {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 2px 0;
  background: none; border: 0; cursor: pointer; color: var(--text-muted);
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.ac-slip-reason-add:hover { color: #fff; }
.ac-reason-plus {
  display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px;
  border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.22); font-size: 12px; line-height: 1;
}
.ac-slip-reason {
  width: 100%; box-sizing: border-box; min-height: 54px; padding: 9px 11px; resize: vertical;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 9px;
  color: #fff; font-family: var(--font-body); font-size: 12px; line-height: 1.45;
}
.ac-slip-reason::placeholder { color: var(--text-muted); }
.ac-slip-reason:focus { outline: none; border-color: rgba(255, 255, 255, 0.28); }
.ac-slip-push {
  width: 100%; padding: 13px; border: 0; border-radius: 11px; cursor: pointer;
  font-family: var(--font-display, var(--font-body)); font-size: 13px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--wc-red-fill, #e0142e);
  transition: filter 140ms var(--ac-ease);
}
.ac-slip-push:hover { filter: brightness(1.06); }
/* "Sign in to post" is a link with the button's look. */
a.ac-slip-push { display: block; box-sizing: border-box; text-align: center; text-decoration: none; }
.ac-slip-push:disabled { opacity: 0.6; cursor: default; filter: none; }
.ac-slip-push.done { background: var(--ac-green, #46c265); opacity: 1; }
/* Locked until the community can hold a bet across games (see pushControl). */
.ac-slip-push.is-locked {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: default;
  background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.1);
}
.ac-slip-push.is-locked:hover { filter: none; }
.ac-push-lock { width: 15px; height: 15px; flex: none; opacity: 0.75; }
.ac-push-soon {
  padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
}
.ac-slip-clear {
  align-self: flex-start; padding: 2px 0; background: none; border: 0; cursor: pointer; color: var(--text-muted);
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.ac-slip-clear:hover { color: var(--ac-reject); }

@media (max-width: 767px) {
  .wc-db-main { --ac-gap: 34px; }
  .ac-sec-h .ac-tools { margin-left: 0; width: 100%; }
  .ac-tools-r { position: relative; margin-left: 0; width: 100%; }
  .ac-tools-r .ac-sel { position: static; }
  .ac-tools-r .ac-sel-menu { left: 0; right: 0; min-width: 0; max-width: none; }
  .ac-tools-r .ac-tool { padding: 8px 11px; }
  .ac-reject-row { grid-template-columns: 1fr; }
  .ac-reject-price { justify-self: start; }
  .ac-sug { padding: 16px; }
  .ac-sug-price { font-size: 34px; }
  .ac-day { padding: 11px 10px; }
}

/* The games our record does not back: listed, folded, under the picks. */
/* A label row inside the list: "Our picks 2", then "Other games 15". */
.ac-list-div {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px 10px;
  border-top: 1px solid var(--ac-line); background: rgba(255, 255, 255, 0.015);
  font-size: 12.5px; font-weight: 700; color: #b4bbd4;
}
.ac-list-div .ac-n { color: #8890aa; font-weight: 700; }
.ac-list-div.pick { color: #fff; }
.ac-list-div.pick::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ac-green); }
.ac-list-div .ac-i { margin-left: 2px; }
.ac-list-div + .ac-row { border-top: 0; }

/* Strength: both clubs on one Elo, pinned on a track. */
.ac-elo { margin: -2px 0 18px; padding-bottom: 16px; border-bottom: 1px solid #1f222a; }
.ac-elo-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ac-elo-s { font-size: 12.5px; color: #b4bbd4; text-align: right; }
.ac-elo-track { position: relative; height: 6px; border-radius: 99px; background: #1f222a; margin: 22px 9px 10px; }
.ac-elo-pin { position: absolute; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px var(--ac-panel); border-radius: 50%; }
.ac-elo-v { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #8890aa; }
.ac-elo-v .ac-n { color: #f0f2f8; font-weight: 700; }

/* What the game means, first in the drop-down; amber when a side must chase. */
.ac-ctx { margin: -2px 0 18px; padding: 12px 14px; border-radius: 10px; background: var(--ac-well); border: 1px solid #1a1d24; }
.ac-ctx.hot { border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.05); }
.ac-ctx .ac-card-x { color: #b4bbd4; }
.ac-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--ac-amber); background: rgba(251, 191, 36, 0.10); }

/* Short labels for the controls on a phone, so they take two rows, not four. */
.ac-sm { display: none; }
@media (max-width: 600px) {
  .ac-sm { display: inline; }
  .ac-lg { display: none; }
  .ac-sec-h .ac-tools, .ac-tools-r { gap: 6px; }
  .ac-tool, .ac-oddseg { min-height: 38px; }
  .ac-tools-r .ac-tool { padding: 7px 10px; font-size: 12.5px; }
  .ac-oddseg-b { padding: 6px 10px; }
}

/* ── 13 Oct persona-review fixes ───────────────────────────────────────── */
/* "7 of 7" stays on one line. */
.ac-nw { white-space: nowrap; }
/* A whole-number line: exactly on it, the stake comes back. Grey, not amber:
   it is a rule of the bet, not a warning about the game. */
.ac-tag.ac-push { color: #b4bbd4; background: rgba(255, 255, 255, 0.06); }
/* Strength, head to head and the table, one tap away. */
.ac-xtra { grid-column: 1 / -1; }
.ac-xtra > summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  padding: 6px 2px; font-size: 13px; font-weight: 700; color: #b4bbd4;
}
.ac-xtra > summary::-webkit-details-marker { display: none; }
.ac-xtra > summary::after { content: '+'; font-size: 15px; color: var(--text-muted); }
.ac-xtra[open] > summary::after { content: '\2212'; }
.ac-xtra > summary:hover { color: #fff; }
.ac-xtra > .ac-card { margin-top: 6px; display: grid; gap: 22px; }
.ac-xtra .ac-card-sub { margin-top: 0; padding-top: 0; border-top: 0; }
/* The record column: "6/7 Strong". */
.ac-rt .ac-rt-v.ac-n { font-size: 15px; }
/* Fixtures button on a phone: a small round icon, not a red bar over the
   list (three reviewers said it covered content). */
body.wc-mode .wc-drawer-toggle.wc-drawer-toggle--float {
  width: 44px; height: 44px; padding: 0; justify-content: center; gap: 0;
  font-size: 0; letter-spacing: 0; color: #fff;
  background: rgba(20, 22, 28, 0.92); border-color: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
body.wc-mode .wc-drawer-toggle.wc-drawer-toggle--float svg { width: 18px; height: 18px; }
/* Inside the fold the strength bar is on its own: no rule under it. */
.ac-xtra .ac-elo { margin: 0; padding-bottom: 0; border-bottom: 0; }

/* ── the (i): how-to-read on hover or tap, not in the page ───────────────── */
.ac-i {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 16px; height: 16px; margin-left: 7px; padding: 0; vertical-align: 2px;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; background: transparent;
  font-family: var(--font-body); font-size: 12px; font-weight: 800; font-style: normal; line-height: 1;
  color: #8890aa; cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.ac-i:hover, .ac-i[aria-expanded="true"] { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); }
.ac-i:focus-visible { outline: 2px solid #ff2740; outline-offset: 2px; }
/* A bigger target on touch, same look. */
@media (hover: none) { .ac-i { position: relative; } .ac-i::after { content: ''; position: absolute; inset: -10px; } }
.ac-sec-t .ac-i { width: 18px; height: 18px; font-size: 12px; vertical-align: 5px; margin-left: 10px; }
.ac-tip {
  position: fixed; z-index: 2000; max-width: min(300px, calc(100vw - 24px));
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: #181b22;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: #c9cfe0;
  pointer-events: auto;
}
.ac-tip[hidden] { display: none; }
.ac-tip p { margin: 0; }
.ac-tip p + p { margin-top: 7px; }
.ac-tip b { color: #fff; font-weight: 700; }
.ac-verdict > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 4px; }
.ac-list-h + .ac-list-div { border-top: 0; }

/* ── competition logos on the day tabs ───────────────────────────────────── */
.ac-day { flex-direction: column; align-items: flex-start; gap: 7px; }
.ac-day-top { display: inline-flex; align-items: baseline; gap: 6px; }
.ac-day-comps { display: inline-flex; align-items: center; min-height: 24px; }
.ac-comp-ic {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 50%; background: #eef0f6;
  box-shadow: 0 0 0 2px var(--bg-primary, #0d0f14);
}
.ac-comp-ic + .ac-comp-ic { margin-left: -4px; }
.ac-comp-ic img { width: 17px; height: 17px; object-fit: contain; }
.ac-comp-more { margin-left: 5px; font-size: 12px; color: #8890aa; }
.ac-day:not(.on) .ac-comp-ic { opacity: 0.75; }
.ac-day:hover .ac-comp-ic { opacity: 1; }
/* On a phone the strip scrolls sideways rather than wrapping to two rows. */
@media (max-width: 600px) {
  .ac-days { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ac-days::-webkit-scrollbar { display: none; }
  .ac-day { flex: 0 0 auto; padding: 10px 12px; }
}

/* ── build the accas from ───────────────────────────────────────────────── */
.ac-build { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -2px 0 16px; }
.ac-build-l { font-size: 13px; font-weight: 700; color: #8890aa; margin-right: 4px; white-space: nowrap; flex: 0 0 auto; }
.ac-build .ac-tool { min-height: 34px; padding: 6px 12px; }
.ac-build .ac-tool:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 600px) {
  .ac-build { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .ac-build::-webkit-scrollbar { display: none; }
  .ac-build .ac-tool { flex: 0 0 auto; }
}

/* ── the competition row under the day tabs ─────────────────────────────── */
.ac-compbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ac-compbar[hidden] { display: none; }
.ac-cb {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 5px 13px 5px 6px;
  border: 1px solid var(--ac-line); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary); font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.ac-cb:first-child { padding-left: 14px; }
.ac-cb:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.ac-cb.is-on { color: #fff; border-color: rgba(255, 39, 64, 0.45); background: rgba(255, 39, 64, 0.08); }
.ac-cb .ac-comp-ic { box-shadow: none; }
@media (max-width: 600px) {
  .ac-compbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .ac-compbar::-webkit-scrollbar { display: none; }
  .ac-cb { flex: 0 0 auto; }
}

/* ── Include: what every acca must carry ─────────────────────────────────── */
.ac-build-l { display: inline-flex; align-items: center; }
.ac-kind {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 12px 6px 9px;
  border: 1px solid var(--ac-line); border-radius: 10px; background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary); font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: color 120ms var(--ac-ease), border-color 120ms var(--ac-ease), background 120ms var(--ac-ease), transform 120ms var(--ac-ease);
}
.ac-kind:hover { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.ac-kind:active { transform: scale(0.97); }
.ac-kind:disabled { opacity: 0.35; cursor: default; transform: none; }
.ac-kind-ic { display: inline-flex; width: 18px; height: 18px; color: #8890aa; }
.ac-kind-ic svg { width: 100%; height: 100%; display: block; }
.ac-kind-tick {
  display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 2px;
  border-radius: 5px; border: 1.5px solid rgba(255, 255, 255, 0.25); color: transparent;
}
.ac-kind-tick svg { width: 12px; height: 12px; }
.ac-kind.is-on { color: #fff; border-color: rgba(255, 39, 64, 0.55); background: rgba(255, 39, 64, 0.10); }
.ac-kind.is-on .ac-kind-ic { color: #ff2740; }
.ac-kind.is-on .ac-kind-tick { background: var(--wc-red-fill, #e0142e); border-color: var(--wc-red-fill, #e0142e); color: #fff; }
.ac-kind-clear { appearance: none; border: 0; background: none; padding: 6px 4px; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: #8890aa; text-decoration: underline; text-underline-offset: 3px; }
.ac-kind-clear:hover { color: #fff; }
/* While the accas rebuild after a tap. */
.ac-sugs.is-building, .ac-sugs-none.is-building { pointer-events: none; position: relative; }
.ac-sugs.is-building > *, .ac-sugs-none.is-building { opacity: 0.4; transition: opacity 120ms; }
.ac-sugs.is-building::after {
  content: 'Building\2026'; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 99px; background: #181b22; border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: #fff; opacity: 1;
}
@media (max-width: 600px) { .ac-kind { flex: 0 0 auto; } }

.ac-kind-n { font-size: 12px; color: #8890aa; min-width: 10px; }
.ac-kind.is-on .ac-kind-n { color: #ffb3bd; }
.ac-shared { color: #fbbf24; font-weight: 600; }
.ac-sugs-none b { color: #d6dbea; font-weight: 700; }

/* ── the ghost: the board's own shape while it loads ─────────────────────
   Every block is one of the board's real classes (.ac-sug, .ac-row-h,
   .ac-kind, .ac-day...), so it sits on the same grid and takes the same
   container tiers; .ac-sk is the shimmering bar or disc inside it, sized
   to the text it stands in for. */
.ac-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ac-sk {
  display: block; flex: 0 0 auto; height: 12px; max-width: 100%; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
  background-size: 200% 100%; animation: ac-sheen 1.4s ease-in-out infinite;
}
.ac-sk.c, .ac-crest-w.ac-sk, .ac-comp-ic.ac-sk { border-radius: 50%; box-shadow: none; }
/* A disc keeps the size of what it stands in for: the bar's 12px height
   squashed the badges into ovals. */
.ac-crest-w.ac-sk { width: 28px; height: 28px; }
.ac-pk-game .ac-crest-w.ac-sk { width: 22px; height: 22px; }
.ac-comp-ic.ac-sk { width: 24px; height: 24px; }
.ac-kind-ic.ac-sk { width: 18px; height: 18px; }
.ac-sk.h10 { height: 10px; } .ac-sk.h11 { height: 11px; } .ac-sk.h12 { height: 12px; }
.ac-sk.h13 { height: 13px; } .ac-sk.h15 { height: 15px; } .ac-sk.h20 { height: 20px; }
.ac-sk.h40 { height: 40px; border-radius: 9px; }
.ac-sk.mt { margin-top: 6px; } .ac-sk.mt10 { margin-top: 10px; }
.ac-sk.r { margin-left: auto; }
.ac-sk.amber { background-color: rgba(251, 191, 36, 0.10); background-image: linear-gradient(90deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0.24), rgba(251, 191, 36, 0.12)); }
.ac-ghost { cursor: default; pointer-events: none; }
/* The hero: tabs and pills keep their real box, with bars where the words go. */
.ac-day.ac-ghost .ac-day-top { align-items: center; }
.ac-day.ac-ghost .ac-comp-ic { width: 24px; height: 24px; }
.ac-cb.ac-ghost { min-height: 36px; }
.ac-cb.ac-ghost:first-child { padding-right: 14px; }
.ac-cb.ac-ghost .ac-comp-ic { width: 24px; height: 24px; }
/* The accas. */
.ac-sug.ac-ghost { border-color: rgba(251, 191, 36, 0.16); }
.ac-sug.ac-ghost .ac-sug-chance { display: flex; flex-direction: column; align-items: flex-end; }
.ac-sug.ac-ghost .ac-sug-leg { min-height: 46px; }
.ac-sug.ac-ghost .ac-sug-leg-t .ac-sk:last-child { opacity: 0.7; }
.ac-sug-load.ac-ghost { display: block; }
.ac-sug.ac-ghost .ac-crest-w, .ac-row .ac-crest-w.ac-sk { box-shadow: 0 0 0 2px #111319; }
/* The list. */
.ac-row .ac-ghost.ac-px { display: flex; }
.ac-add.ac-ghost { display: block; }
.ac-tog.ac-ghost { display: block; }
.ac-row .ac-pk .ac-flav { margin-top: 8px; }
.ac-row .ac-pk .ac-flav .ac-sk { flex: 0 1 auto; }
.ac-list-div.pick .ac-sk { margin-left: 2px; }
.ac-row .ac-ch .ac-sk, .ac-row .ac-rt-m .ac-sk { flex: 0 0 auto; }
.ac-row .ac-ch > .ac-ch-v { display: block; }
.ac-row .ac-more { padding-top: 2px; }
.ac-tool.ac-ghost, .ac-oddseg.ac-ghost {
  display: inline-block; height: 40px; border-radius: 10px;
  border: 1px solid var(--ac-line); background: rgba(255, 255, 255, 0.025);
}
.ac-tool.w-filters { width: 90px; } .ac-tool.w-pergame { width: 150px; }
.ac-tool.w-min { width: 128px; } .ac-tool.w-sort { width: 176px; } .ac-oddseg.w-odds { width: 162px; }
@media (max-width: 767px) {
  .ac-tool.w-pergame { width: 108px; } .ac-tool.w-min { width: 92px; }
  .ac-tool.w-sort { width: 150px; } .ac-oddseg.w-odds { width: 114px; }
}

/* Legs the slip took out (kicked off, off the board): one closable note. */
.ac-slip-removed {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 10px;
  background: rgba(251, 191, 36, 0.06); border: 1px solid rgba(251, 191, 36, 0.22);
}
.ac-slip-removed-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12px; line-height: 1.45; color: #b4bbd4; }
.ac-slip-removed-t b { font-size: 12.5px; font-weight: 700; color: var(--ac-amber, #fbbf24); }
.ac-slip-removed-x {
  flex: none; width: 24px; height: 24px; padding: 0; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.7);
  font-size: 15px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
}
.ac-slip-removed-x:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
