/* ==========================================================================
   Box for Root — 站点主样式
   设计语言：纸张底色 / 墨色结构 / 酸橙高亮 / 编辑感排版
   ========================================================================== */

:root {
  --paper: #f4f0e5;
  --paper-deep: #e9e2d0;
  --paper-light: #fffdf7;
  --ink: #11120f;
  --ink-soft: #3d4036;
  --muted: #686a5e;
  --line: #d3cbb9;
  --line-dark: #b9b09b;
  --lime: #c8f05a;
  --lime-deep: #a9d438;
  --orange: #ff6a3d;
  --orange-soft: #ffe1d5;
  --violet: #6c5ce7;
  --blue: #18305e;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(17, 18, 15, 0.12);
  --shadow-hard: 6px 6px 0 var(--ink);
  --font-sans: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", "Consolas", "Liberation Mono", monospace;
  --max: 1180px;
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- 顶部播报 ---------- */
.notice {
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.notice-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200, 240, 90, 0.7);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 240, 90, 0.65); }
  70% { box-shadow: 0 0 0 7px rgba(200, 240, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 240, 90, 0); }
}

.notice a {
  color: var(--lime);
  font-weight: 700;
  border-bottom: 1px solid rgba(200, 240, 90, 0.5);
  white-space: nowrap;
}

.notice a:hover {
  border-color: var(--lime);
}

.notice-right {
  color: #a8aa9d;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
}

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 240, 229, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--ink);
  box-shadow: 0 8px 30px rgba(17, 18, 15, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  transform: rotate(-2deg);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(3deg) translateY(-1px);
}

.brand-mark img {
  width: 31px;
  height: 31px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.17em;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav > a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 4px 0;
}

.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 0.22s ease;
}

.nav > a:not(.nav-cta):hover::after,
.nav > a.active::after {
  width: 100%;
}

.nav > a.active {
  color: var(--ink);
  font-weight: 800;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 3px;
  padding: 9px 16px;
  background: var(--orange);
  color: var(--ink) !important;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  font-weight: 800 !important;
  font-size: 13.5px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-cta .tiny-badge {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 10px;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-light);
  color: var(--ink);
  font-weight: 750;
  font-size: 14.5px;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn svg {
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--lime);
}

.btn-orange {
  background: var(--orange);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--lime);
}

.btn-dark:hover {
  box-shadow: 5px 5px 0 var(--lime);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--paper-light);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-sm {
  min-height: 38px;
  padding: 7px 15px;
  font-size: 12.5px;
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 750;
  font-size: 14px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: gap 0.2s ease;
}

.text-link:hover {
  gap: 11px;
}

/* ---------- 标签 / 眉题 ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 9px;
  background: var(--orange);
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.kicker.on-dark {
  color: #b8baae;
}

.kicker.on-dark::before {
  background: var(--lime);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 2px 9px;
  background: var(--paper-light);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--ink-soft);
  white-space: nowrap;
}

.tag-lime {
  background: var(--lime);
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 700;
}

.tag-orange {
  background: var(--orange-soft);
  border-color: #e8a189;
}

.tag-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  padding: 66px 0 58px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -340px;
  top: -180px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 52px;
}

.hero-title {
  margin: 0 0 26px;
  font-family: var(--font-serif);
  font-size: clamp(50px, 6.2vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hero-title .highlight {
  display: inline-block;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  padding: 0 0.08em 0.06em;
  margin: 0 -0.04em;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 7px 20px 8px 18px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1.2deg);
}

.hero-lede {
  max-width: 570px;
  margin: 0 0 31px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.hero-fact {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.hero-fact:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hero-fact strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-fact span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* Hero 可视化 */
.hero-stage {
  position: relative;
  min-height: 548px;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  background: var(--paper-deep);
  overflow: hidden;
  box-shadow: 11px 11px 0 rgba(17, 18, 15, 0.12);
  isolation: isolate;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 18, 15, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 15, 0.075) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 18%, transparent 82%);
  mask-image: radial-gradient(circle at 50% 45%, #000 18%, transparent 82%);
}

.stage-orbit {
  position: absolute;
  width: 390px;
  height: 390px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(17, 18, 15, 0.22);
  border-radius: 50%;
}

.stage-orbit::before,
.stage-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.stage-orbit::before {
  inset: 42px;
  border: 1px solid rgba(17, 18, 15, 0.12);
}

.stage-orbit::after {
  width: 11px;
  height: 11px;
  top: 38px;
  right: 61px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
}

.stage-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 240, 90, 0.7), rgba(200, 240, 90, 0) 68%);
  filter: blur(4px);
}

.stage-logo {
  position: absolute;
  width: 270px;
  height: 270px;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%) rotate(-5deg);
  display: grid;
  place-items: center;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 38px;
  box-shadow: 11px 11px 0 var(--ink);
  animation: stage-float 7s ease-in-out infinite;
}

.stage-logo::before {
  content: "01 / ROOT BOX";
  position: absolute;
  top: 15px;
  left: 17px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.stage-logo::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.stage-logo img {
  width: 198px;
  height: 198px;
  filter: drop-shadow(5px 7px 0 rgba(17, 18, 15, 0.16));
}

@keyframes stage-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-5deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(-3.5deg) translateY(-9px); }
}

.stage-version {
  position: absolute;
  top: 21px;
  left: 23px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.stage-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
}

