/* Publisher (noir-publisher) — deployed client styles.
   Refined dark "Pro Card", link.me-inspired: a big square hero (the avatar) that
   blurs as the page scrolls, with a sticky name/handle topbar that fades in.
   Faithful port of the .nrp-* block in NewEditor.css (editor-only selection
   outlines dropped, layout adapted to a full-page live scroll model) plus the
   .pc-* card-component rules from professional-link-bio-v2/ProCard.css (the pro-*
   link rows reuse them).
   LIVE MODEL: the WINDOW scrolls (no inner scroll container); the background is
   fixed; the topbar is fixed but constrained to the card width (content top-left).
   Desktop = full page (no card frame); mobile mirrors the editor preview.
   Adult (18+) warnings are PER-LINK only — there is no page-level age gate.
   VERSION: 1.0 */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }
body {
  min-height: 100vh;
  background: #0c0c0e;
  color: #f4f3f1;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { -webkit-user-drag: none; }

.nrp-root {
  --nrp-text: #f4f3f1;
  --nrp-muted: #9a9a9f;
  --nrp-muted-2: #6f6f76;
  --nrp-surface: #141416;
  --nrp-surface-2: #1b1b1f;
  --nrp-border: rgba(255,255,255,0.08);
  --nrp-border-2: rgba(255,255,255,0.14);
  --nrp-accent: #ffffff;       /* default white (overridden inline from accentColor) */
  --nrp-accent-ink: #1a1413;   /* readable text on the accent (auto-flips for dark accents) */
  --nrp-radius: 18px;
  --nrp-radius-sm: 13px;
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  isolation: isolate;
  color: var(--nrp-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0c0c0e;
}

/* ---- Background (fixed to the viewport; content scrolls over it) ---- */
.nrp-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.nrp-bg-blur { background-size: cover; background-position: center; filter: blur(30px) brightness(0.62); transform: scale(1.18); }
video.nrp-bg-blur { width: 100%; height: 100%; object-fit: cover; }
.nrp-bg-scrim { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(12,12,14,0.32), rgba(12,12,14,0.68)); }

/* ---- Sticky topbar (fixed; constrained to the card width, content top-left) ---- */
.nrp-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  max-width: 440px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
  background: rgba(12,12,14,0.78);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--nrp-border);
  opacity: 0; transform: translateY(-100%); pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}
