/* Azebott Forever: only what Goblin Street's stylesheet has no class for.
   Everything else on the page is Goblin Street's own CSS, served unchanged.

   Three layout ranges and no other:
     phone, upright         up to 699px     one column, the rail and the filter fold into one bar each
     foldable, small tablet 700 to 1139px   two columns, a narrower rail, the filter folds
     desktop                1140px and up   two columns, the filter in one row
   Goblin Street's own breakpoints (760, 780, 820, 920, 980, 1140) still fire inside these
   ranges, so each range below states the layout it wants in full. */

/* ---- header row 1: name, one search box, the way to Goblin Street ---- */
.azb a.ah-portrait { display: block; }
.azb a.ah-cartouche { display: block; text-decoration: none; }
.azb .azb-row1 { flex-wrap: nowrap; }
.azb .azb-row1 .ah-title-plaque { flex: 0 0 auto; flex-wrap: nowrap; }
.azb .azb-search { flex: 1 1 240px; max-width: 460px; min-width: 0; margin: 0; }
.azb .azb-gs {
  flex: 0 0 auto; margin-left: auto;
  font-family: var(--font-kicker); font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #d6c3a3; text-shadow: 0 1px 1px #000; white-space: nowrap;
}
.azb .azb-gs:hover { color: var(--gold-title); text-decoration: none; }