.stage-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42a846;
  box-shadow: 0 0 0 3px #d9f2d9;
}

.chip-top {
  top: 20px;
  right: 20px;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--lime);
}

.chip-left {
  left: 20px;
  top: 148px;
  transform: rotate(-3deg);
}

.chip-right {
  right: 18px;
  top: 264px;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  background: var(--orange);
}

.chip-right small {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.chip-right strong {
  font-size: 14px;
}

.stage-console {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--ink);
  color: #d9dccf;
  border: 1.5px solid var(--ink);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(17, 18, 15, 0.18);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.85;
}

.console-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #22241e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63665a;
}

.console-head i:nth-child(1) { background: var(--orange); }
.console-head i:nth-child(2) { background: #e6c84d; }
.console-head i:nth-child(3) { background: var(--lime); }

.console-head span {
  margin-left: auto;
  color: #878a7c;
  font-size: 9.5px;
  letter-spacing: 0.07em;
}

.console-body {
  padding: 10px 14px 12px;
  white-space: pre-wrap;
}

.console-body .prompt { color: var(--lime); }
.console-body .ok { color: var(--lime); }
.console-body .dim { color: #8f9284; }

/* ---------- 跑马灯 ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 13px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.mq-item::after {
  content: "✦";
  color: var(--lime);
  font-size: 13px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 92px 0;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-head h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.3vw, 56px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-head h2 .soft {
  color: var(--muted);
}

.section-head p {
  max-width: 380px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.section-head .head-link {
  flex: 0 0 auto;
  margin-bottom: 6px;
}

/* ---------- 榜单引导区 ---------- */
.spotlight {
  position: relative;
  padding: 78px 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.spotlight::before {
  content: "榜";
  position: absolute;
  right: -20px;
  top: -130px;
  font-family: var(--font-serif);
  font-size: 570px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.028);
  pointer-events: none;
}

.spotlight-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 64px;
}

.rank-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 11px;
  background: var(--orange);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transform: rotate(-1deg);
}

.spotlight h2 {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.spotlight h2 em {
  display: inline-block;
  color: var(--lime);
  font-style: normal;
  transform: rotate(-1deg);
}

.spotlight-copy {
  max-width: 510px;
  margin: 0 0 28px;
  color: #b9bbaf;
  font-size: 15.5px;
  line-height: 1.9;
}

.rank-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.rank-stats li {
  padding-left: 13px;
  border-left: 2px solid var(--orange);
  color: #aeb0a4;
  font-size: 11px;
  line-height: 1.55;
}

.rank-stats strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.rank-board {
  position: relative;
  padding: 22px;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 13px 13px 0 var(--lime);
  transform: rotate(1.4deg);
}

.rank-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--ink);
}

.rank-board-head strong {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: -0.02em;
}

.rank-board-head span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.rank-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.rank-row:first-of-type {
  margin-top: 5px;
}

.rank-row .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.rank-row:first-of-type .num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
}

.rank-row .name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.4;
}

.rank-row .name small {
  width: 100%;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.score-pill {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  padding: 4px 8px;
  background: var(--paper-deep);
  border-radius: 7px;
}

.rank-row:first-of-type .score-pill {
  background: var(--lime);
}

.rank-board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
}

.rank-board-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.rank-board-foot a {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid var(--ink);
}

/* ---------- Bento 功能 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
}

.card {
  position: relative;
  padding: 27px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 rgba(17, 18, 15, 0.14);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.78;
}

.card-num {
  display: block;
  margin-bottom: 23px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 11px;
  background: var(--lime);
  box-shadow: 2px 2px 0 var(--ink);
}

.card-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-span-6 { grid-column: span 6; }
.card-span-4 { grid-column: span 4; }
.card-span-3 { grid-column: span 3; }

.card-dark {
  background: var(--ink);
  color: var(--paper);
}

.card-dark p {
  color: #aeb0a4;
}

.card-dark .card-num {
  color: #85887b;
}

.card-dark .card-icon {
  background: var(--lime);
}

.card-lime {
  background: var(--lime);
}

.card-lime p {
  color: #353a29;
}

.card-lime .card-icon {
  background: var(--paper);
}

.card-orange {
  background: var(--orange);
}

.card-orange p {
  color: #482114;
}

.card-orange .card-icon {
  background: var(--paper);
}

.core-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.core-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #4a4d43;
  border-radius: 999px;
  color: #d4d6ca;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.core-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.mini-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.mini-list li span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.card-dark .mini-list li {
  border-color: #3a3d34;
}

.card-dark .mini-list li span:last-child {
  color: #8f9284;
}

.mode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 21px;
}

.mode-tag {
  padding: 4px 8px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: var(--paper);
}

/* ---------- 内核浏览器 ---------- */
.explorer {
  display: grid;
  min-width: 0;
  grid-template-columns: 0.88fr 1.12fr;
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper-light);
  box-shadow: 8px 8px 0 rgba(17, 18, 15, 0.08);
}

.core-menu {
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
}

.core-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #85887b;
}

.core-tab {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 13px;
  padding: 14px 14px;
  background: transparent;
  border: 0;
  border-radius: 11px;
  color: #b9bbaf;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.core-tab:hover {
  background: #24261f;
  color: var(--paper);
}

.core-tab[aria-selected="true"] {
  background: var(--lime);
  color: var(--ink);
}

.core-tab .idx {
  font-family: var(--font-mono);
  font-size: 9px;
  opacity: 0.6;
}

