/* ==================== Dark Tech Theme ==================== */
:root {
  --bg: #0a0e1a;
  --bg-alt: #0f1629;
  --panel: rgba(15, 23, 42, 0.75);
  --panel-solid: #0f172a;
  --text: #e2e8f0;
  --text-bright: #f8fafc;
  --muted: #94a3b8;
  --brand: #00d4ff;
  --brand-light: #38bdf8;
  --accent: #a855f7;
  --accent2: #06b6d4;
  --border: rgba(148, 163, 184, 0.1);
  --border-hover: rgba(0, 212, 255, 0.3);
  --tag-bg: rgba(0, 212, 255, 0.08);
  --tag-text: #38bdf8;
  --glow-brand: 0 0 20px rgba(0, 212, 255, 0.15);
  --glow-accent: 0 0 20px rgba(168, 85, 247, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--brand); transition: color .25s ease; }
a:hover { color: var(--accent); }

/* Dark scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 212, 255, 0.3); }

/* ==================== Particle Canvas ==================== */
#bg-flow {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* ==================== Grid Overlay ==================== */
.grid-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.06) 1px, transparent 0);
  background-size: 40px 40px;
}

/* ==================== Container ==================== */
.container { max-width: 1100px; padding: 0 5vw; margin: 0 auto; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ==================== Header ==================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 26, 0.7);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
}
.nav-wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding: .85rem 0; gap: 1rem;
}
.brand {
  color: var(--text-bright); text-decoration: none;
  font-size: 1.3rem; font-weight: 800; white-space: nowrap;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  letter-spacing: -0.02em;
}
.brand span { color: var(--brand); text-shadow: 0 0 12px rgba(0, 212, 255, 0.5); }
.nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 .2rem; }

/* Mobile nav */
.site-nav {
  display: none;
  position: absolute; top: 60px; right: 4vw;
  width: min(280px, 80vw);
  flex-direction: column;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
}
.site-nav.open { display: flex; }
.site-nav a {
  color: var(--text); text-decoration: none;
  padding: .5rem .75rem; border-radius: 8px; font-size: .95rem;
  transition: all .25s ease;
}
.site-nav a:hover { background: var(--tag-bg); color: var(--brand); }
.site-nav a.active {
  background: var(--tag-bg); color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.2);
}

.social-links {
  display: flex; gap: .3rem; flex-wrap: wrap;
  margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--border);
}
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(148, 163, 184, 0.06); color: var(--muted); text-decoration: none;
  transition: all .25s ease;
}
.social-links a:hover {
  background: rgba(0, 212, 255, 0.1); color: var(--brand);
  box-shadow: var(--glow-brand);
}

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(148, 163, 184, 0.06); border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px; padding: .4rem .6rem; cursor: pointer;
  transition: all .25s ease;
}
.menu-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* ==================== Hero ==================== */
.hero { padding: 4rem 0 2rem; }
.hero-center { text-align: center; max-width: 720px; margin: 0 auto; }

/* Avatar with tech ring */
.avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brand), var(--accent), var(--accent2), var(--brand));
  animation: avatarSpin 4s linear infinite;
  opacity: 0.7;
}
.avatar-wrap::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--bg);
}
@keyframes avatarSpin {
  to { transform: rotate(360deg); }
}
.avatar {
  position: relative; z-index: 1;
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
}

/* Status indicator */
.status-line {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .8rem; color: var(--muted);
  margin-bottom: 1rem;
  padding: .4rem .8rem;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 999px;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero title with gradient + typing cursor */
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  margin: 0 0 .5rem; font-weight: 800; line-height: 1.2;
  background: linear-gradient(135deg, var(--text-bright) 0%, var(--brand) 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.typing-cursor::after {
  content: '|';
  display: inline-block;
  color: var(--brand);
  font-weight: 400;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink {
  50% { opacity: 0; }
}
.accent { color: var(--brand); }
.lead { margin: 0 auto; color: var(--muted); font-size: 1rem; max-width: 65ch; }
.lead.small { font-size: .95rem; margin-top: .75rem; }

/* Social bar (hero) */
.social-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.social-bar a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  text-decoration: none; transition: all .3s ease;
  border: 1px solid var(--border);
}
.social-bar a:nth-child(1) {
  background: rgba(0, 212, 255, 0.08); color: var(--brand);
}
.social-bar a:nth-child(2) {
  background: rgba(168, 85, 247, 0.08); color: var(--accent);
}
.social-bar a:nth-child(3) {
  background: rgba(6, 182, 212, 0.08); color: var(--accent2);
}
.social-bar a:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--brand);
  box-shadow: var(--glow-brand);
}

