/* PayDrop — dark UI + brand gradient (logo blues → violet) */

:root {
  --pd-bg: #07070c;
  --pd-surface: #12121a;
  --pd-surface-2: #1c1c28;
  --pd-border: #2a2a3a;
  --pd-border-hover: #3d3d55;
  --pd-text: #f5f5ff;
  --pd-muted: #b8b8d0;
  --pd-faint: #8e8eab;
  --pd-navy: #00183c;
  --pd-blue-light: #3c78f0;
  --pd-blue: #5460f0;
  --pd-blue-mid: #486cf0;
  --pd-violet: #843cf0;
  --pd-violet-deep: #7848f0;
  --pd-accent: #5460f0;
  --pd-accent-2: #843cf0;
  --pd-gradient: linear-gradient(135deg, #3c78f0 0%, #5460f0 45%, #843cf0 100%);
  --pd-gradient-soft: linear-gradient(135deg, rgba(60, 120, 240, 0.18), rgba(132, 60, 240, 0.14));
  --pd-success: #34d399;
  --pd-glass: rgba(18, 18, 26, 0.78);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--pd-bg);
  color: var(--pd-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pd-page-bg {
  min-height: 100vh;
  background: var(--pd-bg);
}

.pd-hero-bg {
  background:
    radial-gradient(ellipse 70% 50% at 12% -5%, rgba(60, 120, 240, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(132, 60, 240, 0.18), transparent 50%),
    linear-gradient(180deg, #0a0a14 0%, var(--pd-bg) 60%);
}

.pd-hero-video-wrap {
  width: 100%;
}

.pd-hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 1280×720 */
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(63, 63, 70, 0.9);
  background: #09090b;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.pd-hero-video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #09090b;
}

/* Founding offer — sticky ribbon + hero panel */
.pd-founding-ribbon {
  position: sticky;
  top: 4rem; /* below .pd-nav h-16 */
  z-index: 35;
  overflow: hidden;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(8, 18, 32, 0.92), rgba(7, 12, 22, 0.88)),
    linear-gradient(90deg, rgba(14, 116, 144, 0.35), rgba(30, 64, 175, 0.28), rgba(14, 116, 144, 0.2));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pd-founding-ribbon-few {
  border-bottom-color: rgba(251, 191, 36, 0.35);
  background:
    linear-gradient(180deg, rgba(22, 16, 8, 0.94), rgba(12, 10, 8, 0.9)),
    linear-gradient(90deg, rgba(180, 120, 20, 0.28), rgba(30, 64, 175, 0.22), rgba(180, 120, 20, 0.16));
}
.pd-founding-ribbon-filled {
  border-bottom-color: rgba(113, 113, 122, 0.4);
  background: rgba(18, 18, 26, 0.92);
}
.pd-founding-ribbon-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: 2.85rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.pd-founding-ribbon-pulse {
  position: absolute;
  left: -25%;
  top: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.14), transparent);
  animation: pd-founding-shine 4.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pd-founding-shine {
  0% { transform: translateX(0); opacity: 0; }
  18% { opacity: 1; }
  55% { opacity: 0.3; }
  100% { transform: translateX(340%); opacity: 0; }
}
.pd-founding-ribbon-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  min-width: 0;
}
.pd-founding-ribbon-tag {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.pd-founding-ribbon-few .pd-founding-ribbon-tag {
  color: #fcd34d;
}
.pd-founding-ribbon-filled .pd-founding-ribbon-tag {
  color: #a1a1aa;
}
.pd-founding-ribbon-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #e4e4e7;
  font-weight: 500;
  min-width: 0;
}
.pd-founding-ribbon-link {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a0a0f;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 0.45rem;
  background: #e0f2fe;
  border: 1px solid rgba(125, 211, 252, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.pd-founding-ribbon-link:hover {
  background: #f0f9ff;
  transform: translateY(-1px);
}
.pd-founding-ribbon-few .pd-founding-ribbon-link {
  background: #fef3c7;
  border-color: rgba(251, 191, 36, 0.4);
  color: #1c1917;
}

.pd-founding-panel {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.4rem 1.45rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(14, 165, 233, 0.16), transparent 55%),
    linear-gradient(165deg, rgba(12, 22, 38, 0.95), rgba(7, 7, 12, 0.92));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 24px 48px rgba(0, 0, 0, 0.35);
  animation: pd-founding-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pd-founding-panel-few {
  border-color: rgba(251, 191, 36, 0.35);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(245, 158, 11, 0.16), transparent 55%),
    linear-gradient(165deg, rgba(28, 22, 12, 0.96), rgba(7, 7, 12, 0.92));
}
.pd-founding-panel-filled {
  border-color: rgba(113, 113, 122, 0.45);
  background: linear-gradient(165deg, rgba(24, 24, 27, 0.95), rgba(7, 7, 12, 0.9));
  box-shadow: none;
}
.pd-founding-panel-glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 65%);
  pointer-events: none;
}
.pd-founding-panel-few .pd-founding-panel-glow {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 65%);
}
.pd-founding-panel-kicker {
  position: relative;
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.pd-founding-panel-few .pd-founding-panel-kicker {
  color: #fcd34d;
}
.pd-founding-panel-filled .pd-founding-panel-kicker {
  color: #a1a1aa;
}
.pd-founding-panel-title {
  position: relative;
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  font-weight: 700;
  color: #fafafa;
  letter-spacing: -0.02em;
}
.pd-founding-panel-body {
  position: relative;
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #c4c4cc;
}
.pd-founding-panel-note {
  position: relative;
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #8b8b96;
}

/* Register / compact variants still use spotlight class names */
.pd-founding-spotlight {
  position: relative;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.14), rgba(30, 64, 175, 0.1) 48%, rgba(7, 7, 12, 0.55));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  animation: pd-founding-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pd-founding-spotlight-few {
  border-color: rgba(251, 191, 36, 0.4);
  background:
    linear-gradient(145deg, rgba(245, 158, 11, 0.14), rgba(30, 64, 175, 0.1) 50%, rgba(7, 7, 12, 0.55));
}
.pd-founding-spotlight-filled {
  border-color: rgba(113, 113, 122, 0.5);
  background: linear-gradient(145deg, rgba(63, 63, 70, 0.35), rgba(24, 24, 27, 0.7));
}
@keyframes pd-founding-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.pd-founding-spotlight-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.pd-founding-spotlight-few .pd-founding-spotlight-kicker {
  color: #fcd34d;
}
.pd-founding-spotlight-filled .pd-founding-spotlight-kicker {
  color: #a1a1aa;
}
.pd-founding-spotlight-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  color: #fafafa;
  letter-spacing: -0.01em;
}
.pd-founding-spotlight-body {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #d4d4d8;
}
.pd-founding-spotlight-note {
  margin: 0.55rem 0 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: #a1a1aa;
}

