/* 生活底片：列表、单条、关于页。
   Loaded only on pages that show moments. */

.m-particle-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ---------- 点赞 ---------- */
.m-like {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 3px 11px;
  border: 1px solid var(--ed-rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ed-ink-soft);
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.m-like b {
  color: var(--ed-rust);
  font-weight: 600;
}

.m-like:hover {
  border-color: var(--ed-ink-soft);
}

.m-like[data-liked] {
  border-color: var(--ed-rust);
  color: var(--ed-rust);
}

.m-like--small {
  margin-left: auto;
  padding: 2px 8px;
  border: 0;
  font-family: var(--ed-mono);
  font-size: 10.5px;
}

/* ---------- 列表 ---------- */
html {
  scrollbar-width: thin;
  scrollbar-color: #c9bba3 var(--ed-paper);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ed-paper);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--ed-paper);
  border-radius: 999px;
  background: #c9bba3;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ed-muted);
}

.m-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.m-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  padding: 22px 0 0;
}

.m-post {
  position: relative;
  padding: 16px 16px 13px;
  border: 1px solid var(--ed-rule);
  border-radius: 4px;
  background: var(--ed-paper-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.m-post::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 16px;
  width: 36px;
  height: 2px;
  background: var(--ed-rust);
}

.m-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(23, 20, 15, .1);
}

.m-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ed-ink);
}

.m-kicker {
  margin: 0 0 8px;
  color: var(--ed-rust);
  font-size: 10.5px;
  letter-spacing: 0.22em;
}

.m-head h1 {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.m-lede {
  margin: 10px 0 0;
  color: var(--ed-muted);
  font-size: 12.5px;
}

.m-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
  padding: 26px 0 0;
}

.m-card {
  position: relative;
  display: grid;
  gap: 0;
  align-content: start;
  padding: 8px 8px 10px;
  border: 1px solid var(--ed-rule);
  border-radius: 4px;
  background: var(--ed-paper-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.m-card:hover {
  transform: translateY(-3px);
  border-color: #c9bba3;
  box-shadow: 0 16px 30px rgba(23, 20, 15, .12);
}

.m-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--ed-rust);
  border-left: 2px solid var(--ed-rust);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.m-card:hover::before {
  opacity: 0.8;
}

.m-card-no {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  padding: 2px 7px;
  background: var(--ed-paper-soft);
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.m-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ed-paper-soft);
}

.m-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(23, 20, 15, .08);
  pointer-events: none;
}

.m-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.94) brightness(1.04);
  transition: transform 0.5s ease;
}

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

.m-card-line {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 2px 7px;
  color: var(--ed-ink);
  font-family: var(--ed-serif);
  font-size: 15.5px;
  line-height: 1.55;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.m-card-line:hover {
  color: var(--ed-rust);
}

.m-card-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0 2px;
  white-space: nowrap;
  font-size: 9.5px;
}
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.m-card-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ed-rule);
}

.m-empty {
  margin: 40px 0;
  color: var(--ed-muted);
  font-family: var(--ed-serif);
  font-size: 16px;
}

.m-pager {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 42px;
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 11px;
}

.m-pager a {
  color: var(--ed-rust);
  text-decoration: none;
}

/* ---------- 单条 ---------- */
.m-detail {
  padding: 24px 0 64px;
}

.m-back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ed-muted);
  font-size: 12px;
  text-decoration: none;
}

.m-back:hover {
  color: var(--ed-ink);
}

.m-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 40px;
  align-items: stretch;
}

.m-detail-photo {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.m-detail-seal {
  position: absolute;
  right: -16px;
  bottom: -16px;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--ed-rust);
  background: var(--ed-paper);
  color: var(--ed-rust);
  font-family: var(--ed-serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  transform: rotate(-8deg);
}

.m-detail-no {
  display: block;
  margin-bottom: 10px;
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}

.m-print {
  position: relative;
  width: min(680px, 100%);
  max-width: 100%;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 20, 15, .18);
  transform: rotate(-.6deg);
}

.m-print::before,
.m-print::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 20px;
  background: rgba(206, 188, 150, .55);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.m-print::before {
  top: -10px;
  left: 26px;
  transform: rotate(-4deg);
}

