/* ==========================================================================
   SguanFOC 官网 v1.0 — 页面级样式
   ========================================================================== */

/* ==========================================================================
   首页 Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 158px 0 88px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(244, 246, 251, 0.82));
  pointer-events: none;
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-kicker .hk-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.hero-kicker .hk-dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5ef0bd;
  box-shadow: 0 0 8px #5ef0bd;
}

.hero-kicker.is-dev .hk-dot::before {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(232, 154, 22, 0.8);
}

.hero-title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 6.35vw, 6.7rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.hero-title .line {
  display: block;
}

.hero-title .line-accent {
  position: relative;
  display: inline-block;
  padding-right: 0.04em;
}

.hero-title .line-accent::after {
  content: "";
  position: absolute;
  right: 0.04em;
  bottom: 0.03em;
  left: 0.02em;
  z-index: -1;
  height: 0.11em;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(31, 107, 255, 0.18), rgba(22, 197, 216, 0.25));
  transform: skewX(-16deg);
  transform-origin: left;
}

.hero-lede {
  max-width: 540px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.95;
}

.hero-lede strong {
  color: var(--ink-soft);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.hero-version-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.74rem;
  transition: color 0.25s, gap 0.25s;
}

.hero-version-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

.hero-version-link:hover {
  color: var(--blue);
  gap: 9px;
}

.hero-version-link:hover svg {
  transform: translate(2px, -2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-meta-item b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-meta-item b em {
  font-style: normal;
  color: var(--blue);
  font-size: 0.85rem;
}

.hero-meta-item span {
  color: var(--muted-2);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 84%;
  aspect-ratio: 1;
  border: 1px solid rgba(31, 107, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(31, 107, 255, 0.025), 0 0 0 58px rgba(31, 107, 255, 0.015);
  pointer-events: none;
}

.visual-orbit {
  position: absolute;
  width: 96%;
  aspect-ratio: 1;
  border: 1px dashed rgba(31, 107, 255, 0.16);
  border-radius: 50%;
  animation: orbit-spin 48s linear infinite;
  pointer-events: none;
}

.visual-orbit::before,
.visual-orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(31, 107, 255, 0.1), 0 0 18px rgba(31, 107, 255, 0.5);
}

.visual-orbit::before {
  top: 12%;
  left: 18%;
}

.visual-orbit::after {
  right: 8%;
  bottom: 26%;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(22, 197, 216, 0.1), 0 0 16px rgba(22, 197, 216, 0.5);
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.motor-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 585px);
  aspect-ratio: 1;
}

.motor-stage::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 44%, rgba(31, 107, 255, 0.2), transparent 64%);
  pointer-events: none;
}

.motor-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  overflow: visible;
}

.motor-ring {
  fill: none;
  stroke: rgba(18, 23, 34, 0.09);
  stroke-width: 1;
}

.motor-ring-dashed {
  fill: none;
  stroke: rgba(31, 107, 255, 0.2);
  stroke-width: 1;
  stroke-dasharray: 3 9;
}

.axis-line {
  stroke: rgba(18, 23, 34, 0.16);
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.axis-label {
  fill: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.stator use {
  fill: url(#coilGrad);
  stroke: rgba(31, 107, 255, 0.18);
  stroke-width: 1;
  animation: coil-pulse 4.8s ease-in-out infinite;
}

.stator use:nth-child(2n) {
  animation-delay: -1.2s;
}

.stator use:nth-child(3n) {
  animation-delay: -2.4s;
}

.stator use:nth-child(4n) {
  animation-delay: -3.2s;
}

@keyframes coil-pulse {
  0%, 100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

.rotor {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: rotor-spin 22s linear infinite;
}

.field-vector {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: field-spin 7s linear infinite;
}

@keyframes rotor-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes field-spin {
  to {
    transform: rotate(360deg);
  }
}

.motor-stage:hover .rotor {
  animation-play-state: paused;
}

.motor-stage:hover .field-vector {
  animation-play-state: paused;
}


/* 首屏离开视口后暂停装饰动画，避免继续占用合成资源 */
.hero.is-offscreen .rotor,
.hero.is-offscreen .field-vector,
.hero.is-offscreen .stator use,
.hero.is-offscreen .visual-orbit,
.hero.is-offscreen .float-chip,
.hero.is-offscreen .scope-live i,
.hero.is-offscreen .hero-scroll i {
  animation-play-state: paused;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  animation: float-chip 6s ease-in-out infinite;
}

