/* =========================================================
   珊瑚输入法 · 官网样式
   品牌色：珊瑚橙 #FC6245 / 深青 #03617A
   ========================================================= */

:root {
  --coral: #FC6245;
  --coral-600: #EC4E30;
  --coral-50: #FFF4F1;
  --coral-100: #FFE5DE;
  --teal: #03617A;
  --teal-600: #024E62;
  --teal-50: #E9F3F5;

  --ink: #15181E;
  --ink-2: #3B414B;
  --muted: #767D88;
  --faint: #A8AEB7;
  --line: rgba(17, 24, 39, .08);
  --line-2: rgba(17, 24, 39, .13);

  --bg: #FFFFFF;
  --bg-soft: #F7F7F5;
  --bg-card: #FAFAF9;

  --r-s: 10px;
  --r: 16px;
  --r-l: 24px;

  --shadow-1: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-2: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -10px rgba(16, 24, 40, .16);
  --shadow-3: 0 2px 6px rgba(16, 24, 40, .04), 0 40px 80px -28px rgba(16, 24, 40, .28);

  --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "HarmonyOS Sans SC",
    "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --header-h: 64px;
  --container: 1160px;
}

[data-donate-link][hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.btn:active {
  transform: scale(.97);
}

.btn svg {
  flex: none;
}

.btn-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -8px rgba(252, 98, 69, .65);
}

.btn-primary:hover {
  background: var(--coral-600);
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-2);
}

.btn-ghost:hover {
  border-color: rgba(17, 24, 39, .28);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.btn[disabled],
.btn.is-disabled {
  color: var(--faint);
  background: var(--bg-soft);
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--coral-600);
}

.link-arrow svg {
  transition: transform .2s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- 标签 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  font-size: 13px;
  color: var(--ink-2);
  backdrop-filter: blur(8px);
  transition: border-color .2s var(--ease);
}

.pill:hover {
  border-color: var(--line-2);
}

.pill-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--coral-50);
  color: var(--coral-600);
  font-size: 12px;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.tag-new {
  background: var(--coral-50);
  color: var(--coral-600);
}

.tag-improve {
  background: var(--teal-50);
  color: var(--teal);
}

.tag-fix {
  background: #F1F2F4;
  color: #5B626C;
}

.tag-draft {
  background: #F3F3F1;
  color: var(--muted);
}

.kbd {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1;
}

/* =========================================================
   顶部导航
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .02em;
}

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

.brand small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
}

.nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  position: relative;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(17, 24, 39, .04);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
  transform: translateX(-50%);
}

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

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.icon-btn:hover {
  background: rgba(17, 24, 39, .05);
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

/* =========================================================
   首屏
   ========================================================= */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 780px;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 24% 30%, rgba(252, 98, 69, .14), transparent 70%),
    radial-gradient(36% 46% at 80% 22%, rgba(3, 97, 122, .10), transparent 70%);
  filter: blur(10px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(17, 24, 39, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 50% at 50% 30%, #000 0%, transparent 75%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.01em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--coral) 10%, #F7896F 55%, var(--coral-600) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 600px;
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--ink-2);
}

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

.hero-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.hero-meta span + span::before {
  content: "·";
  margin: 0 8px;
  color: var(--faint);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

.platform-row .label {
  margin-right: 6px;
}

.platform-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--faint);
  transition: background-color .2s var(--ease);
}

.platform-dot.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}

.platform-dot:not(.is-active) {
  opacity: .55;
}

/* 悬浮提示 */
[data-tip] {
  position: relative;
}

[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .16s var(--ease), transform .16s var(--ease);
  z-index: 5;
}

[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   输入演示窗口
   ========================================================= */
.demo {
  max-width: 920px;
  margin: 56px auto 0;
}

.demo-window {
  position: relative;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(17, 24, 39, .07);
  overflow: hidden;
}

.demo-titlebar {
  display: flex;
  align-items: center;
  height: 42px;
  padding-left: 16px;
  border-bottom: 1px solid var(--line);
  background: #FBFBFB;
  font-size: 13px;
  color: var(--ink-2);
}

.demo-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.demo-title svg {
  color: var(--teal);
}

.demo-skin {
  display: flex;
  padding: 3px;
  margin-right: 12px;
  border-radius: 8px;
  background: rgba(17, 24, 39, .05);
}

.demo-skin button {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}

.demo-skin button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-1), 0 0 0 .5px var(--line);
}