.m-print::after {
  right: 26px;
  bottom: -10px;
  transform: rotate(-3deg);
}

.m-print-inner {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #12100d;
  line-height: 0;
}

.m-print-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.m-detail-caption {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  max-height: 560px;
  padding-left: 32px;
  border-left: 1px solid var(--ed-rule);
}

.m-detail-caption::before,
.m-detail-caption::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.m-detail-caption::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--ed-rust);
  border-left: 2px solid var(--ed-rust);
}

.m-detail-caption::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--ed-rust);
  border-bottom: 2px solid var(--ed-rust);
}

.m-detail-quote {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 10px 12px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--ed-rule) transparent;
}

.m-detail-quote.is-long {
  justify-content: flex-start;
}

.m-detail-quote::-webkit-scrollbar {
  width: 6px;
}

.m-detail-quote::-webkit-scrollbar-track {
  background: transparent;
}

.m-detail-quote::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--ed-rule);
}

.m-detail-quote::-webkit-scrollbar-thumb:hover {
  background: var(--ed-muted);
}

.m-detail-quote::before {
  content: "“";
  margin-bottom: 10px;
  color: var(--ed-rust);
  font-family: var(--ed-serif);
  font-size: 104px;
  line-height: 0.55;
  opacity: 0.42;
}

.m-detail-quote::after {
  content: "”";
  align-self: flex-end;
  margin-top: 4px;
  color: var(--ed-rust);
  font-family: var(--ed-serif);
  font-size: 84px;
  line-height: 0.35;
  opacity: 0.4;
}

.m-detail-caption h1 {
  margin: 6px 0 12px;
  font-family: var(--ed-serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.m-detail-caption h1.is-long {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0;
}

.m-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.m-chip {
  padding: 2px 7px;
  border: 1px solid var(--ed-rule);
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.m-chip--rust {
  border-color: rgba(161, 69, 27, .35);
  color: var(--ed-rust);
}

.m-detail-region {
  display: inline-block;
  margin: 4px 0 10px;
  padding: 3px 9px;
  border: 1px solid var(--ed-rule);
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.m-detail-note {
  margin: 26px 0 0;
  color: var(--ed-muted);
  font-family: var(--ed-serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
}

.m-detail-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--ed-rule);
}

.m-detail-actions a {
  color: var(--ed-rust);
  font-size: 12.5px;
  text-decoration: none;
}

.m-detail-foot {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ed-rule);
}

.m-detail-foot .m-detail-meta,
.m-detail-foot .m-detail-exif {
  margin: 0;
}

.m-detail-foot .m-detail-region {
  align-self: flex-start;
  margin: 0;
}

.m-detail-foot .m-detail-actions {
  margin-top: 2px;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 1200px) {
}

@media (max-width: 900px) {

  .m-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .m-detail-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .m-detail-caption {
    height: auto;
    max-height: none;
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--ed-rule);
    border-left: 0;
  }

  .m-detail-quote {
    overflow: visible;
  }
}

@media (max-width: 680px) {
  .m-page {
    width: calc(100% - 24px);
    padding-top: 24px;
  }

  .m-head h1 {
    font-size: 26px;
  }

  .m-card-line {
    font-size: 14px;
  }

  .m-post {
    padding: 13px 13px 11px;
  }

  .m-card-loc {
    display: none;
  }

  .m-detail {
    padding-top: 16px;
  }

  .m-detail-photo {
    justify-content: flex-start;
  }

  .m-detail-seal {
    right: 4px;
    bottom: 4px;
    width: 38px;
    height: 38px;
    font-size: 11px;
  }

  .m-detail-no {
    position: static;
    display: block;
    margin: 0 0 8px;
  }

  .m-print {
    transform: none;
  }

  .m-print::before,
  .m-print::after {
    display: none;
  }

  .m-detail-caption h1 {
    font-size: 23px;
  }
}

/* 关于页：把生活底片从窄内容列里拿出来，占满版心 */
.m-about-section {
  padding: 42px 0 8px;
}

.m-about-head {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ed-ink);
}

