/* Splash Market – Creator-Marktplatz von Majestic Studios.
   Look: Splash Lab (Tinte, Kleckse, Pink #FF2E9A + Lime #C8FF2E auf neutralem Dunkelgrau), Sticker-Preisschilder,
   harte Offset-Schatten statt Glow. Verspielt in den Details, ruhig in der Fläche. */

@font-face { font-family: "Fredoka One"; src: url("../fonts/FredokaOne-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #121214;
  --bg2: #17171a;
  --card: #1c1c20;
  --card2: #232329;
  --card3: #2a2a31;
  --line: #2c2c33;
  --line2: #393942;
  --text: #f3f3f5;
  --dim: #b3b3bd;
  --mute: #80808c;
  --pink: #ff2e9a;
  --pink-d: #c8177a;
  --pink-soft: rgba(255, 46, 154, .14);
  --lime: #c8ff2e;
  --lime-d: #8fc416;
  --lime-soft: rgba(200, 255, 46, .12);
  --violet: #b23bff;
  --gold: #ffc83d;
  --bad: #ff5c6c;
  --ok: #7cf02a;
  --display: "Fredoka One", "Nunito", system-ui, sans-serif;
  --ui: "Nunito", system-ui, "Segoe UI", sans-serif;
  --r: 20px;
  --r-s: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 6px 0 rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font: 400 16px/1.55 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(178, 59, 255, .10), transparent 62%),
    radial-gradient(900px 480px at -12% 30%, rgba(200, 255, 46, .045), transparent 60%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: .2px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; position: relative; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.fill { fill: currentColor; stroke: none; }

/* ---------- header ---------- */
.mk-top { position: sticky; top: 0; z-index: 60; background: rgba(18, 18, 20, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.mk-top-row { display: flex; align-items: center; gap: 18px; height: 66px; }
.mk-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.mk-brand img { height: 26px; width: auto; }
.mk-brand-mark { display: inline-flex; align-items: center; gap: 7px; font: 400 19px/1 var(--display); color: var(--text); letter-spacing: .3px; padding-left: 12px; border-left: 1px solid var(--line2); }
.mk-brand-mark i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 9px -5px 0 -3px var(--pink); }
.mk-nav { display: flex; gap: 2px; margin-left: 8px; }
.mk-nav a { text-decoration: none; color: var(--dim); font-weight: 700; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; transition: color .18s, background .18s; }
.mk-nav a:hover, .mk-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .06); }
.mk-top-search { flex: 1; max-width: 420px; margin-left: auto; position: relative; }
.mk-top-search input { width: 100%; height: 40px; padding: 0 14px 0 40px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); outline: none; font-size: 14.5px; transition: border-color .18s; }
.mk-top-search input:focus { border-color: var(--pink); }
.mk-top-search .ico { position: absolute; left: 14px; top: 11px; color: var(--mute); }
.mk-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.chip-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid var(--line); background: var(--card); color: var(--text); font: 700 14px var(--ui); cursor: pointer; white-space: nowrap;
  transition: border-color .18s, background .18s, transform .14s var(--ease);
}
.chip-btn:hover { border-color: var(--line2); background: var(--card2); }
.chip-btn:active { transform: scale(.96); }
.chip-btn img { width: 24px; height: 24px; border-radius: 50%; }
.chip-btn.icon { width: 40px; padding: 0; }
.chip-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.mk-menu-btn { display: none; }
@media (max-width: 980px) { .mk-nav { display: none; } }
@media (max-width: 720px) {
  .mk-top-search { display: none; }
  .mk-brand img { height: 22px; }
  .mk-brand-mark { font-size: 16px; padding-left: 10px; }
  .mk-actions .hide-sm { display: none; }
  .mk-menu-btn { display: inline-flex; }
}
.mk-drawer { position: fixed; inset: 66px 0 auto 0; z-index: 59; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 12px 16px 18px; display: none; }
.mk-drawer.is-open { display: block; animation: drop .2s var(--ease); }
.mk-drawer a { display: block; padding: 12px 6px; text-decoration: none; font-weight: 800; border-bottom: 1px solid var(--line); }
.mk-drawer form { margin-bottom: 8px; }
.mk-drawer input { width: 100%; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); padding: 0 14px; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.ink-btn {
  --c: var(--pink); --cd: var(--pink-d); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 15px; cursor: pointer; text-decoration: none; font: 800 15.5px var(--ui); color: var(--fg); background: var(--c);
  box-shadow: 0 5px 0 var(--cd); transition: transform .14s var(--ease), box-shadow .14s var(--ease), filter .18s; white-space: nowrap;
}
.ink-btn:hover { filter: brightness(1.06); }
.ink-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--cd); }
.ink-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.ink-btn.lime { --c: var(--lime); --cd: var(--lime-d); --fg: #15180a; }
.ink-btn.ghost { --c: var(--card2); --cd: #0c0c0e; --fg: var(--text); box-shadow: 0 5px 0 #0c0c0e, inset 0 0 0 1.5px var(--line2); }
.ink-btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; box-shadow: 0 4px 0 var(--cd); }
.ink-btn.ghost.small { box-shadow: 0 4px 0 #0c0c0e, inset 0 0 0 1.5px var(--line2); }
.ink-btn.block { width: 100%; }
.ink-btn.danger { --c: #3a1a22; --cd: #1c0b10; --fg: #ff9aa6; box-shadow: 0 4px 0 #1c0b10, inset 0 0 0 1.5px #5a2430; }
.link-btn { background: none; border: 0; padding: 0; color: var(--dim); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }

.sticker {
  display: inline-block; font: 400 13.5px/1 var(--display); text-transform: uppercase; letter-spacing: .7px; padding: 6px 11px 5px;
  border-radius: 9px; transform: rotate(-3deg); color: #141414; background: var(--lime); box-shadow: 0 3px 0 rgba(0, 0, 0, .35);
}
.sticker.pink { background: var(--pink); color: #fff; }
.sticker.dark { background: #0e0e10; color: var(--text); box-shadow: 0 3px 0 rgba(0, 0, 0, .5), inset 0 0 0 1.5px var(--line2); }
.sticker.tilt { transform: rotate(3deg); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--card2); color: var(--dim); border: 1px solid var(--line); white-space: nowrap; }
.pill.lime { background: var(--lime-soft); color: var(--lime); border-color: rgba(200, 255, 46, .25); }
.pill.pink { background: var(--pink-soft); color: #ff7cc0; border-color: rgba(255, 46, 154, .28); }
.pill.warn { background: rgba(255, 200, 61, .12); color: var(--gold); border-color: rgba(255, 200, 61, .28); }
.pill.bad { background: rgba(255, 92, 108, .12); color: #ff8b97; border-color: rgba(255, 92, 108, .28); }
.pill .ico { width: 14px; height: 14px; }

/* ---------- hero ---------- */
.mk-hero { position: relative; padding: 54px 0 34px; overflow: hidden; }
.mk-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.mk-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: .98; }
.mk-hero h1 { position: relative; isolation: isolate; }
.mk-hero h1 em { font-style: normal; color: var(--lime); position: relative; white-space: nowrap; }
.mk-hero h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .2em; background: var(--pink); border-radius: 99px; z-index: -1; transform: rotate(-1.5deg); opacity: .85; }
.mk-hero .lead { color: var(--dim); font-size: 18px; max-width: 540px; margin: 18px 0 26px; }
.mk-search {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); max-width: 600px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .3); transition: border-color .2s;
}
.mk-search:focus-within { border-color: var(--pink); }
.mk-search .ico { margin-left: 12px; color: var(--mute); }
.mk-search input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; outline: none; font-size: 16px; padding: 0 6px; }
.mk-search select { height: 46px; border: 0; background: var(--card2); border-radius: 13px; padding: 0 12px; font-weight: 700; color: var(--dim); outline: none; max-width: 160px; }
.mk-search .ink-btn { min-height: 46px; border-radius: 14px; box-shadow: 0 4px 0 var(--cd); }
.mk-hero-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--dim); font-size: 14.5px; }
.mk-hero-stats b { color: var(--text); font: 400 20px var(--display); margin-right: 4px; }
.mk-hero-art { position: relative; height: 420px; }
.mk-hero-art .splat { position: absolute; pointer-events: none; }
.mk-float { position: absolute; width: 230px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); padding: 10px; box-shadow: 0 10px 0 rgba(0, 0, 0, .35); text-decoration: none; transition: transform .35s var(--pop); }
.mk-float:hover { transform: rotate(0) translateY(-6px) !important; z-index: 3; }
.mk-float .thumb { aspect-ratio: 4/3; border-radius: 13px; overflow: hidden; background: var(--card2); }
.mk-float .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk-float b { display: block; margin: 9px 4px 2px; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-float small { display: block; margin: 0 4px 2px; color: var(--mute); font-weight: 700; font-size: 12.5px; }
.mk-float .sticker { position: absolute; top: -10px; right: -8px; }
.mk-float.f1 { left: 2%; top: 56px; transform: rotate(-6deg); z-index: 2; }
.mk-float.f2 { right: 0; top: 0; transform: rotate(5deg); }
.mk-float.f3 { left: 34%; bottom: -14px; transform: rotate(-2deg); z-index: 3; }
.mk-hero-empty { position: absolute; inset: 40px 20px; display: grid; place-items: center; text-align: center; color: var(--dim); }
@media (max-width: 900px) {
  .mk-hero { padding: 34px 0 20px; }
  .mk-hero-grid { grid-template-columns: 1fr; }
  .mk-hero-art { display: none; }
}
@media (max-width: 560px) {
  .mk-search { flex-wrap: wrap; padding: 8px; }
  .mk-search .ico { display: none; }
  .mk-search input { flex-basis: 100%; height: 42px; }
  .mk-search select { flex: 1; max-width: none; }
}

/* ---------- sections ---------- */
.mk-sec { padding: 26px 0; }
.mk-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mk-sec-head h2 { font-size: clamp(24px, 3vw, 32px); display: flex; align-items: center; gap: 12px; }
.mk-sec-head h2 .sticker { font-size: 12px; }
.mk-sec-head p { margin: 4px 0 0; color: var(--dim); font-size: 15px; }
.mk-sec-head a { color: var(--dim); font-weight: 800; text-decoration: none; white-space: nowrap; font-size: 14.5px; }
.mk-sec-head a:hover { color: var(--lime); }

.mk-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mk-cat {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; text-decoration: none; overflow: hidden;
  background: var(--card); border: 1.5px solid var(--line); min-height: 128px; transition: border-color .2s, transform .25s var(--pop);
}
.mk-cat:hover { transform: translateY(-3px); border-color: var(--line2); }
.mk-cat.is-active { border-color: var(--lime); }
.mk-cat .blob { position: absolute; right: -18px; bottom: -22px; width: 96px; height: 96px; opacity: .9; transition: transform .45s var(--pop); }
.mk-cat:hover .blob { transform: scale(1.12) rotate(8deg); }
.mk-cat .cat-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--card2); color: var(--lime); position: relative; }
.mk-cat b { margin-top: auto; font-size: 15.5px; position: relative; }
.mk-cat small { color: var(--mute); font-weight: 700; position: relative; }
@media (max-width: 1000px) { .mk-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mk-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-cat { min-height: 108px; } }

