/* PLINKO Marketplace — matches the neon-on-black site aesthetic */
.mk {
  --mk-green: #00ff73;
  --mk-green-dim: rgba(0, 255, 115, 0.55);
  --mk-bg: #05070a;
  --mk-panel: rgba(255, 255, 255, 0.035);
  --mk-border: rgba(0, 255, 115, 0.18);
  --mk-text: #e8ffef;
  --mk-muted: rgba(232, 255, 239, 0.6);
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(0, 255, 115, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(0, 255, 115, 0.07), transparent 55%),
    var(--mk-bg);
  color: var(--mk-text);
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.mk a { color: inherit; text-decoration: none; }
.mk-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.mk-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mk-border);
}
.mk-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; }
.mk-brand img { width: 34px; height: 34px; border-radius: 50%; }
.mk-nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--mk-border); background: var(--mk-panel); color: var(--mk-text);
  cursor: pointer; transition: all .18s ease; min-height: 44px;
}
.mk-btn:hover { border-color: var(--mk-green); box-shadow: 0 0 18px rgba(0, 255, 115, .25); }
.mk-btn:disabled { opacity: .55; cursor: not-allowed; }
.mk-btn-primary {
  background: linear-gradient(135deg, rgba(0, 255, 115, .9), rgba(0, 200, 140, .85));
  color: #04170c; border-color: transparent;
}
.mk-btn-ghost { background: transparent; }
.mk-btn-sm { padding: 7px 12px; min-height: 36px; font-size: 13px; }

.mk-hero { padding: 60px 0 30px; }
.mk-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 12px; line-height: 1.1; }
.mk-hero .mk-accent { color: var(--mk-green); text-shadow: 0 0 24px rgba(0, 255, 115, .45); }
.mk-hero p { color: var(--mk-muted); max-width: 620px; font-size: 1.02rem; }
.mk-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding-bottom: 60px; }

.mk-card {
  border: 1px solid var(--mk-border); border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  backdrop-filter: blur(12px); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.mk-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 0 22px rgba(0,255,115,.12); }
.mk-cover { aspect-ratio: 16/9; width: 100%; object-fit: cover; background: rgba(0,255,115,.06); display: block; }
.mk-cover-empty { aspect-ratio: 16/9; display: grid; place-items: center; color: var(--mk-green-dim); font-size: 2rem; background: rgba(0,255,115,.05); }
.mk-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mk-card-title { font-size: 1.05rem; font-weight: 700; margin: 0; }
.mk-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.mk-muted { color: var(--mk-muted); font-size: .88rem; }
.mk-price { color: var(--mk-green); font-weight: 700; font-size: .95rem; }
.mk-tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem;
  border: 1px solid var(--mk-border); color: var(--mk-green); background: rgba(0,255,115,.07);
  text-transform: uppercase; letter-spacing: .06em;
}

.mk-panel {
  border: 1px solid var(--mk-border); border-radius: 18px; padding: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  backdrop-filter: blur(12px);
}
.mk-section { padding: 28px 0; }
.mk-section h2 { font-size: 1.35rem; margin: 0 0 14px; }

.mk-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.mk-field label { font-size: .82rem; color: var(--mk-muted); text-transform: uppercase; letter-spacing: .06em; }
.mk-field input, .mk-field textarea, .mk-field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 15px;
  background: rgba(0,0,0,.45); border: 1px solid var(--mk-border); color: var(--mk-text);
}
.mk-field input:focus, .mk-field textarea:focus, .mk-field select:focus {
  outline: none; border-color: var(--mk-green); box-shadow: 0 0 0 3px rgba(0,255,115,.12);
}
.mk-field textarea { min-height: 120px; resize: vertical; }
.mk-field select option { background: #05070a; }
.mk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.mk-alert { border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin-bottom: 14px; border: 1px solid; }
.mk-alert-error { border-color: rgba(255,90,90,.4); background: rgba(255,90,90,.09); color: #ffc4c4; }
.mk-alert-ok { border-color: var(--mk-border); background: rgba(0,255,115,.08); color: var(--mk-green); }

.mk-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; padding: 32px 0 60px; align-items: start; }
.mk-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }
.mk-shots img { width: 100%; border-radius: 12px; border: 1px solid var(--mk-border); }
.mk-build { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); flex-wrap: wrap; }
.mk-build:last-child { border-bottom: none; }

