:root {
  --bg: #ffffff;
  --ink: #141414;
  --muted: #5f6070;
  --card: #fdeef3;
  --card-edge: #f6d3df;
  --accent: #e0487a;
  --accent-ink: #ffffff;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}
.page { max-width: 440px; margin: 0 auto; padding: 64px 24px 32px; }

.profile { text-align: center; }
.profile__photo { width: 128px; height: 128px; margin: 0 auto; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--card-edge); }
.profile__name { margin: 18px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.profile__tagline { margin: 6px 0 0; font-size: 18px; color: #333; }

.card {
  margin-top: 36px; min-height: 300px; border-radius: 28px; background: var(--card);
  border: 1px solid var(--card-edge); box-shadow: 0 10px 30px rgba(224, 72, 122, .12);
  display: flex; text-align: center; overflow: hidden;
}
.card__face { display: none; width: 100%; padding: 32px 24px; flex-direction: column; align-items: center; justify-content: center; }
.card[data-state="start"]   .card__face--start,
.card[data-state="warn"]    .card__face--warn,
.card[data-state="hold"]    .card__face--hold,
.card[data-state="opening"] .card__face--opening { display: flex; }

.card__face--start { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; gap: 14px; }
.card__face--start:active { transform: scale(.98); }
.card__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.card__icon svg { width: 44px; height: 44px; fill: #fff; }
.card__title { font-size: 20px; font-weight: 800; }
.card__pill { padding: 3px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }

.card__eye { width: 44px; height: 44px; color: var(--ink); }
.card__heading { margin: 10px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: .01em; }
.card__text { margin: 0 0 20px; color: #333; font-size: 17px; }
.card__small { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

.pill-btn {
  display: inline-block; padding: 12px 34px; border: 0; border-radius: 999px; background: var(--accent);
  color: var(--accent-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.text-btn { margin-top: 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
/* Long-press must bring up iOS's own link menu ("Open in Safari"). */
.hold-btn {
  display: block; width: 100%; padding: 26px 16px; border-radius: 18px; background: var(--ink); color: #fff;
  font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
  -webkit-touch-callout: default; -webkit-user-select: none; user-select: none;
}
.spinner { width: 36px; height: 36px; border: 3px solid var(--card-edge); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.foot { margin-top: 28px; color: var(--muted); font-size: 12px; text-align: center; }