.m-about-head h2 {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(21px, 2.2vw, 26px);
  letter-spacing: -0.01em;
}

.m-about-head > a {
  flex: none;
  color: var(--ed-rust);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.m-about .ed-about-body {
  max-width: 760px;
  margin: 26px auto 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 680px) {
  .m-about-section {
    padding-top: 28px;
  }

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

  .m-about .ed-about-body {
    margin-top: 32px;
    padding-top: 24px;
  }
}

/* Refined print: small stamp on the border. */
.m-print::before,
.m-print::after {
  display: none;
}

.m-detail-seal {
  right: 2px;
  bottom: 2px;
  width: 30px;
  height: 30px;
  font-size: 9px;
}

/* 作者卡里的最新一条「一句话，随手拍」 */
.ed-author-moment {
  display: block;
  margin-top: 16px;
  text-decoration: none;
}

.ed-author-moment-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ed-rule);
  border-radius: 3px;
  background: var(--ed-paper-soft);
}

.ed-author-moment-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.94) brightness(1.04);
  transition: transform 0.5s ease;
}

.ed-author-moment:hover .ed-author-moment-img {
  transform: scale(1.03);
}

.ed-author-moment-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 242, 234, 0.16) 0%, rgba(246, 242, 234, 0.42) 42%, rgba(246, 242, 234, 0.96) 100%);
}

.ed-author-moment-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
}

.ed-author-moment-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: var(--ed-rust);
  font-family: var(--ed-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
}

.ed-author-moment-kicker em {
  color: var(--ed-muted);
  font-style: normal;
  font-size: 8.5px;
}

.ed-author-moment-line {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ed-ink);
  font-family: var(--ed-serif);
  font-size: 13px;
  line-height: 1.55;
  text-shadow: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ed-author-moment-meta {
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}
/* 双引号固定在上下，只有正文滚动 */
.m-detail-quote {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
}

.m-detail-quote::before,
.m-detail-quote::after {
  content: none;
  display: none;
}

.m-quote-mark {
  flex: none;
  color: var(--ed-rust);
  font-family: var(--ed-serif);
  font-size: 60px;
  line-height: 1;
  padding-top: 2px;
  opacity: 0.45;
}

.m-quote-mark--open {
  align-self: flex-start;
  margin-bottom: 2px;
}

.m-quote-mark--close {
  align-self: flex-end;
  margin-top: 2px;
  padding-top: 0;
}

.m-detail-quote-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow-y: auto;
  padding: 0 10px 8px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--ed-rule) transparent;
}

.m-detail-quote.is-long .m-detail-quote-body {
  justify-content: flex-start;
}

.m-detail-quote-body::-webkit-scrollbar {
  width: 6px;
}

.m-detail-quote-body::-webkit-scrollbar-track {
  background: transparent;
}

.m-detail-quote-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--ed-rule);
}

.m-detail-quote-body::-webkit-scrollbar-thumb:hover {
  background: var(--ed-muted);
}

@media (max-width: 760px) {
  .m-feed {
    grid-template-columns: 1fr;
  }
}

/* 文章详情：作者信息在左，随手拍缩到右侧一栏 */
.ed-article-author .ed-author.has-moment {
  grid-template-columns: minmax(0, 1fr) 260px;
  align-content: start;
  align-items: start;
  grid-template-areas:
    "kicker moment"
    "top moment"
    "motto moment"
    "greet moment"
    "stats moment"
    "foot foot";
  column-gap: 28px;
}

.ed-article-author .ed-author-kicker { grid-area: kicker; }
.ed-article-author .ed-author-top { grid-area: top; }
.ed-article-author .ed-author-motto { grid-area: motto; }
.ed-article-author .ed-author-greeting { grid-area: greet; }
.ed-article-author .ed-author-stats { grid-area: stats; }
.ed-article-author .ed-author-foot { grid-area: foot; }

.ed-article-author .ed-author-moment {
  grid-area: moment;
  align-self: center;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 860px) {
  .ed-article-author .ed-author.has-moment {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "top"
      "motto"
      "greet"
      "stats"
      "moment"
      "foot";
  }
}
/* 作者卡里的随手拍：小缩略图 + 两行文案，压低存在感 */
.ed-author-moment {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ed-rule);
}

