/* ==========================================================================
   ATFX 观察 · v2 全站样式
   设计语言：纸感底色 / 衬线标题 / 报头双线 / 非对称分栏 / 窄阅读栏
   变量前缀 --mag-，与 v1 的 --biz- 体系完全隔离
   断点：1199 / 991 / 767 / 519
   ========================================================================== */

:root {
  --mag-ink: #1C1B19;
  --mag-ink-2: #3A3833;
  --mag-ink-3: #6B6862;
  --mag-ink-4: #9C978E;
  --mag-ink-5: #C4BCAD;

  --mag-paper: #FAF8F4;
  --mag-paper-2: #F2EEE6;
  --mag-paper-3: #EFEAE0;
  --mag-image: #E5DFD4;
  --mag-image-2: #C4BCAD;

  --mag-accent: #1F4D3D;
  --mag-accent-2: #2A6350;
  --mag-accent-soft: #EAF0EC;

  --mag-line: #E4DFD6;
  --mag-line-2: #D8D2C4;

  --mag-up: #C62828;
  --mag-down: #0F7B54;

  --mag-font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mag-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "STSong", "SimSun",
    Georgia, "Times New Roman", serif;

  --mag-w: 1200px;
  --mag-head-h: 132px;
  --mag-ease: cubic-bezier(.2, .6, .3, 1);
}

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

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

body {
  margin: 0;
  background: var(--mag-paper);
  color: var(--mag-ink);
  font-family: var(--mag-font);
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

:focus-visible {
  outline: 2px solid var(--mag-accent);
  outline-offset: 2px;
}

.mag-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mag-wrap {
  width: 100%;
  max-width: var(--mag-w);
  margin: 0 auto;
  padding: 0 32px;
}

.mag-serif { font-family: var(--mag-serif); }

/* ============================================================== 报头 */

.mag-masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--mag-paper);
}

.mag-masthead__dateline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 10px;
  font-size: 12px;
  color: var(--mag-ink-3);
}

.mag-masthead__issue { color: var(--mag-ink-3); }
.mag-masthead__issue b { font-weight: 500; color: var(--mag-ink-2); }

.mag-masthead__lang { display: flex; gap: 14px; }
.mag-masthead__lang a { color: var(--mag-ink-4); transition: color .15s var(--mag-ease); }
.mag-masthead__lang a:hover { color: var(--mag-accent); }
.mag-masthead__lang .is-on { color: var(--mag-ink-2); }

.mag-masthead__brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
}

.mag-nameplate {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.mag-nameplate__text {
  font-family: var(--mag-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  white-space: nowrap;
}

.mag-nameplate__tag {
  font-size: 12px;
  color: var(--mag-ink-4);
  white-space: nowrap;
}

.mag-masthead__acts {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.mag-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--mag-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background-color .16s var(--mag-ease);
}

.mag-subscribe:hover { background: var(--mag-accent-2); }

.mag-masthead__rule {
  border-top: 2px solid var(--mag-ink);
  border-bottom: 1px solid var(--mag-line);
  height: 4px;
}

/* ============================================================== 导航 */

.mag-nav { border-bottom: 1px solid var(--mag-line); }

.mag-nav__list {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 48px;
}

.mag-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mag-ink-3);
  white-space: nowrap;
  transition: color .15s var(--mag-ease);
}

.mag-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--mag-accent);
  transform: scaleX(0);
  transition: transform .2s var(--mag-ease);
}

.mag-nav__link:hover { color: var(--mag-ink); }
.mag-nav__link:hover::after,
.mag-nav__link.is-on::after { transform: scaleX(1); }
.mag-nav__link.is-on { color: var(--mag-accent); }

.mag-nav__search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--mag-ink-4);
  transition: color .15s var(--mag-ease);
}

.mag-nav__search:hover { color: var(--mag-accent); }
.mag-nav__search svg { width: 15px; height: 15px; }

.mag-burger {
  display: none;
  width: 40px; height: 40px;
  margin-left: auto;
  place-items: center;
}

