/* ==========================================================================
   Clash Meta for Android 安卓站 · 独立视觉样式
   纸张底色 + 深海军蓝 + 信号橙，编辑部手册与监测终端混合风格
   ========================================================================== */

:root {
  --paper: #f4f0e6;
  --paper-deep: #e9e3d5;
  --card: #fbf8f1;
  --white: #fffdf8;
  --ink: #0d2136;
  --navy: #173453;
  --navy-deep: #0b1b2c;
  --blue: #1e4275;
  --orange: #ef5a35;
  --orange-dark: #d34622;
  --green: #45b383;
  --mint: #cfe4d5;
  --sand: #e8d6b6;
  --muted: #5c6873;
  --muted-light: #9dabb7;
  --line: #d6cebf;
  --line-dark: rgba(255, 255, 255, 0.14);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --mono: "SFMono-Regular", "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --wrap: 1200px;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(13, 33, 54, 0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(13, 33, 54, 0.08) 0.6px, transparent 0.6px),
    linear-gradient(90deg, rgba(13, 33, 54, 0.025) 1px, transparent 1px);
  background-size: 18px 18px, 72px 72px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--orange);
}

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

img {
  height: auto;
}

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

ul,
ol {
  padding-left: 1.2em;
}

h1,
h2,
h3,
h4 {
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

p {
  text-wrap: pretty;
}

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

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

.section {
  position: relative;
  padding: 108px 0;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* ---------- 通用组件 ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  background: currentColor;
}

.kicker-light {
  color: #ff9478;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.68);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(69, 179, 131, 0.12);
}

.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  color: var(--btn-fg);
  background: var(--btn-bg);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn .arrow {
  font-family: var(--mono);
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--navy-deep);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-accent {
  --btn-bg: var(--orange);
  --btn-fg: #fff;
}

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

.btn-light {
  --btn-bg: var(--paper);
  --btn-fg: var(--navy-deep);
}

.btn-light:hover {
  background: #fff;
}

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
}

.btn-outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}

.btn-outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-border: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--navy-deep);
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 62px;
  padding: 0 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  transition: color 0.2s ease, gap 0.2s ease;
}

.text-link .arrow {
  font-family: var(--mono);
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--orange-dark);
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
}

.tag-accent {
  border-color: rgba(239, 90, 53, 0.28);
  color: var(--orange-dark);
  background: rgba(239, 90, 53, 0.07);
}

.mono {
  font-family: var(--mono);
}

/* ---------- 公告条 ---------- */

.topbar {
  position: relative;
  z-index: 60;
  color: var(--paper);
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
}

.topbar-note .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #73d8a9;
  box-shadow: 0 0 0 4px rgba(115, 216, 169, 0.12);
  animation: breathe 2.6s ease-in-out infinite;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #ffb6a2;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: #fff;
}

.topbar-link span {
  font-family: var(--mono);
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 230, 0.91);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(13, 33, 54, 0.08);
}

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

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

.brand img {
  width: 45px;
  height: 45px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(13, 33, 54, 0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 5px;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
}

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

.main-nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334454;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(13, 33, 54, 0.045);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--ink);
}

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

