/* =========================================================
   V3 · 墨录 2.0 —— 现代编辑排版风
   米纸底 + 墨黑 + 朱砂红，衬线标题 + 叠放相片
   ========================================================= */
:root {
  --paper: #f6f0e3;
  --paper-2: #efe6d3;
  --paper-3: #e5d8bf;
  --ink: #14110c;
  --ink-2: #2a251c;
  --muted: #6a6152;
  --dim: #8d8271;
  --line: #d6c9b3;
  --line-2: #b8a98f;
  --red: #b2352a;
  --red-dark: #8e2a21;
  --gold: #97722a;
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(178, 53, 42, 0.18);
}

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

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 28px;
}

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

.smallcaps {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.skip {
  position: fixed;
  left: 14px;
  top: -70px;
  z-index: 200;
  padding: 9px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}

.skip:focus {
  top: 10px;
}

/* ---------- 顶栏 / 报头 ---------- */
.topbar {
  background: var(--ink);
  color: #cfc4b1;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 36px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.topbar b {
  color: var(--paper);
  font-weight: 600;
}

.masthead {
  border-bottom: 3px double var(--ink);
  background: var(--paper);
}

.mast-in {
  padding: 24px 0 20px;
}

.mast-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.mast-top > div {
  text-align: center;
}

.mast-side {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
}

.mast-side.right {
  text-align: right;
}

.mast-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mast-brand img {
  width: 46px;
  height: 46px;
  display: block;
}

.mast-word {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
}

.mast-sub {
  display: block;
  margin-top: 6px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.mast-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 0 0 16px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
}

.mast-nav a {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.mast-nav a:hover {
  color: var(--ink);
}

.mast-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--red);
}

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 54px 0 50px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
}

.issue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
}

.issue::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  margin: 20px 0 20px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero-lead {
  max-width: 48ch;
  font-size: 15.5px;
  line-height: 1.95;
  color: #3c352b;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

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

.textlink--red {
  color: var(--red);
  border-color: var(--red);
}

/* 三张叠放相片 */
.hero-art {
  position: relative;
  height: 500px;
}

.print {
  position: absolute;
  margin: 0;
  padding: 9px 9px 32px;
  background: #fffdf8;
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(20, 17, 12, 0.08);
  transform: rotate(var(--r));
  transition: transform 0.35s ease;
}

.print img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
}

.print figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.print figcaption b {
  color: var(--ink);
  font-weight: 600;
}

.print:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 6;
}

.print.p1 {
  width: 60%;
  left: 0;
  top: 46px;
  --r: -5deg;
  z-index: 3;
}

.print.p2 {
  width: 48%;
  right: 0;
  top: 0;
  --r: 4deg;
  z-index: 2;
}

.print.p3 {
  width: 44%;
  right: 4%;
  bottom: 2%;
  --r: 9deg;
  z-index: 1;
}

.stamp {
  position: absolute;
  left: 2%;
  bottom: 12%;
  z-index: 5;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  color: var(--red);
  background: rgba(246, 240, 227, 0.85);
  transform: rotate(-11deg);
  box-shadow: 0 0 0 4px rgba(178, 53, 42, 0.08);
}

.stamp b {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.stamp i {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
}

/* ---------- 跑马灯 ---------- */
.ticker {
  display: flex;
  overflow: hidden;
  padding: 11px 0;
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.ticker-set {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #cfc4b1;
}

.ticker-set i {
  font-style: normal;
  color: var(--red);
  font-size: 8px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 区块 ---------- */
.section {
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 28px;
}

.sec-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.sec-no {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 0.9;
  color: var(--red);
}

.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.sec-head p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* 分类 */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.cat-card {
  padding: 24px 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--ink);
  transition: background 0.2s;
}

.cat-card:last-child {
  border-right: 0;
}

.cat-card:hover {
  background: var(--paper-2);
}

.cat-card .no {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.cat-card h3 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
}

.cat-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 68px;
}

.cat-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--dim);
}