.mag-burger__box { display: block; width: 22px; height: 15px; position: relative; }
.mag-burger__box i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--mag-ink);
  transition: transform .22s var(--mag-ease), opacity .16s var(--mag-ease);
}
.mag-burger__box i:nth-child(1) { top: 0; }
.mag-burger__box i:nth-child(2) { top: 6.5px; }
.mag-burger__box i:nth-child(3) { top: 13px; }
.mag-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mag-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.mag-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================== 抽屉 */

.mag-drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.mag-drawer.is-open { display: block; }

.mag-drawer__mask { position: absolute; inset: 0; background: rgba(28, 27, 25, .4); }

.mag-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: var(--mag-paper);
  overflow-y: auto;
  animation: mag-in .24s var(--mag-ease);
}

@keyframes mag-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.mag-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--mag-line);
}

.mag-drawer__title {
  font-family: var(--mag-serif);
  font-size: 17px;
  font-weight: 700;
}

.mag-drawer__close { width: 34px; height: 34px; display: grid; place-items: center; color: var(--mag-ink-3); }
.mag-drawer__close svg { width: 17px; height: 17px; }

.mag-drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--mag-ink-3);
  border-bottom: 1px solid var(--mag-line);
}

.mag-drawer__nav a.is-on { color: var(--mag-accent); }
.mag-drawer__nav a svg { width: 14px; height: 14px; color: var(--mag-ink-5); }

/* ============================================================== 主体 */

.mag-main { padding: 34px 0 76px; }

/* ---------------------------------------------------------- 主视觉 */

.mag-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.92fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 46px;
}

.mag-lead__cover {
  display: block;
  position: relative;
  background: var(--mag-image);
  margin-bottom: 22px;
  overflow: hidden;
}

.mag-lead__cover img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform .6s var(--mag-ease); }
.mag-lead__figure:hover .mag-lead__cover img { transform: scale(1.02); }

.mag-lead__flag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 3px 10px;
  background: var(--mag-paper);
  color: var(--mag-accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
}

.mag-lead__title {
  font-family: var(--mag-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .01em;
  margin-bottom: 14px;
}

.mag-lead__title a { transition: color .18s var(--mag-ease); }
.mag-lead__title a:hover { color: var(--mag-accent); }

.mag-lead__excerpt {
  font-size: 14.5px;
  color: var(--mag-ink-3);
  line-height: 1.8;
  margin-bottom: 16px;
}

.mag-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mag-ink-4);
}

.mag-byline__dot { color: var(--mag-ink-5); }

/* 本期要目 */
.mag-contents { align-self: start; }

.mag-contents__title {
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mag-line);
  margin-bottom: 4px;
}

.mag-contents__list { counter-reset: magc; }

.mag-contents__item {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--mag-line);
}

.mag-contents__item:last-child { border-bottom: 0; }

.mag-contents__num {
  flex: none;
  font-family: var(--mag-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--mag-accent);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.mag-contents__item:nth-child(n+4) .mag-contents__num { color: var(--mag-ink-5); }

.mag-contents__text {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--mag-ink-2);
  transition: color .15s var(--mag-ease);
}

.mag-contents__item:hover .mag-contents__text { color: var(--mag-accent); }

/* ---------------------------------------------------------- 广告位 */

.mag-ad { padding-bottom: 46px; }

.mag-ad picture {
  display: block;
  background: var(--mag-paper-3);
  overflow: hidden;
}

.mag-ad img { display: block; width: 100%; height: auto; }

.mag-ad__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: var(--mag-paper-3);
  border: 1px dashed var(--mag-line-2);
  color: var(--mag-ink-3);
  font-size: 13px;
}

/* ---------------------------------------------------------- 区块头 */

.mag-sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mag-line);
  margin-bottom: 26px;
}

.mag-sechead__title {
  font-family: var(--mag-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
}

.mag-sechead__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--mag-ink-4);
  transition: color .15s var(--mag-ease);
}

.mag-sechead__more:hover { color: var(--mag-accent); }
.mag-sechead__more svg { width: 12px; height: 12px; }

