/* =========================================================
   Crowsong Experiments — Capsule Studio (the editor at /capsule-studio)
   ========================================================= */
.page-studio {
  --bg: #16151b; --bg-raised: #1e1d25; --panel: #1b1a21; --panel-2: #24232c;
  --ink: #ece8df; --ink-soft: #c9c6cf; --muted: #8f8b99;
  --line: rgba(232, 226, 240, .13); --line-strong: rgba(232, 226, 240, .4);
  --accent: #f2b25c; --accent-2: #9dbbe6;
}
.page-studio .site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.studio-intro { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); padding-bottom: 28px; }
/* breadcrumb back to the tools page: quiet, normal case */
.studio-kicker { font-size: 13px; color: var(--muted); }
.studio-kicker a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.studio-kicker a:hover { color: var(--ink); text-decoration-color: currentColor; }
.studio-intro h1 { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.studio-intro .lede { margin-top: 14px; max-width: 64ch; color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 17px); }
.studio-note { margin-top: 10px; font-size: 12px; color: var(--muted); max-width: 80ch; }

/* ---------- editor frame ---------- */
.studio {
  margin: 0 auto clamp(48px, 7vw, 96px);
  width: min(1680px, calc(100% - 2 * clamp(12px, 2vw, 32px)));
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 13px;
}
.st-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--panel-2);
}
.st-name input {
  width: min(320px, 60vw); padding: 7px 10px;
  font: 600 16px/1.2 var(--serif); color: var(--ink);
  background: transparent; border: 1px solid transparent;
}
.st-name input:hover, .st-name input:focus { border-color: var(--line-strong); outline: none; background: var(--bg); }
.st-bar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.st-sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }

.st-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 34px; padding: 6px 12px;
  font: 500 12px/1 var(--mono); letter-spacing: .06em;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.st-btn:hover { background: #2b2a34; border-color: var(--ink-soft); }
.st-btn:disabled { opacity: .6; cursor: progress; }
.st-btn--primary { background: var(--accent); border-color: var(--accent); color: #1a1408; }
.st-btn--primary:hover { background: #ffc574; border-color: #ffc574; }
.st-btn--ghost { background: transparent; border-color: var(--line); min-height: 30px; padding: 5px 10px; font-size: 11px; }
.st-danger { color: #ff9b8f; }
.st-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; background: none; border: 0; color: var(--ink-soft); cursor: pointer; }
.st-btn:focus-visible, .st-icon:focus-visible, .st-tabs button:focus-visible, .st-fmt > button:focus-visible, .st-layer-pick:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.st-icon:hover { color: var(--ink); }
.st-dim { color: var(--muted); }
.st-small { font-size: 11px; }

.st-body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 300px;
  height: min(78vh, 860px); min-height: 560px;
}

/* ---------- sizes list ---------- */
.st-formats { border-right: 1px solid var(--line); overflow-y: auto; padding: 10px 10px 16px; }
.st-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 4px 6px; }
.st-panel-head h2, .st-stage-head h2 { font: 600 16px/1.2 var(--serif); }
.st-count { font-size: 11px; color: var(--muted); }
.st-group { margin: 14px 4px 6px; font: 600 13px/1.2 var(--serif); color: var(--ink-soft); }
.st-formats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.st-fmt { position: relative; display: flex; align-items: center; border: 1px solid transparent; }
.st-fmt > button {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  padding: 6px 30px 6px 6px; background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer;
}
.st-fmt:hover { background: rgba(255, 255, 255, .04); }
.st-fmt.is-current { border-color: var(--accent); background: rgba(242, 178, 92, .08); }
.st-fmt-thumb { flex: none; width: 64px; max-height: 64px; display: flex; align-items: center; justify-content: center; background: #0c0c10; overflow: hidden; }
.st-fmt-thumb canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-fmt-text { display: grid; gap: 2px; min-width: 0; font-size: 12px; }
.st-fmt-text span:first-child { font: 600 13px/1.2 var(--serif); hyphens: manual; }
.st-fmt-text .st-dim { font-size: 10.5px; }
.st-inc { position: absolute; right: 6px; top: 50%; translate: 0 -50%; display: flex; }
.st-inc input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }

/* checkerboard for transparent sizes */
.is-transparent {
  background-color: #2a2930;
  background-image: linear-gradient(45deg, #34333b 25%, transparent 25%), linear-gradient(-45deg, #34333b 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #34333b 75%), linear-gradient(-45deg, transparent 75%, #34333b 75%);
  background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}

/* ---------- stage ---------- */
.st-stage-wrap { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 12px 14px; }
.st-stage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.st-stage-head .st-dim { margin-top: 2px; font-size: 12px; }
.st-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.st-switch input { width: 16px; height: 16px; accent-color: var(--accent); }
.st-stage {
  position: relative; flex: 1; min-height: 0; margin-top: 10px;
  display: flex; align-items: center; justify-content: center;
  /* Outside the export area: flat, near black with faint diagonal hatching ("not part of the image"). */
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 255, 255, .012) 10px 11px),
    #020203;
  border: 1px solid var(--line); outline: none; overflow: hidden;
}
.st-stage:focus-visible { border-color: var(--accent-2); }
.st-stage.is-drop { border-color: var(--accent); box-shadow: inset 0 0 0 2px rgba(242, 178, 92, .4); }
/* The export frame: a crisp border, crop marks outside each corner and the size on top, so the
   edge of the Steam image is clear even on dark art. */
