:root {
    --mk-card: #111111;
    --mk-card2: #171717;
    --mk-line: #232323;
    --mk-line2: #2e2e2e;
    --mk-t1: #ffffff;
    --mk-t2: #b4b4b4;
    --mk-t3: #8a8a8a;
    --mk-ok: #22c55e;
    --mk-bad: #ef4444;
    --mk-common: #a3a3a3;
    --mk-rare: #3b82f6;
    --mk-epic: #a855f7;
    --mk-legendary: #f59e0b;
    --mk-mythic: #ec4899;
    --mk-ease: cubic-bezier(.2, .7, .2, 1);
    --mk-out: cubic-bezier(.2, .8, .2, 1);
    --mk-spring: cubic-bezier(.34, 1.36, .64, 1);
    --mk-sheet: cubic-bezier(.32, .72, 0, 1);
}
.rar-c-common { color: var(--mk-common); }
.rar-c-rare { color: var(--mk-rare); }
.rar-c-epic { color: var(--mk-epic); }
.rar-c-legendary { color: var(--mk-legendary); }
.rar-c-mythic { color: var(--mk-mythic); }
html.mkt-lock { overflow: hidden; }
body:has(.mkt) .cf-title { overflow: hidden; }
body:has(.mkt) .cf-box { max-width: min(420px, calc(100vw - 32px)); }
body:has(.mkt) .cf-overlay:not(.open) { transition: opacity .16s ease-in; }
body:has(.mkt) .cf-overlay:not(.open) .cf-box { transition: opacity .1s ease-in, transform .14s ease-in; transform: scale(.97); }
.trd-sell .mkt-cart-box { overflow: clip; }

.mkt { padding: 84px 0 64px; }
body:has(.mkt-wrap) { --page-w: 1680px; --page-pad: clamp(16px, 3vw, 48px); }
.mkt-wrap { max-width: var(--page-w); margin: 0 auto; padding: 0 var(--page-pad); }

