:root {
  color-scheme: light dark;
  --text: #26343d;
  --muted: #647681;
  --body-copy: #344854;
  --soft: #f8fafb;
  --line: #e2e9ee;
  --blue: #6b91c7;
  --blue-2: #d7a1b4;
  --blue-soft: #f4f8fd;
  --surface: #ffffff;
  --surface-alt: #fbfcfe;
  --panel: #ffffff;
  --panel-border: rgba(217, 223, 230, 0.82);
  --media-bg: #ffffff;
  --media-border: rgba(217, 223, 230, 0.9);
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-border: rgba(217, 223, 230, 0.8);
  --nav-text: #2e3a43;
  --hero-text: var(--text);
  --hero-copy: #40535d;
  --hero-affiliation: var(--muted);
  --hero-overlay: transparent;
  --affiliation-logo-bg: transparent;
  --affiliation-logo-padding: 0;
  --arrow-ring: rgba(107, 145, 199, 0.62);
  --arrow-color: #58739d;
  --arrow-bg: rgba(255, 255, 255, 0.42);
  --arrow-shadow: 0 8px 22px rgba(82, 104, 147, 0.1);
  --arrow-hover-shadow: 0 10px 26px rgba(82, 104, 147, 0.14);
  --badge-text: #40535d;
  --badge-bg: transparent;
  --badge-border: rgba(64, 83, 93, 0.34);
  --meta-text: #4d6f9d;
  --meta-divider: #8797a2;
  --project-hover-border: #c8d8ee;
  --project-media-bg:
    linear-gradient(135deg, rgba(107, 145, 199, 0.1), rgba(215, 161, 180, 0.13)),
    #fbfdff;
  --task-visual-bg:
    linear-gradient(120deg, rgba(107, 145, 199, 0.14), rgba(215, 161, 180, 0.08)),
    #f9fbff;
  --task-visual-border: rgba(107, 145, 199, 0.16);
  --wave-accent: rgba(107, 145, 199, 0.72);
  --wave-soft-start: #e7f2ff;
  --wave-soft-end: #fff4ef;
  --token-bg: #dbe8ff;
  --token-alt-bg: #fff4cf;
  --token-warm-bg: #f4d9d2;
  --token-border: #6384bd;
  --target-bg: #ffffff;
  --target-text: #263742;
  --audio-label: #42515d;
  --shadow: 0 16px 36px rgba(55, 82, 95, 0.08);
  --content: 1072px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --text: #e8edf5;
    --muted: #a5b0c0;
    --body-copy: #c3cfde;
    --soft: #151c27;
    --line: #273246;
    --blue: #8fb0e4;
    --blue-2: #d9a9ba;
    --blue-soft: #182538;
    --surface: #0f141c;
    --surface-alt: #111923;
    --panel: #151c27;
    --panel-border: rgba(130, 151, 184, 0.24);
    --media-bg: #111923;
    --media-border: rgba(130, 151, 184, 0.24);
    --header-bg: rgba(15, 20, 28, 0.88);
    --header-border: rgba(130, 151, 184, 0.22);
    --nav-text: #dce5f0;
    --hero-text: #26343d;
    --hero-copy: #40535d;
    --hero-affiliation: #647681;
    --hero-overlay: transparent;
    --affiliation-logo-bg: transparent;
    --affiliation-logo-padding: 0;
    --arrow-ring: rgba(143, 176, 228, 0.62);
    --arrow-color: #c3d4ef;
    --arrow-bg: rgba(18, 27, 40, 0.48);
    --arrow-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    --arrow-hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    --badge-text: #40535d;
    --badge-bg: transparent;
    --badge-border: rgba(64, 83, 93, 0.34);
    --meta-text: #d7e3f2;
    --meta-divider: #8da0b8;
    --project-hover-border: rgba(143, 176, 228, 0.55);
    --project-media-bg:
      linear-gradient(135deg, rgba(143, 176, 228, 0.12), rgba(217, 169, 186, 0.08)),
      #121a25;
    --task-visual-bg:
      linear-gradient(120deg, rgba(143, 176, 228, 0.16), rgba(217, 169, 186, 0.1)),
      #17202c;
    --task-visual-border: rgba(143, 176, 228, 0.26);
    --wave-accent: rgba(143, 176, 228, 0.76);
    --wave-soft-start: #19263a;
    --wave-soft-end: #2a2230;
    --token-bg: #202c43;
    --token-alt-bg: #3a3345;
    --token-warm-bg: #442f3c;
    --token-border: #8fb0e4;
    --target-bg: #101721;
    --target-text: #d9e3ef;
    --audio-label: #b3c0cf;
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Avenir Next", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button,
audio {
  font: inherit;
}

#app:focus {
  outline: none;
}