.header-actions .btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.header-actions .btn-ghost:hover {
  background: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

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

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "稳";
  position: absolute;
  right: -2vw;
  bottom: -14%;
  z-index: 0;
  font-size: clamp(360px, 46vw, 760px);
  font-weight: 900;
  line-height: 0.8;
  color: rgba(13, 33, 54, 0.035);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero-copy {
  padding-bottom: 54px;
}

.hero h1 {
  margin-top: 24px;
  max-width: 8.8em;
}

.hero h1 .line {
  display: block;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  font-style: normal;
  color: var(--orange-dark);
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.03em;
  right: -0.08em;
  bottom: 0.08em;
  height: 0.18em;
  background: var(--orange);
  opacity: 0.18;
  transform: rotate(-1.2deg);
}

.hero-lede {
  max-width: 600px;
  margin-top: 28px;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.95;
  color: #41505f;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero-note svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 24px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.hero-stat + .hero-stat {
  padding-left: 24px;
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat span {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-stat strong {
  font-family: var(--mono);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero-stat strong em {
  margin-left: 2px;
  font-family: var(--sans);
  font-size: 0.65em;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- 监测终端视觉 ---------- */

.hero-visual {
  position: relative;
  padding: 16px 8px 46px;
}

.console {
  position: relative;
  z-index: 2;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: var(--navy-deep);
  color: #f5f1e8;
  box-shadow: 18px 18px 0 rgba(239, 90, 53, 0.17), 0 30px 60px rgba(13, 33, 54, 0.22);
  transform: rotate(0.6deg);
}

.console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.console > * {
  position: relative;
  z-index: 1;
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.console-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #9fb0bf;
}

.console-title::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(69, 179, 131, 0.16);
}

.console-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(69, 179, 131, 0.26);
  border-radius: 999px;
  color: #8ee4b7;
  background: rgba(69, 179, 131, 0.1);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.console-node {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 0;
}

.console-node-label {
  font-size: 0.72rem;
  color: #8fa1b2;
}

.console-node-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.regional-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(239, 90, 53, 0.14);
}

.console-latency {
  text-align: right;
}

.console-latency span {
  display: block;
  font-size: 0.68rem;
  color: #8fa1b2;
}

.console-latency strong {
  font-family: var(--mono);
  font-size: 1.45rem;
  line-height: 1.2;
  color: #f8f5ee;
}

.console-latency strong em {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-style: normal;
  color: #8fa1b2;
}

.console-speed {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.console-speed strong {
  display: block;
  font-family: var(--mono);
  font-size: clamp(3.1rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.console-speed strong small {
  margin-left: 5px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #8fa1b2;
}

.console-speed > span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  color: #8fa1b2;
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 46%;
  height: 74px;
  padding-bottom: 2px;
}

.spark i {
  flex: 1;
  height: var(--h);
  min-height: 4px;
  border-radius: 2px 2px 0 0;
  background: #385a7b;
  transform-origin: bottom;
  animation: grow-bar 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 35ms);
}

.spark i:nth-last-child(-n + 4) {
  background: var(--orange);
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: var(--line-dark);
}

.console-metric {
  padding: 11px 12px;
  background: #10263d;
}

.console-metric span {
  display: block;
  font-size: 0.62rem;
  color: #8fa1b2;
}

.console-metric strong {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.98rem;
  font-weight: 600;
  color: #f5f1e8;
}

.console-metric strong em {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 400;
  color: #8fa1b2;
}

.node-list {
  margin-top: 16px;
  border-top: 1px solid var(--line-dark);
}

.node-row {
  display: grid;
  grid-template-columns: auto minmax(84px, 1fr) 72px 54px;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  font-size: 0.68rem;
  color: #b8c4ce;
}

.node-row:last-child {
  border-bottom: 0;
}

.node-row .regional-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.node-row:nth-child(2) .regional-dot {
  background: #68b9e8;
}

.node-row:nth-child(3) .regional-dot {
  background: #cde3a1;
}

.node-meter {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
}

.node-meter i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: #6e91b1;
}

.node-row:first-child .node-meter i {
  background: var(--orange);
}

.node-row span:last-child {
  font-family: var(--mono);
  text-align: right;
  color: #d9e1e7;
}

.float-card {
  position: absolute;
  z-index: 3;
  left: -18px;
  bottom: 5px;
  width: 210px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
}

.float-card > span {
  font-size: 0.66rem;
  color: var(--muted);
}

.float-card strong {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.float-card strong em {
  font-family: var(--sans);
  font-size: 0.5em;
  font-style: normal;
  color: var(--muted);
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  margin-top: 8px;
}

.mini-bars i {
  flex: 1;
  height: var(--h);
  min-height: 3px;
  background: var(--navy);
  opacity: 0.7;
}

.mini-bars i:last-child {
  background: var(--orange);
  opacity: 1;
}

.console-corner {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0;
  width: 78px;
  height: 78px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  border-radius: 0 24px 0 0;
  transform: translate(14px, -14px);
}

/* ---------- 滚动文字带 ---------- */

.ticker {
  overflow: hidden;
  color: #fff;
  background: var(--orange);
  border-bottom: 1px solid rgba(13, 33, 54, 0.18);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.ticker-item::after {
  content: "✳";
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 区块标题 ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 40px 72px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head h2 {
  margin-top: 14px;
  max-width: 14em;
}

.section-head p {
  max-width: 430px;
  padding-bottom: 6px;
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--muted);
}

.section-head .text-link {
  margin-top: 19px;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.section-index strong {
  color: var(--orange-dark);
}

/* ---------- 功能网格 ---------- */

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

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 265px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.6);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(13, 33, 54, 0.36);
  background: var(--card);
  transform: translateY(-3px);
}

.feature-card:nth-child(1) {
  grid-column: span 7;
}

.feature-card:nth-child(2) {
  grid-column: span 5;
}

.feature-card:nth-child(3),
.feature-card:nth-child(4),
.feature-card:nth-child(5) {
  grid-column: span 4;
}

.feature-card:nth-child(6) {
  grid-column: span 12;
  min-height: 190px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: var(--navy);
}

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

.feature-card h3 {
  margin-top: 23px;
}

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

.feature-visual {
  position: relative;
  margin-top: auto;
  padding-top: 24px;
}

/* 导入订阅视觉 */
.import-ui {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.import-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
}

.import-ui-head span:last-child {
  color: var(--green);
}

.import-ui-body {
  display: flex;
  gap: 8px;
  padding: 12px;
}

.import-field {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}

.import-field span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.import-btn {
  flex: none;
  padding: 8px 12px;
  border-radius: 7px;
  color: #fff;
  background: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
}

/* 规则标签视觉 */
.rule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rule-chips span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--navy);
}

.rule-chips span:nth-child(2) {
  border-color: rgba(239, 90, 53, 0.3);
  color: var(--orange-dark);
  background: rgba(239, 90, 53, 0.07);
}

.rule-chips span:nth-child(4) {
  color: #2d7a58;
  background: rgba(69, 179, 131, 0.08);
  border-color: rgba(69, 179, 131, 0.28);
}

/* 速度条视觉 */
.speed-visual {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 68px;
}

.speed-visual i {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: var(--navy);
  opacity: 0.24;
}

.speed-visual i:nth-last-child(-n + 3) {
  background: var(--orange);
  opacity: 1;
}

/* 分应用代理视觉 */
.app-switch-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.app-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.7rem;
}

.app-switch .avatar {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--paper-deep);
}

.app-switch:nth-child(2) .avatar {
  background: rgba(239, 90, 53, 0.3);
}

.app-switch:nth-child(3) .avatar {
  background: rgba(69, 179, 131, 0.3);
}

.app-switch .toggle {
  position: relative;
  width: 27px;
  height: 15px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--orange);
}

.app-switch .toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
}

.app-switch:nth-child(2) .toggle {
  background: var(--line);
}

.app-switch:nth-child(2) .toggle::after {
  right: auto;
  left: 3px;
}

/* 日志视觉 */
.log-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.63rem;
  line-height: 1.45;
  color: #48647e;
}

.log-lines span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-lines b {
  margin-right: 9px;
  color: var(--green);
  font-weight: 500;
}

.log-lines span:nth-child(3) b {
  color: var(--orange);
}

/* 第六张大卡 */
.feature-wide {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.feature-wide h3 {
  margin-top: 18px;
}

.feature-wide p {
  max-width: 38em;
}

.battery-meter {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.battery-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 82%, var(--paper-deep) 82% 100%);
}

.battery-ring::before {
  content: "";
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--white);
}

.battery-ring span {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.battery-meta {
  flex: 1;
}

.battery-meta strong {
  display: block;
  font-size: 0.86rem;
}

.battery-meta span {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  color: var(--muted);
}

.battery-meta .line {
  height: 4px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper-deep);
}

.battery-meta .line i {
  display: block;
  width: 82%;
  height: 100%;
  background: var(--green);
}

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

.steps-section {
  color: var(--paper);
  background: var(--navy-deep);
  overflow: hidden;
}

