/* Public partner program pages: affiliate-program.php, influencer-program.php.
   Black, white and neutral grey only (no accent colour), inverted in html.dark.
   Every class is pp- prefixed so nothing leaks into the site header/footer. */

.pp-page {
  --pp-ink: #0a0a0a;
  --pp-paper: #ffffff;
  --pp-soft: #f5f5f5;
  --pp-line: #e3e3e3;
  --pp-muted: #5f5f5f;
  --pp-card: #ffffff;
  --pp-night: #0a0a0a;
  --pp-night-2: #161616;
  --pp-night-line: rgba(255, 255, 255, 0.14);
  --pp-night-muted: #b3b3b3;
  --pp-radius: 20px;
  --pp-ease: cubic-bezier(.2, .7, .2, 1);

  background: var(--pp-paper);
  color: var(--pp-ink); --pp-c: var(--pp-ink);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

html.dark .pp-page {
  --pp-ink: #ffffff;
  --pp-paper: #121212;
  --pp-soft: #1a1a1a;
  --pp-line: #2e2e2e;
  --pp-muted: #a8a8a8;
  --pp-card: #1b1b1b;
  --pp-night: #000000;
  --pp-night-2: #0e0e0e;
}

/* styles/dark_mode.css forces light text (some of it !important) onto every
   h1-h6, p, span, a, div and i. Here white surfaces need dark text, so every
   colour rule in this file also sets --pp-c, and dark mode re-applies it.
   --pp-c inherits like color does, so unstyled children follow their parent. */
html.dark .pp-page,
html.dark .pp-page * { color: var(--pp-c) !important; }

.pp-page *,
.pp-page *::before,
.pp-page *::after { box-sizing: border-box; }

.pp-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Resets kept at one-class specificity (beats Bootstrap's element rules) so any
   later pp- class can still set its own margins. */
.pp-page :where(h1, h2, h3, h4) {
  color: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.pp-page :where(p) { margin: 0; }

.pp-page a:focus-visible,
.pp-page button:focus-visible,
.pp-page summary:focus-visible,
.pp-page input:focus-visible,
.pp-page select:focus-visible,
.pp-page textarea:focus-visible {
  outline: 3px solid var(--pp-ink);
  outline-offset: 3px;
}

.pp-dark a:focus-visible,
.pp-dark button:focus-visible,
.pp-dark summary:focus-visible { outline-color: #ffffff; }

/* ---------- Buttons ---------- */

.pp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s var(--pp-ease), box-shadow .25s var(--pp-ease), background-color .2s, color .2s;
}

.pp-btn:hover { transform: translateY(-2px); }

/* Primary on light surfaces: black; on dark bands: white. */
.pp-btn-primary { background: var(--pp-ink); color: var(--pp-paper) !important; --pp-c: var(--pp-paper); }
.pp-btn-primary:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
.pp-dark .pp-btn-primary { background: #ffffff; color: #0a0a0a !important; --pp-c: #0a0a0a; }
.pp-dark .pp-btn-primary:hover { box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), 0 14px 40px rgba(255, 255, 255, .18); }

.pp-btn-ghost { background: transparent; color: var(--pp-ink) !important; --pp-c: var(--pp-ink); border-color: var(--pp-line); }
.pp-btn-ghost:hover { border-color: var(--pp-ink); }
.pp-dark .pp-btn-ghost { color: #ffffff !important; --pp-c: #ffffff; border-color: rgba(255, 255, 255, .35); }
.pp-dark .pp-btn-ghost:hover { border-color: #ffffff; }

/* Light sweep across primary CTAs. */
.pp-btn-shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: pp-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
.pp-dark .pp-btn-shine::after { background: linear-gradient(100deg, transparent, rgba(0, 0, 0, .14), transparent); }

@keyframes pp-shine {
  0%, 62% { left: -60%; }
  100% { left: 130%; }
}

.pp-btn[aria-disabled="true"],
.pp-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Hero ---------- */

.pp-hero {
  position: relative;
  background: var(--pp-night);
  color: #ffffff; --pp-c: #ffffff;
  padding: 72px 0 84px;
  overflow: hidden;
  isolation: isolate;
}

.pp-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 820px;
  height: 820px;
  right: -240px;
  top: -320px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 62%);
}

.pp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}

.pp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px;
  align-items: center;
}

.pp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--pp-night-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e6e6e6; --pp-c: #e6e6e6;
  background: rgba(255, 255, 255, .04);
}

