/* =============================================================================
   hub.css — the four search pages that hang off the Fantasy Draft Desk:
     /fantasy/leaders/   /fantasy/top-seasons/   /fantasy/top-games/
     /fantasy/breakouts/

   Same house rules as fantasy.css, same local alias names (--fw-*) so the
   family reads as one desk:
     * Newsreader upright. No slanted type anywhere; the scope reset below
       forces the upright face on <em>/<i>/<cite>.
     * Ink + blue is the whole accent grammar. No gold value is declared here;
       the only gold on the page is the receipt glyph hi-receipt.css owns.
     * mint = rising / ahead, coral = falling / behind. Nothing else coloured.
     * Every colour is a token. The club tints are franchise property and are
       injected inline by hub.js, not written here.

   Everything is scoped to .fh-scope so nothing leaks into the shell.
   ============================================================================= */

.fh-scope {
  /* surfaces — aliases onto the canon (same names fantasy.css uses) */
  --fw-field: var(--hi-surface-0);
  --fw-card: var(--hi-surface-1);
  --fw-card2: var(--hi-surface-2);
  --fw-track: var(--hi-surface-3);
  --fw-line: var(--hi-line);
  --fw-hair: var(--hi-hair);

  /* ink */
  --fw-ink: var(--hi-ink);
  --fw-ink-2: var(--hi-ink-2);
  --fw-muted: var(--hi-muted);

  /* the one accent */
  --fw-blue: var(--hi-blue);
  --fw-blue-2: var(--hi-blue-2);
  --fw-blue-soft: var(--hi-blue-soft);
  --fw-blue-line: var(--hi-blue-line);
  --fw-on-blue: #ffffff;

  /* semantics */
  --fw-up: var(--hi-mint);
  --fw-up-soft: var(--hi-mint-soft);
  --fw-down: var(--hi-coral);
  --fw-down-soft: var(--hi-coral-soft);

  /* data pair */
  --fw-fill: var(--hi-data-fill);
  --fw-dtrack: var(--hi-data-track);

  /* navy furniture — identical in both themes */
  --fw-navy-a: #061529;
  --fw-navy-b: #0f4a8f;
  --fw-navy-ink: #ffffff;
  --fw-navy-lede: var(--hi-on-navy);
  --fw-navy-label: var(--hi-on-navy-dim);
  --fw-navy-hi: var(--hi-on-navy-hi);
  --fw-navy-rule: var(--hi-navy-line);
  --fw-navy-fill: var(--hi-navy-fill);

  --fw-serif: var(--hi-serif);
  --fw-sans: var(--hi-sans);
  --fw-mono: var(--hi-mono);

  --fw-t-micro: 0.5625rem;
  --fw-t-meta: 0.625rem;
  --fw-t-meta-2: 0.6875rem;
  --fw-t-s: 0.8125rem;
  --fw-t-b: 0.9375rem;

  --fw-shadow: var(--hi-shadow);
  --fw-lift: var(--hi-lift);

  color: var(--fw-ink);
  font-family: var(--fw-sans);
}

[data-theme="dark"] .fh-scope { --fw-on-blue: #07101f; }

/* House rule, enforced. */
.fh-scope em, .fh-scope i, .fh-scope cite, .fh-scope address { font-style: normal; }

body { background: var(--hi-surface-0); }

.fh-main { max-width: 1200px; margin: 0 auto; padding: 0 1.2rem 3.5rem; }

.fh-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* styles.css paints every bare <button> as a pill CTA. Nothing here is that
   button, so each control opts out first and repaints itself below. */
.fh-scope button {
  min-height: 0; padding: 0; border: 0; border-radius: 0; background: none;
  color: inherit; font-family: inherit; font-weight: inherit;
  letter-spacing: inherit; justify-content: flex-start; transition: none;
  cursor: pointer;
}
.fh-scope button:hover { transform: none; box-shadow: none; }
.fh-scope button:focus-visible,
.fh-scope a:focus-visible,
.fh-scope select:focus-visible {
  outline: 2px solid var(--fw-blue); outline-offset: 2px; border-radius: 4px;
}
.fh-scope [hidden] { display: none !important; }

.fh-mint { color: var(--fw-up); font-weight: 700; }
.fh-coral { color: var(--fw-down); font-weight: 700; }

/* --- research desk cross-nav (canonical .rdesk structure so
       scripts/sync-desk-strip.py maintains the link set) ------------------ */
nav.rdesk .in { display: flex; gap: 8px; overflow-x: auto; padding: 0.7rem 0 0.3rem; scrollbar-width: none; align-items: center; }
nav.rdesk .in::-webkit-scrollbar { display: none; }
nav.rdesk .rlbl {
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fw-muted);
  white-space: nowrap; padding-right: 4px;
}
nav.rdesk a {
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px;
  border-radius: 999px; white-space: nowrap; border: 1px solid var(--fw-line);
  color: var(--fw-muted); transition: color var(--mo-fast), border-color var(--mo-fast);
}
nav.rdesk a:hover { color: var(--fw-ink); border-color: var(--fw-blue-line); }
nav.rdesk a.here { background: var(--fw-blue); border-color: var(--fw-blue); color: var(--fw-on-blue); }

