:root {
  --bg: #06080d;
  --bg-panel: rgba(13, 18, 29, 0.84);
  --bg-card: rgba(16, 22, 36, 0.88);
  --border: rgba(0, 245, 212, 0.18);
  --border-strong: rgba(0, 245, 212, 0.48);
  --cyan: #00f5d4;
  --purple: #9b5de5;
  --amber: #f59e0b;
  --green: #22c55e;
  --text: #e6edf7;
  --muted: #8b9bb4;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --sans: "Inter", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--text); font-family: var(--sans); }
body { margin: 0; min-height: 100vh; overflow-x: hidden; line-height: 1.6; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono { font-family: var(--mono); }
.text-cyan { color: var(--cyan); }
.text-purple { color: var(--purple); }
.text-amber { color: var(--amber); }
.muted { color: var(--muted); }

/* Canvas & Scanline */
#neural-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
body:not(.fx-enabled) #neural-canvas { opacity: 0.08; }

.scanline-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 245, 212, 0.08), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(155, 93, 229, 0.09), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 3px);
}

/* HUD Top Nav */
.hud-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 8, 13, 0.85);
  border-bottom: 1px solid var(--border);
}
.hud-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-prompt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}
.brand-prompt:hover { text-decoration: none; color: var(--cyan); }
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}
.prompt-cursor { color: var(--cyan); animation: blink 1s steps(1) infinite; }

.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); text-decoration: none; }
.nav-idx { color: var(--purple); margin-right: 3px; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: rgba(16, 22, 36, 0.8);
  color: var(--text);
  transition: all 0.2s;
}
.hud-btn:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }
.hud-btn-primary {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.16), rgba(155, 93, 229, 0.18));
  border-color: var(--border-strong);
  color: var(--cyan);
}
.hud-btn-primary:hover { box-shadow: 0 0 16px rgba(0, 245, 212, 0.28); }

