/* ============================================================
   通灵 — Vitality Blue Theme
   vitality-blue.css  (Demo2 复建版 · 2026-08)
   ============================================================ */

/* ---------- 1. Hero Section ---------- */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(22, 119, 255, .08), transparent),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(112, 92, 255, .06), transparent),
    var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 119, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.hero-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-hero);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.hero-desc {
  font-size: var(--font-body);
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.theory-label {
  font-size: var(--font-caption);
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
  opacity: 0.7;
}

/* ---------- 2. Brain Animation Stage ---------- */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.brain-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
}

.brain-svg {
  width: 100%;
  height: 100%;
}

.va-label {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 600;
  fill: var(--muted);
  letter-spacing: .08em;
}

.cap-label {
  position: absolute;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-body);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--blue);
  text-transform: uppercase;
  white-space: nowrap;
}

.cap-label .cap-zh {
  display: block;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-title);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 3px;
  text-transform: none;
}

/* Four-direction layout */
.cap-affective { top: 2%; left: 50%; transform: translateX(-50%); text-align: center; }
.cap-cognitive { right: -3%; top: 50%; transform: translateY(-50%); text-align: center; }
.cap-concern { left: -1%; top: 50%; transform: translateY(-50%); text-align: center; }
.cap-safety { bottom: 0; left: 50%; transform: translateX(-50%); text-align: center; }

/* ---------- 3. Live Index Card ---------- */
.index-card {
  position: absolute;
  z-index: 10;
  background: rgba(7, 29, 66, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(100, 181, 255, .25);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 168px;
  box-shadow: 0 12px 40px rgba(7, 29, 66, .3);
  pointer-events: none;
  will-change: transform, opacity;
}

.index-card-name {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, .6);
  margin-bottom: 4px;
}

.index-card-value {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-title);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.index-card-change {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 600;
  color: #5fe6a0;
}

.index-card-live {
  position: absolute;
  top: 12px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 700;
  letter-spacing: .1em;
  color: #ff6b6b;
}

.index-card-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b6b;
  animation: livePulse 1.5s ease-in-out infinite;
}

/* ---------- 4. Hero Metrics Strip ---------- */
.hero-metrics {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(8px);
}

.hero-metrics .section-shell {
  padding-top: 36px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-metrics .metrics-bar {
  gap: clamp(56px, 8vw, 132px);
  justify-content: center;
  width: 100%;
}

.hero-metrics .metric-item {
  min-width: 160px;
  align-items: center;
  text-align: center;
}

.hero-metric-num {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-display);
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}

.hero-metric-label {
  font-size: var(--font-body);
  color: var(--muted);
  margin-top: 6px;
}

.hero-metric-update {
  align-self: flex-end;
  font-size: var(--font-caption);
  color: var(--muted);
  opacity: 0.6;
  letter-spacing: .04em;
}

.hero-metric-update::before {
  display: none;
}

/* ---------- 5. Section Headers ---------- */
.framework-section {
  background: var(--white);
}

.section-header {
  margin-bottom: 56px;
}

.section-header .section-label {
  display: block;
  margin-bottom: 16px;
}