/* ---------- cards ---------- */
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.mk-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .mk-grid.four { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .mk-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mk-grid, .mk-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.mk-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1.5px solid var(--line); text-decoration: none; transition: border-color .2s, transform .3s var(--pop), box-shadow .3s var(--ease); min-width: 0; }
.mk-card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 8px 0 rgba(0, 0, 0, .3); }
.mk-card .thumb { position: relative; aspect-ratio: 4/3; border-radius: calc(var(--r) - 6px); margin: 6px; overflow: hidden; background: linear-gradient(135deg, #202026, #17171b); }
.mk-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mk-card:hover .thumb img { transform: scale(1.045); }
.mk-card .thumb .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); }
.mk-card .price { position: absolute; left: 10px; top: 10px; }
.mk-card .price.sticker { font-size: 14px; }
.mk-card .chips { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; }
.mk-card .chips span { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 8px; font-size: 11.5px; font-weight: 800; background: rgba(14, 14, 16, .78); backdrop-filter: blur(6px); color: var(--text); }
.mk-card .chips span .ico { width: 13px; height: 13px; }
.mk-card .chips .ok { color: var(--lime); }
.mk-card .wish { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(14, 14, 16, .72); backdrop-filter: blur(6px); color: var(--text); transition: transform .25s var(--pop), color .2s; }
.mk-card .wish:hover { transform: scale(1.1); }
.mk-card .wish.on { color: var(--pink); }
.mk-card .wish.on .ico { fill: currentColor; }
.mk-card .body { padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.mk-card .title { font-weight: 800; font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-card .by { display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 13px; font-weight: 700; min-width: 0; }
.mk-card .by span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-card .meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; color: var(--dim); font-size: 13px; font-weight: 700; }
.mk-card .meta .ico { width: 14px; height: 14px; }
.mk-card .meta > span { display: inline-flex; align-items: center; gap: 4px; }
.mk-card .meta .hot { color: #ff8a3d; }
.mk-card .demo { position: absolute; right: 10px; bottom: 10px; }
.lvl { display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 5px; border-radius: 6px; font: 400 11px/1 var(--display); background: var(--lime); color: #15180a; flex: none; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }
.stars .ico { width: 14px; height: 14px; }
.stars .off { color: #45454e; }
@media (max-width: 520px) {
  .mk-card .body { padding: 4px 10px 12px; }
  .mk-card .title { font-size: 14px; }
  .mk-card .wish { width: 32px; height: 32px; }
  .mk-card .price.sticker { font-size: 12px; }
}

/* ---------- browse (filters + results) ---------- */
.mk-browse { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.mk-filters { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 18px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1.5px solid var(--line); }
.mk-filters h3 { font: 800 12px var(--ui); text-transform: uppercase; letter-spacing: .1em; color: var(--lime); margin-bottom: 8px; }
.mk-filters label.row { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-weight: 700; font-size: 14.5px; cursor: pointer; color: var(--dim); }
.mk-filters label.row:hover { color: var(--text); }
.mk-filters input[type="radio"], .mk-filters input[type="checkbox"], .check input { appearance: none; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line2); background: var(--bg); display: grid; place-items: center; flex: none; margin: 0; cursor: pointer; transition: background .15s, border-color .15s; }
.mk-filters input[type="radio"] { border-radius: 50%; }
.mk-filters input:checked, .check input:checked { background: var(--lime); border-color: var(--lime); }
.mk-filters input:checked::after, .check input:checked::after { content: ""; width: 8px; height: 5px; border: 2.5px solid #15180a; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.mk-filters input[type="radio"]:checked::after { width: 6px; height: 6px; border: 0; border-radius: 50%; background: #15180a; transform: none; }
.mk-filters .count { margin-left: auto; color: var(--mute); font-size: 12.5px; }
.mk-results-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.mk-results-head h2 { font-size: 26px; margin-right: auto; }
.mk-results-head .total { color: var(--mute); font-weight: 700; }
.mk-select { height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); padding: 0 12px; font-weight: 700; outline: none; }
.mk-select:focus { border-color: var(--pink); }
.mk-active { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.mk-active button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card2); font-weight: 700; font-size: 13px; cursor: pointer; }
.mk-active button:hover { border-color: var(--pink); }
.mk-active .ico { width: 13px; height: 13px; }
.mk-filter-toggle { display: none; }
.mk-pager { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
@media (max-width: 900px) {
  .mk-browse { grid-template-columns: 1fr; }
  .mk-filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 70; border-radius: 22px 22px 0 0; max-height: 78vh; overflow: auto; transform: translateY(105%); transition: transform .32s var(--ease); padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .mk-filters.is-open { transform: none; box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); }
  .mk-filter-toggle { display: inline-flex; }
  .mk-filters .close-row { display: flex !important; }
}
.mk-filters .close-row { display: none; justify-content: space-between; align-items: center; }
.mk-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.mk-scrim.is-on { opacity: 1; pointer-events: auto; }

.mk-empty { padding: 46px 20px; text-align: center; border-radius: var(--r); background: var(--card); border: 1.5px dashed var(--line2); color: var(--dim); }
.mk-empty h3 { color: var(--text); font-size: 24px; margin-bottom: 6px; }
.mk-empty .ink-btn { margin-top: 16px; }
.mk-skel { border-radius: var(--r); background: linear-gradient(100deg, var(--card) 30%, var(--card2) 50%, var(--card) 70%); background-size: 300% 100%; animation: skel 1.4s infinite linear; aspect-ratio: 4/4.6; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- creators row ---------- */
.mk-creators { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mk-creator { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 12px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); text-decoration: none; transition: transform .25s var(--pop), border-color .2s; }
.mk-creator:hover { transform: translateY(-3px); border-color: var(--line2); }
.mk-creator b { font-size: 14.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-creator small { color: var(--mute); font-weight: 700; font-size: 12.5px; }
@media (max-width: 1000px) { .mk-creators { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mk-creators { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.avatar { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--card3); display: grid; place-items: center; font: 400 22px var(--display); color: var(--text); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 24px; height: 24px; font-size: 11px; }
.avatar.md { width: 40px; height: 40px; font-size: 16px; }
.avatar.xl { width: 104px; height: 104px; font-size: 40px; box-shadow: 0 0 0 5px var(--bg), 0 0 0 8px var(--acc, var(--pink)); }

/* ---------- sell CTA ---------- */
.mk-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: 36px; border-radius: 26px; background: linear-gradient(135deg, #1f1a24, #191a1d); border: 1.5px solid var(--line); }
.mk-cta h2 { font-size: clamp(28px, 4vw, 42px); }
.mk-cta p { color: var(--dim); margin: 12px 0 20px; max-width: 520px; }
.mk-cta ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.mk-cta li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 15px; background: rgba(14, 14, 16, .55); border: 1px solid var(--line); }
.mk-cta li .ico { color: var(--lime); margin-top: 2px; }
.mk-cta li b { display: block; }
.mk-cta li small { color: var(--dim); font-size: 13.5px; }
.mk-cta .splat { position: absolute; right: -60px; top: -70px; width: 260px; opacity: .22; pointer-events: none; }
.mk-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .mk-cta { grid-template-columns: 1fr; padding: 24px 18px; } }

/* ---------- item page ---------- */
.mk-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--mute); font-size: 13.5px; font-weight: 700; padding: 22px 0 14px; }
.mk-crumbs a { text-decoration: none; color: var(--dim); }
.mk-crumbs a:hover { color: var(--lime); }
.mk-item { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
.mk-stage { position: relative; aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; border: 1.5px solid var(--line); background:
  radial-gradient(70% 70% at 50% 42%, rgba(255, 255, 255, .07), transparent 70%),
  radial-gradient(40% 35% at 85% 10%, rgba(255, 46, 154, .12), transparent 70%),
  radial-gradient(40% 35% at 10% 95%, rgba(200, 255, 46, .08), transparent 70%), #141417; }
.mk-stage > img { width: 100%; height: 100%; object-fit: contain; background: #0f0f12; }
.mk-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.mk-stage canvas:active { cursor: grabbing; }
.mk-stage .stage-tag { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; pointer-events: none; }
.mk-stage .stage-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(14, 14, 16, .7); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 700; color: var(--dim); pointer-events: none; transition: opacity .5s; white-space: nowrap; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; }
.mk-stage .stage-tools { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; }
.mk-stage .stage-tools button { width: 38px; height: 38px; border-radius: 12px; border: 0; background: rgba(14, 14, 16, .72); backdrop-filter: blur(6px); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.mk-stage .stage-tools button:hover { background: rgba(40, 40, 46, .9); }
.mk-stage .stage-tools button.on { color: var(--lime); }
.mk-stage .wm { align-self: center; font: 400 11.5px var(--display); letter-spacing: .12em; color: rgba(255, 255, 255, .34); text-transform: uppercase; }
@media (max-width: 520px) { .mk-stage .wm { display: none; } }
.mk-stage .loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-weight: 700; }
.mk-stage .loading .bar { width: 160px; height: 6px; border-radius: 9px; background: var(--card2); overflow: hidden; margin-top: 10px; }
.mk-stage .loading .bar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .2s; }
.mk-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.mk-thumbs button { flex: none; width: 88px; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--card2); padding: 0; cursor: pointer; position: relative; transition: border-color .2s; }
.mk-thumbs button.on { border-color: var(--lime); }
.mk-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mk-thumbs .t3d { display: grid; place-items: center; font: 400 15px var(--display); color: var(--lime); background: radial-gradient(circle at 50% 40%, #2a2a31, #17171b); }
.mk-variants { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.mk-variants small { color: var(--mute); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.mk-variants button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--line2); cursor: pointer; transition: transform .2s var(--pop), box-shadow .2s; padding: 0; }
.mk-variants button.on { box-shadow: 0 0 0 2px var(--lime); transform: scale(1.12); }
.mk-variants button.txt { width: auto; border-radius: 10px; padding: 0 10px; background: var(--card2); color: var(--dim); font-weight: 800; font-size: 13px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line2); }
.mk-variants button.txt.on { color: #15180a; background: var(--lime); box-shadow: none; transform: none; }

.mk-box { position: sticky; top: 86px; padding: 22px; border-radius: 24px; background: var(--card); border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.mk-box h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.06; }
.mk-box .by { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mk-box .by b { display: block; font-size: 15px; }
.mk-box .by small { color: var(--mute); font-weight: 700; font-size: 12.5px; }
.mk-box .rating { display: flex; align-items: center; gap: 8px; color: var(--dim); font-weight: 700; font-size: 14px; }
.mk-price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mk-price .big { font: 400 40px/1 var(--display); letter-spacing: .5px; }
.mk-price .big.free { color: var(--lime); }
.mk-price small { color: var(--mute); font-weight: 700; }
.mk-buy { display: grid; gap: 10px; }
.mk-buy-row { display: flex; gap: 10px; }
.mk-buy-row .ink-btn { flex: 1; }
.mk-watch { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13.5px; font-weight: 700; }
.mk-watch .ico { color: var(--pink); }
.mk-react { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-react button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card2); cursor: pointer; font-weight: 800; font-size: 13.5px; color: var(--dim); transition: border-color .2s, color .2s, transform .2s var(--pop); }
.mk-react button:hover { border-color: var(--line2); color: var(--text); }
.mk-react button.on { border-color: var(--lime); color: var(--lime); background: var(--lime-soft); }
.mk-react button:active { transform: scale(.92); }
.mk-react button .ico { width: 17px; height: 17px; }
.mk-react button.pop .ico { animation: popi .45s var(--pop); }
@keyframes popi { 0% { transform: scale(1); } 40% { transform: scale(1.5) rotate(-12deg); } 100% { transform: scale(1); } }
.mk-checks { display: grid; gap: 8px; }
.mk-check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; background: var(--lime-soft); border: 1px solid rgba(200, 255, 46, .18); font-weight: 700; font-size: 14px; }
.mk-check .ico { color: var(--lime); }
.mk-check small { margin-left: auto; color: var(--dim); font-weight: 700; font-size: 12px; }
.mk-check.plain { background: var(--card2); border-color: var(--line); color: var(--dim); }
.mk-check.plain .ico { color: var(--mute); }
.mk-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; margin: 0; }
.mk-facts dt { color: var(--mute); font-weight: 700; }
.mk-facts dd { margin: 0; font-weight: 700; text-align: right; }
.mk-offer-state { padding: 12px 14px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); font-size: 14px; display: grid; gap: 10px; }
.mk-offer-state b { color: var(--lime); }
.mk-offer-state .row { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-note { color: var(--mute); font-size: 12.5px; line-height: 1.5; }
.mk-note a { color: var(--dim); }
@media (max-width: 960px) {
  .mk-item { grid-template-columns: 1fr; }
  .mk-box { position: static; }
}

.mk-panel { padding: 24px; border-radius: 24px; background: var(--card); border: 1.5px solid var(--line); }
.mk-panel + .mk-panel { margin-top: 18px; }
.mk-panel h2 { font-size: 24px; margin-bottom: 14px; }
.mk-desc { color: #dadae0; font-size: 15.5px; white-space: normal; overflow-wrap: anywhere; }
.mk-desc p { margin: 0 0 12px; }
.mk-desc ul { margin: 0 0 12px; padding-left: 20px; }
.mk-desc strong { color: var(--text); }
.mk-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.mk-tags a { text-decoration: none; }
.mk-tags a:hover .pill { border-color: var(--pink); color: var(--text); }
.mk-lower { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
@media (max-width: 960px) { .mk-lower { grid-template-columns: 1fr; } }

.mk-rev-sum { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-bottom: 18px; }
.mk-rev-sum .avg { font: 400 48px/1 var(--display); text-align: center; }
.mk-rev-sum .avg small { display: block; font: 700 13px var(--ui); color: var(--mute); margin-top: 6px; }
.mk-bars { display: grid; gap: 5px; }
.mk-bars div { display: grid; grid-template-columns: 18px 1fr 30px; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--mute); }
.mk-bars i { display: block; height: 8px; border-radius: 9px; background: var(--card3); overflow: hidden; }
.mk-bars i b { display: block; height: 100%; background: var(--gold); border-radius: 9px; }
.mk-review { padding: 16px 0; border-top: 1px solid var(--line); }
.mk-review header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.mk-review header b { font-size: 14.5px; }
.mk-review header small { color: var(--mute); font-weight: 700; margin-left: auto; font-size: 12.5px; }
.mk-review p { margin: 6px 0 0; color: #dadae0; overflow-wrap: anywhere; }
.mk-review .reply { margin: 10px 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--pink); background: var(--card2); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--dim); }
.mk-review .reply b { color: var(--text); display: block; font-size: 12.5px; margin-bottom: 2px; }
.mk-review .verified { color: var(--lime); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.mk-star-pick { display: inline-flex; gap: 4px; }
.mk-star-pick button { background: none; border: 0; padding: 2px; cursor: pointer; color: #45454e; transition: transform .2s var(--pop), color .15s; }
.mk-star-pick button.on { color: var(--gold); }
.mk-star-pick button:hover { transform: scale(1.15); }
.mk-star-pick .ico { width: 28px; height: 28px; }

/* ---------- forms ---------- */
.fld { display: grid; gap: 6px; }
.fld > span { font-weight: 800; font-size: 13.5px; color: var(--dim); }
.fld > span small { font-weight: 700; color: var(--mute); }
.fld input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .fld select, .fld textarea {
  width: 100%; min-height: 46px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--bg2); padding: 10px 14px; outline: none; transition: border-color .18s;
}
.fld textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--pink); }
.fld .help { color: var(--mute); font-size: 12.5px; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .fld-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--dim); cursor: pointer; line-height: 1.45; }
.check input { margin-top: 2px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--bg2); border: 1.5px solid var(--line); gap: 4px; flex-wrap: wrap; }
.seg button { height: 38px; padding: 0 14px; border-radius: 10px; border: 0; background: transparent; font-weight: 800; color: var(--dim); cursor: pointer; transition: background .18s, color .18s; }
.seg button.on { background: var(--lime); color: #15180a; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggles label { position: relative; }
.toggles input { position: absolute; opacity: 0; inset: 0; }
.toggles span { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--bg2); font-weight: 800; font-size: 13.5px; color: var(--dim); cursor: pointer; transition: all .18s; }
.toggles input:checked + span { border-color: var(--lime); color: var(--lime); background: var(--lime-soft); }
.toggles input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.msg { padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.msg.bad { background: rgba(255, 92, 108, .12); color: #ff9aa6; }
.msg.ok { background: var(--lime-soft); color: var(--lime); }
.msg.info { background: var(--card2); color: var(--dim); }

/* ---------- modal ---------- */
.mk-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(6, 6, 8, .66); backdrop-filter: blur(4px); animation: fade .2s; }
.mk-modal .box { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; border-radius: 24px; background: var(--card); border: 1.5px solid var(--line2); box-shadow: 0 10px 0 rgba(0, 0, 0, .4); animation: rise .3s var(--pop); display: grid; gap: 14px; }
.mk-modal .box.wide { width: min(640px, 100%); }
.mk-modal h2 { font-size: 26px; }
.mk-modal .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mk-modal .x { flex: none; width: 36px; height: 36px; border-radius: 11px; border: 0; background: var(--card2); color: var(--dim); display: grid; place-items: center; cursor: pointer; }
.mk-modal .actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@media (max-width: 560px) { .mk-modal { place-items: end center; padding: 0; } .mk-modal .box { border-radius: 24px 24px 0 0; max-height: 92vh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); } }

.mk-toast { position: fixed; left: 50%; bottom: 22px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 14px; background: #0e0e10; border: 1.5px solid var(--line2); font-weight: 800; font-size: 14.5px; transition: transform .3s var(--pop), opacity .2s; box-shadow: 0 6px 0 rgba(0, 0, 0, .4); max-width: calc(100% - 32px); }
.mk-toast.on { transform: translate(-50%, 0); opacity: 1; }
.mk-toast.bad { border-color: #5a2430; color: #ff9aa6; }
.mk-toast.ok { border-color: rgba(200, 255, 46, .4); }

/* ---------- confetti / splat burst ---------- */
.mk-burst { position: fixed; inset: 0; z-index: 130; pointer-events: none; overflow: hidden; }
.mk-burst i { position: absolute; width: var(--s); height: var(--s); border-radius: 50% 46% 54% 48%; background: var(--c); left: var(--x); top: var(--y); animation: burst var(--d) cubic-bezier(.15, .7, .3, 1) forwards; opacity: 0; }
@keyframes burst {
  0% { opacity: 1; transform: translate(0, 0) scale(.3); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(1) rotate(var(--r)); }
}
.mk-burst .splash { position: absolute; left: var(--x); top: var(--y); width: 220px; height: 220px; margin: -110px 0 0 -110px; animation: splashin .9s var(--pop) forwards; opacity: 0; }
@keyframes splashin { 0% { opacity: .9; transform: scale(.2) rotate(-20deg); } 60% { opacity: .9; } 100% { opacity: 0; transform: scale(1.3) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .mk-burst { display: none; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- creator page ---------- */
.mk-profile { position: relative; overflow: hidden; margin-top: 24px; padding: 34px; border-radius: 28px; background: var(--card); border: 1.5px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; }
.mk-profile .splat { position: absolute; right: -80px; top: -110px; width: 360px; opacity: .2; pointer-events: none; }
.mk-profile h1 { font-size: clamp(30px, 4vw, 44px); }
.mk-profile .handle { color: var(--mute); font-weight: 800; }
.mk-profile .bio { color: var(--dim); margin: 10px 0 0; max-width: 620px; overflow-wrap: anywhere; }
.mk-profile .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.mk-level { display: grid; gap: 8px; min-width: 220px; padding: 16px; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line); position: relative; }
.mk-level .top { display: flex; align-items: center; gap: 10px; }
.mk-level .num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: #15180a; font: 400 22px var(--display); transform: rotate(-4deg); box-shadow: 0 4px 0 var(--lime-d); }
.mk-level b { display: block; }
.mk-level small { color: var(--mute); font-weight: 700; font-size: 12.5px; }
.mk-level .xp { height: 9px; border-radius: 9px; background: var(--card3); overflow: hidden; }
.mk-level .xp i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--violet)); border-radius: 9px; }
.mk-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.mk-badge { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 7px; border-radius: 11px; background: var(--card2); border: 1px solid var(--line2); font-weight: 800; font-size: 13px; cursor: default; }
.mk-badge .bi { width: 20px; height: 20px; border-radius: 7px; display: grid; place-items: center; background: var(--c, var(--pink)); color: #111; }
.mk-badge .bi .ico { width: 13px; height: 13px; stroke-width: 2.4; }
.mk-badge[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 220px; padding: 7px 10px; border-radius: 10px; background: #0e0e10; border: 1px solid var(--line2); font-size: 12.5px; font-weight: 700; color: var(--dim); z-index: 5; white-space: normal; text-align: center; }
.mk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 8px; }
.mk-stat { padding: 16px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); }
.mk-stat b { display: block; font: 400 28px/1 var(--display); }
.mk-stat small { color: var(--mute); font-weight: 700; }
@media (max-width: 860px) {
  .mk-profile { grid-template-columns: 1fr; padding: 24px 18px; text-align: center; justify-items: center; }
  .mk-profile .links, .mk-badges { justify-content: center; }
  .mk-level { width: 100%; text-align: left; }
  .mk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- me / dashboard ---------- */
.mk-dash-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px 0 18px; }
.mk-dash-head h1 { font-size: clamp(30px, 4vw, 42px); margin-right: auto; }
.mk-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); margin-bottom: 18px; scrollbar-width: none; }
.mk-tabs::-webkit-scrollbar { display: none; }
.mk-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: transparent; font-weight: 800; color: var(--dim); cursor: pointer; transition: background .18s, color .18s; }
.mk-tabs button:hover { color: var(--text); }
.mk-tabs button.on { background: var(--card3); color: var(--text); }
.mk-tabs .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--pink); color: #fff; font-size: 11.5px; display: inline-grid; place-items: center; }
.mk-rows { display: grid; gap: 10px; }
.mk-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); }
.mk-row .thumb { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--card2); }
.mk-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk-row b { display: block; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-row .sub { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; color: var(--mute); font-size: 13px; font-weight: 700; }
.mk-row .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.mk-row .reason { margin-top: 8px; font-size: 13px; color: #ff9aa6; }
@media (max-width: 680px) {
  .mk-row { grid-template-columns: 72px minmax(0, 1fr); }
  .mk-row .acts { grid-column: 1 / -1; justify-content: flex-start; }
}
.mk-money { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.mk-money .mk-stat.hl { border-color: rgba(200, 255, 46, .4); background: linear-gradient(160deg, rgba(200, 255, 46, .09), var(--card) 60%); }
.mk-money .mk-stat.hl b { color: var(--lime); }
@media (max-width: 860px) { .mk-money { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mk-table th { text-align: left; color: var(--mute); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.mk-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mk-table td.r, .mk-table th.r { text-align: right; white-space: nowrap; }
.mk-table .plus { color: var(--lime); font-weight: 800; }
.mk-table .minus { color: #ff9aa6; font-weight: 800; }
.mk-table-wrap { overflow-x: auto; }

/* ---------- sell ---------- */
.mk-sell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; padding-bottom: 40px; }
.mk-steps { display: grid; gap: 18px; }
.mk-step { padding: 24px; border-radius: 24px; background: var(--card); border: 1.5px solid var(--line); display: grid; gap: 16px; }
.mk-step > header { display: flex; align-items: center; gap: 12px; }
.mk-step > header .no { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--card3); font: 400 17px var(--display); flex: none; }
.mk-step.done > header .no { background: var(--lime); color: #15180a; }
.mk-step > header h2 { font-size: 22px; }
.mk-step > header p { margin: 2px 0 0; color: var(--mute); font-size: 13.5px; }
.mk-side { position: sticky; top: 86px; display: grid; gap: 14px; }
.mk-todo { padding: 18px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); display: grid; gap: 10px; }
.mk-todo h3 { font: 800 12px var(--ui); text-transform: uppercase; letter-spacing: .1em; color: var(--lime); }
.mk-todo li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 14px; color: var(--dim); list-style: none; }
.mk-todo ul { margin: 0; padding: 0; display: grid; gap: 8px; }
.mk-todo li .ico { color: var(--mute); }
.mk-todo li.ok { color: var(--text); }
.mk-todo li.ok .ico { color: var(--lime); }
.mk-drop { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 26px 16px; border-radius: 18px; border: 2px dashed var(--line2); background: var(--bg2); color: var(--dim); cursor: pointer; transition: border-color .2s, background .2s; }
.mk-drop:hover, .mk-drop.over { border-color: var(--lime); background: rgba(200, 255, 46, .04); }
.mk-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mk-drop b { color: var(--text); }
.mk-drop .ico { width: 28px; height: 28px; color: var(--lime); }
.mk-progress { height: 8px; border-radius: 9px; background: var(--card3); overflow: hidden; }
.mk-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), #7cf02a); transition: width .2s; }
.mk-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); }
.mk-file .ico { color: var(--lime); }
.mk-file b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-file small { color: var(--mute); font-weight: 700; }
.mk-file > div { min-width: 0; flex: 1; }
.mk-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.mk-imgs .im { position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--card2); border: 2px solid transparent; }
.mk-imgs .im.cover { border-color: var(--lime); }
.mk-imgs .im img { width: 100%; height: 100%; object-fit: cover; }
.mk-imgs .im .tools { position: absolute; right: 6px; top: 6px; display: flex; gap: 4px; }
.mk-imgs .im .tools button { width: 28px; height: 28px; border-radius: 9px; border: 0; background: rgba(14, 14, 16, .78); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.mk-imgs .im .tools .ico { width: 14px; height: 14px; }
.mk-imgs .im .cv { position: absolute; left: 6px; bottom: 6px; }
.mk-splashlab { padding: 18px; border-radius: 20px; background: linear-gradient(150deg, rgba(255, 46, 154, .13), var(--card) 55%); border: 1.5px solid rgba(255, 46, 154, .3); display: grid; gap: 8px; }
.mk-splashlab b { font: 400 18px var(--display); }
.mk-splashlab p { margin: 0; color: var(--dim); font-size: 14px; }
@media (max-width: 960px) { .mk-sell { grid-template-columns: 1fr; } .mk-side { position: static; order: -1; } }

/* ---------- rules / legal ---------- */
.mk-doc { max-width: 860px; margin: 0 auto; padding: 30px 0 50px; }
.mk-doc h1 { font-size: clamp(32px, 5vw, 48px); margin: 10px 0 12px; }
.mk-doc h2 { font-size: 24px; margin: 34px 0 10px; }
.mk-doc h3 { font: 800 17px var(--ui); margin: 20px 0 6px; }
.mk-doc p, .mk-doc li { color: #d6d6de; }
.mk-doc ul, .mk-doc ol { padding-left: 22px; }
.mk-doc li { margin: 5px 0; }
.mk-doc .callout { padding: 16px 18px; border-radius: 16px; background: rgba(255, 200, 61, .09); border: 1px solid rgba(255, 200, 61, .3); color: #f2deaa; margin: 18px 0; }
.mk-doc .callout.pink { background: var(--pink-soft); border-color: rgba(255, 46, 154, .3); color: #ffc2e1; }
.mk-doc .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-doc .card { padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.mk-doc .card h3 { margin-top: 0; }
.mk-doc .card.yes h3 { color: var(--lime); }
.mk-doc .card.no h3 { color: #ff8b97; }
@media (max-width: 640px) { .mk-doc .grid2 { grid-template-columns: 1fr; } }
html[lang="de"] [lang="en"]:not(html), html[lang="en"] [lang="de"]:not(html) { display: none !important; }

/* ---------- demo banner ---------- */
.mk-demo-bar { background: repeating-linear-gradient(-45deg, rgba(255, 200, 61, .14) 0 12px, rgba(255, 200, 61, .07) 12px 24px); border-bottom: 1px solid rgba(255, 200, 61, .3); color: #f2deaa; font-size: 13.5px; font-weight: 700; text-align: center; padding: 8px 16px; }

/* ---------- footer ---------- */
.mk-foot { margin-top: 50px; border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); color: var(--mute); font-size: 13.5px; }
.mk-foot .row { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.mk-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mk-foot a { color: var(--dim); text-decoration: none; font-weight: 700; }
.mk-foot a:hover { color: var(--lime); }
.mk-foot img { height: 22px; width: auto; opacity: .85; }
.mk-foot p { margin: 14px 0 0; font-size: 12.5px; }

.splat-a { fill: var(--pink); }
.splat-b { fill: var(--lime); }