.steps-section::before {
  content: "01—03";
  position: absolute;
  right: -30px;
  top: -30px;
  font-family: var(--mono);
  font-size: clamp(150px, 20vw, 300px);
  font-weight: 700;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.steps-section .section-head h2 {
  color: var(--paper);
}

.steps-section .section-head p {
  color: #aebbc5;
}

.steps-section .section-index {
  color: #8d9daa;
}

.steps-section .section-index strong {
  color: #ff8f72;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.step {
  position: relative;
  padding: 34px 32px 36px;
  border-right: 1px solid var(--line-dark);
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step-no {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: #ff9478;
}

.step h3 {
  margin-top: 32px;
  color: var(--paper);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.step p {
  max-width: 31em;
  margin-top: 13px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #aebbc5;
}

.step-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 25px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: #d0d9df;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffb6a2;
}

.step-link:hover {
  color: #fff;
}

.steps-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
}

.steps-foot p {
  font-size: 0.8rem;
  color: #91a1ae;
}

/* ---------- 榜单引导 ---------- */

.rank-promo {
  position: relative;
  padding: 86px 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--orange);
}

.rank-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 33, 54, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 33, 54, 0.11) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.rank-promo::after {
  content: "榜";
  position: absolute;
  right: 2vw;
  bottom: -10%;
  font-size: clamp(260px, 36vw, 560px);
  font-weight: 900;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.rank-promo-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.rank-promo .kicker {
  color: var(--navy-deep);
}

.rank-promo .kicker::before {
  background: var(--navy-deep);
}

.rank-promo h2 {
  max-width: 9em;
  margin-top: 17px;
  color: #fff;
  font-size: clamp(2.3rem, 4.7vw, 4rem);
}

.rank-promo p {
  max-width: 35em;
  margin-top: 20px;
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
}

.rank-promo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.rank-promo .btn-light {
  --btn-bg: var(--navy-deep);
  --btn-fg: #fff;
}

.rank-promo .btn-light:hover {
  --btn-bg: #071422;
}

.rank-promo .text-link {
  color: #fff;
}

.rank-promo .text-link:hover {
  color: var(--navy-deep);
}

.rank-board {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 17px;
  background: var(--navy-deep);
  box-shadow: 15px 15px 0 rgba(13, 33, 54, 0.18);
  transform: rotate(-1deg);
}

.rank-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.65rem;
  color: #a7b5c0;
}

.rank-board-head span:last-child {
  color: #79d3a8;
}

.rank-board-list {
  padding: 6px 20px 12px;
}

.rank-board-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 92px 44px;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

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

.rank-board-row .no {
  font-family: var(--mono);
  font-size: 0.71rem;
  color: #8295a4;
}

.rank-board-row .name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #f3efe5;
}

.rank-board-row .name small {
  display: block;
  margin-top: 1px;
  font-size: 0.61rem;
  font-weight: 400;
  color: #8496a5;
}

.rank-board-row .bar {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.rank-board-row .bar i {
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--orange);
}

.rank-board-row .score {
  font-family: var(--mono);
  font-size: 0.85rem;
  text-align: right;
  color: #f3efe5;
}

.rank-board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.64rem;
  color: #8496a5;
}

.rank-board-foot a {
  color: #ffb19d;
  font-weight: 700;
}

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

.articles-section {
  background: var(--paper);
}

.home-articles {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
}

.featured-post {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 34px;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy);
  border-radius: var(--radius);
}

.featured-post::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 16%, rgba(239, 90, 53, 0.45) 0, transparent 34%),
    linear-gradient(135deg, transparent 35%, rgba(255, 255, 255, 0.04) 35%, rgba(255, 255, 255, 0.04) 36%, transparent 36%);
  pointer-events: none;
}

.featured-post > * {
  position: relative;
  z-index: 1;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.featured-post .post-meta {
  color: #9fb2c3;
}

.post-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.featured-post h3 {
  max-width: 11em;
  margin-top: auto;
  padding-top: 90px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.24;
  color: #fff;
}

.featured-post p {
  max-width: 34em;
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #b7c5d1;
}

.featured-post .post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.featured-post .post-foot span {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: #93a6b6;
}

.post-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.featured-post:hover .post-arrow {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(-35deg);
}

.post-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.post-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s ease;
}

.post-row:hover {
  padding-left: 7px;
}

.post-row-body {
  min-width: 0;
}

.post-row .post-no {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--orange-dark);
}

.post-row h3 {
  max-width: 25em;
  font-size: 1.04rem;
  line-height: 1.45;
}

.post-row:hover h3 {
  color: var(--orange-dark);
}

.post-row p {
  max-width: 41em;
  margin-top: 5px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-row .row-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}

.post-row:hover .row-arrow {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

/* ---------- 下载区 ---------- */

.download-band {
  position: relative;
  padding: 82px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.download-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.download-band h2 {
  max-width: 9em;
  margin-top: 14px;
}

.download-band p {
  max-width: 35em;
  margin-top: 15px;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
}

.download-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 9px 9px 0 rgba(13, 33, 54, 0.08);
}

.download-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.download-panel-head span {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.download-panel-head strong {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.download-panel-head .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #267a57;
  background: rgba(69, 179, 131, 0.11);
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
}

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

.arch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.arch-row .arch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arch-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.61rem;
  color: var(--navy);
}

.arch-row .recommend {
  margin-left: 4px;
  font-size: 0.61rem;
  color: var(--orange-dark);
}

.arch-row .size {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--muted);
}

.download-panel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
}

.download-panel-foot p {
  margin: 0;
  font-size: 0.67rem;
  color: var(--muted);
}

.download-panel-foot .text-link {
  font-size: 0.78rem;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
}

.faq-aside {
  align-self: start;
  position: sticky;
  top: 110px;
}

.faq-aside h2 {
  max-width: 8em;
  margin-top: 14px;
}

.faq-aside p {
  max-width: 30em;
  margin-top: 18px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted);
}