.ed-author-moment-frame {
  flex: none;
  width: 96px;
  height: 96px;
  aspect-ratio: auto;
  border: 1px solid var(--ed-rule);
  border-radius: 3px;
}

.ed-author-moment-img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

.ed-author-moment-shade {
  display: none;
}

.ed-author-moment-copy {
  flex: 1;
  min-width: 0;
  position: static;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0;
}

.ed-author-moment-kicker {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 8px;
}

.ed-author-moment-kicker em {
  font-size: 8px;
}

.ed-author-moment-line {
  color: var(--ed-ink);
  font-size: 12.5px;
  line-height: 1.5;
  text-shadow: none;
}

.ed-author-moment-meta {
  color: var(--ed-muted);
  font-size: 9px;
}
/* 叠放的小相纸：编号、轻旋转、纸张投影 */
.ed-author-moment {
  align-items: center;
  gap: 16px;
  padding-top: 16px;
}

.ed-author-moment-frame {
  position: relative;
  flex: none;
  width: 54px;
  height: 62px;
  padding: 3px 3px 14px;
  overflow: visible;
  border: 1px solid var(--ed-rule);
  border-radius: 1px;
  background: var(--ed-card, #fffdf8);
  box-shadow:
    1px 1px 0 0 #f7f1e6,
    2px 2px 0 1px var(--ed-rule),
    3px 3px 0 0 #f7f1e6,
    4px 4px 0 1px var(--ed-rule),
    0 4px 9px rgba(23, 20, 15, 0.12);
  transform: rotate(-2deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  z-index: 2;
}

.ed-author-moment:hover .ed-author-moment-frame {
  transform: rotate(0) translateY(-2px);
  box-shadow:
    1px 1px 0 0 #f7f1e6,
    2px 2px 0 1px var(--ed-rule),
    3px 3px 0 0 #f7f1e6,
    4px 4px 0 1px var(--ed-rule),
    0 7px 12px rgba(23, 20, 15, 0.16);
}

.ed-author-moment-img {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 17px);
  object-fit: cover;
  filter: saturate(0.95);
}

.ed-author-moment-no {
  position: absolute;
  bottom: 3px;
  left: 4px;
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 5.5px;
  letter-spacing: 0.06em;
}

.ed-author-moment-copy {
  gap: 4px;
}
/* 首页只保留统计区那条线，随手拍不再单独画线 */
.ed-author-moment {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}
.m-feed .m-post:only-child {
  grid-column: auto;
}

.m-feed .m-post {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 12px;
  border: 1px solid var(--ed-rule);
  border-radius: 2px;
  background: var(--ed-card, #fffdf8);
  box-shadow: 0 3px 0 rgba(23, 20, 15, 0.04);
}

.m-feed .m-post-media {
  display: block;
  margin: 0;
  overflow: hidden;
  background: var(--ed-paper-soft);
}

.m-feed .m-post-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.m-post-body {
  display: flex;
  flex-direction: column;
  padding: 10px 2px 0;
}

.m-post-stamp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.m-post-line {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: var(--ed-ink);
  font-family: var(--ed-serif);
  font-size: 14.5px;
  line-height: 1.55;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.m-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--ed-muted);
  font-family: var(--ed-mono);
  font-size: 9px;
}

.m-post-meta .m-like {
  margin-left: auto;
}

@media (max-width: 1100px) {
  .m-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .m-feed {
    grid-template-columns: 1fr;
  }
}
/* 没有随手拍时，文章作者卡保持单列，避免回落到两列把内容挤乱 */
.ed-article-author .ed-author:not(.has-moment) {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}
/* 无随手拍时直接退回单列 flex，绕开作者卡默认的两/三列布局 */
.ed-article-author .ed-author:not(.has-moment) {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
/* 编辑器里敲的换行，前台按原样保留 */
.m-detail-caption h1,
.m-post-line,
.m-card-line,
.ed-author-moment-line {
  white-space: pre-line;
}