/* ============================================================
   关于我们 — 杂志式章节流 · Midnight Aurora（与站内容器/导航对齐）
   ============================================================ */

html.theme-midnight-aurora:has(#page-guanyu) .gym-root .gym-hero {
  margin-top: calc(-1 * var(--nav-height));
  padding-top: calc(clamp(28px, 5vw, 52px) + var(--nav-height));
}

#page-guanyu.gym-root {
  padding-bottom: clamp(72px, 12vw, 120px);
  overflow-x: hidden;
}

/* —— Hero —— */
.gym-hero {
  position: relative;
  padding: 0 0 clamp(36px, 6vw, 64px);
  overflow: hidden;
}

.gym-hero__aurora {
  position: absolute;
  inset: -20% -30% 35%;
  background:
    radial-gradient(ellipse 70% 55% at 18% 22%, rgba(167, 139, 250, 0.32), transparent 55%),
    radial-gradient(ellipse 55% 50% at 82% 40%, rgba(244, 114, 182, 0.22), transparent 50%),
    radial-gradient(ellipse 45% 40% at 55% 85%, rgba(99, 102, 241, 0.18), transparent 60%);
  pointer-events: none;
  filter: blur(2px);
}

.gym-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.gym-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.55;
}
.gym-hero__blob--1 {
  width: clamp(220px, 34vw, 380px);
  height: clamp(220px, 34vw, 380px);
  top: 8%;
  left: -6%;
  background: rgba(139, 92, 246, 0.45);
}
.gym-hero__blob--2 {
  width: clamp(180px, 28vw, 320px);
  height: clamp(180px, 28vw, 320px);
  top: 28%;
  right: -4%;
  background: rgba(236, 72, 153, 0.35);
}
.gym-hero__blob--3 {
  width: clamp(140px, 22vw, 240px);
  height: clamp(140px, 22vw, 240px);
  bottom: 12%;
  left: 38%;
  background: rgba(99, 102, 241, 0.3);
}

.gym-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}
@media (min-width: 900px) {
  .gym-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: clamp(32px, 4.5vw, 48px);
    align-items: center;
  }
}

html.theme-midnight-aurora .gym-hero__grid .gym-hero__signal.sketch-box:hover {
  transform: translateY(-2px);
}

.gym-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink-light) 92%, var(--marker-pink));
}
.gym-kicker__ico {
  width: 18px;
  height: 18px;
  opacity: 0.92;
}

.gym-hero__title {
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 3.8vw, 2.45rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
}
.gym-hero__title-accent {
  background: linear-gradient(105deg, #e9d5ff, #f0abfc 48%, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gym-hero__lead {
  margin: 0 0 14px;
  font-size: clamp(16px, 2.1vw, 18px);
  line-height: 1.65;
  color: var(--ink-light);
  max-width: 48ch;
}

.gym-hero__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink-light) 88%, transparent);
  max-width: 46ch;
}

.gym-hero__signal {
  padding: clamp(20px, 3vw, 26px);
}

.gym-signal__label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink-light) 95%, #fff);
}

.gym-signal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gym-signal__list > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.gym-signal__ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, rgba(167, 139, 250, 0.22) 70%, transparent);
  border: 1px solid rgba(167, 139, 250, 0.28);
  color: #ddd6fe;
}
.gym-signal__ico svg {
  width: 22px;
  height: 22px;
}

.gym-signal__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.35;
}
.gym-signal__text strong {
  font-weight: 800;
}
.gym-signal__sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-light);
}

/* —— Sticky chapter pills —— */
.gym-chapters {
  position: sticky;
  top: var(--nav-height);
  z-index: 40;
  padding: 10px 0 14px;
  margin-bottom: clamp(8px, 2vw, 16px);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, rgba(8, 6, 18, 0.96) 88%, transparent) 0%,
    color-mix(in srgb, rgba(8, 6, 18, 0.82) 75%, transparent) 55%,
    transparent 100%
  );
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

