/* ==============================
   Axura portrain icon frame
   ============================== */
   
/* 1) KILL THEME ARTIFACTS */
.header-tou,
.header-tou img {
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}
/* Real size controller */
.header-tou a {
  width: 110px !important; 
  height: 110px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Make image obey wrapper */
.header-tou img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  border-radius: 50% !important;
}

/* 2) CONTAINER (stacking context) */
.header-tou {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 3) INNER GLOW CORE (MIDDLE) */
.header-tou::before {
  content: "";
  position: absolute;

  width: 105px;
  height: 105px;
  border-radius: 50%;

  background: radial-gradient(
    circle at 40% 50%,
    rgba(0, 255, 240, 0.45),   /* electric cyan */
    rgba(255, 0, 220, 0.28)    /* hot magenta */
);

  opacity: 0.65;   /* cleaner default */
  z-index: 1;
}

/* 4) GLOW WITH NEON FLICKER */
.header-tou::after {
  content: "";
  position: absolute;

  width: 115px;
  height: 115px;
  border-radius: 50%;
  pointer-events: none;

  /* no physical ring */
  border: none;

  /* base soft aura */
  box-shadow:
    0 0 6px rgba(0, 229, 255, 0.35),
    0 0 8px rgba(255, 0, 204, 0.25);

  animation: neonFlicker 5s infinite ease-in-out;
  z-index: 0;
}

/* —— REALISTIC NEON FLICKER —— */
@keyframes neonFlicker {

  /* BASE STATE — calm idle glow */
  0% {
    box-shadow:
      /* blue layer: radius = spread, alpha = brightness */
      0 0 4px rgba(0, 229, 255, 0.25),   /* ← smaller = tighter glow */
      /* pink layer: softer than blue */
      0 0 6px rgba(255, 0, 204, 0.15);   /* ← lower alpha = more transparent */
  }

  /* PEAK BRIGHTNESS — main “power-on” moment */
  30% {
    box-shadow:
      0 0 8px rgba(0, 229, 255, 0.6),    /* ↑ increase first number → bigger halo */
      0 0 10px rgba(255, 0, 204, 0.35);  /* ↑ increase alpha → stronger pink */
  }

  /* FLICKER DIP — the moment it dims */
  45% {
    box-shadow:
      /* make these very small for sharper flicker */
      0 0 2px rgba(0, 229, 255, 0.25),   
      0 0 3px rgba(255, 0, 204, 0.08);   
  }

  /* SECOND BRIGHT BURST — more energetic flash */
  70% {
    box-shadow:
      0 0 9px rgba(0, 229, 255, 0.7),    /* ← controls blue intensity */
      0 0 12px rgba(255, 0, 204, 0.65);  /* ← controls pink intensity */
  }

  /* RETURN TO IDLE — settles back down */
  100% {
    box-shadow:
      0 0 5px rgba(0, 229, 255, 0.2),    /* final resting blue glow */
      0 0 7px rgba(255, 0, 204, 0.2);    /* final resting pink glow */
  }
}

/* 5) PORTRAIT (TOP LAYER) */
.header-tou img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  padding: 0 !important;

  position: relative;
  z-index: 2;
}



/* Adjust the font size of the reCAPTCHA notice */
.google-captcha-notice {
    font-size: 10px; /* Set this to your desired font size */
    color: #666; /* Optional: change the color to make it less prominent */
}

/* Hide the reCAPTCHA badge */
.grecaptcha-badge { 
    visibility: hidden; 
}

/* === Scroll === */
.cd-top {
    background: url(https://cdn.jsdelivr.net/gh/4xura/AxuraDesign@main/Blog/Scroll/scroll_arrow_6.png) no-repeat center;
}


/* === AxuraDark === */

/* 0) Global dark text + shell bg */
body.dark {
  color: #e7edf7;
}
body.dark,
body.dark #page,
body.dark #wrapper,
body.dark #content,
body.dark .site-main,
body.dark .site-content,
body.dark #primary {
  background-color: #050814 !important;
}
/* Kill leftover gray panel bg */
body.dark .pattern-center {
  background: transparent !important;
}
body.dark .pattern-center::after {
  background: #050814 !important;
  box-shadow: none !important;
  border: none !important;
}

/* 1) Header + nav – only change .yya, keep Sakura behavior at top */
body.dark .yya {
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.18), transparent 45%),
    radial-gradient(circle at 70% 0, rgba(248, 113, 113, 0.14), transparent 50%),
    #050814;
  box-shadow:
    0 1px 40px -8px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(37, 99, 235, 0.45);
}
/* header links / nav */
body.dark .site-top ul li a,
body.dark .site-title a {
  color: #e5e7eb !important;
}
body.dark .site-top ul li a:hover,
body.dark .site-top ul li.current-menu-item > a {
  color: #7dd3fc !important;
  text-shadow:
    0 0 6px rgba(125, 211, 252, 0.9),
    0 0 10px rgba(59, 130, 246, 0.8);
}
/* Header user dropdown */
body.dark .header-user-menu {
  background: radial-gradient(
      circle at 0 0,
      rgba(56, 189, 248, 0.18),
      transparent 65%
    ),
    #050814;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.7);
  box-shadow:
    0 8px 30px rgba(15, 23, 42, 0.95),
    0 0 16px rgba(56, 189, 248, 0.6);
}
body.dark .header-user-menu a {
  color: #e5e7eb !important;
}
body.dark .header-user-menu a:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #a5f3fc !important;
}

/* 2) TOC sidebar – neon card, no default bar */
/* Container = pure wrapper, no card */
body.dark .toc-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* Kill any default vertical bar / pseudo ornaments */
body.dark .toc * {
  border-left: none !important;
}
body.dark .toc::before,
body.dark .toc::after,
body.dark .toc *::before,
body.dark .toc *::after {
  content: none !important;
  border: 0 !important;
  background: transparent !important;
}
/* Actual TOC box */
body.dark .toc {
  background-color: #050814 !important;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.75);
  box-shadow:
    0 0 18px rgba(56, 189, 248, 0.45),
    0 0 32px rgba(129, 140, 248, 0.35);
  padding: 10px 14px !important;
}
/* Links */
body.dark .toc a.toc-link {
  color: #e5e7eb !important;
}
/* Active link – neon bar via inset shadow, not border-left */
body.dark .toc a.toc-link.is-active-link {
  box-shadow: inset 3px 0 0 #7dd3fc;
  padding-left: 8px;
  font-weight: 600;
  color: #7dd3fc !important;
}