.pp-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .15);
}

.pp-hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.04;
}

.pp-hero-lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--pp-night-muted); --pp-c: var(--pp-night-muted);
}

.pp-hero-lead strong { color: #ffffff; --pp-c: #ffffff; }

.pp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pp-hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--pp-night-muted); --pp-c: var(--pp-night-muted);
}

.pp-hero-note a { color: #ffffff; --pp-c: #ffffff; text-decoration: underline; }

.pp-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #d9d9d9; --pp-c: #d9d9d9;
}

.pp-checks li { display: inline-flex; align-items: center; gap: 8px; }
.pp-checks .fa { color: #ffffff; --pp-c: #ffffff; }

/* Hero visual: stacked reward cards. */
.pp-stack {
  position: relative;
  display: grid;
  gap: 14px;
}

.pp-stack-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--pp-night-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  transition: transform .35s var(--pp-ease), border-color .35s;
}

.pp-stack-card:nth-child(2) { margin-left: 28px; }
.pp-stack-card:nth-child(3) { margin-left: 56px; }
.pp-stack-card:hover { transform: translateX(-6px); border-color: rgba(255, 255, 255, .35); }

.pp-stack-card.is-lead {
  background: #ffffff;
  color: #0a0a0a; --pp-c: #0a0a0a;
  border-color: #ffffff;
  box-shadow: 0 0 60px rgba(255, 255, 255, .18), 0 24px 60px rgba(0, 0, 0, .45);
}

.pp-stack-figure {
  flex: 0 0 auto;
  min-width: 92px;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pp-stack-figure small { font-size: 16px; font-weight: 700; margin-left: 2px; }

.pp-stack-text strong { display: block; font-size: 16px; }
.pp-stack-text span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; opacity: .72; }

.pp-stack-tag {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0a0a0a;
  color: #ffffff; --pp-c: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Program switch ---------- */

.pp-switch {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-width: 620px;
  margin: -34px auto 0;
  padding: 6px;
  border-radius: 20px;
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
}

.pp-switch-tab {
  display: block;
  padding: 12px 16px;
  border-radius: 15px;
  text-align: center;
  color: var(--pp-ink) !important; --pp-c: var(--pp-ink);
  text-decoration: none !important;
  transition: background-color .2s;
}

.pp-switch-tab strong { display: block; font-size: 15px; }
.pp-switch-tab span { display: block; font-size: 12.5px; color: var(--pp-muted); --pp-c: var(--pp-muted); margin-top: 2px; }
.pp-switch-tab:hover { background: var(--pp-soft); }
.pp-switch-tab.is-active { background: var(--pp-ink); color: var(--pp-paper) !important; --pp-c: var(--pp-paper); }
.pp-switch-tab.is-active span { color: inherit; opacity: .75; }

/* ---------- Sections ---------- */

.pp-section { padding: 88px 0; }
.pp-section-soft { background: var(--pp-soft); }

.pp-head { max-width: 720px; margin-bottom: 44px; }
.pp-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }

.pp-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pp-muted); --pp-c: var(--pp-muted);
}

.pp-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; }
.pp-head p { margin-top: 14px; font-size: 17px; line-height: 1.65; color: var(--pp-muted); --pp-c: var(--pp-muted); }

.pp-grid { display: grid; gap: 20px; }
.pp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pp-card {
  position: relative;
  padding: 28px;
  border-radius: var(--pp-radius);
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  transition: transform .3s var(--pp-ease), box-shadow .3s var(--pp-ease), border-color .3s;
}

.pp-card:hover {
  transform: translateY(-4px);
  border-color: var(--pp-ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
}

html.dark .pp-card:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 18px 44px rgba(255, 255, 255, .05); }

.pp-card h3 { font-size: 20px; line-height: 1.25; }
.pp-card p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--pp-muted); --pp-c: var(--pp-muted); }

.pp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--pp-ink);
  color: var(--pp-paper); --pp-c: var(--pp-paper);
  font-size: 20px;
}