.win-ctrls {
  display: flex;
  height: 100%;
}

.win-ctrls span {
  display: grid;
  place-items: center;
  width: 46px;
  color: #6B7079;
}

.demo-body {
  position: relative;
  min-height: 300px;
  padding: 40px 48px 120px;
  background:
    linear-gradient(#fff, #fff) padding-box;
}

.demo-text {
  position: relative;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.75;
  color: var(--ink);
  letter-spacing: .02em;
  transition: opacity .3s var(--ease);
  word-break: break-all;
}

.demo-text.is-fading {
  opacity: 0;
}

.demo-line-muted {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--faint);
}

.demo-committed.is-flash {
  animation: commit-flash 1.1s var(--ease);
  border-radius: 4px;
}

@keyframes commit-flash {
  0% {
    background: rgba(252, 98, 69, .18);
  }

  100% {
    background: transparent;
  }
}

.demo-preedit {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(17, 24, 39, .45);
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
  font-family: var(--font);
}

.demo-preedit .sep {
  color: var(--faint);
  margin: 0 .5px;
}

.demo-anchor {
  display: inline-block;
  width: 0;
  height: 1em;
}

.demo-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -.16em;
  background: var(--ink);
  animation: caret 1.05s steps(1) infinite;
}

.demo-text.is-typing .demo-caret {
  animation: none;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* 输入法状态栏（模拟输入法工具条） */
.ime-bar {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 0 6px;
  border-radius: 10px;
  background: rgba(252, 252, 253, .96);
  box-shadow: 0 0 0 .5px rgba(16, 24, 40, .08), 0 6px 16px -6px rgba(16, 24, 40, .22);
  font-size: 13px;
  color: var(--ink-2);
  user-select: none;
}

.ime-bar img {
  width: 20px;
  height: 20px;
  margin: 0 4px 0 2px;
}

.ime-bar span {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 24px;
  padding: 0 4px;
  border-radius: 6px;
  font-weight: 600;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.ime-bar .is-on {
  color: var(--coral-600);
  background: var(--coral-50);
}

.ime-bar i {
  width: 1px;
  height: 14px;
  margin: 0 3px;
  background: var(--line-2);
}

/* 候选窗：样式与输入法设计稿保持一致 */
.cw {
  --cw-panel: rgba(252, 252, 253, .96);
  --cw-ink: #1f2329;
  --cw-muted: #8b9098;
  --cw-hover: rgba(15, 23, 42, .055);
  --cw-sel-bg: #e6eefb;
  --cw-sel-ink: #275f9e;
  --cw-sel-ring: rgba(39, 95, 158, .16);
  --cw-hint: #6E747D;
  --cw-hint-bg: rgba(15, 23, 42, .035);
  position: absolute;
  left: 48px;
  top: 100px;
  z-index: 3;
  max-width: calc(100% - 24px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 10px;
  background: var(--cw-panel);
  color: var(--cw-ink);
  box-shadow: 0 0 0 .5px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .06),
    0 12px 28px -6px rgba(16, 24, 40, .22);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease, background-color .25s ease;
}

.cw.is-visible {
  opacity: 1;
  transform: none;
}

.cw[data-skin="dark"] {
  --cw-panel: rgba(38, 40, 46, .96);
  --cw-ink: #ECEEF1;
  --cw-muted: #8C929C;
  --cw-sel-bg: rgba(110, 160, 235, .20);
  --cw-sel-ink: #B6D0F7;
  --cw-sel-ring: rgba(150, 190, 245, .22);
  --cw-hint: #9AA0AA;
  --cw-hint-bg: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .08);
}

.cw-list {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 5px;
  white-space: nowrap;
}

.cw-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  transition: background-color .13s ease, color .13s ease, box-shadow .13s ease, transform .13s ease;
}

.cw-item[hidden],
.cw-toggle[hidden] {
  display: none;
}