.mk-empty { text-align: center; padding: 60px 20px; color: var(--mk-muted); }

@media (max-width: 860px) {
  .mk-detail { grid-template-columns: 1fr; }
  .mk-row { grid-template-columns: 1fr; }
  .mk-nav { flex-wrap: wrap; }
  .mk-hero { padding: 36px 0 20px; }
}

/* How it works + upload center */
.mk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mk-steps li { display: flex; gap: 14px; align-items: flex-start; }
.mk-steps h3 { margin: 0 0 4px; font-size: 1rem; }
.mk-step-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
  color: var(--mk-green); border: 1px solid var(--mk-border); background: rgba(0,255,115,.08);
}
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.mk-split-card {
  border: 1px solid var(--mk-border); border-radius: 14px; padding: 16px;
  background: rgba(0,255,115,.04);
}
.mk-split-card h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.mk-list { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--mk-muted); font-size: .92rem; }
.mk-list strong { color: var(--mk-text); }
.mk-note {
  border: 1px dashed var(--mk-border); border-radius: 14px; padding: 14px 16px;
  color: var(--mk-muted); font-size: .9rem; margin-bottom: 18px; background: rgba(0,255,115,.03);
}
@media (max-width: 860px) { .mk-split { grid-template-columns: 1fr; } }

/* ===== App-store storefront ===== */
.mk-store { padding-top: 8px; }

.mk-spotlight {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center;
  padding: 34px 20px 26px;
}
.mk-spotlight-art {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--mk-border);
  background: rgba(0,255,115,.05); aspect-ratio: 16/9;
  box-shadow: 0 24px 60px -30px rgba(0,255,115,.5);
}
.mk-spotlight-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-spotlight-copy h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 12px 0 10px; line-height: 1.08; }
.mk-spotlight-copy p { max-width: 520px; font-size: 1rem; }

.mk-storebar {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  padding-top: 6px; padding-bottom: 18px;
}
.mk-search {
  display: flex; align-items: center; gap: 8px; flex: 1 1 280px;
  border: 1px solid var(--mk-border); border-radius: 999px; padding: 9px 16px;
  background: rgba(255,255,255,.03);
}
.mk-search input {
  flex: 1; background: transparent; border: 0; outline: 0; color: var(--mk-text);
  font: inherit; font-size: .95rem;
}
.mk-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-chip {
  border: 1px solid var(--mk-border); background: transparent; color: var(--mk-muted);
  border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .84rem; cursor: pointer;
  transition: all .16s ease;
}
.mk-chip:hover { color: var(--mk-text); }
.mk-chip-on { background: rgba(0,255,115,.14); border-color: var(--mk-green); color: var(--mk-green); }

.mk-shelf { padding: 10px 0 26px; }
.mk-shelf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.mk-shelf-head h2 { margin: 0; font-size: 1.25rem; }
.mk-shelf-head p { margin: 4px 0 0; }

.mk-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory;
}
.mk-rail > * { scroll-snap-align: start; }
.mk-rail::-webkit-scrollbar { height: 8px; }
.mk-rail::-webkit-scrollbar-thumb { background: rgba(0,255,115,.25); border-radius: 8px; }

.mk-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }

