:root {
  --ink: #081421;
  --muted: #53677d;
  --line: rgba(148, 163, 184, .24);
  --teal: #13b6a1;
  --teal-2: #7df2de;
  --blue: #5b8cff;
  --violet: #a99bf7;
  --navy: #07182d;
  --navy-2: #10263d;
  --paper: #f7fbff;
  --radius: 8px;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #07182d;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 60px);
  background: linear-gradient(180deg, rgba(10, 28, 48, .94), rgba(7, 24, 45, .88));
  border-bottom: 1px solid rgba(125, 242, 222, .14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #f0f7ff;
  white-space: nowrap;
}

.brand:hover {
  color: #ffffff;
}

.brand-logo-site {
  width: 42px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(125, 242, 222, .25));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}

.lang-btn-site {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  font-size: .82rem;
  color: rgba(232, 244, 255, .82);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.lang-btn-site:hover {
  color: #e8fff9;
  background: rgba(125, 242, 222, .12);
}

.lang-btn-site.active {
  color: #031d22;
  background: linear-gradient(135deg, #7df2de, #14b8a6);
  box-shadow: 0 4px 16px rgba(20, 184, 166, .28);
}

.lang-btn-site.active:hover {
  filter: brightness(1.05);
  color: #031d22;
}

.site-nav a,
.nav-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: var(--radius);
  color: rgba(232, 244, 255, .88);
  font-weight: 700;
  font-size: .92rem;
}

.site-nav a:hover {
  color: #e8fff9;
  background: rgba(125, 242, 222, .1);
}

.nav-action {
  color: #031d22;
  background: linear-gradient(135deg, #7df2de, #14b8a6);
  box-shadow: 0 8px 22px rgba(20, 184, 166, .28);
  white-space: nowrap;
}

.nav-action:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 26px rgba(20, 184, 166, .36);
}

main { min-height: 100vh; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1fr);
  gap: clamp(36px, 5vw, 92px);
  align-items: center;
  padding: calc(72px + clamp(42px, 5vw, 76px)) clamp(22px, 5vw, 78px) clamp(36px, 5vw, 70px);
  overflow: hidden;
  color: #f8fbff;
  background:
    radial-gradient(circle at 82% 26%, rgba(20, 184, 166, .24), transparent 30%),
    radial-gradient(circle at 58% 76%, rgba(91, 140, 255, .18), transparent 34%),
    linear-gradient(125deg, #07182d 0%, #0d2238 48%, #122f48 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.9), rgba(0,0,0,.3));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 44vw;
  height: 44vw;
  min-width: 520px;
  min-height: 520px;
  right: -12vw;
  top: 12vh;
  border: 1px solid rgba(125, 242, 222, .13);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(125, 242, 222, .05);
  pointer-events: none;
}

.hero-copy,
.bio-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  letter-spacing: 0;
  word-spacing: 0.04em;
}

.hero-copy .hero-lede {
  letter-spacing: 0.03em;
  word-spacing: 0.02em;
}

.hero-copy .hero-text {
  letter-spacing: 0.022em;
  word-spacing: 0.015em;
}

.hero-actions .button {
  letter-spacing: 0.06em;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.98;
  font-weight: 850;
  text-wrap: balance;
}

html[lang="zh-CN"] .hero-copy h1 {
  max-width: 720px;
  white-space: pre-line;
  font-size: 5.85rem;
  line-height: .98;
  letter-spacing: 0;
  word-spacing: 0;
}

@media (max-width: 1280px) {
  html[lang="zh-CN"] .hero-copy h1 {
    font-size: 4.9rem;
  }
}

@media (max-width: 760px) {
  html[lang="zh-CN"] .hero-copy h1 {
    font-size: 3.35rem;
    line-height: 1;
  }
}

.hero-lede {
  margin: 16px 0 0;
  max-width: 780px;
  color: #edf7ff;
  font-size: clamp(1.25rem, 1.65vw, 1.72rem);
  line-height: 1.55;
  font-weight: 560;
}

