﻿/*
Theme Name: PromptVault — Neon Green Enterprise
Theme URI: https://www.promptvoult.com/
Author: Abdul Malik (converted to WordPress)
Author URI: https://www.promptvoult.com/
Description: Ultra-Premium Glassmorphism + Piano-Black 3D Orb + Apple/Vision-Pro-inspired enterprise interface for AI prompt galleries — redesigned to a strict BLACK + DARK + NEON GREEN monochrome-accent identity. Sticky header, search bar, navigation, hero section, responsive 3:4 card grid, one-click prompt copy, toast notifications, pagination, mobile docks, radial dock, search modal and saved-prompts dashboard. Zero other hues: every accent, glow, gradient and state color is derived from one neon-green scale.
Version: 4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neoblue
Tags: dark, two-columns, custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

/*!
 * PROMPTVAULT — NEON GREEN ENTERPRISE THEME
 * Apple · Vision Pro · Linear · Vercel · Porsche Design language
 * Palette law: PURE BLACK surfaces + achromatic greys + ONE neon-green scale.
 * No purple. No blue. No cyan. No red. No exceptions.
 * Every pixel handcrafted · 60fps · WCAG-AA · GPU-accelerated
 * Version 4.0
 */

/* ============================================
   ROOT VARIABLES — Premium Design Tokens
   ============================================ */
:root {
  /* ── PIANO-BLACK MONOCHROME SURFACE STACK ── */
  --bg-primary:    #000000;   /* deepest void */
  --bg-secondary:  #050505;   /* base canvas */
  --bg-tertiary:   #0B0B0C;   /* mid layer */
  --bg-elevated:   #111112;   /* card body */
  --bg-highest:    #1A1A1C;   /* raised surface */

  /* ── GLASS STACK (neutral black glass) ── */
  --glass-bg:           rgba(10, 10, 11, 0.55);
  --glass-bg-strong:    rgba(6, 6, 7, 0.80);
  --glass-bg-soft:      rgba(255, 255, 255, 0.035);
  --glass-border:       rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(0, 255, 65, 0.35);
  --glass-highlight:    rgba(255, 255, 255, 0.05);
  --glass-inner-glow:   rgba(0, 255, 65, 0.05);

  /* ── NEON GREEN — the single accent scale ── */
  --accent:            #00FF41;   /* primary neon */
  --accent-bright:     #7CFF9E;   /* hover / highlight */
  --accent-deep:       #00B72E;   /* gradient anchor */
  --accent-ink:        #001506;   /* text/icons ON neon fills */
  --accent-soft:       rgba(0, 255, 65, 0.14);
  --accent-glow:       rgba(0, 255, 65, 0.35);
  --accent-glow-soft:  rgba(0, 255, 65, 0.15);
  --accent-faint:      rgba(0, 255, 65, 0.07);

  /* ── LEGACY ALIASES (preserved for JS/markup compatibility — all remapped to neon green) ── */
  --neo-pink:          #00FF41;
  --neo-pink-bright:   #7CFF9E;
  --neo-pink-soft:     rgba(0, 255, 65, 0.14);
  --neo-pink-glow:     rgba(0, 255, 65, 0.35);
  --neo-violet:        #00B72E;
  --neo-violet-soft:   rgba(0, 183, 46, 0.20);
  --neo-blue:          #00E63A;
  --neo-blue-bright:   #4DFF7C;
  --neo-blue-glow:     rgba(0, 230, 58, 0.30);
  --success-green:     #00FF41;

  /* ── TEXT HIERARCHY (achromatic — legal inside the palette law) ── */
  --text-primary:   #FFFFFF;
  --text-body:      #E8E8E8;
  --text-secondary: #A9A9AD;
  --text-muted:     #6E6E73;

  /* ── ORB PALETTE (piano-black gradient stops) ── */
  --orb-center: #6F6F6F;
  --orb-mid:    #2D2D2D;
  --orb-dark:   #0F0F0F;
  --orb-edge:   #000000;

  /* ── RADII (8pt grid harmonic) ── */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 36px;

  /* ── PREMIUM BLUR ── */
  --blur-glass:        blur(24px) saturate(180%);
  --blur-glass-strong: blur(32px) saturate(200%);
  --blur-glass-light:  blur(14px) saturate(140%);

  /* ── LAYERED CINEMATIC SHADOWS (black + neon only) ── */
  --shadow-card:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 12px 32px rgba(0, 0, 0, 0.55);
  --shadow-float:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.4),
    0 20px 60px rgba(0, 0, 0, 0.80);
  --shadow-hardware:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -2px 6px rgba(0, 0, 0, 0.30),
    0 10px 30px rgba(0, 255, 65, 0.28);
  --shadow-glow:       0 0 32px var(--accent-glow);
  --shadow-glow-blue:  0 0 32px var(--neo-blue-glow); /* legacy name → neon green value */
  --shadow-orb:
    inset -6px -8px 20px rgba(0, 0, 0, 0.7),
    inset 6px 8px 18px rgba(255, 255, 255, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.6);

  /* ── PREMIUM EASING CURVES ── */
  --ease-smooth:  cubic-bezier(0.22, 1, 0.36, 1);          /* Apple standard */
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);       /* Overshoot */
  --ease-swift:   cubic-bezier(0.4, 0, 0.2, 1);            /* Material fast */
  --ease-cinema:  cubic-bezier(0.65, 0, 0.35, 1);          /* Editorial */

  /* Legacy aliases */
  --transition-smooth: var(--ease-smooth);
  --transition-spring: var(--ease-spring);

  /* Saved-dashboard legacy tokens (remapped) */
  --mac-radius: 24px;
  --ios-btn-radius: 14px;
  --neo-blue-start: #00FF41;
  --neo-blue-end:   #00962A;
}

/* ============================================
   GLOBAL RESET
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-primary);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  /* Ultra-subtle neon wash — 96% monochrome black */
  background-image:
    radial-gradient(ellipse 60% 45% at 15% 8%,  rgba(0, 255, 65, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 85% 92%, rgba(0, 183, 46, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(14, 16, 14, 1)     0%, var(--bg-primary) 80%);
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.65;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01", "ss02";
  font-optical-sizing: auto;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
  perspective: 1400px;
}

/* Ambient orb field — cinematic depth backdrop (green-charged, compositor-only motion) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    /* Top-left large orb */
    radial-gradient(circle 340px at 12% 20%,
      rgba(0, 255, 65, 0.045) 0%,
      rgba(45, 45, 45, 0.14)   20%,
      rgba(15, 15, 15, 0.08)   45%,
      transparent 70%),
    /* Bottom-right medium orb */
    radial-gradient(circle 260px at 88% 78%,
      rgba(0, 255, 65, 0.075)  0%,
      rgba(45, 45, 45, 0.12)   25%,
      rgba(15, 15, 15, 0.06)   50%,
      transparent 75%),
    /* Center-right tiny orb */
    radial-gradient(circle 180px at 75% 35%,
      rgba(140, 140, 140, 0.04) 0%,
      transparent 60%),
    /* Left mid tiny orb */
    radial-gradient(circle 200px at 8% 65%,
      rgba(0, 255, 65, 0.03) 0%,
      transparent 65%);
  pointer-events: none;
  z-index: -2;
  animation: np-orb-drift 40s ease-in-out infinite alternate;
  will-change: transform;
}

