/* wowauctionhouse.com page shell: the slim header/footer around thewowdb's vendored AH
   window, plus the item-page panels. Colors come from thewowdb tokens (_tokens.css). */
.wah-top {
  display: flex; align-items: center; gap: 28px; padding: 10px 24px;
  background: linear-gradient(180deg, #17120d, #0b0907); border-bottom: 1px solid var(--wgf-gold-dim, #8a6d2b);
}
.wah-brand { display: flex; align-items: center; gap: 10px; color: var(--wgf-gold-bright, #ffd100); font-family: var(--font-display, var(--font-ui)); font-size: 22px; text-decoration: none; }
.wah-brand img { border: 1px solid #000; box-shadow: 0 0 0 1px var(--wgf-gold-dim, #8a6d2b); }
.wah-brand:hover { text-decoration: none; }
.wah-games { display: flex; gap: 18px; }
.wah-games a { color: var(--wgf-muted, #b8ad94); font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.wah-games a[aria-current="page"] { color: var(--wgf-gold-bright, #ffd100); border-bottom-color: var(--wgf-gold-bright, #ffd100); }
.wah-games a:hover { color: #fff; }
.wah-main { max-width: 1400px; margin: 0 auto; padding: 18px 20px 32px; }
.wah-h1 { font-family: var(--font-display, var(--font-ui)); color: var(--wgf-gold-bright, #ffd100); font-size: 24px; margin: 4px 0 14px; font-weight: normal; }
.wah-foot { border-top: 1px solid #2a2218; padding: 16px 24px 24px; color: var(--wgf-muted, #a89f8c); font-size: 13px; text-align: center; }
.wah-foot p { max-width: 1000px; margin: 4px auto; }
.wah-legal { font-size: 12px; opacity: .75; }

/* thewowdb's JS repaints and un-hides its old realm label; our dropdown replaces it */
#ahRealmName { display: none !important; }
/* realm button (opens thewowdb's Realm Selection window) and Forever house buttons */
.wah-realm-btn { min-width: 200px; text-align: left; cursor: pointer; }
.wah-house { display: inline-flex; align-items: center; padding: 0 14px; text-decoration: none; opacity: .7; }
.wah-house.is-on { opacity: 1; box-shadow: inset 0 0 0 1px var(--wgf-gold-bright, #ffd100); }
/* no accounts on this site: realm view only, US only (EU realm auctions are not scanned) */
.wgf-rp-chars, .wgf-rp-views, .wgf-rp-pane--chars, .wgf-rp-tab[data-region="eu"] { display: none !important; }
.wgf-rp-pane--realms { display: flex !important; }

/* tracked-items stars need a thewowdb account; not offered here */
.wah-retail .col-fav, .wah-forever .col-fav { display: none; }

/* ---------- item page ---------- */
.wah-crumbs { font-size: 14px; color: var(--wgf-muted, #a89f8c); margin: 0 0 10px; }
.wah-crumbs a { color: var(--wgf-gold-bright, #ffd100); }
.wah-item { padding-bottom: 14px; }
.wah-item-head { display: flex; align-items: center; gap: 16px; padding: 16px 18px 6px; }
.wah-icon { position: relative; display: inline-block; width: 56px; height: 56px; border: 2px solid #9d9d9d; box-shadow: 0 0 0 1px #000; }
.wah-icon img { display: block; width: 100%; height: 100%; }
.wah-q0 { border-color: #9d9d9d; } .wah-q1 { border-color: #ffffff; } .wah-q2 { border-color: #1eff00; }
.wah-q3 { border-color: #0070dd; } .wah-q4 { border-color: #a335ee; } .wah-q5 { border-color: #ff8000; }
.wah-q6, .wah-q7 { border-color: #e6cc80; }
.wah-iname { margin: 0; font-size: 26px; font-family: var(--font-display, var(--font-ui)); font-weight: normal; }
.q-poor { color: #9d9d9d; } .q-common { color: #fff; } .q-uncommon { color: #1eff00; } .q-rare { color: #0070dd; }
.q-epic { color: #a335ee; } .q-legendary { color: #ff8000; } .q-artifact, .q-heirloom { color: #e6cc80; }
.wah-isub { margin: 4px 0 0; color: var(--wgf-muted, #a89f8c); }
.wah-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; padding: 12px 18px; }
.wah-stat { background: rgba(0,0,0,.35); border: 1px solid #000; box-shadow: inset 0 0 0 1px #3a3022; padding: 12px 14px; }
.wah-stat h3, .wah-chart h3 { margin: 0 0 8px; font-family: var(--font-ui); color: var(--wgf-gold-bright, #ffd100); font-size: 15px; font-weight: normal; }
.wah-stat dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 0; }
.wah-stat dt { color: var(--wgf-muted, #a89f8c); font-size: 14px; }
.wah-stat dd { margin: 0; text-align: right; color: #fff; }
.wah-stat.wah-alliance { box-shadow: inset 0 0 0 1px #2c4f8f; } .wah-stat.wah-horde { box-shadow: inset 0 0 0 1px #8f2c2c; }
.wah-muted { color: var(--wgf-muted, #a89f8c); } .wah-up { color: #1eff00; } .wah-down { color: #ff4040; }
.wah-pad { padding: 8px 4px; }
.wah-chart { margin: 4px 18px 14px; background: rgba(0,0,0,.35); border: 1px solid #000; box-shadow: inset 0 0 0 1px #3a3022; padding: 12px 14px; }
.wah-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.wah-chart-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.wah-tab { font: 13px var(--font-ui); color: var(--wgf-gold-bright, #ffd100); background: linear-gradient(#2c241a, #15100b); border: 1px solid #4a3c28; padding: 3px 10px; cursor: pointer; }
.wah-tab.on { color: #fff; border-color: var(--wgf-gold-dim, #8a6d2b); background: linear-gradient(#4a3a20, #241b0f); }
.wah-chart canvas { width: 100%; height: 260px; display: block; margin-top: 8px; }
.wah-legend { margin: 6px 0 0; color: var(--wgf-muted, #a89f8c); font-size: 13px; }
.wah-legend .lg { display: inline-block; width: 14px; height: 3px; vertical-align: middle; margin: 0 4px 0 10px; }
.wah-legend .lg.lo { background: #ffd100; } .wah-legend .lg.mid { background: #7fb2ff; }
.wah-realms { margin: 0 18px 10px; width: calc(100% - 36px); }
.wah-summary { margin: 8px 18px 0; color: #d8cfba; font-size: 15px; max-width: 900px; }
.wah-prose { max-width: 900px; color: #d8cfba; }
.wah-prose h1, .wah-prose h2 { color: var(--wgf-gold-bright, #ffd100); font-family: var(--font-display, var(--font-ui)); font-weight: normal; }
@media (max-width: 760px) { .wah-top { flex-wrap: wrap; gap: 10px; } .wah-brand { font-size: 18px; } }

/* Server-rendered price snapshot (templates/_crawl_block.html) */
.wah-crawl { margin: 22px 0 0; color: var(--wgf-muted, #b8ad94); font-size: 14px; }
.wah-crawl-intro { max-width: 900px; line-height: 1.5; }
.wah-crawl-h { font-family: var(--font-display, var(--font-ui)); color: var(--wgf-gold-bright, #ffd100); font-weight: normal; font-size: 18px; margin: 20px 0 8px; }
.wah-crawl-table { width: 100%; max-width: 900px; border-collapse: collapse; }
.wah-crawl-table th { text-align: left; font-weight: normal; color: var(--wgf-gold-dim, #8a6d2b); border-bottom: 1px solid #2a2218; padding: 4px 8px; }
.wah-crawl-table td { padding: 4px 8px; border-bottom: 1px solid #1c1710; }
.wah-crawl-table td.wah-crawl-item { white-space: nowrap; }
.wah-crawl-table .wah-crawl-icon { width: 30px; height: 30px; vertical-align: middle; margin-right: 8px; border-radius: 2px; background: #080706; object-fit: cover; }
.wah-crawl-table .wgf-price { justify-content: flex-end; }
.wah-crawl-table td:not(:first-child), .wah-crawl-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.wah-crawl a { color: #e8dcc0; }
.wah-crawl-links { list-style: none; padding: 0; margin: 0; columns: 4 180px; }
.wah-crawl-links li { padding: 2px 0; }
.wah-crawl-all summary { cursor: pointer; color: var(--wgf-gold-bright, #ffd100); margin: 16px 0 8px; }