/* ---------------------------------------------------------- 编辑精选 */

.mag-picks { padding-bottom: 50px; }

.mag-picks__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.44fr) minmax(0, 1fr);
  gap: 40px;
}

.mag-pick-lead__cover { display: block; background: var(--mag-image); margin-bottom: 18px; overflow: hidden; }
.mag-pick-lead__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s var(--mag-ease);
}
.mag-pick-lead:hover .mag-pick-lead__cover img { transform: scale(1.025); }

.mag-pick-lead__title {
  font-family: var(--mag-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.48;
  margin-bottom: 10px;
}

.mag-pick-lead__title a:hover { color: var(--mag-accent); }

.mag-pick-lead__excerpt {
  font-size: 14px;
  color: var(--mag-ink-3);
  line-height: 1.78;
  margin-bottom: 12px;
}

.mag-picks__side { display: flex; flex-direction: column; }

.mag-pick {
  display: flex;
  gap: 16px;
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--mag-line);
}

.mag-pick:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.mag-pick__thumb {
  flex: none;
  width: 104px;
  background: var(--mag-image);
  overflow: hidden;
}

.mag-pick__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.mag-pick__body { min-width: 0; }

.mag-pick__title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.58;
  margin-bottom: 7px;
}

.mag-pick__title a:hover { color: var(--mag-accent); }

.mag-pick__meta { font-size: 11.5px; color: var(--mag-ink-4); }

/* ---------------------------------------------------------- 三栏 */

.mag-triple {
  display: grid;
  grid-template-columns: 210fr 182fr 156fr;
  gap: 40px;
  padding: 50px 0;
  border-top: 1px solid var(--mag-line);
}

.mag-col__head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mag-line);
  margin-bottom: 16px;
}

.mag-col__title {
  font-family: var(--mag-serif);
  font-size: 16px;
  font-weight: 700;
}

.mag-brief { padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--mag-line); }
.mag-brief:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.mag-brief__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 6px;
}

.mag-brief__title a:hover { color: var(--mag-accent); }
.mag-brief__meta { font-size: 11.5px; color: var(--mag-ink-4); }

.mag-col__feature { display: block; }

.mag-col__feature-cover { background: var(--mag-image); margin-bottom: 14px; overflow: hidden; }
.mag-col__feature-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--mag-ease); }
.mag-col__feature:hover .mag-col__feature-cover img { transform: scale(1.03); }

.mag-col__feature-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 6px;
}

.mag-col__feature:hover .mag-col__feature-title { color: var(--mag-accent); }

/* 行情条 */
.mag-quote {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--mag-line);
}

.mag-quote__name { font-size: 13px; color: var(--mag-ink-3); }
.mag-quote__val { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.mag-quote__chg { font-size: 12px; font-variant-numeric: tabular-nums; }

.mag-quote.is-up .mag-quote__val,
.mag-quote.is-up .mag-quote__chg { color: var(--mag-up); }
.mag-quote.is-down .mag-quote__val,
.mag-quote.is-down .mag-quote__chg { color: var(--mag-down); }

.mag-quote__more { display: inline-flex; align-items: center; gap: 4px; padding-top: 14px; font-size: 12.5px; color: var(--mag-accent); }
.mag-quote__more svg { width: 12px; height: 12px; }

/* ---------------------------------------------------------- 编者按 */

.mag-editors {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 30px 32px;
  background: var(--mag-paper-2);
  border-left: 3px solid var(--mag-accent);
}

.mag-editors__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--mag-accent);
  margin-bottom: 10px;
}

.mag-editors__text {
  font-size: 14px;
  color: var(--mag-ink-2);
  line-height: 1.85;
}

.mag-editors__sign {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--mag-ink-4);
}

.mag-editors__team { display: flex; gap: 22px; }

.mag-editors__person { text-align: center; }

.mag-editors__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--mag-image);
  display: grid;
  place-items: center;
  font-family: var(--mag-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--mag-ink-3);
  margin-bottom: 8px;
}

.mag-editors__name { font-size: 12px; color: var(--mag-ink-3); }