/* 3) Bottom gear (cursor + DAY | NIGHT) */
body.dark .changeSkin-gear {
  background-color: #050814 !important;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.6);
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.5);
  padding: 4px 16px;
}

/* 4) Don’t wrap post body with glow/card */
body.dark .single-content,
body.dark .post,
body.dark .entry-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 5) Inline code */
body.dark .entry-content :not(pre) > code {
  color: #f9fafb !important;
  background: rgba(56, 189, 248, 0.22) !important;
  border-radius: 4px;
}

/* 6) Main top “Labyrinth” feature row – neon cards */
body.dark .top-feature-row {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 16px;
  align-items: stretch;
}
/* Title spans all columns */
body.dark .top-feature-row .fes-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  color: #e5e7eb !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow:
    0 0 6px rgba(56, 189, 248, 0.65),
    0 0 12px rgba(129, 140, 248, 0.5);
}
/* tiny neon underline */
body.dark .top-feature-row .fes-title::after {
  content: "";
  display: block;
  height: 2px;
  width: 96px;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #4f46e5, #f97316);
}
/* Each feature cell */
body.dark .top-feature-row .top-feature-v2 {
  margin: 0 !important;
}
/* Neon card */
body.dark .top-feature-row .top-feature-v2 .the-feature.square {
  position: relative;
  background: #050814;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.7);
  box-shadow:
    0 0 18px rgba(56, 189, 248, 0.45),
    0 0 30px rgba(15, 23, 42, 0.95);
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out;
  height: 100%;
}
/* Glow “aura” */
body.dark .top-feature-row .top-feature-v2 .the-feature.square::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(147, 51, 234, 0.16), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
/* Card content */
body.dark .top-feature-row .top-feature-v2 .the-feature.square a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
  position: relative;
  z-index: 1;
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease-out, filter 0.35s ease-out;
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info {
  padding: 10px 14px 12px;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.92),
    rgba(15, 23, 42, 0.98)
  );
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info h3,
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info p {
  position: relative !important;
  top: 15px !important;     
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square .info p {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}
/* Hover */
body.dark .top-feature-row .top-feature-v2 .the-feature.square:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow:
    0 0 24px rgba(56, 189, 248, 0.65),
    0 0 40px rgba(129, 140, 248, 0.55);
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square:hover::before {
  opacity: 1;
}
body.dark .top-feature-row .top-feature-v2 .the-feature.square:hover .img img {
  transform: scale(1.06);
  filter: saturate(1.2);
}
/* Responsive */
@media (max-width: 1024px) {
  body.dark .top-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  body.dark .top-feature-row {
    grid-template-columns: 1fr;
  }
}

/* 7) Main article cards – neon list */
body.dark article.post-list-thumb.post-list-show {
  position: relative;
  background: #050814;
  border-radius: 16px;
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow:
    0 0 16px rgba(15, 23, 42, 0.95),
    0 0 24px rgba(37, 99, 235, 0.45);
  padding: 16px 18px;
  margin-bottom: 28px;
  overflow: hidden;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out;
}
/* Neon aura */
body.dark article.post-list-thumb.post-list-show::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.15), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.18), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
/* Internal layout tweaks */
body.dark .post-list-thumb .post-thumb img {
  border-radius: 2px;
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-out, filter 0.3s ease-out;
}
body.dark .post-list-thumb .post-content-wrap {
  background: transparent !important;
}
/* Hide "read more" button on post list */
.post-list-thumb .post-bottom,
.post-list-thumb .post-bottom .button-normal {
  display: none !important;
}
/* Text colors */
body.dark .post-list-thumb .post-title h3 {
  color: #e5e7eb !important;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.3);
}
body.dark .post-list-thumb .post-date,
body.dark .post-list-thumb .post-meta span,
body.dark .post-list-thumb .post-meta a {
  color: #9ca3af !important;
}
body.dark .post-list-thumb .post-date i,
body.dark .post-list-thumb .post-meta i {
  color: #60a5fa !important;
}
body.dark .post-list-thumb .float-content p {
  color: #cbd5f5 !important;
}
/* Hover */
body.dark article.post-list-thumb.post-list-show:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.95);
  box-shadow:
    0 0 22px rgba(59, 130, 246, 0.8),
    0 0 40px rgba(15, 23, 42, 0.98);
}
body.dark article.post-list-thumb.post-list-show:hover::before {
  opacity: 1;
}
body.dark article.post-list-thumb.post-list-show:hover .post-thumb img {
  transform: scale(1.04);
  filter: saturate(1.18);
}

/* 8) Dropdown menus – neon + centered under tabs */
/* Container styling */
body.dark .site-top .sub-menu {
  background-color: #050814 !important;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.7);
  box-shadow:
    0 12px 36px rgba(15, 23, 42, 0.98),
    0 0 18px rgba(37, 99, 235, 0.55);
  padding: 6px 0;
  min-width: 160px;
  z-index: 9999;
}
/* Each entry */
body.dark .site-top .sub-menu li {
  border-bottom: 1px solid rgba(31, 41, 55, 0.85);
}

body.dark .site-top .sub-menu li:last-child {
  border-bottom: none;
}
/* Links */
body.dark .site-top .sub-menu a {
  display: block;
  padding: 6px 14px;
  color: #e5e7eb !important;
  font-size: 13px;
  white-space: nowrap;
}
/* Hover */
body.dark .site-top .sub-menu a:hover {
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.18),
    rgba(129, 140, 248, 0.22)
  );
  color: #7dd3fc !important;
}
/* Positioning context for top-level menu items */
#menu-top-navigation > li {
  position: relative !important;
}
/* Center dropdown + gap under tab */
#menu-top-navigation > li > ul.sub-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
}

/* 9) Kill footer */
.site-footer,
#colophon.site-footer {
  display: none !important;
}

/* 10) main background image tuning */
body.dark .centerbg,
body.dark #centerbg {
  /* a) Blend mode */
  background-blend-mode: color-dodge !important;
  /* b) the “veil” */
  background-color: rgb(22, 18, 56, 0.1); !important;
  /* c) neon infusion layered on top */
  box-shadow:
    inset 0 0 140px rgba(168, 85, 247, 0.25),  /* purple */
}
/* the purple light layer */
body.dark .centerbg::before,
body.dark #centerbg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* overall neon purple wash + subtle cyan accent */
  background:
    radial-gradient(circle at 70% 20%, rgba(168, 85, 247, 0.25), transparent 55%),
    radial-gradient(circle at 30% 35%, rgba(56, 189, 248, 0.1), transparent 60%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.10), rgba(2, 6, 23, 0.30));
  mix-blend-mode: soft-light;
  opacity: 0.5; /* master intensity */
}

