@charset "UTF-8";

/* =========================================================
   NekoBox for OpenWrt — 独立视觉系统
   纸感底色 / 深墨绿 / 猫耳蓝 / 信号橙
   ========================================================= */

:root {
  --paper: #f5f0e4;
  --paper-deep: #ebe3d1;
  --paper-soft: #fbf8ef;
  --white: #fffdf7;
  --ink: #15251f;
  --ink-2: #22362d;
  --ink-soft: #59665f;
  --line: #d7cebb;
  --line-dark: #bcb19b;
  --orange: #d94722;
  --orange-deep: #b93515;
  --orange-pale: #f7d9ce;
  --sky: #9bd9e8;
  --sky-soft: #d9f0f5;
  --lime: #dfe8b7;
  --lime-deep: #c8d694;
  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --shell: 1180px;
  --radius: 22px;
  --shadow: 6px 6px 0 var(--ink);
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(21, 37, 31, 0.075) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 顶部公告 ---------- */

.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.topbar-inner {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.topbar-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(223, 232, 183, 0.16);
}

.topbar-copy {
  margin: 0;
  color: rgba(245, 240, 228, 0.76);
}

.topbar-copy strong {
  color: var(--paper);
  font-weight: 600;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.topbar-actions a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.topbar-actions a:hover {
  border-bottom-color: var(--sky);
  color: var(--sky);
}

.topbar-actions .topbar-rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-weight: 700;
}

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

/* ---------- 站点头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 228, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 13px;
  background: var(--sky);
  box-shadow: 2px 2px 0 var(--ink);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.06;
  gap: 3px;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link:hover {
  background: var(--paper-deep);
}

.nav-link[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-link.nav-rank {
  margin-left: 4px;
  padding-inline: 14px;
  border: 1px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.nav-link.nav-rank:hover {
  background: var(--lime-deep);
}

.nav-hot {
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-soft);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: relative;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  overflow-y: auto;
  position: fixed;
  z-index: 79;
  inset: calc(39px + var(--header-h)) 0 0;
  background: rgba(21, 37, 31, 0.28);
  backdrop-filter: blur(3px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-panel {
  width: min(520px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 16px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
}

.mobile-menu-links {
  display: grid;
  gap: 4px;
}

.mobile-menu-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.mobile-menu-links a:hover {
  background: var(--paper-deep);
}

.mobile-menu-links a span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-soft);
}

.mobile-rank-card {
  display: block;
  margin-top: 12px;
  padding: 15px 16px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
}

.mobile-rank-card small {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

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

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

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

.btn--ink:hover {
  background: var(--ink-2);
}

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

.btn--orange:hover {
  background: #a52e11;
}

.btn--sky {
  background: var(--sky);
  color: var(--ink);
}

.btn--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.32);
}

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

.btn--ghost:hover {
  background: var(--paper-deep);
}

.btn--small {
  min-height: 39px;
  padding: 0 15px;
  font-size: 13px;
  box-shadow: 2px 2px 0 var(--ink);
}

.btn--block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--orange-deep);
  border-bottom-color: var(--orange-deep);
}

/* ---------- 首页首屏 ---------- */

.hero {
  position: relative;
  padding: 72px 0 60px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  top: 34px;
  left: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  opacity: 0.6;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  gap: 62px;
  align-items: center;
}

.hero-title {
  margin: 0;
  max-width: 800px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-title .mark {
  position: relative;
  display: inline-block;
  color: var(--orange-deep);
  white-space: nowrap;
  z-index: 0;
}

.hero-title .mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.08em;
  height: 0.22em;
  background: var(--sky);
  transform: rotate(-1.3deg);
}

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

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

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.meta-item {
  display: grid;
  gap: 1px;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid var(--line);
}

.meta-item:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.meta-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.meta-value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.hero-art {
  position: relative;
  padding: 12px 12px 0 0;
}

.hero-art::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 88%;
  height: 87%;
  border: 1px solid var(--ink);
  border-radius: 28px;
  background: var(--lime);
  transform: rotate(2.7deg);
}

.hero-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--ink);
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 rgba(21, 37, 31, 0.14);
  transform: rotate(-1.2deg);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 6px 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 228, 0.58);
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--lime);
}

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