.nrp-topbar.show { opacity: 1; transform: none; }
.nrp-topbar-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; border: 1px solid var(--nrp-border-2); display: grid; place-items: center; background: var(--nrp-surface-2); }
.nrp-topbar-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nrp-topbar-av-glyph { font-size: 15px; font-weight: 700; color: var(--nrp-text); }
.nrp-topbar-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.nrp-topbar-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nrp-topbar-name svg, .nrp-topbar-name img { width: 14px; height: 14px; }
.nrp-topbar-role { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nrp-accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Scroll wrapper (the page scrolls; this is just a relative stacking layer) ---- */
.nrp-scroll { position: relative; z-index: 1; width: 100%; }

.nrp-empty-prompt { display: grid; place-items: center; min-height: 70vh; padding: 24px; text-align: center; }
.nrp-empty-title { font-size: 17px; font-weight: 700; }
.nrp-empty-sub { margin-top: 6px; font-size: 13px; color: var(--nrp-muted); }

/* ---- Card (content column; sits over the fixed blurred-avatar page backdrop) ---- */
.nrp-card { position: relative; z-index: 1; width: 100%; max-width: 440px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--nrp-card-bg, #0c0c0e); }

/* ---- Hero (square; blurs on scroll) ---- */
.nrp-hero {
  position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #16151a;
}
.nrp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; will-change: filter, transform; transform: scale(1); }
.nrp-hero-empty { display: grid; place-items: center; color: var(--nrp-muted-2); }
.nrp-hero-glyph { font-size: 72px; font-weight: 800; color: var(--nrp-text); }
.nrp-hero-ph { width: 40%; height: 40%; }
.nrp-hero-overlay { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; will-change: opacity; }
.nrp-hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(to top, var(--nrp-page-bg, #0c0c0e) 4%, color-mix(in srgb, var(--nrp-page-bg, #0c0c0e) 55%, transparent) 45%, transparent 100%); pointer-events: none; }
.nrp-hero-badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; font-size: 12px; font-weight: 600; color: var(--nrp-text); background: rgba(12,12,14,0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--nrp-border); border-radius: 999px; }
.nrp-hero-dot { width: 7px; height: 7px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 3px rgba(88,214,141,0.18); }

/* ---- Content ---- */
.nrp-content { position: relative; z-index: 1; margin: -34px 0 0; padding: 0 18px 56px; }
.nrp-reorder-stack { display: flex; flex-direction: column; gap: 16px; }
.nrp-section-item { position: relative; }

/* ---- Profile ---- */
.nrp-profile { text-align: center; }
.nrp-name { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--nrp-text); display: inline-flex; align-items: center; gap: 7px; justify-content: center; }
.nrp-name svg, .nrp-name img { width: 18px; height: 18px; }
.nrp-handle { margin-top: 4px; font-size: 14px; color: var(--nrp-muted); }
.nrp-bio { margin: 14px auto 0; max-width: 340px; font-size: 15px; color: var(--nrp-text); opacity: 0.92; line-height: 1.5; }
.nrp-meta { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--nrp-muted); flex-wrap: wrap; }
.nrp-meta-loc { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Links: featured = the dominant CTA (universal 'featured' type) ---- */
.nrp-links { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; }
.nrp-link-wrap { display: block; border-radius: var(--nrp-radius); -webkit-tap-highlight-color: transparent; }
.nrp-featured {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 14px 22px; overflow: hidden;
  background: var(--nrp-cta-bg, var(--nrp-accent)); color: var(--nrp-cta-text, var(--nrp-accent-ink));
  border-radius: 16px; border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px -12px rgba(232,198,192,0.5); text-align: center;
  transition: filter .15s ease, transform .12s ease;
}
.nrp-link-wrap:hover .nrp-featured { filter: brightness(1.05); }
.nrp-link-wrap:active .nrp-featured { transform: scale(0.99); }
.nrp-featured.has-image { color: #fff; min-height: 120px; align-items: flex-end; justify-content: flex-start; text-align: left; }
.nrp-featured-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.nrp-featured.has-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.65)); z-index: 1; }
.nrp-featured-icon { position: relative; z-index: 2; display: inline-flex; }
.nrp-featured-icon img, .nrp-featured-icon svg { width: 19px; height: 19px; }
.nrp-featured-text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.nrp-featured-title { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.nrp-featured-sub { font-size: 13px; font-weight: 500; opacity: 0.85; }

/* ---- Links: simple = dark rows (universal 'simple' type) ---- */
.nrp-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 13px 16px; background: var(--nrp-surface); border: 1px solid var(--nrp-border); border-radius: var(--nrp-radius); transition: background .15s ease, border-color .15s ease, transform .12s ease; }
.nrp-link-wrap:hover .nrp-row { background: var(--nrp-surface-2); border-color: var(--nrp-border-2); }
.nrp-link-wrap:active .nrp-row { transform: scale(0.99); }
.nrp-row-icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,0.05); border: 1px solid var(--nrp-border); color: var(--nrp-accent); }
.nrp-row-icon img, .nrp-row-icon svg { width: 20px; height: 20px; }
.nrp-row-text { flex: 1 1 auto; min-width: 0; }
.nrp-row-title { font-size: 15.5px; font-weight: 600; color: var(--nrp-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.nrp-chev { flex: 0 0 auto; color: var(--nrp-muted-2); transition: transform .15s ease; }
.nrp-link-wrap:hover .nrp-chev { transform: translateX(2px); }

/* ---- Gallery (universal) ---- */
.nrp-gallery { display: flex; flex-direction: column; gap: 8px; }
.nrp-gallery-title { font-weight: 700; font-size: 13px; color: var(--nrp-text); }
.nrp-gallery-grid { display: grid; grid-template-columns: repeat(var(--nrp-gallery-columns, 2), 1fr); gap: 8px; }
.nrp-gallery-tile { position: relative; border-radius: 12px; overflow: hidden; background: var(--nrp-surface); aspect-ratio: 1 / 1; }
.nrp-gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nrp-gallery-empty { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 8px, rgba(255,255,255,0.02) 8px, rgba(255,255,255,0.02) 16px); }

/* ---- Media (universal) ---- */
.nrp-media { border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--nrp-border); }
.nrp-media-frame { width: 100%; display: block; border: 0; }
.nrp-media-placeholder { width: 100%; min-height: 180px; display: grid; place-items: center; color: var(--nrp-muted); }
.nrp-media-text { padding: 11px 13px; }
.nrp-media-title { font-weight: 700; font-size: 14px; color: var(--nrp-media-title, var(--nrp-text)); }
.nrp-media-caption { font-size: 12px; margin-top: 2px; color: var(--nrp-media-caption, var(--nrp-muted)); }