/* 11) SIMPLE DARK-MODE COMMENTS FIX */
body.dark #comments {
  background: #050814 !important;
}
/* Fix the “View comments” button container */
body.dark #comments .commentwrap.comments-hidden {
  background: #050814 !important;
  border: none !important;
  box-shadow: none !important;
}
/* Make sure the button text is readable */
body.dark #comments .commentwrap.comments-hidden .notification {
  background: transparent !important;
  color: #e5e7eb !important;
}
/* Kill any leftover grey decorative bars */
body.dark #comments::before,
body.dark #comments::after {
  background: #050814 !important;
}
/* Remove avatar in comment form */
body #comments .comment-user-avatar {
  display: none !important;
}
/* Make comment textarea match dark background */
body.dark #comments .comment-textarea textarea {
  border: 1.8px solid rgba(255,255,255,0.12); /* subtle neon edge */
}
body.dark #comments .comment-textarea {
  background: transparent !important;
}
/* keep it dark when cursor is inside */
body.dark #comments .comment-textarea textarea:focus {
  background: #050814 !important;
  outline: none;
  border-color: rgba(56, 189, 248, 0.35); /* soft cyan glow */
}

/* 12) Password page: Enter button */
body.dark input[type="submit"][name="Submit"][value="Enter"] {
  background: #050814 !important;
  border: 1.5px solid rgba(56,189,248,0.35) !important;
  border-radius: 8px !important;
  padding: 0.6em 1em !important;
}
/* optional hover glow */
body.dark input[type="submit"][name="Submit"][value="Enter"]:hover {
  box-shadow: 0 0 10px rgba(56,189,248,0.35) !important;
}


/* === AxuraDay === */
/* Everything here only applies when NOT in dark mode */
body:not(.dark) {
  color: #111827;
}

/* 1) Header / main nav – keep Sakura .yya */
body:not(.dark) .yya {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(254, 243, 199, 0.70) 40%,   /* warm amber */
    rgba(254, 226, 226, 0.70) 60%   /* soft red */
  );
  box-shadow: 0 1px 40px -8px rgba(15, 23, 42, 0.7);
}
/* header links / nav (safe to keep these) */
body:not(.dark) .site-top ul li a,
body:not(.dark) .site-title a {
  color: #111827 !important;   /* near-black text */
}
body:not(.dark) .site-top ul li a:hover,
body:not(.dark) .site-top ul li.current-menu-item > a {
  color: #ef4444 !important;   /* main red accent */
  text-shadow:
    0 0 5px rgba(239, 68, 68, 0.85),
    0 0 8px rgba(34, 211, 238, 0.7);
}
/* user avatar dropdown (top-right) */
body:not(.dark) .header-user-menu {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.12),
    0 0 14px rgba(239, 68, 68, 0.35);
}
body:not(.dark) .header-user-menu a {
  color: #111827 !important;
}
body:not(.dark) .header-user-menu a:hover {
  background: rgba(254, 226, 226, 0.96);
  color: #b91c1c !important;
}

/* 2) Top feature row (Labyrinth / Hacktag / Discord) */
body:not(.dark) .top-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 16px;
  align-items: stretch;
  margin-bottom: 32px;
}
/* Title spanning all columns */
body:not(.dark) .top-feature-row .fes-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  color: #0f172a !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow:
    0 0 3px rgba(239, 68, 68, 0.55),
    0 0 7px rgba(34, 211, 238, 0.40);
}
/* subtle underline */
body:not(.dark) .top-feature-row .fes-title::after {
  content: "";
  display: block;
  height: 2px;
  width: 120px;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #f97316, #22d3ee);
}
/* ignore old inline margins, grid handles layout */
body:not(.dark) .top-feature-row .top-feature-v2 {
  margin: 0 !important;
  min-width: 0;
}
/* feature card – neon frame around existing content, no inner changes */
body:not(.dark) .top-feature-row .top-feature-v2 .the-feature.square {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.12),
    0 0 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out;
  cursor: pointer;
  min-width: 0;
}
body:not(.dark) .top-feature-row .top-feature-v2 .the-feature.square a {
  display: block;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}
/* hover */
body:not(.dark) .top-feature-row .top-feature-v2 .the-feature.square:hover {
  transform: translateY(-4px);
  border-color: #ef4444 !important;
  box-shadow:
    0 0 18px rgba(239, 68, 68, 0.75),
    0 0 34px rgba(34, 211, 238, 0.55),
    0 18px 32px rgba(15, 23, 42, 0.24) !important;
}

/* 3) TOC sidebar – light card with neon accent */
body:not(.dark) .toc-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* kill plugin's left border / decoration */
body:not(.dark) .toc * {
  border-left: none !important;
}
body:not(.dark) .toc::before,
body:not(.dark) .toc::after,
body:not(.dark) .toc *::before,
body:not(.dark) .toc *::after {
  content: none !important;
  border: 0 !important;
  background: transparent !important;
}
/* card itself */
body:not(.dark) .toc {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.12),
    0 0 14px rgba(239, 68, 68, 0.35);
  padding: 10px 14px !important;
}
body:not(.dark) .toc a.toc-link {
  color: #111827 !important;
}
/* active item = red neon bar */
body:not(.dark) .toc a.toc-link.is-active-link {
  box-shadow: inset 3px 0 0 #ef4444;
  padding-left: 8px;
  font-weight: 600;
  color: #b91c1c !important;
}

/* 4) Bottom gear (cursor + DAY | NIGHT) */
body:not(.dark) .changeSkin-gear {
  /* mostly white, with a *very* subtle red→purple→cyan wash */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(239, 68, 68, 0.04),
    rgba(168, 85, 247, 0.04),
    rgba(34, 211, 238, 0.04)
  );
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);  /* neutral gray border */
  /* softer, more “card-like” shadow to blend with white bg */
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.10),
    0 0 6px rgba(148, 163, 184, 0.30);
  padding: 4px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.2s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    background 0.22s ease-out;
}
/* Hover: let the neon speak */
body:not(.dark) .changeSkin-gear:hover {
  transform: translateY(-1px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(239, 68, 68, 0.12),
    rgba(168, 85, 247, 0.16),
    rgba(34, 211, 238, 0.16)
  );
  border-color: rgba(239, 68, 68, 0.65);
  box-shadow:
    0 0 14px rgba(239, 68, 68, 0.45),   /* soft red glow */
    0 0 20px rgba(168, 85, 247, 0.35),  /* soft purple halo */
    0 0 24px rgba(34, 211, 238, 0.32),  /* soft cyan edge */
    0 10px 22px rgba(15, 23, 42, 0.20); /* slight lift */
}

