:root {
  color-scheme: dark;
  --bg: #000000;
  --card: #e45757;
  --card-dark: #da4d4d;
  --text: #ffffff;
  --menu-text: #222222;
  --menu-bg: #ffffff;
  --menu-active: #f0f0f0;
  --accent: #ff5a58;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  font-family: ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--menu-text);
}

.canvas {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
  padding-top: calc(16px + env(safe-area-inset-top));
  transform-origin: top left;
  transform: translateZ(0);
}

.image-only { background: var(--bg); }

.hero-image {
  width: min(92vw, 680px);
  max-width: 680px;
  height: auto;
  display: block;
  border-radius: 0;
  transform: translate(18px, -220px);
}

.step { position: relative; }
.step + .step { margin-top: 18px; }

.badge {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--text);
  color: var(--card);
  font-weight: 800;
  margin-right: 12px;
}

.title {
  display: inline-block;
  font-size: clamp(17px, 3.6vw, 24px);
  font-weight: 800;
  margin: 0 12px 0 0;
}

.kebab {
  position: absolute;
  right: 24px;
  top: -4px;
  background: var(--text);
  color: var(--card);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}

.select {
  display: inline-block;
  font-size: clamp(15px, 3.2vw, 20px);
  margin-left: 12px;
  vertical-align: middle;
}

.menu {
  background: var(--menu-bg);
  color: var(--menu-text);
  border-radius: 16px;
  margin: 14px 0 6px 56px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  width: min(440px, calc(100% - 96px));
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: clamp(13px, 2.8vw, 17px);
}
.menu-item.active { background: var(--menu-active); position: relative; }
.menu-item .icon { width: 22px; text-align: center; }
.menu-item .finger { position: absolute; right: 12px; transform: translateY(1px); }



@media (max-width: 420px) {
  .canvas { padding: 12px; }
  .hero-image { max-width: 740px; transform: translate(14px, -180px); }
}


