/* ==========================================================================
   Academic Homepage Template — Obsidian Ember & Titanium Terminal Edition
   Carbon Black #070709 · Molten Ember #FF6B2C · Titanium Silver #CBD5E1 · Amber Gold #FACC15
   Dark Terminal Mode · Sharp Sci-Fi Typography
   ========================================================================== */

:root {
  --paper: #070709;
  --paper-2: #0e0f13;
  --paper-card: rgba(15, 16, 21, 0.88);
  --paper-card-hover: rgba(23, 24, 31, 0.96);

  --ink: #f3f4f6;
  --ink-2: #a8aeb9;
  --ink-3: #6c727f;

  --rule: rgba(203, 213, 225, 0.12);
  --rule-strong: rgba(255, 107, 44, 0.3);

  --ember: #ff6b2c;
  --ember-bright: #ff8a54;
  --ember-soft: rgba(255, 107, 44, 0.12);
  --ember-border: rgba(255, 107, 44, 0.36);

  --titanium: #cbd5e1;
  --titanium-soft: rgba(203, 213, 225, 0.1);
  --amber: #facc15;
  --crimson: #ff4d3d;

  --display: "Chakra Petch", "Noto Sans SC", -apple-system, sans-serif;
  --pub-display: "Space Grotesk", "Noto Sans SC", -apple-system, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Noto Sans SC", "PingFang SC", sans-serif;
  --cn: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1080px;
  --gutter: clamp(20px, 5vw, 52px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  color-scheme: dark;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--paper);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Crisp subtle terminal coordinate grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 107, 44, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 44, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 12%, #000 18%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 12%, #000 18%, transparent 82%);
}

/* Restrained warm ember & titanium atmospheric glow at top edge */
body::after {
  content: "";
  position: fixed;
  inset: -120px -10% auto -10%;
  height: 440px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(540px 260px at 84% 24%, rgba(255, 107, 44, 0.12), transparent 70%),
    radial-gradient(480px 240px at 14% 20%, rgba(203, 213, 225, 0.06), transparent 70%);
}

::selection {
  background: rgba(255, 107, 44, 0.34);
  color: #ffffff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 8px 14px;
  background: var(--ember);
  color: #070709;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 3px;
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
}

/* Inline Links & High-Contrast Highlights */
.inline-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(255, 107, 44, 0.56);
  text-decoration-thickness: 1.3px;
  text-underline-offset: 3.5px;
  transition: color 0.16s var(--ease), text-decoration-color 0.16s var(--ease), text-shadow 0.16s var(--ease);
}

.inline-link:hover {
  color: var(--ember-bright);
  text-decoration-color: var(--ember);
  text-shadow: 0 0 12px rgba(255, 107, 44, 0.36);
}