.mk-store-card {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--mk-border); background: rgba(255,255,255,.025);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mk-store-card:hover {
  transform: translateY(-4px); border-color: var(--mk-green);
  box-shadow: 0 20px 40px -24px rgba(0,255,115,.6);
}
.mk-store-art { position: relative; aspect-ratio: 16/10; background: rgba(0,255,115,.05); }
.mk-store-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-store-art-empty { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.2rem; }
.mk-store-badge {
  position: absolute; top: 10px; left: 10px; font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: rgba(0,0,0,.6); border: 1px solid var(--mk-border); color: var(--mk-green);
  backdrop-filter: blur(6px);
}
.mk-store-info { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mk-store-info h3 { margin: 0; font-size: 1.02rem; }
.mk-store-info p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-store-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.mk-store-cta {
  border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 700;
  color: #04120a; background: var(--mk-green); white-space: nowrap;
}
.mk-store-cta-free { background: transparent; color: var(--mk-green); border: 1px solid var(--mk-green); }

.mk-devbanner {
  margin-top: 26px; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; border: 1px solid var(--mk-border); border-radius: 20px;
  padding: 24px; background: linear-gradient(135deg, rgba(0,255,115,.09), rgba(0,255,115,.01));
}
.mk-devbanner h2 { margin: 0 0 6px; font-size: 1.25rem; }
.mk-devbanner p { margin: 0; max-width: 460px; }

@media (max-width: 860px) {
  .mk-spotlight { grid-template-columns: 1fr; padding-top: 24px; }
  .mk-rail { grid-auto-columns: minmax(215px, 1fr); }
  .mk-store-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}

/* ===== Plinko Flight countdown bar ===== */
.mk-countdown {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 18px; padding: 10px 18px;
  background: linear-gradient(90deg, rgba(0,255,140,.12), rgba(0,255,140,.03) 40%, rgba(0,255,140,.12));
  border-bottom: 1px solid var(--mk-border);
  font-size: 13px; letter-spacing: .02em;
}
.mk-countdown-label { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.mk-countdown-clock { display: flex; gap: 10px; }
.mk-cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 44px;
  border: 1px solid var(--mk-border); border-radius: 10px; padding: 4px 8px; background: var(--mk-panel); }
.mk-cd-unit b { font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; }
.mk-cd-unit i { font-style: normal; font-size: 9px; opacity: .6; text-transform: uppercase; letter-spacing: .1em; }
.mk-countdown-date { opacity: .65; }
.mk-countdown-live { font-weight: 700; }

/* ===== Modals (terms / coming soon) ===== */
.mk-modal-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px;
}
.mk-modal {
  position: relative; width: min(720px, 100%); max-height: 86vh; overflow: auto;
  background: #0b0f0d; border: 1px solid var(--mk-border); border-radius: 18px; padding: 26px;
}
.mk-modal h2 { margin: 8px 0 12px; }
.mk-modal h3 { font-size: 15px; margin: 0 0 4px; }
.mk-modal-scroll { max-height: 42vh; overflow: auto; padding-right: 8px; margin-bottom: 16px;
  border: 1px solid var(--mk-border); border-radius: 12px; padding: 14px; background: var(--mk-panel); }
.mk-modal-close { position: absolute; top: 12px; right: 14px; background: none; border: 0;
  color: inherit; font-size: 18px; cursor: pointer; opacity: .7; }
.mk-modal-icon { font-size: 46px; margin-bottom: 6px; }
.mk-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; }
.mk-check input { margin-top: 3px; }
@media (max-width: 640px) {
  .mk-countdown { font-size: 12px; padding: 9px 12px; }
  .mk-cd-unit { min-width: 38px; }
}

/* ---------- Legal, policy & moderation surfaces ---------- */
.mk-list { margin: 10px 0 0; padding-left: 20px; color: rgba(230, 255, 240, .72); line-height: 1.75; }
.mk-list li { margin-bottom: 4px; }
.mk-list-num { list-style: decimal; }
.mk-panel-danger { border-color: rgba(255, 92, 92, .45); box-shadow: 0 0 0 1px rgba(255, 92, 92, .12) inset; }
.mk-legal-missing {
  display: inline-block; padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase; color: #ffdede;
  background: rgba(255, 60, 60, .16); border: 1px solid rgba(255, 92, 92, .5);
}
.mk-deflist { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 8px 18px; margin: 12px 0 0; }
.mk-deflist dt { font-weight: 600; color: rgba(230, 255, 240, .9); }
.mk-deflist dd { margin: 0; color: rgba(230, 255, 240, .7); }
@media (max-width: 640px) { .mk-deflist { grid-template-columns: 1fr; gap: 2px 0; } .mk-deflist dd { margin-bottom: 10px; } }

