:root {
  --paper: #f4f5f9;
  --ink: #151a22;
  --muted: #5d6470;
  --brand: #0a6cff;
  --brand-2: #7f6bff;
  --gold: #d7b46a;
  --dark: #070a12;
  --dark-soft: #0e1320;
  --line: rgba(20, 28, 43, 0.12);
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC",
    "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }

/* ---------- Top navigation ---------- */
.art-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 10, 18, 0.68);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.art-nav-inner {
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.art-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.art-brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, #0a6cff, #7f6bff);
  box-shadow: 0 4px 18px rgba(10, 108, 255, 0.35);
}

.art-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.art-nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s ease;
}

.art-nav-links a:hover { color: #fff; }

.art-nav-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0a0c12 !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.art-nav-call:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18); }

/* ---------- Hero ---------- */
.art-hero {
  position: relative;
  min-height: 62vh;
  padding: 150px 26px 78px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(70% 60% at 18% 12%, rgba(10, 108, 255, 0.26), transparent 58%),
    radial-gradient(60% 55% at 84% 18%, rgba(127, 107, 255, 0.2), transparent 60%),
    radial-gradient(80% 70% at 50% 115%, rgba(215, 180, 106, 0.1), transparent 62%),
    linear-gradient(180deg, #070a12 0%, #0b1020 100%);
  overflow: hidden;
}

.art-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(85% 75% at 50% 20%, #000 30%, transparent 80%);
  mask-image: radial-gradient(85% 75% at 50% 20%, #000 30%, transparent 80%);
}

.art-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(7, 10, 18, 0.88) 100%);
  pointer-events: none;
}

.art-hero-inner {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  text-align: center;
}

.art-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 26px;
}