/* Bright Amber Sticker Highlight for Oral / Spotlight */
.notion-mark {
  display: inline-block;
  background: var(--amber);
  color: #070709;
  padding: 0.02em 0.42em 0.05em;
  margin: 0 0.08em;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.88em;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

/* Molten Ember-Red Emphasis for Awards */
.notion-mark-award {
  display: inline;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: 0;
  color: var(--ember-bright);
  font-weight: 600;
  text-shadow: 0 0 14px rgba(255, 107, 44, 0.34);
}

.muted {
  color: var(--ink-3);
  font-weight: 400;
}

/* ==========================================================================
   Sticky Top Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 107, 44, 0.18);
}

.header-inner {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}

.brand-avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center 18%;
  border: 1.4px solid rgba(255, 107, 44, 0.5);
  background: #101116;
  box-shadow: 0 0 12px rgba(255, 107, 44, 0.18);
  flex-shrink: 0;
  transition: transform 0.22s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.brand:hover .brand-avatar,
.brand-avatar-wrap.is-greeting .brand-avatar {
  transform: scale(1.06);
  border-color: var(--amber);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.34);
}

.brand-greeting {
  position: absolute;
  top: calc(100% + 10px);
  left: -2px;
  z-index: 80;
  padding: 5px 11px;
  border-radius: 4px;
  background: #101116;
  border: 1px solid rgba(255, 107, 44, 0.52);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 14px rgba(255, 107, 44, 0.2);
  color: var(--ember-bright);
  font-family: var(--mono);
  font-size: 11.8px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-5px) scale(0.95);
  transform-origin: 18px top;
  transition: opacity 0.18s var(--ease), transform 0.22s var(--ease);
}

.brand-greeting::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 14px;
  width: 8px;
  height: 8px;
  background: #101116;
  border-top: 1px solid rgba(255, 107, 44, 0.52);
  border-left: 1px solid rgba(255, 107, 44, 0.52);
  transform: rotate(45deg);
}

.brand-avatar-wrap.is-greeting .brand-greeting {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brand-name {
  font-family: var(--display);
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  font-family: var(--mono);
  font-size: 12.8px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.24);
  background: rgba(15, 16, 21, 0.86);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11.6px;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease), box-shadow 0.16s var(--ease), transform 0.16s var(--ease);
}

.theme-toggle:hover {
  color: var(--ember-bright);
  border-color: rgba(255, 107, 44, 0.56);
  background: rgba(255, 107, 44, 0.1);
  box-shadow: 0 0 12px rgba(255, 107, 44, 0.2);
}

.theme-toggle:active {
  transform: scale(0.96);
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
}

.theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

.site-nav a {
  position: relative;
  padding: 5px 0;
  transition: color 0.16s var(--ease), text-shadow 0.16s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--amber));
  box-shadow: 0 0 10px rgba(255, 107, 44, 0.65);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ember-bright);
  text-shadow: 0 0 12px rgba(255, 107, 44, 0.3);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding-top: clamp(44px, 6.2vw, 74px);
  padding-bottom: clamp(42px, 5vw, 66px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(32px, 5vw, 60px);
  align-items: stretch;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--titanium);
  margin-bottom: 16px;
}

.kicker::before {
  content: "//";
  color: var(--ember);
  font-weight: 600;
}

.kicker-sep {
  color: var(--ink-3);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  text-shadow: 0 0 28px rgba(255, 107, 44, 0.12);
}

.hero-cn {
  font-family: var(--cn);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-shadow: none;
}

.hero-lead,
.hero-bio {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 0;
  max-width: 66ch;
}

.hero-bio {
  margin-top: 12px;
}

.hero-lead strong,
.hero-bio strong {
  color: var(--ink);
  font-weight: 600;
}

/* Hard Sci-Fi Terminal Briefing Callout */
.vision-callout {
  position: relative;
  margin-top: 28px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(17, 18, 24, 0.94), rgba(11, 12, 16, 0.9));
  border: 1px solid rgba(255, 107, 44, 0.25);
  border-radius: 4px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 100%;
  overflow: hidden;
}

.vision-callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--ember), var(--amber));
  box-shadow: 0 0 14px rgba(255, 107, 44, 0.6);
}

/* Corner HUD tick */
.vision-callout::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid rgba(255, 107, 44, 0.55);
  border-right: 1.5px solid rgba(255, 107, 44, 0.55);
}

.vision-callout[hidden] {
  display: none;
}

.vision-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--ember-bright);
  filter: drop-shadow(0 0 8px rgba(255, 107, 44, 0.4));
}

.vision-callout p {
  font-size: 14.2px;
  line-height: 1.68;
  color: var(--ink-2);
}

.vision-callout strong {
  color: #ffffff;
  font-weight: 600;
}

/* Portrait & Contact Column */
.hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  padding-bottom: 2px;
}

.portrait-wrap {
  position: relative;
  width: 194px;
  margin-inline: auto;
}

/* Subtle molten ember & titanium rim glow */
.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 107, 44, 0.44), transparent 50%, rgba(203, 213, 225, 0.28));
  filter: blur(11px);
  opacity: 0.52;
  z-index: 0;
  transition: opacity 0.25s var(--ease);
}