.core-tab .tab-label {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}

.core-tab .tab-code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  opacity: 0.65;
}

.core-panels {
  min-width: 0;
  padding: 39px 42px;
  min-height: 445px;
}

.core-panel {
  display: none;
  min-width: 0;
}

.core-panel.is-active {
  display: block;
  animation: panel-in 0.28s ease both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.core-panel h3 {
  margin: 0 0 7px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.core-panel .en {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--muted);
}

.core-panel > p {
  max-width: 560px;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 23px 0;
}

.spec {
  padding: 12px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.spec small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.05em;
}

.spec strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-all;
}

.code-block {
  position: relative;
  max-width: 100%;
  margin: 20px 0 0;
  padding: 14px 16px;
  padding-right: 56px;
  background: var(--ink);
  color: #d9dccf;
  border: 1.5px solid var(--ink);
  border-radius: 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}

.code-block::before {
  content: "$";
  color: var(--lime);
  margin-right: 8px;
}

.copy-btn {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 4px 8px;
  background: #2b2e26;
  border: 1px solid #4a4d43;
  border-radius: 6px;
  color: #b9bbaf;
  font-family: var(--font-sans);
  font-size: 9.5px;
  cursor: pointer;
}

.copy-btn:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.explorer-note {
  position: relative;
  display: block;
  margin-top: 14px;
  padding-left: 24px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.explorer-note svg {
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
}

/* ---------- 安装步骤 ---------- */
.install-block {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 27px 0;
  border-top: 1.5px solid var(--line-dark);
}

.step:last-child {
  border-bottom: 1.5px solid var(--line-dark);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: var(--line-dark);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.step code {
  padding: 1px 5px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.dl-panel {
  position: sticky;
  top: 105px;
  padding: 26px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: 7px 7px 0 var(--ink);
}

.dl-panel .dl-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.dl-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.dl-panel > p {
  margin: 0 0 20px;
  color: #353a29;
  font-size: 12.5px;
  line-height: 1.7;
}

.dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 13px;
  margin-bottom: 8px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.dl-item:hover {
  transform: translateX(3px);
}

.dl-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
}

.dl-item .arrow {
  font-size: 16px;
  line-height: 1;
}

.dl-panel .fine {
  margin: 14px 0 0;
  font-size: 9.5px;
  line-height: 1.6;
  color: #4b503e;
}

/* 提示条 */
.note-bar {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 28px;
  padding: 17px 19px;
  background: #fff6e7;
  border: 1.5px solid var(--ink);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.note-bar strong {
  color: var(--ink);
}

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

/* ---------- 文章列表 ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
}

.post-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17, 18, 15, 0.1);
}

.post-card-featured {
  grid-column: span 6;
  grid-row: span 2;
}

.post-cover {
  position: relative;
  min-height: 128px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper-deep);
}

.post-cover::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -35px;
  bottom: -50px;
  border: 1.5px solid rgba(17, 18, 15, 0.22);
  border-radius: 50%;
}

.post-cover .cover-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.post-cover .cover-glyph {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 62px;
  font-weight: 900;
  line-height: 0.9;
  opacity: 0.85;
}

.post-card-featured .post-cover {
  min-height: 232px;
  padding: 25px;
}

.post-card-featured .post-cover .cover-glyph {
  font-size: 120px;
}

.post-cover.c-lime { background: var(--lime); }
.post-cover.c-orange { background: var(--orange); }
.post-cover.c-violet { background: #c9c4f7; }
.post-cover.c-blue { background: #c8d2e6; }
.post-cover.c-paper { background: var(--paper-deep); }

.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 17px 18px 19px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.post-meta .cat {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10px;
}

.post-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.post-card-featured .post-body h3 {
  font-size: 25px;
  line-height: 1.35;
}

.post-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-featured .post-body p {
  font-size: 13.5px;
  -webkit-line-clamp: 4;
}

.post-body .post-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 750;
}

.post-body .post-more::after {
  content: "→";
  transition: transform 0.2s ease;
}

.post-card:hover .post-more::after {
  transform: translateX(4px);
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1.5px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line-dark);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary .plus {
  background: var(--lime);
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 780px;
  padding: 0 36px 22px 2px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.faq-answer p {
  margin: 0;
}

/* ---------- CTA 区域 ---------- */
.cta-band {
  position: relative;
  padding: 52px 42px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -100px;
  top: -150px;
  border: 1.5px solid rgba(17, 18, 15, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(17, 18, 15, 0.06), 0 0 0 76px rgba(17, 18, 15, 0.04);
}

.cta-band-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band h2 {
  max-width: 660px;
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.cta-band p {
  max-width: 620px;
  margin: 0;
  color: #482114;
  font-size: 13.5px;
  line-height: 1.8;
}

.cta-band .btn {
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--paper-light);
}

.cta-band .btn:hover {
  box-shadow: 6px 6px 0 var(--paper-light);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 30px 0 88px;
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 30px;
}

.footer-simple-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.footer-simple-brand .brand-mark {
  width: 38px;
  height: 38px;
  background: var(--paper);
  border-radius: 11px;
  box-shadow: 2px 2px 0 var(--lime);
}

.footer-simple-brand .brand-mark img {
  width: 28px;
  height: 28px;
}

.footer-simple-name strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.footer-simple-name small {
  display: block;
  margin-top: 3px;
  color: #8f9284;
  font-size: 8.5px;
  letter-spacing: 0.12em;
}

.footer-simple-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 24px;
}

.footer-simple-nav a {
  color: #c9cbbf;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-simple-nav a:hover {
  color: var(--lime);
}

.footer-simple-copy {
  margin: 0;
  color: #6f7265;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.article-page .site-footer {
  padding-bottom: 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.55fr 0.7fr 0.7fr 1.3fr;
  gap: 48px;
  padding-bottom: 42px;
  border-bottom: 1px solid #34372e;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-brand .brand-mark {
  width: 47px;
  height: 47px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--lime);
}

.footer-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  color: #8f9284;
  font-size: 9.5px;
  letter-spacing: 0.13em;
}

.footer-desc {
  max-width: 330px;
  margin: 0 0 19px;
  color: #9ea094;
  font-size: 12.5px;
  line-height: 1.85;
}

.footer-rank-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--orange);
  color: var(--ink);
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
}