.faq-aside .btn {
  margin-top: 26px;
}

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

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

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.faq-item summary .faq-plus {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-item summary .faq-plus::before,
.faq-item summary .faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-item summary .faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary .faq-plus {
  background: var(--orange);
  border-color: var(--orange);
}

.faq-item[open] summary .faq-plus::before,
.faq-item[open] summary .faq-plus::after {
  background: #fff;
}

.faq-item[open] summary .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-width: 52em;
  padding: 0 36px 24px 0;
  font-size: 0.89rem;
  line-height: 1.9;
  color: var(--muted);
}

.faq-answer a {
  color: var(--orange-dark);
  border-bottom: 1px solid rgba(239, 90, 53, 0.4);
}

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

.site-footer {
  color: #dce4e9;
  background: var(--navy-deep);
  overflow: hidden;
}

.footer-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0 32px;
}

.footer-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-identity .brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.footer-identity .brand-copy strong {
  color: var(--paper);
  font-size: 1rem;
}

.footer-identity .brand-copy small {
  color: #8fa1b0;
}

.footer-identity p {
  font-size: 0.66rem;
  line-height: 1.6;
  color: #7e91a0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.footer-nav a {
  font-size: 0.76rem;
  color: #b3c0c9;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ff9b80;
}

/* ---------- 移动端固定榜单入口 ---------- */

.mobile-rank-dock {
  display: none;
}

.mobile-rank-dock[hidden] {
  display: none !important;
}

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

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

.page-hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 38%;
  height: 100%;
  background-image: linear-gradient(90deg, transparent, rgba(13, 33, 54, 0.035));
  pointer-events: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
}

.breadcrumbs a {
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--orange-dark);
}

.breadcrumbs .sep {
  color: #b1a89a;
}

.page-hero-copy {
  max-width: 880px;
  padding: 38px 0 54px;
}

.page-hero h1 {
  margin-top: 21px;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
}

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

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

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

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

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

.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 64px;
  align-items: end;
  padding-bottom: 54px;
}

.download-hero h1 {
  max-width: 8.7em;
}

.version-stamp {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 9px 9px 0 rgba(13, 33, 54, 0.08);
}

.version-stamp::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  width: 54px;
  height: 3px;
  background: var(--orange);
}

.version-stamp span {
  display: block;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.version-stamp strong {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.version-stamp p {
  margin-top: 12px;
  font-size: 0.76rem;
  line-height: 1.8;
  color: var(--muted);
}

.version-stamp .status-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 700;
  color: #267a57;
}

.version-stamp .status-line::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.download-main {
  padding: 76px 0 96px;
}

.download-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 64px;
  align-items: start;
}

.arch-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.arch-card:hover {
  border-color: var(--ink);
  transform: translateX(3px);
}

.arch-card.is-primary {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.arch-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.arch-card.is-primary .arch-icon {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

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

.arch-card h3 {
  font-size: 1rem;
}

.arch-card h3 .tag {
  margin-left: 8px;
  vertical-align: 2px;
}

.arch-card.is-primary h3 .tag {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffb6a2;
  background: rgba(255, 255, 255, 0.06);
}

.arch-card p {
  margin-top: 4px;
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--muted);
}

.arch-card.is-primary p {
  color: #b9c6d0;
}

.arch-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 0.63rem;
  color: var(--muted);
}

.arch-card.is-primary .arch-card-meta {
  color: #94a7b6;
}

.arch-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.arch-card.is-primary .arch-download {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}

.arch-download:hover {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}

.download-aside {
  position: sticky;
  top: 106px;
}

.aside-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.aside-card + .aside-card {
  margin-top: 14px;
}

.aside-card h3 {
  font-size: 0.98rem;
}

.aside-card p {
  margin-top: 9px;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--muted);
}

.aside-card .btn {
  margin-top: 17px;
}

.aside-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--muted);
}

.aside-list li::before {
  content: "✓";
  flex: none;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  color: #267a57;
  background: rgba(69, 179, 131, 0.1);
  font-size: 0.6rem;
}

.aside-card.rank-aside {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.aside-card.rank-aside .kicker {
  color: #ff9b80;
}

.aside-card.rank-aside h3 {
  margin-top: 10px;
  color: #fff;
}

.aside-card.rank-aside p {
  color: #b4c1cc;
}

.install-section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.install-step {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
}

.install-step:first-child {
  padding-left: 0;
}

.install-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.install-step .no {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--orange-dark);
}

.install-step h3 {
  margin-top: 28px;
  font-size: 1.02rem;
}

.install-step p {
  margin-top: 9px;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--muted);
}

.warning-box {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid rgba(239, 90, 53, 0.3);
  border-radius: 12px;
  background: rgba(239, 90, 53, 0.06);
}

.warning-box .mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.warning-box p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: #5b4a40;
}

.warning-box strong {
  color: var(--ink);
}

/* ---------- 榜单页 ---------- */

.ranking-hero {
  position: relative;
  padding: 46px 0 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy-deep);
}

.ranking-hero::before {
  content: "榜";
  position: absolute;
  right: -3vw;
  top: -16%;
  font-size: clamp(340px, 48vw, 720px);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.ranking-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.ranking-hero .wrap {
  position: relative;
  z-index: 1;
}

.ranking-hero .breadcrumbs {
  color: #8ea2b1;
}

.ranking-hero .breadcrumbs a:hover {
  color: #fff;
}

.ranking-hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 60px;
  align-items: end;
  padding: 44px 0 48px;
}

.ranking-hero h1 {
  margin-top: 18px;
  color: var(--paper);
  font-size: clamp(3rem, 6.6vw, 5.6rem);
}

.ranking-hero h1 span {
  color: #ff8f72;
}

.ranking-hero-lede {
  max-width: 45em;
  margin-top: 20px;
  font-size: 0.97rem;
  line-height: 1.9;
  color: #b5c2cc;
}

.ranking-hero-note {
  padding: 20px 0 2px 24px;
  border-left: 1px solid var(--line-dark);
  font-size: 0.76rem;
  line-height: 1.85;
  color: #8fa2b1;
}