.panel-canvas {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(245, 240, 228, 0.18);
  border-radius: 18px;
  background-color: #0f211a;
  background-image: linear-gradient(rgba(245, 240, 228, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 240, 228, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(155, 217, 232, 0.33);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit--one {
  width: 280px;
  height: 280px;
}

.orbit--two {
  width: 400px;
  height: 400px;
  border-color: rgba(223, 232, 183, 0.15);
}

.hero-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.core-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 8px rgba(155, 217, 232, 0.13);
}

.core-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.core-name {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 750;
  color: var(--paper);
}

.core-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--lime);
}

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

.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 112px;
  padding: 7px 10px;
  border: 1px solid rgba(21, 37, 31, 0.35);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  font-size: 10.5px;
  font-weight: 650;
  white-space: nowrap;
}

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

.chip--one {
  left: 10%;
  top: 14%;
}

.chip--two {
  right: 8%;
  top: 22%;
}

.chip--three {
  left: 8%;
  bottom: 18%;
}

.chip--four {
  right: 11%;
  bottom: 11%;
}

.hero-tag {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  display: inline-block;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  transform: rotate(-2deg);
}

.panel-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 12px;
}

.panel-stat {
  padding: 10px 12px;
  border: 1px solid rgba(245, 240, 228, 0.15);
  border-radius: 9px;
}

.panel-stat span {
  display: block;
  font-size: 9px;
  color: rgba(245, 240, 228, 0.52);
}

.panel-stat strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
}

/* ---------- 通用内容区块 ---------- */

.section {
  padding: 76px 0;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(33px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-intro {
  margin: 0 0 2px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.85;
}

.section-intro a {
  color: var(--ink);
  font-weight: 650;
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

/* ---------- 特性卡 ---------- */

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

.feature-grid--home .feature-card {
  grid-column: span 6;
}

.feature-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 286px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.feature-card--wide {
  grid-column: span 6;
  min-height: 326px;
  background: var(--sky-soft);
}

.feature-card--dark {
  grid-column: span 6;
  background: var(--ink);
  color: var(--paper);
}

.feature-card h3 {
  margin: 0 0 10px;
  max-width: 420px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  max-width: 450px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
}

.feature-card--dark p {
  color: rgba(245, 240, 228, 0.68);
}

.feature-index {
  margin-left: auto;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

.feature-card--dark .feature-index {
  color: var(--lime);
}

.feature-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.feature-top h3 {
  margin: 0;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.feature-card--dark .tag {
  border-color: rgba(245, 240, 228, 0.24);
  background: rgba(245, 240, 228, 0.08);
  color: var(--paper);
}

/* 迷你网络图 */

.mini-network {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: auto;
  padding-top: 22px;
}

.mini-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 47px;
  padding: 0 9px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--paper-soft);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

.mini-node--core {
  min-width: 74px;
  background: var(--ink);
  color: var(--paper);
}

.mini-line {
  width: 22px;
  height: 1px;
  background: var(--ink);
  opacity: 0.45;
}

.mini-stack {
  display: grid;
  gap: 5px;
}

.mini-stack .mini-node {
  height: 30px;
  min-width: 57px;
}

/* 内核切换小图 */

.kernel-switch {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.kernel-box {
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.kernel-box--active {
  background: var(--lime);
}

.kernel-eq {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 14px;
}

/* LuCI 状态列表 */

.status-list {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(245, 240, 228, 0.74);
}

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

.status-row b {
  margin-left: auto;
  color: var(--paper);
  font-weight: 600;
}

/* ---------- 步骤 ---------- */

.steps-band {
  margin: 8px 0 0;
  padding: 48px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper);
}

.steps-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 38px;
}

.steps-band .section-title {
  color: var(--paper);
}

.steps-band .section-intro {
  max-width: 500px;
  margin-top: 13px;
  color: rgba(245, 240, 228, 0.63);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245, 240, 228, 0.2);
}

.step {
  padding: 26px 28px 0 0;
}

.step + .step {
  padding-left: 28px;
  border-left: 1px solid rgba(245, 240, 228, 0.2);
}

.step-number {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  line-height: 0.9;
  color: var(--orange);
}

.step h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.step p {
  margin: 0;
  color: rgba(245, 240, 228, 0.64);
  font-size: 14px;
  line-height: 1.8;
}

.step a {
  display: inline-block;
  margin-top: 15px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 650;
  text-underline-offset: 0.25em;
}

.step a:hover {
  color: var(--sky);
}

/* ---------- 版本发布条 ---------- */

.release-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 36px;
  overflow: hidden;
  padding: 40px;
  border: 1px solid var(--ink);
  border-radius: 28px;
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow);
}

.release-band::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 253, 247, 0.24);
  border-radius: 50%;
}

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