.float-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(31, 107, 255, 0.7);
}

.float-chip.chip-a {
  top: 8%;
  right: 4%;
}

.float-chip.chip-b {
  top: 36%;
  left: -1%;
  animation-delay: -2s;
}

.float-chip.chip-b::before {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(22, 197, 216, 0.7);
}

.float-chip.chip-c {
  right: 0;
  bottom: 24%;
  animation-delay: -4s;
}

.float-chip.chip-c::before {
  background: var(--violet);
  box-shadow: 0 0 8px rgba(115, 87, 255, 0.7);
}

@keyframes float-chip {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.scope-card {
  position: absolute;
  bottom: 1%;
  left: -3%;
  z-index: 4;
  width: min(340px, 75%);
  padding: 13px 14px 11px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 24px 60px rgba(20, 30, 60, 0.16), inset 0 1px 0 #fff;
}

.scope-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.scope-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
}

.scope-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(14, 163, 122, 0.12);
  animation: live-blink 1.8s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.scope-svg {
  width: 100%;
  height: auto;
}

.scope-grid line {
  stroke: rgba(18, 23, 34, 0.08);
  stroke-width: 1;
}

.scope-foot {
  display: flex;
  gap: 13px;
  padding-top: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.scope-foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.scope-foot i {
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.scope-foot span:nth-child(1) { color: var(--blue); }
.scope-foot span:nth-child(2) { color: var(--cyan); }
.scope-foot span:nth-child(3) { color: var(--violet); }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

.hero-scroll::before {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent, var(--line-strong));
}

.hero-scroll i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  animation: scroll-dot 2.2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% {
    transform: translateY(-5px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

/* ==========================================================================
   首页能力卡片
   ========================================================================== */

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 308px;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(20, 30, 60, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.feature-card .feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(31, 107, 255, 0.14);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(31, 107, 255, 0.12), rgba(22, 197, 216, 0.06));
  color: var(--blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-index {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.feature-card p {
  max-width: 470px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.8;
}

.feature-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.feature-card .card-open {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  cursor: pointer;
}

.feature-card .card-open:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -4px;
}

.card-expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 650;
}

.card-expand-hint svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.feature-card:hover .card-expand-hint svg {
  transform: translate(2px, -2px);
}

.feature-card.accent-cyan .feature-icon {
  border-color: rgba(22, 197, 216, 0.16);
  background: linear-gradient(145deg, rgba(22, 197, 216, 0.14), rgba(31, 107, 255, 0.05));
  color: #0796a6;
}

.feature-card.accent-violet .feature-icon {
  border-color: rgba(115, 87, 255, 0.16);
  background: linear-gradient(145deg, rgba(115, 87, 255, 0.13), rgba(31, 107, 255, 0.05));
  color: var(--violet);
}

.feature-card.accent-amber .feature-icon {
  border-color: rgba(232, 154, 22, 0.18);
  background: linear-gradient(145deg, rgba(232, 154, 22, 0.13), rgba(31, 107, 255, 0.04));
  color: #b06c05;
}

.feature-glyph {
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 0;
  width: 138px;
  height: 138px;
  color: var(--blue);
  opacity: 0.07;
  pointer-events: none;
}

.feature-glyph svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   首页版本演进
   ========================================================================== */

.version-section {
  overflow: hidden;
}

.version-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  padding-top: 26px;
}

.version-track::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 2%;
  left: 2%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 107, 255, 0.34) 16%, rgba(31, 107, 255, 0.34) 84%, transparent);
}

.version-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.version-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 107, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.version-card::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 22px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--muted-2);
  box-shadow: 0 0 0 1px rgba(18, 23, 34, 0.12);
}

.version-card.is-current::before {
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(31, 107, 255, 0.3), 0 0 18px rgba(31, 107, 255, 0.45);
}

.version-card.is-future {
  border-style: dashed;
  border-color: rgba(31, 107, 255, 0.24);
  background: linear-gradient(150deg, rgba(31, 107, 255, 0.08), rgba(22, 197, 216, 0.04));
}