.st-canvas-box {
  position: relative;
  /* Inside the export area: a light checkerboard, so any part the art does not cover stands out. */
  background-color: #5a5763;
  background-image: linear-gradient(45deg, #6e6a78 25%, transparent 25%), linear-gradient(-45deg, #6e6a78 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #6e6a78 75%), linear-gradient(-45deg, transparent 75%, #6e6a78 75%);
  background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 4px rgba(0, 0, 0, .55), 0 18px 50px rgba(0, 0, 0, .55);
  --mark: rgba(242, 178, 92, .95);
}
.st-canvas-box::before {
  content: ""; position: absolute; inset: -14px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--mark), var(--mark)) 0 13px / 9px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 13px 0 / 1px 9px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 100% 13px / 9px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) calc(100% - 13px) 0 / 1px 9px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 0 calc(100% - 13px) / 9px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 13px 100% / 1px 9px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 100% calc(100% - 13px) / 9px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) calc(100% - 13px) 100% / 1px 9px no-repeat;
}
.st-canvas-box::after {
  content: attr(data-size); position: absolute; left: -1px; bottom: calc(100% + 6px); z-index: 2;
  padding: 2px 6px; font: 500 10px/1.4 var(--mono); letter-spacing: .08em;
  color: #1a1408; background: var(--mark); white-space: nowrap; pointer-events: none;
}
.st-canvas-box canvas { position: absolute; inset: 0; display: block; }
#st-overlay { touch-action: none; }
.st-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 24px; background: rgba(18, 17, 23, .86);
}
.st-empty[hidden] { display: none; }
.st-empty p { max-width: 42ch; color: var(--ink-soft); }
.st-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.st-rule { margin-top: 10px; font-size: 12px; color: var(--ink-soft); min-height: 1.5em; }
.st-hint { margin-top: 4px; font-size: 11px; color: var(--muted); }
.st-gap { margin-top: 10px; padding: 7px 10px; font-size: 12px; color: #ffd9a0; background: rgba(242, 178, 92, .1); border: 1px solid rgba(242, 178, 92, .4); }
.st-gap[hidden] { display: none; }

/* ---------- side panel ---------- */
.st-side { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.st-tabs { display: flex; border-bottom: 1px solid var(--line); }
.st-tabs button {
  flex: 1; padding: 11px 8px; background: none; border: 0; border-bottom: 2px solid transparent;
  font: 500 12.5px/1 var(--mono); color: var(--muted); cursor: pointer;
}
.st-tabs button:hover { color: var(--ink-soft); }
.st-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.st-panel { flex: 1; overflow-y: auto; padding: 12px; display: grid; align-content: start; gap: 12px; }
.st-panel[hidden] { display: none; }

.st-bg-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; border: 1px dashed var(--line-strong); color: var(--ink-soft); }
.st-bg-empty .st-btn { white-space: nowrap; }
.st-bg-card { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 8px 10px; padding: 8px; border: 1px solid var(--line); background: var(--bg); }
.st-bg-card > .st-btn { grid-column: 1 / -1; }
.st-bg-card.is-selected { border-color: var(--accent-2); }
.st-bg-card img { width: 56px; height: 36px; object-fit: cover; display: block; }
.st-bg-info { display: grid; gap: 2px; min-width: 0; font-size: 12px; }
.st-bg-info .st-dim { font-size: 10.5px; }
.st-bg { display: grid; gap: 8px; }
.st-row { display: flex; flex-wrap: wrap; gap: 6px; }
.st-layer-actions { display: flex; gap: 6px; }

.st-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.st-layer { display: flex; align-items: center; border: 1px solid var(--line); background: var(--bg); }
.st-layer.is-selected { border-color: var(--accent); }
.st-layer.is-hidden .st-layer-pick { opacity: .45; }
.st-layer-pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px; background: none; border: 0; color: var(--ink); cursor: pointer; text-align: left; }
.st-thumb { flex: none; width: 40px; height: 30px; display: flex; align-items: center; justify-content: center; }
.st-thumb img { max-width: 100%; max-height: 100%; }
.st-layer-name { min-width: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-layer-name em { font-style: normal; font-size: 10px; padding: 1px 5px; margin-left: 4px; border: 1px solid var(--line-strong); color: var(--ink-soft); }
.st-layer-name em.is-tuned { border-color: var(--accent-2); color: var(--accent-2); }
.st-layers-empty { padding: 8px 2px; }

.st-props { display: grid; gap: 10px; padding-top: 4px; border-top: 1px solid var(--line); }
.st-props:empty { display: none; }
.st-props h3 { font: 600 15px/1.2 var(--serif); padding-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-field { display: grid; gap: 4px; font-size: 12px; color: var(--ink-soft); }
.st-field > span { display: flex; justify-content: space-between; gap: 8px; }
.st-field output { color: var(--muted); font-size: 11px; }
.st-field input[type="range"] { width: 100%; accent-color: var(--accent); }
.st-field select { padding: 7px 8px; background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); font: 12px var(--mono); }
.st-check { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: start; font-size: 12px; color: var(--ink-soft); cursor: pointer; }
.st-check input { margin-top: 2px; accent-color: var(--accent); }
.st-check .st-dim { grid-column: 2; }
#fx-sliders { display: grid; gap: 10px; }

/* ---------- toast ---------- */
.st-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; translate: -50% 20px;
  max-width: min(560px, calc(100vw - 32px)); padding: 12px 16px;
  background: #2b2a34; color: var(--ink); border: 1px solid var(--line-strong); font-size: 13px;
  opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--ease);
}
.st-toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- small screens ---------- */
@media (max-width: 1100px) {
  .st-body { grid-template-columns: 200px minmax(0, 1fr); height: auto; }
  .st-side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .st-stage { height: 56vh; flex: none; }
  .st-formats { max-height: 70vh; }
  .st-fmt-thumb { width: 40px; }
  .st-fmt > button { gap: 8px; padding-right: 26px; }
  .st-fmt-text span:first-child { font-size: 12.5px; }
}
@media (max-width: 720px) {
  .st-body { grid-template-columns: 1fr; }
  .st-formats { border-right: 0; border-bottom: 1px solid var(--line); max-height: none; overflow-x: auto; overflow-y: hidden; padding: 8px; }
  .st-formats > div { display: flex; gap: 6px; }
  .st-group { display: none; }
  .st-formats ul { display: flex; gap: 6px; }
  .st-fmt > button { flex-direction: column; align-items: flex-start; width: 104px; padding: 6px 6px 8px; }
  .st-fmt-thumb { width: 92px; }
  .st-inc { top: 8px; right: 8px; translate: none; }
  .st-stage { height: 48vh; }
  .st-bar { justify-content: center; }
}

