@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Merriweather:wght@300;400;700&display=swap');

/* ===== 基础变量 ===== */
:root {
  --c-bg: #0d0d0d;
  --c-purple: #8000ff;
  --c-magenta: #ff00ff;
  --c-surface: #141414;
  --c-surface2: #1a1a1a;
  --c-border: #2a0050;
  --c-border2: #3d0070;
  --c-text: #e0d0f0;
  --c-text-dim: #9080a8;
  --c-text-bright: #f0e0ff;
  --c-glow-p: rgba(128,0,255,0.5);
  --c-glow-m: rgba(255,0,255,0.5);
  --nav-w: 260px;
  --font-display: 'Abril Fatface', serif;
  --font-body: 'Merriweather', Georgia, serif;
  --font-mono: 'Courier New', Courier, monospace;
  --radius: 4px;
  --transition: 200ms ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--c-bg); color: var(--c-text); font-family: var(--font-body); font-size: 1rem; line-height: 1.7; min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-magenta); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-text-bright); }
a:focus-visible { outline: 2px solid var(--c-purple); outline-offset: 2px; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--c-text-bright); line-height: 1.2; }

/* ===== Scanlines overlay ===== */
.dark-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}

/* ===== Layout Shell ===== */
.layout-shell {
  display: flex;
  min-height: 100vh;
}

/* ===== Sidebar Nav ===== */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-w);
  height: 100vh;
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
  z-index: 100;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.sidenav::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--c-purple), var(--c-magenta), var(--c-purple));
  opacity: 0.7;
}
.sidenav-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 0 1rem;
}
.sidenav-brand {
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-text-bright);
  text-decoration: none;
}
.brand-link:hover .brand-name {
  text-shadow: 0 0 12px var(--c-glow-m);
  color: var(--c-magenta);
}
.brand-logo-img { width: 48px; height: 48px; object-fit: contain; margin: 0 auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--c-text-bright);
  text-shadow: 0 0 8px var(--c-glow-p);
  transition: color var(--transition), text-shadow var(--transition);
  letter-spacing: 0.05em;
}
.brand-tagline {
  font-size: 0.72rem;
  color: var(--c-text-dim);
  font-family: var(--font-mono);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.sidenav-list {
  flex: 1;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sidenav-list li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  color: var(--c-text-dim);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.4;
  min-height: 44px;
  border-left: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
}
.sidenav-list li a:hover,
.sidenav-list li a[aria-current="page"] {
  color: var(--c-text-bright);
  border-left-color: var(--c-magenta);
  background: rgba(128,0,255,0.1);
}
.sidenav-list li a[aria-current="page"] {
  color: var(--c-magenta);
  text-shadow: 0 0 6px var(--c-glow-m);
}
.nav-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-purple);
  min-width: 22px;
  opacity: 0.9;
}
.nav-label { flex: 1; }

.sidenav-foot {
  padding: 1rem 1.25rem 0;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sidenav-foot-link {
  font-size: 0.75rem;
  color: var(--c-text-dim);
  font-family: var(--font-mono);
  padding: 0.4rem 0;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.sidenav-foot-link:hover { color: var(--c-magenta); }

/* ===== Page Body ===== */
.page-body {
  margin-left: var(--nav-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ===== Topbar ===== */
.topbar-announce {
  background: linear-gradient(90deg, var(--c-bg) 0%, rgba(128,0,255,0.15) 50%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-border);
  padding: 0.45rem 1.5rem;
  text-align: center;
}
.announce-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-dim);
  letter-spacing: 0.05em;
}

/* ===== Home Hero ===== */
.home-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 4rem 3rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--c-border2);
  background: radial-gradient(ellipse 60% 60% at 30% 60%, rgba(128,0,255,0.12) 0%, transparent 70%);
  overflow: hidden;
}
.home-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-magenta), var(--c-purple), transparent);
}
.hero-inner {
  max-width: 780px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-purple);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--c-text-bright);
  text-shadow: 0 0 20px var(--c-glow-p), 0 0 40px var(--c-glow-m);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--c-text-dim);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid var(--c-purple);
  color: var(--c-text-bright);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  min-height: 44px;
  line-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  text-shadow: none;
  box-shadow: 0 0 8px var(--c-glow-p);
}
.hero-cta:hover {
  background: rgba(128,0,255,0.2);
  box-shadow: 0 0 20px var(--c-glow-p), 0 0 8px var(--c-glow-m);
  color: var(--c-magenta);
}

