/* wgf-home.css — THE homepage stylesheet (single home; replaced the inline <style> block
   2026-07-02 redesign). Concept: "the trade floor" — a command-bar hero over navy in-game
   data plates (the same plate language as the item tooltips / FRONTEND_STANDARDS §in-game).
   Tokens from _tokens.css; in-game literals (#ffd100 data gold, navy plate) are the
   sanctioned data-surface palette. Locked components (M46 result-row, M17 chips, M53 sb)
   keep their canonical look — this sheet stages them, it doesn't fork them. */

/* Hide the topbar search on the homepage — the hero IS the search. */
body[data-wgf-page="home"] .wgf-shell-search{display:none}

/* ── Atmospheric backdrop (docs/ui-ux/02-components.md sec.16) ──
   A committed first-party loading screen behind the whole page so home reads as the
   game world, not a flat colored void (owner review 2026-07-03). The Hall pattern:
   fixed image + a scrim legibility floor. 2026-09-03: this was a 600x300 dungeon tile,
   which any desktop monitor stretched past four times its own resolution. The art here
   now is Tazavesh, the Veiled Market (2992x1152, assets/loading-screens/clean/4179243.jpg,
   named in data/wallpapers.json) - the game's own market hall under a market site. The
   credit strip at the foot of index.html names it. Data always sits on opaque plates
   above this. */
.hm-pagebg{
  position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;
  background:url("/assets/loading-screens/clean/4179243.jpg") center 38%/cover no-repeat;
  /* 2026-07-07 sweep: the live blur(3px)+scale compositing wedged the renderer for
     30s+ during interaction (speed law #1). The scrim below carries legibility alone;
     there is no upscale left to hide. */
  filter:saturate(1.04);
}
.hm-pagebg::after{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(120% 85% at 50% 6%, rgba(var(--wgf-gold-rgb),.11), transparent 46%),
    /* Scrim stays dark-NEUTRAL (palette risk rule: never tint the warm
       datamined art); the gold radial above carries the brand light. */
    linear-gradient(180deg, rgba(10,10,10,.84) 0%, rgba(10,10,10,.76) 30%, rgba(8,8,8,.92) 100%);
}

/* ── the data plate (shared base for every data surface on this page) ──
   Warm game-client plate (owner 2026-07-03): the navy tooltip plate belongs to item
   tooltips ONLY; big page cards wear the stone plate so home never reads blue. */
.hm-plate{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.18)), var(--wgf-panel-1);
  border:1px solid var(--wgf-border-neutral);
  border-radius:6px;
  box-shadow:0 12px 38px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
}

/* ── HERO: the command bar ── */
.hm-hero{
  max-width:1180px;
  margin:0 auto;
  padding:clamp(28px,5vw,56px) 0 0;
  text-align:center;
}
/* Lore voice (docs/ui-ux/17-blizzard-palette.md): the eyebrow is flavor speech, not data, so it wears
   .wgf-lore's Morpheus. Restated here because this sheet loads after wgf-site-shell.css
   and the old mono/uppercase rule would out-cascade the shared class. 16px floor. */
.hm-eyebrow{
  font-family:var(--font-game-display, serif);
  font-size:16px;
  letter-spacing:.04em;
  text-transform:none;
  color:var(--wgf-gold-muted);
  margin:0 0 var(--space-3);
  text-shadow:0 1px 2px rgba(0,0,0,.7);
}
.hm-eyebrow .hm-live-dot{
  display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--wgf-up);margin-right:var(--space-2);vertical-align:1px;
  box-shadow:0 0 6px var(--wgf-up);
}
.wgf-shell-page h1.hm-h1{
  /* The client's own title face (FrizQuadrata, assets/fonts/frizqt.woff2, @font-face in
     static/css/_tokens.css). --font-display is Cinzel, a Google mirror; the first line a
     visitor reads should be the game's letterform, not a lookalike. No new font request:
     .hm-door__name already pulls this face on this page. */
  font-family:var(--font-game);
  /* 2026-09-01: the H1 is one plain sentence now (what the site is), so it is sized
     to wrap on two lines at desktop and three on a phone, never to shout. */
  font-size:clamp(27px,4.2vw,48px);
  line-height:1.12;
  letter-spacing:.01em;
  max-width:30ch;
  margin:0 auto var(--space-3);
  color:var(--wgf-text);
  /* Tier-3 legibility: crisp dark stroke so display text stays AA over the art. */
  text-shadow:0 1px 2px rgba(0,0,0,.92), 0 3px 14px rgba(0,0,0,.55);
}
/* The device-aware two-span tagline (owner 2026-07-04) retired 2026-09-01 with the
   one-sentence H1; its rules left with it. */
.hm-sub{
  max-width:78ch;
  margin:0 auto var(--space-4);
  /* Body ink, not muted: this line now carries what the site is. */
  color:var(--wgf-text);
  font-size:var(--text-md);
  line-height:1.6;
  text-shadow:0 1px 2px rgba(0,0,0,.6);
}
.hm-sub a{color:var(--wgf-gold-link)}

/* Command search: the in-game AH input field (kit re-cut). The real client
   auctionhouse-ui-inputfield slices (the same art as .wgf-input) paint the frame,
   so the hero search IS the game's search box. Backgrounds are non-blocking. */
