/* Auction house: one fixed-size window (tabs, filter bar, tree + table), colours from the theme variables so the Esprit theme restyles it. */
.ah { width: 100%; }
.ah .gfw-tabs { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.ah-pending { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 2px 4px 2px 10px; font-size: var(--fs-body); font-weight: 700; background: color-mix(in srgb, #7c76a4 28%, transparent); border-radius: 12px; }
.ah-pending .gf-btn { padding: 1px 10px; font-size: var(--fs-body); }
.ah-mailnote { margin-left: auto; font-size: var(--fs-small); opacity: 0.7; }
.ah-body { height: 452px; padding: 6px; display: flex; flex-direction: column; background: var(--gf-paper-dark); border: 1px solid var(--gf-frame); border-radius: 6px; overflow: hidden; }
.ahb, .ahs { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.ahb-bar { display: flex; gap: 6px; align-items: center; }
.ahb-bar input, .ahb-bar select { height: 24px; font-size: var(--fs-body); }
.ahb-search { flex: 1; min-width: 0; } .ahb-level { width: 52px; } .ahb-class { width: 118px; } .ahb-sort { width: 150px; }
.ahb-count { flex: none; min-width: 80px; text-align: right; font-size: var(--fs-body); font-weight: 700; color: var(--gf-ink); }
.ahb-main { flex: 1; min-height: 0; display: flex; gap: 8px; }
.ahb-left { flex: none; width: 168px; display: flex; flex-direction: column; gap: 5px; min-height: 0; }
.ahb-chips { display: flex; flex-wrap: wrap; gap: 3px; }
.ahb-chip { padding: 0 6px; height: 18px; font-size: calc(10.5px * var(--ui-text)); font-weight: 700; line-height: 16px; color: var(--rc); background: transparent; border: 1px solid color-mix(in srgb, var(--rc) 55%, transparent); border-radius: 9px; cursor: pointer; opacity: 0.5; text-shadow: var(--outline); }
.ahb-chip.on { opacity: 1; background: color-mix(in srgb, var(--rc) 22%, var(--gf-plate-dark)); border-color: var(--rc); }
.ahb-tree { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1px; overflow-y: auto; padding: 2px; background: var(--gf-paper); border: 1px solid var(--gf-tile-edge); border-radius: 4px; }
.ahb-cat, .ahb-sub { display: flex; justify-content: space-between; gap: 6px; padding: 3px 7px; border: 0; border-radius: 3px; font-size: var(--fs-body); text-align: left; color: var(--gf-ink); background: transparent; cursor: pointer; }
.ahb-sub { padding-left: 20px; font-size: calc(11.5px * var(--ui-text)); }
.ahb-cat:hover, .ahb-sub:hover { background: var(--gf-tile); }
.ahb-cat.on, .ahb-sub.on { background: var(--gf-plate); font-weight: 700; }
.ahb i { font-style: normal; opacity: 0.65; font-size: var(--fs-small); }
.ahb-right, .ahs-right { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 3px; }
.ahb-head, .ahb-row, .ahs-row { display: grid; grid-template-columns: minmax(0, 1fr) 34px 96px 150px; gap: 6px; align-items: center; }
.ahs-head, .ahs-row { grid-template-columns: minmax(0, 1fr) 64px 150px; }
.ahb-head { padding: 2px 6px; font-size: var(--fs-small); font-weight: 700; color: var(--gf-title); background: var(--gf-plate-dark); border-radius: 3px; }
.ahb-head span:nth-child(n+2), .ahb-lv { text-align: center; } .ahb-head span:last-child { text-align: right; }
.ahb-rows, .ahs-rows { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.ahb-row, .ahs-row { flex: none; height: 32px; padding: 0 6px; font-size: calc(12.5px * var(--ui-text)); background: var(--gf-paper); border-left: 3px solid transparent; border-radius: 3px; cursor: pointer; }
.ahb-row:hover, .ahs-row:hover { background: var(--gf-tile); }
.ahb-row.on, .ahs-row.on { background: var(--gf-plate); border-left-color: var(--gf-frame-hi); }
.ahb-row.mine { border-left-color: #4faa5a; }
.ahb-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 700; text-shadow: var(--outline); }
.ahb-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ahb-age { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; font-size: var(--fs-small); }
.ahb-age small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0.65; font-size: calc(10.5px * var(--ui-text)); }
.ahb-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.ahb-unit, .ahs-pu { display: flex; align-items: center; gap: 4px; font-size: calc(10.5px * var(--ui-text)); opacity: 0.75; }
.ahb-empty { margin: auto; text-align: center; }
.ahb-foot { flex: none; display: flex; align-items: center; gap: 10px; padding-top: 3px; border-top: 1px solid var(--gf-tile-edge); }
.ahb-pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: var(--fs-body); }
.ahb-pn { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ahb-pager { display: flex; align-items: center; gap: 8px; }
.ahb-foot .gf-btn { padding: 2px 16px; }
/* Sell tab: form on the left, my listings on the right */
.ahs { flex-direction: row; gap: 8px; }
.ahs-left { flex: none; width: 214px; display: flex; flex-direction: column; gap: 4px; }
.ahs-title { padding: 2px 8px; font-size: var(--fs-body); font-weight: 700; color: var(--gf-title); background: var(--gf-plate-dark); border-radius: 3px; }
.ahs-box { display: flex; flex-direction: column; gap: 4px; padding: 6px; background: var(--gf-paper); border: 1px solid var(--gf-tile-edge); border-radius: 4px; }
.ahs-sub { font-size: var(--fs-small); font-weight: 700; opacity: 0.75; }
.ahs-item { display: flex; gap: 6px; align-items: center; min-height: 46px; }
.ahs-slot { width: 46px; height: 46px; flex: none; } .ahs-slot.over { outline: 2px solid var(--gf-frame-hi); }
.ahs-name { font-size: var(--fs-body); font-weight: 700; }
.ahs-line { font-size: var(--fs-body); display: flex; gap: 6px; align-items: center; } .ahs-qty { width: 56px; }
.ahs-price { display: flex; align-items: center; gap: 3px; font-size: var(--fs-small); } .ahs-num { width: 38px; padding: 1px 2px; } .ahs-price i { font-style: normal; opacity: 0.7; }
.ahs-days { font-size: var(--fs-body); font-weight: 700; }
.ahs-fee { min-height: 20px; }
.ahs-box .gf-btn { align-self: flex-end; padding: 2px 18px; }
.ahs-row.empty { cursor: default; opacity: 0.35; }
.ahs-ico { width: 28px; height: 28px; flex: none; }
