/* ============================================================
   91在线吃瓜 · 全站样式
   设计方向：编辑部杂志感 / 番茄红 + 奶油纸白 + 荧光黄
   ============================================================ */

:root {
  --ink: #16120f;
  --ink-soft: #2b2520;
  --paper: #f8f1e6;
  --paper-2: #fffaf2;
  --paper-3: #efe5d6;
  --red: #e5322d;
  --red-dark: #b31f1a;
  --lime: #d9ff4b;
  --gold: #f6c445;
  --muted: #746a60;
  --line: rgba(22, 18, 15, 0.14);
  --line-dark: rgba(255, 250, 242, 0.16);
  --shadow: 0 18px 50px rgba(34, 25, 18, 0.12);
  --shadow-hard: 8px 8px 0 var(--ink);
  --radius: 18px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --header-h: 78px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(229, 50, 45, 0.07), transparent 30rem),
    radial-gradient(circle at 88% 22%, rgba(217, 255, 75, 0.12), transparent 28rem),
    var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

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

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  color: var(--paper-2);
  background: var(--ink);
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- 顶部通栏 ---------- */

.topbar {
  position: relative;
  z-index: 60;
  color: var(--paper-2);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

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

.topbar__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(217, 255, 75, 0.15);
  animation: pulse 1.8s infinite;
}