/* ===== Glitch Effect ===== */
@keyframes glitch-skew {
  0%   { transform: skewX(0deg); }
  2%   { transform: skewX(-3deg); }
  4%   { transform: skewX(2deg); }
  6%   { transform: skewX(0deg); }
  100% { transform: skewX(0deg); }
}
@keyframes glitch-clip1 {
  0%   { clip-path: inset(30% 0 60% 0); transform: translate(-3px, 0); }
  50%  { clip-path: inset(10% 0 80% 0); transform: translate(3px, 0); }
  100% { clip-path: inset(30% 0 60% 0); transform: translate(-3px, 0); }
}
@keyframes glitch-clip2 {
  0%   { clip-path: inset(65% 0 10% 0); transform: translate(3px, 0); }
  50%  { clip-path: inset(80% 0 5% 0); transform: translate(-3px, 0); }
  100% { clip-path: inset(65% 0 10% 0); transform: translate(3px, 0); }
}

.glitch {
  position: relative;
  animation: glitch-skew 4s infinite linear;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: var(--c-text-bright);
}
.glitch::before {
  text-shadow: -2px 0 var(--c-magenta);
  animation: glitch-clip1 3s infinite linear 0.5s;
}
.glitch::after {
  text-shadow: 2px 0 var(--c-purple);
  animation: glitch-clip2 3s infinite linear 1s;
}

/* ===== Hub Sections (Home) ===== */
.hub-sections, .child-cards-wrap, .sec-children, .related-wrap {
  padding: 2.5rem 3rem;
  border-bottom: 1px solid var(--c-border);
}
.hub-header {
  margin-bottom: 1.5rem;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-purple);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-left: 3px solid var(--c-magenta);
  padding-left: 0.75rem;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.hub-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hub-section:hover {
  border-color: var(--c-purple);
  box-shadow: 0 4px 20px var(--c-glow-p);
}
.hub-sec-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--c-text-bright);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 6px var(--c-glow-m);
}
.hub-sec-title:hover { color: var(--c-magenta); }
.hub-sec-desc {
  font-size: 0.83rem;
  color: var(--c-text-dim);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.hub-sec-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sec-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-dim);
  border: 1px solid var(--c-border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition);
}
.sec-link:hover {
  color: var(--c-magenta);
  border-color: var(--c-magenta);
}

/* ===== Cards Grid ===== */
.cards-grid, .child-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.child-card, .child-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.1rem;
  color: var(--c-text);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.child-card:hover, .child-block:hover {
  border-color: var(--c-magenta);
  box-shadow: 0 6px 24px var(--c-glow-m);
  transform: translateY(-2px);
  color: var(--c-text-bright);
}
.card-img, .cl-img {
  border-radius: var(--radius);
  margin-bottom: 0.4rem;
  object-fit: cover;
  width: 100%;
  max-height: 160px;
}
.card-title, .cl-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--c-text-bright);
  line-height: 1.3;
}
.card-desc, .cl-desc {
  font-size: 0.82rem;
  color: var(--c-text-dim);
  line-height: 1.5;
}
.card-date, .cl-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-purple);
  margin-top: auto;
}

/* ===== Section / Story / About / Privacy Headers ===== */
.sec-hero, .story-header, .about-header, .privacy-header {
  padding: 3rem 3rem 2rem;
  border-bottom: 1px solid var(--c-border2);
  background: linear-gradient(135deg, rgba(128,0,255,0.07) 0%, transparent 60%);
  position: relative;
}
.sec-hero::after, .story-header::after, .about-header::after, .privacy-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 3rem; right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-purple), transparent);
}
.sec-hero-inner, .story-header-inner, .about-header-inner, .privacy-header-inner {
  max-width: 820px;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-dim);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}