/* Reward cards */
.pp-reward { display: flex; flex-direction: column; }
.pp-reward-figure {
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}
.pp-reward-figure small { font-size: .42em; font-weight: 800; letter-spacing: 0; }
.pp-reward h3 { margin-top: 14px; }
.pp-reward-meta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pp-muted); --pp-c: var(--pp-muted);
}
.pp-reward.is-feature { background: var(--pp-night); color: #ffffff; --pp-c: #ffffff; border-color: var(--pp-night); }
.pp-reward.is-feature p,
.pp-reward.is-feature .pp-reward-meta { color: var(--pp-night-muted); --pp-c: var(--pp-night-muted); }
.pp-reward.is-feature:hover { box-shadow: 0 0 50px rgba(0, 0, 0, .25); }
html.dark .pp-reward.is-feature { background: #ffffff; color: #0a0a0a; --pp-c: #0a0a0a; border-color: #ffffff; }
html.dark .pp-reward.is-feature p,
html.dark .pp-reward.is-feature .pp-reward-meta { color: #4a4a4a; --pp-c: #4a4a4a; }

/* Steps */
.pp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pp-step;
}

.pp-steps.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.pp-step {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--pp-radius);
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  counter-increment: pp-step;
}

.pp-step::before {
  content: counter(pp-step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--pp-muted); --pp-c: var(--pp-muted);
}

.pp-step h3 { font-size: 18px; }
.pp-step p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--pp-muted); --pp-c: var(--pp-muted); }

.pp-steps-line {
  height: 2px;
  margin: 0 0 22px;
  /* Solid fallback colour: dark_mode.css removes every background-image. */
  background: linear-gradient(90deg, var(--pp-ink), var(--pp-line)) var(--pp-ink);
  border-radius: 2px;
  transform-origin: left;
}

/* Example + calculator */
.pp-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pp-label-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px dashed var(--pp-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pp-muted); --pp-c: var(--pp-muted);
}

.pp-ledger { margin: 20px 0 0; padding: 0; list-style: none; }
.pp-ledger li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pp-line);
  font-size: 15px;
}
.pp-ledger li span:first-child { color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-ledger li strong { white-space: nowrap; }
.pp-ledger li.is-total { border-bottom: 0; font-size: 18px; }
.pp-ledger li.is-total span:first-child { color: var(--pp-ink); --pp-c: var(--pp-ink); font-weight: 700; }

.pp-calc label {
  display: block;
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.pp-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--pp-line);
  border-radius: 14px;
  background: var(--pp-paper);
  overflow: hidden;
}

.pp-input span {
  padding: 0 14px;
  font-weight: 700;
  color: var(--pp-muted); --pp-c: var(--pp-muted);
}

.pp-input input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  background: transparent;
  color: var(--pp-ink); --pp-c: var(--pp-ink);
  font-size: 17px;
  font-weight: 700;
}

.pp-input input:focus { outline: none; }
.pp-input:focus-within { border-color: var(--pp-ink); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }

.pp-calc-out {
  margin-top: 22px;
  padding: 20px;
  border-radius: 16px;
  background: var(--pp-night);
  color: #ffffff; --pp-c: #ffffff;
}

html.dark .pp-calc-out { background: #ffffff; color: #0a0a0a; --pp-c: #0a0a0a; }

.pp-calc-out .pp-ledger li { border-color: rgba(127, 127, 127, .3); padding: 10px 0; }
.pp-calc-out .pp-ledger li span:first-child { color: inherit; --pp-c: inherit; opacity: .7; }
/* The total row follows the panel's own colour too (the generic is-total rule is ink, which is the panel colour in dark mode). */
.pp-calc-out .pp-ledger li.is-total span:first-child { color: inherit; --pp-c: inherit; opacity: 1; }
.pp-calc-out .pp-ledger { margin: 0; }

.pp-fineprint { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--pp-muted); --pp-c: var(--pp-muted); }

/* Link mock */
.pp-linkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 12px 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--pp-line);
  background: var(--pp-paper);
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
  overflow: hidden;
}

.pp-linkbox code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--pp-ink); --pp-c: var(--pp-ink);
  background: none;
  padding: 0;
}

.pp-linkbox b { background: var(--pp-ink); color: var(--pp-paper); --pp-c: var(--pp-paper); padding: 1px 6px; border-radius: 6px; font-weight: 700; }

.pp-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--pp-ink);
}

.pp-status.is-live { background: var(--pp-ink); color: var(--pp-paper); --pp-c: var(--pp-paper); }
.pp-status.is-soon { background: transparent; color: var(--pp-ink); --pp-c: var(--pp-ink); border-style: dashed; }

/* Audience chips */
.pp-audience { display: flex; gap: 16px; align-items: flex-start; }
.pp-audience .pp-icon { flex: 0 0 auto; margin-bottom: 0; }