@media (prefers-reduced-motion: reduce) {
  .pd-founding-ribbon-pulse,
  .pd-founding-spotlight,
  .pd-founding-panel {
    animation: none;
  }
}

/* Readable text helpers */
.pd-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.pd-break {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Drop list item */
.pd-drop-item {
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.pd-drop-item:hover {
  border-color: rgba(84, 96, 240, 0.45);
}

.pd-drop-item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid #27272a;
}

.pd-drop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
}

/* Logo — white mark on dark UI (transparent, no white plate) */
.pd-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.pd-logo-nav {
  height: 2.35rem;
  width: auto;
  max-width: 7.5rem;
  padding: 0;
  border-radius: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pd-logo-footer {
  height: 2.5rem;
  width: auto;
  max-width: 8rem;
  padding: 0;
}

.pd-logo-auth {
  height: 4.5rem;
  width: auto;
  max-width: 11rem;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
}

.pd-logo-hero {
  height: 5.5rem;
  width: auto;
  max-width: 13rem;
  padding: 0;
  border-radius: 0;
}

.pd-logo-inline {
  height: 1.75rem;
  width: auto;
  max-width: 5.5rem;
  padding: 0;
  border-radius: 0;
}

/* legacy aliases */
.pd-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  overflow: visible;
}

.pd-logo-mark img,
.pd-logo-full {
  display: block;
  height: 2.35rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

/* Nav */
.pd-nav {
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 12, 0.78);
  border-bottom: 1px solid rgba(42, 42, 58, 0.95);
}

.pd-nav-recover {
  color: #d4d4d8;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(132, 60, 240, 0.45);
}

.pd-nav-recover:hover {
  text-decoration-color: rgba(132, 60, 240, 0.9);
}

.pd-buyer-recover-banner {
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(60, 120, 240, 0.12), transparent 55%),
    rgba(9, 9, 14, 0.55);
}

/* Buttons */
.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.25;
}

.pd-btn:active {
  transform: scale(0.98);
}

.pd-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pd-btn-primary {
  background: var(--pd-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(84, 96, 240, 0.28);
}

.pd-btn-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(132, 60, 240, 0.32);
}

.pd-btn-secondary {
  background: transparent;
  color: #f5f5ff;
  border-color: rgba(84, 96, 240, 0.45);
}

.pd-btn-secondary:hover:not(:disabled) {
  background: rgba(84, 96, 240, 0.1);
  border-color: rgba(132, 60, 240, 0.55);
}

