:root {
  --accent: #fe3c72;
  --ink: #1f2733;
  --muted: #7a8699;
  --bg: #fff7f9;
  --card: #ffffff;
  --line: #f0dfe5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

#app {
  max-width: 430px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.hero {
  text-align: center;
  padding: 24px 0 8px;
}

.brand {
  color: var(--accent);
  font-size: 44px;
  font-weight: 800;
  margin: 0;
}

.tagline {
  color: var(--muted);
  margin: 6px 0 0;
}

.prelaunch {
  color: var(--ink);
  font-weight: 600;
  margin: 14px 0 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-top: 18px;
  box-shadow: 0 6px 24px rgba(254, 60, 114, 0.07);
}

.card h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.ages {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.ages span {
  color: var(--muted);
  padding-bottom: 12px;
}

button.primary {
  width: 100%;
  margin-top: 8px;
  padding: 15px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}

.error {
  background: #ffe9ee;
  color: #c22a4e;
  border-radius: 12px;
  padding: 10px 14px;
  white-space: pre-line;
  margin: 14px 0 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo .badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
}

.photo button[data-action='promote'] {
  position: absolute;
  left: 6px;
  bottom: 6px;
  font-size: 11px;
  border: none;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}

.photo .remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

button.add {
  aspect-ratio: 3 / 4;
  border: 2px dashed var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.done {
  text-align: center;
}

.brand-img {
  max-width: 320px;
  width: 80%;
  display: block;
  margin: 0 auto;
  /* White JPG background disappears into the light page background. */
  mix-blend-mode: multiply;
}

button.linklike {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}