/* Stats */
.pp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  overflow: hidden;
  background: var(--pp-card);
}

.pp-stat { padding: 30px 26px; text-align: center; }
.pp-stat + .pp-stat { border-left: 1px solid var(--pp-line); }
.pp-stat strong { display: block; font-size: clamp(32px, 4vw, 46px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.pp-stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--pp-muted); --pp-c: var(--pp-muted); }

/* Terms list */
.pp-terms { margin: 0; padding: 0; list-style: none; }
.pp-terms li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--pp-line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--pp-muted); --pp-c: var(--pp-muted);
}
.pp-terms li:last-child { border-bottom: 0; }
.pp-terms li strong { color: var(--pp-ink); --pp-c: var(--pp-ink); }
.pp-terms li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pp-ink);
}

/* FAQ */
.pp-faq { max-width: 860px; margin: 0 auto; }
.pp-faq details {
  border-bottom: 1px solid var(--pp-line);
}
.pp-faq details:first-child { border-top: 1px solid var(--pp-line); }
.pp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--pp-line);
  font-size: 20px;
  font-weight: 400;
  transition: transform .25s var(--pp-ease), background-color .2s, color .2s;
}
.pp-faq details[open] summary::after { content: "\2212"; background: var(--pp-ink); color: var(--pp-paper); --pp-c: var(--pp-paper); border-color: var(--pp-ink); }
.pp-faq .pp-faq-body { padding: 0 4px 22px; font-size: 15.5px; line-height: 1.7; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-faq .pp-faq-body p + p { margin-top: 10px; }
.pp-faq .pp-faq-body a { color: var(--pp-ink); --pp-c: var(--pp-ink); text-decoration: underline; }

/* Notice */
.pp-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px dashed var(--pp-ink);
  background: var(--pp-card);
  font-size: 15px;
  line-height: 1.6;
}
.pp-notice .fa { margin-top: 3px; font-size: 18px; }
.pp-notice a { color: var(--pp-ink); --pp-c: var(--pp-ink); text-decoration: underline; font-weight: 700; }

/* Application form (influencer page) */
.pp-form {
  padding: 32px;
  border-radius: var(--pp-radius);
  border: 1px solid var(--pp-line);
  background: var(--pp-card);
}
.pp-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pp-form fieldset:disabled { opacity: .62; }
.pp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }
.pp-form-grid .is-wide { grid-column: 1 / -1; }
.pp-form label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.pp-form input[type="text"],
.pp-form input[type="url"],
.pp-form input[type="number"],
.pp-form select,
.pp-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--pp-line);
  background: var(--pp-paper);
  color: var(--pp-ink); --pp-c: var(--pp-ink);
  font-size: 15px;
}
.pp-form textarea { min-height: 110px; resize: vertical; }
.pp-form .pp-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-form .pp-check input { margin-top: 4px; }
.pp-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Platform tiles */
.pp-platform {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: var(--pp-radius);
  border: 1px solid var(--pp-line);
  background: var(--pp-card);
  transition: transform .3s var(--pp-ease), border-color .3s;
}
.pp-platform:hover { transform: translateY(-4px); border-color: var(--pp-ink); }
.pp-platform i { font-size: 28px; margin-bottom: 8px; }
.pp-platform strong { font-size: 17px; }
.pp-platform span { font-size: 14px; line-height: 1.55; color: var(--pp-muted); --pp-c: var(--pp-muted); }

/* Closing CTA band */
.pp-cta {
  position: relative;
  padding: 92px 0;
  background: var(--pp-night);
  color: #ffffff; --pp-c: #ffffff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.pp-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 58%);
}
.pp-cta h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; max-width: 780px; margin: 0 auto; }
.pp-cta p { max-width: 600px; margin: 18px auto 0; font-size: 17px; line-height: 1.6; color: var(--pp-night-muted); --pp-c: var(--pp-night-muted); }
.pp-cta .pp-hero-actions { justify-content: center; }

/* ---------- Motion (opt-in: only after partner_programs.js marks the page) ---------- */

.pp-anim .pp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--pp-ease), transform .7s var(--pp-ease);
  transition-delay: var(--pp-delay, 0s);
}
.pp-anim .pp-reveal.is-in { opacity: 1; transform: none; }