.hero-text {
  margin: 12px 0 0;
  max-width: 760px;
  color: #b9ccdf;
  font-size: clamp(.98rem, 1.05vw, 1.08rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #031d22;
  background: linear-gradient(135deg, #7df2de, #14b8a6);
  box-shadow: 0 16px 32px rgba(20, 184, 166, .24);
}

.button.primary:hover {
  box-shadow: 0 18px 38px rgba(20, 184, 166, .32);
}

.button.secondary {
  color: #0b1625;
  background: #ffffff;
  border-color: #ffffff;
}

.button.secondary:hover {
  color: #065f57;
}

.button.ghost {
  color: #eff7ff;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .22);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(125, 242, 222, .42);
}

/* Hero：仅主 CTA 用实心渐变，其余外链统一为深色描边按钮 */
.hero-actions > .button:not(.primary) {
  color: #e8fff9;
  background: rgba(10, 32, 52, .78);
  border: 1px solid rgba(125, 242, 222, .34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 8px 22px rgba(0, 0, 0, .22);
}

.hero-actions > .button:not(.primary):hover {
  color: #ffffff;
  background: rgba(125, 242, 222, .14);
  border-color: rgba(125, 242, 222, .52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 10px 28px rgba(20, 184, 166, .18);
}

.hero-cta-universe {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-cta-universe.is-disabled {
  cursor: default;
  opacity: .74;
  transform: none;
}

.hero-actions > .hero-cta-universe.is-disabled:hover {
  color: #e8fff9;
  background: rgba(10, 32, 52, .78);
  border-color: rgba(125, 242, 222, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 8px 22px rgba(0, 0, 0, .22);
  transform: none;
}

.hero-cta-universe-dev {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 200, 120, .45);
  background: rgba(255, 150, 60, .12);
  color: #ffd8a8;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: none;
}

.bio-panel {
  min-height: min(720px, calc(100vh - 160px));
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(210, 229, 242, .22);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045)),
    rgba(11, 31, 52, .72);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  overflow: hidden;
}

.panel-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 48%, black, transparent 75%);
  pointer-events: none;
}

.panel-head {
  position: relative;
  z-index: 1;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #a9bfce;
  background: rgba(8, 20, 33, .28);
  font-size: .84rem;
  font-weight: 680;
}

.panel-head strong {
  margin-left: auto;
  color: #eff9ff;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7df2de;
  box-shadow: 0 0 0 6px rgba(125, 242, 222, .1);
}

.input-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
}

.engine-node {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: min(330px, 50vw);
  aspect-ratio: 1;
  display: grid;
  grid-template-rows: auto auto auto;
  place-content: center;
  place-items: center;
  gap: 6px;
  padding: 8px 12px;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(125,242,222,.2), rgba(91,140,255,.08) 45%, transparent 70%);
}

.engine-node::before,
.engine-node::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 72px;
  translate: -50% 0;
  background: linear-gradient(180deg, transparent, rgba(125,242,222,.9), transparent);
}

.engine-node::before { top: -62px; }
.engine-node::after { bottom: -62px; }

.engine-ring,
.engine-ring.ring-two {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(125, 242, 222, .28);
  border-radius: 50%;
  animation: enginePulse 3.5s ease-in-out infinite;
}

.engine-ring.ring-two {
  inset: 4%;
  border-color: rgba(139, 161, 255, .18);
  animation-delay: .85s;
}

.engine-node span,
.engine-node small,
.engine-node-logo {
  position: relative;
  z-index: 1;
  display: block;
}

.engine-node span {
  color: #ffffff;
  font-size: clamp(1.22rem, 1.5vw, 1.45rem);
  font-weight: 860;
}

.engine-node-logo {
  width: min(118px, 26vw);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}

.engine-node small {
  margin-top: 0;
  color: #9fecdf;
  font-size: .88rem;
}

.record-shelf {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.record-row {
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 16px;
  border: 1px solid rgba(125, 242, 222, .24);
  border-radius: 12px;
  background: rgba(8, 20, 33, .32);
}

.record-row span {
  color: #7df2de;
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.record-row strong {
  color: #ffffff;
  font-size: 1.08rem;
}

.record-row small {
  color: #9db2c3;
}

.record-row-with-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(76px, 42%);
  align-items: center;
  gap: 0 12px;
  min-height: 0;
}

.record-row-with-demo .record-row-body {
  display: grid;
  gap: 4px;
  align-content: center;
  min-width: 0;
}

.record-row-with-demo .record-demo-img {
  width: auto;
  max-width: 100%;
  max-height: 102px;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
  justify-self: center;
  align-self: center;
}

@keyframes enginePulse {
  0%, 100% { transform: scale(.9); opacity: .32; }
  50% { transform: scale(1.08); opacity: .82; }
}

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

  .bio-panel {
    min-height: 660px;
  }
}

