.mk-good { color: var(--emerald) !important; }
.mk-bad { color: var(--crimson) !important; }
.mk-dim { color: var(--text-3) !important; }
.mk-warn-text { color: #ffb45e !important; }
.mk-soft { font: 400 .95rem var(--font-ui); color: var(--text-3); }
.mk-coin { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.mk-coin .ia-emblem { width: 1.05em; height: 1.05em; flex: none; }
.mk-none { color: var(--text-4); font-family: var(--font-ui); font-size: .86rem; }
.mk-empty { padding: 2.2rem 1rem; text-align: center; }
.mk-empty strong { display: block; margin-top: .4rem; }
.mk-empty p { margin: .3rem auto 0; max-width: 30rem; color: var(--text-3); }

.is-hud .market-page .win-stats b .mk-of { font-size: .95rem; color: var(--text-3); }
.is-hud .market-page .win-toolbar .bank-tab .tab-icon .ia-glyph { width: 1.2rem; height: 1.2rem; color: var(--gold-2); }
.is-hud .market-page .win-toolbar .bank-tab small.mk-badge { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; border-radius: .7rem; background: var(--gold-2); color: #1f1405; font: 600 .78rem/1 var(--font-num); }
.is-hud .market-page .win-tools .search { width: 19rem; }
.mk-crumbs { display: flex; align-items: center; gap: .55rem; margin-left: auto; font-size: .9rem; color: var(--text-3); white-space: nowrap; min-width: 0; }
.mk-crumbs b { font-weight: 400; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; }
.mk-crumbs .ia-glyph { width: .95rem; height: .95rem; }
.mk-crumb { display: inline-flex; align-items: center; gap: .45rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.mk-crumb:hover { color: var(--gold-1); }
.mk-notice { flex: none; display: flex; align-items: center; gap: .6rem; margin: 0; padding: .6rem .85rem; border-radius: .75rem; border: 1px solid rgba(242, 198, 106, .3); background: rgba(242, 198, 106, .07); color: var(--text-1); font-size: .95rem; }
.mk-notice .ia-glyph { flex: none; width: 1.1rem; height: 1.1rem; color: var(--gold-2); }
.mk-notice small { color: var(--text-3); margin-left: .35rem; }
.mk-notice .btn { margin-left: auto; }
.mk-notice.is-paused { border-color: rgba(255, 180, 94, .45); background: rgba(255, 180, 94, .08); }
.mk-notice.is-waiting { border-color: rgba(255, 180, 94, .45); background: rgba(255, 180, 94, .08); }
.mk-notice.is-waiting > .ia-emblem { flex: none; width: 1.4rem; height: 1.4rem; }
.mk-notice-btns { display: flex; gap: .45rem; margin-left: auto; }
.mk-notice-btns .btn { margin-left: 0; }

.mk-body { flex: 1; min-height: 0; display: grid; gap: 1.35rem; }
.mk-body.is-front, .mk-body.is-pieces { grid-template-columns: 16.5rem minmax(0, 1fr) 22.5rem; }
.mk-body.is-item { grid-template-columns: minmax(0, 1fr) 26rem; }
.mk-body.is-sell { grid-template-columns: 16.5rem minmax(0, 1fr) 22.5rem; }
.mk-body.is-offers, .mk-body.is-collect { grid-template-columns: minmax(0, 1fr) 25rem; }
.mk-body.is-piece { grid-template-columns: 18.5rem minmax(0, 1fr) 27rem; }
.mk-body.is-history { grid-template-columns: minmax(0, 1fr); }
.mk-col { display: flex; flex-direction: column; gap: 1rem; min-width: 0; min-height: 0; }
.mk-card { flex: none; border-radius: 1.05rem; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); padding: 1rem 1.1rem; min-width: 0; }
.mk-card > .win-caps, .mk-section > .win-caps, .mk-col > .win-caps, .mk-side-block > .win-caps { margin-bottom: .7rem !important; display: flex; align-items: baseline; gap: .6rem; }
.market-page .win-caps small { font-size: .8rem; letter-spacing: .02em; text-transform: none; color: var(--text-3); }
.mk-section { flex: none; min-width: 0; }

.market-page .mk-nav { display: flex; flex-direction: column; min-height: 0; padding: .95rem .8rem .8rem; }
.market-page .mk-nav .store-cats { gap: .2rem; }
.market-page .mk-nav .store-cat { padding: .42rem .55rem; min-height: 0; }
.market-page .mk-nav .store-cat-icon { width: 2.05rem; height: 2.05rem; }
.market-page .mk-nav .store-cat-copy strong { font-size: .93rem; }
.market-page .mk-nav .store-cat .mk-count { margin-left: auto; font: 400 .8rem var(--font-num); color: var(--text-3); }
.market-page .mk-nav .store-hint { margin-top: auto; }

.mk-better { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.mk-better-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .7rem; padding: .65rem .75rem; border-radius: .85rem; border: 1px solid rgba(88, 214, 127, .22); background: linear-gradient(180deg, rgba(88, 214, 127, .07), rgba(88, 214, 127, .02)); color: inherit; text-align: left; font: inherit; cursor: pointer; }
.mk-better-card:hover { border-color: rgba(88, 214, 127, .45); }
.mk-better-card .well { width: 3.1rem; height: 3.1rem; }
.mk-better-card strong { display: block; font: 400 1rem/1.2 var(--font-display); color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-better-card small { display: block; font-size: .78rem; color: var(--text-3); }
.mk-better-card .mk-now { margin-top: .15rem; font-size: .95rem; color: var(--emerald); }

.mk-table { width: 100%; border-collapse: separate; border-spacing: 0 .3rem; }
.mk-table th { padding: 0 .7rem .1rem; font: 400 .72rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); text-align: right; white-space: nowrap; }
.mk-table th:first-child { text-align: left; }
.mk-table td { padding: .42rem .7rem; background: rgba(255, 255, 255, .03); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); text-align: right; font: 400 .98rem var(--font-num); color: var(--text-1); white-space: nowrap; }
.mk-table td:first-child { border-left: 1px solid rgba(255, 255, 255, .06); border-radius: .75rem 0 0 .75rem; text-align: left; }
.mk-table td:last-child { border-right: 1px solid rgba(255, 255, 255, .06); border-radius: 0 .75rem .75rem 0; }
.mk-table tbody tr { cursor: pointer; }
.mk-table tbody tr:hover td, .mk-table tbody tr:focus-visible td { background: rgba(242, 198, 106, .07); border-color: rgba(242, 198, 106, .3); }
.mk-item { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.mk-item .well { width: 2.35rem; height: 2.35rem; flex: none; }
.mk-item strong { font: 400 1.02rem var(--font-display); color: var(--text-1); }
.mk-item small { display: block; font: 400 .74rem var(--font-ui); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 18rem; }
.mk-table th.mk-lv, .mk-table td.mk-lv { text-align: center; }
.mk-table td.mk-lv { width: 3.6rem; font: 400 1rem var(--font-num); color: var(--gold-1); }
.mk-table tr.mk-grp th { padding: .7rem .7rem .15rem; font: 400 .74rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); text-align: left; border-bottom: 1px solid rgba(242, 198, 106, .18); }
.mk-table tbody tr.mk-grp:first-child th { padding-top: .2rem; }
.mk-table tbody tr.mk-grp { cursor: default; }
.mk-seg.mk-gear-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 36rem; margin-bottom: .45rem; }
.mk-seg.mk-gear-tabs button small { margin-left: .4rem; font: 400 .78rem var(--font-num); color: var(--text-3); }
.mk-gear-note { margin-bottom: .5rem; }
.mk-grid-head { grid-column: 1 / -1; margin: .5rem 0 0; padding-bottom: .15rem; font: 400 .74rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); border-bottom: 1px solid rgba(242, 198, 106, .18); }
.mk-grid-head:first-child { margin-top: 0; }
.mk-spark { display: inline-flex; align-items: center; gap: .5rem; }
.mk-spark svg { width: 4.6rem; height: 1.5rem; overflow: visible; }
.mk-spark b { min-width: 2.6rem; font-weight: 400; font-size: .86rem; text-align: right; }