.pp-anim .pp-steps-line { transform: scaleX(0); transition: transform 1.2s var(--pp-ease); }
.pp-anim .pp-steps-line.is-in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .pp-page *,
  .pp-page *::before,
  .pp-page *::after {
    animation: none !important;
    transition: none !important;
  }
  .pp-anim .pp-reveal { opacity: 1; transform: none; }
  .pp-anim .pp-steps-line { transform: none; }
  .pp-btn:hover,
  .pp-card:hover,
  .pp-platform:hover,
  .pp-stack-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .pp-hero { padding: 56px 0 76px; }
  .pp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pp-stack { max-width: 520px; }
  .pp-grid-4, .pp-steps, .pp-steps.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-example { grid-template-columns: 1fr; }
  .pp-section { padding: 68px 0; }
}

@media (max-width: 600px) {
  .pp-wrap { padding: 0 16px; }
  .pp-hero { padding: 44px 0 70px; }
  .pp-hero-actions .pp-btn { width: 100%; }
  .pp-stack-card:nth-child(2),
  .pp-stack-card:nth-child(3) { margin-left: 0; }
  .pp-stack-figure { min-width: 74px; font-size: 32px; }
  .pp-grid-2, .pp-grid-3, .pp-grid-4, .pp-steps, .pp-steps.is-5 { grid-template-columns: 1fr; }
  .pp-switch-tab { padding: 10px 8px; }
  .pp-switch-tab span { display: none; }
  .pp-section { padding: 56px 0; }
  .pp-head { margin-bottom: 30px; }
  .pp-card, .pp-form { padding: 22px; }
  .pp-stats { grid-template-columns: 1fr; }
  .pp-stat + .pp-stat { border-left: 0; border-top: 1px solid var(--pp-line); }
  .pp-form-grid { grid-template-columns: 1fr; }
  .pp-cta { padding: 68px 0; }
}

/* =====================================================================
   Influencer Program additions (influencer-program.php, creator_dashboard.php)
   ===================================================================== */

/* Primary CTA with a breathing white halo on dark bands. */
.pp-btn-pulse { isolation: isolate; }
.pp-dark .pp-btn-pulse::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .45);
  animation: pp-pulse 2.6s ease-out infinite;
}
@keyframes pp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .42); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
}
/* The shine (::after) is clipped by overflow:hidden; the halo needs to show. */
.pp-btn-pulse.pp-btn-shine { overflow: visible; }
.pp-btn-pulse.pp-btn-shine::after { display: none; }

/* Platform chips (hero). */
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.pp-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--pp-night-line); background: rgba(255, 255, 255, .05);
  font-size: 14px; font-weight: 600; color: #f0f0f0; --pp-c: #f0f0f0;
}
.pp-chips i { font-size: 16px; }

/* Status tags: live / proposed / planned / preview. */
.pp-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid currentColor; white-space: nowrap;
}
.pp-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pp-tag.is-live { background: var(--pp-ink); color: var(--pp-paper); --pp-c: var(--pp-paper); border-color: var(--pp-ink); }
.pp-tag.is-proposed, .pp-tag.is-planned { border-style: dashed; }
.pp-tag.is-preview { border-style: dotted; }
.pp-dark .pp-tag.is-live, .pp-glow .pp-tag.is-live { background: #ffffff; color: #0a0a0a; --pp-c: #0a0a0a; border-color: #ffffff; }
.pp-glow.is-light .pp-tag.is-live { background: #0a0a0a; color: #ffffff; --pp-c: #ffffff; border-color: #0a0a0a; }

/* Big glowing reward cards (hero + ways to earn). */
.pp-glow {
  position: relative;
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(160deg, #1c1c1c 0%, #0b0b0b 60%) #111111;
  color: #ffffff; --pp-c: #ffffff;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 0 60px rgba(255, 255, 255, .08), 0 24px 60px rgba(0, 0, 0, .35);
  overflow: hidden;
  transition: transform .35s var(--pp-ease), box-shadow .35s var(--pp-ease);
}
.pp-glow:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 90px rgba(255, 255, 255, .14), 0 28px 70px rgba(0, 0, 0, .4); }
.pp-glow::after {
  content: "";
  position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .10), transparent);
  transform: skewX(-18deg);
  animation: pp-sweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pp-sweep { 0%, 55% { left: -70%; } 100% { left: 140%; } }
.pp-glow.is-light { background: #ffffff; color: #0a0a0a; --pp-c: #0a0a0a; border-color: #ffffff; box-shadow: 0 0 70px rgba(255, 255, 255, .22), 0 24px 60px rgba(0, 0, 0, .45); }
.pp-glow.is-light::after { background: linear-gradient(100deg, transparent, rgba(0, 0, 0, .06), transparent); }
.pp-glow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-glow-head i { font-size: 22px; }
.pp-glow-figure { margin-top: 18px; font-size: clamp(40px, 5vw, 58px); font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.pp-glow-figure small { font-size: .38em; font-weight: 800; letter-spacing: 0; margin-left: 4px; }
.pp-glow-title { margin-top: 10px; font-size: 17px; font-weight: 800; }
.pp-glow-text { margin-top: 6px; font-size: 14px; line-height: 1.55; opacity: .78; }
.pp-glow-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 800; color: inherit !important; text-decoration: underline !important; }

.pp-hero-rewards { display: grid; gap: 16px; }
.pp-hero-rewards .pp-glow:nth-child(2) { margin-left: 36px; }

/* Ways to earn. */
.pp-earn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pp-earn.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-earn .pp-glow { display: flex; flex-direction: column; }
.pp-earn .pp-glow-link { margin-top: auto; padding-top: 18px; }

/* Inline CTA strip between sections. */
.pp-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 28px; padding: 22px 26px; border-radius: 20px;
  border: 1px solid var(--pp-line); background: var(--pp-card);
}
.pp-strip p { font-size: 16px; font-weight: 700; }
.pp-strip span { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--pp-muted); --pp-c: var(--pp-muted); }