@media (max-width: 760px) {
  body { font-size: 15px; }

  .site-header {
    min-height: 66px;
    padding: 10px 16px;
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .brand-logo-site {
    width: 38px;
    height: 34px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a,
  .nav-action {
    min-height: 36px;
    padding: 0 10px;
    font-size: .84rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 104px 18px 30px;
    gap: 30px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-actions .button {
    flex: 1 1 140px;
  }

  .bio-panel {
    min-height: auto;
    gap: 14px;
    padding: 14px;
  }

  .input-orbit,
  .record-shelf {
    grid-template-columns: 1fr;
  }

  .engine-node {
    width: min(260px, 74vw);
  }

  .engine-node::before,
  .engine-node::after {
    height: 36px;
  }

  .engine-node::before { top: -30px; }
  .engine-node::after { bottom: -30px; }
}

.doc-card {
  min-height: 138px;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.045)),
    rgba(255, 255, 255, .055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 16px 38px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.doc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(125, 242, 222, .22), transparent 34%),
    linear-gradient(90deg, transparent, rgba(125, 242, 222, .16), transparent);
  opacity: .5;
  pointer-events: none;
}

.doc-title,
.paper-mini,
.patent-mini,
.mini-table,
.figure-mini,
.doc-chip {
  position: relative;
  z-index: 1;
}

.doc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.doc-title span {
  color: #e9f4fb;
  font-weight: 840;
}

.doc-title small {
  padding: 2px 6px;
  border: 1px solid rgba(125, 242, 222, .22);
  border-radius: 999px;
  color: rgba(177, 238, 230, .86);
  background: rgba(125, 242, 222, .08);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.paper-mini,
.patent-mini,
.mini-table {
  min-height: 62px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(8, 20, 33, .25), rgba(8, 20, 33, .08));
}

.paper-mini,
.patent-mini {
  display: grid;
  align-content: center;
  gap: 6px;
}

.paper-mini i,
.patent-mini i {
  height: 5px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(223, 239, 250, .5), rgba(223, 239, 250, .18));
}

.paper-mini .w-86,
.patent-mini .w-86 { width: 86%; }

.paper-mini .w-78,
.patent-mini .w-78 { width: 78%; }

.paper-mini .w-72,
.patent-mini .w-72 { width: 72%; }

.paper-mini .w-64,
.patent-mini .w-64 { width: 64%; }

.paper-mini .w-58,
.patent-mini .w-58 { width: 58%; }

.paper-mini mark,
.patent-mini mark {
  justify-self: start;
  width: fit-content;
  padding: 2px 7px;
  border: 1px solid rgba(125, 242, 222, .28);
  border-radius: 999px;
  color: #cffff6;
  background: rgba(19, 182, 161, .16);
  font-size: .66rem;
  font-weight: 800;
}

.patent-mini strong {
  color: rgba(238, 249, 255, .82);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.mini-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  align-content: center;
}

.mini-table b,
.mini-table span {
  min-width: 0;
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  border-radius: 4px;
  overflow: hidden;
  color: rgba(238, 249, 255, .9);
  font-size: .62rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-table b {
  color: #dffff8;
  background: rgba(125, 242, 222, .26);
  font-weight: 850;
}

.mini-table span {
  color: rgba(226, 241, 255, .86);
  background: rgba(139, 161, 255, .16);
}

.figure-mini {
  width: 100%;
  min-height: 62px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(8, 20, 33, .25), rgba(8, 20, 33, .08));
  overflow: visible;
}

