/* 《六点》版式 —— 目标只有一件事：让它看起来真的是一张报纸。 */

:root {
  --paper: #f5f2e8;
  --paper-deep: #ece7d6;
  --ink: #191811;
  --ink-2: #35322a;
  --muted: #6d6756;
  --faint: #8e8776;
  --rule: #d5cebb;
  --rule-dark: #a8a08d;
  --red: #992a1a;
  --serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", "宋体", serif;
  --sans: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
  background: #cfc8b4;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 30px 18px 60px;
  background:
    radial-gradient(120% 90% at 50% 0%, #e6e1d1 0%, #dcd6c4 55%, #cfc8b4 100%);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--red);
  color: var(--paper);
}

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

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

/* ————————————————— 纸张 ————————————————— */

.sheet {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(26px, 3.6vw, 54px) clamp(22px, 4.2vw, 64px) clamp(38px, 4vw, 60px);
  background: var(--paper);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(46, 38, 22, 0.18),
    0 28px 70px -26px rgba(46, 38, 22, 0.55);
}

/* 一点点纸的颗粒，过了就假 */
.sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sheet > * {
  position: relative;
  z-index: 1;
}

/* ————————————————— 报头 ————————————————— */

.masthead__line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.masthead__line .dot {
  color: var(--red);
}

.masthead__far {
  margin-left: auto;
  letter-spacing: 0.16em;
}

.nameplate-row {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 16px 0 6px;
}

.nameplate {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(62px, 11vw, 128px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: var(--ink);
}

.seal {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%) rotate(-7deg);
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 2px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-align: center;
  opacity: 0.9;
  writing-mode: vertical-rl;
  text-orientation: upright;
  user-select: none;
}

.masthead__line--foot {
  padding: 9px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
}

.masthead__line--foot .latin {
  font-weight: 700;
  letter-spacing: 0.3em;
}

.masthead__line--foot .tagline {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

/* ————————————————— 头条 ————————————————— */

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.kicker__label {
  padding: 5px 10px 4px;
  background: var(--red);
  color: var(--paper);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

.kicker__note {
  letter-spacing: 0.14em;
}

.lead__title {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(29px, 4.1vw, 50px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lead__deck {
  max-width: 58ch;
  margin: 0 0 24px;
  padding-left: 15px;
  border-left: 2px solid var(--red);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.85;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

.lead__cols {
  columns: 3;
  column-gap: 36px;
  column-rule: 1px solid var(--rule);
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
  text-align: justify;
  text-justify: inter-ideograph;
}

.lead__cols p {
  margin: 0 0 0.92em;
  text-indent: 2em;
}

.lead__cols p:first-child {
  text-indent: 0;
}

.dropcap {
  float: left;
  margin: 0.05em 0.1em 0 0;
  font-size: 3.4em;
  font-weight: 700;
  line-height: 0.84;
  color: var(--ink);
}

.lead__credit {
  margin-top: 0.4em !important;
  text-indent: 0 !important;
  text-align: right;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--faint);
}

/* ————————————————— 二条 ————————————————— */

.secondaries {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  columns: 2;
  column-gap: 40px;
  column-rule: 1px solid var(--rule);
}

.story {
  break-inside: avoid;
  margin: 0 0 6px;
}

.story__title {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.story__deck {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.story__body {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  text-align: justify;
  text-justify: inter-ideograph;
}

.story__src {
  margin: 0;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--red);
}

/* ————————————————— 版次数据 ————————————————— */

.statsline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 26px;
  margin-top: 44px;
  padding: 15px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

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

.statsline span {
  color: var(--ink-2);
}

.statsline span + span::before {
  content: "·";
  margin-right: 26px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0;
}

/* ————————————————— 栏目 ————————————————— */

.sections {
  margin-top: 38px;
  columns: 2;
  column-gap: 46px;
  column-rule: 1px solid var(--rule);
}

.block {
  break-inside: avoid;
  margin: 0 0 32px;
}

.block__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--ink);
}

.block__title > span:first-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  background: var(--red);
  vertical-align: 0.14em;
}

.block__title .rule {
  flex: 1;
  height: 1px;
  background: var(--rule-dark);
}

.block__count {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.item {
  margin: 0 0 19px;
}

.item__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.004em;
}

.item__body {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 6px;
  font-size: 13.8px;
  line-height: 1.8;
  color: var(--ink-2);
  text-align: justify;
  text-justify: inter-ideograph;
}

.item__src {
  margin: 0;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--faint);
}

/* ————————————————— 简讯 ————————————————— */

.briefs {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 3px solid var(--ink);
}

.briefs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 46px;
}

.briefs__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  break-inside: avoid;
  padding: 7px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.briefs__list li::before {
  content: "—";
  flex: none;
  color: var(--red);
  font-weight: 700;
}

.briefs__text {
  flex: 1;
}

.briefs__src {
  flex: none;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

/* ————————————————— 编者按 ————————————————— */

.editorial {
  margin: 34px 0 0;
  padding: 22px 0 20px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.editorial__label {
  margin: 0 0 10px !important;
  font-family: var(--sans) !important;
  font-size: 10.5px !important;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--red) !important;
}

.editorial p {
  max-width: 82ch;
  margin: 0 0 0.5em;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

/* ————————————————— 报尾 ————————————————— */

.colophon {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.colophon p {
  margin: 0;
}

.colophon__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 4px 0 !important;
}

.src.is-ok {
  color: var(--ink-2);
}

.src.is-bad {
  color: var(--red);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* ————————————————— 工具 ————————————————— */

.tools {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tools a,
.tools button {
  padding: 11px 17px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.75);
  transition: transform 0.15s ease, background 0.15s ease;
}

.tools a:hover,
.tools button:hover {
  background: var(--red);
  color: var(--paper);
  transform: translateY(-1px);
}

/* ————————————————— 空版 ————————————————— */

.sheet--empty {
  min-height: 70vh;
}

.empty {
  padding: 40px 0 20px;
}

.empty__hint {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.empty__hint a {
  border-bottom: 1px solid var(--rule-dark);
}

/* ————————————————— 合订本 ————————————————— */

.masthead--compact {
  text-align: center;
}

.nameplate--compact {
  font-size: clamp(48px, 7vw, 76px);
}

.masthead__compact-sub {
  margin: 6px 0 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--muted);
}

.rule-double {
  height: 5px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.index__lead {
  margin: 26px 0 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.issues {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.issues li {
  border-bottom: 1px solid var(--rule);
}

.issues a {
  display: grid;
  grid-template-columns: 56px 168px 1fr 72px;
  gap: 16px;
  align-items: baseline;
  padding: 15px 4px;
  transition: background 0.12s ease;
}

.issues a:hover {
  background: var(--paper-deep);
}

.issues__no {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.issues__date {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.issues__head {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.issues__meta {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-align: right;
}

.index__empty {
  padding: 30px 0;
  font-size: 14px;
  color: var(--muted);
}

.index__note {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

/* ————————————————— 窄屏 ————————————————— */

@media (max-width: 860px) {
  body {
    padding: 12px 10px 80px;
  }

  .sheet {
    padding: 22px 18px 36px;
  }

  .seal {
    display: none;
  }

  .masthead__line--foot .tagline {
    display: none;
  }

  .lead__cols,
  .secondaries,
  .sections,
  .briefs__list {
    columns: 1;
  }

  .lead__cols {
    font-size: 15px;
  }

  .story__title {
    font-size: 21px;
  }

  .issues a {
    grid-template-columns: 46px 1fr;
    gap: 4px 12px;
  }

  .issues__head {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .issues__meta {
    display: none;
  }

  .tools {
    right: 10px;
    bottom: 10px;
    flex-direction: row;
    gap: 6px;
  }

  .tools a,
  .tools button {
    padding: 9px 12px;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    opacity: 0.94;
  }
}

/* ————————————————— 打印 ————————————————— */

@media print {
  @page {
    size: A3 portrait;
    margin: 10mm 12mm;
  }

  body {
    padding: 0;
    background: #fff;
  }

  .sheet {
    max-width: none;
    padding: 0;
    box-shadow: none;
  }

  .sheet::before,
  .tools {
    display: none !important;
  }

  .nameplate {
    font-size: 104px;
  }

  .lead__title {
    font-size: 46px;
  }

  a {
    text-decoration: none;
  }

  .block,
  .story,
  .item,
  .briefs__list li {
    break-inside: avoid;
  }

  .sections {
    columns: 2;
  }
}