.portrait-wrap:hover::before {
  opacity: 0.88;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 107, 44, 0.44);
  background: #0e1015;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.58);
  aspect-ratio: 1 / 1;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.email-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: var(--paper-card);
  border: 1px solid rgba(255, 107, 44, 0.28);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 11.6px;
  color: var(--ink-2);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.email-copy-btn:hover {
  border-color: var(--ember);
  background: var(--paper-card-hover);
  color: var(--ember-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(255, 107, 44, 0.18);
}

.email-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-icon {
  flex-shrink: 0;
  color: var(--ink-3);
}

.email-copy-btn:hover .copy-icon {
  color: var(--ember-bright);
}

.social-row {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 8px;
}

.social-row.is-even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 8px;
  background: var(--paper-card);
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 11.6px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-2);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.social-pill:hover {
  border-color: var(--titanium);
  background: var(--paper-card-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(203, 213, 225, 0.16);
}

/* ==========================================================================
   Editorial Sections
   ========================================================================== */

.section {
  padding-top: clamp(42px, 5.2vw, 64px);
  padding-bottom: clamp(18px, 3vw, 32px);
  border-top: 1px solid var(--rule-strong);
}

.section[hidden] {
  display: none;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: clamp(24px, 3.2vw, 36px);
}

.section-title-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #ffffff;
}

.section h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 0.78em;
  background: linear-gradient(180deg, var(--ember), var(--amber));
  box-shadow: 0 0 10px rgba(255, 107, 44, 0.55);
  border-radius: 1px;
}

.section-note {
  font-family: var(--mono);
  font-size: 11.8px;
  color: var(--ink-3);
}

/* ==========================================================================
   01 News
   ========================================================================== */

.news-list {
  border-top: 1px solid var(--rule);
}

.news-item {
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.news-item[hidden] {
  display: none;
}

.news-date {
  font-family: var(--mono);
  font-size: 11.8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember-bright);
  opacity: 0.88;
}

.news-text {
  font-size: 14.6px;
  line-height: 1.65;
  color: var(--ink-2);
}

.news-text strong {
  color: var(--ink);
  font-weight: 600;
}

.news-footer {
  margin-top: 16px;
}

.news-footer[hidden] {
  display: none;
}

.text-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.8px;
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px dashed rgba(255, 107, 44, 0.4);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.text-toggle-btn:hover {
  color: var(--ember-bright);
  border-color: var(--ember);
  background: var(--ember-soft);
}

.text-toggle-btn svg {
  transition: transform 0.2s var(--ease);
}

.text-toggle-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ==========================================================================
   02 Publications
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin-bottom: 24px;
}

.filter-bar[hidden] {
  display: none;
}

.filter-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(203, 213, 225, 0.2);
  background: rgba(15, 16, 21, 0.78);
  font-family: var(--mono);
  font-size: 12.2px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.16s var(--ease);
}

.filter-tab:hover {
  border-color: rgba(255, 107, 44, 0.55);
  color: #ffffff;
  background: rgba(255, 107, 44, 0.08);
}

.filter-tab.is-active {
  background: rgba(255, 107, 44, 0.15);
  border-color: var(--ember);
  color: var(--ember-bright);
  box-shadow: 0 0 16px rgba(255, 107, 44, 0.16), inset 0 0 12px rgba(255, 107, 44, 0.06);
}

.tab-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

.filter-tab.is-active .tab-count {
  color: var(--amber);
}

.pub-list {
  border-top: 1px solid var(--rule);
}

.pub-item {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 24px 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}

.pub-item.is-hidden {
  display: none;
}

/* Crisp Technical Monitor Frame for Paper Diagrams */
.pub-thumb-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 154px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.22);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pub-thumb-btn:hover {
  transform: translateY(-2px);
  border-color: var(--ember);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.58), 0 0 18px rgba(255, 107, 44, 0.2);
}

.pub-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 3px;
  transition: transform 0.26s var(--ease);
}

.pub-thumb-btn:hover img {
  transform: scale(1.025);
}

.thumb-zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: rgba(7, 7, 9, 0.92);
  border: 1px solid rgba(255, 107, 44, 0.55);
  color: var(--ember-bright);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}

.pub-thumb-btn:hover .thumb-zoom-hint,
.pub-thumb-btn:focus-visible .thumb-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.pub-body {
  min-width: 0;
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.venue-tag {
  font-family: var(--mono);
  font-size: 11.4px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.venue-highlight {
  color: var(--ember-bright);
  text-shadow: 0 0 10px rgba(255, 107, 44, 0.3);
}

/* Iconic Amber-Gold Oral Tag */
.oral-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 2px;
  background: var(--amber);
  color: #070709;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.24);
}

.status-tag {
  font-family: var(--mono);
  font-size: 10.8px;
  padding: 1px 7px;
  border-radius: 2px;
  background: var(--titanium-soft);
  color: var(--titanium);
  border: 1px dashed rgba(203, 213, 225, 0.42);
}

.cat-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-left: auto;
}