/* 5) Post list – cyberpunk-tinted cards on index/archive */
body:not(.dark) article.post-list-thumb.post-list-show {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  /* light outline so it still feels like a card, not a box */
  border: 1px solid rgba(229, 231, 235, 0.85);
  /* subtle cyberpunk shade: neutral + faint red/purple/cyan */
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.08),        /* soft depth */
    0 0 14px rgba(239, 68, 68, 0.14),         /* red ambient */
    0 0 18px rgba(168, 85, 247, 0.12),        /* purple ambient */
    0 0 20px rgba(34, 211, 238, 0.10);        /* cyan whisper */

  padding: 16px 18px;
  margin-bottom: 28px;
  overflow: hidden;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out;
}
/* aura – stronger neon only visible on hover */
body:not(.dark) article.post-list-thumb.post-list-show::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0 0, rgba(239, 68, 68, 0.30), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.24), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
/* thumb */
body:not(.dark) .post-list-thumb .post-thumb img {
  border-radius: 2px;
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-out;
}
/* content wrap stays transparent so card bg rules above apply */
body:not(.dark) .post-list-thumb .post-content-wrap {
  background: transparent !important;
}
/* titles + meta */
body:not(.dark) .post-list-thumb .post-title h3 {
  color: #0f172a !important;
  text-shadow: 0 0 4px rgba(239, 68, 68, 0.35);
}
body:not(.dark) .post-list-thumb .post-date,
body:not(.dark) .post-list-thumb .post-meta span,
body:not(.dark) .post-list-thumb .post-meta a {
  color: #4b5563 !important;
}
body:not(.dark) .post-list-thumb .post-date i,
body:not(.dark) .post-list-thumb .post-meta i {
  color: #ef4444 !important;
}
body:not(.dark) .post-list-thumb .float-content p {
  color: #374151 !important;
}
/* hover – full neon highlight */
body:not(.dark) article.post-list-thumb.post-list-show:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 1);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.20),
    0 0 26px rgba(239, 68, 68, 0.85),
    0 0 36px rgba(168, 85, 247, 0.70),
    0 0 44px rgba(34, 211, 238, 0.65);
}
body:not(.dark) article.post-list-thumb.post-list-show:hover::before {
  opacity: 1;
}
body:not(.dark) article.post-list-thumb.post-list-show:hover .post-thumb img {
  transform: scale(1.04);
}

/* 6) Dropdown menus (Binex / Writeups, etc.) */
body:not(.dark) .site-top .sub-menu {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.12),
    0 0 14px rgba(239, 68, 68, 0.35);
  padding: 6px 0;
  min-width: 160px;
  z-index: 9999;
}
body:not(.dark) .site-top .sub-menu li {
  border-bottom: 1px solid rgba(229, 231, 235, 0.95);
}
body:not(.dark) .site-top .sub-menu li:last-child {
  border-bottom: none;
}
body:not(.dark) .site-top .sub-menu a {
  display: block;
  padding: 6px 14px;
  color: #111827 !important;
  font-size: 13px;
  white-space: nowrap;
}
body:not(.dark) .site-top .sub-menu a:hover {
  background: linear-gradient(
    90deg,
    rgba(254, 226, 226, 1),
    rgba(254, 243, 199, 1)
  );
  color: #b91c1c !important;
}


/* 7) Search modal – light neon frame */
body:not(.dark) .js-search.search-form--modal .search-form__inner {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.12),
    0 0 14px rgba(239, 68, 68, 0.35);
}
body:not(.dark) .js-search .text-input {
  background: transparent;
  color: #111827;
  border: none;
}
body:not(.dark) .js-search .icon-search {
  color: #ef4444;
}


/* === Feature row: mobile sizing fix (day + night) === */
/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .top-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* Mobile: keep 1 column BUT shrink tiles + lock aspect ratio */
@media (max-width: 720px) {
  .top-feature-row {
    grid-template-columns: 1fr !important;
    row-gap: 14px !important;
  }
  /* stop any theme CSS from forcing weird widths */
  .top-feature-row .top-feature-v2,
  .top-feature-row .top-feature-v2 .the-feature.square,
  .top-feature-row .top-feature-v2 .the-feature.square a {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* THIS is what fixes the “giant poster” look */
  .top-feature-row .top-feature-v2 .the-feature.square .img {
    aspect-ratio: 16 / 9;          /* pick 16/9 or 2/1 */
    overflow: hidden;
  }
  .top-feature-row .top-feature-v2 .the-feature.square .img img {
    width: 100% !important;
    height: 100% !important;       /* fill the aspect-ratio box */
    object-fit: cover !important;  /* crop nicely */
    display: block;
  }
  /* Optional: if the info text makes cards too tall, tighten it */
  .top-feature-row .top-feature-v2 .the-feature.square .info {
    padding: 8px 12px !important;
  }
  .top-feature-row .top-feature-v2 .the-feature.square .info p {
    display: none !important;       /* keep it super clean on phone */
  }
}

/* DARK + MOBILE: replace Sakura's white arc separator */
@media (max-width: 900px) {
  body.dark .pattern-center::after,
  body.dark .headertop-bar::after {
    background: #050814 !important; /* dark base */
  }
}


/* === Axura Header Controll === */

/* 0) Hard force: header layers are transparent at top by default */
body:not(.axura-scrolled) header.site-header,
body:not(.axura-scrolled) header.site-header .site-top,
body:not(.axura-scrolled) header.site-header::before,
body:not(.axura-scrolled) header.site-header::after,
body:not(.axura-scrolled) header.site-header .site-top::before,
body:not(.axura-scrolled) header.site-header .site-top::after {
  background: transparent !important;
  box-shadow: none !important;
}

/* 1) TOP + DAY hover */
body:not(.axura-scrolled):not(.dark) header.site-header:hover,
body:not(.axura-scrolled):not(.dark) header.site-header:hover .site-top,
body:not(.axura-scrolled):not(.dark) header.site-header:hover::before,
body:not(.axura-scrolled):not(.dark) header.site-header:hover::after,
body:not(.axura-scrolled):not(.dark) header.site-header:hover .site-top::before,
body:not(.axura-scrolled):not(.dark) header.site-header:hover .site-top::after {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(254, 243, 199, 0.70) 40%,
    rgba(254, 226, 226, 0.70) 60%
  ) !important;
  box-shadow: 0 1px 40px -8px rgba(15, 23, 42, 0.7) !important;
}