/* --- the hub rail: the five fantasy surfaces, on every one of them -------- */

/* the rail glyph: decorative, one character, inheriting the pill's own colour
   and knocked back by opacity alone so it reads the same on the ink `here`
   pill as on a resting one. No hue of its own, ever. */

/* =============================================================================
   HERO
   ============================================================================= */
.fh-hero { margin: 0.4rem 0 2.2rem; }
.fh-hero-band {
  position: relative; overflow: hidden; border-radius: 20px;
  padding: 1.6rem 1.5rem 1.5rem;
  background:
    radial-gradient(120% 160% at 8% 0%, rgba(255,255,255,.09), transparent 58%),
    linear-gradient(135deg, var(--fw-navy-a) 0%, var(--fw-navy-b) 118%);
  color: var(--fw-navy-ink);
  border: 1px solid var(--fw-navy-rule);
  box-shadow: var(--fw-shadow);
}
.fh-hero-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 0.9rem;
}
.fh-hero-issue {
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fw-navy-label);
}
.fh-hero-title {
  font-family: var(--fw-serif); font-weight: 700; line-height: 1.06;
  font-size: clamp(1.85rem, 4.4vw, 3.05rem); margin: 0 0 0.55rem;
  color: var(--fw-navy-ink); letter-spacing: -0.015em;
}
.fh-hero-thesis {
  margin: 0; max-width: 62ch; color: var(--fw-navy-lede);
  font-size: clamp(0.95rem, 1.5vw, 1.06rem); line-height: 1.55;
}
.fh-hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.15rem;
}
.fh-hero-facts .f {
  border: 1px solid var(--fw-navy-rule); background: var(--fw-navy-fill);
  border-radius: 12px; padding: 8px 12px; min-width: 108px;
}
.fh-hero-facts .f b {
  display: block; font-family: var(--fw-mono); font-size: 1.06rem; font-weight: 700;
  color: var(--fw-navy-hi); font-variant-numeric: tabular-nums; line-height: 1.2;
}
.fh-hero-facts .f span {
  display: block; font-family: var(--fw-mono); font-size: var(--fw-t-micro);
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--fw-navy-label);
  margin-top: 3px;
}

/* =============================================================================
   SECTIONS + PROSE
   ============================================================================= */
.fh-sec { margin: 0 0 2.6rem; }
.fh-sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  border-bottom: 2px solid var(--fw-ink); padding-bottom: 0.5rem; margin-bottom: 1rem;
}
.fh-kicker {
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fw-muted);
  display: block; margin-bottom: 5px;
}
.fh-h2 {
  font-family: var(--fw-serif); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 0; line-height: 1.15;
}
.fh-h3 {
  font-family: var(--fw-serif); font-weight: 700; font-size: 1.02rem;
  margin: 0 0 0.4rem; line-height: 1.2;
}
.fh-prose { max-width: 74ch; }
.fh-prose p {
  margin: 0 0 0.85rem; font-size: var(--fw-t-b); line-height: 1.65;
  color: var(--fw-ink-2);
}
.fh-prose p:last-child { margin-bottom: 0; }
.fh-prose a { color: var(--fw-blue); text-decoration: underline; text-underline-offset: 2px; }
.fh-prose strong { color: var(--fw-ink); font-weight: 700; }
.fh-lede {
  font-family: var(--fw-serif); font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  line-height: 1.55; color: var(--fw-ink); max-width: 68ch; margin: 0 0 1rem;
}

/* the receipt row under a section head */
.fh-rcpts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; align-items: center; }

/* =============================================================================
   CONTROLS
   ============================================================================= */
