/* ============================================================
   BOKEBO.COM · 个人主页 v2
   Design: 雾蓝纸感 / 靛紫强调 / 票据式名片
   ============================================================ */

:root {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --surface-2: #f7f8fb;
  --ink: #15181f;
  --text: #3d4453;
  --muted: #66707f;
  --line: rgba(20, 23, 30, .085);
  --line-strong: rgba(20, 23, 30, .16);
  --accent: #5b5bd6;
  --accent-2: #7b7bf0;
  --accent-soft: rgba(91, 91, 214, .10);
  --green: #1f9d6b;
  --btn-bg: #15181f;
  --btn-fg: #ffffff;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px -28px rgba(16, 24, 40, .42);
  --shadow-lg: 0 30px 70px -42px rgba(34, 36, 90, .55), 0 2px 6px rgba(16, 24, 40, .05);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1140px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0e1015;
  --surface: #161920;
  --surface-2: #1b1f28;
  --ink: #f1f3f8;
  --text: #c2c8d4;
  --muted: #8b93a3;
  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .17);
  --accent: #9d9dff;
  --accent-2: #b8b8ff;
  --accent-soft: rgba(157, 157, 255, .14);
  --green: #35c48d;
  --btn-bg: #9d9dff;
  --btn-fg: #101117;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 22px 50px -30px rgba(0, 0, 0, .9);
  --shadow-lg: 0 34px 80px -44px rgba(0, 0, 0, .95), 0 2px 8px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 560px at 6% -8%, rgba(122, 122, 240, .20), transparent 62%),
    radial-gradient(720px 460px at 100% 0%, rgba(63, 158, 140, .11), transparent 58%),
    radial-gradient(760px 760px at 50% 108%, rgba(122, 122, 240, .07), transparent 62%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(900px 560px at 6% -8%, rgba(101, 101, 220, .20), transparent 62%),
    radial-gradient(720px 460px at 100% 0%, rgba(43, 138, 120, .10), transparent 58%),
    radial-gradient(760px 760px at 50% 108%, rgba(101, 101, 220, .08), transparent 62%);
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

[data-theme="dark"] .page-glow { mix-blend-mode: screen; opacity: .05; }

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

h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }

.ico { width: 18px; height: 18px; flex: none; }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- 顶部导航 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 244, 247, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  transition: background-color .3s;
}
[data-theme="dark"] .site-head::before { background: rgba(14, 16, 21, .76); }

.site-head.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 32px -30px rgba(16, 24, 40, .5);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  border-radius: 12px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 8px 18px -10px rgba(91, 91, 214, .75);
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.1;
  color: var(--ink);
}
.brand-text small {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-link.is-active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

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

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--accent); transform: translateY(-1px); }
.icon-btn:active { transform: translateY(0); }
.icon-btn .ico { width: 17px; height: 17px; }

[data-theme="light"] .theme-ico--sun { display: none; }
[data-theme="dark"] .theme-ico--moon { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .ico { width: 17px; height: 17px; }

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 14px 30px -18px rgba(20, 23, 30, .85);
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -18px rgba(91, 91, 214, .9);
}
[data-theme="dark"] .btn-primary:hover { color: #101117; background: var(--accent-2); }
.btn-primary .ico { transition: transform .25s var(--ease); }
.btn-primary:hover .ico { transform: translate(2px, -2px); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; margin-top: 10px; }

.menu-btn { display: none; }
.menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: block; }

.mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  display: grid;
  gap: 2px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.mobile-nav a:hover { background: var(--surface-2); color: var(--ink); }

