/* wgf-nav.css - the ONE site header, Wowhead-parity pass (2026-11-23, lane A).
 *
 * Replaces wgf-header.css while nav_header.enabled(). Markup: nav_header.py (+ nav_menu_render.py),
 * behaviour: wgf-nav.js. Tokens: the --wh-* set (static/css/_tokens.css) with literal fallbacks;
 * any other value here is local to .wgf-n2. No green chrome, red WoW buttons kept.
 *
 * Desktop (>= 900px), ONE sticky block of three rows (130px):
 *   30  game-version tabs          50  logo + search + realm button          50  menu bar
 * followed by the feature-tile row (promo tiles) and the breadcrumb line, which scroll away.
 * Menu panels: multi-column, group headers are not links, right-hand flyouts, hover with intent.
 * Phone (< 900px): 48px bar = hamburger, coin, search; the menu is a left drawer
 * (Select Game, Featured, Navigation with drill-in rows). The closed drawer is display:none so it
 * can never add scroll width.
 */

/* ---- header shell ------------------------------------------------------------------------ */
header.wgf-shell-topbar:has(.wgf-n2) {
  background: var(--wh-panel, #202020);
  border-bottom: 1px solid var(--wh-border, #303030);
  z-index: 60;
}
header.wgf-shell-topbar:has(.wgf-n2) > .wgf-shell-topbar__inner {
  display: flex; max-width: none; margin: 0; padding: 0 12px; gap: 6px;
  flex-wrap: nowrap; align-items: center;
}
header.wgf-shell-topbar:has(.wgf-n2) .wgf-shell-logo {
  font: 700 19px/1 var(--font-game, 'FrizQuadrata', 'Cinzel', serif);
  letter-spacing: .01em; text-transform: none; color: var(--wgf-gold-primary, #ffd100);
  white-space: nowrap; gap: 8px;
}
header.wgf-shell-topbar:has(.wgf-n2) .wgf-logo-coin { width: 26px; height: 26px; }
header.wgf-shell-topbar:has(.wgf-n2) > .wgf-shell-topbar__inner > .wgf-shell-right:empty { display: none; }

/* ---- nav root ---------------------------------------------------------------------------- */
.wgf-n2 {
  display: flex; flex: 1 1 auto; align-items: center; min-width: 0; margin: 0; gap: 0;
  font: 14px/1.4 var(--wh-font, "Open Sans", Arial, sans-serif);
  color: var(--wh-text, #bbbbbb);
  --n2-line: var(--wh-border, #303030);
  --n2-gold: var(--wh-accent, #ffd100);
  --n2-muted: var(--wh-muted, #888888);
}
.wgf-n2 a { color: inherit; text-decoration: none; }
.wgf-n2 ul { list-style: none; margin: 0; padding: 0; }
.wgf-n2 button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.wgf-n2 :focus-visible { outline: 2px solid var(--n2-gold); outline-offset: 2px; }
.wgf-n2__body { display: flex; flex: 1 1 auto; align-items: center; min-width: 0; }

/* ---- search (every page, home pages included) --------------------------------------------- */
body[data-wgf-page] .wgf-n2__search.wgf-shell-search { display: block; }   /* beats the home / AH "hero IS the search" hides */
.wgf-n2__search { position: relative; flex: 1 1 260px; min-width: 0; margin: 0 0 0 8px; }
.wgf-n2__sbox {
  display: flex; align-items: center; height: 30px; background: var(--wh-bar, #181818);
  border: 2px solid rgba(255, 255, 255, .08); border-radius: 2px; box-shadow: none;
}
.wgf-n2__sbox:focus-within { border-color: var(--n2-gold); }
.wgf-n2__scope {
  display: flex; align-items: center; height: 100%; padding: 0 10px; white-space: nowrap;
  font: 700 11px/1 var(--wh-font, "Open Sans", Arial, sans-serif); letter-spacing: .06em;
  text-transform: uppercase; color: var(--wgf-gold-muted, #b5a06a); border-right: 1px solid var(--n2-line);
}
.wgf-n2__search .wgf-shell-search__input {
  flex: 1; min-width: 0; height: 100%; padding: 0 10px; background: none; border: 0; border-radius: 0;
  color: var(--wh-text, #bbbbbb); font: 14px var(--wh-font, "Open Sans", Arial, sans-serif); box-shadow: none;
}
.wgf-n2__search .wgf-shell-search__input:focus { outline: none; box-shadow: none; }
.wgf-n2__kbd { display: none; }
.wgf-n2__search .wgf-shell-search__btn {
  display: flex; align-items: center; justify-content: center; width: 30px; height: 100%;
  color: var(--wgf-gold-muted, #b5a06a);
}
.wgf-n2__search .wgf-shell-search__btn:hover { color: var(--wh-heading, #ffffff); }
.wgf-n2__search .wgf-shell-search__btn svg { width: 16px; height: 16px; }

/* ---- Realm slot (the red WoW button is built by wgf-shell.js into this .wgf-shell-right) ---- */
.wgf-n2__realm { flex: 0 0 auto; margin: 0; gap: 0; display: flex; align-items: center; }
.wgf-n2__realm .wgf-sel { display: none; }
.wgf-n2__realm .wgf-realm-btn {
  display: inline-flex; flex-direction: row; align-items: center; justify-content: center;
  height: 26px; min-width: 0; padding: 0 11px; margin: 0; border: 0; border-radius: 0; box-shadow: none;
  white-space: nowrap; cursor: pointer;
  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;
}
.wgf-n2__realm .wgf-realm-btn::after { display: none; }
.wgf-n2__realm .wgf-realm-btn small { display: none; }
.wgf-n2__realm .wgf-realm-btn b { font: 650 12.5px/1 var(--font-game, serif); color: var(--wgf-gold-bright, #ffe375); max-width: 150px; overflow: hidden; text-overflow: ellipsis; }

/* ---- version tabs ------------------------------------------------------------------------- */
.wgf-n2__vstrip {
  display: flex; align-items: center; gap: 2px; padding: 0 10px; overflow: hidden;
  background: var(--wh-bg, #101010);
}
.wgf-n2__vhome { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; color: var(--wh-muted, #888888); }
.wgf-n2__vhome:hover { color: var(--wh-heading, #ffffff); }
.wgf-n2__vcur {
  margin-right: 6px; white-space: nowrap; color: var(--wgf-gold-bright, #f8b700);
  font: 700 var(--wh-fs-sm, 12px)/1 var(--wh-font, "Open Sans", Arial, sans-serif);
}
.wgf-n2__vtab {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: 2px; white-space: nowrap;
  font: 700 var(--wh-fs-sm, 12px)/1 var(--wh-font, "Open Sans", Arial, sans-serif);
  letter-spacing: .08em; text-transform: uppercase; color: var(--wh-muted, #888888);
}
.wgf-n2__vtab i {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: rgb(var(--vc)); box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), inset 0 0 0 2px rgba(0, 0, 0, .35);
}
.wgf-n2__vtab:hover { color: var(--wh-heading, #ffffff); background: var(--wh-raise, #2a2a2a); }
.wgf-n2__vtab[aria-current] { background: var(--wh-accent, #ffd100); color: var(--wh-accent-ink, #14110d); }

/* ---- the menu bar + mega panels ----------------------------------------------------------- */
.wgf-n2__menu { display: flex; flex: 0 0 auto; }
.wgf-n2__item { position: relative; }
.wgf-n2__t {
  display: flex; align-items: center; gap: 6px; height: 50px; padding: 0 15px; white-space: nowrap;
  border-bottom: 2px solid transparent;
  font: 700 var(--wh-fs-sm, 12px)/1 var(--wh-font, "Open Sans", Arial, sans-serif);
  letter-spacing: .08em; text-transform: uppercase; color: var(--wh-text, #bbbbbb);
}
.wgf-n2__t:hover, .wgf-n2__item.is-open > .wgf-n2__t { color: var(--wh-heading, #ffffff); border-bottom-color: var(--n2-gold); }
.wgf-n2__item.is-here > .wgf-n2__t { color: var(--wh-heading, #ffffff); border-bottom-color: var(--n2-gold); }
.wgf-n2__item[data-sec="games"] > .wgf-n2__t { color: var(--n2-gold); }
/* Tools / More are <button>s: ".wgf-n2 button { font: inherit }" outranks .wgf-n2__t, so restate the tab font. */
.wgf-n2 button.wgf-n2__t { font: 700 var(--wh-fs-sm, 12px)/1 var(--wh-font, "Open Sans", Arial, sans-serif); letter-spacing: .08em; text-transform: uppercase; }

.wgf-n2__mega {
  display: none; position: absolute; left: 0; top: 100%; z-index: 80; min-width: 100%;
  background: var(--wh-panel, #202020); border: 1px solid var(--wh-border, #303030); border-top: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .65); white-space: normal; text-transform: none; letter-spacing: 0;
}
.wgf-n2__item:nth-last-child(-n+3) > .wgf-n2__mega { left: auto; right: 0; }
.wgf-n2__item.is-open > .wgf-n2__mega { display: block; }
.wgf-n2:not(.wgf-js) .wgf-n2__item:hover > .wgf-n2__mega,
.wgf-n2:not(.wgf-js) .wgf-n2__item:focus-within > .wgf-n2__mega { display: block; }
.wgf-n2__cols { display: flex; align-items: flex-start; padding: 6px 0 8px; }
.wgf-n2__col { flex: 0 0 auto; min-width: 190px; padding: 0 2px; }
.wgf-n2__col + .wgf-n2__col { border-left: 1px solid var(--wh-bar, #181818); }
.wgf-n2__h {
  display: block; padding: 0 14px; height: 26px; line-height: 26px; cursor: default;
  font: 700 11px/26px var(--wh-font, "Open Sans", Arial, sans-serif); letter-spacing: .08em;
  text-transform: uppercase; color: var(--wgf-gold-muted, #b5a06a);
}
.wgf-n2__col a, .wgf-n2__row > a {
  display: block; height: 27px; padding: 0 14px; line-height: 27px; white-space: nowrap;
  font: 13px/27px var(--wh-font, "Open Sans", Arial, sans-serif); color: var(--wh-text, #bbbbbb);
}
.wgf-n2__col a:hover, .wgf-n2__col a:focus-visible, .wgf-n2__row:hover > a, .wgf-n2__row.is-open > a {
  background: var(--wh-raise, #2a2a2a); color: var(--wh-heading, #ffffff);
}
.wgf-n2__all, .wgf-n2__back { display: none; }

/* right-hand flyouts */
.wgf-n2__row { position: relative; }
.wgf-n2__row--fly > a { padding-right: 30px; }
.wgf-n2__fo { position: absolute; right: 0; top: 0; width: 28px; height: 27px; }
.wgf-n2__fo::after {
  content: ""; position: absolute; left: 9px; top: 9px; width: 0; height: 0;
  border: 4.5px solid transparent; border-left-color: var(--wgf-gold-muted, #b5a06a);
}
.wgf-n2__fly {
  display: none; position: absolute; left: 100%; top: -6px; z-index: 90; min-width: 200px; padding: 6px 0 8px;
  background: var(--wh-panel, #202020); border: 1px solid var(--wh-border, #303030);
  box-shadow: 8px 10px 24px rgba(0, 0, 0, .6);
}
.wgf-n2__item:nth-last-child(-n+3) .wgf-n2__fly { left: auto; right: 100%; }
.wgf-n2__row.is-open > .wgf-n2__fly { display: block; }
.wgf-n2:not(.wgf-js) .wgf-n2__row:hover > .wgf-n2__fly,
.wgf-n2:not(.wgf-js) .wgf-n2__row:focus-within > .wgf-n2__fly { display: block; }

/* the drawer-only blocks */
.wgf-n2__dsec, .wgf-n2__dh { display: none; }

/* ---- feature tiles + context line ---------------------------------------------------------- */
.wgf-n2__tiles { display: none; }
header.wgf-shell-topbar .wgf-shell-searchband.wgf-n2__ctx {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 30px;
  margin: 0; padding: 0 16px; max-width: none; overflow: hidden; border: 0; box-shadow: none;
  background: var(--wh-panel, #202020); color: var(--n2-muted); font-size: 13px; white-space: nowrap;
}
.wgf-n2__ctx .wgf-seo-breadcrumb { padding: 0; margin: 0; max-width: none; border: 0; background: none; min-width: 0; flex: 1 1 auto; overflow: hidden; }
.wgf-n2__ctx .wgf-seo-breadcrumb ol { flex-wrap: nowrap; font: 13px/1 var(--wh-font, "Open Sans", Arial, sans-serif); }
.wgf-n2__ctx .wgf-seo-breadcrumb li { color: var(--wh-heading, #ffffff); }
.wgf-n2__ctx .wgf-seo-breadcrumb li:not(:last-child) { color: var(--n2-muted); }
.wgf-n2__ctx .wgf-seo-breadcrumb li::after { color: var(--wgf-gold-hover, #e8b923); padding: 0 8px; }
.wgf-n2__ctx .wgf-seo-breadcrumb a { color: inherit; }
.wgf-n2__ctx .wgf-seo-breadcrumb a:hover { color: var(--wgf-gold-bright, #ffe375); text-decoration: none; }
.wgf-n2__vtag { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.wgf-n2__vtag i { font-style: normal; color: rgb(var(--n2-acc, 255, 227, 117)); }
header.wgf-shell-topbar:has(.wgf-n2) .wgf-n2__ctx { --n2-acc: 255, 227, 117; }

/* ==== desktop (>= 900px) =================================================================== */
@media (min-width: 900px) {
  header.wgf-shell-topbar:has(.wgf-n2) { display: contents; }
  header.wgf-shell-topbar:has(.wgf-n2) > .wgf-shell-topbar__inner {
    position: sticky; top: 0; z-index: 60;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: 30px 50px 50px;
    align-items: center; column-gap: 12px; row-gap: 0; height: 130px; padding: 0;
    background: var(--wh-panel, #202020); border-bottom: 1px solid var(--wh-border, #303030);
    font-family: var(--wh-font, "Open Sans", Arial, sans-serif);
  }
  header.wgf-shell-topbar:has(.wgf-n2) .wgf-n2,
  header.wgf-shell-topbar:has(.wgf-n2) .wgf-n2__body { display: contents; }
  header.wgf-shell-topbar:has(.wgf-n2) .wgf-shell-nav-toggle { display: none; }

  .wgf-n2__vstrip { grid-column: 1 / -1; grid-row: 1; align-self: stretch; }
  header.wgf-shell-topbar:has(.wgf-n2) .wgf-shell-logo { grid-column: 1; grid-row: 2; margin: 0 0 0 12px; }
  .wgf-n2__search { grid-column: 2; grid-row: 2; flex: none; margin: 0; max-width: 900px; }
  .wgf-n2__search .wgf-n2__sbox { width: 100%; box-sizing: border-box; }
  .wgf-n2__realm { grid-column: 3; grid-row: 2; height: 50px; margin: 0 12px 0 0; }
  .wgf-n2__menu { grid-column: 1 / -1; grid-row: 3; height: 50px; padding: 0 6px; border-top: 1px solid var(--wh-bar, #181818); }

  .wgf-n2__tiles {
    display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px;
    height: 130px; padding: 28px max(10px, calc((100% - var(--wh-maxw, 1400px)) / 2 + 10px)) 0;
    background: var(--wh-panel, #202020); font-family: var(--wh-font, "Open Sans", Arial, sans-serif);
  }
  .wgf-n2__tiles .wgf-n2__tile { display: block; position: relative; text-align: center; color: var(--wh-text, #bbbbbb); min-width: 0; }
  .wgf-n2__tbox {
    display: block; position: relative; height: 80px;
    background: var(--wh-bar, #181818); border: 1px solid var(--wh-border, #303030); border-radius: var(--wh-radius, 4px);
  }
  .wgf-n2__tart {
    position: absolute; left: 50%; top: -22px; width: 64px; height: 64px; margin-left: -34px;
    object-fit: cover; border-radius: 6px; box-sizing: content-box; border: 2px solid var(--wh-border, #303030);
    background: var(--wh-raise, #2a2a2a); box-shadow: 0 6px 14px rgba(0, 0, 0, .55);
  }
  .wgf-n2__tl {
    display: block; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font: 700 var(--wh-fs-sm, 12px)/16px var(--wh-font, "Open Sans", Arial, sans-serif);
    letter-spacing: .08em; text-transform: uppercase;
  }
  .wgf-n2__tile:hover .wgf-n2__tbox { background: var(--wh-raise, #2a2a2a); border-color: var(--wh-accent, #ffd100); }
  .wgf-n2__tile:hover .wgf-n2__tl { color: var(--wh-heading, #ffffff); }

  header.wgf-shell-topbar .wgf-shell-searchband.wgf-n2__ctx { display: contents; }
  .wgf-n2__crow {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    height: 30px; padding: 0 max(16px, calc((100% - var(--wh-maxw, 1400px)) / 2 + 16px)); overflow: hidden; white-space: nowrap;
    background: var(--wh-panel, #202020); color: var(--wh-muted, #888888);
    border-top: 1px solid var(--wh-bar, #181818); font-family: var(--wh-font, "Open Sans", Arial, sans-serif);
  }
  .wgf-n2__crow .wgf-seo-breadcrumb { flex: 1 1 auto; min-width: 0; }
  .wgf-n2__tiles, .wgf-n2__crow { position: relative; z-index: 1; }   /* above fixed page art (.wgf-zonebg) */

  /* the bar's content lines up with the 1400px page column; the version strip stays full bleed */
  header.wgf-shell-topbar:has(.wgf-n2) > .wgf-shell-topbar__inner {
    padding: 0 max(0px, calc((100% - var(--wh-maxw, 1400px)) / 2));
  }
  .wgf-n2__vstrip { box-shadow: 0 0 0 100vmax var(--wh-bg, #101010); clip-path: inset(0 -100vmax); }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .wgf-n2__vtab { padding: 0 7px; }
  .wgf-n2__t { padding: 0 9px; }
  .wgf-n2__tbox { height: 72px; }
  .wgf-n2__tl { letter-spacing: .04em; }
  header.wgf-shell-topbar:has(.wgf-n2) .wgf-shell-logo { font-size: 0; margin-left: 12px; }
  .wgf-n2__scope { display: none; }
  .wgf-n2__vcur { display: none; }
}

/* ==== phone / tablet (< 900px) ============================================================== */
@media (max-width: 899px) {
  header.wgf-shell-topbar:has(.wgf-n2) { max-width: 100vw; overflow-x: clip; }
  header.wgf-shell-topbar:has(.wgf-n2) > .wgf-shell-topbar__inner { height: 48px; padding: 0 8px 0 2px; gap: 4px; }
  /* bar: hamburger (left), coin, search */
  header.wgf-shell-topbar:has(.wgf-n2) .wgf-shell-nav-toggle {
    order: 0; display: flex; flex: none; width: 44px; height: 44px; border: 0; padding: 0;
    justify-content: center; align-items: center; gap: 5px;
  }
  header.wgf-shell-topbar:has(.wgf-n2) .wgf-shell-logo { order: 1; flex: none; font-size: 0; gap: 0; margin: 0 2px 0 0; }
  header.wgf-shell-topbar .wgf-n2 { display: contents; }
  header.wgf-shell-topbar .wgf-n2__search { order: 2; flex: 1 1 auto; min-width: 0; margin: 0; }
  header.wgf-shell-topbar .wgf-n2__sbox { height: 34px; }
  header.wgf-shell-topbar .wgf-n2__scope, header.wgf-shell-topbar .wgf-n2__kbd { display: none; }
  header.wgf-shell-topbar .wgf-n2__search .wgf-shell-search__input { font-size: 16px; }   /* no iOS zoom */
  header.wgf-shell-topbar .wgf-n2__search .wgf-shell-search__btn { width: 34px; }
  .wgf-n2__vstrip { display: none; }

  /* drawer: closed = display:none (no off-canvas box, no scroll width) */
  header.wgf-shell-topbar .wgf-n2__body {
    display: none; position: fixed; left: 0; top: 48px; bottom: 0; z-index: 55;
    width: min(320px, 88vw); max-width: 100vw; height: auto; box-sizing: border-box;
    flex-direction: column; align-items: stretch; overflow-y: auto; overscroll-behavior: contain;
    background: var(--wh-panel, #202020); border-right: 1px solid var(--wh-border, #303030);
    box-shadow: 10px 0 30px rgba(0, 0, 0, .6);
  }
  header.wgf-shell-topbar.is-open .wgf-n2__body { display: flex; animation: wgf-n2-in .16s ease-out; }
  @keyframes wgf-n2-in { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }

  .wgf-n2__dsec { display: block; border-bottom: 1px solid var(--wh-bar, #181818); padding-bottom: 6px; }
  .wgf-n2__dh {
    display: block; height: 38px; line-height: 38px; padding: 0 16px;
    font: 700 11px/38px var(--wh-font, "Open Sans", Arial, sans-serif); letter-spacing: .08em;
    text-transform: uppercase; color: var(--wgf-gold-muted, #b5a06a);
  }
  .wgf-n2__dh--nav { border-top: 0; }
  .wgf-n2__drow {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
    font: 15px/1.2 var(--wh-font, "Open Sans", Arial, sans-serif); color: var(--wh-text, #bbbbbb);
  }
  .wgf-n2__drow i { width: 12px; height: 12px; border-radius: 50%; flex: none; background: rgb(var(--vc)); }
  .wgf-n2__drow[aria-current] { color: var(--wh-heading, #ffffff); background: var(--wh-bar, #181818); box-shadow: inset 3px 0 0 var(--n2-gold); }

  .wgf-n2__menu { display: block; height: auto; padding: 0; border: 0; }
  .wgf-n2__item { border-top: 1px solid var(--wh-bar, #181818); }
  .wgf-n2__t {
    width: 100%; height: auto; min-height: 44px; padding: 0 16px; font-size: 13px;
    justify-content: space-between; border-bottom: 0; box-sizing: border-box;
  }
  .wgf-n2__item.has-panel > .wgf-n2__t::after {
    content: ""; flex: none; border: 5px solid transparent; border-left-color: var(--wgf-gold-muted, #b5a06a); margin-right: -2px;
  }
  .wgf-n2__item.is-here > .wgf-n2__t { box-shadow: inset 3px 0 0 var(--n2-gold); }
  .wgf-n2__mega {
    position: static; display: none; min-width: 0; border: 0; box-shadow: none; background: none;
  }
  .wgf-n2__item:nth-last-child(-n+3) > .wgf-n2__mega { right: auto; }
  .wgf-n2__item.is-open > .wgf-n2__mega { display: block; }
  .wgf-n2__cols { display: block; padding: 0 0 10px; }
  .wgf-n2__col { min-width: 0; padding: 0; }
  .wgf-n2__col + .wgf-n2__col { border-left: 0; }
  .wgf-n2__h { height: 34px; line-height: 34px; padding: 0 16px; }
  .wgf-n2__col a, .wgf-n2__row > a { height: 44px; line-height: 44px; font-size: 15px; padding: 0 16px; white-space: normal; }
  .wgf-n2__back, .wgf-n2__all { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 16px; box-sizing: border-box; }
  .wgf-n2__back {
    gap: 8px; font: 700 12px/1 var(--wh-font, "Open Sans", Arial, sans-serif); letter-spacing: .08em;
    text-transform: uppercase; color: var(--n2-gold); border-bottom: 1px solid var(--wh-bar, #181818);
  }
  .wgf-n2__back::before { content: ""; border: 5px solid transparent; border-right-color: var(--n2-gold); margin-left: -4px; }
  .wgf-n2__all { font: 700 14px/1 var(--wh-font, "Open Sans", Arial, sans-serif); color: var(--wh-heading, #ffffff); border-bottom: 1px solid var(--wh-bar, #181818); }
  .wgf-n2__row--fly > a { padding-right: 52px; }
  .wgf-n2__fo { width: 48px; height: 44px; }
  .wgf-n2__fo::after { left: 20px; top: 17px; border: 5px solid transparent; border-top-color: var(--wgf-gold-muted, #b5a06a); }
  .wgf-n2__row.is-open > .wgf-n2__fo::after { transform: rotate(180deg); top: 12px; }
  .wgf-n2__fly {
    position: static; min-width: 0; padding: 0 0 4px 14px; border: 0; box-shadow: none; background: var(--wh-bar, #181818);
  }
  /* drill-in: only the open section shows, under its Back row */
  .wgf-n2__body.is-drill > .wgf-n2__dsec, .wgf-n2__body.is-drill > .wgf-n2__dh,
  .wgf-n2__body.is-drill > .wgf-n2__realm { display: none; }
  .wgf-n2__body.is-drill .wgf-n2__item:not(.is-open) { display: none; }
  .wgf-n2__body.is-drill .wgf-n2__item.is-open { border-top: 0; }
  .wgf-n2__body.is-drill .wgf-n2__item.is-open > .wgf-n2__t { display: none; }

  .wgf-n2__realm { display: flex; padding: 12px 16px 28px; box-sizing: border-box; }
  .wgf-n2__realm .wgf-realm-btn { height: 40px; min-width: 150px; padding: 0 22px; }
  .wgf-n2__realm .wgf-realm-btn b { font-size: 14px; }

  header.wgf-shell-topbar .wgf-shell-searchband.wgf-n2__ctx { padding: 0 12px; max-width: 100vw; }
  header.wgf-shell-topbar .wgf-n2__vtag { display: none; }
  .wgf-n2__crow { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; }
  header.wgf-shell-topbar .wgf-n2__ctx .wgf-seo-breadcrumb { overflow-x: auto; scrollbar-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  header.wgf-shell-topbar.is-open .wgf-n2__body { animation: none; }
}

/* ==== compact header (fleet 2 lane 10, 2026-11-24) ==========================================
 * The tile row used to be 130px with 64px art hanging 22px above its box, which overlapped the
 * menu row. Now: one 52px strip of icon+label chips (no overhang, no overlap); on inner pages
 * (server marks the context line --inner) the strip is dropped, so content starts under the
 * 130px bar + 30px crumb line. Every ad container is untouched. */
@media (min-width: 900px) {
  /* 2026-11-25: 52 -> 44px (4px above/below the 36px chip): home content starts at 130+44+30 = 204px */
  .wgf-n2__tiles { height: 44px; padding: 4px max(10px, calc((100% - var(--wh-maxw, 1400px)) / 2 + 10px)) 4px; gap: 8px; box-sizing: border-box; }
  .wgf-n2__tiles .wgf-n2__tile {
    display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 4px; overflow: hidden;
    background: var(--wh-bar, #181818); border: 1px solid var(--wh-border, #303030); border-radius: var(--wh-radius, 4px);
  }
  .wgf-n2__tile .wgf-n2__tbox { display: contents; }
  .wgf-n2__tile .wgf-n2__tart {
    position: static; flex: none; width: 28px; height: 28px; margin: 0; border-width: 1px;
    box-shadow: none; border-radius: 4px;
  }
  .wgf-n2__tile .wgf-n2__tl { margin: 0; flex: 1 1 auto; min-width: 0; text-align: left; letter-spacing: .04em; }
  .wgf-n2__tile:hover { border-color: var(--wh-accent, #ffd100); background: var(--wh-raise, #2a2a2a); }
  .wgf-n2__ctx--inner .wgf-n2__tiles { display: none; }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .wgf-n2__tiles .wgf-n2__tile { padding-right: 4px; }
  .wgf-n2__tiles .wgf-n2__tart { width: 24px; height: 24px; }
  .wgf-n2__tl { font-size: 11px; letter-spacing: .02em; }
}

/* ==== inner-page header: Wowhead-compact (deskshell lane, 2026-11-26) ======================
 * Desktop only (>= 900px); phone blocks above are untouched. The server marks the context line
 * --inner on every page that is not a root (home, /retail/, ...), and the sticky bar is its
 * sibling, so the bar finds out through :has(). Rows (28 + 44 + 40 = 112px, was 130):
 *   28  game-version strip   44  logo + search + realm button   40  menu bar
 * The feature-tile row is already display:none on inner pages, so an inner page starts content
 * under 112px bar + 30px crumb line = 142px (was 160). Home keeps the 130px bar + tile row.
 * Overlap guard: the bar is border-box with an explicit track sum (112 = 28 + 44 + 40), the menu
 * and its items share one 40px height, and the tile / crumb rows sit above fixed page art but
 * below the bar's panels (bar z 60, rows z 1). */
@media (min-width: 900px) {
  header.wgf-shell-topbar:has(.wgf-n2__ctx--inner) > .wgf-shell-topbar__inner {
    grid-template-rows: 28px 44px 40px; height: 112px; box-sizing: border-box;
  }
  header.wgf-shell-topbar:has(.wgf-n2__ctx--inner) .wgf-n2__realm { height: 44px; }
  header.wgf-shell-topbar:has(.wgf-n2__ctx--inner) .wgf-n2__menu { height: 40px; box-sizing: border-box; overflow: visible; }
  header.wgf-shell-topbar:has(.wgf-n2__ctx--inner) .wgf-n2__t { height: 40px; box-sizing: border-box; }
  /* the sticky section rail and anchor offsets sat under the 130px bar; follow the shorter one */
  body:has(.wgf-n2__ctx--inner) .wgf-rail-wrap { top: 124px; max-height: calc(100vh - 136px); }
  body:has(.wgf-n2__ctx--inner) h2[id], body:has(.wgf-n2__ctx--inner) h3[id] { scroll-margin-top: 126px; }
}