.fh-controls {
  display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end;
  margin: 0 0 1.1rem; padding: 0.85rem 0.95rem;
  border: 1px solid var(--fw-line); border-radius: 14px; background: var(--fw-card);
}
.fh-ctl { display: flex; flex-direction: column; gap: 6px; }
.fh-ctl > .lbl {
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fw-muted);
}
.fh-scope select {
  font-family: var(--fw-mono); font-size: var(--fw-t-s); font-weight: 700;
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--fw-line);
  background: var(--fw-card2); color: var(--fw-ink); min-width: 140px;
}
.fh-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.fh-scope .fh-pills button {
  font-family: var(--fw-mono); font-size: var(--fw-t-meta-2); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 13px;
  border-radius: 999px; border: 1px solid var(--fw-line); background: var(--fw-card2);
  color: var(--fw-muted);
  transition: color var(--mo-fast), border-color var(--mo-fast), background var(--mo-fast);
}
.fh-scope .fh-pills button:hover { color: var(--fw-ink); border-color: var(--fw-blue-line); }
.fh-scope .fh-pills button[aria-pressed="true"],
.fh-scope .fh-pills button[aria-selected="true"] {
  background: var(--fw-ink); border-color: var(--fw-ink); color: var(--fw-card);
}
.fh-scope .fh-more {
  font-family: var(--fw-mono); font-size: var(--fw-t-meta-2); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 16px;
  border-radius: 999px; border: 1px solid var(--fw-blue); background: var(--fw-blue);
  color: var(--fw-on-blue); margin-top: 0.9rem;
}
.fh-scope .fh-more:hover { background: var(--fw-blue-2); border-color: var(--fw-blue-2); }

/* =============================================================================
   MUGS + CHIPS
   ============================================================================= */
.fh-mug {
  position: relative; flex: 0 0 auto; width: 34px; height: 34px;
  border-radius: 999px; overflow: hidden; display: grid; place-items: center;
  background: var(--tint, var(--fw-track));
  border: 1px solid var(--fw-line);
  font-family: var(--fw-mono); font-size: var(--fw-t-meta); font-weight: 700;
  letter-spacing: .02em; color: var(--fw-ink);
}
.fh-mug img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fh-mug.is-sm { width: 26px; height: 26px; font-size: var(--fw-t-micro); }
.fh-mug.is-lg { width: 64px; height: 64px; font-size: 1rem; border-width: 2px; border-color: var(--tint-ring, var(--fw-line)); }

.fh-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px; border-radius: var(--rad-pill, 999px);
  font-family: var(--fw-mono); font-size: var(--fw-t-meta); font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--fw-line); color: var(--fw-muted);
  font-variant-numeric: tabular-nums;
}
.fh-chip.is-up { color: var(--fw-up); border-color: var(--fw-up); background: var(--fw-up-soft); }
.fh-chip.is-down { color: var(--fw-down); border-color: var(--fw-down); background: var(--fw-down-soft); }
/* the trend chip: the arrow is the coloured object and the figure that produced
   it sits beside it, inside the same chip. Direction and size, one thing. */
.fh-chip .ar { font-size: 0.82em; line-height: 1; font-style: normal; }
.fh-chip.is-up .ar { color: var(--fw-up); }
.fh-chip.is-down .ar { color: var(--fw-down); }
.fh-chip .fig { font-weight: 700; color: var(--fw-ink); }
.fh-chip.is-up .fig { color: var(--fw-up); }
.fh-chip.is-down .fig { color: var(--fw-down); }
.fh-chip .u { color: var(--fw-muted); font-weight: 600; }
.fh-chip.is-blue { color: var(--fw-blue); border-color: var(--fw-blue-line); background: var(--fw-blue-soft); }

/* =============================================================================
   TABLES — every one of them scrolls inside its own box
   ============================================================================= */
.fh-tablewrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--fw-line); border-radius: 14px; background: var(--fw-card);
}
.fh-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.fh-table.is-narrow { min-width: 640px; }
.fh-table caption {
  caption-side: top; text-align: left; padding: 0.7rem 0.9rem 0.55rem;
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fw-muted);
  border-bottom: 1px solid var(--fw-hair);
}
.fh-table th, .fh-table td {
  padding: 8px 10px; text-align: right; white-space: nowrap;
  border-bottom: 1px solid var(--fw-hair); font-size: var(--fw-t-s);
  font-variant-numeric: tabular-nums;
}
.fh-table thead th {
  position: sticky; top: 0; z-index: 2; background: var(--fw-card2);
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fw-muted);
  border-bottom: 1px solid var(--fw-line);
}
.fh-table td.c-rank {
  text-align: left; font-family: var(--fw-mono); font-weight: 700;
  color: var(--fw-muted); width: 44px;
}
.fh-table th.c-name, .fh-table td.c-name { text-align: left; white-space: normal; min-width: 210px; }
.fh-table td.c-name .who { display: flex; align-items: center; gap: 9px; }
.fh-table td.c-name a { color: var(--fw-ink); font-weight: 700; text-decoration: none; }
.fh-table td.c-name a:hover { color: var(--fw-blue); text-decoration: underline; }
.fh-table td.c-name .sub {
  display: block; font-family: var(--fw-mono); font-size: var(--fw-t-micro);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--fw-muted); margin-top: 2px;
}
.fh-table th.c-txt, .fh-table td.c-txt { text-align: left; }
.fh-table td.is-lead { font-weight: 700; color: var(--fw-ink); }
.fh-table tbody tr:hover { background: var(--fw-card2); }
.fh-table tbody tr:last-child td { border-bottom: 0; }
.fh-table .grp { border-left: 1px solid var(--fw-line); }
.fh-table td.c-flag { text-align: left; white-space: normal; }
.fh-flag {
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--fw-down);
}

