/* 스느스 sticker pool pages: the app palette (spec/vectors/app_palette.json), no web fonts, no trackers. */
:root {
  --bg: #fbf6f1;
  --card: #ffffff;
  --text: #33292e;
  --sub: #6b5f64;
  --accent: #ff5c73;
  --accent-text: #c8283f;
  --grad: linear-gradient(135deg, #ff5c73, #ff9e40);
  --line: rgba(51, 41, 46, 0.12);
  --disc: #ffdde2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #ffffff;
    --sub: #b0b0b5;
    --accent-text: #ff8a9b;
    --line: rgba(255, 255, 255, 0.14);
    --disc: #3a1f26;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  word-break: keep-all;
}
main { max-width: 480px; margin: 0 auto; padding: 24px 16px 48px; text-align: center; }
h1 { font-size: 26px; margin: 8px 0 4px; }
p { margin: 8px 0; }
.sub { color: var(--sub); font-size: 16px; }
.card { background: var(--card); border-radius: 28px; padding: 20px 16px; margin: 16px 0; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); }
.stage { position: relative; width: min(78vw, 300px); aspect-ratio: 1; margin: 8px auto; display: grid; place-items: center; }
.stage::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: var(--disc); }
.stage img { position: relative; max-width: 100%; max-height: 100%; animation: pop 0.6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(0.4) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .stage img { animation: none; } }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; margin: 2px; }
.btn {
  display: block; width: 100%; min-height: 60px; margin: 12px 0 0; padding: 14px 18px;
  border: 0; border-radius: 20px; font: inherit; font-size: 21px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn.main { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(255, 92, 115, 0.35); }
.btn.store { background: var(--card); color: var(--text); border: 2px solid var(--line); font-size: 18px; }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.code {
  display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap;
  margin-top: 10px; font-family: ui-monospace, Menlo, monospace; font-size: 20px; font-weight: 700; color: var(--accent-text);
}
.code button { font: inherit; font-size: 15px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.steps { text-align: left; padding-left: 1.4em; margin: 8px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin-top: 12px; }
.grid figure { margin: 0; }
.grid img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.grid figcaption { font-size: 14px; color: var(--sub); }
footer { color: var(--sub); font-size: 14px; margin-top: 24px; }
footer a { color: inherit; }
[hidden] { display: none !important; }