.release-copy h2 {
  max-width: 560px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(31px, 3.8vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.release-copy p {
  max-width: 530px;
  margin: 16px 0 0;
  color: rgba(255, 253, 247, 0.83);
  font-size: 14.5px;
  line-height: 1.8;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.release-version {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(255, 253, 247, 0.22);
}

.release-card {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--paper-soft);
  color: var(--ink);
}

.file-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.file-row:first-child {
  padding-top: 0;
}

.file-row:last-of-type {
  border-bottom: 0;
}

.file-row dt {
  color: var(--ink-soft);
}

.file-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 8px;
  padding: 0 11px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: var(--paper-soft);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 650;
  cursor: pointer;
}

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

.sha-box {
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed var(--line-dark);
  border-radius: 9px;
  background: var(--paper);
}

.sha-box span {
  display: block;
  margin-bottom: 3px;
  font-size: 9.5px;
  color: var(--ink-soft);
}

.sha {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
}

/* ---------- 机场榜单入口 ---------- */

.rank-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 28px;
  background: var(--sky);
  box-shadow: var(--shadow);
}

.rank-copy {
  padding: 40px;
}

.rank-copy h2 {
  max-width: 520px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(31px, 3.8vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.rank-copy p {
  max-width: 480px;
  margin: 15px 0 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.8;
}

.rank-copy .btn {
  margin-top: 23px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 28px;
  background: var(--ink);
  color: var(--paper);
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(245, 240, 228, 0.18);
}

.rank-item:last-child {
  border-bottom: 0;
}

.rank-item .num {
  width: 26px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime);
}

.rank-item .name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
}

.rank-item .desc {
  margin-left: auto;
  color: rgba(245, 240, 228, 0.58);
  font-size: 11px;
  text-align: right;
}

.rank-note {
  margin: 0;
  padding-top: 14px;
  color: rgba(245, 240, 228, 0.45);
  font-size: 10px;
}

/* ---------- 文章 ---------- */

.posts {
  display: grid;
  gap: 16px;
}

.post-feature {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--ink);
  color: var(--paper);
}

.post-feature-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  overflow: hidden;
  padding: 24px;
  background: var(--orange);
}

.post-feature-art::before,
.post-feature-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 253, 247, 0.35);
  border-radius: 50%;
}

.post-feature-art::before {
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: -90px;
}

.post-feature-art::after {
  width: 140px;
  height: 140px;
  right: -20px;
  bottom: -30px;
}

.post-art-num {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 900;
  line-height: 0.9;
  color: var(--paper);
}

.post-art-label {
  position: relative;
  z-index: 1;
  max-width: 210px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255, 253, 247, 0.78);
}

.post-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
}

.post-feature-body h3 {
  max-width: 640px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.post-feature-body h3 a {
  text-decoration: none;
}

.post-feature-body h3 a:hover {
  color: var(--lime);
}

.post-feature-body p {
  max-width: 600px;
  margin: 14px 0 0;
  color: rgba(245, 240, 228, 0.65);
  font-size: 14px;
  line-height: 1.8;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.post-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.post-feature .post-meta {
  color: rgba(245, 240, 228, 0.48);
}

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

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: var(--paper-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 var(--ink);
}

.post-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--orange-deep);
}

.post-card p {
  margin: 11px 0 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75;
}

.post-card .post-meta {
  margin-top: auto;
  padding-top: 18px;
}

.post-read {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.post-read:hover {
  color: var(--orange-deep);
  border-bottom-color: var(--orange-deep);
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--ink);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px 2px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

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

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-2);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--lime);
  transform: rotate(180deg);
}

.faq-answer {
  max-width: 830px;
  padding: 0 48px 23px 2px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: 76px;
  border-top: 1px solid var(--line-dark);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 8px;
  object-fit: cover;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 20px;
}

.footer-nav a {
  color: var(--ink-soft);
  font-size: 12.5px;
  text-decoration: none;
}

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

/* ---------- 内页通用 ---------- */