/* ============================================================== 页脚 */

.mag-footer {
  border-top: 1px solid var(--mag-line);
  padding: 40px 0 28px;
  background: var(--mag-paper);
}

.mag-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, minmax(0, 1fr)) 1.4fr;
  gap: 32px;
  padding-bottom: 30px;
}

.mag-footer__name {
  font-family: var(--mag-serif);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mag-footer__desc { font-size: 12.5px; color: var(--mag-ink-3); line-height: 1.8; }

.mag-footer__col-title { font-size: 13px; font-weight: 500; color: var(--mag-ink-2); margin-bottom: 14px; }
.mag-footer__links li { margin-bottom: 10px; }
.mag-footer__links a { font-size: 12.5px; color: var(--mag-ink-3); transition: color .15s var(--mag-ease); }
.mag-footer__links a:hover { color: var(--mag-accent); }

.mag-footer__note { font-size: 12px; color: var(--mag-ink-4); line-height: 1.8; text-align: right; }

.mag-footer__disclaimer {
  padding: 18px 0;
  border-top: 1px solid var(--mag-line);
  font-size: 12px;
  line-height: 1.8;
  color: var(--mag-ink-4);
}

.mag-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--mag-line);
  font-size: 12px;
  color: var(--mag-ink-4);
}

/* ============================================================== 底部导航 */

.mag-tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--mag-paper-2);
  border-top: 1px solid var(--mag-line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mag-tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 0 8px;
  font-size: 11px;
  color: var(--mag-ink-4);
}

.mag-tabbar__item svg { width: 20px; height: 20px; }
.mag-tabbar__item.is-on { color: var(--mag-accent); }

/* ============================================================== 文章页 */

.mag-article { padding: 30px 0 72px; }

.mag-article__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mag-ink-4);
  margin-bottom: 22px;
}

.mag-article__meta a { color: var(--mag-accent); }
.mag-article__meta .mag-byline__dot { color: var(--mag-ink-5); }

.mag-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 56px;
  max-width: 1000px;
}

.mag-article__title {
  font-family: var(--mag-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: .01em;
  margin-bottom: 20px;
}

.mag-article__byline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--mag-line);
}

.mag-article__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--mag-image);
  display: grid;
  place-items: center;
  font-family: var(--mag-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--mag-ink-3);
  flex: none;
}

.mag-article__author { font-size: 13.5px; font-weight: 500; }
.mag-article__role { font-size: 12px; color: var(--mag-ink-4); }

.mag-article__cover {
  background: var(--mag-image);
  margin-bottom: 14px;
}

.mag-article__cover img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.mag-article__caption {
  font-size: 12px;
  color: var(--mag-ink-4);
  margin-bottom: 34px;
}

.mag-body { font-size: 16.5px; line-height: 1.95; color: #2B2A27; }
.mag-body > * + * { margin-top: 26px; }

.mag-body p { margin: 0; }

.mag-body h2 {
  font-family: var(--mag-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--mag-ink);
  margin-top: 46px;
  padding-left: 0;
}

.mag-body h3 {
  font-family: var(--mag-serif);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--mag-ink);
  margin-top: 38px;
}

.mag-body figure { margin: 36px 0; }
.mag-body figure img { width: 100%; background: var(--mag-image); }

.mag-body figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--mag-ink-4);
  text-align: center;
  line-height: 1.7;
}

.mag-body blockquote {
  margin: 36px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--mag-accent);
  font-family: var(--mag-serif);
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--mag-ink-2);
}

.mag-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--mag-font);
  font-size: 12.5px;
  font-style: normal;
  color: var(--mag-ink-4);
}

.mag-body ul,
.mag-body ol { padding-left: 24px; }
.mag-body ul { list-style: disc; }
.mag-body ol { list-style: decimal; }
.mag-body li { margin-bottom: 12px; }
.mag-body li::marker { color: var(--mag-accent); }

.mag-body a {
  color: var(--mag-accent);
  border-bottom: 1px solid var(--mag-accent-soft);
  transition: border-color .15s var(--mag-ease);
}