.ranking-hero-note strong {
  display: block;
  margin-bottom: 6px;
  color: #ffb6a2;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.ranking-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}

.rank-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px 24px 0;
  border-right: 1px solid var(--line-dark);
}

.rank-stat + .rank-stat {
  padding-left: 22px;
}

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

.rank-stat span {
  font-size: 0.67rem;
  color: #8fa2b1;
}

.rank-stat strong {
  font-family: var(--mono);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--paper);
}

.rank-stat strong em {
  margin-left: 2px;
  font-family: var(--sans);
  font-size: 0.6em;
  font-style: normal;
  font-weight: 400;
  color: #8fa2b1;
}

.ranking-body {
  padding: 64px 0 100px;
}

.ranking-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-btn {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  color: var(--muted);
}

.toolbar-right select {
  padding: 8px 28px 8px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.72rem;
  cursor: pointer;
}

.rank-table {
  border-top: 1px solid var(--ink);
}

.rank-table-head,
.rank-summary {
  display: grid;
  grid-template-columns: 46px minmax(160px, 1.3fr) 82px 108px 94px 80px 100px 28px 88px;
  gap: 16px;
  align-items: center;
}

.rank-table-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.rank-table-head span:last-child {
  text-align: right;
}

.rank-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.rank-item:hover {
  background: rgba(251, 248, 241, 0.62);
}

.rank-item[open] {
  background: var(--card);
}

.rank-summary {
  padding: 20px 16px;
  list-style: none;
  cursor: pointer;
}

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

.rank-no {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: #8b8274;
}

.rank-item:nth-child(2) .rank-no {
  color: var(--orange-dark);
}

.rank-item:nth-child(3) .rank-no,
.rank-item:nth-child(4) .rank-no {
  color: var(--ink);
}

.rank-name {
  display: block;
  min-width: 0;
}

.rank-name-title {
  display: block;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.rank-name-sub {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1.5;
  color: var(--muted);
}

.rank-score {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
}

.rank-score small {
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 400;
  color: var(--muted);
}

.rank-data {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #41505f;
}

.rank-data small {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 0.56rem;
  color: var(--muted);
}

.rank-bar {
  width: 65px;
  height: 3px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper-deep);
}

.rank-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--green);
}

.rank-price {
  font-family: var(--mono);
  font-size: 0.74rem;
}

.rank-price small {
  display: block;
  font-family: var(--sans);
  font-size: 0.56rem;
  color: var(--muted);
}

.rank-mobile-facts {
  display: none;
}

.rank-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.rank-tags .tag {
  padding: 3px 6px;
  font-size: 0.58rem;
}

.rank-open {
  position: relative;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rank-open::before,
.rank-open::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1px;
  background: currentColor;
}

.rank-open::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.rank-item[open] .rank-open {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.rank-item[open] .rank-open::after {
  transform: rotate(0deg);
}

.rank-cta {
  min-height: 34px;
  padding: 0 13px;
  justify-self: end;
  font-size: 0.68rem;
  white-space: nowrap;
}

.rank-detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 30px;
  padding: 4px 74px 26px;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--muted);
}

.rank-detail h4 {
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--orange-dark);
}

.rank-detail strong {
  color: var(--ink);
}

.rank-item.is-hidden {
  display: none;
}

.rank-empty {
  display: none;
  padding: 50px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
}

.rank-empty.is-visible {
  display: block;
}

.ranking-note {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(251, 248, 241, 0.55);
  font-size: 0.73rem;
  line-height: 1.8;
  color: var(--muted);
}

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

.ranking-note .mark {
  flex: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--orange-dark);
}

.method-section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-card {
  padding: 26px 22px 30px;
  border-right: 1px solid var(--line);
}

.method-card:first-child {
  padding-left: 0;
}

.method-card:last-child {
  border-right: 0;
  padding-right: 0;
}

.method-card span {
  font-family: var(--mono);
  font-size: 0.61rem;
  color: var(--orange-dark);
}

.method-card h3 {
  margin-top: 26px;
  font-size: 0.96rem;
}

.method-card p {
  margin-top: 8px;
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--muted);
}

.read-guide {
  padding: 92px 0;
}

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

.read-card {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.read-card span {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--orange-dark);
}

.read-card h3 {
  margin-top: 16px;
  font-size: 1.15rem;
}

.read-card p {
  margin-top: 9px;
  font-size: 0.83rem;
  line-height: 1.85;
  color: var(--muted);
}

.read-card a {
  display: inline-flex;
  margin-top: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange-dark);
  border-bottom: 1px solid rgba(239, 90, 53, 0.4);
}

/* ---------- 文章列表页 ---------- */

.posts-hero {
  padding-bottom: 54px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
}

.post-card.is-wide {
  grid-column: 1 / -1;
  min-height: 330px;
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.post-card.is-wide::after {
  content: "读";
  position: absolute;
  right: 30px;
  bottom: -35px;
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
}

.post-card .post-meta {
  position: relative;
  z-index: 1;
}

.post-card.is-wide .post-meta {
  color: #9fb2c3;
}

.post-card h3 {
  position: relative;
  z-index: 1;
  max-width: 17em;
  margin-top: 38px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.35;
}

.post-card.is-wide h3 {
  max-width: 14em;
  margin-top: 30px;
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.post-card p {
  position: relative;
  z-index: 1;
  max-width: 36em;
  margin-top: 11px;
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--muted);
}

.post-card.is-wide p {
  color: #b4c2ce;
}

.post-card .card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
}

.post-card.is-wide .card-foot {
  color: #9fb2c3;
}

.post-card .card-foot .arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.post-card.is-wide .card-foot .arrow {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.post-card:hover .card-foot .arrow {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(-35deg);
}

/* ---------- 文章详情 ---------- */

.article-page {
  background: var(--paper);
}

.article-hero {
  position: relative;
  padding: 50px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 60px;
  align-items: end;
  padding: 38px 0 52px;
}

.article-hero h1 {
  max-width: 14em;
  margin-top: 18px;
  font-size: clamp(2.4rem, 4.9vw, 4.2rem);
  line-height: 1.16;
}

.article-hero .dek {
  max-width: 44em;
  margin-top: 22px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
}

.article-byline span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-byline .avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--navy);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
}