.mkt-head { display: flex; align-items: center; gap: 20px; padding: 18px 0 16px; }
.mkt-h1 { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--mk-t1); }
.mkt-sp { flex: 1; }
.mkt-seg { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--mk-line); border-radius: 12px; }
.mkt-seg a { height: 38px; padding: 0 16px; border-radius: 9px; display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--mk-t2); text-decoration: none; transition: background .15s, color .15s; }
.mkt-seg a:hover { color: var(--mk-t1); }
.mkt-seg a.on { color: var(--mk-t1); }
.mkt-seg { display: grid; grid-auto-flow: column; }
.mkt-seg a { grid-row: 1; }
.mkt-seg a:nth-of-type(1) { grid-column: 1; view-transition-name: mk-seg-1; }
.mkt-seg a:nth-of-type(2) { grid-column: 2; view-transition-name: mk-seg-2; }
.mkt-seg-pill { grid-row: 1; grid-column: 1; border-radius: 9px; background: var(--mk-card2); view-transition-name: mk-seg-pill; }
.mkt-seg-pill.is-trade { grid-column: 2; }
::view-transition-group(mk-seg-pill) { animation-duration: .34s; animation-timing-function: var(--mk-out); }
.mkt-hbtn { position: relative; height: 44px; padding: 0 16px; border: 1px solid var(--mk-line2); border-radius: 12px; background: none; color: var(--mk-t1); display: flex; align-items: center; gap: 10px; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
@media (hover: hover) { .mkt-hbtn:hover { background: var(--mk-card2); } }
.mkt-hbtn > i { font-size: 16px; }
.mkt-hbtn .n, .mkt-tb .n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: #000; font-size: 13px; font-weight: 800; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.mkt-hbtn .n[hidden], .mkt-tb .n[hidden] { display: none; }
.mk-roll-w { display: inline-block; white-space: nowrap; }
.mk-roll { display: inline-block; height: var(--lh); overflow: hidden; vertical-align: top; }
.mk-roll > span { display: block; }
.mk-roll > span > span { display: block; height: var(--lh); line-height: var(--lh); }
.mkt-burst { position: fixed; left: 0; top: 0; z-index: 95; width: 0; height: 0; pointer-events: none; }
.mkt-burst > span { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.mkt-burst > .is-spark { left: -1px; top: -5px; width: 2.5px; height: 10px; border-radius: 2px; }

.mkt .mk-couponbar, .mkt .mk-clanbar { margin: 0 0 14px; }

.mkt-bar { position: sticky; top: 60px; z-index: 40; display: flex; gap: 10px; padding: 12px 0; background: #080808; border-bottom: 1px solid var(--mk-line); transition: transform .2s var(--mk-ease); }
.mkt-bar::before { content: ''; position: absolute; left: -100vw; right: -100vw; top: 0; bottom: -1px; background: #080808; z-index: -1; border-bottom: 1px solid var(--mk-line); }
.mkt-search { position: relative; flex: 1; min-width: 0; height: 50px; }
.mkt-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--mk-t2); font-size: 17px; pointer-events: none; }
.mkt-search input { text-overflow: ellipsis; width: 100%; height: 100%; background: var(--mk-card); border: 1px solid var(--mk-line2); border-radius: 12px; padding: 0 84px 0 50px; color: var(--mk-t1); font: 500 16px var(--body); outline: none; transition: border-color .15s; -webkit-appearance: none; appearance: none; }
.mkt-search input::-webkit-search-cancel-button { display: none; }
.mkt-search input::placeholder { color: var(--mk-t3); }
.mkt-search input:focus { border-color: #8a8a8a; }
.mkt-sclear { position: absolute; right: 46px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--mk-t2); cursor: pointer; display: grid; place-items: center; font-size: 15px; }
@media (hover: hover) { .mkt-sclear:hover { color: var(--mk-t1); background: var(--mk-card2); } }
.mkt-sclear[hidden] { display: none; }
.mkt-kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); border: 1px solid var(--mk-line2); border-radius: 6px; padding: 1px 8px; color: var(--mk-t3); font: 600 13px var(--body); pointer-events: none; }
.mkt-search input:focus ~ .mkt-kbd, .mkt-search input:not(:placeholder-shown) ~ .mkt-kbd { display: none; }
.mkt-search input:not(:placeholder-shown) ~ .mkt-sclear { right: 8px; }
.mkt-anchor { position: relative; flex: none; }
.mkt-tb { position: relative; height: 50px; padding: 0 18px; border: 1px solid var(--mk-line2); border-radius: 12px; background: var(--mk-card); color: var(--mk-t1); display: flex; align-items: center; gap: 10px; font: 600 16px/1 var(--body); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.mkt-tb[aria-expanded="true"] { background: var(--mk-card2); }
@media (hover: hover) { .mkt-tb:hover { background: var(--mk-card2); } }
.mkt-tb.on { border-color: #5a5a5a; }
.mkt-tb > i { font-size: 16px; color: var(--mk-t2); }
.mkt-tb.on > i { color: var(--mk-t1); }
.mkt-cartmini { display: none; }
.mkt-bar.is-stuck .mkt-cartmini { display: flex; }

.mkt-sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; background: #121212; border: 1px solid var(--mk-line2); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.55); animation: mkt-drop .16s var(--mk-ease); }
.mkt-sug[hidden] { display: none; }
@keyframes mkt-drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.mkt-sug-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 6px; font-size: 13px; font-weight: 600; color: var(--mk-t3); }
.mkt-sug-clr { border: 0; background: none; color: var(--mk-t2); font: 600 13px var(--body); cursor: pointer; }
.mkt-sug-clr:hover { color: var(--mk-t1); }
.mkt-sug-row { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 7px 10px; border: 0; border-radius: 10px; background: none; color: var(--mk-t1); font: 600 15px/1.25 var(--body); text-align: left; cursor: pointer; }
.mkt-sug-row:hover, .mkt-sug-row.on { background: var(--mk-card2); }
.mkt-sug-row { position: relative; }
.mkt-sug-hl { position: absolute; left: 8px; right: 8px; top: 0; border-radius: 10px; background: #222; opacity: 0; pointer-events: none; transition: transform .2s var(--mk-out), opacity .15s; }
.mkt-sug-hl.on { opacity: 1; }
.mkt-sug.has-hl .mkt-sug-row:hover, .mkt-sug.has-hl .mkt-sug-row.on { background: none; }
.mkt-sug.is-enter .mkt-sug-g { animation: mkt-sug-g .24s var(--mk-out) both; animation-delay: calc(var(--i) * 50ms); }
@keyframes mkt-sug-g { from { opacity: 0; transform: translateY(-6px); } }
.mkt-sug-row.is-recent { font-weight: 500; }
.mkt-sug-row > i { width: 20px; flex: none; text-align: center; color: var(--mk-t2); font-size: 15px; }
.mkt-sug-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mkt-sug-l, .mkt-sug-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkt-sug-sub { font-size: 13px; font-weight: 500; color: var(--mk-t3); display: flex; align-items: center; }
.mkt-sug-l mark { background: none; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mkt-sug-n { flex: none; color: var(--mk-t3); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mkt-sug-p { flex: none; display: flex; align-items: center; gap: 5px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mkt-sug-th { position: relative; flex: none; width: 64px; height: 36px; border-radius: 6px; overflow: hidden; background: var(--mk-card2); }
.mkt-sug-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mkt-sug-th.is-deco { width: 36px; border-radius: 50%; }
.mkt-sug-th.is-deco img { object-fit: contain; }
.mkt-sug-th .nsfw-tag { padding: 1px 3px; font-size: .55rem; }
.mkt-sug-all { color: var(--mk-t2); }
.mkt-sug .mkt-sug-all { position: sticky; bottom: -8px; z-index: 1; width: calc(100% + 16px); margin: 4px -8px 0; padding: 7px 18px; border-radius: 0; background: #121212; box-shadow: 0 -1px 0 var(--mk-line); }
.mkt-sug.has-hl .mkt-sug-all:hover, .mkt-sug.has-hl .mkt-sug-all.on { background: #222; }
.mkt-sug-sub span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mkt-coin { width: 16px; height: 16px; flex: none; }

.mkt-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; }
.mkt-pop[hidden] { display: none; }
.mkt-pop-box { min-width: 240px; padding: 8px; background: #121212; border: 1px solid var(--mk-line2); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.55); opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: 85% 0; transition: opacity .16s, transform .26s var(--mk-out); }
.mkt-pop.open .mkt-pop-box { opacity: 1; transform: none; }
.mkt-sheet-h { display: flex; align-items: center; gap: 10px; padding: 8px 8px 10px 10px; font-size: 17px; font-weight: 800; color: var(--mk-t1); }
.mkt-sheet-h > span:first-of-type { flex: 1; min-width: 0; }
.mkt-pop .mkt-sheet-h { display: none; }
.mkt-xbtn { width: 38px; height: 38px; flex: none; border: 1px solid var(--mk-line2); border-radius: 10px; background: none; color: var(--mk-t2); display: grid; place-items: center; font-size: 15px; cursor: pointer; }
@media (hover: hover) { .mkt-xbtn:hover { color: var(--mk-t1); background: var(--mk-card2); } }
.mkt-opt { width: 100%; height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--mk-t2); font: 600 15px var(--body); cursor: pointer; text-align: left; }
.mkt-opt span { flex: 1; white-space: nowrap; }
.mkt-opt i { font-size: 14px; }
.mkt-opt-ok { opacity: 0; }
@media (hover: hover) { .mkt-opt:hover { background: var(--mk-card2); color: var(--mk-t1); } }
.mkt-opt.on { color: var(--mk-t1); }
.mkt-opt.on .mkt-opt-ok { opacity: 1; color: var(--mk-t1); }
.mkt-filt .mkt-pop-box { width: 420px; padding: 0; display: flex; flex-direction: column; max-height: max(360px, calc(100vh - 260px)); }
.mkt-bar.is-stuck .mkt-filt .mkt-pop-box { max-height: calc(100vh - 150px); }
.mkt-bar:has(.mkt-pop:not([hidden])) { z-index: 400; transform: none; }
.mkt-filt-body { overflow-y: auto; padding: 8px 18px 4px; }
.mkt-fs { padding: 12px 0; border-bottom: 1px solid var(--mk-line); }
.mkt-fs:last-child { border-bottom: 0; }
.mkt-fs h3 { font-size: 14px; font-weight: 700; color: var(--mk-t3); margin: 0 0 10px; }
.mkt-fopts { display: flex; flex-wrap: wrap; gap: 8px; }
.mkt-fo { height: 38px; padding: 0 13px; border: 1px solid var(--mk-line2); border-radius: 10px; background: none; color: var(--mk-t2); font: 600 15px var(--body); display: flex; align-items: center; gap: 8px; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .2s var(--mk-spring); }
.mkt-fo:active { transform: scale(.95); }
@media (hover: hover) { .mkt-fo:hover { color: var(--mk-t1); background: var(--mk-card2); } }
.mkt-fo.on { background: #fff; color: #000; border-color: #fff; }
.mkt-fo i { font-size: 13px; }
.mkt-fo.on i[class*="rar-c-"] { filter: saturate(1.3) brightness(.85); }
.mkt-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mkt-range label { min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--mk-t3); }
.mkt-range input { height: 42px; padding: 0 12px; border: 1px solid var(--mk-line2); border-radius: 10px; background: var(--mk-card); color: var(--mk-t1); font: 600 15px var(--body); outline: none; min-width: 0; }
.mkt-range input:focus { border-color: #8a8a8a; }
.mkt-filt-foot { display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid var(--mk-line); }

.mkt-btn { height: 46px; padding: 0 18px; border: 1px solid var(--mk-line2); border-radius: 12px; background: none; color: var(--mk-t1); font: 700 16px/1 var(--body); display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; cursor: pointer; transition: background .15s, transform .08s; }
.mkt-btn:active:not(:disabled) { transform: scale(.97); }
.mkt-btn.is-primary { background: #fff; color: #000; border-color: #fff; }
@media (hover: hover) {
    .mkt-btn:hover:not(:disabled) { background: var(--mk-card2); }
    .mkt-btn.is-primary:hover:not(:disabled) { background: #e8e8e8; }
}
.mkt-btn.is-big { height: 54px; font-size: 18px; font-weight: 800; }
.mkt-btn:disabled { background: var(--mk-card2); border-color: var(--mk-line2); color: var(--mk-t3); cursor: default; }

.mkt-chips { display: flex; gap: 8px; padding: 14px 0 4px; overflow-x: auto; scrollbar-width: none; }
.mkt-chips::-webkit-scrollbar { display: none; }
.mkt-chips[hidden], .mkt-chips:empty { display: none; }
.mkt-chip { flex: none; height: 40px; padding: 0 14px; border: 1px solid var(--mk-line2); border-radius: 10px; display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--mk-t2); text-decoration: none; transition: background .15s, color .15s; white-space: nowrap; }
.mkt-chip > i:first-child { font-size: 14px; }
@media (hover: hover) { .mkt-chip:hover { color: var(--mk-t1); background: var(--mk-card); } }
.mkt-chip.on { background: none; color: #000; border-color: transparent; }
.mkt-chip, .mkt-qf { position: relative; isolation: isolate; --pill: #fff; --pill-line: #fff; }
.mkt-qf { --pill: #1f1f1f; --pill-line: #3a3a3a; }
.mkt-chip.on::before, .mkt-qf.on::before, .mkt-chip.is-pill-out::before, .mkt-qf.is-pill-out::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--pill); border: 1px solid var(--pill-line); }
.mkt-chip.is-pill-in::before, .mkt-qf.is-pill-in::before { animation: mkt-pill-in .34s var(--mk-spring) both; }
.mkt-chip.is-pill-out::before, .mkt-qf.is-pill-out::before { animation: mkt-pill-out .22s var(--mk-out) both; }
.mkt-chip.is-pill-in { z-index: 1; background: #080808; animation: mkt-ink-in .22s both; }
@keyframes mkt-pill-in { from { opacity: 0; transform: scale(.6, .5); } }
@keyframes mkt-pill-out { to { opacity: 0; transform: scale(.6, .5); } }
@keyframes mkt-ink-in { from { color: var(--mk-t2); } }
.mkt-achip { background: #1f1f1f; border-color: #3a3a3a; color: var(--mk-t1); }
.mkt-achip .mkt-x { color: var(--mk-t3); font-size: 13px; }
.mkt-chip-t { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.mkt-vsep { flex: none; width: 1px; background: var(--mk-line2); margin: 6px 4px; }
@media (min-width: 761px) {
    .mkt-achip.is-quick, .mkt-vsep.is-quick { display: none; }
    .mkt-chips { flex-wrap: wrap; overflow: visible; }
}

.mkt-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 0 18px; }
.mkt-meta:not(:has(*)) { display: none; }
.mkt-cnt { font-size: 16px; color: var(--mk-t3); font-weight: 600; margin-right: 8px; }
.mkt-cnt b { color: var(--mk-t1); font-weight: 800; font-variant-numeric: tabular-nums; }
.mkt-qf { height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--mk-line2); color: var(--mk-t2); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; text-decoration: none; transition: background .15s, color .15s; }
@media (hover: hover) { .mkt-qf:hover { color: var(--mk-t1); background: var(--mk-card); } }
.mkt-qf.on { background: none; border-color: transparent; color: var(--mk-t1); }
.mkt-qf i { font-size: 13px; }
.mkt-qf .mkt-x { color: var(--mk-t3); }

.mkt-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(244px, 1fr)); gap: 18px; }
.mkt-grid { transition: opacity .2s; }
.mkt-grid > .mkc { z-index: 1; }
.mkt-grid > .mkc.is-ghost { z-index: 0; margin: 0; pointer-events: none; }
.mkt.is-wait .mkt-grid { opacity: .45; }
.mkt-skel::after { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.06) 50%, transparent 75%); transform: translateX(-100%); animation: mkt-shim 1.1s linear infinite; }
@keyframes mkt-shim { to { transform: translateX(100%); } }
.mkt-skel { position: relative; overflow: hidden; border: 1px solid var(--mk-line); border-radius: 14px; background: var(--mk-card); }
.mkt-skel-pv { display: block; aspect-ratio: 16 / 9; background: #151515; }
.mkt-skel-b { display: flex; flex-direction: column; gap: 9px; padding: 14px 14px 16px; }
.mkt-skel-b span { display: block; width: 72%; height: 14px; border-radius: 7px; background: #1b1b1b; }
.mkt-skel-b span:nth-child(2) { width: 46%; height: 12px; }
.mkt-skel-b span:nth-child(3) { width: 34%; height: 20px; margin-top: 8px; }

.mkt .mkc, .mkl-rel .mkc { position: relative; isolation: isolate; background: var(--mk-card); border: 1px solid var(--mk-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .3s var(--mk-out), border-color .2s, opacity .2s; content-visibility: auto; contain-intrinsic-size: auto 250px; }
.mkc:hover { border-color: var(--mk-line2); background: var(--mk-card); }
.mkc .mkc-pv { position: relative; aspect-ratio: 16 / 9; background: #151515; overflow: hidden; display: block; z-index: auto; }
.mkc .mkc-img, .mkc .mk-hvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: scale .45s var(--mk-out); }
@media (hover: hover) { .mkc:hover .mkc-img { scale: 1.05; } }
.mkc.rar-epic { --rc: var(--mk-epic); }
.mkc.rar-legendary { --rc: var(--mk-legendary); }
.mkc.rar-mythic { --rc: var(--mk-mythic); }
.mkc.rar-epic::before, .mkc.rar-legendary::before, .mkc.rar-mythic::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(90% 34% at 50% 104%, color-mix(in srgb, var(--rc) 18%, transparent), transparent 100%); opacity: 0; transition: opacity .3s var(--mk-out); }
@media (hover: hover) and (pointer: fine) {
    .mkc:not(.is-out):hover::before { opacity: 1; }
    .mkc:hover { transform: perspective(900px) translateY(-3px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
    .mkc .mkc-pv::after { content: ''; position: absolute; left: -50%; top: -50%; width: 200%; height: 200%; z-index: 2; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,.2), rgba(255,255,255,.05) 16%, rgba(255,255,255,0) 32%); opacity: 0; transform: translate(var(--gx, 0), var(--gy, 0)); transition: opacity .3s; }
    .mkc:hover .mkc-pv::after { opacity: 1; }
}
@media (hover: none) {
    .mkc:active { transform: scale(.975); transition-duration: .12s; }
}
.mkc .mk-hvid { z-index: 1; opacity: 0; transition: opacity .18s; pointer-events: none; }
.mkc .mk-hvid.on { opacity: 1; }
.mkc.is-out .mkc-pv > img, .mkc.is-out .mkc-pv .mk-pa { opacity: .45; }
.mkc-deco { position: absolute; inset: 0; display: grid; place-items: center; background: #151515; }
.mkc-av { position: relative; width: 58%; aspect-ratio: 1; max-width: 150px; }
.mkc-face { position: absolute; inset: 14.8%; width: 70.4%; height: 70.4%; border-radius: 50%; object-fit: cover; }
.mkc-av::before { content: ''; position: absolute; inset: 14.8%; border-radius: 50%; background: #2a2a2a; }
.mkc-dimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.mkc-tags { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; gap: 6px; pointer-events: none; }
.mkc-tag { height: 30px; min-width: 30px; padding: 0 9px; border-radius: 8px; background: rgba(0,0,0,.72); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; white-space: nowrap; }
.mkc-tag img { width: 16px; height: 16px; }
.mkc .mk-vbadge { position: absolute; top: 10px; right: 10px; z-index: 3; width: 30px; height: 30px; border-radius: 8px; background: rgba(0,0,0,.72); color: #fff; display: grid; place-items: center; font-size: 11px; pointer-events: none; transition: opacity .15s; }
@media (hover: hover) { .mkc:hover .mk-vbadge { opacity: 0; } }
.mkc-acts { position: absolute; right: 10px; bottom: 10px; z-index: 4; display: flex; gap: 6px; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s var(--mk-ease); }
.mkc:hover .mkc-acts, .mkc-acts:focus-within { opacity: 1; transform: none; }
.mkc .mkc-act { position: relative; inset: auto; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(0,0,0,.78); color: #fff; display: grid; place-items: center; font-size: 15px; opacity: 1; backdrop-filter: none; cursor: pointer; transition: background .15s, transform .08s; }
.mkc .mkc-act:hover { background: rgba(0,0,0,.92); }
.mkc.is-pack .mkc-act.mk-fav, .mkc.is-pack .mkc-act.mk-cadd { inset: auto; }
.mkc .mkc-act i { font-size: 15px; }
.mkc .mk-fav.on { color: var(--mk-bad); border: 0; }
.mkc .mk-cadd.on { color: var(--mk-ok); background: rgba(0,0,0,.78); border: 0; }
.mk-fav.on i { animation: none; }
.mkc .mkc-act.is-busy { opacity: .6; }
.mkc-body { padding: 12px 14px 14px; display: flex; flex-direction: column; min-width: 0; }
.mkc-name { font-size: 16px; font-weight: 700; color: var(--mk-t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.mkc-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.mkc-sub { margin-top: 3px; font-size: 14px; font-weight: 500; color: var(--mk-t2); display: flex; align-items: center; gap: 7px; min-width: 0; }
.mkc-sub span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkc-sub i { flex: none; font-size: 13px; color: var(--mk-t3); width: 14px; text-align: center; }
.mkc-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; min-height: 26px; }
.mkc-price { font-size: 19px; font-weight: 800; color: var(--mk-t1); display: flex; align-items: center; gap: 6px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mkc-price.is-free { color: var(--mk-ok); font-size: 17px; }
.mkc-price.is-muted { color: var(--mk-t2); font-size: 16px; font-weight: 700; }
.mkc-coin { width: 17px; height: 17px; flex: none; }
.mkc-up { font-size: 12px; color: var(--mk-t3); }
.mkc-trade { font-size: 13px; color: var(--mk-t3); }
.mkc-own { color: var(--mk-t2); font-weight: 700; font-size: 15px; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.mkc-own i { font-size: 13px; color: var(--mk-ok); }
.mkc-rar { margin-left: auto; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.mkc-rar i { font-size: 12px; }
.rar-rare .mkc-rar { color: var(--mk-rare); }
.rar-epic .mkc-rar { color: var(--mk-epic); }
.rar-legendary .mkc-rar { color: var(--mk-legendary); }
.rar-mythic .mkc-rar { color: var(--mk-mythic); }
.mkc-price { min-width: 0; }
.mkc-rar { flex: none; }
.mkc { container-type: inline-size; }
@container (max-width: 300px) { .mkc-rar span { display: none; } }
body:has(.mkt) .nav.scrolled::before { background: #080808; }
body:has(.mkt) .nav.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
.mkc .mk-pa { background: #151515; }

.mkt-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 96px 16px 112px; }
.mkt-empty[hidden] { display: none; }
.mkt-empty:not([hidden]) { animation: mkt-rise .32s .08s var(--mk-out) both; }
.mkt-empty-t { font-size: 22px; font-weight: 800; color: var(--mk-t1); max-width: 640px; overflow-wrap: anywhere; }
.mkt-empty-s { font-size: 16px; color: var(--mk-t2); }
.mkt-empty-s a { color: var(--mk-t1); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mkt-empty-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.mkt-more { display: flex; justify-content: center; padding: 28px 0 20px; }
.mkt-more[hidden] { display: none; }
.mkt-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--mk-line2); border-top-color: var(--mk-t1); animation: mkt-spin .7s linear infinite; }
.mkt-more.is-loading .mkt-spin { display: inline-block; }
@keyframes mkt-spin { to { transform: rotate(360deg); } }

.mkt-fly { position: fixed; z-index: 500; border-radius: 10px; overflow: hidden; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.6); will-change: transform, opacity; }
.mkt-fly img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mkt-fly.is-trail { box-shadow: none; }

.mkt-cart { position: fixed; inset: 0; z-index: 450; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; padding: 16px; transition: background-color .2s; }
.mkt-cart[hidden] { display: none; }
.mkt-cart.open { background: rgba(0,0,0,.66); }
.mkt-cart-box { width: min(520px, 100%); max-height: min(720px, calc(100vh - 32px)); display: flex; flex-direction: column; background: #111; border: 1px solid var(--mk-line2); border-radius: 18px; padding: 12px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .18s, transform .26s var(--mk-out); }
.mkt-cart.open .mkt-cart-box { opacity: 1; transform: none; }
.mkt-cart-cap { font-size: 14px; font-weight: 600; color: var(--mk-t3); }
.mkt-cart-list { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 2px 2px 8px; }
.mkt-cart-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: opacity .18s, transform .18s ease-in; }
@media (hover: hover) { .mkt-cart-row:hover { background: var(--mk-card2); } }
.mkt-cart-row.is-out { opacity: 0; transform: translateX(16px); }
.mkt-cart-row.is-blocked .mkt-cart-th { opacity: .5; }
.mkt-cart-th { position: relative; flex: none; width: 88px; height: 50px; border-radius: 8px; overflow: hidden; background: var(--mk-card2); }
.mkt-cart-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mkt-cart-th.is-deco { width: 50px; border-radius: 50%; }
.mkt-cart-th.is-deco img { object-fit: contain; }
.mkt-cart-th .nsfw-tag { padding: 1px 4px; font-size: .55rem; }
.mkt-cart-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mkt-cart-name { font-size: 16px; font-weight: 700; color: var(--mk-t1); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.mkt-cart-name:hover { text-decoration: underline; }
.mkt-cart-sub { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--mk-t2); font-variant-numeric: tabular-nums; }
.mkt-cart-sub.is-bad { color: var(--mk-bad); font-weight: 600; font-size: 14px; }
.mkt-cart-sub.is-owned { color: var(--mk-t3); font-weight: 600; font-size: 14px; }
.mkt-cart-foot { border-top: 1px solid var(--mk-line); padding: 12px 6px 4px; display: flex; flex-direction: column; gap: 6px; }
.mkt-cart-foot[hidden] { display: none; }
.mkt-cart-sum { display: flex; justify-content: space-between; align-items: center; font-size: 16px; color: var(--mk-t2); font-weight: 600; }
.mkt-cart-sum b { display: flex; align-items: center; gap: 6px; color: var(--mk-t1); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mkt-cart-sum.is-sub b { font-size: 16px; font-weight: 700; color: var(--mk-t2); }
.mkt-cart-sum b.is-bad { color: var(--mk-bad); }
.mkt-cart-foot .mkt-btn { margin-top: 6px; width: 100%; }
.mkt-cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 30px 16px 26px; color: var(--mk-t2); font-size: 15px; }
.mkt-cart-empty b { color: var(--mk-t1); font-size: 19px; font-weight: 800; }
.mkt-cart-empty .mkt-btn { margin-top: 8px; }
.mkt-cart-empty .is-bad { color: var(--mk-bad); }
.mkt-cart-empty-ic.is-ok { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; margin-bottom: 4px; background: rgba(34,197,94,.14); color: var(--mk-ok); animation: mkt-pop .42s var(--mk-spring) both; }
.mkt-cart-empty-ic.is-ok i { animation: mkt-check .42s .08s var(--mk-spring) both; }
.mkt-cart-empty.is-done > :not(.mkt-cart-empty-ic) { animation: mkt-rise .26s .04s var(--mk-out) both; }
.mkt-cart-empty.is-done > .mkt-btn { animation-name: mkt-lift; }
@keyframes mkt-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mkt-rise { from { opacity: 0; transform: translateY(8px); } }

@media (min-width: 1700px) {
    .mkt-chip { padding: 0 10px; gap: 6px; font-size: 14px; }
    .mkt-chips { gap: 6px; }
}
@media (min-width: 2400px) {
    body:has(.mkt-wrap) { --page-w: min(92vw, 2240px); }
    .mkt-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
    .mkc-name { font-size: 17px; }
    .mkc-price { font-size: 20px; }
}

@media (max-width: 880px) {
    .mkt { padding-top: 64px; }
    .mkt-bar { top: 56px; }
}

@media (max-width: 760px) {
    .mkt-head { gap: 8px; padding: 10px 0 0; }
    .mkt-h1 { display: none; }
    .mkt-seg { padding: 3px; flex: 1; min-width: 0; grid-auto-columns: 1fr; }
    .mkt-seg a { flex: 1; justify-content: center; height: 36px; padding: 0 8px; font-size: 14px; }
    .mkt-sp { display: none; }
    .mkt-hbtn { width: 44px; height: 44px; padding: 0; justify-content: center; flex: none; }
    .mkt-hbtn .t { display: none; }
    .mkt-hbtn .n, .mkt-tb .n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; font-size: 12px; }
    .mkt-bar { padding: 10px 0; gap: 8px; }
    .mkt-bar.is-away { transform: translateY(calc(-100% - 60px)); }
    .mkt-search { height: 46px; }
    .mkt-search input { padding: 0 44px 0 44px; font-size: 16px; }
    .mkt-search > i { left: 15px; }
    .mkt-sclear { right: 6px; }
    .mkt-kbd { display: none; }
    .mkt-tb { width: 46px; height: 46px; padding: 0; justify-content: center; }
    .mkt-tb .t { display: none; }
    .mkt-sug { right: auto; width: calc(100vw - 2 * clamp(16px, 3vw, 48px)); max-height: 60vh; }
    .mkt-sug-row { font-size: 15px; }
    .mkt-chips { padding: 10px 0 4px; margin: 0 calc(-1 * clamp(16px, 3vw, 48px)); padding-left: clamp(16px, 3vw, 48px); padding-right: clamp(16px, 3vw, 48px); }
    .mkt-chip { height: 38px; }
    .mkt-meta { display: none; }
    .mkt-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
    .mkc-body { padding: 10px 11px 12px; }
    .mkc-name { font-size: 15px; }
    .mkc-sub { font-size: 13px; }
    .mkc-price { font-size: 17px; }
    .mkc-price.is-free { font-size: 16px; }
    .mkc-foot { margin-top: 10px; gap: 8px; }
    .mkc-acts { display: none; }
    .mkc-tags { top: 8px; left: 8px; }
    .mkc-tag { height: 26px; min-width: 26px; font-size: 12px; padding: 0 7px; }
    .mkc .mk-vbadge { top: 8px; right: 8px; width: 26px; height: 26px; }
    .mkc:hover:not(:active) { transform: none; }
    .mkt-pop { position: fixed; inset: 0; z-index: 330; top: 0; background: rgba(0,0,0,0); display: flex; align-items: flex-end; transition: background-color .2s; }
    .mkt-pop.open { background: rgba(0,0,0,.6); }
    .mkt-pop .mkt-pop-box, .mkt-filt .mkt-pop-box { width: 100%; max-height: 85vh; border-radius: 18px 18px 0 0; padding: 6px 6px calc(8px + env(safe-area-inset-bottom)); transform: translateY(100%); opacity: 1; transition: transform .2s ease-in; }
    .mkt-pop.open .mkt-pop-box { transition: transform .32s var(--mk-sheet); }
    .mkt-pop .mkt-pop-box.is-drag { transition: none; }
    .mkt-pop.open .mkt-pop-box { transform: none; }
    .mkt-pop .mkt-sheet-h { display: flex; padding: 12px 10px 10px 14px; }
    .mkt-pop .mkt-sheet-h::before { content: ''; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #3a3a3a; }
    .mkt-pop-box { position: relative; }
    .mkt-opt { height: 50px; font-size: 16px; }
    .mkt-filt-body { padding: 0 12px; }
    .mkt-filt-foot { padding: 12px 12px 6px; grid-template-columns: auto 1fr; }
    .mkt-filt-foot .mkt-btn { height: 52px; }
    .mkt-fo { height: 42px; }
    .mkt-cart { align-items: flex-end; padding: 0; }
    .mkt-cart-box { width: 100%; max-height: 88vh; border-radius: 18px 18px 0 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); opacity: 1; transform: translateY(100%); transition: transform .2s ease-in; }
    .mkt-cart.open .mkt-cart-box { transition: transform .32s var(--mk-sheet); }
    html.mkt-lock body:has(.mkt) .toast { top: calc(12px + env(safe-area-inset-top)); bottom: auto; transform: translateX(-50%) translateY(-20px); }
    html.mkt-lock body:has(.mkt) .toast.show { transform: translateX(-50%); }
    .mkt-xbtn { width: 44px; height: 44px; }
}

@media (max-width: 380px) {
    .mkt-seg a span { font-size: 13px; }
    .mkc-price { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .mkt-sug, .mkt-empty, .mkt-cart-empty *, .mkt-sug-g, .mkt-chip, .mkt-chip::before, .mkt-qf::before, .mkl-done, .mkl-done * { animation: none !important; }
    .mkt-chip.is-pill-out::before, .mkt-qf.is-pill-out::before { display: none; }
    .mkt-skel::after { animation: none !important; transform: none; }
    .mkl-acts .mkl-done ~ * { animation: none !important; }
    .mkc, .mkc-img, .mkc::before, .mkt-bar, .mkt-pop-box, .mkt-cart-box, .mkt-cart, .mkt-pop, .mkc-acts, .mkt-fo, .mkt-seg a, .mkt-chip, .mkt-qf { transition: none !important; }
    .mkc:hover, .mkc:active { transform: none !important; }
    .mkc:hover .mkc-img { scale: none; }
    .mkc .mkc-pv::after { display: none; }
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
::view-transition-group(mk-hero) { animation-duration: .36s; animation-timing-function: var(--mk-out); border-radius: 14px; overflow: clip; }
::view-transition-old(mk-hero), ::view-transition-new(mk-hero) { height: 100%; object-fit: cover; }
html.mk-vt::view-transition-old(root) { animation: mkt-vt-out .12s ease-in both; }
html.mk-vt::view-transition-new(root) { animation: mkt-vt-in .26s .06s var(--mk-out) both; }
@keyframes mkt-vt-out { to { opacity: 0; } }
@keyframes mkt-vt-in { from { opacity: 0; transform: translateY(10px); } }

.mkl-page { padding-bottom: 80px; }
.mkl-page .mkl-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 16px; margin: 0; }
.mkl-page .mkl-back { font-size: 15px; color: var(--mk-t2); gap: 10px; }
.mkl-page .mkl-back:hover { color: var(--mk-t1); }
.mkl-page .mkl-top { grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); gap: 36px; }
.mkl-page .mkl-hero { aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid var(--mk-line); background: #111; }
.mkl-page .mkl-hero-deco { aspect-ratio: 16 / 10; }
.mkl-page .mkl-hero-pack { aspect-ratio: 16 / 9; }
.mkl-page .mkl-hero-stk { aspect-ratio: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 24px; }
.mkl-page .mkl-price.mkl-bought { font-size: 20px; font-weight: 600; opacity: .85; }
.mkl-page .mkl-acts .mkl-cup { display: flex; align-items: center; justify-content: center; height: 48px; font-size: 16px; font-weight: 700; text-decoration: none; }
.mkl-stk { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: #1d1d21; cursor: zoom-in; transition: transform .2s var(--mk-out), background .2s; }
.mkl-stk img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mkl-stk kbd { position: absolute; right: -2px; bottom: -2px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 7px; background: #0c0c0e; color: var(--mk-t3); font: 600 13px/24px var(--mono, monospace); text-align: center; }
@media (hover: hover) { .mkl-stk:hover { transform: scale(1.06); background: #26262b; } }
.mkc-stk { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-content: center; gap: 6px 4px; padding: 0 10px; background: #151515; }
.mkc-stk i { aspect-ratio: 1; background: var(--sheet) calc(var(--i) * 100% / 9) 0 / 1000% 100% no-repeat; transition: scale .3s var(--mk-out); }
@media (hover: hover) { .mkc:hover .mkc-stk i { scale: 1.08; } }
.mkl-page .mkl-zoom { width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(0,0,0,.72); color: #fff; }
.mkl-page .mkl-facts { display: flex; gap: 28px; margin-top: 18px; width: auto; }
.mkl-page .mkl-fact { min-width: 0; padding: 0; gap: 2px; }
.mkl-page .mkl-fact::before { display: none; }
.mkl-page .mkl-fact-v { font-size: 20px; font-weight: 800; color: var(--mk-t1); }
.mkl-page .mkl-fact-l { font-size: 13px; font-weight: 600; color: var(--mk-t3); }
.mkl-page .mkl-fact.is-mine .mkl-fact-v { color: var(--mk-ok); }
.mkl-kick { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 15px; font-weight: 700; }
.mkl-kick i { font-size: 13px; margin-right: 7px; }
.mkl-page .mkl-rar.rar-c-common { color: var(--mk-t2); }
.mkl-page .mkl-kind { color: var(--mk-t2); }
.mkl-page .mkl-new { color: var(--mk-t1); padding: 3px 9px; border-radius: 7px; background: #1f1f1f; font-size: 13px; }
.mkl-page .mkl-name { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 7px 0 11px; padding: .1em 0; overflow: hidden; overflow-wrap: anywhere; }
.mkl-game { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--mk-line2); border-radius: 12px; color: var(--mk-t1); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s; max-width: 100%; }
@media (hover: hover) { .mkl-game:hover { background: var(--mk-card2); } }
.mkl-game > i:first-child { font-size: 17px; }
.mkl-game-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkl-game-n { flex: none; color: var(--mk-t3); white-space: nowrap; }
.mkl-game-go { flex: none; color: var(--mk-t3); font-size: 12px; }
.mkl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.mkl-tags .mkt-chip { height: 36px; font-size: 14px; }
.mkl-page .mkl-prop { height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--mk-line); background: none; color: var(--mk-t2); font-size: 14px; font-weight: 600; gap: 8px; }
.mkl-page .mkl-prop i { font-size: 12px; }
.mkl-page .mkl-desc { font-size: 15px; color: var(--mk-t2); margin-top: 16px; }
.mkl-page .mkl-buy { margin-top: 22px; padding: 0; border: 0; background: none; gap: 14px; }
.mkl-page .mkl-price { font-size: 36px; font-weight: 800; letter-spacing: -.02em; gap: 10px; font-variant-numeric: tabular-nums; }
.mkl-page .mkl-price .mkt-coin { width: 26px; height: 26px; }
.mkl-page .mkl-price.is-free { color: var(--mk-ok); font-size: 30px; }
.mkl-page .mkl-pricesub { font-size: 14px; color: var(--mk-t3); }
.mkl-page .mkl-stock { display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--mk-t2); }
.mkl-need { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; font-weight: 600; color: var(--mk-t2); margin-top: -4px; }
.mkl-need b { color: var(--mk-bad); font-weight: 800; font-variant-numeric: tabular-nums; }
.mkl-need a { margin-left: auto; color: var(--mk-t1); text-decoration: underline; text-underline-offset: 3px; }
.mkl-page .mkl-acts { flex-direction: column; gap: 10px; }
.mkl-page .mkl-acts .mk-btn { flex: none; width: 100%; height: 54px; padding: 0 20px; border-radius: 12px; font-size: 18px; font-weight: 800; }
.mkl-page .mkl-acts .mk-btn-primary { background: #fff; border-color: #fff; color: #000; }
@media (hover: hover) { .mkl-page .mkl-acts .mk-btn-primary:hover:not(:disabled) { background: #e8e8e8; } }
.mkl-page .mkl-acts .mk-btn-primary:disabled { background: var(--mk-card2); border-color: var(--mk-line2); color: var(--mk-t3); opacity: 1; cursor: default; }
.mkl-page .mkl-acts .mkl-equip.is-done { background: rgba(34,197,94,.14); border-color: rgba(34,197,94,.4); color: var(--mk-ok); }
.mkl-page .mkl-acts .mkl-equip i { margin-right: 8px; font-size: 15px; }
.mkl-page .mk-coupon-btn img { width: 22px; height: 22px; }
.mkl-done { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; border-radius: 12px; background: rgba(34,197,94,.12); color: var(--mk-ok); font-size: 17px; font-weight: 800; transform-origin: 30px 50%; animation: mkt-done .34s var(--mk-out) both; }
.mkl-done-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--mk-ok); color: #06240f; display: grid; place-items: center; font-size: 14px; animation: mkt-check .42s var(--mk-spring) both; }
.mkl-done > span:last-child { animation: mkt-rise .26s .04s var(--mk-out) both; }
.mkl-acts .mkl-done ~ * { animation: mkt-lift .26s var(--mk-out) both; }
@keyframes mkt-lift { from { transform: translateY(8px); } }
@keyframes mkt-done { from { opacity: 0; transform: scale(.94); } }
@keyframes mkt-check { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.mkl-page .mkl-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.mkl-page .mkl-mini > * { flex: 1 1 auto; }
.mkl-page .mkl-ico, .mkl-page .mkl-ico.mk-fav, .mkl-page .mkl-ico.mk-cadd { width: auto; height: 46px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--mk-line2); background: none; color: var(--mk-t1); display: flex; align-items: center; justify-content: center; gap: 9px; font: 600 16px var(--body); white-space: nowrap; }
@media (hover: hover) { .mkl-page .mkl-ico:hover { background: var(--mk-card2); } }
.mkl-page .mkl-ico i { font-size: 15px; }
.mkl-page .mkl-ico.mk-fav.on { color: var(--mk-t1); border-color: var(--mk-line2); }
.mkl-page .mkl-ico.mk-fav.on i { color: var(--mk-bad); }
.mkl-page .mkl-ico.mk-cadd.on i { color: var(--mk-ok); }
.mkl-page .mkl-share.done i { color: var(--mk-ok); }
.mkl-page .mkl-more > summary { font-size: 15px; color: var(--mk-t2); }
.mkl-page .mkl-line { font-size: 15px; }
.mkl-page .mkl-line > span:first-child { flex-basis: 120px; color: var(--mk-t3); }
.mkl-page .mkl-sec { margin-top: 48px; }
.mkl-page .mkl-sec-h, .trd .mkl-sec-h { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; color: var(--mk-t1); margin: 0 0 16px; }
.mkl-sec-t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkl-sec-n { color: var(--mk-t3); font-size: 16px; font-weight: 600; }
.mkl-sec-all { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--mk-t2); text-decoration: none; }
.mkl-sec-all:hover { color: var(--mk-t1); }
.mkl-sec-all i { font-size: 12px; }
.mkl-page .mkl-rel { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: max(230px, calc((100% - 80px) / 6)); gap: 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding: 4px 0; }
.mkl-page .mkl-rel::-webkit-scrollbar { display: none; }
.mkl-page .mkl-rel .mkc { scroll-snap-align: start; content-visibility: visible; }
.mkl-offers { display: flex; flex-direction: column; border: 1px solid var(--mk-line); border-radius: 14px; overflow: hidden; }
.mkl-offer { display: flex; align-items: center; gap: 14px; padding: 10px 14px; min-height: 60px; border-top: 1px solid var(--mk-line); }
.mkl-offer:first-child { border-top: 0; }
.mkl-offer.is-done { background: rgba(34,197,94,.06); }
.mkl-offer-ser { flex: none; width: 72px; font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--mk-t2); }
.mkl-offer-u { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--mk-t1); font-size: 15px; font-weight: 600; text-decoration: none; }
.mkl-offer-u img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.mkl-offer-u span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkl-offer-p { flex: none; display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mkl-offer .mkt-btn { height: 40px; font-size: 15px; }
.mkl-offer-mine { font-size: 14px; font-weight: 600; color: var(--mk-t3); display: flex; align-items: center; gap: 6px; }
.mkl-offer-mine.is-ok { color: var(--mk-ok); }
.mkl-page .mkl-hlist { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); column-gap: 32px; }
.mkl-page .mkl-hlist .mk-m-holder { display: flex; min-height: 52px; padding: 8px 0; }
.mkl-page .mkl-hlist .mk-m-h-u { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--mk-t1); font-size: 15px; font-weight: 600; text-decoration: none; }
.mkl-page .mkl-hlist .mk-m-h-av { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.mkl-page .mkl-hlist .mk-m-h-name { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkl-page .mkl-hlist .mk-m-h-sers { flex: none; max-width: 55%; display: flex; flex-wrap: wrap; gap: 4px; }
.mkl-sticky .mk-btn-primary { background: #fff; color: #000; }
.mkl-sticky .mk-btn-primary:disabled { background: #161616; color: #6b6b6b; border-color: #232323; opacity: 1; }
.mkl-sticky-p .mkt-coin { width: 16px; height: 16px; margin-left: 6px; }
.mkl-sticky-p.is-need { color: var(--mk-bad); font-size: 15px; }
@media (max-width: 560px) { body:has(.mkl-sticky.on) .toast { bottom: calc(136px + env(safe-area-inset-bottom)); } }
.mkl-page .mkl-mini > .mkl-share:only-child { flex: 1; padding: 0 10px; }
.mkl-page .mkl-mini > .mkl-share:only-child .t { display: inline; }
@media (min-width: 1024px) {
    .mkl-page .mkl-rel { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; }
}
.mkl-page .mk-pl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mkl-page .mk-pl-row { margin: 0; display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--mk-line); border-radius: 12px; background: none; color: var(--mk-t1); font: 600 15px var(--body); text-align: left; cursor: pointer; }
@media (hover: hover) { .mkl-page .mk-pl-row:hover { background: var(--mk-card2); } }
.mkl-page .mk-pl-th { flex: none; width: 120px; height: 68px; border-radius: 8px; overflow: hidden; background: var(--mk-card2); display: grid; place-items: center; }
.mkl-page .mk-pl-th img { width: 100%; height: 100%; object-fit: cover; }
.mkl-page .mk-pl-th .mk-pl-d { position: relative; width: 64px; height: 64px; }
.mkl-page .mk-pl-th .mk-pl-d img { position: absolute; inset: 0; object-fit: contain; }
.mkl-page .mk-pl-th .mk-pl-av { position: absolute; inset: 15%; width: 70%; height: 70%; border-radius: 50%; object-fit: cover; }
.mkl-page .mk-pl-n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkl-page .mk-pl-own { color: var(--mk-ok); }
.mkl-offer .mkl-offer-nobuy:disabled { color: var(--mk-bad); background: none; white-space: nowrap; }

@media (max-width: 1000px) {
    .mkl-page .mkl-top { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
    .mkl-page .mkl-nav { padding: 10px 0 12px; }
    .mkl-page .mkl-hero { margin: 0 calc(-1 * clamp(16px, 3vw, 48px)); border-radius: 0; border-left: 0; border-right: 0; }
    .mkl-page .mkl-hero-stk { gap: 10px; padding: 16px; }
    .mkl-stk kbd { min-width: 20px; height: 20px; font-size: 11px; line-height: 20px; border-radius: 6px; }
    .mkl-page .mkl-name { font-size: 26px; margin-bottom: 9px; }
    .mkl-page .mkl-price { font-size: 30px; }
    .mkl-page .mkl-mini { flex-wrap: nowrap; }
    .mkl-page .mkl-mini > * { flex: 1; min-width: 0; }
    .mkl-page .mkl-mini > .mkl-share { flex: 0 0 46px; padding: 0; }
    .mkl-page .mkl-share .t { display: none; }
    .mkl-page .mkl-facts { gap: 18px; flex-wrap: wrap; }
    .mkl-page .mkl-fact { flex: none; }
    .mkl-page .mkl-fact-v { font-size: 17px; }
    .mkl-page .mkl-sec-h { font-size: 20px; }
    .mkl-page .mkl-rel { grid-auto-columns: 46%; gap: 10px; margin: 0 calc(-1 * clamp(16px, 3vw, 48px)); padding: 4px clamp(16px, 3vw, 48px); scroll-padding: 0 clamp(16px, 3vw, 48px); }
    .mkl-offer { flex-wrap: wrap; gap: 8px 12px; }
    .mkl-offer-ser { width: auto; }
    .mkl-offer-u { flex-basis: 60%; }
    .mkl-offer .mkt-btn, .mkl-offer-mine { margin-left: auto; }
    .mkl-page .mkl-hlist { grid-template-columns: 1fr; }
    .mkl-page { padding-bottom: 150px; }
}

.trd-bar .mkt-search input { padding-right: 50px; }
.trd-bar .mkt-sclear { right: 8px; display: grid; }
.trd-sellbtn { background: #fff; color: #000; border-color: #fff; }
@media (hover: hover) { .trd-sellbtn:hover:not(:disabled) { background: #e8e8e8; } }
.trd-sellbtn > i { color: #000; }
.trd-sellbtn:disabled { background: var(--mk-card); color: var(--mk-t3); border-color: var(--mk-line2); cursor: default; }
.trd-sellbtn:disabled > i { color: var(--mk-t3); }
.trc .trc-ser { font-family: var(--mono); letter-spacing: .02em; color: #d4d4d4; background: rgba(0,0,0,.6); }
.trc .mkc-rar span { display: none; }
.trc-seller { text-decoration: none; }
.trc-seller img { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.trc-seller:hover span { color: var(--mk-t1); }
.trc-deal { font-size: 13px; font-weight: 700; color: var(--mk-t3); white-space: nowrap; }
.trc-deal.is-good { color: var(--mk-ok); }
.trc-act { margin-top: 12px; display: flex; }
.trc-act .mkt-btn { flex: 1; height: 42px; font-size: 15px; }
.trc-act .trd-bought { flex: 1; height: 42px; justify-content: center; border-radius: 12px; background: rgba(34,197,94,.12); font-size: 15px; font-weight: 700; }
.trd-sec { margin-top: 48px; }
.trd-sub-h { font-size: 16px; font-weight: 700; color: var(--mk-t3); margin: 22px 0 10px; }
.trd-rows { display: flex; flex-direction: column; border: 1px solid var(--mk-line); border-radius: 14px; overflow: hidden; }
.trd-row { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--mk-line); }
.trd-row:first-child { border-top: 0; }
.trd-th { position: relative; flex: none; width: 88px; height: 50px; border-radius: 8px; overflow: hidden; background: var(--mk-card2); }
.trd-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trd-th.is-deco { width: 50px; border-radius: 50%; }
.trd-th.is-deco img { object-fit: contain; }
.trd-th .nsfw-tag { padding: 1px 4px; font-size: .55rem; }
.trd-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.trd-name { font-size: 16px; font-weight: 700; color: var(--mk-t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trd-sub { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--mk-t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trd-ser { font-family: var(--mono); font-weight: 700; color: var(--mk-t2); }
.trd-price { flex: none; display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.trd-price.is-ok { color: var(--mk-ok); }
.trd-row .mkt-btn { height: 40px; font-size: 15px; }
.trd-rows.is-history .trd-row { opacity: .85; }
.trd-empty { color: var(--mk-t3); font-size: 15px; }
.trd-pick { overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 2px 2px 8px; }
.trd-pick[hidden], .trd-form[hidden] { display: none; }
.trd-pick-it { display: flex; align-items: center; gap: 12px; padding: 8px; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; cursor: pointer; }
@media (hover: hover) { .trd-pick-it:hover:not(:disabled) { background: var(--mk-card2); } }
.trd-pick-it:disabled { opacity: .5; cursor: default; }
.trd-go { color: var(--mk-t3); font-size: 13px; }
.trd-form { display: flex; flex-direction: column; gap: 14px; padding: 4px 6px 6px; }
.trd-form-it { display: flex; align-items: center; gap: 12px; }
.trd-price-f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--mk-t3); }
.trd-price-f input { height: 56px; padding: 0 16px; border: 1px solid var(--mk-line2); border-radius: 12px; background: var(--mk-card); color: var(--mk-t1); font: 800 26px var(--body); font-variant-numeric: tabular-nums; outline: none; }
.trd-price-f input:focus { border-color: #8a8a8a; }
.trd-hints { display: flex; flex-direction: column; gap: 4px; }
.trd-hint { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 12px; border: 1px solid var(--mk-line); border-radius: 10px; background: none; color: var(--mk-t2); font: 600 15px var(--body); cursor: pointer; }
.trd-hint[hidden] { display: none; }
@media (hover: hover) { .trd-hint:hover:not(.is-static) { background: var(--mk-card2); color: var(--mk-t1); } }
.trd-hint.is-static { cursor: default; border-style: dashed; }
.trd-hint b { display: flex; align-items: center; gap: 6px; color: var(--mk-t1); font-weight: 800; font-variant-numeric: tabular-nums; }
.trd-payout { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 700; color: var(--mk-t1); padding: 0 2px; }
.trd-payout > span { display: flex; flex-direction: column; gap: 2px; }
.trd-payout small { font-size: 13px; font-weight: 500; color: var(--mk-t3); }
.trd-hint-go { font-size: 12px; color: var(--mk-t3); margin-left: 8px; }
.trd-hint:hover .trd-hint-go { color: var(--mk-t1); }
.trd-hint > span { flex: 1; text-align: left; }
.trd-hint.is-static { border-color: transparent; }
a.mkt-opt { text-decoration: none; }
#lotModal a.lot-buy { display: flex; justify-content: center; }
#lotModal .lot-buy:disabled { background: none; border-color: var(--mk-line2); color: var(--mk-bad); cursor: default; }
.trc-act .mkt-btn.tr-buy:disabled { color: var(--mk-bad); background: none; white-space: normal; height: auto; min-height: 40px; line-height: 1.25; font-size: 14px; }
.trd-store { display: inline-flex; align-items: center; gap: 5px; }
.trd-store .mkt-coin { width: 14px; height: 14px; }
.mkc-foot { gap: 8px; }
@container (max-width: 180px) { .mkc-price { font-size: 17px; } }
@container (max-width: 165px) { .mkc-price { font-size: 15px; } }
@container (max-width: 200px) { .mkc-foot { flex-wrap: wrap; row-gap: 4px; position: relative; padding-right: 20px; } .mkc-foot .mkc-rar { position: absolute; right: 0; top: 5px; } }
.mkt .mkc.is-cosmetic .mkc-tags { left: auto; right: 10px; }
.mkl-page .mk-pl { margin: 0; }
.mkl-page .mk-pl-row.is-bare { padding: 0; border: 0; }
.mkl-page .mk-pl-row.is-bare .mk-pl-th { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.mkt-hbtn.on { background: #fff; color: #000; border-color: #fff; }
.mkt-hbtn.on > i { color: #000; }
.mkt-hbtn.on .n { background: #000; color: #fff; }
.trd-hint-go { font-size: 13px; font-weight: 600; font-style: normal; }
.trd-payout b { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 800; color: var(--mk-ok); font-variant-numeric: tabular-nums; }
.trd-payout b.is-off { color: var(--mk-t3); }
.trd-err { min-height: 0; font-size: 14px; font-weight: 600; color: var(--mk-bad); }
.trd-err:empty { display: none; }

@media (max-width: 760px) {
    .trd .mkt-meta { display: flex; padding: 12px 0 4px; }
    .trd-hint-go { display: none; }
    .trc-act .mkt-btn { height: 40px; font-size: 14px; padding: 0 8px; }
    .trd-row { flex-wrap: wrap; gap: 8px 12px; }
    .trd-row .trd-mid { flex-basis: calc(100% - 110px); }
    .trd-row .trd-price { margin-left: auto; }
}