/* 2) TOP + NIGHT hover */
body:not(.axura-scrolled).dark header.site-header:hover,
body:not(.axura-scrolled).dark header.site-header:hover .site-top,
body:not(.axura-scrolled).dark header.site-header:hover::before,
body:not(.axura-scrolled).dark header.site-header:hover::after,
body:not(.axura-scrolled).dark header.site-header:hover .site-top::before,
body:not(.axura-scrolled).dark header.site-header:hover .site-top::after {
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.18), transparent 45%),
    radial-gradient(circle at 70% 0, rgba(168, 85, 247, 0.16), transparent 55%),
    rgba(5, 8, 20, 0.72) !important;
  box-shadow:
    0 1px 40px -8px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(56, 189, 248, 0.26) !important;
}

/* 3) SCROLLED + DAY (default AND hover identical) */
body.axura-scrolled:not(.dark) header.site-header,
body.axura-scrolled:not(.dark) header.site-header:hover,
body.axura-scrolled:not(.dark) header.site-header .site-top,
body.axura-scrolled:not(.dark) header.site-header:hover .site-top,
body.axura-scrolled:not(.dark) header.site-header::before,
body.axura-scrolled:not(.dark) header.site-header:hover::before,
body.axura-scrolled:not(.dark) header.site-header::after,
body.axura-scrolled:not(.dark) header.site-header:hover::after {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(254, 243, 199, 0.70) 40%,
    rgba(254, 226, 226, 0.70) 60%
  ) !important;
  box-shadow: 0 1px 40px -8px rgba(15, 23, 42, 0.7) !important;
}

/* 4) SCROLLED + NIGHT (default AND hover identical) */
body.axura-scrolled.dark header.site-header,
body.axura-scrolled.dark header.site-header:hover,
body.axura-scrolled.dark header.site-header .site-top,
body.axura-scrolled.dark header.site-header:hover .site-top,
body.axura-scrolled.dark header.site-header::before,
body.axura-scrolled.dark header.site-header:hover::before,
body.axura-scrolled.dark header.site-header::after,
body.axura-scrolled.dark header.site-header:hover::after {
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.18), transparent 45%),
    radial-gradient(circle at 70% 0, rgba(168, 85, 247, 0.16), transparent 55%),
    rgba(5, 8, 20, 0.72) !important;
  box-shadow:
    0 1px 40px -8px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(56, 189, 248, 0.26) !important;
}

/* 5) Smooth transitions */
header.site-header,
header.site-header .site-top,
header.site-header::before,
header.site-header::after,
header.site-header .site-top::before,
header.site-header .site-top::after {
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* 6) Post-page top underlay (behind fixed header) */
/* --- DAY (top, not scrolled) --- */
body.single:not(.axura-scrolled):not(.dark) .pattern-center-blank,
body.single:not(.axura-scrolled):not(.dark) .pattern-center-blank::before,
body.single:not(.axura-scrolled):not(.dark) .pattern-center-blank::after,
body.single:not(.axura-scrolled):not(.dark) .pattern-center::after,
body.single:not(.axura-scrolled):not(.dark) .headertop-bar::after {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(254, 243, 199, 0.42) 40%,
    rgba(254, 226, 226, 0.42) 60%
  ) !important;
  box-shadow: none !important;
}

/* --- NIGHT (top, not scrolled) --- */
body.single:not(.axura-scrolled).dark .pattern-center-blank,
body.single:not(.axura-scrolled).dark .pattern-center-blank::before,
body.single:not(.axura-scrolled).dark .pattern-center-blank::after,
body.single:not(.axura-scrolled).dark .pattern-center::after,
body.single:not(.axura-scrolled).dark .headertop-bar::after {
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(circle at 70% 0, rgba(168, 85, 247, 0.12), transparent 60%),
    rgba(5, 8, 20, 0.55) !important;
  box-shadow: none !important;
}

/* 7) REMOVE pattern-center-blank (clean fix, no layout ghosts) */
.pattern-center-blank {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* prevent it from leaving a gap */
.pattern-center-blank + * {
  margin-top: 0 !important;
}


/* === Axura Skin Menu – Light/Dark Glass + Day/Night Chips === */

.skin-menu {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  padding: 14px 18px 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* DAY PANEL */
body:not(.dark) .skin-menu {
  background:
    radial-gradient(circle at 0 0, rgba(251, 191, 36, 0.10), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(248, 113, 113, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.18),
    0 0 16px rgba(148, 163, 184, 0.45);
  color: #111827;
}

/* NIGHT PANEL */
body.dark .skin-menu {
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(239, 68, 68, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.92);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.85),
    0 0 22px rgba(56, 189, 248, 0.45);
  color: #e5e7eb;
}

/* show only DAY & NIGHT */
.skin-menu .theme-controls .menu-list li:not(#white-bg):not(#dark-bg) {
  display: none !important;
}

/* remove old pseudo-labels */
.skin-menu .theme-controls .menu-list li::before,
.skin-menu .theme-controls .menu-list li::after {
  content: "" !important;
}

/* layout */
.skin-menu .theme-controls .menu-list {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 10px;
  margin: 0;
}

/* chip base */
.skin-menu .theme-controls .menu-list li#white-bg,
.skin-menu .theme-controls .menu-list li#dark-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  flex: 1 1 0;
  padding: 6px 12px;

  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.85);
  background: rgba(15, 23, 42, 0.08);

  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  cursor: pointer;
  transition:
    background 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    transform 0.18s ease-out,
    color 0.18s ease-out;
}

/* icons */
.skin-menu .theme-controls .menu-list li#white-bg i,
.skin-menu .theme-controls .menu-list li#dark-bg i {
  font-size: 14px;
  flex-shrink: 0;
}

/* text label */
.skin-menu .theme-controls .menu-list .theme-label {
  font-weight: 600;
  white-space: nowrap;
}