.page-hero {
  position: relative;
  padding: 61px 0 48px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.breadcrumbs a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumbs a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.breadcrumbs .sep {
  opacity: 0.45;
}

.page-title {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-lede {
  max-width: 700px;
  margin: 21px 0 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.85;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 50px;
  align-items: center;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 23px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-soft);
}

.content-section {
  padding: 60px 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--line);
}

.content-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.content-head h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(29px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.content-head p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 下载页 ---------- */

.download-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 22px;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.download-panel-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.download-icon {
  width: 50px;
  height: 50px;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 13px;
  background: var(--sky);
}

.download-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-panel-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.download-panel-sub {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 10.5px;
}

.download-panel .release-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
  padding: 16px 0;
}

.release-facts div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
}

.release-facts dt {
  color: var(--ink-soft);
}

.release-facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}

.download-panel .sha-box {
  margin: 0 0 14px;
}

.download-panel .btn {
  width: 100%;
}

.download-panel-note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.65;
  text-align: center;
}

.callout {
  padding: 22px 24px;
  border: 1px solid var(--line-dark);
  border-left: 5px solid var(--ink);
  border-radius: 0 13px 13px 0;
  background: var(--paper-soft);
  font-size: 14px;
  line-height: 1.8;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
}

.callout p {
  margin: 0;
  color: var(--ink-soft);
}

.callout--warn {
  border-left-color: var(--orange-deep);
  background: var(--orange-pale);
}

.callout--warn p {
  color: #5e2a1d;
}

.callout--rank {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
}

.callout--rank h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.3;
}

.callout--rank p {
  margin: 6px 0 0;
  max-width: 620px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.7;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  background: var(--paper-soft);
}

.compat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 620px;
}

.compat-table th,
.compat-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compat-table th {
  background: var(--paper-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

.compat-table td:first-child {
  font-weight: 650;
}

.compat-table code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: 11px;
}

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

.install-grid > * {
  min-width: 0;
}

.install-card {
  min-width: 0;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--paper-soft);
}

.install-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 900;
}

.install-card > p {
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.terminal {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(245, 240, 228, 0.13);
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(245, 240, 228, 0.45);
}

.terminal-head::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.terminal pre {
  max-width: 100%;
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  white-space: pre;
}

.terminal code {
  font-family: inherit;
}

.step-list {
  counter-reset: install-step;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  counter-increment: install-step;
  position: relative;
  padding: 0 0 20px 44px;
  font-size: 14px;
  line-height: 1.75;
}

.step-list li::before {
  content: counter(install-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--orange-deep);
}

.step-list li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 23px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}

.step-list li:last-child {
  padding-bottom: 0;
}

.step-list li:last-child::after {
  display: none;
}

.step-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.step-list span {
  color: var(--ink-soft);
}

/* ---------- 排行榜 ---------- */

.ranking-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  background: var(--ink);
  color: var(--paper);
}

.ranking-hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -150px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(155, 217, 232, 0.22);
  border-radius: 50%;
}

.ranking-hero::after {
  content: "";
  position: absolute;
  right: 120px;
  top: 90px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(223, 232, 183, 0.16);
  border-radius: 50%;
}

.ranking-hero .breadcrumbs {
  position: relative;
  z-index: 1;
  color: rgba(245, 240, 228, 0.54);
}

.ranking-hero .breadcrumbs a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.ranking-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(320px, 0.87fr);
  gap: 56px;
  align-items: end;
}

.ranking-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 78px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--paper);
}

.ranking-title .word-accent {
  color: var(--lime);
}

.ranking-lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(245, 240, 228, 0.68);
  font-size: 16px;
  line-height: 1.85;
}

.ranking-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid rgba(245, 240, 228, 0.18);
  padding-top: 18px;
}

.rank-stat {
  padding-right: 25px;
  margin-right: 25px;
  border-right: 1px solid rgba(245, 240, 228, 0.18);
}

.rank-stat:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.rank-stat span {
  display: block;
  font-size: 10px;
  color: rgba(245, 240, 228, 0.46);
}

.rank-stat strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
}

.weight-panel {
  padding: 24px;
  border: 1px solid rgba(245, 240, 228, 0.3);
  border-radius: 18px;
  background: rgba(245, 240, 228, 0.055);
}

.weight-panel h2 {
  margin: 0 0 17px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  color: var(--paper);
}

.weight-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  font-size: 11px;
  color: rgba(245, 240, 228, 0.7);
}

.weight-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 240, 228, 0.15);
}

