.pv-lead, .pv-count {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem;
  border: 1px solid var(--pv-card-border, rgba(15, 23, 42, 0.1));
  border-radius: var(--pv-card-radius, 18px);
  background: var(--pv-card-bg, #fff);
  color: var(--pv-card-text, #0f172a);
  text-align: center;
}
.pv-pb-title { margin: 0; color: inherit; font-family: var(--pv-heading-font, inherit); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.pv-pb-sub { margin: -0.3rem 0 0; color: var(--pv-card-muted, #64748b); font-size: 0.9rem; line-height: 1.4; }
.pv-lead-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.15rem; }
.pv-lead-form[hidden] { display: none; }
.pv-lead, .pv-count, .pv-lead *, .pv-count *, .pv-locked * { box-sizing: border-box; }
.pv-lead-form .pv-btn { width: 100%; }
.pv-lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pv-lead-consent { margin: 0.1rem 0 0; color: var(--pv-card-muted, #64748b); font-size: 0.72rem; line-height: 1.4; }
.pv-lead-consent a { color: inherit; text-decoration: underline; }
.pv-lead-done { display: flex; align-items: center; justify-content: center; gap: 0.45rem; margin: 0.2rem 0; font-size: 0.95rem; font-weight: 700; }
.pv-lead-done[hidden] { display: none; }
.pv-lead-link { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; max-width: 100%; min-width: 0; padding-left: 0.9rem; padding-right: 0.9rem; text-align: center; text-decoration: none; }
.pv-lead-alts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.pv-count-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; }
.pv-count-cell {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  padding: 0.65rem 0.2rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--pv-card-text, #0f172a) 6%, transparent);
}
.pv-count-cell strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; font-weight: 800; line-height: 1.1; }
.pv-count-cell span { color: var(--pv-card-muted, #64748b); font-size: 0.72rem; font-weight: 600; }
.pv-count-end { display: none; margin: 0; font-size: 1.15rem; font-weight: 800; }
.pv-count.is-ended .pv-count-row { display: none; }
.pv-count.is-ended .pv-count-end { display: block; }
.pv-count-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; text-decoration: none; }
.pv-section[hidden] { display: none; }
.pv-locked { display: flex; flex-direction: column; gap: 0.5rem; }
.pv-locked-row { grid-template-columns: 42px minmax(0, 1fr); width: 100%; font: inherit; text-align: left; cursor: pointer; }
.pv-locked-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.pv-locked-desc { color: var(--pv-card-muted, #64748b); font-size: 0.8rem; font-weight: 500; }
.pv-locked-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.45rem; }
.pv-locked-form[hidden] { display: none; }
.pv-locked-open { display: inline-flex; align-items: center; justify-content: center; width: 100%; text-decoration: none; }
.pv-locked-open[hidden] { display: none; }
@media (max-width: 380px) {
  .pv-count-cell strong { font-size: 1.35rem; }
}

.pv-pb-msg { display: flex; align-items: flex-start; gap: 0.45rem; margin: 0; padding: 0.55rem 0.75rem; border-radius: 12px; background: #f1f0f7; color: #334155; font-size: 0.85rem; font-weight: 600; line-height: 1.35; text-align: left; animation: pv-pb-in 0.18s ease-out; }
.pv-pb-msg i { flex: 0 0 auto; margin-top: 0.12em; }
.pv-pb-msg.is-error { background: #fff0f0; color: #c0202c; }
.pv-locked-form .pv-pb-msg { grid-column: 1 / -1; }
.pv-input.is-invalid, .pv-input.is-invalid:focus { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.2); }
.pv-input.is-shaking { animation: pv-pb-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes pv-pb-shake {
  15%, 85% { transform: translateX(-2px); }
  30%, 70% { transform: translateX(4px); }
  45%, 55% { transform: translateX(-6px); }
}
@keyframes pv-pb-in {
  from { opacity: 0; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .pv-input.is-shaking, .pv-pb-msg { animation: none; }
}
.pv-lead-link { line-height: 1.25; white-space: normal; text-wrap: balance; }
.sb-device-screen .pv-lead { padding: 1rem 0.85rem; }
.sb-device-screen .pv-lead a.pv-lead-link { gap: 0.35rem; padding-left: 0.5rem; padding-right: 0.5rem; font-size: 0.8rem !important; letter-spacing: -0.01em; }
.pv-toast.pv-toast--page {
  position: fixed;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 100000;
  width: max-content;
  max-width: min(92vw, 420px);
  margin: 0;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: #13093f;
  box-shadow: 0 14px 30px -14px rgba(19, 9, 63, 0.7);
  font-size: 0.9rem;
  transform: translate(-50%, 10px);
}
.pv-toast.pv-toast--page.is-visible { transform: translate(-50%, 0); }