.pub-title {
  font-family: var(--pub-display);
  font-size: 19.5px;
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 8px;
}

.pub-title a {
  transition: color 0.16s var(--ease), text-shadow 0.16s var(--ease);
}

.pub-title a:hover {
  color: var(--ember-bright);
  text-shadow: 0 0 16px rgba(255, 107, 44, 0.26);
}

.pub-authors {
  font-size: 13.8px;
  line-height: 1.64;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.pub-authors .me {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.pub-award {
  font-family: var(--mono);
  font-size: 12.4px;
  font-weight: 500;
  color: var(--crimson);
  line-height: 1.55;
  margin-top: -3px;
  margin-bottom: 12px;
  text-shadow: 0 0 14px rgba(255, 77, 61, 0.28);
}

.pub-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pub-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(203, 213, 225, 0.22);
  background: rgba(15, 16, 21, 0.88);
  font-family: var(--mono);
  font-size: 11.4px;
  color: var(--ink-2);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.pub-link:hover,
.pub-link[aria-expanded="true"] {
  border-color: var(--ember);
  color: var(--ember-bright);
  background: var(--ember-soft);
  box-shadow: 0 0 12px rgba(255, 107, 44, 0.18);
}

/* Collapsible BibTeX Terminal Drawer */
.bibtex-box {
  margin-top: 12px;
  background: #0a0b0f;
  border: 1px solid rgba(255, 107, 44, 0.34);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.bibtex-box[hidden] {
  display: none;
}

.bibtex-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255, 107, 44, 0.18);
  background: rgba(255, 107, 44, 0.05);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ember-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bibtex-copy-btn {
  font-family: var(--mono);
  font-size: 11px;
  color: #070709;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 3px;
  background: var(--ember);
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.bibtex-copy-btn:hover {
  background: var(--ember-bright);
  box-shadow: 0 0 12px rgba(255, 107, 44, 0.42);
}

.bibtex-box pre {
  margin: 0;
  padding: 12px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 11.6px;
  line-height: 1.58;
  color: #d1d5db;
}

/* ==========================================================================
   03 Experience & Education
   ========================================================================== */

.exp-group + .exp-group {
  margin-top: 34px;
}

.exp-subhead {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-bright);
  margin-bottom: 14px;
}

.exp-list {
  border-top: 1px solid var(--rule);
}

.exp-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.exp-icon {
  width: 44px;
  height: 44px;
  padding: 5px;
  border-radius: 6px;
  border: 1px solid rgba(255, 107, 44, 0.28);
  background: #0e0f14;
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-top: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
}

.exp-icon:has(img) {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(203, 213, 225, 0.34);
  padding: 5px;
}

.exp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 3px;
}

.exp-icon-fallback {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ember-bright);
  width: 100%;
  height: 100%;
  border-radius: 4px;
  display: grid;
  place-items: center;
}

.exp-org {
  font-family: var(--pub-display);
  font-size: 17.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.32;
  margin-bottom: 4px;
}

.exp-role {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 4px;
}

.exp-desc {
  font-size: 13.6px;
  color: var(--ink-3);
}

.exp-date {
  font-family: var(--mono);
  font-size: 11.8px;
  color: var(--ink-3);
  white-space: nowrap;
  padding-top: 4px;
}

/* ==========================================================================
   04 Honors & Services
   ========================================================================== */

.two-col-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4.5vw, 60px);
  padding-bottom: 24px;
}

.honors-list {
  border-top: 1px solid var(--rule);
}

.honors-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.honor-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.mini-star {
  color: var(--amber);
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.38));
  flex-shrink: 0;
}

.honor-meta {
  font-family: var(--mono);
  font-size: 11.8px;
  color: var(--ink-3);
  white-space: nowrap;
}

.services-list {
  border-top: 1px solid var(--rule);
}

.service-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}