/* default text color */
body:not(.dark) .skin-menu .theme-controls .menu-list li {
  color: #111827;
}
body.dark .skin-menu .theme-controls .menu-list li {
  color: #e5e7eb;
}

/* hover glow */
.skin-menu .theme-controls .menu-list li:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 68, 68, 0.8);
  box-shadow:
    0 0 12px rgba(239, 68, 68, 0.55),
    0 0 20px rgba(34, 211, 238, 0.45);
}

/* ACTIVE DAY */
body:not(.dark) .skin-menu #white-bg {
  background: linear-gradient(
    135deg,
    rgba(254, 249, 195, 0.96),
    rgba(254, 226, 226, 0.97)
  );
  box-shadow:
    0 0 10px rgba(239, 68, 68, 0.7),
    0 0 18px rgba(234, 179, 8, 0.75);
}

/* ACTIVE NIGHT */
body.dark .skin-menu #dark-bg {
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.55), transparent 60%),
    #020617;
  box-shadow:
    0 0 12px rgba(56, 189, 248, 0.9),
    0 0 20px rgba(168, 85, 247, 0.8);
}

/* icon glow when active */
body:not(.dark) .skin-menu #white-bg i,
body.dark .skin-menu #dark-bg i {
  text-shadow:
    0 0 6px rgba(239, 68, 68, 0.9),
    0 0 10px rgba(34, 211, 238, 0.7);
}

/* align DAY/NIGHT + Serif/Sans into 2x2 grid */
.skin-menu .theme-controls .menu-list,
.skin-menu .font-family-controls {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* spacing between the two rows */
.skin-menu .font-family-controls {
  margin-top: 10px !important;
}

/* make all 4 items same size */
.skin-menu .theme-controls .menu-list li#white-bg,
.skin-menu .theme-controls .menu-list li#dark-bg,
.skin-menu .font-family-controls button {
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  line-height: 36px !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
}

/* buttons: ensure perfect centering */
.skin-menu .font-family-controls button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ==================================== */

/* ============================================================
   0. Cursor color variables (schemes)
   ------------------------------------------------------------ */

/* GLOW – default */
:root {
  --cursor-core: #ffffff;

  --cursor-main-glow-1: rgba(255, 255, 255, 0.9);
  --cursor-main-glow-2: rgba(255, 180, 80, 0.9);

  --cursor-trail-border: rgba(255, 160, 70, 0.9);
  --cursor-trail-glow-1: rgba(255, 160, 70, 0.8);
  --cursor-trail-glow-2: rgba(255, 0, 150, 0.6);

  --cursor-glow-stop-1: rgba(255, 200, 120, 0.8);
  --cursor-glow-stop-2: rgba(255, 0, 200, 0.4);
  --cursor-glow-shadow-1: rgba(255, 180, 100, 0.9);
  --cursor-glow-shadow-2: rgba(255, 0, 200, 0.7);
  --cursor-glow-shadow-3: rgba(0, 220, 255, 0.7);
}

/* just a marker; vars already come from :root */
body.cursor-glow {}

/* RED – bloody crimson / wine red */
body.cursor-red {
  /* Core: pale */
  --cursor-core: #fee2e2; /* very light red */

  /* Inner glow: soft -> mid red */
  --cursor-main-glow-1: rgba(254, 202, 202, 0.95); /* soft red */
  --cursor-main-glow-2: rgba(248, 113, 113, 0.9);  /* medium red */

  /* Ring: deep crimson edge */
  --cursor-trail-border: rgba(185, 28, 28, 1);      /* dark red border */
  --cursor-trail-glow-1: rgba(220, 38, 38, 0.95);   /* strong red */
  --cursor-trail-glow-2: rgba(127, 29, 29, 0.9);    /* deeper blood red */

  /* Outer halo: dark blood / wine red */
  --cursor-glow-stop-1: rgba(190, 24, 24, 0.9);     /* rich blood red */
  --cursor-glow-stop-2: rgba(76, 5, 25, 0.85);      /* wine / dried blood */

  --cursor-glow-shadow-1: rgba(127, 29, 29, 0.95);  /* dark red shadow */
  --cursor-glow-shadow-2: rgba(69, 10, 10, 0.95);   /* very dark red */
  --cursor-glow-shadow-3: rgba(24, 0, 0, 1);        /* almost black red */
}

/* FIREFLY – yellow core, green/yellow glow */
body.cursor-firefly {
  --cursor-core: #facc15; /* bright yellow dot */

  --cursor-main-glow-1: rgba(250, 250, 170, 1);   /* yellow glow */
  --cursor-main-glow-2: rgba(132, 204, 22, 1);    /* yellow-green */

  --cursor-trail-border: rgba(74, 222, 128, 1);   /* green ring */
  --cursor-trail-glow-1: rgba(52, 211, 153, 0.95);
  --cursor-trail-glow-2: rgba(22, 163, 74, 0.9);

  --cursor-glow-stop-1: rgba(250, 250, 170, 0.95); /* outer yellow halo */
  --cursor-glow-stop-2: rgba(132, 204, 22, 0.6);
  --cursor-glow-shadow-1: rgba(190, 242, 100, 0.9);
  --cursor-glow-shadow-2: rgba(74, 222, 128, 0.9);
  --cursor-glow-shadow-3: rgba(21, 128, 61, 0.9);
}

/* DARK – black core, pure red ring, purple glow */
body.cursor-dark {
  /* Core: almost black */
  --cursor-core: #020617; /* deep navy/black */

  /* Inner glow: very dark */
  --cursor-main-glow-1: rgba(15, 23, 42, 1);       /* dark navy */
  --cursor-main-glow-2: rgba(15, 23, 42, 0.8);     /* slightly softer navy */

  /* RING: pure evil red */
  --cursor-trail-border: rgba(239, 68, 68, 1);     /* pure red edge */
  --cursor-trail-glow-1: rgba(248, 113, 113, 0.95);/* bright red glow */
  --cursor-trail-glow-2: rgba(185, 28, 28, 0.9);   /* deeper red */

  /* Outer halo: purple glow fading into near-black */
  --cursor-glow-stop-1: rgba(147, 51, 234, 0.9);   /* strong purple inner */
  --cursor-glow-stop-2: rgba(76, 29, 149, 0.7);    /* darker purple mid */

  --cursor-glow-shadow-1: rgba(168, 85, 247, 0.9); /* bright purple edge */
  --cursor-glow-shadow-2: rgba(46, 16, 101, 0.85); /* deep violet */
  --cursor-glow-shadow-3: rgba(3, 7, 18, 1);       /* near black shadow */
}

/* NEON – pink core, cyan ring, purple neon glow */
body.cursor-neon {
  /* Core: same neon magenta */
  --cursor-core: #f973e5; /* neon pink core */

  /* Inner glow: soft pink → lilac */
  --cursor-main-glow-1: rgba(244, 114, 182, 0.95); /* pink */
  --cursor-main-glow-2: rgba(196, 181, 253, 0.9);  /* lilac/indigo */

  /* RING: sharper, shinier cyan */
  --cursor-trail-border: rgba(56, 189, 248, 1);      /* bright cyan edge */
  --cursor-trail-glow-1: rgba(125, 211, 252, 0.95);  /* light cyan glow */
  --cursor-trail-glow-2: rgba(59, 130, 246, 0.7);    /* softer blue depth */

  /* Outer halo: purple neon cloud around it */
  --cursor-glow-stop-1: rgba(216, 180, 254, 0.9);    /* light purple inner */
  --cursor-glow-stop-2: rgba(168, 85, 247, 0.85);    /* richer purple mid */

  --cursor-glow-shadow-1: rgba(217, 70, 239, 0.95);  /* magenta/purple */
  --cursor-glow-shadow-2: rgba(147, 51, 234, 0.95);  /* solid purple */
  --cursor-glow-shadow-3: rgba(76, 29, 149, 0.9);    /* deep violet */
}


/* ============================================================
   1. Toggle UI layout + label colors
   ------------------------------------------------------------ */

/* Layout for DAY | NIGHT + cursor toggle */
.changeSkin-gear .keys {
  display: flex;
  align-items: center;
  gap: 10px;
}

#cursor-mode-toggle,
#open-skinMenu {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  letter-spacing: 0.03em;
}