/* =============================================================================
   DECADE STRIP / SHELVES — horizontal, scrollable, never a table
   ============================================================================= */
.fh-shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(196px, 1fr);
  gap: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem; scrollbar-width: thin;
}
.fh-shelf.is-wide { grid-auto-columns: minmax(238px, 1fr); }
.fh-tile {
  border: 1px solid var(--fw-line); border-radius: 14px; background: var(--fw-card);
  padding: 0.8rem 0.85rem; display: flex; flex-direction: column; gap: 8px;
}
.fh-tile .season {
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fw-muted);
}
.fh-tile .who { display: flex; align-items: center; gap: 9px; }
.fh-tile .who a { color: var(--fw-ink); font-weight: 700; text-decoration: none; font-size: var(--fw-t-b); line-height: 1.2; }
.fh-tile .who a:hover { color: var(--fw-blue); }
.fh-tile .fig {
  font-family: var(--fw-mono); font-weight: 700; font-size: 1.28rem;
  font-variant-numeric: tabular-nums; color: var(--fw-ink); line-height: 1;
}
.fh-tile .fig span { font-size: var(--fw-t-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fw-muted); margin-left: 5px; }
.fh-tile .line {
  font-family: var(--fw-mono); font-size: var(--fw-t-meta); color: var(--fw-muted);
  letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
}
.fh-tile.is-short { border-color: var(--fw-down); }

/* The crest watermark on the decade strip. The club mark sits behind the #1
   card of every season, knocked back to a ghost by a card-coloured veil so it
   never competes with a figure. Two URLs, one per theme, so the mark swaps
   with the page. A club with no asset paints nothing — this is a CSS
   background, never an <img>, so there is no broken image to remove. */
.fh-tile.is-crest {
  position: relative; overflow: hidden;
  background-image: var(--crest-l);
  background-repeat: no-repeat;
  background-position: right -20px bottom -16px;
  background-size: 104px 104px;
}
[data-theme="dark"] .fh-tile.is-crest { background-image: var(--crest-d); }
.fh-tile.is-crest::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--fw-card); opacity: 0.93;
}
.fh-tile.is-crest > * { position: relative; z-index: 1; }

/* =============================================================================
   PODIUM + CARDS
   ============================================================================= */
.fh-podium {
  border: 1px solid var(--fw-line); border-radius: 16px; background: var(--fw-card);
  padding: 1.05rem 1.1rem; margin-bottom: 1.1rem;
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start;
}
.fh-podium .body { min-width: 0; }
.fh-podium .eyebrow {
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--fw-blue);
}
.fh-podium .name {
  font-family: var(--fw-serif); font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 700;
  margin: 3px 0 2px; line-height: 1.1;
}
.fh-podium .name a { color: var(--fw-ink); text-decoration: none; }
.fh-podium .name a:hover { color: var(--fw-blue); }
.fh-podium .sub {
  font-family: var(--fw-mono); font-size: var(--fw-t-meta-2); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fw-muted);
}
.fh-podium .figs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.75rem; }
.fh-podium .figs .f {
  border: 1px solid var(--fw-line); border-radius: 11px; padding: 7px 11px; min-width: 92px;
  background: var(--fw-card2);
}
.fh-podium .figs .f b {
  display: block; font-family: var(--fw-mono); font-size: 1.02rem; font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--fw-ink); line-height: 1.15;
}
.fh-podium .figs .f span {
  display: block; font-family: var(--fw-mono); font-size: var(--fw-t-micro);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fw-muted); margin-top: 3px;
}
.fh-podium .line { margin: 0.7rem 0 0; font-size: var(--fw-t-s); color: var(--fw-ink-2); line-height: 1.55; }