/* ---------- 5.1 Homepage Section Banding ---------- */
.home-band-a {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.home-band-b {
  background: linear-gradient(180deg, #f3f9ff 0%, #f9fcff 100%);
}

.home-band-c {
  background: linear-gradient(180deg, #eef6ff 0%, #f5f9ff 100%);
}

.home-band-d {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-band-e {
  background: linear-gradient(180deg, #eef6ff 0%, #f4f9ff 100%);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

/* ---------- 6. Dark Sections (数据集/CTA) ---------- */
.dark-section {
  background: linear-gradient(145deg, #061936, #082652);
  color: rgba(255, 255, 255, .85);
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 181, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 181, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
  pointer-events: none;
}

.dark-section .section-shell {
  position: relative;
  z-index: 2;
}

.dark-section .section-label {
  color: var(--cyan);
}

.dark-section .section-title {
  color: var(--white);
}

.dark-section .section-desc {
  color: rgba(255, 255, 255, .6);
}

.dark-section .stat-big {
  color: var(--cyan);
}

.dataset-preview-light .preview-entry {
  background: var(--white);
  border: 1px solid var(--line);
}

.dataset-preview-light .preview-entry:hover {
  border-color: var(--blue);
  transform: translateX(6px);
}

.dataset-preview-light .preview-entry-name {
  color: var(--ink);
}

.dataset-preview-light .preview-entry-meta {
  color: var(--muted);
}

.composite-score-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.composite-score-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.composite-score-head h3 {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-title);
  font-weight: 600;
}

.composite-score-head span {
  font-size: var(--font-caption);
  color: var(--muted);
}

.composite-score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.composite-score-grid > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
}

.composite-score-grid b {
  display: block;
  font-size: var(--font-caption);
  color: var(--ink);
  margin-bottom: 4px;
}

.composite-score-grid span {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-title);
  color: var(--blue);
  font-weight: 700;
}

.mei-task-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mei-task-list li {
  font-size: var(--font-body);
  color: var(--muted);
  line-height: 1.55;
  padding-left: 12px;
  position: relative;
}

.mei-task-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
}

.radar-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}

.radar-tab {
  border: 1px solid var(--line);
  background: #f8fbff;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: var(--font-caption);
  font-weight: 600;
}

.radar-tab.active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.radar-image {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8fbff;
  object-fit: contain;
  aspect-ratio: 4 / 3;
  opacity: 1;
  transition: opacity .18s ease;
}

.radar-chart {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  overflow: hidden;
  opacity: 1;
  transition: opacity .18s ease;
}

.results-radar-wrap .radar-chart {
  max-width: 900px;
}

.radar-live-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 720;
}

.radar-scale-label {
  fill: #8aa0b8;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-body);
}

.radar-live-axis-label {
  fill: var(--ink);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-title);
  font-weight: 600;
}

.radar-live-svg[data-axis-density="dense"] .radar-live-axis-label {
  font-size: var(--font-body);
}

.radar-direction-hotspot-link {
  cursor: pointer;
}

.radar-direction-hotspot {
  fill: transparent;
  pointer-events: all;
  transition: fill .18s ease;
}

.radar-direction-hotspot-link:hover .radar-direction-hotspot,
.radar-direction-hotspot-link:focus-visible .radar-direction-hotspot {
  fill: rgba(22, 119, 255, .06);
}

.radar-chart.is-report-link {
  cursor: pointer;
}

.radar-chart.is-report-link:focus-visible {
  outline: 3px solid rgba(22, 119, 255, .22);
  outline-offset: 3px;
}

.radar-live-legend-label {
  fill: #405a75;
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: var(--font-body);
}

.radar-series polygon {
  transition: opacity .18s ease;
}

.radar-live-svg[data-entering="true"] .radar-grid {
  opacity: 0;
  transform: scale(.94);
  transform-origin: 50% 54%;
}

.radar-live-svg[data-entering="true"] .radar-series {
  opacity: 0;
  transform: scale(.82);
  transform-origin: 50% 54%;
}

.radar-grid,
.radar-series {
  transition: opacity .34s ease, transform .34s ease;
}

.radar-grid,
.radar-series {
  transform-box: fill-box;
}

.radar-series:hover polygon {
  fill-opacity: .15;
}

.radar-wrap.is-switching .radar-image,
.radar-wrap.is-switching .radar-chart {
  opacity: .28;
}

.radar-fallback {
  margin: 12px auto 0;
  max-width: 420px;
  border: 1px dashed #f4a340;
  background: #fff8eb;
  color: #9a5a00;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: var(--font-caption);
  line-height: 1.5;
  text-align: left;
}

.radar-note {
  margin-top: 12px;
  font-size: var(--font-body);
  color: var(--muted);
  line-height: 1.6;
}

.radar-caption {
  margin-top: 10px;
  font-size: var(--font-caption);
  color: var(--muted);
  line-height: 1.65;
  text-align: left;
}