.topbar__note {
  color: rgba(255, 250, 242, 0.62);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__links {
  display: flex;
  gap: 20px;
  white-space: nowrap;
}

.topbar__links a {
  color: rgba(255, 250, 242, 0.76);
  transition: color 0.2s ease;
}

.topbar__links a:hover {
  color: var(--lime);
}

/* ---------- 导航 ---------- */

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

.site-header.is-scrolled {
  background: rgba(248, 241, 230, 0.98);
  box-shadow: 0 10px 30px rgba(22, 18, 15, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 28px;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--paper-2);
  background: var(--red);
  border-radius: 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
  transition: transform 0.25s ease;
}

.brand:hover .brand__mark {
  transform: rotate(3deg) translateY(-2px);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand__sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--red);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__search {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav__search:hover {
  color: var(--paper-2);
  background: var(--ink);
  transform: translateY(-2px);
}

.nav__search svg {
  width: 18px;
  height: 18px;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nav__toggle span {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: background 0.2s ease;
}

.nav__toggle span::before,
.nav__toggle span::after {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav__toggle span::before {
  top: -7px;
}

.nav__toggle span::after {
  top: 7px;
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  color: var(--paper-2);
  background: var(--red);
  border-color: var(--red);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.btn--dark {
  color: var(--paper-2);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--red);
}

.btn--dark:hover {
  box-shadow: 6px 6px 0 var(--red);
  transform: translate(-2px, -2px);
}

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

.btn--ghost:hover {
  color: var(--paper-2);
  background: var(--ink);
  transform: translateY(-2px);
}

.btn--lime {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 4px 4px 0 rgba(22, 18, 15, 0.85);
}

.btn--lime:hover {
  box-shadow: 6px 6px 0 rgba(22, 18, 15, 0.85);
  transform: translate(-2px, -2px);
}

.btn--sm {
  min-height: 40px;
  padding: 8px 17px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 2px solid currentColor;
  transition: gap 0.2s ease, color 0.2s ease;
}

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

/* ---------- 滚动播报 ---------- */

.news-ticker {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--lime);
  border-bottom: 2px solid var(--ink);
}

.news-ticker__inner {
  display: flex;
  align-items: center;
  min-height: 46px;
}

.news-ticker__tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  padding: 0 22px;
  color: var(--paper-2);
  background: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transform: skewX(-10deg);
  margin-left: -6px;
}

.news-ticker__tag span {
  transform: skewX(10deg);
}

.news-ticker__viewport {
  overflow: hidden;
  flex: 1;
}

.news-ticker__track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  white-space: nowrap;
  animation: ticker 34s linear infinite;
}

.news-ticker:hover .news-ticker__track {
  animation-play-state: paused;
}

.news-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.news-ticker__item::before {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  content: "";
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 74px 0 82px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 38px;
  right: -90px;
  width: 340px;
  height: 340px;
  border: 2px dashed rgba(22, 18, 15, 0.16);
  border-radius: 50%;
  content: "";
  animation: spin 60s linear infinite;
}

.hero::after {
  position: absolute;
  bottom: 36px;
  left: -46px;
  width: 130px;
  height: 130px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
  opacity: 0.45;
  filter: blur(1px);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  color: var(--red);
  background: rgba(229, 50, 45, 0.08);
  border: 1px solid rgba(229, 50, 45, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--lime);
  background: rgba(217, 255, 75, 0.1);
  border-color: rgba(217, 255, 75, 0.3);
}

.hero__title {
  max-width: 760px;
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 6.6vw, 88px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.hero__title em {
  position: relative;
  z-index: 1;
  color: var(--red);
  font-style: normal;
  white-space: nowrap;
}

.hero__title em::after {
  position: absolute;
  right: -6px;
  bottom: 7px;
  left: -6px;
  z-index: -1;
  height: 22px;
  background: var(--lime);
  content: "";
  transform: rotate(-2deg);
}

.hero__lead {
  max-width: 620px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

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

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

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero__meta-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.hero__meta-item b {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1;
}

.hero__collage {
  position: relative;
  min-height: 560px;
}

.hero__card {
  position: absolute;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero__card:hover img {
  transform: scale(1.05);
}

.hero__card--main {
  top: 0;
  right: 34px;
  width: min(390px, 82%);
  height: 490px;
  transform: rotate(2deg);
  box-shadow: 12px 14px 0 var(--ink);
}

.hero__card--main .hero__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 52px 22px 20px;
  color: var(--paper-2);
  background: linear-gradient(transparent, rgba(22, 18, 15, 0.88));
}

.hero__caption .tag {
  display: inline-block;
  padding: 3px 9px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero__caption h2 {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.35;
}

.hero__caption p {
  margin-top: 6px;
  color: rgba(255, 250, 242, 0.7);
  font-size: 12px;
}

.hero__card--small {
  width: 210px;
  height: 230px;
  border-radius: 14px;
}

.hero__card--a {
  top: 62px;
  left: 0;
  transform: rotate(-7deg);
  box-shadow: 7px 7px 0 rgba(22, 18, 15, 0.9);
}

.hero__card--b {
  right: 0;
  bottom: 46px;
  width: 190px;
  height: 205px;
  transform: rotate(7deg);
  box-shadow: -7px 8px 0 var(--red);
}

.hero__card--c {
  bottom: 0;
  left: 26px;
  width: 168px;
  height: 146px;
  transform: rotate(-3deg);
  box-shadow: 6px 6px 0 var(--gold);
}

.hero__sticker {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transform: rotate(8deg);
  box-shadow: 5px 5px 0 var(--ink);
  animation: float 4s ease-in-out infinite;
}

.hero__sticker::before {
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(22, 18, 15, 0.45);
  border-radius: 50%;
  content: "";
}

.hero__scribble {
  position: absolute;
  bottom: 24px;
  right: 40px;
  z-index: 3;
  width: 104px;
  height: 104px;
  color: var(--red);
  transform: rotate(12deg);
}

.hero__scribble svg {
  width: 100%;
  height: 100%;
}

/* ---------- 数据条 ---------- */

.stat-band {
  color: var(--paper-2);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  position: relative;
  padding: 34px 26px;
  text-align: center;
}

.stat + .stat::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 44px;
  background: var(--line-dark);
  content: "";
  transform: translateY(-50%);
}

.stat__num {
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.stat__num small {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.stat__label {
  margin-top: 10px;
  color: rgba(255, 250, 242, 0.6);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ---------- 通用章节 ---------- */

.section {
  padding: 92px 0;
}

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

.section--paper {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section--dark {
  color: var(--paper-2);
  background: var(--ink);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.section-head__left {
  max-width: 720px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section--dark .kicker {
  color: var(--lime);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.section-title .mark {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.section-title .mark::after {
  position: absolute;
  right: -3px;
  bottom: 4px;
  left: -3px;
  z-index: -1;
  height: 12px;
  background: var(--lime);
  content: "";
}

.section-desc {
  max-width: 660px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.section--dark .section-desc {
  color: rgba(255, 250, 242, 0.6);
}

/* ---------- 今日大瓜 ---------- */

.feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 34px;
}

.lead-story {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lead-story:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--ink);
}

.lead-story__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.lead-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.lead-story:hover .lead-story__media img {
  transform: scale(1.04);
}

.lead-story__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  color: var(--paper-2);
  background: var(--red);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.lead-story__body {
  padding: 28px;
}

.lead-story__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.lead-story__meta .tag {
  color: var(--red);
  font-weight: 800;
}

.lead-story h3 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.35;
}

.lead-story h3 a {
  transition: color 0.2s ease;
}

.lead-story h3 a:hover {
  color: var(--red);
}

.lead-story p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.lead-story__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.hot-list {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.hot-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  color: var(--paper-2);
  background: var(--red);
}

.hot-list__head h3 {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.hot-list__head span {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.8;
}

.hot-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.hot-list__item:last-child {
  border-bottom: 0;
}

.hot-list__item:hover {
  background: rgba(217, 255, 75, 0.2);
}

.hot-list__rank {
  flex-shrink: 0;
  width: 26px;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.hot-list__item:nth-child(n + 4) .hot-list__rank {
  color: var(--muted);
  font-size: 18px;
}

.hot-list__content {
  min-width: 0;
}

.hot-list__content h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.hot-list__content h4 a:hover {
  color: var(--red);
}

.hot-list__content p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.story-card:hover {
  border-color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.story-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card:hover .story-card__media img {
  transform: scale(1.06);
}

.story-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.story-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.pill {
  display: inline-block;
  padding: 3px 9px;
  color: var(--ink);
  background: var(--paper-3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.pill--red {
  color: var(--paper-2);
  background: var(--red);
}

.pill--lime {
  background: var(--lime);
}

.story-card h3 {
  margin-top: 11px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.45;
}

.story-card h3 a:hover {
  color: var(--red);
}

.story-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.story-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

.story-card__foot .text-link {
  font-size: 12px;
}

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

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

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card::after {
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  background: var(--lime);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-card:hover::after {
  opacity: 0.35;
  transform: scale(1.15);
}

.feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 12px;
}

.feature-card__icon svg {
  width: 23px;
  height: 23px;
}

.feature-card__num {
  color: var(--line);
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.feature-card h3 {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  font-size: 19px;
}

.feature-card p {
  position: relative;
  z-index: 2;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- 服务 ---------- */

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 58px;
}

.service-visual {
  position: relative;
  padding: 16px;
  background: var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--red);
  transform: rotate(-1.5deg);
}

.service-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.service-visual__note {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  padding: 16px 18px;
  color: var(--paper-2);
  background: rgba(22, 18, 15, 0.86);
  border: 1px solid rgba(255, 250, 242, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.service-visual__note span {
  display: block;
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-visual__note p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.65;
}

.service-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.service-item {
  display: flex;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 250, 242, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.service-item:hover {
  background: var(--paper-2);
  border-color: var(--ink);
  transform: translateX(4px);
}

.service-item__no {
  flex-shrink: 0;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
}

.service-item h3 {
  font-size: 16px;
}

.service-item p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 分类橱窗 ---------- */

.category-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, 210px);
  gap: 18px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
}

.category-card:first-child {
  grid-row: span 2;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.category-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(transparent 25%, rgba(22, 18, 15, 0.88));
  content: "";
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 22px;
  color: var(--paper-2);
}

.category-card:first-child .category-card__content {
  padding: 30px;
}

.category-card__content span {
  display: inline-block;
  padding: 4px 9px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.category-card__content h3 {
  margin-top: 9px;
  font-family: var(--font-serif);
  font-size: 21px;
}

.category-card:first-child .category-card__content h3 {
  font-size: 30px;
}

.category-card__content p {
  margin-top: 4px;
  color: rgba(255, 250, 242, 0.65);
  font-size: 12px;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: var(--paper-2);
  background: var(--red);
  border-block: 3px solid var(--ink);
}

.cta::before {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(255, 250, 242, 0.18);
  border-radius: 50%;
  content: "";
}

.cta::after {
  position: absolute;
  bottom: -90px;
  left: 5%;
  width: 180px;
  height: 180px;
  background: var(--lime);
  border-radius: 50%;
  content: "";
  opacity: 0.9;
}

.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 54px;
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.cta h2 em {
  color: var(--lime);
  font-style: normal;
}

.cta p {
  max-width: 560px;
  margin-top: 16px;
  color: rgba(255, 250, 242, 0.78);
  font-size: 15px;
}

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

.cta__panel {
  position: relative;
  padding: 26px;
  background: rgba(22, 18, 15, 0.88);
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: var(--radius);
}

.cta__panel h3 {
  color: var(--lime);
  font-size: 18px;
}

.cta__panel p {
  margin-top: 8px;
  font-size: 13px;
}

.newsletter {
  display: flex;
  margin-top: 18px;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 5px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  padding: 8px 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.newsletter button {
  flex-shrink: 0;
  padding: 9px 16px;
  color: var(--paper-2);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition: background 0.2s ease;
}

.newsletter button:hover {
  background: var(--red);
}

.form-note {
  margin-top: 10px;
  color: rgba(255, 250, 242, 0.48);
  font-size: 11px;
}

/* ---------- 热榜页 / 列表页 ---------- */

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

.page-hero--dark {
  color: var(--paper-2);
  background: var(--ink);
}

.page-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
}

.page-hero h1 {
  max-width: 820px;
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.page-hero p {
  max-width: 660px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.page-hero--dark p {
  color: rgba(255, 250, 242, 0.64);
}

.page-hero__stamp {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transform: rotate(-7deg);
  box-shadow: 6px 6px 0 var(--red);
}

.page-hero--dark .page-hero__stamp {
  box-shadow: 6px 6px 0 var(--red);
}

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

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb li + li::before {
  margin-right: 8px;
  color: var(--line);
  content: "/";
}

/* 筛选 */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--paper-2);
  background: var(--ink);
  border-color: var(--ink);
}

.filter-bar__count {
  color: var(--muted);
  font-size: 12px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 38px;
}

.news-list {
  display: grid;
  gap: 22px;
}

.news-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.news-row:hover {
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.news-row__media {
  overflow: hidden;
  background: var(--paper-3);
}

.news-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-row:hover .news-row__media img {
  transform: scale(1.05);
}

.news-row__body {
  padding: 24px;
}

.news-row__body h2 {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.45;
}

.news-row__body h2 a:hover {
  color: var(--red);
}

.news-row__body p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.news-row__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 11px;
}

/* 侧栏 */

.sidebar {
  display: grid;
  gap: 22px;
}

.side-card {
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.side-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.side-card__head h2 {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.side-card__head span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.side-card__body {
  padding: 18px 20px;
}

.side-card--dark {
  color: var(--paper-2);
  background: var(--ink);
  border-color: var(--ink);
}

.side-card--dark .side-card__head {
  border-color: var(--line-dark);
}

.side-card--dark .side-card__head span {
  color: var(--lime);
}

.side-about {
  display: flex;
  gap: 14px;
  align-items: center;
}

.side-about img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime);
}

.side-about h3 {
  font-size: 15px;
}

.side-about p {
  margin-top: 4px;
  color: rgba(255, 250, 242, 0.6);
  font-size: 11px;
  line-height: 1.6;
}

.side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.side-tags a {
  padding: 6px 11px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.side-tags a:hover {
  color: var(--paper-2);
  background: var(--red);
}

.side-rank {
  display: grid;
  gap: 0;
}

.side-rank li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

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

.side-rank b {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 17px;
}

.side-rank a {
  font-size: 12px;
  line-height: 1.55;
}

.side-rank a:hover {
  color: var(--red);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 38px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.pagination a:hover,
.pagination .is-current {
  color: var(--paper-2);
  background: var(--ink);
  border-color: var(--ink);
}

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

.article-hero {
  padding: 46px 0 54px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.article-hero__inner {
  max-width: 920px;
  margin-inline: auto;
}

.article-hero h1 {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.article-hero__lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12px;
}

.article-meta__author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.article-meta__author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 46px;
}

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

.article-body__hero {
  margin: 0 0 32px;
}

.article-body__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-body__hero figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.article-content {
  font-size: 16px;
  line-height: 2;
}

.article-content > p + p {
  margin-top: 18px;
}

.article-content h2 {
  margin: 38px 0 14px;
  font-family: var(--font-serif);
  font-size: 26px;
}

.article-content h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.article-content strong {
  background: linear-gradient(transparent 58%, rgba(217, 255, 75, 0.7) 58%);
  font-weight: 800;
}

.article-content blockquote {
  position: relative;
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--paper-2);
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.85;
}

.article-content ul {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-left: 0;
}

.article-content ul li {
  position: relative;
  padding-left: 22px;
}

.article-content ul li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  content: "";
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-tags a {
  padding: 7px 13px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.article-tags a:hover {
  border-color: var(--red);
  color: var(--red);
}

.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.article-share p {
  font-size: 13px;
  font-weight: 800;
}

.article-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-btn {
  padding: 7px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.share-btn:hover {
  color: var(--paper-2);
  background: var(--red);
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.article-nav a {
  padding: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article-nav a:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.article-nav span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.article-nav p {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.toc {
  display: grid;
  gap: 8px;
}

.toc a {
  padding-left: 12px;
  color: var(--ink-soft);
  border-left: 2px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

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

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

/* ---------- 关于 ---------- */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 56px;
}

.about-copy p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

.about-copy p:first-child {
  margin-top: 22px;
}

.about-copy p strong {
  font-weight: 800;
  background: linear-gradient(transparent 62%, rgba(217, 255, 75, 0.8) 62%);
}

.quote-card {
  position: relative;
  padding: 30px;
  background: var(--ink);
  color: var(--paper-2);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--red);
  transform: rotate(1.5deg);
}

.quote-card::before {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  content: "“";
}

.quote-card p {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.9;
}

.quote-card span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 250, 242, 0.55);
  font-size: 11px;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 10px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.timeline__year {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.timeline__item h3 {
  font-size: 18px;
}

.timeline__item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

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

.value-card {
  padding: 30px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
}

.value-card h3 {
  margin-top: 20px;
  font-size: 18px;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.team-card:hover img {
  filter: grayscale(0);
}

.team-card__body {
  padding: 18px;
}

.team-card h3 {
  font-size: 16px;
}

.team-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

/* ---------- 会员产品 ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.plan--featured {
  color: var(--paper-2);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 8px 8px 0 var(--red);
}

.plan__badge {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 5px 13px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.plan__name {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan--featured .plan__name {
  color: var(--lime);
}

.plan__price {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.plan__price small {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
}

.plan__desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.plan--featured .plan__desc {
  color: rgba(255, 250, 242, 0.6);
}

.plan__list {
  display: grid;
  gap: 11px;
  margin: 24px 0;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.plan--featured .plan__list {
  border-color: var(--line-dark);
}

.plan__list li {
  position: relative;
  padding-left: 23px;
  font-size: 13px;
}

.plan__list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--red);
  font-weight: 900;
  content: "✓";
}

.plan--featured .plan__list li::before {
  color: var(--lime);
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

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

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
}

.compare-table thead th {
  color: var(--paper-2);
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover {
  background: rgba(217, 255, 75, 0.12);
}

.compare-table .yes {
  color: var(--red);
  font-weight: 900;
}

.compare-table .no {
  color: var(--muted);
}

/* ---------- 联系 ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.contact-form {
  padding: 34px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 800;
}

.field label span {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 50, 45, 0.1);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  margin-top: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.contact-card {
  padding: 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card + .contact-card {
  margin-top: 18px;
}

.contact-card__label {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.contact-card h2 {
  margin-top: 8px;
  font-size: 18px;
}

.contact-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.contact-card strong {
  color: var(--ink);
}

.contact-card dl {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
}

.contact-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}

.contact-card dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-card dt {
  color: var(--muted);
}

.contact-card dd {
  margin: 0;
  font-weight: 700;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: var(--radius);
  background: var(--ink);
}

.map-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(1);
}

.map-card__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50% 50% 50% 0;
  font-size: 23px;
  transform: translate(-50%, -70%) rotate(-45deg);
  box-shadow: 4px 4px 0 var(--red);
  animation: float 3.5s ease-in-out infinite;
}

.map-card__pin span {
  transform: rotate(45deg);
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

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

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

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 46px 20px 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::before {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--paper-2);
  background: var(--red);
  border-radius: 50%;
  font-size: 11px;
  content: "?";
}

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

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

.faq-item__answer {
  padding: 0 40px 20px 42px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.faq-note {
  padding: 22px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1deg);
}

.faq-note h3 {
  font-size: 17px;
}

.faq-note p {
  margin-top: 8px;
  font-size: 13px;
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
  color: var(--paper-2);
  background: var(--ink);
}

.site-footer::before {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(217, 255, 75, 0.2);
  border-radius: 50%;
  content: "";
}

.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 42px;
  padding-bottom: 48px;
}

.footer-brand .brand__name {
  color: var(--paper-2);
}

.footer-brand .brand__sub {
  color: rgba(255, 250, 242, 0.45);
}

.footer-brand p {
  max-width: 320px;
  margin-top: 18px;
  color: rgba(255, 250, 242, 0.58);
  font-size: 13px;
  line-height: 1.85;
}

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.footer-social span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--paper-2);
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.14);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.footer-col h2 {
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.footer-col a {
  color: rgba(255, 250, 242, 0.62);
  font-size: 12px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--lime);
  padding-left: 4px;
}

.footer-col p {
  margin-top: 14px;
  color: rgba(255, 250, 242, 0.56);
  font-size: 12px;
  line-height: 1.8;
}

.footer-newsletter {
  display: flex;
  margin-top: 14px;
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 999px;
  padding: 4px;
}

.footer-newsletter input {
  min-width: 0;
  flex: 1;
  padding: 8px 12px;
  color: var(--paper-2);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 250, 242, 0.42);
}

.footer-newsletter button {
  flex-shrink: 0;
  padding: 7px 13px;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 250, 242, 0.12);
  color: rgba(255, 250, 242, 0.46);
  font-size: 11px;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

/* ---------- 轻提示 ---------- */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 120;
  max-width: calc(100% - 32px);
  padding: 11px 18px;
  color: var(--paper-2);
  background: var(--ink);
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

/* ---------- 返回顶部 ---------- */

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--paper-2);
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--ink);
}

.back-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- 动画 ---------- */

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

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(217, 255, 75, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(217, 255, 75, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: rotate(8deg) translateY(0);
  }
  50% {
    transform: rotate(8deg) translateY(-9px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

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

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

@media (max-width: 1080px) {
  .nav__menu {
    gap: 0;
  }

  .nav__link {
    padding-inline: 10px;
    font-size: 14px;
  }

  .hero__grid {
    gap: 32px;
  }

  .hero__collage {
    min-height: 500px;
  }

  .hero__card--main {
    right: 20px;
    width: 330px;
    height: 430px;
  }

  .hero__card--small {
    width: 170px;
    height: 195px;
  }

  .hero__card--a {
    top: 40px;
  }

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

  .category-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(3, 190px);
  }

  .category-card:first-child {
    grid-row: span 2;
  }

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

  .footer-top {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }

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

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

  .topbar__links {
    display: none;
  }

  .nav__search {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 2px;
    padding: 14px 24px 20px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--ink);
    box-shadow: 0 24px 40px rgba(22, 18, 15, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav__menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__link {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav__link::after {
    display: none;
  }

  .hero {
    padding: 54px 0 64px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero__title {
    max-width: 680px;
  }

  .hero__collage {
    width: min(560px, 100%);
    min-height: 520px;
    margin-inline: auto;
  }

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

  .stat:nth-child(3)::before {
    display: none;
  }

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

  .feed-grid,
  .content-layout,
  .article-layout,
  .about-intro,
  .contact-layout,
  .faq-layout,
  .service-layout,
  .cta__inner {
    grid-template-columns: 1fr;
  }

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

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

  .cta__panel {
    max-width: 560px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .plan--featured {
    order: -1;
  }

  .related-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-hero__stamp {
    display: none;
  }

  .about-intro {
    gap: 34px;
  }

  .quote-card {
    max-width: 560px;
    transform: none;
  }

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

@media (max-width: 520px) {
  .nav__actions > .btn {
    display: none;
  }

  .brand__sub {
    letter-spacing: 0.12em;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 34px);
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__note {
    display: none;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    font-size: 21px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .brand__name {
    font-size: 17px;
  }

  .brand__sub {
    font-size: 9px;
  }

  .hero__title {
    font-size: clamp(39px, 12vw, 58px);
  }

  .hero__title em {
    white-space: normal;
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__actions .btn {
    flex: 1;
  }

  .hero__collage {
    min-height: 430px;
  }

  .hero__card--main {
    right: 0;
    width: 78%;
    height: 360px;
    box-shadow: 8px 9px 0 var(--ink);
  }

  .hero__caption h2 {
    font-size: 18px;
  }

  .hero__card--a {
    top: 28px;
    left: -8px;
  }

  .hero__card--b {
    right: -6px;
    bottom: 52px;
  }

  .hero__card--c {
    bottom: 0;
    left: 20px;
    width: 142px;
    height: 126px;
  }

  .hero__card--small {
    width: 136px;
    height: 168px;
  }

  .hero__sticker {
    top: 0;
    right: 4px;
    width: 92px;
    height: 92px;
    font-size: 11px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
  }

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

  .story-grid,
  .related-strip {
    grid-template-columns: 1fr;
  }

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

  .category-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 200px);
  }

  .category-card:first-child {
    grid-row: span 1;
  }

  .category-card:first-child .category-card__content h3 {
    font-size: 24px;
  }

  .news-row {
    grid-template-columns: 1fr;
  }

  .news-row__media {
    aspect-ratio: 16 / 9;
  }

  .news-row__body {
    padding: 20px;
  }

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

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

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

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

  .article-content h2 {
    font-size: 23px;
  }

  .article-share {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
  }

  .timeline__year {
    font-size: 22px;
  }

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

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

  .contact-form {
    padding: 24px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .faq-item__answer {
    padding: 0 0 20px 42px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter {
    flex-direction: column;
    background: transparent;
    padding: 0;
  }

  .newsletter input {
    background: var(--paper-2);
    border-radius: 999px;
    padding: 12px 16px;
  }

  .newsletter button {
    padding: 12px 16px;
  }

  .cta::after {
    width: 110px;
    height: 110px;
    opacity: 0.55;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }
}