.gym-chapters__track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.gym-chapter {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: color-mix(in srgb, var(--ink-light) 92%, #fff);
  background: rgba(22, 14, 40, 0.72);
  border: 1px solid rgba(167, 139, 250, 0.22);
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.28s var(--ease-smooth);
}
.gym-chapter:hover {
  color: var(--ink);
  border-color: rgba(244, 114, 182, 0.42);
  box-shadow: 0 12px 32px -18px rgba(244, 114, 182, 0.35);
}

.gym-chapter--ghost {
  margin-left: auto;
  background: transparent;
  border-style: dashed;
}

@media (max-width: 620px) {
  .gym-chapter--ghost {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* —— Main river —— */
.gym-river {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 64px);
}

.gym-block-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(18px, 3vw, 24px);
}
.gym-block-head--flush {
  margin-bottom: clamp(14px, 2.5vw, 20px);
}

.gym-step {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: rgba(244, 114, 182, 0.85);
}

.gym-block-head__h {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Story + timeline */
.gym-story {
  display: grid;
  gap: 20px;
  scroll-margin-top: calc(var(--nav-height) + 56px);
}
@media (min-width: 720px) {
  .gym-story {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 36px);
  }
}

.gym-story__rail {
  position: relative;
  display: none;
  width: 48px;
  min-height: 120px;
  justify-self: end;
}
@media (min-width: 720px) {
  .gym-story__rail {
    display: flex;
    justify-content: center;
    padding-top: 0.35em;
  }
}
.gym-story__rail::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(167, 139, 250, 0.65) 0%,
    rgba(244, 114, 182, 0.45) 55%,
    rgba(99, 102, 241, 0.25) 100%
  );
}
.gym-story__dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0abfc, #a78bfa);
  box-shadow: 0 0 22px rgba(244, 114, 182, 0.55);
}

.gym-prose {
  max-width: min(62ch, 100%);
}
.gym-prose p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.72;
  color: color-mix(in srgb, var(--ink-light) 96%, var(--ink));
}
.gym-prose p:last-child {
  margin-bottom: 0;
}

.gym-quote {
  margin: 0 0 22px;
  padding: 0;
  border-left: 3px solid rgba(244, 114, 182, 0.55);
  padding-left: clamp(16px, 2.5vw, 22px);
}
.gym-quote blockquote {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.gym-prose a {
  font-weight: 700;
  color: #e9d5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Runway cards */
.gym-runway {
  scroll-margin-top: calc(var(--nav-height) + 56px);
}

.gym-runway__grid {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}
@media (min-width: 780px) {
  .gym-runway__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gym-run-card {
  padding: clamp(18px, 2.8vw, 24px);
  height: 100%;
}

.gym-run-card__ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: color-mix(in srgb, rgba(129, 140, 248, 0.28) 75%, transparent);
  border: 1px solid rgba(129, 140, 248, 0.32);
  color: #c7d2fe;
}
.gym-run-card__ico svg {
  width: 24px;
  height: 24px;
}

.gym-run-card__h {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.gym-run-card__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-light);
}
.gym-run-card__p a {
  font-weight: 700;
  color: #e9d5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Bento values */
.gym-bento-block {
  scroll-margin-top: calc(var(--nav-height) + 56px);
}

.gym-bento {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}
@media (min-width: 860px) {
  .gym-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      'tall b'
      'tall c';
  }
  .gym-bento-tile--tall {
    grid-area: tall;
  }
  .gym-bento-tile:nth-of-type(2) {
    grid-area: b;
  }
  .gym-bento-tile:nth-of-type(3) {
    grid-area: c;
  }
}

.gym-bento-tile {
  padding: clamp(20px, 3vw, 26px);
}

.gym-bento-tile--tall .gym-bento-tile__p {
  max-width: 42ch;
}

.gym-bento-tile__h {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.gym-bento-tile__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-light);
}
.gym-bento-tile__p a {
  font-weight: 700;
  color: #e9d5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Routes strip */
.gym-routes {
  scroll-margin-top: calc(var(--nav-height) + 56px);
}

.gym-routes__list {
  list-style: none;
  margin: 0;
  padding: clamp(18px, 3vw, 22px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(20, 12, 42, 0.75) 0%,
    rgba(12, 8, 28, 0.82) 100%
  );
  border: 1px solid rgba(167, 139, 250, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 50px -28px rgba(79, 70, 229, 0.35);
}

.gym-route {
  flex: 1 1 200px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(8, 6, 18, 0.45);
  border: 1px solid rgba(167, 139, 250, 0.12);
  transition:
    border-color 0.22s ease,
    transform 0.3s var(--ease-smooth),
    box-shadow 0.3s ease;
}
.gym-route:hover {
  border-color: rgba(244, 114, 182, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -22px rgba(244, 114, 182, 0.3);
}

.gym-route__ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, rgba(244, 114, 182, 0.18) 80%, transparent);
  border: 1px solid rgba(244, 114, 182, 0.25);
  color: #fbcfe8;
}
.gym-route__ico svg {
  width: 22px;
  height: 22px;
}

.gym-route__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gym-route__t {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.gym-route__s {
  font-size: 13px;
  color: var(--ink-light);
}

@media (prefers-reduced-motion: reduce) {
  .gym-route:hover {
    transform: none;
  }
}