/* ---------- 6.1 数据占比饼图 ---------- */
.empathy-pie-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(100, 181, 255, .2);
  background: rgba(255, 255, 255, .04);
  flex-shrink: 0;
}

.pie-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.empathy-pie {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    conic-gradient(
      #6ec2ff 0deg 99deg,
      #3f92ff 99deg 214.56deg,
      #1e66dd 214.56deg 294.84deg,
      #705cff 294.84deg 360deg
    );
  position: relative;
  box-shadow: 0 10px 28px rgba(6, 25, 54, .35);
}

.empathy-pie::after {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #07203f, #0a2d5d);
  border: 1px solid rgba(255, 255, 255, .08);
}

.pie-total {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-title);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}

.pie-legend {
  min-width: 168px;
  display: grid;
  gap: 8px;
}

.pie-item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, .75);
}

.pie-item b {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 700;
  color: var(--white);
}

.pie-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-affective { background: #6ec2ff; }
.dot-cognitive { background: #3f92ff; }
.dot-care { background: #1e66dd; }
.dot-safe { background: #705cff; }

/* ---------- 7. 能力大类统计条 ---------- */
.cat-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cat-stat {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(100, 181, 255, .18);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease);
}

.cat-stat:hover,
.cat-stat.active {
  background: rgba(100, 181, 255, .12);
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.cat-stat-name {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-body);
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cat-stat-count {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
}

.cat-stat-bar {
  height: 5px;
  background: rgba(100, 181, 255, .15);
  border-radius: 3px;
  margin-top: 14px;
  overflow: hidden;
}

.cat-stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 3px;
}

.cat-stat-sub {
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, .45);
  margin-top: 10px;
}

/* ---------- 8. 数据集浏览器 ---------- */
.browser-panel {
  margin-top: 36px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(100, 181, 255, .15);
  border-radius: var(--radius);
  overflow: hidden;
}

.browser-toolbar {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(100, 181, 255, .15);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dataset-toolbar {
  align-items: flex-end;
  gap: 12px;
}

.dataset-filter {
  display: grid;
  gap: 6px;
  flex: 0 0 176px;
  color: var(--muted);
  font-size: var(--font-caption);
  font-weight: 500;
}

.dataset-filter select {
  width: 100%;
  min-height: 42px;
  appearance: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: #f8fbff;
  color: var(--ink);
  font: inherit;
}

.dataset-clear {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: #f8fbff;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}

.dataset-clear:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: #fff;
}

.dataset-clear svg {
  width: 18px;
  height: 18px;
}

.search-box {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(100, 181, 255, .18);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}

.search-box svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: .5;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: var(--font-body);
  color: var(--white);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, .35);
}

.subtask-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(100, 181, 255, .12);
}

.subtask-chip {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-caption);
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(100, 181, 255, .15);
  padding: 5px 13px;
  border-radius: 20px;
  transition: all .2s var(--ease);
}

.subtask-chip:hover {
  color: var(--white);
  border-color: var(--cyan);
}