.cw-item.is-selected {
  background: var(--cw-sel-bg);
  color: var(--cw-sel-ink);
  box-shadow: inset 0 0 0 1px var(--cw-sel-ring);
}

.cw-item.is-pressed {
  transform: scale(.94);
}

.cw-num {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: var(--cw-muted);
  font-variant-numeric: tabular-nums;
}

.cw-item.is-selected .cw-num {
  color: inherit;
  opacity: .62;
}

.cw-word {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .02em;
}

.cw-note {
  font-size: 12px;
  color: var(--cw-muted);
}

.cw-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  color: #9aa1ab;
}

.cw-hint {
  display: none;
  margin: 0 5px 5px;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--cw-hint-bg);
  font-size: 12px;
  line-height: 1.5;
  color: var(--cw-hint);
  white-space: normal;
}

.cw-hint.is-visible {
  display: block;
}

.cw-list[style*="none"] + .cw-hint {
  margin-top: 5px;
}

.cw-hint b {
  margin: 0 2px;
  font-weight: 600;
  color: var(--cw-ink);
  font-family: var(--mono);
}

.cw-hint .ok {
  color: #2F8F5B;
  font-weight: 600;
}

.cw[data-skin="dark"] .cw-hint .ok {
  color: #6FD39C;
}

/* 场景切换 */
.demo-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  position: relative;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  overflow: hidden;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.chip:hover {
  border-color: var(--line-2);
  color: var(--ink);
}

.chip[aria-selected="true"] {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.chip-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--coral);
  transform-origin: left;
  transform: scaleX(0);
}

.chip[aria-selected="true"] .chip-progress.is-running {
  animation: chip-progress var(--dur, 6s) linear forwards;
}

@keyframes chip-progress {
  to {
    transform: scaleX(1);
  }
}

/* =========================================================
   通用区块
   ========================================================= */
.section {
  padding: 112px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--coral-600);
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.005em;
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-2);
}

/* =========================================================
   功能 · 便当格
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.card:hover {
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-2);
  transform: translateY(-2px);
}

.card.span-2 {
  grid-column: span 2;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--coral-50);
  color: var(--coral-600);
}

.card-icon.teal {
  background: var(--teal-50);
  color: var(--teal);
}

.card h3 {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.card > p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.card-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  margin-top: 24px;
}

/* 整句：词格示意 */
.lattice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.lattice-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 84px;
}

.lattice-col .py {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  padding-left: 2px;
}

.lattice-col span:not(.py) {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}

.lattice-col span.on {
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 14px -6px rgba(252, 98, 69, .7);
}

.lattice-out {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}

.lattice-out strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .04em;
}

.lattice-out small {
  font-size: 13px;
  color: var(--muted);
}

/* 小组件 */
.mini-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: 13.5px;
  color: var(--ink-2);
}

.mini-chip.on {
  background: var(--ink);
  color: #fff;
}

.mini-chip.mono {
  font-family: var(--mono);
  font-size: 13px;
}

.arrow {
  color: var(--faint);
}

.mini-result {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
}

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 14px;
}

.mini-list code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.mini-list strong {
  font-weight: 600;
  white-space: nowrap;
}

.sp-board {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}

.sp-row {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.sp-row:nth-child(2) {
  padding-left: 4%;
  grid-template-columns: repeat(9, 1fr);
  width: 94%;
}

.sp-row:nth-child(3) {
  padding-left: 10%;
  grid-template-columns: repeat(7, 1fr);
  width: 80%;
}

.sp-row span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 6px;
  background: var(--bg-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.15;
  color: var(--muted);
  min-width: 0;
}

.sp-row b {
  font-size: 11.5px;
  color: var(--ink-2);
}

.sp-row span.on {
  background: var(--teal);
  color: rgba(255, 255, 255, .78);
}

.sp-row span.on b {
  color: #fff;
}

.stroke-keys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.stroke-keys div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  border-radius: 10px;
  background: var(--bg-soft);
}

.stroke-keys b {
  font-family: var(--mono);
  font-size: 14px;
}

.stroke-keys span {
  font-size: 12px;
  color: var(--muted);
}

