:root {
  --ndg-bg: #fff8fa;
  --ndg-card: rgba(255,255,255,.88);
  --ndg-text: #2b1d22;
  --ndg-muted: #816d74;
  --ndg-pink: #ef6f98;
  --ndg-pink-dark: #d84f7a;
  --ndg-soft: #fff0f5;
  --ndg-border: rgba(226, 126, 157, .22);
  --ndg-shadow: 0 24px 80px rgba(105, 40, 63, .16);
}

.nick-date-game-page .site-header,
.nick-date-game-page .site-footer,
.nick-date-game-page header,
.nick-date-game-page footer {
  /* Theme chrome is intentionally suppressed on the special page where possible. */
}

.ndg-shell,
.ndg-shell * { box-sizing: border-box; }

.ndg-shell {
  position: relative;
  width: 100%;
  min-height: min(100svh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 180, 202, .42), transparent 34%),
    radial-gradient(circle at 86% 80%, rgba(255, 213, 224, .55), transparent 38%),
    linear-gradient(160deg, #fffdfd 0%, #fff3f7 56%, #fff9fb 100%);
  color: var(--ndg-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  isolation: isolate;
}

.ndg-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: .75;
  z-index: -2;
}
.ndg-glow-one { width: 260px; height: 260px; background: rgba(255,143,179,.18); top: -70px; right: -60px; }
.ndg-glow-two { width: 230px; height: 230px; background: rgba(255,203,218,.32); bottom: -70px; left: -60px; }

.ndg-card {
  width: min(100%, 430px);
  min-height: min(760px, calc(100svh - 36px));
  max-height: 920px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 22px 24px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 34px;
  background: var(--ndg-card);
  box-shadow: var(--ndg-shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.ndg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.ndg-topline {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #a57888;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ndg-mini-heart { color: var(--ndg-pink); font-size: 12px; }

.ndg-step {
  display: none;
  width: 100%;
  text-align: center;
  animation: ndgIn .45s ease both;
}
.ndg-step.is-active { display: block; }

.ndg-icon { font-size: 42px; line-height: 1; margin-bottom: 17px; filter: drop-shadow(0 8px 12px rgba(216,79,122,.12)); }
.ndg-icon-big { font-size: 58px; }
.ndg-kicker {
  margin: 0 0 8px;
  color: var(--ndg-pink-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ndg-step h1,
.ndg-step h2 {
  margin: 0 auto;
  max-width: 350px;
  font-family: Georgia, "Times New Roman", serif;
  color: #291b20;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.04;
}
.ndg-step h1 { font-size: clamp(31px, 8.4vw, 42px); }
.ndg-step h2 { font-size: clamp(29px, 7.5vw, 38px); }
.ndg-copy,
.ndg-message {
  margin: 16px auto 0;
  max-width: 355px;
  color: var(--ndg-muted);
  font-size: 15px;
  line-height: 1.65;
}
.ndg-message { color: #5f4c53; font-size: 15.5px; }
.ndg-message-small { margin-top: 12px; font-size: 14px; }

.ndg-actions { margin-top: 26px; }
.ndg-actions-stack { display: grid; gap: 10px; }
.ndg-btn,
.ndg-choice,
.ndg-link {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ndg-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.ndg-btn:active { transform: scale(.985); }
.ndg-btn-primary {
  color: white;
  background: linear-gradient(135deg, #ef799d, #db537f);
  box-shadow: 0 12px 28px rgba(219,83,127,.26);
}
.ndg-btn-primary:hover { box-shadow: 0 15px 34px rgba(219,83,127,.32); }
.ndg-btn-soft {
  color: #ad4668;
  background: var(--ndg-soft);
  border: 1px solid var(--ndg-border);
}
.ndg-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.ndg-link {
  margin-top: 4px;
  padding: 10px 8px;
  background: transparent;
  color: #9a7b86;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(154,123,134,.35);
  text-underline-offset: 4px;
}

.ndg-grid {
  margin: 22px 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ndg-choice {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border: 1px solid var(--ndg-border);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  color: #5f4550;
  box-shadow: 0 8px 24px rgba(116,62,79,.05);
  transition: .18s ease;
}
.ndg-choice span { font-size: 26px; }
.ndg-choice b { font-size: 12.5px; line-height: 1.3; font-weight: 750; }
.ndg-choice.is-selected {
  transform: translateY(-2px);
  border-color: rgba(219,83,127,.45);
  background: linear-gradient(160deg, #fff7fa, #ffe8f0);
  color: #aa3f63;
  box-shadow: 0 10px 25px rgba(216,79,122,.14);
}

.ndg-summary {
  margin: 22px 0 4px;
  display: grid;
  gap: 9px;
}
.ndg-summary-item {
  padding: 11px 14px;
  border-radius: 16px;
  background: #fff4f7;
  border: 1px solid var(--ndg-border);
  color: #7e4f60;
  font-size: 14px;
  font-weight: 750;
}
.ndg-ps {
  margin: 19px auto 0;
  max-width: 340px;
  color: #9b7d87;
  font-size: 11.5px;
  line-height: 1.55;
}

.ndg-progress {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.ndg-progress i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ead6dd;
  transition: .2s ease;
}
.ndg-progress i.is-active { width: 18px; background: #e37396; }

.ndg-heart {
  position: absolute;
  bottom: -40px;
  color: rgba(225, 92, 133, .24);
  user-select: none;
  pointer-events: none;
  animation: ndgFloat linear forwards;
  z-index: -1;
}

.ndg-toast {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%) translateY(8px);
  padding: 10px 14px;
  border-radius: 999px;
  background: #2f2026;
  color: white;
  font-size: 12px;
  opacity: 0;
  transition: .22s ease;
  pointer-events: none;
  white-space: nowrap;
}
.ndg-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

@keyframes ndgIn {
  from { opacity: 0; transform: translateY(12px) scale(.992); }
  to { opacity: 1; transform: none; }
}
@keyframes ndgFloat {
  0% { transform: translateY(0) rotate(0deg) scale(.8); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-115vh) rotate(35deg) scale(1.25); opacity: 0; }
}

@media (max-width: 480px) {
  .ndg-shell { padding: 0; min-height: 100svh; }
  .ndg-card {
    width: 100%;
    min-height: 100svh;
    max-height: none;
    border-radius: 0;
    border: 0;
    padding: 72px 19px 36px;
    box-shadow: none;
  }
  .ndg-topline { top: max(20px, env(safe-area-inset-top)); }
  .ndg-progress { bottom: max(14px, env(safe-area-inset-bottom)); }
  .ndg-grid { gap: 8px; }
  .ndg-choice { min-height: 98px; }
}

@media (max-height: 680px) and (max-width: 480px) {
  .ndg-card { justify-content: flex-start; overflow-y: auto; }
  .ndg-step { padding-bottom: 26px; }
  .ndg-icon { margin-top: 6px; margin-bottom: 12px; font-size: 34px; }
  .ndg-grid { margin-top: 15px; }
  .ndg-choice { min-height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .ndg-step, .ndg-heart, .ndg-btn, .ndg-choice { animation: none !important; transition: none !important; }
}