/* Fine grain film noise — luxury texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

@keyframes np-orb-drift {
  0%   { transform: translate3d(0, 0, 0)       scale(1); }
  50%  { transform: translate3d(-2%, -1.5%, 0) scale(1.04); }
  100% { transform: translate3d(1.5%, 2%, 0)   scale(1.02); }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: color 0.28s var(--ease-smooth);
}

a:hover {
  color: var(--accent);
}

::selection {
  background: var(--accent-soft);
  color: #fff;
}

/* WCAG-AA visible focus — neon ring, 17.4:1 on black */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================
   CUSTOM SCROLLBAR — Piano-black rail, neon thumb
   ============================================ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #22232a, #0B0B0C);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
}
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #22232a var(--bg-primary);
}

/* ============================================
   REUSABLE FLOATING ORB (decorative — pure CSS)
   Attach as ::before/::after on sections
   ============================================ */
.np-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 25%,
      var(--orb-center) 0%,
      var(--orb-mid) 28%,
      var(--orb-dark) 60%,
      var(--orb-edge) 100%);
  box-shadow: var(--shadow-orb);
  filter: blur(0.5px);
  z-index: 0;
  will-change: transform;
  animation: np-orb-float 14s ease-in-out infinite;
}
.np-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,0.28) 0%, transparent 22%),
    radial-gradient(circle at 70% 85%, var(--accent-glow-soft) 0%, transparent 50%);
  mix-blend-mode: screen;
}

@keyframes np-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(-14px, -22px, 0) scale(1.03); }
  66%      { transform: translate3d(10px, 16px, 0)   scale(0.98); }
}

/* Backdrop-filter graceful degradation */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --glass-bg:        rgba(10, 10, 11, 0.92);
    --glass-bg-strong: rgba(6, 6, 7, 0.96);
  }
}

/* ============================================
   HEADER — Glassmorphism Bar (restored blur)
   ============================================ */
.np-header {
  position: relative;
  top: auto;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--glass-border);
  padding: 18px 0;
  transition: all 0.4s var(--ease-smooth);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.45);
}

.np-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 255, 65, 0.35) 30%,
    rgba(0, 183, 46, 0.35) 70%,
    transparent 100%);
  opacity: 0.8;
  pointer-events: none;
}

.np-header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.np-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.028em;
  transition: transform 0.4s var(--ease-spring);
  will-change: transform;
}

.np-logo:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Logo mark — piano-black orb with neon sheen */
.np-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 25%,
      var(--orb-center) 0%,
      var(--orb-mid) 35%,
      var(--orb-dark) 70%,
      #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 6px 18px rgba(0, 0, 0, 0.6),
    0 0 22px var(--accent-glow-soft);
  transition: transform 0.5s var(--ease-spring);
}

.np-logo-mark::before {
  content: '';
  position: absolute;
  top: 6%;
  left: 12%;
  width: 42%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.55) 0%, transparent 70%);
  filter: blur(1px);
  pointer-events: none;
}

.np-logo:hover .np-logo-mark {
  transform: rotateY(14deg) rotateX(-8deg) translateZ(8px);
}

/* ============================================
   NAVIGATION NAVBAR (Desktop)
   ============================================ */
.np-nav {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.np-nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.np-nav a {
  padding: 10px 18px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.008em;
  border-radius: var(--radius-sm);
  transition: all 0.32s var(--ease-smooth);
  position: relative;
  white-space: nowrap;
}

.np-nav a:hover {
  color: var(--text-primary);
  background: var(--glass-bg-soft);
  text-shadow: 0 0 14px var(--accent-glow-soft);
}

.np-nav a:active { transform: scale(0.97); }

.np-nav ul li.current-menu-item > a,
.np-nav ul li.current_page_item > a,
.np-nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow:
    inset 0 0 0 1px rgba(0, 255, 65, 0.22),
    0 0 18px rgba(0, 255, 65, 0.10);
}

/* Dropdown */
.np-nav-dropdown { position: relative; }

.np-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--blur-glass-strong);
  -webkit-backdrop-filter: var(--blur-glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-float);
  z-index: 1001;
}

@keyframes np-dropdown-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.np-nav-dropdown-menu a {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 13.5px;
  color: var(--text-secondary);
}

.np-nav-dropdown-menu a:hover {
  color: var(--accent-bright);
  background: var(--accent-faint);
}

.np-nav-dropdown:hover .np-nav-dropdown-menu,
.np-nav-dropdown-menu.is-active {
  display: flex;
  animation: np-dropdown-in 0.28s var(--ease-smooth) forwards;
}

/* ============================================
   MAIN CANVAS
   ============================================ */
.np-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 48px 32px 80px;
  position: relative;
}

.np-main::before,
.np-main::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.np-main::before {
  top: -80px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.05) 0%, transparent 65%);
}

.np-main::after {
  bottom: -100px;
  left: -140px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 183, 46, 0.04) 0%, transparent 65%);
}

/* ============================================
   HERO
   ============================================ */
.np-hero {
  text-align: center;
  padding: 56px 0 48px;
  margin-bottom: 56px;
  position: relative;
}

.np-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(0, 255, 65, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.np-hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 1.08;
  color: var(--text-primary);
  background: linear-gradient(120deg,
    #FFFFFF 0%,
    #D9FFE2 35%,
    var(--accent) 62%,
    var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.np-hero p {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

/* ============================================
   CARD GRID — 3:4 thumbnails, GPU-safe motion
   ============================================ */
.np-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  position: relative;
  z-index: 1;
}

.np-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  cursor: pointer;
  transform: translateZ(0);
  transition:
    transform 0.45s var(--ease-spring),
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth);
  box-shadow: var(--shadow-card);
  isolation: isolate;
  will-change: transform;
}

/* Neon sheen sweep — opacity-only, zero repaint cost */
.np-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0, 255, 65, 0.10) 0%,
    transparent 40%,
    transparent 60%,
    rgba(0, 183, 46, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease-smooth);
  pointer-events: none;
  z-index: 2;
}