.version-card.is-future::before {
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(22, 197, 216, 0.3), 0 0 18px rgba(22, 197, 216, 0.4);
}

.version-tag {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.version-card h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.version-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.version-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.version-chips .chip {
  padding: 3px 7px;
  font-size: 0.62rem;
}

.version-flag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.version-card.is-future .version-flag {
  background: rgba(31, 107, 255, 0.12);
  color: var(--blue);
}

/* ==========================================================================
   首页 V4 状态机
   ========================================================================== */

.v4-section {
  padding-top: 82px;
}

.v4-intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 36px;
  align-items: center;
}

.v4-intro-copy .section-title {
  max-width: 470px;
}

.v4-intro-copy .section-lede {
  max-width: 470px;
}

.v4-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.v4-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.v4-intro-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.7rem;
}

.v4-intro-note i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 154, 22, 0.1);
}

.v4-diagram {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
}

.v4-diagram-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
}

.v4-diagram-dots {
  display: flex;
  gap: 4px;
}

.v4-diagram-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(18, 23, 34, 0.13);
}

.v4-diagram-dots i:first-child { background: #ff7b7b; }
.v4-diagram-dots i:nth-child(2) { background: #ffc45c; }
.v4-diagram-dots i:nth-child(3) { background: #58d68d; }

.v4-diagram-bar > span:nth-child(2) {
  color: var(--ink-soft);
}

.v4-diagram-badge {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid rgba(232, 154, 22, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 235, 0.75);
  color: #8a5b0d;
  font-size: 0.52rem;
  white-space: nowrap;
}

.v4-diagram-media {
  display: block;
  overflow: hidden;
  background: #f8fafc;
}

.v4-diagram-media img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease);
}

.v4-diagram-media:hover img {
  transform: scale(1.018);
}

.v4-diagram figcaption {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.69rem;
}

/* ==========================================================================
   首页精选工具
   ========================================================================== */

.featured-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.mini-tool-card {
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.52);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.mini-tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 107, 255, 0.22);
  box-shadow: var(--shadow-md);
}

.mini-tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-tool-visual {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(31, 107, 255, 0.13);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(31, 107, 255, 0.1), rgba(22, 197, 216, 0.05));
  color: var(--blue);
}

.mini-tool-visual svg {
  width: 27px;
  height: 27px;
}

.mini-tool-card h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mini-tool-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.mini-tool-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.mini-tool-foot svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}

.mini-tool-card:hover .mini-tool-foot svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   首页 CTA
   ========================================================================== */

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  overflow: hidden;
  padding: 52px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(232, 242, 255, 0.68));
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 107, 255, 0.24), transparent 65%);
  pointer-events: none;
}

.cta-panel::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 197, 216, 0.14), transparent 65%);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  max-width: 560px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.cta-copy p {
  max-width: 480px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.cta-code {
  position: relative;
  z-index: 1;
}

.cta-code .code-body {
  font-size: 0.72rem;
}

/* ==========================================================================
   通用页面头部
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 154px 0 58px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(244, 246, 251, 0.7));
  pointer-events: none;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.breadcrumb a {
  transition: color 0.25s;
}

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

.breadcrumb i {
  width: 12px;
  height: 1px;
  background: var(--line-strong);
}

.page-lede {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 50px;
  align-items: end;
}

.page-hero-aside {
  padding-bottom: 6px;
}

.page-hero-aside .stat-row {
  grid-template-columns: repeat(2, 1fr);
}

/* ==========================================================================
   库介绍页
   ========================================================================== */

.lib-hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 42px;
  align-items: end;
}

.lib-hero .page-title {
  max-width: 720px;
}

.lib-code {
  position: relative;
}

.lib-code .code-card {
  transform: rotate(-1deg);
  transition: transform 0.5s var(--ease);
}

.lib-code:hover .code-card {
  transform: rotate(0deg) translateY(-3px);
}

.lib-statement {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 42px;
  align-items: end;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lib-statement blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.lib-statement blockquote em {
  font-style: normal;
  color: var(--blue);
}

.lib-statement p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.9;
}

.observer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.observer-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.observer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.observer-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 40%, rgba(31, 107, 255, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.6);
}

