.pn-engine-shell {
  --pn-bg: #060606;
  --pn-panel: rgba(14, 15, 20, 0.88);
  --pn-panel-soft: rgba(255, 255, 255, 0.04);
  --pn-copy: #f6f2ea;
  --pn-muted: rgba(226, 222, 214, 0.72);
  --pn-accent: #eac279;
  --pn-accent-soft: rgba(234, 194, 121, 0.16);
  color: var(--pn-copy);
}

.pn-engine-shell .pn-section {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, rgba(22, 22, 22, 0.92), rgba(8, 8, 8, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(20px) saturate(132%);
  -webkit-backdrop-filter: blur(20px) saturate(132%);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.pn-engine-shell .pn-grid ul,
.pn-engine-shell .pn-related-links ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.85rem;
  list-style: none;
  padding: 0;
}

.pn-breadcrumbs ol {
  display: flex;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
}

.pn-engine-kicker {
  margin: 0 0 0.55rem;
  color: rgba(255, 223, 179, 0.84);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pn-engine-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff7eb;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pn-engine-button:hover,
.pn-engine-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.18);
}

.pn-engine-button-primary {
  border-color: rgba(234, 194, 121, 0.42);
  background: linear-gradient(160deg, rgba(234, 194, 121, 0.24), rgba(234, 194, 121, 0.08));
}

.pn-meme-archive-hero h1,
.pn-meme-card-body h2,
.pn-section h2 {
  margin-top: 0;
}

.pn-meme-archive-lead,
.pn-meme-card-summary,
.pn-meme-empty p,
.pn-meme-description,
.pn-meme-share p,
.pn-meme-bridge p {
  color: var(--pn-muted);
  line-height: 1.65;
}

.pn-meme-archive-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 1rem;
}

.pn-meme-archive-stats div {
  display: grid;
  gap: 0.16rem;
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--pn-panel-soft);
}

.pn-meme-archive-stats strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.pn-meme-archive-stats span {
  color: var(--pn-muted);
  font-size: 0.82rem;
}

.pn-meme-archive-actions,
.pn-meme-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pn-meme-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.pn-meme-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 28%),
    rgba(8, 10, 14, 0.92);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.16);
}

.pn-meme-card-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.02);
}

.pn-meme-card-media img,
.pn-meme-card-media-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pn-meme-card-media-fallback {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 132, 180, 0.26), rgba(255, 132, 180, 0) 34%),
    radial-gradient(circle at 82% 20%, rgba(120, 214, 255, 0.22), rgba(120, 214, 255, 0) 30%),
    rgba(18, 20, 26, 0.96);
}

.pn-meme-card-body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.pn-meme-card-meta {
  margin: 0;
  color: rgba(255, 221, 190, 0.82);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pn-meme-card-body h2 {
  margin-bottom: 0;
  font-size: 1.06rem;
  line-height: 1.25;
}

.pn-meme-card-body h2 a {
  color: #ffffff;
  text-decoration: none;
}

.pn-meme-empty {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.pn-meme-empty strong {
  color: #ffffff;
}

.pn-storefront-meme-drop {
  margin-top: 2rem;
}

.pn-storefront-meme-drop__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.pn-storefront-meme-drop__header h2 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.pn-storefront-meme-drop__header p:last-child {
  max-width: 44rem;
  margin: 0.6rem 0 0;
}

.pn-storefront-meme-drop__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pn-storefront-meme-grid {
  margin-top: 0;
}

.pn-storefront-meme-card .pn-meme-card-body p {
  margin: 0;
}

.pn-meme-shell .pn-hero-media img,
.pn-meme-shell .wp-post-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.pn-meme-share,
.pn-meme-bridge,
.pn-related-links {
  display: grid;
  gap: 0.4rem;
}

.pn-meme-bridge a,
.pn-related-links a {
  color: #fff1d5;
}

@media (max-width: 781px) {
  .pn-meme-archive-stats {
    grid-template-columns: 1fr;
  }

  .pn-meme-archive-actions,
  .pn-meme-card-actions,
  .pn-storefront-meme-drop__actions {
    flex-direction: column;
  }
}