.footer-col h4 {
  margin: 3px 0 14px;
  color: #8f9284;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  color: #c9cbbf;
  font-size: 12.5px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-note {
  color: #7f8275;
  font-size: 10.5px;
  line-height: 1.8;
}

.footer-note strong {
  display: block;
  margin-bottom: 6px;
  color: #c9cbbf;
  font-size: 11.5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 22px;
  color: #707366;
  font-size: 10px;
  line-height: 1.7;
}

.footer-bottom-links {
  display: flex;
  gap: 17px;
  flex: 0 0 auto;
}

.footer-bottom a:hover {
  color: var(--lime);
}

.disclaimer {
  max-width: 700px;
  margin-top: 10px;
  color: #5f6257;
  font-size: 9.5px;
  line-height: 1.7;
}

/* ---------- 固定榜单入口 ---------- */
.article-page .rank-dock {
  display: none;
}

.rank-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px 9px 9px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-1.4deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-dock:hover {
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.dock-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--lime);
  border-radius: 9px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 900;
}

.rank-dock strong {
  display: block;
  font-size: 12px;
  line-height: 1.2;
}

.rank-dock small {
  display: block;
  margin-top: 2px;
  color: #5e2a1a;
  font-size: 9px;
  line-height: 1.2;
}

.rank-dock .dock-arrow {
  margin-left: 2px;
  font-size: 16px;
  font-weight: 700;
}

/* ---------- 内页 Hero ---------- */
.page-hero {
  position: relative;
  padding: 58px 0 48px;
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -170px;
  width: 430px;
  height: 430px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(211, 203, 185, 0.28);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--line-dark);
}

.page-hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.page-hero .page-lede {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.9;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

/* ---------- 榜单页 ---------- */
.rank-page-hero {
  position: relative;
  padding: 58px 0 54px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.rank-page-hero::before {
  content: "严选";
  position: absolute;
  right: -30px;
  bottom: -90px;
  font-family: var(--font-serif);
  font-size: 240px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
}

.rank-page-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: end;
}

.rank-page-hero .breadcrumbs {
  color: #9ea094;
}

.rank-page-hero .breadcrumbs a:hover {
  color: var(--lime);
}

.rank-page-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(58px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.rank-page-hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.rank-page-hero p {
  max-width: 650px;
  margin: 0;
  color: #b9bbaf;
  font-size: 15px;
  line-height: 1.9;
}

.rank-page-aside {
  padding: 20px;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 15px;
  box-shadow: 6px 6px 0 var(--lime);
  transform: rotate(1.2deg);
}

.rank-page-aside .k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.rank-page-aside strong {
  display: block;
  margin: 6px 0 12px;
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.2;
}

.rank-page-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-page-aside li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
}

.rank-page-aside li span:last-child {
  font-family: var(--font-mono);
  font-weight: 700;
}

.rank-page-aside .update {
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.podium-section {
  padding: 58px 0 72px;
}

.price-demo-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px;
  padding: 11px 14px;
  background: #fff6e7;
  border: 1px solid var(--line-dark);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
}

.price-demo-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 2px 9px;
  background: var(--orange);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.price-demo-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.7;
}