.observer-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.observer-body {
  padding: 20px 22px 22px;
}

.observer-body h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.observer-body p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.75;
}

.observer-body .chip {
  margin-top: 12px;
}

.alg-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.alg-card {
  flex: 0 0 310px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.alg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.alg-media {
  display: grid;
  place-items: center;
  height: 174px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.alg-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.alg-body {
  padding: 15px 17px 17px;
}

.alg-body h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

.alg-body p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.65;
}

.alg-lightbox {
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: zoom-in;
}

.version-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lib-version-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.lib-version-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 107, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.lib-version-card.is-current {
  border-color: rgba(31, 107, 255, 0.26);
  background: linear-gradient(150deg, rgba(31, 107, 255, 0.08), rgba(255, 255, 255, 0.62));
}

.lib-version-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lib-version-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lib-version-head .chip {
  font-size: 0.6rem;
}

.lib-version-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.lib-version-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 15px;
}

.lib-version-features .chip {
  padding: 3px 8px;
  font-size: 0.63rem;
}

.note-strip {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px dashed rgba(232, 154, 22, 0.3);
  border-radius: 13px;
  background: rgba(255, 250, 235, 0.7);
  color: #8a5b0d;
  font-size: 0.78rem;
  line-height: 1.7;
}

.lib-release {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 8%, rgba(31, 107, 255, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(236, 245, 255, 0.64));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
}

.lib-release h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.lib-release p {
  max-width: 540px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

.version-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.version-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(31, 107, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
}

.version-mini b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.version-mini span {
  color: var(--muted);
  font-size: 0.68rem;
}

.version-mini.is-current {
  border-color: rgba(31, 107, 255, 0.28);
  background: rgba(31, 107, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(31, 107, 255, 0.05);
}

.version-mini.is-current b {
  color: var(--blue);
}

.note-strip svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.v4-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  padding: 44px;
  border: 1px solid rgba(31, 107, 255, 0.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 10%, rgba(31, 107, 255, 0.2), transparent 45%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(235, 244, 255, 0.74));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
}

.v4-panel::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 32%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 197, 216, 0.16), transparent 65%);
  pointer-events: none;
}

.v4-copy {
  position: relative;
  z-index: 1;
}

.v4-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.v4-copy p {
  max-width: 520px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.v4-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.v4-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.7rem;
}

.v4-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 154, 22, 0.1);
}

.v4-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.v4-node {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(31, 107, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
}

.v4-node b {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
}

.v4-node span {
  color: var(--muted);
  font-size: 0.67rem;
}

.v4-node.is-core {
  grid-column: span 3;
  border-color: rgba(31, 107, 255, 0.22);
  background: rgba(31, 107, 255, 0.07);
}

.start-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 2px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step-num {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(31, 107, 255, 0.16);
  border-radius: 10px;
  background: rgba(31, 107, 255, 0.07);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

.step p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.7;
}

/* ==========================================================================
   工具箱页
   ========================================================================== */

.tools-hero {
  padding-bottom: 34px;
}

.tools-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.tools-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.tools-count b {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.tool-toolbar {
  position: sticky;
  top: 78px;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 12px 34px rgba(20, 30, 60, 0.08);
}

.tool-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 180px;
  max-width: 330px;
}

.tool-search svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--muted-2);
  pointer-events: none;
}

.tool-search input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 0.79rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.tool-search input::placeholder {
  color: var(--muted-2);
}

.tool-search input:focus {
  border-color: rgba(31, 107, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.08);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.filter-btn {
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 550;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.filter-btn:hover {
  background: rgba(31, 107, 255, 0.06);
  color: var(--ink-soft);
}

.filter-btn.is-active {
  border-color: rgba(31, 107, 255, 0.16);
  background: rgba(31, 107, 255, 0.09);
  color: var(--blue);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(278px, 1fr));
  gap: 16px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.46));
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: var(--shadow-sm);
  color: inherit;
  cursor: pointer;
}

.tool-card.is-hidden {
  display: none;
}

.tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tool-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(31, 107, 255, 0.14);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(31, 107, 255, 0.11), rgba(22, 197, 216, 0.05));
  color: var(--blue);
}