.subtask-chip.active {
  color: #061936;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}

.subtask-chip .chip-n {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  opacity: .75;
  margin-left: 3px;
}

.result-count {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  color: var(--cyan);
  padding: 14px 22px 4px;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 22px 0;
}

.result-row .result-count {
  padding: 10px 0;
}

.result-hint {
  color: var(--muted);
  font-size: var(--font-caption);
}

/* ---------- 9. 条目手风琴 ---------- */
.entry-list {
  padding: 10px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entry-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(100, 181, 255, .13);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.entry-card:hover {
  border-color: rgba(115, 196, 255, .4);
}

.entry-card.open {
  background: rgba(255, 255, 255, .06);
  border-color: var(--cyan);
}

.entry-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  text-align: left;
}

.entry-idx {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 700;
  color: var(--cyan);
  background: rgba(115, 196, 255, .12);
  border-radius: 8px;
  min-width: 50px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 6px;
}

.entry-main {
  flex: 1;
  min-width: 0;
}

.entry-name {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-body);
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.entry-year {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 600;
  color: var(--cyan);
  background: rgba(115, 196, 255, .1);
  padding: 2px 8px;
  border-radius: 10px;
}

.entry-sub {
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, .5);
  margin-top: 4px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.entry-sub b {
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
}

.entry-summary {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: rgba(255, 255, 255, .58);
  font-size: var(--font-caption);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.entry-tags {
  display: flex;
  gap: 8px;
  flex: 0 0 420px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  max-width: 420px;
}

.ds-tag {
  display: inline-block;
  font-size: var(--font-caption);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.ds-tag-affective { background: rgba(22, 119, 255, .22); color: var(--blue-light); }
.ds-tag-cognitive { background: rgba(112, 92, 255, .22); color: #a89bff; }
.ds-tag-concern { background: rgba(100, 181, 255, .2); color: var(--cyan); }
.ds-tag-safety { background: rgba(255, 196, 115, .16); color: #ffc673; }

.ds-tag-modality {
  background: rgba(22, 119, 255, .1);
  color: var(--blue);
}

.ds-tag-task {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .72);
}

.ds-tag-access {
  background: rgba(95, 230, 160, .12);
  color: #5fe6a0;
}

.ds-tag-access.apply {
  background: rgba(255, 196, 115, .12);
  color: #ffc673;
}

.ds-tag-access.unknown {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .45);
}

.entry-chevron {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  transition: transform .3s var(--ease);
}

.entry-card.open .entry-chevron {
  transform: rotate(180deg);
  color: var(--cyan);
}

.entry-body {
  display: none;
  border-top: 1px solid rgba(100, 181, 255, .12);
  padding: 24px 24px 28px;
}

.entry-card.open .entry-body {
  display: block;
}

.entry-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 24px;
  padding: 16px 18px;
  background: rgba(7, 29, 66, .35);
  border: 1px solid rgba(100, 181, 255, .12);
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}

.entry-meta-item {
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, .75);
  line-height: 1.55;
  word-break: break-all;
}

.entry-meta-item b {
  display: block;
  font-size: var(--font-caption);
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 3px;
  text-transform: uppercase;
}

.entry-meta-item a {
  color: var(--cyan);
  word-break: break-all;
}

.entry-meta-item a:hover {
  text-decoration: underline;
}

.entry-section {
  margin-bottom: 20px;
}

.entry-section:last-child {
  margin-bottom: 0;
}

.entry-section-label {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-caption);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .04em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.entry-section-label::before {
  content: '';
  width: 3px;
  height: 12px;
  background: var(--cyan);
  border-radius: 2px;
}

.entry-section-content {
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, .72);
  line-height: 1.75;
}

.entry-section-content p {
  margin-bottom: 6px;
}

.entry-section-content ul {
  margin: 6px 0 10px;
  padding-left: 4px;
}

.entry-section-content li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.entry-section-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(115, 196, 255, .5);
}

.entry-section-content strong {
  color: rgba(255, 255, 255, .9);
}

.entry-section-content code {
  background: rgba(115, 196, 255, .12);
  color: var(--cyan);
}

.no-results {
  padding: 48px 20px;
  text-align: center;
  color: rgba(255, 255, 255, .4);
  font-size: var(--font-body);
}

.dataset-page-light .empathy-pie-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.dataset-page-light .empathy-pie {
  box-shadow: 0 10px 24px rgba(11, 31, 58, .12);
}

.dataset-page-light .empathy-pie::after {
  background: var(--white);
  border: 1px solid var(--line);
}

.dataset-page-light .pie-total {
  color: var(--ink);
}

.dataset-page-light .pie-item {
  color: var(--muted);
}

.dataset-page-light .pie-item b {
  color: var(--ink);
}

.dataset-page-light .cat-stat {
  background: var(--white);
  border: 1px solid var(--line);
}

.dataset-page-light .cat-stat:hover,
.dataset-page-light .cat-stat.active {
  background: #f8fbff;
  border-color: var(--blue);
}