.service-row dt {
  font-size: 14.4px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.service-row dd {
  font-family: var(--mono);
  font-size: 12.2px;
  line-height: 1.68;
  color: var(--ink-2);
}

/* ==========================================================================
   Footer — Obsidian Ember Signal Waves & Telemetry Grid
   ========================================================================== */

.site-footer {
  position: relative;
  margin-top: 32px;
  background: var(--paper);
  padding: clamp(104px, 12vw, 140px) 0 42px;
  overflow: hidden;
}

.footer-tide-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.click-splash-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 950;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 107, 44, 0.24);
}

.footer-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-bright);
  margin-bottom: 10px;
}

.footer-email {
  font-family: var(--display);
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(255, 107, 44, 0.5);
  text-underline-offset: 7px;
  transition: color 0.16s var(--ease), text-decoration-color 0.16s var(--ease), text-shadow 0.16s var(--ease);
}

.footer-email:hover {
  color: var(--ember-bright);
  text-decoration-color: var(--amber);
  text-shadow: 0 0 22px rgba(255, 107, 44, 0.36);
}

.footer-sub {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
  max-width: 54ch;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover,
.back-top:hover {
  color: var(--ember-bright);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11.8px;
  color: var(--ink-3);
}

.back-top {
  color: var(--ink-2);
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: 90vh;
  background: #0e0f14;
  border: 1px solid rgba(255, 107, 44, 0.42);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72), 0 0 32px rgba(255, 107, 44, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: lightboxIn 0.18s var(--ease);
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 107, 44, 0.18);
}