.tool-icon svg {
  width: 26px;
  height: 26px;
}

.tool-card[data-category="control"] .tool-icon {
  border-color: rgba(22, 197, 216, 0.16);
  background: linear-gradient(145deg, rgba(22, 197, 216, 0.13), rgba(31, 107, 255, 0.04));
  color: #0796a6;
}

.tool-card[data-category="fixed"] .tool-icon {
  border-color: rgba(115, 87, 255, 0.16);
  background: linear-gradient(145deg, rgba(115, 87, 255, 0.12), rgba(31, 107, 255, 0.04));
  color: var(--violet);
}

.tool-card[data-category="embedded"] .tool-icon {
  border-color: rgba(232, 154, 22, 0.18);
  background: linear-gradient(145deg, rgba(232, 154, 22, 0.12), rgba(31, 107, 255, 0.03));
  color: #a96a08;
}

.tool-cat {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-align: right;
}

.tool-card h3 {
  margin-top: 19px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.tool-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.tool-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tool-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.tool-tags span {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(18, 23, 34, 0.04);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.53rem;
}

.tool-open {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--blue);
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.tool-open svg {
  width: 14px;
  height: 14px;
}

.tool-card:hover .tool-open {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translate(2px, -2px);
}

.tool-empty {
  display: none;
  padding: 60px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
}

.tool-empty.is-show {
  display: block;
}

.tool-empty b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.tool-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

.tool-note svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--blue);
}

/* ==========================================================================
   下载页
   ========================================================================== */

.page-download .page-hero {
  padding: 124px 0 32px;
}

.page-download .download-card {
  padding: 16px;
  min-height: 360px;
}

.page-download .download-art {
  height: 132px;
}

.page-download .download-body {
  padding: 15px 2px 0;
}

.page-download .download-foot {
  padding-top: 14px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 396px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.48));
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.download-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 158px;
  overflow: hidden;
  border: 1px solid rgba(31, 107, 255, 0.1);
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 30%, rgba(31, 107, 255, 0.12), transparent 60%),
    linear-gradient(150deg, rgba(31, 107, 255, 0.06), rgba(22, 197, 216, 0.03));
}

.download-art::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(31, 107, 255, 0.16);
  border-radius: 12px;
  pointer-events: none;
}

.download-art svg {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 82%;
}

.download-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 4px 0;
}

.download-type {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.download-body h3 {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.download-body > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.download-meta .chip {
  padding: 3px 7px;
  font-size: 0.6rem;
}

.download-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.download-foot .btn {
  min-height: 40px;
  font-size: 0.78rem;
}

.password-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 7px 8px 7px 12px;
  border: 1px dashed rgba(31, 107, 255, 0.24);
  border-radius: 10px;
  background: rgba(31, 107, 255, 0.05);
}

.password-box span {
  color: var(--muted);
  font-size: 0.68rem;
}

.password-box b {
  margin-left: 5px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.copy-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-size: 0.6rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

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

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.notice-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
}

.notice-card .notice-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: rgba(31, 107, 255, 0.08);
  color: var(--blue);
}

.notice-card .notice-icon svg {
  width: 18px;
  height: 18px;
}

.notice-card h4 {
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.notice-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.join-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
  overflow: hidden;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 20%, rgba(31, 107, 255, 0.16), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(235, 244, 255, 0.62));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.join-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.join-panel p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.qq-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: center;
}

.qq-card span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.qq-card b {
  display: block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.qq-card .copy-btn {
  margin-top: 12px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 600;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

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

.copy-btn svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   关于页
   ========================================================================== */

.about-hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.about-hero .page-title {
  max-width: 720px;
  font-size: clamp(2.8rem, 4.1vw, 4.6rem);
}

.about-hero .page-lede {
  max-width: 600px;
}

.about-avatar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 30%, rgba(31, 107, 255, 0.14), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(238, 245, 255, 0.6));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.about-avatar-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(31, 107, 255, 0.2);
  border-radius: 50%;
}