.market-page .win-side.mk-side { padding: 0; }
.mk-side-block { padding: 1rem 1.05rem; border-top: 1px solid rgba(255, 255, 255, .07); }
.mk-side-block:first-child { border-top: 0; }
.mk-side-empty { margin: 0; font-size: .86rem; color: var(--text-3); }
.mk-slotlist { display: grid; gap: .45rem; }
.mk-slot-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; align-items: center; padding: .45rem .55rem; border-radius: .75rem; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.mk-slot-row:hover { border-color: rgba(242, 198, 106, .35); }
.mk-slot-row .well { width: 2.4rem; height: 2.4rem; }
.mk-slot-row strong { display: block; font: 400 .92rem/1.2 var(--font-ui); color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-slot-row small { display: block; font-size: .76rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-slot-row .mk-bar { margin-top: .3rem; }
.mk-slot-row.is-empty { grid-template-columns: 1fr; padding: .55rem .7rem; border-style: dashed; background: none; color: var(--text-4); font-size: .85rem; cursor: default; }
.mk-bar { height: .38rem; border-radius: 1rem; background: rgba(255, 255, 255, .09); overflow: hidden; }
.mk-bar > i { display: block; height: 100%; border-radius: inherit; background: var(--gold-2); }
.mk-bar.is-buy > i { background: var(--azure); }
.mk-side-note { display: flex; gap: .5rem; align-items: flex-start; margin: .7rem 0 0; font-size: .82rem; line-height: 1.4; color: var(--text-3); }
.mk-side-note .ia-glyph { flex: none; width: 1rem; height: 1rem; margin-top: .1rem; color: var(--gold-3); }
.mk-collect-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: center; padding: .65rem .7rem; border-radius: .8rem; border: 1px solid rgba(242, 198, 106, .28); background: rgba(242, 198, 106, .06); }
.mk-collect-row + .mk-collect-row { margin-top: .5rem; }
.mk-collect-row .well { width: 3rem; height: 3rem; }
.mk-collect-row strong { display: block; font: 400 1rem var(--font-display); color: var(--text-1); }
.mk-collect-row small { display: block; font-size: .8rem; color: #ffb45e; }
.mk-collect-row .mk-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.mk-collect-row .mk-btns .btn:only-child { grid-column: 1 / -1; }
.mk-collect-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: .6rem; }
.mk-collect-list .mk-collect-row + .mk-collect-row { margin-top: 0; }
.mk-collect-all { display: flex; gap: .5rem; }
.mk-came { display: grid; gap: .35rem; }
.mk-came div { display: flex; justify-content: space-between; gap: .6rem; font-size: .83rem; color: var(--text-3); }
.mk-came b { font: 400 .86rem var(--font-num); color: var(--emerald); white-space: nowrap; }

@media (min-width: 761px) and (min-height: 501px), (min-width: 761px) and (pointer: fine), (min-width: 761px) and (pointer: none) {
  .mk-scroll { overflow-y: auto; padding-right: .3rem; }
  .market-page .mk-nav, .market-page .win-side.mk-side { overflow-y: auto; }
  .mk-pinned-scroll { overflow-y: auto; }
}
@media (max-width: 760px), (max-height: 500px) and (pointer: coarse) {
  html:not(.is-hud) .mk-sheet { overflow-y: auto; overscroll-behavior-y: contain; }
}

.mk-itemhead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; }
.mk-itemhead .well.is-large { width: 5.2rem; height: 5.2rem; border-radius: 1rem; }
.mk-itemhead h2 { margin: 0; font: 400 1.75rem/1.1 var(--font-display); }
.mk-itemhead p { margin: .3rem 0 0; max-width: 44rem; font-size: .88rem; color: var(--text-3); line-height: 1.4; }
.mk-itemhead p b { font-weight: 400; color: var(--text-2); }
.mk-last { display: grid; justify-items: end; gap: .1rem; text-align: right; }
.mk-last small { font: 400 .72rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-3); }
.mk-last b { display: inline-flex; align-items: center; gap: .45rem; font: 400 2.6rem/1 var(--font-num); color: var(--gold-0); }
.mk-last b .ia-emblem { width: 1.9rem; height: 1.9rem; }
.mk-last span { font-size: .82rem; color: var(--text-3); }
.mk-baseline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-top: 1rem; }
.mk-baseline > div { padding: .55rem .75rem; border-radius: .75rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); min-width: 0; }
.mk-baseline small { display: block; font: 400 .7rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.mk-baseline b { display: flex; align-items: center; gap: .35rem; margin-top: .2rem; font: 400 1.2rem var(--font-num); color: var(--text-1); }
.mk-baseline b .ia-emblem { width: 1.05rem; height: 1.05rem; }
.mk-baseline em { display: block; font-style: normal; font-size: .76rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row2 { flex: none; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1rem; }
.mk-chart svg { display: block; width: 100%; height: auto; }
.mk-chart .axis text { font: 400 11px var(--font-num); fill: #938d7d; }
.mk-chart-none { margin: 2.2rem 0; text-align: center; }
.mk-table td .mk-ago { display: block; margin-top: .1rem; font-size: .72rem; color: var(--text-3); }
.mk-chart-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .45rem; font-size: .78rem; color: var(--text-3); }
.mk-chart-legend i { display: inline-block; width: 1.3rem; height: .25rem; margin-right: .4rem; vertical-align: middle; border-radius: .2rem; }
.mk-trades { display: grid; gap: .25rem; }
.mk-trades > div { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: .5rem; padding: .32rem .6rem; border-radius: .55rem; background: rgba(255, 255, 255, .03); font: 400 .9rem var(--font-num); color: var(--text-2); }
.mk-trades > div span:last-child { text-align: right; color: var(--text-1); }
.mk-trades > div span:nth-child(2) { text-align: right; }
.mk-trades .mk-th { background: none; font: 400 .7rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); padding-top: 0; padding-bottom: 0; }
.mk-trades.is-two { grid-template-columns: 1fr 1fr; gap: .3rem .5rem; }
.mk-trades.is-two > div { grid-template-columns: 1.3fr .8fr 1fr; }
.mk-trades.mk-hist > div { grid-template-columns: 1fr 2.4fr .8fr .7fr 1fr; }
.mk-trades.mk-hist > div span:nth-child(2) { text-align: left; font-family: var(--font-ui); }
.mk-trades.mk-hist > div span:nth-child(3), .mk-trades.mk-hist > div span:nth-child(4) { text-align: right; }
.mk-trades.mk-hist.is-days > div { grid-template-columns: 1fr 1fr 1fr; }

.mk-book { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.mk-book h3 { margin: 0 0 .4rem; font: 400 .72rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.mk-book h3 small { text-transform: none; letter-spacing: 0; color: var(--text-4); font-size: .72rem; }
.mk-level { position: relative; display: flex; justify-content: space-between; gap: .4rem; padding: .28rem .5rem; border-radius: .45rem; font: 400 .9rem var(--font-num); color: var(--text-1); overflow: hidden; }
.mk-level + .mk-level { margin-top: .18rem; }
.mk-level::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--depth, 30%); background: var(--tone, rgba(255, 93, 87, .1)); z-index: 0; }
.mk-level > * { position: relative; z-index: 1; }
.mk-level.is-buy { --tone: rgba(102, 198, 255, .11); }
.mk-level .q { color: var(--text-3); }
.mk-level.is-mine { outline: 1px dashed rgba(242, 198, 106, .45); }
.mk-level.is-mine .q::after { content: " yours"; color: var(--gold-2); font-family: var(--font-ui); font-size: .72rem; }
.mk-book-now { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .82rem; color: var(--text-3); }
.mk-book-now b { font-size: .95rem; font-weight: 400; color: var(--text-1); }

.mk-trade { display: flex; flex-direction: column; gap: .75rem; }
.mk-seg, .mk-seg3 { display: grid; grid-template-columns: 1fr 1fr; padding: .2rem; border-radius: .8rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.mk-seg button, .mk-seg3 button { height: 2.35rem; border: 0; border-radius: .6rem; background: none; color: var(--text-2); font: 400 1rem var(--font-ui); cursor: pointer; }
.mk-seg3 { margin-bottom: .8rem; }
.mk-seg3 button { height: 2.1rem; font-size: .88rem; }
.mk-seg button.is-on, .mk-seg3 button.is-on { background: rgba(242, 198, 106, .16); color: var(--gold-1); box-shadow: inset 0 0 0 1px rgba(242, 198, 106, .45); }
.mk-field { display: grid; gap: .35rem; }
.mk-field > label { display: flex; justify-content: space-between; gap: .5rem; font: 400 .72rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.mk-field > label span { text-transform: none; letter-spacing: 0; font-size: .78rem; color: var(--text-3); text-align: right; }
.mk-presets { display: flex; flex-wrap: wrap; gap: .3rem; }
.mk-presets button { height: 1.95rem; padding: 0 .6rem; border-radius: .55rem; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: var(--text-2); font: 400 .82rem var(--font-ui); white-space: nowrap; cursor: pointer; }
.mk-presets button b { font-weight: 400; font-family: var(--font-num); color: var(--text-1); margin-left: .25rem; }
.mk-presets button.is-on, .mk-presets button:hover { border-color: rgba(242, 198, 106, .55); background: rgba(242, 198, 106, .14); color: var(--gold-1); }
.mk-input { display: flex; align-items: center; gap: .5rem; height: 2.6rem; padding: 0 .8rem; border-radius: .675rem; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .25); }
.mk-input:focus-within { border-color: rgba(242, 198, 106, .55); }
.mk-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--gold-0); font: 400 1.15rem var(--font-num); }
.mk-input .ia-emblem { width: 1.15rem; height: 1.15rem; flex: none; }
.mk-input em { font-style: normal; font: 400 .8rem var(--font-ui); color: var(--text-3); white-space: nowrap; }
.mk-input.is-warn { border-color: rgba(255, 180, 94, .6); box-shadow: 0 0 0 1px rgba(255, 180, 94, .2); }
.mk-sum { display: grid; gap: .3rem; padding: .7rem .8rem; border-radius: .75rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.mk-sum div { display: flex; justify-content: space-between; gap: .6rem; font-size: .88rem; color: var(--text-2); }
.mk-sum div b { font: 400 .95rem var(--font-num); color: var(--text-1); white-space: nowrap; }
.mk-sum div.is-total { margin-top: .15rem; padding-top: .4rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .95rem; color: var(--text-1); }
.mk-sum div.is-total b { font-size: 1.15rem; color: var(--gold-0); }
.mk-sum h4 { margin: .2rem 0 0; font: 400 .7rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.mk-sum h4:first-child { margin-top: 0; }
.mk-warns { display: grid; gap: .4rem; }
.mk-warn { display: flex; gap: .55rem; align-items: flex-start; margin: 0; padding: .6rem .7rem; border-radius: .7rem; border: 1px solid rgba(255, 180, 94, .4); background: rgba(255, 180, 94, .08); font-size: .86rem; line-height: 1.4; color: #ffd6a3; }
.mk-warn .ia-glyph { flex: none; width: 1.05rem; height: 1.05rem; margin-top: .1rem; color: #ffb45e; }
.mk-note { display: flex; gap: .5rem; align-items: flex-start; margin: 0; font-size: .82rem; line-height: 1.4; color: var(--text-3); }
.mk-note .ia-glyph { flex: none; width: 1rem; height: 1rem; margin-top: .1rem; color: var(--gold-3); }
.mk-go { min-height: 3.1rem; font-size: 1.02rem; }
.mk-go:disabled { opacity: 1; color: var(--text-3); }

.market-page .win-side.mk-side.is-pinned { overflow: hidden; display: flex; flex-direction: column; }
.mk-pinned { flex: 1; min-height: 0; }
.mk-pinned-scroll { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .75rem; margin-right: -.4rem; padding-right: .4rem; }
.mk-pinned-foot { flex: none; display: grid; gap: .55rem; }
html:not(.is-hud) .mk-pinned-scroll { overflow: visible; margin: 0; padding: 0; }

.mk-slots { flex: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: .8rem; align-content: start; align-items: start; }
.mk-offer { display: flex; flex-direction: column; gap: .5rem; padding: .8rem .9rem; border-radius: .95rem; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); min-height: 0; color: inherit; font: inherit; }
.mk-offer.is-sell { border-top: 2px solid rgba(242, 198, 106, .55); }
.mk-offer.is-buy { border-top: 2px solid rgba(102, 198, 255, .55); }
.mk-offer.is-piece { border-top-color: rgba(195, 140, 255, .6); }
.mk-offer.is-empty { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .6rem; row-gap: 0; padding: .7rem .9rem; border-style: dashed; background: none; color: var(--text-3); font-size: .9rem; text-align: left; cursor: pointer; }
.mk-offer.is-empty:hover { border-color: rgba(242, 198, 106, .4); color: var(--text-2); }
.mk-offer.is-empty .ia-glyph { grid-row: span 2; }
.mk-offer.is-empty small { color: var(--text-4); }
.mk-offer.is-empty .ia-glyph { width: 1.25rem; height: 1.25rem; color: var(--gold-3); }
.mk-offer-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; align-items: center; }
.mk-offer-head .well { width: 3rem; height: 3rem; }
.mk-offer-head small { display: block; font: 400 .7rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.mk-offer.is-buy .mk-offer-head small { color: #7fbfe8; }
.mk-offer-head strong { display: block; font: 400 1.05rem/1.2 var(--font-display); color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-offer .mk-line { display: flex; justify-content: space-between; gap: .5rem; font-size: .84rem; color: var(--text-3); }
.mk-offer .mk-line b { font: 400 .9rem var(--font-num); color: var(--text-1); white-space: nowrap; }
.mk-offer .mk-state { margin: 0; font-size: .82rem; line-height: 1.35; color: var(--text-3); }
.mk-offer .mk-foot { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.mk-offer .mk-foot .btn { min-height: 2.2rem; font-size: .86rem; }

.mk-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-bottom: .75rem; }
.mk-filter-gap { flex: 0 0 .8rem; }
.mk-pieces-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .6rem; }
.mk-piece { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; align-items: center; padding: .6rem .7rem; border-radius: .85rem; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.mk-piece:hover { border-color: rgba(195, 140, 255, .45); }
.mk-piece.is-selected { border-color: rgba(195, 140, 255, .7); background: rgba(195, 140, 255, .08); }
.mk-piece .well { width: 3.2rem; height: 3.2rem; }
.mk-piece-copy { display: grid; gap: .15rem; min-width: 0; }
.mk-piece-copy strong { font: 400 1.02rem/1.2 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-piece-copy small { font-size: .78rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-piece-copy small.mk-piece-wear { color: #ffb45e; }
.mk-piece-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .15rem; font-size: .95rem; color: var(--gold-0); }
.mk-chip { padding: .1rem .45rem; border-radius: .45rem; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); font: 400 .76rem var(--font-num); color: var(--text-2); white-space: nowrap; }
.mk-chip.is-up { border-color: rgba(88, 214, 127, .45); background: rgba(88, 214, 127, .1); color: var(--emerald); }
.mk-chip.is-down { border-color: rgba(255, 107, 100, .4); background: rgba(255, 107, 100, .08); color: #ff9b95; }
.mk-pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; align-content: start; }
.mk-piece-cell { padding: 0; border: 0; background: none; cursor: pointer; }
.mk-pieces .well { width: 100%; height: auto; aspect-ratio: 1; }
.mk-pieces-nav .win-caps { margin: .2rem 0 .6rem; }
.mk-piececard { padding: .2rem 0 0; }
.mk-piececard .tip-head { display: flex; align-items: center; gap: .9rem; padding: .7rem .8rem; border-radius: .85rem; background: linear-gradient(90deg, rgba(195, 140, 255, .16), rgba(195, 140, 255, .03)); }
.mk-piececard .tip-head .well { width: 3.6rem; height: 3.6rem; }
.mk-piececard .tip-title h4 { margin: 0; font: 400 1.35rem var(--font-display); }
.mk-piececard .tip-title small { font-size: .82rem; color: var(--text-3); }
.mk-piececard .tip-row b.t-bad { color: #ffb45e; }
.mk-piececard .tip-body { display: grid; gap: .65rem; margin-top: .8rem; }
.mk-piececard .tip-compare > span:last-child { white-space: nowrap; }
.mk-similar-row { display: flex; justify-content: space-between; gap: .6rem; font-size: .86rem; color: var(--text-3); }
.mk-similar-row + .mk-similar-row { margin-top: .3rem; }
.mk-similar-row b { font-weight: 400; color: var(--text-1); }
.mk-preview { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .6rem; align-items: center; padding: .75rem .85rem; border-radius: .9rem; border: 1px solid rgba(195, 140, 255, .4); background: rgba(195, 140, 255, .06); }
.mk-preview > small { grid-column: 1 / -1; font: 400 .68rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-3); }
.mk-preview strong { font: 400 1.1rem var(--font-display); }
.mk-preview > span { font-size: .8rem; color: var(--text-3); }
.mk-preview .well { grid-row: 2 / span 2; grid-column: 2; width: 3rem; height: 3rem; }
.mk-preview .mk-price { grid-column: 1 / -1; display: flex; align-items: center; gap: .35rem; margin-top: .35rem; font: 400 1.1rem var(--font-num); color: var(--gold-0); }
.mk-preview .mk-price .ia-emblem { width: 1.1rem; height: 1.1rem; }
.mk-preview .mk-eg { grid-column: 1 / -1; font-size: .74rem !important; color: var(--text-4) !important; }

.mk-modal.modal { width: min(36rem, 100%); padding: 1.6rem 1.6rem 1.3rem; }
.mk-modal-kicker { display: block; margin-bottom: .35rem; text-align: center; color: var(--gold-2); letter-spacing: .14em; }
.mk-modal h2 { margin: 0 0 .9rem; text-align: center; font: 400 1.55rem/1.2 var(--font-display); color: var(--text-1); }
.mk-modal .mk-sum { margin: .2rem 0 .9rem; }
.mk-modal p.mk-modal-line { margin: 0 0 .6rem; text-align: left; font-size: .95rem; line-height: 1.45; color: var(--text-2); }
.mk-modal .mk-modal-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .3rem; }
.mk-modal .mk-modal-btns .btn { min-height: 2.9rem; font-size: 1rem; }

.mk-staff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-bottom: .7rem; }
.mk-staff-grid > div { padding: .55rem .75rem; border-radius: .75rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.mk-staff-grid b { display: block; margin-top: .2rem; font: 400 1.2rem var(--font-num); color: var(--text-1); }
.mk-staff-pause { display: flex; gap: .5rem; margin-bottom: .6rem; }
.mk-staff-pause .input { flex: 1; }
.mk-staff-form { display: grid; grid-template-columns: 1fr 1.4fr .8fr auto; gap: .5rem; }
.mk-staff-form .mk-staff-why { grid-column: 1 / -1; }
.mk-trades.mk-hist > div .btn-sm { margin-left: .35rem; padding: .1rem .55rem; min-height: 0; }

.mk-staff-seg { flex: none; max-width: 36rem; }
.mk-staff-seg button:disabled { opacity: .45; cursor: default; }
.mk-feed-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.7fr); gap: .6rem; }
.mk-feed-strip > div, .mk-feed-big { padding: .55rem .75rem; border-radius: .75rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); min-width: 0; text-align: left; }
.mk-feed-strip small { display: block; font: 400 .7rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.mk-feed-strip b { display: flex; align-items: center; gap: .35rem; margin-top: .2rem; font: 400 1.2rem var(--font-num); color: var(--text-1); }
.mk-feed-strip .is-warn b { color: #ffb45e; }
.mk-feed-big { color: inherit; font: inherit; cursor: pointer; }
.mk-feed-big:hover, .mk-feed-big:focus-visible { border-color: rgba(242, 198, 106, .45); }
.mk-feed-big > span { display: block; font-size: .78rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-feed-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.mk-feed-filter { flex: none; width: 17rem; }
.mk-feed-search { flex: 1 1 14rem; max-width: 22rem; }
.mk-feed-tools .mk-staff-why { flex: 1 1 16rem; }
.mk-feed { display: grid; gap: .25rem; }
.mk-feed-head, .mk-feed-row { display: grid; grid-template-columns: 6.6rem minmax(10rem, 1.7fr) 4.8rem 5.4rem 6.2rem 4.4rem minmax(5.5rem, 1fr) minmax(5.5rem, 1fr) minmax(10rem, 1.6fr); gap: .6rem; align-items: center; }
.mk-feed-head { padding: 0 .6rem; font: 400 .7rem var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.mk-feed-head span:nth-child(n + 3):nth-child(-n + 6) { text-align: right; }
.mk-feed-head span:nth-child(7), .mk-feed-row > span:nth-child(7) { padding-left: 1rem; }
.mk-feed-row { padding: .3rem .6rem; border-radius: .6rem; background: rgba(255, 255, 255, .03); border: 1px solid transparent; font: 400 .9rem var(--font-num); color: var(--text-2); }
.mk-feed-row > span { min-width: 0; }
.mk-feed-row > span:nth-child(n + 3):nth-child(-n + 6) { text-align: right; color: var(--text-1); }
.mk-feed-row.is-flagged, .mk-feed-card.is-flagged { background: rgba(255, 180, 94, .06); border-color: rgba(255, 180, 94, .2); }
.mk-feed-row.is-focus, .mk-feed-card.is-focus { border-color: rgba(242, 198, 106, .75); box-shadow: inset 0 0 0 1px rgba(242, 198, 106, .35); }
.mk-feed-when { white-space: nowrap; color: var(--text-3); }
.mk-feed-what { display: flex; align-items: center; gap: .55rem; min-width: 0; font-family: var(--font-ui); }
.mk-feed-what > span { min-width: 0; }
.mk-feed-what .well { width: 1.9rem; height: 1.9rem; flex: none; }
.mk-feed-what strong { display: block; font: 400 .95rem var(--font-display); color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-feed-what small { display: block; font-size: .72rem; color: var(--text-3); }
.mk-name { max-width: 100%; padding: 0; border: 0; background: none; color: var(--gold-1); font: 400 .9rem var(--font-ui); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.mk-name:hover, .mk-name:focus-visible { text-decoration: underline; }
.mk-feed-flags { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; min-width: 0; }
.mk-flag { padding: .05rem .45rem; border-radius: .5rem; background: rgba(255, 255, 255, .06); font: 400 .74rem var(--font-ui); font-style: normal; color: var(--text-2); white-space: nowrap; }
.mk-flag.is-warn { background: rgba(255, 180, 94, .14); color: #ffb45e; }
.mk-flag.is-dim { color: var(--text-3); }
.mk-feed-flags .btn-sm { margin-left: auto; padding: .1rem .55rem; min-height: 0; }
.mk-feed-pages { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .75rem; }

html:not(.is-hud) .mk-phone { display: flex; flex-direction: column; gap: .8rem; padding-bottom: 5rem; }
html:not(.is-hud) .mk-phone .mk-ph-headcard { position: relative; padding: 1rem .95rem; }
html:not(.is-hud) .mk-phone .mk-ph-headcard > .win-guide-help { position: absolute; top: .7rem; right: .7rem; z-index: 2; }
html:not(.is-hud) .mk-phone .mk-ph-grp { margin: .55rem 0 0; padding: 0 .1rem .1rem; font: 400 .72rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); border-bottom: 1px solid rgba(242, 198, 106, .18); }
html:not(.is-hud) .mk-phone .mk-ph-list > .mk-ph-grp:first-child { margin-top: 0; }
html:not(.is-hud) .mk-phone .mk-ph-head { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; }
html:not(.is-hud) .mk-phone .mk-ph-head .t-caps { color: var(--gold-2); letter-spacing: .14em; font-size: .8rem; }
html:not(.is-hud) .mk-phone .mk-ph-head h1 { margin: .1rem 0 0; font: 400 2.1rem/1 var(--font-display); color: var(--gold-0); }
html:not(.is-hud) .mk-phone .mk-ph-stats { display: grid; grid-template-columns: 1.3fr 1fr; gap: .45rem; margin-top: .8rem; }
html:not(.is-hud) .mk-phone .mk-ph-stats > div { padding: .5rem .6rem; border-radius: .7rem; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .07); min-width: 0; }
html:not(.is-hud) .mk-phone .mk-ph-stats small { display: block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
html:not(.is-hud) .mk-phone .mk-ph-stats b { display: flex; align-items: center; gap: .3rem; margin-top: .15rem; font: 400 1.05rem var(--font-num); color: var(--gold-0); white-space: nowrap; }
html:not(.is-hud) .mk-phone .mk-ph-stats b .ia-emblem { width: .95rem; height: .95rem; }
html:not(.is-hud) .mk-phone .mk-ph-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .1rem; }
html:not(.is-hud) .mk-phone .mk-ph-tabs::-webkit-scrollbar { display: none; }
html:not(.is-hud) .mk-phone .mk-ph-tab { flex: none; padding: .45rem .85rem; border-radius: .7rem; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: var(--text-2); font: 400 .95rem var(--font-ui); }
html:not(.is-hud) .mk-phone .mk-ph-tab.is-on { border-color: rgba(242, 198, 106, .55); background: rgba(242, 198, 106, .16); color: var(--gold-1); }
html:not(.is-hud) .mk-phone .mk-ph-tab b { display: inline-grid; place-items: center; min-width: 1.2rem; height: 1.2rem; margin-left: .3rem; border-radius: .6rem; background: var(--gold-2); color: #1f1405; font: 600 .72rem var(--font-num); }
html:not(.is-hud) .mk-phone .mk-ph-search { display: flex; }
html:not(.is-hud) .mk-phone .mk-ph-search .input { width: 100%; }
html:not(.is-hud) .mk-phone .mk-ph-cats { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; }
html:not(.is-hud) .mk-phone .mk-ph-cats .filter-chip { flex: none; }
html:not(.is-hud) .mk-phone .mk-card { background: rgba(0, 0, 0, .18); padding: 1rem .95rem; }
html:not(.is-hud) .mk-phone .win-caps { margin: 0 0 .6rem; font: 400 .74rem var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-3); }
html:not(.is-hud) .mk-phone .mk-ph-list { display: grid; gap: .4rem; }
html:not(.is-hud) .mk-phone .mk-ph-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .5rem .6rem; border-radius: .75rem; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .035); color: inherit; font: inherit; text-align: left; }
html:not(.is-hud) .mk-phone .mk-ph-row .well { width: 2.6rem; height: 2.6rem; }
html:not(.is-hud) .mk-phone .mk-ph-row strong { display: block; font: 400 1rem var(--font-display); color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not(.is-hud) .mk-phone .mk-ph-row small { display: block; font-size: .76rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not(.is-hud) .mk-phone .mk-ph-row > b { display: inline-flex; align-items: center; gap: .25rem; font: 400 1rem var(--font-num); color: var(--gold-0); }
html:not(.is-hud) .mk-phone .mk-ph-row > b .ia-emblem { width: .95rem; height: .95rem; }
html:not(.is-hud) .mk-phone .mk-ph-back { align-self: flex-start; }
html:not(.is-hud) .mk-phone .mk-ph-item { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; }
html:not(.is-hud) .mk-phone .mk-ph-item .well { width: 4rem; height: 4rem; }
html:not(.is-hud) .mk-phone .mk-ph-item h2 { margin: 0; font: 400 1.5rem var(--font-display); }
html:not(.is-hud) .mk-phone .mk-ph-item p { margin: .15rem 0 0; font-size: .82rem; color: var(--text-3); }
html:not(.is-hud) .mk-phone .mk-ph-last { display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; margin-top: .8rem; }
html:not(.is-hud) .mk-phone .mk-ph-last small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-3); }
html:not(.is-hud) .mk-phone .mk-ph-last b { display: flex; align-items: center; gap: .4rem; font: 400 2.3rem/1 var(--font-num); color: var(--gold-0); }
html:not(.is-hud) .mk-phone .mk-ph-last b .ia-emblem { width: 1.6rem; height: 1.6rem; }
html:not(.is-hud) .mk-phone .mk-ph-last span { font-size: .8rem; color: var(--text-3); text-align: right; line-height: 1.35; }
html:not(.is-hud) .mk-phone .mk-ph-base { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin: .75rem 0; }
html:not(.is-hud) .mk-phone .mk-ph-base > div { padding: .45rem .6rem; border-radius: .6rem; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .07); font-size: .8rem; color: var(--text-3); }
html:not(.is-hud) .mk-phone .mk-ph-base b { display: block; font: 400 1rem var(--font-num); color: var(--text-1); }
html:not(.is-hud) .mk-phone .mk-chart .axis text { font-size: 10px; }
html:not(.is-hud) .mk-phone .mk-ph-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
html:not(.is-hud) .mk-phone .mk-ph-buttons .btn { min-height: 3.4rem; display: grid; align-content: center; gap: .1rem; font-size: 1.1rem; }
html:not(.is-hud) .mk-phone .mk-ph-buttons .btn small { display: block; font: 400 .78rem var(--font-num); opacity: .85; }
html:not(.is-hud) .mk-phone .mk-ph-sell { --tone-top: #7fe3a0; --tone-mid: #4fc279; --tone-bottom: #2f9a55; --tone-edge: #a6f0c0; --tone-text: #06200f; }
html:not(.is-hud) .mk-phone .mk-ph-fold { padding: 0; overflow: hidden; }
html:not(.is-hud) .mk-phone .mk-ph-fold > summary { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .8rem .9rem; font-size: .92rem; color: var(--text-2); list-style: none; cursor: pointer; }
html:not(.is-hud) .mk-phone .mk-ph-fold > summary::-webkit-details-marker { display: none; }
html:not(.is-hud) .mk-phone .mk-ph-fold > summary .ia-glyph { width: 1rem; height: 1rem; color: var(--gold-2); flex: none; }
html:not(.is-hud) .mk-phone .mk-ph-fold[open] > summary .ia-glyph { transform: rotate(180deg); }
html:not(.is-hud) .mk-phone .mk-ph-fold .mk-card { border: 0; border-top: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
html:not(.is-hud) .mk-phone .mk-body { display: flex; flex-direction: column; gap: .8rem; }
html:not(.is-hud) .mk-phone .mk-body > .win-side, html:not(.is-hud) .mk-phone .mk-nav { border-radius: 1rem; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); }
html:not(.is-hud) .mk-phone .mk-body.is-front > .mk-nav, html:not(.is-hud) .mk-phone .mk-body.is-pieces > .mk-nav { display: none; }
html:not(.is-hud) .mk-phone .mk-table { display: block; }
html:not(.is-hud) .mk-phone .mk-table thead { display: none; }
html:not(.is-hud) .mk-phone .mk-table tbody { display: grid; gap: .35rem; }
html:not(.is-hud) .mk-phone .mk-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .3rem .6rem; align-items: center; padding: .45rem .6rem; border-radius: .75rem; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .035); }
html:not(.is-hud) .mk-phone .mk-table td { padding: 0; border: 0 !important; background: none !important; font-size: .9rem; }
html:not(.is-hud) .mk-phone .mk-table td:nth-child(n + 4) { display: none; }
html:not(.is-hud) .mk-phone .mk-item small { max-width: 11rem; }
html:not(.is-hud) .mk-phone .mk-better { grid-template-columns: 1fr; }
html:not(.is-hud) .mk-phone .mk-slots { grid-template-columns: 1fr; }
html:not(.is-hud) .mk-phone .mk-offer.is-empty { min-height: 0; padding: .7rem; }
html:not(.is-hud) .mk-phone .mk-trades.mk-hist > div { grid-template-columns: 1fr 2fr 1fr; }
html:not(.is-hud) .mk-phone .mk-trades.mk-hist > div span:nth-child(3), html:not(.is-hud) .mk-phone .mk-trades.mk-hist > div span:nth-child(4) { display: none; }
html:not(.is-hud) .mk-phone .mk-trades.is-two { grid-template-columns: 1fr; }
html:not(.is-hud) .mk-phone .mk-staff-grid { grid-template-columns: 1fr 1fr; }
html:not(.is-hud) .mk-phone .mk-staff-form { grid-template-columns: 1fr 1fr; }
html:not(.is-hud) .mk-phone .mk-staff-form .btn { grid-column: 1 / -1; }
html:not(.is-hud) .mk-phone .mk-staff-seg { max-width: none; }
html:not(.is-hud) .mk-phone .mk-card > .win-caps { flex-wrap: wrap; row-gap: .15rem; }
html:not(.is-hud) .mk-phone .mk-feed-strip { grid-template-columns: 1fr 1fr; }
html:not(.is-hud) .mk-phone .mk-feed-strip .mk-feed-big { grid-column: 1 / -1; }
html:not(.is-hud) .mk-phone .mk-feed-strip b { font-size: 1.05rem; }
html:not(.is-hud) .mk-phone .mk-feed-tools { display: grid; grid-template-columns: minmax(0, 1fr); }
html:not(.is-hud) .mk-phone .mk-feed-filter, html:not(.is-hud) .mk-phone .mk-feed-search { width: auto; max-width: none; }
html:not(.is-hud) .mk-phone .mk-feed-search { display: flex; }
html:not(.is-hud) .mk-phone .mk-feed-search .input { width: 100%; }
html:not(.is-hud) .mk-phone .mk-feed-cards { display: grid; gap: .45rem; }
html:not(.is-hud) .mk-phone .mk-feed-card { display: grid; gap: .35rem; padding: .6rem .65rem; border-radius: .8rem; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .035); min-width: 0; }
html:not(.is-hud) .mk-phone .mk-feed-card .mk-feed-when { margin-left: auto; flex: none; font: 400 .76rem var(--font-num); }
html:not(.is-hud) .mk-phone .mk-feed-nums { display: flex; justify-content: space-between; gap: .6rem; font: 400 .9rem var(--font-num); color: var(--text-2); }
html:not(.is-hud) .mk-phone .mk-feed-nums b { font-weight: 400; color: var(--gold-0); }
html:not(.is-hud) .mk-phone .mk-feed-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; font-size: .86rem; color: var(--text-3); }
html:not(.is-hud) .mk-phone .mk-feed-who small { margin-left: auto; font: 400 .8rem var(--font-num); }
html:not(.is-hud) .mk-phone .mk-name { font-size: .95rem; }
html:not(.is-hud) .mk-phone .mk-feed-pages { justify-content: stretch; }
html:not(.is-hud) .mk-phone .mk-feed-pages .btn { flex: 1; }
html:not(.is-hud) .mk-phone .mk-baseline { grid-template-columns: 1fr 1fr; }
html:not(.is-hud) .mk-phone .mk-notice { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; }
html:not(.is-hud) .mk-phone .mk-notice .ia-glyph { margin-top: .15rem; }
html:not(.is-hud) .mk-phone .mk-notice .btn { grid-column: 1 / -1; margin: .3rem 0 0; justify-self: start; }
html:not(.is-hud) .mk-phone .mk-notice-btns { grid-column: 1 / -1; margin: .3rem 0 0; }
html:not(.is-hud) .mk-phone .mk-notice-btns .btn { margin: 0; }
html:not(.is-hud) .mk-phone .mk-pieces { grid-template-columns: repeat(4, 1fr); }
html:not(.is-hud) .mk-phone .mk-piece-cell .well { width: 100%; }
html:not(.is-hud) .mk-sheet-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(3, 5, 9, .6); }
html:not(.is-hud) .mk-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; max-height: 86vh; padding: 1rem .95rem calc(1rem + env(safe-area-inset-bottom)); border-radius: 1.2rem 1.2rem 0 0; background: #0d1522; border: 1px solid rgba(242, 198, 106, .3); border-bottom: 0; }
html:not(.is-hud) .mk-sheet .mk-sheet-head { display: flex; align-items: center; justify-content: space-between; }
html:not(.is-hud) .mk-sheet .mk-sheet-head strong { font: 400 1.25rem var(--font-display); color: var(--gold-0); }

