:root {
  --ink: #171b23;
  --muted: #626a78;
  --line: #dfe3e9;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --page: #eef1f5;
  --accent: #3055e7;
  --accent-ink: #ffffff;
  --lime: #d5fa65;
  --warn: #a35a00;
  --warn-bg: #fff4e0;
  --ok: #17794a;
  --ok-bg: #e5f6ec;
  --info-bg: #eaf0ff;
  --check-a: #ffffff;
  --check-b: #e7eaef;
  --swatch-edge: rgba(0, 0, 0, .14);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9ecf2;
    --muted: #9aa3b2;
    --line: #2c3240;
    --paper: #171b23;
    --soft: #202532;
    --page: #0f1218;
    --accent: #6f8cff;
    --accent-ink: #0f1218;
    --warn: #ffb550;
    --warn-bg: #2f2410;
    --ok: #5fd39a;
    --ok-bg: #12291d;
    --info-bg: #19213a;
    --check-a: #2a2f3b;
    --check-b: #222631;
    --swatch-edge: rgba(255, 255, 255, .22);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 14px/1.55 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { display: block; border-radius: 8px; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: .08em; }
.brand-mark { font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--muted); }
.tagline { margin: 0; color: var(--muted); }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.back { color: var(--accent); text-decoration: none; font-weight: 600; white-space: nowrap; }
.back:hover { text-decoration: underline; }

.layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 400px;
  gap: 20px;
  padding: 20px 24px;
  max-width: 1600px;
  margin: 0 auto;
  align-items: start;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.controls { padding: 4px 18px 18px; }