.art-title {
  font-size: clamp(31px, 4.8vw, 56px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.art-title em {
  font-style: normal;
  background: linear-gradient(92deg, #7fb2ff, #a694ff 58%, #e4c988);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.art-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.art-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }

.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #0a6cff, #7f6bff);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-right: 8px;
}

/* ---------- Article body ---------- */
.article-shell {
  width: min(760px, calc(100vw - 40px));
  margin: -8px auto 0;
  position: relative;
  z-index: 3;
}

article.entry {
  background: #fff;
  border: 1px solid rgba(20, 28, 43, 0.07);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(13, 20, 38, 0.13);
  padding: clamp(34px, 5.6vw, 68px);
}

article.entry p,
article.entry li {
  font-size: 17px;
  color: #333b48;
}

article.entry p { margin: 1.15em 0; }

article.entry h2 {
  margin: 2.6em 0 0.7em;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.45;
  color: #10141c;
  letter-spacing: -0.01em;
}

article.entry h3 {
  margin: 2em 0 0.6em;
  font-size: 19px;
  color: #12161f;
}

article.entry ul,
article.entry ol {
  margin: 1.1em 0 1.4em;
  padding-left: 1.35em;
}

article.entry li { margin: 0.55em 0; }
article.entry li::marker { color: var(--brand); font-weight: 700; }

article.entry strong { color: #10141c; }

article.entry a {
  color: var(--brand);
  text-decoration-color: rgba(10, 108, 255, 0.35);
  text-underline-offset: 3px;
}

article.entry blockquote {
  margin: 1.8em 0;
  padding: 1.2em 1.4em;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(215, 180, 106, 0.09), transparent);
  color: #454c58;
}

article.entry blockquote p { margin: 0; color: inherit; }

/* 引导小卡片 */
.lead-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(10, 108, 255, 0.18);
  background: linear-gradient(120deg, rgba(10, 108, 255, 0.07), rgba(127, 107, 255, 0.05));
  margin: 1.9em 0;
}

.lead-card .ic {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0a6cff, #7f6bff);
  color: #fff;
  font-weight: 800;
}

.lead-card p { margin: 0; font-size: 15px; }

/* 表格 */
.table-wrap {
  margin: 1.8em 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table.mini {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

table.mini th {
  background: #0b1020;
  color: #fff;
  text-align: left;
  padding: 13px 15px;
  font-weight: 600;
  white-space: nowrap;
}

table.mini td {
  padding: 13px 15px;
  border-top: 1px solid var(--line);
  color: #3a4250;
  vertical-align: top;
}

table.mini tr:nth-child(even) td { background: #f8f9fc; }

/* 作者名片 */
.author-card {
  position: relative;
  overflow: hidden;
  margin: 2.4em 0 1em;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(10, 108, 255, 0.36), transparent 55%),
    radial-gradient(80% 100% at 100% 100%, rgba(127, 107, 255, 0.25), transparent 58%),
    linear-gradient(145deg, #0a0e19, #101628);
}

.author-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.025), 0 0 0 68px rgba(255, 255, 255, 0.018);
}

.author-head {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.author-head .avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 800;
  background: linear-gradient(135deg, #0a6cff, #7f6bff);
  box-shadow: 0 10px 26px rgba(10, 108, 255, 0.4);
}

.author-head h3 { color: #fff; font-size: 20px; margin: 0 0 3px; }
.author-head p { color: rgba(255, 255, 255, 0.66); font-size: 14px; margin: 0; }

.author-lines {
  margin: 22px 0 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 9px;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.author-lines div { display: flex; gap: 12px; }
.author-lines span { color: rgba(255, 255, 255, 0.48); flex: 0 0 92px; }
.author-lines strong { color: #fff; font-weight: 600; }

.author-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.author-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.author-cta .phone {
  background: #fff;
  color: #0a0e19;
}

.author-cta .ghost {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.author-cta .phone:hover,
.author-cta .ghost:hover { transform: translateY(-2px); }

.author-cta a { transition: transform 0.2s ease; }

/* 相关文章 */
.related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 26px 0;
}

.related a {
  display: block;
  padding: 18px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.related a:hover {
  border-color: rgba(10, 108, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(13, 20, 38, 0.08);
}

.related small {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.related b {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
}

/* 免责 / footer */
.art-disclaimer {
  margin-top: 30px;
  padding: 18px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12.5px;
  line-height: 1.8;
}

.art-footer {
  background: #070a12;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 70px;
  padding: 34px 22px 64px;
  text-align: center;
  font-size: 13px;
}

.art-footer strong { color: #fff; font-weight: 600; }
.art-footer p + p { margin-top: 8px; color: rgba(255, 255, 255, 0.42); }

/* ---------- 文章索引页 ---------- */
.hub-hero { min-height: 52vh; padding: 140px 24px 60px; }
.hub-sub { color: rgba(255, 255, 255, 0.62); font-size: 16px; max-width: 620px; margin: 18px auto 0; }

.hub-list {
  width: min(960px, calc(100vw - 40px));
  margin: -30px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  gap: 18px;
}

.hub-card {
  display: block;
  padding: clamp(22px, 3.5vw, 32px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(20, 28, 43, 0.07);
  box-shadow: 0 20px 56px rgba(13, 20, 38, 0.12);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hub-card:hover { transform: translateY(-4px); box-shadow: 0 28px 64px rgba(13, 20, 38, 0.16); }

.hub-card .tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0a6cff;
  background: rgba(10, 108, 255, 0.08);
  letter-spacing: 0.04em;
}

.hub-card h2 {
  margin: 15px 0 8px;
  font-size: clamp(20px, 2.6vw, 26px);
  color: #10141c;
  line-height: 1.5;
}

.hub-card p { color: #5d6470; font-size: 15px; margin: 0; }
.hub-card .go { margin-top: 15px; color: #0a6cff; font-size: 14px; font-weight: 700; }

.hub-card .hit { color: #b8913d; background: rgba(215, 180, 106, 0.13); }

@media (max-width: 760px) {
  .art-nav-inner { padding: 0 16px; height: 62px; }
  .art-nav-links { gap: 15px; }
  .art-nav-links .hide-m { display: none; }
  .art-nav-call { padding: 8px 12px; font-size: 12px; }
  .art-hero { min-height: 58vh; padding: 118px 18px 58px; }
  article.entry { padding: 28px 22px; }
  .author-lines span { flex-basis: 76px; }
  .related { grid-template-columns: 1fr; }
}