.convert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 0 6px;
}

.convert strong {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .06em;
}

.convert .swap {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal);
}

.typo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 15px;
}

.typo del {
  color: var(--faint);
  text-decoration-color: var(--coral);
  text-decoration-thickness: 1.5px;
}

.typo ins {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

/* 皮肤预览 */
.skins {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.skin-stage {
  display: grid;
  place-items: center;
  padding: 28px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #E9EBEE, #D3D7DC);
}

.skin-stage.dark {
  background: linear-gradient(135deg, #3A3F48, #1E2127);
}

.skin-stage .cw {
  position: static;
  opacity: 1;
  transform: none;
}

.skin-stage .cw-word {
  font-size: 16px;
}

.skin-stage .cw-item {
  padding: 4px 8px;
}

.skin-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.keys-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.keys-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}

.keys-list .kbds {
  display: flex;
  gap: 4px;
}

/* =========================================================
   开源 · 技术
   ========================================================= */
.oss {
  position: relative;
  color: #E9EEF0;
  background: #0D1C22;
  overflow: hidden;
  isolation: isolate;
}

.oss::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 85% 0%, rgba(3, 97, 122, .55), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(252, 98, 69, .16), transparent 70%);
}

.oss::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}

.oss .eyebrow {
  color: #FF9178;
}

.oss .section-head p {
  color: rgba(233, 238, 240, .72);
}

.oss-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: start;
}

.oss-panel {
  padding: 28px;
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
  backdrop-filter: blur(8px);
}

.oss-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.oss-panel-head h3 {
  font-size: 16px;
  font-weight: 700;
}

.oss-panel-head span {
  font-size: 12px;
  color: rgba(233, 238, 240, .5);
  font-family: var(--mono);
}

/* 架构分层 */
.arch {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-layer {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
}

.arch-label {
  font-size: 12.5px;
  color: rgba(233, 238, 240, .55);
  line-height: 1.4;
}

.arch-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset;
}

.arch-items span {
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  color: #F2F5F6;
  white-space: nowrap;
}

.arch-items span.planned {
  background: transparent;
  color: rgba(233, 238, 240, .38);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset;
  border: 0;
  background-image: none;
}

.arch-layer.core .arch-items {
  background: linear-gradient(135deg, rgba(252, 98, 69, .2), rgba(252, 98, 69, .06));
  box-shadow: 0 0 0 1px rgba(252, 98, 69, .35) inset;
}

.arch-layer.core .arch-label {
  color: #FFB3A2;
}

.arch-legend {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  font-size: 12px;
  color: rgba(233, 238, 240, .5);
}

.arch-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.arch-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .2);
}

.arch-legend i.planned {
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset;
}

.arch-legend i.core {
  background: var(--coral);
}

/* 技术文章列表（暗色） */
.post-list {
  display: flex;
  flex-direction: column;
}

.post-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  transition: padding-left .25s var(--ease);
}

.post-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.post-item:hover {
  padding-left: 6px;
}

.post-item h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: #F3F6F7;
}

.post-item p {
  grid-column: 1;
  font-size: 13.5px;
  color: rgba(233, 238, 240, .55);
}

.post-item .status {
  grid-row: span 2;
  align-self: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(233, 238, 240, .55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset;
}

.oss-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.fact {
  padding: 22px 24px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset;
}

.fact strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
}

.fact span {
  font-size: 13.5px;
  color: rgba(233, 238, 240, .6);
}

.oss-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.oss .btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
}

.oss .btn-ghost:hover {
  border-color: rgba(255, 255, 255, .34);
}

.oss-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(233, 238, 240, .45);
}

/* =========================================================
   更新（首页摘要）
   ========================================================= */
.updates-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}

.release-card {
  padding: 32px;
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.release-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.release-version {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.release-channel {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--coral-50);
  color: var(--coral-600);
  font-size: 12.5px;
  font-weight: 600;
}

.release-date {
  margin-left: auto;
  font-size: 13.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.release-title {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
}

.change-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.change-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

.change-list .tag {
  justify-content: center;
  margin-top: 1px;
}

.history-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--r-l);
  background: var(--bg-soft);
}