.pd-btn-success {
  background: var(--pd-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(84, 96, 240, 0.25);
}

.pd-btn-success:hover:not(:disabled) {
  filter: brightness(1.08);
}

.pd-btn-ghost {
  background: transparent;
  color: #a1a1aa;
  border-color: transparent;
}

.pd-btn-ghost:hover:not(:disabled) {
  color: #fafafa;
  background: rgba(255, 255, 255, 0.04);
}

.pd-btn-apple {
  width: 100%;
  background: #fafafa;
  color: #09090b;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border-radius: 0.875rem;
}

.pd-btn-apple:hover:not(:disabled) {
  background: #e4e4e7;
}

/* Inputs */
.pd-input {
  width: 100%;
  border: 1px solid #27272a;
  background: #09090b;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.9375rem;
  color: #fafafa;
  outline: none;
  transition: all 0.3s ease;
}

.pd-input::placeholder {
  color: #8b8b96;
}

.pd-input:focus {
  border-color: rgba(84, 96, 240, 0.7);
  box-shadow: 0 0 0 3px rgba(84, 96, 240, 0.18);
}

.pd-input.pd-input-error {
  border-color: #f87171;
}

.pd-input.pd-input-error:focus {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.pd-input.pd-input-ok {
  border-color: #22c55e;
}

.pd-input.pd-input-ok:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.pd-password-wrap {
  position: relative;
}

.pd-password-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #b4b4bd;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.4rem;
  border-radius: 0.4rem;
}

.pd-password-toggle:hover {
  color: #fafafa;
}

.pd-auth-error {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.pd-auth-error.hidden {
  display: none;
}

.pd-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #71717a;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.pd-auth-divider::before,
.pd-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.pd-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c8c8d0;
  margin-bottom: 0.4rem;
}

/* Surface / glass cards */
.pd-card {
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.pd-glass {
  background: var(--pd-glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(63, 63, 70, 0.7);
  border-radius: 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.pd-shadow-soft {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 40px rgba(0, 0, 0, 0.25);
}

.pd-shadow-lift {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 28px 70px rgba(0, 0, 0, 0.45);
}

/* Dropzone */
.pd-dropzone {
  border: 1.5px dashed #3f3f46;
  border-radius: 0.875rem;
  background: #09090b;
  padding: 1.75rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pd-dropzone:hover,
.pd-dropzone.is-dragover {
  border-color: #b4b4bd;
  background: #18181b;
}

.pd-dropzone.has-file {
  border-style: solid;
  border-color: #a1a1aa;
}

/* Tabs */
.pd-tabs {
  display: inline-flex;
  width: 100%;
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 0.75rem;
  padding: 0.25rem;
  gap: 0.25rem;
}

.pd-tab {
  border: none;
  background: transparent;
  color: #b4b4bd;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.pd-tab.is-active {
  background: var(--pd-gradient-soft);
  color: #f5f5ff;
  box-shadow: inset 0 0 0 1px rgba(84, 96, 240, 0.35);
}

/* Price chips */
.pd-price-chip {
  border: 1px solid #27272a;
  background: #09090b;
  border-radius: 0.65rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pd-price-chip:hover {
  border-color: #3f3f46;
  color: #fafafa;
}

.pd-price-chip.is-active {
  background: var(--pd-gradient);
  border-color: transparent;
  color: #fff;
}

/* Type badges */
.pd-type-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
  border: 1px solid #27272a;
}

.pd-type-pdf { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.pd-type-zip { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.pd-type-mp4,
.pd-type-video { background: rgba(168, 85, 247, 0.12); color: #c084fc; }
.pd-type-audio { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.pd-type-office { background: rgba(14, 165, 233, 0.12); color: #38bdf8; }
.pd-type-image { background: rgba(236, 72, 153, 0.12); color: #f472b6; }
.pd-type-text { background: rgba(161, 161, 170, 0.18); color: #a1a1aa; }
.pd-type-url { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.pd-type-file { background: #27272a; color: #d4d4d8; }

/* Toast */
#pd-toast-root {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.pd-toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: 360px;
  background: #27272a;
  color: #fafafa;
  border: 1px solid #3f3f46;
  border-radius: 0.875rem;
  padding: 0.85rem 1rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: pd-toast-in 0.28s ease;
}

.pd-toast.is-leaving { animation: pd-toast-out 0.22s ease forwards; }
.pd-toast-success { background: #14532d; border-color: #166534; }
.pd-toast-error { background: #7f1d1d; border-color: #991b1b; }

@keyframes pd-toast-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pd-toast-out {
  to { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

/* Spinner */
.pd-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pd-spin 0.7s linear infinite;
}

.pd-spinner-light {
  border-color: rgba(255, 255, 255, 0.15);
  border-top-color: #fff;
}

@keyframes pd-spin { to { transform: rotate(360deg); } }

/* Success */
.pd-check-circle {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  background: rgba(84, 96, 240, 0.14);
  border: 1px solid rgba(132, 60, 240, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pd-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pd-check-circle-drop {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.08), 0 12px 40px rgba(16, 185, 129, 0.18);
}

.pd-check-circle-drop svg {
  color: #6ee7b7;
}

.pd-check-circle-restored {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}

.pd-check-circle-restored svg {
  color: #7dd3fc;
}

.pd-check-circle svg {
  width: 2.25rem;
  height: 2.25rem;
  color: #9db0ff;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: pd-draw 0.45s ease 0.15s forwards;
}

/* Drop celebration */
.pd-drop-confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

html.pd-celebrate,
body.pd-celebrate {
  background-color: #071510 !important;
}

.pd-celebrate-stage {
  position: relative;
}

.pd-celebrate-stage::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 20%, rgba(16, 185, 129, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(52, 211, 153, 0.12), transparent 65%),
    linear-gradient(180deg, #0a1f18 0%, #09090b 55%);
  animation: pd-celebrate-wash 0.5s ease;
}

.pd-celebrate-stage > * {
  position: relative;
  z-index: 1;
}

.pd-drop-success-card,
.pd-celebrate-stage .pd-glass {
  border-color: rgba(52, 211, 153, 0.28) !important;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.1), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.pd-drop-success .pd-check-circle {
  animation: pd-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), pd-drop-bounce 0.7s ease 0.35s;
}

@keyframes pd-celebrate-wash {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pd-drop-bounce {
  0%,
  100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  70% { transform: translateY(-3px); }
}

@keyframes pd-pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes pd-draw { to { stroke-dashoffset: 0; } }

.pd-live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: pd-pulse 1.8s ease infinite;
}

@keyframes pd-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.pd-preview-card {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 28px 70px rgba(0, 0, 0, 0.4);
}

.pd-auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pd-pay-page,
.pd-access-page {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem 2rem;
}

.pd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  padding: 1.25rem;
  animation: pd-fade-in 0.2s ease;
}

.pd-modal {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: pd-pop 0.3s ease;
}

.pd-modal-confirm {
  text-align: left;
  max-width: 400px;
  padding: 1.35rem 1.35rem 1.25rem;
}

.pd-modal-confirm-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fafafa;
  letter-spacing: -0.02em;
}

.pd-modal-confirm-msg {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #c8c8d0;
}

.pd-modal-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1.35rem;
}

.pd-modal-share {
  text-align: left;
  max-width: 420px;
  padding: 1.35rem 1.35rem 1.25rem;
}

.pd-share-url {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 0.65rem;
  font-size: 0.75rem;
  color: #a1a1aa;
  line-height: 1.4;
}

.pd-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.pd-share-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 0.75rem;
  color: #e4e4e7;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pd-share-option:hover {
  background: #18181b;
  border-color: #3f3f46;
  color: #fafafa;
}

.pd-share-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.45rem;
  background: #27272a;
  color: #d4d4d8;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pd-who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pd-who-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
  .pd-who-list li {
    grid-template-columns: minmax(10rem, 14rem) 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.pd-who-list strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f4f4f5;
}

.pd-who-list span {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #a1a1aa;
}

.pd-btn-danger {
  background: #dc2626;
  border: 1px solid #dc2626;
  color: #fff;
}

.pd-btn-danger:hover:not(:disabled) {
  background: #b91c1c;
  border-color: #b91c1c;
}

.pd-btn-danger:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pd-danger-zone {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.12);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.pd-delete-modal-fields {
  margin-top: 1rem;
  text-align: left;
  space-y: 0.75rem;
}

.pd-delete-modal-fields .pd-label {
  margin-top: 0.75rem;
}

.pd-delete-modal-fields .pd-label:first-child {
  margin-top: 0;
}

/* Earnings filters */
.pd-earnings-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pd-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pd-filter-chip {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(84, 96, 240, 0.28);
  border-radius: 9999px;
  color: #b8b8d0;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pd-filter-chip:hover {
  color: #f5f5ff;
  border-color: rgba(132, 60, 240, 0.5);
}

.pd-filter-chip.is-active {
  background: var(--pd-gradient);
  border-color: transparent;
  color: #fff;
}

.pd-filter-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.pd-filter-custom.hidden {
  display: none;
}

.pd-filter-date {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 9.5rem;
}

.pd-filter-date span {
  font-size: 0.7rem;
  font-weight: 500;
  color: #b4b4bd;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pd-input-date {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  font-size: 0.875rem;
  color-scheme: dark;
}

@keyframes pd-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pd-unlock { animation: pd-unlock-in 0.4s ease; }
@keyframes pd-unlock-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pd-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pay method pills */
.pd-pay-method {
  border: 1px solid #27272a;
  background: #09090b;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  color: #a1a1aa;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}

.pd-pay-method:hover {
  border-color: rgba(84, 96, 240, 0.45);
  color: #f5f5ff;
}

.pd-pay-method.is-active {
  border-color: transparent;
  color: #fff;
  background: var(--pd-gradient);
}

/* Checkout trust micro-copy */
.pd-pay-trust {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}
.pd-pay-trust-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #8b8ba0;
  font-size: 0.72rem;
  line-height: 1.35;
  max-width: 22rem;
}
.pd-pay-trust-lock {
  display: inline-flex;
  color: #34d399;
  flex-shrink: 0;
}
.pd-pay-trust-cards {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Powered by Stripe */
.pd-powered-stripe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin: 0;
  color: #a1a1aa;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 500;
}
.pd-powered-stripe-compact {
  font-size: 0.68rem;
}
.pd-powered-stripe-footer {
  justify-content: flex-start;
  color: #71717a;
}
.pd-stripe-logo {
  display: inline-block;
  height: 1.25rem;
  width: auto;
  vertical-align: middle;
}
.pd-powered-stripe-footer .pd-stripe-logo {
  height: 1.15rem;
}
.pd-pay-trust .pd-powered-stripe {
  margin-top: 0.15rem;
}
.pd-stripe-trust-block {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(99, 91, 255, 0.28);
  background: rgba(99, 91, 255, 0.08);
  text-align: center;
}
.pd-stripe-trust-block.text-left {
  text-align: left;
}
.pd-stripe-trust-block.text-left .pd-powered-stripe {
  justify-content: flex-start;
}
.pd-stripe-trust-block .pd-powered-stripe {
  color: #c4c0ff;
}
.pd-stripe-trust-note {
  margin: 0.4rem 0 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #a1a1aa;
}

.pd-card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.35rem;
  padding: 0 0.45rem;
  border-radius: 0.28rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(148, 148, 180, 0.22);
  background: rgba(12, 12, 20, 0.85);
  color: #d4d4e8;
  line-height: 1;
}
.pd-card-visa {
  color: #7eb6ff;
  font-style: italic;
  letter-spacing: 0.04em;
}
.pd-card-mc {
  gap: 0.2rem;
  padding-left: 0.35rem;
}
.pd-card-mc-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  display: inline-block;
}
.pd-card-mc-a { background: #eb001b; }
.pd-card-mc-b { background: #f79e1b; margin-left: -0.22rem; opacity: 0.95; }
.pd-card-mc-text {
  font-size: 0.58rem;
  font-weight: 650;
  color: #cfcfe0;
  letter-spacing: 0;
  font-style: normal;
}
.pd-pay-faq {
  border-top: 1px solid rgba(148, 148, 180, 0.12);
  padding-top: 0.85rem;
  display: grid;
  gap: 0.35rem;
}
.pd-pay-faq-item {
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 148, 180, 0.12);
  background: rgba(9, 9, 16, 0.55);
  padding: 0.55rem 0.75rem;
}
.pd-pay-faq-item summary {
  cursor: pointer;
  list-style: none;
  color: #b0b0c8;
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.35;
}
.pd-pay-faq-item summary::-webkit-details-marker { display: none; }
.pd-pay-faq-item summary::after {
  content: '+';
  float: right;
  color: #6b6b86;
  font-weight: 600;
}
.pd-pay-faq-item[open] summary::after { content: '–'; }
.pd-pay-faq-item p {
  margin: 0.45rem 0 0.15rem;
  color: #8e8eab;
  font-size: 0.72rem;
  line-height: 1.45;
}

/* Toggle switch */
.pd-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.pd-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pd-switch-track {
  width: 2.5rem;
  height: 1.4rem;
  border-radius: 9999px;
  background: #27272a;
  border: 1px solid #3f3f46;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.pd-switch-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: #a1a1aa;
  transition: all 0.3s ease;
}

.pd-switch input:checked + .pd-switch-track {
  background: var(--pd-gradient);
  border-color: transparent;
}

.pd-switch input:checked + .pd-switch-track::after {
  left: calc(100% - 1rem - 2px);
  background: #fff;
}

.pd-switch input:focus-visible + .pd-switch-track {
  box-shadow: 0 0 0 3px rgba(84, 96, 240, 0.35);
}

.pd-switch-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #b4b4bd;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.pd-switch input:checked ~ .pd-switch-label {
  color: #c8c8ff;
}

.pd-switch-caption {
  font-size: 0.75rem;
  color: #a1a1aa;
  margin-right: 0.15rem;
}

.pd-switch.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

/* Avatars */
.pd-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9999px;
  overflow: hidden;
  background: #f4f4f5;
  color: #09090b;
  font-weight: 600;
  line-height: 1;
  border: 1px solid #27272a;
  aspect-ratio: 1 / 1;
  position: relative;
}

.pd-avatar-img,
img.pd-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pd-avatar-sm {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.625rem;
}

.pd-avatar-md {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.8rem;
}

.pd-avatar-lg {
  width: 5rem;
  height: 5rem;
  font-size: 1.5rem;
  border-color: #3f3f46;
}

.pd-avatar-fallback {
  border-color: transparent;
}

.pd-creator-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  text-decoration: none;
  color: inherit;
  max-width: 100%;
  min-width: 0;
}

.pd-seller-type-ico-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.pd-seller-type-ico {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

h1 .pd-seller-type-ico {
  width: 1.25rem;
  height: 1.25rem;
}

a.pd-creator-line:hover .text-zinc-400,
a.pd-creator-line:hover .text-zinc-300 {
  color: #fafafa;
}

/* Footer */
.pd-footer {
  margin-top: 4rem;
  border-top: 1px solid #27272a;
  background: #09090b;
}

.pd-footer-compact {
  margin-top: 0;
  border-top: 1px solid rgba(39, 39, 42, 0.85);
}

.pd-footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b4b4bd;
  margin-bottom: 0.85rem;
}

.pd-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pd-footer-list a {
  font-size: 0.875rem;
  color: #a1a1aa;
  text-decoration: none;
}

.pd-footer-list a:hover {
  color: #fafafa;
}

/* How it works */
#how-it-works {
  scroll-margin-top: 5rem;
}

.pd-how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .pd-how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
  }

  .pd-how-steps::before {
    content: '';
    position: absolute;
    top: 5.5rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #27272a 12%, #27272a 88%, transparent);
    pointer-events: none;
  }
}

.pd-how-step {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.pd-how-visual {
  position: relative;
  z-index: 1;
}

.pd-how-panel {
  background: #121214;
  border: 1px solid #27272a;
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
  min-height: 11.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.pd-how-dropzone {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1.5px dashed #3f3f46;
  border-radius: 0.85rem;
  background: #09090b;
  padding: 1.1rem 1rem;
  margin-top: 0.35rem;
}

.pd-how-file-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.pd-how-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pd-how-chips span {
  border: 1px solid #27272a;
  background: #09090b;
  color: #b4b4bd;
  border-radius: 0.5rem;
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pd-how-chips span.is-on {
  background: #fafafa;
  border-color: #fafafa;
  color: #09090b;
}

.pd-how-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #27272a;
  background: #09090b;
  border-radius: 0.65rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.75rem;
  color: #b4b4bd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.pd-how-pay {
  width: 100%;
  text-align: center;
  background: #fafafa;
  color: #09090b;
  border-radius: 0.7rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.pd-how-copy {
  padding: 0 0.15rem;
}

.pd-how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.65rem;
  margin-bottom: 0.85rem;
  border-radius: 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--pd-gradient);
  box-shadow: 0 8px 22px rgba(84, 96, 240, 0.35);
  line-height: 1;
}

.pd-how-copy h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fafafa;
  letter-spacing: -0.02em;
}

.pd-how-copy p {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.pd-bank {
  background: var(--pd-surface);
  border: 1px solid rgba(84, 96, 240, 0.22);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
  background-image: var(--pd-gradient-soft);
}

.pd-bank-disconnected,
.pd-bank-connected {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pd-bank-disconnected,
  .pd-bank-connected {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pd-bank-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(84, 96, 240, 0.14);
  color: #9db0ff;
  border: 1px solid rgba(132, 60, 240, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.pd-zk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.32);
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.pd-founding-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: rgba(139, 92, 246, 0.14);
  color: #ddd6fe;
  border: 1px solid rgba(167, 139, 250, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.pd-founding-badge-sm {
  font-size: 0.6rem;
  padding: 0.12rem 0.45rem;
  vertical-align: middle;
}

.pd-btn-stripe {
  background: var(--pd-gradient);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(84, 96, 240, 0.28);
}

.pd-btn-stripe:hover:not(:disabled) {
  filter: brightness(1.08);
  border-color: transparent;
}

.pd-stripe-mark {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.pd-btn.is-gated {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Dashboard tabs */
.pd-dash-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #27272a;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pd-dash-tabs::-webkit-scrollbar {
  display: none;
}

.pd-dash-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #b4b4bd;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.7rem 0.85rem;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pd-dash-tab:hover {
  color: #c8c8ff;
}

.pd-dash-tab.is-active {
  color: #f5f5ff;
  border-bottom-color: #5460f0;
}

.pd-dash-panel {
  animation: pd-fade-in 0.18s ease;
}

/* PWA install (dashboard) */
.pd-pwa-install-banner {
  margin: 0 0 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(52, 211, 153, 0.32);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(9, 9, 11, 0.55) 55%),
    #12121a;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.08), 0 12px 32px rgba(0, 0, 0, 0.28);
  animation: pd-pwa-banner-in 0.35s ease;
}

.pd-pwa-install-banner.hidden,
.pd-pwa-install-banner[hidden] {
  display: none !important;
}

.pd-pwa-install-banner.is-attention {
  animation: pd-pwa-banner-in 0.35s ease, pd-pwa-pulse 1.6s ease 0.35s 2;
}

.pd-pwa-install-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 1rem 1.1rem;
}

.pd-pwa-install-banner-ico-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.28);
  flex-shrink: 0;
}

.pd-pwa-install-banner-ico {
  width: 1.35rem;
  height: 1.35rem;
  color: #6ee7b7;
}

.pd-pwa-install-banner-copy {
  flex: 1 1 12rem;
  min-width: 0;
}

.pd-pwa-install-banner-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ecfdf5;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.pd-pwa-install-banner-text {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #a1a1aa;
}

.pd-pwa-install-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  flex-shrink: 0;
}

.pd-pwa-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.22);
  color: #ecfdf5;
  border-color: rgba(52, 211, 153, 0.45);
}

.pd-pwa-install-btn:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.32);
  border-color: rgba(52, 211, 153, 0.6);
  color: #fff;
}