.np-card:hover {
  transform: translateY(-8px) translateZ(6px);
  border-color: var(--glass-border-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 28px rgba(0, 255, 65, 0.16);
}

.np-card:hover::before { opacity: 1; }

.np-card:active {
  transform: translateY(-4px) scale(0.985);
}

.np-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-tertiary);
}

.np-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-cinema);
  will-change: transform;
}

.np-card:hover .np-card-thumb img {
  transform: scale(1.07);
}

.np-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    transparent 100%);
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.np-card:hover .np-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.np-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.np-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 255, 65, 0.22);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-card-copy {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: var(--blur-glass-light);
  -webkit-backdrop-filter: var(--blur-glass-light);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  flex-shrink: 0;
  position: relative;
  z-index: 12;
}

.np-card-copy:hover {
  color: var(--accent);
  border-color: rgba(0, 255, 65, 0.45);
  box-shadow: 0 0 18px rgba(0, 255, 65, 0.28);
  transform: scale(1.08);
}

.np-card-copy:active { transform: scale(0.94) translateY(0); }

.np-card-copy.np-copied {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 22px var(--accent-glow);
}

.np-card-copy svg { width: 18px; height: 18px; }
.np-card-prompt-data { display: none; }

/* ============================================
   SINGLE POST VIEW
   ============================================ */
.np-post {
  max-width: 880px;
  margin: 0 auto;
}

.np-post-header {
  text-align: center;
  margin-bottom: 32px;
}

.np-post-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.036em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.np-post-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.np-post-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.np-post-hero {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-float);
  transition: box-shadow 0.45s var(--ease-smooth);
}

.np-post-hero:hover {
  box-shadow:
    var(--shadow-float),
    0 0 34px rgba(0, 255, 65, 0.12);
}

.np-post-hero img {
  width: 100%;
  display: block;
}

.np-scroll-guide {
  display: flex;
  justify-content: center;
  margin: 8px 0 28px;
  color: var(--accent);
  opacity: 0.75;
  animation: np-bounce 2.2s var(--ease-smooth) infinite;
}

.np-scroll-guide svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

@keyframes np-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ============================================
   PROMPT BOX — the product's hero component
   ============================================ */
.np-prompt-box {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(0, 255, 65, 0.18);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 36px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 48px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 255, 65, 0.06);
  overflow: hidden;
}

.np-prompt-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent) 50%,
    transparent 100%);
  opacity: 0.7;
}

.np-prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.np-prompt-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.np-prompt-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent-glow);
  animation: np-pulse 2s ease-in-out infinite;
}

@keyframes np-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.82); }
}

.np-prompt-text {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.75;
  color: #D9FFE2;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.np-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 24px rgba(0, 255, 65, 0.28);
  transition: all 0.32s var(--ease-spring);
  will-change: transform;
}

.np-copy-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-smooth);
}

.np-copy-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 14px 34px rgba(0, 255, 65, 0.40);
}

.np-copy-btn:hover::after { left: 120%; }
.np-copy-btn:active { transform: translateY(-1px) scale(0.98); }

.np-copy-btn.np-copied {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 36px var(--accent-glow);
}

.np-copy-btn svg { width: 18px; height: 18px; }

.np-post-body {
  font-size: 16px;
  color: var(--text-body);
}

.np-post-body h2,
.np-post-body h3 {
  color: var(--text-primary);
  letter-spacing: -0.022em;
  margin: 34px 0 14px;
}

.np-post-body p { margin-bottom: 18px; }

.np-post-body img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  margin: 24px 0;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.np-toast {
  position: fixed;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--blur-glass-strong);
  -webkit-backdrop-filter: var(--blur-glass-strong);
  border: 1px solid rgba(0, 255, 65, 0.35);
  border-radius: 999px;
  padding: 14px 26px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 44px rgba(0, 0, 0, 0.7),
    0 0 26px rgba(0, 255, 65, 0.18);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.45s var(--ease-spring),
    opacity 0.35s var(--ease-smooth);
  z-index: 9999999999;
  will-change: transform, opacity;
}

.np-toast.np-toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.np-toast svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

/* ============================================
   FOOTER
   ============================================ */
.np-footer {
  margin-top: 80px;
  padding: 48px 32px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.np-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 255, 65, 0.30) 50%,
    transparent 100%);
}

.np-footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.np-footer a {
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-smooth);
}

.np-footer a:hover { color: var(--accent-bright); }

.np-footer-section {
  color: var(--text-muted);
  font-size: 13px;
}

.np-footer-section ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
}
.np-footer-section li { margin: 0; padding: 0; }
.np-footer-section a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s var(--ease-smooth);
}
.np-footer-section a:hover { color: var(--accent-bright); }

/* ============================================
   PAGINATION
   ============================================ */
.np-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 64px 0 28px;
  flex-wrap: wrap;
}

.np-pagination a {
  padding: 12px 24px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.35s var(--ease-spring);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.3);
  will-change: transform;
}

.np-pagination a:hover {
  background: linear-gradient(135deg,
    rgba(0, 255, 65, 0.16),
    rgba(0, 183, 46, 0.14));
  border-color: rgba(0, 255, 65, 0.38);
  color: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 28px rgba(0, 0, 0, 0.4),
    0 0 22px rgba(0, 255, 65, 0.22);
}

.np-pagination a:active { transform: translateY(0); }

/* ============================================
   CARD ACTIONS (like / save) & FILTER TABS
   Palette law: BOTH actions resolve to neon green.
   Like = solid neon · Save = deep-neon gradient.
   ============================================ */
.np-card-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.np-action-btn {
  background: rgba(5, 5, 6, 0.72) !important;
  backdrop-filter: blur(14px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.28s var(--ease-swift);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 16px rgba(0, 0, 0, 0.4);
}

.np-action-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .np-action-btn:hover {
    transform: scale(1.12);
    background: rgba(5, 5, 6, 0.92) !important;
  }
  .btn-like:hover {
    color: var(--accent-bright);
    border-color: rgba(0, 255, 65, 0.45) !important;
    box-shadow: 0 0 18px rgba(0, 255, 65, 0.32);
  }
  .btn-save:hover {
    color: var(--accent-bright);
    border-color: rgba(0, 255, 65, 0.45) !important;
    box-shadow: 0 0 18px rgba(0, 255, 65, 0.32);
  }
}

.np-action-btn.is-active { transform: scale(1.06); }

.btn-like.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)) !important;
  color: var(--accent-ink) !important;
  border-color: var(--accent) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 18px rgba(0, 255, 65, 0.45);
}

