html { scrollbar-gutter: stable; }
body.trades { min-height: 100vh; display: flex; flex-direction: column; }
.segs { display: flex; flex-wrap: wrap; gap: 6px; }
.seg { padding: 7px 12px; background: var(--inner); border: 1px solid rgba(120,214,214,.2); color: var(--dim); font: 600 13px var(--ui); cursor: pointer; }
.seg:hover { border-color: var(--teal); color: #fff; }
.seg.on { background: rgba(98,222,190,.16); border-color: var(--teal); color: #fff; }
.mk-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.mk-row .small { min-width: 56px; }
input[type="search"], .mk-form input, .mk-form select, .mk-pick input { background: var(--inner); border: 1px solid rgba(120,214,214,.25); color: var(--ink); font: 15px var(--ui); padding: 8px 10px; min-width: 0; width: 100%; box-sizing: border-box; }
.mk-how { margin: 0 0 10px; }
.mk-mine-find { margin: 0 0 4px; }
.mk-mine[hidden] { display: none; }
input:focus, select:focus { outline: none; border-color: var(--teal); }
.mk-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mk-list.mk-even { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.mk-list.mk-even > .mk-card > .mk-deal { flex: 1 1 auto; }
.mk-list > p { grid-column: 1 / -1; }
.mk-card { background: #080a0c; border: 1px solid rgba(120,214,214,.14); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.mk-card.mk-picked { border-color: #22d3ee; }
.mk-head { display: flex; align-items: flex-start; gap: 10px; }
.mk-tags { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; margin-left: auto; }
.mk-server { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: .3px; white-space: nowrap; }
.mk-perm { font-size: 10px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--teal); }
.mk-badges { display: flex; gap: 6px; }
.mk-ago { white-space: nowrap; line-height: 1.2; }
.mk-card .mk-deal { gap: 0; }
.mk-part { display: flex; flex-direction: column; gap: 7px; padding: 10px 0; border-top: 1px solid rgba(120,214,214,.1); }
.mk-part:last-child { border-bottom: 1px solid rgba(120,214,214,.1); }
.mk-part .mk-traits { padding-left: 68px; }
.mk-dev { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.mk-dev-l { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 64px; flex: none; }
.mk-big .mk-face, .mk-item .mk-face { width: 60px; height: 60px; }
.mk-tile.mk-dt .mk-face { background: linear-gradient(215deg, #1d2227 0%, #12151a 60%); border: 2px solid #25282d; box-shadow: none; }
.mk-rbars { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.mk-rbar { display: flex; flex-direction: column; gap: 2px; cursor: default; }
.mk-rbar-top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: var(--faint); line-height: 1; }
.mk-rbar-top b { color: #6fdcc0; font-size: 11px; }
.mk-rseg { display: flex; gap: 2px; }
.mk-rseg i { flex: 1; height: 3px; background: rgba(120,214,214,.15); }
.mk-rseg i.on { background: #6fdcc0; }
.mk-any { font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: var(--faint); text-align: center; }
.mk-dev-r { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mk-slot-list { display: flex; flex-direction: column; gap: 5px; }
.mk-slot { display: flex; align-items: center; height: 26px; padding-right: 20px; font-size: 15px; color: #e9ecec; background: linear-gradient(90deg, rgba(68,255,195,.21) 0, rgba(68,255,195,.2) 50%, rgba(68,255,195,.17) 67%, rgba(68,255,195,.08) 83%, rgba(68,255,195,0) 100%) 26px 0 / calc(100% - 38px) 100% no-repeat; }
.mk-slot.mk-gold { background-image: linear-gradient(90deg, rgba(255,212,68,.21) 0, rgba(255,212,68,.2) 50%, rgba(255,212,68,.17) 67%, rgba(255,212,68,.08) 83%, rgba(255,212,68,0) 100%); }
.mk-slot-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: #122823; box-shadow: inset 0 0 0 1px #6ec8af, inset 0 0 0 2px #091b17; }
.mk-slot.mk-gold .mk-slot-ic { background: #282312; box-shadow: inset 0 0 0 1px #a39660, inset 0 0 0 2px #1d1908; }
.mk-ti { display: block; flex: none; background-repeat: no-repeat; }
.mk-slot-ic .mk-ti { width: 26px; height: 26px; }
.mk-slot-name { flex: 1; min-width: 0; margin: 0 8px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-slot-k { flex: none; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: rgba(233,236,236,.55); }
.mk-slot.mk-empty { background: none; color: var(--faint); }
.mk-slot.mk-empty .mk-slot-name { margin-left: 0; }
.mk-mine .mk-dev, .mk-hist .mk-dev { flex: 1 1 260px; }
.mk-ids { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; background: none; border: 1px solid rgba(120,214,214,.1); }
.mk-id { display: flex; align-items: center; gap: 10px; }
.mk-idbox { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mk-idbox > .mk-details { align-self: stretch; justify-content: center; }

.mk-card > .mk-deal { position: relative; container-type: inline-size; }
.mk-card > .mk-deal > .mk-part { transition: filter .35s ease, opacity .35s ease; }
.mk-deal.mk-ids-open > .mk-part { filter: blur(5px); opacity: .4; }
.mk-slide { position: absolute; inset: 0; z-index: 2; overflow: hidden; visibility: hidden; pointer-events: none; transition: visibility 0s linear .4s; }
.mk-deal.mk-ids-open > .mk-slide { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.mk-ids.mk-slide-in { position: absolute; inset: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-content: start; gap: 12px 20px; padding: 12px 14px; overflow-y: auto; background: rgba(8, 10, 12, .62); border: 1px solid rgba(120,214,214,.22); box-shadow: -14px 0 28px rgba(0,0,0,.45); transform: translateX(104%); opacity: .2; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s ease; }
.mk-deal.mk-ids-open > .mk-slide > .mk-slide-in { transform: none; opacity: 1; }
.mk-slide .mk-slide-title { grid-column: 1 / -1; font-size: 11px; }
.mk-slide .mk-id { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lab btn" "val val"; align-items: center; gap: 3px 8px; }
.mk-slide .mk-id > div { display: contents; }
.mk-slide .mk-id .mk-lab { grid-area: lab; }
.mk-slide .mk-id code { grid-area: val; font-size: 14px; }
.mk-slide .mk-copy-btn { grid-area: btn; padding: 2px 7px; font-size: 10px; }

@container (min-width: 440px) { .mk-ids.mk-slide-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-id > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mk-id .mk-lab { font-size: 10px; }
.mk-id code { font: 15px var(--ui); color: var(--ink); word-break: break-all; }
.mk-copy-btn { flex: none; background: none; border: 1px solid rgba(120,214,214,.28); color: var(--dim); font: 600 11px var(--ui); padding: 4px 9px; cursor: pointer; }
.mk-copy-btn:hover { border-color: var(--teal); color: #fff; }
.mk-card .mk-acts { margin-top: 0; }
.mk-card .mk-acts .btn { flex: 1; justify-content: center; }

.mk-acts .btn.mk-owner-edit { color: #ff5c5c; border-color: rgba(255, 92, 92, .55); }
.mk-acts .btn.mk-owner-edit:hover { color: #ff8080; border-color: #ff5c5c; }
.mk-who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.mk-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-av { width: 36px; height: 36px; border-radius: 50%; flex: none; object-fit: cover; }
.mk-av-small { width: 28px; height: 28px; }
.mk-face-box { position: relative; display: inline-flex; flex: none; }
.mk-av-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; padding: 0; border-radius: 50%; background: #b5463c; border: 1px solid #ff9c9c; color: #fff; font: 700 11px var(--ui); line-height: 1; cursor: pointer; opacity: 0; transition: opacity .12s; }
.mk-face-box:hover .mk-av-x, .mk-av-x:focus { opacity: 1; }
@media (hover: none) { .mk-av-x { opacity: 1; } }
.mk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; align-items: end; }
.mk-blank { display: inline-grid; place-items: center; background: rgba(98,222,190,.14); color: var(--teal); font-weight: 700; }
.badge { font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(232,163,61,.5); padding: 1px 6px; flex: none; }
.badge.mk-buy { color: var(--teal); border-color: rgba(98,222,190,.5); }
.mk-deal { display: flex; flex-direction: column; gap: 8px; }
.mk-side { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.mk-note .mk-side .mk-field input[type="text"] { background: var(--inner); border: 1px solid rgba(120,214,214,.25); color: var(--ink); font: 15px var(--ui); padding: 8px 10px; width: 100%; max-width: 320px; box-sizing: border-box; }
.mk-ask { margin: 4px 0 10px; }

.mk-sidehead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mk-swap { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 12px; }
.mk-swap svg { flex: none; width: 16px; height: 16px; fill: currentColor; }
.mk-lab { font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--faint); }
.mk-item { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mk-item b { min-width: 0; overflow-wrap: anywhere; }
.mk-rated { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.mk-rates { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; color: #6fdcc0; font-size: 15px; font-weight: 700; line-height: 1; }
.mk-rated:hover::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 20; padding: 6px 10px; white-space: pre; background: var(--inner); border: 1px solid var(--edge-strong); color: var(--ink); font-size: 13px; font-weight: 400; line-height: 1.4; pointer-events: none; }
.mk-amt { color: var(--dim); font-size: 14px; flex: none; }
.mk-ic { position: absolute; left: 0.5%; top: 0; width: 99%; height: 99%; background-repeat: no-repeat; }
.mk-tile { --f: #1d2228; --e: #25282d; --t: #15181d; --m: #14161b; --b: #16191c; --c: #2e3133; display: inline-block; flex: none; }
.mk-tile.r1 { --f: #121316; --e: #36413a; --t: #0e1010; --m: #19241e; --b: #203228; --c: #72987d; }
.mk-tile.r2 { --f: #0f1012; --e: #394155; --t: #12171c; --m: #1a2433; --b: #202d43; --c: #5a8191; }
.mk-tile.r3 { --f: #1c2126; --e: #4b365d; --t: #1b1c25; --m: #302040; --b: #3d2552; --c: #7f5db8; }
.mk-tile.r4 { --f: #121316; --e: #504031; --t: #191819; --m: #352417; --b: #49311c; --c: #e9ab66; }
.mk-tile.r5, .mk-tile.r6 { --f: #141213; --e: #573035; --t: #1a1617; --m: #331a1d; --b: #4a1f24; --c: #e0646a; }
.mk-face { position: relative; display: block; width: 44px; height: 44px; background: linear-gradient(180deg, var(--t) 0%, var(--m) 62%, var(--b) 100%); border: 2px solid #25282d; box-shadow: inset 0 -2px 0 var(--c); }
.q1 { color: #8fdc8f; } .q2 { color: #7fb8ff; } .q3 { color: #c79bff; } .q4 { color: #f0c060; } .q5, .q6 { color: #ff8a7a; }
.mk-rule { color: var(--dim); font-size: 13px; margin: 0; }
.mk-card p { margin: 0; overflow-wrap: anywhere; }
.mk-copy { display: flex; align-items: center; gap: 8px; }
.mk-copy .small { min-width: 96px; }
.mk-copy code { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--ink); font: 15px var(--ui); }
.mk-rules p { color: var(--dim); margin: 0 0 8px; }
.mk-rules p:last-child { margin: 0; }
.mk-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.mk-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mk-err { color: #ff8a7a; min-height: 1.4em; margin: 10px 0 0; }
.mk-pick { display: flex; flex-direction: column; gap: 6px; }
.mk-chosen:empty { display: none; }
.mk-results { display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow-y: auto; scrollbar-color: rgba(120,214,214,.4) var(--inner); scrollbar-width: thin; }
.mk-hit { display: flex; align-items: center; gap: 8px; width: 100%; padding: 2px 6px; background: none; border: 1px solid transparent; font: 14px var(--ui); color: var(--ink); text-align: left; cursor: pointer; }
.mk-hit:hover, .mk-hit:focus { border-color: var(--teal); background: rgba(98,222,190,.1); }
.mk-editing { scroll-margin-top: 90px; }
.mk-expired .mk-deal { opacity: .45; filter: grayscale(1); }
.mk-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 16px; }
.mk-mine .mk-deal { flex-direction: row; flex-wrap: wrap; align-items: center; flex: 1 1 320px; }
.trades #who { display: flex; align-items: center; gap: 8px; }
.mk-field[hidden], .mk-side[hidden] { display: none; }
.mk-count { min-width: 30px; padding: 5px 9px; font: 700 14px var(--ui); color: #ff8a7a; background: rgba(160,170,175,.16); border: 1px solid rgba(190,200,205,.4); cursor: pointer; }
.mk-count:hover { background: rgba(160,170,175,.28); }
.mk-offers { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; }
.mk-offers .mk-mine { margin: 0; background: var(--inner); }
.mk-cant { color: #ff9db3; margin: 0; }
.mk-flag { display: inline-block; margin-left: 8px; padding: 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .8px; line-height: 1.5; vertical-align: middle; color: #ffd3dc; background: rgba(214,60,100,.28); border: 1px solid rgba(255,120,150,.75); }
.mk-title { display: flex; flex-wrap: wrap; align-items: center; }
.mk-me { position: relative; display: inline-flex; }
.mk-me:hover .mk-av { outline: 1px solid var(--teal); }
.mk-dot { position: absolute; top: -5px; right: -6px; min-width: 16px; height: 16px; padding: 0 3px; box-sizing: border-box; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; color: #032018; background: var(--teal); border-radius: 8px; }
.mk-report { color: var(--faint); }
.mk-report:hover { color: #ff8a7a; }
.mk-owner-q { background: var(--inner); border: 1px solid rgba(120,214,214,.25); color: var(--ink); font: 14px var(--ui); padding: 7px 10px; }
.mk-name { color: var(--ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-name:hover { color: var(--teal); }
.mk-badrep { color: #ff8a7a; }
.mk-flag.mk-ok { background: rgba(98,222,190,.14); border-color: rgba(98,222,190,.6); color: #8ff0d6; }
.mk-review { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mk-review select { background: var(--inner); border: 1px solid rgba(120,214,214,.25); color: var(--ink); font: 14px var(--ui); padding: 6px 8px; }
.mk-review .mk-err { margin: 0; min-height: 0; }
.mk-pl { display: flex; align-items: center; gap: 14px; }
.mk-pl .mk-av { width: 64px; height: 64px; }
.mk-pl .mk-blank { font-size: 26px; }
.mk-score { font-size: 15px; }
.mk-score b { color: var(--teal); }
.mk-score b.mk-badrep { color: #ff8a7a; }
.mk-flag.mk-ok { background: rgba(98,222,190,.14); border-color: rgba(98,222,190,.6); color: #8ff0d6; }
.mk-hist { display: flex; flex-direction: column; gap: 10px; }
.mk-hist .mk-deal { flex-direction: row; flex-wrap: wrap; align-items: center; }
.mk-row-rev { color: var(--dim); }
.mk-x { margin-left: 10px; width: 22px; height: 22px; padding: 0; background: rgba(224,96,96,.16); border: 1px solid rgba(224,96,96,.7); color: #ff9c9c; font: 700 12px var(--ui); line-height: 1; cursor: pointer; }
.mk-x:hover { background: rgba(224,96,96,.4); color: #fff; }
.mk-x:disabled { opacity: .5; cursor: default; }
.mk-acts { display: flex; gap: 8px; margin-top: 4px; }
.mk-traits { display: flex; flex-wrap: wrap; gap: 4px; }
.mk-trait .mk-ti { width: 14px; height: 14px; }
.mk-trait.mk-gold { color: #e6c770; background: rgba(214,182,92,.12); border-color: rgba(214,182,92,.75); }
input.mk-set.mk-gold { color: #e6c770; border-color: rgba(214,182,92,.75); }
.mk-trait { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; font-size: 12px; color: var(--ink); background: rgba(98,222,190,.1); border: 1px solid rgba(120,214,214,.3); }
.mk-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; }
.mk-tslot { position: relative; min-width: 0; }
.mk-tslot > .mk-ti { position: absolute; left: 7px; top: 8px; z-index: 1; width: 18px; height: 18px; pointer-events: none; }
.mk-tslot input { width: 100%; box-sizing: border-box; background: var(--inner); border: 1px solid rgba(120,214,214,.25); color: var(--ink); font: 13px var(--ui); padding: 7px 8px 7px 31px; }
.mk-tslot input.mk-set { border-color: var(--teal); color: #fff; }
.mk-tslot input:disabled { opacity: .7; }
.mk-tslot .mk-results { position: absolute; z-index: 5; left: 0; right: 0; max-height: none; background: var(--inner); }
.mk-tslot .mk-results:not(:empty) { border: 1px solid var(--teal); border-top: 0; padding: 2px; }
.mk-tslot:focus-within input { border-color: var(--teal); }
.mk-tslot .mk-hit { padding: 5px 6px; font-size: 13px; }
.mk-tslot .mk-hit .mk-ti { display: inline-block; vertical-align: middle; width: 16px; height: 16px; }
.mk-tslot .mk-results .small { margin: 4px 6px; }
.mk-note { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mk-note p { margin: 0; }
.mk-partner { flex: 1 1 100%; display: flex; flex-direction: column; gap: 4px; }
.mk-partner p { margin: 4px 0 0; }
@media (max-width: 480px) {
  .mk-list { grid-template-columns: 1fr; }
  .mk-copy .small { min-width: 80px; }
}
.mk-pat { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: var(--faint); line-height: 1.2; text-align: center; }
.mk-pat b { color: var(--ink); font-size: 12px; letter-spacing: 0; text-transform: none; }
.mk-pat.mk-rare b { color: #e6c770; }
.mk-astats { display: flex; flex-wrap: wrap; gap: 4px; }
.mk-astat { padding: 1px 7px; font-size: 12px; color: var(--ink); background: rgba(98,222,190,.08); border: 1px solid rgba(120,214,214,.3); }
.mk-astat.mk-gold { color: #e6c770; background: rgba(214,182,92,.12); border-color: rgba(214,182,92,.75); }
.mk-astat.mk-female { color: #ffb0d1; background: #361a25; border-color: #ffb0d1; }
.mk-astat.mk-male { color: #8abdff; background: #1b2638; border-color: #8abdff; }
.mk-astat.mk-male, .mk-astat.mk-female { display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
.mk-sign { flex: none; width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; }
.mk-slot.mk-at { padding-left: 8px; background-position: 0 0; background-size: 100% 100%; }
.mk-slot.mk-at .mk-slot-name { margin-left: 0; }
.mk-astats-form { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.mk-aform .mk-slots { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mk-atslot input { padding-left: 8px; }
.mk-atslot .mk-hit { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; }
.mk-atslot .mk-hit .small { font-size: 11px; line-height: 1.3; }
.mk-aform select.mk-miss, .mk-aform input.mk-miss { border-color: #ff6b5e; box-shadow: 0 0 0 1px #ff6b5e; }
.mk-slot[hidden] { display: none; }

.mk-slot.mk-cs { padding-left: 8px; padding-right: 8px; background-position: 0 0; background-size: 100% 100%; }
.mk-slot.mk-cs .mk-slot-name { margin-left: 0; }

.mk-where { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mk-where-lab { font-size: 13px; }
.mk-place { padding: 2px 8px; border: 1px solid rgba(120,214,214,.45); color: var(--ink, #e2efef); font-size: 12px; font-weight: 600; line-height: 1.4; }
.mk-where-who { flex-basis: 100%; }

.mk-places { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-place-opt { padding: 8px 14px; border: 1px solid rgba(120,214,214,.3); background: #071318; color: var(--muted, #9fb3b3); font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
.mk-place-opt[aria-pressed="true"] { border-color: var(--teal, #62dfbd); color: var(--ink, #e2efef); }
.mk-place-opt:focus { outline: none; }
.mk-place-opt:focus-visible { outline: 1px solid rgba(120,214,214,.6); outline-offset: 2px; }

.mk-discord-opt { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; cursor: pointer; }
.mk-discord-opt input { margin: 0; width: 16px; height: 16px; accent-color: var(--teal, #62dfbd); cursor: pointer; }
.mk-slot.mk-cs .mk-cs-val { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; color: #f3e3b0; }
@media (max-width: 760px) {
  .mk-slot.mk-cs { height: auto; min-height: 26px; padding-top: 3px; padding-bottom: 3px; }
  .mk-slot.mk-cs .mk-slot-name { white-space: normal; margin-right: 0; }
  .mk-slot.mk-cs .mk-slot-k:not(.mk-cs-val) { display: none; }
}
.mk-cform .mk-astats-form { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.mk-cform .mk-astats-form.mk-ctop { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mk-cform input:disabled { opacity: .5; }
.mk-more { align-self: flex-start; padding: 3px 0 0; background: none; border: 0; color: var(--teal); font: 600 13px var(--ui); cursor: pointer; }
.mk-more:hover { color: #fff; }
.mk-list:not(.mk-even) > .mk-card { display: grid; grid-template-columns: 210px minmax(0, 1fr) 170px; grid-template-rows: auto auto 1fr; grid-template-areas: "head deal rule" "ids deal acts" "ids deal ."; column-gap: 22px; row-gap: 10px; align-items: start; }
.mk-list:not(.mk-even) > .mk-card > .mk-head { grid-area: head; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "face tags" "who who"; gap: 8px 10px; align-items: start; }
.mk-list:not(.mk-even) > .mk-card > .mk-head .mk-face-box { grid-area: face; }
.mk-list:not(.mk-even) > .mk-card > .mk-head .mk-who { grid-area: who; }
.mk-list:not(.mk-even) > .mk-card > .mk-head .mk-tags { grid-area: tags; margin-left: 0; justify-self: end; }
.mk-list:not(.mk-even) > .mk-card > .mk-deal { grid-area: deal; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; align-self: stretch; align-content: start; }
.mk-list:not(.mk-even) > .mk-card > .mk-deal .mk-part { min-width: 0; border: 0; padding: 0; }
.mk-list:not(.mk-even) > .mk-card > .mk-deal .mk-part + .mk-part { border-left: 1px solid rgba(120,214,214,.1); padding-left: 22px; }
.mk-list:not(.mk-even) > .mk-card > .mk-idbox { grid-area: ids; align-self: start; }
.mk-list:not(.mk-even) > .mk-card > p { grid-area: rule; margin: 0; font-size: 13px; }
.mk-list:not(.mk-even) > .mk-card > .mk-acts { grid-area: acts; margin: 0; flex-direction: column; }
.mk-slot.mk-at .mk-slot-k { display: none; }
.mk-slot.mk-at { padding-right: 8px; }
@media (max-width: 1100px) {
  .mk-list:not(.mk-even) > .mk-card > .mk-deal { grid-template-columns: minmax(0, 1fr); }
  .mk-list:not(.mk-even) > .mk-card > .mk-deal .mk-part + .mk-part { border-left: 0; padding-left: 0; border-top: 1px solid rgba(120,214,214,.1); padding-top: 10px; margin-top: 10px; }
}
@media (max-width: 760px) {
  .mk-list:not(.mk-even) > .mk-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "ids" "deal" "rule" "acts"; }
  .mk-list:not(.mk-even) > .mk-card > .mk-acts { flex-direction: row; }
}
.mk-ani-v { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mk-mine .mk-ani-v, .mk-hist .mk-ani-v { flex: 1 1 260px; }
.mk-ani-v > .mk-dev { flex: none; }
.mk-ani .mk-dev-l { width: 96px; }

.mk-ani.mk-cal .mk-dev-l { width: auto; align-items: flex-start; }
.mk-ani .mk-dev-l .mk-astats { flex-direction: column; align-items: stretch; gap: 3px; width: 100%; }
.mk-ani .mk-dev-l .mk-astat { padding: 1px 4px; font-size: 11px; text-align: center; white-space: nowrap; }
.mk-ani .mk-dev-l .mk-any { line-height: 1.3; }
.mk-tile { position: relative; }
.mk-qty { position: absolute; right: 7%; bottom: 5%; z-index: 1; font: 700 12px/1 var(--ui); letter-spacing: -.03em; color: #fff; -webkit-text-stroke: 1.6px rgba(0,0,0,.9); paint-order: stroke fill; text-shadow: 1px 1px 0 rgba(0,0,0,.9); pointer-events: none; }
.mk-big .mk-qty, .mk-item .mk-qty { font-size: 15px; }
.mk-face { box-shadow: none; }
.mk-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c); pointer-events: none; }
.mk-big::after, .mk-item .mk-tile::after { height: 3px; }
.mk-tile.r0::after, .mk-tile.mk-dt::after { display: none; }
.mk-tile { --eb: #25282d; }
.mk-tile.r1 { --eb: #34463a; }
.mk-tile.r2 { --eb: #2c394f; }
.mk-tile.r3 { --eb: #45355a; }
.mk-tile.r4 { --t: #15171b; --m: #2a211a; --b: #3b2a1c; --c: #d9a44a; --eb: #473729; }
.mk-tile.r5, .mk-tile.r6 { --eb: #4f3034; }
.mk-face { border: 2px solid transparent; background: linear-gradient(180deg, var(--t) 0%, var(--m) 62%, var(--b) 100%) padding-box, linear-gradient(180deg, #212429 0%, var(--eb) 100%) border-box; }
.mk-shot-view { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; background: rgba(3,8,10,.88); cursor: zoom-out; }
.mk-shot-view img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; border: 1px solid rgba(120,214,214,.35); background: #080a0c; }
.mk-shot-view p { margin: 0; color: var(--dim); font-size: 14px; text-align: center; }
.mk-shot-bar { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.mk-shot-bar input { width: 100%; box-sizing: border-box; background: var(--inner); border: 1px solid rgba(120,214,214,.25); color: var(--ink); font: 13px var(--ui); padding: 8px 10px; }
.mk-shot-bar input:focus { outline: none; border-color: var(--teal); }
.mk-shot-bar input.mk-miss { border-color: #ff6b5e; box-shadow: 0 0 0 1px #ff6b5e; }
.mk-pat.mk-pat-shot { padding: 0; background: none; border: 0; color: var(--faint); font: inherit; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; }
.mk-pat.mk-pat-shot:hover b, .mk-pat.mk-pat-shot:focus-visible b { color: var(--teal); text-decoration: underline; }
.mk-tile.mk-photo { cursor: zoom-in; }
.mk-tile.mk-photo .mk-ic { left: 0; top: 0; width: 100%; height: 100%; background-color: #0b0d0f; }
.mk-tile.mk-photo:hover .mk-face, .mk-tile.mk-photo:focus-visible .mk-face { outline: 1px solid var(--teal); }
.mk-shot-note:empty { display: none; }
.mk-crop { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-top: 8px; }
.mk-crop[hidden] { display: none; }
.mk-crop-stage { position: relative; flex: 1 1 260px; max-width: 420px; overflow: hidden; line-height: 0; user-select: none; touch-action: none; border: 1px solid rgba(120,214,214,.25); }
.mk-crop-stage img { display: block; width: 100%; height: auto; }
.mk-crop-sq { position: absolute; box-shadow: 0 0 0 9999px rgba(0,0,0,.55); outline: 2px solid var(--teal); cursor: move; touch-action: none; }
.mk-crop-h { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; background: var(--teal); border: 2px solid #04121a; cursor: nwse-resize; }
.mk-crop-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mk-crop > p { flex-basis: 100%; margin: 0; }

.mk-pin { position: sticky; top: 0; z-index: 10; pointer-events: none; }
.mk-pin > * { pointer-events: auto; }
.mk-pin::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 58px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,12,17,.94) 0%, rgba(3,12,17,.86) 55%, rgba(3,12,17,.5) 80%, rgba(3,12,17,0) 100%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); }
.mk-pin .topbar { position: relative; z-index: 2; }
.mk-tools { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px 8px; }
.mk-regions { display: flex; flex: none; align-items: center; gap: 2px; }
.mk-reg { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 6px; background: none; border: 1px solid transparent; color: #fff; font: 700 15px var(--ui); letter-spacing: .5px; cursor: pointer; }
.mk-reg:hover { border-color: rgba(120,214,214,.45); }
.mk-reg.on { background: linear-gradient(180deg, rgba(42,158,148,.5), rgba(27,119,112,.5)); border-color: #7fe6d8; box-shadow: 0 0 8px rgba(98,223,189,.6), inset 0 0 6px rgba(160,255,240,.18); }
.mk-find { position: relative; display: flex; align-items: center; flex: 1 1 auto; min-width: 160px; height: 42px; box-sizing: border-box; background: var(--inner); border: 1px solid rgba(120,214,214,.3); cursor: text; }
.mk-find:focus-within, .mk-find.mk-open { border-color: var(--teal); }
.mk-glass { flex: none; width: 18px; height: 18px; margin-left: 11px; fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; }
.mk-find:focus-within .mk-glass { stroke: var(--teal); }
.mk-find input[type="search"] { flex: 1 1 auto; width: auto; min-width: 0; height: 100%; padding: 0 10px; background: none; border: 0; color-scheme: dark; }
.mk-chips { display: flex; flex: 0 1 auto; min-width: 0; gap: 4px; margin-right: 6px; }
.mk-open .mk-chips { display: none; }
.mk-chip { min-width: 0; max-width: 190px; height: 28px; padding: 0 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(98,222,190,.12); border: 1px solid rgba(98,222,190,.45); color: #fff; font: 600 12px var(--ui); cursor: pointer; }
.mk-chip:hover { border-color: var(--teal); }
.mk-chip.mk-more { flex: none; color: var(--teal); }
.mk-drop { position: absolute; left: -1px; right: -1px; top: calc(100% + 1px); z-index: 30; max-height: calc(100vh - 90px); overflow: auto; padding: 12px 14px 14px; background: #071116; border: 1px solid var(--teal); border-top: 0; box-shadow: 0 14px 30px rgba(0,0,0,.6); cursor: default; }
.mk-drop[hidden] { display: none; }
.mk-drop-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 12px; }
.mk-drop-head b { color: #fff; font-size: 14px; }
.mk-drop-head .small { order: 3; flex: 1 1 100%; margin: 0; }
.mk-clear { margin-left: auto; padding: 4px 10px; background: var(--inner); border: 1px solid rgba(120,214,214,.25); color: var(--dim); font: 600 12px var(--ui); cursor: pointer; }
.mk-clear:hover { border-color: var(--teal); color: #fff; }
.mk-drop-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; }
.mk-flab { color: var(--dim); font-size: 13px; white-space: nowrap; }
.mk-drop .mk-fin { width: 100%; box-sizing: border-box; padding: 7px 9px; background: var(--inner); border: 1px solid rgba(120,214,214,.25); color: var(--ink); font: 14px var(--ui); color-scheme: dark; }
.mk-drop .mk-fin:focus { border-color: var(--teal); }
.mk-fcheck { display: flex; align-items: center; gap: 8px; min-height: 34px; color: var(--ink); font-size: 14px; cursor: pointer; }
.mk-fcheck input { width: 16px; height: 16px; margin: 0; accent-color: var(--teal); cursor: pointer; }
.mk-tools .mk-view { flex: none; width: 42px; height: 42px; }
@media (min-width: 761px) {
  .topbar > .mk-tools { position: absolute; top: 0; bottom: 0; left: calc(50% - var(--mk-mid, 480px) / 2); width: var(--mk-mid, 480px); justify-content: flex-start; }
  .topbar > .mk-tools .mk-regions { position: absolute; right: calc(100% + 14px); top: 0; bottom: 0; }
}
.mk-sub { position: relative; z-index: 1; background: linear-gradient(180deg, rgba(6,24,32,.9), rgba(6,24,32,.75)); border: 1px solid var(--edge); border-top: 0; backdrop-filter: blur(8px); width: fit-content; max-width: calc(100% - 32px); margin: 0 auto; }
.mk-types { display: flex; flex-wrap: wrap; justify-content: center; }
.mk-types button { margin-bottom: -1px; padding: 9px 18px; background: none; border: 0; color: var(--dim); font: 600 13px/18px var(--ui); letter-spacing: .5px; cursor: pointer; text-shadow: 0 0 0 rgba(98,223,189,0); box-shadow: inset 0 -2px 0 rgba(98,223,189,0), inset 0 -12px 10px -8px rgba(98,223,189,0); }
.nav-ready .mk-types button { transition: color .27s ease, text-shadow .27s ease, box-shadow .27s ease; }
.mk-types button:hover { color: var(--ink); }
.mk-types button.on { color: #fff; text-shadow: 0 0 10px rgba(98,223,189,.52); box-shadow: inset 0 -2px 0 var(--teal), inset 0 -12px 10px -8px rgba(98,223,189,.45); }
.mk-pin.mk-tight .mk-sub { display: flex; flex-direction: column; align-items: center; width: min(1000px, calc(100% - 32px)); }
.mk-sub .mk-tools { width: 100%; padding: 6px 10px 2px; }
.mk-sub .mk-tools .mk-find { flex: 0 1 460px; }
.mk-sub .mk-tools .mk-regions { margin-right: 12px; }
.mk-top #count { margin: 0; }
.mk-view { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 34px; padding: 0; background: var(--inner); border: 1px solid rgba(120,214,214,.2); color: var(--dim); cursor: pointer; }
.mk-view:hover { border-color: var(--teal); color: #fff; }
.mk-view svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .27s ease; }
.mk-view.on svg { transform: rotate(90deg); }
#list { scroll-margin-top: calc(var(--mk-pin, 110px) + 16px); }
@media (max-width: 760px) {
  .mk-types button { padding: 9px 10px; letter-spacing: .2px; }
  .mk-tools { order: 5; flex-basis: 100%; flex-wrap: wrap; justify-content: space-between; }
  .mk-tools .mk-regions { flex: 1 1 100%; }
  .mk-tools .mk-find { flex: 1 1 0; }
  .mk-sub .mk-tools .mk-regions { margin-right: 0; }
  .mk-reg { min-width: 40px; height: 38px; }
}
.mk-pin.mk-phone .mk-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; width: calc(100% - 32px); max-width: none; padding: 8px 10px 4px; box-sizing: border-box; }
.mk-phone .mk-sub .mk-tools { display: contents; }
.mk-phone .mk-sub .mk-find { order: 1; flex: 1 1 0; min-width: 0; }
.mk-phone .mk-sub .mk-view { order: 2; }
.mk-phone .mk-sub .mk-types { order: 3; flex: 1 1 100%; justify-content: space-between; }
.mk-phone .mk-sub .mk-types button { padding: 9px 4px; font-size: 12.5px; letter-spacing: 0; }
.mk-phone .mk-sub .mk-regions { order: 4; flex: 1 1 100%; justify-content: center; margin: 0; }
@media (max-width: 390px) {
  .mk-types button { padding: 9px 6px; font-size: 12.5px; letter-spacing: 0; }
}
.mk-tslot > .mk-ti:has(~ input.ds-search) { left: 11px; top: 12px; }
:root .mk-tslot > .mk-ti ~ input.ds-search { padding-left: 64px; background-position: 37px 50%; }
:root .mk-tslot input.ds-search { font-size: 13px; }