.pd-pwa-install-dismiss {
  appearance: none;
  background: transparent;
  border: 0;
  color: #a1a1aa;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.25rem;
  transition: color 0.15s ease;
}

.pd-pwa-install-dismiss:hover {
  color: #f4f4f5;
}

@keyframes pd-pwa-banner-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pd-pwa-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.08), 0 12px 32px rgba(0, 0, 0, 0.28);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.35), 0 12px 36px rgba(16, 185, 129, 0.18);
  }
}

.pd-pwa-ios-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  max-width: 26rem;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: rgba(18, 18, 26, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: pd-fade-in 0.2s ease;
}

.pd-pwa-ios-banner-ico {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  color: #6ee7b7;
}

.pd-pwa-ios-banner-body {
  min-width: 0;
  flex: 1;
}

.pd-pwa-ios-banner-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ecfdf5;
  line-height: 1.35;
}

.pd-pwa-ios-banner-text {
  margin: 0.3rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #a1a1aa;
}

.pd-pwa-ios-banner-text strong {
  color: #d4d4d8;
  font-weight: 600;
}

.pd-pwa-ios-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.pd-pwa-ios-banner-dismiss {
  appearance: none;
  background: transparent;
  border: 0;
  color: #a1a1aa;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.15rem;
  transition: color 0.15s ease;
}