.lightbox-title {
  font-family: var(--pub-display);
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.lightbox-close {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.lightbox-close:hover {
  background: rgba(255, 107, 44, 0.18);
  color: var(--ember-bright);
}

.lightbox-stage {
  padding: clamp(14px, 2.5vw, 26px);
  background: #08090c;
  overflow: auto;
  display: grid;
  place-items: center;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #ffffff;
  padding: 12px;
}

/* Copy Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 14px);
  padding: 9px 16px;
  border-radius: 4px;
  background: #101116;
  border: 1px solid var(--ember);
  color: var(--ember-bright);
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 107, 44, 0.24);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-aside {
    order: -1;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .portrait-wrap {
    width: 140px;
    margin-inline: 0;
    flex-shrink: 0;
  }

  .profile-links {
    flex: 1;
    max-width: 300px;
    padding-inline: 0;
  }

  .pub-item {
    grid-template-columns: 204px minmax(0, 1fr);
    gap: 20px;
  }

  .pub-thumb-btn {
    height: 132px;
  }

  .two-col-editorial {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .site-nav {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 16px;
    white-space: nowrap;
  }

  .hero-aside {
    flex-direction: column;
    align-items: flex-start;
  }

  .portrait-wrap {
    width: 148px;
    margin-inline: 0;
  }

  .profile-links {
    width: 100%;
    max-width: none;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pub-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pub-thumb-btn {
    height: 176px;
  }

  .cat-tag {
    margin-left: 0;
  }

  .exp-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .exp-icon {
    width: 40px;
    height: 40px;
  }

  .exp-date {
    grid-column: 2;
    padding-top: 2px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Light Mode — Sakura Sky & Glacier Blue Edition (粉蓝晴空亮色模式)
   Porcelain White #FAFBFD · Glacier Cerulean #2F7CF6 · Sakura Rose #E85A99 · Deep Slate #141D30
   ========================================================================== */

:root[data-theme="light"] {
  --paper: #fafbfd;
  --paper-2: #f2f6fc;
  --paper-card: rgba(255, 255, 255, 0.92);
  --paper-card-hover: #ffffff;

  --ink: #141d30;
  --ink-2: #475569;
  --ink-3: #78879d;

  --rule: rgba(47, 124, 246, 0.13);
  --rule-strong: rgba(232, 90, 153, 0.28);

  /* Blue as primary interactive accent, Sakura Pink as editorial highlight */
  --ember: #2f7cf6;
  --ember-bright: #1d63d8;
  --ember-soft: rgba(47, 124, 246, 0.1);
  --ember-border: rgba(47, 124, 246, 0.34);

  --sakura: #e85a99;
  --sakura-deep: #d64083;
  --sakura-soft: rgba(232, 90, 153, 0.11);
  --sakura-border: rgba(232, 90, 153, 0.36);

  --titanium: #3b82f6;
  --titanium-soft: rgba(47, 124, 246, 0.08);
  --amber: #e85a99;
  --crimson: #e11d74;

  color-scheme: light;
}

:root[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(47, 124, 246, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 90, 153, 0.042) 1px, transparent 1px);
}

:root[data-theme="light"] body::after {
  background:
    radial-gradient(580px 280px at 85% 22%, rgba(232, 90, 153, 0.13), transparent 72%),
    radial-gradient(540px 260px at 14% 18%, rgba(47, 124, 246, 0.13), transparent 72%);
}

:root[data-theme="light"] ::selection {
  background: rgba(232, 90, 153, 0.24);
  color: #141d30;
}

:root[data-theme="light"] .skip-link {
  color: #ffffff;
}

/* Inline Links & Marks */
:root[data-theme="light"] .inline-link {
  color: var(--ink);
  text-decoration-color: rgba(47, 124, 246, 0.48);
}

:root[data-theme="light"] .inline-link:hover {
  color: var(--ember-bright);
  text-decoration-color: var(--sakura);
  text-shadow: none;
}

:root[data-theme="light"] .notion-mark {
  background: linear-gradient(135deg, var(--sakura-soft), var(--ember-soft));
  color: var(--sakura-deep);
  border: 1px solid rgba(232, 90, 153, 0.26);
}

:root[data-theme="light"] .notion-mark-award {
  background: rgba(225, 29, 116, 0.1);
  color: #be185d;
  border-color: rgba(225, 29, 116, 0.34);
}

:root[data-theme="light"] .venue-highlight {
  color: var(--sakura-deep);
  text-shadow: none;
}

/* Sticky Navigation */
:root[data-theme="light"] .site-header {
  background: rgba(250, 251, 253, 0.86);
  border-bottom: 1px solid rgba(47, 124, 246, 0.14);
}

:root[data-theme="light"] .brand-avatar {
  object-position: 45% 20%;
  border-color: rgba(232, 90, 153, 0.45);
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(47, 124, 246, 0.14);
}

:root[data-theme="light"] .brand:hover .brand-avatar,
:root[data-theme="light"] .brand-avatar-wrap.is-greeting .brand-avatar {
  border-color: var(--ember);
  box-shadow: 0 4px 14px rgba(47, 124, 246, 0.24);
}

:root[data-theme="light"] .brand-greeting {
  background: #ffffff;
  color: var(--ink);
  border-color: rgba(232, 90, 153, 0.4);
  box-shadow: 0 10px 24px rgba(20, 29, 48, 0.12), 0 0 0 1px rgba(47, 124, 246, 0.08);
}

:root[data-theme="light"] .brand-greeting::before {
  background: #ffffff;
  border-top-color: rgba(232, 90, 153, 0.4);
  border-left-color: rgba(232, 90, 153, 0.4);
}

:root[data-theme="light"] .site-nav a::after {
  background: linear-gradient(90deg, var(--sakura), var(--ember));
  box-shadow: 0 2px 8px rgba(47, 124, 246, 0.28);
}

:root[data-theme="light"] .site-nav a:hover,
:root[data-theme="light"] .site-nav a.is-active {
  color: var(--ember-bright);
  text-shadow: none;
}

:root[data-theme="light"] .theme-toggle {
  background: linear-gradient(135deg, rgba(232, 90, 153, 0.08), rgba(47, 124, 246, 0.1));
  border-color: rgba(47, 124, 246, 0.28);
  color: var(--ink);
}

:root[data-theme="light"] .theme-toggle:hover {
  color: var(--sakura-deep);
  border-color: rgba(232, 90, 153, 0.55);
  background: linear-gradient(135deg, rgba(232, 90, 153, 0.15), rgba(47, 124, 246, 0.14));
  box-shadow: 0 4px 14px rgba(232, 90, 153, 0.16);
}

/* Hero Section */
:root[data-theme="light"] .kicker::before {
  color: var(--sakura);
}

:root[data-theme="light"] .hero-title {
  color: var(--ink);
  text-shadow: none;
}

:root[data-theme="light"] .portrait-wrap::before {
  background: linear-gradient(135deg, rgba(232, 90, 153, 0.42), rgba(250, 251, 253, 0) 50%, rgba(47, 124, 246, 0.42));
}

:root[data-theme="light"] .portrait-frame {
  border-color: rgba(47, 124, 246, 0.34);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(47, 124, 246, 0.12), 0 4px 12px rgba(232, 90, 153, 0.1);
}

:root[data-theme="light"] .portrait-frame img {
  object-position: 40% 20%;
}

:root[data-theme="light"] .email-copy-btn {
  background: #ffffff;
  border-color: rgba(47, 124, 246, 0.26);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(20, 29, 48, 0.04);
}

:root[data-theme="light"] .email-copy-btn:hover {
  border-color: var(--ember);
  color: var(--ember-bright);
  background: rgba(47, 124, 246, 0.06);
  box-shadow: 0 6px 18px rgba(47, 124, 246, 0.14);
}

:root[data-theme="light"] .social-pill {
  background: #ffffff;
  border-color: rgba(47, 124, 246, 0.2);
  color: var(--ink-2);
  box-shadow: 0 2px 8px rgba(20, 29, 48, 0.04);
}

:root[data-theme="light"] .social-pill:hover {
  border-color: var(--sakura);
  color: var(--sakura-deep);
  background: rgba(232, 90, 153, 0.06);
  box-shadow: 0 6px 16px rgba(232, 90, 153, 0.14);
}

/* Research Vision Callout */
:root[data-theme="light"] .vision-callout {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 252, 0.94));
  border: 1px solid rgba(47, 124, 246, 0.2);
  box-shadow: 0 10px 28px rgba(47, 124, 246, 0.08), 0 2px 8px rgba(232, 90, 153, 0.06);
}