/* =========================================================
   Preview: simplified mock store, browse, library and mobile
   ========================================================= */
.st-preview {
  width: min(1240px, 96vw); max-width: none; height: min(880px, 92vh); max-height: none;
  margin: auto; padding: 0; border: 1px solid var(--line-strong);
  background: #0f141c; color: #dfe6ee; overflow: hidden;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.st-preview::backdrop { background: rgba(4, 6, 10, .85); backdrop-filter: blur(5px); }
.st-preview[open] { display: flex; flex-direction: column; }
.pv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; background: #171d27; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pv-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.pv-tabs button { padding: 8px 14px; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: #9fb0c3; background: none; border: 1px solid transparent; cursor: pointer; }
.pv-tabs button[aria-selected="true"] { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); }
.pv-close { display: inline-grid; place-items: center; width: 40px; height: 40px; color: #dfe6ee; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .25); cursor: pointer; }
.pv-body { flex: 1; overflow: auto; }
.pv-note { padding: 6px 12px; font-size: 11px; color: #7d8a99; border-top: 1px solid rgba(255, 255, 255, .06); font-family: var(--mono); }

.mk-nav { display: flex; gap: 22px; align-items: center; padding: 12px 22px; background: rgba(10, 14, 20, .75); font-size: 13px; color: #b9c6d4; }
.mk-logo { font-weight: 700; letter-spacing: .18em; color: #fff; }
.mk-label { display: block; margin-top: 4px; font: 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8aa0b5; }
.mk-label--block { padding: 0 22px 18px; }
.mk-lines { display: grid; gap: 6px; margin: 10px 0; }
.mk-lines i { display: block; height: 7px; border-radius: 3px; background: rgba(255, 255, 255, .13); }
.mk-lines i.short { width: 60%; }
.mk-btn { display: inline-block; margin-top: 8px; padding: 8px 14px; font-size: 12px; color: #fff; background: linear-gradient(90deg, #4e8fd1, #3a6ea8); border-radius: 2px; }
.mk-h { margin: 18px 0 8px; font: 600 12px/1 "Segoe UI", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #cfd9e3; }
.mk-other { background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .12); }
.mk-store img, .mk-browse img, .mk-library img, .mk-phone img { display: block; width: 100%; height: auto; }

.mk-store { min-height: 100%; background-size: cover; background-position: center top; }
.mk-crumbs { padding: 16px 22px 0; font-size: 12px; color: #8ea3b8; }
.mk-title { padding: 2px 22px 12px; font: 400 26px/1.2 "Segoe UI", system-ui, sans-serif; color: #fff; }
.mk-page { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; padding: 0 22px 16px; }
.mk-aside { background: rgba(10, 14, 20, .55); padding: 0 0 12px; }
.mk-aside .mk-lines, .mk-aside .mk-meta, .mk-aside .mk-btn, .mk-aside .mk-label { margin-left: 10px; margin-right: 10px; }
.mk-meta { font-size: 12px; color: #9fb0c3; line-height: 1.6; }

.mk-browse { padding-bottom: 22px; background: linear-gradient(180deg, #1b2838, #0f141c 60%); }
.mk-browse > .mk-h, .mk-carousel, .mk-grid, .mk-cols { margin-left: 22px; margin-right: 22px; }
.mk-carousel { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); background: rgba(0, 0, 0, .3); box-shadow: 0 0 24px rgba(0, 0, 0, .5); }
.mk-car-side { padding: 14px; font-size: 14px; color: #fff; }
.mk-tag { display: inline-block; margin-top: 6px; padding: 4px 8px; font-size: 11px; background: rgba(255, 255, 255, .1); color: #cfe3f5; }
.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mk-grid figure, .mk-verts figure, .mk-shelf figure { margin: 0; }
.mk-grid figcaption, .mk-verts figcaption, .mk-shelf figcaption { font: 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8aa0b5; margin-top: 4px; }
.mk-h1 { aspect-ratio: 920 / 430; }
.mk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mk-row { display: flex; align-items: center; gap: 10px; height: 69px; margin-bottom: 6px; background: rgba(255, 255, 255, .04); }
.mk-row.is-you { background: rgba(255, 255, 255, .1); }
.mk-row img { width: 184px !important; height: 69px !important; object-fit: cover; }
.mk-row span, .mk-m-row span { font-size: 12px; color: #dfe6ee; }
.mk-row em, .mk-m-row em { font: normal 10px var(--mono); color: #8aa0b5; text-transform: uppercase; letter-spacing: .08em; }
.mk-other.mk-row { border-style: dashed; }
.mk-verts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-v { aspect-ratio: 748 / 896; }

.mk-library { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100%; background: #1a1e25; }
.mk-lib-list { padding: 12px 8px; background: #20252d; border-right: 1px solid rgba(255, 255, 255, .05); }
.mk-lib-item { display: flex; align-items: center; gap: 8px; padding: 6px; font-size: 12px; color: #b9c3cd; }
.mk-lib-item i { width: 46px; height: 22px; background: rgba(255, 255, 255, .08); }
.mk-lib-item > span:empty { flex: 1; height: 7px; background: rgba(255, 255, 255, .08); border-radius: 3px; }
.mk-lib-item.is-you { background: rgba(80, 140, 210, .22); color: #fff; }
.mk-lib-item img { width: 46px !important; height: 22px !important; object-fit: cover; }
.mk-lib-main { min-width: 0; padding-bottom: 22px; }
.mk-hero { position: relative; }
.mk-hero > img:first-child { aspect-ratio: 3840 / 1240; object-fit: cover; }
.mk-hero-logo { position: absolute; left: 4%; bottom: 14%; width: 30% !important; height: auto; }
.mk-hero .mk-label { position: absolute; right: 10px; top: 8px; background: rgba(0, 0, 0, .5); padding: 3px 6px; color: #cbd5df; }
.mk-lib-bar { display: flex; align-items: center; gap: 16px; padding: 12px 22px; background: rgba(0, 0, 0, .25); font-size: 12px; }
.mk-play { padding: 9px 26px; font-weight: 600; color: #fff; background: linear-gradient(90deg, #5ac24a, #3e9a35); }
.mk-lib-main .mk-h { margin-left: 22px; }
.mk-shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 0 22px; }
.mk-cap { aspect-ratio: 600 / 900; }

.mk-mobile-wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px; padding: 24px; background: #11161e; min-height: 100%; }
.mk-phone { width: 300px; padding: 12px; border-radius: 34px; background: #05070a; box-shadow: 0 0 0 2px #2a313b, 0 20px 50px rgba(0, 0, 0, .6); }
.mk-phone--icons { width: 200px; }
.mk-phone-screen { height: 580px; overflow-y: auto; border-radius: 24px; background: linear-gradient(180deg, #1b2838, #10151d); }
.mk-m-top { padding: 14px 16px 10px; font-size: 12px; }
.mk-m-body { padding: 10px 14px 18px; font-size: 14px; color: #fff; }
.mk-m-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; background: rgba(255, 255, 255, .08); }
.mk-m-row img { width: 120px !important; flex: none; }
.mk-m-other { height: 45px; margin-bottom: 6px; }
.mk-m-event { border-radius: 6px; }
.mk-icons { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 30px 12px; height: 380px; }
.mk-icons img { width: 92px !important; height: 92px !important; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.mk-icons img + .mk-label + img { width: 64px !important; height: 64px !important; }
.mk-icons .mk-label { margin-top: 14px; }

@media (max-width: 720px) {
  .mk-page, .mk-carousel, .mk-cols { grid-template-columns: 1fr; }
  .mk-library { grid-template-columns: 1fr; }
  .mk-lib-list { display: none; }
  .mk-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-shelf > :nth-child(n+5) { display: none; }
  .st-preview { width: 100vw; height: 100dvh; border: 0; }
}

/* reminder that edits are per size */
.st-local { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