/* Campaign card. */
.pp-campaign { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 26px; overflow: hidden; border: 1px solid var(--pp-line); background: var(--pp-card); }
.pp-campaign + .pp-campaign { margin-top: 20px; }
.pp-campaign-reward { position: relative; padding: 34px 34px 70px; background: #0a0a0a; color: #ffffff; --pp-c: #ffffff; overflow: hidden; isolation: isolate; }
.pp-campaign-reward::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -160px; top: -200px;
  background: radial-gradient(circle, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 62%);
}
.pp-campaign-amount { margin-top: 22px; font-size: clamp(52px, 7vw, 84px); font-weight: 900; letter-spacing: -0.045em; line-height: .95; text-shadow: 0 0 40px rgba(255, 255, 255, .25); }
.pp-campaign-unit { margin-top: 10px; font-size: 16px; font-weight: 700; color: #d6d6d6; --pp-c: #d6d6d6; }
.pp-campaign-platform { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 800; }
.pp-campaign-platform span { display: inline-flex; align-items: center; gap: 10px; }
.pp-campaign-platform i { font-size: 26px; }
.pp-campaign-body { padding: 34px; }
.pp-campaign-body h3 { font-size: 24px; }
.pp-campaign-body > p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-checklist { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pp-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.pp-checklist li::before {
  content: "\2713"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--pp-ink); color: var(--pp-paper); --pp-c: var(--pp-paper);
  font-size: 12px; font-weight: 900; margin-top: 1px;
}
.pp-campaign-note { margin-top: 22px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--pp-ink); font-size: 14px; line-height: 1.55; }
.pp-campaign-stamp {
  position: absolute; right: 22px; bottom: 22px;
  padding: 6px 12px; border: 2px dashed rgba(255, 255, 255, .55); border-radius: 10px;
  font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-6deg);
  color: #e6e6e6; --pp-c: #e6e6e6;
}

/* Platform tile tags. */
.pp-platform .pp-tag { align-self: flex-start; margin-top: 10px; }

/* Ten-step journey. */
.pp-journey { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: pp-j; }
.pp-journey li {
  padding: 22px 18px 20px; border-radius: 18px;
  border: 1px solid var(--pp-line); background: var(--pp-card); counter-increment: pp-j;
  display: flex; flex-direction: column; gap: 8px;
}
.pp-journey li::before {
  content: counter(pp-j);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--pp-ink); color: var(--pp-paper); --pp-c: var(--pp-paper);
  font-size: 15px; font-weight: 900;
}
.pp-journey li.is-planned::before { background: transparent; color: var(--pp-ink); --pp-c: var(--pp-ink); border: 2px dashed var(--pp-ink); }
.pp-journey li.is-preview::before { background: transparent; color: var(--pp-ink); --pp-c: var(--pp-ink); border: 2px solid var(--pp-ink); }
.pp-journey h3 { font-size: 16px; }
.pp-journey p { font-size: 13.5px; line-height: 1.55; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-journey .pp-tag { align-self: flex-start; margin-top: auto; }
.pp-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 13.5px; color: var(--pp-muted); --pp-c: var(--pp-muted); }