.cat-foot b {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}

/* 程序卡片 */
.picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 28px;
}

.pick {
  position: relative;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.pick-media {
  position: relative;
  display: block;
  background: #fffdf8;
  border: 1px solid var(--ink);
  padding: 8px;
  overflow: hidden;
}

.pick-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pick:hover .pick-media img {
  transform: scale(1.03);
}

.pick-rank {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.pick-body {
  padding-top: 16px;
}

.pick-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
}

.pick h3 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pick:hover h3 {
  color: var(--red);
}

.pick p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pick-more {
  display: inline-flex;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.pick:hover .pick-more {
  color: var(--red);
  border-color: var(--red);
}

/* 引文 / 数据 */
.quote {
  background: var(--ink);
  color: var(--paper);
  padding: 44px 0;
}

.quote .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.5;
  font-style: italic;
}

.quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #b9ad98;
}

.quote-stats {
  display: flex;
  gap: 34px;
}

.quote-stats div {
  text-align: right;
}

.quote-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.quote-stats span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #b9ad98;
  text-transform: uppercase;
}

/* 联系 */
.contact-band {
  padding: 56px 0;
  background: var(--paper-2);
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
}

.contact-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-band h2 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
}

.contact-band p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.contact-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.contact-links button {
  border: 0;
  background: none;
  padding: 0 0 4px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  cursor: pointer;
}

.contact-links button:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ---------- 页脚 ---------- */
.foot {
  background: var(--ink);
  color: #cfc4b1;
  padding: 44px 0 0;
}

.foot-word {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 86px);
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--paper);
}

.foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #3a332a;
}

.foot h4 {
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9c9281;
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 12.5px;
}

.foot a,
.foot li {
  color: #b9ad98;
}

.foot a:hover {
  color: #fff;
}

.foot .copy-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.foot .copy-line button {
  border: 0;
  background: none;
  color: #7d7362;
  font-size: 10.5px;
  padding: 0;
  cursor: pointer;
}

.foot .copy-line button:hover {
  color: #fff;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid #3a332a;
  font-size: 10.5px;
  color: #7d7362;
}

/* ---------- 列表页 ---------- */
.page-head {
  padding: 42px 0 30px;
  border-bottom: 1px solid var(--line);
}

.crumb {
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 18px;
}

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

.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-head .lead {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 13.5px;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 8px;
}

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

.filter-tab {
  border: 0;
  background: none;
  padding: 0 0 3px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.filter-tab em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  margin-left: 3px;
}

.filter-tab:hover {
  color: var(--ink);
}

.filter-tab[aria-pressed="true"],
.filter-tab[aria-current="page"] {
  color: var(--ink);
  border-color: var(--red);
}

.filter-search {
  margin-left: auto;
}

.filter-search input {
  width: 230px;
  padding: 7px 2px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
}

.filter-search input:focus {
  outline: none;
  border-color: var(--ink);
}

.result-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.result-line b {
  color: var(--ink);
}

.empty {
  display: none;
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.empty.is-on {
  display: block;
}

.empty b {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}

/* ---------- 纸页详情 ---------- */
.sheet-wrap {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
}

.sheet-wrap.is-open {
  display: block;
}

.sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 12, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.sheet {
  position: absolute;
  inset: 24px;
  margin: auto;
  max-width: 920px;
  max-height: calc(100% - 48px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(20, 17, 12, 0.2);
}

.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sheet-x {
  border: 0;
  background: none;
  color: var(--paper);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.sheet-scroll {
  overflow-y: auto;
  flex: 1;
}

.sheet-cover-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.sheet-cover-blur {
  position: absolute;
  inset: -12%;
  background-size: cover;
  background-position: center;
  filter: blur(40px) saturate(1.05);
  opacity: 0.5;
}

.sheet-cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sheet-body {
  padding: 26px 34px 34px;
}

.sheet-body h2 {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 31px);
  line-height: 1.35;
}

.sheet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 12px 0 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.sheet-foot {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 11.5px;
  color: var(--muted);
}

.sheet-foot button {
  border: 0;
  background: none;
  padding: 0 0 3px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
}

.sheet-foot button:hover {
  color: var(--red);
  border-color: var(--red);
}

.prose {
  font-size: 14.5px;
  line-height: 1.95;
  color: #3a332a;
  overflow-wrap: anywhere;
}

.prose p {
  margin-bottom: 14px;
}

.prose b,
.prose strong {
  color: var(--ink);
}

.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 14px 0;
  border: 1px solid var(--line);
}

.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--paper-2);
  padding: 1px 5px;
}

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