.dataset-page-light .cat-stat-name {
  color: var(--ink);
}

.dataset-page-light .cat-stat-sub {
  color: var(--muted);
}

.dataset-page-light .browser-panel {
  background: var(--white);
  border: 1px solid var(--line);
}

.dataset-page-light .browser-toolbar,
.dataset-page-light .subtask-chips,
.dataset-page-light .entry-body {
  border-color: var(--line);
}

.dataset-page-light .search-box {
  background: #f8fbff;
  border: 1px solid var(--line);
}

.dataset-page-light .search-box svg circle,
.dataset-page-light .search-box svg path {
  stroke: var(--muted);
}

.dataset-page-light .search-input {
  color: var(--ink);
}

.dataset-page-light .search-input::placeholder {
  color: #8aa0b8;
}

.dataset-page-light .subtask-chip {
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
}

.dataset-page-light .subtask-chip:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.dataset-page-light .subtask-chip.active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.dataset-page-light .result-count {
  color: var(--blue);
}

.dataset-page-light .entry-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.dataset-page-light .entry-card.open {
  background: #f8fbff;
  border-color: var(--blue);
}

.dataset-page-light .ds-tag-modality {
  background: rgba(22, 119, 255, .08);
  color: var(--blue);
}

.dataset-page-light .entry-name {
  color: var(--ink);
}

.dataset-page-light .entry-summary {
  color: #54708e;
}

.dataset-page-light .ds-tag-task {
  background: #eef4ff;
  color: #3769ac;
}

.dataset-page-light .entry-sub {
  color: var(--muted);
}

.dataset-page-light .entry-sub b {
  color: #345476;
}

.dataset-page-light .entry-chevron {
  color: var(--muted);
}

.dataset-page-light .entry-card.open .entry-chevron {
  color: var(--blue);
}

.dataset-page-light .entry-meta-grid {
  background: #f8fbff;
  border: 1px solid var(--line);
}

.dataset-page-light .entry-meta-item,
.dataset-page-light .entry-section-content {
  color: #304a66;
}

.dataset-page-light .entry-meta-item b {
  color: #6d849d;
}

.dataset-page-light .entry-section-label {
  color: var(--blue);
}

.dataset-page-light .entry-section-label::before {
  background: var(--blue);
}

.dataset-page-light .entry-section-content strong {
  color: var(--ink);
}

.dataset-page-light .entry-section-content code {
  background: rgba(22, 119, 255, .08);
  color: var(--blue);
}

.dataset-page-light .no-results {
  color: var(--muted);
}

/* 首页数据集预览示例列表 */
.preview-entries {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.preview-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(100, 181, 255, .15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.preview-entry:hover {
  border-color: var(--cyan);
  transform: translateX(6px);
}

.preview-entry-name {
  font-weight: 600;
  color: var(--white);
  font-size: var(--font-body);
}

.preview-entry-meta {
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, .5);
  margin-left: auto;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

/* ---------- 10. Owned Dataset Page ---------- */
.owned-hero-bg {
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(22, 119, 255, .1), transparent),
    radial-gradient(ellipse 50% 35% at 80% 70%, rgba(112, 92, 255, .08), transparent),
    var(--paper);
}

.owned-card {
  background: linear-gradient(145deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.owned-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(22, 119, 255, .1), transparent 70%);
  pointer-events: none;
}

.owned-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue);
  background: rgba(22, 119, 255, .08);
  padding: 6px 14px;
  border-radius: 20px;
}

.owned-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 20px 0 8px;
  position: relative;
  z-index: 2;
}

.owned-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-body);
  color: var(--muted);
  margin-bottom: 24px;
}

.owned-desc {
  font-size: var(--font-body);
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.owned-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.owned-stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-display);
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}

.owned-stat-label {
  font-size: var(--font-caption);
  color: var(--muted);
  margin-top: 6px;
}

.waveform {
  margin-top: 48px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 64px;
  position: relative;
  z-index: 2;
}

.waveform span {
  flex: 1;
  background: linear-gradient(to top, var(--blue), var(--blue-light));
  border-radius: 2px;
  opacity: .5;
  min-height: 6px;
}