.mag-body a:hover { border-color: var(--mag-accent); }

.mag-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 34px 0; }
.mag-body th,
.mag-body td { padding: 12px 14px; border-bottom: 1px solid var(--mag-line); text-align: left; }
.mag-body th {
  background: var(--mag-paper-2);
  font-weight: 500;
  color: var(--mag-ink);
  white-space: nowrap;
}
.mag-body td { color: var(--mag-ink-2); }

.mag-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--mag-line);
}

.mag-tags a {
  font-size: 12.5px;
  color: var(--mag-accent);
  padding: 4px 12px;
  background: var(--mag-accent-soft);
  transition: background-color .15s var(--mag-ease);
}

.mag-tags a:hover { background: #DCE8E0; }

.mag-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.mag-pager__item {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--mag-line);
  transition: border-color .16s var(--mag-ease), background-color .16s var(--mag-ease);
}

.mag-pager__item:hover { border-color: var(--mag-line-2); background: var(--mag-paper-2); }
.mag-pager__label { font-size: 11.5px; color: var(--mag-ink-4); margin-bottom: 8px; }
.mag-pager__title { font-size: 14px; font-weight: 600; line-height: 1.55; }
.mag-pager__item--next { text-align: right; }
.mag-pager__item.is-off { opacity: .4; pointer-events: none; }

/* 文章侧栏 */
.mag-side { position: sticky; top: calc(var(--mag-head-h) + 20px); align-self: start; }

.mag-side__block { margin-bottom: 30px; }

.mag-side__title {
  font-family: var(--mag-serif);
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mag-line);
  margin-bottom: 16px;
}

.mag-points {
  padding: 20px 22px;
  background: var(--mag-paper-2);
}

.mag-points__title {
  font-size: 12px;
  font-weight: 500;
  color: var(--mag-accent);
  margin-bottom: 14px;
}

.mag-points li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mag-ink-3);
}

.mag-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 1px;
  background: var(--mag-ink-5);
}

.mag-card-author { padding: 22px; border: 1px solid var(--mag-line); }

.mag-card-author__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.mag-card-author__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--mag-image);
  display: grid;
  place-items: center;
  font-family: var(--mag-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--mag-ink-3);
  flex: none;
}

.mag-card-author__name { font-size: 15px; font-weight: 600; }
.mag-card-author__role { font-size: 12px; color: var(--mag-ink-4); }
.mag-card-author__bio { font-size: 13px; color: var(--mag-ink-3); line-height: 1.8; }

.mag-side__list li { border-bottom: 1px solid var(--mag-line); }
.mag-side__list li:last-child { border-bottom: 0; }
.mag-side__list a { display: block; padding: 13px 0; }
.mag-side__list a:hover .mag-side__list-title { color: var(--mag-accent); }
.mag-side__list-title { font-size: 13.5px; font-weight: 500; line-height: 1.6; margin-bottom: 6px; transition: color .15s var(--mag-ease); }
.mag-side__list-meta { font-size: 11.5px; color: var(--mag-ink-4); }

/* ============================================================== 栏目页 */

.mag-section-head {
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--mag-line);
}

.mag-section-head__title {
  font-family: var(--mag-serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.mag-section-head__desc {
  max-width: 720px;
  font-size: 14.5px;
  color: var(--mag-ink-3);
  line-height: 1.8;
}

.mag-section-lede {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0 46px;
  border-bottom: 1px solid var(--mag-line);
}

.mag-section-lede__cover { background: var(--mag-image); overflow: hidden; }
.mag-section-lede__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.mag-section-lede__title {
  font-family: var(--mag-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 14px;
}

.mag-section-lede__title a:hover { color: var(--mag-accent); }

.mag-section-lede__excerpt {
  font-size: 14.5px;
  color: var(--mag-ink-3);
  line-height: 1.82;
  margin-bottom: 16px;
}

.mag-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 46px; }

.mag-item__cover { display: block; background: var(--mag-image); margin-bottom: 16px; overflow: hidden; }
.mag-item__cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--mag-ease); }
.mag-item:hover .mag-item__cover img { transform: scale(1.03); }