.mk-slot { margin-top: .35rem; white-space: nowrap; }
@media (max-width: 760px), (max-height: 500px) and (pointer: coarse) {
  html:not(.is-hud) .mk-phone :is(.mk-ph-tabs, .mk-ph-cats) { margin-inline: .45rem; overscroll-behavior-x: contain; }
  html:not(.is-hud) .mk-phone .mk-ph-tab { min-height: 44px; }
  html:not(.is-hud) .mk-phone :is(.filter-chip, .mk-ph-back, .mk-foot .btn, .mk-ph-fold > summary, .mk-seg button, .mk-seg3 button, .mk-go) { min-height: 44px; height: auto; }
  html:not(.is-hud) .mk-phone .mk-presets button { min-width: 44px; height: 44px; }
  html:not(.is-hud) .mk-phone .mk-input { height: 46px; }
  html:not(.is-hud) .mk-phone :is(.mk-input input, .search .input) { min-height: 44px; }
  html:not(.is-hud) .mk-phone .mk-filters .filter-chip { min-width: 44px; justify-content: center; }
  html:not(.is-hud) .mk-phone .mk-sheet-head .btn-icon { width: 44px; min-height: 44px; }
  html:not(.is-hud) .mk-phone .mk-offer-head .well { width: 3.3rem; height: 3.3rem; }
  html:not(.is-hud) .mk-phone .mk-ph-buttons .btn small { font-size: .9rem; }
  html:not(.is-hud) .mk-phone :is(.mk-warn, .mk-sum div, .mk-sum h4, .mk-modal-kicker, .mk-modal-line) { font-size: .9rem; }
  html:not(.is-hud) .mk-phone .mk-sum h4 { letter-spacing: .06em; }
  html:not(.is-hud) .mk-phone .mk-modal .btn { min-height: 44px; }
  html:not(.is-hud) .mk-phone :is(.mk-ph-head .t-caps, .mk-note, .mk-ph-stats small, .filter-chip, .filter-chip small, .win-caps, .win-caps small, .well .qty, .mk-ph-row small, .mk-ph-grp, .mk-ph-back, .mk-ph-item p, .mk-ph-last small, .mk-ph-last span,
    .mk-ph-base > div, .btn small, .mk-book h3, .mk-book small, .mk-book-now span, .mk-field label, .mk-field span, .mk-presets button, .mk-input em, .mk-seg3 button, .mk-grp th, .mk-item small, .mk-slot-row small, .mk-slotlist .is-empty,
    .mk-side-note, .mk-offer-head small, .mk-line span, .mk-state, .mk-foot .btn, .mk-offer small, .mk-th span, .mk-came span, .mk-came b, .mk-none) { font-size: .9rem; }
  html:not(.is-hud) .mk-phone :is(.mk-ph-stats small, .win-caps, .mk-ph-head .t-caps) { letter-spacing: .05em; }
  html:not(.is-hud) .mk-phone :is(.mk-ph-row small, .mk-item small) { white-space: normal; max-width: none; }
  html:not(.is-hud) .mk-phone .mk-sheet { bottom: var(--nav); max-height: min(80dvh, calc(100dvh - var(--nav) - env(safe-area-inset-top) - 4rem)); padding-bottom: 1rem; }
  html:not(.is-hud) .mk-phone .mk-sheet::after { content: ""; position: absolute; left: 50%; top: .45rem; width: 2.9rem; height: .32rem; margin-left: -1.45rem; border-radius: 1rem; background: rgba(242, 198, 106, .5); pointer-events: none; }
  html:not(.is-hud) .mk-phone .mk-sheet::before { display: none; }
}
@media (max-height: 500px) and (pointer: coarse) {
  html:not(.is-hud) .mk-phone .mk-sheet { left: auto; right: calc(var(--rail, 0px) + .3rem); bottom: 0; width: min(28rem, calc(100% - var(--rail, 0px) - 1rem)); max-height: calc(100dvh - .6rem); padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
}