.mk-form { display: grid; gap: 14px; margin-top: 14px; }
.mk-form label { display: grid; gap: 6px; font-size: .88rem; color: rgba(230, 255, 240, .82); }
.mk-form input, .mk-form textarea, .mk-form select,
.mk-panel select, .mk-hero-actions select {
  width: 100%; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: .92rem;
  color: #eafff2; background: rgba(4, 20, 12, .7); border: 1px solid rgba(0, 255, 115, .22);
}
.mk-hero-actions select, .mk-panel select { width: auto; }
.mk-form input:focus, .mk-form textarea:focus, .mk-form select:focus { outline: none; border-color: rgba(0, 255, 115, .6); }
.mk-form textarea { resize: vertical; }
.mk-form .mk-check { display: flex; gap: 10px; align-items: flex-start; }
.mk-form .mk-check input { width: auto; margin-top: 3px; }
.mk-form button { justify-self: start; }

.mk-btn-danger { border-color: rgba(255, 92, 92, .55); color: #ffdede; background: rgba(255, 60, 60, .14); }
.mk-btn-danger:hover { background: rgba(255, 60, 60, .26); }

.mk-table-scroll { overflow-x: auto; margin-top: 12px; }
.mk-table { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 720px; }
.mk-table th, .mk-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid rgba(0, 255, 115, .12); vertical-align: top; }
.mk-table th { color: rgba(230, 255, 240, .95); font-weight: 600; white-space: nowrap; }
.mk-table td { color: rgba(230, 255, 240, .7); }
.mk-row-critical td { background: rgba(255, 60, 60, .1); }

.mk-report-row { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(0, 255, 115, .14); }