@keyframes hero-background-drift {
  0% {
    background-position: 48% 48%;
    transform: scale(1.01) translate3d(-0.8%, -0.6%, 0);
  }

  45% {
    background-position: 52% 50%;
    transform: scale(1.035) translate3d(0.9%, 0.4%, 0);
  }

  100% {
    background-position: 49% 53%;
    transform: scale(1.025) translate3d(-0.3%, 0.9%, 0);
  }
}

@keyframes hero-light-current {
  0% {
    opacity: 0.34;
    transform: translate3d(-7%, -1%, 0) skewX(-7deg);
  }

  100% {
    opacity: 0.58;
    transform: translate3d(7%, 1.4%, 0) skewX(-7deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(18px);
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  min-width: 0;
  max-width: 100%;
  font-size: 15px;
  font-weight: 560;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid transparent;
  color: var(--nav-text);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.site-nav .icon-link {
  width: 32px;
  min-height: 32px;
  justify-content: center;
  border: 0;
}

.site-nav svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(420px, 52vh, 560px);
  align-items: center;
  justify-content: center;
  padding: 62px 20px 70px;
  overflow: hidden;
  background: #dff3fb;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: 0;
  background: url("./assets/head_bgd-CJY1zE3x.jpg") center / 112% 112% no-repeat;
  animation: hero-background-drift 24s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform, background-position;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -24% -16%;
  z-index: 0;
  background:
    linear-gradient(
      112deg,
      transparent 22%,
      rgba(255, 255, 255, 0.22) 43%,
      rgba(107, 145, 199, 0.08) 52%,
      transparent 72%
    ),
    linear-gradient(
      252deg,
      rgba(215, 161, 180, 0.08),
      transparent 34%,
      rgba(107, 145, 199, 0.08)
    );
  opacity: 0.48;
  mix-blend-mode: soft-light;
  animation: hero-light-current 18s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
  text-align: center;
}

.hero h1 {
  width: min(920px, 100%);
  margin: 0;
  color: var(--hero-text);
  font-family: "Avenir Next", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(33px, 4vw, 48px);
  line-height: 1.14;
  font-weight: 560;
  letter-spacing: 0.005em;
  margin-inline: auto;
}

.hero p {
  width: min(640px, 100%);
  margin: 22px auto 0;
  color: var(--hero-copy);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.55;
  font-weight: 420;
}

.paper-meta {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(820px, 100%);
  margin: 22px auto 0;
}

.venue-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 2px 3px;
  color: var(--badge-text);
  border: 0;
  border-bottom: 1px solid var(--badge-border);
  border-radius: 0;
  background: var(--badge-bg);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.affiliation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero .affiliation {
  color: var(--hero-affiliation);
}

.affiliation-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.affiliation img {
  height: 26px;
  width: auto;
  padding: var(--affiliation-logo-padding);
  border-radius: 4px;
  background: var(--affiliation-logo-bg);
}

.affiliation img.zhejiang-logo {
  height: 28px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--text);
  font-weight: 620;
}

.hero .arrow-link {
  color: var(--hero-text);
}

.arrow-link .circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--arrow-ring);
  border-radius: 50%;
  color: var(--arrow-color);
  background: var(--arrow-bg);
  box-shadow: var(--arrow-shadow);
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.arrow-link .circle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow-link:hover {
  color: var(--blue);
}

.arrow-link:hover .circle {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--panel);
  box-shadow: var(--arrow-hover-shadow);
  transform: translateX(3px);
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 22px;
  margin-top: 24px;
}

.hero-actions .arrow-link {
  margin-top: 0;
}

.arrow-link.is-disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.68;
}

.hero .arrow-link.is-disabled {
  color: var(--hero-copy);
}

.arrow-link.is-disabled:hover {
  color: var(--muted);
}

.hero .arrow-link.is-disabled:hover {
  color: var(--hero-copy);
}

.arrow-link.is-disabled:hover .circle {
  color: var(--arrow-color);
  border-color: var(--arrow-ring);
  background: var(--arrow-bg);
  box-shadow: var(--arrow-shadow);
  transform: none;
}

.section {
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(40px, 7vw, 76px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.section h2 {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(29px, 3vw, 39px);
  line-height: 1.12;
  font-weight: 560;
  letter-spacing: 0.005em;
}

.section h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 620;
}

.section p {
  margin: 18px 0 0;
  color: var(--body-copy);
  font-size: 16px;
  line-height: 1.68;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--media-border);
  border-radius: 15px;
  background: var(--media-bg);
  box-shadow: var(--shadow);
}

