:root {
  --sun: #ffd56a;
  --peach: #ffb38a;
  --coral: #ff7b8a;
  --mint: #7ee0c3;
  --sky: #7ec8ff;
  --lilac: #c9b6ff;
  --cream: #fff6ea;
  --ink: #3a2a38;
  --muted: #6d5670;
  --card: #ffffff;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body, .kiosk { margin: 0; height: 100%; background: var(--cream); color: var(--ink); font-family: var(--font-sans); }
body { overflow: hidden; }
.screen {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 28px max(24px, env(safe-area-inset-bottom));
  text-align: center;
  background:
    radial-gradient(700px 420px at 8% 0%, rgba(255, 213, 106, 0.55), transparent 60%),
    radial-gradient(640px 400px at 100% 8%, rgba(126, 200, 255, 0.4), transparent 55%),
    radial-gradient(520px 360px at 50% 100%, rgba(255, 123, 138, 0.22), transparent 50%),
    var(--cream);
}
h1, h2, .serif { font-family: var(--font-serif); font-weight: 600; }
.eyebrow { letter-spacing: 0.18em; text-transform: uppercase; color: #d85a78; font-size: 0.78rem; font-weight: 600; }
.display { font-size: clamp(2.6rem, 7vw, 5rem); margin: 8px 0; color: #4a2c45; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 28rem; line-height: 1.5; }
.btn {
  appearance: none; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #ffe08a, #ff9f6b);
  color: #4a2a20; font: 700 1rem var(--font-sans); padding: 14px 22px;
  box-shadow: 0 10px 24px rgba(255, 123, 138, 0.25);
}
.btn-ghost { background: #fff; color: #4a2c45; border: 2px solid #ffd0c2; box-shadow: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.field { display: grid; gap: 6px; text-align: left; width: min(420px, 100%); margin: 8px 0; color: var(--muted); font-size: 0.9rem; }
.field input {
  width: 100%; border-radius: 16px; border: 2px solid #ffd0c2;
  background: #fff; color: var(--ink); padding: 12px 14px; font: inherit;
}
.err { color: #d23b5c; margin-top: 10px; }
.start-hit { position: relative; z-index: 2; width: 100%; min-height: 100dvh; cursor: pointer; }
.start-label {
  position: fixed; left: 50%; top: 18%; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: clamp(2.4rem, 7vw, 4.6rem);
  color: #e25a6a; text-shadow: 0 4px 0 #fff6ea, 0 10px 28px rgba(255, 123, 138, 0.25);
  pointer-events: none; font-weight: 700;
}
.start-img {
  position: fixed; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: #fff6ea;
}
.video-bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #1a1220; }
.cam-bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); background: #111; }
.rec-hud {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 18px max(28px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(58, 42, 56, 0.55));
  color: #fff;
}
.rec-dot {
  width: 16px; height: 16px; border-radius: 50%; background: #ff4d6d;
  box-shadow: 0 0 0 8px rgba(255, 77, 109, 0.22);
  animation: blink 1s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }
.timer { font-size: clamp(2.4rem, 8vw, 4.4rem); font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 4px 16px rgba(0,0,0,.35); }
.overlay { position: relative; z-index: 2; }
.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.04); } }
.admin { align-items: stretch; text-align: left; overflow: auto; }
.admin h1 { margin: 0 0 8px; }
.list { display: grid; gap: 10px; margin-top: 16px; }
.rec {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: #fff; border: 2px solid #ffe0d2; border-radius: 20px; padding: 12px 14px;
}
.rec small { display: block; color: var(--muted); }
.pin-mask {
  position: fixed; inset: 0; z-index: 20; background: rgba(255, 246, 234, 0.72);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.pin-card {
  width: min(380px, 100%); background: #fff; border: 2px solid #ffd0c2;
  border-radius: 28px; padding: 24px; box-shadow: 0 20px 50px rgba(255, 123, 138, 0.2);
}
.hot { position: fixed; left: 0; top: 0; width: 72px; height: 72px; z-index: 8; }
.hidden { display: none !important; }
.thanks-hearts { font-size: 2.4rem; letter-spacing: 0.2em; }
