/* B09: public reference panels and preserved native private auction forms. */
.ab-bazaar-surface { min-width:0; overflow-wrap:anywhere; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface { color:#49351f; font:13px/1.6 Nunito,'Segoe UI',Verdana,sans-serif; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface :is(p,label,dt,dd,small,td,th,li,summary) { color:#49351f!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface a:not(.abp-button,.ab-auction-small-button,.ab-auction-view,[role=tab]) { color:#174a73!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface .abp-tabs a { color:#174a73!important; background:#e4d3ad!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface .abp-tabs a[aria-current=page] { color:#fff!important; background:#163a6e!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface strong { color:inherit!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface :is(h2,h3,h4) { background:none!important; color:#49351f!important; text-shadow:none!important; font:800 17px/1.4 Nunito,sans-serif!important; padding:0!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface .ab-reference-heading { display:flex; align-items:center; min-height:40px; margin:0!important; padding:0 16px!important; color:#f9e6ad!important; background:linear-gradient(#2f5a9e,#122a52)!important; font:800 13.5px/1.4 MedievalSharp,serif!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface :is(input:not([type=hidden],[type=radio],[type=checkbox]),select,textarea) { box-sizing:border-box; max-width:100%; min-width:0; height:36px!important; min-height:36px!important; padding:0 10px!important; color:#49351f!important; background:#d7c7a7!important; border:1px solid #aa9470!important; border-radius:8px!important; font:13px/1.4 Nunito,'Segoe UI',Verdana,sans-serif!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface :is(button,.abp-button,.ab-auction-small-button) { display:inline-flex; align-items:center; justify-content:center; height:auto!important; min-height:36px; max-width:100%; padding:7px 12px!important; color:#fff!important; background:linear-gradient(#2f5fa8,#163a6e)!important; border:1px solid #173c63!important; border-radius:4px!important; font:700 13px/1.4 Nunito,sans-serif!important; white-space:normal; text-decoration:none!important; text-shadow:none!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface :is(a,button,input,select,summary):focus-visible { outline:3px solid #1767a0!important; outline-offset:3px; }
.ab-bazaar-surface .ab-auction-filter-reference { min-width:0; padding:14px 16px; background:#e7d6b4; border-radius:0!important; }
.ab-bazaar-surface .ab-auction-filter-row { gap:10px; min-width:0; }
.ab-bazaar-surface .ab-auction-filter-row>label { width:90px; flex:0 0 90px; }
.ab-bazaar-surface .ab-auction-filter-row>select { max-width:230px; }
.ab-bazaar-surface .ab-auction-filter-row>input { max-width:140px; }
.ab-bazaar-surface .ab-auction-filter-tabs { gap:22px; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface .ab-auction-filter-tabs button { background:none!important; color:#49351f!important; border:0!important; border-bottom:2px solid transparent!important; padding:7px 0!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface .ab-auction-filter-tabs [aria-selected=true] { border-bottom-color:#87651d!important; }
.ab-bazaar-surface .ab-auction-result { min-width:0; border-color:#b9a582; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface .ab-auction-result>header { color:#49351f!important; background:#d4c4a8!important; }
.ab-bazaar-surface .ab-auction-result>header>span { min-width:0; }
.ab-bazaar-surface .ab-auction-result>header strong { color:#49351f!important; }
.ab-bazaar-surface .ab-auction-record-facts { min-width:0; }
.ab-bazaar-surface .abp-auction-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ab-bazaar-surface .abp-auction-filters .abp-actions { grid-column:1/-1; }
.ab-bazaar-surface .abp-form :is(label,select,input:not([type=hidden],[type=checkbox],[type=radio])) { display:block; }
.ab-bazaar-surface .abp-form>label { margin-top:12px; }
.ab-bazaar-surface .abp-form>input:not([type=hidden],[type=checkbox],[type=radio]),.ab-bazaar-surface .abp-form>select { width:100%; max-width:420px; margin:5px 0 12px; }
.ab-bazaar-surface .abp-auction-confirm { display:block; padding:12px; margin:12px 0; background:#e4d3ad; border:1px solid #b9a582; }
.ab-bazaar-surface .abp-auction-confirm input { display:inline; width:18px; height:18px; min-height:0; margin:0 7px 0 0; accent-color:#245c90; vertical-align:middle; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface .ab-data-table :is(th,td) { background:#eadcba!important; color:#49351f!important; border:1px solid #b9a582!important; padding:8px 12px!important; }
@media(max-width:650px) { .ab-bazaar-surface .abp-auction-filters { grid-template-columns:minmax(0,1fr); } .ab-bazaar-surface .ab-auction-filter-reference { padding:12px; } .ab-bazaar-surface .ab-auction-filter-row { flex-wrap:wrap; } .ab-bazaar-surface .ab-auction-filter-row>label { flex-basis:100%; width:100%; } .ab-bazaar-surface .ab-auction-filter-row>input { max-width:calc(50% - 14px); } }
@media(pointer:coarse) { body.ab-showcase #ContentColumn #News .ab-bazaar-surface :is(input:not([type=hidden],[type=checkbox],[type=radio]),select,button,.abp-button) { min-height:48px!important; height:auto!important; } body.ab-showcase #ContentColumn #News .ab-bazaar-surface :is(input:not([type=hidden],[type=checkbox],[type=radio]),select) { font-size:16px!important; } }

/* Static laboratory export only: no invented item/outfit sprite. */
.ab-bazaar-surface .ab-preview-resource-fallback { display:inline-flex; flex:none; align-items:center; justify-content:center; box-sizing:border-box; width:32px; height:32px; color:#49351f; background:#e7d6b4; border:1px dashed #8a7354; font:700 10px/1.2 Nunito,sans-serif; }
.ab-bazaar-surface .ab-preview-resource-fallback.abp-auction-outfit { width:64px; height:64px; }

/* Findings from B09 smoke: preserve contrast of icon CTA and missing-data text. */
body.ab-showcase #ContentColumn #News .ab-bazaar-surface .ab-auction-view { color:#fff!important; background:#285d90!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface .ab-auction-no-equipment { color:#49351f!important; }
body.ab-showcase #ContentColumn #News .ab-bazaar-surface select:disabled { opacity:1!important; color:#49351f!important; -webkit-text-fill-color:#49351f; }

/* B09 full found the third history tab outside the panel at320px. */
@media(max-width:360px) { .ab-bazaar-surface .ab-auction-filter-tabs { min-width:0; max-width:100%; flex-wrap:wrap; row-gap:4px; } }