.media-frame.compact {
  box-shadow: none;
}

.pipeline-frame {
  padding: 22px;
}

.center-copy {
  width: min(760px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.tasks {
  display: grid;
  gap: 34px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.project-card {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.project-card:hover {
  border-color: var(--project-hover-border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.project-media {
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--project-media-bg);
}

.project-media picture {
  display: contents;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px 26px;
}

.project-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px;
}

.project-body .arrow-link {
  align-self: flex-start;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--meta-text);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.project-meta span + span::before {
  content: "/";
  margin-right: 7px;
  color: var(--meta-divider);
}

.project-subtitle {
  margin-top: 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 590;
}

.task-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.task-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.task-visual {
  min-height: 220px;
  border-radius: 15px;
  background: var(--task-visual-bg);
  border: 1px solid var(--task-visual-border);
  padding: 26px;
}

.wave-stack {
  display: grid;
  gap: 16px;
}

.wave-line {
  height: 42px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--wave-accent) 0 4px,
      transparent 4px 12px
    ),
    linear-gradient(90deg, var(--wave-soft-start), var(--wave-soft-end));
  opacity: 0.9;
}

.token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.token-row span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--token-bg);
  border: 1px solid var(--token-border);
}

.token-row span:nth-child(3n) {
  background: var(--token-alt-bg);
}

.token-row span:nth-child(4n) {
  background: var(--token-warm-bg);
}

.muted-section {
  background: var(--surface-alt);
}

.demo-shell {
  display: grid;
  gap: 56px;
}

.demo-group {
  display: grid;
  gap: 18px;
}

.demo-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.demo-group-index {
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.sample-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sample-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--panel-border);
}

.sample-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 760;
}

.sample-type {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
}

.target-text {
  max-height: 150px;
  overflow: auto;
  padding: 14px 16px;
  color: var(--target-text);
  background: var(--target-bg);
  border: 1px solid var(--media-border);
  font-size: 14px;
  line-height: 1.62;
  white-space: pre-line;
}

.audio-list {
  display: grid;
  gap: 12px;
}

.audio-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.audio-label {
  color: var(--audio-label);
  font-size: 13px;
  font-weight: 760;
}

.audio-row.generated .audio-label {
  color: var(--blue);
}

.audio-row audio {
  width: 100%;
  height: 34px;
}

.demo-tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.demo-tab-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--blue);
  border: 1px solid rgba(107, 145, 199, 0.28);
  border-radius: 999px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 760;
}

.demo-anchor,
.demo-segment {
  scroll-margin-top: 110px;
}

.demo-tab-nav a:hover {
  border-color: var(--blue);
}

.demo-tab-nav a.is-active {
  color: var(--surface);
  border-color: var(--blue);
  background: var(--blue);
}

.sphere-demo-segment {
  gap: 20px;
}

.sphere-demo-stack {
  display: grid;
  gap: 30px;
}

.sphere-sample {
  display: grid;
  gap: 14px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.sphere-sample:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sphere-sample-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sphere-prompt-card {
  padding: 15px 16px;
  color: var(--target-text);
  border: 1px solid var(--media-border);
  border-radius: 8px;
  background: var(--target-bg);
  font-size: 14px;
  line-height: 1.62;
}

.sphere-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--blue);
  border: 1px solid rgba(107, 145, 199, 0.28);
  border-radius: 999px;
  background: var(--panel);
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sphere-button:hover {
  color: var(--text);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.sphere-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel);
}

.sphere-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sphere-cols-5 {
  grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr));
}

.sphere-cell {
  display: grid;
  min-width: 0;
  gap: 12px;
  padding: 14px;
  border-right: 1px solid var(--line);
}

.sphere-cell:last-child {
  border-right: 0;
}

.sphere-cell-title {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-align: center;
}

.sphere-viewer,
.sphere-audio-placeholder,
.sphere-text-card {
  overflow: hidden;
  border: 1px solid var(--media-border);
  border-radius: 8px;
  background: var(--media-bg);
}

.sphere-viewer {
  position: relative;
  height: 230px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.72), transparent 0 28%, transparent 29%),
    radial-gradient(circle at 50% 45%, rgba(107, 145, 199, 0.18), transparent 0 46%, transparent 47%),
    linear-gradient(135deg, rgba(107, 145, 199, 0.12), rgba(215, 161, 180, 0.1)),
    var(--media-bg);
}