.figure-mini .mol-line {
  fill: none;
  stroke: rgba(125, 242, 222, .72);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.figure-mini .mol-dot {
  fill: rgba(125, 242, 222, .95);
  filter: drop-shadow(0 0 8px rgba(125, 242, 222, .45));
}

.figure-mini .axis {
  fill: none;
  stroke: rgba(223, 239, 250, .24);
  stroke-width: 2;
  stroke-linecap: round;
}

.figure-mini .curve {
  fill: none;
  stroke: rgba(139, 161, 255, .82);
  stroke-width: 3;
  stroke-linecap: round;
}

.figure-mini .curve-dot {
  fill: rgba(139, 161, 255, .95);
  filter: drop-shadow(0 0 8px rgba(139, 161, 255, .45));
}

.doc-chip {
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid rgba(125, 242, 222, .18);
  border-radius: 999px;
  color: rgba(188, 238, 231, .88);
  background: rgba(8, 20, 33, .26);
  font-size: .66rem;
  font-weight: 760;
  white-space: nowrap;
}
@media (max-width: 1320px) {
  .input-orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .doc-card {
    min-height: 128px;
  }

  .input-orbit {
    grid-template-columns: 1fr;
  }
}

/* BioUniverse */
.universe-page {
  min-height: 100vh;
  color: #0b1724;
  background:
    linear-gradient(180deg, #edf7fb 0%, #f8fbff 44%, #eef4f8 100%);
}

.universe-header {
  background: rgba(8, 24, 43, .94);
}

.universe-main {
  width: min(1500px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0 42px;
}

.universe-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 18px 0 26px;
}

.universe-kicker {
  margin: 0 0 8px;
  color: #0f766e;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.universe-top h1 {
  max-width: 920px;
  color: #07182d;
  font-size: clamp(2.4rem, 5vw, 5.7rem);
  line-height: .96;
}

.universe-lede {
  max-width: 820px;
  margin: 18px 0 0;
  color: #4d6175;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.universe-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 10px;
}

.universe-stats div {
  min-width: 112px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 24px rgba(8, 24, 43, .06);
}

.universe-stats strong {
  display: block;
  color: #0f766e;
  font-size: 1.7rem;
  line-height: 1;
}

.universe-stats span {
  display: block;
  margin-top: 6px;
  color: #607286;
  font-size: .82rem;
  font-weight: 760;
}

.universe-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, .7fr)) minmax(260px, 1.3fr) repeat(3, minmax(140px, .7fr)) auto auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid #d9e5ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 34px rgba(8, 24, 43, .08);
}

.universe-toolbar label {
  display: grid;
  gap: 5px;
  color: #52667a;
  font-size: .78rem;
  font-weight: 800;
}

.universe-toolbar input,
.universe-toolbar select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cfdae5;
  border-radius: 8px;
  color: #102033;
  background: #ffffff;
  font: inherit;
}

.universe-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #0f766e;
  border-radius: 8px;
  color: #ffffff;
  background: #0f766e;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.universe-button.secondary {
  color: #0f766e;
  background: #ffffff;
}

.universe-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #c9dce8;
  border-radius: 8px;
  color: #43566a;
  background: #ffffff;
}

.universe-notice.hidden {
  display: none;
}

.universe-notice.warn {
  border-color: #e7c76f;
  color: #74530b;
  background: #fff7df;
}

.universe-notice.error {
  border-color: #f1a7a7;
  color: #8a2424;
  background: #fff0f0;
}

.universe-datasets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.universe-datasets.hidden {
  display: none;
}

.universe-dataset-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d9e5ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 26px rgba(8, 24, 43, .06);
  cursor: pointer;
}

.universe-dataset-card.active {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, .14), 0 10px 26px rgba(8, 24, 43, .06);
}

.universe-dataset-card strong {
  display: block;
  color: #07182d;
  font-size: 1.08rem;
}

.universe-dataset-card span {
  display: block;
  margin-top: 3px;
  color: #607286;
  font-size: .82rem;
  font-weight: 780;
}

.universe-dataset-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 10px;
  margin: 0;
}

.universe-dataset-card dt {
  color: #6b7f92;
  font-size: .75rem;
  font-weight: 850;
}

.universe-dataset-card dd {
  margin: 0;
  color: #13263a;
  font-size: .82rem;
  font-weight: 760;
}

.universe-dataset-card a {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #0f766e;
  background: #e5faf6;
  font-size: .82rem;
  font-weight: 850;
}

.universe-view-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 12px;
  padding: 4px;
  border: 1px solid #d9e5ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 10px 26px rgba(8, 24, 43, .06);
}

.universe-view-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: #52667a;
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.universe-view-tab:hover {
  color: #0f766e;
  background: #eefbf8;
}

.universe-view-tab.active {
  color: #ffffff;
  background: #0f766e;
}