.price-table-note {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.price-table-note strong {
  color: var(--ink);
  font-weight: 800;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.podium-card {
  position: relative;
  padding: 27px 24px 24px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
}

.podium-card.is-first {
  background: var(--lime);
  box-shadow: 8px 8px 0 var(--ink);
  transform: translateY(-10px);
}

.podium-rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.podium-rank .big {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.podium-card h2 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.podium-card .p-sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
}

.podium-card.is-first .p-sub {
  color: #41482e;
}

.podium-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.podium-desc {
  min-height: 66px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.podium-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}

.podium-cta {
  margin-top: 16px;
}

.podium-price {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
}

.podium-price strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.1;
}

.podium-score {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.podium-score small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.rank-list-section {
  padding: 0 0 76px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-label {
  margin-right: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.filter-btn {
  padding: 7px 13px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.filter-btn:hover {
  border-color: var(--ink);
}

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.filter-count {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.table-hint {
  display: none;
}

.table-wrap {
  border: 1.5px solid var(--ink);
  border-radius: 17px;
  overflow: auto;
  background: var(--paper-light);
}

.rank-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 12px;
}

.rank-table th {
  padding: 12px 14px;
  background: var(--ink);
  color: #b9bbaf;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  white-space: nowrap;
}

.rank-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.rank-table tr:last-child td {
  border-bottom: 0;
}

.rank-table tbody tr {
  transition: background 0.16s ease;
}

.rank-table tbody tr:hover {
  background: #f8f4e8;
}

.rank-table tbody tr.is-hidden {
  display: none;
}

.t-rank {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.t-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.t-logo {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--paper);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 900;
}

.t-provider strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.t-provider small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.t-provider .row-cta {
  min-height: 30px;
  margin-top: 7px;
  padding: 4px 10px;
  font-size: 10px;
  line-height: 1.2;
  box-shadow: 2px 2px 0 var(--ink);
  white-space: nowrap;
}

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

.t-tags .tag {
  min-height: 20px;
  padding: 1px 6px;
  font-size: 9px;
}

.t-price {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
}

.t-price strong {
  font-size: 14px;
}

.t-score {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
}

.t-score small {
  color: var(--muted);
  font-size: 8px;
}

.t-action a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.t-action a:hover {
  background: var(--lime);
}

.rank-footnote {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.65;
}

/* 方法论 */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.method-card {
  padding: 25px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
}

.method-card .num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.method-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.risk-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 36px;
}

.risk-col {
  padding: 25px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
}

.risk-col.bad {
  background: #fff2ed;
}

.risk-col.good {
  background: #f2fadf;
}

.risk-col h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.risk-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-col li {
  position: relative;
  padding: 7px 0 7px 18px;
  border-top: 1px solid rgba(17, 18, 15, 0.12);
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.7;
}

.risk-col li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 7px;
  color: #c34e2b;
  font-weight: 800;
}

.risk-col.good li::before {
  content: "✓";
  color: #477312;
}

/* ---------- 下载页 ---------- */
.dl-hero {
  padding: 56px 0 50px;
}

.dl-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 50px;
  align-items: center;
}

.dl-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.dl-hero h1 em {
  font-style: normal;
  background: var(--lime);
  padding: 0 0.06em;
  border: 1.5px solid var(--ink);
  border-radius: 6px 17px 7px 15px;
  box-shadow: 4px 4px 0 var(--ink);
  display: inline-block;
  transform: rotate(-1.2deg);
}

.dl-hero p {
  max-width: 590px;
  margin: 0 0 27px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.dl-version-card {
  padding: 27px;
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 21px;
  box-shadow: 9px 9px 0 var(--lime);
  transform: rotate(1.2deg);
}

.dl-version-card .v-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid #3a3d34;
}

.dl-version-card .v-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #8f9284;
}

.dl-version-card .v-num {
  margin: 4px 0 0;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 49px;
  font-weight: 900;
  line-height: 1;
}

.dl-version-card .v-date {
  padding: 5px 8px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  white-space: nowrap;
}

.dl-version-card .v-list {
  margin: 13px 0 19px;
  padding: 0;
  list-style: none;
}

.dl-version-card .v-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
  font-size: 10.5px;
  color: #aeb0a4;
}

.dl-version-card .v-list span:last-child {
  color: var(--paper);
  font-family: var(--font-mono);
  text-align: right;
}

.dl-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 27px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 19px;
}

.dl-card.highlight {
  background: var(--lime);
}