.sphere-viewer-preview {
  position: absolute;
  inset: 22px;
  display: grid;
  place-items: center;
  opacity: 0.92;
  pointer-events: none;
}

.sphere-orbit {
  position: absolute;
  width: min(68%, 168px);
  aspect-ratio: 1;
  border: 1px solid rgba(107, 145, 199, 0.34);
  border-radius: 50%;
}

.sphere-orbit-a {
  transform: rotateX(62deg);
}

.sphere-orbit-b {
  transform: rotateY(62deg);
}

.sphere-orbit-c {
  width: min(50%, 124px);
  border-color: rgba(215, 161, 180, 0.38);
  transform: rotateZ(32deg);
}

.sphere-listener-dot {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(107, 145, 199, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(80, 112, 145, 0.14);
}

.sphere-listener-dot::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.sphere-viewer a-scene {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.sphere-viewer .a-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.sphere-viewer .a-enter-vr {
  display: none;
}

.sphere-viewer-hint {
  position: absolute;
  inset: auto 14px 14px;
  z-index: 2;
  display: grid;
  min-height: 34px;
  place-items: center;
  color: var(--badge-text);
  border: 1px solid rgba(107, 145, 199, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 760;
  pointer-events: none;
}

.sphere-audio-placeholder {
  min-height: 230px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  background:
    linear-gradient(135deg, rgba(107, 145, 199, 0.1), rgba(215, 161, 180, 0.1)),
    var(--media-bg);
}

.sphere-text-card {
  min-height: 230px;
  padding: 14px 15px;
  color: var(--target-text);
  font-size: 14px;
  line-height: 1.62;
}

.sphere-audio-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sphere-spatial-track {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.sphere-spatial-label {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--audio-label);
  font-size: 12px;
  font-weight: 760;
}

.sphere-spatial-label span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sphere-spatial-label small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.sphere-spatial-track.is-primary .sphere-spatial-label span {
  color: var(--blue);
}

.sphere-native-player {
  display: grid;
  grid-template-columns: auto auto minmax(58px, 1fr) auto;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid var(--media-border);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(107, 145, 199, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(107, 145, 199, 0.08), rgba(215, 161, 180, 0.07)),
    var(--target-bg);
}

.sphere-play-toggle {
  display: inline-flex;
  min-width: 44px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  color: var(--surface);
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  font: inherit;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}

.sphere-play-toggle:disabled {
  cursor: wait;
  opacity: 0.72;
}

.sphere-spatial-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(107, 145, 199, 0.42);
  border-radius: 50%;
}

.sphere-spatial-dot::before,
.sphere-spatial-dot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.sphere-spatial-dot::before {
  inset: 4px;
  background: var(--blue);
}

.sphere-spatial-dot::after {
  inset: -4px;
  border: 1px solid rgba(215, 161, 180, 0.32);
}

.sphere-seek {
  width: 100%;
  min-width: 0;
  accent-color: var(--blue);
}

.sphere-time {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sphere-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}

.sphere-cell .sphere-controls {
  justify-content: center;
}

.sphere-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.bench-segment {
  scroll-margin-top: 110px;
}

.bench-subset-list {
  display: grid;
  gap: 34px;
}

.bench-subset {
  display: grid;
  gap: 18px;
}

.bench-subset-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.bench-subset-header h4 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
}

.bench-subset-header span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 760;
}

.bench-card {
  gap: 20px;
}

.bench-card-media {
  overflow: hidden;
  border: 1px solid var(--media-border);
  background: var(--media-bg);
}

.bench-card-media img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.bench-reference {
  max-height: 190px;
  white-space: normal;
}

.bench-reference strong,
.bench-ablation-text strong {
  color: var(--text);
}

.bench-audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.bench-model-audio {
  display: grid;
  gap: 8px;
}

.bench-model-audio audio,
.bench-ablation-row audio {
  width: 100%;
  height: 34px;
}

.bench-stat {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
}

.bench-stat img {
  display: block;
  width: 100%;
}

.bench-stat figcaption {
  padding: 12px 16px 14px;
  color: var(--muted);
  border-top: 1px solid var(--media-border);
  font-size: 13px;
  line-height: 1.5;
}

.bench-ablation-grid {
  display: grid;
  gap: 22px;
}

.bench-ablation-group {
  display: grid;
  gap: 14px;
}

.bench-ablation-list {
  display: grid;
  gap: 12px;
}

.bench-ablation-row {
  display: grid;
  grid-template-columns: 78px minmax(220px, 320px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--panel-border);
}