.fh-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); }
.fh-card {
  border: 1px solid var(--fw-line); border-radius: 14px; background: var(--fw-card);
  padding: 0.85rem 0.9rem; display: flex; flex-direction: column; gap: 9px;
}
.fh-card .top { display: flex; align-items: center; gap: 10px; }
.fh-card .top .who { min-width: 0; }
.fh-card .top .who a { color: var(--fw-ink); font-weight: 700; text-decoration: none; font-size: var(--fw-t-b); }
.fh-card .top .who a:hover { color: var(--fw-blue); }
.fh-card .top .who .sub {
  display: block; font-family: var(--fw-mono); font-size: var(--fw-t-micro);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fw-muted); margin-top: 2px;
}
.fh-card .rail { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fh-card .rail .sp { display: inline-flex; align-items: center; }
.fh-card .steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  border-top: 1px solid var(--fw-hair); padding-top: 8px;
}
.fh-card .steps.is-two { grid-template-columns: repeat(2, 1fr); }
.fh-card .steps .s { text-align: left; }
.fh-card .steps .s b {
  display: block; font-family: var(--fw-mono); font-size: var(--fw-t-b); font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--fw-ink);
}
.fh-card .steps .s span {
  display: block; font-family: var(--fw-mono); font-size: var(--fw-t-micro);
  letter-spacing: 0.08em; color: var(--fw-muted); margin-top: 2px; white-space: nowrap;
}
.fh-card .steps .s span.gp { margin-top: 1px; opacity: 0.85; }
.fh-card .desk {
  font-family: var(--fw-mono); font-size: var(--fw-t-meta); letter-spacing: 0.04em;
  border-top: 1px solid var(--fw-hair); padding-top: 8px; margin: 0;
}
.fh-card .desk a { color: var(--fw-blue); text-decoration: none; font-weight: 700; }
.fh-card .desk a:hover { text-decoration: underline; }

/* =============================================================================
   CAVEATS + FOOT
   ============================================================================= */
.fh-caveats {
  border: 1px solid var(--fw-line); border-left: 3px solid var(--fw-blue);
  border-radius: 12px; background: var(--fw-card); padding: 0.9rem 1rem;
}
.fh-caveats h2, .fh-caveats h3 {
  font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--fw-muted);
  margin: 0 0 0.6rem;
}
.fh-caveats ul { margin: 0; padding-left: 1.1rem; }
.fh-caveats li { font-size: var(--fw-t-s); line-height: 1.6; color: var(--fw-ink-2); margin-bottom: 0.45rem; }
.fh-caveats li:last-child { margin-bottom: 0; }

.fh-warn {
  border: 1px solid var(--fw-down); border-radius: 12px; background: var(--fw-down-soft);
  padding: 0.8rem 0.95rem; margin: 0 0 1.2rem;
}
.fh-warn p { margin: 0; font-size: var(--fw-t-s); line-height: 1.6; color: var(--fw-ink); }
.fh-warn .tag {
  display: block; font-family: var(--fw-mono); font-size: var(--fw-t-micro); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--fw-down); margin-bottom: 5px;
}

.fh-foot {
  border-top: 2px solid var(--fw-ink); padding-top: 1rem; margin-top: 2.4rem; max-width: 76ch;
}
.fh-foot p { margin: 0 0 0.7rem; font-size: var(--fw-t-s); line-height: 1.65; color: var(--fw-muted); }
.fh-foot a { color: var(--fw-blue); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================================
   MOBILE
   ============================================================================= */
@media (max-width: 720px) {
  .fh-main { padding: 0 0.85rem 2.6rem; }
  .fh-hero-band { padding: 1.2rem 1rem 1.15rem; border-radius: 16px; }
  .fh-podium { grid-template-columns: 1fr; }
  .fh-cards { grid-template-columns: 1fr; }
  .fh-controls { padding: 0.75rem; gap: 12px; }
  .fh-scope select { width: 100%; min-width: 0; }
  .fh-ctl { width: 100%; }
  .fh-shelf { grid-auto-columns: minmax(176px, 1fr); }
}

/* =============================================================================
   PRINT
   ============================================================================= */
@media print {
  header.site-nav, nav.rdesk, .fh-hubrail, .fh-controls, .fh-scope .fh-more,
  .hi-foot, .theme-toggle { display: none !important; }
  .fh-main { max-width: none; padding: 0; }
  .fh-hero-band { background: none; color: #000; border: 0; padding: 0 0 0.6rem; }
  .fh-hero-title, .fh-hero-thesis, .fh-hero-issue { color: #000; }
  .fh-tablewrap { overflow: visible; border: 0; }
  .fh-table { min-width: 0; font-size: 9pt; }
  .fh-table thead th { position: static; }
  .fh-shelf { display: block; }
  .fh-tile { break-inside: avoid; margin-bottom: 6pt; }
  .fh-card { break-inside: avoid; }
}
