/* 心动时差研究所 · 维护友好版样式表 · 2026-11-22 */
:root {
  --page: #fffaf7;
  --paper: #ffffff;
  --ink: #302837;
  --muted: #6c626e;
  --rose: #a43e61;
  --violet: #564062;
  --line: #e9dfe4;
  --shadow: 0 14px 38px rgba(63, 36, 63, .09);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; min-width: 320px; background: var(--page); color: var(--ink); font: 16px/1.75 system-ui, -apple-system, "Microsoft YaHei", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rose); }
a:focus-visible, button:focus-visible { outline: 3px solid #b95484; outline-offset: 4px; }
button { font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 100; padding: 10px 16px; background: white; border: 2px solid var(--rose); }
.skip:focus { top: 12px; }
.topline { padding: 6px 12px; text-align: center; font-size: 12px; letter-spacing: .1em; color: #fff3f4; background: #443149; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 18px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; line-height: 1.25; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: white; font-size: 25px; background: linear-gradient(130deg, #d88297, #795885); }
.brand strong { display: block; font-size: 19px; letter-spacing: .02em; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 16px; min-width: 0; font-size: 13px; font-weight: 600; }
.nav a { display: inline-flex; align-items: center; min-height: 36px; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--rose); }
main { overflow: clip; }
section { padding-block: 40px; }
.hero { padding: 64px 0 52px; background: radial-gradient(ellipse at 100% 0%, #f4e5ed 0%, transparent 56%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(24px, 5vw, 60px); }
.hero-grid > * { min-width: 0; }
.eyebrow { display: inline-block; color: var(--rose); font-size: 12px; letter-spacing: .12em; font-weight: 750; }
.hero h1 { margin: 15px 0 22px; font-size: clamp(33px, 4vw, 58px); line-height: 1.22; letter-spacing: -.03em; }
.hero h1 em { color: var(--rose); font-style: normal; }
.lead { max-width: 600px; color: #625765; font-size: 16px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 10px 21px; border-radius: 999px; color: #fff; font-weight: 700; background: var(--rose); }
.button:hover { color: #fff; background: #862e4d; }
.button.ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.hero-image { position: relative; min-width: 0; }
.hero-image img { display: block; width: 100%; height: clamp(295px, 33vw, 440px); object-fit: cover; object-position: center 50%; border-radius: 140px 140px 22px 22px; box-shadow: var(--shadow); }
.floating-note { position: absolute; left: 12px; bottom: -20px; max-width: 255px; padding: 13px 18px; background: #fffdf6; color: var(--violet); border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(-2deg); font-family: Georgia, serif; font-size: 14px; }
.stripe { margin-block: 0; background: #fff; border-block: 1px solid var(--line); }
.stripe-inner { display: flex; justify-content: center; gap: 12px 36px; flex-wrap: wrap; padding-block: 18px; font-size: 13px; color: #655967; }
.stripe strong { font-size: 19px; color: var(--rose); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; }
.section-head h2, .page-head h1 { margin: 8px 0; font-size: clamp(27px, 3vw, 39px); line-height: 1.3; }
.section-head p, .page-head p { margin: 6px 0; color: var(--muted); }
.text-link { flex: 0 0 auto; color: var(--rose); font-weight: 700; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-tile { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; min-height: 158px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.category-tile:nth-child(3n + 2) { background: #fff0f1; }
.category-tile:nth-child(3n) { background: #f2eef9; }
.category-tile b { font-size: 21px; }
.category-tile span { color: var(--muted); font-size: 13px; }
.category-tile:hover, .story-card:hover { transform: translateY(-3px); }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px 19px; }
.story-card { display: block; min-width: 0; transition: transform .2s; }
.poster { position: relative; overflow: hidden; border-radius: 14px; background: #e7d5e4; aspect-ratio: 3 / 3.65; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.story-card:hover img { transform: scale(1.04); }
.poster .tag { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 8px; background: rgba(255,255,255,.94); font-size: 12px; font-weight: 700; }
.story-card h3 { margin: 10px 0 5px; font-size: 17px; line-height: 1.45; }
.story-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.editorial { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; overflow: hidden; border-radius: 23px; background: #46354e; color: white; }
.editorial .content { padding: clamp(24px, 4vw, 48px); }
.editorial h2 { margin: 12px 0; font-size: clamp(26px, 3vw, 35px); line-height: 1.3; }
.editorial p { color: #f0e3ef; }
.editorial img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.insight { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.insight h3 { margin: 0 0 9px; font-size: 18px; }
.insight p { margin: 0; color: var(--muted); }
.page-head { padding-block: 45px 12px; }
.crumb { margin-bottom: 12px; font-size: 13px; color: #826d7f; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 28px; padding-block: 35px 65px; }
.article, .aside-card { min-width: 0; padding: 34px; border: 1px solid var(--line); background: #fff; border-radius: 18px; }
.article h1 { margin: 10px 0; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.35; }
.article h2 { margin: 34px 0 14px; padding-left: 13px; border-left: 4px solid var(--rose); font-size: 23px; line-height: 1.4; }
.article h3 { font-size: 19px; }
.article p { color: #5f5560; }
.article .article-hero { width: 100%; max-height: 440px; margin-block: 25px; object-fit: cover; border-radius: 13px; }
.meta { font-size: 13px; color: var(--muted); }
.aside-card { padding: 20px; margin-bottom: 16px; }
.aside-card h3 { margin: 0 0 12px; }
.aside-card a { display: block; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 14px; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.related img { width: 100%; aspect-ratio: 1.25; border-radius: 9px; object-fit: cover; }
.related strong { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; }
.footer { margin-top: 40px; padding: 45px 0 25px; background: #392d42; color: #fff3f5; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 28px; }
.footer p, .footer small { color: #e2d4df; }
.footer a { display: inline-block; margin: 5px 12px 5px 0; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid #68536d; font-size: 12px; color: #e2d4df; }
@media (max-width: 1080px) {
  .head-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .nav { justify-content: flex-start; gap: 5px 20px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; }
  .hero-image img { height: 390px; }
  .floating-note { left: 18px; }
  .story-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .article-shell { grid-template-columns: 1fr; }
  .aside { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 30px); }
  .head-inner { padding-block: 12px; }
  .brand strong { font-size: 17px; }
  .nav { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 16px; padding-bottom: 6px; scrollbar-width: thin; }
  .nav a { flex: 0 0 auto; min-height: 35px; }
  .hero { padding: 30px 0 35px; }
  .hero h1 { font-size: clamp(30px, 8.3vw, 43px); }
  .hero-image img { height: 270px; border-radius: 95px 95px 12px 12px; }
  .floating-note { position: static; transform: none; max-width: none; margin-top: 12px; }
  .stripe-inner { justify-content: flex-start; gap: 5px 18px; }
  section { padding-block: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-tile { min-height: 140px; padding: 14px; border-radius: 14px; }
  .category-tile b { font-size: 17px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .story-card h3 { font-size: 15px; }
  .story-card p { font-size: 12px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial img { min-height: 0; height: 230px; }
  .columns { grid-template-columns: 1fr; }
  .article, .aside-card { padding: 18px; }
  .article .article-hero { max-height: 290px; }
  .article h2 { font-size: 20px; }
  .aside { grid-template-columns: 1fr; }
  .related { gap: 8px; }
  .related strong { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.hero-kicker { margin: -6px 0 16px; font-size: 16px; font-weight: 700; color: var(--rose); }