.bench-ablation-text {
  max-height: 96px;
  min-height: 62px;
}

.abstract-box {
  width: min(860px, 100%);
  margin: 0 auto;
}

.overview-stack {
  display: grid;
  gap: 34px;
}

.overview-stack .media-frame {
  width: 100%;
}

.overview-stack .media-frame picture {
  display: block;
  width: 100%;
}

.overview-stack .media-frame img {
  display: block;
  width: 100%;
}

.abstract-panel {
  width: 100%;
}

.abstract-panel p {
  color: var(--body-copy);
  font-size: 16px;
  line-height: 1.72;
  max-width: none;
}

.abstract-panel strong {
  color: var(--text);
  font-weight: 760;
}

.legal-section {
  min-height: calc(100vh - 160px);
  background: var(--surface-alt);
}

.legal-inner {
  width: min(820px, calc(100% - 40px));
}

.text-link {
  display: inline-flex;
  color: var(--meta-text);
  font-size: 14px;
  font-weight: 680;
}

.text-link:hover {
  color: var(--blue);
}

.legal-header {
  margin-top: 32px;
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 560;
  letter-spacing: 0.005em;
}

.legal-header p {
  max-width: 660px;
  margin-top: 18px;
  color: var(--body-copy);
  font-size: 18px;
  line-height: 1.58;
}

.legal-header span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.legal-panel {
  display: grid;
  gap: 30px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.24;
  font-weight: 620;
}

.legal-block p {
  margin-top: 12px;
  color: var(--body-copy);
  font-size: 16px;
  line-height: 1.72;
}

.legal-block a {
  color: var(--meta-text);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-block a:hover {
  color: var(--blue);
}

.site-footer {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

.footer-links a:hover {
  color: var(--blue);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    min-height: 78px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 14px;
  }

  .hero {
    min-height: 430px;
    padding: 56px 20px 64px;
  }

  .split,
  .split.reverse,
  .task-block,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-media {
    min-height: 220px;
  }

  .split.reverse .copy {
    order: 2;
  }

  .split.reverse .media-frame {
    order: 1;
  }

  .section-inner {
    padding: 62px 0;
  }

  .audio-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .bench-ablation-row {
    grid-template-columns: 1fr;
  }

  .sphere-cols-4,
  .sphere-cols-5 {
    grid-template-columns: 1fr;
  }

  .sphere-audio-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sphere-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sphere-cell:last-child {
    border-bottom: 0;
  }

  .sphere-viewer,
  .sphere-audio-placeholder,
  .sphere-text-card {
    min-height: 260px;
  }

  .sphere-viewer {
    height: 260px;
  }

  .bench-ablation-text {
    max-height: 140px;
  }

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

@media (max-width: 520px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: 100vw;
    max-width: 100vw;
  }

  .site-header {
    padding: 16px 20px;
  }

  .site-nav {
    gap: 18px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 430px;
    padding: 50px 20px 58px;
  }

  .hero-inner {
    width: min(340px, calc(100vw - 40px));
  }

  .hero h1 {
    width: 100%;
    max-width: none;
    font-size: clamp(31px, 9vw, 35px);
    line-height: 1.16;
  }

  .hero p {
    width: 100%;
    max-width: none;
    font-size: 16px;
  }

  .affiliation {
    gap: 10px;
    margin-top: 24px;
  }

  .affiliation img {
    height: 24px;
  }

  .affiliation img.zhejiang-logo {
    height: 25px;
  }

  .arrow-link {
    max-width: 100%;
    justify-content: center;
    gap: 10px;
    white-space: normal;
  }

  .section-inner {
    width: calc(100vw - 32px);
    max-width: var(--content);
    padding: 56px 0;
  }

  .center-copy,
  .project-grid,
  .project-card,
  .project-body {
    min-width: 0;
    max-width: 100%;
  }

  .project-media {
    min-height: 190px;
  }

  .project-media img {
    padding: 18px 12px;
  }

  .project-body {
    padding: 24px 20px;
  }

  .sample-card {
    padding: 18px;
  }

  .bench-subset-header,
  .demo-group-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .bench-audio-grid {
    grid-template-columns: 1fr;
  }

  .bench-card-media img {
    max-height: 240px;
  }

  .sphere-viewer,
  .sphere-audio-placeholder,
  .sphere-text-card {
    min-height: 220px;
  }

  .sphere-viewer {
    height: 220px;
  }

  .sphere-sample-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .sphere-audio-list {
    grid-template-columns: 1fr;
  }

  .sphere-native-player {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
    transform: none;
  }
}