.pd-pwa-ios-banner-dismiss:hover {
  color: #f4f4f5;
}

@media (min-width: 640px) {
  .pd-pwa-ios-banner {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    margin: 0;
  }
}

@keyframes pd-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Transaction table */
.pd-tx-table {
  border-collapse: collapse;
  min-width: 640px;
}

.pd-tx-table thead th {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b4b4bd;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #27272a;
  white-space: nowrap;
}

.pd-tx-table tbody td {
  font-size: 0.84rem;
  color: #d4d4d8;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #27272a;
  vertical-align: middle;
}

.pd-tx-table tbody tr:last-child td {
  border-bottom: 0;
}

.pd-tx-table tbody tr:hover td {
  background: rgba(39, 39, 42, 0.35);
}

.pd-tx-date {
  color: #a1a1aa;
  white-space: nowrap;
}

.pd-tx-resource {
  font-weight: 500;
  color: #f4f4f5;
  max-width: 14rem;
}

.pd-tx-buyer {
  color: #a1a1aa;
  max-width: 12rem;
}

.pd-tx-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 500;
}

.pd-tx-fee {
  color: #a1a1aa;
}

.pd-tx-net {
  color: #4ade80;
  font-weight: 600;
}

/* Stats */
.pd-stat {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
  min-height: 6.5rem;
}

