/* Seller marketplace reference layout, scoped so Admin and the other shop pages retain their styles. */
body.market-reference-layout{--mr-bg:#101926;--mr-panel:#152130;--mr-line:#243244;--mr-text:#f1f3f9;--mr-muted:#8d9aae;--mr-purple:var(--market-accent,#8052f7);--mr-blue:var(--market-secondary,#315de0);background:var(--mr-bg)!important;color:var(--mr-text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;color-scheme:dark}
.market-reference-layout *{box-sizing:border-box}
.market-reference-layout .mr-store-panel[hidden]{display:none!important}
.market-reference-layout .market-app-shell{background:var(--mr-bg)!important;min-height:100vh!important;overflow:clip}
.market-reference-layout .market-app-content{width:min(var(--market-max-width,1440px),100%)!important;margin:0 auto!important;padding:24px 24px 36px!important;min-height:0!important}
.market-reference-layout a{color:inherit;text-decoration:none}
.market-reference-layout button,.market-reference-layout input,.market-reference-layout select{font:inherit}
.market-reference-layout button,.market-reference-layout select{cursor:pointer}
.market-reference-layout :is(a,button,input,select,summary):focus-visible{outline:2px solid #baa2ff;outline-offset:3px}
.mr-icon{width:20px;height:20px;flex:0 0 auto;display:inline-block;vertical-align:middle;stroke:currentColor!important;filter:none!important}
.mr-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.market-reference-layout .market-app-topbar{display:flex!important;align-items:center!important;gap:20px!important;min-height:64px!important;padding:0 max(24px,calc((100vw - var(--market-max-width,1440px))/2 + 24px))!important;background:#182333!important;border-bottom:1px solid #243043!important;box-shadow:none!important;position:relative!important;flex-wrap:nowrap!important}
body.market-reference-layout .market-app-brand{display:flex!important;flex:none;gap:9px!important;min-width:0}
body.market-reference-layout .market-app-brand img{display:block;height:30px!important;max-width:150px!important;object-fit:contain}
body.market-reference-layout .market-app-brand-text{font-size:15px!important;color:#f5f7fb;display:none!important}
body.market-reference-layout .market-app-nav{display:flex!important;align-items:stretch;gap:8px!important;flex-shrink:0}
body.market-reference-layout .market-app-nav a{font-size:12px!important;white-space:nowrap;padding:23px 7px!important;border-radius:0!important;color:#a3adbd!important;background:transparent!important;box-shadow:none!important;line-height:18px}
body.market-reference-layout .market-app-nav a.active{color:#fff!important;box-shadow:inset 0 -2px 0 var(--mr-purple)!important;font-weight:650}
body.market-reference-layout .market-app-search{flex:1;min-width:150px;margin-left:auto}
body.market-reference-layout .market-app-search input{width:100%;height:36px!important;padding:0 12px!important;color:#d5deec!important;border:1px solid #2a384b!important;border-radius:8px!important;background:#202d40!important;box-shadow:none!important;font-size:11px!important}
body.market-reference-layout .market-app-user{display:flex;align-items:center;gap:11px!important;flex:none}
body.market-reference-layout .market-app-balance{height:34px;display:flex;gap:5px;align-items:center;padding:0 8px!important;background:#202c3d!important;border:0!important;border-radius:8px!important;font-size:11px}
body.market-reference-layout .market-app-balance .icon{width:21px!important;height:21px!important}
body.market-reference-layout .market-app-avatar{height:32px!important;width:32px!important;min-width:32px;border:2px solid #c4c8d1!important;display:grid;place-items:center;border-radius:50%;overflow:hidden;color:#fff}
.mr-brand-mark{display:grid;place-items:center;width:27px;height:29px;border-radius:8px;background:linear-gradient(145deg,#557dff,#315de0);color:#fff;font-size:19px;font-weight:800;box-shadow:inset 0 1px 0 #ffffff36}
.mr-brand-name{font-size:14px;font-weight:700;color:#f0f3fa;letter-spacing:-.02em;white-space:nowrap}
.mr-topbar-icon{position:relative;display:grid;place-items:center;width:28px;height:36px;color:#bac5d6!important}
.mr-topbar-icon .mr-icon{width:19px;height:19px}
.mr-notice-dot{position:absolute;right:2px;top:7px;width:7px;height:7px;border:1px solid #182333;background:#ff5787;border-radius:50%}
.mr-hero{position:relative;isolation:isolate;overflow:hidden;min-height:230px;padding:28px 28px 24px;border:1px solid #303146;border-radius:12px;background:linear-gradient(110deg,#1c233b 0%,#24213f 56%,#312250 100%)}
.mr-hero-art{position:absolute;z-index:-1;inset:0 0 0 55%;overflow:hidden;opacity:.96}
.mr-hero-art:after{position:absolute;content:"";inset:0;background:linear-gradient(90deg,#24213f 0%,rgba(36,33,63,.34) 26%,transparent 57%);pointer-events:none}
.mr-hero-art img{position:absolute;right:0;top:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:100% 25%}
.mr-hero-art--banner img{width:250%;object-position:100% 12%}
.mr-hero-content{max-width:790px;width:68%;position:relative;z-index:1}
.mr-hero-title{display:flex;gap:18px;align-items:center}
.mr-hero-icon{display:grid;place-items:center;flex:none;width:58px;height:58px;border-radius:9px;background:linear-gradient(140deg,#965bff,#683ce3);box-shadow:inset 0 1px 0 #ffffff30,0 8px 25px #09051c28;color:#fff}
.mr-hero-icon .mr-icon{width:31px;height:31px;stroke-width:1.7}
.mr-hero h1{font-size:34px;letter-spacing:-.035em;font-weight:750;line-height:1.16;color:#fff;margin:0 0 9px}
.mr-hero-title p{font-size:13px;line-height:1.5;color:#aab5c8;margin:0}
.mr-hero-features{display:flex;flex-wrap:wrap;gap:12px 23px;margin:24px 0 22px;color:#ccd2df;font-size:11px}
.mr-hero-features span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.mr-hero-features .mr-icon{width:16px;height:16px;color:#a176ff}
.mr-hero-search{display:flex;gap:0;width:100%;margin:0;padding:0;background:transparent;border:0}
.mr-search-field{display:flex;align-items:center;gap:10px;min-width:0;flex:1;height:46px;padding:0 14px;margin:0;font-weight:400!important;color:#8a9bb4;background:#202d44;border:1px solid #35445b;border-radius:8px 0 0 8px}
.mr-search-field .mr-icon{width:18px;height:18px}
.mr-search-field input{width:100%;height:100%;min-width:0;border:0!important;background:transparent!important;color:#e5edf8!important;box-shadow:none!important;padding:0!important;margin:0!important;border-radius:0!important;font-size:13px!important}
.market-reference-layout input::placeholder{color:#8794aa;opacity:1}
.mr-search-button{height:46px;border:1px solid #8e62ff;border-radius:0 8px 8px 0;padding:0 27px;background:linear-gradient(135deg,#945dff,#743ff1);color:#fff;font-size:12px;font-weight:650;white-space:nowrap;box-shadow:0 6px 16px #8052f72b}
.mr-search-button:hover{filter:brightness(1.08)}
.mr-hero--simple .mr-hero-art{display:none}.mr-hero--simple .mr-hero-content{width:100%;max-width:none}
.mr-hero--cover .mr-hero-art{inset:0;opacity:.35}.mr-hero--cover .mr-hero-art:after{background:linear-gradient(90deg,#192339e6,transparent)}
.mr-section{margin-top:30px;scroll-margin-top:18px}
.mr-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 17px}
.mr-section-head>div{min-width:0}
.mr-section-head h2{display:flex;align-items:center;gap:9px;margin:0;color:#f3f4f8;font-size:19px;line-height:1.3;letter-spacing:-.02em;font-weight:700}
.mr-section-head h2 .mr-icon{color:#a688ff;width:21px;height:21px}
.mr-section-head p{font-size:12px;color:var(--mr-muted);margin:8px 0 0;line-height:1.5}
.mr-text-link{font-size:12px;white-space:nowrap;color:#8e8aff!important;line-height:1.5}
.mr-text-link:hover{color:#bab7ff!important}
.mr-seller-tools{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:-3px 0 13px;font-size:11px;color:var(--mr-muted)}
.mr-seller-tools label{display:flex;align-items:center;gap:8px;margin:0;font-size:11px}
.mr-seller-tools select{height:30px;width:auto;border:1px solid #2b3a4d;border-radius:6px;padding:0 25px 0 9px;background:#182536;color:#c2cbda;font-size:11px;margin:0}
.mr-filter-button{padding:0 10px;height:30px;border:1px solid #344563;background:#243554;color:#dce5f7;border-radius:6px;font-size:11px}
.mr-seller-grid{display:grid;grid-template-columns:repeat(var(--market-seller-cols,6),minmax(0,1fr));gap:14px}
.mr-seller-card{position:relative;min-width:0;padding:22px 12px 12px;border:1px solid var(--mr-line);border-radius:9px;background:linear-gradient(145deg,#172334,#14202d);text-align:center;display:flex;flex-direction:column;align-items:center;transition:border-color .16s,background .16s}
.mr-seller-card:hover{border-color:#4c4a80;background:#19283b}
.mr-active-pill{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:3px 6px;border-radius:5px;background:#164a35;color:#80e2ab;font-size:9px;line-height:1.1;white-space:nowrap;font-weight:650}
.mr-active-pill i{width:5px;height:5px;flex:none;background:#63d596;border-radius:50%}
.mr-seller-card>.mr-active-pill{position:absolute;right:7px;top:7px}
.mr-seller-avatar{display:block;width:62px;height:62px;flex:none;margin:0 auto 13px;border-radius:50%;padding:2px;background:linear-gradient(135deg,#efcf90,#a889fa,#ecb7da)}
.mr-seller-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #172334;background:#24344e}
.mr-seller-card h3{font-size:14px;font-weight:650;line-height:1.3;margin:0 0 17px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f4f5fa}
.mr-seller-counts{display:grid;gap:5px;color:#a7b5c9;font-size:12px;line-height:1.25}
.mr-seller-counts b{font-weight:650;color:#efd597}
.mr-seller-rating{display:flex;align-items:center;justify-content:center;gap:5px;min-height:20px;margin:14px 0;color:#c0c6d4;font-size:11px;flex-wrap:wrap}
.mr-seller-rating .mr-icon{width:14px;height:14px;color:#f7cc55;fill:#f7cc55;stroke-width:1}
.mr-seller-rating strong{color:#eee4bd;font-weight:650}
.mr-store-button{display:flex;align-items:center;justify-content:center;min-height:36px;width:100%;margin-top:auto;background:#2b3e60;color:#e6edf8!important;border:1px solid #344c72;border-radius:6px;font-size:11px;font-weight:650}
.mr-store-button:hover{background:#354e79}
.mr-game-tabs{display:flex;align-items:center;gap:8px;margin-bottom:18px;overflow-x:auto;max-width:100%;padding:1px 0 4px;scrollbar-width:thin;scrollbar-color:#344057 transparent}
.mr-game-tabs a{display:flex;flex:none;align-items:center;justify-content:center;min-height:36px;padding:0 17px;border-radius:6px;background:#1b2838;color:#b5bfd0;font-size:12px;white-space:nowrap;border:1px solid transparent}
.mr-game-tabs a.is-active{background:#34439b;color:#fff;border-color:#444dae}
.mr-game-tabs a:hover{background:#293a51}
.mr-product-grid{display:grid;grid-template-columns:repeat(var(--market-product-cols,4),minmax(0,1fr));gap:15px}
.mr-product-card{min-width:0;overflow:hidden;border:1px solid var(--mr-line);border-radius:9px;background:#152231;display:flex;flex-direction:column;transition:border-color .16s}
.mr-product-card:hover{border-color:#435375}
.mr-product-image{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;background:#1c2d44}
.mr-product-image>img{width:100%;height:100%;object-fit:cover;display:block}
.mr-product-kind,.mr-product-code{position:absolute;top:8px;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 6px;border-radius:5px;font-size:9px;line-height:1.4;background:#6c58d4ed;color:white;border:1px solid #bcaff34d}
.mr-product-kind{left:8px}.mr-product-code{right:8px;background:#131f32d9;max-width:38%;font-size:8px}
.mr-product-body{display:flex;flex-direction:column;flex:1;padding:13px 13px 11px;min-width:0}
.mr-product-body h3{font-size:14px;line-height:1.45;margin:0 0 5px;color:#f0f3fa;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em;overflow-wrap:anywhere}
.mr-product-category{color:#8f9eb2;font-size:11px;line-height:1.4;margin:0 0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mr-product-price{color:#f5f5f7;font-weight:700;font-size:19px;line-height:1.2;margin-bottom:14px;overflow-wrap:anywhere}
.mr-product-counts{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:10px;color:#9fb0c5;line-height:1.4;flex-wrap:wrap}
.mr-product-counts span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.mr-product-counts .mr-icon{width:12px;height:12px;color:#8c98be}
.mr-product-seller{display:flex;gap:6px;align-items:center;margin-top:auto;padding-top:12px;font-size:10px;color:#93acdb!important;min-width:0}
.mr-product-seller>img{width:18px;height:18px;border:1px solid #b294d1;border-radius:50%;object-fit:cover;flex:none}
.mr-product-seller>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mr-product-seller .mr-icon{width:12px;height:12px;color:#a18aff;margin-left:auto}
.mr-warranty{font-size:10px;color:#a5bad5;display:flex;align-items:center;gap:4px;margin-top:9px;line-height:1.4}.mr-warranty .mr-icon{height:12px;width:12px;flex:none;color:#9e83ee}
.mr-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;text-align:center;background:#14202f;border:1px solid var(--mr-line);border-radius:9px;padding:34px 20px;min-height:150px;color:#bcc8db}
.mr-empty>.mr-icon{width:31px;height:31px;color:#9d82f4}.mr-empty strong{font-size:15px;color:#e0e6f2}.mr-empty p{font-size:12px;margin:0;line-height:1.6;color:var(--mr-muted)}
.mr-bottom-links{display:flex;flex-wrap:wrap;gap:22px;justify-content:center;font-size:12px;color:#91a0b8;border-top:1px solid #253144;padding-top:24px;margin-top:32px}.mr-bottom-links a{display:flex;align-items:center;gap:7px}.mr-bottom-links .mr-icon{width:16px;height:16px;color:#ac92ff}
body.market-reference-layout .market-app-footer{width:min(var(--market-max-width,1440px),100%);margin:0 auto!important;padding:18px 24px 24px!important;background:transparent!important;border-top:1px solid #243043!important;font-size:11px;color:#8b99ae!important}
.mr-breadcrumb{display:flex;align-items:center;gap:10px;font-size:13px;color:#91a2bc;margin-bottom:19px;overflow-wrap:anywhere}.mr-breadcrumb>span:last-child{color:#d4deed}
.mr-store-hero{border-bottom:1px solid #263447;padding-bottom:25px}
.mr-store-cover{height:var(--market-store-banner-height,230px);border-radius:9px;overflow:hidden;background:radial-gradient(ellipse at 75% 30%,#415b9e 0%,transparent 54%),linear-gradient(115deg,#1e2257,#174169 55%,#352561)}
.mr-store-cover img{width:100%;height:100%;object-fit:cover;display:block}
.mr-store-profile{display:grid;grid-template-columns:140px minmax(0,1fr) 155px 112px;gap:24px;align-items:start;padding:20px 20px 0}
.mr-store-avatar{position:relative;width:140px;height:140px;border-radius:50%;padding:4px;background:linear-gradient(135deg,#f3d598,#9c7afb,#ecb4e6);object-fit:cover;border:5px solid var(--mr-bg);margin-top:-83px;box-shadow:0 0 0 1px #b4a1cb}
.mr-store-identity{min-width:0}.mr-store-name{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 9px}.mr-store-name h1{font-size:29px;line-height:1.25;letter-spacing:-.02em;font-weight:700;color:#fff;overflow-wrap:anywhere;margin:0}.mr-store-name>.mr-active-pill{font-size:10px;padding:4px 7px}
.mr-rank-mark{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#9189fa;color:white}.mr-rank-mark .mr-icon{width:12px;height:12px;stroke-width:3}
.mr-rank-label{display:inline-flex;gap:5px;align-items:center;font-size:11px;color:#e5c98b;padding:4px 7px;border:1px solid #78694665;border-radius:5px;background:#63522e45}.mr-rank-label .mr-icon{width:13px;height:13px}
.mr-store-identity p{margin:10px 0 5px;font-size:12px;color:#a0aec4;line-height:1.6;overflow-wrap:anywhere}.mr-store-identity>small{font-size:10px;color:#788ba9}
.mr-store-actions{display:grid;gap:9px}.mr-follow-form{margin:0}.mr-follow-button,.mr-contact-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 12px;width:100%;border:1px solid #dce1ed;border-radius:6px;background:#f2f5fb;color:#253771!important;font-size:12px;font-weight:650;white-space:nowrap}.mr-follow-button .mr-icon,.mr-contact-button .mr-icon{width:16px;height:16px}.mr-contact-button{border-color:#345ad5;background:#3155d0;color:#f6f8ff!important}
.mr-store-qr{width:112px;display:flex;flex-direction:column;align-items:center;gap:7px;align-self:start;margin-top:-1px}.mr-store-qr>svg{width:106px;height:106px;padding:3px;border-radius:6px;background:#fff}.mr-store-qr span{font-size:9px;color:#a6b2c4;white-space:nowrap}
.mr-store-stats{display:flex;align-items:center;flex-wrap:wrap;gap:18px 34px;margin:24px 20px 0;max-width:650px}.mr-store-stats>div{display:grid;grid-template-columns:auto auto;column-gap:7px;row-gap:5px;align-items:center}.mr-store-stats .mr-icon{width:19px;height:19px;color:#a18aff}.mr-store-stats>div:nth-child(3) .mr-icon{color:#f5cb60;fill:#f5cb60}.mr-store-stats>div:nth-child(4) .mr-icon{color:#9fce81}.mr-store-stats strong{font-size:19px;color:#dce2f4;font-weight:650}.mr-store-stats small{grid-column:2;font-size:10px;color:#8698b3}
.mr-store-tabs{display:flex;gap:12px;border-bottom:1px solid #263447;margin:0 0 22px;overflow-x:auto;padding-top:13px;scrollbar-width:thin}.mr-store-tabs a{display:block;white-space:nowrap;padding:15px 19px;font-size:13px;color:#aab7cb;min-height:47px}.mr-store-tabs a.is-active{background:linear-gradient(0deg,#49338d4d,transparent);color:white;border-bottom:2px solid #9269ff;font-weight:650}
.mr-store-products{margin-top:0}.mr-store-search{display:grid;grid-template-columns:minmax(0,1fr) 160px 155px auto;align-items:start;gap:12px;margin-bottom:20px;border:0;background:transparent;padding:0}.mr-store-search .mr-search-field{height:42px;border-radius:7px;background:#1b293b;border-color:#28374b;font-size:12px}.mr-select-field{margin:0;min-width:0}.mr-select-field select{height:42px;width:100%;margin:0;padding:0 12px;border:1px solid #28374b;border-radius:7px;background:#1b293b;color:#b6c3d7;font-size:12px}.mr-store-search>.mr-search-button{height:42px;border-radius:7px;padding:0 18px}
.mr-extra-filters{grid-column:1/-1;color:#8f9fb8;font-size:11px;margin-top:-5px}.mr-extra-filters summary{cursor:pointer;width:fit-content;padding:5px 0}.mr-extra-filters>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;padding:12px;background:#152233;border:1px solid #29384c;border-radius:8px;align-items:end}.mr-extra-filters label{font-size:11px;margin:0;color:#9eacc3}.mr-extra-filters input,.mr-extra-filters select{font-size:12px;height:38px;margin-top:6px;color:#cad4e4;background:#1b2b43;border-color:#354560;box-shadow:none}
.mr-buy-button{display:flex;justify-content:center;align-items:center;margin-top:15px;min-height:42px;font-size:12px;font-weight:650;background:linear-gradient(120deg,#365bdc,#2945be);border:1px solid #3e63d5;border-radius:6px;color:white!important}.mr-buy-button.is-unavailable{background:#273951;border-color:#344b68;color:#b5c2d4!important}
.mr-detail-panel{padding:22px;margin-top:22px;border:1px solid #29384b;border-radius:9px;background:#142130;scroll-margin-top:20px}.mr-detail-panel h2{margin:0 0 12px;color:#e7edf8;font-size:18px}.mr-detail-panel p{color:#9fadc1;font-size:13px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-line}.mr-detail-code{font-size:11px!important}.mr-store-detail-section{scroll-margin-top:20px}.mr-contact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mr-contact-list :is(a,.mr-contact-copy){display:flex;gap:12px;align-items:center;padding:12px 14px;border:1px solid #2d4057;border-radius:7px;background:#1a2a3c;min-width:0}.mr-contact-list :is(a,.mr-contact-copy)>.mr-icon{color:#a28fe2}.mr-contact-list :is(a,.mr-contact-copy)>span{display:grid;gap:4px;min-width:0;flex:1}.mr-contact-list b{font-size:12px;color:#d7e2f3}.mr-contact-list small{font-size:10px;color:#8fa1b9;overflow-wrap:anywhere}
.market-reference-layout .pagination{display:flex;flex-wrap:wrap;margin-top:18px;gap:7px}.market-reference-layout .pagination a{background:#1d2d44;color:#aab8d3;border-color:#36475f;font-size:12px}.market-reference-layout .pagination a.active{background:#5746ba;color:white}
.market-reference-layout .mr-store-detail-section .panel{background:#142130!important;color:#dce5f4!important;border:1px solid #29384b!important;border-radius:9px!important;box-shadow:none!important;padding:22px!important}
.market-reference-layout .mr-store-detail-section :is(h2,h3,strong){color:#e2eaf7!important}.market-reference-layout .mr-store-detail-section :is(p,small,.small-text){color:#98aac2!important;font-size:12px;line-height:1.6}
.market-reference-layout .mr-store-detail-section .message{background:#19293d!important;border:1px solid #2d4057!important;border-radius:8px!important;color:#c5d2e5!important}
.market-reference-layout .mr-store-detail-section .badge{background:#263e62!important;color:#b7cff4!important;border-color:#38557b!important}.market-reference-layout .mr-store-detail-section .btn{background:#283b55!important;color:#c9d9ed!important;border-color:#405878!important}
.market-reference-layout .mr-store-detail-section .empty{background:#19283a!important;color:#9cacc4!important;border-color:#2e4056!important}
@media(max-width:760px){.mr-hero-title{max-width:100%!important}.market-reference-layout .mr-store-detail-section .panel{padding:17px!important}}
@media(min-width:1500px){.mr-hero-content{width:65%}.mr-hero{min-height:250px;padding-top:31px}.mr-hero-art{left:52%}.mr-hero-art--banner img{width:250%}}
@media(max-width:1200px){body.market-reference-layout .market-app-topbar{gap:12px!important}body.market-reference-layout .market-app-nav{gap:2px!important}body.market-reference-layout .market-app-nav a{font-size:11px!important;padding-left:6px!important;padding-right:6px!important}.mr-seller-grid{grid-template-columns:repeat(var(--market-seller-cols-tablet,4),minmax(0,1fr))}.mr-hero-content{width:72%}.mr-hero h1{font-size:31px}.mr-store-profile{grid-template-columns:115px minmax(0,1fr) 135px 92px;gap:18px;padding:18px 10px 0}.mr-store-avatar{width:115px;height:115px;margin-top:-70px}.mr-store-qr{width:92px}.mr-store-qr>svg{width:90px;height:90px}.mr-store-name h1{font-size:25px}}
@media(max-width:1000px){body.market-reference-layout .market-app-search{display:none!important}.mr-store-search{grid-template-columns:minmax(0,1fr) 130px 140px auto}.mr-hero-features{gap:13px 16px}.mr-product-grid{gap:12px}.mr-product-body{padding:11px}.mr-product-code{display:none}.mr-store-profile{grid-template-columns:100px minmax(0,1fr) 125px;gap:18px}.mr-store-avatar{width:100px;height:100px;margin-top:-64px}.mr-store-qr{grid-column:3;grid-row:2;justify-self:center}.mr-store-identity{grid-row:1/3}.mr-store-actions{grid-column:3}}
@media(max-width:760px){body.market-reference-layout .market-app-topbar{padding:12px 16px 0!important;gap:10px!important;flex-wrap:wrap!important;min-height:0!important}body.market-reference-layout .market-app-brand{margin-right:auto}body.market-reference-layout .market-app-brand img{max-width:145px!important;height:29px!important}body.market-reference-layout .market-app-user{gap:8px!important}body.market-reference-layout .market-app-nav{order:3;width:100%;display:flex!important;gap:12px!important;overflow-x:auto;scrollbar-width:none}body.market-reference-layout .market-app-nav a{font-size:12px!important;padding:13px 1px!important}body.market-reference-layout .market-app-nav::-webkit-scrollbar{display:none}body.market-reference-layout .market-app-content{padding:18px 16px 28px!important}.mr-topbar-icon{width:24px}.mr-hero{padding:22px 19px 19px;min-height:244px;border-radius:10px}.mr-hero-content{width:100%;max-width:none}.mr-hero-title{gap:12px;max-width:86%}.mr-hero-icon{width:47px;height:47px;border-radius:8px}.mr-hero-icon .mr-icon{width:26px;height:26px}.mr-hero h1{font-size:28px;line-height:1.2;margin-bottom:7px}.mr-hero-title p{font-size:12px;line-height:1.5;max-width:370px}.mr-hero-art{left:38%;opacity:.38}.mr-hero-art:after{background:linear-gradient(90deg,#24213f 0%,#24213f90 28%,transparent 100%)}.mr-hero-art--banner img{width:250%;object-position:right 18%}.mr-hero-features{font-size:10px;gap:12px 16px;margin:21px 0}.mr-hero-search{gap:8px}.mr-search-field{border-radius:7px;height:44px;padding:0 10px}.mr-search-field input{font-size:12px!important}.mr-search-button{height:44px;border-radius:7px;padding:0 15px;font-size:12px}.mr-seller-grid{grid-template-columns:repeat(var(--market-seller-cols-mobile,2),minmax(0,1fr));gap:12px}.mr-seller-card{padding-top:28px}.mr-seller-avatar{width:66px;height:66px}.mr-seller-card h3{font-size:15px;margin-bottom:14px}.mr-seller-counts{font-size:12px}.mr-store-button{min-height:40px;font-size:12px}.mr-section{margin-top:26px}.mr-section-head{gap:10px;margin-bottom:14px;align-items:flex-start}.mr-section-head h2{font-size:18px}.mr-section-head p{font-size:11px;margin-top:6px}.mr-section-head>.mr-text-link{font-size:11px;padding-top:4px}.mr-seller-tools{margin:0 0 12px}.mr-seller-tools select,.mr-filter-button{height:34px;font-size:11px}.mr-game-tabs{gap:6px;margin-bottom:14px}.mr-game-tabs a{min-height:36px;padding:0 12px;font-size:11px}.mr-product-grid{grid-template-columns:repeat(var(--market-product-cols-mobile,2),minmax(0,1fr));gap:12px}.mr-product-body h3{font-size:13px}.mr-product-price{font-size:18px;margin-bottom:12px}.mr-product-counts{font-size:9px;gap:4px}.mr-product-kind{font-size:8px;top:6px;left:6px}.mr-product-body{padding:11px 10px}.mr-product-seller{font-size:10px}.mr-product-category{font-size:10px;margin-bottom:10px}.mr-store-cover{height:var(--market-store-banner-height-mobile,190px)}.mr-store-profile{grid-template-columns:80px minmax(0,1fr);padding:16px 0 0;gap:12px 15px}.mr-store-avatar{width:80px;height:80px;margin-top:-56px;border-width:4px}.mr-store-identity{grid-column:2;grid-row:1/3}.mr-store-name{gap:7px}.mr-store-name h1{font-size:23px}.mr-store-name>.mr-active-pill{font-size:9px}.mr-store-identity p{font-size:11px;margin-top:9px}.mr-store-actions{grid-column:1/-1;grid-row:3;display:flex;gap:10px}.mr-store-actions>*{flex:1}.mr-follow-button,.mr-contact-button{min-height:42px;font-size:12px}.mr-store-qr{grid-column:1;grid-row:2;width:72px;margin:0;justify-self:start}.mr-store-qr>svg{width:70px;height:70px}.mr-store-qr span{font-size:7px}.mr-store-stats{margin:21px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mr-store-stats>div{column-gap:4px;grid-template-columns:auto minmax(0,1fr)}.mr-store-stats .mr-icon{width:15px;height:15px}.mr-store-stats strong{font-size:17px}.mr-store-stats small{font-size:9px;white-space:nowrap}.mr-store-tabs{gap:0;margin-bottom:17px;padding-top:8px}.mr-store-tabs a{padding:13px 14px;font-size:12px}.mr-store-search{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.mr-store-search .mr-search-field{grid-column:1/-1}.mr-store-search>.mr-search-button{grid-column:1/-1;width:100%}.mr-extra-filters>div{grid-template-columns:1fr 1fr}.mr-extra-filters label:first-child{grid-column:1/-1}.mr-extra-filters>div>.mr-text-link{grid-column:1/-1;min-height:32px;display:flex;align-items:center}.mr-detail-panel{padding:17px}.mr-contact-list{grid-template-columns:1fr}.mr-buy-button{min-height:40px;font-size:11px}.mr-bottom-links{gap:15px;font-size:11px;margin-top:26px}body.market-reference-layout .market-app-footer{padding:17px 16px 22px!important;gap:12px!important;flex-wrap:wrap!important;font-size:10px}.mr-breadcrumb{font-size:12px;gap:7px}}
@media(max-width:380px){body.market-reference-layout .market-app-user{gap:5px!important}body.market-reference-layout .market-app-brand img{max-width:118px!important}.mr-topbar-icon{display:none}.mr-hero-title{max-width:100%;gap:9px}.mr-hero h1{font-size:25px}.mr-hero-title p{font-size:11px}.mr-hero-icon{width:40px;height:40px}.mr-hero-features{font-size:9px;gap:11px 12px}.mr-search-button{padding:0 11px;font-size:11px}.mr-search-field input{font-size:11px!important}.mr-section-head h2{font-size:16px}.mr-section-head h2 .mr-icon{width:18px;height:18px}.mr-seller-card{padding-left:9px;padding-right:9px}.mr-seller-card h3{font-size:13px}.mr-seller-counts{font-size:11px}.mr-product-body h3{font-size:12px}.mr-product-price{font-size:16px}.mr-product-counts{font-size:8px}.mr-product-kind{font-size:7px}.mr-product-body{padding:10px 8px}.mr-store-name h1{font-size:21px}.mr-store-tabs a{padding-left:11px;padding-right:11px}.mr-store-stats strong{font-size:15px}.mr-store-stats small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.market-reference-layout *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Filters and saved products share the same server-backed catalog. */
.mr-extra-filters summary{display:flex;align-items:center;gap:6px;min-height:38px}
.mr-extra-filters summary .mr-icon{width:15px;height:15px}
.mr-extra-filters>div{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}
.mr-extra-filters input[type=number]{min-width:0;width:100%}
.mr-filter-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 14px;color:#a9b7ca;font-size:12px}
.mr-filter-status>a{display:flex;align-items:center;gap:5px}.mr-filter-status .mr-icon{width:15px;height:15px}
.mr-applied-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:17px}
.mr-applied-filters:empty{display:none}
.mr-applied-filters>a{display:inline-flex;align-items:center;gap:9px;max-width:100%;padding:6px 10px;border:1px solid #46577a;border-radius:20px;background:#253352;color:#d1def4;font-size:11px;overflow-wrap:anywhere}
.mr-applied-filters>a span{font-size:17px;color:#a5b6d4;line-height:1}.mr-applied-filters>a:hover{border-color:#9585ec}
.mr-applied-filters>.mr-clear-filters{border-color:transparent;background:transparent;color:#9f97ff}
.mr-filter-note{color:#a9b7ca;font-size:12px}.mr-filter-note a{color:#ab9fff;text-decoration:underline}
.mr-stock-label{display:flex;align-items:center;gap:4px;font-size:10px;margin-top:10px;color:#73d6a4}.mr-stock-label .mr-icon{width:12px;height:12px}.mr-stock-label.is-empty{color:#f0b284}
.mr-warranty{min-height:28px;margin-top:5px}
.mr-card-actions{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px;align-items:stretch;margin-top:12px}
.mr-card-actions .mr-buy-button{margin:0;min-height:40px;padding:0 6px}
.mr-favorite-form{padding:0!important;margin:0!important;border:0!important;background:transparent!important;display:flex}
.mr-favorite-button{display:flex;align-items:center;justify-content:center;width:40px;min-height:40px;padding:0;border:1px solid #3b4c68;border-radius:6px;background:#20304a;color:#aebed8!important;cursor:pointer}
.mr-favorite-button .mr-icon{width:18px;height:18px}.mr-favorite-button:hover{border-color:#aa8bd3;color:#d9c9f5!important}
.mr-favorite-button[aria-pressed=true]{border-color:#ba5e87;background:#46273f;color:#ff96bf!important}.mr-favorite-button[aria-pressed=true] .mr-icon{fill:currentColor}
.mr-favorite-button:disabled{opacity:.55;cursor:wait}

/* Seller product detail uses its existing purchase and cart forms. */
.market-reference-product .page-head{margin:0 0 22px;gap:15px}.market-reference-product .page-head h1{color:#f0f4fc;font-size:28px;overflow-wrap:anywhere;line-height:1.25}.market-reference-product .page-head p,.market-reference-product .eyebrow{color:#91a1bb}
.market-reference-product .split{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start}
.market-reference-product :is(.panel,.passport-panel){background:#152231;border:1px solid #2b3b51;border-radius:12px;min-width:0;box-shadow:none;color:#c9d5e7}
.market-reference-product .panel{padding:22px}.market-reference-product .detail-media{width:100%;max-height:460px;object-fit:contain;border-radius:9px;background:#101b2c}
.market-reference-product .detail-description{color:#bac8da;line-height:1.8;overflow-wrap:anywhere;margin-top:20px;white-space:pre-wrap}
.market-reference-product .price-lg{color:#f4f6ff}.market-reference-product .source-label{color:#9eafc7}.market-reference-product .source-label a{color:#b2a0ff;text-decoration:underline;text-underline-offset:3px}
.market-reference-product .summary-line{border-color:#304159;color:#9db0cd}.market-reference-product .summary-line strong{color:#e5eaf5}
.market-reference-product .clone-stock-detail{background:#1c2d44;border:1px solid #314665;color:#a8bada}.market-reference-product .clone-stock-detail strong{color:#eef2ff}
.market-reference-product .btn{box-shadow:none;background:linear-gradient(120deg,#365bdc,#2945be);border-color:#4568dd;color:#fff}
.market-reference-product .btn:is(.soft,.ghost){background:#223451;border-color:#3b5278;color:#c9d8f4}
.market-reference-product label{color:#b9c8dd}.market-reference-product .gift-buy-box{border-color:#344766;background:#192a40;color:#b9cae2}
.market-reference-product :is(input,textarea,select){background:#1d2e46;border-color:#3a4e6d;color:#dce6f8;box-shadow:none}
.market-reference-product .priority-summary{background:#233453;border:1px solid #3d5076;color:#b6c7e4;box-shadow:none}.market-reference-product .priority-summary b{color:#fff;font-size:25px}
.market-reference-product .empty{background:#1b2b40;color:#aabbcf;border-color:#354764}
.market-reference-product .market-app-content>.page-head{display:flex!important}
.market-reference-product .clone-stock-detail>div{background:#20324e!important;border:1px solid #3a5074;color:#a8bada}
.market-reference-product .clone-stock-detail>div strong{color:#edf3ff!important}.market-reference-product .clone-stock-detail>div span{color:#a8bad7!important}
.market-reference-product .priority-summary small{color:#b8cae6!important}
.mr-quantity{display:flex;align-items:center;gap:0;width:fit-content;margin-top:8px;border:1px solid #3e567c;border-radius:8px;overflow:hidden}
.mr-quantity input{width:70px;text-align:center;margin:0!important;padding:0 5px!important;height:44px;border:0!important;border-radius:0!important;appearance:textfield;-moz-appearance:textfield}
.mr-quantity input::-webkit-inner-spin-button,.mr-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.mr-quantity button{height:44px;width:42px;background:#293e60;border:0;color:#e0eaff;font-size:22px}
.mr-quantity button:hover{background:#364f78}.mr-quantity-hint{display:block;font-size:11px;color:#92a6c4;line-height:1.6;margin-top:9px;font-weight:400}
.mr-purchase-actions{margin-top:17px}.mr-purchase-actions .field-error{color:#ffa4b6}
@media(max-width:800px){
 .mr-extra-filters>div{grid-template-columns:repeat(2,minmax(0,1fr))}.mr-extra-filters label:first-child{grid-column:auto}
 .market-reference-product .split{grid-template-columns:minmax(0,1fr)}.market-reference-product .page-head h1{font-size:24px}.market-reference-product .panel{padding:17px}
 .market-reference-product:has(.mr-purchase-actions) .market-app-footer{padding-bottom:110px!important}
 .mr-purchase-actions{position:fixed;z-index:40;bottom:0;left:0;right:0;padding:12px max(16px,calc((100vw - 740px)/2)) calc(12px + env(safe-area-inset-bottom));margin:0;background:#172337f5;border-top:1px solid #42557a;box-shadow:0 -6px 25px #080f244d;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,1fr);align-items:center;gap:6px 13px}
 .mr-purchase-actions .priority-summary{padding:0;margin:0;background:transparent;border:0}.mr-purchase-actions .priority-summary br{display:none}.mr-purchase-actions .priority-summary small{display:block;font-size:10px}.mr-purchase-actions .priority-summary b{display:block;font-size:22px;overflow-wrap:anywhere;line-height:1.35}
 .mr-purchase-actions .btn{margin:0;min-height:44px;font-size:12px}.mr-purchase-actions .field-error{grid-column:1/-1;margin:0;font-size:11px}
}

/* Store service tab: premium responsive cards and empty state */
.mr-store-services{scroll-margin-top:18px}.mr-store-tabs a.is-active{color:#fff;background:linear-gradient(180deg,rgba(137,92,255,.20),rgba(137,92,255,.04));border-bottom:2px solid #9868ff;font-weight:700}.mr-store-services .mr-section-head{margin-bottom:16px}.mr-store-services .mr-eyebrow{display:block;color:#a98aff;font-size:11px;font-weight:800;letter-spacing:.16em;margin-bottom:7px}.mr-store-services .mr-section-head h2{margin:0;color:#f2f5ff;font-size:clamp(20px,2.5vw,27px)}.mr-store-services .mr-section-head p{margin:7px 0 0;color:#a9b6cb;font-size:13px;line-height:1.6}.mr-service-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:32px 18px;border:1px dashed #35445b;border-radius:16px;background:linear-gradient(135deg,rgba(129,91,255,.09),rgba(24,39,59,.8));color:#dbe5f7}.mr-service-empty>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(142,99,255,.16);color:#b49aff;font-size:25px}.mr-service-empty strong{font-size:16px}.mr-service-empty p{max-width:390px;margin:0;color:#9eacc1;font-size:13px;line-height:1.65}.mr-store-services .mr-product-grid{margin-top:0}@media(max-width:760px){.mr-store-tabs{scroll-snap-type:x proximity}.mr-store-tabs a{scroll-snap-align:start}.mr-store-services .mr-section-head h2{font-size:20px}.mr-service-empty{padding:27px 15px}}