.weight-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sky);
}

.weight-item:nth-child(4) .weight-bar span {
  background: var(--lime);
}

.weight-item b {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-align: right;
  color: var(--paper);
}

.ranking-note {
  margin: 17px 0 0;
  color: rgba(245, 240, 228, 0.37);
  font-size: 9.5px;
  line-height: 1.6;
}

.ranking-section {
  padding: 60px 0;
}

.ranking-section + .ranking-section {
  border-top: 1px solid var(--line);
}

.section-head--rank {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 25px;
}

.section-head--rank h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(29px, 3.7vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head--rank p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 34px;
}

.method-card {
  position: relative;
  min-height: 150px;
  padding: 17px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: var(--paper-soft);
}

.method-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 750;
}

.method-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.65;
}

.method-num {
  position: absolute;
  right: 13px;
  bottom: 8px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--line);
}

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

.pick-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--paper-soft);
  box-shadow: 4px 4px 0 var(--ink);
}

.pick-card:nth-child(1) {
  background: var(--sky-soft);
}

.pick-card:nth-child(2) {
  background: var(--lime);
}

.pick-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.pick-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pick-tag {
  display: inline-block;
  margin: 7px 0 0;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--ink-soft);
}

.pick-desc {
  margin: 15px 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.75;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 13px 0;
  border-top: 1px solid rgba(21, 37, 31, 0.16);
  border-bottom: 1px solid rgba(21, 37, 31, 0.16);
}

.metric {
  min-width: 0;
}

.metric-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.metric-label {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.4;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 14px;
}

.price {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.price small {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-note {
  color: var(--ink-soft);
  font-size: 9.5px;
  text-align: right;
}

.airport-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.airport-btn:hover {
  background: var(--orange-deep);
  color: var(--white);
}

.airport-btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.ranking-list {
  display: grid;
  gap: 9px;
}

.airport-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1.45fr) minmax(250px, 0.9fr) 110px 132px;
  align-items: center;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  background: var(--paper-soft);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.airport-row:hover {
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.row-rank {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  line-height: 0.8;
  color: var(--line-dark);
  font-variant-numeric: tabular-nums;
}

.airport-row:nth-child(-n + 3) .row-rank {
  color: var(--orange-deep);
}

.row-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.row-tag {
  display: inline-block;
  margin-left: 7px;
  vertical-align: 2px;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.row-desc {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.6;
}

.row-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.row-metric {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.row-metric small {
  display: block;
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.row-price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
}

.row-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.row-action .airport-btn {
  min-height: 38px;
  font-size: 12px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid var(--line-dark);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.7;
}

.check-item::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 3px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--lime);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.price-overview {
  margin-top: 27px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.price-overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  margin-bottom: 11px;
}

.price-overview-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
}

.price-overview-head p {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.7;
}

.cycle-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed;
}

.cycle-table th,
.cycle-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.cycle-table th {
  background: var(--paper-deep);
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.cycle-table td {
  color: var(--ink-2);
}

.cycle-table td:nth-child(2) {
  font-family: var(--font-mono);
  font-weight: 650;
  white-space: nowrap;
}

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

.disclaimer {
  margin: 25px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.75;
}

/* ---------- 文章页 ---------- */

.reading-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--orange);
}

.article-hero {
  padding: 51px 0 38px;
  border-bottom: 1px solid var(--line);
}

.article-title {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(37px, 4.9vw, 62px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-deck {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-soft);
}

.article-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 58px;
  padding: 48px 0 30px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-body {
  max-width: 760px;
  font-size: 16.5px;
  line-height: 1.95;
}

.article-body > p:first-child {
  font-size: 17.5px;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body h2 {
  margin: 48px 0 16px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  scroll-margin-top: 110px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 30px 0 10px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.5;
}

.article-body ul,
.article-body ol {
  margin: 0 0 23px;
  padding-left: 1.3em;
}

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

.article-body li::marker {
  color: var(--orange-deep);
}

.article-body strong {
  font-weight: 750;
}

.article-body a {
  color: var(--orange-deep);
  text-decoration-color: rgba(185, 53, 21, 0.35);
}

.article-body a:hover {
  text-decoration-color: var(--orange-deep);
}

.article-body code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: 0.84em;
  overflow-wrap: anywhere;
}

.article-body pre {
  margin: 0 0 24px;
  padding: 18px;
  overflow-x: auto;
  border-radius: 11px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}

.article-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  overflow-wrap: normal;
}