.mag-item__title {
  font-family: var(--mag-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.mag-item__title a:hover { color: var(--mag-accent); }

.mag-item__excerpt {
  font-size: 13.5px;
  color: var(--mag-ink-3);
  line-height: 1.78;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mag-empty { padding: 80px 0; text-align: center; color: var(--mag-ink-4); font-size: 14px; }

/* ============================================================== 响应式 */

@media (max-width: 1199px) {
  .mag-wrap { padding: 0 26px; }
  .mag-lead { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; }
  .mag-lead__title { font-size: 26px; }
  .mag-picks__grid { gap: 32px; }
  .mag-triple { gap: 30px; }
  .mag-article__layout { grid-template-columns: minmax(0, 1fr) 248px; gap: 40px; }
  .mag-article__title { font-size: 33px; }
  .mag-footer__grid { grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); }
  .mag-footer__note { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 991px) {
  .mag-nav__list,
  .mag-nav__search { display: none; }
  .mag-burger { display: grid; }
  .mag-nav { height: 0; border-bottom: 0; }

  .mag-lead { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mag-contents__item:nth-child(n+5) { display: none; }

  .mag-picks__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .mag-triple { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .mag-triple > :last-child { grid-column: 1 / -1; }

  .mag-article__layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mag-side { position: static; margin-top: 48px; }
  .mag-article__title { font-size: 29px; }

  .mag-section-lede { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .mag-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

  .mag-editors { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 26px 24px; }
  .mag-editors__team { justify-content: flex-start; }
}

@media (max-width: 767px) {
  body { font-size: 14.5px; padding-bottom: 58px; }
  .mag-wrap { padding: 0 18px; }

  .mag-nameplate__text { font-size: 24px; }
  .mag-nameplate__tag { display: none; }
  .mag-subscribe { height: 32px; padding: 0 16px; font-size: 12px; }
  .mag-masthead__dateline { font-size: 11px; }
  .mag-masthead__lang { display: none; }

  .mag-main { padding: 24px 0 52px; }
  .mag-lead { padding-bottom: 34px; }
  .mag-lead__title { font-size: 22px; }
  .mag-lead__excerpt { font-size: 13.5px; }
  .mag-lead__cover img { aspect-ratio: 16 / 9; }

  .mag-contents__item { padding: 13px 0; }
  .mag-contents__item:nth-child(n+3) { display: none; }

  .mag-ad { padding-bottom: 34px; }
  .mag-ad__hint { min-height: 96px; }

  .mag-sechead__title { font-size: 17px; }
  .mag-picks { padding-bottom: 38px; }
  .mag-pick-lead__title { font-size: 19px; }
  .mag-pick__thumb { width: 88px; }

  .mag-triple { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 38px 0; }
  .mag-triple > :last-child { grid-column: auto; }

  .mag-tabbar { display: flex; }

  .mag-article { padding: 22px 0 52px; }
  .mag-article__title { font-size: 24px; }
  .mag-article__cover img { aspect-ratio: 16 / 9; }
  .mag-body { font-size: 16px; line-height: 1.9; }
  .mag-body h2 { font-size: 19px; }
  .mag-body h3 { font-size: 17px; }
  .mag-body table { font-size: 13.5px; }
  .mag-body th,
  .mag-body td { padding: 10px 11px; }
  .mag-pager { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mag-pager__item--next { text-align: left; }

  .mag-section-head { padding: 28px 0 22px; }
  .mag-section-head__title { font-size: 26px; }
  .mag-section-lede { padding: 28px 0 34px; }
  .mag-section-lede__title { font-size: 21px; }
  .mag-list { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 34px; }

  .mag-footer { padding-top: 32px; }
  .mag-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .mag-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 519px) {
  .mag-lead__title { font-size: 20px; }
  .mag-pick { gap: 12px; }
  .mag-pick__thumb { width: 76px; }
  .mag-article__title { font-size: 22px; }
  .mag-editors__team { flex-wrap: wrap; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