/* ---- Header / text / divider (universal) ---- */
.nrp-header { font-weight: 700; letter-spacing: 0.04em; color: var(--nrp-muted); padding: 6px 2px 0; }
.nrp-text { color: var(--nrp-muted); line-height: 1.5; padding: 2px; }
.nrp-divider { display: flex; align-items: center; }
.nrp-divider hr { width: 100%; border: 0; border-top: 1px solid var(--nrp-divider-color, rgba(255,255,255,0.18)); margin: 0; }
.nrp-divider-chars span { color: var(--nrp-divider-color, rgba(255,255,255,0.4)); letter-spacing: 0.3em; }

/* ---- Socials ---- */
.nrp-socials { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.nrp-social { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--nrp-text); background: var(--nrp-surface); border: 1px solid var(--nrp-border); transition: transform .15s ease, border-color .15s ease; }
.nrp-social:hover { transform: scale(1.08); border-color: var(--nrp-border-2); }
.nrp-social:active { transform: scale(0.96); }
.nrp-social-icon { width: 22px; height: 22px; display: block; }
.nrp-socials.is-icon-only .nrp-social { width: 38px; height: 38px; background: transparent; border-color: transparent; }
.nrp-socials.is-icon-only .nrp-social-icon { width: 26px; height: 26px; }

/* ---- Combined followers counter + breakdown bottom sheet ---- */
.nrp-followers { display: flex; align-items: baseline; gap: 6px; width: fit-content; margin: 14px auto 0; padding: 8px 16px; background: var(--nrp-surface); border: 1px solid var(--nrp-border); border-radius: 999px; color: var(--nrp-text); font-family: inherit; cursor: pointer; transition: border-color .15s; }
.nrp-followers:hover { border-color: var(--nrp-border-2); }
.nrp-followers-num { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.nrp-followers-label { font-size: 12.5px; color: var(--nrp-muted); }
.nrp-sheet-overlay { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; background: rgba(0,0,0,0.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.nrp-sheet { width: 100%; max-width: 520px; margin: 0 auto; max-height: 80%; overflow-y: auto; background: #16151a; border-top: 1px solid var(--nrp-border-2); border-radius: 22px 22px 0 0; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 44px rgba(0,0,0,0.55); animation: nrp-sheet-up 0.30s cubic-bezier(0.22, 0.61, 0.36, 1); }
@keyframes nrp-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.nrp-sheet-grab { width: 38px; height: 4px; border-radius: 999px; background: var(--nrp-border-2); margin: 2px auto 14px; }
.nrp-sheet-total { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--nrp-text); }
.nrp-sheet-sub { text-align: center; font-size: 12.5px; color: var(--nrp-muted); margin-top: 2px; }
.nrp-sheet-list { display: flex; flex-direction: column; margin-top: 14px; }
.nrp-sheet-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--nrp-border); }
.nrp-sheet-row:first-child { border-top: none; }
.nrp-sheet-ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; color: var(--nrp-muted); }
.nrp-sheet-ic img { width: 24px; height: 24px; object-fit: contain; }
.nrp-sheet-name { flex: 1; min-width: 0; font-size: 14.5px; color: var(--nrp-text); }
.nrp-sheet-count { font-size: 14.5px; font-weight: 700; color: var(--nrp-text); }
.nrp-sheet-empty { color: var(--nrp-muted); font-size: 13px; text-align: center; padding: 14px; }
.nrp-sheet-done { width: 100%; margin-top: 16px; min-height: 46px; border: none; border-radius: 12px; background: var(--nrp-accent); color: var(--nrp-accent-ink); font-weight: 700; font-size: 14.5px; cursor: pointer; }