/* ---------- 首屏 ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, .94fr);
  align-items: center;
  gap: 56px;
  padding-top: 78px;
  padding-bottom: 58px;
  position: relative;
  z-index: 1;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--muted);
}
.status time {
  color: var(--ink);
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.status-sep { opacity: .4; }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 157, 107, .14);
  animation: pulse 2.6s ease-in-out infinite;
}

.hero-title { margin-top: 26px; line-height: 1; }
.hello {
  display: block;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--muted);
}
.name {
  display: block;
  padding-bottom: .06em;
  font-size: clamp(58px, 8.4vw, 104px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .96;
  color: var(--ink);
}
.name .dot { color: var(--accent); }

.lede {
  max-width: 33em;
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text);
  text-wrap: pretty;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.hint {
  margin-top: 15px;
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--muted);
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px dashed var(--line-strong);
}
.stat dt {
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
}
.stat dd {
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}
.tags li:hover { color: var(--accent); border-color: rgba(91, 91, 214, .35); }

/* ---------- 票据名片 ---------- */
.hero-visual {
  position: relative;
  padding: 14px 6px 46px;
  perspective: 1100px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -50px -40px -20px;
  background: radial-gradient(closest-side, rgba(91, 91, 214, .26), transparent 72%);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
}

.pass {
  position: relative;
  z-index: 1;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform .4s var(--ease);
  overflow: hidden;
}
.pass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 88% -10%, var(--accent-soft), transparent 62%);
  pointer-events: none;
}
.pass::after {
  content: "B";
  position: absolute;
  right: -18px;
  bottom: 30px;
  font-size: 210px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  opacity: .028;
  pointer-events: none;
}

.pass-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--muted);
}

.pass-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.avatar {
  position: relative;
  width: 86px;
  height: 86px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--accent), #9b8bff, #62c3b1, var(--accent));
  box-shadow: 0 10px 24px -16px rgba(91, 91, 214, .9);
}
.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--surface);
}
.avatar .online {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--surface);
}

.pass-id h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--ink);
  line-height: 1.1;
}
.pass-id p {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--muted);
}
.pass-tag {
  display: inline-block;
  margin-top: 9px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
}

.pass-cut {
  position: relative;
  height: 1px;
  margin: 22px -26px;
  border-top: 1px dashed var(--line-strong);
}
.pass-cut::before,
.pass-cut::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
}
.pass-cut::before { left: -10px; }
.pass-cut::after { right: -10px; }

.pass-rows { position: relative; display: grid; gap: 12px; }
.pass-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.pass-rows dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--muted);
}
.pass-rows dd {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.pass-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.barcode {
  flex: 1;
  height: 22px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 1px, transparent 1px 3px,
    var(--ink) 3px 5px, transparent 5px 6px,
    var(--ink) 6px 7px, transparent 7px 10px);
  opacity: .62;
}
.pass-domain {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--muted);
}

.est-badge {
  position: absolute;
  top: 0;
  right: -4px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  box-shadow: 0 12px 22px -12px rgba(91, 91, 214, .9);
  transform: rotate(4deg);
}

.now-pill {
  position: absolute;
  left: -24px;
  bottom: 6px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 11.5px;
  color: var(--text);
  transform: rotate(-2deg);
  animation: float 7s ease-in-out infinite;
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2s ease-in-out infinite;
}
.now-label {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 157, 107, .28); }
  50% { box-shadow: 0 0 0 5px rgba(31, 157, 107, 0); }
}
@keyframes float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-6px); }
}

/* ---------- 跑马灯 ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  padding: 0 26px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track i { margin: 0 6px; font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 区块通用 ---------- */
.section {
  position: relative;
  z-index: 1;
  padding-top: 92px;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow b { color: var(--accent); font-weight: 700; }
.eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}
.sec-title h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--ink);
}
.sub {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--muted);
}