.history-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}

.history-list {
  display: flex;
  flex-direction: column;
  margin: 12px 0 auto;
  padding: 0;
  list-style: none;
}

.history-list a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  transition: color .2s var(--ease);
}

.history-list a:hover {
  color: var(--coral-600);
}

.history-list b {
  font-variant-numeric: tabular-nums;
}

.history-list span {
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-list time {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.history-card .link-arrow {
  margin-top: 20px;
}

/* =========================================================
   下载 · 平台
   ========================================================= */
.platforms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--ink);
}

.platform h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.platform-head p {
  font-size: 13px;
  color: var(--muted);
}

.platform-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--ink-2);
}

.platform-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.platform-specs li span:first-child {
  color: var(--muted);
}

.platform .btn {
  margin-top: auto;
}

.platform.is-primary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 40px;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(252, 98, 69, .10), transparent 70%),
    #fff;
  box-shadow: 0 0 0 1px rgba(252, 98, 69, .26), var(--shadow-2);
}

.platform.is-primary .platform-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(252, 98, 69, .8);
}

.platform.is-primary h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
}

.platform.is-primary .platform-blurb {
  max-width: 440px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--ink-2);
}

.platform-get {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--bg-soft);
}

.platform-get .platform-specs {
  margin-top: 0;
}

.platform.is-planned {
  padding: 22px;
  background: var(--bg-card);
  box-shadow: 0 0 0 1px var(--line);
}

.platform.is-planned .platform-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.platform.is-planned .platform-icon,
.platform.is-planned h3 {
  color: var(--faint);
}

.platform.is-planned h3 {
  font-size: 16px;
}

.platform.is-planned .platform-specs {
  margin: 16px 0 18px;
  font-size: 12.5px;
  color: var(--faint);
}

.platform.is-planned .platform-specs li span:first-child {
  color: var(--faint);
}

.platform.is-planned .btn {
  width: 100%;
}

.platform-status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  background: #EFEFED;
  color: var(--muted);
}

.platform.is-planned .platform-status {
  position: absolute;
  top: 22px;
  right: 22px;
}

.platform.is-primary .platform-status {
  background: #E8F6EE;
  color: #23784A;
}

.platform-secondary {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  font-size: 13px;
}

.platform-secondary a {
  color: var(--muted);
  transition: color .2s var(--ease);
}

.platform-secondary a:hover {
  color: var(--ink);
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: var(--muted);
  transition: color .2s var(--ease);
}

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

.footer-bottom a {
  color: var(--faint);
  text-decoration: none;
  transition: color .2s var(--ease);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
}

/* =========================================================
   子页面通用
   ========================================================= */
.page-hero {
  position: relative;
  padding: 80px 0 48px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 560px;
  z-index: -1;
  background: radial-gradient(40% 50% at 18% 40%, rgba(252, 98, 69, .10), transparent 70%),
    radial-gradient(30% 40% at 85% 30%, rgba(3, 97, 122, .08), transparent 70%);
}

.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.2;
}

.page-hero p {
  max-width: 620px;
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-2);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.filter {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s var(--ease);
}

.filter:hover {
  border-color: var(--line-2);
}

.filter[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.filter .count {
  margin-left: 6px;
  font-size: 12px;
  opacity: .55;
  font-variant-numeric: tabular-nums;
}

/* ---------- 更新日志时间线 ---------- */
.timeline {
  position: relative;
  padding: 16px 0 96px;
}

.release-entry {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.release-entry:first-child {
  border-top: 0;
}

.release-entry[hidden] {
  display: none;
}

.release-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.release-aside .release-version {
  font-size: 26px;
}

.release-aside .release-date {
  display: block;
  margin: 4px 0 10px;
}

.release-aside .release-channel {
  display: inline-block;
}

.release-aside .is-latest {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.release-main h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.release-main > p {
  margin-top: 8px;
  color: var(--ink-2);
}

.change-group {
  margin-top: 26px;
}

.change-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.change-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.change-group li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
}

.change-group li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
}

.change-group.new li::before {
  background: var(--coral);
}

.change-group.improve li::before {
  background: var(--teal);
}

.release-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  font-size: 13.5px;
}