.pd-stat-highlight {
  border-color: #3f3f46;
  background: linear-gradient(180deg, #1c1c1f 0%, #18181b 100%);
}

.pd-stat-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #b4b4bd;
  letter-spacing: 0.01em;
}

.pd-stat-value {
  margin: 0.55rem 0 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
  line-height: 1.2;
}

.pd-stat-fees {
  color: #f87171;
}

.pd-stat-net {
  color: #4ade80;
}

.pd-stat-hint {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: #a1a1aa;
}

/* Wallet Stripe loading */
.pd-spinner-lg {
  width: 1.75rem;
  height: 1.75rem;
  border-width: 2.5px;
  flex-shrink: 0;
}

.pd-wallet-loading {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem 1.25rem 1.5rem;
  min-height: 12rem;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.92) 0%, rgba(9, 9, 11, 0.96) 100%);
}

.pd-wallet-loading.hidden {
  display: none;
}

.pd-wallet-loading-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  justify-content: center;
  text-align: left;
}

.pd-wallet-loading-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f4f4f5;
}

.pd-wallet-loading-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: #a1a1aa;
}

.pd-wallet-loading-bars {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 28rem;
  width: 100%;
  margin: 0 auto;
}

.pd-wallet-loading-bars span {
  display: block;
  height: 0.7rem;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #27272a 0%,
    #3f3f46 40%,
    #27272a 80%
  );
  background-size: 200% 100%;
  animation: pd-wallet-shimmer 1.15s ease-in-out infinite;
}

.pd-wallet-loading-bars span:nth-child(1) { width: 92%; animation-delay: 0s; }
.pd-wallet-loading-bars span:nth-child(2) { width: 78%; animation-delay: 0.12s; }
.pd-wallet-loading-bars span:nth-child(3) { width: 86%; animation-delay: 0.24s; }
.pd-wallet-loading-bars span:nth-child(4) { width: 64%; animation-delay: 0.36s; }

@keyframes pd-wallet-shimmer {
  0% { background-position: 100% 0; opacity: 0.55; }
  50% { opacity: 1; }
  100% { background-position: -100% 0; opacity: 0.55; }
}

#pd-wallet-stats.is-loading .pd-stat-value {
  position: relative;
  color: transparent !important;
  user-select: none;
}

#pd-wallet-stats.is-loading .pd-stat-value::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5.5rem;
  height: 1.05rem;
  border-radius: 0.4rem;
  background: linear-gradient(90deg, #27272a 0%, #3f3f46 45%, #27272a 90%);
  background-size: 200% 100%;
  animation: pd-wallet-shimmer 1.15s ease-in-out infinite;
}

#pd-wallet-stats.is-loading .pd-stat:nth-child(2) .pd-stat-value::after {
  animation-delay: 0.1s;
  width: 4.75rem;
}

#pd-wallet-stats.is-loading .pd-stat:nth-child(3) .pd-stat-value::after {
  animation-delay: 0.15s;
  width: 5rem;
}

#pd-wallet-stats.is-loading .pd-stat:nth-child(4) .pd-stat-value::after {
  animation-delay: 0.25s;
  width: 5.25rem;
}

.pd-wallet-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: #27272a;
  color: #d4d4d8;
  border: 1px solid #3f3f46;
}

.pd-wallet-badge.is-ok {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.pd-wallet-badge.is-warn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.pd-wallet-badge.is-info {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}

.pd-wallet-badge.is-bad {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.pd-wallet-alert {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.pd-wallet-alert.is-warn {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

.pd-wallet-alert.is-info {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #bae6fd;
}

.pd-wallet-alert.is-bad {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: #fecaca;
}

@media (prefers-reduced-motion: reduce) {
  .pd-wallet-loading-bars span,
  #pd-wallet-stats.is-loading .pd-stat-value::after {
    animation: none;
    opacity: 0.75;
  }
}

/* Protect note */
.pd-protect-note {
  border: 1px solid #27272a;
  background: #121214;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
}

.pd-protect-note-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d4d4d8;
}

.pd-protect-note-body {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #b4b4bd;
}

.pd-protect-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(84, 96, 240, 0.12);
  color: #c8c8ff;
  border: 1px solid rgba(132, 60, 240, 0.28);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Buyer access limits — high visibility */
.pd-access-limits {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.05));
  border-radius: 0.95rem;
  padding: 0.95rem 1rem 1rem;
}
.pd-access-limits-title {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
}
.pd-access-limits-grid {
  display: grid;
  gap: 0.75rem;
}
.pd-access-limits-grid.has-two {
  grid-template-columns: 1fr;
}
@media (min-width: 400px) {
  .pd-access-limits-grid.has-two {
    grid-template-columns: 1fr 1fr;
  }
}
.pd-access-limit-item {
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
  background: rgba(9, 9, 11, 0.55);
  border: 1px solid rgba(63, 63, 70, 0.85);
}
.pd-access-limit-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a1a1aa;
}
.pd-access-limit-value {
  margin: 0.3rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fafafa;
  font-variant-numeric: tabular-nums;
}
.pd-access-limit-hint {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: #a1a1aa;
}

/* Zero-knowledge trust note */
.pd-zk-trust {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: rgba(16, 185, 129, 0.06);
}

.pd-zk-trust-ico {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  color: #6ee7b7;
}