/* ---------- 11. Leaderboard ---------- */
.leaderboard-section {
  background: var(--white);
}

.lb-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.lb-current-intro {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.lb-current-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-title);
  font-weight: 600;
  color: var(--ink);
}

.lb-current-note {
  font-size: var(--font-body);
  line-height: 1.75;
  color: var(--muted);
  max-width: 920px;
}

.lb-tab {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-body);
  font-weight: 500;
  color: var(--muted);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  transition: all .25s var(--ease);
}

.lb-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.lb-tab.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.lb-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  color: var(--muted);
  margin-bottom: 24px;
  padding: 8px 16px;
  background: rgba(22, 119, 255, .04);
  border-radius: var(--radius-sm);
}

.lb-version::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fe6a0;
}

.lb-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
}

.lb-table {
  --lb-sticky-rank-width: 66px;
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.lb-table th {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 16px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.lb-table th:first-child,
.lb-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: var(--lb-sticky-rank-width);
  min-width: var(--lb-sticky-rank-width);
  max-width: var(--lb-sticky-rank-width);
  box-sizing: border-box;
  background: inherit;
}

.lb-table th:nth-child(2),
.lb-table td:nth-child(2) {
  position: sticky;
  left: var(--lb-sticky-rank-width);
  z-index: 1;
  background: inherit;
}

.lb-table th:first-child,
.lb-table th:nth-child(2) {
  z-index: 2;
}

/* 固定表头必须保持不透明，避免横向滚动时后方列文字透出。 */
.lb-table thead th:first-child,
.lb-table thead th:nth-child(2) {
  background: #f4f8ff;
}

.lb-table th:nth-child(2),
.lb-table td:nth-child(2) {
  box-shadow: 1px 0 0 var(--line);
}

.lb-table tbody td:first-child,
.lb-table tbody td:nth-child(2) {
  background: #ffffff;
}

.lb-table tbody tr:hover td:first-child,
.lb-table tbody tr:hover td:nth-child(2) {
  background: #fafdff;
}

.lb-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: var(--font-body);
  color: var(--ink);
}

.lb-table tbody tr:last-child td {
  border-bottom: none;
}

.lb-table tbody tr {
  transition: background .2s var(--ease);
}

.lb-table tbody tr:hover {
  background: rgba(22, 119, 255, .03);
}

.lb-rank {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-title);
  font-weight: 600;
  width: 56px;
}

.lb-rank-1 { color: #1677ff; }
.lb-rank-2 { color: #64b5ff; }
.lb-rank-3 { color: #73c4ff; }

.lb-model {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: var(--font-body);
  color: var(--ink);
}

.lb-vendor {
  font-size: var(--font-caption);
  color: var(--muted);
}

.lb-score {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-title);
  font-weight: 600;
  color: var(--blue);
}

.lb-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-body);
  font-weight: 600;
  color: var(--ink);
}

.lb-progress {
  width: 110px;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}

.lb-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 3px;
  transition: width .6s var(--ease);
}

.lb-track-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(112, 92, 255, .1);
  color: var(--purple);
  white-space: nowrap;
}

.lb-date {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-caption);
  color: var(--muted);
  white-space: nowrap;
}

