/* MP Shop: live preview card, category bar and item list */
#shc .mx{display:block;padding-bottom:0}
.mx-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:2px 0 16px}
.mx-hd h2{margin:0;font-size:30px;line-height:1;font-weight:850;letter-spacing:-.04em}
.mx-hd p{margin:7px 0 0;font-size:14px;color:var(--m)}
.mx-bal{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:99px;flex:none;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
.mx-bal b{font-size:14.5px;font-weight:750;font-variant-numeric:tabular-nums}.mx-bal .mp-i{width:16px;height:16px}
/* live preview */
.mx-card{position:relative;border-radius:24px;overflow:hidden;background:#101018;border:1px solid rgba(255,255,255,.09);box-shadow:0 20px 40px -24px #000}
.mx-ban{position:relative;height:96px;border-radius:0}
.mx-ban canvas{position:absolute;inset:0;width:100%;height:100%}
.mx-body{position:relative;padding:0 16px 16px}
.mx-av{position:relative;display:inline-block;margin-top:-40px}
.mx-av:before{content:"";position:absolute;inset:-18px;border-radius:50%;background:radial-gradient(closest-side,var(--glow),transparent);opacity:.75}
.mx-av .pav{position:relative;filter:drop-shadow(0 0 14px var(--glow))}
.mx-av .pav-in{box-shadow:0 0 0 4px #101018}
.mx-id{margin-top:8px}
.mx-id .pname{margin:0!important;font-size:22px!important;text-align:left}
.mx-id small{display:block;margin-top:2px;font-size:13.5px;color:var(--m)}
.mx-bdgs{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.mx-bdgs span{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px 0 5px;border-radius:99px;font-size:11.5px;font-weight:650;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08)}
.mx-bdgs :where(i){width:15px;height:15px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:8.5px;background:rgba(255,255,255,.14)}
.mx-app{border-radius:24px!important;border:1px solid rgba(255,255,255,.1)}
/* category bar */
.mx-cats{position:sticky;top:-1px;z-index:5;display:flex;gap:6px;overflow-x:auto;margin:14px calc(var(--pad) * -1) 6px;padding:10px var(--pad);scrollbar-width:none;background:rgba(16,16,24,.9);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.mx-cats::-webkit-scrollbar{display:none}
.mx-cat{flex:none;display:flex;flex-direction:column;align-items:center;gap:6px;width:72px;font-size:11.5px;font-weight:650;color:var(--m)}
.mx-cat span{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);transition:background .2s,color .2s}
.mx-cat svg{width:22px;height:22px}
.mx-cat.on{color:var(--t)}
.mx-cat.on span{background:#fff;color:#0b0b10;border-color:transparent}
/* item list */
.mx-list{border-radius:20px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.07)}
.mx-row{position:relative;display:flex;align-items:center;gap:14px;width:100%;padding:10px 14px 10px 10px;text-align:left;transition:background .15s}
.mx-row+.mx-row:before{content:"";position:absolute;left:80px;right:0;top:0;height:1px;background:rgba(255,255,255,.06)}
.mx-row:active{background:rgba(255,255,255,.04)}
.mx-row.sel{background:rgba(255,255,255,.07)}
.mx-row.sel .mx-th{box-shadow:0 0 0 2px #fff}
.mx-th{width:56px;height:56px;flex:none;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.07)}
.mx-th>*{max-width:100%;max-height:100%}
.mx-th .sw-bg{width:100%;height:100%;aspect-ratio:auto;border-radius:0}
.mx-th .sw-th{width:100%;height:100%;aspect-ratio:auto;border-radius:0}
.mx-th .sw-fr,.mx-th .sw-nm{width:100%;height:100%}
.mx-th .sw-fr .pav{--s:46px!important;width:46px;height:46px}
.mx-th .sw-nm b{font-size:22px}
.mx-th .sw-ac{width:30px;height:30px;margin:0}
.mx-bd{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:800;background:rgba(255,255,255,.1);color:#fff}
.mx-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mx-tx b{font-size:15.5px;font-weight:650}
.mx-tx small{font-size:12.5px;color:var(--m)}
.mx-tag{flex:none;display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 12px;border-radius:99px;font-style:normal;font-size:13px;font-weight:700;color:var(--m);background:rgba(255,255,255,.06);font-variant-numeric:tabular-nums}
.mx-tag.price{color:#ffe7a3;background:rgba(251,191,36,.1)}
.mx-tag.price .mp-i{width:13px;height:13px}
.mx-tag.on{color:#4ade80;background:rgba(74,222,128,.12)}
/* bottom bar: only while something is selected */
#shc .mx-act{position:sticky;bottom:0;z-index:6;margin:12px calc(var(--pad) * -1) 0;padding:12px var(--pad) calc(12px + var(--sab));background:rgba(16,16,24,.92);-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);border-top:1px solid rgba(255,255,255,.08)}
#shc .mx-act:not(.on){padding:0;border:0;height:calc(10px + var(--sab));background:none}
.mx-act .mpa{display:flex;align-items:center;gap:12px}
.mx-act .mpa-i{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mx-act .mpa-i b{font-size:16px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx-act .mpa-i small{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--m)}
.mx-act .mpa-i small .mp-i{width:14px;height:14px}
.mx-go{flex:none;min-width:120px;height:48px;padding:0 22px;border-radius:14px;background:#fff;color:#0b0b10;font-size:15.5px;font-weight:700}
.mx-go:active{transform:scale(.97)}
.mx-go:disabled{background:rgba(255,255,255,.1);color:rgba(245,245,247,.55)}
.mx-act .th-pick{margin-bottom:10px}
/* stream kit pane inside the new shop */
#shc .mx .skp{margin-top:4px}
#shc .skp .mps-act{position:static;margin:6px 0 0;padding:0;background:none;border:0;-webkit-backdrop-filter:none;backdrop-filter:none}
#shc .skp .mps-act .btn{width:100%;height:52px;min-height:0;display:grid;place-items:center;padding:0;border-radius:14px;background:#fff;color:#0b0b10}
#shc .skp .mps-act .btn:disabled{background:rgba(255,255,255,.1);color:rgba(245,245,247,.6)}
#shc .skp-bundle,#shc .skp-it{border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.08)}
#shc .skp-bundle.sel,#shc .skp-it.sel{border-color:transparent;box-shadow:0 0 0 2px #fff}
#shc .skp-lead{font-size:14px!important;line-height:1.45!important;margin:12px 2px 14px!important;color:var(--m)!important}
.mx-go{display:grid;place-items:center;text-align:center}
/* stream kit pane: readable button + compact intro */
#shc .skp .btn,#shc .skp .btn *{color:#0b0b10!important;-webkit-text-fill-color:#0b0b10!important;font-size:16px!important;font-weight:700!important}
#shc .skp .btn:disabled,#shc .skp .btn:disabled *{color:rgba(245,245,247,.6)!important;-webkit-text-fill-color:rgba(245,245,247,.6)!important}
#shc .skp .skp-try,#shc .skp .skp-try *{color:var(--m)!important;-webkit-text-fill-color:var(--m)!important}
#shc .skp p.skp-lead{font-size:14px!important;line-height:1.45!important}
#shc .skp-tx b{font-size:15px!important}#shc .skp-tx small{font-size:12px!important}
#shc .skp-bundle em,#shc .skp-it em{font-size:13px!important}
/* sell an owned item back for half its price (tap twice) */
.mx-sell{flex:none;display:inline-flex;align-items:center;gap:5px;height:48px;padding:0 14px;border-radius:14px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.85);font-size:14px;font-weight:700;white-space:nowrap}
.mx-sell .mp-i{width:15px;height:15px}
.mx-sell.armed{background:rgba(248,113,113,.16);color:#fca5a5;box-shadow:inset 0 0 0 1px rgba(248,113,113,.45)}
.mx-act .mpa:has(.mx-sell) .mx-go{min-width:0;padding:0 18px}