.breadcrumb a {
  color: var(--c-text-dim);
}
.breadcrumb a:hover { color: var(--c-magenta); }
.breadcrumb span[aria-hidden] { color: var(--c-border2); }

.sec-eyebrow, .story-eyebrow, .about-eyebrow, .privacy-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-magenta);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.sec-h1, .story-h1, .about-h1, .privacy-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--c-text-bright);
  text-shadow: 0 0 12px var(--c-glow-p);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.sec-desc, .story-desc, .about-desc, .privacy-desc {
  font-size: 1rem;
  color: var(--c-text-dim);
  max-width: 660px;
  line-height: 1.7;
}
.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
}
.meta-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-dim);
}
.meta-item time { color: var(--c-purple); }
.privacy-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-dim);
  margin-top: 0.75rem;
}
.privacy-date time { color: var(--c-purple); }

/* ===== Story Hero Image ===== */
.story-hero-wrap {
  padding: 0 3rem 1.5rem;
  max-width: 900px;
}
.story-hero-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  max-height: 400px;
  object-fit: cover;
}

/* ===== Article Body ===== */
.home-article, .sec-article, .story-article, .about-article, .privacy-article {
  padding: 2.5rem 3rem;
  max-width: 860px;
}
.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-text-bright);
  margin: 2rem 0 0.75rem;
  text-shadow: 0 0 8px var(--c-glow-p);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--c-text-bright);
  margin: 1.5rem 0 0.5rem;
}
.article-body h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--c-text-bright);
  margin: 1.25rem 0 0.4rem;
}
.article-body p {
  margin-bottom: 1rem;
}
.article-body a {
  color: var(--c-magenta);
  text-decoration: underline;
  text-decoration-color: rgba(255,0,255,0.35);
  text-underline-offset: 3px;
}
.article-body a:hover {
  color: var(--c-text-bright);
  text-decoration-color: var(--c-magenta);
}
.article-body ul, .article-body ol {
  margin: 0.75rem 0 1rem 1.5rem;
  list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 3px solid var(--c-purple);
  padding: 0.75rem 1.25rem;
  background: rgba(128,0,255,0.07);
  color: var(--c-text-dim);
  margin: 1.25rem 0;
  font-style: italic;
}
.article-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(128,0,255,0.15);
  border: 1px solid var(--c-border);
  padding: 0.1em 0.35em;
  border-radius: 2px;
  color: var(--c-magenta);
}
.article-body pre {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}
.article-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--c-border);
  padding: 0.6rem 0.9rem;
  text-align: left;
}
.article-body th {
  background: rgba(128,0,255,0.15);
  color: var(--c-text-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.article-body img {
  border-radius: var(--radius);
  margin: 1rem 0;
  border: 1px solid var(--c-border);
}
.article-body strong { color: var(--c-text-bright); }
.article-body em { color: var(--c-text-dim); font-style: italic; }

/* ===== Story Back / About Links / Privacy Links ===== */
.story-back {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
.back-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--c-text-dim);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.back-link:hover { color: var(--c-magenta); }

.about-links, .privacy-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
.about-link-item, .pnl-item {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-text-dim);
  min-height: 40px;
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.about-link-item:hover, .pnl-item:hover {
  border-color: var(--c-magenta);
  color: var(--c-magenta);
  box-shadow: 0 0 10px var(--c-glow-m);
}

/* ===== Related Grid ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.related-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.related-item:hover {
  border-color: var(--c-purple);
  box-shadow: 0 4px 16px var(--c-glow-p);
  color: var(--c-text-bright);
}
.related-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--c-text-bright);
}
.related-desc {
  font-size: 0.8rem;
  color: var(--c-text-dim);
  line-height: 1.5;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border2);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 3rem 2rem;
  max-width: 1200px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--c-text-bright);
  text-shadow: 0 0 8px var(--c-glow-p);
  margin-bottom: 0.6rem;
}
.footer-about {
  font-size: 0.82rem;
  color: var(--c-text-dim);
  line-height: 1.6;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-purple);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 0.4rem;
}
.footer-nav-list, .footer-legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-nav-list li a, .footer-legal-list li a {
  font-size: 0.82rem;
  color: var(--c-text-dim);
  font-family: var(--font-mono);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}
.footer-nav-list li a:hover, .footer-legal-list li a:hover {
  color: var(--c-magenta);
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--c-text-dim);
  margin-top: 0.75rem;
  line-height: 1.5;
  opacity: 0.7;
}
.footer-bar {
  border-top: 1px solid var(--c-border);
  padding: 0.85rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-dim);
}

/* ===== Stagger Animation ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hub-grid .hub-section,
.cards-grid .child-card,
.child-blocks .child-block,
.related-grid .related-item {
  animation: fadeInUp 0.4s ease both;
}
.hub-grid .hub-section:nth-child(1), .cards-grid .child-card:nth-child(1), .child-blocks .child-block:nth-child(1), .related-grid .related-item:nth-child(1) { animation-delay: 0.05s; }
.hub-grid .hub-section:nth-child(2), .cards-grid .child-card:nth-child(2), .child-blocks .child-block:nth-child(2), .related-grid .related-item:nth-child(2) { animation-delay: 0.1s; }
.hub-grid .hub-section:nth-child(3), .cards-grid .child-card:nth-child(3), .child-blocks .child-block:nth-child(3), .related-grid .related-item:nth-child(3) { animation-delay: 0.15s; }
.hub-grid .hub-section:nth-child(4), .cards-grid .child-card:nth-child(4), .child-blocks .child-block:nth-child(4), .related-grid .related-item:nth-child(4) { animation-delay: 0.2s; }
.hub-grid .hub-section:nth-child(5), .cards-grid .child-card:nth-child(5), .child-blocks .child-block:nth-child(5), .related-grid .related-item:nth-child(5) { animation-delay: 0.25s; }
.hub-grid .hub-section:nth-child(6), .cards-grid .child-card:nth-child(6), .child-blocks .child-block:nth-child(6), .related-grid .related-item:nth-child(6) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .glitch::before, .glitch::after { display: none; }
  .dark-body::before { display: none; }
}

/* ===== Mobile Drawer Nav ===== */
.nav-toggle {
  display: none;
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-magenta);
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  :root { --nav-w: 220px; }
  .home-hero { padding: 3rem 2rem 2.5rem; }
  .hub-sections, .child-cards-wrap, .sec-children, .related-wrap { padding: 2rem 2rem; }
  .home-article, .sec-article, .story-article, .about-article, .privacy-article { padding: 2rem 2rem; }
  .sec-hero, .story-header, .about-header, .privacy-header { padding: 2.5rem 2rem 1.5rem; }
  .footer-grid { padding: 2rem 2rem 1.5rem; grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:first-child { grid-column: 1/-1; }
  .footer-bar { padding: 0.85rem 2rem; }
  .story-hero-wrap { padding: 0 2rem 1.25rem; }
}

@media (max-width: 680px) {
  .sidenav {
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    width: 80vw;
    max-width: 300px;
  }
  .sidenav.open { transform: translateX(0); }
  .page-body { margin-left: 0; }
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 99;
  }
  .nav-overlay.active { display: block; }
  .topbar-announce { padding-left: 3.5rem; text-align: left; }
  .home-hero { min-height: 60vh; padding: 4.5rem 1.25rem 2rem; }
  .hero-h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .hub-sections, .child-cards-wrap, .sec-children, .related-wrap { padding: 1.5rem 1.25rem; }
  .home-article, .sec-article, .story-article, .about-article, .privacy-article { padding: 1.5rem 1.25rem; }
  .sec-hero, .story-header, .about-header, .privacy-header { padding: 5rem 1.25rem 1.5rem; }
  .sec-hero::after, .story-header::after, .about-header::after, .privacy-header::after { left: 1.25rem; right: 1.25rem; }
  .hub-grid, .cards-grid, .child-blocks, .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; gap: 1.5rem; }
  .footer-grid .footer-col:first-child { grid-column: auto; }
  .footer-bar { padding: 0.75rem 1.25rem; }
  .story-hero-wrap { padding: 0 1.25rem 1rem; }
  .sidenav-list li a { min-height: 48px; }
}