.filter {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.filter button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.filter button span {
  font-family: var(--mono);
  font-size: 9.5px;
  opacity: .65;
}
.filter button:hover { color: var(--ink); }
.filter button.is-active { background: var(--btn-bg); color: var(--btn-fg); }
.filter button.is-active span { opacity: .7; }

/* ---------- 入口卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 198px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 200px at 0% 0%, var(--accent-soft), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 91, 214, .38);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }
.card.is-filtered { display: none; }

.card-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--accent);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.card-icon .ico { width: 20px; height: 20px; }
.card:hover .card-icon {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px) rotate(-4deg);
}
.card-arrow {
  color: var(--accent);
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity .3s, transform .3s var(--ease);
}
.card-arrow .ico { width: 18px; height: 18px; }
.card:hover .card-arrow { opacity: 1; transform: none; }

.card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.card h3 small {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--muted);
}
.badge-new {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
}
.card p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}
.chip {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: .06em;
}
.card-host {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  opacity: .8;
}
.cards-note {
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- 最近 ---------- */
.recent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, .62fr);
  gap: 18px;
  align-items: start;
}
.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}
.panel-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--accent);
}
.panel-head a .ico { width: 12px; height: 12px; }
.panel-tag {
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.post a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  margin: 0 -12px;
  padding: 15px 12px;
  border-radius: 12px;
  transition: background-color .2s;
}
.post + .post a { border-top: 1px solid var(--line); }
.post a:hover { background: var(--surface-2); }
.post time b {
  display: block;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.post time span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  color: var(--muted);
}
.post h4 {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post a:hover h4 { color: var(--accent); }
.post-cat {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--muted);
}
.post-go { color: var(--muted); opacity: .45; }
.post-go .ico { width: 15px; height: 15px; }
.feed-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 10.5px;
  color: var(--muted);
}
.feed-note a { color: var(--accent); }

.timeline {
  position: relative;
  margin-top: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.timeline li { position: relative; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 2px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -22.5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
}
.timeline li:first-child::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline time {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: var(--muted);
}
.timeline p {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text);
}

/* ---------- 关于 ---------- */
.about { padding-bottom: 104px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: start;
}
.quote {
  margin-top: 14px;
  font-size: clamp(32px, 4.3vw, 47px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.035em;
  color: var(--ink);
}
.quote em { font-style: normal; color: var(--accent); }
.about-copy > p:not(.eyebrow):not(.sign) {
  max-width: 50ch;
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--text);
}
.sign {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--muted);
}

