body.play { min-height: 100dvh; display: flex; flex-direction: column; font-size: 17px; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }

#me-bar { display: flex; align-items: center; gap: .7em; padding: .8em 1em; background: rgba(0,0,0,.25); border-bottom: 1px solid var(--line); }
#me-bar .avatar { width: 2.4em; height: 2.4em; }
#me-name { font-weight: 800; flex: 1; }
#me-score { font-family: var(--display); color: var(--gold); font-size: 1.3em; }

#view { flex: 1; display: flex; flex-direction: column; padding: 1.2em 16px 1.6em; }
.pv { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: safe center; text-align: center; gap: 1.1em; animation: pv-in .35s ease-out; }
@keyframes pv-in { from { opacity: 0; transform: translateY(12px); } }
.pv h1 { font-size: 2.1em; color: var(--gold); line-height: 1.1; hyphens: manual; overflow-wrap: break-word; text-wrap: balance; }
.pv h2 { font-size: 1.5em; line-height: 1.15; }
.pv .lead { font-size: 1.15em; font-weight: 700; }
.pv form { display: grid; gap: .9em; width: 100%; max-width: 420px; }
.pv form button { font-size: 1.35em; padding: .9em; }
.pv .stickfig { width: 46vw; max-width: 220px; }
.rush { font-family: var(--display); color: var(--pink); font-size: 1.15em; animation: pulse .8s ease-in-out infinite; }
.big-place { font-family: var(--display); font-size: 4.5em; line-height: 1; color: var(--gold); text-shadow: 0 5px 0 #b8901a; }
.big-gain { font-family: var(--display); font-size: 2em; color: var(--teal); }

/* ---------- Selfie ---------- */
.cam { position: relative; width: 100%; max-width: 420px; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: #000; }
.cam video, .cam img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam video { transform: scaleX(-1); }
.cam .oval {
  position: absolute; left: 50%; top: 46%; width: 62%; aspect-ratio: 76 / 92; transform: translate(-50%, -50%);
  border-radius: 50%; box-shadow: 0 0 0 999px rgba(10, 6, 30, .62); border: 3px dashed rgba(255,255,255,.9);
}
.cam .cam-hint { position: absolute; left: 0; right: 0; bottom: .8em; font-weight: 800; text-shadow: 0 2px 6px #000; }
.cam .countdown { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 6em; color: #fff; text-shadow: 0 4px 20px #000; pointer-events: none; }
.preview-head { width: 52vw; max-width: 240px; }
.btn-row { display: flex; gap: .7em; width: 100%; max-width: 420px; }
.btn-row button { flex: 1; font-size: 1.1em; }
.desc-card { width: 100%; max-width: 420px; text-align: center; text-wrap: balance; white-space: pre-line; line-height: 1.4; font-weight: 600; font-size: .95em;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,210,63,.45); border-radius: 18px; padding: 1em 1.1em; }
.desc-label { font-family: var(--display); color: var(--teal); letter-spacing: .12em; font-size: .85em; margin-bottom: .4em; }
.pv-intro { gap: .7em; }
.pv-intro h1 { font-size: clamp(1.6em, 9vw, 2.1em); }