.pd-zk-trust strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d1fae5;
  line-height: 1.35;
}

.pd-zk-trust p {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #94a3b8;
}

.pd-zk-trust-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6ee7b7;
}

.pd-pay-zk-panel {
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
}
.pd-pay-zk-panel.is-ready {
  border-color: rgba(52, 211, 153, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04));
}
.pd-pay-zk-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fcd34d;
}
.pd-pay-zk-panel.is-ready .pd-pay-zk-title {
  color: #6ee7b7;
}
.pd-pay-zk-body {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #d4d4d8;
}

/* Verified seller rating */
.pd-seller-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  line-height: 1.3;
  color: #a1a1aa;
}

.pd-seller-rating-new {
  color: #71717a;
  font-style: normal;
}

.pd-seller-rating-stars {
  display: inline-flex;
  gap: 0.1rem;
  color: #52525b;
}

.pd-seller-rating-stars .pd-star svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
  display: block;
}

.pd-seller-rating-stars .pd-star.is-filled,
.pd-seller-rating-stars .pd-star.is-half {
  color: #fbbf24;
}

.pd-seller-rating-score {
  font-weight: 600;
  color: #e4e4e7;
  font-variant-numeric: tabular-nums;
}

.pd-seller-rating-count {
  color: #71717a;
}

.pd-seller-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.pd-seller-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem; /* ~36px */
  padding: 0.4rem 0.7rem;
  border: 1px solid #3f3f46;
  border-radius: 0.5rem;
  background: rgba(24, 24, 27, 0.75);
  color: #d4d4d8;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pd-seller-contact-ico {
  display: inline-flex;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: #a1a1aa;
}

.pd-seller-contact-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pd-seller-contact-label {
  white-space: nowrap;
}

.pd-seller-contact-link--wa .pd-seller-contact-ico {
  color: #22c55e;
}

.pd-seller-contact-link--ig .pd-seller-contact-ico {
  color: #e1306c;
}

.pd-seller-contact-link--x .pd-seller-contact-ico {
  color: #e4e4e7;
}

.pd-seller-contact-link--fb .pd-seller-contact-ico {
  color: #1877f2;
}

.pd-seller-contact-link--tt .pd-seller-contact-ico {
  color: #f4f4f5;
}

.pd-seller-contact-link:hover {
  border-color: #52525b;
  color: #f4f4f5;
  background: rgba(39, 39, 42, 0.9);
}

.pd-seller-contact-link:hover .pd-seller-contact-ico {
  color: #d4d4d8;
}

.pd-seller-contact-link--wa:hover .pd-seller-contact-ico {
  color: #4ade80;
}

.pd-seller-contact-link--ig:hover .pd-seller-contact-ico {
  color: #e1306c;
}

.pd-seller-contact-link--x:hover .pd-seller-contact-ico {
  color: #fafafa;
}

.pd-seller-contact-link--fb:hover .pd-seller-contact-ico {
  color: #1877f2;
}

.pd-seller-contact-link--tt:hover .pd-seller-contact-ico {
  color: #fafafa;
}

/* Compact reviews list (dashboard + public profile) */
.pd-reviews-scroll {
  max-height: 22rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: #3f3f46 transparent;
}

.pd-reviews-scroll::-webkit-scrollbar {
  width: 6px;
}

.pd-reviews-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.pd-reviews-scroll::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 999px;
}

.pd-reviews-scroll::-webkit-scrollbar-thumb:hover {
  background: #52525b;
}

.pd-review-modal {
  max-width: 26rem;
}

.pd-review-stars {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
}

.pd-star-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;
  color: #3f3f46;
  transition: color 0.12s ease, transform 0.12s ease;
}

.pd-star-btn svg {
  width: 1.85rem;
  height: 1.85rem;
  fill: currentColor;
  display: block;
}

.pd-star-btn:hover,
.pd-star-btn.is-active {
  color: #fbbf24;
}

.pd-star-btn:hover {
  transform: translateY(-1px);
}

.pd-review-rating-label {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: #71717a;
}

/* Supported formats disclosure */
.pd-formats-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 500;
  color: #a1a1aa;
  cursor: pointer;
  transition: color 0.15s ease;
}

.pd-formats-toggle:hover {
  color: #e4e4e7;
}

.pd-formats-toggle.is-open {
  color: #f4f4f5;
}

.pd-formats-chevron {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.18s ease;
}

.pd-formats-toggle.is-open .pd-formats-chevron {
  transform: rotate(180deg);
}

.pd-formats-panel {
  margin-top: 0.55rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #27272a;
  background: rgba(9, 9, 11, 0.65);
}

.pd-formats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pd-formats-list li {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #a1a1aa;
}

.pd-formats-list li span {
  display: inline-block;
  min-width: 4.75rem;
  margin-right: 0.35rem;
  font-weight: 600;
  color: #d4d4d8;
}

.pd-formats-zip {
  margin: 0.7rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid #27272a;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #a1a1aa;
}

.pd-formats-zip strong {
  color: #e4e4e7;
  font-weight: 600;
}

/* Legal / about docs */
.pd-doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

@media (min-width: 640px) {
  .pd-doc {
    padding: 4rem 1.5rem 5rem;
  }
}

.pd-doc-inner h1 {
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fafafa;
  line-height: 1.15;
  margin: 0;
}

.pd-doc-kicker {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #b4b4bd;
  margin: 0 0 0.75rem;
}

.pd-doc-lead {
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #a1a1aa;
}

.pd-doc-meta {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: #a1a1aa;
}

.pd-doc-blocks {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.pd-doc-blocks section {
  padding: 1.25rem 0;
  border-top: 1px solid #27272a;
}

.pd-doc-blocks h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #fafafa;
  margin: 0 0 0.45rem;
}

.pd-doc-blocks p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #a1a1aa;
}

.pd-doc-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pd-prose h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fafafa;
  margin: 2rem 0 0.65rem;
}

.pd-prose p,
.pd-prose li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #a1a1aa;
}

.pd-prose p {
  margin: 0.85rem 0 0;
}

.pd-prose ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.pd-prose a {
  color: #d4d4d8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pd-prose a:hover {
  color: #fafafa;
}

.pd-prose strong {
  color: #e4e4e7;
  font-weight: 600;
}