.lb-demo-note {
  font-size: var(--font-caption);
  color: var(--muted);
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(22, 119, 255, .03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  line-height: 1.7;
}

/* 赛道说明卡 */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.track-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.track-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.track-card-name {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--font-body);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.track-card-models {
  font-size: var(--font-caption);
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 12. CTA Section ---------- */
.cta-section {
  background: linear-gradient(145deg, #061936, #082652);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 181, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 181, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
  pointer-events: none;
}

.cta-section .section-shell {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: var(--font-display);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: var(--font-body);
  color: rgba(255, 255, 255, .6);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-right {
    order: 2;
    min-height: 400px;
  }

  .hero-left {
    order: 1;
  }

  .cat-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .track-grid {
    grid-template-columns: 1fr;
  }

  .owned-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .entry-head {
    flex-wrap: wrap;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .empathy-pie-card {
    width: 100%;
    justify-content: flex-start;
  }

  .entry-tags {
    width: 100%;
    padding-left: 50px;
  }

  .composite-score-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics .metrics-bar {
    gap: 28px 56px;
  }

  .mei-layout {
    gap: 28px;
    align-items: start;
  }

  .radar-wrap {
    width: 100%;
    max-width: 100%;
    padding: 24px 18px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 520px;
  }

  .hero-right {
    min-height: 340px;
  }

  .cat-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cat-stat {
    padding: 16px;
  }

  .empathy-pie-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
  }

  .pie-wrap {
    width: 104px;
    height: 104px;
  }

  .pie-legend {
    width: 100%;
  }

  .cat-stat-count {
    font-size: var(--font-title);
  }

  .owned-card {
    padding: 28px 24px;
  }

  .owned-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .owned-stat-num {
    font-size: var(--font-title);
  }

  .browser-toolbar {
    padding: 14px 16px;
  }

  .cap-cognitive {
    right: 0;
    top: 50%;
    max-width: none;
  }

  .cap-concern {
    left: 0;
    top: 50%;
    max-width: none;
  }

  .cap-affective {
    top: 2%;
  }

  .cap-safety {
    bottom: 1%;
  }

  .cap-label {
    font-size: var(--font-body);
  }

  .cap-label .cap-zh {
    font-size: var(--font-title);
  }

  .radar-tabs {
    justify-content: flex-start;
  }

  .radar-tab {
    font-size: var(--font-caption);
    padding: 5px 10px;
  }

  .composite-score-grid {
    grid-template-columns: 1fr;
  }

  .subtask-chips,
  .entry-list {
    padding-left: 16px;
    padding-right: 16px;
  }

  .entry-tags {
    padding-left: 0;
  }
}

/* ---------- Wide desktop scale ---------- */
@media (min-width: 1600px) {
  body:not(.dataset-view) .hero {
    min-height: 800px;
  }

  body:not(.dataset-view) .hero > .section-shell {
    padding-top: 96px !important;
    padding-bottom: 96px !important;
  }

  body:not(.dataset-view) .hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(600px, 1.05fr);
    gap: 120px;
  }

  body:not(.dataset-view) .hero-left {
    gap: 32px;
  }

  body:not(.dataset-view) .hero-desc {
    max-width: 650px;
  }

  body:not(.dataset-view) .hero-right {
    min-height: 640px;
  }

  body:not(.dataset-view) .brain-stage {
    max-width: 600px;
  }

  body:not(.dataset-view) .hero-metrics .section-shell {
    padding-top: 44px;
    padding-bottom: 28px;
  }

  body:not(.dataset-view) .hero-metrics .metrics-bar {
    justify-content: space-between;
    gap: 64px;
  }

  .owned-card {
    min-height: 600px;
    padding: 64px;
  }

  .owned-desc {
    max-width: 800px;
  }

  .waveform {
    height: 80px;
    margin-top: 64px;
  }

  body.owned-hero-bg > .subpage-hero + .section-space-sm,
  .subpage-hero + .leaderboard-section {
    padding-top: 56px !important;
    padding-bottom: 104px;
  }

  .lb-tabs {
    gap: 12px;
    margin-bottom: 40px;
  }

  .lb-current-note {
    max-width: 1100px;
  }

  .lb-table {
    min-width: 1200px;
  }

  .lb-table th,
  .lb-table td {
    padding: 20px 28px;
  }
}

@media (max-width: 900px) {
  .dataset-toolbar {
    align-items: stretch;
  }

  .dataset-toolbar .search-box {
    flex-basis: 100%;
  }

  .dataset-filter {
    flex: 1 1 150px;
  }

  .entry-tags {
    flex: 1 1 100%;
    max-width: none;
    padding-left: 66px;
    justify-content: flex-start;
  }

  .entry-summary {
    -webkit-line-clamp: 2;
  }
}