.btn-save.is-active {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent)) !important;
  color: var(--accent-ink) !important;
  border-color: var(--accent) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 18px var(--accent-glow);
}

.np-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px auto;
  max-width: 520px;
  padding: 6px;
  background: rgba(6, 6, 7, 0.55);
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.filter-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: all 0.4s var(--ease-smooth);
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--accent-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 20px var(--accent-glow);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .np-header-inner,
  .np-nav-inner,
  .np-footer-inner,
  .np-footer-section,
  .np-main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .np-grid { gap: 22px; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {

  .np-nav { display: none !important; }

  body { padding-bottom: 100px !important; }

  /* ---- Legacy premium dock (preserved) ---- */
  .np-premium-dock {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(180deg,
      rgba(12, 12, 13, 0.88) 0%,
      rgba(0, 0, 0, 0.98) 100%) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: 0 -14px 44px rgba(0, 0, 0, 0.75) !important;
    z-index: 999999 !important;
    padding: 12px 16px calc(10px + env(safe-area-inset-bottom)) !important;
  }

  .dock-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    position: relative !important;
  }

  .dock-group {
    display: flex !important;
    flex: 2 !important;
    justify-content: space-around !important;
    align-items: center !important;
  }

  .dock-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #94949A !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    transition: all 0.22s ease !important;
    gap: 4px !important;
  }

  .dock-icon {
    font-size: 20px !important;
    transition: transform 0.22s ease !important;
  }

  .dock-item.active { color: var(--accent) !important; }
  .dock-item.active .dock-icon {
    filter: drop-shadow(0 0 10px var(--accent-glow)) !important;
    transform: scale(1.06) !important;
  }

  .dock-search-wrapper {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    z-index: 100000 !important;
  }

  .dock-search-circle {
    width: 56px !important;
    height: 56px !important;
    background: linear-gradient(135deg,
      var(--accent) 0%,
      var(--accent-deep) 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    color: var(--accent-ink) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow:
      inset 0 2px 4px rgba(255, 255, 255, 0.28),
      0 0 24px var(--accent-glow) !important;
    cursor: pointer !important;
    transform: translateY(-24px) !important;
    transition: transform 0.22s var(--ease-spring) !important;
  }

  .dock-search-circle:active {
    transform: translateY(-24px) scale(0.9) !important;
  }

  /* ---- Main mobile layout ---- */
  .np-main {
    padding: 32px 18px 68px;
  }

  .np-hero {
    margin-bottom: 40px;
    padding: 24px 0;
  }

  .np-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .np-card { border-radius: var(--radius-md); }
  .np-card:hover { transform: translateY(-4px) translateZ(4px); }

  .np-card-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.45) 50%,
      rgba(0, 0, 0, 0)    82%);
    padding: 14px;
  }

  .np-card-title  { font-size: 14px; margin-bottom: 8px; }
  .np-card-tag    { font-size: 10px; padding: 3px 8px; }
  .np-card-copy   { width: 34px; height: 34px; border-radius: 10px; }
  .np-card-copy svg { width: 16px; height: 16px; }

  .np-prompt-box  { padding: 22px; border-radius: var(--radius-lg); }
  .np-prompt-text { font-size: 13px; padding: 16px; max-height: 340px; }

  .np-prompt-header { flex-wrap: wrap; gap: 14px; }
  .np-copy-btn      { padding: 12px 22px; font-size: 13px; }

  .np-toast {
    bottom: 22px;
    padding: 12px 22px;
    font-size: 13px;
    max-width: calc(100% - 32px);
  }

  .np-pagination     { gap: 8px; margin: 40px 0 20px; }
  .np-pagination a   { padding: 10px 18px; font-size: 13px; }

  .np-footer         { padding: 36px 22px; margin-top: 40px; }

  .np-main::before,
  .np-main::after { display: none; }
}

@media (max-width: 480px) {
  .np-logo       { font-size: 20px; }
  .np-logo-mark  { width: 36px; height: 36px; font-size: 16px; }
  .np-hero h1    { letter-spacing: -0.032em; }
  .np-post-hero  { border-radius: var(--radius-lg); }
}

@media (max-width: 420px) {
  .np-grid       { grid-template-columns: 1fr; gap: 16px; }
  .np-card-title { font-size: 15px; }
  .np-card-overlay { padding: 18px; }
}

/* ============================================
   ACCESSIBILITY — Motion preferences
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .np-card:hover,
  .np-card:active,
  .np-copy-btn:hover,
  .np-card-copy:hover,
  .np-pagination a:hover,
  .np-nav a:hover {
    transform: none;
  }

  body::before,
  .np-main::before,
  .np-main::after { animation: none !important; }
}

/* Neon must still read without motion or glow contexts */
@media (forced-colors: active) {
  .np-card, .np-prompt-box, .np-filter-btn.is-active {
    border-color: Highlight;
  }
}

/* ============================================
   BLOGGER LEGACY RESET (preserved)
   ============================================ */
.widget { margin: 0; }
.widget h2 { display: none; }
.post-footer,
.post-header,
.blog-pager-older-link,
.blog-pager-newer-link,
.feed-links { display: none; }

/* ============================================
   MOBILE NAV DROPDOWN FIX (preserved)
   ============================================ */
@media (max-width: 768px) {
  .np-nav-inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .np-nav-dropdown {
    width: 100% !important;
    text-align: center;
  }

  .dropdown-toggle {
    width: 100% !important;
    justify-content: center !important;
  }

  .np-nav-dropdown-menu {
    position: relative !important;
    width: 100% !important;
    margin-top: 6px !important;
    display: none !important;
    background: rgba(6, 6, 7, 0.95) !important;
    border-radius: var(--radius-md) !important;
    padding: 10px !important;
  }

  .np-nav-dropdown-menu.is-active {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }
}

/* ============================================
   HOMEPAGE SEARCH INPUT — transparent (preserved)
   ============================================ */
.np-hero-search-input,
.np-hero-search-input:focus,
.np-hero-search-input:active,
.np-hero-search-input:valid {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.np-hero-search-input:-webkit-autofill,
.np-hero-search-input:-webkit-autofill:hover,
.np-hero-search-input:-webkit-autofill:focus,
.np-hero-search-input:-webkit-autofill:active {
  -webkit-text-fill-color: #ffffff !important;
  background-color: transparent !important;
  transition: background-color 600000s ease-in-out 0s !important;
}

/* ============================================
   PREMIUM MOBILE NAVIGATION DOCK
   ============================================ */
.np-mobile-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 460px;
  z-index: 99999;
  display: none;
}