.article-body blockquote {
  margin: 27px 0;
  padding: 17px 22px;
  border-left: 4px solid var(--sky);
  border-radius: 0 10px 10px 0;
  background: var(--paper-soft);
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-body .table-wrap {
  margin: 0 0 24px;
  overflow-x: auto;
}

.article-body table {
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.65;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--paper-deep);
  font-weight: 700;
}

.article-callout {
  margin: 28px 0;
  padding: 20px 23px;
  border: 1px solid var(--line-dark);
  border-left: 5px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: var(--orange-pale);
  color: #542719;
  font-size: 14px;
  line-height: 1.85;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article-callout strong {
  font-weight: 750;
}

.article-end {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.article-end p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 13px;
  margin-top: 28px;
}

.article-nav a {
  max-width: 48%;
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: var(--paper-soft);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
  text-decoration: none;
}

.article-nav a:hover {
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.article-nav a span {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--ink-soft);
}

.article-nav a:last-child {
  text-align: right;
  margin-left: auto;
}

.sidebar {
  display: grid;
  gap: 15px;
  position: sticky;
  top: 100px;
}

.rank-side-card {
  padding: 21px;
  border: 1px solid var(--ink);
  border-radius: 15px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
}

.rank-side-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.rank-side-card p {
  margin: 9px 0 14px;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.7;
}

.rank-side-card .btn {
  width: 100%;
  min-height: 39px;
  padding-inline: 12px;
  font-size: 12px;
  box-shadow: 2px 2px 0 var(--ink);
}

.toc {
  padding: 19px;
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  background: var(--paper-soft);
}

.toc h2 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 750;
  color: var(--ink-soft);
}

.toc ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.5;
  text-decoration: none;
}

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

.related {
  padding: 19px;
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  background: var(--paper-soft);
}

.related h2 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 750;
  color: var(--ink-soft);
}

.related ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related a {
  font-size: 12px;
  line-height: 1.55;
  text-decoration: none;
}

.related a:hover {
  color: var(--orange-deep);
}

/* ---------- 网站地图 ---------- */

.sitemap-hero {
  padding: 58px 0 40px;
  border-bottom: 1px solid var(--line);
}

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

.map-block {
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 17px;
  background: var(--paper-soft);
}

.map-block:first-child {
  grid-column: span 3;
  background: var(--sky-soft);
}

.map-block h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
}

.map-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-block:first-child .map-list {
  grid-template-columns: repeat(3, 1fr);
}

.map-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-decoration: none;
}

.map-list a:hover {
  color: var(--orange-deep);
}

.map-list a span {
  flex: none;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-soft);
}

/* ---------- 动效 ---------- */

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

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

/* ---------- 响应式 ---------- */

