/* Grindveil auction gallery. Painted walnut displays, readable merchandise. */
html.gv-v2 #panelMarket{--mx-gold:#e7c17b;--mx-ink:#f3e8d5;--mx-muted:#c9bdcd;--mx-ease:cubic-bezier(.23,1,.32,1);box-sizing:border-box;color:var(--mx-ink);background:#211624 url('/v2/art/market/auction-hall.webp') center top/cover no-repeat;min-height:100%;padding:0 clamp(18px,2.2vw,44px) 60px;overflow:visible;isolation:isolate}
html.gv-v2 body[data-active-tab=market] #mainContent{display:flex!important;flex-direction:column;overflow:hidden!important;min-height:0}
html.gv-v2 #mainContent>#panelMarket.active{flex:1 1 0%;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0;scrollbar-color:#b39259 #21192b;overscroll-behavior:contain}
.gv-market-playtest body[data-active-tab=market] #pathStrip{display:none!important}
html.gv-v2 #itemOverlay{z-index:2147483100!important}
.mx-exchange *,.mx-dialog *{box-sizing:border-box}.mx-exchange button,.mx-dialog button,.mx-exchange select,.mx-dialog input{font:inherit}.mx-exchange [hidden]{display:none!important}
.mx-header{position:relative;isolation:isolate;min-height:195px;padding:26px 0 20px;text-shadow:0 2px 5px #120917,0 3px 15px #120917;max-width:1640px;margin:auto}
.mx-header::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 45% 0,#ffc96935,transparent 60%);pointer-events:none;animation:mx-window-light 9s ease-in-out infinite alternate}
.mx-header h1{font-family:Cinzel,Georgia,serif;font-size:clamp(28px,2.7vw,44px);color:#ffe5b0;margin:4px 0 6px;line-height:1.2}.mx-header>p{margin:0 0 20px;font-size:13px;color:#edd9bd}.mx-eyebrow,.mx-host{display:none}
.mx-header-actions{display:flex;gap:8px;flex-wrap:wrap}.mx-limit{font-size:11px;color:#e4ccb0;margin-top:12px}
.mx-test-wallet{position:absolute;right:0;top:40px;display:flex;flex-direction:column;gap:12px;padding:15px 20px;background:#221729eb;border:1px solid #a57d46;box-shadow:inset 0 0 0 3px #3b2839,0 6px 20px #10081566;text-align:center;border-radius:3px}.mx-test-wallet>strong{font-size:10px;color:#d8c4e4;font-weight:600}.mx-test-wallet .mx-money{justify-content:center}
.mx-tabs{display:flex;gap:10px;max-width:1640px;margin:0 auto 22px;padding:0;border:0;background:none}
.mx-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;flex:1;min-height:70px;padding:10px 16px;border:1px solid #956b3e;border-radius:3px;background:linear-gradient(#533a32,#261822);box-shadow:inset 0 0 0 3px #20151c,inset 0 0 0 4px #ad805342,0 5px 12px #0c061a77;color:#d5c2c0;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:15px;cursor:pointer;transition:filter .16s ease}
.mx-tabs button img{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 3px 3px #0009)}
.mx-tabs button[aria-selected=true]{background:linear-gradient(#ab7947,#73492c);border-color:#e5bf72;color:#fff0c7;box-shadow:inset 0 0 0 3px #352021,inset 0 0 0 4px #c09652,0 5px 12px #0c061a77}
.mx-tabs button[aria-selected=true]::after{content:'';position:absolute;width:8px;height:8px;background:#ffe7a6;transform:rotate(45deg);bottom:-5px;border:1px solid #906839;box-shadow:0 0 10px #ffe2a180}
.mx-content{max-width:1640px;margin:auto;padding:0;background:none;min-height:300px;border:0;box-shadow:none}
.mx-content h2,.mx-content h3,.mx-dialog h2,.mx-guide h3{font-family:Cinzel,Georgia,serif;color:#f1d9a4;margin:0 0 12px}.mx-content h2{font-size:23px}.mx-content h3{font-size:16px}
.mx-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;text-shadow:0 2px 5px #0c0618;margin-bottom:14px}.mx-catalog-heading h2{margin:0}.mx-class-note{font-size:12px;color:#ead3e4}
.mx-filters{display:flex;gap:15px;flex-wrap:wrap;max-width:none;padding:13px 18px;background:#241a23ed;border:1px solid #76583d;box-shadow:inset 0 1px #c6a26344,0 5px 10px #10081866;border-radius:3px}
.mx-select{display:flex;align-items:center;gap:10px;flex:1;min-width:0;font-size:11px;color:#d7bd9d;white-space:nowrap}
.mx-select select,.mx-price-form input{width:100%;min-width:0;min-height:40px;background:#17121f;color:#f5e7d1;border:1px solid #8d7253;border-radius:3px;padding:8px 10px;color-scheme:dark;font:inherit}.mx-select select{font-size:13px}
.mx-results{font-size:11px;color:#e0c9d0;margin:15px 0 12px;text-shadow:0 1px 4px #000}
.mx-shelves{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:24px;align-items:start}
.mx-listing{--rarity:#c5bca5;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;aspect-ratio:3/4;min-width:0;width:100%;padding:12.5% 8% 7%;text-align:center;background:url('/v2/art/market/auction-display.webp') center/100% 100% no-repeat;border:0;border-radius:5px;color:#f4e6d2;cursor:pointer;box-shadow:0 10px 20px #09041280;transition:transform .18s var(--mx-ease)}
:is(.mx-exchange [data-rarity=common],.mx-dialog[data-rarity=common]){--rarity:#d1c8b8}:is(.mx-exchange [data-rarity=legendary],.mx-dialog[data-rarity=legendary]){--rarity:#ffcd73}:is(.mx-exchange [data-rarity=rare],.mx-dialog[data-rarity=rare]){--rarity:#8bcaff}:is(.mx-exchange [data-rarity=unique],.mx-dialog[data-rarity=unique]){--rarity:#ff9690}:is(.mx-exchange [data-rarity=epic],.mx-dialog[data-rarity=epic]){--rarity:#d9a0ff}:is(.mx-exchange [data-rarity=mythic],.mx-dialog[data-rarity=mythic]){--rarity:#ff9690}:is(.mx-exchange [data-rarity=gem],.mx-dialog[data-rarity=gem]){--rarity:#8be5eb}:is(.mx-exchange [data-rarity=uncommon],.mx-dialog[data-rarity=uncommon]){--rarity:#8fdca0}
.mx-listing::before{content:'';position:absolute;inset:7% 7% 34%;border-radius:18%;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--rarity) 14%,transparent),transparent 65%);z-index:-1;pointer-events:none}
.mx-rarity{color:var(--rarity,#dfc69a);font-size:11px;font-weight:700;letter-spacing:.045em;text-transform:uppercase}.mx-listing>.mx-rarity{flex:0 0 18px;text-shadow:0 1px 4px #000}
.mx-showcase{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;flex:1;width:100%;min-height:0;margin-bottom:9px}
.mx-item-art{display:block;object-fit:contain;width:96px;height:96px;max-width:100%;filter:drop-shadow(0 8px 5px #0a0614a8)}
.mx-showcase .mx-item-art{width:clamp(130px,11vw,184px);height:clamp(130px,11vw,184px);max-height:100%;transition:transform .18s var(--mx-ease)}
.mx-showcase-glow{position:absolute;inset:0;background:radial-gradient(ellipse,color-mix(in srgb,var(--rarity) 26%,transparent),transparent 66%);z-index:-1;pointer-events:none;opacity:.7;transition:opacity .18s ease}
.mx-offer-identity{display:flex;flex-direction:column;justify-content:center;gap:4px;flex:0 0 66px;width:100%;min-width:0}.mx-item-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-family:Cinzel,Georgia,serif;font-size:16px;font-weight:700;line-height:1.2;color:var(--rarity);text-shadow:0 2px 4px #000}.mx-item-meta{font-size:11px;color:#cbb8c7;line-height:1.5;text-transform:capitalize;margin:0}
.mx-offer-price{display:flex;align-items:center;justify-content:center;min-height:34px;flex:0 0 34px;width:100%;padding-top:4px}.mx-money{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.mx-currency{display:inline-flex;align-items:center;gap:5px;color:#ffdd90}.mx-currency img{width:24px;height:24px;object-fit:contain}.mx-currency b{font-size:20px}
.mx-offer-action{position:absolute;left:20%;right:20%;top:54%;padding:7px 4px;background:#211322ed;border:1px solid #c09c65;border-radius:3px;color:#ffe7b4;font-size:11px;opacity:0;transform:translateY(4px);transition:opacity .16s ease,transform .16s ease;pointer-events:none}
.mx-own{position:absolute;top:8%;right:7%;background:#2b4234;color:#b8e3be;padding:4px 6px;border:1px solid #81a884;font-size:9px;transform:rotate(4deg)}
.mx-primary,.mx-secondary{min-height:40px;padding:9px 17px;border:1px solid #ac8750;border-radius:3px;font-family:Cinzel,Georgia,serif!important;font-size:12px!important;font-weight:700;cursor:pointer;transition:transform .14s var(--mx-ease),filter .14s ease}
.mx-primary{background:linear-gradient(#f7dda0,#ce9e55 55%,#a87136);border-color:#efc980;color:#32212b;box-shadow:inset 0 0 0 2px #633f2850,inset 0 2px #fff3c9,0 3px #4b2e23,0 5px 10px #0b07174d}.mx-secondary{background:linear-gradient(#493039,#281d2b);color:#e4cfaa;box-shadow:inset 0 0 0 2px #17101c,inset 0 0 0 3px #ba956133}.mx-primary:active,.mx-secondary:active{transform:translateY(1px)}.mx-primary:disabled,.mx-secondary:disabled{opacity:.5;cursor:not-allowed;filter:saturate(.4)}
.mx-exchange :focus-visible,.mx-dialog :focus-visible{outline:3px solid #ffe1a1;outline-offset:4px}.mx-exchange ::selection,.mx-dialog ::selection{background:#aa7e43;color:#fff0cf}
.mx-note{font-size:12px;color:#cdbed0;line-height:1.65}.mx-empty{max-width:580px;padding:50px 25px;margin:20px auto;background:#241a2de8;border:1px solid #987445;text-align:center;line-height:1.7;color:#e0cedd}.mx-notice{max-width:1640px;padding:12px 16px;margin:0 auto 18px;background:#244233;border:1px solid #6c9d79;color:#e3f1e5;font-size:13px}.mx-notice.is-error{background:#492838;border-color:#db8d82;color:#ffd3c6}.mx-resume{margin:0 0 16px}.mx-load-more{display:block;margin:24px auto 0}
.mx-section-title p{font-size:13px;color:#dfcddc;line-height:1.6;text-shadow:0 2px 4px #130a1f}.mx-inventory{display:flex;overflow-x:auto;gap:16px;padding:8px 0 24px;margin-bottom:20px;scrollbar-color:#ae8d56 #21182b}.mx-inventory-item{display:flex;flex-direction:column;align-items:center;gap:7px;flex:0 0 170px;min-height:226px;padding:24px 15px 22px;background:url('/v2/art/market/auction-display.webp') center/100% 100% no-repeat;border:0;color:#f2dfc1;cursor:pointer;font-size:12px!important;text-align:center}.mx-inventory-item .mx-item-art{width:108px;height:108px;margin-bottom:12px}.mx-inventory-item small{font-size:9px;color:#d6c1a5}.mx-inventory-item .mx-rarity{font-size:9px}
.mx-owned-row,.mx-ledger-row{display:flex;align-items:center;gap:18px;padding:18px 20px;margin-bottom:14px;background:linear-gradient(100deg,#35232bf5,#211929f5);border:1px solid #9a7349;box-shadow:inset 0 0 0 3px #17111f,0 6px 15px #100b1c66;border-radius:3px}.mx-owned-row>.mx-item-art,.mx-ledger-row>.mx-item-art{width:90px;height:90px;flex-shrink:0}.mx-owned-row>div,.mx-ledger-row>div{flex:1;min-width:0}.mx-owned-row{flex-wrap:wrap}.mx-owned-row>div:first-of-type{flex-basis:calc(100% - 115px)}.mx-ledger-fee{display:grid;grid-template-columns:auto auto;gap:8px;font-size:11px}.mx-ledger-fee .mx-currency b{font-size:13px}
.mx-bank-story{display:flex;align-items:center;gap:30px;line-height:1.8;font-size:14px;padding:30px;background:#251a2df2;border:1px solid #a67d46}.mx-bank-copy{flex:1}.mx-bank-copy p{color:#ddcde0}.mx-bank-story blockquote{font-family:Cinzel,Georgia,serif;font-size:24px;color:#f0d290;margin:24px 0}.mx-keeper{width:220px;flex-shrink:0;margin:0;text-align:center}.mx-keeper img{width:100%;height:320px;object-fit:contain;filter:drop-shadow(0 12px 15px #0b071d80)}.mx-keeper figcaption{font-size:11px;color:#d5bb9b}.mx-bank-receipts{margin-top:24px;padding:25px;background:#21182ceb;border:1px solid #8e6d48}.mx-bank-receipts>p{color:#ccb6d0;font-size:13px}.mx-bank-day{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-top:1px solid #9b7d544a;font-size:12px}
.mx-dialog{--rarity:#e3bf7a;position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:32px;background:radial-gradient(ellipse at 10% 15%,color-mix(in srgb,var(--rarity) 10%,transparent),transparent 60%),#241a2c;border:2px solid #be9556;border-radius:7px;color:#f1e3ca;box-shadow:inset 0 0 0 4px #17101f,inset 0 0 0 5px #9c764d,0 30px 80px #000b;overflow-y:auto;scrollbar-color:#ae8b55 #21192c;animation:mx-arrive .2s var(--mx-ease)}
.mx-dialog::backdrop{background:#090612cf}.mx-dialog h2{font-size:26px;line-height:1.35;padding:0 26px;text-align:center;margin:0 0 18px}.mx-close{position:absolute;right:10px;top:10px;width:34px;height:34px;border:1px solid #b69252;border-radius:50%;background:#21172b;color:#efdaaa;font-size:23px!important;cursor:pointer;z-index:2}
.mx-inspect-art{display:flex;align-items:center;justify-content:center;width:180px;height:220px;margin:0 auto 18px;background:url('/v2/art/market/auction-display.webp') center/100% 100% no-repeat;padding:25px 18px 55px}.mx-inspect-art .mx-item-art{width:144px;height:150px}.mx-dialog>.mx-rarity,.mx-dialog>.mx-item-meta{text-align:center;display:block}
.mx-stats{display:grid;gap:9px;margin:16px 0;padding:16px 0;border-block:1px solid #98764d66;font-size:13px}.mx-stat{display:flex;justify-content:space-between;gap:12px}.mx-stat dt{color:#d3bed0}.mx-stat dd{color:#fff0d7;margin:0;font-weight:700;font-variant-numeric:tabular-nums}.mx-checkout{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;margin-top:12px;border-top:1px solid #ba905b7a;color:#d7c7af;font-size:13px}.mx-dialog>.mx-primary{width:100%;margin-top:8px}.mx-dialog-error{color:#ffc3ae;font-size:12px;line-height:1.6}.mx-dialog-error:empty{display:none}
.mx-purchase{width:min(820px,calc(100vw - 28px))}.mx-purchase[open]{display:grid;grid-template-columns:220px minmax(0,1fr);column-gap:28px;align-items:start}.mx-purchase>h2,.mx-purchase>.mx-checkout,.mx-purchase>.mx-note,.mx-purchase>.mx-primary,.mx-purchase>.mx-dialog-error{grid-column:1/-1}.mx-purchase .mx-inspect-art{width:220px;height:292px;padding:32px 20px 74px}.mx-purchase .mx-inspect-art .mx-item-art{width:180px;height:190px}.mx-inspect-details>.mx-item-meta{margin-top:7px}.mx-inspect-details .mx-note{font-size:11px}
.mx-price-form{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.mx-price-form label{display:grid;gap:7px;color:#e8d2ae;font-size:13px}.mx-price-form input{font-size:17px}.mx-breakdown{display:grid;grid-template-columns:1fr auto;align-items:center;gap:15px;padding:15px 0;border-block:1px solid #b68c5759;font-size:12px}.mx-bazaar-link{margin-top:15px}
.mx-guide{width:min(730px,calc(100vw - 28px))}.mx-guide-intro{text-align:center;color:#d2bbd7;font-size:13px;margin:0 0 24px}.mx-guide-sandbox{font-size:12px;line-height:1.7;padding:12px 0;border-block:1px solid #967147;color:#e8d8b6}.mx-guide-step{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid #a5895633}.mx-guide-number{color:#bd965d;font-family:Cinzel,Georgia,serif;font-size:22px;flex-shrink:0}.mx-guide h3{font-size:17px;margin:0 0 7px}.mx-guide-step p{font-size:13px;line-height:1.8;color:#d5c6d6;margin:0}
@keyframes mx-arrive{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}@keyframes mx-window-light{from{opacity:.35}to{opacity:1}}
@media(hover:hover) and (pointer:fine){.mx-listing:hover{transform:translateY(-4px)}.mx-listing:hover .mx-showcase-glow{opacity:1}.mx-listing:hover .mx-item-art{transform:scale(1.06) rotate(-3deg)}.mx-listing:hover .mx-offer-action,.mx-listing:focus-visible .mx-offer-action{opacity:1;transform:none}.mx-primary:hover:not(:disabled),.mx-secondary:hover:not(:disabled),.mx-tabs button:hover{filter:brightness(1.15)}}
.mx-motion-off .mx-header::before{animation-play-state:paused}.mx-motion-off .mx-listing,.mx-motion-off .mx-listing .mx-item-art{transition:none;transform:none!important}html:has(.mx-motion-off) .mx-dialog{animation:none}
@media(min-width:1850px){.mx-shelves{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}.mx-item-name{font-size:18px}.mx-offer-identity{flex-basis:72px}.mx-showcase .mx-item-art{width:190px;height:190px}}
@media(max-width:1250px){.mx-test-wallet{top:27px;padding:12px}.mx-test-wallet .mx-currency b{font-size:16px}.mx-header h1{font-size:29px;max-width:67%}.mx-header>p{font-size:12px;max-width:60%}.mx-header-actions button{padding:8px 10px;font-size:10px!important}.mx-shelves{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mx-select{flex-direction:column;align-items:stretch;gap:5px}.mx-tabs button{font-size:12px;gap:7px}.mx-tabs button img{width:35px;height:35px}.mx-showcase .mx-item-art{width:140px;height:140px}}
@media(max-width:959px){.mx-header{min-height:180px}.mx-header h1{max-width:65%;font-size:30px}.mx-header>p{max-width:60%}.mx-test-wallet{font-size:10px}.mx-shelves{grid-template-columns:repeat(3,minmax(0,1fr))}.mx-keeper{width:170px}.mx-keeper img{height:250px}}
@media(max-width:700px){html.gv-v2 #panelMarket{padding:0 12px 40px;background-size:auto 1000px;background-position:center top}.mx-header{min-height:220px;padding:23px 0 15px}.mx-header h1{max-width:100%;font-size:28px}.mx-header>p{max-width:100%;font-size:12px;margin-bottom:13px}.mx-header-actions{gap:6px}.mx-header-actions button{min-height:36px;padding:7px 8px;font-size:9px!important}.mx-limit{font-size:10px;margin-top:9px}.mx-test-wallet{position:static;display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-top:12px;padding:9px 11px;gap:8px}.mx-test-wallet>strong{font-size:9px}.mx-test-wallet .mx-currency b{font-size:14px}.mx-test-wallet .mx-currency img{width:18px;height:18px}.mx-test-wallet .mx-money{gap:9px}.mx-tabs{gap:6px;margin-bottom:18px}.mx-tabs button{flex-direction:column;gap:3px;padding:8px 2px;font-size:10px;min-height:72px}.mx-tabs button img{width:34px;height:34px}.mx-catalog-heading h2{font-size:20px}.mx-class-note{font-size:10px;max-width:40%;text-align:right}.mx-filters{padding:10px;gap:8px}.mx-select{font-size:9px}.mx-select select{font-size:10px;padding:6px 3px;min-height:36px}.mx-results{font-size:10px}.mx-shelves{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mx-listing{padding:13% 8% 7%}.mx-showcase{margin-bottom:4px}.mx-showcase .mx-item-art{width:108px;height:108px}.mx-listing>.mx-rarity{font-size:8px;flex-basis:13px}.mx-offer-identity{flex-basis:49px;gap:2px}.mx-item-name{font-size:12px;line-height:1.18}.mx-item-meta{font-size:9px}.mx-offer-price{flex-basis:25px;min-height:25px;padding-top:1px}.mx-offer-price .mx-money{gap:6px}.mx-offer-price .mx-currency{gap:3px}.mx-offer-price .mx-currency img{width:17px;height:17px}.mx-offer-price .mx-currency b{font-size:14px}.mx-own{font-size:7px;padding:2px 3px}.mx-offer-action{display:none}.mx-dialog{padding:26px 20px;max-height:calc(100dvh - 20px)}.mx-dialog h2{font-size:21px}.mx-purchase[open]{display:block}.mx-purchase .mx-inspect-art{width:180px;height:238px;padding:26px 20px 60px}.mx-purchase .mx-inspect-art .mx-item-art{width:144px;height:152px}.mx-inspect-details>.mx-rarity,.mx-inspect-details>.mx-item-meta{text-align:center;display:block}.mx-owned-row,.mx-ledger-row{flex-wrap:wrap;gap:12px;padding:14px}.mx-owned-row>button{width:100%;margin:0}.mx-ledger-fee{flex-basis:100%!important}.mx-bank-story{display:block;padding:20px}.mx-bank-story blockquote{font-size:20px}.mx-keeper{width:160px;margin:20px auto 0}.mx-keeper img{height:230px}.mx-bank-receipts{padding:17px}.mx-bank-day{gap:8px;font-size:10px}.mx-bank-day .mx-currency b{font-size:12px}.mx-guide-step{gap:12px}.mx-guide-step p{font-size:12px}.mx-guide-number{font-size:19px}.mx-guide h3{font-size:16px}}
@media(max-width:370px){.mx-shelves{gap:8px}.mx-item-name{font-size:11px}.mx-showcase .mx-item-art{width:96px;height:96px}.mx-offer-identity{flex-basis:45px}.mx-offer-price .mx-currency b{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mx-header::before,.mx-dialog{animation:none}.mx-listing,.mx-listing .mx-item-art,.mx-showcase-glow,.mx-offer-action,.mx-primary,.mx-secondary{transition:none}.mx-listing:hover,.mx-listing:hover .mx-item-art{transform:none}}
.gv-v2 #tabBar .mx-dock-market>.tab-icon-img{width:48px!important;height:48px!important;object-fit:contain;flex-shrink:0}
@media(max-width:959px){.gv-v2 #tabBar .mob-nav-bar .mx-dock-market>.tab-icon-img{width:42px!important;height:45px!important}.gv-v2 #tabBar .mob-nav-bar .mx-dock-market{display:flex!important}.gv-v2 body[data-active-tab=market] #v2MobileEvents{display:none!important}}
/* Keep the first merchandise row visible on laptop and phone viewports. */
@media(min-width:701px){.mx-header{min-height:164px;padding-top:22px;padding-bottom:16px}.mx-tabs{margin-bottom:18px}.mx-tabs button{min-height:62px}.mx-listing{padding-bottom:11%}}
@media(max-width:700px){.mx-header{min-height:0;padding:15px 0 12px}.mx-header h1{font-size:24px;margin-bottom:5px}.mx-header>p{font-size:11px;margin-bottom:10px}.mx-header-actions button{min-height:32px}.mx-test-wallet{margin-top:8px;padding:7px 9px}.mx-limit{font-size:9px;margin-top:7px}.mx-tabs{margin-bottom:14px}.mx-tabs button{min-height:58px;padding-block:6px;font-size:9px}.mx-tabs button img{width:28px;height:28px}.mx-catalog-heading{display:none}.mx-filters{padding:8px;gap:6px}.mx-select select{min-height:32px}.mx-results{margin:10px 0}.mx-listing{padding-bottom:11%}.mx-offer-identity{flex-basis:44px}.mx-notice{padding:9px 12px;font-size:11px;margin-bottom:12px}}

.mx-purchase .mx-inspect-art{position:relative}.mx-art-caption{position:absolute;bottom:11%;left:10%;right:10%;font-family:Cinzel,Georgia,serif;font-size:14px;color:var(--rarity);text-align:center}
/* A signed merchant seal lives below the painted display, never inside its button. */
.mx-offer{min-width:0;display:flex;flex-direction:column;gap:10px}.mx-offer>.mx-listing{flex:none}
.mx-seller{display:flex;align-items:center;gap:9px;min-width:0;width:100%;padding:9px 10px;text-align:left;background:linear-gradient(110deg,#382833ee,#1d1729ed);border:1px solid #92704480;border-radius:4px;color:#eadcc5;cursor:pointer;transition:border-color .16s,background-color .16s}
.mx-seller:hover,.mx-seller:focus-visible{border-color:#e8c276;outline:2px solid #e8c276;outline-offset:2px}.mx-seller-avatar{width:42px!important;height:48px!important;object-fit:cover;border:1px solid #9f8153;border-radius:45% 45% 6px 6px;flex:none;background:#1c1424}.mx-seller-identity{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.mx-seller-identity strong{font-size:12px;overflow-wrap:anywhere;line-height:1.3}.mx-seller-identity small{font-size:9px;color:#c5b1c9}.mx-seller-badge{font-family:Cinzel,Georgia,serif;font-size:9px;color:#ffe3a2;padding:4px 5px;background:#3b244b;border:1px solid #c7a66a;box-shadow:inset 0 0 0 2px #25172f;white-space:nowrap}.mx-seller.is-founder .mx-seller-avatar{border-color:#eaca82}.mx-seller.is-premium .mx-seller-badge{background:#49331b}.mx-purchase>.mx-seller{grid-column:1/-1;margin-top:16px;max-width:none}.mx-purchase>.mx-seller .mx-seller-identity strong{font-size:15px}.mx-purchase>.mx-seller .mx-seller-badge{font-size:11px;padding:6px 10px}
.mx-compare-equipped{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #9f7e5555}.mx-compare-equipped>.mx-item-art{width:48px;height:48px;object-fit:contain}.mx-compare-equipped>div{flex:1;min-width:120px;display:flex;flex-direction:column;gap:5px}.mx-compare-equipped small{font-size:10px;color:#bdacc7}.mx-compare-equipped strong{font-size:13px;color:#e5d4b3;line-height:1.4}.mx-power-change{flex-basis:100%;text-align:right;font:700 16px Cinzel,Georgia,serif}.mx-inspect-details:has(.mx-compare-equipped) .mx-stat{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(44px,auto);align-items:center;gap:8px}.mx-delta{font-size:12px;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.mx-delta.is-equal{color:#a497af}.is-gain{color:#91e5ac}.is-loss{color:#ff969b}
.mx-receipt{position:fixed;z-index:2147483200;right:24px;bottom:116px;width:min(520px,calc(100vw - 28px));display:flex;align-items:center;gap:15px;padding:20px 36px 20px 16px;border:2px solid #d2ae65;border-radius:6px;background:linear-gradient(115deg,#34453f,#1b252b 62%);box-shadow:inset 0 0 0 3px #161e22,0 14px 45px #000a;color:#f6e6c7;animation:mx-arrive .22s var(--mx-ease)}.mx-receipt>.mx-item-art{width:66px;height:66px;object-fit:contain}.mx-receipt-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.mx-receipt-copy strong{font:700 17px Cinzel,Georgia,serif;color:#d8f0be}.mx-receipt-copy span{font-size:13px;overflow-wrap:anywhere}.mx-receipt-copy small{font-size:10px;color:#bdcfbc}.mx-receipt>.mx-primary{font-size:11px!important;padding:10px}.mx-receipt-close{position:absolute;right:5px;top:4px;width:30px;height:30px;border:0;background:transparent;color:#ebd4a4;font-size:24px;cursor:pointer}
.gvpc .gvpc-message{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 20px;margin-top:14px;border:1px solid #c8a36b;border-radius:4px;background:linear-gradient(#4d3543,#2b2232);box-shadow:inset 0 0 0 2px #201b28;color:#ffe6b5;font:700 13px Cinzel,Georgia,serif;cursor:pointer}.gvpc-message img{width:26px;height:26px;object-fit:contain}.gvpc-message:hover,.gvpc-message:focus-visible{outline:2px solid #ead09d;outline-offset:3px}
@media(max-width:1250px){.mx-offer>.mx-seller{flex-wrap:wrap}.mx-offer .mx-seller-badge{margin-left:51px;margin-top:-3px}}
@media(max-width:700px){.mx-offer{gap:6px}.mx-seller{gap:6px;padding:7px}.mx-seller-avatar{width:30px!important;height:36px!important}.mx-seller-identity strong{font-size:10px}.mx-seller-identity small{font-size:8px}.mx-seller-badge{font-size:8px}.mx-offer .mx-seller-badge{margin-left:36px}.mx-receipt{right:14px;bottom:92px;gap:10px;padding:14px 30px 14px 12px;flex-wrap:wrap}.mx-receipt>.mx-item-art{width:48px;height:48px}.mx-receipt-copy strong{font-size:14px}.mx-receipt>.mx-primary{width:100%}.mx-power-change{font-size:14px}}
@media(prefers-reduced-motion:reduce){.mx-receipt{animation:none}.mx-seller{transition:none}}
.mx-power-readout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#9c7f4844;border:1px solid #a4875055;border-radius:3px;overflow:hidden}.mx-power-part{display:grid;grid-template-columns:1fr auto;gap:5px 7px;padding:9px 10px;background:#241b2bf5;align-items:baseline}.mx-power-part small{grid-column:1/-1;font-size:9px;color:#c6b79e}.mx-power-part strong{font-size:15px;color:#f6df9f;font-variant-numeric:tabular-nums}.mx-power-diff{font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.mx-power-diff.is-equal{color:#9f91aa}.mx-inspect-details>.mx-power-readout{margin-top:12px}.mx-offer>.mx-power-readout{margin-top:-3px}.mx-filters{flex-wrap:wrap}.mx-filters>.mx-select:last-child{min-width:150px}
@media(max-width:1250px){.mx-power-part{padding:8px 6px;gap:5px 3px}.mx-power-part strong{font-size:13px}.mx-power-diff{font-size:10px}}
@media(max-width:700px){.mx-power-part{grid-template-columns:1fr;text-align:center}.mx-power-part small{font-size:8px}.mx-power-part strong{font-size:13px}.mx-filters>.mx-select{flex:1 1 40%;min-width:0}.mx-filters>.mx-select:last-child{min-width:0}.mx-power-diff{font-size:10px}.mx-inspect-details .mx-power-part{grid-template-columns:1fr auto;text-align:left;padding:9px}}
/* A settlement is still waiting, even after a successful sale or gold claim. */
.mx-settlement{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;min-width:0;padding:16px 0;margin:8px 0;background:radial-gradient(ellipse at center,#9b641b26,transparent 75%);color:#fff0d3;text-align:left}
.mx-settlement .mx-settlement-title{font:700 17px/1.4 Cinzel,Georgia,serif;color:#ffdc87;overflow-wrap:anywhere}
.mx-settlement .mx-settlement-date{grid-column:1/-1;font-weight:700;font-size:15px;line-height:1.5;color:#fff0d3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.mx-settlement .mx-settlement-help{grid-column:1/-1;margin:0;max-width:62ch;font-size:13px;line-height:1.55;color:#ead6b5;overflow-wrap:anywhere}
.mx-settlement .mx-money{align-self:start;white-space:nowrap}
.mx-owned-row>.mx-settlement{flex:1 0 100%;box-sizing:border-box}
.mx-sale-receipt{box-sizing:border-box;max-height:calc(100dvh - 140px);overflow-y:auto;align-items:flex-start;flex-wrap:wrap}
.mx-sale-receipt>.mx-primary{flex-basis:100%}
.mx-sale-receipt .mx-settlement{grid-template-columns:minmax(0,1fr);padding:12px 0 0;margin:8px 0 0}
.mx-sale-receipt .mx-settlement .mx-settlement-title{font-size:16px;color:#ffdc87}
.mx-sale-receipt .mx-settlement .mx-settlement-date{font-size:14px}
@media(max-width:700px){.mx-settlement{gap:7px 10px}.mx-settlement .mx-settlement-title{font-size:16px}.mx-sale-receipt{max-height:calc(100dvh - 110px)}}

/* Sold receipts keep amounts and their meaning together at every width. */
.mx-owned-row.mx-sale{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px 16px;align-items:center}
.mx-owned-row.mx-sale>.mx-item-art{width:64px;height:64px}
.mx-sale .mx-sale-heading h3{font-size:19px;line-height:1.35;margin:0 0 6px;overflow-wrap:anywhere}
.mx-sale .mx-item-meta{font-size:12px;margin:0}
.mx-sale>.mx-sale-amounts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px 0;border-block:1px solid #b5925755}
.mx-sale-amount small{display:block;font-size:12px;line-height:1.4;color:#dbcdbb;margin-bottom:7px}
.mx-sale-amount .mx-money{display:flex;flex-wrap:wrap;gap:6px}
.mx-sale-amount .mx-currency{gap:5px}
.mx-sale-amount .mx-currency b{font-size:19px}
.mx-sale-amount .mx-currency img{width:22px;height:22px}
.mx-sale>.mx-sale-status,.mx-sale>.mx-sale-help,.mx-sale>.mx-settlement,.mx-sale>button{grid-column:1/-1}
.mx-sale>.mx-sale-status{margin:0;color:#f5d78c;font-size:14px;font-weight:700;line-height:1.4}
.mx-sale>.mx-sale-status.is-collected{color:#a4e8be}
.mx-sale>.mx-sale-help{margin:0;color:#e0d5df;font-size:13px;line-height:1.55}
html.gv-v2 .mx-owned-row.mx-sale>button{justify-self:start;width:min(100%,300px);min-height:48px;margin:0;font-size:12px!important;background-size:contain!important}
@media(max-width:700px){.mx-owned-row.mx-sale{gap:10px;padding:16px}.mx-sale .mx-sale-heading h3{font-size:17px}.mx-sale>.mx-sale-amounts{gap:8px}.mx-sale-amount small{font-size:11px}.mx-sale-amount .mx-currency b{font-size:17px}}

.mx-gear-limit{grid-column:1/-1;color:#f4dfaa;font-size:14px;line-height:1.6;padding:16px 0;margin:12px 0;border-block:1px solid #b9985c66}
.mx-gear-limit.is-future{color:#ffbeac;font-weight:700}

.mx-food-prices{display:flex;flex-direction:column;align-items:center;gap:3px}.mx-food-prices>small{font-size:12px;color:#dbc9a8}.mx-food-quantity{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0}.mx-food-quantity input{width:80px;min-height:44px;font-size:18px;text-align:center;background:#25192f;color:#ffe3a1;border:1px solid #ac8750}

.mx-food-unit{display:flex;align-items:center;justify-content:center;gap:8px;color:#ddccae;font-size:12px}.mx-food-unit .mx-currency b{font-size:15px}.mx-food-unit .mx-currency img{width:18px;height:18px}

.mx-offer-price:has(>small){gap:4px}.mx-offer-price>small{font-size:9px;line-height:1.1;max-width:48px}