.np-mobile-dock-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 9, 0.70);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  padding: 8px 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 14px rgba(0, 0, 0, 0.45),
    0 28px 56px rgba(0, 0, 0, 0.75);
}

.np-dock-wing {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
}

.np-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 0;
  width: 100%;
  transition: all 0.28s var(--ease-swift);
}

.np-dock-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  transition: transform 0.22s ease, color 0.22s ease;
}

.np-dock-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.np-dock-item.is-active {
  color: var(--accent) !important;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.np-dock-item.is-active .np-dock-icon { transform: scale(1.12); }

.np-dock-center-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 44px;
}

.np-dock-notch-left,
.np-dock-notch-right {
  position: absolute;
  top: -8px;
  width: 16px;
  height: 16px;
  background: transparent;
  pointer-events: none;
}

.np-dock-center-btn {
  position: absolute;
  top: -32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%,
      var(--accent-bright) 0%,
      var(--accent) 45%,
      var(--accent-deep) 100%);
  border: 3px solid var(--bg-primary);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.28),
    inset 0 -3px 8px rgba(0, 0, 0, 0.28),
    0 8px 20px rgba(0, 0, 0, 0.55),
    0 0 24px var(--accent-glow);
  transition: all 0.32s var(--ease-spring);
  z-index: 5;
}

.np-dock-center-btn svg { width: 24px; height: 24px; }

.np-dock-center-btn:active {
  transform: scale(0.92) translateY(4px);
  box-shadow: 0 0 12px var(--accent-glow-soft);
}

.np-dock-center-wrapper::before {
  content: '';
  position: absolute;
  top: -36px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0, 255, 65, 0.32);
  box-shadow: 0 0 14px rgba(0, 255, 65, 0.20);
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   MOBILE-ONLY DOCK LOCK
   ============================================ */
@media screen and (max-width: 768px) {
  .np-mobile-dock { display: block !important; }

  html, body {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    height: auto !important;
    overflow-x: hidden !important;
  }

  .np-nav { display: none !important; }
  body    { padding-bottom: 110px !important; }

  #np-js-portal-dock.np-premium-dock {
    position: fixed !important;
    bottom: 20px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    display: block !important;
    pointer-events: none !important;
  }

  .dock-container {
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(6, 6, 7, 0.88) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(0, 255, 65, 0.32) !important;
    border-radius: 26px !important;
    padding: 8px 12px !important;
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.10),
      0 14px 44px rgba(0, 0, 0, 0.78) !important;
    position: relative !important;
    max-width: 95% !important;
    margin: 0 auto !important;
  }

  .dock-group {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    flex: 1 !important;
  }

  .dock-group a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.55) !important;
    transition: all 0.22s ease !important;
    font-size: 7px !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    flex: 1 !important;
    text-align: center !important;
  }

  .dock-group a:hover,
  .dock-group a.active {
    color: var(--accent) !important;
    text-shadow: 0 0 10px var(--accent-glow) !important;
  }

  .dock-group a svg,
  .dock-group a img {
    width: 18px !important;
    height: 18px !important;
    margin-bottom: 2px !important;
  }

  .dock-search-wrapper {
    position: relative !important;
    width: 68px !important;
    height: 46px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10 !important;
  }

  .dock-search-wrapper a,
  .dock-search-btn {
    position: absolute !important;
    top: -28px !important;
    width: 56px !important;
    height: 56px !important;
    background:
      radial-gradient(circle at 30% 25%,
        var(--accent-bright) 0%,
        var(--accent) 50%,
        var(--accent-deep) 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--accent-ink) !important;
    border: none !important;
    box-shadow:
      inset 0 2px 4px rgba(255, 255, 255, 0.28),
      0 8px 26px var(--accent-glow),
      0 0 0 6px rgba(6, 6, 7, 1),
      0 0 0 7px rgba(0, 255, 65, 0.45) !important;
    transition: transform 0.28s var(--ease-spring) !important;
  }

  .dock-search-wrapper a:hover,
  .dock-search-btn:hover { transform: scale(1.06) !important; }

  /* ---- Mobile full-screen search overlay ---- */
  .mobile-search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.94) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    z-index: 9999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.32s ease !important;
  }

  .mobile-search-overlay.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .search-overlay-close {
    position: absolute !important;
    top: 30px !important;
    right: 30px !important;
    font-size: 38px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    cursor: pointer !important;
    transition: color 0.22s ease !important;
  }
  .search-overlay-close:hover { color: var(--accent-bright) !important; }

  .search-overlay-content {
    width: 85% !important;
    max-width: 520px !important;
  }

  .mobile-search-form {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }

  .mobile-search-input {
    width: 100% !important;
    padding: 17px 62px 17px 26px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 255, 65, 0.42) !important;
    border-radius: 32px !important;
    color: #fff !important;
    font-size: 16px !important;
    outline: none !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 0 18px rgba(0, 255, 65, 0.18) !important;
    transition: all 0.32s ease !important;
  }
  .mobile-search-input:focus {
    border-color: var(--accent-bright) !important;
    box-shadow: 0 0 24px var(--accent-glow) !important;
  }

  .mobile-search-submit {
    position: absolute !important;
    right: 8px !important;
    width: 48px !important;
    height: 48px !important;
    background: linear-gradient(135deg,
      var(--accent), var(--accent-deep)) !important;
    border: none !important;
    border-radius: 50% !important;
    color: var(--accent-ink) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 6px 20px var(--accent-glow) !important;
  }
  .mobile-search-submit svg { width: 18px !important; height: 18px !important; }

  /* ============================================
     RADIAL MOBILE DOCK (preserved architecture)
     ============================================ */
  .radial-dock-wrapper {
    position: fixed !important;
    bottom: 26px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 66px !important;
    height: 66px !important;
    z-index: 9999999 !important;
  }

  .radial-trigger {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background:
      radial-gradient(circle at 30% 25%,
        #1A1A1C 0%,
        #111112 50%,
        #000000 100%) !important;
    border: 2px solid #22232a !important;
    box-shadow:
      inset 0 2px 4px rgba(255, 255, 255, 0.06),
      inset 0 -3px 6px rgba(0, 0, 0, 0.45),
      0 10px 28px rgba(0, 0, 0, 0.75) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.32s var(--ease-swift) !important;
    outline: none !important;
  }

  .glow-pill {
    width: 4px !important;
    height: 16px !important;
    background: var(--accent) !important;
    border-radius: 4px !important;
    box-shadow: 0 0 12px var(--accent), 0 0 22px var(--accent) !important;
    transition: all 0.32s ease !important;
  }

  .radial-dock-wrapper.active .radial-trigger {
    border-color: var(--accent) !important;
    box-shadow:
      inset 0 0 12px var(--accent-glow-soft),
      0 0 28px var(--accent-glow) !important;
  }

  .radial-dock-wrapper.active .glow-pill {
    height: 20px !important;
    background: var(--accent-bright) !important;
    box-shadow: 0 0 16px var(--accent-bright), 0 0 32px var(--accent-bright) !important;
  }

  .radial-menu {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 280px !important;
    height: 280px !important;
    transform: translate(-50%, -50%) scale(0) !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.94) !important;
    border: 1px solid rgba(0, 255, 65, 0.32) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 24px 60px rgba(0, 0, 0, 0.85),
      0 0 34px rgba(0, 255, 65, 0.22) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition:
      transform 0.42s var(--ease-spring),
      opacity 0.32s ease !important;
    z-index: 5 !important;
  }

  .radial-dock-wrapper.active .radial-menu {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .radial-item {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 44px !important;
    height: 44px !important;
    margin-top: -22px !important;
    margin-left: -22px !important;
    border-radius: 50% !important;
    background:
      radial-gradient(circle at 30% 25%,
        #1A1A1C 0%,
        #111112 55%,
        #000000 100%) !important;
    border: 1px solid #22232a !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 18px !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 4px 14px rgba(0, 0, 0, 0.6) !important;
    transition:
      background 0.22s ease,
      border-color 0.22s ease,
      transform 0.22s ease !important;
    transform:
      translate(-50%, -50%)
      rotate(calc(360deg / var(--total) * var(--i)))
      translate(114px)
      rotate(calc(-360deg / var(--total) * var(--i))) !important;
  }

  .radial-item:active {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep)) !important;
    border-color: var(--accent-bright) !important;
    color: var(--accent-ink) !important;
  }
}