/* ==================== Sections ==================== */
.section { padding: 2.5rem 0; }
.section-title {
  text-align: center; font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--text-bright), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem;
}
/* Terminal-style section marker */
.section-marker {
  font-family: "JetBrains Mono", monospace;
  font-size: .75rem; color: var(--brand);
  letter-spacing: .1em; text-transform: uppercase;
  display: flex; align-items: center; gap: .5rem;
  justify-content: center; margin-bottom: .5rem;
}
.section-marker::before { content: '>'; opacity: 0.5; }
.section-marker::after {
  content: '';
  flex: 1; max-width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

/* ==================== Glass Cards (shared) ==================== */
.glass-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.glass-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0), rgba(168, 85, 247, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background .35s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.1);
}
.glass-card:hover::before {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(168, 85, 247, 0.2));
}

/* ==================== Project Cards ==================== */
.project-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.project-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08);
}
.project-card-cover {
  width: 100%; height: 180px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt), #1a1a3e);
}
.project-card-cover canvas { width: 100%; height: 100%; display: block; }
.project-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-content { padding: 1rem; }
.project-content h3 {
  margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 700;
  background: linear-gradient(135deg, var(--text-bright), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.project-content p { margin: 0 0 .75rem; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* ==================== Blog Cards ==================== */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.blog-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  backdrop-filter: blur(12px);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.1);
}
.blog-card-cover {
  width: 100%; height: 160px; overflow: hidden;
  background: linear-gradient(135deg, #0f1629, #1a1a3e);
}
.blog-card-cover canvas { width: 100%; height: 100%; display: block; }
.blog-card-body { padding: 1rem; }
.blog-card-body h3 {
  margin: .25rem 0 .5rem; font-size: 1.1rem; font-weight: 700;
  background: linear-gradient(135deg, var(--text-bright), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.blog-card-body p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ==================== Legacy compat ==================== */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.post-item {
  display: block; background: var(--panel); border: 1px solid var(--border);
  border-radius: 16px; padding: 1rem; text-decoration: none; color: var(--text);
  backdrop-filter: blur(12px);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08);
}
.post-item h3 {
  margin: .25rem 0 .5rem; font-size: 1.1rem; font-weight: 700;
  background: linear-gradient(135deg, var(--text-bright), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.post-item p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ==================== Publications ==================== */
.pub-item {
  padding: 1rem 1.2rem; margin-bottom: .8rem;
  background: var(--panel); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  transition: all .3s ease;
}
.pub-item:hover {
  border-left-color: var(--brand);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.06);
  border-color: var(--border-hover);
}
.pub-item h3 { margin: 0 0 .3rem; font-size: 1.05rem; font-weight: 600; }
.pub-item h3 a { color: var(--text); text-decoration: none; transition: color .25s; }
.pub-item h3 a:hover { color: var(--brand); }
.pub-item p { margin: 0; color: var(--muted); font-size: .9rem; }
.pub-item .meta { font-weight: 600; color: var(--brand); font-size: .85rem; }

/* ==================== Timeline ==================== */
.timeline { display: grid; gap: 1rem; }
.timeline-item {
  padding: .85rem 0 .85rem 1rem;
  border-left: 2px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.03);
  border-radius: 8px;
  transition: all .3s ease;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute; left: -5px; top: 1.1rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}
.timeline-item:hover {
  background: rgba(0, 212, 255, 0.06);
  border-left-color: var(--brand);
}
.timeline-item h3 { margin: 0 0 .4rem; font-size: 1.05rem; color: var(--text); }
.timeline-item p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ==================== Tags ==================== */
.tag-row span {
  display: inline-block; font-size: .82rem;
  margin-right: .35rem; margin-bottom: .35rem;
  padding: .2rem .6rem;
  background: var(--tag-bg); color: var(--tag-text);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 999px; transition: all .25s ease;
}
.tag-row span:hover {
  background: rgba(0, 212, 255, 0.15); color: var(--brand);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}
.tags span {
  display: inline-block; border: 1px solid var(--border);
  border-radius: 999px; padding: .15rem .55rem; margin-right: .4rem; margin-bottom: .4rem;
  color: var(--muted); font-size: .82rem; transition: all .25s ease;
}
.tags span:hover {
  border-color: var(--brand); color: var(--brand);
  background: var(--tag-bg);
}

/* Skill badges (floating style) */
.skill-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-top: 1rem;
}
.skill-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem; color: var(--muted);
  padding: .3rem .65rem;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all .3s ease;
}
.skill-badge:hover {
  color: var(--brand);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
}

/* ==================== Post ==================== */
.post { margin-top: 2rem; }
.post-shell {
  background: rgba(15, 23, 42, 0.8); border: 1px solid var(--border);
  border-radius: 20px; padding: 1.2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}
.post h1 {
  background: linear-gradient(135deg, var(--text-bright), var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.post-top-links {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-bottom: .8rem; font-size: .95rem; flex-wrap: wrap;
}
.post-top-links a { text-decoration: none; color: var(--brand); }
.post-top-links a:hover { color: var(--accent); }
.post-cover-wrapper {
  width: 100%; height: 200px; border-radius: 12px;
  overflow: hidden; margin-bottom: 1.2rem;
}
.post-cover-wrapper canvas { width: 100%; height: 100%; display: block; }
.meta, .eyebrow { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .8rem; font-weight: 600; }

.prose { overflow-wrap: anywhere; word-wrap: break-word; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 1rem 0; }
.prose h2, .prose h3 { color: var(--brand); margin-top: 2rem; margin-bottom: .75rem; }
.prose h2 { font-size: 1.6rem; font-weight: 700; }
.prose h3 { font-size: 1.3rem; font-weight: 600; }
.prose p { margin: 1rem 0; }
.prose a {
  text-decoration: underline; text-decoration-color: rgba(0, 212, 255, 0.3);
  text-underline-offset: 2px;
}
.prose a:hover { text-decoration-color: var(--brand); color: var(--accent); }
.prose code {
  background: rgba(0, 212, 255, 0.06); padding: .2rem .4rem; border-radius: 4px;
  font-size: .9em; border: 1px solid rgba(0, 212, 255, 0.1);
  font-family: "JetBrains Mono", "Fira Code", monospace;
  color: var(--brand-light);
}
.prose pre {
  background: rgba(15, 23, 42, 0.9); padding: 1rem; border-radius: 8px;
  overflow-x: auto; border: 1px solid var(--border);
}
.prose pre code { background: transparent; padding: 0; border: none; color: var(--text); }

/* Download button */
.download-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.5rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: var(--bg); text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
  transition: all .3s ease;
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.35);
  color: var(--bg);
}
.download-btn:active { transform: translateY(0); }
.download-btn svg { flex-shrink: 0; }

/* MathJax */
.MathJax { overflow-x: auto; overflow-y: hidden; }

/* ==================== Footer ==================== */
.site-footer {
  border-top: 1px solid var(--border); margin-top: 3rem;
  color: var(--muted); background: rgba(10, 14, 26, 0.9);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; flex-wrap: wrap; gap: .5rem;
}
.footer-inner p { margin: 0; font-size: .85rem; }
.footer-links { display: flex; gap: 1rem; }
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: .85rem;
  transition: color .25s;
}
.footer-links a:hover { color: var(--brand); }
.site-footer p { padding: 1rem 0; margin: 0; font-size: .85rem; text-align: center; }
.footer-tech {
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem; color: rgba(148, 163, 184, 0.4);
  text-align: center; padding-bottom: .5rem;
}