.hm-hero .search{max-width:760px;margin:0 auto;text-align:left}
.hm-hero .search__field{position:relative}
.hm-hero .search__input{
  width:100%;
  padding:1rem 1.1rem 1rem 3.1rem;
  font-family:var(--font-ui);
  font-size:1.1rem;
  color:#fff;
  background:
    url(/assets/ui/auctionhouse-ui-inputfield-left.png) left center / auto 100% no-repeat,
    url(/assets/ui/auctionhouse-ui-inputfield-right.png) right center / auto 100% no-repeat,
    url(/assets/ui/auctionhouse-ui-inputfield-middle.png) left center / auto 100% repeat-x,
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)), var(--wgf-bg-2);
  border:0;
  border-radius:4px;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
}
.hm-hero .search__input::placeholder{color:var(--wgf-muted)}
.hm-hero .search__input:focus{
  outline:none;
  box-shadow:0 10px 30px rgba(0,0,0,.5), var(--focus-ring);
}
.hm-hero .search__icon{
  position:absolute;left:1.05rem;top:50%;transform:translateY(-50%);
  width:19px;height:19px;color:var(--wgf-gold-muted);pointer-events:none;
}
.hm-hero .cats{margin-top:var(--space-3)}
.hm-hero .cats__label{
  font-family:var(--font-mono);font-size:.66rem;text-transform:uppercase;
  letter-spacing:.14em;color:var(--wgf-muted);margin:0 0 var(--space-2);text-align:center;
}
.hm-hero .cats__row{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:center}
/* Category selectors = the client RED BUTTON, tab-row idiom (owner directive 0.4 + 0.6:
   filter/category selectors become tab rows; every action button IS the client red button).
   Real 128-redbutton cap/center slices, NOT a CSS gradient fake. Dimmed unselected (restraint
   for a 9-wide row), brightens to full red on hover — the same slice art as .wgf-tab. */
.hm-hero .catchip{
  box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;
  height:32px;padding:0 14px;border:0;border-radius:0;
  background:
    url(/assets/ui/128-redbutton-left-cap.png) left center / auto 100% no-repeat border-box,
    url(/assets/ui/128-redbutton-right-cap.png) right center / auto 100% no-repeat border-box,
    url(/assets/ui/_128-redbutton-center.png) left center / auto 100% repeat-x content-box;
  background-color:transparent;
  /* gold-dim is decorative-only on the gold ramp (4.0:1); rest-state label
     text steps up to gold-muted, the dimmed look stays on the brightness filter. */
  color:var(--wgf-gold-muted);
  font-family:var(--font-game);font-size:var(--text-sm);font-weight:700;
  font-variant:small-caps;letter-spacing:.03em;line-height:1;
  text-shadow:var(--text-ink-outline);cursor:pointer;
  filter:brightness(.7) saturate(.9);
  transition:filter var(--motion-fast) var(--ease-standard),
             color var(--motion-fast) var(--ease-standard);
}
.hm-hero .catchip:hover{filter:brightness(1) saturate(1);color:var(--wgf-gold-bright)}
.hm-hero .catchip:active{filter:brightness(.85);transform:translateY(1px)}
.hm-hero .catchip:focus-visible{outline:none;box-shadow:var(--focus-ring)}

/* ── SIGNATURE: the gold ticker — a real in-game metal-framed plate (kit chrome,
   the same background stack as .wgf-window: Class Hall stone tile + metal corner
   braces + 2px metal border; NOT the old flat hm-plate CSS fake). ── */