/* Desktop reset — radial dock hidden */
@media screen and (min-width: 769px) {
  .radial-dock-wrapper { display: none !important; }
}

/* Mobile search overlay base (preserved) */
.mobile-search-overlay {
  background: rgba(0, 0, 0, 0.95) !important;
  display: none !important;
}

.mobile-search-overlay.is-active { display: flex !important; }

/* ==========================================================================
   CRITICAL MOBILE DOCK OVERRIDE
   Forces the Mac-style bottom dock to sit at the absolute top of the food chain
   ========================================================================== */
[class*="dock"], [id*="dock"], .fixed-bottom, .mobile-nav, [style*="position: fixed"] {
    z-index: 999999 !important;
    pointer-events: auto !important;
}

/* Card Grid Restructuring to prevent touch leaks */
.np-grid {
    position: relative;
    z-index: 5; /* Controlled low z-index so it never bypasses fixed footers/docks */
}

/* Card Parent Container Setup */
.np-card {
    position: relative;
    isolation: isolate; /* Localizes the stacking context so it doesn't bleed out */
}

/* Card Container Positioning */
.np-card-thumb {
    position: relative !important;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
}

.np-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Background link layer to make card clickable safely */
.np-card-bg-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Actions Overlay Container */
.np-card-actions {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10 !important;
    opacity: 1 !important;
    transform: none !important; /* Removed transform to prevent iOS stacking bugs */
    pointer-events: auto !important;
}

/* Premium Glassmorphism Floating Button Styling */
.np-action-btn {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 0 10px;
    height: 32px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9) !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    user-select: none;
}

/* Dynamic Count Text Styling */
.count-num {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.9;
}

.np-action-btn svg,
.np-card-copy svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.np-action-btn svg {
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 2.5px !important;
}

.np-card-copy svg {
    stroke: currentColor !important;
    fill: none !important;
}

/* Desktop Hover Effects — like & save BOTH resolve to neon (palette law) */
@media (hover: hover) {
    .np-action-btn:hover {
        transform: scale(1.08);
        background: rgba(0, 0, 0, 0.95) !important;
    }
    .btn-like:hover {
        color: #00FF41 !important;
        border-color: rgba(0, 255, 65, 0.4) !important;
        box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
    }
    .btn-like:hover svg {
        stroke: #00FF41 !important;
    }
    .btn-save:hover {
        color: #00FF41 !important;
        border-color: rgba(0, 255, 65, 0.4) !important;
        box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
    }
    .btn-save:hover svg {
        stroke: #00FF41 !important;
    }
}

/* Click Active States — solid neon with dark ink glyphs */
.btn-like.is-active, .btn-like.active-like {
    background: #00FF41 !important;
    color: #001506 !important;
    border-color: #00FF41 !important;
    box-shadow: 0 4px 15px rgba(0, 255, 65, 0.4);
}
.btn-like.is-active svg,
.btn-like.active-like svg {
    stroke: #001506 !important;
    fill: #001506 !important;
}

.btn-save.is-active, .btn-save.active-save {
    background: #00FF41 !important;
    color: #001506 !important;
    border-color: #00FF41 !important;
    box-shadow: 0 4px 15px rgba(0, 255, 65, 0.4);
}
.btn-save.is-active svg,
.btn-save.active-save svg {
    stroke: #001506 !important;
    fill: #001506 !important;
}

/* Copy Button Base Style */
.np-card-copy {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 12;
}

.np-card-copy:hover {
    color: #00FF41;
}

.np-card-copy .icon-check {
    display: none !important;
}

.np-card-copy.copied {
    color: #00FF41 !important;
}

.np-card-copy.copied .icon-copy {
    display: none !important;
}

.np-card-copy.copied .icon-check {
    display: inline-block !important;
}

.np-card-prompt-data {
    display: none !important;
}

.np-card-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    z-index: 2;
}

/* Mobile Responsive Fine-Tuning */
@media (max-width: 600px) {
    .np-card-actions {
        top: 8px;
        left: 8px;
        right: 8px;
    }
    .np-action-btn {
        height: 28px;
        padding: 0 8px;
        gap: 4px;
    }
    .count-num {
        font-size: 10px;
    }
    .np-action-btn svg,
    .np-card-copy svg {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
        min-height: 12px !important;
    }
}

/* ============================================
   GLASSMORPHIC RADIAL DOCK & SEARCH STYLING
   (JS-portal layer — #js- prefixed, all states)
   ============================================ */
#js-radial-dock,
#js-radial-dock *,
#js-radial-dock *::before,
#js-radial-dock *::after,
#js-np-search-modal,
#js-np-search-modal * {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

#js-radial-dock.radial-dock-wrapper {
    position: fixed !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 65px !important;
    height: 65px !important;
    z-index: 99999999 !important;
    display: block !important;
    touch-action: none;
}