:root[data-theme="light"] .vision-callout::before {
  background: linear-gradient(180deg, var(--sakura), var(--ember));
  box-shadow: 0 0 10px rgba(232, 90, 153, 0.35);
}

:root[data-theme="light"] .vision-callout::after {
  border-top-color: rgba(47, 124, 246, 0.45);
  border-right-color: rgba(47, 124, 246, 0.45);
}

:root[data-theme="light"] .vision-icon {
  color: var(--sakura);
  filter: none;
}

:root[data-theme="light"] .vision-callout strong {
  color: var(--ink);
}

/* Section Headers */
:root[data-theme="light"] .section-title-group h2 {
  color: var(--ink);
}

:root[data-theme="light"] .section-title-group h2::before {
  background: linear-gradient(180deg, var(--sakura), var(--ember));
  box-shadow: 0 0 8px rgba(232, 90, 153, 0.32);
}

/* News */
:root[data-theme="light"] .news-date {
  color: var(--sakura-deep);
}

:root[data-theme="light"] .text-toggle-btn {
  border-color: rgba(47, 124, 246, 0.36);
  color: var(--ember-bright);
  background: rgba(47, 124, 246, 0.05);
}

:root[data-theme="light"] .text-toggle-btn:hover {
  border-color: var(--sakura);
  color: var(--sakura-deep);
  background: rgba(232, 90, 153, 0.08);
}

/* Publications Filter & Cards */
:root[data-theme="light"] .filter-tab {
  border-color: rgba(47, 124, 246, 0.18);
  background: #ffffff;
  color: var(--ink-2);
}

:root[data-theme="light"] .filter-tab:hover {
  border-color: rgba(47, 124, 246, 0.48);
  color: var(--ember-bright);
  background: rgba(47, 124, 246, 0.06);
}

:root[data-theme="light"] .filter-tab.is-active {
  background: linear-gradient(135deg, rgba(232, 90, 153, 0.12), rgba(47, 124, 246, 0.13));
  border-color: rgba(47, 124, 246, 0.55);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(47, 124, 246, 0.12);
}

:root[data-theme="light"] .filter-tab.is-active .filter-count {
  color: var(--sakura-deep);
}

:root[data-theme="light"] .pub-thumb-btn {
  background: #ffffff;
  border-color: rgba(47, 124, 246, 0.18);
  box-shadow: 0 6px 20px rgba(20, 29, 48, 0.06);
}

:root[data-theme="light"] .pub-thumb-btn:hover {
  border-color: var(--ember);
  box-shadow: 0 12px 26px rgba(47, 124, 246, 0.16), 0 2px 8px rgba(232, 90, 153, 0.1);
}