.prose td,
.prose th {
  border: 1px solid var(--line);
  padding: 7px 9px;
  text-align: left;
}

/* ---------- 联系页 ---------- */
.letter {
  max-width: 780px;
  padding: 8px 0 40px;
}

.letter .salute {
  margin: 22px 0 10px;
  font-family: var(--serif);
  font-size: 19px;
}

.letter p {
  font-size: 14.5px;
  line-height: 2;
  color: #3a332a;
}

.contact-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 26px 0;
  border: 1px solid var(--ink);
}

.contact-box {
  padding: 24px;
  border-right: 1px solid var(--line-2);
}

.contact-box:last-child {
  border-right: 0;
}

.contact-box .smallcaps {
  color: var(--red);
}

.contact-box b {
  display: block;
  margin: 8px 0 6px;
  font-family: var(--mono);
  font-size: 25px;
}

.contact-box p {
  font-size: 12.5px;
  color: var(--muted);
}

.copy-link {
  margin-top: 14px;
  border: 0;
  background: none;
  padding: 0;
  border-bottom: 1px solid var(--ink);
  font-size: 12.5px;
  cursor: pointer;
}

.copy-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.steps {
  margin: 26px 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  border-top: 1px solid var(--ink);
}

.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: "0" counter(s);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  padding-top: 4px;
}

.steps h3 {
  font-family: var(--serif);
  font-size: 19px;
  margin-bottom: 4px;
}

.steps p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.notice-box {
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  background: var(--paper-2);
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 130;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.2s;
}

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

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-art {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    height: 440px;
  }

  .mast-top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
  }

  .mast-side {
    display: none;
  }

  .mast-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .mast-in.is-open .mast-nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    border: 1px solid var(--ink);
    background: none;
    padding: 7px 14px;
    font-size: 11px;
    letter-spacing: 0.12em;
    cursor: pointer;
  }

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

  .cat-card {
    border-right: 0;
  }

  .cat-card p {
    min-height: 0;
  }

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

  .quote-stats {
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .wrap {
    padding-inline: 18px;
  }

  .topbar .wrap > span:last-child {
    display: none;
  }

  .mast-word {
    font-size: 25px;
  }

  .mast-brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 34px 0 36px;
  }

  .hero h1 {
    font-size: clamp(31px, 8.8vw, 42px);
  }

  .hero-art {
    height: 340px;
  }

  .print.p1 {
    width: 62%;
    top: 28px;
  }

  .print.p2 {
    width: 50%;
  }

  .print.p3 {
    width: 46%;
  }

  .stamp {
    display: none;
  }

  .section {
    padding: 44px 0;
  }

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

  .sec-no {
    font-size: 34px;
  }

  .contact-band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot-cols {
    gap: 26px;
  }

  .filter-search {
    width: 100%;
    margin-left: 0;
  }

  .filter-search input {
    width: 100%;
  }

  .sheet {
    inset: 0;
    max-height: 100%;
    border: 0;
    box-shadow: none;
  }

  .sheet-body {
    padding: 20px 18px 28px;
  }

  .sheet-cover-wrap {
    height: 230px;
  }

  .contact-boxes {
    grid-template-columns: 1fr;
  }

  .contact-box {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }

  .contact-box:last-child {
    border-bottom: 0;
  }

  .quote .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