/* Panel */
.panel {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.06);
  border-color: var(--border-hover);
}

/* ==================== Scroll Animations ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Responsive: 640px+ ==================== */
@media (min-width: 640px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-shell { padding: 1.8rem; }
}

/* ==================== Responsive: 820px+ ==================== */
@media (min-width: 820px) {
  .menu-toggle { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row;
    width: auto; background: transparent; border: none;
    border-radius: 0; padding: 0; box-shadow: none; gap: .5rem;
    align-items: center; backdrop-filter: none;
  }
  .social-links { margin-top: 0; padding-top: 0; border-top: none; }
  .nav-divider { display: block; }
  .hero { padding: 5.5rem 0 3rem; }
  .avatar { width: 140px; height: 140px; }
  .post-top-links { flex-direction: row; }
}

/* ==================== Responsive: 1024px+ ==================== */
@media (min-width: 1024px) {
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding: 3rem 0; }
  .hero { padding: 6rem 0 3rem; }
}

/* Mobile overrides */
@media (max-width: 819px) {
  .nav-divider { display: none; }
  .post-top-links { flex-direction: column; gap: .4rem; }
}
@media (max-width: 640px) {
  .MathJax { font-size: .9em; }
}

/* ==================== Focus Visible ==================== */
a:focus-visible,
button:focus-visible,
.blog-card:focus-visible,
.post-item:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
.social-bar a:focus-visible,
.social-links a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  box-shadow: var(--glow-brand);
}

/* ==================== Firefox Scrollbar ==================== */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.2) var(--bg);
}

/* ==================== Reduced Motion ==================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .typing-cursor::after { animation: none; }
}