/* Reward approval lanes. */
.pp-lane { padding: 26px; border-radius: 22px; border: 1px solid var(--pp-line); background: var(--pp-card); }
.pp-lane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pp-lane-head h3 { font-size: 20px; }
.pp-flow { margin: 20px 0 0; padding: 0; list-style: none; }
.pp-flow li { position: relative; padding: 0 0 18px 34px; font-size: 14.5px; line-height: 1.55; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-flow li strong { display: block; color: var(--pp-ink); --pp-c: var(--pp-ink); font-size: 15px; }
.pp-flow li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--pp-ink); }
.pp-flow li::after { content: ""; position: absolute; left: 11px; top: 19px; bottom: 2px; width: 2px; background: var(--pp-line); }
.pp-flow li:last-child { padding-bottom: 0; }
.pp-flow li:last-child::after { display: none; }
.pp-lane.is-planned .pp-flow li::before { background: transparent; border: 2px dashed var(--pp-ink); }

/* Apply section. */
.pp-apply { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.pp-apply-side { display: grid; gap: 16px; }
.pp-mode {
  display: flex; gap: 12px; align-items: flex-start;
  margin: -32px -32px 22px; padding: 16px 32px;
  border-bottom: 1px dashed var(--pp-line); background: var(--pp-soft);
  border-radius: var(--pp-radius) var(--pp-radius) 0 0;
  font-size: 14px; line-height: 1.55;
}
.pp-mode i { margin-top: 3px; }
.pp-form-result {
  margin-top: 18px; padding: 16px 18px; border-radius: 14px;
  border: 2px solid var(--pp-ink); background: var(--pp-paper);
  font-size: 15px; line-height: 1.6;
}
.pp-form-result[hidden] { display: none; }
.pp-form-result strong { display: block; margin-bottom: 4px; }
.pp-form .pp-field-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; }
.pp-form [aria-invalid="true"] { border-color: var(--pp-ink) !important; box-shadow: 0 0 0 2px var(--pp-ink); }
.pp-form .pp-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--pp-muted); --pp-c: var(--pp-muted); }