/* ---- Footer ---- */
.nrp-footer { margin-top: 30px; text-align: center; font-size: 12.5px; color: var(--nrp-muted-2); }
.nrp-footer-brand { font-weight: 600; color: var(--nrp-muted); }

/* ============================================================================
   Pro Card (.pc-*) card-component rules — the pro-* link rows reuse these.
   Ported from professional-link-bio-v2/ProCard.css (card components only; the
   ProCard page-level layout / profile / socials / footer are NOT included —
   Publisher provides those via .nrp-*). KEEP IN SYNC with that file.
   ============================================================================ */
.pc-link-wrap { position: relative; width: 100%; border-radius: 14px; }
.pc-link-anchor { display: block; position: relative; border-radius: inherit; color: inherit; text-decoration: none; cursor: pointer; outline-offset: 4px; }
.pc-link-anchor:focus-visible { outline: 2px solid rgba(120, 170, 255, 0.7); }
.pc-img-empty { background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 10px, rgba(255,255,255,0.1) 10px 20px); }

/* Shared row (simple + compact + fullbg) */
.pc-row { display: flex; align-items: center; gap: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.15s ease; }
.pc-link-anchor:hover .pc-row { background: rgba(255, 255, 255, 0.12); }
.pc-simple { min-height: 64px; padding: 14px 16px; }
.pc-compact { min-height: 80px; padding: 12px; }
.pc-row-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); flex-shrink: 0; }
.pc-row-icon img { width: 18px; height: 18px; object-fit: contain; display: block; }
.pc-row-icon span { font-size: 12px; font-weight: 800; line-height: 1; }
.pc-compact-img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; display: block; }
.pc-row-text { flex: 1; min-width: 0; }
.pc-row-title { font-size: 16px; font-weight: 500; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-compact .pc-row-title { font-weight: 600; font-size: 15px; }
.pc-row-sub { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-arrow { width: 14px; height: 14px; flex-shrink: 0; color: rgba(255, 255, 255, 0.4); }

/* Featured card */
.pc-featured { position: relative; width: 100%; aspect-ratio: 538 / 326; border-radius: 14px; overflow: hidden; }
.pc-featured-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-featured::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7) 100%); pointer-events: none; }
.pc-featured-icon { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pc-featured-icon img { width: 16px; height: 16px; object-fit: contain; display: block; }
.pc-featured-icon span { font-size: 11px; font-weight: 800; line-height: 1; color: #ffffff; }
.pc-featured-copy { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 12px 16px 16px; text-align: center; }
.pc-featured-title { font-size: 20px; font-weight: 700; color: #ffffff; margin-bottom: 4px; overflow-wrap: anywhere; }
.pc-featured-sub { font-size: 14px; color: rgba(255, 255, 255, 0.9); overflow-wrap: anywhere; }

/* Full-background bar */
.pc-fullbg { position: relative; height: 96px; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.pc-fullbg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; display: block; }
.pc-fullbg-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.pc-fullbg-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pc-fullbg .pc-row-title { font-weight: 700; }

/* Dual cards */
.pc-dual { display: flex; gap: 12px; justify-content: center; }
.pc-dual-card { position: relative; flex: 1 1 50%; max-width: calc(50% - 6px); aspect-ratio: 262 / 151; border-radius: 12px; overflow: hidden; }
.pc-link-anchor-dual { display: block; flex: 1 1 50%; max-width: calc(50% - 6px); border-radius: 12px; }
.pc-link-anchor-dual .pc-dual-card { flex: 1 1 100%; max-width: 100%; }
.pc-dual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-dual-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7) 100%); pointer-events: none; }
.pc-dual-icon { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pc-dual-icon img { width: 13px; height: 13px; object-fit: contain; display: block; }
.pc-dual-icon span { font-size: 10px; font-weight: 800; line-height: 1; color: #ffffff; }
.pc-dual-copy { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 8px 12px; text-align: center; }
.pc-dual-title { font-size: 16px; font-weight: 700; color: #ffffff; margin-bottom: 2px; overflow-wrap: anywhere; }
.pc-dual-sub { font-size: 12px; color: rgba(255, 255, 255, 0.9); overflow-wrap: anywhere; }
.pc-dual-card .pc-img-empty { position: absolute; inset: 0; }

/* Gallery */
.pc-gallery { width: 100%; }
.pc-gallery-title { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.pc-gallery-track { display: flex; align-items: flex-start; gap: 12px; padding-top: 6px; padding-bottom: 8px; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; user-select: none; }
.pc-gallery-track.is-scroll { overflow-x: auto; cursor: grab; }
.pc-gallery-track.is-grabbing { cursor: grabbing; }
.pc-gallery-track.is-grabbing * { cursor: grabbing !important; }
.pc-gallery-track.is-fill { overflow-x: hidden; }
.pc-gallery-track::-webkit-scrollbar { display: none; }
.pc-gallery-tile { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.08); border: 0; padding: 0; display: block; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pc-gallery-tile::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0); transition: background-color 0.2s ease; pointer-events: none; }
.pc-gallery-tile:hover { transform: scale(1.05); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3); z-index: 2; }
.pc-gallery-tile:hover::after { background: rgba(0, 0, 0, 0.2); }
.pc-gallery-track.is-grabbing .pc-gallery-tile:hover { transform: none; box-shadow: none; }
.pc-gallery-track.is-grabbing .pc-gallery-tile:hover::after { background: rgba(0, 0, 0, 0); }
.pc-gallery-track.is-fill > .pc-gallery-tile { flex: 1 1 0; min-width: 0; }
.pc-gallery-track.is-scroll > .pc-gallery-tile { flex: 0 0 151px; width: 151px; height: 151px; }
.pc-gallery-tile.is-clickable { cursor: pointer; }
.pc-gallery-tile.is-clickable:focus-visible { outline: 2px solid rgba(120, 170, 255, 0.7); outline-offset: 2px; }
.pc-gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.pc-gallery-tile .pc-img-empty { position: absolute; inset: 0; }

/* Card animations (bounce / pulse / shine) */
@keyframes pc-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.pc-anim-bounce { animation: pc-bounce 2s ease-in-out infinite; }
@keyframes pc-scale-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.pc-anim-pulse { animation: pc-scale-pulse 2s ease-in-out infinite; }
.pc-anim-shine { position: relative; overflow: hidden; }
.pc-anim-shine::before {
  content: ''; position: absolute; top: -50%; left: -100%; width: 60%; height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.03) 75%, transparent 100%);
  transform: skewX(-15deg); animation: pc-shine 4s ease-in-out infinite; z-index: 3; pointer-events: none;
}
@keyframes pc-shine { 0% { left: -100%; opacity: 0; } 10% { opacity: 1; } 50% { left: 100%; opacity: 1; } 55% { opacity: 0; } 100% { left: 100%; opacity: 0; } }
/* Glow — soft pulsing coloured halo; colour from --pc-glow-color (editor control). */
.pc-anim-glow { border-radius: 14px; animation: pc-glow-pulse 2.4s ease-in-out infinite; }
@keyframes pc-glow-pulse {
  0%, 100% { box-shadow: 0 0 12px 2px color-mix(in srgb, var(--pc-glow-color, #e8c6c0) 45%, transparent); }
  50%      { box-shadow: 0 0 28px 6px color-mix(in srgb, var(--pc-glow-color, #e8c6c0) 78%, transparent); }
}

/* Adult content inline warning (per-link; dark / glass) */
.pc-link-anchor.has-adult-warning, .pc-gallery-tile.has-adult-warning { overflow: hidden; }
.pc-adult-inline { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; min-height: 100%; padding: 10px; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #ffffff; text-align: center; border-radius: inherit; }
.pc-adult-inline-inner { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; max-width: 300px; }
.pc-adult-inline-title { display: block; color: #ffffff; font-size: 12px; font-weight: 700; line-height: 1.15; }
.pc-adult-inline-body { display: block; color: rgba(255, 255, 255, 0.85); font-size: 11px; font-weight: 500; line-height: 1.28; }
.pc-adult-actions { display: flex; justify-content: center; gap: 8px; width: 100%; }
.pc-adult-btn { min-height: 28px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; padding: 0 10px; cursor: pointer; font: inherit; font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; }
.pc-adult-btn.secondary { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.pc-adult-btn.primary { border-color: #ffffff; background: #ffffff; color: #000000; }
.pc-link-anchor-simple .pc-adult-inline, .pc-link-anchor-compact .pc-adult-inline, .pc-link-anchor-fullbg .pc-adult-inline { padding: 7px 10px; }
.pc-link-anchor-simple .pc-adult-inline-title, .pc-link-anchor-compact .pc-adult-inline-title { display: none; }
.pc-link-anchor-simple .pc-adult-inline-body, .pc-link-anchor-compact .pc-adult-inline-body { margin-bottom: 4px; white-space: nowrap; }
.pc-link-anchor-simple .pc-adult-btn, .pc-link-anchor-compact .pc-adult-btn { min-height: 21px; border-radius: 6px; padding: 4px 10px; font-size: 10px; }

/* Gallery image lightbox (dark / glass) */
.pc-image-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pc-image-panel { position: relative; width: min(90vw, 1024px); max-height: 90vh; display: grid; gap: 10px; cursor: default; }
.pc-image-preview { width: 100%; max-height: min(82vh, 760px); display: block; border-radius: 8px; object-fit: contain; background: #000000; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); user-select: none; -webkit-user-drag: none; }
.pc-image-close { justify-self: end; min-height: 34px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 0 14px; background: rgba(255, 255, 255, 0.1); color: #ffffff; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pc-image-caption { justify-self: center; max-width: min(560px, 100%); padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #ffffff; font-size: 12px; font-weight: 600; text-align: center; }

/* ============================================================================
   Desktop = full page (NOT a card frame). Centered column, larger hero.
   ============================================================================ */
@media (min-width: 768px) {
  .nrp-topbar { max-width: 520px; }
  .nrp-card { max-width: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .nrp-topbar { transition: none !important; }
  .nrp-hero-img { filter: none !important; transform: none !important; }
  .nrp-sheet { animation: none; }
  .pc-status-dot, .pc-anim-bounce, .pc-anim-pulse { animation: none !important; }
  .pc-anim-shine::before { display: none; }
  .pc-anim-glow { animation: none !important; box-shadow: 0 0 16px 2px color-mix(in srgb, var(--pc-glow-color, #e8c6c0) 55%, transparent); }
}