.article-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-deep);
  overflow: hidden;
}

.article-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 33, 54, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 33, 54, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.article-art .big-no {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  color: var(--navy);
}

.article-art .art-label {
  position: absolute;
  z-index: 1;
  bottom: 15px;
  left: 16px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.article-art::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
  height: 90px;
  border: 12px solid var(--orange);
  border-radius: 50%;
  opacity: 0.18;
}

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 60px;
  padding: 54px 0 100px;
  align-items: start;
}

.article-body {
  min-width: 0;
  font-size: 1.02rem;
  line-height: 2;
  color: #2d3d4b;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.13em 0 0;
  font-family: var(--serif);
  font-size: 3.6em;
  font-weight: 700;
  line-height: 0.82;
  color: var(--orange);
}

.article-body p {
  margin-top: 1.35em;
}

.article-body h2 {
  position: relative;
  margin-top: 2.1em;
  padding-top: 0.55em;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  scroll-margin-top: 110px;
}

.article-body h2::before {
  content: attr(data-index);
  position: absolute;
  top: -0.2em;
  left: 0;
  font-family: var(--mono);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--orange-dark);
}

.article-body h3 {
  margin-top: 2em;
  font-size: 1.18rem;
  scroll-margin-top: 110px;
}

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

.article-body a {
  color: var(--orange-dark);
  border-bottom: 1px solid rgba(239, 90, 53, 0.4);
  transition: border-color 0.2s ease;
}

.article-body a:hover {
  border-color: var(--orange-dark);
}

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

.article-body li {
  margin-top: 0.55em;
  padding-left: 0.2em;
}

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

.article-body blockquote {
  position: relative;
  margin: 2em 0;
  padding: 26px 30px 26px 38px;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: var(--card);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink);
}

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

.article-body .note {
  margin: 2em 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(251, 248, 241, 0.7);
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--muted);
}

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

.article-body code {
  padding: 0.15em 0.38em;
  border-radius: 4px;
  background: rgba(13, 33, 54, 0.07);
  font-family: var(--mono);
  font-size: 0.84em;
  color: var(--navy);
}

.article-body pre {
  margin: 1.8em 0;
  padding: 20px 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--navy-deep);
  color: #dce4e9;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.8;
}

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

.article-body table {
  width: 100%;
  margin: 1.8em 0;
  border-collapse: collapse;
  font-size: 0.84rem;
  line-height: 1.65;
}

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

.article-body th {
  border-top: 1px solid var(--ink);
  border-bottom-color: var(--ink);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.article-body .inline-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin: 2.4em 0;
  padding: 24px 26px;
  border: 1px solid var(--navy);
  border-radius: 12px;
  background: var(--navy);
  color: var(--paper);
}

.article-body .inline-cta .kicker {
  color: #ff9b80;
}

.article-body .inline-cta h3 {
  margin-top: 8px;
  color: #fff;
  font-size: 1.15rem;
}

.article-body .inline-cta p {
  margin-top: 6px;
  font-size: 0.76rem;
  line-height: 1.7;
  color: #b4c2ce;
}

.article-body .inline-cta .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2.6em;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-share-note {
  margin-top: 18px;
  font-size: 0.73rem;
  color: var(--muted);
}

.article-aside {
  position: sticky;
  top: 104px;
}

.toc-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(251, 248, 241, 0.72);
}

.toc-card > span {
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

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

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

.toc-card li a {
  display: flex;
  gap: 9px;
  padding: 9px 0;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--muted);
  transition: color 0.2s ease;
}

.toc-card li a::before {
  content: "0" counter(toc);
  flex: none;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--orange-dark);
}

.toc-card li a:hover,
.toc-card li a.is-active {
  color: var(--ink);
}

.aside-rank {
  margin-top: 14px;
  padding: 22px;
  border-radius: 12px;
  color: var(--paper);
  background: var(--navy);
}

.aside-rank .kicker {
  color: #ff9b80;
}

.aside-rank h3 {
  margin-top: 9px;
  color: #fff;
  font-size: 1rem;
}

.aside-rank p {
  margin-top: 7px;
  font-size: 0.72rem;
  line-height: 1.75;
  color: #aebdca;
}

.aside-rank .btn {
  width: 100%;
  min-height: 42px;
  margin-top: 15px;
  font-size: 0.73rem;
}

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.pager-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  transition: border-color 0.2s ease;
}

.pager-card:hover {
  border-color: var(--navy);
}

.pager-card span {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--muted);
}

.pager-card strong {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.article-next {
  text-align: right;
}

.read-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width 0.08s linear;
}

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

.map-hero {
  padding-bottom: 50px;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 60px 0 100px;
}

.map-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.map-card.is-dark {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.map-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.map-card.is-dark .map-card-head {
  border-color: var(--line-dark);
}

.map-card-head h2 {
  font-size: 1.05rem;
}

.map-card-head span {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--muted);
}

.map-card.is-dark .map-card-head span {
  color: #9fb2c3;
}

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

.map-list li {
  border-bottom: 1px solid var(--line);
}

.map-card.is-dark .map-list li {
  border-color: var(--line-dark);
}

.map-list li:last-child {
  border-bottom: 0;
}

.map-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

.map-card.is-dark .map-list a {
  color: var(--paper);
}

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

.map-card.is-dark .map-list a:hover {
  color: #ff9b80;
}

.map-list span {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--muted);
}

.map-card.is-dark .map-list span {
  color: #8fa2b1;
}

/* ---------- 404 ---------- */

.error-page {
  display: grid;
  min-height: 64vh;
  place-items: center;
  padding: 80px 0;
}

.error-inner {
  max-width: 680px;
  text-align: center;
}

.error-inner .code {
  font-family: var(--mono);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: var(--navy);
}