.hm-ticker{
  max-width:980px;
  margin:var(--space-5) auto 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  overflow:hidden;
  border:2px solid var(--wgf-metal);
  /* Match the approved .wgf-window kit exactly (owner tone law 2026-07-04 +
     escape-menu doctrine 2026-07-06): SHARP corners, and a DARK wash over the
     stone tile — "rough slate, not a lit gradient." Was: border-radius:4px + a
     white lit-gradient, which read as a smooth invented plate (off-standard). */
  border-radius:0;
  background:
    linear-gradient(rgba(0,0,0,0.44), rgba(0,0,0,0.44)),
    url(/assets/ui/classhall-stone-tile.png) left top / 256px 256px repeat,
    var(--wgf-plate);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,0.65), var(--shadow-2);
}
.hm-ticker__cell{
  display:flex;flex-direction:column;align-items:center;gap:var(--space-1);
  padding:var(--space-3) var(--space-3);
  text-decoration:none;color:inherit;min-width:0;
}
.hm-ticker__cell+.hm-ticker__cell{border-left:1px solid var(--wgf-metal-soft)}
.hm-ticker__k{
  font-family:var(--font-game);font-size:.72rem;font-variant:small-caps;
  letter-spacing:.06em;color:var(--wgf-gold-muted);white-space:nowrap;
  text-shadow:var(--text-ink-outline);
}
.hm-ticker__v{
  font-family:var(--font-mono);font-variant-numeric:tabular-nums;
  font-size:var(--text-sm);color:#fff;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
}
.hm-ticker__v .up{color:var(--wgf-up)}
.hm-ticker__v .down{color:var(--wgf-down)}
.hm-ticker__v .gold{color:#ffd100}
a.hm-ticker__cell:hover .hm-ticker__v{text-decoration:underline}

/* ── shared section scaffolding ── */
/* ── THE FACTS (2026-09-01): what this site measures, in its own numbers, under the
   search. A ledger line rather than a stat-card row: hairline rules, mono figures, one
   plain sentence each. Filled by wgf_home_board.facts_html at bake time; an unfillable
   block is an EMPTY element, which is 0px tall by construction (no chrome to strand).
   Colour comes only from --wgf-* tokens so a palette change re-themes it untouched. ── */
.hm-facts{margin:var(--space-3) 0 0}
.hm-facts__list{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
  border-top:1px solid var(--wgf-border-neutral);
  border-bottom:1px solid var(--wgf-border-neutral-soft);
}
.hm-fact{
  display:flex;align-items:baseline;gap:var(--space-2);
  padding:var(--space-2) var(--space-3);min-width:0;
  font-size:var(--text-sm);line-height:1.4;color:var(--wgf-muted);
  text-shadow:var(--text-ink-outline);
}
.hm-fact+.hm-fact{border-left:1px solid var(--wgf-border-neutral-soft)}
.hm-fact__n{
  font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-weight:700;
  font-size:var(--text-lg);line-height:1;color:var(--wgf-gold-primary);flex:none;
}
.hm-fact__time{font-family:var(--font-mono);font-variant-numeric:tabular-nums;color:var(--wgf-text)}
@media(max-width:860px){
  .hm-facts__list{grid-template-columns:minmax(0,1fr)}
  .hm-fact+.hm-fact{border-left:0;border-top:1px solid var(--wgf-border-neutral-soft)}
}

.hm-sec{max-width:1180px;margin:var(--space-6) auto 0;padding:0}
.hm-sec__head{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:var(--space-3);flex-wrap:wrap;margin:0 0 var(--space-3);
}
.hm-sec__title{
  font-family:var(--font-game-display);
  font-weight:700;
  font-variant:small-caps;
  font-size:var(--text-xl, 1.5rem);
  letter-spacing:.02em;
  color:var(--wgf-gold-primary);margin:0;line-height:1.2;
  /* section heads sit over the art, not on a plate: crisp dark stroke keeps them AA */
  text-shadow:var(--text-ink-outline);
}
.hm-sec__hint{font-size:var(--text-sm);color:var(--wgf-muted);text-shadow:0 1px 2px rgba(0,0,0,.6)}
.hm-see-all{
  display:inline-block;margin-top:var(--space-3);
  font-size:var(--text-sm);font-weight:600;color:var(--wgf-gold-link);text-decoration:none;
}
.hm-see-all:hover{color:var(--wgf-gold-bright);text-decoration:underline}

/* ── MARKET BOARD: movers + deals desk in one in-game window (.wgf-window kit) ── */
.hm-board .hp-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap;margin:0 0 var(--space-3)}
.hm-board__cap{
  font-family:var(--font-game);font-size:var(--text-sm);font-variant:small-caps;
  letter-spacing:.03em;color:var(--wgf-gold-muted);text-shadow:var(--text-ink-outline);
}
.hm-board__sub{
  font-family:var(--font-game);font-size:var(--text-sm);font-variant:small-caps;
  letter-spacing:.03em;margin:0 0 var(--space-2);text-shadow:var(--text-ink-outline);
}
.hm-board__sub--up{color:var(--wgf-up)}
.hm-board__sub--dn{color:var(--wgf-down)}
.hm-board__sub--deals{color:var(--wgf-gold-bright)}

/* Region selector: the client RED BUTTON tab row (owner Image #3, 2026-07-04: the flat
   squared web buttons are out). Real 128-redbutton slices, exactly the .wgf-tab
   technique: dimmed at rest, pressed slices + sink when active. */
.hp-rbar{display:flex;gap:.3rem;flex-wrap:wrap}
.hp-rbtn{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  height:26px;padding:0 12px;border:0;border-radius:0;
  background:
    url(/assets/ui/128-redbutton-left-cap.png) left center / auto 100% no-repeat border-box,
    url(/assets/ui/128-redbutton-right-cap.png) right center / auto 100% no-repeat border-box,
    url(/assets/ui/_128-redbutton-center.png) left center / auto 100% repeat-x content-box;
  background-color:transparent;
  font-size:var(--text-xs);font-family:var(--font-game);font-weight:700;
  font-variant:small-caps;letter-spacing:.05em;line-height:1;
  color:var(--wgf-gold-muted);cursor:pointer;text-shadow:var(--text-ink-outline);
  filter:brightness(.66) saturate(.9);
  transition:filter var(--motion-fast) var(--ease-standard),
             color var(--motion-fast) var(--ease-standard);
}
.hp-rbtn:hover{filter:brightness(.9) saturate(1);color:var(--wgf-gold-bright)}
.hp-rbtn.is-active{
  background:
    url(/assets/ui/128-redbutton-left-cap-pressed.png) left center / auto 100% no-repeat border-box,
    url(/assets/ui/128-redbutton-right-cap-pressed.png) right center / auto 100% no-repeat border-box,
    url(/assets/ui/_128-redbutton-center-pressed.png) left center / auto 100% repeat-x content-box;
  background-color:transparent;
  color:var(--wgf-gold-bright);filter:none;transform:translateY(1px);
}
.hp-rbtn:focus-visible{outline:none;box-shadow:var(--focus-ring)}
.hp-movers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
.hp-movers .wgf-well,.hm-deals .wgf-well{padding:var(--space-2)}
.hm-deals{margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--wgf-metal-soft)}
.hp-loading,.hp-empty{color:var(--wgf-muted);font-size:var(--text-sm);font-style:italic}
.hp-empty a{color:var(--wgf-gold-link)}