/* Futuristic Trigger Button — black core, neon rim */
#js-radial-dock .radial-trigger {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at center, #101510 0%, #000000 100%) !important;
    border: 1.5px solid rgba(0, 255, 65, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95), 0 0 18px rgba(0, 255, 65, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
    outline: none !important;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

#js-radial-dock .radial-trigger .trigger-core {
    width: 26px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#js-radial-dock .radial-trigger .icon-sparkle {
    width: 100% !important;
    height: 100% !important;
    filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.8)) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

#js-radial-dock .radial-trigger .icon-close {
    width: 22px !important;
    height: 22px !important;
    display: none !important;
    filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.9)) !important;
}

/* Active State Transformations */
#js-radial-dock.active .radial-trigger {
    border-color: #00FF41 !important;
    box-shadow: 0 0 35px rgba(0, 255, 65, 0.55), 0 0 10px rgba(0, 255, 65, 0.4) !important;
    background: radial-gradient(circle at center, #0A1A0E 0%, #000000 100%) !important;
}

#js-radial-dock.active .radial-trigger .trigger-core {
    transform: rotate(180deg) !important;
}

#js-radial-dock.active .radial-trigger .icon-sparkle {
    display: none !important;
}

#js-radial-dock.active .radial-trigger .icon-close {
    display: block !important;
}

/* Glassmorphism Menu Container */
#js-radial-dock .radial-menu {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 260px !important;
    height: 260px !important;
    transform: translate(-50%, -50%) scale(0) !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(0, 255, 65, 0.35) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 1), 0 0 35px rgba(0, 255, 65, 0.25) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease !important;
    z-index: 5 !important;
    touch-action: none;
    cursor: grab;
}

#js-radial-dock .radial-menu:active {
    cursor: grabbing;
}

#js-radial-dock.active .radial-menu {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Dynamic Ring Icons */
#js-radial-dock .radial-item {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #0a0a0a !important;
    border: 1px solid #222222 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 18px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.8) !important;

    --current-angle: calc(var(--item-angle, 0deg) + var(--rotation, -90deg));
    transform: translate(-50%, -50%) rotate(var(--current-angle)) translate(105px) rotate(calc(-1 * var(--current-angle))) !important;
    user-select: none;
    -webkit-user-drag: none;
}

#js-radial-dock .radial-item:active {
    background: #00FF41 !important;
    border-color: #7CFF9E !important;
    color: #001506 !important;
}

/* PURE BLACK TOP-ALIGNED SEARCH MODAL (KEYBOARD FRIENDLY) */
.np-search-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.96) !important; /* Pure Black Background */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    z-index: 999999999 !important;
    display: flex !important;
    align-items: flex-start !important; /* Top Aligned so Keyboard doesn't hide it */
    justify-content: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
    padding: 70px 20px 20px 20px !important;
}

.np-search-modal.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.np-search-modal-content {
    width: 100% !important;
    max-width: 520px !important;
    position: relative !important;
    transform: translateY(-20px) scale(0.95) !important;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.np-search-modal.is-active .np-search-modal-content {
    transform: translateY(0) scale(1) !important;
}

.np-search-close {
    position: absolute !important;
    top: -42px !important;
    right: 5px !important;
    background: none !important;
    border: none !important;
    color: #00FF41 !important;
    font-size: 32px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    outline: none !important;
}

.np-search-input-wrap {
    display: flex !important;
    align-items: center !important;
    background: #000000 !important; /* Solid Pitch Black Input Box */
    border: 1.5px solid rgba(0, 255, 65, 0.55) !important;
    border-radius: 50px !important;
    padding: 8px 10px 8px 18px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 1), 0 0 25px rgba(0, 255, 65, 0.28) !important;
}

.np-search-input-wrap .search-icon {
    color: #00FF41 !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
}

.np-global-search-input {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-family: inherit !important;
}

.np-global-search-input::placeholder {
    color: #71717a !important;
}

.np-search-submit {
    background: linear-gradient(135deg, #00FF41 0%, #00B72E 100%) !important;
    border: none !important;
    color: #001506 !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.4) !important;
}

.np-search-submit:active {
    transform: scale(0.95) !important;
}

@media screen and (min-width: 769px) {
    #js-radial-dock.radial-dock-wrapper {
        display: none !important;
    }
}

/* ============================================
   NAVIGATION CONTAINER OVERHAUL (chip layout)
   ============================================ */
.np-nav {
    width: 100%;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.np-nav-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    max-width: 1300px;
    margin: 0 auto;
}