@media (max-width: 1120px) {
  .hero-grid {
    gap: 36px;
  }

  .main-nav {
    gap: 0;
  }

  .nav-link {
    padding-inline: 9px;
    font-size: 13px;
  }

  .header-inner {
    gap: 16px;
  }

  .airport-row {
    grid-template-columns: 48px minmax(0, 1.3fr) minmax(220px, 0.9fr) 90px 120px;
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .main-nav,
  .header-download {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid,
  .page-hero-grid,
  .ranking-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-art {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .ranking-hero-grid {
    align-items: start;
  }

  .weight-panel {
    max-width: 560px;
  }

  .section-head,
  .section-head--rank {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .feature-card,
  .feature-card--wide,
  .feature-card--dark {
    grid-column: span 6;
  }

  .feature-grid--home .feature-card {
    grid-column: span 6;
  }

  .feature-card--dark {
    grid-column: span 12;
    min-height: 250px;
  }

  .steps-band {
    padding: 36px;
  }

  .release-band {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .rank-banner {
    grid-template-columns: 1fr;
  }

  .rank-list {
    padding: 17px 28px;
  }

  .post-feature {
    grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
  }

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

  .sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .rank-side-card {
    grid-row: span 2;
  }

  .install-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .pick-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0 24px;
  }

  .pick-head,
  .pick-desc {
    grid-column: 1;
  }

  .pick-desc {
    margin-bottom: 0;
  }

  .pick-card .metrics,
  .pick-card .price-row {
    grid-column: 2;
  }

  .pick-card .metrics {
    grid-row: 1 / span 2;
    align-self: end;
  }

  .pick-card .price-row {
    grid-row: 3;
    align-self: start;
  }

  .pick-card .airport-btn {
    grid-column: 1 / -1;
    margin-top: 14px;
  }

  .airport-row {
    grid-template-columns: 48px minmax(0, 1fr) 84px 112px;
    grid-template-areas:
      "rank main price action"
      "rank metrics price action";
  }

  .row-rank { grid-area: rank; }
  .row-main { grid-area: main; }
  .row-metrics { grid-area: metrics; }
  .row-price { grid-area: price; text-align: left; }
  .row-action { grid-area: action; }

  .row-metrics {
    margin-top: 4px;
  }

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

  .map-block:first-child {
    grid-column: span 2;
  }

  .map-block:first-child .map-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  .shell {
    width: min(var(--shell), calc(100% - 32px));
  }

  .topbar-inner {
    min-height: 35px;
    gap: 9px;
  }

  .topbar-copy {
    display: none;
  }

  .topbar-actions {
    gap: 13px;
  }

  .topbar-actions .topbar-install {
    display: none;
  }

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

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

  .brand-text em {
    font-size: 9px;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .mobile-menu {
    inset: calc(35px + var(--header-h)) 0 0;
  }

  .hero {
    padding: 41px 0 47px;
  }

  .hero-title {
    font-size: clamp(39px, 10.6vw, 66px);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 15.5px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-meta {
    margin-top: 27px;
  }

  .meta-item {
    padding-right: 16px;
    margin-right: 16px;
  }

  .hero-art {
    padding: 8px 8px 0 0;
  }

  .panel-canvas {
    min-height: 330px;
  }

  .orbit--two {
    width: 330px;
    height: 330px;
  }

  .orbit--one {
    width: 240px;
    height: 240px;
  }

  .hero-core {
    width: 125px;
  }

  .core-logo {
    width: 91px;
    height: 91px;
  }

  .core-name {
    font-size: 13px;
  }

  .hero-chip {
    font-size: 9.5px;
    padding: 6px 8px;
  }

  .section {
    padding: 55px 0;
  }

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

  .section-title {
    font-size: clamp(31px, 8vw, 45px);
  }

  .section-intro {
    font-size: 14px;
  }

  .feature-card,
  .feature-card--wide,
  .feature-card--dark,
  .feature-grid--home .feature-card {
    grid-column: span 12;
    min-height: 0;
    padding: 22px;
  }

  .feature-card h3 {
    font-size: 23px;
  }

  .feature-card--wide {
    min-height: 310px;
  }

  .mini-network {
    flex-wrap: wrap;
    gap: 6px;
  }

  .mini-line {
    width: 14px;
  }

  .steps-band {
    padding: 27px 22px;
    border-radius: 22px;
  }

  .steps-top {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 27px;
  }

  .steps-band .section-title {
    font-size: 32px;
  }

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

  .step {
    padding: 22px 0;
  }

  .step + .step {
    padding-left: 0;
    border-top: 1px solid rgba(245, 240, 228, 0.2);
    border-left: 0;
  }

  .step-number {
    font-size: 54px;
  }

  .release-band {
    padding: 25px 21px;
    border-radius: 21px;
  }

  .release-actions .btn {
    width: 100%;
  }

  .release-version {
    font-size: 61px;
  }

  .rank-copy {
    padding: 27px 22px;
  }

  .rank-copy h2 {
    font-size: 32px;
  }

  .rank-list {
    padding: 14px 22px;
  }

  .rank-item .desc {
    display: none;
  }

  .post-feature {
    grid-template-columns: 1fr;
  }

  .post-feature-art {
    min-height: 165px;
    padding: 18px;
  }

  .post-art-num {
    font-size: 65px;
  }

  .post-feature-body {
    padding: 24px 22px 26px;
  }

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

  .post-card {
    min-height: 0;
  }

  .post-card .post-meta {
    margin-top: 18px;
  }

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

  .page-title {
    font-size: clamp(37px, 10.3vw, 57px);
  }

  .page-lede {
    font-size: 15px;
  }

  .content-section {
    padding: 45px 0;
  }

  .content-head h2 {
    font-size: 31px;
  }

  .download-panel {
    padding: 18px;
  }

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

  .install-card {
    padding: 21px;
  }

  .terminal pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .callout--rank {
    align-items: flex-start;
    padding: 22px;
  }

  .callout--rank h3 {
    font-size: 22px;
  }

  .callout--rank .btn {
    width: 100%;
  }

  .ranking-hero {
    padding: 37px 0 37px;
  }

  .ranking-title {
    font-size: clamp(52px, 16vw, 72px);
  }

  .ranking-lede {
    font-size: 15px;
  }

  .ranking-stats {
    gap: 13px 0;
  }

  .rank-stat {
    padding-right: 15px;
    margin-right: 15px;
  }

  .ranking-section {
    padding: 45px 0;
  }

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

  .method-card {
    min-height: 140px;
  }

  .pick-card {
    display: flex;
    padding: 20px;
  }

  .pick-desc {
    margin-bottom: 15px;
  }

  .pick-card .airport-btn {
    margin-top: 0;
  }

  .airport-row {
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "rank main"
      "rank metrics"
      "price price"
      "action action";
    gap: 9px 13px;
    padding: 15px;
  }

  .row-rank {
    font-size: 42px;
  }

  .row-price {
    grid-area: price;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 2px;
  }

  .row-price small {
    display: inline;
  }

  .row-action {
    grid-area: action;
    margin-top: 3px;
  }

  .row-action .airport-btn {
    min-height: 42px;
    font-size: 13px;
  }

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

  .price-overview {
    margin-top: 22px;
    padding-top: 18px;
  }

  .price-overview-head {
    display: block;
  }

  .price-overview-head h3 {
    font-size: 18px;
  }

  .price-overview-head p {
    margin-top: 3px;
    font-size: 11px;
  }

  .cycle-table {
    font-size: 11.5px;
  }

  .cycle-table th,
  .cycle-table td {
    padding: 8px 6px;
  }

  .cycle-table th {
    font-size: 9.5px;
  }

  .compat-table {
    min-width: 0;
  }

  .compat-table thead {
    display: none;
  }

  .compat-table tbody,
  .compat-table tr,
  .compat-table td {
    display: block;
    width: auto;
  }

  .compat-table tr {
    padding: 13px 15px;
    border-bottom: 1px solid var(--line);
  }

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

  .compat-table td {
    padding: 0;
    border: 0;
  }

  .compat-table td:first-child {
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 750;
  }

  .compat-table td:nth-child(2) {
    margin-bottom: 3px;
    font-size: 12.5px;
  }

  .compat-table td:nth-child(2)::before {
    content: "要求：";
    color: var(--ink-soft);
    font-weight: 600;
  }

  .compat-table td:nth-child(3) {
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.65;
  }

  .compat-table td:nth-child(3)::before {
    content: "说明：";
    font-weight: 600;
  }

  .article-hero {
    padding: 37px 0 31px;
  }

  .article-title {
    font-size: clamp(34px, 9.2vw, 52px);
  }

  .article-deck {
    font-size: 15px;
  }

  .article-layout {
    padding-top: 35px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.9;
  }

  .article-body > p:first-child {
    font-size: 16.5px;
  }

  .article-body h2 {
    margin-top: 38px;
    font-size: 27px;
  }

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

  .rank-side-card {
    grid-row: auto;
  }

  .article-nav a {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .article-nav a:last-child {
    text-align: left;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
    padding: 34px 0;
  }

  .map-block:first-child {
    grid-column: span 1;
  }

  .map-block:first-child .map-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 23px 0;
    min-height: 0;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 8px 18px;
  }

  .site-footer {
    margin-top: 54px;
  }
}

@media (max-width: 420px) {
  .brand-text em {
    display: none;
  }

  .topbar-actions {
    font-size: 11px;
  }

  .hero-title {
    font-size: 39px;
  }

  .hero-actions .btn {
    width: 100%;
    flex-basis: 100%;
  }

  .meta-item {
    margin-bottom: 8px;
  }

  .hero-chip {
    max-width: 92px;
  }

  .panel-foot {
    grid-template-columns: 1fr;
  }

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

  .ranking-title {
    font-size: 52px;
  }
}

/* ---------- 打印 ---------- */

@media print {
  .topbar,
  .site-header,
  .mobile-menu,
  .reading-progress,
  .site-footer,
  .sidebar,
  .article-nav,
  .airport-btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .article-layout {
    display: block;
  }

  .article-body {
    max-width: none;
  }
}