#cursor-mode-toggle i,
#open-skinMenu i {
  margin-right: 4px;
}

/* Base label style */
#cursor-mode-label {
  transition: color 0.2s ease, font-weight 0.2s ease;
}

/* Label colors per scheme */

/* Aurora: orange/purple ambient lighting */
body.cursor-glow #cursor-mode-label{
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.02em;
  /* orange ↔ purple gradient */
  background-image: linear-gradient(
    90deg,
    #fb923c,  /* orange */
    #f97316,  /* deeper orange */
    #a855f7,  /* purple */
    #c084fc,  /* brighter purple */
    #fb923c   /* loop back */
  );
  background-size: 320% 100%;
  background-position: 0% 50%;
  animation: glowShift 4.4s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* warm + cool aura */
  text-shadow:
    0 0 1px  rgba(255,255,255,0.18),
    0 0 12px rgba(251,146,60,0.28),
    0 0 22px rgba(168,85,247,0.22);
}
@keyframes glowShift{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Red */
body.cursor-red #cursor-mode-label{
  display: inline-block;
  font-weight: 900;
  background-image: linear-gradient(90deg, #fecaca, #f87171, #dc2626, #f87171);
  background-size: 260% 100%;
  animation: redShift 4s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow:
    0 0 1px rgba(255,255,255,0.18),
    0 0 14px rgba(248,113,113,0.22);
}
@keyframes redShift{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Firefly: ambient, animated, green/yellow */
body.cursor-firefly #cursor-mode-label{
  display: inline-block;
  font-weight: 800;
  background-image: linear-gradient(90deg, #86efac, #4ade80, #fef08a);
  background-size: 260% 100%;
  animation: fireflyDrift 4.2s ease-in-out infinite, fireflyPulse 2.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 8px  rgba(74,222,128,0.28),
    0 0 18px rgba(254,240,138,0.18);
}
@keyframes fireflyDrift{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}
@keyframes fireflyPulse{
  0%,100% { filter: brightness(1) saturate(1.05); }
  50%     { filter: brightness(1.18) saturate(1.35); }
}

/* Eclipse: dark/ash -> blood red -> dark/ash, animated */
body.cursor-dark #cursor-mode-label{
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #6b7280,  /* ash gray */
    #111827,  /* near-black */
    #ef4444,  /* blood red */
    #111827,  /* near-black */
    #6b7280   /* ash gray */
  );
  background-size: 320% 100%;
  animation: eclipseShift 5.5s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes eclipseShift{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Neon: red blue purple gradient, animated */
body.cursor-neon #cursor-mode-label{
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #ef4444,  /* red */
    #a855f7,  /* purple */
    #3b82f6,  /* blue */
    #ef4444   /* loop back to red */
  );
  background-size: 300% 100%;
  animation: cursorLabelHue 4.5s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes cursorLabelHue {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}


/* ============================================================
   2. Neon cursor visuals + cursor behavior (desktop only)
   ------------------------------------------------------------ */

@media (pointer: fine) {
  /* 1) Cursify mode: hide native cursor for everything by default */
  * ,
  *::before,
  *::after {
    cursor: none !important;
  }

  /* 2) I-beam on body text (entry content) */
  .entry-content,
  .entry-content * {
    cursor: text !important;
  }

  /* 3) But NOT on images inside posts – keep them neon-only */
  .entry-content img,
  .entry-content figure,
  .entry-content .wp-block-image {
    cursor: none !important;
  }

  /* 4) I-beam on search fields */
  .search-form input,
  .s-search input,
  input[type="search"] {
    cursor: none !important;
  }

  /* Neon cursor layers */

  .neon-cursor-main,
  .neon-cursor-trail,
  .neon-cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
  }

  /* Main dot – tight bright core */
  .neon-cursor-main {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--cursor-core);
    box-shadow:
      0 0 6px var(--cursor-main-glow-1),
      0 0 12px var(--cursor-main-glow-2);
    transition:
      transform 0.12s ease-out,
      box-shadow 0.12s ease-out,
      opacity 0.12s ease-out;
  }

  /* Trail ring – bigger circle that lags slightly */
  .neon-cursor-trail {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid var(--cursor-trail-border);
    box-shadow:
      0 0 10px var(--cursor-trail-glow-1),
      0 0 22px var(--cursor-trail-glow-2);
    transition:
      transform 0.16s ease-out,
      box-shadow 0.16s ease-out,
      opacity 0.16s ease-out;
  }

  /* Outer glow – soft halo */
  .neon-cursor-glow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: radial-gradient(
      circle,
      var(--cursor-glow-stop-1) 0,
      var(--cursor-glow-stop-2) 40%,
      transparent 70%
    );
    filter: blur(2px);
    box-shadow:
      0 0 20px var(--cursor-glow-shadow-1),
      0 0 40px var(--cursor-glow-shadow-2),
      0 0 60px var(--cursor-glow-shadow-3);
    mix-blend-mode: screen;
    transition:
      transform 0.2s ease-out,
      box-shadow 0.2s ease-out,
      opacity 0.2s ease-out;
  }

  /* Click compression */
  .neon-cursor-main.is-clicking {
    transform: scale(0.8);
  }

  .neon-cursor-trail.is-clicking,
  .neon-cursor-glow.is-clicking {
    transform: scale(0.9);
  }

  /* Hover highlight (JS adds .is-hovering) */
  .neon-cursor-main.is-hovering,
  .neon-cursor-trail.is-hovering,
  .neon-cursor-glow.is-hovering {
    box-shadow:
      0 0 16px var(--cursor-main-glow-1),
      0 0 32px var(--cursor-main-glow-2),
      0 0 72px var(--cursor-glow-shadow-3);
  }
}