.np-nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Premium Buttons/Chips for Categories */
.np-nav-inner a,
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 8px 16px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.np-nav-inner a:hover,
.dropdown-toggle:hover,
.np-nav-inner a.active,
.dropdown-toggle.is-open {
    background: #00FF41 !important;
    color: #001506 !important;
    border-color: #00FF41 !important;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

/* Child Categories Container Layout */
.np-nav-dropdown-menu {
    display: none;
    width: 100%;
    background: rgba(5, 8, 6, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.np-nav-dropdown-menu.is-active {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    animation: fadeInSmooth 0.25s ease-out forwards;
}

.np-nav-dropdown-menu a {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.np-nav-dropdown-menu a:hover {
    background: rgba(0, 255, 65, 0.12) !important;
    color: #7CFF9E !important;
    border-color: rgba(0, 255, 65, 0.3) !important;
    box-shadow: none !important;
}

@keyframes fadeInSmooth {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   MODERN APP-STYLE NAVIGATION (bottom-dock coexistence)
   ======================================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: 84px !important;
    }

    /* Navigation stays pinned at the top */
    .np-nav {
        position: relative !important;
        bottom: auto !important;
        top: auto !important;
        width: 100% !important;
        z-index: 999 !important;
        padding: 10px 14px !important;
        background: rgba(0, 0, 0, 0.55) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-top: none !important;
        box-shadow: none !important;
    }

    /* Horizontal Premium Swiper — chips scroll smoothly at the top */
    .np-nav-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        padding-bottom: 2px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .np-nav-inner::-webkit-scrollbar {
        display: none !important;
    }

    .np-nav-inner a,
    .dropdown-toggle {
        padding: 6px 12px !important;
        font-size: 13px !important;
        flex-shrink: 0 !important;
    }

    /* Dropdown opens downward from the top navigation */
    .np-nav-dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        bottom: auto !important;
        left: 0 !important;
        right: auto !important;
        width: max-content !important;
        max-width: calc(100vw - 28px) !important;
        margin-top: 6px !important;
        margin-bottom: 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        background: rgba(5, 8, 6, 0.98) !important;
        animation: fadeInSmooth 0.25s ease-out forwards !important;
    }
}

/* Card Parent Container Setup */
.np-card {
    position: relative;
}

.np-card-thumb {
    position: relative !important;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
}

.np-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   PREMIUM NEON STICKY FILTER BAR (NO OVERLAY)
   ========================================== */
.np-sticky-filter-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 999;
    padding: 10px 0;
    margin-bottom: 12px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
}

.np-filter-container {
    width: max-content !important;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 6px 14px !important;
    background: rgba(0, 0, 0, 0.78) !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.np-filter-container::-webkit-scrollbar {
    display: none;
}

.np-filter-btn {
    background: transparent !important;
    border: none !important;
    padding: 8px 16px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.np-filter-btn:hover {
    background: rgba(0, 255, 65, 0.08) !important;
    color: #ffffff !important;
}

.np-filter-btn.is-active {
    background: #00FF41 !important;
    color: #001506 !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(0, 255, 65, 0.4) !important;
}

/* ==========================================
   ULTRA-PREMIUM HERO SEARCH BAR
   ========================================== */
.np-hero-search-form {
    max-width: 540px;
    margin: 24px auto 0 auto;
    padding: 0 20px;
    width: 100%;
}

.np-hero-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 4px 6px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.np-hero-search-wrapper:focus-within {
    border-color: #00FF41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

.np-hero-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 16px;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.np-hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.np-hero-search-btn {
    background: #00FF41;
    border: none;
    outline: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001506;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.np-hero-search-btn:hover {
    background: #00D438;
    transform: scale(1.04);
    box-shadow: 0 0 16px rgba(0, 255, 65, 0.4);
}

.np-hero-search-btn svg {
    width: 16px;
    height: 16px;
    stroke: #001506;
}

/* Actions Overlay Container — forced inside thumbnail boundaries */
.np-card-actions {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20 !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Bulletproof SVG sizing for Like, Save, and Copy buttons */
.np-action-btn svg,
.np-card-copy svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Persistent LocalStorage states — all resolve to neon */
.np-action-btn.is-active,
.np-action-btn.active-like,
.np-action-btn.active-save,
.np-action-btn.is-liked,
.np-action-btn.is-saved {
    transform: scale(1.03);
}

.btn-like.is-active,
.btn-like.active-like,
.btn-like.is-liked {
    background: #00FF41 !important;
    color: #001506 !important;
    border-color: #00FF41 !important;
    box-shadow: 0 4px 15px rgba(0, 255, 65, 0.4);
}
.btn-like.is-active svg,
.btn-like.active-like svg,
.btn-like.is-liked svg {
    stroke: #001506 !important;
    fill: #001506 !important;
}

.btn-save.is-active,
.btn-save.active-save,
.btn-save.is-saved {
    background: #00FF41 !important;
    color: #001506 !important;
    border-color: #00FF41 !important;
    box-shadow: 0 4px 15px rgba(0, 255, 65, 0.4);
}
.btn-save.is-active svg,
.btn-save.active-save svg,
.btn-save.is-saved svg {
    stroke: #001506 !important;
    fill: #001506 !important;
}

/* Mobile Responsive Fine-Tuning — 50% more compact */
@media (max-width: 600px) {
    .np-hero-search-form {
        margin: 16px auto 0 auto;
        padding: 0 15px;
    }
    .np-hero-search-input {
        padding: 8px 12px;
        font-size: 14px;
    }
    .np-hero-search-btn {
        width: 32px;
        height: 32px;
    }
    .np-sticky-filter-bar {
        top: 50px;
        padding: 4px 0;
    }
    .np-filter-container {
        gap: 4px;
        padding: 0 10px;
    }
    .np-filter-btn {
        padding: 3px 10px;
        font-size: 11px;
        border-radius: 15px;
    }
    .np-card-actions {
        top: 6px;
        left: 6px;
        right: 6px;
    }
    .np-action-btn {
        height: 24px;
        padding: 0 6px;
    }
    .count-num {
        font-size: 9px;
    }
    .np-action-btn svg,
    .np-card-copy svg {
        width: 10px !important;
        height: 10px !important;
    }
}

/* -------------------------------------------------------------
   APPLE/MAC iPHONE STYLE GLASSMORPHISM FOR SAVED DASHBOARD
   — restyled to the neon-green palette law (legacy token names
     --neo-blue-start / --neo-blue-end now carry neon values)
------------------------------------------------------------- */
.saved-dashboard-container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

/* Premium iOS Control Center Title Panel */
.dashboard-header {
    background: rgba(10, 12, 10, 0.55);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--mac-radius);
    padding: 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    margin-bottom: 2.5rem;
}

.dashboard-header h1 {
    font-size: 2.6rem;
    color: #fff;
    margin: 0 0 12px 0;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.25);
}

.dashboard-header p {
    color: #8b949e;
    font-size: 1.1rem;
    margin: 0;
}

/* Premium 3D Grid Layout */
.saved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

/* Mac Style Smooth Cards */
.saved-card {
    background: rgba(10, 12, 10, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--mac-radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.saved-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0, 255, 65, 0.35);
}

.saved-card-img {
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #0B0C0B;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.saved-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.saved-card:hover .saved-card-img img {
    transform: scale(1.08);
}

.saved-card-placeholder {
    background: linear-gradient(135deg, var(--neo-blue-start) 0%, var(--neo-blue-end) 100%);
    width: 100%;
    height: 100%;
}

.saved-card-title {
    padding: 18px;
    font-size: 1.05rem;
    color: #e2e8f0;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.saved-card:hover .saved-card-title {
    color: var(--neo-blue-start);
}

/* Status Notifications */
.no-saved-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: rgba(10, 12, 10, 0.3);
    border-radius: var(--mac-radius);
    border: 1px dashed rgba(255,255,255,0.1);
    color: #8b949e;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.saved-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--neo-blue-start);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* -------------------------------------------------------------
   WORDPRESS CORE COMPATIBILITY (required theme classes)
------------------------------------------------------------- */
.alignnone { margin: 12px 0; }
.aligncenter { display: block; margin: 12px auto; }
.alignright { float: right; margin: 8px 0 16px 20px; }
.alignleft  { float: left;  margin: 8px 20px 16px 0; }
.wp-caption {
    max-width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px;
    text-align: center;
}
.wp-caption-text,
.gallery-caption {
    font-size: 12.5px;
    color: var(--text-muted);
    padding: 8px 4px 2px;
}
.sticky { outline: 1px solid rgba(0, 255, 65, 0.25); outline-offset: -1px; }
.bypostauthor { /* identity reserved */ }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    width: auto; height: auto;
    clip: auto;
    padding: 10px 16px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    border-radius: var(--radius-xs);
    z-index: 100000;
}