/* Container & Sections */
.container { max-width: 1280px; margin: 0 auto; padding: 28px 24px 72px; }
.section-block { margin-top: 84px; scroll-margin-top: 76px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.section-kicker { font-size: 0.78rem; color: var(--cyan); letter-spacing: 0.08em; margin-bottom: 4px; }
.section-title { margin: 0; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; }
.section-sub { font-size: 0.84rem; color: var(--muted); }

/* Hero */
.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding: 26px 0 12px;
  scroll-margin-top: 80px;
}
.hack-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 212, 0.35);
  background: rgba(0, 245, 212, 0.07);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--cyan);
  margin-bottom: 16px;
}
.badge-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.hero-title {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
}
.glitch {
  position: relative;
  background: linear-gradient(90deg, #ffffff 0%, var(--cyan) 55%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-en {
  font-family: var(--mono);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.typewriter-line {
  font-size: 1.05rem;
  color: var(--cyan);
  margin-bottom: 16px;
  min-height: 1.7em;
}
.tw-prefix { color: var(--purple); margin-right: 8px; font-weight: 700; }
.tw-caret { animation: blink 0.9s steps(1) infinite; }
.hero-bio { color: #b9c5d8; font-size: 0.98rem; margin: 0 0 22px; max-width: 640px; }
.hero-bio strong { color: #fff; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: transform 0.2s, border-color 0.2s;
}
.kpi-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.kpi-val { font-size: 1.45rem; font-weight: 800; line-height: 1.15; }
.kpi-unit { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.kpi-label { font-size: 0.76rem; color: var(--muted); margin-top: 4px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-cyber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.btn-cyber:hover { text-decoration: none; transform: translateY(-1px); }
.btn-cyber-cyan { background: var(--cyan); color: #041014; box-shadow: 0 0 22px rgba(0, 245, 212, 0.28); }
.btn-cyber-cyan:hover { box-shadow: 0 0 30px rgba(0, 245, 212, 0.45); }
.btn-cyber-purple { background: rgba(155, 93, 229, 0.2); border-color: var(--purple); color: #e9d8fd; }
.btn-cyber-purple:hover { background: rgba(155, 93, 229, 0.34); }
.btn-cyber-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-cyber-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* Right Hero: Profile HUD & Terminal */
.hero-right { display: flex; flex-direction: column; gap: 16px; }
.profile-hud-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.hud-corner { position: absolute; width: 10px; height: 10px; border-color: var(--cyan); border-style: solid; }
.hud-corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hud-corner.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.hud-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.hud-corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.profile-hud-top { display: flex; gap: 16px; align-items: center; }
.avatar-frame {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.avatar-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.avatar-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 245, 212, 0.22) 50%, transparent 100%);
  height: 30%;
  animation: scan 3.5s linear infinite;
  pointer-events: none;
}
.profile-meta { font-size: 0.78rem; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.meta-tag { color: var(--cyan); font-weight: 700; margin-bottom: 2px; }
.meta-item { color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-item .k { color: var(--purple); font-weight: 700; }

.terminal-window {
  background: #080b12;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #101624;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
}
.term-dots { display: flex; gap: 6px; }
.term-dots .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.term-title { color: var(--muted); }
.term-hint { color: var(--cyan); opacity: 0.8; }

.terminal-body {
  padding: 12px 14px;
  height: 176px;
  overflow-y: auto;
  font-size: 0.78rem;
  line-height: 1.5;
}
.t-line { margin-top: 4px; }
.t-prompt { color: var(--green); font-weight: 700; margin-right: 6px; }
.t-res { color: #cbd5e1; padding-left: 14px; word-break: break-word; }
.t-cyan { color: var(--cyan); }
.t-muted { color: var(--muted); }

.terminal-input-row {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b0f18;
  font-size: 0.8rem;
}
.terminal-input-row input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.8rem;
}

/* Filter Bar & Papers Grid */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 245, 212, 0.08);
}

.papers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.paper-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.paper-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px rgba(0, 245, 212, 0.09);
}
.paper-card[hidden] { display: none; }

.paper-card-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.venue-badge {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 700;
}
.venue-accepted { background: rgba(34, 197, 94, 0.14); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.35); }
.venue-review { background: rgba(0, 245, 212, 0.12); color: var(--cyan); border: 1px solid rgba(0, 245, 212, 0.32); }
.venue-revision { background: rgba(245, 158, 11, 0.14); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.paper-year { font-size: 0.78rem; color: var(--muted); }

.paper-title { margin: 0 0 4px; font-size: 1.12rem; color: #fff; line-height: 1.35; }
.paper-en-title { margin: 0 0 12px; font-size: 0.76rem; color: var(--muted); line-height: 1.4; }

.paper-visual {
  position: relative;
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
  cursor: zoom-in;
}
.paper-visual img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform 0.25s; }
.paper-visual:hover img { transform: scale(1.03); }
.visual-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 6px 10px;
  background: rgba(6, 8, 13, 0.82);
  color: var(--cyan);
  font-size: 0.73rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.paper-visual:hover .visual-overlay { opacity: 1; }

.paper-points { margin: 0 0 12px 18px; padding: 0; font-size: 0.87rem; color: #c8d3e3; flex: 1; }
.paper-points li { margin-bottom: 6px; }
.paper-points strong { color: #fff; }

.paper-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.75rem;
}
.paper-metrics span {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(155, 93, 229, 0.12);
  border: 1px solid rgba(155, 93, 229, 0.25);
  color: #d8b4fe;
}
.paper-metrics strong { color: #fff; }

.paper-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.act-btn {
  padding: 6px 11px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s;
}
.act-btn:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }

.coauthor-strip {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.co-label { font-size: 0.8rem; color: var(--purple); font-weight: 700; }
.co-pill {
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Embodied AI Cards */
.embodied-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.embodied-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.embodied-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.embodied-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.75rem; margin-bottom: 10px; }
.embodied-card h3 { margin: 0 0 10px; font-size: 1.06rem; color: #fff; }
.embodied-card ul { margin: 0 0 0 18px; padding: 0; font-size: 0.86rem; color: #c8d3e3; }
.embodied-card li { margin-bottom: 6px; }
.embodied-card strong { color: #fff; }

/* Video Deck */
.video-deck {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.video-hud-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.78rem;
}
.rec-indicator { display: inline-flex; align-items: center; gap: 6px; color: #f87171; font-weight: 700; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: pulse 1.2s infinite; }
.award-tag { color: var(--amber); background: rgba(245, 158, 11, 0.12); padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(245, 158, 11, 0.3); }
.video-frame {
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-strong);
  aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: contain; display: block; }
.video-caption { margin-top: 12px; }
.video-caption h3 { margin: 0 0 4px; font-size: 1.08rem; color: #fff; }
.video-caption p { margin: 0; font-size: 0.86rem; color: var(--muted); }

.video-playlist { display: flex; flex-direction: column; gap: 8px; }
.playlist-head { font-size: 0.78rem; color: var(--cyan); padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.channel-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 24, 0.75);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.channel-btn:hover { border-color: var(--cyan); background: rgba(0, 245, 212, 0.06); }
.channel-btn.active {
  border-color: var(--cyan);
  background: linear-gradient(90deg, rgba(0, 245, 212, 0.14), rgba(155, 93, 229, 0.1));
  box-shadow: inset 3px 0 0 var(--cyan);
}
.ch-num { font-size: 0.78rem; font-weight: 700; color: var(--cyan); flex-shrink: 0; }
.ch-info { display: flex; flex-direction: column; }
.ch-info strong { font-size: 0.88rem; }
.ch-info small { font-size: 0.75rem; color: var(--muted); }

/* Hardware Gallery */
.gallery-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 28px 0 14px; }
.gallery-title { margin: 0; font-size: 1rem; color: var(--cyan); }
.gallery-hint { font-size: 0.78rem; color: var(--muted); }
.hardware-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.hw-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.2s, border-color 0.2s;
}
.hw-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.hw-card img { width: 100%; height: 155px; object-fit: cover; display: block; background: #0a0e17; }
.hw-card figcaption { padding: 8px 10px; font-size: 0.8rem; color: #d5dfee; display: flex; align-items: center; gap: 6px; }
.tag-gen { font-size: 0.68rem; padding: 2px 5px; border-radius: 4px; background: rgba(0, 245, 212, 0.12); color: var(--cyan); }

/* Timeline & Awards */
.timeline-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; }
.col-heading { margin: 0 0 14px; font-size: 0.95rem; color: var(--cyan); }
.cyber-timeline { position: relative; padding-left: 22px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 18px; }
.tl-item { position: relative; }
.tl-dot { position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--bg); }
.dot-cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot-purple { background: var(--purple); box-shadow: 0 0 10px var(--purple); }
.dot-green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.tl-time { font-size: 0.76rem; color: var(--cyan); margin-bottom: 4px; }
.tl-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 14px; }
.tl-role { font-weight: 700; font-size: 0.98rem; color: #fff; margin-bottom: 6px; }
.tl-card p, .tl-card ul { margin: 0; font-size: 0.85rem; color: #c4d0e0; }
.tl-card ul { padding-left: 18px; }
.tl-card li { margin-bottom: 4px; }

.awards-terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.award-row {
  display: grid;
  grid-template-columns: 74px 1fr 122px 46px;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}
.award-row:last-child { border-bottom: 0; }
.award-clickable { cursor: pointer; transition: background 0.18s; }
.award-clickable:hover { background: rgba(0, 245, 212, 0.08); }
.award-head { background: rgba(0, 245, 212, 0.06); color: var(--cyan); font-size: 0.75rem; font-weight: 700; }
.prize-pill {
  text-align: center;
  font-size: 0.75rem;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}
.prize-gold { background: rgba(245, 158, 11, 0.16); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.prize-nat { background: rgba(0, 245, 212, 0.14); color: var(--cyan); border: 1px solid rgba(0, 245, 212, 0.35); }
.prize-silver { background: rgba(155, 93, 229, 0.16); color: #d8b4fe; border: 1px solid rgba(155, 93, 229, 0.35); }
.rank { text-align: right; color: var(--muted); }

/* Stack */
.stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.stack-head { font-size: 0.84rem; font-weight: 700; margin-bottom: 14px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.uplink-list { display: flex; flex-direction: column; gap: 8px; font-size: 0.82rem; }

/* Footer */
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--muted);
}
kbd {
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background: #111827;
  color: var(--cyan);
}

/* Modals (Lightbox & Command Palette) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 5, 10, 0.84);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }

.lightbox-box {
  width: min(1040px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #0b101b;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--cyan);
}
.lightbox-controls { display: flex; gap: 8px; }
.lightbox-img-wrap { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; background: #fff; padding: 12px; }
.lightbox-img-wrap img { max-width: 100%; max-height: 74vh; object-fit: contain; }
.lightbox-cap { padding: 10px 16px; font-size: 0.84rem; color: #cbd5e1; border-top: 1px solid var(--border); }

.cmd-box {
  width: min(600px, 94vw);
  background: #0b101b;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 245, 212, 0.2);
}
.cmd-input-wrap { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.cmd-input-wrap input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: #fff; font-family: var(--mono); font-size: 0.92rem;
}
.cmd-results { max-height: 320px; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.cmd-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 6px; border: 0; background: transparent;
  color: var(--text); font-family: var(--mono); font-size: 0.82rem; cursor: pointer; text-align: left;
}
.cmd-item:hover { background: rgba(0, 245, 212, 0.12); color: var(--cyan); }
.cmd-item small { color: var(--muted); }

/* Toast */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: 8px;
  background: #0b1320;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.22s;
}
.toast.show { opacity: 1; transform: translateY(0); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(420%); } }

/* Responsive */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; }
  .papers-grid { grid-template-columns: 1fr; }
  .embodied-grid { grid-template-columns: 1fr; }
  .video-deck { grid-template-columns: 1fr; }
  .hardware-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-split { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .hide-sm { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .award-row { grid-template-columns: 64px 1fr 94px 36px; font-size: 0.78rem; padding: 10px; }
}