/* Movers + deal rows: warm near-black kit plate (owner 2026-07-04: navy is
   CONDEMNED outside item tooltips - "blue feels like slop"). */
/* 2026-10-06 (owner Ready Check): rows are client INSET frames - the kit's
   --wgf-inset-art (UI-Frame-Inner rims + marble, wgf-chrome.css), no CSS outline. */
.hm-board .result-row{
  background:var(--wgf-inset-art);
  border:0;border-radius:0;box-shadow:none;
}
.hm-board .result-row:hover{
  background:var(--wgf-inset-art);
  filter:brightness(1.3);
}
/* De-pill the movement delta + deal-score markers: plain tooltip-style text, gold
   Friz where it labels (owner: badges restyle to kit idioms, no rounded chips). */
.hm-board .dsb-delta,
.hm-board .dsb-compact{background:transparent;border:0;border-radius:0;padding:0}
.hm-board .dsb-compact__tier,
.hm-board .dsb-delta__pct{font-family:var(--font-game);font-weight:700}
.hm-board .dsb-compact__tier{font-variant:small-caps;letter-spacing:.04em}

/* ── WOW FOREVER AUCTION HOUSE (2026-09-18): the player-scanned beta board ──
   It IS a market board, so it re-uses .wgf-window + .hm-board wholesale and owns only
   the two things the retail board has no equivalent of: the provenance line (who
   scanned these prices, how many, and when) and the pair of doors under the rows.
   Filled by wgf_home_board.forever_ah_html at bake time; an unfillable block emits no
   section at all, so nothing here is ever asked to hide an empty shell. ── */
.hm-forever__prov{
  margin:0 0 var(--space-3);
  font-size:var(--text-sm);line-height:1.5;color:var(--wgf-muted);
  text-shadow:var(--text-ink-outline);
}
.hm-forever__t{
  font-family:var(--font-mono);font-variant-numeric:tabular-nums;
  font-weight:600;color:var(--wgf-gold-muted);
}
.hm-forever__links{
  display:flex;align-items:baseline;flex-wrap:wrap;
  gap:var(--space-2) var(--space-4);margin:var(--space-3) 0 0;
}
/* The addon door is the SECOND ask (contribute), so it reads quieter than the browse
   link beside it - weight and colour, never a competing button. */
.hm-forever__addon{
  font-size:var(--text-sm);color:var(--wgf-muted);text-decoration:none;
  border-bottom:1px solid var(--wgf-border-neutral-soft);
}
.hm-forever__addon:hover{color:var(--wgf-gold-link);border-bottom-color:var(--wgf-gold-dim)}

/* ── TOKEN: four region plates (kit stone-tile, 2026-07-07) ── */
/* minmax(0,...) on every track in this file, never a bare 1fr. A bare 1fr floors at
   the track's min-content, so one unbreakable word (a long price, or the "No data"
   failure string) pushes the whole DOCUMENT wider than the phone instead of wrapping
   inside its own cell. Measured in Chrome 2026-08-10: four tiles carrying a single
   long word took documentElement.scrollWidth to 402 on a 360px viewport. */
.hm-token-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3)}
/* Paint comes from the shared plate surface in assets/wgf-plate-link.css (owner
   2026-08-04: the plain boxes get real client plate art). Only layout + type
   stay here. The old stone-tile-over-a-wash recipe is deleted, not left
   dormant — at equal specificity it would race the surface on <link> order. */
.hm-token-tile{
  display:flex;flex-direction:column;gap:var(--space-1);align-items:flex-start;
  padding:var(--space-3) var(--space-4);
  text-decoration:none;color:inherit;
  min-width:0;
}
.hm-token-tile:hover{border-color:var(--wgf-gold-bright)}
.hm-token-tile:focus-visible{outline:none;box-shadow:var(--focus-ring)}
.hm-token-tile .sb__group-head{
  font-family:var(--font-game);font-size:var(--text-sm);font-variant:small-caps;
  letter-spacing:.05em;color:var(--wgf-gold-muted);margin:0;border:0;padding:0;
  text-shadow:var(--text-ink-outline);
}
.hm-token-tile .sb__value{
  font-family:var(--font-mono);font-variant-numeric:tabular-nums;
  font-size:var(--text-lg);color:#ffd100;display:block;
  /* A coin price wraps naturally between its gold/silver/copper spans; break-word is
     the last resort for a single long word that cannot fit the tile at phone widths.
     NOT text-overflow:ellipsis - a truncated price is a wrong price. */
  min-width:0;overflow-wrap:break-word;
}
.hm-token-note{margin:var(--space-2) 0 0;font-size:var(--text-xs);color:var(--wgf-muted)}
.hm-token-note a{color:var(--wgf-gold-link)}