.release-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  transition: color .2s var(--ease);
}

.release-footer a:hover {
  color: var(--ink);
}

.empty-state {
  padding: 64px 0;
  text-align: center;
  color: var(--muted);
}

/* ---------- 技术专栏 ---------- */
.tech-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--r-l);
  background: #0D1C22;
  color: #E9EEF0;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.tech-feature-copy {
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.tech-feature-copy .eyebrow {
  color: #FF9178;
}

.tech-feature-copy h2 {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
}

.tech-feature-copy p {
  margin-top: 12px;
  color: rgba(233, 238, 240, .7);
}

.tech-feature-copy .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(233, 238, 240, .5);
}

.tech-feature-visual {
  position: relative;
  padding: 36px;
  background:
    radial-gradient(60% 70% at 70% 30%, rgba(3, 97, 122, .6), transparent 70%),
    #0A161B;
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset;
  color: #E9EEF0;
}

.flow-step b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(252, 98, 69, .2);
  color: #FF9F89;
  font-size: 12px;
}

.flow-step small {
  margin-left: auto;
  color: rgba(233, 238, 240, .4);
  font-size: 12px;
}

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

.post-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.post-card:hover {
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-2);
  transform: translateY(-2px);
}

.post-card[hidden] {
  display: none;
}

.post-cover {
  position: relative;
  height: 128px;
  margin: -8px -8px 20px;
  border-radius: 14px;
  background: var(--bg-soft);
  overflow: hidden;
}

.post-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 24, 39, .09) 1px, transparent 1px);
  background-size: 14px 14px;
}

.post-cover span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

.post-cover svg {
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--line-2);
}

