/* css/langswitch.css */
/* 1.11 · Language switch (animate-ui "switch" style): a pill with two labels and a knob that glides across; the labels
   cross-fade and the knob squashes on press. Markup: partials/lang_switch.php (IPN) · partials/lang_switch.php (contest). */
.lsw { --lsw-h: 36px; --lsw-bg: rgba(127,127,127,.14); --lsw-knob: #fff; --lsw-ink: inherit; --lsw-on: #111; position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; height: var(--lsw-h); min-width: 92px; padding: 3px; border-radius: 999px; background: var(--lsw-bg); color: var(--lsw-ink); text-decoration: none; isolation: isolate; -webkit-tap-highlight-color: transparent; transition: background-color .2s, box-shadow .2s; }
.lsw:hover { box-shadow: 0 0 0 3px rgba(127,127,127,.12); }
.lsw__k { position: absolute; z-index: 0; top: 3px; bottom: 3px; inset-inline-start: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--lsw-knob); box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .42s cubic-bezier(.2,.9,.25,1.15), width .2s; }
.lsw.is-en .lsw__k { transform: translateX(100%); } [dir="rtl"] .lsw.is-en .lsw__k { transform: translateX(-100%); }
.lsw:active .lsw__k { width: calc(60% - 3px); } .lsw.is-en:active .lsw__k { transform: translateX(66%); } [dir="rtl"] .lsw.is-en:active .lsw__k { transform: translateX(-66%); }
.lsw__l { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; padding: 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; line-height: 1; opacity: .62; transform: translateY(0); transition: opacity .3s, color .3s, transform .3s; white-space: nowrap; }
.lsw__l.is-on { opacity: 1; color: var(--lsw-on); }
.lsw__l small { display: block; font-size: 9px; font-weight: 600; opacity: .7; margin-top: 2px; }
.lsw.is-anim .lsw__l:not(.is-on) { animation: lsw-pop .42s both; } @keyframes lsw-pop { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-3px) scale(1.08); } 100% { transform: translateY(0) scale(1); } }
.lsw__g { position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: radial-gradient(60% 120% at var(--x, 50%) 50%, rgba(255,255,255,.25), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.lsw:hover .lsw__g { opacity: 1; }
.lsw--dark, html[data-mode="dark"] .lsw { --lsw-bg: rgba(255,255,255,.1); --lsw-knob: #fff; --lsw-on: #111; }
.lsw--onimage { --lsw-bg: rgba(255,255,255,.14); --lsw-knob: #fff; --lsw-on: #111; color: #fff; }
.lsw--sm { --lsw-h: 30px; min-width: 76px; } .lsw--sm .lsw__l { font-size: 11.5px; padding: 0 6px; }
@media (prefers-reduced-motion: reduce) { .lsw__k, .lsw__l { transition: none; } .lsw.is-anim .lsw__l { animation: none; } }

/* css/prime-public.css */
/* =====================================================================================================
   PRIME (2.10) · Mr & Miss Iran public pages — MODERN · COLOURFUL · FRIENDLY-PREMIUM. R4: header = IPN's classic header
   (.hdr__link + .nv chips, .hdr__icon toggle, .hdr__sh button), IPN's back-to-top, wider footer with the slide picture box,
   animated CTA gradient, floating raffle objects, compact stage band, premium stat tiles.
   Deep indigo/violet base (#1B1240 → #2A1B5E) for the hero, header-on-hero and the dark bands; vivid gradient accents
   (magenta #FF3D81 · coral #FF7A45 · amber #FFC247 · cyan #3DDCFF); white content sections with soft tinted cards and
   24–32px corners; every feature / category gets its own gradient icon chip. Headings Manrope 800 / Vazirmatn 800.
   Content sections follow html[data-mode] (light / dark). Used by themes/prime/layouts/public.php + partials/header,
   footer, drawer + public/home_stage.php, contestants.php, contestant.php. RTL first (logical properties), phones ≤ 760px.
   The unified member menu (.umenu) and the IPN bell (.nt-bell) are copies of IPN's umenu.css / notify.css, re-tokened.
   ===================================================================================================== */

/* ---------- tokens ------------------------------------------------------------------------------------ */
html.prime-ui body.pp {
  --pp-indigo: #1B1240; --pp-indigo-2: #2A1B5E; --pp-indigo-3: #3A2A7A; --pp-night: #120C2E;
  --pp-pink: #FF3D81; --pp-coral: #FF7A45; --pp-amber: #FFC247; --pp-cyan: #3DDCFF; --pp-violet: #8B5CF6; --pp-green: #34D399;
  --pp-grad: linear-gradient(120deg, #FF3D81 0%, #FF7A45 50%, #FFC247 100%);
  --pp-grad-2: linear-gradient(120deg, #8B5CF6, #3DDCFF);
  --pp-grad-text: linear-gradient(95deg, #FF7A45 0%, #FF3D81 35%, #C084FC 70%, #3DDCFF 100%);
  /* content canvas (light) */
  --pp-bg: #FFFFFF; --pp-bg-2: #F7F5FF; --pp-card: #FFFFFF; --pp-card-2: #F8F6FF; --pp-line: rgba(27,18,64,.09); --pp-line-2: rgba(27,18,64,.16);
  --pp-ink: #1B1240; --pp-ink-2: #3F3760; --pp-muted: #6E668C; --pp-faint: #A39DBA;
  --pp-on-dark: #FFFFFF; --pp-on-dark-2: rgba(255,255,255,.78); --pp-on-dark-3: rgba(255,255,255,.56);
  --pp-shadow-1: 0 1px 2px rgba(27,18,64,.06), 0 1px 1px rgba(27,18,64,.04);
  --pp-shadow-2: 0 14px 40px -18px rgba(27,18,64,.28), 0 2px 6px rgba(27,18,64,.06);
  --pp-shadow-3: 0 40px 90px -40px rgba(27,18,64,.45);
  --pp-r: 16px; --pp-r-lg: 24px; --pp-r-xl: 32px;
  --pp-ease: cubic-bezier(.22,.61,.36,1); --pp-spring: cubic-bezier(.17,.84,.24,1); --pp-t: 520ms var(--pp-ease); --pp-t-fast: 220ms var(--pp-ease);
  --pp-head: "Manrope", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pp-sans: "Manrope", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pp-gutter: clamp(18px, 3.2vw, 40px); --pp-max: 1280px; --pp-hdr: 72px;
  /* R6 · the menubar is SOLID (IPN's `--header-bg` idea, but opaque at rest) and only turns into IPN's
     saturated glass once the page scrolls — never transparent, not even over the landing slider. */
  --pp-hdr-bg: #FFFFFF; --pp-hdr-bg-sc: rgba(255,255,255,.88); --pp-hdr-shadow: 0 10px 40px -24px rgba(27,18,64,.35);
  /* prime-core tokens re-based so shared widgets (flash, badges, share kit) match */
  --p-bg: var(--pp-bg); --p-surface: var(--pp-card); --p-surface-2: var(--pp-card-2); --p-line: var(--pp-line); --p-line-2: var(--pp-line-2);
  --p-ink: var(--pp-ink); --p-ink-2: var(--pp-ink-2); --p-muted: var(--pp-muted); --p-accent: var(--pp-pink); --p-accent-ink: #E42A6C; --p-accent-soft: rgba(255,61,129,.12);
  --p-gold: var(--pp-amber); --p-gold-soft: rgba(255,194,71,.16); --p-r: var(--pp-r); --p-r-lg: var(--pp-r-lg); --p-focus: 0 0 0 3px rgba(139,92,246,.3);
  --font-display: var(--pp-head); --font-body: var(--pp-sans); --font-head: var(--pp-head);
  /* R4-SHARED §0 · neutral token contract of the shared IPN components (umenu · totop · bell) */
  --paper: var(--pp-card); --ink: var(--pp-ink); --ink-2: var(--pp-ink-2); --muted: var(--pp-muted); --line: var(--pp-line); --sunk: rgba(27,18,64,.05); --accent: var(--pp-pink);
  color-scheme: light;
}
html.prime-ui[data-mode="dark"] body.pp {
  --pp-bg: #0F0A24; --pp-bg-2: #160F33; --pp-card: #1B1240; --pp-card-2: #221850; --pp-line: rgba(255,255,255,.09); --pp-line-2: rgba(255,255,255,.16);
  --pp-ink: #F4F1FF; --pp-ink-2: #D8D2F0; --pp-muted: #A79FC8; --pp-faint: #6F678F;
  --pp-shadow-1: 0 1px 2px rgba(0,0,0,.4); --pp-shadow-2: 0 16px 44px -18px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.3); --pp-shadow-3: 0 40px 90px -40px rgba(0,0,0,.9);
  --sunk: rgba(255,255,255,.07);
  --pp-hdr-bg: #0F0A24; --pp-hdr-bg-sc: rgba(15,10,36,.86); --pp-hdr-shadow: 0 10px 40px -20px rgba(0,0,0,.75);
  color-scheme: dark;
}
html[dir="rtl"].prime-ui body.pp { --pp-head: "Vazirmatn", "Manrope", system-ui, sans-serif; --pp-sans: "Vazirmatn", "Manrope", system-ui, sans-serif; }

/* ---------- canvas ---------------------------------------------------------------------------------- */
html.prime-ui body.pp { margin: 0; font-family: var(--pp-sans); font-size: 16px; line-height: 1.7; color: var(--pp-ink); background: var(--pp-bg) !important; background-image: none !important; -webkit-font-smoothing: antialiased; }
html.prime-ui body.pp::before, html.prime-ui body.pp::after { display: none !important; content: none !important; }
body.pp [hidden] { display: none !important; }
body.pp .container { max-width: var(--pp-max); padding-inline: var(--pp-gutter); margin-inline: auto; }
body.pp a { color: inherit; }
body.pp ::selection { background: rgba(139,92,246,.35); }
body.pp .glyph, body.pp .ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
body.pp :where(h1, h2, h3, h4) { margin: 0; font-family: var(--pp-head); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--pp-ink); }
[dir="rtl"] body.pp :where(h1, h2, h3, h4) { letter-spacing: 0; }
body.pp .pp-h { font-family: var(--pp-head); font-weight: 800; }
body.pp .pp-small { font-size: 12.5px; font-weight: 600; color: var(--pp-muted); }
.pp-muted { color: var(--pp-muted); font-size: 13.5px; }
.pp-flash:empty { display: none; }
.pp-flash .flashes { margin-block: 14px 0; }
body.pp .pp-main { display: block; }
body.pp .sr-only:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pp-grad-text { background: var(--pp-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--pp-pink); }
.pp-grad-bg--pink { background: linear-gradient(135deg, #FF3D81, #FF7A45); color: #fff; }
.pp-grad-bg--coral { background: linear-gradient(135deg, #FF7A45, #FFC247); color: #3A1E00; }
.pp-grad-bg--amber { background: linear-gradient(135deg, #FFC247, #FFE08A); color: #3A2A00; }
.pp-grad-bg--cyan { background: linear-gradient(135deg, #3DDCFF, #6D8BFF); color: #04203A; }
.pp-grad-bg--violet { background: linear-gradient(135deg, #8B5CF6, #C084FC); color: #fff; }
.pp-grad-bg--green { background: linear-gradient(135deg, #34D399, #3DDCFF); color: #03301F; }
/* page reveal (prime-public.js adds .pp-rv then .pp-in) */
html.prime-ui.p-js body.pp .pp-rv { opacity: 0; transform: translateY(18px); transition: opacity var(--pp-t), transform var(--pp-t); transition-delay: calc(var(--ri, 0) * 60ms); }
html.prime-ui.p-js body.pp .pp-rv.pp-in { opacity: 1; transform: none; }

/* ---------- icon chips (every feature / category gets its own gradient) ----------------------------------
   R4 · the size lives in --cs / --ci so nothing can be beaten later by `body.pp .glyph { width: 1.1em }`
   (that bug shrank the stat-tile icons to 14px inside a 44px chip). */
body.pp .pp-chip { --cs: 44px; --ci: 22px; display: inline-grid; place-items: center; width: var(--cs); height: var(--cs); border-radius: calc(var(--cs) * .32); color: #fff; flex: none; box-shadow: 0 10px 22px -10px var(--chip-glow, rgba(27,18,64,.5)); }
body.pp .pp-chip .glyph { width: var(--ci); height: var(--ci); }
body.pp .pp-chip--lg { --cs: 58px; --ci: 27px; }
body.pp .pp-chip--sm { --cs: 30px; --ci: 15px; box-shadow: none; }
.pp-chip--pink { background: linear-gradient(135deg, #FF3D81, #FF7A45); --chip-glow: rgba(255,61,129,.55); }
.pp-chip--coral { background: linear-gradient(135deg, #FF7A45, #FFB347); --chip-glow: rgba(255,122,69,.55); }
.pp-chip--amber { background: linear-gradient(135deg, #FFB020, #FFD86B); --chip-glow: rgba(255,194,71,.55); color: #3A2A00; }
.pp-chip--cyan { background: linear-gradient(135deg, #22C9F2, #6D8BFF); --chip-glow: rgba(61,220,255,.5); }
.pp-chip--violet { background: linear-gradient(135deg, #8B5CF6, #D946EF); --chip-glow: rgba(139,92,246,.55); }
.pp-chip--green { background: linear-gradient(135deg, #22C55E, #34D3C8); --chip-glow: rgba(52,211,153,.5); }
.pp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-inline-end: 6px; vertical-align: middle; }

/* ---------- buttons --------------------------------------------------------------------------------- */
body.pp .pp-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-family: var(--pp-sans); font-size: 14.5px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform var(--pp-t-fast), box-shadow var(--pp-t-fast), background-color var(--pp-t-fast), border-color var(--pp-t-fast), color var(--pp-t-fast); }
body.pp .pp-btn .glyph { width: 18px; height: 18px; }
body.pp .pp-btn:hover { transform: translateY(-2px); }
body.pp .pp-btn--lg { min-height: 54px; padding: 0 26px; font-size: 15.5px; }
body.pp .pp-btn--grad { background: var(--pp-grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(255,61,129,.7); background-size: 160% 100%; background-position: 0 0; }
body.pp .pp-btn--grad:hover { box-shadow: 0 18px 36px -12px rgba(255,61,129,.85); background-position: 100% 0; }
body.pp .pp-btn--white { background: #fff; color: var(--pp-indigo); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
body.pp .pp-btn--glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.pp .pp-btn--glass:hover { background: rgba(255,255,255,.2); }
body.pp .pp-btn--soft { background: var(--pp-bg-2); border-color: var(--pp-line); color: var(--pp-ink); }
body.pp .pp-btn--soft:hover { border-color: var(--pp-violet); color: var(--pp-violet); }
body.pp .pp-btn--live { background: #E11D48; color: #fff; box-shadow: 0 12px 26px -12px rgba(225,29,72,.8); }
body.pp .pp-btn--live:hover { background: #F43F5E; }
body.pp .pp-btn--wa { background: #25D366; color: #06331A; }
/* legacy .btn (vote card, cat_actions, raffle, share kit) on the new palette */
html.prime-ui body.pp .btn { border-radius: 999px; font-family: var(--pp-sans); font-weight: 700; font-size: 14px; letter-spacing: 0; text-transform: none; min-height: 44px; padding-inline: 18px; box-shadow: none; }
html.prime-ui body.pp .btn--lg { min-height: 52px; padding-inline: 24px; font-size: 15px; }
html.prime-ui body.pp .btn--sm { min-height: 38px; padding-inline: 14px; font-size: 13px; }
html.prime-ui body.pp .btn .glyph { width: 17px; height: 17px; }
html.prime-ui body.pp :is(.btn--gold, .btn--primary) { background: var(--pp-grad) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 12px 28px -12px rgba(255,61,129,.7) !important; }
html.prime-ui body.pp :is(.btn--gold, .btn--primary):hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(255,61,129,.85) !important; }
html.prime-ui body.pp .btn--ghost { background: var(--pp-bg-2) !important; border: 1px solid var(--pp-line) !important; color: var(--pp-ink) !important; }
html.prime-ui body.pp .btn--ghost:hover { border-color: var(--pp-violet) !important; color: var(--pp-violet) !important; }
html.prime-ui body.pp .btn--wa { background: #25D366 !important; border-color: #25D366 !important; color: #06331A !important; }
.pp-live__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); animation: pp-pulse 1.6s infinite; flex: none; }

/* ---------- section scaffolding ------------------------------------------------------------------------ */
.pp-sec { position: relative; padding-block: 88px; }   /* R4 rhythm: 88 desktop · 64 tablet · 48 phone */
.pp-sec--tint { background: var(--pp-bg-2); }
html.prime-ui[data-mode="dark"] body.pp .pp-sec--tint { background: var(--pp-bg-2); }
.pp-head { margin-bottom: clamp(28px, 4vw, 48px); }
.pp-head--center { text-align: center; } .pp-head--center .pp-eyebrow { justify-content: center; } .pp-head--center .pp-head__lead { margin-inline: auto; }
.pp-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pp-head h2 { font-size: clamp(30px, 4vw, 48px); max-width: 24ch; } .pp-head--center h2 { margin-inline: auto; }
.pp-head__lead { margin: 12px 0 0; max-width: 58ch; color: var(--pp-muted); font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.7; }
.pp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--pp-bg-2); border: 1px solid var(--pp-line); color: var(--pp-ink-2); font-size: 12.5px; font-weight: 700; }
[dir="rtl"] .pp-eyebrow { padding: 6px 8px 6px 12px; }
.pp-eyebrow .glyph { width: 15px; height: 15px; color: var(--pp-pink); }
.pp-eyebrow--light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; } .pp-eyebrow--light .glyph { color: var(--pp-amber); }
.pp-more { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--pp-line); color: var(--pp-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color var(--pp-t-fast), color var(--pp-t-fast), transform var(--pp-t-fast); }
.pp-more .glyph { width: 16px; height: 16px; transition: transform var(--pp-t-fast); }
.pp-more:hover { border-color: var(--pp-violet); color: var(--pp-violet); } .pp-more:hover .glyph { transform: translateX(3px); } [dir="rtl"] .pp-more:hover .glyph { transform: translateX(-3px); }
.pp-note { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.9); font-size: 13.5px; }
.pp-note .glyph { width: 15px; height: 15px; color: var(--pp-amber); }

/* ---------- header = IPN TV's classic header (R4-SHARED.md §1–§4) --------------------------------------------- */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/shayesteh/assets/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
/* R6 · B1 — the menubar starts SOLID white (IPN's menubar), on every page including the landing slider; on scroll it
   takes IPN's saturated-glass treatment (`.hdr { background: var(--header-bg); backdrop-filter: saturate(160%) blur(16px) }`)
   plus a soft shadow. `body.pp--over` no longer makes it transparent — the header sits in the flow above the hero. */
.pp-hdr, body.pp--over .pp-hdr { position: sticky; top: 0; inset-inline: auto; z-index: 90; height: var(--pp-hdr); color: var(--pp-ink); background: var(--pp-hdr-bg); border-bottom: 1px solid var(--pp-line); transition: background-color var(--pp-t-fast), box-shadow var(--pp-t-fast), border-color var(--pp-t-fast); }
.pp-hdr__in { display: flex; align-items: center; gap: 22px; height: 100%; max-width: 1480px; margin-inline: auto; padding-inline: clamp(12px, 2vw, 28px); }
body.pp .pp-hdr.is-scrolled, body.pp--over .pp-hdr.is-solid { background: var(--pp-hdr-bg-sc); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: var(--pp-hdr-shadow); }
.pp-hdr .brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.pp-hdr .brand img, .pp-hdr .brand__mark { width: 40px; height: 40px; filter: drop-shadow(0 6px 14px rgba(255,61,129,.3)); }
.pp-hdr .brand__mark { border-radius: 13px; box-shadow: 0 6px 16px -8px rgba(124,58,237,.8); }
body.pp .pp-hdr .brand__name { display: block; font-family: var(--pp-head); font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; color: inherit; }   /* beats stage.css's white .brand__name */
.pp-hdr .brand__sub { display: block; font-size: 11px; font-weight: 600; color: var(--pp-muted); margin-top: 2px; }
/* burger + round icon buttons (IPN .hdr__icon) */
body.pp .pp-hdr :is(.hdr__icon, .hdr__burger) { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50% !important; border: 0; background: transparent; color: var(--pp-ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
body.pp .pp-hdr :is(.hdr__icon, .hdr__burger):hover { background: var(--pp-bg-2) !important; color: var(--pp-ink) !important; }
body.pp .pp-hdr :is(.hdr__icon, .hdr__burger) .ic { width: 20px; height: 20px; }
body.pp .pp-hdr .hdr__burger { display: none; }
.pp-hdr .hdr__icon[data-mode-toggle] .ic { transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.pp-hdr .hdr__icon[data-mode-toggle]:hover .ic { transform: rotate(20deg) scale(1.1); }
body.pp .htool--mode .htool__sun { display: none; } html[data-mode="dark"] body.pp .htool--mode .htool__sun { display: block; } html[data-mode="dark"] body.pp .htool--mode .htool__moon { display: none; }
/* nav: IPN .hdr__link + coloured .nv chips */
.pp-hdr .hdr__nav { display: flex; align-items: center; gap: 2px; height: 100%; min-width: 0; }
.pp-hdr .hdr__link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 13px; color: var(--pp-ink-2); font: 700 15px/1 var(--pp-sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: color .2s; }
html[dir="ltr"] .pp-hdr .hdr__link { font-family: "Barlow Condensed", var(--pp-sans); font-size: 18px; letter-spacing: .05em; text-transform: uppercase; }
html[dir="rtl"] .pp-hdr .hdr__link { letter-spacing: 0; }
.pp-hdr .hdr__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--pp-pink); transform: scaleX(0); transition: transform .25s var(--pp-ease); }
.pp-hdr .hdr__link:hover, .pp-hdr .hdr__link.is-active { color: var(--pp-ink); }
.pp-hdr .hdr__link.is-active::after, .pp-hdr .hdr__link:hover::after { transform: scaleX(1); }
.hdr__dot { width: 8px; height: 8px; border-radius: 50%; background: #E11D48; box-shadow: 0 0 0 0 rgba(225,29,72,.7); animation: pp-ring 1.6s infinite; flex: none; }
@keyframes pp-ring { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,.7); } 100% { box-shadow: 0 0 0 9px rgba(225,29,72,0); } }
.pp-hdr .hdr__link--live { color: #E11D48 !important; } .pp-hdr .hdr__link--live::after { background: #E11D48; }
body.pp .nv { --nv: #2563EB; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-style: normal; color: var(--nv); background: color-mix(in srgb, var(--nv) 13%, transparent); transition: transform .45s cubic-bezier(.34,1.56,.64,1), background-color .25s, color .25s, box-shadow .3s; }
body.pp .nv .ic { width: 16px; height: 16px; }
body.pp .nv--home { --nv: #2563EB; } body.pp .nv--people { --nv: #FF3D81; } body.pp .nv--rounds { --nv: #F59E0B; } body.pp .nv--rules { --nv: #8B5CF6; } body.pp .nv--faq { --nv: #0EA5E9; } body.pp .nv--contact { --nv: #22C55E; } body.pp .nv--live { --nv: #E11D48; } body.pp .nv--me { --nv: #8B5CF6; } body.pp .nv--out { --nv: #FF3D81; }
html[data-mode="dark"] body.pp .nv { background: color-mix(in srgb, var(--nv) 22%, transparent); color: color-mix(in srgb, var(--nv) 70%, #fff); }
.pp-hdr .hdr__link:hover .nv, body.pp .drawer__nav a:hover .nv { transform: translateY(-2px) rotate(-8deg) scale(1.08); }
.pp-hdr .hdr__link:hover .nv .ic, body.pp .drawer__nav a:hover .nv .ic { animation: nv-pop .5s ease; }
.pp-hdr .hdr__link.is-active .nv, body.pp .drawer__nav a[aria-current="page"] .nv { color: #fff; background: linear-gradient(135deg, var(--nv), color-mix(in srgb, var(--nv) 65%, #000)); box-shadow: 0 6px 16px -6px var(--nv); }
@keyframes nv-pop { 0% { transform: scale(1); } 40% { transform: scale(.82); } 75% { transform: scale(1.15); } 100% { transform: scale(1); } }
/* right tools (IPN order: language · day/night · bell · account · IPN TV button) */
.pp-hdr__right { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.pp-hdr .htools { display: flex; align-items: center; gap: 6px; }
.pp-hdr .hdr__lang { display: inline-flex; align-items: center; padding: 0 2px; }
.pp-hdr .lsw { --lsw-bg: var(--pp-bg-2); --lsw-knob: var(--pp-indigo); --lsw-on: #fff; --lsw-ink: var(--pp-ink); --lsw-h: 34px; border: 1px solid var(--pp-line-2); }
html[data-mode="dark"] .pp-hdr .lsw { --lsw-knob: #fff; --lsw-on: #1B1240; }
/* guest: IPN's me-btn (ghost pill, icon + "sign in") */
.pp-hdr .me-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--pp-line-2); background: transparent; color: var(--pp-ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s, transform .2s; }
html[dir="rtl"] .pp-hdr .me-btn { padding: 0 10px 0 14px; }
.pp-hdr .me-btn:hover { background: var(--pp-bg-2); transform: translateY(-1px); border-color: var(--pp-violet); }
.pp-hdr .me-btn .hipn__av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--pp-violet) 14%, transparent); color: var(--pp-violet); } .pp-hdr .me-btn .hipn__av .glyph { width: 15px; height: 15px; }
.pp-hdr .me-btn.is-in .hipn__av { background: var(--pp-grad-2); color: #fff; }
/* 2.17.2 · the IPN avatar / initial shown in the header button when signed in on IPN (same look as the member menu) */
.pp-hdr .me-btn .hipn__av--img { object-fit: cover; background: none; }
.pp-hdr .me-btn .hipn__av--txt { background: var(--pp-grad-2); color: #fff; font-weight: 700; font-size: 12.5px; }
.pp-hdr .me-btn.hipn--who .hipn__txt { max-width: 7.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-hdr .hipn__txt { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
/* IPN's crown button, carrying the small IPN|TV mark */
body.pp .hdr__sh { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 5px; margin-inline-start: 6px; border-radius: 999px; white-space: nowrap; overflow: hidden; background: linear-gradient(120deg, #FF2E93, #7C3AED 60%, #4F46E5); color: #fff; font-family: var(--pp-sans); font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 8px 22px -10px rgba(255,46,147,.8); transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
html[dir="rtl"] body.pp .hdr__sh { padding: 0 5px 0 16px; }
body.pp .hdr__sh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: sh-shine 5s ease-in-out 2s infinite; pointer-events: none; }
body.pp .hdr__sh:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(255,46,147,.95); }
body.pp .hdr__sh-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #FFE08A, #F5B700); color: #5A3300; font-style: normal; flex: none; }
body.pp .hdr__sh-ic .ic { width: 16px; height: 16px; }
body.pp .hdr__sh-ic--mark { width: auto; min-width: 30px; padding: 0 2px; border-radius: 8px; background: #fff; }
body.pp .hdr__sh:hover .hdr__sh-ic { animation: nv-pop .5s ease; }
@keyframes sh-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
/* R6 (R6-SHARED.md (a)) · `.hdr__sh--round` — the cross-site button is a circle at EVERY width on both sites; the
   destination's name is the accessible name only, so the header row fits however long the label would have been. */
body.pp .hdr__sh--round, html[dir="rtl"] body.pp .hdr__sh--round { width: 40px; padding: 0; justify-content: center; }
body.pp .hdr__sh--round > span { display: none; }
body.pp .hdr__sh--round:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
/* the IPN|TV wordmark (logo_html-like, small) */
/* 2.17.2 · the uploaded IPN logo, shown in place of the "IPN TV" word mark — fills the round chip / footer tile */
.ipn-logo-img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }
body.pp .hdr__sh-ic--mark:has(.ipn-logo-img) { padding: 3px; }
.pp-foot__tv-mark .ipn-logo-img { inline-size: 40px; block-size: 24px; }
.ipnmark { display: inline-flex; align-items: stretch; height: 22px; font-family: "Barlow Condensed", var(--pp-sans); font-weight: 700; font-size: 14px; letter-spacing: .02em; line-height: 1; direction: ltr; }
.ipnmark b, .ipnmark em { display: grid; place-items: center; padding: 0 5px; font-style: normal; font-weight: 700; }
.ipnmark b { background: #E11D2E; color: #fff; border-radius: 5px 0 0 5px; } .ipnmark em { background: #0B1324; color: #fff; border-radius: 0 5px 5px 0; }
.pp-hdr .pp-live, .pp-hdr .pp-ipn { display: none; }   /* 2.9 leftovers (live is a nav item now, IPN TV is the .hdr__sh button) */

/* R5 · the IPN mark inside the round button: a stacked IPN / TV tile, so the lockup still reads at 30px
   (the horizontal one was wider than the 40px button and spilled out of it). */
body.pp .hdr__sh-ic--mark { width: 30px; min-width: 30px; height: 30px; padding: 2px; border-radius: 9px; background: #fff; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .35); }
body.pp .hdr__sh-ic--mark .ipnmark { flex-direction: column; align-items: stretch; width: 100%; height: 100%; gap: 1px; font-size: 8.5px; letter-spacing: .02em; }
body.pp .hdr__sh-ic--mark .ipnmark b, body.pp .hdr__sh-ic--mark .ipnmark em { flex: 1; padding: 0 2px; line-height: 1; }
body.pp .hdr__sh-ic--mark .ipnmark b { border-radius: 5px 5px 2px 2px; }
body.pp .hdr__sh-ic--mark .ipnmark em { border-radius: 2px 2px 5px 5px; }

/* R5 · "watch live" play button — the IPN side's shared component, copied from
   /home/claude/src/ipn/assets/css/site.d/hdrmob.css (same classes, same gradient, same `hdrPlayPulse` ring).
   Here it is always the icon-only round variant and it only appears once the nav — which carries its own
   "live" item on wide screens — has folded into the drawer (≤1180px). */
body.pp .hdr-play { position: relative; flex: none; display: none; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border-radius: 999px;
  background: linear-gradient(120deg, #E11D48 0%, #F43F5E 55%, #FB7185 100%); color: #fff; font-family: var(--pp-sans); font-weight: 800; font-size: 13.5px; line-height: 1; white-space: nowrap; text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(225, 29, 72, .9); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s cubic-bezier(.2, .8, .2, 1), filter .25s; }
html[dir="rtl"] body.pp .hdr-play { padding: 0 6px 0 16px; }
body.pp .hdr-play:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(225, 29, 72, 1); color: #fff; }
body.pp .hdr-play:active { transform: translateY(0); filter: brightness(.95); }
body.pp .hdr-play:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.pp .hdr-play__ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .24); font-style: normal; }
/* the play triangle keeps pointing right in both directions — it is the universal "play" mark, not a direction cue */
body.pp .hdr-play__ic .ic { width: 14px; height: 14px; margin-inline-start: 1px; }
body.pp .hdr-play__t { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
/* icon-only round play button — gentle pulse, no bounce (IPN's .hdr-play--icon) */
body.pp .hdr-play--icon, body.pp .hdr-play--icon:hover, html[dir="rtl"] body.pp .hdr-play--icon { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
body.pp .hdr-play--icon .hdr-play__t { display: none; }
body.pp .hdr-play--icon .hdr-play__ic { width: 100%; height: 100%; border-radius: 50%; background: none; }
body.pp .hdr-play--icon .hdr-play__ic .ic { width: 17px; height: 17px; }
body.pp .hdr-play--icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(244, 63, 94, .55); animation: hdrPlayPulse 2.8s cubic-bezier(.33, 0, .2, 1) infinite; }
@keyframes hdrPlayPulse { 0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, .5); } 65% { box-shadow: 0 0 0 9px rgba(244, 63, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); } }
@media (max-width: 1180px) { body.pp .hdr-play { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { body.pp .hdr-play { transition: none; } body.pp .hdr-play--icon::after { animation: none; } }

/* ---------- the TEAM menu (.umenu--staff) — this site's own dropdown for judges and admins ------------------
   R8 · The MEMBER menu is no longer styled here. It is IPN's own component, copied byte for byte into
   assets/css/umenu.css (= ipn/assets/css/site.d/umenu.css) with IPN's neutral tokens pinned on `.umenu--member`,
   so the menu on /shayesteh/ is indistinguishable from the one in the IPN header, the IPN account and the welcome
   page. Everything below dresses only the TEAM dropdown (partials/header_tools.php, staff branch:
   `.umenu.umenu--staff` → `.umenu__panel`) in the Prime palette. */
body.pp .umenu--staff { position: relative; display: inline-block; flex: none; }
body.pp .umenu--staff > summary { list-style: none; } body.pp .umenu--staff > summary::-webkit-details-marker { display: none; }
body.pp .umenu--staff .umenu__btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid var(--pp-line-2); background: var(--pp-bg-2); color: var(--pp-ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; user-select: none; white-space: nowrap; transition: background-color .18s ease-out, border-color .18s ease-out; }
html[dir="rtl"] body.pp .umenu--staff .umenu__btn { padding: 0 4px 0 10px; }
body.pp .umenu--staff .umenu__btn:hover, body.pp .umenu--staff[open] > .umenu__btn { background: var(--pp-card-2); border-color: var(--pp-violet); }
body.pp .umenu--staff .umenu__btn:focus-visible { outline: 2px solid var(--pp-violet); outline-offset: 2px; }
body.pp .umenu--staff .umenu__av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: none; background: var(--pp-grad-2); color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .02em; }
body.pp .umenu--staff .umenu__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.pp .umenu--staff .umenu__av--lg { width: 44px; height: 44px; font-size: 16px; }
body.pp .umenu--staff .umenu__name { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
body.pp .umenu--staff .umenu__chev { width: 16px; height: 16px; color: var(--pp-muted); transition: transform .2s ease-out; }
body.pp .umenu--staff[open] .umenu__chev { transform: rotate(180deg); }
body.pp .umenu--staff .umenu__panel { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 95; min-width: 268px; max-width: min(320px, calc(100vw - 24px)); padding: 6px; border-radius: 18px; background: var(--pp-card); color: var(--pp-ink); border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow-2), 0 24px 60px -24px rgba(27,18,64,.4); text-align: start; animation: umenu-in .18s ease-out; font-size: 14px; letter-spacing: 0; text-transform: none; }
@keyframes umenu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
body.pp .umenu--staff .umenu__head { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 10px 10px 12px; }
body.pp .umenu--staff .umenu__head > div { display: grid; min-width: 0; }
body.pp .umenu--staff .umenu__head strong { font-size: 14.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.pp .umenu--staff .umenu__head span { color: var(--pp-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.pp .umenu--staff .umenu__panel > a, body.pp .umenu--staff .umenu__panel form > button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 12px; background: none; color: var(--pp-ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; text-align: start; cursor: pointer; transition: background-color .15s ease-out; }
body.pp .umenu--staff .umenu__panel > a:hover, body.pp .umenu--staff .umenu__panel form > button:hover { background: var(--pp-bg-2); outline: none; }
body.pp .umenu--staff .umenu__panel .glyph { width: 18px; height: 18px; flex: none; color: var(--pp-violet); }
body.pp .umenu--staff .umenu__panel .umenu__out { color: var(--pp-pink); } body.pp .umenu--staff .umenu__panel .umenu__out .glyph { color: currentColor; }
@media (max-width: 1280px) { body.pp .umenu--staff .umenu__name, body.pp .umenu--staff .umenu__chev { display: none; } body.pp .umenu--staff .umenu__btn { width: 40px; padding: 0; justify-content: center; } }
/* R5 · phones: a sheet anchored under the avatar. It used to be `position: fixed`, but the sticky header has a
   backdrop-filter, which makes it the containing block for fixed children — the menu jumped to the top of the page and
   was cut off. Anchored + scrollable + safe-area padding keeps the full list reachable without moving the page.
   Same breakpoint as IPN's §1.13 block in assets/css/site.d/umenu.css (≤760px). */
@media (max-width: 760px) {
  body.pp .umenu--staff .umenu__panel { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; inset-inline-start: auto;
    width: min(306px, calc(100vw - 20px)); min-width: 0; max-width: none;
    max-height: min(74svh, calc(100svh - var(--pp-hdr, 60px) - 48px)); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding-bottom: calc(6px + env(safe-area-inset-bottom)); scrollbar-width: thin; }
  body.pp .umenu--staff .umenu__head { position: sticky; top: -6px; z-index: 1; background: var(--pp-card); }
  body.pp .umenu--staff .umenu__panel > a, body.pp .umenu--staff .umenu__panel form > button { min-height: 46px; font-size: 15px; }
  body.pp .umenu--staff .umenu__panel .glyph { width: 19px; height: 19px; }
}

/* ---------- IPN notification bell — copy of IPN's notify.css (bell + panel) on our tokens ------------------- */
body.pp .nt-bell { --nt-bg: var(--pp-card); --nt-ink: var(--pp-ink); --nt-ink2: var(--pp-ink-2); --nt-muted: var(--pp-muted); --nt-line: var(--pp-line); --nt-hover: var(--pp-bg-2); --nt-unread: rgba(139,92,246,.08); --nt-acc: var(--pp-pink); --nt-acc2: var(--pp-violet); position: relative; display: inline-flex; flex: none; }
body.pp .nt-bell__btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--pp-line-2); border-radius: 50%; background: var(--pp-bg-2); color: var(--pp-ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
body.pp .nt-bell__btn:hover, body.pp .nt-bell.is-open .nt-bell__btn { border-color: var(--pp-violet); color: var(--pp-violet); }
body.pp .nt-bell__btn:focus-visible { outline: 2px solid var(--nt-acc2); outline-offset: 2px; }
body.pp .nt-bell__btn .ic { width: 19px; height: 19px; }
body.pp .nt-bell__n { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--nt-acc); color: #fff; font: 800 11px/18px var(--pp-sans); text-align: center; box-shadow: 0 0 0 2px var(--pp-bg); pointer-events: none; }
body.pp .nt-bell__n[hidden] { display: none; }
body.pp .nt-bell.has-new .nt-bell__btn .ic { animation: nt-ring 1.2s ease 1; transform-origin: 50% 10%; }
@keyframes nt-ring { 0%,100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } }
body.pp .nt-panel { position: absolute; top: calc(100% + 10px); inset-inline-end: -6px; z-index: 300; width: min(380px, calc(100vw - 24px)); display: flex; flex-direction: column; max-height: min(560px, calc(100vh - 90px)); background: var(--nt-bg); color: var(--nt-ink); border: 1px solid var(--nt-line); border-radius: 20px; box-shadow: var(--pp-shadow-2), 0 24px 60px -18px rgba(27,18,64,.45); overflow: hidden; text-align: start; font-size: 14px; line-height: 1.5; letter-spacing: normal; text-transform: none; }
body.pp .nt-panel[hidden] { display: none; }
body.pp .nt-bell.is-open .nt-panel { animation: nt-pop .18s ease-out; }
@keyframes nt-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
body.pp .nt-panel__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--nt-line); }
body.pp .nt-panel__h strong { font-size: 15.5px; font-weight: 800; }
body.pp .nt-panel__all { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--nt-acc2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
body.pp .nt-panel__all:hover { background: var(--nt-hover); } body.pp .nt-panel__all[disabled] { opacity: .45; cursor: default; } body.pp .nt-panel__all .ic { width: 16px; height: 16px; }
body.pp .nt-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; }
body.pp .nt-list li + li { margin-top: 2px; }
body.pp .nt-li { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; color: var(--nt-ink); text-decoration: none; position: relative; }
body.pp .nt-li:hover, body.pp .nt-li:focus-visible { background: var(--nt-hover); outline: none; }
body.pp .nt-li.is-unread { background: var(--nt-unread); }
body.pp .nt-li__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #8B5CF6, #D946EF); color: #fff; }
body.pp .nt-li__ic .ic { width: 19px; height: 19px; }
body.pp .nt-k--event { background: linear-gradient(135deg, #FF3D81, #FF7A45) !important; } body.pp .nt-k--ticket { background: linear-gradient(135deg, #22C55E, #34D3C8) !important; } body.pp .nt-k--promo { background: linear-gradient(135deg, #FFB020, #FFD86B) !important; color: #3A2A00 !important; } body.pp .nt-k--system { background: linear-gradient(135deg, #22C9F2, #6D8BFF) !important; }
body.pp .nt-k--contest, body.pp .nt-k--shs { background: linear-gradient(135deg, #FF7A45, #FFC247) !important; color: #3A1E00 !important; }
body.pp .nt-li__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
body.pp .nt-li__t strong { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
body.pp .nt-li__t span { font-size: 13px; color: var(--nt-ink2); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.pp .nt-li__t small { font-size: 12px; color: var(--nt-muted); }
body.pp .nt-li__dot { position: absolute; top: 16px; inset-inline-end: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--nt-acc); }
body.pp .nt-li.is-unread .nt-li__t { padding-inline-end: 14px; }
body.pp .nt-empty { padding: 28px 16px; text-align: center; color: var(--nt-muted); font-size: 13.5px; }
body.pp .nt-panel__more { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-top: 1px solid var(--nt-line); color: var(--nt-acc2); font-weight: 700; font-size: 13.5px; text-decoration: none; }
body.pp .nt-panel__more:hover { background: var(--nt-hover); } body.pp .nt-panel__more .ic { width: 16px; height: 16px; }
@media (max-width: 560px) { body.pp .nt-panel { position: fixed; top: 64px; inset-inline: 10px; width: auto; max-height: calc(100dvh - 170px); } }

/* ---------- drawer (phone) = IPN's drawer ---------------------------------------------------------------
   R5 · the panel is the page surface, like IPN's `.drawer__panel { background: var(--bg-2) }` — plain WHITE in
   day mode (#FFF, the same as IPN's), deep indigo at night — and it carries NAVIGATION ONLY (the account links
   and sign-out live in the avatar menu in the header; `--pp-bg-2` was a faint lavender, IPN's panel is pure
   white). Same geometry as IPN: 88vw/360px, 16px gap, 52px rows, 12px radii. */
body.pp .pp-drawer { background: rgba(10, 6, 26, .5); }
body.pp .pp-drawer .drawer__panel { width: min(88vw, 360px); gap: 16px; padding: max(16px, env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
  background: var(--pp-card) !important; color: var(--pp-ink); border-inline-start: 0; border-inline-end: 1px solid var(--pp-line); overflow-y: auto; overscroll-behavior: contain; }
body.pp .pp-drawer .brand__name { color: var(--pp-ink); } body.pp .pp-drawer .brand__sub { color: var(--pp-muted); }
body.pp .pp-drawer .drawer__x { background: var(--pp-card-2); color: var(--pp-ink-2); border: 1px solid var(--pp-line); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }
body.pp .pp-drawer .drawer__x:hover { background: var(--sunk); color: var(--pp-ink); }
body.pp .pp-drawer .drawer__cta { margin: 0; width: 100%; }
body.pp .pp-drawer .drawer__nav { display: flex; flex-direction: column; gap: 2px; }
body.pp .pp-drawer :is(.drawer__nav a, .drawer__live) { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--pp-ink-2); font: inherit; font-size: 16.5px; font-weight: 600; text-decoration: none; text-align: start; width: 100%; cursor: pointer; }
body.pp .pp-drawer :is(.drawer__nav a, .drawer__live):hover { background: var(--sunk); color: var(--pp-ink); }
body.pp .pp-drawer .drawer__nav a[aria-current="page"] { background: var(--pp-card-2); color: var(--pp-ink); font-weight: 700; }
body.pp .pp-drawer .drawer__nav a span, body.pp .pp-drawer .drawer__live span:not(.hdr__dot) { flex: 1; }
body.pp .pp-drawer .drawer__chev { width: 16px; height: 16px; color: var(--pp-faint); flex: none; }
body.pp .pp-drawer .nv { width: 36px; height: 36px; border-radius: 11px; } body.pp .pp-drawer .nv .ic { width: 19px; height: 19px; }
body.pp .pp-drawer .nv--live .hdr__dot { width: 9px; height: 9px; background: #E11D48; box-shadow: 0 0 0 0 rgba(225,29,72,.7); animation: pp-ring 1.6s infinite; }
body.pp .pp-drawer .drawer__ipn { display: flex; align-items: center; gap: 12px; margin-top: 0; padding: 14px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(61,220,255,.08)) !important; border: 1px solid rgba(139,92,246,.35) !important; color: var(--pp-ink) !important; text-decoration: none; }
body.pp .pp-drawer .drawer__ipn-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--pp-grad-2); color: #fff; flex: none; } body.pp .pp-drawer .drawer__ipn-ic .glyph { width: 21px; height: 21px; }
body.pp .pp-drawer .drawer__ipn > span:not(.drawer__ipn-ic) { flex: 1; display: grid; }
body.pp .pp-drawer a.drawer__ipn, body.pp .pp-drawer a.drawer__ipn strong { color: var(--pp-ink) !important; }   /* beats ui.css's white-on-indigo rule */
body.pp .pp-drawer .drawer__ipn strong { font-size: 15px; } body.pp .pp-drawer .drawer__ipn small { color: var(--pp-muted); font-size: 12.5px; }
body.pp .pp-drawer a.drawer__ipn > .glyph { color: var(--pp-violet) !important; flex: none; }
/* R6 · B5 — the day/night + language row is gone from the drawer (both sit in the header on every width); if any
   other view still emits one it is simply not drawn here. */
body.pp .pp-drawer .drawer__row { display: none; }
/* …and the social icons close the panel, exactly like IPN's `.drawer__social a { background: var(--surface-2) }`:
   40px circles on the sunk surface, pushed to the foot by `margin-top: auto`. */
body.pp .pp-drawer .drawer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--pp-line); }
body.pp .pp-drawer .drawer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pp-card-2); border: 1px solid var(--pp-line); color: var(--pp-ink-2); text-decoration: none; transition: background-color .2s, color .2s, transform .2s, border-color .2s; }
body.pp .pp-drawer .drawer__social .glyph { width: 17px; height: 17px; }
body.pp .pp-drawer .drawer__social a:hover { background: var(--pp-violet); border-color: var(--pp-violet); color: #fff; transform: translateY(-2px); }
body.pp .pp-drawer .drawer__social a:focus-visible { outline: 2px solid var(--pp-violet); outline-offset: 2px; }

/* ---------- hero slider (full screen) -----------------------------------------------------------------
   R6 · B7 — the slider fills the viewport ON LOAD on every device: the solid menubar is in the flow above it, so the
   picture is exactly one viewport minus the header tall and its bottom edge lands on the bottom of the viewport. */
.pp-hero { position: relative; height: calc(100svh - var(--pp-hdr)); min-height: 440px; max-height: 1200px; background: var(--pp-indigo); color: #fff; overflow: hidden; isolation: isolate; }
.pp-hero__track { position: absolute; inset: 0; }
.pp-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--pp-ease), visibility 0s linear 1.1s; }
.pp-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--pp-ease), visibility 0s; z-index: 1; }
.pp-slide__pic, .pp-slide__pic picture { position: absolute; inset: 0; }
.pp-slide__pic img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fp, 50% 50%); display: block; transform: scale(1.06); }
.pp-slide.is-active .pp-slide__pic img { animation: pp-kb 9s var(--pp-ease) forwards; }
@keyframes pp-kb { from { transform: scale(1.06) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.2%, -.8%, 0); } }
.pp-slide__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,18,64,.55) 0%, rgba(27,18,64,.15) 30%, rgba(27,18,64,.25) 55%, rgba(27,18,64,.92) 100%), radial-gradient(60% 60% at 15% 70%, rgba(255,61,129,.28), transparent 70%), radial-gradient(45% 50% at 90% 20%, rgba(61,220,255,.22), transparent 70%); pointer-events: none; }
[dir="rtl"] .pp-slide__shade { background: linear-gradient(180deg, rgba(27,18,64,.55) 0%, rgba(27,18,64,.15) 30%, rgba(27,18,64,.25) 55%, rgba(27,18,64,.92) 100%), radial-gradient(60% 60% at 85% 70%, rgba(255,61,129,.28), transparent 70%), radial-gradient(45% 50% at 10% 20%, rgba(61,220,255,.22), transparent 70%); }
.pp-slide__cap { position: absolute; inset: 0; display: flex; align-items: center; padding-top: 0; padding-bottom: 150px; }
.pp-slide__in { width: 100%; max-width: 1280px; }
/* R10 · item 6 — the entrance is in the project's register: 420 ms, a spring-ish ease with NO overshoot, 70 ms
   between the lines. The title is handled by its own masked line below, so it only fades here. */
.pp-slide__cap > .pp-slide__in > * { opacity: 0; transform: translateY(18px); transition: opacity 420ms var(--pp-ease), transform 420ms var(--pp-spring); }
.pp-slide.is-active .pp-slide__cap > .pp-slide__in > * { opacity: 1; transform: none; }
.pp-slide__cap > .pp-slide__in > .pp-slide__title { transform: none; }
.pp-slide.is-active .pp-slide__cap > .pp-slide__in > :nth-child(2) { transition-delay: 70ms; } .pp-slide.is-active .pp-slide__cap > .pp-slide__in > :nth-child(3) { transition-delay: 160ms; } .pp-slide.is-active .pp-slide__cap > .pp-slide__in > :nth-child(4) { transition-delay: 230ms; } .pp-slide.is-active .pp-slide__cap > .pp-slide__in > :nth-child(5) { transition-delay: 300ms; }
.pp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; }
.pp-kicker__chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; }
[dir="rtl"] .pp-kicker__chip { padding: 7px 10px 7px 14px; }
.pp-kicker__chip .glyph { width: 15px; height: 15px; color: var(--pp-amber); }
.pp-kicker__state { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }
.pp-kicker__state i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); }
.pp-kicker__state.is-open { background: rgba(52,211,153,.18); border-color: rgba(52,211,153,.4); color: #D1FAE5; } .pp-kicker__state.is-open i { background: #34D399; box-shadow: 0 0 0 3px rgba(52,211,153,.3); animation: pp-pulse 1.6s infinite; }
/* R10 · item 6 — the slide's type. The heading is the display face already loaded (Manrope 800 in en, Vazirmatn 800
   in fa — no new web font), set tighter and larger, with a soft white-to-blush fill that keeps its shadow through a
   drop-shadow on the mask (text-shadow cannot survive background-clip: text). `.pp-ttl` clips, `.pp-ttl__in` rises. */
body.pp .pp-slide__title { max-width: 15ch; font-size: clamp(44px, 7.4vw, 104px); line-height: .98; letter-spacing: -.042em; color: #fff; text-shadow: none; }
[dir="rtl"] body.pp .pp-slide__title { letter-spacing: 0; font-size: clamp(38px, 6.6vw, 88px); line-height: 1.16; }
.pp-ttl { display: block; overflow: hidden; padding-block: .06em .16em; margin-block: -.06em -.16em; filter: drop-shadow(0 14px 38px rgba(0,0,0,.5)); }
.pp-ttl__in { display: block; transform: translateY(106%); opacity: 0;
  background-image: linear-gradient(174deg, #FFFFFF 38%, #FFEAF3 70%, #FFD2E6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  transition: transform 460ms var(--pp-spring), opacity 300ms var(--pp-ease); }
.pp-slide.is-active .pp-ttl__in { transform: none; opacity: 1; transition-delay: 60ms; }
.pp-slide__title span { display: inline-block; }
.pp-slide__title .pp-grad-text { -webkit-text-fill-color: transparent; }
/* the lead keeps a thin gradient rule on the reading edge (logical, so it swaps in RTL) */
.pp-slide__text { position: relative; margin: 22px 0 0; max-width: 48ch; padding-inline-start: 18px; font-size: clamp(16px, 1.35vw, 19.5px); line-height: 1.6; font-weight: 500; color: rgba(255,255,255,.9); text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.pp-slide__text::before { content: ""; position: absolute; inset-block: .18em .22em; inset-inline-start: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #FF3D81, #C084FC 55%, #3DDCFF); }
.pp-slide__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* R6 · B6 — NO glass buttons in the slider any more. Every control carries a solid, opaque colour that reads on any
   picture: the "meet / vote" link is solid deep violet, the live link solid crimson, with real hover/active/focus states. */
body.pp .pp-slide__cta .pp-btn--glass { background: #4C2A9E; border-color: rgba(255,255,255,.4); color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 12px 28px -14px rgba(0,0,0,.9); }
body.pp .pp-slide__cta .pp-btn--glass:hover { background: #5E36BE; border-color: #fff; }
body.pp .pp-slide__cta .pp-btn--glass:active { transform: translateY(0); background: #3F2287; }
body.pp .pp-slide__cta .pp-btn--live { background: #E11D48; border-color: rgba(255,255,255,.34); color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 12px 28px -14px rgba(0,0,0,.9); }
body.pp .pp-slide__cta .pp-btn--live:hover { background: #F43F5E; border-color: #fff; box-shadow: 0 16px 32px -12px rgba(225,29,72,.85); }
body.pp .pp-slide__cta .pp-btn--live:active { transform: translateY(0); background: #BE123C; }
body.pp .pp-slide__cta .pp-btn--live .pp-live__dot, body.pp .pp-slide__cta .pp-btn--live:hover .pp-live__dot { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
body.pp .pp-slide__cta .pp-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* bottom bar: thumbnail strip (desktop) · arrows + pause · dots (phone) · scroll hint */
.pp-hero__bar { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; display: flex; align-items: flex-end; gap: 16px; padding-bottom: 22px; }
.pp-strip { display: flex; gap: 10px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.pp-strip::-webkit-scrollbar { display: none; }
/* R6 · B6 — the thumbnail buttons are solid indigo (no glass), the active one solid violet */
.pp-strip__it { position: relative; display: flex; align-items: center; gap: 12px; flex: 0 0 auto; width: clamp(220px, 20vw, 290px); padding: 8px 14px 8px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: #231552; color: #fff; font: inherit; text-align: start; cursor: pointer; overflow: hidden; box-shadow: 0 12px 28px -16px rgba(0,0,0,.9); transition: background-color var(--pp-t-fast), border-color var(--pp-t-fast), transform var(--pp-t-fast); }
[dir="rtl"] .pp-strip__it { padding: 8px 8px 8px 14px; }
.pp-strip__it:hover { background: #32206F; transform: translateY(-2px); }
.pp-strip__it.is-on { background: #4C2A9E; border-color: rgba(255,255,255,.5); }
.pp-strip__it:active { transform: translateY(0); background: #1C1143; }
.pp-strip__it:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pp-strip__th { width: 84px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; flex: none; background: rgba(0,0,0,.3); }
.pp-strip__th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-strip__t { display: grid; gap: 2px; min-width: 0; }
.pp-strip__t small { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.pp-strip__t strong { font-size: 13.5px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
.pp-strip__bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.22); }
.pp-strip__bar i, .pp-dots i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%; background: var(--pp-grad); transform: scaleX(0); transform-origin: var(--pp-ori, left); }
[dir="rtl"] .pp-strip__bar i, [dir="rtl"] .pp-dots i { --pp-ori: right; }
.pp-strip__it.is-on .pp-strip__bar i, .pp-dots [aria-selected="true"] i { animation: pp-progress var(--pp-dur, 7s) linear forwards; }
.pp-hero.is-paused .pp-strip__bar i, .pp-hero.is-paused .pp-dots i { animation-play-state: paused; }
@keyframes pp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pp-hero__ctrls { display: flex; gap: 8px; flex: none; }
/* R6 · B6 — solid arrows / pause: deep violet with a white rim, magenta on hover; the pause key is magenta already */
.pp-hero__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: #2E1A6B; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; cursor: pointer; box-shadow: 0 12px 26px -14px rgba(0,0,0,.95); transition: background-color var(--pp-t-fast), transform var(--pp-t-fast), border-color var(--pp-t-fast); }
.pp-hero__btn:hover { background: #FF3D81; border-color: #fff; transform: translateY(-2px); }
.pp-hero__btn:active { background: #D62268; transform: translateY(0); }
.pp-hero__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pp-hero__btn--pp { background: #FF3D81; border-color: rgba(255,255,255,.55); }
.pp-hero__btn--pp:hover { background: #FF5C96; }
.pp-hero__btn--pp:active { background: #D62268; }
.pp-hero__btn .glyph { width: 20px; height: 20px; }
.pp-hero__btn .pp-ic-play { display: none; } .pp-hero.is-paused .pp-hero__btn .pp-ic-play { display: block; } .pp-hero.is-paused .pp-hero__btn .pp-ic-pause { display: none; }
.pp-dots { display: none; gap: 6px; flex: 1; align-items: center; }
/* R6 · B6 — the phone dots are a solid track, never a translucent one */
.pp-dots button { position: relative; flex: 1; height: 5px; max-width: 48px; padding: 0; border: 0; border-radius: 99px; background: #2E1A6B; box-shadow: 0 0 0 1px rgba(255,255,255,.45); overflow: hidden; cursor: pointer; }
.pp-dots button[aria-selected="true"] { background: #4C2A9E; }
.pp-dots button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pp-dots button i { display: block; }
.pp-scroll { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: #2E1A6B; box-shadow: 0 12px 26px -14px rgba(0,0,0,.95); color: #fff; flex: none; text-decoration: none; animation: pp-bob 2.2s var(--pp-ease) infinite; transition: background-color var(--pp-t-fast), border-color var(--pp-t-fast); }
.pp-scroll:hover { background: #FF3D81; border-color: #fff; }
.pp-scroll:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pp-scroll .glyph { width: 20px; height: 20px; }
@keyframes pp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- stats: premium tiles — 50px gradient chip (24px icon), big tabular number, quiet label, watermark glyph,
   a tone hairline on top and a one-pass shimmer; the number counts up in prime-public.js ([data-count]) ----------------- */
body.pp [data-count] { font-variant-numeric: tabular-nums; }
.pp-stats { position: relative; z-index: 2; margin-top: -1px; background: var(--pp-bg); }
.pp-stats__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 36px; border-bottom: 1px solid var(--pp-line); }
.pp-stat { --tone: var(--pp-violet); --tone-soft: rgba(139,92,246,.1); position: relative; display: flex; align-items: center; gap: 18px; min-height: 112px; padding: 20px 22px; border-radius: var(--pp-r-lg); background: linear-gradient(135deg, var(--tone-soft), transparent 68%), var(--pp-card); border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow-1); overflow: hidden; isolation: isolate; transition: transform var(--pp-t-fast), box-shadow var(--pp-t-fast), border-color var(--pp-t-fast); }
.pp-stat::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--tone) 35%, var(--tone) 65%, transparent); opacity: .55; pointer-events: none; }
.pp-stat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 38%, color-mix(in srgb, var(--tone) 18%, transparent) 50%, transparent 62%); transform: translateX(-120%); pointer-events: none; z-index: 2; }
.pp-stat:hover::after { animation: pp-sheen 1.1s var(--pp-ease) 1; }
@keyframes pp-sheen { to { transform: translateX(120%); } }
.pp-stat:hover { transform: translateY(-2px); box-shadow: var(--pp-shadow-2); border-color: color-mix(in srgb, var(--tone) 35%, var(--pp-line)); }
.pp-stat--pink { --tone: var(--pp-pink); --tone-soft: rgba(255,61,129,.12); } .pp-stat--cyan { --tone: #22C9F2; --tone-soft: rgba(61,220,255,.14); } .pp-stat--violet { --tone: var(--pp-violet); --tone-soft: rgba(139,92,246,.14); } .pp-stat--amber { --tone: #F5A300; --tone-soft: rgba(255,194,71,.18); } .pp-stat--coral { --tone: var(--pp-coral); --tone-soft: rgba(255,122,69,.14); } .pp-stat--green { --tone: #22C55E; --tone-soft: rgba(52,211,153,.14); }
.pp-stat__wm { position: absolute; inset-inline-end: -16px; bottom: -20px; color: var(--tone); opacity: .07; pointer-events: none; transform: rotate(-12deg); transition: transform var(--pp-t), opacity var(--pp-t); } body.pp .pp-stat__wm .glyph { width: 104px; height: 104px; stroke-width: 1.4; }
.pp-stat:hover .pp-stat__wm { transform: rotate(-4deg) scale(1.06); opacity: .11; }
body.pp .pp-stat .pp-chip { --cs: 50px; --ci: 24px; position: relative; transition: transform var(--pp-t-fast); }
.pp-stat:hover .pp-chip { transform: translateY(-2px) rotate(-4deg); }
.pp-stat__t { position: relative; display: grid; gap: 5px; min-width: 0; }
.pp-stat__t b { display: block; font-family: var(--pp-head); font-size: clamp(30px, 2.6vw, 38px); font-weight: 800; line-height: 1; letter-spacing: -.025em; color: var(--pp-ink); }
.pp-stat__t span { display: block; font-size: 13.5px; line-height: 1.35; color: var(--pp-muted); font-weight: 700; }

/* ---------- categories: tinted cards with drifting related objects (crown · heart · star · gem …) --------------------- */
.pp-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pp-cat { --tint: rgba(139,92,246,.08); --tone: var(--pp-violet); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--pp-r-lg); background: var(--pp-card); border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow-1); overflow: hidden; isolation: isolate; transition: transform var(--pp-t-fast), box-shadow var(--pp-t-fast), border-color var(--pp-t-fast); }
.pp-cat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--tint), transparent 60%); pointer-events: none; }
.pp-cat:hover { transform: translateY(-6px); box-shadow: var(--pp-shadow-2); border-color: color-mix(in srgb, var(--tone) 30%, var(--pp-line)); }
.pp-cat--pink { --tint: rgba(255,61,129,.12); --tone: var(--pp-pink); } .pp-cat--cyan { --tint: rgba(61,220,255,.14); --tone: #22C9F2; } .pp-cat--violet { --tint: rgba(139,92,246,.14); --tone: var(--pp-violet); } .pp-cat--amber { --tint: rgba(255,194,71,.18); --tone: #F5A300; } .pp-cat--coral { --tint: rgba(255,122,69,.14); --tone: var(--pp-coral); } .pp-cat--green { --tint: rgba(52,211,153,.14); --tone: #22C55E; }
.pp-cat__objs { position: absolute; inset: 0; pointer-events: none; z-index: 0; color: var(--tone); }
.pp-obj { position: absolute; display: grid; place-items: center; opacity: .19; animation: pp-drift 9s var(--pp-ease) infinite alternate; will-change: transform; transition: opacity var(--pp-t); }
body.pp .pp-obj .glyph { stroke-width: 1.5; width: var(--os, 48px); height: var(--os, 48px); }
.pp-obj--1 { --os: 76px; top: -10px; inset-inline-end: 78px; --dx: 7px; --dy: -9px; --rot: 10deg; animation-duration: 11s; opacity: .16; }
.pp-obj--2 { --os: 54px; bottom: 56px; inset-inline-end: -10px; --dx: -9px; --dy: 7px; --rot: -14deg; animation-duration: 13s; animation-delay: -3s; }
.pp-obj--3 { --os: 44px; top: 44%; inset-inline-start: -6px; --dx: 8px; --dy: -6px; --rot: 18deg; animation-duration: 9s; animation-delay: -5s; opacity: .15; }
.pp-obj--4 { --os: 30px; bottom: 14px; inset-inline-start: 34%; --dx: -6px; --dy: -10px; --rot: -22deg; animation-duration: 10.5s; animation-delay: -7s; opacity: .13; }
.pp-cat__dot { position: absolute; width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: .22; animation: pp-drift 8s var(--pp-ease) infinite alternate; }
.pp-cat__dot--1 { top: 18%; inset-inline-start: 16%; --dx: 4px; --dy: -12px; --rot: 90deg; animation-duration: 7.5s; }
.pp-cat__dot--2 { top: 62%; inset-inline-end: 22%; width: 5px; height: 5px; border-radius: 50%; --dx: -5px; --dy: -8px; --rot: 0deg; animation-duration: 9.5s; animation-delay: -4s; }
.pp-cat__dot--3 { bottom: 26%; inset-inline-start: 8%; width: 4px; height: 8px; --dx: 6px; --dy: 7px; --rot: 120deg; animation-duration: 11s; animation-delay: -2s; opacity: .16; }
html[data-mode="dark"] body.pp .pp-obj { opacity: .2; } html[data-mode="dark"] body.pp :is(.pp-obj--3, .pp-obj--4) { opacity: .16; }
.pp-cat:hover .pp-obj { opacity: .26; } .pp-cat:hover :is(.pp-obj--3, .pp-obj--4) { opacity: .2; }
@keyframes pp-drift { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(var(--dx, 6px), var(--dy, -8px), 0) rotate(var(--rot, 10deg)); } }
.pp-cat__top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pp-cat h3 { position: relative; font-size: 21px; }
.pp-cat__meta { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding-top: 4px; }   /* bottom-anchored so meta + buttons line up across cards whatever the title wraps to */
.pp-cat__meta span { padding: 4px 10px; border-radius: 999px; background: var(--pp-bg-2); border: 1px solid var(--pp-line); font-size: 12px; font-weight: 700; color: var(--pp-ink-2); }
.pp-cat__meta .pp-cat__meta-g { background: linear-gradient(135deg, var(--tone), color-mix(in srgb, var(--tone) 55%, #fff)); border-color: transparent; color: #fff; }
.pp-cat--amber .pp-cat__meta .pp-cat__meta-g, .pp-cat--cyan .pp-cat__meta .pp-cat__meta-g { color: #2A1A00; }
.pp-cat .cat-acts { position: relative; display: flex; gap: 8px; margin-top: 0; padding-top: 12px; }
.pp-cat .cat-acts .btn { flex: 1 1 auto; min-height: 40px; padding-inline: 10px; font-size: 13px; }

/* ---------- your path to the stage: numbered gradient badges on a connector line, icon per step, hover lift --------------- */
.pp-steps { position: relative; list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.pp-steps::before { content: ""; position: absolute; top: 20px; inset-inline: 10%; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,61,129,.75), rgba(255,122,69,.75) 25%, rgba(245,163,0,.75) 50%, rgba(34,201,242,.75) 75%, rgba(139,92,246,.75));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pp-step { --tone: var(--pp-violet); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 22px 24px; border-radius: var(--pp-r-lg); background: var(--pp-card); border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow-1); transition: transform var(--pp-t-fast), box-shadow var(--pp-t-fast), border-color var(--pp-t-fast); }
.pp-step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--tone) 12%, transparent), transparent 70%); opacity: 0; pointer-events: none; transition: opacity var(--pp-t); }
.pp-step:hover::before { opacity: 1; }
.pp-step:hover { transform: translateY(-4px); box-shadow: var(--pp-shadow-2); border-color: color-mix(in srgb, var(--tone) 35%, var(--pp-line)); }
.pp-step--pink { --tone: var(--pp-pink); } .pp-step--coral { --tone: var(--pp-coral); } .pp-step--amber { --tone: #F5A300; } .pp-step--cyan { --tone: #22C9F2; } .pp-step--violet { --tone: var(--pp-violet); }
.pp-step__n { position: absolute; top: -20px; inset-inline-start: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--pp-head); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 6px var(--pp-bg-2), 0 10px 20px -8px var(--tone); transition: transform var(--pp-t-fast); }
[dir="rtl"] .pp-step__n { transform: translateX(50%); }
.pp-step:hover .pp-step__n { transform: translateX(-50%) scale(1.08); } [dir="rtl"] .pp-step:hover .pp-step__n { transform: translateX(50%) scale(1.08); }
/* R10 · item 4 — the step's icon is a large watermark BEHIND the text, not a chip in the flow. It is tinted with the
   step's own tone and kept faint enough that the heading and the paragraph never lose contrast, by day or by night. */
.pp-step { gap: 9px; padding-block: 36px 26px; }
/* the watermark has its OWN clipping box (inset:0, overflow:hidden, the card's radius), so the icon can bleed off the
   corner while the numbered badge above the card — which sits at top:-20px — is never clipped. */
.pp-step__wm { position: absolute; z-index: 0; inset: 0; overflow: hidden; border-radius: inherit; display: grid; place-items: end;
  pointer-events: none; color: var(--tone); opacity: .10; transition: opacity var(--pp-t); }
body.pp .pp-step__wm .glyph { width: clamp(96px, 8.6vw, 136px); height: clamp(96px, 8.6vw, 136px); stroke-width: 1.2;
  margin-inline-end: -16px; margin-block-end: -22px; rotate: -8deg; transition: rotate var(--pp-t), scale var(--pp-t); }
.pp-step:hover .pp-step__wm { opacity: .14; }
.pp-step:hover .pp-step__wm .glyph { rotate: -2deg; scale: 1.06; }
html[data-mode="dark"] body.pp .pp-step__wm { opacity: .15; }
html[data-mode="dark"] body.pp .pp-step:hover .pp-step__wm { opacity: .2; }
.pp-step h3 { position: relative; z-index: 1; font-size: 18px; }
.pp-step p { position: relative; z-index: 1; margin: 0; font-size: 14px; line-height: 1.65; color: var(--pp-muted); }

/* ---------- contestant cards (4:5) --------------------------------------------------------------------------- */
.pp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pp-grid--list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pp-card { --tint: rgba(139,92,246,.1); position: relative; display: flex; flex-direction: column; border-radius: var(--pp-r-lg); background: var(--pp-card); border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow-1); text-decoration: none; color: inherit; overflow: hidden; transition: transform var(--pp-t-fast), box-shadow var(--pp-t-fast); }
.pp-card:hover { transform: translateY(-6px); box-shadow: var(--pp-shadow-2); }
.pp-card--pink { --tint: rgba(255,61,129,.12); } .pp-card--cyan { --tint: rgba(61,220,255,.14); } .pp-card--amber { --tint: rgba(255,194,71,.18); } .pp-card--coral { --tint: rgba(255,122,69,.14); } .pp-card--green { --tint: rgba(52,211,153,.14); }
.pp-card__pic { position: relative; display: block; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--tint), var(--pp-bg-2)); overflow: hidden; }
.pp-card__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; transition: transform 1.1s var(--pp-ease); }
.pp-card:hover .pp-card__pic img { transform: scale(1.05); }
.pp-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pp-faint); } .pp-card__ph .glyph { width: 64px; height: 64px; stroke-width: 1.2; }
/* R10 · item 3 — `.pp-card__votes` / `.pp-card__rank` are gone: the landing draws the shared `.pp-cx` card, which
   carries the rank, the support figure and the status flags itself. */
.pp-card__body { display: grid; gap: 3px; padding: 14px 16px 16px; }
.pp-card__body strong { font-family: var(--pp-head); font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.pp-card__body small { font-size: 12.5px; color: var(--pp-muted); font-weight: 600; display: flex; align-items: center; gap: 2px; }
.pp-card--more .pp-card__pic { background: var(--pp-bg-2); aspect-ratio: auto; flex: 1 1 auto; min-height: 240px; }
.pp-card__all { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--pp-ink); font-weight: 800; font-size: 16px; }
.pp-card__all > .glyph { width: 20px; height: 20px; color: var(--pp-violet); }

/* ---------- R10 · item 2 — the compact current-stage band ("Your vote matters") was removed from the landing page
   together with its `.pp-round* / .pp-pill / .pp-cd* / .pp-top*` block. Nothing renders those classes any more. ------ */

/* ---------- raffle band (theme partial): deep violet → magenta with floating tickets · hearts · stars · gift · confetti ----- */
body.pp .raffle { position: relative; margin: 0; padding-block: 64px; background: linear-gradient(115deg, #2E1065 0%, #6D28D9 42%, #BE185D 100%) !important; color: #fff; border: 0; border-radius: 0 !important; overflow: hidden; isolation: isolate; }
body.pp .raffle::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 50%, rgba(255,194,71,.22), transparent 70%), radial-gradient(40% 60% at 10% 100%, rgba(61,220,255,.18), transparent 70%); opacity: 1; pointer-events: none; }
body.pp .raffle__in { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; border-radius: 0 !important; background: transparent !important; }
body.pp .raffle__art { position: relative; width: 120px; height: 120px; flex: none; }
body.pp .raffle__art .raffle__ticket, body.pp .raffle__art .raffle__gift { position: absolute; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: pp-float 6s var(--pp-ease) infinite alternate; }
body.pp .raffle__art .raffle__ticket { top: 0; inset-inline-start: 0; transform: rotate(-10deg); --fy: -6px; } body.pp .raffle__art .raffle__gift { bottom: 0; inset-inline-end: 0; transform: rotate(8deg); background: linear-gradient(135deg, #FFE08A, #FFC247); color: #5A3300; animation-delay: -3s; --fy: 6px; }
body.pp .raffle__art .glyph { width: 30px; height: 30px; } body.pp .raffle__art > i { display: none; }
@keyframes pp-float { from { translate: 0 0; } to { translate: 0 var(--fy, -6px); } }
body.pp .raffle__text { flex: 1 1 360px; }
body.pp .raffle__kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); font-size: 12.5px; font-weight: 800; color: #fff; }
body.pp .raffle h2 { margin: 12px 0 8px; color: #fff; font-size: clamp(24px, 3vw, 36px); }
body.pp .raffle p { margin: 0; color: rgba(255,255,255,.88); font-size: 15.5px; } body.pp .raffle p strong { color: #FFE08A; }
body.pp .raffle__acts { display: flex; flex-wrap: wrap; gap: 10px; }
html.prime-ui body.pp .raffle .btn--gold { background: linear-gradient(135deg, #FFE08A, #FFC247) !important; color: #3A2A00 !important; box-shadow: 0 12px 26px -12px rgba(0,0,0,.5) !important; }
html.prime-ui body.pp .raffle .btn--glassy { background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.35) !important; color: #fff !important; }
/* the sky: glyph objects + confetti dots; each object drifts on its own loop and shifts with the scroll (--py from prime-public.js) */
.pp-raffle__sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.pp-fo { position: absolute; display: grid; place-items: center; color: #fff; opacity: .34; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.pp-fo .glyph { width: var(--s, 40px); height: var(--s, 40px); stroke-width: 1.5; animation: pp-sway var(--d, 9s) var(--pp-ease) infinite alternate; animation-delay: var(--dl, 0s); filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
@keyframes pp-sway { from { transform: translate(0, 0) rotate(var(--r0, -8deg)); } to { transform: translate(var(--dx, 10px), var(--dy, -14px)) rotate(var(--r1, 10deg)); } }
.pp-fo--1 { top: 12%; inset-inline-start: 4%; --s: 54px; --d: 11s; --r0: -18deg; --r1: -6deg; color: #FFE08A; }
.pp-fo--2 { top: 62%; inset-inline-start: 11%; --s: 30px; --d: 8s; --dl: -2s; --dx: -8px; --dy: -10px; color: #FF8AB3; }
.pp-fo--3 { top: 18%; inset-inline-start: 24%; --s: 26px; --d: 7s; --dl: -4s; --r0: 0deg; --r1: 40deg; color: #FFE08A; opacity: .42; }
.pp-fo--4 { top: 58%; inset-inline-start: 42%; --s: 44px; --d: 12s; --dl: -1s; --dx: 12px; --dy: -8px; --r0: 6deg; --r1: -8deg; }
.pp-fo--5 { top: 10%; inset-inline-start: 56%; --s: 34px; --d: 9s; --dl: -6s; --r0: 0deg; --r1: 25deg; color: #B2F0FF; }
.pp-fo--6 { top: 70%; inset-inline-start: 66%; --s: 48px; --d: 10s; --dl: -3s; --r0: 14deg; --r1: 26deg; --dx: -10px; color: #FFC247; }
.pp-fo--7 { top: 26%; inset-inline-start: 78%; --s: 28px; --d: 8.5s; --dl: -5s; --dx: 6px; --dy: -16px; color: #FF8AB3; opacity: .42; }
.pp-fo--8 { top: 74%; inset-inline-start: 88%; --s: 22px; --d: 7.5s; --dl: -2.5s; --r0: 0deg; --r1: 50deg; color: #FFE08A; }
.pp-fo--9 { top: 14%; inset-inline-start: 92%; --s: 42px; --d: 11s; --dl: -7s; --r0: -10deg; --r1: 8deg; color: #B2F0FF; }
.pp-fo--10 { top: 44%; inset-inline-start: 50%; --s: 18px; --d: 6.5s; --dl: -1.5s; --r0: 0deg; --r1: 60deg; color: #fff; opacity: .5; }
.pp-cf { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: var(--c, #FFC247); opacity: .7; animation: pp-confetti var(--d, 9s) linear infinite; animation-delay: var(--dl, 0s); transform: translate3d(0, calc(var(--py, 0px) * .6), 0); }
@keyframes pp-confetti { 0% { translate: 0 -10px; rotate: 0deg; opacity: 0; } 15% { opacity: .6; } 100% { translate: var(--dx, 20px) 110px; rotate: 300deg; opacity: 0; } }
.pp-cf--1 { top: 10%; inset-inline-start: 8%; --c: #FFC247; --d: 9s; } .pp-cf--2 { top: 20%; inset-inline-start: 18%; --c: #3DDCFF; --d: 11s; --dl: -3s; --dx: -24px; width: 6px; height: 10px; }
.pp-cf--3 { top: 5%; inset-inline-start: 31%; --c: #FF8AB3; --d: 10s; --dl: -6s; } .pp-cf--4 { top: 30%; inset-inline-start: 38%; --c: #fff; --d: 8s; --dl: -1s; width: 5px; height: 5px; border-radius: 50%; }
.pp-cf--5 { top: 8%; inset-inline-start: 47%; --c: #FFE08A; --d: 12s; --dl: -4s; --dx: -16px; } .pp-cf--6 { top: 24%; inset-inline-start: 61%; --c: #3DDCFF; --d: 9.5s; --dl: -7s; width: 10px; height: 6px; }
.pp-cf--7 { top: 2%; inset-inline-start: 70%; --c: #FF8AB3; --d: 10.5s; --dl: -2s; --dx: 30px; } .pp-cf--8 { top: 16%; inset-inline-start: 83%; --c: #FFC247; --d: 8.5s; --dl: -5s; }
.pp-cf--9 { top: 36%; inset-inline-start: 95%; --c: #fff; --d: 11.5s; --dl: -8s; width: 5px; height: 5px; border-radius: 50%; } .pp-cf--10 { top: 48%; inset-inline-start: 3%; --c: #3DDCFF; --d: 9s; --dl: -3.5s; --dx: 26px; }
.pp-cf--11 { top: 40%; inset-inline-start: 27%; --c: #FFE08A; --d: 10s; --dl: -9s; width: 6px; height: 10px; } .pp-cf--12 { top: 44%; inset-inline-start: 56%; --c: #FF8AB3; --d: 12s; --dl: -4.5s; --dx: -30px; }
.pp-cf--13 { top: 38%; inset-inline-start: 74%; --c: #fff; --d: 8s; --dl: -6.5s; width: 5px; height: 5px; border-radius: 50%; } .pp-cf--14 { top: 46%; inset-inline-start: 88%; --c: #FFC247; --d: 9.5s; --dl: -1.5s; }

/* ---------- real photos ------------------------------------------------------------------------------------------- */
.pp-real { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pp-real h2 { font-size: clamp(30px, 3.6vw, 44px); }
.pp-checks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; }
.pp-checks li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--pp-ink-2); }
.pp-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pp-shot { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pp-shot__card { aspect-ratio: 3 / 4; border-radius: var(--pp-r-lg); overflow: hidden; border: 4px solid var(--pp-card); box-shadow: var(--pp-shadow-2); background: var(--pp-indigo); transition: transform var(--pp-t-fast); }
.pp-shot:hover .pp-shot__card { transform: translateY(-6px) rotate(-1deg); }
.pp-shot--pink .pp-shot__card { outline: 2px solid rgba(255,61,129,.5); outline-offset: 2px; } .pp-shot--violet .pp-shot__card { outline: 2px solid rgba(139,92,246,.5); outline-offset: 2px; } .pp-shot--cyan .pp-shot__card { outline: 2px solid rgba(61,220,255,.6); outline-offset: 2px; }
.pp-shot__card .ss { display: block; width: 100%; height: 100%; }
.pp-shot figcaption { display: grid; gap: 2px; text-align: center; } .pp-shot figcaption strong { font-size: 15px; font-weight: 800; } .pp-shot figcaption small { font-size: 12.5px; color: var(--pp-muted); }

/* ---------- FAQ ---------------------------------------------------------------------------------------------------- */
.pp-faq__list { display: grid; gap: 10px; }
.pp-qa { border-radius: var(--pp-r-lg); background: var(--pp-card); border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow-1); overflow: hidden; transition: border-color var(--pp-t-fast), box-shadow var(--pp-t-fast); }
.pp-qa[open] { border-color: rgba(139,92,246,.4); box-shadow: var(--pp-shadow-2); }
.pp-qa summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 700; }
.pp-qa summary::-webkit-details-marker { display: none; }
.pp-qa__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; font-family: var(--pp-head); font-weight: 800; font-size: 14px; flex: none; }
.pp-qa__q { flex: 1; font-size: 16.5px; }
.pp-qa__plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pp-bg-2); color: var(--pp-ink-2); transition: transform var(--pp-t-fast), background-color var(--pp-t-fast); } .pp-qa__plus .glyph { width: 16px; height: 16px; }
.pp-qa[open] .pp-qa__plus { transform: rotate(180deg); background: var(--pp-violet); color: #fff; }
.pp-qa__body { padding: 0 18px 18px calc(18px + 34px + 14px); } [dir="rtl"] .pp-qa__body { padding: 0 calc(18px + 34px + 14px) 18px 18px; }
.pp-qa__body p { margin: 0; color: var(--pp-muted); line-height: 1.75; }

/* ---------- sponsors (shared partial) ------------------------------------------------------------------------ */
body.pp .spn { background: var(--pp-bg-2); border-top: 1px solid var(--pp-line); }
body.pp .spn__kicker { color: var(--pp-violet); font-weight: 800; font-size: 12.5px; }
body.pp .spn h2 { color: var(--pp-ink); font-family: var(--pp-head); }
body.pp .spn__card { background: var(--pp-card) !important; border: 1px solid var(--pp-line) !important; border-radius: var(--pp-r-lg) !important; }

/* ---------- final CTA: full-width band, one-line title, shifting gradient (indigo → magenta → coral → cyan, 14s) + grain ---- */
.pp-cta { padding-top: 0; }
.pp-cta__band { position: relative; padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px); border-radius: var(--pp-r-lg); color: #fff; text-align: center; overflow: hidden; isolation: isolate; box-shadow: var(--pp-shadow-3);
  background: linear-gradient(115deg, #1B1240 0%, #4C1D95 18%, #FF3D81 38%, #FF7A45 55%, #3DDCFF 78%, #1B1240 100%); background-size: 300% 300%; background-position: 0% 50%; animation: pp-shift 14s ease-in-out infinite alternate; }
@keyframes pp-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.pp-cta__band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,18,64,.14), rgba(27,18,64,.38)); pointer-events: none; z-index: 0; }
.pp-cta__grain { position: absolute; inset: 0; z-index: 0; opacity: .14; mix-blend-mode: soft-light; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .8 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px 160px; }
.pp-cta__band > * { position: relative; z-index: 1; }
.pp-cta__band .pp-eyebrow--light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.26); }
.pp-cta__band h2 { color: #fff; font-size: clamp(26px, 3.1vw, 44px); letter-spacing: -.025em; line-height: 1.15; max-width: none; margin-inline: auto; white-space: nowrap; text-shadow: 0 6px 30px rgba(0,0,0,.25); }
[dir="rtl"] .pp-cta__band h2 { letter-spacing: 0; font-size: clamp(26px, 2.9vw, 42px); }
.pp-cta__lead { margin: 14px auto 0; max-width: 56ch; color: rgba(255,255,255,.88); font-size: 16.5px; }
.pp-cta__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.pp-cta__band .pp-note { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); }

/* ---------- footer: brand · 3 wide link columns · IPN TV picture box (first stage slide) + visitors / install · plain base --- */
.pp-foot { position: relative; margin-top: auto; background: linear-gradient(180deg, #1B1240, #120C2E); color: rgba(255,255,255,.72); overflow: hidden; }
.pp-foot__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.pp-foot__glow--a { width: 560px; height: 560px; inset-inline-start: -200px; top: -260px; background: #8B5CF6; } .pp-foot__glow--b { width: 480px; height: 480px; inset-inline-end: -180px; bottom: -220px; background: #FF3D81; }
.pp-foot > .container { position: relative; }
body.pp .pp-foot__wrap { max-width: 1440px; }
.pp-foot__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr) minmax(0, 1fr) minmax(0, .9fr) minmax(340px, 1.45fr); gap: 36px 32px; padding: 72px 0 44px; }
.pp-foot__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pp-foot .brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; } .pp-foot .brand img, .pp-foot .brand__mark { width: 44px; height: 44px; } .pp-foot .brand__mark { border-radius: 14px; } .pp-foot .brand__name { display: block; font-family: var(--pp-head); font-weight: 800; font-size: 19px; } .pp-foot .brand__sub { display: block; color: rgba(255,255,255,.6); font-size: 12px; }
.pp-foot__brand p { margin: 0; font-size: 14.5px; line-height: 1.75; max-width: 36ch; }
.pp-foot__social { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-soc { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: transform var(--pp-t-fast), background-color var(--pp-t-fast); } .pp-soc .glyph { width: 17px; height: 17px; }
.pp-soc:hover { transform: translateY(-3px); } .pp-soc--youtube:hover { background: #FF0033; } .pp-soc--instagram:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); } .pp-soc--facebook:hover { background: #1877F2; } .pp-soc--x:hover { background: #000; } .pp-soc--telegram:hover { background: #229ED9; } .pp-soc--tiktok:hover { background: #010101; }
.pp-foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.pp-foot__col h2 { margin: 0 0 8px; color: #fff; font-size: 14px; font-weight: 800; white-space: normal; }
.pp-foot__col a { display: flex; align-items: flex-start; gap: 9px; max-width: 100%; color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.45; text-decoration: none; white-space: normal; overflow: visible; text-overflow: clip; transition: color var(--pp-t-fast), transform var(--pp-t-fast); }
.pp-foot__col a > span { min-width: 0; overflow-wrap: anywhere; }
.pp-foot__col a .glyph { width: 15px; height: 15px; margin-top: .25em; color: var(--pp-cyan); } .pp-foot__col:nth-child(3) a .glyph { color: var(--pp-amber); } .pp-foot__col:nth-child(4) a .glyph { color: var(--pp-pink); }
.pp-foot__col a:hover { color: #fff; transform: translateX(3px); } [dir="rtl"] .pp-foot__col a:hover { transform: translateX(-3px); }
/* the IPN TV box = IPN's footer contest box (.ftr__sh--pic): 16:9, 14px corners, picture + veil + caption overlay */
.pp-foot__col--tv { gap: 14px; }
.pp-foot__tv { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; width: 100%; max-width: 480px; aspect-ratio: 16 / 9; padding: 18px; border-radius: 14px; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.16); background: radial-gradient(120% 120% at 100% 0%, #3B1D52, #170C25); box-shadow: var(--pp-shadow-3); text-decoration: none; color: #fff; transition: transform .25s var(--pp-ease), box-shadow .25s, border-color .25s; }
.pp-foot__tv:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,61,129,.18); border-color: rgba(255,255,255,.3); }
.pp-foot__tv .ftr__sh-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform .8s var(--pp-ease); }
.pp-foot__tv:hover .ftr__sh-img { transform: scale(1.05); }
.pp-foot__tv .ftr__sh-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,12,37,.1) 0%, rgba(23,12,37,.5) 45%, rgba(14,8,23,.95) 100%); }
.pp-foot__tv-mark { position: absolute; top: 14px; inset-inline-start: 14px; display: grid; place-items: center; padding: 5px; border-radius: 10px; background: rgba(255,255,255,.92); box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); } .pp-foot__tv-mark .ipnmark { height: 24px; font-size: 15px; }
.pp-foot__tv-t { position: relative; display: flex; flex-direction: column; gap: 4px; }
.pp-foot__tv small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--pp-amber); } .pp-foot__tv small .glyph { width: 13px; height: 13px; }
.pp-foot__tv strong { font-family: var(--pp-head); font-size: 19px; font-weight: 800; line-height: 1.3; color: #fff; }
.pp-foot__tv em { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--pp-cyan); } .pp-foot__tv em .glyph { width: 14px; height: 14px; transition: transform .25s var(--pp-ease); }
.pp-foot__tv:hover em .glyph { transform: translateX(3px); } [dir="rtl"] .pp-foot__tv:hover em .glyph { transform: translateX(-3px); }
.pp-foot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.65); }
.pp-foot__meta p { margin: 0; }
.pp-foot__counter { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); } .pp-foot__counter b { color: #fff; font-variant-numeric: tabular-nums; } .pp-foot__counter .glyph { width: 14px; height: 14px; color: var(--pp-cyan); }
.pp-foot__install { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background-color var(--pp-t-fast); } .pp-foot__install:hover { background: rgba(255,255,255,.1); } .pp-foot__install .glyph { width: 14px; height: 14px; color: var(--pp-amber); }
.pp-foot__base { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 18px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.55); }
.pp-foot__base p { margin: 0; display: inline-flex; align-items: center; gap: 6px; } .pp-foot__base .glyph { width: 14px; height: 14px; color: var(--pp-pink); }
.pp-foot__ver { color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; } .pp-foot__ver .glyph { color: rgba(255,255,255,.45); } .pp-foot__ver b { color: rgba(255,255,255,.8); font-weight: 700; }
/* back to top = IPN's component (totop.js draws the ring); tokens from the §0 contract */
body.pp .totop { position: fixed; inset-inline-end: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 30px -14px rgba(0,0,0,.4); text-decoration: none; opacity: 0; transform: translateY(8px); transition: opacity .2s ease-out, transform .2s ease-out, background-color .2s ease-out; }
body.pp .totop.is-on { opacity: 1; transform: none; }
body.pp .totop:hover { transform: translateY(-2px); background: var(--sunk); }
body.pp .totop:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
body.pp .totop .ic { width: 20px; height: 20px; position: relative; z-index: 1; }
body.pp .totop__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
body.pp .totop__track { stroke: var(--line); stroke-width: 2.5; }
body.pp .totop__bar { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
html[dir="rtl"] body.pp .totop__ring { transform: rotate(-90deg) scale(1, -1); }
/* R5 · phones: IPN's footer arrangement — centred brand, a 2×2 tile grid, folding link groups (.is-acc / .is-open,
   switched on by prime-public.js, same behaviour as IPN's extras.js), then the IPN TV box and a plain base. */
body.pp .pp-foot__quick { display: none; }
@media (max-width: 760px) {
  body.pp .pp-foot__top { grid-template-columns: 1fr; gap: 14px; padding: 34px 0 14px; }
  body.pp .pp-foot__brand { align-items: center; text-align: center; gap: 12px; }
  body.pp .pp-foot__brand p { margin-inline: auto; max-width: 34ch; font-size: 14px; }
  body.pp .pp-foot__social { justify-content: center; }
  body.pp .pp-foot__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  body.pp .pp-foot__quick .fq { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 10px; border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: #fff;
    font: 800 13.5px/1.25 var(--pp-sans); text-align: start; text-decoration: none; cursor: pointer; transition: background-color .2s ease-out, transform .15s ease-out; }
  body.pp .pp-foot__quick .fq[hidden] { display: none; }
  body.pp .pp-foot__quick .fq span { min-width: 0; overflow-wrap: anywhere; }
  body.pp .pp-foot__quick .fq:active { transform: scale(.97); background: rgba(255, 255, 255, .12); }
  body.pp .pp-foot__quick .nv { width: 36px; height: 36px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: color-mix(in srgb, var(--nv) 72%, #fff); }
  body.pp .pp-foot__quick .nv--apply { --nv: #FF3D81; } body.pp .pp-foot__quick .nv--install { --nv: #22C55E; }
  body.pp .pp-foot__quick .fq--event { background: linear-gradient(135deg, rgba(255, 46, 147, .3), rgba(124, 58, 237, .25)); border-color: rgba(255, 46, 147, .35); }
  body.pp .pp-foot__quick .fq--install { background: linear-gradient(135deg, rgba(34, 197, 94, .22), rgba(14, 165, 233, .15)); border-color: rgba(34, 197, 94, .35); }
  /* folding link groups */
  body.pp .pp-foot__col.is-acc { gap: 0; align-items: stretch; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: rgba(255, 255, 255, .05); }
  body.pp .pp-foot__col.is-acc > h2 { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 15px 0; font-size: 15px; cursor: pointer; }
  /* the caret is a rotated square corner: it must stay a DOWN chevron in both directions, so the two borders are
     physical on purpose (logical ones flip it to "‹" in RTL). Same rule as IPN's .ftr__col.is-acc in extras.css. */
  body.pp .pp-foot__col.is-acc > h2::after { content: ""; width: 8px; height: 8px; margin-inline-end: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); opacity: .7; transition: transform .3s var(--pp-ease); }
  body.pp .pp-foot__col.is-acc.is-open { padding-bottom: 8px; background: rgba(255, 255, 255, .08); }
  body.pp .pp-foot__col.is-acc.is-open > h2::after { transform: rotate(225deg); }
  body.pp .pp-foot__col.is-acc > a { display: none; padding: 10px 6px; border-radius: 12px; }
  body.pp .pp-foot__col.is-acc.is-open > a { display: flex; }
  body.pp .pp-foot__col.is-acc > a:active { background: rgba(255, 255, 255, .1); }
  body.pp .pp-foot__col--tv { gap: 12px; align-items: center; }
  body.pp .pp-foot__meta { justify-content: center; }
  body.pp .pp-foot__base { flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 12px; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.pp .pp-foot__base p { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  body.pp .pp-foot__col.is-acc > h2::after, body.pp .pp-foot__quick .fq { transition: none; }
}

/* ---------- page head (contestants) + filter bar + list ---------------------------------------------------------- */
.pp-pagehead { position: relative; padding: calc(var(--pp-hdr) * 0 + clamp(44px, 6vw, 80px)) 0 clamp(40px, 5vw, 64px); background: linear-gradient(135deg, #1B1240, #2A1B5E 60%, #3A2A7A); color: #fff; overflow: hidden; }
.pp-pagehead__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.pp-pagehead__glow--a { width: 420px; height: 420px; inset-inline-start: -120px; top: -200px; background: #FF3D81; } .pp-pagehead__glow--b { width: 380px; height: 380px; inset-inline-end: -120px; bottom: -220px; background: #3DDCFF; }
.pp-pagehead__in { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pp-pagehead h1 { color: #fff; font-size: clamp(36px, 5vw, 64px); }
.pp-pagehead .pp-head__lead { color: rgba(255,255,255,.8); }
.pp-pagehead__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; } [dir="rtl"] .pp-pagehead__side { align-items: flex-start; }
.pp-pagehead__side .pp-muted { color: rgba(255,255,255,.65); }
.pp-pagehead__n { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-weight: 800; font-size: 14px; } .pp-pagehead__n .glyph { width: 16px; height: 16px; color: var(--pp-amber); }
.pp-filter { position: sticky; top: var(--pp-hdr); z-index: 40; background: color-mix(in srgb, var(--pp-bg) 85%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--pp-line); }
.pp-filter__in { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 12px; }
.pp-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; padding: 2px; }
.pp-pills::-webkit-scrollbar { display: none; }
.pp-pills a { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--pp-line); background: var(--pp-card); color: var(--pp-ink-2); font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color var(--pp-t-fast), color var(--pp-t-fast), border-color var(--pp-t-fast); }
.pp-pills a .glyph { width: 15px; height: 15px; margin-inline-end: 4px; }
.pp-pills a:hover { border-color: var(--pp-violet); color: var(--pp-ink); }
.pp-pills a[aria-current="true"] { background: var(--pp-indigo); border-color: var(--pp-indigo); color: #fff; }
html[data-mode="dark"] body.pp .pp-pills a[aria-current="true"] { background: var(--pp-violet); border-color: var(--pp-violet); }
.pp-filter__tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.pp-search, .pp-sort { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--pp-line); background: var(--pp-card); color: var(--pp-muted); }
.pp-search .glyph, .pp-sort .glyph { width: 16px; height: 16px; }
.pp-search input, .pp-sort select { border: 0; background: transparent; color: var(--pp-ink); font: inherit; font-size: 14px; outline: none; min-width: 0; }
.pp-sort select { background-color: var(--pp-card); border-radius: 8px; padding-inline-end: 4px; cursor: pointer; } .pp-sort select option { background: var(--pp-card); color: var(--pp-ink); }
.pp-search input { width: 180px; } .pp-search input::placeholder { color: var(--pp-faint); }
.pp-filter__n { font-size: 12.5px; font-weight: 700; color: var(--pp-muted); white-space: nowrap; }
.pp-list { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.pp-empty { display: grid; justify-items: center; gap: 12px; padding: clamp(40px, 6vw, 80px) 20px; text-align: center; color: var(--pp-muted); }
.pp-empty h3 { font-size: 24px; color: var(--pp-ink); } .pp-empty p { margin: 0; max-width: 46ch; }
.pp-empty--inline { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 32px; margin: 0; } .pp-empty--inline .glyph { width: 20px; height: 20px; }

/* ---------- contestant profile ----------------------------------------------------------------------------------- */
.pp-pro { padding-block: 20px clamp(56px, 7vw, 96px); }
.pp-crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; font-weight: 600; color: var(--pp-muted); }
.pp-crumbs a { text-decoration: none; color: var(--pp-muted); } .pp-crumbs a:hover { color: var(--pp-violet); } .pp-crumbs .glyph { width: 13px; height: 13px; } .pp-crumbs span { color: var(--pp-ink); }
.pp-pro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .85fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.pp-pro__main { display: grid; gap: 22px; min-width: 0; }
.pp-gallery { margin: 0; display: grid; gap: 12px; }
.pp-gallery__stage { position: relative; aspect-ratio: 4 / 5; max-height: 78vh; border-radius: var(--pp-r-xl); overflow: hidden; background: linear-gradient(160deg, rgba(139,92,246,.14), var(--pp-bg-2)); box-shadow: var(--pp-shadow-2); }
.pp-gallery__main { display: block; width: 100%; height: 100%; } .pp-gallery__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; transition: opacity var(--pp-t-fast); } .pp-gallery__main img.is-switching { opacity: .4; }
.pp-gallery__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pp-faint); } .pp-gallery__empty .glyph { width: 90px; height: 90px; stroke-width: 1; }
.pp-gallery__crown { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: linear-gradient(135deg, #FFB020, #FFD86B); color: #3A2A00; font-weight: 800; font-size: 13px; box-shadow: var(--pp-shadow-2); } .pp-gallery__crown .glyph { width: 15px; height: 15px; }
.pp-gallery__thumbs { display: flex; gap: 10px; }
.pp-gallery__th { position: relative; width: 92px; aspect-ratio: 4 / 5; padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; background: var(--pp-bg-2); cursor: pointer; transition: border-color var(--pp-t-fast), transform var(--pp-t-fast); }
.pp-gallery__th img { width: 100%; height: 100%; object-fit: cover; display: block; } .pp-gallery__th span { position: absolute; inset: auto 0 0; padding: 4px 6px; background: linear-gradient(0deg, rgba(27,18,64,.85), transparent); color: #fff; font-size: 10.5px; font-weight: 700; text-align: center; }
.pp-gallery__th:hover { transform: translateY(-2px); } .pp-gallery__th.is-on { border-color: var(--pp-pink); }
.pp-panel { --tone: var(--pp-violet); --tone-soft: rgba(139,92,246,.12); position: relative; padding: 22px 24px; border-radius: var(--pp-r-lg); background: var(--pp-card); border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow-1); }
.pp-panel--pink { --tone: var(--pp-pink); --tone-soft: rgba(255,61,129,.12); } .pp-panel--coral { --tone: var(--pp-coral); --tone-soft: rgba(255,122,69,.14); } .pp-panel--amber { --tone: #E09B00; --tone-soft: rgba(255,194,71,.2); } .pp-panel--cyan { --tone: #0EA5C9; --tone-soft: rgba(61,220,255,.18); } .pp-panel--green { --tone: #059669; --tone-soft: rgba(52,211,153,.16); }
.pp-panel h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 19px; }
.pp-panel__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--tone-soft); color: var(--tone); flex: none; } .pp-panel__ic .glyph { width: 18px; height: 18px; }
.pp-panel p { margin: 0; color: var(--pp-ink-2); line-height: 1.8; }
.pp-pro__secs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .pp-panel--wide { grid-column: 1 / -1; }
.pp-glance { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0; }
.pp-glance > div { display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; background: var(--pp-bg-2); }
.pp-glance dt { display: flex; align-items: center; gap: 8px; margin: 0; } .pp-glance dd { margin: 0; font-weight: 700; font-size: 15px; }
.pp-journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-journey li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--pp-bg-2); }
.pp-journey__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pp-line-2); color: var(--pp-ink); flex: none; } .pp-journey__dot .glyph { width: 15px; height: 15px; }
.pp-journey .is-done .pp-journey__dot { background: linear-gradient(135deg, #22C55E, #34D3C8); color: #fff; } .pp-journey .is-now .pp-journey__dot { background: var(--pp-grad); color: #fff; } .pp-journey .is-out .pp-journey__dot { background: rgba(255,61,129,.15); color: var(--pp-pink); }
.pp-journey li div { display: grid; } .pp-journey li strong { font-size: 14.5px; } .pp-journey li span { font-size: 12.5px; color: var(--pp-muted); }
.pp-pro__side { position: sticky; top: calc(var(--pp-hdr) + 16px); display: grid; gap: 16px; }
.pp-pro__head { padding: 24px; border-radius: var(--pp-r-xl); background: var(--pp-card); border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow-1); }
.pp-pro__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pp-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--pp-bg-2); border: 1px solid var(--pp-line); font-size: 12.5px; font-weight: 700; color: var(--pp-ink-2); } .pp-tag .glyph { width: 14px; height: 14px; }
.pp-tag--grad { background: var(--pp-grad); border-color: transparent; color: #fff; }
.pp-pro__name { font-size: clamp(32px, 3.6vw, 44px); }
.pp-pro__stats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.pp-pro__stats li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--pp-bg-2); }
.pp-pro__stats b { font-size: 20px; font-weight: 800; } .pp-pro__stats span { font-size: 11.5px; }
.pp-pro__quote { position: relative; margin: 18px 0 0; padding: 14px 16px 14px 44px; border-radius: 16px; background: rgba(255,194,71,.14); color: var(--pp-ink-2); font-style: italic; } [dir="rtl"] .pp-pro__quote { padding: 14px 44px 14px 16px; }
.pp-pro__quote .glyph { position: absolute; top: 14px; inset-inline-start: 14px; width: 20px; height: 20px; color: #E09B00; }
.pp-pro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; } .pp-pro__actions .pp-btn, .pp-pro__actions .btn { flex: 1 1 auto; }
.pp-pro__social { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .pp-pro__social > span { margin-inline-end: 6px; }
.pp-pro__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pp-bg-2); border: 1px solid var(--pp-line); color: var(--pp-ink); transition: transform var(--pp-t-fast), background-color var(--pp-t-fast), color var(--pp-t-fast); } .pp-pro__social a .glyph { width: 16px; height: 16px; } .pp-pro__social a:hover { transform: translateY(-2px); background: var(--pp-violet); color: #fff; border-color: var(--pp-violet); }
/* vote card (markup from public/contestant.php; styles only) */
body.pp .pp-vote { position: relative; padding: 24px; border-radius: var(--pp-r-xl) !important; background: linear-gradient(135deg, #1B1240, #2A1B5E) !important; border: 1px solid rgba(255,255,255,.1) !important; box-shadow: var(--pp-shadow-2); color: #fff; overflow: hidden; }
body.pp .pp-vote::before { content: ""; position: absolute; width: 260px; height: 260px; inset-inline-end: -120px; top: -140px; border-radius: 50%; background: #FF3D81; filter: blur(60px); opacity: .45; pointer-events: none; }
body.pp .pp-vote.is-open { border-color: rgba(255,61,129,.5) !important; }
body.pp .pp-vote > * { position: relative; }
body.pp .pp-vote .vote-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
body.pp .pp-vote .vote-card__top strong { display: block; font-family: var(--pp-head); font-weight: 800; font-size: 24px; line-height: 1.1; color: #fff; }
body.pp .pp-vote .vote-card__top .small { display: block; margin-top: 6px; color: rgba(255,255,255,.7); }
body.pp .pp-vote .vote-card__n { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-family: var(--pp-head); font-weight: 800; font-size: 18px; line-height: 1; } body.pp .pp-vote .vote-card__n .glyph { color: var(--pp-pink); }
body.pp .pp-vote .small { font-size: 13.5px; } body.pp .pp-vote .muted { color: rgba(255,255,255,.7); } body.pp .pp-vote p { color: rgba(255,255,255,.88); }
body.pp .pp-vote .act-row { display: flex; flex-direction: column; gap: 8px; }
body.pp .pp-vote .btn--block { width: 100%; }
body.pp .pp-vote form { margin: 0; }
html.prime-ui body.pp .pp-vote .btn:not(.btn--gold):not(.btn--wa):not(.btn--primary) { background: rgba(255,255,255,.12) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.28) !important; }
body.pp .pp-vote .vote-card__done { display: flex; align-items: center; gap: 8px; color: #A7F3D0; font-weight: 700; }
body.pp .pp-vote .vote-card__hint { color: var(--pp-amber); font-weight: 700; }
body.pp .pp-vote .vote-card__raffle { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); font-size: 13px; text-decoration: none; } body.pp .pp-vote .vote-card__raffle .glyph { color: var(--pp-amber); }
body.pp .pp-vote .vote-card__selflink { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--pp-amber); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.pp-pro__jump { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--pp-bg-2); border: 1px solid var(--pp-line); }
.pp-pro__jump a { flex: 1 1 auto; text-align: center; padding: 9px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--pp-muted); text-decoration: none; transition: color var(--pp-t-fast), background-color var(--pp-t-fast); }
.pp-pro__jump a:hover { color: var(--pp-ink); background: var(--pp-card); }
.pp-others { margin-top: clamp(48px, 7vw, 96px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--pp-line); }
.pp-others .pp-head h2 { font-size: clamp(26px, 3vw, 36px); }
body.pp .pp-support .kit, body.pp .pp-support .share-kit { background: transparent !important; border: 0 !important; padding: 0 !important; }
/* R5 · "support me" network tabs: `body.pp .glyph {width:1.1em}` used to beat `.kit--compact .kit-tab__ico{width:30px}`,
   so every brand mark shrank to ~3px inside its 6px padding and looked empty. Size the chips here, and give the two
   black brands (X · TikTok) a readable colour on the night canvas. */
body.pp .kit-tabs { gap: 8px; }
body.pp .kit-tab { --net: var(--pp-violet); position: relative; min-height: 44px; }
body.pp .kit--compact .kit-tab { width: 44px; }
body.pp .kit-tab__ico, body.pp .kit--compact .kit-tab__ico { width: 34px; height: 34px; padding: 7px; border-radius: 11px;
  background: color-mix(in srgb, var(--net) 15%, transparent); color: var(--net); }
body.pp .kit-tab[aria-selected="true"] .kit-tab__ico { background: var(--net); color: #fff; box-shadow: 0 6px 16px -7px var(--net); }
html[data-mode="dark"] body.pp .kit-tab__ico { background: color-mix(in srgb, var(--net) 26%, transparent); }
body.pp .kit-tab--video .kit-tab__ico, html[data-mode="dark"] body.pp .kit-tab--video .kit-tab__ico { background: linear-gradient(135deg, #F6DE9C, #C99A3C); color: #2B1B05; }
/* X and TikTok are black marks: invert them at night so they stay visible */
html[data-mode="dark"] body.pp .kit-tab[data-net="x"] .kit-tab__ico,
html[data-mode="dark"] body.pp .kit-tab[data-net="tiktok"] .kit-tab__ico { color: #EEF1F8; background: rgba(255, 255, 255, .15); }
html[data-mode="dark"] body.pp .kit-tab[data-net="x"][aria-selected="true"] .kit-tab__ico,
html[data-mode="dark"] body.pp .kit-tab[data-net="tiktok"][aria-selected="true"] .kit-tab__ico { background: #F2F4FA; color: #10131F; box-shadow: 0 6px 16px -7px rgba(255, 255, 255, .5); }
html[data-mode="dark"] body.pp .kit-tab[data-net="x"][aria-selected="true"],
html[data-mode="dark"] body.pp .kit-tab[data-net="tiktok"][aria-selected="true"] { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
body.pp .lightbox { background: rgba(18,12,46,.94); }

/* ---------- phone bottom navigation = IPN TV's bottom bar (R6 · B4) -----------------------------------------------
   Copied from /home/claude/src/ipn/assets/css/extras.css (".tabbar") and site.d/design.css, on the contest tokens:
   the same 66px grid of five pinned 10px from the edges, the same 22px radius and saturated surface, the same
   coloured `.nv` chips (16% tint when the tab is current), the same raised 58px `.tabbar__fab` lifted −22px with a
   5px ring in the bar's own colour and the same crimson gradient. Only the destinations are the contest's own.
   The markup lives in app/views/partials/app_tabbar.php; `.app-tabs` below is the legacy theme's bar. */
body.pp .tabbar { display: none; }
@media (max-width: 760px) {
  body.pp .tabbar { position: fixed; z-index: 75; inset-inline: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: 66px; padding: 0 4px;
    border-radius: 22px; background: color-mix(in srgb, var(--paper) 86%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
    box-shadow: 0 18px 40px -18px rgba(8,12,30,.55), inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
  body.pp .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; min-width: 0; color: var(--ink-2); font-size: 10.5px; font-weight: 800; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  body.pp .tabbar a span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* The chips are IPN's, down to the cascade: by day only the CURRENT tab is tinted and every other icon shows its own
     `--nv` colour on a clear chip; at night IPN's `html[data-mode="dark"] .nv` tint covers the whole row and the current
     tab is the one with the full-strength colour. Written out explicitly so it cannot drift with the cascade. */
  html body.pp .tabbar .nv { position: relative; width: 34px; height: 30px; border-radius: 10px; background: transparent; color: var(--nv); box-shadow: none; }
  html[data-mode="dark"] body.pp .tabbar .nv { background: color-mix(in srgb, var(--nv) 22%, transparent); color: color-mix(in srgb, var(--nv) 70%, #fff); }
  html body.pp .tabbar .nv .ic { width: 21px; height: 21px; }
  body.pp .tabbar a[aria-current="page"] { color: var(--ink); }
  html body.pp .tabbar a[aria-current="page"] .nv, html[data-mode="dark"] body.pp .tabbar a[aria-current="page"] .nv { background: color-mix(in srgb, var(--nv) 16%, transparent); color: var(--nv); box-shadow: none; }
  body.pp .tabbar a:active .nv { transform: scale(.88); }
  body.pp .tabbar a:focus-visible { outline: 2px solid var(--pp-violet); outline-offset: -3px; border-radius: 14px; }
  /* the "me" tab shows the member's photo: a ring instead of a chip, so the picture is never boxed in */
  html body.pp .tabbar .nv:has(.tabbar__av), html[data-mode="dark"] body.pp .tabbar .nv:has(.tabbar__av),
  html body.pp .tabbar a[aria-current="page"] .nv:has(.tabbar__av) { background: transparent; }
  body.pp .tabbar__av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px color-mix(in srgb, var(--nv) 55%, transparent); }
  body.pp .tabbar__live { position: relative; justify-content: flex-end !important; padding-bottom: 9px; }
  body.pp .tabbar__fab { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff;
    background: linear-gradient(140deg, #FF4D6D, #E11D48 55%, #9F1239); box-shadow: 0 12px 26px -8px rgba(225,29,72,.85), 0 0 0 5px var(--paper); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  body.pp .tabbar__fab .ic { width: 26px; height: 26px; }
  body.pp .tabbar__live:active .tabbar__fab { transform: translateX(-50%) scale(.92); }
  body.pp .tabbar__live[aria-current="page"] { color: #E11D48; }
  body.pp .tabbar__live[aria-current="page"] .tabbar__fab::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #FF4D6D; animation: tab-ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
  html[data-mode="dark"] body.pp .tabbar { background: rgba(22,15,51,.86); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
  html[data-mode="dark"] body.pp .tabbar__fab { box-shadow: 0 12px 26px -8px rgba(225,29,72,.85), 0 0 0 5px #160F33 !important; }
  /* no body padding here — the prime footer already reserves the bar's height in `.pp-foot__base`, and a padded body
     would show a white strip under the indigo footer. */
}
@keyframes tab-ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { body.pp .tabbar__live[aria-current="page"] .tabbar__fab::after { animation: none !important; } }
/* legacy (golestan) bar */
body.pp .app-tabs { background: color-mix(in srgb, var(--pp-card) 92%, transparent) !important; border: 1px solid var(--pp-line) !important; box-shadow: var(--pp-shadow-2) !important; border-radius: 24px !important; }
body.pp .app-tabs a { color: var(--pp-muted); } body.pp .app-tabs a[aria-current="page"] { color: var(--pp-violet); }
body.pp .app-tabs__main { color: var(--pp-pink) !important; }
body.pp .app-tabs__fab { border-radius: 50%; background: var(--pp-grad); box-shadow: 0 10px 22px -8px rgba(255,61,129,.8), 0 0 0 4px var(--pp-bg); color: #fff; }
body.pp .app-tabs__av { box-shadow: 0 0 0 2px var(--pp-bg), 0 0 0 4px var(--pp-violet); }

/* ---------- motion ------------------------------------------------------------------------------------------------- */
@keyframes pp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  .pp-slide.is-active .pp-slide__pic img, .pp-scroll, .pp-live__dot, .pp-pill i, .pp-kicker__state i, .pp-strip__bar i, .pp-dots i, .hdr__dot, .pp-obj, .pp-cat__dot, .pp-stat:hover::after, .pp-fo .glyph, .pp-cf, .raffle__art .raffle__ticket, .raffle__art .raffle__gift, .pp-cta__band, body.pp .hdr__sh::after, .nv .ic, .hdr__sh-ic { animation: none !important; }
  .pp-slide, .pp-slide__cap > .pp-slide__in > *, .nv, body.pp .hdr__sh, .totop, .totop__bar, .pp-stat, .pp-cat, .pp-step { transition: none !important; }
  .pp-fo, .pp-cf { transform: none !important; }
  .pp-cta__band { background-position: 50% 50%; }
  /* R6 · the new solid slider / drawer / tab-bar controls keep their colour changes but stop moving */
  .pp-hero__btn, .pp-strip__it, .pp-scroll, body.pp .pp-drawer .drawer__social a, body.pp .tabbar__fab, body.pp .tabbar .nv { transition: none !important; }
  .pp-hero__btn:hover, .pp-strip__it:hover, body.pp .pp-drawer .drawer__social a:hover { transform: none !important; }
  html.prime-ui.p-js body.pp .pp-rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ------------------------------------------------------------------------------------------- */
@media (max-width: 1560px) {
  body.pp .pp-hdr .brand__sub { display: none; } .pp-hdr__in { gap: 14px; } .pp-hdr .hdr__link { padding: 0 10px; } .pp-hdr .hdr__link::after { left: 10px; right: 10px; }
  /* account becomes avatar-only (IPN does the same once the row gets tight) */
  body.pp .umenu--hdr .umenu__name, body.pp .umenu--hdr .umenu__chev { display: none; } body.pp .umenu--hdr .umenu__btn { width: 40px; padding: 0; justify-content: center; }
  .pp-hdr .hipn__txt { display: none; } .pp-hdr .me-btn, html[dir="rtl"] .pp-hdr .me-btn { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 1400px) { .pp-hdr .hdr__link .nv { display: none; } }
@media (max-width: 1280px) {
  body.pp .hdr__sh > span { display: none; }   /* only the label — NOT the .ipnmark inside .hdr__sh-ic (it is a span too) */
  body.pp .hdr__sh, html[dir="rtl"] body.pp .hdr__sh { padding: 0 5px; width: 40px; justify-content: center; }
  body.pp .umenu--hdr .umenu__name, body.pp .umenu--hdr .umenu__chev { display: none; } body.pp .umenu--hdr .umenu__btn { width: 40px; padding: 0; justify-content: center; }
  .pp-hdr .hipn__txt { display: none; } .pp-hdr .me-btn, html[dir="rtl"] .pp-hdr .me-btn { width: 40px; padding: 0; justify-content: center; border-color: transparent; }
}
@media (max-width: 1180px) {
  .pp-sec { padding-block: 64px; } .pp-round--compact { padding-block: 48px; }
  body.pp .pp-hdr .hdr__nav { display: none; } body.pp .pp-hdr .hdr__burger { display: grid; margin-inline-start: -8px; }
  .pp-hdr__in { gap: 10px; }
  .pp-cats, .pp-grid { grid-template-columns: repeat(3, 1fr); }
  .pp-steps { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; } .pp-steps::before { display: none; }
  .pp-round__in { grid-template-columns: 1fr; }
  .pp-pro__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); }
  .pp-foot__top { grid-template-columns: 1fr 1fr 1fr; } .pp-foot__brand { grid-column: 1 / -1; } .pp-foot__col--tv { grid-column: 1 / -1; }
  .pp-cta__band h2 { white-space: normal; }
}
@media (max-width: 960px) {
  .pp-strip { display: none; } .pp-dots { display: flex; }
  /* the phone tab bar (ui.css, fixed, 64px + 10px) sits over the bottom of the slider: keep the arrows and the caption above it */
  .pp-hero__bar { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .pp-slide__cap { padding-bottom: 160px; }
  .pp-stats__in { grid-template-columns: repeat(2, 1fr); }
  .pp-real { grid-template-columns: 1fr; }
  .pp-pro__grid { grid-template-columns: 1fr; } .pp-pro__side { position: static; }
  .pp-foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  html.prime-ui body.pp { --pp-hdr: 60px; }
  /* R6 · B3 — phone header order: the AVATAR / user-menu button sits on the very LEFT EDGE of the row and every other
     tool is on the other side. Both groups are direct flex children of `.pp-hdr__in` (`display: contents` on the two
     wrappers), so a single `margin-inline-end: auto` on the burger splits the row; `order` does the rest and the DOM
     order never changes (screen readers and the desktop layout keep theirs).
       RTL (flex runs right → left):  brand · burger  …gap…  bell · day/night · language · live play · IPN|TV · avatar
                                      ↑ right edge                                                      ↑ LEFT edge
       LTR: the avatar is pulled out in front of the brand (order 0) so it still lands on the left edge, and the rest
       of the tools sit on the right. */
  body.pp .pp-hdr__in { gap: 6px; padding-inline: 10px; }
  body.pp .pp-hdr .brand { gap: 0; } body.pp .pp-hdr .brand > span { display: none; }
  body.pp .pp-hdr .brand img, body.pp .pp-hdr .brand__mark { width: 38px; height: 38px; }
  body.pp .pp-hdr .brand { order: 2; }
  body.pp .pp-hdr .hdr__burger { order: 3; margin-inline-start: 0; }
  body.pp .pp-hdr__right, body.pp .pp-hdr .htools { display: contents; }
  body.pp .pp-hdr .nt-bell { order: 4; }
  body.pp .pp-hdr .htool--mode { order: 5; display: grid; }
  body.pp .pp-hdr .hdr__lang { order: 6; display: inline-flex; }
  body.pp .pp-hdr .hdr-play { order: 7; }
  body.pp .pp-hdr .hdr__sh { order: 8; }
  body.pp .pp-hdr :is(.umenu, .me-btn, .hipn) { order: 9; flex: none; }
  /* the two auto margins are the whole trick (R6-SHARED (b)): in RTL the gap is made just before the avatar, so the
     tools stay packed against the brand; in LTR the avatar leads the row and the gap is made after the burger. */
  html[dir="rtl"] body.pp .pp-hdr :is(.umenu, .me-btn, .hipn) { margin-inline-start: auto; }
  html[dir="ltr"] body.pp .pp-hdr :is(.umenu, .me-btn, .hipn) { order: 0; margin-inline: 0 4px; }
  html[dir="ltr"] body.pp .pp-hdr .hdr__burger { margin-inline-end: auto; }
  /* …and in LTR the avatar's sheet has to open from the left edge it now sits on, not off the screen */
  html[dir="ltr"] body.pp .pp-hdr .umenu__pop, html[dir="ltr"] body.pp .pp-hdr .umenu__panel { inset-inline-start: 0; inset-inline-end: auto; }
  body.pp .pp-hdr :is(.hdr__icon, .hdr__burger) { width: 38px; height: 38px; }
  body.pp .pp-hdr .nt-bell__btn, body.pp .pp-hdr .hdr-play, body.pp .pp-hdr .umenu__btn, body.pp .pp-hdr .me-btn { width: 38px; height: 38px; }
  body.pp .pp-hdr .lsw { --lsw-h: 32px; }
  body.pp .pp-hdr .umenu__av { width: 30px; height: 30px; }
  /* R6 · B2 — the round cross-site button stays in the phone row, as the IPN|TV mark only */
  body.pp .pp-hdr .hdr__sh, html[dir="rtl"] body.pp .pp-hdr .hdr__sh { display: inline-flex; width: 38px; height: 38px; padding: 0; margin-inline: 0; justify-content: center; }
  body.pp .pp-hdr .hdr__sh > span { display: none; }
  .pp-hero { height: calc(100svh - var(--pp-hdr)); min-height: 0; }
  .pp-slide__cap { align-items: flex-end; padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  body.pp .pp-slide__title { font-size: clamp(36px, 11vw, 56px); } [dir="rtl"] body.pp .pp-slide__title { font-size: clamp(32px, 9.6vw, 48px); }
  .pp-slide__text { font-size: 15px; } .pp-slide__cta { gap: 8px; } body.pp .pp-slide__cta .pp-btn--lg { min-height: 48px; padding: 0 18px; font-size: 14px; }
  .pp-hero__bar { padding-bottom: calc(84px + env(safe-area-inset-bottom)); gap: 10px; } .pp-scroll { display: none; } .pp-hero__btn { width: 40px; height: 40px; }
  .pp-sec { padding-block: 48px; } .pp-round--compact { padding-block: 40px; }
  .pp-stats__in { gap: 10px; padding-block: 22px; } .pp-stat { min-height: 0; padding: 14px; gap: 13px; } .pp-stat__t b { font-size: 25px; } body.pp .pp-stat .pp-chip { --cs: 42px; --ci: 21px; } .pp-stat__t span { font-size: 12.5px; } body.pp .pp-stat__wm .glyph { width: 76px; height: 76px; }
  .pp-cats, .pp-grid--list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pp-grid--rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(-1 * var(--pp-gutter)); padding-inline: var(--pp-gutter); scrollbar-width: none; } .pp-grid--rail::-webkit-scrollbar { display: none; } .pp-grid--rail .pp-card { flex: 0 0 72%; scroll-snap-align: start; }
  .pp-cat { padding: 18px; } .pp-cat h3 { font-size: 18px; min-height: 0; } .pp-cat .cat-acts { flex-direction: column; } .pp-cat .cat-acts .btn--ghost { display: none; } .pp-obj--1 { --os: 52px; } .pp-obj--2 { --os: 40px; } .pp-obj--4, .pp-cat__dot--3 { display: none; }
  .pp-steps { grid-template-columns: 1fr 1fr; gap: 28px 10px; } .pp-step { padding: 30px 16px 18px; } .pp-step h3 { font-size: 16px; }
  .pp-steps > :last-child:nth-child(odd) { grid-column: span 2; }   /* a lone fifth step fills the row instead of leaving a hole */
  .pp-round__row { gap: 16px; } .pp-cd--inline { width: 100%; } .pp-cd__grid { width: 100%; gap: 6px; } .pp-cd__box { min-width: 0; flex: 1; padding: 8px 4px; } .pp-cd__box b { font-size: 22px; } .pp-round__cta { width: 100%; } .pp-round__cta .pp-btn { flex: 1 1 auto; }
  body.pp .raffle { padding-block: 48px; } .pp-fo--4, .pp-fo--7, .pp-fo--10 { display: none; }
  .pp-shots { grid-template-columns: repeat(3, 1fr); gap: 8px; } .pp-shot figcaption small { display: none; }
  .pp-qa summary { padding: 14px; gap: 10px; } .pp-qa__q { font-size: 15px; } .pp-qa__body { padding: 0 14px 14px; }
  .pp-cta__band { border-radius: var(--pp-r-lg); padding: 36px 20px; } .pp-cta__band h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .pp-foot__top { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; } .pp-foot__tv { max-width: none; }
  .pp-filter { top: var(--pp-hdr); } .pp-filter__tools { width: 100%; margin: 0; } .pp-search { flex: 1; } .pp-search input { width: 100%; } .pp-filter__n { display: none; }
  .pp-pro__secs { grid-template-columns: 1fr; } .pp-gallery__th { width: 72px; }
  .pp-foot__base { flex-direction: column; align-items: flex-start; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.pp .totop { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  /* R5 · the smallest phones (360) get IPN's ≤400px header sizes, so the row still has slack at 360 in fa and en */
  body.pp .pp-hdr__in { padding-inline: 8px; gap: 4px; }
  body.pp .pp-hdr .brand img, body.pp .pp-hdr .brand__mark { width: 34px; height: 34px; }
  body.pp .pp-hdr :is(.hdr__icon, .hdr__burger) { width: 34px; height: 34px; }
  body.pp .pp-hdr .nt-bell__btn, body.pp .pp-hdr .hdr-play, body.pp .pp-hdr .umenu__btn, body.pp .pp-hdr .me-btn { width: 34px; height: 34px; }
  body.pp .pp-hdr .hdr__sh, html[dir="rtl"] body.pp .pp-hdr .hdr__sh { width: 34px; height: 34px; }
  body.pp .pp-hdr .hdr-play--icon .hdr-play__ic .ic { width: 16px; height: 16px; }
  body.pp .pp-hdr .umenu__av { width: 28px; height: 28px; }
  body.pp .pp-hdr .lsw { --lsw-h: 30px; min-width: 56px; }
  .pp-cats { grid-template-columns: 1fr; } .pp-stats__in { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================================================================
   R6 (2.12) · engineer C — THE PAGE HERO (.pp-ph) · profile section tabs (.pp-tabs) · rich contestant cards (.pp-cx) ·
   the Persian islimi motif over the portraits (.pp-mo) · the "already seen" badge. Light + dark from the tokens only,
   RTL through logical properties, all motion stops under prefers-reduced-motion (end of this block).
   ===================================================================================================================== */

/* ---------- the page hero (partials/pagehead) — mirrors IPN's .ph* block, prefixed .pp-ph* ---------------------- */
.pp-ph {
  --ph-a: #6D5BD0; --ph-b: #FF3D81;
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(22px, 3vw, 40px) 0 clamp(26px, 3.4vw, 44px);
  background: linear-gradient(170deg, color-mix(in srgb, var(--ph-a) 9%, var(--pp-bg-2)) 0%, var(--pp-bg) 78%);
  border-bottom: 1px solid var(--pp-line);
}
.pp-ph--slim { padding: clamp(16px, 2.2vw, 28px) 0 clamp(18px, 2.4vw, 28px); }

/* background: two soft accent glows + a faint grid */
.pp-ph__glow { position: absolute; z-index: -3; display: block; border-radius: 50%; pointer-events: none; filter: blur(78px); opacity: .22; }
.pp-ph__glow--a { width: clamp(280px, 38vw, 520px); aspect-ratio: 1; inset-inline-end: -8%; top: -46%; background: radial-gradient(circle, color-mix(in srgb, var(--ph-a) 62%, transparent), transparent 66%); animation: pp-ph-drift 17s var(--pp-ease) infinite alternate; }
.pp-ph__glow--b { width: clamp(220px, 30vw, 420px); aspect-ratio: 1; inset-inline-start: -10%; bottom: -56%; background: radial-gradient(circle, color-mix(in srgb, var(--ph-b) 55%, transparent), transparent 66%); animation: pp-ph-drift 23s var(--pp-ease) infinite alternate-reverse; }
html[data-mode="dark"] body.pp .pp-ph__glow { opacity: .4; }
.pp-ph__grid { position: absolute; z-index: -3; display: block; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--pp-line) 1px, transparent 1px), linear-gradient(90deg, var(--pp-line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 78% 86% at 70% 0%, #000 10%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 86% at 70% 0%, #000 10%, transparent 100%);
}
@keyframes pp-ph-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-34px, 26px, 0) scale(1.1); } }

/* the page's own objects, drifting slowly — always on the far side of the text column */
.pp-ph__float { position: absolute; z-index: -2; display: block; inset-block: 0; inset-inline-end: 0; width: min(52%, 660px); pointer-events: none; }
.pp-ph__float i { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; font-style: normal;
  background: color-mix(in srgb, var(--ph-a) 13%, var(--pp-card)); border: 1px solid color-mix(in srgb, var(--ph-a) 34%, transparent);
  box-shadow: 0 10px 26px -16px color-mix(in srgb, var(--ph-a) 90%, transparent); color: var(--ph-a);
  opacity: 0; animation: pp-ph-float 11s var(--pp-ease) infinite alternate, pp-ph-pop .9s var(--pp-ease) forwards;
  animation-delay: calc(var(--i) * -1.45s), calc(var(--i) * 90ms); }
.pp-ph__float i .glyph { width: 23px; height: 23px; }
.pp-ph__float i:nth-child(2n) { color: var(--ph-b); border-color: color-mix(in srgb, var(--ph-b) 34%, transparent); background: color-mix(in srgb, var(--ph-b) 13%, var(--pp-card)); }
.pp-ph__float i:nth-child(1) { inset-inline-end: 5%;  top: 8%; }
.pp-ph__float i:nth-child(2) { inset-inline-end: 26%; top: 36%; width: 44px; height: 44px; border-radius: 14px; }
.pp-ph__float i:nth-child(3) { inset-inline-end: 44%; top: 6%;  width: 46px; height: 46px; border-radius: 15px; }
.pp-ph__float i:nth-child(4) { inset-inline-end: 14%; top: 58%; width: 48px; height: 48px; border-radius: 15px; }
.pp-ph__float i:nth-child(5) { inset-inline-end: 64%; top: 34%; width: 38px; height: 38px; border-radius: 12px; }
.pp-ph__float i:nth-child(6) { inset-inline-end: 38%; top: 70%; width: 40px; height: 40px; border-radius: 13px; }
.pp-ph__float i:nth-child(5) .glyph, .pp-ph__float i:nth-child(6) .glyph { width: 19px; height: 19px; }
@keyframes pp-ph-float { from { translate: 0 0; rotate: -4deg; } to { translate: 0 -16px; rotate: 5deg; } }
@keyframes pp-ph-pop { to { opacity: .9; } }

/* the scrim that guarantees the text contrast: opaque at the start edge, clear where the objects drift */
.pp-ph__veil { position: absolute; z-index: -1; display: block; inset: 0; pointer-events: none;
  background: linear-gradient(to var(--pp-to-end, right), color-mix(in srgb, var(--pp-bg) 78%, transparent) 0%, color-mix(in srgb, var(--pp-bg) 40%, transparent) 42%, transparent 66%); }
html.prime-ui body.pp { --pp-to-end: right; }
html[dir="rtl"].prime-ui body.pp { --pp-to-end: left; }

.pp-ph__in { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; }
.pp-ph__copy { min-width: 0; max-width: min(66ch, 100%); }
@media (min-width: 1000px) { .pp-ph__copy { max-width: min(66ch, 58%); } }
.pp-ph__crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--pp-muted); }
.pp-ph__crumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 4px; margin: 0; padding: 0; list-style: none; }
.pp-ph__crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.pp-ph__crumbs li + li::before { content: ""; width: 6px; height: 6px; margin-inline: 5px; border: solid var(--pp-faint); border-width: 1.5px 1.5px 0 0; rotate: 45deg; flex: none; }
[dir="rtl"] .pp-ph__crumbs li + li::before { rotate: -135deg; }
.pp-ph__crumbs a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; color: var(--pp-muted); text-decoration: none; transition: color var(--pp-t-fast), background-color var(--pp-t-fast); }
.pp-ph__crumbs a .glyph { width: 14px; height: 14px; }
.pp-ph__crumbs a:hover { color: var(--ph-a); background: color-mix(in srgb, var(--ph-a) 12%, transparent); }
.pp-ph__crumbs [aria-current="page"] { padding: 3px 4px; color: var(--pp-ink); font-weight: 800; max-width: 44ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-ph__url { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 8px;
  background: var(--pp-bg-2); border: 1px solid var(--pp-line); color: var(--pp-muted);
  min-width: 0; max-width: 100%; overflow: hidden; }
.pp-ph__url .glyph { width: 12px; height: 12px; color: var(--ph-a); flex: none; }
.pp-ph__url code { min-width: 0; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: 11.5px;
  letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-ph__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 7px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--ph-a) 13%, transparent); border: 1px solid color-mix(in srgb, var(--ph-a) 28%, transparent);
  color: var(--pp-ink); font-size: 12.5px; font-weight: 800; }
.pp-ph__kicker .glyph { width: 15px; height: 15px; color: var(--ph-a); }
.pp-ph__title { margin: 0; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.06;
  background: linear-gradient(180deg, var(--pp-ink), color-mix(in srgb, var(--pp-ink) 58%, var(--ph-a)));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .pp-ph__title { line-height: 1.3; font-size: clamp(28px, 3.8vw, 50px); padding-block-end: .08em; }
.pp-ph__lead { margin: 12px 0 0; max-width: 62ch; color: var(--pp-muted); font-size: clamp(14.5px, 1.1vw, 17px); line-height: 1.7; }
.pp-ph__extra { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pp-ph__note { width: 100%; color: var(--pp-muted); font-size: 12.5px; }
.pp-ph__stat { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 16px;
  background: color-mix(in srgb, var(--pp-card) 86%, transparent); border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow-1);
  color: var(--pp-ink); font-size: 12.5px; font-weight: 700; }
.pp-ph__stat .glyph { width: 18px; height: 18px; color: var(--ph-a); }
.pp-ph__stat b { font-family: var(--pp-head); font-size: 22px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-ph__stat span { color: var(--pp-muted); }
.pp-ph__stat--sm { padding: 8px 14px; }
.pp-ph__stat--sm .glyph { width: 15px; height: 15px; }
.pp-ph__stat--win { background: linear-gradient(135deg, #FFB020, #FFD86B); border-color: transparent; color: #3A2A00; }
.pp-ph__stat--win .glyph, .pp-ph__stat--win span { color: #3A2A00; }
/* the contest pages that have their own sticky filter bar sit straight under the hero */
.pp-ph + .pp-filter { border-top: 0; }
/* the contact page pulls its cards 64px up over its own dark hero — under the page hero it must not overlap it */
body.pp .pp-ph + .ct-wrap.ct-grid, body.pp .pp-ph ~ .ct-wrap.ct-grid { margin-top: clamp(26px, 3.4vw, 46px); }

/* ---------- Persian islimi motif over a portrait (partials/motif) ---------------------------------------------------- */
.pp-mo { position: absolute; z-index: 2; display: block; width: 34%; max-width: 132px; aspect-ratio: 1; pointer-events: none;
  color: #fff; opacity: .62; filter: drop-shadow(0 1px 3px rgba(12, 6, 30, .45)); }
.pp-mo svg { width: 100%; height: 100%; display: block; }
.pp-mo__ink { stroke-width: 1.5; }
.pp-mo__pearl { stroke-dasharray: .8 6.5; stroke-width: 2; opacity: .85; }
.pp-mo__rib { opacity: .55; }
.pp-mo__leaf { opacity: .5; }
.pp-mo__girih { opacity: .9; }
.pp-mo__dot { opacity: .8; }
.pp-mo--a { inset-block-start: 0; inset-inline-start: 0; }
.pp-mo--b { inset-block-end: 0; inset-inline-end: 0; rotate: 180deg; }
[dir="rtl"] .pp-mo--a { scale: -1 1; }
[dir="rtl"] .pp-mo--b { rotate: 180deg; scale: -1 1; }
.pp-mo--lg { width: 26%; max-width: 190px; }
/* no photo behind it: the ornament takes the page's own ink instead of white */
.pp-cx__pic--ph .pp-mo, .pp-gallery__stage:has(.pp-gallery__empty) .pp-mo { color: color-mix(in srgb, var(--pp-violet) 72%, var(--pp-ink)); opacity: .3; filter: none; }

/* ---------- contestant cards (/contestants) — category · name · place · age · stage · rank · votes ------------------- */
.pp-grid--cx { grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.pp-grid--few { display: flex; flex-wrap: wrap; justify-content: center; }
.pp-grid--few > .pp-card { flex: 0 1 310px; }
.pp-cx { --cx: var(--pp-violet); position: relative; overflow: hidden; transition: transform var(--pp-t-fast), box-shadow var(--pp-t-fast), border-color var(--pp-t-fast); }
.pp-cx.pp-card--pink { --cx: var(--pp-pink); } .pp-cx.pp-card--cyan { --cx: #0EA5C9; } .pp-cx.pp-card--amber { --cx: #E09B00; }
.pp-cx.pp-card--coral { --cx: var(--pp-coral); } .pp-cx.pp-card--green { --cx: #059669; }
.pp-cx:hover, .pp-cx:focus-visible { transform: translateY(-6px); box-shadow: var(--pp-shadow-2), 0 0 0 1px color-mix(in srgb, var(--cx) 45%, transparent); border-color: color-mix(in srgb, var(--cx) 42%, var(--pp-line)); }
.pp-cx:focus-visible { outline: 2px solid var(--cx); outline-offset: 3px; }
.pp-cx__pic { aspect-ratio: 4 / 5; }
.pp-cx__veil { position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 8, 34, .40) 0%, rgba(14, 8, 34, 0) 34%, rgba(14, 8, 34, 0) 62%, rgba(14, 8, 34, .44) 100%); }
.pp-cx__pic--ph .pp-cx__veil { background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--pp-ink) 14%, transparent)); }
/* `body.pp .glyph {width:1.1em}` outranks `.pp-card__ph .glyph`: size the empty-portrait silhouettes here */
body.pp .pp-card__ph .glyph { width: 72px; height: 72px; stroke-width: 1.1; }
body.pp .pp-gallery__empty .glyph { width: 110px; height: 110px; stroke-width: 1; }
.pp-cx__pic--ph { background: linear-gradient(160deg, color-mix(in srgb, var(--cx) 16%, var(--pp-bg-2)), var(--pp-bg-2)); }
.pp-cx__tl { position: absolute; z-index: 3; inset-block-start: 11px; inset-inline-start: 11px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pp-cx__flag, .pp-cx__seen { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  font-style: normal; font-size: 11.5px; font-weight: 800; line-height: 1.2; }
.pp-cx__flag .glyph, .pp-cx__seen .glyph { width: 13px; height: 13px; flex: none; }
.pp-cx__flag--win { background: linear-gradient(135deg, #FFB020, #FFD86B); color: #3A2A00; box-shadow: 0 8px 18px -8px rgba(255, 176, 32, .8); }
.pp-cx__flag--fin { background: linear-gradient(135deg, #8B5CF6, #C084FC); color: #fff; box-shadow: 0 8px 18px -8px rgba(139, 92, 246, .8); }
/* "already seen": text + its own tick icon + a dotted outline — never colour alone */
.pp-cx__seen { background: rgba(10, 6, 26, .78); color: #fff; border: 1px dashed rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pp-cx__seen .glyph { color: #7DE8C0; }
.pp-cx.is-seen .pp-cx__pic img { filter: saturate(.78) brightness(.93); transition: filter var(--pp-t); }
.pp-cx.is-seen:hover .pp-cx__pic img { filter: none; }
/* R10 · item 3 — the rank badge is a pill with its own medal / trophy icon; the top three carry the brand gradient,
   the rest the calm glass of the photo furniture. */
.pp-cx__rank { position: absolute; z-index: 3; inset-block-start: 11px; inset-inline-end: 11px; display: inline-flex; align-items: center; gap: 5px;
  height: 34px; padding: 0 11px; border-radius: 999px; background: rgba(10, 6, 26, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-style: normal; font-family: var(--pp-head); font-size: 13px; font-weight: 800;
  font-variant-numeric: tabular-nums; }
body.pp .pp-cx__rank .glyph { width: 14px; height: 14px; color: var(--pp-amber); }
.pp-cx__rank--top { background: var(--pp-grad); border-color: transparent; box-shadow: 0 10px 20px -9px rgba(255, 61, 129, .9); }
body.pp .pp-cx__rank--top .glyph { color: #fff; }

.pp-cx__body { display: grid; gap: 8px; padding: 14px 16px 14px; }
.pp-cx__cat { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; color: var(--cx); min-width: 0; }
.pp-cx__cat > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-cx__cat-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; flex: none;
  background: color-mix(in srgb, var(--cx) 15%, transparent); }
body.pp .pp-cx__cat-ic .glyph { width: 13.5px; height: 13.5px; }
[dir="rtl"] .pp-cx__cat { letter-spacing: 0; }
.pp-cx__name { font-family: var(--pp-head); font-size: clamp(18px, 1.5vw, 21px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--pp-ink); }
[dir="rtl"] .pp-cx__name { letter-spacing: 0; }
.pp-cx__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; font-weight: 600; color: var(--pp-muted); }
.pp-cx__meta > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.pp-cx__meta .glyph { width: 14px; height: 14px; color: var(--pp-faint); flex: none; }
.pp-cx__meta bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-cx__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-cx__chips:empty { display: none; }
.pp-cx__chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: var(--pp-bg-2);
  border: 1px solid var(--pp-line); color: var(--pp-ink-2); font-style: normal; font-size: 11px; font-weight: 700; }
.pp-cx__chip .glyph { width: 12.5px; height: 12.5px; color: var(--pp-muted); flex: none; }
.pp-cx__chip--on { background: color-mix(in srgb, var(--pp-green) 16%, transparent); border-color: color-mix(in srgb, var(--pp-green) 34%, transparent); }
.pp-cx__chip--on .glyph { color: #059669; }
html[data-mode="dark"] body.pp .pp-cx__chip--on .glyph { color: var(--pp-green); }
.pp-cx__chip--out { background: color-mix(in srgb, var(--pp-pink) 13%, transparent); border-color: color-mix(in srgb, var(--pp-pink) 30%, transparent); }
.pp-cx__chip--out .glyph { color: var(--pp-pink); }
/* R10 · item 3 — the foot bar: the support figure (or the "vote now" affordance) on the reading edge, the
   "view profile" arrow on the other. It is the card's one call to action and the row the eye lands on last. */
.pp-cx__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; padding-top: 10px;
  border-top: 1px solid var(--pp-line); }
.pp-cx__vote { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--pp-ink-2); }
body.pp .pp-cx__vote .glyph { width: 15px; height: 15px; color: var(--pp-pink); flex: none; }
.pp-cx__vote b { font-family: var(--pp-head); font-weight: 800; font-variant-numeric: tabular-nums; }
.pp-cx__vote > span { color: var(--pp-muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-cx__vote--go { padding: 5px 11px; border-radius: 999px; background: var(--pp-grad); color: #fff; box-shadow: 0 8px 18px -11px rgba(255, 61, 129, .9); }
body.pp .pp-cx__vote--go .glyph { color: #fff; }
.pp-cx__vote--mute { color: var(--pp-muted); }
body.pp .pp-cx__vote--mute .glyph { color: var(--pp-faint); }
.pp-cx__go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--cx) 12%, transparent); color: var(--cx);
  transition: background-color var(--pp-t-fast), color var(--pp-t-fast), transform var(--pp-t-fast); }
body.pp .pp-cx__go .glyph { width: 15px; height: 15px; }
.pp-cx:hover .pp-cx__go, .pp-cx:focus-visible .pp-cx__go { background: var(--cx); color: #fff; transform: translateX(3px); }
[dir="rtl"] .pp-cx:hover .pp-cx__go, [dir="rtl"] .pp-cx:focus-visible .pp-cx__go { transform: translateX(-3px); }
.pp-cx:hover .pp-mo { opacity: .8; }

/* ---------- contestant profile: the section tabs, at the top of the page, sticky under the header ------------------- */
.pp-tabs { position: sticky; top: var(--pp-hdr); z-index: 42; border-bottom: 1px solid var(--pp-line);
  background: color-mix(in srgb, var(--pp-bg) 86%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.pp-tabs__in { display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.pp-tabs__row { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; padding: 3px; overflow-x: auto; scrollbar-width: none; }
.pp-tabs__row::-webkit-scrollbar { display: none; }
.pp-tabs__row a { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 10px; border-radius: 999px;
  color: var(--pp-muted); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: color var(--pp-t-fast), background-color var(--pp-t-fast); }
[dir="rtl"] .pp-tabs__row a { padding: 0 10px 0 16px; }
.pp-tabs__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; flex: none;
  background: color-mix(in srgb, var(--tc, var(--pp-violet)) 14%, transparent); color: var(--tc, var(--pp-violet));
  transition: background-color var(--pp-t-fast), color var(--pp-t-fast), transform var(--pp-t-fast); }
.pp-tabs__ic .glyph { width: 16px; height: 16px; }
.pp-tabs__row a:nth-child(1) { --tc: var(--pp-violet); }
.pp-tabs__row a:nth-child(2) { --tc: var(--pp-cyan); }
.pp-tabs__row a:nth-child(3) { --tc: var(--pp-amber); }
.pp-tabs__row a:nth-child(4) { --tc: var(--pp-green); }
.pp-tabs__row a:hover { color: var(--pp-ink); background: var(--pp-bg-2); }
.pp-tabs__row a:hover .pp-tabs__ic { transform: translateY(-1px); }
.pp-tabs__row a[aria-current="true"] { color: var(--pp-ink); background: var(--pp-bg-2); box-shadow: inset 0 0 0 1px var(--pp-line); }
.pp-tabs__row a[aria-current="true"] .pp-tabs__ic { background: var(--tc); color: #fff; }
html[data-mode="dark"] body.pp .pp-tabs__row a[aria-current="true"] .pp-tabs__ic { color: #140D33; }
.pp-tabs__cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; flex: none;
  background: var(--pp-grad); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(255, 61, 129, .95); transition: transform var(--pp-t-fast), box-shadow var(--pp-t-fast); }
.pp-tabs__cta .glyph { width: 16px; height: 16px; }
.pp-tabs__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(255, 61, 129, 1); }
.pp-tabs__cta:focus-visible, .pp-tabs__row a:focus-visible { outline: 2px solid var(--pp-violet); outline-offset: 2px; }
/* anchors must clear the header AND the tab bar */
body.pp :where(#about, #photos, #journey, #support, #vote) { scroll-margin-block-start: calc(var(--pp-hdr) + 78px); }
.pp-pro { padding-block: clamp(20px, 2.6vw, 32px) clamp(56px, 7vw, 96px); }
.pp-pro__side { top: calc(var(--pp-hdr) + 78px); }
body.pp p.pp-pro__name { margin: 0; font-family: var(--pp-head); font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  color: var(--pp-ink); font-size: clamp(28px, 3vw, 38px); }
[dir="rtl"] body.pp p.pp-pro__name { letter-spacing: 0; }

/* the contact page pulls its grid 64px up over its own dark hero — under the page hero it must not overlap it */
body.pp .pp-ph + .ct-wrap.ct-grid, body.pp .pp-ph ~ .ct-wrap.ct-grid { margin-top: clamp(26px, 3.4vw, 46px); }

/* ---------- content pages (/page/{slug}) under the hero ------------------------------------------------------------- */
body.pp .pp-page { padding-block: clamp(26px, 3.4vw, 46px) clamp(48px, 6vw, 84px); }
body.pp .pp-page .page-head { display: none; }

/* ---------- responsive ----------------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .pp-ph__float i:nth-child(n + 5) { display: none; }
}
@media (max-width: 760px) {
  .pp-ph { padding: 16px 0 24px; }
  .pp-ph__in { gap: 16px; }
  .pp-ph__crumbs { gap: 3px 4px; margin-bottom: 10px; font-size: 12px; }
  .pp-ph__url code { font-size: 10.5px; }
  .pp-ph__crumbs [aria-current="page"] { max-width: 22ch; }
  .pp-ph__title { font-size: clamp(27px, 8.4vw, 40px); }
  [dir="rtl"] .pp-ph__title { font-size: clamp(24px, 7.4vw, 36px); }
  .pp-ph__lead { font-size: 14px; }
  .pp-ph__extra { width: 100%; }
  /* phones: the copy fills the width, so the objects keep to the far edge, shrink, and the scrim gets stronger */
  .pp-ph__float { width: 46%; }
  .pp-ph__float i { animation-name: pp-ph-float, pp-ph-pop-soft; width: 40px; height: 40px; border-radius: 13px; }
  .pp-ph__float i .glyph, .pp-ph__float i:nth-child(5) .glyph, .pp-ph__float i:nth-child(6) .glyph { width: 18px; height: 18px; }
  .pp-ph__float i:nth-child(1) { inset-inline-end: 4%;  top: 4%; }
  .pp-ph__float i:nth-child(2) { inset-inline-end: 42%; top: 30%; width: 34px; height: 34px; }
  .pp-ph__float i:nth-child(3) { inset-inline-end: 8%;  top: 72%; width: 32px; height: 32px; }
  .pp-ph__float i:nth-child(n + 4) { display: none; }
  .pp-ph__veil { background: linear-gradient(to var(--pp-to-end, right), color-mix(in srgb, var(--pp-bg) 88%, transparent) 0%, color-mix(in srgb, var(--pp-bg) 66%, transparent) 58%, color-mix(in srgb, var(--pp-bg) 34%, transparent) 100%); }
  .pp-tabs__in { gap: 8px; padding-block: 6px; }
  .pp-tabs__row a { height: 42px; padding: 0 12px 0 8px; font-size: 13px; gap: 7px; }
  [dir="rtl"] .pp-tabs__row a { padding: 0 8px 0 12px; }
  .pp-tabs__ic { width: 28px; height: 28px; border-radius: 9px; }
  .pp-tabs__cta { height: 40px; padding: 0 13px; font-size: 13px; }
  .pp-tabs__cta span { display: none; }
  .pp-grid--cx { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pp-grid--few > .pp-card { flex: 1 1 150px; max-width: 100%; }
  .pp-cx__body { padding: 11px 12px 12px; gap: 5px; }
  .pp-cx__name { font-size: 16px; }
  .pp-cx__meta { font-size: 11.5px; gap: 2px 9px; }
  .pp-cx__chip { font-size: 10px; padding: 3px 7px; }
  .pp-cx__foot { padding-top: 8px; } .pp-cx__vote { font-size: 11.5px; } .pp-cx__go { width: 27px; height: 27px; }
  .pp-cx__tl { inset-block-start: 8px; inset-inline-start: 8px; gap: 4px; }
  .pp-cx__flag, .pp-cx__seen { padding: 5px 9px; font-size: 10.5px; }
  .pp-cx__rank { inset-block-start: 8px; inset-inline-end: 8px; height: 30px; padding: 0 9px; font-size: 12px; }
  .pp-cx__cat-ic { width: 21px; height: 21px; border-radius: 7px; }
  .pp-mo { width: 40%; max-width: 86px; }
  .pp-mo--lg { width: 32%; max-width: 110px; }
}
@media (max-width: 420px) {
  .pp-grid--cx { gap: 10px; }
  .pp-cx__chips { display: none; }
  .pp-ph__float i:nth-child(n + 3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-ph__glow, .pp-ph__float i { animation: none !important; }
  .pp-ph__float i { opacity: .9; }
  .pp-cx, .pp-cx__pic img, .pp-cx__go .glyph, .pp-tabs__ic, .pp-tabs__cta, .pp-mo { transition: none !important; }
  .pp-cx:hover, .pp-cx:focus-visible, .pp-tabs__cta:hover { transform: none; }
}
@keyframes pp-ph-pop-soft { to { opacity: .55; } }

/* ==== 2.15 (R10 · item 3) · THE FEE GATE'S PUBLIC UI =================================================
   `fee.gate = listed_no_votes` (the default) keeps a contestant with an unpaid contest fee ON the page.
   Two calm, non-shaming pieces say so: the "payment pending" chip (hero + any card, App\Services\FeeGate::chip())
   and, for the contestant themselves, the prompt with the amount and the deadline. Light + dark from the tokens
   only; no red, no warning tone — an amber hourglass, which reads as "waiting", not "wrong". */
.pp-ph__stat--pend { background: color-mix(in srgb, var(--pp-amber) 14%, var(--pp-card)); border-color: color-mix(in srgb, var(--pp-amber) 38%, transparent); }
.pp-ph__stat--pend .glyph { color: var(--pp-amber); }
.pp-ph__stat--pend span { color: color-mix(in srgb, var(--pp-amber) 72%, var(--pp-ink)); font-weight: 700; }

.fee-pend { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2;
  background: color-mix(in srgb, var(--pp-amber) 15%, var(--pp-card)); border: 1px solid color-mix(in srgb, var(--pp-amber) 36%, transparent);
  color: color-mix(in srgb, var(--pp-amber) 74%, var(--pp-ink)); white-space: nowrap; }
.fee-pend .glyph { width: 13px; height: 13px; color: var(--pp-amber); flex: none; }
.fee-pend--on-pic { background: rgba(10, 8, 24, .62); border-color: rgba(255, 255, 255, .28); color: #FFE2AE; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fee-pend--on-pic .glyph { color: #FFC960; }

.pp-ph__pend { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; width: 100%; margin-block-start: 18px; padding: 16px 18px;
  border-radius: 18px; border: 1px solid color-mix(in srgb, var(--pp-amber) 34%, transparent); background: color-mix(in srgb, var(--pp-amber) 10%, var(--pp-card));
  box-shadow: var(--pp-shadow-1); }
.pp-ph__pend.is-overdue { border-color: color-mix(in srgb, var(--pp-pink) 38%, transparent); background: color-mix(in srgb, var(--pp-pink) 9%, var(--pp-card)); }
.pp-ph__pend-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; flex: none;
  background: color-mix(in srgb, var(--pp-amber) 20%, var(--pp-card)); color: var(--pp-amber); }
.pp-ph__pend.is-overdue .pp-ph__pend-ic { background: color-mix(in srgb, var(--pp-pink) 18%, var(--pp-card)); color: var(--pp-pink); }
.pp-ph__pend-ic .glyph { width: 21px; height: 21px; }
.pp-ph__pend-b { display: grid; gap: 3px; flex: 1 1 15rem; min-width: 0; }
.pp-ph__pend-b strong { font-family: var(--pp-head); font-size: 16px; font-weight: 800; color: var(--pp-ink); }
.pp-ph__pend-b > span { font-size: 13.5px; line-height: 1.6; color: var(--pp-muted); }
.pp-ph__pend-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-block-start: 4px; }
.pp-ph__pend-row b { font-size: 15px; font-weight: 800; color: var(--pp-ink); font-variant-numeric: tabular-nums; }
.pp-ph__pend-due { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: color-mix(in srgb, var(--pp-amber) 78%, var(--pp-ink)); }
.pp-ph__pend.is-overdue .pp-ph__pend-due { color: var(--pp-pink); }
.pp-ph__pend-due .glyph { width: 13px; height: 13px; }
.pp-ph__pend > .pp-btn { flex: none; }
@media (max-width: 560px) {
  .pp-ph__pend { padding: 14px; gap: 10px 12px; }
  .pp-ph__pend > .pp-btn { width: 100%; justify-content: center; }
}

/* =====================================================================================================================
   R10 (2.13) · engineer B — the landing page: the category avatar stacks (.pp-cat__faces) and the slider's floating
   contestant panel (.pp-spot). The rest of the round's work is folded into the blocks above: the brand crown
   (.brand__mark, sized with `.brand img`), the slide type (.pp-ttl), the step watermarks (.pp-step__wm) and the
   shared contestant card (.pp-cx). Light + dark from the tokens only, RTL through logical properties, all motion
   stops under prefers-reduced-motion (end of this block).
   ===================================================================================================================== */

/* ---------- item 5 · who is in this category: ten recent faces, overlapping, then a "+N" circle ------------------
   The circle size and how far each one slides under the one before it are both responsive, so eleven circles always
   fit the card: 4 columns at 1440 → 32px, two narrow columns at 430 → 22px. The row links to the filtered list. */
.pp-cat__faces { --av: clamp(22px, 2.4vw, 32px); --ov: -.40;
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; row-gap: 7px; column-gap: 0;
  margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--pp-line); text-decoration: none; color: inherit; min-width: 0; }
.pp-cat__faces-n { flex: 1 0 100%; font-size: 11.5px; font-weight: 700; color: var(--pp-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; transition: color var(--pp-t-fast); }
.pp-cat__av { display: grid; place-items: center; width: var(--av); height: var(--av); border-radius: 50%; overflow: hidden; flex: none;
  background: var(--pp-bg-2); border: 2px solid var(--pp-card); box-shadow: 0 2px 7px -3px rgba(27, 18, 64, .5);
  transition: transform var(--pp-t-fast); }
.pp-cat__av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; display: block; }
.pp-cat__av-ph { display: grid; place-items: center; width: 100%; height: 100%; }
body.pp .pp-cat__av-ph .glyph { width: calc(var(--av) * .56); height: calc(var(--av) * .56); color: var(--pp-faint); stroke-width: 1.7; }
.pp-cat__av + .pp-cat__av { margin-inline-start: calc(var(--av) * var(--ov)); }
.pp-cat__av--more { z-index: 3; background: linear-gradient(135deg, var(--tone), color-mix(in srgb, var(--tone) 45%, #fff));
  border-color: var(--pp-card); color: #fff; font-family: var(--pp-head); font-size: calc(var(--av) * .36); font-weight: 800;
  font-style: normal; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pp-cat--amber .pp-cat__av--more, .pp-cat--cyan .pp-cat__av--more { color: #2A1A00; }
.pp-cat__av--ghost { background: transparent; border-style: dashed; border-color: var(--pp-line-2); }
.pp-cat__faces--none { color: var(--pp-muted); }
.pp-cat__faces--none .pp-cat__faces-n { flex: 0 1 auto; margin-inline-start: 10px; }
.pp-cat__faces:is(a):hover .pp-cat__av { transform: translateY(-2px); }
.pp-cat__faces:is(a):hover .pp-cat__faces-n { color: var(--tone); }
.pp-cat__faces:is(a):focus-visible { outline: 2px solid var(--tone); outline-offset: 4px; border-radius: 10px; }

/* ---------- item 6 · the floating contestant panel beside the slide -----------------------------------------------
   It sits on the far side of the slide, aligned with the container's edge, vertically centred — never over the title,
   the lead or the buttons, which all start on the reading edge. Two faces are stacked and cross-faded by
   prime-public.js every 3 s; without JavaScript the first contestant simply stays. Hidden under 1025px (and on short
   viewports), where the caption fills the width. */
.pp-spot { position: absolute; z-index: 4; inset-inline-end: max(var(--pp-gutter), calc((100% - var(--pp-max)) / 2 + var(--pp-gutter)));
  top: 50%; translate: 0 -50%; width: 254px; padding: 14px 14px 12px; border-radius: 22px; color: #fff;
  background: rgba(18, 11, 44, .58); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .95);
  opacity: 0; animation: pp-spot-in 440ms var(--pp-ease) 320ms forwards; }
@keyframes pp-spot-in { from { opacity: 0; } to { opacity: 1; } }
.pp-spot__kick { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; padding-inline: 4px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
[dir="rtl"] .pp-spot__kick { letter-spacing: 0; text-transform: none; font-size: 12px; }
body.pp .pp-spot__kick .glyph { width: 14px; height: 14px; color: var(--pp-amber); }
.pp-spot__stack { position: relative; min-height: 76px; animation: pp-spot-float 7.5s var(--pp-ease) infinite alternate; }
@keyframes pp-spot-float { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
.pp-spot__face { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 460ms var(--pp-ease), visibility 0s linear 460ms, background-color var(--pp-t-fast); }
.pp-spot__face.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 460ms var(--pp-ease), visibility 0s, background-color var(--pp-t-fast); }
.pp-spot__face:hover { background: rgba(255, 255, 255, .17); }
.pp-spot__face:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pp-spot__ph { display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none;
  background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 2px rgba(255, 255, 255, .34); }
.pp-spot__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; display: block; }
.pp-spot__who { display: grid; gap: 2px; min-width: 0; }
.pp-spot__who strong { font-family: var(--pp-head); font-size: 16px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-spot__who small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.pp-spot__go { margin-inline-start: auto; display: grid; place-items: center; opacity: .55; transition: transform var(--pp-t-fast), opacity var(--pp-t-fast); }
body.pp .pp-spot__go .glyph { width: 16px; height: 16px; }
.pp-spot__face:hover .pp-spot__go { opacity: 1; transform: translateX(3px); }
[dir="rtl"] .pp-spot__face:hover .pp-spot__go { transform: translateX(-3px); }
.pp-spot__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px; border-radius: 8px;
  font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .76); text-decoration: none; transition: color var(--pp-t-fast); }
body.pp .pp-spot__all .glyph { width: 14px; height: 14px; }
.pp-spot__all:hover { color: #fff; }
.pp-spot__all:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 1024px), (max-height: 620px) { .pp-spot { display: none; } }
/* where the panel shows, the slide's own copy keeps out of its lane, so a long title or lead can never run under it */
@media (min-width: 1025px) and (min-height: 621px) {
  body.pp .pp-hero--spot .pp-slide__in { padding-inline-end: calc(var(--pp-gutter) + 286px); }
}

/* ---------- responsive --------------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .pp-cat__faces { --ov: -.44; }
}
@media (max-width: 760px) {
  /* two narrow category columns: the circles get small and tuck further under each other to stay inside the card */
  .pp-cat__faces { --av: 22px; --ov: -.44; margin-top: 10px; padding-top: 10px; }
  .pp-cat__faces-n { font-size: 11px; }
  .pp-step { padding: 32px 16px 20px; }
  body.pp .pp-step__wm .glyph { width: 86px; height: 86px; }
  .pp-slide__text { padding-inline-start: 13px; margin-top: 16px; }
  /* the rail of rich cards: one card and a peek of the next, like the list's own rhythm */
  body.pp .pp-grid--rail.pp-grid--cx { display: flex; grid-template-columns: none; }
}

@media (max-width: 420px) {
  /* one full-width category card per row: give the faces their size back so each one still reads */
  .pp-cat__faces { --av: 28px; --ov: -.32; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-spot { animation: none; opacity: 1; }
  .pp-spot__stack { animation: none; }
  .pp-spot__face, .pp-spot__go, .pp-cat__av, .pp-cat__faces-n, .pp-step__wm, .pp-cx__go, .pp-ttl__in { transition: none !important; }
  .pp-ttl__in { transform: none !important; opacity: 1 !important; }
  body.pp .pp-step__wm .glyph { transition: none !important; } .pp-step:hover .pp-step__wm .glyph { rotate: -8deg; scale: 1; }
  .pp-cat__faces:is(a):hover .pp-cat__av { transform: none; }
  .pp-cx:hover .pp-cx__go, .pp-spot__face:hover .pp-spot__go { transform: none; }
}

/* 1.19.3 · Reusable YouTube subscribe box with an animated play icon. Used in footers, the landing and sliders.
   Brand-neutral reds so it reads on both IPN TV (classic) and Mr & Miss Iran (prime). */
.ytsub { --yt: #FF2A2A; --yt-ink: #fff;
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--yt) 12%, transparent), transparent 70%), rgba(255,255,255,.03);
  border: 1px solid color-mix(in srgb, var(--yt) 28%, transparent); }
.ytsub__ic { position: relative; flex: none; inline-size: 56px; block-size: 56px; display: grid; place-items: center;
  border-radius: 16px; background: var(--yt); color: var(--yt-ink); box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--yt) 80%, transparent); }
.ytsub__play { inline-size: 30px; block-size: 30px; animation: ytsub-wiggle 3.2s ease-in-out infinite; }
.ytsub__ring { position: absolute; inset: 0; border-radius: 16px; border: 2px solid var(--yt); opacity: 0; animation: ytsub-ring 2.6s ease-out infinite; }
.ytsub__ring--2 { animation-delay: 1.3s; }
.ytsub__tx { flex: 1; min-inline-size: 0; }
.ytsub__tx strong { display: block; font-size: 16px; font-weight: 800; }
.ytsub__tx span { display: block; font-size: 13px; opacity: .72; margin-block-start: 3px; line-height: 1.5; }
.ytsub__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  background: var(--yt); color: var(--yt-ink); font-weight: 800; font-size: 14px; text-decoration: none;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--yt) 80%, transparent); transition: transform .16s ease, box-shadow .16s ease; }
.ytsub__btn svg, .ytsub__btn .ic { inline-size: 20px; block-size: 20px; }
.ytsub__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px color-mix(in srgb, var(--yt) 85%, transparent); }
.ytsub__btn:hover .ytsub__play, .ytsub:hover .ytsub__play { animation-duration: 1.2s; }

/* slim: one tight row for a footer column */
.ytsub--slim { padding: 12px 14px; gap: 12px; }
.ytsub--slim .ytsub__ic { inline-size: 44px; block-size: 44px; border-radius: 13px; }
.ytsub--slim .ytsub__play { inline-size: 24px; block-size: 24px; }
.ytsub--slim .ytsub__tx strong { font-size: 14px; }
.ytsub--slim .ytsub__tx span { display: none; }

/* slide: large, centred, for use as a slider panel */
.ytsub--slide { flex-direction: column; text-align: center; gap: 14px; padding: 32px 24px; }
.ytsub--slide .ytsub__ic { inline-size: 76px; block-size: 76px; border-radius: 22px; }
.ytsub--slide .ytsub__play { inline-size: 40px; block-size: 40px; }
.ytsub--slide .ytsub__tx strong { font-size: 22px; }
.ytsub--slide .ytsub__tx span { font-size: 14.5px; opacity: .8; }
.ytsub--slide .ytsub__btn { padding: 13px 26px; font-size: 15px; }

@media (max-width: 560px) {
  .ytsub:not(.ytsub--slide) { flex-wrap: wrap; }
  .ytsub:not(.ytsub--slide) .ytsub__btn { inline-size: 100%; justify-content: center; }
}
@keyframes ytsub-wiggle { 0%, 88%, 100% { transform: rotate(0) scale(1); } 92% { transform: rotate(-8deg) scale(1.08); } 96% { transform: rotate(8deg) scale(1.08); } }
@keyframes ytsub-ring { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .ytsub__play, .ytsub__ring { animation: none; } .ytsub__ring { display: none; } }

/* 2.17.3 · video slide: the YouTube film covers the hero; its own controls are reachable, so the text caption is hidden */
/* 2.17.6 · no black fill: the film's first frame underneath shows until the film paints (and if YouTube is blocked) */
.pp-slide__video { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.pp-slide__video iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; border: 0; }
.pp-slide--video .pp-slide__cap, .pp-slide--video .pp-slide__shade { display: none; }
/* 2.17.6 · if the film cannot be reached the slide goes back to being a picture slide, caption and all */
.pp-slide--video.is-video-off .pp-slide__cap, .pp-slide--video.is-video-off .pp-slide__shade { display: revert; }

/* 2.17.4 · subscribe button floating on the hero slider */
.pp-hero__sub { position: absolute; z-index: 6; top: 84px; inset-inline-end: 20px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; background: #FF2A2A; color: #fff; font-weight: 800; font-size: 13.5px; text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(255,42,42,.7); transition: transform .16s ease; }
.pp-hero__sub svg, .pp-hero__sub .ic { inline-size: 19px; block-size: 19px; }
.pp-hero__sub:hover { transform: translateY(-2px); }
@media (max-width: 640px) { .pp-hero__sub { top: 72px; inset-inline-end: 12px; padding: 9px; } .pp-hero__sub span { display: none; } }

/* 2.17.6 · the player fades in once YouTube has answered; until then — and for good if YouTube cannot be reached —
   the film's own first frame underneath is what the visitor sees, never an empty panel. */
.pp-slide__video iframe { opacity: 0; transition: opacity .45s ease; }
.pp-slide__video.is-ready iframe { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pp-slide__video iframe { transition: none; } }

/* ---- 2.17.7 · a film slide fills its own box, and carries a speaker button ---------------------------------- */

/* The player used to be sized against the browser window (100vw / 56.25vw). In a slider that is not as tall or as
   wide as the window that spilled over the edges, so the film was never the size of the slide. These rules size it
   against the slide's own box instead, so it covers that box exactly, whatever shape the box is. */
.pp-slide__video { container-type: size; }
.pp-slide__video iframe {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: none; border: 0;
}
@supports (width: 1cqw) {
  .pp-slide__video iframe { width: max(100cqw, 177.7778cqh); height: max(100cqh, 56.25cqw); }
}

/* A browser only lets a film start on its own while it is silent, so every film slide starts muted and this is how
   the visitor turns the sound on. It sits opposite the subscribe button, clear of YouTube's own controls. */
.yt-sound {
  position: absolute; z-index: 7; top: 84px; inset-inline-start: 20px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 15px; border: 0; border-radius: 999px;
  font: inherit; font-size: 13.5px; font-weight: 800; line-height: 1;
  color: #fff; background: rgba(10, 10, 14, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); transition: background .18s ease, transform .16s ease;
}
.yt-sound:hover { background: rgba(10, 10, 14, .85); transform: translateY(-1px); }
.yt-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.yt-sound svg { width: 18px; height: 18px; display: block; }
.yt-sound .yt-sound__on { display: none; }
.yt-sound.is-on { background: #FF2A2A; box-shadow: 0 10px 24px -8px rgba(255, 42, 42, .7); }
.yt-sound.is-on .yt-sound__off { display: none; }
.yt-sound.is-on .yt-sound__on { display: block; }
@media (max-width: 640px) { .yt-sound { top: 72px; inset-inline-start: 12px; padding: 9px; } .yt-sound .yt-sound__tx { display: none; } }
@media (prefers-reduced-motion: reduce) { .yt-sound { transition: none; } }

/* ---- 2.17.7 · "your path to the stage": the connector now runs through the MIDDLE of the step cards -----------
   It used to sit along their top edge, level with the numbered badges, which read as a stray line above the row.
   The cards paint over it, so what shows is a tidy run of coloured links in the gaps between them. */
.pp-steps::before { top: 50%; margin-block-start: 9px; height: 3px; }

/* ---- 2.17.7 · the subscribe band: its own full-width section, in the manner of the "vote and win" band -------- */
.pp-ytband { position: relative; overflow: hidden; padding-block: clamp(46px, 6vw, 80px); color: #fff;
  background: radial-gradient(120% 140% at 12% 0%, rgba(255, 42, 42, .32), transparent 58%), linear-gradient(135deg, #240609, #140a14 46%, #0B0C10); }
.pp-ytband::before { content: ""; position: absolute; inset-inline: -10%; inset-block-start: -40%; block-size: 80%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 42, 42, .22), transparent 70%); }
.pp-ytband > .container { position: relative; }
.pp-ytband + .pp-cta { padding-block-start: clamp(48px, 6vw, 88px); }   /* it used to sit flush against this band */

/* the band's own, larger, borderless version of the box */
.ytsub--band { gap: clamp(18px, 3vw, 30px); padding: 0; border: 0; border-radius: 0; background: none; color: #fff; }
.ytsub--band .ytsub__ic { inline-size: clamp(64px, 7vw, 86px); block-size: clamp(64px, 7vw, 86px); border-radius: 22px; }
.ytsub--band .ytsub__ic .ytsub__ring { border-radius: 22px; }
.ytsub--band .ytsub__play { inline-size: clamp(34px, 3.6vw, 44px); block-size: clamp(34px, 3.6vw, 44px); }
.ytsub--band .ytsub__tx strong { font-family: var(--pp-head); font-size: clamp(22px, 2.9vw, 34px); letter-spacing: -.02em; line-height: 1.2; }
.ytsub--band .ytsub__tx span { font-size: clamp(14px, 1.3vw, 16px); opacity: .82; margin-block-start: 8px; max-inline-size: 62ch; }
.ytsub--band .ytsub__btn { padding: 14px 26px; font-size: clamp(14px, 1.3vw, 16px); }
.ytsub--band .ytsub__btn svg, .ytsub--band .ytsub__btn .ic { inline-size: 22px; block-size: 22px; }
@media (max-width: 760px) {
  .ytsub--band { flex-direction: column; text-align: center; gap: 18px; }
  .ytsub--band .ytsub__tx span { margin-inline: auto; }
}

/* The speaker button belongs to a film that is actually playing: it appears only once the player has answered, so a
   slide that fell back to being a picture never shows a sound switch that would do nothing. */
.yt-sound { opacity: 0; pointer-events: none; }
.pp-slide__video.is-ready .yt-sound { opacity: 1; pointer-events: auto; }
@supports (transition: opacity .2s) { .yt-sound { transition: opacity .3s ease, background .18s ease, transform .16s ease; } }

/* 2.18 · legibility on phones: nothing a reader must read is set below 12 px */
@media (max-width: 760px) {
  .tabbar a, .tabbar a span, .pp-tabbar a, .pp-tabbar a span { font-size: 12px; }
  .pp-cat__faces-n, .pp-cx__vote b, .pp-ph__url code { font-size: 12px; }
}

/* =====================================================================================================================
   2.19 · the contestant card, redrawn: a fine Persian mihrab arch around the portrait (partials/motif), the team's
   pick as a metal ribbon, the blue "verified" tick beside the name, the facts as soft pills and ONE full-width
   button as the card's single call to action.
   ===================================================================================================================== */
.pp-mo2 { position: absolute; z-index: 2; inset: 0; width: auto; max-width: none; aspect-ratio: auto; pointer-events: none; color: #E9C46A; opacity: .9; rotate: none; scale: none; transition: opacity var(--pp-t-fast, .2s); }
[dir="rtl"] .pp-mo2.pp-mo--a, [dir="rtl"] .pp-mo2.pp-mo--b, .pp-mo2.pp-mo--b { rotate: none; scale: none; }
.pp-mo2 .pp-mo2__arch { position: absolute; inset: 9px 9px 0; width: calc(100% - 18px); height: calc(100% - 9px); fill: none; stroke: currentColor; overflow: visible; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.pp-mo2__arch path { stroke-width: 1.4px; }
.pp-mo2__arch .pp-mo2__in { stroke-width: .8px; opacity: .65; stroke-dasharray: 1 4; stroke-linecap: round; }
.pp-mo2 .pp-mo2__star { position: absolute; top: 2px; left: 50%; width: 22px; height: 22px; translate: -50% 0; fill: currentColor; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.pp-mo2__star circle { fill: #1F0F2E; }
.pp-mo2--foot { display: none; }
.pp-cx__pic--ph .pp-mo2 { color: color-mix(in srgb, var(--pp-violet) 60%, var(--pp-ink)); opacity: .35; }
.pp-cx:hover .pp-mo2 { opacity: 1; }
.pp-gallery .pp-mo2 .pp-mo2__arch { inset: 14px 14px 0; width: calc(100% - 28px); height: calc(100% - 14px); }
.pp-gallery .pp-mo2 .pp-mo2__star { width: 30px; height: 30px; top: 3px; }

.pp-cx2 { display: flex; flex-direction: column; border-radius: 22px; }
.pp-cx2 .pp-cx__veil { background: linear-gradient(180deg, rgba(10,6,26,.28), transparent 26%, transparent 62%, rgba(10,6,26,.55)); }
.pp-cx2 .pp-cx__tl { inset-block-start: 30px; }
.cx2-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; flex: 1; }
.cx2-cat { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 99px; font-size: 12px; font-weight: 800; color: var(--cx); background: color-mix(in srgb, var(--cx) 11%, transparent); max-width: 100%; }
[dir="rtl"] .cx2-cat { padding: 4px 6px 4px 10px; }
.cx2-cat i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--cx); color: #fff; flex: none; }
body.pp .cx2-cat .glyph { width: 11.5px; height: 11.5px; }
.cx2-cat > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx2-name { display: flex; align-items: center; gap: 6px; font-size: clamp(18px, 1.5vw, 21px); }
.cx2-name bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx2-tick { display: inline-grid; flex: none; color: #1D9BF0; }
body.pp .cx2-tick .glyph { width: 19px; height: 19px; }
.cx2-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.cx2-facts > span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 10px; background: var(--pp-bg-2); border: 1px solid var(--pp-line); font-size: 12.5px; font-weight: 600; color: var(--pp-ink-2); min-width: 0; }
body.pp .cx2-facts .glyph { width: 13.5px; height: 13.5px; color: var(--pp-muted); flex: none; }
.cx2-facts bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 14ch; }
.cx2-votes { color: var(--pp-ink) !important; }
body.pp .cx2-votes .glyph { color: var(--pp-pink); }
.cx2-votes b { font-variant-numeric: tabular-nums; font-weight: 800; }
.cx2-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; border-radius: 14px; font-weight: 800; font-size: 14.5px;
  background: color-mix(in srgb, var(--cx) 12%, transparent); color: var(--cx); border: 1px solid color-mix(in srgb, var(--cx) 30%, transparent);
  transition: background-color var(--pp-t-fast, .2s), color var(--pp-t-fast, .2s), box-shadow var(--pp-t-fast, .2s); }
body.pp .cx2-btn .glyph { width: 17px; height: 17px; }
.cx2-btn--vote { background: var(--pp-grad); color: #fff; border-color: transparent; box-shadow: 0 12px 24px -14px rgba(255, 61, 129, .9); }
.pp-cx2:hover .cx2-btn, .pp-cx2:focus-visible .cx2-btn { background: var(--cx); color: #fff; }
.pp-cx2:hover .cx2-btn--vote, .pp-cx2:focus-visible .cx2-btn--vote { background: var(--pp-grad); filter: brightness(1.06); box-shadow: 0 16px 28px -14px rgba(255, 61, 129, 1); }

/* the team's pick: a metal ribbon across the foot of the portrait */
.cx2-medal { position: absolute; z-index: 3; inset-inline: 12px; inset-block-end: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; font-style: normal;
  color: #2A1A05; box-shadow: 0 12px 26px -12px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.55); }
.cx2-medal i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.45); flex: none; }
body.pp .cx2-medal .glyph { width: 18px; height: 18px; }
.cx2-medal span { display: grid; line-height: 1.25; min-width: 0; }
.cx2-medal b { font-size: 13.5px; font-weight: 900; }
.cx2-medal small { font-size: 11.5px; font-weight: 700; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx2-medal--gold { background: linear-gradient(135deg, #F7D774, #E2A93B 55%, #FCE7A2); }
.cx2-medal--silver { background: linear-gradient(135deg, #F1F3F7, #B9C0CC 55%, #E9EDF3); color: #1F2633; }
.cx2-medal--bronze { background: linear-gradient(135deg, #F0B98A, #B8733F 55%, #F3C9A3); color: #2C1407; }
.pp-cx2--gold { box-shadow: 0 0 0 2px #E2A93B, var(--pp-shadow-1, 0 10px 30px -18px rgba(0,0,0,.4)); }
.pp-cx2--silver { box-shadow: 0 0 0 2px #B9C0CC, var(--pp-shadow-1, 0 10px 30px -18px rgba(0,0,0,.4)); }
.pp-cx2--bronze { box-shadow: 0 0 0 2px #C98A55, var(--pp-shadow-1, 0 10px 30px -18px rgba(0,0,0,.4)); }

/* the ways to look through the list */
.cx2-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 0 4px; }
.cx2-tabs::-webkit-scrollbar { display: none; }
.cx2-tabs a { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--pp-line); background: var(--pp-card); color: var(--pp-ink-2); font-weight: 700; font-size: 13.5px; text-decoration: none; transition: border-color var(--pp-t-fast, .2s), background-color var(--pp-t-fast, .2s); }
body.pp .cx2-tabs .glyph { width: 15px; height: 15px; color: var(--pp-muted); }
.cx2-tabs a:hover { border-color: var(--pp-line-2); }
.cx2-tabs a[aria-current="page"] { background: var(--pp-ink); color: var(--pp-bg); border-color: var(--pp-ink); }
body.pp .cx2-tabs a[aria-current="page"] .glyph { color: var(--pp-amber); }
.pp-list .pager { display: flex; justify-content: center; gap: 6px; margin: 30px 0 10px; }
.pp-list .pager a, .pp-list .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--pp-line); background: var(--pp-card); color: var(--pp-ink); font-weight: 700; text-decoration: none; }
.pp-list .pager span[aria-current] { background: var(--pp-grad); color: #fff; border-color: transparent; }
@media (max-width: 640px) { .cx2-body { padding: 12px 12px 14px; gap: 8px; } .cx2-btn { min-height: 42px; font-size: 13.5px; } .cx2-facts > span { padding: 4px 8px; font-size: 12px; } .cx2-medal { inset-inline: 8px; inset-block-end: 8px; padding: 6px 9px; gap: 7px; } .cx2-medal i { width: 24px; height: 24px; } .cx2-medal small { display: none; } }
@media (prefers-reduced-motion: reduce) { .cx2-btn, .pp-mo2 { transition: none; } }
/* 2.19 · the arch is always thin gold (beats the older tinted .pp-mo colours) */
body.pp .pp-mo2 { color: #EBC66E; opacity: .95; mix-blend-mode: normal; filter: none; }
body.pp .pp-cx__pic--ph .pp-mo2 { color: color-mix(in srgb, var(--pp-violet) 55%, var(--pp-ink)); opacity: .4; }
body.pp .pp-mo2 .pp-mo2__arch path { stroke-width: 1.7px; }
body.pp .pp-mo2 .pp-mo2__arch .pp-mo2__in { stroke-width: 1px; }

/* 2.19 · "Support me": every network is a real app-style button — its brand colour, its own mark in white, its name
   beneath — instead of a small grey tile in a box. The chosen one gets a ring. Same markup (share_kit.php). */
body.pp .kit-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px; }
body.pp .kit-tab, body.pp .kit--compact .kit-tab { width: auto; height: auto; min-height: 0; display: grid; justify-items: center; gap: 7px; padding: 10px 4px 9px; border-radius: 16px; border: 1.5px solid transparent; background: transparent; color: var(--pp-ink-2); box-shadow: none; }
body.pp .kit-tab__ico, body.pp .kit--compact .kit-tab__ico { width: 46px; height: 46px; padding: 11px; border-radius: 15px; background: var(--net); color: #fff; box-shadow: 0 10px 20px -12px var(--net); transition: transform .18s ease; }
body.pp .kit-tab[data-net="x"] .kit-tab__ico, body.pp .kit-tab[data-net="tiktok"] .kit-tab__ico { background: #111; }
html[data-mode="dark"] body.pp .kit-tab[data-net="x"] .kit-tab__ico, html[data-mode="dark"] body.pp .kit-tab[data-net="tiktok"] .kit-tab__ico { background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
body.pp .kit-tab--video .kit-tab__ico, body.pp .kit-tab--video > .glyph { background: linear-gradient(135deg, #F0C063, #C9963A); color: #2A1A05; }
body.pp .kit-tab > span, body.pp .kit--compact .kit-tab > span { display: block; position: static; width: auto; height: auto; clip: auto; margin: 0; font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
body.pp .kit-tab:hover .kit-tab__ico { transform: translateY(-2px); }
body.pp .kit-tab[aria-selected="true"] { border-color: var(--net); background: color-mix(in srgb, var(--net) 8%, transparent); color: var(--pp-ink); }
body.pp .kit-tab[aria-selected="true"] .kit-tab__ico { background: var(--net); color: #fff; }
body.pp .kit-tab[data-net="x"][aria-selected="true"], body.pp .kit-tab[data-net="tiktok"][aria-selected="true"] { border-color: var(--pp-ink); }
body.pp .kit-tab:focus-visible { outline: 2px solid var(--net); outline-offset: 2px; }

/* the "follow me" marks on the profile: brand colours, real logos */
body.pp .pp-pro__social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
body.pp .pp-soc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; border: 0; box-shadow: 0 10px 20px -12px rgba(0,0,0,.5); transition: transform .18s ease; }
body.pp .pp-soc .glyph { width: 20px; height: 20px; }
body.pp .pp-soc:hover { transform: translateY(-2px); }
body.pp .pp-soc--instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
body.pp .pp-soc--tiktok, body.pp .pp-soc--x { background: #111; }
body.pp .pp-soc--youtube { background: #FF0000; }
body.pp .pp-soc--facebook { background: #1877F2; }
body.pp .kit-tab__ico, body.pp .kit--compact .kit-tab__ico { padding: 12px; }
@media (max-width: 640px) { body.pp .kit-tabs { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; } body.pp .kit-tab__ico, body.pp .kit--compact .kit-tab__ico { width: 42px; height: 42px; padding: 11px; border-radius: 13px; } body.pp .kit-tab > span { font-size: 11px; } }
.cx2-medal--pro { position: static; display: inline-flex; margin: 4px 0 12px; } body.pp .pp-pro__name .cx2-tick .glyph { width: .7em; height: .7em; vertical-align: .05em; }

/* 2.19 · "On the stage", redrawn bigger: a tall portrait card that breathes, the next person rising into a soft
   spotlight while the last one drifts up and away; a thin line shows when the next one comes. */
.pp-spot2 { width: 300px; padding: 16px 16px 14px; border-radius: 26px; background: linear-gradient(180deg, rgba(30, 16, 64, .66), rgba(14, 8, 34, .78)); }
.pp-spot2::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255,215,120,.7), rgba(255,255,255,.08) 40%, rgba(255,61,129,.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pp-spot2 .pp-spot__kick { font-size: 13.5px; font-weight: 800; color: #FFE7A8; }
.pp-spot2 .pp-spot__stack { min-height: 0; aspect-ratio: 4 / 5; animation: pp-spot2-breathe 6s ease-in-out infinite; }
@keyframes pp-spot2-breathe { 50% { transform: translateY(-4px) scale(1.01); } }
.pp-spot2 .pp-spot__face { padding: 0; border-radius: 20px; overflow: hidden; display: block; background: #1A0F2E; box-shadow: 0 26px 50px -24px rgba(0,0,0,.9); }
.pp-spot2 .pp-spot__face.is-on { animation: pp-spot2-in 900ms cubic-bezier(.2,.8,.2,1) both; }
.pp-spot2 .pp-spot__face.is-out { visibility: visible; animation: pp-spot2-out 800ms cubic-bezier(.5,0,.7,.4) both; }
@keyframes pp-spot2-in { from { opacity: 0; transform: translateY(26px) scale(.94) rotate(-1.5deg); filter: blur(8px) brightness(1.4); } 60% { filter: blur(0) brightness(1.15); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pp-spot2-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-22px) scale(1.04) rotate(1.5deg); filter: blur(6px); } }
.pp-spot2 .pp-spot__ph { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.pp-spot2 .pp-spot__ph img { object-position: 50% 22%; }
.pp-spot2 .pp-spot__face::before { content: ""; position: absolute; z-index: 1; inset: -20% -10% auto; height: 70%; background: radial-gradient(closest-side, rgba(255, 225, 150, .35), transparent); pointer-events: none; mix-blend-mode: screen; }
.pp-spot2 .pp-spot__face::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(10,6,26,.92)); pointer-events: none; }
.pp-spot2 .pp-spot__who { position: absolute; z-index: 2; inset: auto 16px 14px; gap: 3px; }
.pp-spot2 .pp-spot__who strong { font-size: 22px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.pp-spot2 .pp-spot__who small { font-size: 13.5px; color: #FFE7A8; }
.pp-spot2 .pp-spot__go { position: absolute; z-index: 2; inset-block-end: 16px; inset-inline-end: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); opacity: 1; }
.pp-spot2__time { display: block; height: 3px; margin-top: 12px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.pp-spot2__time::after { content: ""; position: absolute; inset: 0; transform-origin: 0 50%; background: linear-gradient(90deg, #FFD978, #FF3D81); animation: pp-spot2-time 4200ms linear infinite; }
[dir="rtl"] .pp-spot2__time::after { transform-origin: 100% 50%; }
@keyframes pp-spot2-time { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pp-spot2:hover .pp-spot2__time::after { animation-play-state: paused; }
@media (max-width: 1280px) { .pp-spot2 { width: 260px; } }
@media (prefers-reduced-motion: reduce) { .pp-spot2 .pp-spot__face.is-on, .pp-spot2 .pp-spot__face.is-out, .pp-spot2 .pp-spot__stack, .pp-spot2__time::after { animation: none; } }

/* 2.20 · the islimi corners over portraits (partials/motif.php) — replaces the 2.19 arch */
.pp-mo3 { position: absolute; z-index: 2; width: 40%; max-width: 150px; aspect-ratio: 1; pointer-events: none; color: #F1CF7A; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); opacity: .95; transition: opacity .2s ease; }
.pp-mo3 svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pp-mo3--a { top: 7px; left: 7px; }
.pp-mo3--b { bottom: 7px; right: 7px; transform: rotate(180deg); }
[dir="rtl"] .pp-mo3--a { left: auto; right: 7px; transform: scaleX(-1); }
[dir="rtl"] .pp-mo3--b { right: auto; left: 7px; transform: rotate(180deg) scaleX(-1); }
.pp-cx__pic--ph .pp-mo3 { color: color-mix(in srgb, var(--pp-violet) 55%, var(--pp-ink)); opacity: .35; filter: none; }
.pp-cx:hover .pp-mo3 { opacity: 1; }
.pp-gallery .pp-mo3 { width: 30%; max-width: 170px; }
.pp-cx2:has(.cx2-medal) .pp-mo3--b { opacity: .0; }
@media (max-width: 640px) { .pp-mo3 { width: 44%; } }
body.pp .nv--events { --nv: #F97316; }

/* 2.23 · item 19 · "On the stage" as a deck of playing cards: two card backs fanned behind, each contestant dealt onto the
   top from the side (a quarter turn that settles), the last one tossed away to the other side; gold frame, crown corner
   marks, name ribbon, a heart chip; the label and "see all" as proper pills */
.pp-deck { overflow: visible; }
.pp-deck .pp-spot__kick { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 14px; margin: 0 0 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 215, 120, .22), rgba(255, 61, 129, .18)); border: 1px solid rgba(255, 215, 120, .45); color: #FFE7A8; font-weight: 900; letter-spacing: .01em; }
.pp-deck .pp-spot__kick svg { width: 16px; height: 16px; color: #FFD978; animation: pp-deck-twinkle 2.6s ease-in-out infinite; }
@keyframes pp-deck-twinkle { 50% { transform: scale(1.25) rotate(12deg); opacity: .75; } }
.pp-deck .pp-spot__stack { animation: none; perspective: 900px; }
.pp-deck__back { position: absolute; inset: 0; border-radius: 20px; pointer-events: none; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9);
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 120, .3) 0 14%, transparent 15%), repeating-linear-gradient(45deg, rgba(255, 215, 120, .16) 0 2px, transparent 2px 12px),
    repeating-linear-gradient(-45deg, rgba(255, 215, 120, .16) 0 2px, transparent 2px 12px), linear-gradient(160deg, #3A1360, #1B0B33); border: 2px solid rgba(255, 215, 120, .55); }
.pp-deck__back::after { content: ""; position: absolute; inset: 8px; border-radius: 14px; border: 1px solid rgba(255, 215, 120, .35); }
.pp-deck__back--1 { transform: rotate(-7deg) translate(-14px, 6px); }
.pp-deck__back--2 { transform: rotate(5deg) translate(12px, 4px); }
.pp-deck .pp-spot__face { z-index: 2; border: 3px solid #F3D27C; box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .3); background: #1A0F2E; }
.pp-deck .pp-spot__face::before { inset: 6px; height: auto; border-radius: 14px; border: 1px solid rgba(255, 231, 168, .55); background: radial-gradient(70% 40% at 50% 0%, rgba(255, 225, 150, .3), transparent 70%); mix-blend-mode: normal; z-index: 2; }
.pp-deck .pp-spot__face.is-on { animation: pp-deck-deal 820ms cubic-bezier(.2, .9, .25, 1.15) both; }
.pp-deck .pp-spot__face.is-out { animation: pp-deck-toss 760ms cubic-bezier(.55, 0, .75, .3) both; z-index: 3; }
@keyframes pp-deck-deal { from { opacity: 0; transform: translate(130px, -60px) rotate(24deg) scale(.86); } 60% { opacity: 1; transform: translate(-6px, 4px) rotate(-3deg) scale(1.01); } to { opacity: 1; transform: none; } }
@keyframes pp-deck-toss { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate(-150px, 40px) rotate(-26deg) scale(.9); } }
[dir="rtl"] .pp-deck .pp-spot__face.is-on { animation-name: pp-deck-deal-rtl; }
[dir="rtl"] .pp-deck .pp-spot__face.is-out { animation-name: pp-deck-toss-rtl; }
@keyframes pp-deck-deal-rtl { from { opacity: 0; transform: translate(-130px, -60px) rotate(-24deg) scale(.86); } 60% { opacity: 1; transform: translate(6px, 4px) rotate(3deg) scale(1.01); } to { opacity: 1; transform: none; } }
@keyframes pp-deck-toss-rtl { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate(150px, 40px) rotate(26deg) scale(.9); } }
.pp-deck__ix { position: absolute; z-index: 3; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #2A1A05; background: linear-gradient(135deg, #FBE29A, #E2A93B); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6); }
.pp-deck__ix svg { width: 16px; height: 16px; }
.pp-deck__ix--a { top: 12px; inset-inline-start: 12px; }
.pp-deck__ix--b { top: 12px; inset-inline-end: 12px; }
.pp-deck .pp-spot__who { inset: auto 12px 12px; padding: 10px 12px; padding-inline-end: 52px; border-radius: 14px; background: rgba(14, 8, 34, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 231, 168, .3); z-index: 3; }
.pp-deck .pp-spot__who strong { font-size: 19px; }
.pp-deck .pp-spot__go { z-index: 4; inset-block-end: 20px; inset-inline-end: 20px; width: 38px; height: 38px; color: #fff; background: linear-gradient(135deg, #FF5C93, #E11D48); box-shadow: 0 8px 18px -8px rgba(225, 29, 72, .9); display: grid; place-items: center; }
.pp-deck .pp-spot__go svg { width: 18px; height: 18px; fill: currentColor; }
.pp-deck .pp-spot__face:hover .pp-spot__go, [dir="rtl"] .pp-deck .pp-spot__face:hover .pp-spot__go { transform: scale(1.12); }
.pp-deck .pp-spot__all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; min-height: 42px; border-radius: 999px; font-weight: 900; font-size: 14px; color: #2A1A05; text-decoration: none;
  background: linear-gradient(135deg, #FBE29A, #E2A93B); box-shadow: 0 12px 24px -14px rgba(226, 169, 59, .9); transition: transform .2s, filter .2s; }
.pp-deck .pp-spot__all:hover { transform: translateY(-2px); filter: brightness(1.05); }
.pp-deck .pp-spot__all svg { width: 17px; height: 17px; }
@media (prefers-reduced-motion: reduce) { .pp-deck .pp-spot__face.is-on, .pp-deck .pp-spot__face.is-out, .pp-deck .pp-spot__kick svg { animation: none; } }
.pp-deck__back { transition: transform .7s cubic-bezier(.2,.9,.25,1.1); }

/* 2.23 · item 16 · other contestants on a profile: a clear header and the contestants-page cards in a sideways row */
.pp-others2 { margin-top: clamp(36px, 5vw, 64px); padding: clamp(18px, 2.4vw, 28px); border-radius: 28px; position: relative; overflow: hidden;
  background: radial-gradient(60% 80% at 100% 0%, rgba(255, 61, 129, .12), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(124, 58, 237, .12), transparent 60%), var(--pp-surface, rgba(255, 255, 255, .6));
  border: 1px solid var(--pp-line, rgba(60, 30, 110, .1)); }
.pp-others2__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.pp-others2__head > div { flex: 1 1 260px; min-width: 0; }
.pp-others2__head h2 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; line-height: 1.4; }
.pp-others2__head p { margin: 4px 0 0; opacity: .72; }
.pp-others2__ic { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #FF5C93, #8B5CF6); box-shadow: 0 12px 24px -12px rgba(139, 92, 246, .8); }
.pp-others2__ic svg { width: 22px; height: 22px; }
body.pp .pp-others2__all, .pp-others2__all { color: #fff !important; } .pp-others2__all { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 900; text-decoration: none; color: #fff; background: linear-gradient(135deg, #FF5C93, #E11D48); box-shadow: 0 12px 24px -14px rgba(225, 29, 72, .8); }
.pp-others2__all svg { width: 17px; height: 17px; }
.pp-others2__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, calc((100% - 3 * 16px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.pp-others2__row > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 640px) { .pp-others2__row { grid-auto-columns: 74%; } .pp-others2__all { width: 100%; justify-content: center; } }

/* 2.23 · item 16 · the contestant's page opens on a stage: deep night-violet, two spotlights, a faint grid floor,
   the name large and white, the chips as glass pills */
body.pp .pp-ph--contestant { color: #fff; background: radial-gradient(40% 120% at 78% -10%, rgba(255, 225, 150, .30), transparent 60%), radial-gradient(40% 120% at 22% -10%, rgba(255, 61, 129, .28), transparent 60%), linear-gradient(180deg, #1B0B3A, #2A0F4A 60%, #3A1260) !important; border-bottom: 1px solid rgba(255, 215, 120, .25); }
body.pp .pp-ph--contestant .pp-ph__grid { opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) !important; }
body.pp .pp-ph--contestant .pp-ph__veil { display: none; }
body.pp .pp-ph--contestant .pp-ph__title { color: #fff; font-size: clamp(36px, 5.4vw, 64px); text-shadow: 0 6px 30px rgba(255, 61, 129, .35); }
body.pp .pp-ph--contestant .pp-ph__lead { color: rgba(255, 255, 255, .8); }
body.pp .pp-ph--contestant .pp-ph__kicker { color: #2A1A05; background: linear-gradient(135deg, #FBE29A, #E2A93B); border: 0; }
body.pp .pp-ph--contestant .pp-ph__crumbs a, body.pp .pp-ph--contestant .pp-ph__url { color: rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .08); }
body.pp .pp-ph--contestant .pp-ph__crumbs [aria-current="page"] { color: #fff; }
body.pp .pp-ph--contestant .pp-ph__stat { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.pp .pp-ph--contestant .pp-ph__float { opacity: .35; }
body.pp .pp-ph--contestant .pp-ph__stat :is(span, b, svg) { color: inherit !important; }
body.pp .pp-cx__chip--talent { color: #B45309; background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .35); }