.group { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.group:last-child { border-bottom: 0; }
h2 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.step {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
}
h3 { margin: 0; font-size: 13px; }

.seg { display: flex; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg-sm button { padding: 4px 6px; font-size: 13px; }

.drop {
  position: relative;
  display: grid;
  gap: 4px;
  text-align: center;
  padding: 22px 14px;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over { border-color: var(--accent); background: var(--info-bg); }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop span { color: var(--muted); font-size: 12px; }
.drop-sm { padding: 12px; }

.source {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.source img { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: var(--soft); }
.source strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.source span { color: var(--muted); font-size: 12px; }
.source > div { min-width: 0; }
.icon-button {
  border: 0;
  background: var(--soft);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.small-slot summary, .web-details summary { cursor: pointer; font-weight: 600; font-size: 13px; }
.small-slot, .web-details { display: grid; gap: 10px; }
.small-slot[open], .web-details[open] { padding-bottom: 2px; }
.small-slot > * + *, .web-details > * + * { margin-top: 10px; }
.small-slot p { margin: 0; color: var(--muted); font-size: 12px; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 12px; color: var(--muted); font-weight: 600; }
.field input, .field select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
.check.sub { font-size: 13px; color: var(--muted); }
.color { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }
.color-button {
  display: inline-grid;
  width: 38px;
  height: 30px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  cursor: pointer;
}
.color-button:hover, .color-button[aria-expanded="true"] { border-color: var(--accent); }
.color-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.color-chip { border-radius: 6px; box-shadow: inset 0 0 0 1px var(--swatch-edge); }

.picker {
  position: absolute;
  z-index: 50;
  width: 272px;
  max-width: calc(100vw - 16px);
  padding: 12px;
  display: grid;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .08);
}
.picker-head { display: flex; justify-content: space-between; align-items: center; }
.picker-head h3 { font-size: 13px; }
.picker-sv { position: relative; height: 150px; border-radius: 9px; cursor: crosshair; touch-action: none; }
.picker-hue {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(to right, #f00, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00);
  cursor: pointer;
  touch-action: none;
}
.picker-sv:focus-visible, .picker-hue:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.picker-sv-thumb, .picker-hue-thumb {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 2px 4px rgba(0, 0, 0, .25);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.picker-hue-thumb { top: 50%; }
.picker-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.picker-current { width: 30px; height: 30px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--swatch-edge); }
.picker-hex input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: 13px ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  text-transform: lowercase;
}
.picker-hex input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.picker-tool {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}
.picker-tool:hover { border-color: var(--accent); color: var(--accent); }
.picker-from { justify-self: start; }
.picker-from[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.picker-note { margin: -2px 0 0; }
.picker-group { display: grid; gap: 6px; }
.picker-group h4 { margin: 0; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.picker-swatches { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; }
.picker-swatch {
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--swatch-edge);
  cursor: pointer;
}
.picker-swatch:hover { transform: scale(1.12); }
.picker-swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
body.picking .hero-canvas { outline: 2px dashed var(--accent); outline-offset: 4px; }
body.picking #big { cursor: crosshair; }

.range { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; }
.range span { color: var(--muted); font-weight: 600; font-size: 12px; }
.range input { width: 100%; accent-color: var(--accent); }
.range output { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; }

.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
}
.swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hint { margin: 0; color: var(--muted); font-size: 12px; }
.link-button {
  justify-self: start;
  border: 0;
  background: none;
  color: var(--accent);
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.platforms .platform:first-child { grid-column: 1 / -1; }
.platform {
  position: relative;
  display: block;
  min-width: 0;
  padding: 9px 10px 9px 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.platform:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.platform:has(input:checked) { border-color: var(--accent); background: var(--info-bg); }
.platform:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.platform input { position: absolute; left: 11px; top: 12px; margin: 0; width: 16px; height: 16px; accent-color: var(--accent); }
.platform-text { display: grid; gap: 1px; min-width: 0; }
.platform strong { font-size: 13px; line-height: 1.4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.platform small {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
  padding-right: 28px;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.platforms .platform:first-child small { -webkit-line-clamp: 1; }
.platform-count {
  position: absolute;
  bottom: 9px;
  right: 9px;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.platform:has(input:checked) .platform-count { background: var(--accent); color: var(--accent-ink); font-weight: 700; }

.platform-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 4px; }
.platform-group { margin: 0; font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.custom { display: grid; gap: 8px; }
.custom-rows { display: grid; gap: 8px; }
.custom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr) 72px 28px;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.custom-row .custom-style { grid-column: 1 / 5; }
.custom-row input, .custom-row select {
  width: 100%;
  min-width: 0;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 13px;
}
.custom-row input:focus, .custom-row select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.custom-row .times { color: var(--muted); text-align: center; }
.custom-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.custom-presets { display: contents; }
.chip {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.chip:hover:not(:disabled) { border-color: var(--accent); }
.chip:disabled { opacity: .45; cursor: default; }
.chip-strong { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }

.stage { display: grid; gap: 20px; min-width: 0; }
.hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.checker {
  background-color: var(--check-a);
  background-image:
    linear-gradient(45deg, var(--check-b) 25%, transparent 25%, transparent 75%, var(--check-b) 75%),
    linear-gradient(45deg, var(--check-b) 25%, transparent 25%, transparent 75%, var(--check-b) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}
.hero-canvas { position: relative; width: 256px; height: 256px; border-radius: 12px; overflow: hidden; }
.hero-canvas canvas { display: block; width: 256px; height: 256px; }
.guide { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.guide circle, .guide line { fill: none; stroke: #ff3b6b; stroke-width: .5; stroke-dasharray: 2 1.5; }
.hero-side { display: grid; gap: 14px; align-content: start; min-width: 0; }
.sizes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.size { display: grid; justify-items: center; gap: 6px; }
.size canvas { display: block; image-rendering: pixelated; border-radius: 4px; }
.size span { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

.mocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mock {
  margin: 0;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  align-content: start;
}
.mock figcaption { font-size: 12px; color: var(--muted); font-weight: 600; }

.tabbar { display: flex; gap: 2px; padding: 8px 8px 0; border-radius: 10px 10px 0 0; overflow: hidden; }
.tabbar.light { background: #dee1e6; color: #1f1f1f; }
.tabbar.dark { background: #1f2023; color: #e3e3e3; }
.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 0 1 200px;
  padding: 8px 10px;
  border-radius: 9px 9px 0 0;
  font-size: 12px;
}
.light .tab:first-child { background: #ffffff; }
.dark .tab:first-child { background: #35363a; }
.tab canvas { width: 16px; height: 16px; flex: none; }
.tab-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex: 1; }
.tab-x { opacity: .6; }
.tab.dim { opacity: .65; flex: 0 1 140px; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: currentColor; opacity: .25; flex: none; }

.screen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 14px 14px; border-radius: 16px; }
.ios-screen { background: linear-gradient(160deg, #7aa3ff, #b88cff 55%, #ff9bb3); }
.android-screen { background: linear-gradient(160deg, #20382f, #3d6b56 60%, #8bb79c); }
.app { display: grid; justify-items: center; gap: 6px; min-width: 0; }
.app canvas, .fake { width: 56px; height: 56px; display: block; }
.app i {
  font-style: normal;
  font-size: 11px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ios-screen canvas, .ios-screen .fake { border-radius: 22.4%; }
.fake { border-radius: 22.4%; }
.f1 { background: linear-gradient(135deg, #ffd25c, #ff7a59); }
.f2 { background: linear-gradient(135deg, #fff7c2, #ffe066); }
.f3 { background: linear-gradient(135deg, #ff5f7e, #c2185b); }
.android-screen .fake { border-radius: 50%; }
.mask-circle { border-radius: 50%; }
.mask-squircle { border-radius: 32%; }
.mask-rounded { border-radius: 14%; }

.dock {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 18px auto 0;
  border-radius: 20px;
  background: rgba(240, 242, 246, .7);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.mock-mac { background: linear-gradient(170deg, #f6d6a8, #c5a0e0 60%, #7e8fe0); border: 0; }
.mock-mac figcaption { color: rgba(20,20,30,.75); }
/* Like real macOS icons, the stand-ins are an 824/1024 plate centred in the same 60 px box as the generated icon. */
.dock canvas { width: 60px; height: 60px; display: block; flex: none; }
.dock .fake { width: calc(60px * 824 / 1024); height: calc(60px * 824 / 1024); margin: calc(60px * 100 / 1024); border-radius: 22.5%; flex: none; box-shadow: 0 0.6px 1.2px rgba(0, 0, 0, .28); }
.dock { max-width: 100%; }

.mock-games { grid-column: 1 / -1; }
.games { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.steam-list { background: #1b2838; border-radius: 10px; padding: 6px; display: grid; gap: 2px; color: #c7d5e0; font-size: 12px; }
.steam-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 4px; min-width: 0; }
.steam-row span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.steam-row.active { background: #3d6c8d; color: #fff; }
.steam-row canvas, .steam-row .fake { width: 24px; height: 24px; border-radius: 2px; flex: none; }
.tap-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #ffffff; color: #1f1f1f; border: 1px solid #e8e8e8; min-width: 0; }
.tap-card canvas { width: 56px; height: 56px; border-radius: 22%; flex: none; }
.tap-card div { display: grid; min-width: 0; }
.tap-card b { font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tap-card span { font-size: 11px; color: #00a0a6; }
.itch-card { display: grid; gap: 4px; width: 160px; font-size: 12px; }
.itch-card canvas { width: 160px; height: 127px; border-radius: 4px; display: block; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.itch-card b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.itch-card span { color: #fa5c5c; font-weight: 600; font-size: 11px; }

.checks { display: grid; gap: 8px; }
.note { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; display: flex; gap: 8px; }
.note::before { font-weight: 700; }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.note.warn::before { content: "!"; }
.note.info { background: var(--info-bg); }
.note.info::before { content: "i"; color: var(--accent); }
.note.ok { background: var(--ok-bg); color: var(--ok); }
.note.ok::before { content: "✓"; }

/* The right column scrolls with the page like the left one, download bar included. */
.export { display: flex; flex-direction: column; }
.export-body { padding: 4px 18px 0; }
.export-section { display: grid; gap: 10px; align-content: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.export-section:last-child { border-bottom: 0; }
.export-section > .hint { margin-top: -4px; }
.export-bar {
  display: grid;
  gap: 10px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
}
.export-status { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-height: 1.4em; }
.summary { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.primary {
  border: 0;
  border-radius: 11px;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.primary:hover { filter: brightness(1.06); }
.primary:disabled { opacity: .5; cursor: default; filter: none; }
.progress { margin: 0; font-size: 12px; color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.files { display: grid; gap: 6px; }
.files details { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.files summary { cursor: pointer; font-weight: 600; font-size: 13px; display: flex; justify-content: space-between; gap: 8px; }
.files summary span { color: var(--muted); font-weight: 500; }
.files ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.files li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 12px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--muted);
}
.files li b { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.snippet { display: grid; gap: 8px; margin-top: 4px; }
.snippet-head { display: flex; justify-content: space-between; align-items: center; }
.snippet pre {
  margin: 0;
  padding: 10px;
  background: var(--soft);
  border-radius: 9px;
  font: 11.5px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 8px 16px 28px; }
.foot p { margin: 4px 0; }
.noscript { text-align: center; padding: 20px; }

/* Narrower screens: the export panel moves under the preview and lays its sections side by side. */
@media (max-width: 1240px) {
  .layout { grid-template-columns: 320px minmax(0, 1fr); }
  .export { grid-column: 1 / -1; }
  .export-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 28px; }
  .export-platforms { grid-row: span 2; border-bottom: 0; }
}
@media (max-width: 900px) {
  .mocks { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .hero-side { justify-items: center; text-align: center; }
  .sizes { justify-content: center; }
}
@media (max-width: 760px) {
  .games { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .itch-card { justify-self: center; }
  .top { flex-wrap: wrap; padding: 12px 16px; gap: 6px 14px; }
  .tagline { order: 3; width: 100%; font-size: 13px; }
  .layout { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 16px; }
  .export-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .export-platforms { grid-row: auto; border-bottom: 1px solid var(--line); }
  .export-bar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .export-status { display: grid; gap: 2px; }
  .progress { text-align: left; }
  .hero { padding: 16px; }
  .app canvas, .fake { width: 48px; height: 48px; }
  .screen { gap: 6px; padding: 14px 8px 10px; }
}
@media (max-width: 380px) {
  .hero-canvas, .hero-canvas canvas { width: 220px; height: 220px; }
  .back { font-size: 13px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
