#auctions { min-width:0; padding:20px 0 48px; color:#dcebe2; }
.market-dialog:has(.market-visit-results) { width:min(510px,calc(100vw - 28px)); padding:26px; border-color:#948052; background:radial-gradient(ellipse at top,#bc943414,transparent 60%),#142219; }
.market-visit-results { --result-accent:#70e5b0; animation:market-success-enter .24s ease-out both; text-align:center; }
.market-visit-results[data-kind="lost"] { --result-accent:#edba7c; }
.market-visit-results[data-kind="sold"] { --result-accent:#ceabfb; }
.market-visit-results[data-kind="unsold"] { --result-accent:#bbc6c0; }
.market-visit-results header { padding:0 16px; }
.market-visit-progress { margin-top:12px; color:#a6b9ad; font-size:12px; letter-spacing:2px; }
.market-dialog .market-visit-results h2 { margin:10px 0 6px; padding:0; color:var(--result-accent); font-size:clamp(25px,3vw,29px); font-weight:700; }
.market-dialog .market-visit-results header>p { margin:0; color:#b5c9bb; }
.market-visit-grid { display:grid; grid-template-columns:1fr; margin:16px 0 18px; }
.market-visit-result { --result-accent:#70e5b0; padding:0 12px; min-width:0; }
.market-visit-results [hidden] { display:none!important; }
.market-visit-result.is-lost { --result-accent:#edba7c; }
.market-visit-result.is-sold { --result-accent:#ceabfb; }
.market-visit-result.is-unsold { --result-accent:#bbc6c0; }
.market-visit-status { display:flex; justify-content:center; margin-bottom:16px; }
.market-visit-status>span { display:grid; place-items:center; width:38px; height:38px; flex-shrink:0; border:1px solid color-mix(in srgb,var(--result-accent) 35%,transparent); border-radius:50%; background:color-mix(in srgb,var(--result-accent) 12%,transparent); color:var(--result-accent); font-size:24px; }
.market-visit-status h3 { margin:0; color:var(--result-accent); font-size:16px; font-weight:700; }
.market-visit-body { display:flex; flex-direction:column; gap:17px; align-items:center; }
.market-visit-card { width:160px; flex-shrink:0; }
.market-dialog button.market-visit-card{display:block;padding:0;border:0;border-radius:12px;background:transparent;cursor:pointer;}
.market-dialog button.market-visit-card:focus-visible{outline:2px solid #ffe19b;outline-offset:5px;}
.market-visit-card .card-shell { width:100%; margin:0; pointer-events:none; }
.market-visit-copy { min-width:0; width:100%; }
.market-visit-name { display:block; color:#ecf3ed; font-size:17px; line-height:1.4; overflow-wrap:anywhere; }
.market-dialog .market-visit-copy>p { font-size:13px; line-height:1.55; margin:8px 0 12px; color:#b3c5b8; }
.market-visit-amount { display:flex; flex-direction:column; gap:3px; border-top:1px solid #b4cebb1a; padding-top:9px; }
.market-visit-amount small { font-size:10px; color:#a6b9ad; }
.market-visit-amount>strong { font-size:18px; line-height:1.4; color:var(--result-accent); }
.market-dialog .market-visit-results footer>p { margin:0 0 13px; font-size:11px; text-align:center; color:#9cac9e; }
.market-visit-actions { display:flex; gap:10px; }
.market-dialog .market-visit-actions>button { flex:1; padding:11px; font-size:14px; font-weight:600; }
@media(max-width:650px){.market-dialog:has(.market-visit-results){padding:22px 16px;}.market-visit-result{padding:0;}.market-visit-card{width:144px;}.market-visit-body{gap:14px;}.market-visit-status{margin-bottom:12px;}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.market-visit-card:hover .card-shell{animation:market-success-hover .48s ease-out;}}
@media(prefers-reduced-motion:reduce){.market-visit-results{animation:none;}}
#auctions [hidden] { display:none!important; }
#auctions button,.market-dialog button { cursor:pointer; font:inherit; }
#auctions button:disabled,.market-dialog button:disabled { opacity:.45; cursor:not-allowed; }
#auctions button:focus-visible,#auctions input:focus-visible,#auctions select:focus-visible,#auctions summary:focus-visible,.market-dialog :focus-visible { outline:2px solid #ffe4a1; outline-offset:3px; }
.market-hero { display:flex; justify-content:space-between; align-items:center; gap:30px; border:1px solid #59674e; border-radius:22px; padding:32px; background:radial-gradient(ellipse at 90% 0,#c2ae4a22,transparent 65%),linear-gradient(130deg,#1e3026,#151e19); }
.market-eyebrow { font-size:10px; letter-spacing:1.8px; color:#d8c58f; }
#auctions .market-hero { padding:16px 24px; gap:14px; }
.market-hero h1 { font-size:clamp(28px,2.7vw,38px); font-weight:500; margin:0 0 5px; }
.market-hero p { font-size:14px; color:#bed0c4; margin:0; }
#auctions .market-wallet>strong { font-size:26px; }
#auctions .market-wallet .market-primary { padding:8px 12px; }
.market-purchase-success { text-align:center; padding:2px 8px; animation:market-success-enter .28s ease-out both; }
.market-success-icon { display:inline-grid; place-items:center; width:52px; height:52px; border-radius:50%; background:#234e3c; color:#66e6b7; font-size:30px; }
.market-dialog .market-purchase-success h2 { padding:0; color:#ffe2a0; }
.market-success-name { display:block; font-size:23px; color:#e9f1eb; margin:14px 0; }
.market-dialog .market-success-note { font-size:12px; color:#a5b6aa; max-width:450px; margin:18px auto; }
.market-dialog:has(.market-purchase-success) { width:min(510px,calc(100vw - 28px)); padding:24px; border-color:#9c8958; background:radial-gradient(ellipse at 50% 40%,#344735 0,transparent 65%),#111d16; }
.market-purchase-success .market-success-icon { width:36px; height:36px; font-size:22px; border:1px solid #66e6b755; }
.market-dialog .market-purchase-success h2 { font-size:28px; font-weight:700; margin:8px 0 4px; }
.market-dialog .market-success-intro { margin:0; }
.market-success-stage { position:relative; display:grid; place-items:center; margin:18px 0 12px; }
.market-success-stage::before { content:''; position:absolute; width:240px; height:240px; border-radius:50%; background:radial-gradient(circle,color-mix(in srgb,var(--success-accent) 25%,transparent),transparent 70%); pointer-events:none; }
.market-success-card { width:clamp(135px,22vh,190px); position:relative; animation:market-success-card .5s cubic-bezier(.2,.8,.2,1) both; }
.market-success-card .card-shell { width:100%; aspect-ratio:2/3; margin:0; pointer-events:none; filter:drop-shadow(0 10px 18px #0008); }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .market-success-card:hover .card-shell { animation:market-success-hover .48s ease-out; }
}
@keyframes market-success-hover {
 0%,100% { transform:translateY(0) scale(1); }
 35% { transform:translateY(-6px) scale(1.025); }
 65% { transform:translateY(1px) scale(1.008); }
 82% { transform:translateY(-2px) scale(1.012); }
}
.market-success-spark { position:absolute; color:var(--success-accent); font-size:28px; animation:market-success-enter .55s ease-out both; }
.spark-one { left:15%; top:12%; }.spark-two { right:15%; top:50%; font-size:36px; }.spark-three { left:20%; bottom:7%; font-size:16px; }
.market-success-rarity { display:inline-block; border:1px solid color-mix(in srgb,var(--success-accent) 50%,transparent); border-radius:20px; padding:4px 12px; color:var(--success-accent); background:color-mix(in srgb,var(--success-accent) 10%,transparent); font-size:12px; }
.market-purchase-success .market-success-name { margin:8px 0; font-size:22px; }
.market-dialog .market-success-price { margin:0 0 16px; font-size:12px; }.market-success-price strong { color:#ffe2a0; }
.market-dialog .market-purchase-success>.market-primary { width:100%; padding:12px; font-size:14px; font-weight:600; }
.market-dialog .market-purchase-success .market-success-note { margin:12px auto 0; font-size:11px; line-height:1.5; }
@keyframes market-success-enter { from { opacity:0; transform:scale(.9); } to { opacity:1; transform:scale(1); } }
@keyframes market-success-card { from { opacity:0; transform:translateY(16px) rotate(-5deg) scale(.88); } to { opacity:1; transform:translateY(0) rotate(0) scale(1); } }
@media(prefers-reduced-motion:reduce){.market-purchase-success,.market-success-card,.market-success-spark { animation:none; }}
.market-demo { display:inline-block; border:1px solid #77704e; padding:5px 9px; border-radius:7px; font-size:10px; color:#e5d4a3; }
.market-wallet { min-width:250px; display:flex; flex-direction:column; gap:5px; }
.market-wallet>small { color:#b8cbbb; font-size:12px; }
.market-wallet>strong { font-size:32px; font-weight:500; color:#ffe4a1; font-variant-numeric:tabular-nums; }
.market-wallet>span { color:#a2b8a9; font-size:11px; margin-bottom:12px; }
#auctions .market-primary,.market-dialog .market-primary { color:#13251b; background:#ffe2a0; border:1px solid #ffe2a0; border-radius:10px; padding:11px 16px; font-size:13px; font-weight:500; }
.market-sandbox-note { color:#9bafa2; font-size:11px; line-height:1.5; margin:10px 4px 20px; }
.market-highlights { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.market-highlights>button { display:grid; grid-template-columns:1fr auto; text-align:left; padding:16px 20px; background:#18251e; border:1px solid #374b3e; border-radius:14px; color:#d8e9de; }
.market-highlights>button:hover { border-color:#cbb879; background:#233229; }
.market-highlights span { font-size:13px; }.market-highlights strong { grid-row:span 2; font-size:27px; font-weight:400; color:#e5d09a; }
.market-highlights small { font-size:10px; color:#9fb5a7; margin-top:5px; }
.market-tabs { display:flex; gap:6px; margin:24px 0 8px; padding:10px 0; border-bottom:1px solid #395141; flex-wrap:wrap; }
.market-tabs button { font:inherit; border:0; border-radius:9px; background:transparent; color:#a6b8ad; padding:10px 14px; font-size:13px; min-height:44px; cursor:pointer; }
.market-tabs button[aria-pressed=true] { background:#d0efdb; color:#15251a; }
@media(max-width:980px){html body #auctions .market-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}
.market-buyer { color:#d0efdb; font-size:13px; overflow-wrap:anywhere; }
html body #auctions .market-searchbar>[hidden]{display:none!important;}
.market-tabs button>[data-market-tab-count] { margin-left:7px; background:#253d2e; color:#f4e8b6; border-radius:20px; padding:2px 7px; font-size:11px; }
.market-tabs .market-help { margin-left:auto; color:#ffe3a0; }
.market-guide { padding:4px 0; }
.market-guide header { padding-right:24px; }
.market-dialog .market-guide h2 { margin:9px 0 10px; font-size:clamp(25px,3vw,32px); line-height:1.2; color:#ffe3a1; }
.market-dialog .market-guide p { margin:0; font-size:13px; line-height:1.65; color:#bdcfc2; }
.market-guide-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:24px 0 16px; padding:0; list-style:none; }
.market-guide-steps li { padding:18px; border:1px solid #42634e; border-radius:14px; background:linear-gradient(145deg,#28453580,#12271d90); }
.market-guide-number { display:grid; place-items:center; width:34px; height:34px; margin-bottom:16px; border-radius:10px; background:#66dfae18; color:#80edbe; font-size:14px; font-weight:700; border:1px solid #80edbe35; }
.market-guide h3 { margin:0 0 8px; font-size:15px; line-height:1.35; color:#edf5ef; }
.market-guide-options { display:grid; grid-template-columns:1fr 1fr; gap:18px; padding:18px 0; }
.market-guide-options>section { display:flex; gap:12px; align-items:flex-start; }
.market-guide-symbol { display:grid; place-items:center; flex:0 0 30px; height:30px; border-radius:9px; color:#ffe3a1; background:#ffe3a112; font-size:20px; }
.market-guide-options>section:last-child .market-guide-symbol { color:#d6b5fa; background:#d6b5fa15; }
.market-guide-demo { margin-top:8px; padding:14px 16px; border:1px solid #e6cf8e30; border-radius:12px; background:#e6cf8e08; }
.market-guide-demo strong { display:block; margin-bottom:5px; color:#dec78e; font-size:12px; }
.market-dialog .market-guide-demo p { color:#9fad9f; font-size:12px; }
@media(max-width:650px){.market-guide-steps{grid-template-columns:1fr;gap:9px;margin-top:18px;}.market-guide-steps li{display:grid;grid-template-columns:34px 1fr;column-gap:12px;padding:14px;}.market-guide-number{grid-row:1/3;margin:0;}.market-guide-steps li p{grid-column:2;}.market-guide-options{grid-template-columns:1fr;}.market-guide h3{font-size:14px;}}
.market-message { color:#efdfa8; font-size:13px; min-height:12px; margin:8px 0; }
.market-filters { border:0; margin-bottom:12px; }
.market-filters>summary { cursor:pointer; font-size:14px; padding:8px 0 12px; color:#cee5d6; }
.market-filters>summary span { color:#daca94; font-size:11px; margin-left:8px; }
.market-facet-panels { display:grid; grid-template-columns:1.25fr 1fr; gap:14px; align-items:start; }
.market-facet-panels { margin-bottom:12px; }
.market-facet-menu { position:relative; min-width:0; }
.market-facet-menu>summary { cursor:pointer; padding:13px 15px; border:1px solid #455c4c; border-radius:12px; background:#1b2a21; font-size:14px; color:#dcecdf; }
.market-facet-menu>summary>span { float:right; font-size:11px; color:#d9c992; margin-top:2px; }
.market-facet-menu[open]>summary { border-color:#b4ac7a; }
.market-facet-dropdown { position:static; margin-top:7px; padding:14px; border:1px solid #58725e; border-radius:14px; background:#1b2920; }
.market-facet-menu>summary:hover { border-color:#a2dfbc; background:#294b36; box-shadow:0 0 0 1px #a2dfbc33; }
.market-facet-panels button:hover { filter:brightness(1.18); }
.market-facet-panels button:not([aria-pressed="true"]):not(.is-empty):hover { border-color:#a2dfbc; background-color:#294b36; box-shadow:0 0 0 1px #a2dfbc33; }
.market-facet-panels>section { min-width:0; background:linear-gradient(145deg,#232b26,#191f1b); border:1px solid #414e46; border-radius:16px; padding:14px; }
.market-facet-panels header { display:flex; align-items:center; justify-content:space-between; gap:6px; margin-bottom:12px; }
.market-facet-panels h2 { font-size:16px; font-weight:400; margin:0; }
.market-facet-panels header button { border:1px solid #5a6553; border-radius:20px; color:#d3e4da; background:#1a2b21; padding:7px 9px; font-size:10px; }
.market-facet-panels header button[aria-pressed=true] { background:#ffe2a0; color:#241e12; border-color:#ffe2a0; }
.market-categories { display:grid; grid-template-columns:1fr 1fr; gap:5px; }.market-districts { display:grid; grid-template-columns:repeat(5,1fr); gap:5px; }
.market-categories button,.market-districts button { display:flex; align-items:center; justify-content:space-between; gap:5px; text-align:left; padding:8px; min-height:36px; border:1px solid #3c5042; border-radius:8px; background:#15291e; color:#d3e6db; font-size:11px; }
.market-categories small,.market-districts small { font-size:10px; color:#a9c4b4; white-space:nowrap; }
.market-districts button { flex-direction:column; justify-content:center; min-height:57px; font-size:12px; }
.market-facet-panels .is-empty { background:#232724; color:#85978c; border-color:#373d37; }
.market-facet-panels button[aria-pressed=true]:not([data-clear]) { border-color:#ffe2a0; box-shadow:inset 0 0 0 1px #ffe2a0; background:#354336; color:#fff3cb; }
.market-searchbar { display:grid; grid-template-columns:1fr 1.65fr 1fr auto; gap:10px; padding:12px; border:1px solid #394d40; border-radius:14px; background:#17231c; }
.market-searchbar .market-wish-filter{display:flex;align-items:center;gap:8px;min-width:0;min-height:42px;padding:6px 9px;box-sizing:border-box;border:1px solid #809480;border-radius:9px;background:#233b2c;color:#f2f5e9;font-size:12px;font-weight:600;line-height:1.3;cursor:pointer;}
.market-searchbar .market-wish-filter input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:#ffe2a0;}
.market-searchbar .market-wish-filter:has(:checked){border-color:#ffe2a0;background:#3b3621;color:#ffe2a0;}
.market-searchbar input,.market-searchbar select,.market-searchbar>button,.market-submenu>summary,.market-results-bar input,.market-results-bar select { min-width:0; width:100%; box-sizing:border-box; min-height:42px; border:1px solid #3c5042; border-radius:9px; background:#101d15; color:#d5e7dc; padding:9px 11px; font:inherit; font-size:12px; }
.market-searchbar>button { cursor:pointer; }.market-submenu { position:relative; min-width:0; }.market-submenu>summary { cursor:pointer; }.market-submenu>summary span { color:#9fbaab; margin-left:5px; }
.market-sub-list { position:absolute; z-index:12; top:calc(100% + 6px); left:0; width:max(100%,440px); max-width:calc(100vw - 40px); max-height:400px; overflow:auto; padding:10px; box-sizing:border-box; border:1px solid #59755e; border-radius:13px; background:#15261c; box-shadow:0 15px 40px #0007; }
.market-sub-list fieldset { border:0; padding:0; margin:0 0 9px; min-width:0; }
.market-sub-list legend { display:flex; align-items:center; justify-content:space-between; box-sizing:border-box; width:100%; background:#26382d; border:1px solid #425746; border-radius:6px; padding:6px 8px; font-size:13px; margin-bottom:8px; }
.market-sub-row { display:grid; grid-template-columns:minmax(0,1fr) 76px 26px; gap:7px; align-items:center; margin-left:9px; border-left:2px solid #6d7c70; padding:1px 5px 1px 12px; }
.market-favorite-indicator { color:#ffe09a; font:700 16px/1 system-ui,sans-serif; text-align:center; cursor:default; }
html body #auctions .market-sub-list .market-sub-row { grid-template-columns:minmax(0,1fr) auto; }
html body #auctions .market-sub-list .market-sub-count { display:inline-flex; align-items:center; justify-content:flex-end; gap:6px; }
/* One selection surface: touch hover must not paint a dark label inside it. */
html body #auctions .market-sub-list .market-sub-row label { min-width:0; }
html body #auctions .market-sub-list .market-sub-row label>span { min-width:0;overflow-wrap:anywhere; }
html body #auctions .market-sub-list .market-sub-row label:hover { background:transparent; }
html body #auctions .market-sub-list .market-sub-row:has(input:checked) { background:#ffe2a0;color:#292315;border-color:#ffe2a0;border-radius:6px;box-shadow:none; }
html body #auctions .market-sub-list .market-sub-row:has(input:checked) :is(label,.market-sub-count,.market-favorite-indicator) { background:transparent;color:inherit;box-shadow:none; }
html body #auctions .market-sub-row:has(.market-favorite-indicator):not(:has(input:checked)) { background:rgba(255,224,154,.07); border-radius:5px; }
.market-sub-row label { display:flex; gap:8px; align-items:center; font-size:11px; }.market-sub-row input { width:17px; min-height:17px; height:17px; accent-color:#83bda0; flex-shrink:0; }
.market-sub-list button { border:0; background:transparent; color:#c6c693; padding:2px; min-height:24px; line-height:1; font-size:19px; }.market-sub-list button[aria-pressed=true] { color:#ffe293; }
.market-sub-count { text-align:right; font-size:11px; white-space:nowrap; color:#bdcfc2; }
.market-rarities,.market-favorites { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin:13px 0; }
.market-rarities { gap:8px; padding:4px 2px; }
#auctions .market-rarities button { display:inline-flex; flex-shrink:0; white-space:nowrap; align-items:center; gap:7px; min-height:36px; border:1px solid color-mix(in srgb,var(--chip-color) 35%,transparent); border-radius:999px; padding:6px 11px; background:color-mix(in srgb,var(--chip-color) 7%,#101b14); color:var(--chip-color); font-size:12px; }
#auctions .market-rarities button:hover { background:color-mix(in srgb,var(--chip-color) 18%,#101b14); }
.market-rarities i { width:7px; height:7px; border-radius:50%; background:currentColor; }
#auctions .market-rarities button[aria-pressed=true] { color:#101b14; background:var(--chip-color); border-color:var(--chip-color); box-shadow:none; }
.market-rarities [data-level="COMMON"] { --chip-color:#58d7ad; }
.market-offer-filters [data-offer-state="leading"] { --chip-color:#58d7ad; }
.market-offer-filters [data-offer-state="outbid"] { --chip-color:#ffb566; }
.market-rarities [data-level="UNCOMMON"] { --chip-color:#68bde9; }
.market-rarities [data-level="RARE"] { --chip-color:#b68aef; }
.market-rarities [data-level="SUPER_RARE"] { --chip-color:#ed75a5; }
.market-rarities [data-level="ULTRA_RARE"] { --chip-color:#ff9b35; }
.market-rarities [data-level="LEGENDARY"] { --chip-color:#f5d72b; }
.market-rarities [data-level="ULTRA_LEGENDARY"] { --chip-color:#eedcaf; }
.market-favorites { font-size:11px; color:#c9bc8e; }.market-favorites button { font-size:11px; padding:5px 8px; border-radius:15px; border:1px solid #6c6347; background:transparent; color:#dece9a; }.market-favorites button[aria-pressed=true] { background:#5d5432; }
.market-results-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:20px 0 14px; }.market-results-bar p { color:#aabfb0; font-size:12px; }.market-results-bar>div { display:flex; align-items:center; gap:8px; }.market-results-bar label { white-space:nowrap; font-size:11px; color:#a9bdae; }.market-results-bar input { width:92px; }.market-results-bar select { width:165px; }
.market-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.market-results-bar>div { flex-wrap:wrap; }
.market-results-bar .market-buy-filter { display:flex; align-items:center; gap:7px; cursor:pointer; }
.market-results-bar #market-buy-only { width:16px; height:16px; min-height:0; padding:0; margin:0; accent-color:#58d7ad; }
.market-cancel-confirm .market-confirm-icon { color:#ffc18f; background:#533c2b; }
.market-dialog .market-cancel-confirm-button { background:#683c35; border-color:#bc7867; color:#ffe1d7; }
.market-dialog .market-cancel-confirm-button:hover { background:#81493f; }
.market-example-label { display:block; text-align:center; color:#c7b683; font-size:10px; margin-bottom:6px; }
.market-sell-banner { display:flex; align-items:center; gap:14px; width:100%; margin:0 0 16px; padding:16px 18px; border:1px dashed #a89465; border-radius:14px; background:#242e22; color:#ffe2a0; text-align:left; }
.market-sell-banner>span:last-child { margin-left:auto; }
.market-sell-banner strong { display:block; font-size:16px; font-weight:500; }
.market-sell-banner small { display:block; margin-top:5px; font-size:12px; color:#b6c5b8; }
.market-sell-banner-icon { font-size:28px; }
.market-sell-banner:hover { background:#303c2c; border-color:#ffe2a0; }
.market-sale-card-info { display:flex; align-items:center; gap:22px; padding:16px; margin-bottom:10px; border:1px solid color-mix(in srgb,var(--sale-accent) 50%,#34463a); border-radius:14px; background:linear-gradient(120deg,#203026,#131e17); }
.market-sale-preview { width:116px; flex-shrink:0; pointer-events:none; }
.sale-picker-controls { min-width:0; }
html body .market-dialog.is-sale-form .sale-picker-controls { display:grid;gap:6px;padding:8px;border:1px solid #3c5142;border-radius:12px; }
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 { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0; }
html body .market-dialog.is-sale-form .sale-picker-order-row>label { display:grid;grid-template-columns:minmax(0,1fr);gap:3px;min-width:0;margin:0;font-size:11px; }
html body .market-dialog.is-sale-form .sale-picker-controls :is(input[type=search],select,button) { width:100%;min-width:0;box-sizing:border-box;min-height:40px;padding:6px 8px;font-size:12px; }
html body .market-dialog.is-sale-form .sale-picker-unlocked { display:flex;align-items:center;gap:8px;min-height:36px;margin:0;font-size:12px;cursor:pointer; }
html body .market-dialog.is-sale-form .sale-picker-exclusions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start; }
html body .market-dialog.is-sale-form .sale-picker-exclusions label { min-width:0;line-height:1.3; }
html body .market-dialog.is-sale-form .sale-picker-unlocked input { width:17px;height:17px;min-height:0;flex:none;margin:0;accent-color:#ffe2a0; }
html body .market-dialog.is-sale-form .sale-picker-controls p { margin:0;font-size:11px;line-height:1.4;color:#c7d5c9; }
html body .market-dialog.is-sale-form .sale-picker-controls [hidden] { display:none!important; }
html body .market-dialog.is-sale-form .sale-picker-card { display:flex;flex-direction:column;align-items:center;gap:3px; }
html body .market-dialog.is-sale-form .sale-picker-demand { display:block;color:#e4d59d;font-size:10px;line-height:1.3;font-weight:400; }
.sale-picker-menus { display:flex; gap:8px; flex-wrap:wrap; }
.sale-picker-menus details { position:relative; flex:1; min-width:180px; }
.sale-picker-menus summary { padding:10px; border:1px solid #49614f; border-radius:9px; cursor:pointer; font-size:12px; }
.sale-picker-options { position:absolute; top:100%; left:0; z-index:3; width:100%; min-width:230px; max-height:280px; overflow:auto; box-sizing:border-box; padding:12px; border:1px solid #526e5b; border-radius:10px; background:#17281d; box-shadow:0 10px 25px #0008; }
.sale-picker-options fieldset { border:0; border-left:2px solid #748078; margin:8px 0; padding:4px 8px; }
.sale-picker-options .sale-category-group { border:0; margin:0 0 14px; padding:0; min-width:0; }
.sale-category-group legend { width:100%; box-sizing:border-box; margin:0 0 8px; padding:4px 8px; border-radius:5px; background:#223429; box-shadow:inset 0 0 0 1px #3c5043; }
.market-dialog .sale-category-group legend label { font-size:13px; color:#cce2d3; font-weight:500; }
.market-dialog .sale-category-group>label { border-left:2px solid #69716c; margin-left:7px; padding:3px 4px 3px 8px; min-height:28px; line-height:1.25; }
.sale-picker-options label>span { flex:1; min-width:0; }
.market-dialog .sale-picker-options label>small { font-size:11px; color:#a9c7b5; white-space:nowrap; }
.sale-picker-options [hidden] { display:none!important; }
.sale-picker-menus details:first-child .sale-picker-options { width:max(100%,430px); max-width:min(600px,calc(100vw - 90px)); }
.market-dialog .sale-picker-options label { display:flex; align-items:center; gap:8px; padding:4px 0; }
.market-dialog .sale-picker-options input { width:16px; height:16px; min-height:0; flex-shrink:0; }
.market-dialog .sale-picker-rarities { box-sizing:border-box; flex-wrap:wrap; overflow:visible; }
.market-dialog .sale-picker-rarities button { display:inline-flex; align-items:center; gap:6px; font-size:11px; padding:6px 9px; border-radius:999px; color:var(--rarity-color); border-color:color-mix(in srgb,var(--rarity-color) 35%,transparent); background:color-mix(in srgb,var(--rarity-color) 7%,#101b14); }
.market-dialog .sale-picker-rarities button[aria-pressed=true] { color:#101b14; background:var(--rarity-color); }
.sale-picker-rarities [data-sale-duplicates] { --rarity-color:#ffe2a0; margin-left:8px; }
.sale-picker-results { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; max-height:310px; overflow:auto; padding:4px; }
.market-bulk-sale form { display:grid;gap:10px;min-width:0; }
.market-bulk-sale form[hidden] { display:none; }
html body .market-dialog #market-sell-form[hidden] { display:none; }
.market-dialog [data-bulk-confirm] { padding:12px 0; }
.market-dialog [data-bulk-confirm]>h3 { color:#ffe2a0;font-size:20px; }
.market-multiple-confirm-cards { display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;max-height:50vh;overflow:auto;margin:12px 0; }
.market-multiple-confirm-cards>article { min-width:0;max-width:170px; }
.market-multiple-confirm-cards .card-shell { width:100%;pointer-events:none; }
.market-multiple-confirm-cards>article>p { font-size:12px; }
html body .market-dialog.is-sale-form #market-sell-form>.market-sale-reference[data-bulk-average] { display:block;white-space:normal;overflow-wrap:break-word;text-align:center; }
.market-bulk-sale [data-bulk-prices] { display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px; }
.market-bulk-sale [data-bulk-prices] label { display:grid;gap:4px; }
.market-bulk-sale [data-bulk-average] { color:#b3bdaf;font-size:12px; }
.market-dialog .sale-picker-card { min-width:0; padding:6px; background:#14231a; border:1px solid #3e5345; }
.market-dialog .sale-picker-card[aria-pressed=true] { border:2px solid #ffe2a0; padding:5px; background:#394432; }
.sale-picker-card .card-shell { width:100%; pointer-events:none; }
.sale-picker-pages { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:8px 0; font-size:12px; }
@media(max-width:650px){.sale-picker-results{grid-template-columns:repeat(2,minmax(0,1fr));}.sale-picker-options{min-width:0;}}
.market-sell-suggestions { display:grid; max-height:220px; overflow:auto; padding:6px; border:1px solid #526e5b; border-radius:10px; background:#101d15; }
.market-sell-suggestions[hidden] { display:none; }
.market-dialog .market-sell-suggestions button { text-align:left; border:0; background:transparent; padding:10px; }
.market-dialog .market-sell-suggestions button:hover,.market-dialog .market-sell-suggestions button:focus-visible { background:#2b4434; }
.market-sale-preview .card-shell { width:100%; }
.market-sale-card-info>div:last-child { min-width:0; flex:1; }
.market-dialog [data-sale-change-card] { float:right; margin:0 0 12px 12px; padding:8px 12px; min-height:36px; border:1px solid #bba777; background:#ead6ad; color:#000; font-size:12px; border-radius:8px; }
.market-sale-card-info>div:last-child>h3 { clear:both; }
@media(max-width:650px){.market-dialog [data-sale-change-card]{float:none;display:block;margin:0 0 10px;}}
.market-sale-card-info>div:last-child>h3 { font-size:20px; margin:12px 0 8px; color:#edf4ee; }
.market-sale-rarity { display:inline-block; padding:5px 9px; background:var(--sale-accent); color:#142219; border-radius:6px; font-size:12px; font-weight:700; }
.market-dialog .market-sale-card-info>div:last-child>p { font-size:12px; margin:0 0 9px; }
.market-sale-card-info small { color:#e5d2a3; }
.market-dialog .market-sell-fields { padding:16px; background:#101c15; border:1px solid #3c5142; border-radius:12px; margin-bottom:10px; }
.market-sale-heading { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 18px; margin:12px 0 8px; padding-right:18px; }
.market-dialog .market-sale-heading h2 { margin:0; padding:0; }
.market-sale-heading>span { color:#aabbad; font-size:12px; }
.market-dialog .market-sale-demo-note { font-size:11px; margin:0 0 12px; }
@media(max-width:650px){.market-sale-card-info{gap:12px;padding:12px;}.market-sale-preview{width:85px;}.market-sale-card-info>div:last-child>h3{font-size:17px;}.market-dialog .market-sell-fields{padding:12px;}}
.market-lot { min-width:0; padding:12px; border:1px solid #3a4e3f; border-radius:16px; background:linear-gradient(160deg,#1e2c23,#141e18); transition:border-color .15s; }.market-lot:hover { border-color:#a5aa7f; }
.market-card-preview,.market-detail-card{position:relative}
.market-owned-marker{position:absolute;left:6px;bottom:6px;z-index:3;max-width:calc(100% - 12px);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;white-space:nowrap;pointer-events:none;box-shadow:0 2px 5px #0007;opacity:1}
.market-lot-top { display:flex; align-items:center; justify-content:space-between; gap:4px; font-size:10px; color:#a0b7a6; margin-bottom:8px; }.market-lot-top .is-wish { color:#efc49c; }.market-lot-top button { background:transparent; border:0; color:#cbd6ae; font-size:24px; line-height:1; padding:4px; }.market-lot-top button[aria-pressed=true] { color:#ffe39b; }
.market-card-preview { display:block; padding:0; width:100%; max-width:190px; margin:auto; border:0; background:transparent; }.market-card-preview .card-shell { width:100%; height:auto; aspect-ratio:2/3; margin:0; pointer-events:none; }.market-card-preview .card-shell .card-photo { pointer-events:none; }
.market-lot-meta { display:flex; justify-content:space-between; gap:6px; margin:12px 0 5px; font-size:10px; color:#a0b7a6; }.market-lot h3 { font-size:14px; font-weight:500; margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.market-lot-taxonomy { font-size:10px; color:#98afa0; margin:5px 0 12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.market-lot-price { display:flex; justify-content:space-between; align-items:flex-end; gap:8px; padding-top:10px; border-top:1px solid #35473a; }.market-lot-price>div { display:flex; flex-direction:column; gap:4px; }.market-lot-price small { font-size:10px; color:#a5bbac; }.market-lot-price strong { font-size:22px; color:#f4d99a; font-weight:500; }.market-lot-price strong span { display:block; font-size:11px; margin-top:2px; }.market-clock { color:#f4d99a; font-size:16px; font-variant-numeric:tabular-nums; white-space:nowrap; }.market-clock.is-urgent { color:#f4d99a; }
.market-bid-status { min-height:14px; font-size:10px; color:#b8c9b4; margin:9px 0; }.market-lot-action { width:100%; border:1px solid #55705a; background:#293f30; color:#e0ecdf; border-radius:9px; padding:9px 6px; font-size:12px; }.market-lot-action:hover { background:#3b5943; }
.market-pagination { display:flex; justify-content:center; align-items:center; gap:20px; margin:24px 0; font-size:12px; }.market-pagination button,.market-empty button { background:#26392c; color:#d8e8db; border:1px solid #526f58; border-radius:9px; padding:9px 14px; }
.market-empty { grid-column:1/-1; text-align:center; padding:42px 20px; background:#17251c; border:1px dashed #56715e; border-radius:16px; }.market-empty>span { font-size:34px; color:#e5cf91; }.market-empty h2 { font-size:20px; font-weight:400; }.market-empty p { font-size:13px; color:#a8bfaf; line-height:1.6; }
.market-dialog:has(.market-confirm-panel) { width:min(530px,calc(100vw - 28px)); border-color:#b39b60; background:radial-gradient(ellipse at top,#a78b2922,transparent 65%),#142219; }
.market-confirm-panel { text-align:center; }
.market-sale-confirm { animation:market-success-enter .25s ease-out both; }
.market-sale-confirm-card { width:180px; max-width:48vw; margin:18px auto; pointer-events:none; filter:drop-shadow(0 8px 18px #0007); }
.market-sale-confirm-card .card-shell { width:100%; }
.market-sale-confirm .market-sale-rarity { margin-bottom:9px; }
.market-sale-confirm-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.market-sale-confirm-stats>div { display:flex; flex-direction:column; justify-content:center; gap:6px; padding:14px 6px; border:1px solid #75643d; border-radius:12px; background:#ffe2a00b; }
.market-sale-confirm-stats small { color:#bfcbbf; font-size:11px; }
.market-sale-confirm-stats strong { color:#ffe2a0; font-size:24px; }
@media(prefers-reduced-motion:reduce){.market-sale-confirm{animation:none;}}
.market-confirm-icon { display:grid; place-items:center; width:46px; height:46px; margin:0 auto 14px; border:1px solid #a68e4d; border-radius:50%; background:#ffe2a014; color:#ffe2a0; font-size:27px; }
.market-confirm-panel .market-eyebrow { display:block; }
.market-dialog .market-confirm-panel h2 { padding:0; font-size:26px; font-weight:600; }
.market-dialog .market-confirm-panel .market-confirm-card { color:#e5ede6; font-size:17px; margin:0 0 18px; }
.market-confirm-amount { display:flex; flex-direction:column; gap:4px; padding:18px; border:1px solid #77683e; border-radius:14px; background:#ffe2a00b; color:#f4d99a; }
.market-confirm-amount>span { font-size:13px; }
.market-confirm-amount strong { font-size:clamp(36px,8vw,48px); line-height:1.1; font-weight:700; font-variant-numeric:tabular-nums; }
.market-dialog .market-confirm-explanation { font-size:12px; line-height:1.6; margin:18px 0; }
.market-confirm-panel .market-dialog-actions { display:grid; grid-template-columns:1fr 2fr; gap:10px; }
.market-confirm-panel .market-dialog-actions button { min-height:44px; }
.market-confirm-panel .market-dialog-actions .market-primary { font-weight:700; }
.market-detail-card { width:100%; }
.market-lot .market-lot-price { margin:6px 0; padding-top:6px; align-items:center; }
#auctions .market-lot { padding-top:8px; padding-bottom:8px; }
#auctions .market-lot-action { padding:5px 6px; min-height:30px; font-size:12px; line-height:1.2; }
.market-lot-price .market-time { text-align:right; }
.market-time > small, .market-detail-time > small { order:-1; }
.market-sold-to { color:#b4c8b9;line-height:1.2;overflow-wrap:anywhere; }
.market-sold-to .market-buyer-name { color:#ffe2a0;font:inherit; }
.market-time>small[hidden],.market-detail-time>small[hidden] { display:none!important; }
html body #auctions .market-searchbar #market-sort.market-history-select { display:block;width:100%;min-width:0;min-height:42px;padding:9px 11px;border:1px solid #809480;border-radius:9px;background:#233b2c;color:#f2f5e9;font:600 12px/1.3 system-ui,sans-serif;box-sizing:border-box; }
.market-detail-card>button { margin-top:14px; width:100%; }
.market-history { border:1px solid #3c5142; border-radius:16px; padding:24px; background:#19271e; }.market-history h2 { font-size:20px; font-weight:400; }.market-history p { padding:12px 0; border-bottom:1px solid #3a4e40; font-size:13px; }.market-history time { display:block; font-size:10px; color:#9fb4a4; margin-bottom:5px; }
.market-dialog { width:min(850px,calc(100vw - 28px)); max-height:calc(100dvh - 32px); overflow:auto; box-sizing:border-box; border:1px solid #7e8966; border-radius:20px; padding:30px; background:#17241b; color:#deebe1; box-shadow:0 25px 100px #0008; }.market-dialog::backdrop { background:#050b08bf; backdrop-filter:blur(5px); }.market-dialog h2 { font-size:27px; font-weight:500; margin:12px 0; padding-right:24px; }.market-dialog p:not(.card-description),.market-dialog li { color:#b4c8b9; font-size:13px; line-height:1.7; }.market-dialog button { padding:10px 14px; border:1px solid #546d59; border-radius:9px; background:#2b4132; color:#e0ecdf; font-size:13px; }.market-dialog .market-close { position:absolute; top:10px; right:10px; padding:5px 10px; font-size:20px; background:transparent; border:0; }.market-detail-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:30px; }.market-detail-card .card-shell { width:100%; height:auto; aspect-ratio:2/3; margin:20px 0 0; }.market-detail-price { display:flex; justify-content:space-between; align-items:center; gap:10px; }.market-detail-price strong { font-size:30px; color:#ffe0a0; font-weight:400; }.market-detail-price span { color:#c9b87e; font-size:13px; }.market-dialog form { display:grid; gap:9px; margin:18px 0; }.market-dialog label { font-size:12px; color:#d1dfd3; }.market-dialog input,.market-dialog select { width:100%; box-sizing:border-box; min-height:44px; background:#102016; border:1px solid #566c58; border-radius:9px; color:#e1eddf; padding:9px; font-size:14px; }.market-dialog form small { color:#9bb3a2; font-size:11px; }.market-rules { margin-top:22px; border-top:1px solid #4a5d4c; padding-top:12px; font-size:12px; }.market-rules summary { cursor:pointer; }.market-dialog .market-warning,.market-dialog-message { color:#ffd2a1; }.market-dialog .market-confirm-price { font-size:30px; color:#ffe0a0; }.market-dialog-actions { display:flex; gap:10px; justify-content:flex-end; }.market-sell-fields { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; }.market-sell-fields label { display:grid; gap:8px; }
@media(min-width:1700px){.market-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }}
.market-dialog.is-lot-detail { width:min(1040px,calc(100vw - 32px)); padding:26px; background:#101b14; }
.market-dialog.is-lot-detail .market-detail-layout { grid-template-columns:minmax(240px,320px) minmax(0,1fr); gap:36px; align-items:start; }
.market-dialog.is-lot-detail .market-detail-card .card-shell { margin:0; }
.market-detail-copy { min-width:0; }
.market-detail-badges { display:flex; gap:8px; margin:2px 28px 12px 0; }
.market-detail-badges>span { padding:7px 10px; border:1px solid color-mix(in srgb,var(--auction-accent) 70%,#000); border-radius:4px; background:var(--auction-accent); color:#171a17; font-size:11px; font-weight:600; }
.market-dialog .market-detail-copy h2 { font:700 clamp(26px,2.7vw,38px)/1.1 Georgia,serif; margin:0 0 7px; padding-right:16px; }
.market-dialog .market-detail-copy .market-detail-category { color:var(--auction-accent); margin:0 0 20px; font-size:13px; line-height:1.4; }
.market-detail-copy .market-detail-price { padding:14px 16px; border:1px solid #3e5143; border-radius:12px; background:#1a2b20; align-items:center; }
.market-detail-price>div { display:flex; flex-direction:column; gap:5px; }
.market-detail-price small { color:#abc1b0; font-size:11px; }
.market-detail-price strong { font-size:30px; }
.market-detail-price strong>span { font-size:12px; color:inherit; }
.market-detail-time { text-align:right; }.market-detail-time strong { font-size:24px; font-weight:400; color:#ffe0a0; }
.market-dialog .market-detail-copy .market-detail-budget { margin:9px 0; font-size:11px; }
.market-dialog .market-seller { margin:0 0 8px; color:#98a49c; }
.market-seller strong { color:#42d8aa; font-weight:500; }
.market-detail-copy .market-detail-price { display:flex; flex-direction:column; align-items:stretch; gap:14px; background:#121b16; border-color:#344139; border-radius:16px; }
.market-detail-price>div { flex-direction:row; justify-content:space-between; align-items:center; gap:12px; }
.market-detail-price>div:first-child>small { text-transform:uppercase; letter-spacing:.5px; }
.market-detail-price>div:first-child>strong { color:#f4d99a; font-size:26px; }
.market-detail-price .market-detail-time strong { font-size:20px; color:#e4ece6; white-space:nowrap; }
.market-dialog .market-detail-price .market-seller { margin:0; font-size:11px; line-height:1.4; }
.market-detail-price .market-seller strong { font-size:12px; font-weight:500; color:#42d8aa; overflow-wrap:anywhere; }
.market-detail-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px; }
.market-dialog .market-detail-actions button { margin:0; padding:9px 12px; font-size:12px; }
.market-detail-budget[hidden] { display:none; }
.market-detail-copy #market-bid-form { display:flex; flex-direction:column; gap:12px; padding:16px; border:1px solid #344139; border-radius:16px; background:#121b16; margin:14px 0 10px; }
.market-bid-heading { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; color:#98a49c; font-size:12px; }
.market-bid-heading strong { color:#dce9df; }
.market-bid-controls { display:flex; gap:8px; }
.market-bid-stepper { display:flex; flex:1; min-width:0; border:1px solid #3c4b41; border-radius:9px; overflow:hidden; }
.market-bid-stepper #market-bid { flex:1; min-width:0; border:0; border-radius:0; text-align:center; background:transparent; font-size:18px; appearance:textfield; }
#market-bid::-webkit-inner-spin-button,#market-bid::-webkit-outer-spin-button { appearance:none; margin:0; }
.market-dialog .market-bid-stepper button { border:0; border-radius:0; background:transparent; font-size:20px; padding:8px 12px; }
.market-dialog .market-bid-controls>.market-primary { background:#35cca0; border-color:#35cca0; color:#07291f; font-weight:700; padding:10px 20px; }
.market-dialog .market-bid-note { line-height:1.6; font-size:11px; }
.market-detail-copy .market-primary { background:var(--auction-accent); border-color:var(--auction-accent); color:#162219; }
.market-detail-copy>[data-watch],.market-detail-copy>[data-buy] { margin:4px 7px 0 0; padding:9px 12px; font-size:12px; }
.market-detail-copy .market-rules { margin-top:14px; }
.market-offer-overview { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
.market-offer-status { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:8px; padding:16px; border:1px solid #4b705b; border-radius:16px; background:#193025; min-width:0; }
.market-offer-status>small { font-size:11px; color:#afc8b7; }
.market-offer-status>strong { font-size:18px; color:#72e6b4; }
.market-dialog .market-offer-status>p { font-size:12px; margin:0; line-height:1.5; }
.market-offer-status.is-outbid { border-color:#806646; background:#30291e; }
.market-offer-status.is-outbid>strong { color:#ffcf89; }
.market-detail-copy .market-offer-overview .market-seller strong { font-size:12px; }
.market-detail-copy.is-my-bid:has(#market-bid-form) { display:block; }
.market-detail-copy.is-my-bid #market-bid-form { margin-top:14px; }
.market-detail-copy.is-my-bid .market-offer-status #market-bid-form { width:100%; box-sizing:border-box; padding:0; margin:4px 0 0; border:0; background:transparent; }
.market-offer-status .market-bid-controls { flex-wrap:wrap; width:100%; }
.market-offer-status .market-bid-stepper { flex:1 1 140px; }
.market-offer-status .market-bid-controls>.market-primary { flex:1 0 65px; }
@media(max-width:650px){.market-offer-overview{grid-template-columns:1fr;}}
/* Let the detail grow naturally: primary actions must not be clipped to the card height. */
@media(min-width:651px){
 .market-dialog.is-lot-detail { padding:22px; }
 .market-dialog.is-lot-detail .market-detail-layout { grid-template-columns:minmax(190px,260px) minmax(0,1fr); gap:24px; }
 .market-detail-copy { contain:none; overflow:visible; padding-right:0; }
 .market-dialog .market-detail-copy h2 { font-size:clamp(25px,2.5vw,34px); }
 .market-dialog .market-detail-copy .market-detail-category { margin-bottom:12px; }
 .market-dialog-message:empty { display:none; }
}
@media(min-width:1000px){
 .market-detail-copy:has(#market-bid-form) { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); column-gap:12px; align-items:start; }
 .market-detail-copy:has(#market-bid-form)>* { grid-column:1/-1; }
 .market-detail-copy:has(#market-bid-form)>.market-detail-price { grid-column:1; grid-row:4; min-height:156px; box-sizing:border-box; justify-content:center; gap:16px; padding:14px; }
 .market-detail-copy #market-bid-form { grid-column:2; grid-row:4; margin:0; padding:14px; gap:9px; min-width:0; }
 .market-detail-copy:has(#market-bid-form)>.market-detail-budget { grid-row:5; }
 .market-detail-price>div { flex-wrap:wrap; gap:7px; }
 .market-detail-price>div:first-child>strong { font-size:23px; }
 .market-detail-copy>[data-buy],.market-detail-copy>[data-watch] { justify-self:start; margin-top:6px; }
 .market-dialog .market-bid-controls>.market-primary { padding:10px 12px; }
 .market-dialog .market-bid-stepper button { padding:8px; }
 .market-detail-copy .market-rules { margin-top:10px; }
}
@media(max-width:650px){.market-dialog.is-lot-detail { padding:22px; }.market-dialog.is-lot-detail .market-detail-layout { grid-template-columns:1fr; gap:22px; }.market-detail-copy .market-detail-badges { margin-right:0; }.market-detail-price strong { font-size:25px; }.market-detail-time strong { font-size:20px; }}
@media(max-width:1150px){.market-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.market-facet-panels{grid-template-columns:1fr;}.market-districts{grid-template-columns:repeat(10,1fr);}.market-searchbar{grid-template-columns:1fr 1.2fr;}}
@media(max-width:650px){.market-hero{padding:22px;flex-direction:column;align-items:stretch;gap:20px;}.market-wallet{min-width:0;}.market-highlights{gap:6px;}.market-highlights>button{display:flex;flex-direction:column;padding:12px 9px;gap:8px;}.market-highlights span{font-size:11px;}.market-highlights small{display:none;}.market-highlights strong{font-size:24px;}.market-tabs{gap:2px;}.market-tabs button{font-size:11px;padding:9px 8px;}.market-tabs .market-help{margin-left:0;}.market-facet-panels h2{font-size:14px;}.market-facet-panels>section{padding:10px;}.market-districts{grid-template-columns:repeat(5,1fr);}.market-categories button{font-size:10px;}.market-categories small{font-size:9px;}.market-searchbar{grid-template-columns:minmax(0,1fr);}.market-sub-list{width:100%;}.market-results-bar{flex-direction:column;align-items:stretch;}.market-results-bar>div{flex-wrap:wrap;}.market-results-bar select{flex:1;}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.market-lot{padding:8px;border-radius:12px;}.market-lot-top{font-size:8px;}.market-lot h3{font-size:12px;}.market-lot-price{flex-wrap:wrap;}.market-lot-price strong{font-size:19px;}.market-bid-status{font-size:9px;min-height:24px;}.market-lot-action{font-size:11px;}.market-detail-layout{grid-template-columns:1fr;gap:10px;}.market-detail-card{max-width:210px;margin:auto;}.market-dialog{padding:22px;}.market-sell-fields{grid-template-columns:1fr;}.market-dialog h2{font-size:24px;}}
/* A quiet price reference beneath the sale actions; never a prescribed price. */
.market-dialog.is-sale-form #market-sell-form>.market-sale-reference { grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:5px; margin:10px 0 0; color:#b3bdaf; font:400 12px/1.5 system-ui,sans-serif; text-align:center; }
.market-dialog.is-sale-form #market-sell-form>.market-sale-reference[hidden] { display:none; }
.market-dialog .market-sale-reference details { display:contents; }
.market-dialog .market-sale-reference summary { list-style:none; display:grid; place-items:center; min-width:32px; min-height:44px; cursor:pointer; }
.market-dialog .market-sale-reference summary::-webkit-details-marker { display:none; }
.market-dialog .market-sale-reference details>p { flex-basis:100%; margin:0; color:inherit; font:inherit; }
.market-dialog .market-sale-reference>button { min-height:44px; padding:4px 8px; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; }
.market-visit-result>details{max-height:32dvh;overflow:auto;margin:12px 0;padding:10px;border:1px solid #52664d;border-radius:10px}.market-visit-result>details summary{cursor:pointer;min-height:32px}.market-visit-result>details p{font-size:13px;margin:7px 0}
.market-sale-task{position:fixed;z-index:80;right:16px;bottom:18px;width:min(360px,calc(100vw - 32px));box-sizing:border-box;padding:12px 14px;border:1px solid #a79354;border-radius:13px;background:#14261eee;color:#ffe3a0;box-shadow:0 5px 22px #0007;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font:12px/1.4 system-ui,sans-serif}
.market-sale-task[hidden]{display:none}.market-sale-task>strong,.market-sale-task>small,.market-sale-task>progress{width:100%}.market-sale-task>small{color:#c0d1c5}.market-sale-task>progress{height:5px;accent-color:#b8e3c7}.market-sale-task>button{border:1px solid #738566;background:#253c2d;color:#ffe3a0;border-radius:7px;min-height:32px;padding:5px 10px;font:inherit;cursor:pointer}
@media(max-width:700px){.market-sale-task{bottom:calc(83px + env(safe-area-inset-bottom));right:10px;width:calc(100vw - 20px);padding:9px 12px}}