.contact {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.contact-sub {
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
}
.contact ul { margin-top: 16px; }
.contact li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact li:first-child { border-top: 0; padding-top: 4px; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--accent);
}
.contact-icon .ico { width: 16px; height: 16px; }
.contact-body { min-width: 0; }
.contact-body small {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-link {
  display: block;
  max-width: 100%;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s;
}
.contact-link:hover { color: var(--accent); }
.note {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 页脚 ---------- */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  background: #121419;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  color: #9aa2b1;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: -220px;
  left: -120px;
  width: 560px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(91, 91, 214, .28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
[data-theme="dark"] .footer { background: #08090c; }

.foot-inner { position: relative; padding-top: 62px; padding-bottom: 26px; }
.foot-top {
  display: grid;
  grid-template-columns: 1.35fr .8fr .85fr;
  gap: 40px;
}
.foot-brand-row { display: flex; align-items: center; gap: 12px; }
.foot-brand-row img { border-radius: 12px; }
.foot-brand h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #fff;
}
.foot-brand h3 span { color: #8f8fff; }
.foot-brand p {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.9;
  color: #8b93a3;
}
.foot-col h4 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7f8797;
}
.foot-col a {
  display: block;
  width: fit-content;
  padding: 4px 0;
  font-size: 12.5px;
  color: #9aa2b1;
  transition: color .2s, transform .2s;
}
.foot-col a:hover { color: #fff; transform: translateX(3px); }
.foot-stat { display: flex; align-items: baseline; gap: 7px; margin-bottom: 8px; }
.foot-stat b {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.foot-stat span { font-size: 10.5px; color: #8b93a3; }
.foot-icp { margin-top: 14px; font-size: 10.5px; }
.foot-icp a { color: #7f8797; padding: 0; display: inline; }
.foot-icp a:hover { color: #fff; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 10.5px;
  color: #7a8292;
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s, color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke-width: 2.5; }
.ring-bg { stroke: var(--line); }
.ring-fg {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  transition: stroke-dashoffset .1s linear;
}
.to-top-arrow { width: 18px; height: 18px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 120;
  padding: 11px 18px;
  border-radius: 999px;
  background: #15181f;
  color: #fff;
  font-size: 12.5px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity .25s, transform .25s, visibility .25s;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 进场动画 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero-copy .reveal:nth-child(2) { transition-delay: .06s; }
.js .hero-copy .reveal:nth-child(3) { transition-delay: .12s; }
.js .hero-copy .reveal:nth-child(4) { transition-delay: .18s; }
.js .hero-copy .reveal:nth-child(5) { transition-delay: .22s; }
.js .hero-copy .reveal:nth-child(6) { transition-delay: .26s; }
.js .hero-copy .reveal:nth-child(7) { transition-delay: .3s; }
.js .hero-copy .reveal:nth-child(8) { transition-delay: .34s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero { gap: 36px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
}

@media (max-width: 900px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .hero-visual { max-width: 430px; width: 100%; margin: 0 auto; }
  .hero-visual::before { inset: -30px -10px -10px; }
  .now-pill { left: 6px; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .filter { align-self: flex-start; }

  .recent-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .about { padding-bottom: 84px; }

  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .head-inner { height: 66px; gap: 12px; }
  .brand-text { font-size: 13.5px; }
  .brand-text small { font-size: 7px; }
  .brand-mark { width: 32px; height: 32px; }

  .hero { padding-top: 36px; gap: 34px; }
  .hello { font-size: 14px; }
  .name { font-size: clamp(52px, 15vw, 72px); }
  .lede { margin-top: 20px; font-size: 15px; line-height: 1.8; }
  .cta-row { margin-top: 24px; }
  .btn { height: 44px; padding: 0 18px; font-size: 13.5px; }
  .status { font-size: 10px; gap: 7px; padding-right: 12px; }

  .stats { gap: 0; margin-top: 32px; padding-top: 22px; }
  .stat { flex: 1; }
  .stat + .stat { padding-left: 14px; border-left: 1px solid var(--line); }
  .stat dd { font-size: 21px; }

  .tags { margin-top: 22px; }

  .hero-visual { padding-bottom: 42px; }
  .pass { padding: 20px; border-radius: 22px; }
  .pass-cut { margin-left: -20px; margin-right: -20px; }
  .pass-id h2 { font-size: 20px; }
  .avatar { width: 72px; height: 72px; }
  .pass-rows dd { font-size: 12px; }
  .est-badge { right: 0; font-size: 8px; padding: 6px 10px; }
  .now-pill { font-size: 10.5px; padding: 9px 13px; left: 2px; }

  .section { padding-top: 64px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas: "icon title" "icon desc" "icon meta";
    align-items: center;
    align-content: center;
    column-gap: 14px;
    row-gap: 3px;
    min-height: 0;
    padding: 15px 18px;
  }
  .card-top { grid-area: icon; align-self: start; display: block; }
  .card-icon { width: 42px; height: 42px; border-radius: 12px; }
  .card h3 { grid-area: title; margin-top: 0; font-size: 14.5px; }
  .card p {
    grid-area: desc;
    margin-top: 0;
    font-size: 11.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-meta {
    grid-area: meta;
    margin-top: 0;
    padding-top: 0;
    justify-content: flex-start;
    gap: 8px;
  }
  .card-arrow, .card-host { display: none; }
  .filter { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filter::-webkit-scrollbar { display: none; }
  .filter button { padding: 8px 12px; }

  .panel { padding: 20px; border-radius: 18px; }
  .post a { grid-template-columns: 50px minmax(0, 1fr) 16px; gap: 12px; padding: 14px 10px; margin: 0 -10px; }
  .post time b { font-size: 20px; }
  .contact { padding: 20px; }

  .foot-inner { padding-top: 46px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; gap: 6px; margin-top: 34px; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }

  .quote { font-size: 30px; }
  .about-copy > p:not(.eyebrow):not(.sign) { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}