/* ---- header row 2: the section's own filter and sort ---- */
.azb .azb-filter { justify-content: flex-start; margin: 0; }
.azb .azb-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; flex: 1 1 auto; min-width: 0; }
.azb .azb-ctl { display: inline-flex; align-items: center; gap: 6px; }
.azb .azb-ctl-lbl {
  font-family: var(--font-kicker); font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #e4d5ba; text-shadow: 0 1px 1px #000; white-space: nowrap;
}
.azb .azb-filter .flt-lvl-inp { width: 56px; padding: 4px 5px; }
.azb .azb-filter .flt-lvl-inp.azb-text { width: 150px; text-align: left; padding-left: 8px; }
.azb .azb-new { padding: 0; }
.azb .azb-new span { color: #9fd3ff; font-size: 12px; font-weight: 700; text-shadow: 0 1px 1px #000; white-space: nowrap; }
.azb .azb-sort { margin-left: auto; }
.azb a.active-filter-clear { text-decoration: none; white-space: nowrap; }
.azb .azb-caret { font-size: 10px; opacity: 0.8; }

/* The fold: a hidden tick box and its label stand in for a script. */
.azb .azb-t { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; margin: 0; }
.azb .azb-t:focus-visible + label { outline: 2px solid var(--gold-title); outline-offset: 1px; }
.azb .azb-rail-bar, .azb .azb-flt-bar { display: none; }
.azb .azb-flt-bar.azb-on { color: var(--gold-title); }
.azb a:focus-visible, .azb button:focus-visible, .azb select:focus-visible { outline: 2px solid var(--gold-title); outline-offset: 1px; }

/* ---- left rail ---- */
.azb .azb-rail { min-width: 0; align-self: start; }
.azb .ah-sidebar > .sidebar-divider:first-child { border-top: 0; margin-top: 0; padding-top: 1px; }
.azb .sidebar-divider a { color: #d4a94e; }

/* ---- reference rows: item, level, slot, source ---- */
.azb .ah-col-headers.azb-cols, .azb .ah-slot-bar.azb-cols { grid-template-columns: minmax(210px, 1fr) 64px 118px 214px; }
.azb .ah-col-headers.azb-cols-recipe, .azb .ah-slot-bar.azb-cols-recipe { grid-template-columns: minmax(210px, 1fr) 150px 214px; }
.azb .ah-col-headers.azb-cols-prof, .azb .ah-slot-bar.azb-cols-prof { grid-template-columns: minmax(210px, 1fr) 90px 250px; }
.azb a.col-hdr, .azb span.col-hdr { display: block; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azb .col-hdr.azb-static { cursor: default; pointer-events: none; }
/* A row bar keeps its columns 11px inside its edge; a header cell insets its text by 10px.
   The left-aligned cells of a row make up the difference so text stands under its header. */
.azb .azb-c-name { min-width: 0; }
.azb .ah-slot-bar .azb-c-lvl { color: #cbb899; font-size: 12px; }
.azb .azb-lvl { font-weight: 700; color: #f0e4cc; }
.azb .azb-lvl-quest { font-weight: 400; color: #cbb899; }
.azb .azb-none { color: #6e5d47; }
.azb .ah-slot-bar .azb-c-slot { font-size: 12px; color: #cbb899; padding-left: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azb .ah-slot-bar .azb-c-src { min-width: 0; font-size: 12px; padding-left: 21px; }
.azb .azb-meta-slot { display: none; }
.azb .azb-src-kind { font-weight: 700; color: #e6d6bc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azb .azb-src-place { font-size: 10.5px; color: #a89477; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azb .azb-versions {
  font-family: var(--font-kicker); font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #e8d5b2; padding: 0 5px; border-radius: 3px; border: 1px solid #6b5332; background: rgba(0, 0, 0, 0.28);
}
.azb .azb-cols-recipe .item-meta { flex-wrap: nowrap; min-width: 0; }
.azb .azb-reagents { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azb .azb-gold { color: var(--gold-title); }
.azb .azb-afb { display: flex; align-items: center; gap: 8px; min-width: 0; }
.azb .azb-plus { color: #9e8b70; }
.azb .azb-note { margin: 0 0 8px; font-size: 12px; color: #b8a487; }
/* The same note as the last line of a list (the page of the same thing on Goblin Street). */
.azb .ah-rows + .azb-note, .azb .azb-pager + .azb-note { margin: 10px 4px 2px; }
.azb h1.empty-filter-title { margin: 0 0 5px; }
.azb .azb-pill-plain { cursor: default; pointer-events: none; }

/* Pages are links, so the list works with scripts off. */
.azb .azb-pager { display: flex; gap: 6px; align-items: stretch; margin-top: 6px; }
.azb a.more-bar { display: block; flex: 1 1 auto; margin-top: 0; text-align: center; text-decoration: none; }
.azb a.more-bar.azb-prev { flex: 0 0 auto; width: auto; }
.azb .azb-pager-of, .azb .azb-pager-end { font-family: var(--font-body); font-size: 11px; font-weight: 400; color: #b8a487; margin-left: 8px; }
.azb .azb-pager-end { padding: 9px 4px; margin-left: auto; }

/* ---- item and recipe page ---- */
.azb .azb-main { min-width: 0; }
.azb .azb-col { min-width: 0; }
.azb .azb-col > .ledger-pad:first-child { margin-top: 0; }
.azb .azb-insp-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.azb .azb-insp-name { color: #d6c2a1; font-family: var(--font-display); font-size: 14px; }
.azb .azb-insp-id { color: #9e8b70; font-family: var(--font-body); font-size: 12px; white-space: nowrap; }
.azb .azb-tt-tag { margin-top: 4px; }
.azb .azb-tt-muted { color: #cbb899; }
.azb .azb-tt-req { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.azb .azb-tt-prof { width: 14px; height: 14px; border-radius: 2px; }
.azb .azb-tt-flavour, .azb .azb-tt-set { color: #ffd100; margin-top: 5px; }
/* Skill-ups of a recipe (recipe page only): the game's four difficulty colours. */
.azb .azb-tt-skill { margin-top: 3px; }
.azb .azb-tt-skill-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.azb .azb-skill { display: inline-flex; gap: 3px; }
.azb .azb-skill b {
  min-width: 29px; padding: 1px 3px; border-radius: 3px; text-align: center;
  font-family: var(--font-body); font-size: 11px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums;
  background: #17120d; border: 1px solid #3d2e1d; text-shadow: none;
}
.azb .azb-tt-skill-key { margin-top: 2px; font-size: 11px; color: #cbb899; }
.azb .azb-tt-skill .s-o { color: #ff8040; }
.azb .azb-tt-skill .s-y { color: #ffff00; }
.azb .azb-tt-skill .s-g { color: #40bf40; }
.azb .azb-tt-skill .s-x { color: #9d9d9d; }
/* The made item's tooltip inside a recipe's: no second frame, a rule above it. */
.azb .azb-tt-made { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.azb .azb-tt-made .wow-tooltip { border: 0; box-shadow: none; background: none; padding: 0; margin: 0; }
/* A currency's icon before its name. */
.azb .azb-cur { width: 14px; height: 14px; border-radius: 2px; vertical-align: -2px; }
/* The search box leaves room for its clear button. */
.azb .azb-search .ah-search { padding-right: 30px; }
.azb a.azb-plaque { display: block; margin-top: 12px; text-decoration: none; color: inherit; }
.azb .azb-plaque-val { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--gold-title); margin: 3px 0 1px; text-shadow: 0 1px 1px #000; }
.azb a.azb-plaque:hover .azb-plaque-val { color: #fff4c8; }

/* On parchment */
.azb .azb-pad-title { margin: 0 0 6px; font-family: var(--font-display); font-size: 14.5px; color: #362009; }
.azb .azb-count { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; color: #614526; margin-left: 4px; }
.azb .azb-pad-head { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #614526; margin: 9px 0 3px; }
.azb .azb-pad-title + .azb-pad-head { margin-top: 4px; }
.azb .azb-pad-lead { margin: 0 0 6px; font-size: 12.5px; }
.azb .azb-pad-note { margin: 9px 0 0; font-size: 11px; line-height: 1.45; color: #614526; }
.azb .ledger-pad a:not(.pad-item-link) { color: #6e3704; font-weight: 700; text-decoration: underline; }
.azb .azb-src { display: flex; flex-direction: column; min-width: 0; }
.azb .azb-src-sub { font-size: 11.5px; color: #593e20; }
.azb .azb-src-tags { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; flex-shrink: 0; }
.azb .pad-list li.azb-recipe { display: block; }
.azb .azb-recipe-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* ---- shelves: crates, item sets ---- */
.azb .azb-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 9px; margin-bottom: 10px; }
.azb .azb-shelf-head { margin: 10px 0 7px; font-weight: 700; }
.azb .azb-card { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.azb .azb-card-head { display: flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.azb .azb-card-title { display: block; margin: 0; font-family: var(--font-display); font-size: 14px; font-weight: 700; text-shadow: 0 1px 1px #000; }
.azb h2.azb-card-title { color: var(--gold-title); }
.azb .azb-card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.azb .azb-card-list li { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.azb .azb-mini { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: #e6d6bc; text-decoration: none; }
.azb .azb-mini:hover { color: #fff4c8; }
.azb .azb-mini span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azb .azb-mini-icon { width: 20px; height: 20px; border-radius: 3px; border: 1px solid #785c32; flex-shrink: 0; }
.azb .azb-card-tag { font-size: 10px; color: #a89477; white-space: nowrap; }
.azb .azb-card-foot {
  margin-top: auto; padding-top: 6px; border-top: 1px solid rgba(207, 160, 70, 0.18);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: #e4d5ba;
}
.azb .azb-nocost { font-family: var(--font-body); font-size: 12.5px; font-weight: 400; color: #cbb899; }

/* ================= foldable and small tablet: 700 to 1139 ================= */
@media (min-width: 700px) and (max-width: 1139px) {
  .azb .desk-shell { padding: 22px 16px 56px 20px; }
  .azb .ah-titlebar { padding-left: 68px; padding-right: 10px; }
  .azb .ah-toolbar { padding-left: 68px; padding-right: 10px; }
  .azb .ah-subtitle { display: none; }
  .azb .inspector-bar .ah-subtitle { display: block; }
  .azb .ah-body-grid { grid-template-columns: 192px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .azb .goblin-picks-grid { grid-template-columns: minmax(0, 1fr); }
  .azb .ah-col-headers { display: grid; }
  .azb .ah-col-headers.azb-cols, .azb .ah-slot-bar.azb-cols { grid-template-columns: minmax(120px, 1fr) 50px 138px; gap: 6px; }
  .azb .ah-col-headers.azb-cols-recipe, .azb .ah-slot-bar.azb-cols-recipe { grid-template-columns: minmax(120px, 1fr) 132px; }
  .azb .ah-col-headers.azb-cols-prof, .azb .ah-slot-bar.azb-cols-prof { grid-template-columns: minmax(120px, 1fr) 78px 150px; }
  .azb .azb-cols .azb-c-slot, .azb .azb-cols-recipe .azb-c-src { display: none; }
  .azb .azb-meta-slot { display: inline; }
  .azb .inspector-grid { grid-template-columns: 1fr; }
  /* the filter folds: one button, one row */
  .azb .azb-flt-bar { display: inline-flex; }
  .azb .azb-filter .azb-controls { display: none; flex: 1 1 100%; padding-top: 2px; }
  .azb .azb-filter .azb-t:checked ~ .azb-controls { display: flex; }
  .azb .azb-sort { margin-left: 0; }
}

/* ================= phone, upright: up to 699 ================= */
@media (max-width: 699px) {
  .azb .desk-shell { padding: 16px 8px 44px 12px; }
  .azb .ah-portrait { width: 58px; height: 58px; top: -10px; left: -9px; padding: 4px; }
  .azb .ah-titlebar { padding: 8px 8px 8px 56px; }
  .azb .azb-row1 { flex-wrap: wrap; gap: 8px 10px; }
  .azb .ah-subtitle { display: none; }
  .azb .ah-cartouche { padding: 3px 10px 4px; }
  .azb .ah-cartouche h1, .azb .ah-cartouche .gs-brand { font-size: 15.5px; }
  .azb .azb-search { order: 3; flex: 1 1 100%; max-width: none; margin-left: -46px; }
  .azb .ah-toolbar { padding: 7px 8px; }
  .azb .ah-body-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px; }
  .azb .azb-rail .ah-sidebar { display: none; margin-top: 4px; }
  .azb .azb-rail .azb-t:checked ~ .ah-sidebar { display: flex; }
  .azb .azb-rail-bar { display: flex; }
  .azb .azb-rail .azb-t:checked + .azb-rail-bar .cat-caret { transform: rotate(90deg); }
  .azb .ah-main-well { padding: 6px; min-height: 0; }
  .azb .ah-col-headers { display: none; }
  .azb .ah-slot-bar.azb-cols, .azb .ah-slot-bar.azb-cols-recipe, .azb .ah-slot-bar.azb-cols-prof { grid-template-columns: minmax(0, 1fr) auto; padding: 4px 9px; }
  .azb .azb-meta-slot { display: inline; }
  .azb .azb-cols .azb-c-slot, .azb .azb-cols .azb-c-src { display: none; }
  .azb .inspector-grid { grid-template-columns: 1fr; }
  .azb .ledger-pad { padding-left: 36px; padding-right: 10px; }
  .azb .azb-shelf { grid-template-columns: minmax(0, 1fr); }
  .azb .empty-filter-wrap { min-height: 0; padding: 18px 4px; }
  /* the filter folds: one button, one row */
  .azb .azb-flt-bar { display: inline-flex; }
  .azb .azb-filter .azb-controls { display: none; flex: 1 1 100%; padding-top: 2px; }
  .azb .azb-filter .azb-t:checked ~ .azb-controls { display: flex; }
  .azb .azb-sort { margin-left: 0; }
}

/* ---- the desk behind the frame: a track that runs the length of the page ----
   One layer as tall as the page, so it scrolls with it; nothing moves and nothing is drawn
   by script. Three parts:
   - the head (first 640px): deep Forever night with one low lamp behind the top of the frame;
   - the track between: blue lights off the left and the right shoulder and a faint brass lamp,
     each repeating at its own distance (1500, 2100 and 3700px), so they fall together
     differently down the page and a longer page shows more of the pattern;
   - the foot (last 640px): the ember warmth, always under the last line of the page.
   Under them one slow change from night blue to plum over the whole length.
   Only the desk: nothing inside the frame changes. */
html { background-color: #0d1530; }
body.azb { background: none; position: relative; }
body.azb::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: #0f1838;
  background-image:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(84, 146, 236, 0.20) 0%, rgba(36, 86, 158, 0.10) 50%, transparent 80%),
    radial-gradient(ellipse 130% 72% at 50% 108%, rgba(196, 104, 48, 0.30) 0%, rgba(120, 56, 34, 0.17) 50%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(20, 22, 48, 0.55) 60%, #141630 100%),
    radial-gradient(ellipse 55% 36% at 0% 50%, rgba(58, 126, 236, 0.17) 0%, transparent 70%),
    radial-gradient(ellipse 55% 30% at 100% 50%, rgba(62, 92, 226, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 40% 12% at 100% 50%, rgba(226, 168, 78, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #14244c 0%, #12224e 14%, #0f1a42 38%, #111c48 55%, #101838 78%, #141630 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat-y, repeat-y, repeat-y, no-repeat;
  background-size: 100% 640px, 100% 640px, 100% 900px, 100% 1500px, 100% 2100px, 100% 3700px, 100% 100%;
  background-position: 0 0, 0 100%, 0 100%, 0 560px, 0 1340px, 0 920px, 0 0;
}

/* ---- an icon in a row is a fixed square at every width; a row that wraps grows around it ---- */
.azb .icon-socket, .azb .icon-socket img, .azb .azb-mini-icon, .azb .pad-mini-icon, .azb .cat-icon, .azb .cat-icon img, .azb .azb-home-prof img { flex-shrink: 0; aspect-ratio: 1 / 1; }
.azb .ah-slot > .icon-socket { flex: 0 0 48px; width: 48px; height: 48px; min-height: 0; align-self: center; }

/* ---- the pointer over the icon of an item or a recipe in a list: the game's button highlight,
   a pale line and a blue glow just inside the border (the border keeps its quality colour),
   then the tooltip. The same values as Goblin Street's rule for its own rows. ---- */
@media (hover: hover) {
  .azb .ah-rows a.ah-slot:is([href^="/item/"], [href^="/recipe/"]) > .icon-socket::before {
    content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 4px; pointer-events: none; opacity: 0;
    mix-blend-mode: screen;
    box-shadow: inset 0 0 0 1px rgba(168, 184, 220, 0.9), inset 0 0 4px 3px rgba(48, 78, 150, 0.95);
  }
  .azb .ah-rows a.ah-slot:is([href^="/item/"], [href^="/recipe/"]) > .icon-socket:hover::before { opacity: 1; }
}
/* The tooltip stands beside the icon the pointer is on, as the game anchors it to a button. */
.azb-hover { position: fixed; z-index: 1000; left: 0; top: 0; width: 360px; max-width: calc(100vw - 16px); pointer-events: none; }
.azb-hover .wow-tooltip { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85); }

/* ---- a set in the tooltip, as the game lists it for someone wearing none of it ---- */
.azb .azb-tt-set, .azb-hover .azb-tt-set { color: #ffd100; margin-top: 10px; }
.azb-tt-setlist { color: #9d9d9d; padding-left: 12px; }
.azb-tt-setbonus { color: #9d9d9d; margin-top: 10px; }
/* The trail on an item page: each step is a link. */
.azb .inspector-bar .ah-subtitle a { color: inherit; text-decoration: none; }
.azb .inspector-bar .ah-subtitle a:hover { color: var(--gold-title); }

/* ---- a profession tile: the whole tile is the link ---- */
.azb a.azb-card-link { text-decoration: none; color: inherit; }
.azb a.azb-card-link:hover { filter: brightness(1.12); }
.azb a.azb-card-link .azb-card-foot { margin-top: auto; }

/* ---- the tag of a side: Alliance blue and gold, Horde red and black, each with its crest ---- */
.azb .azb-fac {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 3px; border-radius: 4px; white-space: nowrap;
  font-family: var(--font-kicker); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(0, 0, 0, 0.45);
}
.azb .azb-fac img { width: 16px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6); }
.azb .azb-fac-a { background: linear-gradient(180deg, #3f86e6 0%, #2264c8 50%, #174a9c 100%); border: 1px solid #e0b64a; color: #ffdf7a; text-shadow: 0 1px 1px rgba(0, 20, 60, 0.9); }
.azb .azb-fac-h { background: linear-gradient(180deg, #e2483a 0%, #c02a1e 50%, #94170e 100%); border: 1px solid #140404; color: #120303; text-shadow: 0 1px 0 rgba(255, 150, 130, 0.45); }

/* ---- header: the name left, the search right ---- */
.azb .ah-cartouche h1, .azb .ah-cartouche .gs-brand { text-transform: none; letter-spacing: 0.01em; }
.azb .azb-row1 .azb-search { margin-left: auto; flex: 0 1 460px; }

/* ---- row 2 on every page: live auction prices and the house they are read on ---- */
.azb .azb-live { justify-content: flex-start; gap: 8px 14px; margin: 0; }
.azb .azb-live-t { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 700; color: #f0e4cc; white-space: nowrap; cursor: pointer; }
/* (32px is the height of the switches beside it: the bar is as tall before they are drawn as after.) */
.azb .azb-live .azb-gs { margin-left: 0; }
/* The switches and the note are in the page from the start and take their room only while
   live prices are on (the class is set before the first picture), so the page below never moves. */
.azb .azb-house { display: none; flex-wrap: wrap; align-items: center; gap: 8px; }
.azb-live-on .azb .azb-house { display: flex; }
html:not(.azb-live-on) .azb .azb-lamp { display: none; }
.azb .azb-lamp { margin-left: auto; white-space: nowrap; }

/* ---- a page's own filter, at the top of its list ---- */
.azb .azb-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; padding: 8px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.18) 100%);
  border: 1px solid #3d2e1d; border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 241, 212, 0.06);
}
.azb .azb-filter .azb-sort { margin-left: auto; }

/* ---- the price column: laid out only while live prices are on ---- */
.azb .azb-c-price { display: none; }
.azb-live-on .azb .azb-c-price { display: block; }
.azb-live-on .azb .ah-col-headers.azb-cols, .azb-live-on .azb .ah-slot-bar.azb-cols { grid-template-columns: minmax(210px, 1fr) 64px 118px 214px 112px; }
.azb .azb-c-price .wow-money { justify-content: flex-end; }
/* A crate's own auction price in its card foot: labelled, and gone with the live prices. */
.azb .azb-card-ah { display: none; }
.azb-live-on .azb .azb-card-ah { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
/* The price has its room before it arrives, so the label does not move when it does. */
.azb .azb-card-ah .azb-c-price { min-width: 74px; text-align: right; }
.azb .azb-card-ah-l { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #a89477; white-space: nowrap; }
/* A fill's cost on the Waylaid Crates page: small and quiet beside the fill, the lowest one lit. */
.azb .azb-fc-side { display: inline-flex; align-items: center; gap: 7px; min-width: 0; flex-shrink: 0; }
.azb .azb-fc { font-size: 11px; opacity: 0.62; }
.azb .azb-fc.is-best { opacity: 1; }
.azb .azb-fc-lead, .azb .azb-fc-note { display: none; }
.azb-live-on .azb .azb-fc-lead { display: block; margin: 8px 2px 2px; }
.azb-live-on .azb .azb-fc-note:not([hidden]) { display: block; white-space: normal; }
.azb .azb-rp-wrap { display: inline-flex; align-items: center; gap: 10px; }
.azb .azb-rp:empty { display: none; }
.azb a.azb-ah .azb-plaque-val .wow-money { font-size: 16px; }
@media (max-width: 1139px) {
  .azb-live-on .azb .ah-col-headers.azb-cols, .azb-live-on .azb .ah-slot-bar.azb-cols { grid-template-columns: minmax(120px, 1fr) 50px 138px 96px; gap: 6px; }
  .azb .azb-lamp { margin-left: 0; }
}
@media (max-width: 699px) {
  /* The price has its room before it arrives, so a row is as tall and its cells stand where
     they will once the prices are in. */
  .azb-live-on .azb .ah-slot-bar.azb-cols { grid-template-columns: minmax(0, 1fr) auto 84px; }
  .azb .azb-c-price .wow-money { flex-wrap: wrap; row-gap: 0; }
  .azb-live-on .azb a.azb-ah .counter-sub { min-height: 3em; }
  .azb-live-on .azb .ah-col-headers .azb-c-price { display: none; }
  .azb .azb-row1 .azb-search { flex: 1 1 100%; margin-left: 0; }
}
/* Money on parchment is ink, not the white of the dark panels. */
.azb .ledger-pad .wow-money, .azb .ledger-pad .wow-denom { color: #2a1d10; text-shadow: none; font-weight: 700; }

/* ---- the rail holds still while the fonts arrive ----
   A sub-category button took its height from the font's own line height, so it stood
   2px lower in the stand-in font than in Open Sans, and everything under an open category
   dropped a few pixels on every click. 1.362 is Open Sans's own line height: the same
   picture once loaded, and the same height before. */
.azb .cat-btn.lvl-1, .azb .cat-btn.lvl-2, .azb .cat-btn.lvl-3 { line-height: 1.362; }

/* ---- homepage (/) ---- */
.azb .azb-home { display: flex; flex-direction: column; gap: 10px; padding: 10px; }
.azb .azb-home-intro { margin-top: 0; }
.azb .azb-home-lead { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-paper); }
.azb .azb-home-stats { margin: 0; }
.azb a.azb-stat-link { display: block; text-decoration: none; color: inherit; }
.azb a.azb-stat-link:hover { filter: brightness(1.12); }
.azb a.azb-stat-link:hover .counter-val { color: #fff4c8; }
.azb .azb-home .azb-shelf-head { margin: 6px 0 0; }
.azb .azb-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.azb .azb-home-card { padding: 12px 14px; gap: 9px; }
.azb .azb-home-grid > .azb-home-wide { grid-column: 1 / -1; }
.azb .azb-home-feature { padding: 13px 15px; }
.azb .azb-home-head-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.azb .azb-home-head-txt .counter-sub { display: block; margin-top: 0; line-height: 1.3; }
.azb .azb-home-title-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.azb .azb-home-card .azb-card-title { margin: 0; line-height: 1.25; }
.azb .azb-home-copy { margin: 0; font-size: 12.5px; line-height: 1.56; color: #ddd0b8; }
.azb .azb-home-links {
  margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(207, 160, 70, 0.16);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.azb .azb-home-links .pick-chip { width: auto; justify-content: flex-start; padding: 4px 9px; }
.azb .azb-home-links .azb-home-cta { color: var(--gold-title); }

/* the crates of a tier under their tier's name, in the profession tiles */
.azb .azb-home-tier {
  display: flex; justify-content: space-between; margin: 4px 0 -3px;
  font-family: var(--font-kicker); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #a89477;
}
.azb .azb-home-crates { border-top: 0; padding-top: 0; }
/* the two groups of the Forever card: the group's name in gold, its links right under it */
.azb .azb-home-group { margin: 6px 0 -4px; padding-top: 9px; border-top: 1px solid rgba(207, 160, 70, 0.16); }
.azb .azb-home-group span:first-child { color: var(--gold-title); font-size: 11.5px; white-space: nowrap; }
.azb .azb-home-tier { flex-wrap: wrap; gap: 2px 12px; }
.azb .azb-home-group ~ .azb-home-links { margin-top: 0; padding-top: 0; border-top: 0; }
.azb .azb-home-crates .azb-home-prof-cnt { display: inline-flex; align-items: center; gap: 4px; }
.azb .azb-home-crates .azb-home-prof-cnt img { width: 14px; height: 14px; border: 0; margin: 0; }
/* the third quick pick of the rail takes the whole second line */
.azb .goblin-picks-grid .azb-pick-wide { grid-column: 1 / -1; }

/* 12-profession compact grid inside the Professions homepage band */
.azb .azb-home-profs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  padding-top: 8px; border-top: 1px solid rgba(207, 160, 70, 0.16);
}
.azb .azb-home-prof {
  display: flex; align-items: center; gap: 7px; min-width: 0;
  padding: 5px 8px; border-radius: 4px; text-decoration: none;
  background: linear-gradient(180deg, #32271c 0%, #211912 100%);
  border: 1px solid #4d3b26; color: #e8d8bc; font-size: 12px;
}
.azb .azb-home-prof:hover { border-color: #b89146; color: var(--gold-title); }
.azb .azb-home-prof img { width: 20px; height: 20px; border-radius: 3px; border: 1px solid #785c32; flex-shrink: 0; }
.azb .azb-home-prof-name { font-family: var(--font-display); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azb .azb-home-prof-cnt { margin-left: auto; font-size: 11px; color: #a89477; font-variant-numeric: tabular-nums; flex-shrink: 0; }

@media (max-width: 960px) {
  .azb .azb-home-grid { grid-template-columns: minmax(0, 1fr); }
  .azb .azb-home-profs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .azb .azb-home { padding: 8px; }
  .azb .azb-home-profs { grid-template-columns: minmax(0, 1fr); }
}

/* ---- a row is laid out before the first picture ----
   Goblin Street draws a row late (content-visibility) and stands a 48px box in for it, which
   suits its long lists. Here a page is one screenful of rows and a row that wraps is taller
   than 48px, so the stand-in made the list grow under the reader just after it appeared. */
.azb .ah-slot { content-visibility: visible; contain-intrinsic-size: none; }

/* ---- a recipe's materials line has its room before the prices arrive ----
   It is in the page from the start and takes a line only while live prices are on (two on a
   phone, where it wraps), so the notes under it do not move when the line is filled in. */
.azb .azb-craft { display: none; }
.azb-live-on .azb .azb-craft { display: block; min-height: 1.45em; }
.azb-live-on .azb .azb-craft[hidden] { display: none; }
@media (max-width: 699px) { .azb-live-on .azb .azb-craft { min-height: 2.9em; } }

/* ---- Leveling: the game's own map of a zone, inside its plaque; width and height are in the
   markup, so the box has its size before the picture arrives. */
.azb .azb-map-plaque { margin: 12px 0; }
.azb .azb-map-plaque a { display: block; }
.azb .azb-map { display: block; width: 100%; height: auto; margin: 6px 0 4px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6); }