.universe-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.universe-table-wrap {
  min-height: 560px;
  max-height: calc(100vh - 290px);
  overflow: auto;
  border: 1px solid #d9e5ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 24, 43, .08);
}

.universe-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.universe-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px;
  color: #52667a;
  background: #f5f9fc;
  border-bottom: 1px solid #d9e5ee;
  text-align: left;
  font-size: .76rem;
  text-transform: uppercase;
}

.universe-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf2f6;
  color: #13263a;
  vertical-align: top;
}

.universe-table td.universe-empty-row {
  height: 220px;
  color: #6b7f92;
  text-align: center;
  vertical-align: middle;
}

.universe-table tbody tr {
  cursor: pointer;
}

.universe-table tbody tr:hover,
.universe-table tbody tr.selected {
  background: #eefbf8;
}

.universe-ligand-cell {
  max-width: 280px;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #0d514b;
  background: #dff7f2;
  font-size: .72rem;
  font-weight: 850;
  white-space: nowrap;
}

.source-image {
  color: #24518f;
  background: #e2edff;
}

.source-given_structure {
  color: #6d3e0a;
  background: #fff0d5;
}

.source-text {
  color: #0f5d34;
  background: #e1f7e9;
}

.source-ejmc {
  color: #0d514b;
  background: #dff7f2;
}

.source-nlrp3 {
  color: #27437c;
  background: #e3ebff;
}

.source-posebuster {
  color: #6d3e0a;
  background: #fff0d5;
}

.universe-detail {
  min-height: 560px;
  max-height: calc(100vh - 290px);
  overflow: auto;
  padding: 16px;
  border: 1px solid #d9e5ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 24, 43, .08);
}

.universe-detail-empty {
  display: grid;
  place-content: center;
  min-height: 420px;
  color: #6a7c8e;
  text-align: center;
}

.universe-detail-empty strong {
  color: #17304a;
  font-size: 1.1rem;
}

.universe-detail-head {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.universe-detail-head strong {
  color: #07182d;
  font-size: 1.2rem;
  line-height: 1.25;
}

.universe-mol,
.universe-mol-empty {
  width: 100%;
  min-height: 210px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e9f0;
  border-radius: 8px;
  background: #f9fcfe;
}

.universe-detail-list,
.universe-raw dl {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px 10px;
  margin: 16px 0 0;
}

.universe-detail-list dt,
.universe-raw dt {
  color: #6b7f92;
  font-size: .78rem;
  font-weight: 850;
}

.universe-detail-list dd,
.universe-raw dd {
  min-width: 0;
  margin: 0;
  color: #13263a;
  overflow-wrap: anywhere;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
}

.universe-raw {
  margin-top: 16px;
  color: #263a4f;
}

.universe-raw summary {
  cursor: pointer;
  font-weight: 850;
}

.universe-open-task {
  min-height: 40px;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: #ffffff;
  background: #0f766e;
  font-weight: 850;
}

.universe-target-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  padding: 14px;
  border: 1px solid #e1e9f0;
  border-radius: 8px;
  background: #f8fcfb;
}

.universe-target-hero strong {
  color: #0f766e;
  font-size: 2rem;
  line-height: 1;
}

.universe-target-hero span {
  color: #6b7f92;
  font-weight: 800;
}

.universe-related {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e4edf3;
}

.universe-related h2 {
  margin: 0 0 10px;
  color: #17304a;
  font-size: .95rem;
}

.universe-related ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.universe-related li {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid #edf2f6;
  border-radius: 8px;
  background: #fbfdff;
}

.universe-related li strong {
  color: #07182d;
  font-size: .9rem;
}

.universe-related li span,
.universe-related li small {
  color: #5d7084;
}

.universe-related li small {
  font-size: .76rem;
}

@media (max-width: 1120px) {
  .universe-top,
  .universe-workspace {
    grid-template-columns: 1fr;
  }

  .universe-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .universe-datasets {
    grid-template-columns: 1fr;
  }

  .universe-view-tabs {
    display: flex;
  }

  .universe-view-tab {
    flex: 1;
  }

  .universe-stats {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .universe-main {
    width: min(100% - 24px, 1500px);
    padding-top: 96px;
  }

  .universe-toolbar,
  .universe-stats {
    grid-template-columns: 1fr;
  }

  .universe-table-wrap,
  .universe-detail {
    max-height: none;
  }
}