/* Creator workspace (creator_dashboard.php). */
.pp-ws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pp-ws-card { padding: 26px; border-radius: 22px; border: 1px solid var(--pp-line); background: var(--pp-card); }
.pp-ws-card.is-wide { grid-column: 1 / -1; }
.pp-ws-card h2 { font-size: 20px; }
.pp-ws-card > p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-ws-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pp-ws-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--pp-line); font-size: 15px; }
.pp-ws-row:last-child { border-bottom: 0; }
.pp-ws-row span:first-child { color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-empty { margin-top: 16px; padding: 22px; border-radius: 16px; border: 1px dashed var(--pp-line); text-align: center; font-size: 14.5px; line-height: 1.6; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-empty i { display: block; margin-bottom: 8px; font-size: 26px; color: var(--pp-ink); --pp-c: var(--pp-ink); }

/* Mobile sticky Apply bar (partner_programs.js shows it after the hero). */
.pp-sticky {
  position: fixed; left: 12px; right: 12px; z-index: 1030;
  bottom: calc(var(--mobile-bottom-nav-height, 65px) + 10px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 18px;
  background: #0a0a0a; color: #ffffff; --pp-c: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .12);
  /* Hidden = off screen AND invisible (it sits above the site's bottom nav,
     so a translate alone would leave it peeking out). */
  visibility: hidden; transform: translateY(calc(100% + 120px));
  transition: transform .35s var(--pp-ease), visibility 0s linear .35s;
}
.pp-sticky.is-shown { visibility: visible; transform: none; transition: transform .35s var(--pp-ease), visibility 0s; }
.pp-sticky strong { font-size: 14px; }
.pp-sticky .pp-btn { min-height: 44px; padding: 0 20px; font-size: 15px; background: #ffffff; color: #0a0a0a !important; --pp-c: #0a0a0a; }
html.dark .pp-page .pp-sticky { background: #ffffff; color: #0a0a0a; --pp-c: #0a0a0a; }
html.dark .pp-page .pp-sticky .pp-btn { background: #0a0a0a; color: #ffffff !important; --pp-c: #ffffff; }

@media (prefers-reduced-motion: reduce) {
  .pp-dark .pp-btn-pulse::before, .pp-glow::after { animation: none !important; }
  .pp-glow:hover { transform: none; }
  .pp-sticky { transition: none; }
}

@media (max-width: 991px) {
  .pp-earn, .pp-earn.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-campaign, .pp-apply { grid-template-columns: 1fr; }
  .pp-hero-rewards { max-width: 560px; }
}

@media (max-width: 767px) {
  .pp-sticky.is-ready { display: flex; }
}

@media (max-width: 600px) {
  .pp-earn, .pp-earn.is-4, .pp-journey, .pp-ws-grid { grid-template-columns: 1fr; }
  .pp-hero-rewards .pp-glow:nth-child(2) { margin-left: 0; }
  .pp-campaign-reward { padding: 22px 22px 64px; }
  .pp-campaign-body, .pp-lane, .pp-ws-card { padding: 22px; }
  .pp-mode { margin: -22px -22px 18px; padding: 14px 22px; }
  .pp-strip { padding: 18px; }
  .pp-strip .pp-btn { width: 100%; }
}

/* =====================================================================
   Creator ecosystem additions (campaign discovery, creator workspace)
   ===================================================================== */

.pp-tag.is-ready { border-style: solid; }

/* Campaign discovery filters. */
.pp-filters {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 12px; align-items: end;
  padding: 18px; border-radius: 20px; border: 1px solid var(--pp-line); background: var(--pp-card);
}
.pp-filter label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-filter select {
  width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 12px;
  border: 1px solid var(--pp-line); background: var(--pp-paper); color: var(--pp-ink); --pp-c: var(--pp-ink); font-size: 14.5px;
}
.pp-filter-reset { min-height: 44px; padding: 0 18px; font-size: 14px; }
.pp-filter-count { margin: 14px 0 18px; font-size: 14px; font-weight: 700; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-campaign-list .pp-campaign + .pp-campaign { margin-top: 20px; }
.pp-campaign[hidden] { display: none; }
.pp-campaign-conv { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #bdbdbd; --pp-c: #bdbdbd; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14px; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-meta strong { color: var(--pp-ink); --pp-c: var(--pp-ink); }
.pp-rules { margin-top: 16px; border-top: 1px solid var(--pp-line); }
.pp-rules summary { padding: 14px 0 4px; font-weight: 800; cursor: pointer; }
.pp-rules[open] summary { padding-bottom: 0; }

/* Creator workspace. */
.pp-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pp-subnav a {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--pp-night-line);
  font-size: 14px; font-weight: 700; color: #f0f0f0 !important; --pp-c: #f0f0f0; text-decoration: none !important;
  transition: background-color .2s, color .2s;
}
.pp-subnav a:hover, .pp-subnav a:focus-visible { background: #ffffff; color: #0a0a0a !important; --pp-c: #0a0a0a; }
.pp-statline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pp-statline div { padding: 16px; border-radius: 16px; border: 1px solid var(--pp-line); }
.pp-statline strong { display: block; font-size: 30px; font-weight: 900; letter-spacing: -0.03em; }
.pp-statline span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-copy { display: flex; gap: 8px; align-items: stretch; margin-top: 12px; }
.pp-copy-input {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--pp-line);
  background: var(--pp-paper); color: var(--pp-ink); --pp-c: var(--pp-ink); font-size: 14px; resize: vertical;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
}
.pp-copy .pp-btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.pp-copy-label { display: block; margin-top: 16px; font-size: 13.5px; font-weight: 800; }
.pp-camp-reward { margin-top: 12px; font-size: 30px; font-weight: 900; letter-spacing: -0.03em; }
.pp-camp-reward small { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-camp-conv { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--pp-muted); --pp-c: var(--pp-muted); }
.pp-camp .pp-ws-head h2 i { margin-right: 6px; }
.pp-progress { height: 10px; margin-top: 16px; border-radius: 999px; background: var(--pp-soft); border: 1px solid var(--pp-line); overflow: hidden; }
.pp-progress span { display: block; height: 100%; background: var(--pp-ink); border-radius: inherit; }
.pp-grid-4 .pp-card .pp-tag { margin-top: 2px; }

@media (max-width: 991px) {
  .pp-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pp-statline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pp-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-filter-reset { grid-column: 1 / -1; }
  .pp-copy { flex-direction: column; }
}

/* Bootstrap colours <code> pink: keep it monochrome inside the program pages. */
.pp-page :where(code) { color: inherit; --pp-c: inherit; background: var(--pp-soft); padding: 1px 6px; border-radius: 6px; }
