/* Presentation only: preserve trading actions, amounts and desktop layouts. */
.sale-picker-pages{flex-wrap:wrap}
html body .market-dialog.is-sale-form .sale-picker-pages .sale-picker-select-all{flex:1 0 100%;min-height:32px;margin:0;padding:4px 8px;font-size:11px;color:#ffe2a0;background:#263b2c;border-color:#706b43}
html body .market-dialog.is-sale-form .sale-picker-pages .sale-picker-select-all[hidden]{display:none!important}
@media(max-width:980px){
 html body #auctions .market-searchbar{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body #auctions .market-searchbar>#market-search{grid-column:1;grid-row:1;min-width:0;font-size:16px;min-height:34px;height:34px}
 html body #auctions .market-searchbar>#market-search::placeholder{font-size:12px}
 html body #auctions .market-searchbar>[data-market=reset]{display:none}
 html body #auctions .market-searchbar>#market-sort:not(.market-history-select){grid-column:2;grid-row:1;min-width:0;width:100%;min-height:34px;height:34px;padding:6px 6px;border:1px solid #526f5b;border-radius:9px;background:#101d15;color:#d5e7dc;font-size:12px}
 html body #auctions .market-searchbar>.market-submenu{grid-column:1;grid-row:2}
 html body #auctions .market-searchbar>.market-wish-filter{grid-column:2;grid-row:2;min-width:0}
 html body #auctions .market-searchbar>.market-history-select{grid-column:2;grid-row:1;width:100%;min-width:0}
 html body #auctions .market-searchbar>:is(#market-offer-status,#market-sale-status):not([hidden]){grid-column:2;grid-row:2;width:100%;min-width:0}
}
.market-dialog.is-sale-form .sale-picker-search-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:end;min-width:0}
.market-dialog.is-sale-form .sale-picker-search-row #market-sell-search{width:100%;min-width:0;margin:0;box-sizing:border-box}
.market-dialog.is-sale-form .sale-picker-search-row .sale-picker-sort{margin:0}
.market-dialog.is-sale-form .sale-picker-search-row .sale-sort-note{grid-column:1/-1;margin:0}
.market-dialog.is-sale-form .sale-picker .sale-picker-results{overflow-y:auto;overscroll-behavior:contain;padding-bottom:24px;scroll-padding-block:12px 24px}
.sale-picker-selection:empty{display:none}
.market-dialog .sale-picker-sort{display:flex;flex-direction:column;gap:4px;min-width:0}
.market-dialog .sale-picker-sort select{max-width:100%;box-sizing:border-box}
.market-dialog .sale-sort-note{font-size:12px;color:#b7c4bc}
@media(max-width:600px){
 .market-dialog.is-sale-form .sale-picker-search-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.8fr);gap:6px;align-items:stretch;min-width:0}
 .market-dialog.is-sale-form .sale-picker-search-row #market-sell-search{width:100%;min-width:0;margin:0;font-size:16px;box-sizing:border-box}
 .market-dialog.is-sale-form .sale-picker-sort{display:flex;flex-direction:column;gap:1px;min-width:0;margin:0;font-size:10px;line-height:1.1}
 .market-dialog.is-sale-form .sale-picker-sort select{width:100%;min-width:0;min-height:32px;margin:0;padding:3px 5px;font-size:16px;box-sizing:border-box}
}
.market-hero-actions:empty{display:none}
@media(max-width:600px){
 html body #auctions .market-hero{display:flex;flex-wrap:nowrap;gap:6px;padding:8px;}
 html body #auctions .market-hero>div:first-child{width:auto;flex:0 0 auto;}
 html body #auctions .market-hero h1{font-size:15px;white-space:nowrap;}
 html body #auctions .market-hero .market-hero-actions{width:auto;flex:1;min-width:0;gap:5px;}
 html body #auctions .market-hero .market-hero-actions :is(.market-help,.market-sell-banner){min-height:36px;padding:5px 3px;font-size:9px;white-space:normal;line-height:1.2;}
 html body #auctions .market-hero-actions .market-sell-banner strong{font-size:9px;}
 html body #auctions .market-facet-panels header .market-facet-toggle{display:flex;align-items:center;gap:5px;border:0;border-radius:0;background:none;color:inherit;padding:3px 0;min-height:32px;font-size:12px;box-shadow:none;}
 html body #auctions .market-facet-toggle::before{content:'▸';}
 html body #auctions .market-facet-toggle[aria-expanded=true]::before{content:'▾';}
 html body #auctions .market-facet-panels header{margin-bottom:0;}
 html body #auctions .market-facet-panels :is(.market-categories,.market-districts)[hidden]{display:none;}
 html body #auctions .market-hero{margin-bottom:6px;}
 html body #auctions .market-message:empty{display:none;}
 /* Match the collection subcategory tree; counts remain auction counts. */
 html body #auctions .market-sub-list{z-index:20;top:calc(100% + 6px);left:0;right:auto;width:max(100%,430px);max-width:calc(100vw - 48px);max-height:360px;padding:6px;background:#14231b;border:1px solid #47644f;border-radius:14px;box-shadow:0 12px 30px #0008;}
 html body #auctions .market-sub-list fieldset{margin:5px 0 2px;padding:3px 0 0;border:0;min-width:0;}
 html body #auctions .market-sub-list fieldset:first-child{margin-top:0;}
 html body #auctions .market-sub-list legend{display:flex;gap:4px;width:100%;margin:0;padding:2px 0 2px 6px;border:0;border-radius:5px;background:#223429;box-shadow:inset 0 0 0 1px #3c5043;color:#cce2d3;font-size:12px;font-weight:500;line-height:1.3;}
 html body #auctions .market-sub-row{grid-template-columns:minmax(0,1fr) 70px 25px;gap:4px;margin-left:7px;padding:0 0 0 6px;border-left:2px solid #69716c;}
 html body #auctions .market-sub-row label{min-height:26px;margin:0;padding:1px 3px;gap:7px;line-height:1.15;cursor:pointer;border-radius:7px;}
 html body #auctions .market-sub-row label:hover{background:#254333;}
 html body #auctions .market-sub-row input{flex:0 0 17px;width:17px;height:17px;min-height:0;padding:0;margin:0;accent-color:#8ce4bd;}
 html body #auctions .market-sub-count{color:#acc7b7;font-size:11px;font-variant-numeric:tabular-nums;}
 html body #auctions .market-sub-list button{width:25px;min-height:28px;padding:0;border:0;background:transparent;color:#9ab1a2;font-size:20px;line-height:1;}
 html body #auctions .market-sub-list button[aria-pressed=true]{color:#ffe2a0;}
 html body #auctions .market-submenu.has-selection summary{position:relative;padding-right:30px;background:#303126;border-color:#ffe2a0;box-shadow:inset 0 0 0 1px #ffe2a0,0 0 8px #ffe2a026;color:#fff7df;}
 html body #auctions .market-submenu.has-selection summary::after{content:'✓';position:absolute;right:10px;top:50%;transform:translateY(-50%);width:16px;height:16px;display:grid;place-items:center;border-radius:50%;background:#ffe2a0;color:#262417;font:700 11px/1 sans-serif;}
 html body #auctions .market-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));margin:4px 0 6px;padding:0 0 4px;gap:3px;}
 html body #auctions .market-tabs>[data-tab]{min-width:0!important;width:100%!important;padding:5px 2px!important;min-height:40px;font-size:10px;}
 html body #exchanges .exchange-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));margin:4px 0 6px;padding:0 0 4px;gap:3px;border-bottom:1px solid #395141;overflow:visible!important;}
 html body #exchanges .exchange-tabs>[data-exchange-tab]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%!important;min-width:0!important;min-height:40px;margin:0;padding:5px 2px!important;border:0;border-radius:9px;background:transparent;color:#a6b8ad;font-size:10px;line-height:1.2;white-space:normal!important;overflow-wrap:normal;}
 html body #exchanges .exchange-tabs>[data-exchange-tab][aria-pressed=true]{background:#d0efdb;color:#15251a;}
 html body #exchanges .exchange-tabs>[data-exchange-tab]>[data-tab-count]:not(:empty){position:static;flex:0 0 auto;margin:0;padding:2px 5px;border-radius:20px;background:#253d2e;color:#f4e8b6;font-size:9px;line-height:1.2;}
 html body #exchanges .exchange-hero{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px;padding:8px;margin-bottom:6px;border-radius:12px;}
 html body #exchanges .exchange-hero>div:first-child{flex:0 0 auto;width:auto;}
 html body #exchanges .exchange-hero h1{margin:0;font-size:15px;line-height:1.2;white-space:nowrap;}
 html body #exchanges .exchange-hero-actions{display:grid;grid-template-columns:1fr 1fr;flex:1;min-width:0;width:auto;gap:5px;}
 html body #exchanges .exchange-hero-actions>button{width:100%;min-width:0;min-height:36px;margin:0;padding:5px 3px;border-radius:9px;font-size:9px;line-height:1.2;white-space:normal;}
 html body #exchanges .exchange-hero-actions>[data-exchange=new]{border:1px solid #83b59c;background:#244c39;color:#e7f6ec;}
 html body #auctions .market-facet-panels{gap:5px;margin-bottom:6px;}
 html body #auctions .market-searchbar{margin-top:0;margin-bottom:5px;}
 html body #auctions :is(.market-rarities,.market-favorites){margin:5px 0;}
 html body #auctions .market-favorites{margin-bottom:13px;}
 html body #auctions .market-results-bar{display:none;}
 html body #auctions .market-results-bar:has(#market-offer-status:not([hidden])){display:flex;margin:4px 0;}
 html body #auctions .market-results-bar :is(.market-buy-filter,label[for=market-budget],#market-budget,label[for=market-sort],#market-sort){display:none;}
}
@media(max-width:600px) {
 #auctions .market-hero .market-wallet{display:none}
 #auctions .market-hero .market-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%;max-width:100%}
 #auctions .market-hero .market-hero-actions .market-help,
 #auctions .market-hero-actions .market-sell-banner{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:42px;margin:0;padding:8px 6px;border-radius:9px;box-sizing:border-box;font-size:11px;white-space:nowrap}
 #auctions .market-hero-actions .market-sell-banner{border:1px solid #efd18a;background:#ffe3a0;color:#302714;text-align:center}
 #auctions .market-hero-actions .market-sell-banner:active{background:#efd18a}
 #auctions .market-hero-actions .market-sell-banner[hidden]{display:none}
 #auctions .market-hero-actions .market-sell-banner :is(small,.market-sell-banner-icon),
 #auctions .market-hero-actions .market-sell-banner>span:last-child{display:none}
 #auctions .market-hero-actions .market-sell-banner strong{font-size:11px;font-weight:600}
 .market-dialog .market-mobile-status { margin:0 0 9px; padding:8px 10px; border-radius:8px; background:#263d31; color:#dfefde; font-size:12px; font-weight:700; }
 .market-dialog .market-mobile-status[data-state=leading] { background:#224b39; color:#b8f1d0; }
 .market-dialog .market-mobile-status[data-state=outbid] { background:#573d24; color:#ffdbab; }
 .market-dialog .market-mobile-status[data-state=ended] { background:#303a35; color:#c6d0ca; }
 .market-dialog.is-lot-detail { padding:14px; }
 .market-dialog .is-mobile-card-layout .market-detail-price { padding:10px 12px; gap:8px; border-radius:12px; }
 .market-dialog .is-mobile-card-layout .market-detail-price>div:first-child>strong { font-size:20px; }
 .market-dialog .is-mobile-card-layout .market-detail-time strong { font-size:17px; }
 /* Reorganize the summary only: keep existing typography. */
 .market-dialog .is-mobile-card-layout .market-detail-price { display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:5px; }
 .market-dialog .is-mobile-card-layout .market-detail-price>div:first-child { grid-column:1;grid-row:1;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px; }
 .market-dialog .is-mobile-card-layout .market-detail-price>.market-detail-time { grid-column:2;grid-row:1 / 3;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px; }
 .market-dialog .is-mobile-card-layout .market-detail-time>small { order:-1; }
 .market-dialog .is-mobile-card-layout .market-detail-time>[data-clock] { white-space:pre-line;text-align:right;color:#f4d99a; }
 .market-dialog .is-mobile-card-layout .market-detail-price>.market-seller { grid-column:1;grid-row:2; }
 .market-dialog .is-mobile-card-layout #market-bid-form { padding:10px; margin:9px 0; gap:8px; border-radius:12px; }
 .market-dialog .is-mobile-card-layout .market-bid-heading { font-size:11px; gap:4px; }
 .market-dialog .is-mobile-card-layout .market-bid-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; }
 .market-dialog .is-mobile-card-layout .market-bid-stepper { display:grid; grid-template-columns:32px minmax(0,1fr) 32px; }
 .market-dialog .is-mobile-card-layout .market-bid-stepper button { padding:0; min-height:40px; font-size:18px; }
 /* Keep 16px in the field to avoid focus zoom, and room for seven digits. */
 .market-dialog .is-mobile-card-layout #market-bid { width:100%; box-sizing:border-box; padding:4px 0; font-size:16px; font-variant-numeric:tabular-nums; }
 .market-dialog .is-mobile-card-layout #market-bid-form [type=submit] { white-space:nowrap; min-height:40px; padding:7px 12px; font-size:12px; }
 .market-dialog .is-mobile-card-layout .market-bid-note { font-size:10px; line-height:1.4; }
 .market-dialog .market-detail-layout.is-mobile-card-layout { display:grid; grid-template-columns:minmax(0,56%) minmax(0,1fr); gap:10px; align-items:start; }
 .market-dialog .is-mobile-card-layout>.market-detail-card { grid-column:1; grid-row:1; width:100%; max-width:none; margin:0; min-width:0; }
 .market-dialog .is-mobile-card-layout .market-detail-card .card-shell { margin-top:0; }
 .market-dialog .is-mobile-card-layout>.market-card-meta { grid-column:2; grid-row:1; min-width:0; overflow-wrap:anywhere; padding:5px 0; display:flex; flex-direction:column; align-self:stretch; }
 .market-dialog .market-card-meta h2 { font-family:"Playfair Display",Georgia,serif; font-size:clamp(16px,4.3vw,22px); font-weight:700; line-height:1.1; margin:8px 0; padding-right:0; }
 .market-dialog .market-card-meta .market-detail-category { color:var(--auction-accent,#ec86ac); font-weight:700; }
 .market-dialog .market-card-footer { margin-top:auto; padding-top:8px; display:grid; gap:4px; }
 .market-dialog .market-card-footer>a { display:flex; align-items:center; justify-content:center; text-align:center; box-sizing:border-box; min-height:28px; padding:4px; border:1px solid #0003; border-radius:5px; background:var(--auction-accent,#ec86ac); color:#181b17; text-decoration:none; font-size:9px; font-weight:700; }
 .market-dialog .market-card-views { background:#17241f; border:1px solid #304138; border-radius:5px; padding:6px; }
 .market-dialog .market-card-views small { display:block; font-size:8px; line-height:1.35; color:#b9c8c1; text-transform:uppercase; }
 .market-dialog .market-card-views strong { display:block; margin-top:3px; font-size:13px; font-weight:400; }
 .market-dialog .market-card-meta .market-detail-badges span { background:var(--auction-accent,#ec86ac); color:#181b17; border-color:#0003; font-weight:700; }
 .market-dialog .market-card-meta :is(.market-detail-category,.market-card-summary) { font-size:10px; line-height:1.45; margin:8px 0; }
 .market-dialog .market-card-meta .market-eyebrow { font-size:8px; letter-spacing:.03em; }
 .market-dialog .market-card-meta .market-detail-badges { flex-wrap:wrap; gap:4px; margin:0; }
 .market-dialog .market-card-meta .market-detail-badges span { font-size:10px; padding:4px; }
 .market-dialog .is-mobile-card-layout>.market-detail-copy { display:block; grid-column:1/-1; grid-row:2; min-width:0; border-top:1px solid #3c5042; padding-top:10px; }
 .market-dialog .is-mobile-card-layout .market-offer-overview { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; }
 body .app-shell:has(> :is(#exchanges,#auctions):not([hidden])) { padding-top:6px; }
 #exchanges,#auctions { padding-top:0; }
 #exchanges .exchange-hero,#auctions .market-hero { padding:9px; gap:7px; border-radius:12px; flex-direction:row; flex-wrap:wrap; align-items:center; }
 #exchanges .exchange-hero h1,#auctions .market-hero h1 { margin:0; font-size:18px; line-height:1.2; }
 #exchanges .exchange-hero p,#auctions .market-hero p { display:none; }
 #auctions .market-hero>div:first-child { display:flex; align-items:center; justify-content:space-between; gap:6px; width:100%; }
 #auctions .market-hero .market-help { margin-left:auto; flex:0 0 auto; min-height:36px; padding:6px 9px; font-size:10px; font-weight:600; white-space:nowrap; color:#e7f6ec; background:#244c39; border:1px solid #83b59c; border-radius:9px; box-shadow:0 2px 6px #0002; }
 #auctions .market-hero .market-help:active { background:#305f48; }
 #auctions .market-wallet.is-demo-budget { display:none; }
 #exchanges .exchange-hero-actions { display:flex; flex-direction:row; flex-wrap:wrap; gap:5px; width:100%; }
 #exchanges .exchange-hero-actions>button { flex:1 1 40%; width:auto; min-height:44px; padding:6px; font-size:11px; }
 #exchanges .exchange-hero-actions>[data-exchange="wishlist"] { display:none; }
 #exchanges .exchange-hero-actions>[data-exchange="help"] { color:#302714; background:#ffe3a0; border:1px solid #efd18a; border-radius:9px; font-weight:600; box-shadow:0 2px 6px #0002; }
 #exchanges .exchange-hero-actions>[data-exchange="help"]:active { background:#efd18a; }
 #auctions .market-wallet { min-width:0; margin-left:auto; gap:1px; text-align:right; }
 #auctions .market-wallet>strong { font-size:18px; }
 #auctions .market-wallet>small { font-size:10px; }
 #auctions .market-hero>button { flex:1 1 40%; min-height:44px; padding:6px; font-size:11px; }
 #exchanges .exchange-tabs,#auctions .market-tabs { margin:8px 0; padding:0; gap:3px; }
 #exchanges .exchange-tabs>button,#auctions .market-tabs>button { flex:1 1 auto; min-height:44px; padding:5px 7px; font-size:11px; margin-left:0; }
 #exchanges .exchange-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
 #exchanges .exchange-tabs>[data-exchange-tab] { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:0; width:100%; padding:5px 3px; font-size:10px; line-height:1.2; white-space:normal; overflow-wrap:normal; }
 #exchanges .exchange-tabs>[data-exchange-tab]>[data-tab-count]:not(:empty) { flex:0 0 auto; margin:0; padding:2px 6px; font-size:9px; line-height:1.2; }
 #auctions .market-tabs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); }
 #auctions .market-tabs>[data-tab] { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:0; width:100%; min-height:44px; padding:5px 3px; font-size:10px; line-height:1.2; white-space:normal; overflow-wrap:normal; }
 #auctions .market-tabs>[data-tab]>span { flex:0 0 auto; position:static; margin:0; padding:2px 5px; font-size:9px; line-height:1.2; }
 #auctions .market-pagination { gap:6px; margin:8px 0; font-size:11px; flex-wrap:nowrap; justify-content:center; }
 #auctions .market-pagination>span { flex:0 0 auto; white-space:nowrap; }
 #auctions .market-pagination>button { flex:0 0 36px; width:36px; height:40px; min-height:40px; padding:0; font-size:0; }
 #auctions .market-pagination>[data-page="-1"]::after { content:'←'; font-size:16px; }
 #auctions .market-pagination>[data-page="1"]::after { content:'→'; font-size:16px; }
 #exchanges .exchange-toolbar { margin:7px 0; gap:6px; }
 #exchanges .exchange-match-intro { padding:9px; gap:7px; margin-bottom:8px; border-radius:10px; }
 #exchanges .exchange-match-icon { font-size:20px; }
 #exchanges .exchange-match-intro h2 { font-size:14px; margin-bottom:3px; }
 #exchanges .exchange-match-intro p { font-size:11px; line-height:1.35; margin-bottom:3px; }
 #exchanges :is(.exchange-suggestions,.exchange-offers) { gap:9px; }
 #exchanges :is(.exchange-suggestion,.exchange-offer) { padding:10px; border-radius:12px; }
 #exchanges :is(.exchange-suggestion,.exchange-offer)>header { gap:6px; }
 #exchanges :is(.exchange-suggestion,.exchange-offer)>header h3 { font-size:14px; }
 #exchanges .exchange-avatar { width:32px; height:32px; font-size:14px; }
 #exchanges :is(.exchange-match-tag,.exchange-status) { padding:4px 6px; font-size:10px; }
 #exchanges .exchange-preview-sides { gap:6px; padding:8px 0; }
 #exchanges .exchange-preview-sides>section { padding:7px; border-radius:9px; }
 #exchanges .exchange-side-caption { margin-bottom:6px; gap:4px; }
 #exchanges .exchange-side-caption>strong { font-size:13px; }
 #exchanges .exchange-suggestion-actions { flex-direction:row; flex-wrap:wrap; gap:5px; }
 #exchanges .exchange-suggestion-actions>button { flex:1 1 40%; width:auto; min-height:44px; padding:6px; font-size:11px; }
 #auctions .market-searchbar { grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding:6px; }
 #auctions .market-searchbar>* { min-width:0; }
 #auctions .market-searchbar>#market-search { grid-column:1; grid-row:1; }
 #auctions .market-searchbar>[data-market="reset"] { grid-column:2; grid-row:1; }
 #auctions .market-searchbar>.market-submenu { grid-column:1; grid-row:2; }
 #auctions .market-searchbar>:is(.market-wish-filter,#market-sale-status,#market-offer-status) { grid-column:2; grid-row:2;min-height:34px;padding:5px 6px;font-size:11px;gap:6px; }
 #auctions .market-submenu>summary span { display:none; }
 #auctions .market-categories { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
 #auctions .market-categories button { text-align:left; align-items:flex-start; }
 #auctions .market-districts { grid-template-columns:repeat(10,minmax(0,1fr)); gap:3px; }
 #auctions .market-searchbar>:is(input,select,button),#auctions .market-submenu>summary,#auctions .market-facet-menu>summary,#auctions .market-results-bar :is(input:not([type=checkbox]),select) { box-sizing:border-box; height:34px; min-height:34px; padding:6px; font-size:11px; line-height:20px; border-radius:8px; }
 #auctions .market-facet-menu>summary>span { font-size:10px; margin-top:0; }
 #auctions .market-facet-dropdown { padding:6px; margin-top:5px; }
 #auctions .market-facet-panels header { margin-bottom:6px; }
 #auctions .market-facet-panels h2 { font-size:11px; }
 #auctions .market-facet-panels header button { min-height:28px; padding:3px 6px; font-size:9px; line-height:1.2; }
 #auctions .market-searchbar>[data-market="reset"] { color:#e1eee6; background:#243b2d; border:1px solid #64836e; font-weight:600; }
 #auctions .market-searchbar>[data-market="reset"]:active { background:#35543f; border-color:#a8d5b8; }
 #auctions .market-categories button { min-height:34px; padding:5px; font-size:10px; line-height:1.2; }
 #auctions .market-districts button { min-height:32px; padding:3px 0; font-size:10px; gap:0; }
 #auctions :is(.market-categories,.market-districts) small { font-size:9px; }
 #auctions .market-sub-list { padding:6px; }
 #auctions .market-sub-list legend { font-size:11px; padding:4px 6px; margin-bottom:4px; }
 #auctions .market-sub-row { min-height:26px; gap:4px; }
 #auctions :is(.market-categories,.market-districts) small { display:none; }
 #auctions .market-sub-count { display:inline; }
 #auctions .market-sub-row:has(input:checked) .market-sub-count { color:#30200e; }
 #auctions .market-sub-row { grid-template-columns:minmax(0,1fr) 26px; margin-left:0; padding:3px 5px; border:1px solid transparent; border-radius:6px; }
 #auctions .market-sub-row label { position:relative; min-height:28px; cursor:pointer; }
 #auctions .market-sub-row input[data-sub] { position:absolute; width:1px; height:1px; min-height:0; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); }
 #auctions .market-sub-row:has(input:checked),
 #auctions .market-facet-panels button[aria-pressed=true]:not([data-clear]) { background:#ffbf66; color:#30200e; border-color:#ffbf66; box-shadow:none; }
 #auctions .market-sub-row:has(input:focus-visible) { outline:2px solid #ffbf66; outline-offset:2px; }
 #auctions .market-sub-row:has(input:checked) label { color:#30200e; }
 #auctions .market-results-bar label { font-size:10px; }
 #auctions .market-facet-panels { gap:5px; margin-bottom:6px; }
 #auctions .market-rarities { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; margin:6px 0; padding:0; }
 #auctions .market-rarities button { width:100%; min-width:0; height:34px; min-height:34px; padding:3px 1px; font-size:9px; line-height:1.1; gap:0; white-space:normal; justify-content:center; text-align:center; }
 #auctions .market-rarities button i { display:none; }
 #auctions [data-result-count] { display:none; }
 #auctions .market-sell-banner { padding:8px 10px; gap:7px; margin-bottom:8px; border-radius:10px; }
 #auctions .market-sell-banner strong { font-size:12px; }
 #auctions .market-sell-banner small { margin-top:2px; font-size:10px; }
 #auctions .market-sell-banner-icon { font-size:20px; }
 #auctions .market-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
 #auctions .market-lot { min-width:0; padding:4px; border-radius:9px; }
 /* The lot heading styles must not override the title printed on the card. */
 #auctions .market-card-preview .card-name { font-size:6.45cqw; font-weight:700; line-height:1; white-space:normal; overflow-wrap:anywhere; -webkit-line-clamp:2; }
 #auctions .market-lot-price { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;align-items:start; }
 #auctions .market-lot-price>div { min-width:0;gap:3px; }
 #auctions .market-lot-price .market-time { align-items:flex-end;text-align:right; }
 #auctions .market-lot-price .market-clock { white-space:pre-line; }
 #auctions .market-lot-price strong, #auctions .market-clock { font-size:16px; overflow-wrap:anywhere; }
 .market-dialog .market-detail-price>strong,
 .market-dialog .market-detail-price>div:first-child>strong,
 .market-dialog .market-detail-price .market-detail-time strong { font-size:20px; }
 #auctions .market-lot-price :is(small,strong span),#auctions .market-time { font-size:8px; }
 #auctions .market-lot-action { width:100%; padding:5px 2px; font-size:9px; white-space:normal; }
 #auctions .market-example-label { font-size:8px; overflow-wrap:anywhere; }
 #auctions .market-results-bar { gap:5px; margin:6px 0; }
 #auctions .market-empty { padding:14px 10px; }
 #auctions .market-empty h2 { font-size:16px; margin:5px 0; }
 #auctions .market-empty p { margin:5px 0; }
 /* Same permanently visible selection panels as the mobile collection. */
 #auctions .market-facet-panels { display:grid; grid-template-columns:minmax(0,1fr); gap:6px; margin:0 0 16px; }
 #auctions .market-facet-panels>.market-facet-menu[hidden] { display:none; }
 #auctions .market-facet-panels>.market-facet-dropdown { margin:0; padding:6px; border:1px solid #414e46; border-radius:12px; background:linear-gradient(145deg,#232b26,#191f1b); }
 #auctions .market-facet-panels header { flex-wrap:wrap; gap:4px; margin-bottom:6px; }
 #auctions .market-facet-panels h2 { font-size:14px; font-weight:500; color:#e0f3e7; }
 #auctions .market-facet-panels header button { min-height:32px; padding:5px 10px; font-size:11px; border:1px solid #3b5345; background:#15251c; color:#bcd6c7; border-radius:999px; }
 #auctions .market-facet-panels header button[aria-pressed=true] { background:#ffe2a0; color:#262417; border-color:#ffe2a0; }
 #auctions :is(.market-categories,.market-districts) button { position:relative; border:1px solid #2c4234; border-radius:9px; background:#14231a; color:#c7d8cc; box-shadow:none; }
 #auctions .market-categories button { flex-direction:column; align-items:flex-start; justify-content:center; min-height:34px; padding:5px; font-size:10px; line-height:1.2; text-align:left; }
 #auctions .market-districts button { min-height:32px; padding:3px 0; font-size:10px; line-height:1.1; gap:0; }
 #auctions .market-facet-panels button[aria-pressed=true]:not([data-clear]) { background:#303126; border-color:#ffe2a0; box-shadow:inset 0 0 0 1px #ffe2a0,0 0 8px #ffe2a026; color:#fff7df; }
 #auctions :is(.market-categories,.market-districts) button[aria-pressed=true]::after { content:'✓'; position:absolute; top:3px; left:3px; width:11px; height:11px; display:grid; place-items:center; border-radius:50%; background:#ffe2a0; color:#262417; font:700 9px/1 sans-serif; pointer-events:none; }
 #auctions .market-categories button[aria-pressed=true] { padding-left:26px; }
 #auctions .market-categories button[aria-pressed=true]::after { top:50%; left:6px; transform:translateY(-50%); width:14px; height:14px; font-size:11px; }
}
@media(max-width:600px){#auctions .market-tabs>[data-server-results]{grid-column:1/-1;justify-self:end;min-height:32px;padding:4px 8px;font-size:11px;}}

/* Sale selection never changes card geometry or reloads its images. */
.market-dialog .sale-picker-card { position:relative; }
.market-dialog .sale-picker-card[aria-pressed=true]::after { content:'✓'; position:absolute; right:4px; top:4px; width:20px; height:20px; display:grid; place-items:center; border-radius:50%; color:#17241b; background:#ffe2a0; font:700 13px/1 sans-serif; pointer-events:none; }
.market-dialog .sale-picker-selection { margin:0; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:#ffe2a0; font-size:12px; }
@media(max-width:650px) {
 .market-dialog.is-sale-form { width:calc(100vw - 20px); max-height:calc(100dvh - 24px); padding:16px 12px 12px; border-radius:16px; }
 .market-dialog.is-sale-form>.market-eyebrow { display:none; }
 .market-dialog.is-sale-form .market-sale-heading { margin:0 28px 5px 0; padding:0; }
 .market-dialog.is-sale-form .market-sale-heading h2 { font-size:20px; line-height:1.2; }
 .market-dialog.is-sale-form .market-sale-heading>span { display:none; }
 .market-dialog.is-sale-form .market-sale-demo-note { font-size:11px; line-height:1.4; margin:0 0 8px; }
 .market-dialog.is-sale-form #market-sell-form { gap:6px; margin:8px 0 0; min-width:0; }
 .market-dialog.is-sale-form label[for=market-sell-search] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .market-dialog.is-sale-form :is(input:not([type=checkbox]),select) { font-size:16px; min-height:40px; padding:7px 8px; }
 .market-dialog.is-sale-form .sale-picker-menus { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto; gap:4px; margin-top:2px; }
 .market-dialog.is-sale-form .sale-picker-menus details { min-width:0; }
 .market-dialog.is-sale-form .sale-picker-menus summary,
 .market-dialog.is-sale-form [data-sale-reset] { box-sizing:border-box; padding:8px 5px; min-height:36px; font-size:10px; line-height:1.2; }
 .market-dialog.is-sale-form .sale-picker-menus summary { height:100%; display:flex; align-items:center; }
 .market-dialog.is-sale-form .sale-picker-menus summary::before { content:'▸'; margin-right:3px; }
 .market-dialog.is-sale-form .sale-picker-menus details[open]>summary::before { content:'▾'; }
 .market-dialog.is-sale-form .sale-picker-options { width:100%; min-width:180px; max-width:calc(100vw - 52px); max-height:220px; padding:8px; }
 .market-dialog.is-sale-form .sale-picker-menus details:first-child .sale-picker-options { width:calc(100vw - 52px); }
 .market-dialog.is-sale-form .sale-picker-menus details:nth-child(2) .sale-picker-options { left:auto; right:0; }
 .market-dialog.is-sale-form .sale-picker-rarities { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; margin:6px 0; padding:0; }
 .market-dialog.is-sale-form .sale-picker-rarities button { min-width:0; min-height:32px; padding:4px 2px; margin:0; font-size:10px; gap:0; justify-content:center; }
 .market-dialog.is-sale-form .sale-picker-rarities button>span { display:none; }
 .market-dialog.is-sale-form .sale-picker-results { grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; padding:2px; max-height:clamp(160px,32dvh,280px); align-items:start; overscroll-behavior:contain; }
 .market-dialog.is-sale-form .sale-picker-card { padding:3px; border:1px solid #3e5345; border-radius:9px; }
 .market-dialog.is-sale-form .sale-picker-card[aria-pressed=true] { padding:3px; border:1px solid #ffe2a0; box-shadow:inset 0 0 0 1px #ffe2a0; }
 .market-dialog.is-sale-form .sale-picker-card .card-shell { margin:0; height:auto; aspect-ratio:2/3; transform:none; }
 .market-dialog.is-sale-form .sale-picker-pages { margin:4px 0 0; font-size:11px; }
 .market-dialog.is-sale-form .sale-picker-pages button { min-width:40px; min-height:32px; padding:4px 10px; }
 .market-dialog.is-sale-form .sale-picker-selection { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
 .market-dialog.is-sale-form .market-sell-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; padding:8px; margin:0; }
 .market-dialog.is-sale-form .market-sell-fields label { min-width:0; gap:4px; font-size:10px; line-height:1.4; }
 .market-dialog.is-sale-form .market-sell-fields label:last-child { grid-column:1/-1; grid-template-columns:1fr 1fr; align-items:center; }
 .market-dialog.is-sale-form #market-sell-form>button[type=submit] { min-height:42px; padding:8px; font-size:13px; }
 .market-dialog.is-sale-form .market-sale-card-info { padding:8px; gap:8px; }
 .market-dialog.is-sale-form .market-sale-preview { width:48%;max-width:210px; }
 .market-dialog.is-sale-form .market-sale-preview .card-shell { margin:0;width:100%; }
 .market-dialog.is-sale-form .market-sale-card-info>div:last-child { min-width:0;overflow-wrap:anywhere; }
 .market-dialog.is-sale-form [data-sale-change-card] { max-width:100%;padding:7px 6px;min-height:36px;font-size:11px;white-space:normal; }
 .market-dialog.is-sale-form .market-sale-card-info>div:last-child>h3 { font-size:13px;line-height:1.3; }
 .market-dialog.is-sale-form .market-sale-card-info>div:last-child>p { font-size:10px;line-height:1.4; }
 .market-dialog.is-sale-form .market-sale-card-info small { font-size:10px; }
 .market-dialog.is-sale-form .market-sale-card-info h3 { font-size:14px; margin:5px 0; }
 .market-dialog.is-sale-form .market-dialog-message:empty { display:none; }
 /* Keep the sale controls compact and leave the middle for actual cards. */
 .market-dialog.is-sale-form { padding:12px 10px 10px; }
 .market-dialog.is-sale-form[open] { display:flex;flex-direction:column;height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));box-sizing:border-box; }
 .market-dialog.is-sale-form[open]> :not(form) { flex-shrink:0; }
 .market-dialog.is-sale-form #market-sell-form:has(.sale-picker) { flex:1;min-height:350px;grid-template-rows:auto minmax(150px,1fr) auto auto; }
 .market-dialog.is-sale-form .sale-picker { display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0; }
 .market-dialog.is-sale-form .sale-picker .sale-picker-results { min-height:0;max-height:none;align-content:start; }
 .market-dialog.is-sale-form .market-sale-heading h2 { font-size:18px; }
 .market-dialog.is-sale-form .market-sale-demo-note { font-size:10px; margin-bottom:5px; }
 .market-dialog.is-sale-form #market-sell-form { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px; }
 .market-dialog.is-sale-form #market-sell-form> :not(.market-sell-fields):not([type=submit]) { grid-column:1/-1; }
 .market-dialog.is-sale-form #market-sell-search { min-height:36px;padding:6px 8px; }
 .market-dialog.is-sale-form .sale-picker-options { max-height:min(180px,27dvh);padding:5px; }
 .market-dialog.is-sale-form .sale-picker-options .sale-category-group { margin:0 0 5px;padding:0; }
 .market-dialog.is-sale-form .sale-picker-options label { min-height:28px;margin:0;padding:3px 5px;gap:6px;font-size:11px;line-height:1.2; }
 .market-dialog.is-sale-form .sale-picker-options legend { margin:0;padding:0;width:100%; }
 /* Same category headings and indented children as the collection picker. */
 .market-dialog.is-sale-form .sale-category-group legend { position:sticky;top:-5px;z-index:1;padding:2px 0 2px 6px;border:0;border-radius:5px;background:#223429;box-shadow:inset 0 0 0 1px #3c5043;color:#cce2d3; }
 .market-dialog.is-sale-form .sale-category-group legend label { font-size:12px;font-weight:500; }
 .market-dialog.is-sale-form .sale-category-group>label { margin-left:7px;padding:3px 4px 3px 8px;border-left:2px solid #69716c; }
 .market-dialog.is-sale-form .sale-picker-options input[type=checkbox] { width:15px;height:15px;min-height:0;margin:0; }
 .market-dialog.is-sale-form .sale-picker-options label>small { font-size:10px; }
 .market-dialog.is-sale-form .sale-picker-rarities { gap:3px;margin:4px 0; }
 .market-dialog.is-sale-form .sale-picker-rarities button { min-height:26px;padding:3px 2px;font-size:9px;line-height:1.2; }
 .market-dialog.is-sale-form .sale-picker-results { max-height:clamp(180px,38dvh,330px); }
 .market-dialog.is-sale-form .market-sell-fields { display:contents; }
 .market-dialog.is-sale-form .market-sell-fields label { gap:3px;font-size:9px; }
 .market-dialog.is-sale-form .market-sell-fields label:last-child { grid-column:auto;grid-template-columns:auto minmax(0,1fr);gap:5px; }
 .market-dialog.is-sale-form .market-sell-fields :is(input,select) { min-height:36px;padding:5px 7px; }
 .market-dialog.is-sale-form #market-sell-form>button[type=submit] { min-height:36px;padding:5px;font-size:11px;align-self:stretch; }
 html body .market-dialog.is-sale-form .sale-picker-controls { padding:6px;gap:4px; }
 html body .market-dialog.is-sale-form .sale-picker-controls .sale-picker-search-row,
 html body .market-dialog.is-sale-form .sale-picker-order-row { gap:6px; }
 html body .market-dialog.is-sale-form .sale-picker-unlocked { min-height:32px;gap:5px;font-size:11px; }
 html body .market-dialog.is-sale-form .sale-picker-controls :is(input[type=search],select) { font-size:16px;min-height:40px;padding:5px 6px; }
}
/* Shared collection-style disclosures and compact card status badges. */
html body #auctions .market-facet-panels>section>header.has-selection { background:#303126;border-color:#ffe2a0;border-radius:10px;box-shadow:inset 0 0 0 2px #ffe2a0; }
html body #auctions .market-facet-panels>section>header.has-selection :is(.market-facet-toggle,.album-filter-toggle)::after { content:'\2713';display:grid;place-items:center;width:16px;height:16px;flex:0 0 16px;margin-left:auto;border-radius:50%;background:#ffe2a0;color:#292315;font:700 11px/1 sans-serif; }
@media(max-width:600px){
 html body #auctions .market-facet-panels { grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start; }
 html body #auctions .market-facet-panels>.market-facet-dropdown { display:contents; }
 html body #auctions .market-facet-panels>section>header { grid-row:1;margin:0;padding:2px 8px;border:1px solid #414e46;border-radius:10px;background:#202c24; }
 html body #auctions .market-facet-panels>section>header>button { display:none; }
 html body #auctions .market-facet-panels h2 { width:100%; }
 html body #auctions .market-facet-panels header .market-facet-toggle { width:100%;min-height:28px;padding:1px 0;font-size:12px; }
 html body #auctions .market-facet-panels :is(.market-categories,.market-districts) { grid-column:1/-1;grid-row:2; }
}
html body .market-card-badges { position:absolute;top:6px;right:6px;z-index:3;display:flex;flex-direction:column;align-items:flex-end;gap:3px;max-width:calc(100% - 12px);pointer-events:none; }
html body .market-card-badges>:is(.market-owned-marker,.market-state-marker,.market-wish-new) { position:static;inset:auto;max-width:100%;box-sizing:border-box;padding:4px 7px;border:1px solid #fff0bd;border-radius:5px;background:#ffe2a0;color:#292315;font:800 11px/1.2 system-ui,sans-serif;letter-spacing:normal;white-space:nowrap;box-shadow:0 2px 5px #0007;opacity:1; }
html body .market-card-badges>.market-wish-new { background:#af2345;color:#fff;border-color:#d35772; }
html body #auctions .market-card-badges>.market-wish-new { position:static;inset:auto;flex:none;width:auto;min-width:max-content;max-width:none;background:#af2345;color:#fff; }
html body .market-card-badges>.market-state-marker.is-leading { background:#a8dfb8;color:#143b25;border-color:#d5f5dd; }
html body .market-card-badges>.market-state-marker.is-outbid { background:#ffc184;color:#502707;border-color:#ffe0bb; }
html body .market-card-badges>:nth-child(n+3) { display:none; }
html body .market-card-badges>.market-result-marker { white-space:normal;text-align:right;overflow-wrap:anywhere;line-height:1.15; }
@media(max-width:600px){html body .market-card-badges>.market-result-marker { font-size:9px;padding:3px 5px; }}
html body #auctions .market-lot-price strong { display:flex;align-items:baseline;gap:3px;white-space:nowrap;font-size:clamp(14px,3.8vw,18px); }
html body #auctions .market-lot-price strong span { font-size:0; }
html body #auctions .market-lot-price strong span::after { content:'W';font-size:11px;text-decoration:line-through; }
html body #auctions .market-lot-price .market-clock { white-space:nowrap;overflow-wrap:normal;font-size:clamp(13px,3.5vw,18px);font-variant-numeric:tabular-nums; }
html body #auctions .market-lot-price .market-clock.market-sold-to { white-space:normal;overflow-wrap:anywhere; }
html body #auctions .market-lot-price .market-clock.market-sold-to { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden; }
.market-detail-price .market-sold-to .market-buyer-name { font:inherit;color:#ffe2a0; }
@media(max-width:600px){
 html body #auctions .market-lot-price .market-clock.market-sold-to{font-size:11px;line-height:1.2;}
 html body .market-dialog .market-detail-time .market-sold-to{font-size:16px;line-height:1.25;}
 html body #auctions .market-lot { padding-bottom:5px; }
 html body #auctions .market-lot .market-lot-price { margin:3px 0;padding-top:4px;gap:3px; }
 html body #auctions .market-lot-price>div { gap:1px; }
 html body #auctions .market-lot-price small { line-height:1.15; }
 html body #auctions .market-lot-price strong,html body #auctions .market-lot-price .market-clock { line-height:1.2; }
 html body #auctions .market-lot-action { margin:0;padding:4px 2px;min-height:30px;line-height:1.15; }
}
@media(min-width:651px){
 html body .market-dialog.is-sale-form[open]:has(.sale-picker) { display:block;width:850px;max-width:calc(100vw - 32px);height:auto;max-height:calc(100dvh - 32px);overflow:auto; }
 html body .market-dialog.is-sale-form #market-sell-form:has(.sale-picker) { display:grid;grid-template-rows:none;min-height:0; }
 html body .market-dialog.is-sale-form .sale-picker { display:block; }
 html body .market-dialog.is-sale-form .sale-picker-results { height:auto;max-height:max(100px,calc(100dvh - 500px));min-height:0;grid-auto-rows:auto;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start; }
 html body .market-dialog.is-sale-form:has(.sale-picker-select-all:not([hidden])) .sale-picker-results { max-height:max(100px,calc(100dvh - 550px)); }
 html body .market-dialog.is-sale-form .sale-picker-card .card-shell { width:100%;height:auto;max-width:180px;aspect-ratio:2/3; }
 html body .market-dialog.is-sale-form:has(#market-sell-form:not([hidden]) .sale-picker) { padding:14px 20px; }
 html body .market-dialog.is-sale-form:has(.sale-picker)>.market-sale-demo-note { display:none; }
 html body .market-dialog.is-sale-form .market-sale-heading h2 { margin:0 0 4px;font-size:21px; }
 html body .market-dialog.is-sale-form #market-sell-form:has(.sale-picker) { margin:6px 0 0;gap:6px; }
 html body .market-dialog.is-sale-form:has(.sale-picker) .market-sell-fields { padding:9px 12px;margin:0; }
 html body .market-dialog.is-sale-form:has(.sale-picker) .market-sell-fields label { gap:3px; }
 html body .market-dialog.is-sale-form:has(.sale-picker) .market-sell-fields input,
 html body .market-dialog.is-sale-form:has(.sale-picker) .market-sell-fields select { min-height:38px;padding:7px; }
 html body .market-dialog.is-sale-form #market-sell-form>.market-sale-reference { margin:0;max-height:42px;overflow:auto;flex-direction:row; }
 html body .market-dialog.is-sale-form #market-sell-form>.market-sale-reference:empty { display:none; }
 html body .market-dialog.is-sale-form [data-bulk-status]:empty { display:none; }
}
.market-dialog:has([data-bulk-confirm]:not([hidden]))>.market-sale-heading,
.market-dialog:has([data-bulk-confirm]:not([hidden]))>.market-sale-demo-note,
.market-dialog:has([data-bulk-confirm]:not([hidden]))>.market-eyebrow { display:none; }
html body .market-dialog.is-sale-form #market-sell-form[hidden] { display:none; }
.market-multiple-confirm-cards { justify-content:center;grid-template-columns:repeat(auto-fit,minmax(110px,170px)); }
.market-multiple-preview-group>summary { cursor:pointer;color:#ffe2a0;padding:8px;border:1px solid #776744;border-radius:8px;font-size:12px; }
.sale-picker-filter-panel:empty { display:none; }
.sale-picker-rarities .rarity-label-short { display:none; }
.sale-picker-rarities button .rarity-label-full { width:auto;height:auto;border-radius:0;background:none; }
@media(max-width:650px){
 html body .market-dialog.is-sale-form .sale-picker-filter-panel { padding:7px;border:1px solid #3c5142;border-radius:14px;display:grid;gap:6px; }
 html body .market-dialog.is-sale-form .sale-picker-search-row { grid-template-columns:repeat(2,minmax(0,1fr));gap:6px; }
 html body .market-dialog.is-sale-form .sale-picker-search-row [data-sale-reset] { min-height:40px;padding:6px;font-size:12px; }
 html body .market-dialog.is-sale-form .sale-picker-menus { grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0; }
 html body .market-dialog.is-sale-form .sale-picker-sort { display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;margin:0; }
 html body .market-dialog.is-sale-form .sale-picker { grid-template-rows:auto minmax(0,1fr) auto; }
 html body .market-dialog.is-sale-form .sale-picker-rarities { display:flex;flex-wrap:nowrap;gap:3px; }
 html body .market-dialog.is-sale-form .sale-picker-rarities button { flex:1 1 0;min-width:0;padding:5px 2px;min-height:34px;font-size:10px;white-space:nowrap; }
 html body .market-dialog.is-sale-form .sale-picker-rarities :is([data-album-rarity="ULTRA_LEGENDARY"],[data-sale-duplicates]) { flex:1.9 1 0; }
 html body .market-dialog.is-sale-form .sale-picker-rarities .rarity-label-short { display:inline;width:auto;height:auto;background:none;border-radius:0; }
 html body .market-dialog.is-sale-form .sale-picker-rarities .rarity-label-full { display:none; }
}
@media(max-width:650px){
 html body .market-dialog.is-sale-form:has([data-bulk-confirm]:not([hidden])) { height:auto;max-height:calc(100dvh - 24px);padding:18px 12px; }
 .market-dialog [data-bulk-confirm]>.market-confirm-icon { display:none; }
 .market-dialog [data-bulk-confirm]>h2 { font-size:20px;margin:6px 0; }
 .market-dialog [data-bulk-confirm]>.market-confirm-explanation { font-size:11px;line-height:1.4;margin:9px 0; }
 .market-dialog [data-bulk-confirm] .market-sale-confirm-stats { margin-top:10px;gap:5px; }
 .market-dialog [data-bulk-confirm] .market-sale-confirm-stats>div { padding:9px 4px;gap:4px; }
 .market-dialog [data-bulk-confirm] .market-sale-confirm-stats small { font-size:10px; }
 .market-dialog [data-bulk-confirm] .market-sale-confirm-stats strong { font-size:20px; }
 .market-dialog [data-bulk-confirm] .market-multiple-confirm-cards { max-height:24dvh;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px; }
 .market-dialog [data-bulk-confirm] .market-multiple-confirm-cards>article>p { font-size:10px;line-height:1.25; }
 .market-dialog [data-bulk-confirm] .market-dialog-actions { grid-template-columns:auto minmax(0,1fr);gap:6px; }
}

.sale-picker-bulk-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 0 100%;gap:6px}
.sale-picker-bulk-actions .sale-picker-select-all{min-width:0;white-space:normal}