.post-card .post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.post-card h3 {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.post-card p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.skeleton {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.skeleton i {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #F1F1EF 0%, #F7F7F5 50%, #F1F1EF 100%);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}

.skeleton i:nth-child(2) {
  width: 82%;
}

.skeleton i:nth-child(3) {
  width: 56%;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.contribute {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  padding: 32px 36px;
  border-radius: var(--r-l);
  background: var(--bg-soft);
}

.contribute h3 {
  font-size: 20px;
  font-weight: 700;
}

.contribute p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}

.contribute .actions {
  display: flex;
  gap: 10px;
}

/* ---------- 文章模板 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: center;
  gap: 64px;
  padding: 24px 0 112px;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  font-size: 14px;
}

.toc h4 {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--faint);
}

.toc ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.toc a {
  display: block;
  margin-left: -1px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

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

.toc a.is-active {
  color: var(--ink);
  border-left-color: var(--coral);
  font-weight: 600;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

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

.article-head h1 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.3;
}

.article-head .lead {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink-2);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.draft-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--coral-50);
  color: #8A3422;
  font-size: 14.5px;
}

.draft-banner svg {
  flex: none;
  margin-top: 3px;
  color: var(--coral);
}

.prose {
  margin-top: 8px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.prose h2 {
  margin-top: 48px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}

.prose h3 {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.prose p {
  margin-top: 14px;
}

.prose code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-soft);
  font-family: var(--mono);
  font-size: .88em;
  color: var(--ink);
}

.prose pre {
  margin: 20px 0 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: #0F1A1F;
  color: #DCE4E7;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
}

.prose pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.prose pre .c {
  color: #6C8791;
}

.prose pre .k {
  color: #FF9F89;
}

.prose pre .s {
  color: #9BD7B5;
}

.prose blockquote {
  margin: 20px 0 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--coral);
  color: var(--ink-2);
}

.prose table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prose th {
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
}

.placeholder-block {
  display: grid;
  place-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 40px 20px;
  border: 1.5px dashed var(--line-2);
  border-radius: 16px;
  background: var(--bg-card);
  text-align: center;
  font-size: 14px;
  color: var(--faint);
}

.placeholder-block svg {
  color: var(--line-2);
}

.placeholder-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.placeholder-lines i {
  height: 10px;
  border-radius: 5px;
  background: #F2F2F0;
}

.placeholder-lines i:nth-child(3n) {
  width: 64%;
}

.placeholder-lines i:nth-child(3n + 2) {
  width: 88%;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
}

.article-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .2s var(--ease);
}

.article-nav a:hover {
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-1);
}

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

.article-nav small {
  font-size: 12.5px;
  color: var(--muted);
}

.article-nav b {
  font-size: 15px;
}

/* =========================================================
   捐赠
   ========================================================= */
.mock-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #FFF8E8;
  color: #8A5A0B;
  font-size: 13.5px;
}

.mock-banner[hidden] {
  display: none;
}

.mock-banner svg {
  flex: none;
  color: #D9951C;
}

.donate-section {
  padding-bottom: 96px;
}

.donate-stats {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition: opacity .3s var(--ease);
}

.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.stat strong {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat small {
  font-size: 13px;
  color: var(--muted);
}

.stat-primary {
  color: #fff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(135deg, var(--coral), var(--coral-600));
  box-shadow: 0 16px 36px -16px rgba(252, 98, 69, .7);
}

.stat-primary .stat-label,
.stat-primary small {
  color: rgba(255, 255, 255, .82);
}

.stat-heart {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.stat-heart svg {
  color: var(--coral);
}

.donate-stats.is-loading .stat strong {
  color: transparent;
  border-radius: 8px;
  background: linear-gradient(90deg, #F1F1EF 0%, #F8F8F6 50%, #F1F1EF 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

.donate-stats.is-loading .stat-primary strong {
  background: rgba(255, 255, 255, .22);
}

.donate-stats.is-loading .stat-heart svg {
  visibility: hidden;
}

.donate-updated {
  min-height: 1.7em;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--faint);
  text-align: right;
}

.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 20px;
  align-items: start;
}

.donate-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.donate-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.panel {
  padding: 26px 28px;
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-head h2 {
  font-size: 17px;
  font-weight: 700;
}

.panel-sub {
  font-size: 12.5px;
  color: var(--faint);
}

.load-more {
  width: 100%;
  margin-top: 14px;
}

.load-more[hidden] {
  display: none;
}

/* 目标 */
.goal-card {
  padding: 26px 28px;
  border-radius: var(--r-l);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(3, 97, 122, .10), transparent 65%),
    #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.goal-card[hidden] {
  display: none;
}

.goal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.goal-head .eyebrow {
  color: var(--teal);
}

.goal-pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.goal-card h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
}

.goal-card p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.goal-bar {
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--teal-50);
  overflow: hidden;
}

.goal-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0A86A6, var(--teal));
  transition: width 1.1s var(--ease);
}

.goal-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.goal-foot b {
  color: var(--ink);
}

/* 捐赠记录 */
.donor-list,
.expense-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.donor {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  animation: row-in .4s var(--ease) both;
}

.donor:first-child,
.expense:first-child,
.row-skeleton:first-child {
  border-top: 0;
}

@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.donor-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.donor-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.donor-line b {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donor-channel {
  flex: none;
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--bg-soft);
  font-size: 11.5px;
  color: var(--muted);
}