.mk-legal-footer { margin-top: 40px; padding: 26px 0 40px; border-top: 1px solid rgba(0, 255, 115, .16); background: rgba(2, 12, 7, .6); }
.mk-legal-footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 14px; }
.mk-legal-footer nav a { color: rgba(230, 255, 240, .78); text-decoration: none; font-size: .85rem; }
.mk-legal-footer nav a:hover { color: #00ff73; text-decoration: underline; }
.mk-legal-footer p { font-size: .78rem; line-height: 1.65; max-width: 900px; }

/* ── Developer portal ─────────────────────────────────────────────── */
.mk-dev { --dev-purple: #a56cff; --dev-cyan: #35e0ff; --dev-pink: #ff5fd2; --dev-blue: #5b8bff; }
.mk-dev-layout { display: grid; grid-template-columns: 232px 1fr; gap: 26px; padding: 26px 0 60px; align-items: start; }
.mk-dev-side {
  position: sticky; top: 18px; display: grid; gap: 3px; padding: 12px;
  border-radius: 16px; border: 1px solid rgba(0,255,115,.16);
  background: linear-gradient(180deg, rgba(6,22,14,.85), rgba(4,8,14,.85)); backdrop-filter: blur(14px);
}
.mk-dev-side .mk-dev-group { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(230,255,240,.4); padding: 12px 10px 6px; }
.mk-dev-side a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 11px; border-radius: 10px; font-size: .87rem; color: rgba(230,255,240,.76);
  border: 1px solid transparent; transition: .16s;
}
.mk-dev-side a:hover { background: rgba(0,255,115,.08); color: #eafff2; }
.mk-dev-side a[data-status="active"] { background: rgba(0,255,115,.13); border-color: rgba(0,255,115,.4); color: #eafff2; box-shadow: 0 0 18px rgba(0,255,115,.14); }
.mk-dev-side a .mk-soon { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dev-purple); border: 1px solid rgba(165,108,255,.4); border-radius: 6px; padding: 1px 5px; }

.mk-dev-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.mk-dev-head h1 { margin: 0 0 4px; font-size: clamp(1.5rem,3.4vw,2.1rem); }
.mk-dev-head p { margin: 0; color: rgba(230,255,240,.6); font-size: .9rem; }

.mk-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 14px; }
.mk-stat {
  padding: 16px; border-radius: 15px; border: 1px solid rgba(0,255,115,.18);
  background: linear-gradient(150deg, rgba(0,255,115,.09), rgba(6,10,18,.85));
}
.mk-stat span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(230,255,240,.55); }
.mk-stat strong { display: block; margin-top: 7px; font-size: 1.7rem; line-height: 1; color: #eafff2; }
.mk-stat.is-purple { border-color: rgba(165,108,255,.35); background: linear-gradient(150deg, rgba(165,108,255,.14), rgba(6,10,18,.85)); }
.mk-stat.is-cyan { border-color: rgba(53,224,255,.32); background: linear-gradient(150deg, rgba(53,224,255,.12), rgba(6,10,18,.85)); }
.mk-stat.is-pink { border-color: rgba(255,95,210,.32); background: linear-gradient(150deg, rgba(255,95,210,.12), rgba(6,10,18,.85)); }

.mk-badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; border: 1px solid rgba(0,255,115,.4); color: #9dffcb;
  background: rgba(0,255,115,.1);
}
.mk-badge.is-draft { border-color: rgba(255,255,255,.25); color: rgba(230,255,240,.7); background: rgba(255,255,255,.06); }
.mk-badge.is-warn { border-color: rgba(255,190,60,.45); color: #ffd89a; background: rgba(255,190,60,.12); }
.mk-badge.is-bad { border-color: rgba(255,92,92,.5); color: #ffdede; background: rgba(255,60,60,.14); }
.mk-badge.is-purple { border-color: rgba(165,108,255,.45); color: #dcc6ff; background: rgba(165,108,255,.14); }

.mk-dev-list { display: grid; gap: 12px; margin-top: 14px; }
.mk-dev-item {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(0,255,115,.15); background: rgba(255,255,255,.03);
}
.mk-dev-item h3 { margin: 0 0 4px; font-size: 1rem; }
.mk-dev-item .mk-dev-item-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.mk-motto { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: #00ff73; text-shadow: 0 0 20px rgba(0,255,115,.5); }
.mk-gradient-text { background: linear-gradient(96deg,#00ff73,#35e0ff 45%,#a56cff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.mk-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chip {
  padding: 6px 11px; border-radius: 999px; font-size: .8rem; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: rgba(230,255,240,.75);
}
.mk-chip.is-on { border-color: rgba(0,255,115,.55); color: #eafff2; background: rgba(0,255,115,.14); }

.mk-studio-banner { height: 180px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(0,255,115,.2); background: linear-gradient(120deg, rgba(0,255,115,.18), rgba(165,108,255,.18)); }
.mk-studio-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-studio-head { display: flex; gap: 16px; align-items: flex-end; margin-top: -46px; padding: 0 18px; position: relative; }
.mk-studio-head img.mk-avatar { width: 92px; height: 92px; border-radius: 22px; object-fit: cover; border: 2px solid rgba(0,255,115,.5); background: #04120a; }

@media (max-width: 900px) {
  .mk-dev-layout { grid-template-columns: 1fr; }
  .mk-dev-side { position: static; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); display: grid; }
  .mk-dev-side .mk-dev-group { grid-column: 1 / -1; }
}

/* ---------- Appearance switcher ---------- */
.mk-theme-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--mk-border);
  border-radius: 999px;
  background: var(--mk-panel);
}
.mk-theme-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mk-muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.mk-theme-opt.is-active {
  background: rgba(0, 255, 115, 0.16);
  color: var(--mk-text);
}

/* ---------- Light appearance ---------- */
html[data-theme="light"] .mk {
  --mk-green: #00a34a;
  --mk-green-dim: rgba(0, 163, 74, 0.5);
  --mk-bg: #f4f7f5;
  --mk-panel: rgba(10, 30, 20, 0.04);
  --mk-border: rgba(0, 120, 60, 0.22);
  --mk-text: #0b1a13;
  --mk-muted: rgba(11, 26, 19, 0.62);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(0, 200, 100, 0.12), transparent 60%),
    var(--mk-bg);
  color: var(--mk-text);
}
html[data-theme="light"] .mk-theme-opt.is-active {
  background: rgba(0, 163, 74, 0.15);
}

/* Admin Center & Support form controls */
.mk-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--mk-border);
  background: rgba(255,255,255,.03);
  color: var(--mk-text);
  font: inherit;
}
.mk-input:focus { outline: none; border-color: var(--mk-green); }
.mk-input option { background: #05070a; }
.mk-error { color: #ff6b6b; font-size: .9rem; }

/* Password requirement checklist */
.mk-pwreq {
  list-style: none;
  margin: -4px 0 6px;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 12.5px;
  color: var(--mk-muted, #8b93a7);
}
.mk-pwreq li span { display: inline-block; width: 14px; opacity: 0.8; }
.mk-pwreq li.is-ok { color: #35d07f; }

/* ---------- Player account ecosystem ---------- */
.mk-profile-header { border-radius: 18px; overflow: hidden; border: 1px solid var(--mk-border, rgba(255,255,255,.12)); background: var(--mk-panel, rgba(255,255,255,.04)); }
.mk-profile-banner { height: 170px; background: linear-gradient(120deg, rgba(0,255,140,.22), rgba(0,0,0,.35)); }
.mk-profile-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-profile-id { display: flex; gap: 16px; align-items: center; padding: 14px 18px 18px; flex-wrap: wrap; }
.mk-profile-avatar { width: 84px; height: 84px; margin-top: -46px; border-radius: 999px; overflow: hidden; border: 3px solid var(--mk-accent, #17ff9b); background: #0b0f14; display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: var(--mk-accent, #17ff9b); flex: 0 0 auto; }
.mk-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mk-profile-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.mk-verified { margin-left: 8px; font-size: .8em; color: var(--mk-accent, #17ff9b); border: 1px solid currentColor; border-radius: 999px; padding: 0 .45em; }

.mk-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.mk-tab { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--mk-border, rgba(255,255,255,.12)); text-decoration: none; font-size: .9rem; }
.mk-tab.is-active { border-color: var(--mk-accent, #17ff9b); color: var(--mk-accent, #17ff9b); }
.mk-tab-count { margin-left: 6px; background: var(--mk-accent, #17ff9b); color: #04120b; border-radius: 999px; padding: 0 6px; font-size: .75rem; font-weight: 700; }

.mk-media-upload { display: grid; gap: 10px; }
.mk-avatar-preview { width: 96px; height: 96px; border-radius: 999px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--mk-border, rgba(255,255,255,.12)); }
.mk-banner-preview { width: 100%; height: 96px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--mk-border, rgba(255,255,255,.12)); }
.mk-avatar-preview img, .mk-banner-preview img { width: 100%; height: 100%; object-fit: cover; }
.mk-media-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mk-fieldset { border: 1px solid var(--mk-border, rgba(255,255,255,.12)); border-radius: 12px; padding: 12px; }

.mk-bell { position: relative; }
.mk-bell-dot { position: absolute; top: -4px; right: -4px; background: var(--mk-accent, #17ff9b); color: #04120b; border-radius: 999px; font-size: .65rem; font-weight: 800; padding: 0 5px; }
.mk-bell-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(340px, 88vw); background: var(--mk-panel-solid, #0d1117); border: 1px solid var(--mk-border, rgba(255,255,255,.14)); border-radius: 14px; z-index: 60; box-shadow: 0 18px 40px rgba(0,0,0,.45); overflow: hidden; }
.mk-bell-head, .mk-bell-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--mk-border, rgba(255,255,255,.1)); }
.mk-bell-foot { border-bottom: 0; border-top: 1px solid var(--mk-border, rgba(255,255,255,.1)); }
.mk-bell-list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow: auto; }
.mk-bell-list li { border-bottom: 1px solid var(--mk-border, rgba(255,255,255,.07)); }
.mk-bell-list li.is-unread { background: rgba(23,255,155,.07); }
.mk-bell-list button { display: grid; gap: 2px; text-align: left; width: 100%; background: none; border: 0; color: inherit; padding: 10px 12px; cursor: pointer; }
.mk-bell-title { font-weight: 600; }

/* ---- Browser play stage ---- */
.mk-play-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.mk-play-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: #05070a;
  border: 1px solid rgba(0, 255, 115, 0.22);
  box-shadow: 0 0 40px rgba(0, 255, 115, 0.08);
}
.mk-play-stage:fullscreen { aspect-ratio: auto; height: 100%; border-radius: 0; }
.mk-play-frame { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.mk-play-cta {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
}
@media (max-width: 640px) {
  .mk-play-stage { min-height: 240px; }
}