/* ── DOORS: the six product doors (kit stone-tile, 2026-07-07) ── */
.hm-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}
/* 2026-09-01: twelve doors sit directly under the hero now; four across on a wide
   screen keeps them to three rows (density over airiness). */
@media(min-width:1100px){.hm-doors{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Paint = the shared plate surface (assets/wgf-plate-link.css), which also owns
   :hover (the client's own highlight slice) and :focus-visible. */
.hm-door{
  display:flex;flex-direction:column;gap:var(--space-1);
  padding:var(--space-4);
  text-decoration:none;color:inherit;
}
/* Each door carries the client icon for what is behind it (2026-09-03): a real
   assets/icons/ jpg seated in the client's crafting slot frame
   (assets/ui/professions-slot-frame.png), the same mark idiom as .crx-mark in
   assets/wgf-cheapest-realm.css. Decorative - the door's name is the label - so the
   span is aria-hidden and the img alt is empty. */
.hm-door__icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:56px;height:56px;flex:0 0 auto;
  margin-bottom:var(--space-1);
  background:url("/assets/ui/professions-slot-frame.png") center/100% 100% no-repeat;
}
.hm-door__icon > img{width:40px;height:40px;display:block}
.hm-door__name{
  font-family:var(--font-game);font-weight:700;font-size:var(--text-lg);
  font-variant:small-caps;letter-spacing:.02em;color:var(--wgf-gold-primary);
  text-shadow:var(--text-ink-outline);
}
.hm-door__desc{font-size:var(--text-sm);color:var(--wgf-muted);line-height:1.5;margin:0}
.hm-door__go{font-size:var(--text-sm);font-weight:600;color:var(--wgf-gold-link);margin-top:auto}
.hm-door:hover .hm-door__go{color:var(--wgf-gold-bright)}

/* Squared chrome (owner law: no rounded cards). The shared plate surface in
   assets/wgf-plate-link.css sets border-radius:var(--radius-control), which is 4px,
   and these two were the ONLY elements on the homepage measuring anything but 0px.
   Overridden here rather than in the shared sheet because that sheet also dresses
   .wtd-related-links, which is not this page's call to re-cut. wgf-home.css loads
   after wgf-plate-link.css in index.html, so equal specificity resolves this way. */
.hm-door,
.hm-token-tile{border-radius:0}

/* ── VERSION DOORS (2026-09-18): the front page's centrepiece ──
   One door per row of wgf_version.VERSIONS, rendered by home_version_doors.py. The identity
   mark is the SEAL, not an icon: docs/ui-ux/16-version-seals.md already says a version is
   "the same stone under a different light", and a lit rule in that version's accent is the
   idiom the spine and the chip use. That also means zero new requests and nothing that can
   404 (assets/icons/ is gitignored and only exists on the run host), and because every door
   is server-spliced with a reserved height, this section shifts nothing after first paint.
   The accent arrives as an inline --seal custom property from the registry; it is the ONLY
   colour here that is not a --wgf-* token, which is exactly the owner ruling of 2026-09-18
   (a version seal accent is identity, not chrome). */
.hm-vgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-3)}
.hm-door--version{
  position:relative;
  gap:var(--space-2);
  /* The lit rule. Squared, 3px, the version's own light - the spine's mark, on a tile. */
  border-top:3px solid var(--seal,var(--wgf-gold-primary));
  /* Reserved so a door with two facts and a door with four sit on the same baseline. */
  min-height:232px;
}
.hm-door--version:focus-within{outline:2px solid var(--seal,var(--wgf-gold-primary));outline-offset:2px}
.hm-vdoor__open{display:flex;flex-direction:column;gap:var(--space-1);text-decoration:none;color:inherit}
.hm-vdoor__seal{
  display:inline-block;align-self:flex-start;
  font-family:var(--font-game);font-variant:small-caps;letter-spacing:.06em;
  font-size:var(--text-xs);line-height:1;padding:5px 9px;
  color:var(--seal,var(--wgf-gold-primary));
  border:1px solid var(--seal,var(--wgf-gold-primary));
  /* The light behind the letters, kept faint so the plate texture still reads through. */
  background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(0,0,0,.18));
}
/* "New" retires itself: home_version_doors.GRADUATED + NEW_FOR_DAYS stop emitting this span
   once the window is past, so there is no permanent badge to come back and delete. */
.hm-vdoor__new{
  position:absolute;top:var(--space-3);right:var(--space-3);
  font-size:var(--text-xs);font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:3px 7px;color:#14110a;background:var(--seal,var(--wgf-gold-primary));
}
.hm-door--version .hm-door__name{font-size:var(--text-xl)}
.hm-vdoor__facts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.hm-vdoor__fact{
  font-size:var(--text-xs);color:var(--wgf-muted);line-height:1.45;
  padding-left:14px;position:relative;
}
.hm-vdoor__fact::before{
  content:"";position:absolute;left:0;top:.52em;width:6px;height:6px;
  background:var(--seal,var(--wgf-gold-primary));
}
.hm-vdoor__links{
  display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;
  padding-top:var(--space-2);border-top:1px solid var(--wgf-border-neutral);
}
.hm-vdoor__link{
  /* 44px minimum tap target (WCAG 2.5.8 / the owner's phone). */
  display:inline-flex;align-items:center;min-height:44px;padding:0 12px;
  font-size:var(--text-sm);font-weight:600;color:var(--wgf-gold-link);text-decoration:none;
  border:1px solid var(--wgf-border-neutral);
}
.hm-vdoor__link:hover{color:var(--wgf-gold-bright);border-color:var(--seal,var(--wgf-gold-primary))}