.donor-msg {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donor-side,
.expense-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.donor-side b,
.expense-side b {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.donor-side time {
  font-size: 12px;
  color: var(--faint);
}

.row-skeleton {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.row-skeleton > i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.row-skeleton span {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row-skeleton span i {
  height: 10px;
  border-radius: 5px;
}

.row-skeleton span i:last-child {
  width: 55%;
}

.row-skeleton i {
  background: linear-gradient(90deg, #F1F1EF 0%, #F8F8F6 50%, #F1F1EF 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

.list-empty {
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.donate-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--coral-50);
  color: #8A3422;
  font-size: 14px;
}

/* 捐赠方式 */
.method-tabs {
  display: flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.method-tabs button {
  flex: 1;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}

.method-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-1), 0 0 0 .5px var(--line);
}

.method-panel {
  padding-top: 18px;
}

.method-panel[hidden] {
  display: none;
}

.qr-box {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  padding: 10px;
  border: 1.5px dashed var(--line-2);
  border-radius: 18px;
  background: var(--bg-card);
  font-size: 13px;
  color: var(--faint);
}

.qr-box:has(img) {
  border-style: solid;
  border-color: var(--line);
  background: #fff;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.method-tip {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line);
  color: var(--faint);
  transition: box-shadow .2s var(--ease), color .2s var(--ease);
}

.channel:hover {
  box-shadow: 0 0 0 1px var(--line-2);
  color: var(--ink);
}

.channel span {
  display: flex;
  flex-direction: column;
}

.channel b {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.channel small {
  font-size: 12.5px;
  color: var(--muted);
}

.promise-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 13.5px;
  color: var(--ink-2);
}

.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.promise-list svg {
  flex: none;
  margin-top: 4px;
  color: #2F8F5B;
}

/* 资金去向 */
.expense-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: start;
}

.breakdown-bar {
  display: flex;
  gap: 3px;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-soft);
}

.breakdown-bar.is-loading {
  background: linear-gradient(90deg, #F1F1EF 0%, #F8F8F6 50%, #F1F1EF 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

.breakdown-bar i {
  min-width: 6px;
}

.breakdown-legend {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.breakdown-legend li {
  display: grid;
  grid-template-columns: 10px 1fr auto 40px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.breakdown-legend li i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.breakdown-legend b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.breakdown-legend em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--faint);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.muted-note {
  font-size: 14px;
  color: var(--muted);
}

.expense {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  animation: row-in .4s var(--ease) both;
}

.expense-date {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.expense-main b {
  font-size: 15px;
  font-weight: 600;
}

.expense-main p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.expense-side b {
  color: var(--ink);
}

.expense-side a,
.expense-side span {
  font-size: 12px;
  color: var(--faint);
}

.expense-side a {
  color: var(--teal);
}

.expense-side a:hover {
  text-decoration: underline;
}

/* 常见问题 */
.faq-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
}

.faq {
  display: flex;
  flex-direction: column;
}

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

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

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  padding: 0 40px 20px 0;
  color: var(--ink-2);
}

.faq details a {
  color: var(--coral-600);
}

/* =========================================================
   提示条
   ========================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(21, 24, 30, .94);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast svg {
  color: #FF9178;
}

/* =========================================================
   进入动画
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .card.span-2 {
    grid-column: span 2;
  }

  .oss-grid,
  .updates-grid,
  .tech-feature {
    grid-template-columns: 1fr;
  }

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

  .platform.is-primary {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .platform.is-planned:last-child {
    grid-column: span 2;
  }

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

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

  .toc {
    display: none;
  }

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

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

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

  .donate-grid,
  .expense-layout,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .faq-wrap {
    gap: 0;
  }

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

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

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

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 8px;
    font-size: 16px;
  }

  .nav a[aria-current="page"]::after {
    left: auto;
    right: 8px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    margin-right: auto;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .header-actions .hide-sm {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .demo {
    margin-top: 40px;
  }

  .demo-body {
    min-height: 260px;
    padding: 28px 22px 100px;
  }

  .demo-skin {
    display: none;
  }

  .win-ctrls span {
    width: 36px;
  }

  .pill {
    max-width: 100%;
  }

  .pill > span:nth-child(2) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lattice-out strong {
    font-size: 20px;
  }

  .cw-word {
    font-size: 17px;
  }

  .cw-item {
    padding: 4px 7px;
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .bento,
  .platforms,
  .post-grid,
  .oss-facts {
    grid-template-columns: 1fr;
  }

  .card.span-2,
  .platform.is-planned:last-child {
    grid-column: auto;
  }

  .platform.is-primary {
    padding: 24px;
  }

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

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

  .arch-layer {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .release-entry {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .release-aside {
    position: static;
  }

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

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

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

  .tech-feature-copy,
  .tech-feature-visual {
    padding: 28px;
  }

  .donate-stats {
    gap: 10px;
  }

  .stat {
    padding: 18px;
  }

  .stat strong {
    font-size: 20px;
  }

  .panel,
  .goal-card {
    padding: 22px 20px;
  }

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

  .donor-avatar {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .donor-channel {
    display: none;
  }

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

  .expense-date {
    grid-column: 1 / -1;
    margin-bottom: -8px;
  }
}