.about-avatar {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  box-shadow: 0 22px 50px rgba(18, 23, 34, 0.2);
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-avatar-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.about-avatar-card > p {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.about-avatar-card .chip {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.about-stats {
  margin-top: 34px;
}

.about-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.about-story h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-prose {
  display: grid;
  gap: 14px;
}

.about-prose p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.95;
}

.about-prose strong {
  color: var(--ink-soft);
  font-weight: 650;
}

.about-prose .about-quote {
  padding-left: 18px;
  border-left: 2px solid rgba(31, 107, 255, 0.28);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 107, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(31, 107, 255, 0.14);
  border-radius: 12px;
  background: rgba(31, 107, 255, 0.07);
  color: var(--blue);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

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

.contact-body span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-body h4 {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-body p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.6;
}

.contact-body .copy-mini {
  margin-top: 8px;
}

.join-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 12%, rgba(31, 107, 255, 0.22), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(232, 242, 255, 0.62));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.join-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.join-card p {
  max-width: 480px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.85;
}

/* ==========================================================================
   工具工作台
   ========================================================================== */

.page-tool {
  height: 100%;
  overflow: hidden;
  background: #edf1f6;
}

.page-tool::before {
  display: none;
}

.page-tool main {
  animation: none;
}

.workbench-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.workbench-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
}

.workbench-top .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.workbench-top .brand-text strong {
  font-size: 0.92rem;
}

.workbench-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  transition: color 0.25s, transform 0.25s;
}

.workbench-back svg {
  width: 15px;
  height: 15px;
}

.workbench-back:hover {
  color: var(--blue);
  transform: translateX(-2px);
}

.workbench-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workbench-body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  padding-top: 64px;
}

.workbench-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 22px 12px;
}

.workbench-heading {
  min-width: 0;
}

.workbench-heading .workbench-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
}