/* THE LEAD DOOR is whichever version is first in the registry (order 0 = WoW Forever, owner
   ruling 2026-09-18: Forever first, retail second). The CSS never names it: it is simply the
   first child, so the day the registry reorders, the page reorders with it. */
@media(min-width:700px){
  .hm-vgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-door--lead{grid-column:span 2}
}
@media(min-width:1100px){
  .hm-vgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hm-door--lead{grid-column:span 2;grid-row:span 2}
  .hm-door--lead .hm-door__name{font-size:var(--text-2xl)}
  .hm-door--lead .hm-door__desc{font-size:var(--text-md)}
}

/* ── THE TOOLS ROW (2026-09-18): the surfaces that shipped across every version ──
   Same plate as a door (it IS .hm-door), no icon, no image, no new request. */
.hm-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-3)}
.hm-door--tool{min-height:150px}
@media(min-width:700px){.hm-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.hm-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ── stacking ──
   Lifted out of an inline <style> in index.html on 2026-09-03 so this page's paint has
   one home. The atmospheric art (.hm-pagebg) sits behind at z-index -1, content above
   it, the topbar highest so the nav dropdowns paint over the hero. */
.wgf-shell-page .wgf-shell-main{position:relative;z-index:1}
.wgf-shell-page .wgf-shell-topbar{position:relative;z-index:10}

/* ── honesty line (the one-line disclaimer; the footer carries the full legal text) ── */
.hm-honesty{
  max-width:1180px;margin:var(--space-6) auto 0;
  font-size:var(--text-xs);color:var(--wgf-muted);text-align:center;
}

/* Browse section (category chip results, shown by item-index.js) */
.browse-sec{max-width:1180px;margin:var(--space-4) auto 0}

/* ── responsive ── */
@media(max-width:860px){
  .hm-doors{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .hm-door__icon{width:44px;height:44px}
  .hm-door__icon > img{width:30px;height:30px}
  .hp-movers{grid-template-columns:minmax(0,1fr)}
  .hm-token-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-doors{grid-template-columns:minmax(0,1fr)}
  .hm-ticker{grid-template-columns:minmax(0,1fr)}
  .hm-ticker__cell+.hm-ticker__cell{border-left:0;border-top:1px solid var(--wgf-border-neutral)}
}

/* ── MOONSHOT 2026-07-07: escape-menu command row + profession-book categories +
   live coin badge (owner directives 4, 6, 7; escape-menu look approved 2026-07-06). ── */

/* Directive 4: the verified-data badge is a real client gold coin sprite that flips,
   not a static dot. Transform-only animation = GPU-cheap, no layout work. */
.hm-eyebrow .hm-live-coin{
  display:inline-block;vertical-align:-2px;margin-right:var(--space-2);
  animation:hm-coinflip 5s ease-in-out infinite;
}
@keyframes hm-coinflip{
  0%, 72% { transform:rotateY(0); }
  86%     { transform:rotateY(180deg); }
  100%    { transform:rotateY(360deg); }
}

/* Directive 6: the command row - search stays the primary action, the Game Menu
   window (the site's front door, the escape-menu idiom) anchors the eyeline. */
.hm-cmd{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:minmax(0,1fr) 330px;
  gap:var(--space-4);align-items:start;text-align:left;
}
.hm-cmd__main .search{max-width:none;margin:0}
/* 2026-07-07 sweep: ticker + profession book live INSIDE the command column so the
   left side fills to the menu's height (no dead void under the search). */
.hm-cmd__main .hm-ticker{max-width:none;margin:var(--space-4) 0 0}
.hm-cmd__main .hm-profbook{max-width:none;margin:var(--space-4) 0 0}
.hm-menu .wgf-window__body,
.hm-menu__body{display:flex;flex-direction:column;gap:8px;padding-bottom:14px}
.hm-menu .wgf-btn-red{width:100%;justify-content:center}

/* Directive 7: browse-by-category wears the profession-book parchment page.
   Entries read as book lines (dark ink on parchment, Friz), not floating buttons;
   the parchment pane kit re-tokens text colors to dark-on-light for us. */
.hm-profbook{max-width:820px;margin:var(--space-5) auto 0}
.hm-profbook__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 18px}

/* Directive 7 kept the entries as book LINES rather than floating buttons, and
   that part is right — but stripped of every texture they read as plain text,
   which is what the owner flagged on the front page 2026-08-04. They are now
   real profession-book entries: the client's gilt spellbook icon frame around a
   REAL category icon, with the name in dark ink beside it. Still book lines,
   now made of Blizzard art.
   NOTE: the frame+icon layering is the same recipe as the question glyph in
   assets/wgf-spellbook.css. Two consumers, deliberately not abstracted yet — it
   is six lines of background layering and a shared utility would have to carry
   both the octagon and the per-entry icon switch. Collapse them if a third
   surface needs it. */
.hm-hero .hm-profbook .catchip{
  display:flex;align-items:center;gap:10px;
  background:none;filter:none;height:auto;border:0;border-radius:0;
  padding:6px 8px;cursor:pointer;
  font-family:var(--font-game);font-size:var(--text-md);font-weight:600;
  font-variant:normal;letter-spacing:.01em;line-height:1.25;
  color:#5a2f0c;text-shadow:none;text-align:left;
}
/* THE ICON PLATE (recut 2026-08-23). spellbook-item-iconframe.png is 138x131 with a
   76x76 transparent window whose centre sits at (58.7%, 44.3%) of the art, NOT at
   (50%, 50%) - the gilt leaf flourish eats the left and lower-left of the plate.
   Until now the plate was painted as two background layers on a 34x34 SQUARE ::before
   with the icon at `center / 62% 62%`, which produced three defects at once:
     (a) the 1.053:1 plate was forced into a 1:1 box, so the octagon rendered squashed;
     (b) the icon, centred on the BOX instead of on the WINDOW, buried 12.2% of its
         width under the frame's left bar and 7.7% of its height under the bottom bar,
         while leaving bare parchment showing through the window's top and right;
     (c) only ~21 CSS px of a 64px Blizzard source was ever visible.
   That is the "icons are not like they show in-game" the owner flagged. The offsets
   below are measured straight off the plate's alpha channel, so the icon now seats in
   the frame's real window the way the client's spellbook seats a profession icon.
   Re-measure them if spellbook-item-iconframe.png is ever re-extracted. The icon is a
   real <img> in the markup now (not a CSS background) so it lazy-loads and carries its
   dimensions, per docs/ui-ux/11-blizzard-assets.md section 4. */
.hm-hero .hm-profbook .pb-icon{
  position:relative;flex:0 0 auto;
  width:59px;height:56px;
  background:url(/assets/ui/spellbook-item-iconframe.png) center / 100% 100% no-repeat;
}
.hm-hero .hm-profbook .pb-icon img{
  position:absolute;display:block;
  left:31.16%;top:15.27%;width:55.07%;height:58.02%;
  object-fit:cover;
}

.hm-hero .hm-profbook .catchip:hover{filter:none;color:#7a1f05;text-decoration:underline;transform:none}
.hm-hero .hm-profbook .catchip:active{filter:none;transform:none}
.hm-hero .hm-profbook .catchip.is-active{color:#7a1f05;font-weight:700}
/* The client's own warm wash marks the open entry, same as a spellbook row. */
.hm-hero .hm-profbook .catchip.is-active{
  background:url(/assets/ui/spellbook-item-backplate.png) center / 100% 100% no-repeat;
}

@media(max-width:860px){
  .hm-cmd{grid-template-columns:1fr}
  .hm-cmd__side{max-width:380px;margin:0 auto;width:100%}
  /* minmax(0,1fr), NOT 1fr. A bare 1fr track floors at min-content, and a profession
     entry is a 34px icon frame plus an unbreakable word ("Jewelcrafting"), so two of
     them measured wider than a phone: documentElement.scrollWidth read 396 on a 360px
     viewport and the whole homepage scrolled sideways. minmax(0,...) lets the track
     shrink below its content instead of pushing the document out (2026-08-10). */
  .hm-profbook__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-hero .hm-profbook .pb-icon{width:46px;height:44px}
}
/* Phones: one entry per line. Two columns of book entries at 360px leaves each name
   about 130px wide, which wraps every multi-word category to three lines. */
@media(max-width:520px){
  .hm-profbook__grid{grid-template-columns:minmax(0,1fr)}
}

/* ── 2026-08-15: the Game Menu grows to the whole site (owner ask). The stack ends
   the way the client's own menu does: a thin metal rule, then the small meta
   buttons (the .hm-menu .wgf-btn-red rule above already sizes both variants). ── */
/* 2026-08-21: the menu's divider is the lit seam
   (.wgf-rune-seam, defined in wgf-chrome.css, carried on the markup). The metal
   rule survives as the fallback for any consumer without the seam class. */
.hm-menu__rule{border:0;margin:4px 0}
.hm-menu__rule:not(.wgf-rune-seam){border-top:1px solid var(--wgf-metal-soft)}

/* ── WHO WE ARE: the quest-text pane (owner ask 2026-08-15). The parchment kit
   re-tokens ink dark; this block only sets measure and link ink, in the same
   red-brown records voice the parchment family already speaks. ── */
.hm-about{max-width:980px;margin:0 auto}
.hm-about p{max-width:76ch;margin:0 auto var(--space-3);line-height:1.65;font-size:var(--text-md)}
.hm-about p:last-child{margin-bottom:0}
.hm-about strong{color:#4a3316}
.hm-about a{color:#7a1f05;font-weight:600;text-decoration:underline}
.hm-about a:hover{color:#5a2f0c}

/* ── reduced-motion (docs/ui-ux/04-*: every animation/transition must respect
   prefers-reduced-motion; same approach as assets/ah-game-ui.css) ── */
@media (prefers-reduced-motion: reduce) {
  .hm-hero .catchip { transition: none; }
  .hp-rbtn { transition: none; }
  .hm-eyebrow .hm-live-dot { animation: none; }
  .hm-eyebrow .hm-live-coin { animation: none; }
}

/* ── RIGHT NOW IN WOW (2026-08-17): reset countdowns + observed realm status. Deliberately
   built on the existing token-grid tiles rather than a new component family, so the panel
   inherits the plate look, the responsive breakpoints and the reduced-motion rules already
   proven above. Only two things are genuinely new: the small local-time line under each
   countdown, and the realm-status lines. ── */
.hm-pulse-when{display:block;margin-top:2px;font-size:var(--text-xs);color:var(--wgf-muted)}
.hm-pulse-status{margin-top:var(--space-3)}
.hm-pulse-realm{margin:0 0 4px;font-size:var(--text-sm);color:var(--wgf-text)}
.hm-pulse-realm:last-child{margin-bottom:0}
/* Maintenance is the one state worth colouring: it is the answer to "why can't I log in". */
.hm-pulse-realm--down{color:var(--wgf-down);font-weight:600}

/* ── THE LEDGER TODAY (2026-08-30): the homepage's written brief, generated from our own
   snapshots by wgf_home_board.brief_html(). It wears the SAME parchment pane and the same
   red-brown records ink as "Who We Are" above, because it is the same voice: the site
   speaking in sentences rather than rows. No new palette, no new family - measure, ink and
   the dateline are the only things this block adds.

   There is deliberately NO "hide the empty pane" rule here. wgf_home_board.brief_html()
   emits the whole section or nothing at all, so an unwritable brief has no markup to hide.
   The first cut did it the other way (a :has() rule over a permanent wrapper) and shipped a
   dead widget: on 2026-08-30 the markup reached /srv/wgf a step ahead of this stylesheet and
   the live front page carried an empty parchment with a lone title. Never make a block's
   emptiness depend on a stylesheet version arriving. ── */
.hm-brief-pane{max-width:980px;margin:0 auto}
.hm-brief{max-width:76ch;margin:0 auto}

/* Dateline: the small-caps records line a written page opens with. Keeps the parchment's
   own dark ink; the rule beneath is the seam between heading and body. */
.hm-brief__dateline{
  margin:0 0 var(--space-3);padding-bottom:var(--space-2);
  border-bottom:1px solid rgba(74,51,22,.28);
  font-family:var(--font-game);font-size:var(--text-sm);font-variant:small-caps;
  letter-spacing:.06em;color:#4a3316;
}
.hm-brief__by{font-variant:normal;letter-spacing:normal;font-style:italic;opacity:.8}
.hm-brief__p{margin:0 0 var(--space-3);line-height:1.65;font-size:var(--text-md)}
.hm-brief__p:last-of-type{margin-bottom:var(--space-3)}
.hm-brief__foot{
  margin:0;padding-top:var(--space-2);
  border-top:1px solid rgba(74,51,22,.22);
  font-size:var(--text-sm);line-height:1.55;font-style:italic;color:#5a4526;
}
.hm-brief__foot a{color:#7a1f05;font-weight:600;text-decoration:underline}
.hm-brief__foot a:hover{color:#5a2f0c}

/* ── the freshness stamp. ONE component, two surfaces: the dark deals well and the light
   parchment brief both need to say when a number was measured, and "measured at" is the
   same idea in both places. Base is tokened for the dark plates; the parchment scope
   re-themes it to the pane's own ink (DESIGN_SYSTEM token rule 1 allows a scoped
   re-theme, and forbids a second global definition). ── */
.hm-fresh{
  margin:var(--space-2) 0 0;
  font-family:var(--font-game);font-size:var(--text-xs);font-variant:small-caps;
  letter-spacing:.04em;color:var(--wgf-muted);
}
.hm-fresh__t{font-variant:normal;letter-spacing:normal;font-weight:600;color:var(--wgf-gold-muted)}
.wgf-parchment-pane .hm-fresh{color:#6b5836}
.wgf-parchment-pane .hm-fresh__t{color:#4a3316}

@media (max-width:640px){
  .hm-brief__p{font-size:var(--text-sm);line-height:1.6}
}

/* ── wh parity pass 20261123wh: home = wide column of header-barred panels ── */
.hm-sec,.browse-sec,.hm-cmd{max-width:var(--wh-maxw,1400px)}
.hm-cmd{grid-template-columns:minmax(0,1fr) 330px}
.hm-board .hp-head{min-height:50px;margin:0 0 8px;padding:0 14px;background:var(--wh-bar,#181818);border-bottom:1px solid var(--wh-border,#303030);border-radius:var(--wh-radius,4px) var(--wh-radius,4px) 0 0}
.hm-board .hp-head h2,.hm-board .hp-head h3{font-family:var(--wh-font,"Open Sans",Arial,sans-serif);font-size:17px;font-weight:700;color:var(--wh-heading,#fff)}
.hm-board .result-row{min-height:var(--wh-row,34px);padding-top:0;padding-bottom:0;font-family:var(--wh-font,"Open Sans",Arial,sans-serif);font-size:var(--wh-fs,14px);line-height:var(--wh-row,34px);background:var(--wh-bar,#181818);margin-bottom:2px}
.hm-board .result-row:hover{background:var(--wh-raise,#2a2a2a)}
.hp-movers{gap:12px}
.hm-tools,.hm-vgrid{gap:8px}