.error-inner h1 {
  margin-top: 24px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.error-inner p {
  margin-top: 14px;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

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

.reveal {
  opacity: 1;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

@keyframes grow-bar {
  from { transform: scaleY(0.15); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 1; }
}

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

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

@media (max-width: 1120px) {
  .main-nav a {
    padding-inline: 9px;
    font-size: 0.84rem;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero-grid {
    gap: 42px;
  }

  .console-speed strong {
    font-size: 3.4rem;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2) {
    grid-column: span 6;
  }

  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: span 4;
  }

  .rank-summary,
  .rank-table-head {
    grid-template-columns: 38px minmax(136px, 1.25fr) 70px 100px 84px 72px 84px 24px 84px;
    gap: 12px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 70px;
  }

  .main-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(13, 33, 54, 0.12);
  }

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

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 0.95rem;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.is-active {
    color: var(--orange-dark);
  }

  .nav-toggle {
    display: block;
  }

  .header-actions .btn-accent {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

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

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero h1 {
    max-width: 10em;
  }

  .hero-visual {
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
    padding-bottom: 54px;
  }

  .hero-stats {
    margin-top: 18px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }

  .section-head p {
    max-width: 540px;
    padding: 0;
  }

  .feature-card:nth-child(n) {
    grid-column: span 6;
  }

  .feature-card:nth-child(6) {
    grid-column: span 12;
  }

  .feature-wide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .step {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

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

  .step h3 {
    margin-top: 18px;
  }

  .rank-promo-inner,
  .download-band-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .rank-board {
    max-width: 560px;
  }

  .home-articles {
    grid-template-columns: 1fr;
  }

  .featured-post {
    min-height: 420px;
  }

  .featured-post h3 {
    padding-top: 60px;
  }

  .article-layout + * {
    margin-top: 0;
  }

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

  .faq-aside {
    position: static;
  }

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

  .download-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .aside-card + .aside-card {
    margin-top: 0;
  }

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

  .install-step:nth-child(2) {
    border-right: 0;
  }

  .install-step:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .install-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .ranking-hero-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ranking-hero-note {
    max-width: 520px;
    padding-left: 18px;
  }

  .rank-table-head {
    display: none;
  }

  .rank-summary {
    grid-template-columns: 38px minmax(0, 1fr) 74px 28px;
    gap: 10px 14px;
    padding: 18px 14px;
  }

  .rank-data,
  .rank-price {
    display: none;
  }

  .rank-tags {
    grid-column: 2 / 4;
    margin-top: 2px;
  }

  .rank-score {
    grid-column: 3;
    grid-row: 1;
    white-space: nowrap;
    text-align: right;
  }

  .rank-score small {
    display: none;
  }

  .rank-mobile-facts {
    display: block;
    margin-top: 4px;
    font-family: var(--mono);
    font-size: 0.58rem;
    line-height: 1.5;
    color: var(--muted);
  }

  .rank-open {
    grid-column: 4;
    grid-row: 1;
  }

  .rank-cta {
    grid-column: 2 / 5;
    grid-row: 2;
    justify-self: start;
    margin-top: 2px;
  }

  .rank-detail {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 6px 14px 24px 66px;
  }

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

  .method-card {
    border-bottom: 1px solid var(--line);
  }

  .method-card:nth-child(3) {
    border-right: 0;
  }

  .method-card:nth-child(4) {
    padding-left: 0;
    border-bottom: 0;
  }

  .method-card:nth-child(5) {
    border-bottom: 0;
  }

  .read-grid {
    gap: 20px;
  }

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

  .post-card.is-wide {
    grid-column: auto;
  }

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

  .article-art {
    display: none;
  }

  .article-aside {
    position: static;
  }

  .toc-card {
    display: none;
  }

  .aside-rank {
    margin-top: 0;
  }

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

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

  .mobile-rank-dock {
    position: fixed;
    z-index: 90;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 10px 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    color: #fff;
    background: rgba(11, 27, 44, 0.96);
    box-shadow: 0 14px 34px rgba(13, 33, 54, 0.25);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .mobile-rank-dock.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-rank-dock .dock-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .mobile-rank-dock .dock-copy span {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    color: #ff9b80;
  }

  .mobile-rank-dock .dock-copy strong {
    margin-top: 3px;
    font-size: 0.8rem;
  }

  .mobile-rank-dock a {
    flex: none;
    padding: 9px 13px;
    border-radius: 9px;
    color: #fff;
    background: var(--orange);
    font-size: 0.72rem;
    font-weight: 700;
  }

  .mobile-rank-dock a .arrow {
    margin-left: 3px;
    font-family: var(--mono);
  }

  body {
    padding-bottom: 74px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .section {
    padding: 76px 0;
  }

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

  .topbar-inner {
    min-height: 34px;
  }

  .topbar-note {
    font-size: 0.68rem;
  }

  .topbar-link {
    font-size: 0.68rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .brand-copy small {
    font-size: 0.57rem;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    top: 70px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .hero-lede {
    font-size: 0.94rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 150px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat {
    padding: 17px 16px 18px 0;
  }

  .hero-stat + .hero-stat {
    padding-left: 0;
    border-right: 0;
  }

  .hero-stat:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .hero-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .console {
    padding: 18px;
    border-radius: 18px;
    box-shadow: 10px 10px 0 rgba(239, 90, 53, 0.17);
  }

  .console-node-name {
    font-size: 0.98rem;
  }

  .console-speed strong {
    font-size: 2.85rem;
  }

  .spark {
    height: 58px;
  }

  .float-card {
    display: none;
  }

  .console-corner {
    display: none;
  }

  .hero-visual {
    padding: 0 0 24px;
  }

  .ticker-item {
    padding: 10px 16px;
    font-size: 0.66rem;
  }

  .section-head h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .feature-card:nth-child(n) {
    grid-column: span 12;
  }

  .feature-card {
    min-height: 0;
    padding: 22px;
  }

  .feature-card:nth-child(6) {
    min-height: 0;
  }

  .feature-wide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .battery-meter {
    margin-top: 8px;
  }

  .feature-card h3 {
    margin-top: 17px;
  }

  .steps-section .section-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .rank-promo {
    padding: 62px 0;
  }

  .rank-promo h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .rank-board {
    transform: none;
    box-shadow: 8px 8px 0 rgba(13, 33, 54, 0.15);
  }

  .rank-board-row {
    grid-template-columns: 22px minmax(0, 1fr) 62px 40px;
  }

  .home-articles {
    gap: 10px;
  }

  .featured-post {
    min-height: 390px;
    padding: 25px;
  }

  .featured-post h3 {
    padding-top: 52px;
  }

  .post-row {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .post-row p {
    display: none;
  }

  .post-row h3 {
    font-size: 0.96rem;
  }

  .download-band {
    padding: 62px 0;
  }

  .download-panel-head,
  .arch-row,
  .download-panel-foot {
    padding-inline: 18px;
  }

  .faq-aside h2 {
    max-width: 100%;
  }

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

  .page-hero-copy {
    padding: 26px 0 38px;
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 9vw, 3.4rem);
  }

  .page-hero-lede {
    font-size: 0.92rem;
  }

  .download-main {
    padding: 50px 0 70px;
  }

  .arch-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .arch-icon {
    width: 52px;
    height: 48px;
    font-size: 0.7rem;
  }

  .arch-download {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 4px;
  }

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

  .install-section {
    padding: 64px 0;
  }

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

  .install-step,
  .install-step:first-child,
  .install-step:last-child,
  .install-step:nth-child(3),
  .install-step:nth-child(4) {
    padding: 22px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-top: 0;
  }

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

  .install-step h3 {
    margin-top: 14px;
  }

  .warning-box {
    padding: 17px;
  }

  .ranking-hero {
    padding-top: 32px;
  }

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

  .ranking-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .ranking-stats {
    grid-template-columns: 1fr 1fr;
  }

  .rank-stat {
    padding: 15px 16px 18px 0;
  }

  .rank-stat + .rank-stat {
    padding-left: 0;
  }

  .rank-stat:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--line-dark);
    border-right: 0;
  }

  .rank-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .ranking-body {
    padding: 45px 0 70px;
  }

  .ranking-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-group {
    gap: 6px;
  }

  .filter-btn {
    padding: 7px 11px;
    font-size: 0.7rem;
  }

  .toolbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .rank-summary {
    grid-template-columns: 30px minmax(0, 1fr) 56px 24px;
    gap: 8px 10px;
    padding: 16px 10px;
  }

  .rank-name-title {
    font-size: 0.9rem;
  }

  .rank-detail {
    padding-left: 50px;
  }

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

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

  .method-card,
  .method-card:first-child,
  .method-card:nth-child(4),
  .method-card:nth-child(5) {
    padding: 22px 18px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .method-card:nth-child(2n) {
    padding-right: 0;
    border-right: 0;
  }

  .method-card:nth-child(3) {
    padding-left: 0;
    border-right: 1px solid var(--line);
  }

  .method-card:nth-child(4) {
    padding-left: 0;
  }

  .method-card:nth-child(n + 4) {
    border-bottom: 0;
  }

  .read-guide {
    padding: 64px 0;
  }

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

  .post-card {
    min-height: 330px;
    padding: 24px;
  }

  .posts-grid {
    gap: 16px;
  }

  .article-hero {
    padding-top: 32px;
  }

  .article-hero-grid {
    padding: 26px 0 38px;
  }

  .article-hero h1 {
    font-size: clamp(2rem, 8.7vw, 3rem);
  }

  .article-hero .dek {
    font-size: 0.92rem;
  }

  .article-layout {
    padding: 36px 0 70px;
  }

  .article-body {
    font-size: 0.97rem;
    line-height: 1.95;
  }

  .article-body .inline-cta {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }

  .article-body .inline-cta .btn {
    justify-self: start;
  }

  .article-pager {
    grid-template-columns: 1fr;
  }

  .article-next {
    text-align: left;
  }

  .map-grid {
    padding: 40px 0 70px;
    gap: 16px;
  }

  .map-card {
    padding: 22px;
  }
}

@media (max-width: 460px) {
  .wrap {
    width: calc(100% - 26px);
  }

  .topbar-note .pulse {
    display: none;
  }

  .topbar-note {
    max-width: 68%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-copy small {
    display: none;
  }

  .header-actions .btn-sm {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.78rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

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

  .hero-actions {
    align-items: stretch;
  }

  .hero-note {
    align-items: flex-start;
    line-height: 1.6;
  }

  .console-speed {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .spark {
    width: 100%;
    height: 54px;
  }

  .console-metrics {
    grid-template-columns: 1fr;
  }

  .console-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .console-metric strong {
    margin-top: 0;
  }

  .node-row {
    grid-template-columns: auto minmax(70px, 1fr) 50px 44px;
  }

  .float-card {
    display: none;
  }

  .rank-promo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rank-promo-actions .btn {
    width: 100%;
  }

  .rank-promo-actions .text-link {
    align-self: flex-start;
  }

  .rank-board-list {
    padding-inline: 15px;
  }

  .rank-board-row {
    grid-template-columns: 20px minmax(0, 1fr) 48px 38px;
    gap: 7px;
  }

  .download-panel-head {
    flex-direction: column;
  }

  .arch-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .download-panel-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-item summary {
    gap: 13px;
  }

  .faq-answer {
    padding-right: 20px;
  }

  .ranking-hero-note {
    margin-top: 2px;
    padding-left: 14px;
    font-size: 0.7rem;
  }

  .rank-tags {
    grid-column: 2 / 5;
  }

  .rank-tags .tag:nth-child(n + 3) {
    display: none;
  }

  .rank-detail {
    padding-left: 10px;
    padding-right: 10px;
  }

  .filter-btn {
    font-size: 0.67rem;
  }

  .article-body blockquote {
    padding: 20px 20px 20px 24px;
    font-size: 1.04rem;
  }

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

  .article-tags .tag {
    font-size: 0.64rem;
  }

  .mobile-rank-dock .dock-copy strong {
    font-size: 0.74rem;
  }
}

@media (max-width: 720px) {
  .footer-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 0 28px;
  }

  .footer-identity {
    justify-content: space-between;
    width: 100%;
  }

  .footer-nav {
    width: 100%;
    gap: 10px 22px;
  }
}

@media (max-width: 460px) {
  .footer-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