:root[data-theme="light"] .thumb-zoom-hint {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(47, 124, 246, 0.45);
  color: var(--ember-bright);
}

:root[data-theme="light"] .oral-badge {
  background: linear-gradient(135deg, var(--sakura), var(--ember));
  color: #ffffff;
}

:root[data-theme="light"] .status-tag {
  border-color: rgba(47, 124, 246, 0.34);
  color: var(--ink-2);
}

:root[data-theme="light"] .pub-title {
  color: var(--ink);
}

:root[data-theme="light"] .pub-title a:hover {
  color: var(--ember-bright);
  text-shadow: none;
}

:root[data-theme="light"] .pub-authors .me {
  color: var(--ink);
  text-decoration-color: var(--sakura);
}

:root[data-theme="light"] .pub-link {
  border-color: rgba(47, 124, 246, 0.22);
  background: #ffffff;
  color: var(--ink-2);
}

:root[data-theme="light"] .pub-link:hover,
:root[data-theme="light"] .pub-link[aria-expanded="true"] {
  border-color: var(--ember);
  color: var(--ember-bright);
  background: rgba(47, 124, 246, 0.07);
  box-shadow: 0 4px 12px rgba(47, 124, 246, 0.12);
}

:root[data-theme="light"] .bibtex-box {
  background: #f4f7fc;
  border-color: rgba(47, 124, 246, 0.26);
}

:root[data-theme="light"] .bibtex-head {
  border-bottom-color: rgba(47, 124, 246, 0.16);
  background: linear-gradient(90deg, rgba(232, 90, 153, 0.06), rgba(47, 124, 246, 0.06));
  color: var(--ink-2);
}

:root[data-theme="light"] .bibtex-copy-btn {
  background: var(--ember);
  color: #ffffff;
}

:root[data-theme="light"] .bibtex-copy-btn:hover {
  background: var(--sakura);
  box-shadow: 0 4px 12px rgba(232, 90, 153, 0.32);
}

/* Experience */
:root[data-theme="light"] .exp-subhead {
  color: var(--sakura-deep);
}

:root[data-theme="light"] .exp-icon {
  background: #ffffff;
  border-color: rgba(47, 124, 246, 0.2);
  box-shadow: 0 4px 14px rgba(20, 29, 48, 0.06);
}

:root[data-theme="light"] .exp-org {
  color: var(--ink);
}

/* Honors & Services */
:root[data-theme="light"] .mini-star {
  color: var(--sakura);
  filter: drop-shadow(0 0 4px rgba(232, 90, 153, 0.28));
}

:root[data-theme="light"] .service-row dt {
  color: var(--ink);
}

/* Footer */
:root[data-theme="light"] .footer-top {
  border-bottom-color: rgba(47, 124, 246, 0.16);
}

:root[data-theme="light"] .footer-kicker {
  color: var(--sakura-deep);
}

:root[data-theme="light"] .footer-email {
  color: var(--ink);
  text-decoration-color: rgba(232, 90, 153, 0.45);
}

:root[data-theme="light"] .footer-email:hover {
  color: var(--ember-bright);
  text-decoration-color: var(--ember);
  text-shadow: none;
}

/* Lightbox & Toast */
:root[data-theme="light"] .lightbox-backdrop {
  background: rgba(20, 29, 48, 0.56);
}

:root[data-theme="light"] .lightbox-dialog {
  background: #ffffff;
  border-color: rgba(47, 124, 246, 0.32);
  box-shadow: 0 24px 64px rgba(20, 29, 48, 0.24);
}

:root[data-theme="light"] .lightbox-header {
  border-bottom-color: rgba(47, 124, 246, 0.14);
}

:root[data-theme="light"] .lightbox-title {
  color: var(--ink);
}

:root[data-theme="light"] .lightbox-close:hover {
  background: rgba(232, 90, 153, 0.12);
  color: var(--sakura-deep);
}

:root[data-theme="light"] .lightbox-stage {
  background: #f4f7fc;
}

:root[data-theme="light"] .toast {
  background: #ffffff;
  border-color: var(--ember);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(47, 124, 246, 0.18), 0 2px 8px rgba(232, 90, 153, 0.14);
}