.dl-card .file-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 11px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.dl-card h2 {
  margin: 0 0 7px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dl-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.dl-card .file-meta {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.dl-card .btn {
  margin-top: 8px;
  width: 100%;
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.req {
  padding: 20px;
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  background: var(--paper-light);
}

.req .req-k {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.req strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.req small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.version-history {
  border-top: 1.5px solid var(--ink);
}

.version-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.version-row .v {
  font-family: var(--font-mono);
  font-weight: 700;
}

.version-row .v small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 400;
}

.version-row p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.version-row a {
  font-size: 10.5px;
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
}

/* ---------- 文章内页 ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--orange);
  z-index: 9999;
}

.article-hero {
  padding: 52px 0 28px;
}

.article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.article-hero h1 {
  margin: 0 0 21px;
  font-family: var(--font-serif);
  font-size: clamp(39px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.article-lede {
  max-width: 740px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 10.5px;
}

.article-meta .sep {
  color: var(--line-dark);
}

.article-cover {
  position: relative;
  max-width: 980px;
  min-height: 295px;
  margin: 18px auto 0;
  padding: 30px;
  border: 1.5px solid var(--ink);
  border-radius: 21px;
  overflow: hidden;
  background: var(--lime);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.article-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 18, 15, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 15, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
}

.article-cover::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -80px;
  top: -110px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(17, 18, 15, 0.06), 0 0 0 70px rgba(17, 18, 15, 0.04);
}

.article-cover.c-lime { background: var(--lime); }
.article-cover.c-orange { background: var(--orange); }
.article-cover.c-violet { background: #c9c4f7; }
.article-cover.c-blue { background: #c8d2e6; }
.article-cover.c-paper { background: var(--paper-deep); }

.article-cover .ac-label {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.article-cover .ac-glyph {
  position: absolute;
  z-index: 1;
  left: 30px;
  bottom: 22px;
  font-family: var(--font-serif);
  font-size: 138px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.article-cover .ac-caption {
  position: relative;
  z-index: 1;
  max-width: 230px;
  margin: 0 0 9px;
  font-size: 11px;
  line-height: 1.7;
  text-align: right;
}

.article-body-layout {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 750px) 250px;
  gap: 70px;
  justify-content: center;
  padding: 48px 0 80px;
}

.prose {
  min-width: 0;
  font-size: 16px;
  line-height: 1.95;
  color: #25271f;
}

.prose > p {
  margin: 0 0 25px;
}

.prose > p.lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink);
}

.prose h2 {
  margin: 52px 0 18px;
  padding-top: 16px;
  border-top: 1.5px solid var(--line-dark);
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.03em;
  scroll-margin-top: 110px;
}

.prose h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  margin-bottom: 5px;
  background: var(--orange);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.prose h3 {
  margin: 34px 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  scroll-margin-top: 110px;
}

.prose ul,
.prose ol {
  margin: 0 0 25px;
  padding-left: 21px;
}

.prose li {
  margin-bottom: 8px;
  padding-left: 3px;
}

.prose li::marker {
  color: var(--orange);
  font-weight: 800;
}

.prose strong {
  font-weight: 800;
  color: var(--ink);
}

.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
}

.prose a:hover {
  background: var(--lime);
}

.prose blockquote {
  margin: 30px 0;
  padding: 19px 23px;
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);
  border-left: 6px solid var(--lime);
  border-radius: 5px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}

.prose blockquote p {
  margin: 0;
}

.prose code {
  padding: 1px 5px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.86em;
}

.prose pre {
  position: relative;
  max-width: 100%;
  margin: 24px 0 28px;
  padding: 17px 19px;
  background: var(--ink);
  color: #d9dccf;
  border-radius: 11px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}

.prose pre code {
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font-size: inherit;
}

.prose table {
  width: 100%;
  max-width: 100%;
  margin: 25px 0 29px;
  border-collapse: collapse;
  font-size: 12.5px;
  line-height: 1.65;
}

.prose th {
  padding: 10px 11px;
  background: var(--ink);
  color: var(--paper);
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
}

.prose td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.prose tr:nth-child(even) td {
  background: rgba(255, 253, 247, 0.5);
}

.prose .callout {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 12px;
  margin: 28px 0;
  padding: 17px 19px;
  background: #fff6e7;
  border: 1.5px solid var(--ink);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.8;
}

.prose .callout svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.prose .callout p {
  margin: 0;
  min-width: 0;
}

.prose .callout strong {
  display: block;
  margin-bottom: 2px;
}

.prose .end-mark {
  margin: 48px 0 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.7em;
  color: var(--line-dark);
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 105px;
}

.toc {
  padding: 19px;
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);
  border-radius: 13px;
}

.toc h2 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  border-top: 1px solid var(--line);
}

.toc a {
  display: flex;
  gap: 7px;
  padding: 7px 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.toc a::before {
  content: "0" counter(toc);
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--muted);
  padding-top: 1px;
}

.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.aside-rank {
  margin-top: 14px;
  padding: 19px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

.aside-rank .k {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.aside-rank strong {
  display: block;
  margin: 5px 0 7px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.25;
}

.aside-rank p {
  margin: 0 0 11px;
  color: #512313;
  font-size: 10px;
  line-height: 1.6;
}

.aside-rank a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  border-bottom: 1px solid var(--ink);
}

.article-foot {
  margin-top: 45px;
  padding: 20px;
  background: var(--paper-deep);
  border: 1px solid var(--line-dark);
  border-radius: 11px;
}

.article-foot .author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 900;
}

.article-foot strong {
  display: block;
  font-size: 12px;
}

.article-foot p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.related {
  padding: 66px 0 78px;
  border-top: 1.5px solid var(--ink);
  background: var(--paper-deep);
}

.related .section-head {
  margin-bottom: 28px;
}

.related .section-head h2 {
  font-size: 36px;
}

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

.related-card {
  padding: 20px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  transition: transform 0.2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
}

.related-card .cat {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.related-card h3 {
  margin: 8px 0 10px;
  font-size: 15px;
  line-height: 1.55;
}

.related-card span {
  font-size: 10px;
  font-weight: 700;
}

/* ---------- 网站地图页 ---------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sitemap-panel {
  padding: 28px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: 17px;
}

.sitemap-panel h2 {
  margin: 0 0 17px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 900;
}

.sitemap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.sitemap-list a {
  font-size: 13px;
  font-weight: 700;
}

.sitemap-list a:hover {
  text-decoration: underline;
}

.sitemap-list .path {
  max-width: 56%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: right;
  overflow-wrap: anywhere;
}

/* ---------- 滚动入场 ---------- */
/* 内容默认可见；入场仅依赖轻量交互，不因脚本延迟而隐藏。 */

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav {
    gap: 18px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-title {
    font-size: clamp(50px, 6.4vw, 72px);
  }

  .hero-stage {
    min-height: 500px;
  }

  .stage-logo {
    width: 235px;
    height: 235px;
  }

  .stage-logo img {
    width: 170px;
    height: 170px;
  }

  .spotlight-grid {
    gap: 38px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 0.7fr 0.7fr 1.1fr;
    gap: 30px;
  }

  .article-body-layout {
    grid-template-columns: minmax(0, 720px) 230px;
    gap: 38px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: var(--paper);
    border-bottom: 1.5px solid var(--ink);
    box-shadow: 0 20px 35px rgba(17, 18, 15, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin: 14px 0 0;
    padding: 12px 16px;
    border-bottom: 0 !important;
  }

  .nav-toggle {
    display: flex;
  }

  .notice-right {
    display: none;
  }

  .hero {
    padding-top: 46px;
  }

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

  .hero-lede {
    max-width: 650px;
  }

  .hero-stage {
    min-height: 520px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 31px;
  }

  .section-head p {
    margin-top: 14px;
  }

  .section-head .head-link {
    display: inline-flex;
    margin-top: 16px;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rank-board {
    max-width: 540px;
    transform: rotate(0.8deg);
  }

  .card-span-6,
  .card-span-4 {
    grid-column: span 6;
  }

  .card-span-3 {
    grid-column: span 6;
  }

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

  .core-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .core-menu-head {
    grid-column: 1 / -1;
  }

  .core-tab {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 10px 11px;
  }

  .core-tab .tab-code {
    display: none;
  }

  .core-panels {
    padding: 30px;
    min-height: 410px;
  }

  .install-block {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dl-panel {
    position: static;
    max-width: 470px;
  }

  .post-card {
    grid-column: span 6;
  }

  .post-card-featured {
    grid-column: span 12;
    grid-row: auto;
  }

  .post-card-featured .post-cover {
    min-height: 195px;
  }

  .cta-band-grid {
    display: block;
  }

  .cta-band .btn {
    margin-top: 23px;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-note {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid #34372e;
  }

  .page-hero {
    padding-top: 43px;
  }

  .rank-page-grid {
    grid-template-columns: 1fr;
    gap: 33px;
  }

  .rank-page-aside {
    max-width: 390px;
  }

  .podium {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .podium-card.is-first {
    transform: none;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .podium-desc {
    min-height: 0;
  }

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

  .risk-box {
    grid-template-columns: 1fr;
  }

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

  .dl-version-card {
    max-width: 480px;
  }

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

  .article-body-layout {
    grid-template-columns: 1fr;
    padding-top: 35px;
    gap: 30px;
  }

  .article-aside {
    position: static;
    order: -1;
  }

  .toc {
    display: none;
  }

  .aside-rank {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    padding: 14px 17px;
  }

  .aside-rank strong {
    margin: 0;
    font-size: 18px;
  }

  .aside-rank p {
    display: none;
  }

  .aside-rank a {
    margin-left: auto;
    white-space: nowrap;
  }

  .article-cover {
    min-height: 235px;
  }

  .article-cover .ac-glyph {
    font-size: 130px;
  }

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

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

@media (max-width: 640px) {
  .wrap,
  .wrap-narrow {
    width: calc(100% - 32px);
  }

  .notice-inner {
    min-height: 36px;
    font-size: 11px;
    gap: 9px;
    justify-content: flex-start;
  }

  .notice-left span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .notice-right {
    display: none;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }

  .brand-mark img {
    width: 27px;
    height: 27px;
  }

  .brand-text strong {
    font-size: 16.5px;
  }

  .brand-text small {
    font-size: 8.5px;
  }

  .hero {
    padding: 37px 0 30px;
  }

  .hero-title {
    font-size: clamp(43px, 12.8vw, 58px);
    letter-spacing: -0.05em;
    margin-bottom: 21px;
  }

  .hero-title .highlight {
    box-shadow: 3px 3px 0 var(--ink);
  }

  .hero-lede {
    font-size: 14.5px;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 14px;
    font-size: 12.5px;
  }

  .hero-facts {
    gap: 14px 0;
    margin-top: 29px;
  }

  .hero-fact {
    flex: 1 1 33%;
    margin-right: 9px;
    padding-right: 9px;
  }

  .hero-fact strong {
    font-size: 16px;
  }

  .hero-fact span {
    font-size: 9px;
  }

  .hero-stage {
    min-height: 430px;
    border-radius: 21px;
    box-shadow: 7px 7px 0 rgba(17, 18, 15, 0.12);
  }

  .stage-logo {
    width: 195px;
    height: 195px;
    border-radius: 27px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .stage-logo img {
    width: 145px;
    height: 145px;
  }

  .stage-logo::before {
    font-size: 7px;
  }

  .stage-orbit {
    width: 295px;
    height: 295px;
  }

  .stage-glow {
    width: 270px;
    height: 270px;
  }

  .stage-chip {
    font-size: 9.5px;
    padding: 6px 9px;
  }

  .chip-top {
    top: 14px;
    right: 14px;
  }

  .chip-left {
    left: 14px;
    top: 112px;
  }

  .chip-right {
    top: 206px;
    right: 13px;
  }

  .chip-right strong {
    font-size: 12px;
  }

  .stage-version {
    top: 14px;
    left: 15px;
    font-size: 8.5px;
  }

  .stage-console {
    left: 13px;
    right: 13px;
    bottom: 13px;
    font-size: 9px;
    line-height: 1.7;
  }

  .console-head {
    padding: 6px 9px;
  }

  .console-body {
    padding: 8px 10px 9px;
  }

  .mq-item {
    font-size: 11px;
  }

  .section {
    padding: 56px 0;
  }

  .section-tight {
    padding: 46px 0;
  }

  .section-head h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .section-head p {
    font-size: 13px;
  }

  .spotlight {
    padding: 55px 0;
  }

  .spotlight h2 {
    font-size: 47px;
  }

  .spotlight-copy {
    font-size: 13.5px;
  }

  .rank-stats {
    gap: 14px;
  }

  .rank-stats li {
    font-size: 9.5px;
  }

  .rank-board {
    padding: 16px;
    border-radius: 17px;
    box-shadow: 8px 8px 0 var(--lime);
  }

  .rank-board-head strong {
    font-size: 17px;
  }

  .rank-board-head span {
    font-size: 8px;
  }

  .rank-row {
    grid-template-columns: 25px 1fr auto;
    gap: 9px;
    padding: 12px 0;
  }

  .rank-row .name {
    font-size: 12.5px;
  }

  .rank-row .name small {
    font-size: 9px;
  }

  .score-pill {
    font-size: 12px;
  }

  .card {
    padding: 21px;
    border-radius: 15px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 12.5px;
  }

  .card-span-6,
  .card-span-4,
  .card-span-3 {
    grid-column: span 12;
  }

  .core-menu {
    grid-template-columns: 1fr 1fr;
  }

  .core-panels {
    padding: 22px 19px;
  }

  .core-panel h3 {
    font-size: 30px;
  }

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

  .step {
    grid-template-columns: 43px 1fr;
    gap: 13px;
    padding: 21px 0;
  }

  .step-num {
    font-size: 31px;
  }

  .step h3 {
    font-size: 17px;
  }

  .dl-panel {
    padding: 21px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .post-grid {
    gap: 12px;
  }

  .post-card {
    grid-column: span 12;
  }

  .post-card-featured .post-cover {
    min-height: 160px;
  }

  .post-card-featured .post-cover .cover-glyph {
    font-size: 78px;
  }

  .post-card-featured .post-body h3 {
    font-size: 21px;
  }

  .cta-band {
    padding: 31px 23px;
    border-radius: 18px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .cta-band h2 {
    font-size: 31px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 27px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom-links {
    margin-top: 9px;
    flex-wrap: wrap;
  }

  .rank-dock {
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 58px;
    height: 58px;
    max-width: calc(100% - 24px);
    justify-content: center;
    transform: translateY(12px);
    opacity: 0;
    visibility: hidden;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    box-shadow: 3px 3px 0 var(--ink);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .rank-dock.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .rank-dock:hover {
    transform: translateY(-2px);
  }

  .rank-dock > span:not(.dock-mark) {
    display: none;
  }

  .rank-dock .dock-mark {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    font-size: 20px;
  }

  .site-footer {
    padding: 26px 0 96px;
  }

  .footer-simple {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .footer-simple-nav {
    justify-content: flex-start;
    gap: 7px 20px;
  }

  .footer-simple-copy {
    font-size: 8.5px;
  }

  .article-page .site-footer {
    padding-bottom: 30px;
  }

  .dock-mark {
    width: 31px;
    height: 31px;
    font-size: 15px;
  }

  .page-hero {
    padding: 31px 0 34px;
  }

  .page-hero h1 {
    font-size: clamp(37px, 10.5vw, 49px);
  }

  .page-hero .page-lede {
    font-size: 13.5px;
  }

  .rank-page-hero {
    padding: 33px 0 39px;
  }

  .rank-page-hero h1 {
    font-size: clamp(57px, 16vw, 82px);
  }

  .rank-page-hero p {
    font-size: 13px;
  }

  .podium-section {
    padding: 39px 0 49px;
  }

  .price-demo-note {
    display: block;
    margin-bottom: 18px;
    padding: 12px;
  }

  .price-demo-tag {
    margin-bottom: 7px;
  }

  .price-table-note {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .podium-card {
    padding: 21px 19px;
  }

  .podium-card h2 {
    font-size: 27px;
  }

  .filter-count {
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
  }

  .table-hint {
    display: block;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 10px;
    text-align: right;
  }

  .dl-hero {
    padding: 32px 0 38px;
  }

  .dl-hero h1 {
    font-size: clamp(40px, 11.5vw, 56px);
  }

  .dl-cards {
    grid-template-columns: 1fr;
  }

  .req-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .req {
    padding: 15px;
  }

  .version-row {
    grid-template-columns: 80px 1fr;
    gap: 10px;
  }

  .version-row a {
    grid-column: 2;
    justify-self: start;
  }

  .article-hero {
    padding: 30px 0 20px;
  }

  .article-hero h1 {
    font-size: clamp(34px, 9.7vw, 45px);
  }

  .article-lede {
    font-size: 14px;
  }

  .article-cover {
    min-height: 195px;
    padding: 20px;
    border-radius: 15px;
  }

  .article-cover .ac-glyph {
    font-size: 95px;
    left: 18px;
  }

  .article-cover .ac-caption {
    font-size: 9.5px;
    max-width: 140px;
  }

  .article-body-layout {
    padding: 27px 0 55px;
  }

  .prose {
    font-size: 15px;
    line-height: 1.9;
  }

  .prose > p.lead {
    font-size: 16.5px;
  }

  .prose h2 {
    font-size: 26px;
    margin-top: 40px;
  }

  .prose h3 {
    font-size: 18px;
  }

  .prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .article-aside {
    margin-top: 4px;
  }

  .aside-rank {
    flex-wrap: wrap;
  }

  .aside-rank a {
    margin-left: 0;
  }

  .related {
    padding: 45px 0 55px;
  }

  .related .section-head h2 {
    font-size: 30px;
  }

  .sitemap-panel {
    padding: 21px;
  }

  .sitemap-list li {
    display: block;
  }

  .sitemap-list .path {
    display: block;
    margin-top: 3px;
    text-align: left;
  }

  .breadcrumbs {
    font-size: 9.5px;
    margin-bottom: 20px;
  }

  .page-hero-meta {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

}