.workbench-heading .workbench-kicker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.workbench-heading h1 {
  margin-top: 3px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.frame-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.68rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.frame-btn:hover {
  border-color: rgba(31, 107, 255, 0.24);
  background: #fff;
  color: var(--blue);
}

.frame-btn svg {
  width: 14px;
  height: 14px;
}

.workbench-frame {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(18, 23, 34, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 30, 60, 0.1);
}

.workbench-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.workbench-frame.is-loaded iframe {
  opacity: 1;
}

.workbench-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 0.76rem;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.workbench-frame.is-loaded .workbench-loading {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(31, 107, 255, 0.14);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.mobile-tip {
  display: none;
  align-items: flex-start;
  gap: 7px;
  margin: 0 20px 10px;
  padding: 8px 11px;
  border: 1px solid rgba(232, 154, 22, 0.24);
  border-radius: 9px;
  background: rgba(255, 250, 235, 0.8);
  color: #8a5b0d;
  font-size: 0.68rem;
  line-height: 1.6;
}

.mobile-tip svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.workbench-error {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 0 20px 20px;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.workbench-error.is-show {
  display: flex;
}

.workbench-error h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.workbench-error p {
  max-width: 460px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.workbench-error .btn {
  margin-top: 18px;
}

.workbench-frame:fullscreen {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.workbench-frame:fullscreen iframe {
  height: 100vh;
}

/* ==========================================================================
   响应式
   ========================================================================== */

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

  .hero-visual {
    min-height: 540px;
  }

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

  .version-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }

  .version-track::before {
    display: none;
  }

  .version-card::before {
    display: none;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 1020px) {
  .hero {
    min-height: auto;
    padding: 132px 0 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .hero-visual {
    width: min(100%, 650px);
    min-height: 560px;
    margin: 0 auto;
  }

  .hero-scroll {
    display: none;
  }

  .lib-hero,
  .page-hero-grid,
  .about-hero,
  .v4-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .v4-intro-copy .section-title,
  .v4-intro-copy .section-lede {
    max-width: 620px;
  }

  .lib-code {
    max-width: 620px;
  }

  .lib-statement {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .v4-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lib-release {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px;
  }

  .cta-code {
    max-width: 620px;
  }

  .start-grid,
  .about-story {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .join-panel,
  .join-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-avatar-card {
    min-height: 320px;
  }

  .tools-hero-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .tool-toolbar {
    top: 70px;
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .tool-search {
    max-width: none;
  }

  .filter-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 104px 0 40px;
  }

  .hero-title {
    font-size: clamp(3.2rem, 14vw, 4.9rem);
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-meta {
    gap: 20px;
    margin-top: 28px;
    padding-top: 18px;
  }

  .hero-meta-item b {
    font-size: 1.25rem;
  }

  .hero-visual {
    min-height: auto;
    padding: 12px 0 0;
  }

  .hero-visual::before {
    width: 92%;
  }

  .visual-orbit {
    width: 100%;
  }

  .motor-stage {
    width: 100%;
  }

  .scope-card {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin: -18px auto 0;
  }

  .float-chip {
    font-size: 0.54rem;
    padding: 6px 8px;
  }

  .float-chip.chip-a {
    top: 2%;
    right: 2%;
  }

  .float-chip.chip-b {
    top: 34%;
    left: 0;
  }

  .float-chip.chip-c {
    right: 0;
    bottom: 26%;
  }

  .page-hero {
    padding: 118px 0 42px;
  }

  .page-title {
    font-size: clamp(2.6rem, 10vw, 3.8rem);
  }

  .page-lede {
    font-size: 0.9rem;
  }

  .lib-statement blockquote {
    font-size: 1.55rem;
  }

  .v4-section {
    padding-top: 58px;
  }

  .v4-diagram {
    border-radius: 18px;
  }

  .v4-diagram-badge {
    display: none;
  }

  .v4-intro-actions {
    gap: 12px;
  }

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

  .alg-card {
    flex-basis: 270px;
  }

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

  .version-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .version-card {
    min-height: auto;
    padding: 22px;
  }

  .v4-panel {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .v4-map {
    padding: 10px;
  }

  .v4-node {
    padding: 8px;
  }

  .v4-node span {
    font-size: 0.6rem;
  }

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

  .download-card {
    min-height: 360px;
  }

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

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

  .join-panel,
  .join-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .cta-panel {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .feature-card {
    min-height: 280px;
    padding: 24px;
  }

  .feature-card h3 {
    font-size: 1.45rem;
  }

  .feature-glyph {
    width: 110px;
    height: 110px;
  }

  .featured-tools {
    grid-template-columns: 1fr;
  }

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

  .tool-card {
    min-height: 260px;
  }

  .about-avatar-card {
    min-height: 300px;
  }

  .workbench-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 12px 14px 9px;
  }

  .workbench-actions {
    width: 100%;
  }

  .frame-btn {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.62rem;
  }

  .workbench-frame {
    margin: 0 10px 10px;
    border-radius: 12px;
  }

  .mobile-tip {
    display: flex;
    margin: 0 10px 9px;
  }

  .workbench-top-inner {
    width: calc(100% - 24px);
  }

  .workbench-top .brand-text small {
    display: none;
  }

  .workbench-back span {
    display: none;
  }

  .page-download .page-hero {
    padding-top: 106px;
    padding-bottom: 24px;
  }

  .page-download .download-art {
    height: 112px;
  }

  .page-download .download-card {
    min-height: 0;
  }

  .dock-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .page-home .hero-actions {
    flex-direction: row;
    align-items: stretch;
  }

  .page-home .hero-actions .btn {
    width: auto;
    flex: 1;
    padding: 0 14px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .filter-btn {
    font-size: 0.66rem;
    padding: 6px 8px;
  }

  .download-foot {
    flex-direction: row;
    align-items: center;
  }

  .download-foot .btn {
    width: auto;
  }

  .qq-card b {
    font-size: 1.45rem;
  }

  .workbench-actions .frame-btn span {
    display: none;
  }

  .workbench-actions .frame-btn {
    padding: 0 9px;
  }
}


/* ==========================================================================
   滚动性能优化
   1. 卡片不做实时背景模糊，避免滚动时反复重算 backdrop
   2. 固定导航保留较轻的玻璃模糊
   ========================================================================== */

.glass,
.glass-quiet,
.feature-card,
.tool-card,
.download-card,
.observer-card,
.alg-card,
.lib-version-card,
.mini-tool-card,
.contact-card,
.version-card,
.v4-panel,
.cta-panel,
.join-panel,
.join-card,
.lib-release,
.v4-diagram,
.about-avatar-card,
.qq-card {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.topbar.is-scrolled {
  background: rgba(244, 246, 251, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.dock {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.tool-toolbar {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.workbench-top {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