/* ==============================
   TOC
============================== */

/* container */
.toc {
  font-size: 14px;
  line-height: 1.55;
}

/* spacing between items */
.toc .toc-list-item {
  margin-bottom: 0.45em;
}

/* spacing between parent → children */
.toc .toc-list .toc-list {
  margin-top: 0.35em;
}

/* links */
.toc .toc-link {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;

  text-decoration: none;
  line-height: 1.2;

  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;

  opacity: 0.65;
  transition: opacity 0.15s ease, font-weight 0.15s ease;
}

/* number column */
.toc .toc-link::before {
  content: attr(data-number);
  flex-shrink: 0;

  width: 3.2em;
  text-align: right;

  font-size: 12px;
  opacity: 0.45;
  font-variant-numeric: tabular-nums;
}

/* number width by depth */
.toc .node-name--H1::before { width: 2.6em; }
.toc .node-name--H2::before { width: 3.2em; }
.toc .node-name--H3::before,
.toc .node-name--H4::before { width: 3.8em; }

/* size descent by depth */
.toc .toc-link.node-name--H1 { font-size: 1em; }
.toc .toc-link.node-name--H2 { font-size: 0.99em; }
.toc .toc-link.node-name--H3 { font-size: 0.95em; }
.toc .toc-link.node-name--H4 { font-size: 0.92em; }

/* default depth quieting */
.toc .toc-link.node-name--H3 {
  opacity: 0.7;
}

/**
 * ACTIVE ITEM
 */

/* day */
body:not(.dark) .toc .toc-link.is-active-link {
  color: #b91c1c !important;
  font-weight: 600;
  opacity: 1;
  box-shadow: inset 3px 0 0 #ef4444;
  padding-left: 8px;
}

body:not(.dark) .toc .toc-link.is-active-link::before {
  opacity: 0.85;
}

/* dark */
body.dark .toc .toc-link.is-active-link {
  color: #7dd3fc !important;
  font-weight: 600;
  opacity: 1;
  box-shadow: inset 3px 0 0 #7dd3fc;
  padding-left: 8px;
}

body.dark .toc .toc-link.is-active-link::before {
  opacity: 0.85;
}

/**
 * ACTIVE PARENT CHAIN
 */
 
/* generic parent visibility */
.toc li:has(> .toc-list .is-active-link) > .toc-link {
  opacity: 1;
  font-weight: 500;
}

/* day – muted red for parents */
body:not(.dark) .toc .toc-link.is-active-parent {
  color: rgba(185, 28, 28, 0.65) !important;
}

/* dark – muted cyan for parents */
body.dark .toc .toc-link.is-active-parent {
  color: rgba(125, 211, 252, 0.65) !important;
}

/* depth tuning for parents */
.toc li:has(> .toc-list .is-active-link) > .toc-link.node-name--H2 {
  opacity: 0.95;
}

.toc li:has(> .toc-list .is-active-link) > .toc-link.node-name--H3 {
  opacity: 0.9;
}


/* =========================================================
   LIST STYLING PATCH 
   ========================================================= */

.wp-block-list{
  font-size:.95em;
  margin:.6em 0!important;
  padding-top:.6em!important;
  padding-bottom:.6em!important;
}

/* control each bullet row height */
.wp-block-list li{
  margin:.3em 0!important;
  padding:.05em 0!important;
}


/* =========================================================
   Gutenberg DEV BLOCKQUOTE 
   ========================================================= */

.wp-block-quote{
  quotes:none!important;
  margin:1.3em 0!important;
  padding:.8em 1em .8em 1.3em!important;
  border-radius:6px!important;
  border:0!important;
  position:relative;
  font-family:inherit!important;
  font-style:normal!important;
  line-height:1.75!important;
	font-size:.95em;
	color:#5C718D!important;
   background:rgba(120,140,180,.08)!important;
}
body.dark .wp-block-quote{
  color:#b8c3d1!important;       
}

/* p */
.wp-block-quote p{
  margin:0!important;
  color:inherit!important;
  line-height:inherit!important;
	margin-top:.35em!important;
	margin-bottom:.35em!important;
}

/* Gradient rail */
.wp-block-quote::before{
  content:""!important;
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius:6px 0 0 6px;
  background:linear-gradient(to bottom,#6c7cff,#2dd4bf);
}


/* Dark mode background */
body.dark .wp-block-quote{
  background:rgba(120,160,220,.12)!important;
}

/* Remove theme decorations */
.wp-block-quote::after,
.wp-block-quote p::before,
.wp-block-quote p::after{
  content:none!important;
  display:none!important;
}

/* Inline code - DAY  */
.wp-block-quote code:not(pre code){
  background:rgba(120,140,180,.18)!important;
  color:#374151!important;
  padding:2px 4px!important;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;
  font-size:.92em!important;
}

/* Inline code - DARK */
body.dark .wp-block-quote code:not(pre code){
  background: rgba(120, 160, 220, 0.2) !important;
  color: #9EB5DC !important;
}

/* Tight lists inside quote */
.wp-block-quote ul,
.wp-block-quote ol{
  margin:.5em 0!important;       
  color:inherit!important;
}
.wp-block-quote li{
  color:inherit!important;
  margin:.35em 0!important;
  line-height:1.5!important;
}
.wp-block-quote li::marker{
  color:inherit!important;
}