/* Support channels */
.pd-support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  background: var(--pd-surface);
  border: 1px solid rgba(84, 96, 240, 0.28);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
  background-image: var(--pd-gradient-soft);
}

@media (min-width: 640px) {
  .pd-support-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pd-buyer-support {
  border-top: 1px solid #27272a;
  padding-top: 1rem;
}

.pd-buyer-support-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #27272a;
  border-radius: 0.85rem;
  background: #121214;
  color: #c8c8d0;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  line-height: 1.35;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pd-buyer-support-link:hover {
  border-color: rgba(132, 60, 240, 0.45);
  color: #f5f5ff;
  background: rgba(84, 96, 240, 0.1);
}

.pd-buyer-support-ico {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1;
}

/* Misc */
::selection {
  background: rgba(255, 255, 255, 0.15);
}

/* Direct Drop live countdown */
.pd-link-urgency {
  border-radius: 0.9rem;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(245, 158, 11, 0.12), transparent 55%),
    rgba(9, 9, 11, 0.55);
  padding: 0.95rem 1rem 1rem;
  text-align: left;
}

.pd-link-urgency-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.92);
  margin: 0 0 0.65rem;
}

.pd-countdown-units {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.35rem;
}

.pd-countdown-unit {
  flex: 1;
  min-width: 0;
  text-align: center;
  background: rgba(24, 24, 27, 0.85);
  border: 1px solid rgba(63, 63, 70, 0.9);
  border-radius: 0.65rem;
  padding: 0.55rem 0.25rem 0.45rem;
}

.pd-countdown-digit {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fafafa;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, color 0.18s ease;
}

.pd-countdown-digit.is-tick {
  animation: pd-countdown-tick 0.35s ease;
}

.pd-countdown-unit small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.pd-countdown-sep {
  align-self: center;
  color: #71717a;
  font-weight: 700;
  font-size: 1.1rem;
  padding-bottom: 0.85rem;
}

.pd-countdown-bar {
  margin-top: 0.75rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(63, 63, 70, 0.85);
  overflow: hidden;
}

.pd-countdown-bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fbbf24, #f59e0b 55%, #ea580c);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
  transition: width 0.95s linear;
}

.pd-countdown-bar-fill.is-critical,
.pd-countdown.is-critical .pd-countdown-bar-fill {
  background: linear-gradient(90deg, #fb7185, #ef4444);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.pd-countdown.is-critical .pd-countdown-digit {
  color: #fecaca;
}

.pd-countdown-caption {
  margin: 0.65rem 0 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #a1a1aa;
}

@keyframes pd-countdown-tick {
  0% {
    transform: translateY(-4px) scale(1.06);
    opacity: 0.55;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-countdown-digit.is-tick {
    animation: none;
  }
  .pd-countdown-bar-fill {
    transition: none;
  }
}

/* Create Drop: encrypt → upload progress */
.pd-create-progress-modal {
  max-width: 24rem;
  text-align: center;
}
.pd-create-progress-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
}
.pd-create-progress-check {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto;
}
.pd-create-progress-check svg {
  width: 1.5rem;
  height: 1.5rem;
}
.pd-create-progress-track {
  height: 0.375rem;
  border-radius: 9999px;
  background: rgba(63, 63, 70, 0.9);
  overflow: hidden;
}
.pd-create-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #6ee7b7);
  transition: width 0.2s ease;
}
.pd-create-progress-bar.is-indeterminate {
  width: 40%;
  animation: pd-progress-slide 1.1s ease-in-out infinite;
}
@keyframes pd-progress-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
@media (prefers-reduced-motion: reduce) {
  .pd-create-progress-bar.is-indeterminate {
    animation: none;
    width: 55%;
    opacity: 0.85;
  }
}

/* ZK no-recovery backup gate */
.pd-zk-backup-modal {
  max-width: 26rem;
}
.pd-zk-backup-warn {
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(245, 158, 11, 0.1);
}
.pd-zk-backup-warn-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fcd34d;
}
.pd-zk-backup-warn-body {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #e4e4e7;
}
.pd-zk-backup-warn-body strong {
  color: #fafafa;
}
.pd-zk-backup-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #d4d4d8;
  cursor: pointer;
  text-align: left;
}
.pd-zk-backup-check input {
  margin-top: 0.15rem;
  accent-color: #34d399;
}

/* Paid-ad landing page (founders.php) */
.pd-lp {
  min-height: 100vh;
}

.pd-lp-hero {
  padding: 1.75rem 0 2.5rem;
}

.pd-lp-inner {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1.15rem;
}

.pd-lp-brand {
  margin-bottom: 1.75rem;
}

.pd-lp-brand .pd-logo-hero {
  height: 2.35rem;
  width: auto;
}

.pd-lp-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.pd-lp-headline {
  margin: 0;
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fafafa;
}

.pd-lp-sub {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #d4d4d8;
  font-weight: 500;
}

.pd-lp-urgency {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fcd34d;
}

.pd-lp-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
}

.pd-lp-disclaimer {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #71717a;
  text-align: center;
}

.pd-lp-free {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #a1a1aa;
  text-align: center;
}

.pd-lp-how {
  border-top: 1px solid #27272a;
  padding: 2rem 0 2.25rem;
}

.pd-lp-how-title {
  margin: 0 0 1.35rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
}

.pd-lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.pd-lp-step {
  background: #121214;
  border: 1px solid #27272a;
  border-radius: 1rem;
  padding: 1.05rem 1.1rem 1.15rem;
}

.pd-lp-step .pd-how-num {
  margin-bottom: 0.55rem;
  min-width: 2.25rem;
  height: 2.25rem;
  font-size: 0.9rem;
}

.pd-lp-step h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: #f4f4f5;
}

.pd-lp-step p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #a1a1aa;
}

.pd-lp-bottom {
  border-top: 1px solid #27272a;
  padding: 1.75rem 0 2.75rem;
}

.pd-lp-stripe {
  margin-top: 1.15rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 640px) {
  .pd-lp-hero {
    padding: 2.5rem 0 3rem;
  }

  .pd-lp-inner {
    max-width: 36rem;
    padding: 0 1.5rem;
  }

  .pd-lp-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .pd-lp-step {
    padding: 1.15rem 1rem 1.2rem;
  }
}
