/* 社区 2026-07-25 · 首页视觉系统下的轻量信息流 */
.community-hero {
  min-height: 244px;
  padding-top: 52px;
  padding-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: 64px;
}
.community-kicker {
  margin-bottom: 22px;
  font-size: 11px;
  letter-spacing: .36em;
  text-transform: uppercase;
}
.community-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(58px, 6.8vw, 84px);
  line-height: .92;
}
.community-hero p {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}
.community-hero-art {
  position: relative;
  min-height: 178px;
  overflow: hidden;
}
.community-paper {
  position: absolute;
  display: block;
  filter: none;
}
.community-paper.is-blue {
  left: 44%;
  top: 18px;
  width: 190px;
  height: 132px;
  background: rgba(199,220,229,.62);
  clip-path: polygon(4% 4%, 22% 1%, 42% 4%, 64% 1%, 82% 3%, 99% 1%, 97% 28%, 100% 51%, 97% 76%, 99% 98%, 74% 96%, 54% 100%, 32% 97%, 5% 99%, 7% 73%, 3% 49%);
  transform: rotate(-5deg);
}
.community-paper.is-rose {
  position: absolute;
  left: 68%;
  top: 91px;
  width: 128px;
  height: 65px;
  background: rgba(231,182,181,.58);
  clip-path: polygon(2% 4%, 22% 1%, 45% 4%, 66% 1%, 97% 5%, 95% 28%, 99% 53%, 96% 96%, 73% 93%, 51% 98%, 28% 94%, 3% 98%);
  transform: rotate(4deg);
}
.community-thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.community-thread path {
  fill: none;
  stroke: rgba(59,67,70,.62);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.community-node {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.community-node.is-blue { left: 12%; top: 125px; background: #178bbf; }
.community-node.is-yellow { left: 34%; top: 13px; background: #d6a01b; }
.community-node.is-red { right: 5%; top: 82px; background: var(--folio-seal); }
.community-node.is-pink { left: 5%; bottom: 8px; background: rgba(231,182,181,.82); }

@media (prefers-reduced-motion: no-preference) {
  .community-paper.is-blue { animation: community-paper-drift 8s ease-in-out infinite alternate; }
  .community-paper.is-rose { animation: community-paper-drift 10s ease-in-out -2s infinite alternate-reverse; }
}
@keyframes community-paper-drift {
  from { translate: 0 0; }
  to { translate: 0 -3px; }
}

/* 首次进入社区：完整打字机场景与新鲜油墨纸张。 */
.community-pass-layer {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
  background: rgba(248,250,251,.62);
  backdrop-filter: blur(2.5px) saturate(.76);
}
.community-pass-layer::before {
  content: "";
  position: absolute;
  inset: 24% 19% 4%;
  background: radial-gradient(ellipse at 50% 68%, rgba(180,220,238,.32), rgba(213,234,242,.13) 45%, transparent 72%);
  pointer-events: none;
}
.community-pass {
  position: relative;
  width: min(960px, calc(100vw - 24px));
  height: min(790px, calc(100vh - 24px));
  min-height: 660px;
}
.community-pass-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.community-pass-back {
  position: absolute;
  z-index: 6;
  top: 10px;
  left: calc(50% - 390px);
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(21,30,34,.76);
  background: transparent;
  box-shadow: none;
  font-family: 'Inter','Noto Sans SC',sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.community-pass-back span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(252,250,244,.96);
  background: #1a1d1e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  transition: transform .16s ease;
}
.community-pass-back:hover {
  color: rgba(12,18,21,.96);
  background: transparent;
}
.community-pass-back:hover span {
  transform: translateX(-2px);
}
.community-pass-back:focus-visible {
  outline: 2px solid rgba(74,132,158,.36);
  outline-offset: 2px;
}
.community-pass-leave-layer {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(24,31,34,.32);
  backdrop-filter: blur(5px) saturate(.68);
  animation: community-pass-leave-layer-in .18s ease both;
}
.community-pass-leave-dialog {
  position: relative;
  width: min(360px, calc(100vw - 36px));
  padding: 27px 28px 24px 31px;
  border: 1px solid rgba(31,35,34,.26);
  background:
    radial-gradient(circle at 18% 28%, rgba(31,35,34,.035) 0 .55px, transparent .72px) 0 0 / 6px 6px,
    #fffaf0;
  box-shadow:
    0 28px 70px rgba(16,23,26,.34),
    0 0 0 1px rgba(255,255,255,.5);
  clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px);
  animation: community-pass-leave-dialog-in .22s cubic-bezier(.22,.76,.22,1) both;
}
.community-pass-leave-dialog::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(143,195,218,.62);
}
.community-pass-leave-kicker {
  display: block;
  margin-bottom: 13px;
  color: rgba(26,31,30,.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: .18em;
}
.community-pass-leave-dialog h2 {
  margin: 0;
  color: rgba(18,21,20,.94);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 22px;
  font-weight: 500;
}
.community-pass-leave-dialog p {
  margin: 11px 0 22px;
  color: rgba(21,26,24,.72);
  font-family: 'Inter','Noto Sans SC',sans-serif;
  font-size: 11px;
  line-height: 1.6;
}
.community-pass-leave-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.community-pass-leave-actions button {
  min-width: 104px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(23,28,27,.72);
  border-radius: 4px;
  color: rgba(250,249,245,.95);
  background: #1a1d1e;
  font-family: 'Inter','Noto Sans SC',sans-serif;
  font-size: 10px;
  cursor: pointer;
}
.community-pass-leave-actions button.is-leave {
  border-color: rgba(23,28,27,.18);
  color: rgba(23,28,27,.68);
  background: transparent;
}
.community-pass-leave-actions button:hover { filter: brightness(1.08); }
.community-pass-leave-actions button:focus-visible {
  outline: 2px solid rgba(74,132,158,.4);
  outline-offset: 2px;
}
@keyframes community-pass-leave-layer-in {
  from { opacity: 0; }
}
@keyframes community-pass-leave-dialog-in {
  from { opacity: 0; transform: translateY(7px) scale(.985); }
}
.community-pass-paper {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 353px;
  width: min(500px, 58%);
  height: var(--community-pass-paper-height);
  overflow: hidden;
  border: 1px solid rgba(65,66,62,.13);
  background:
    radial-gradient(circle at 12% 22%, rgba(31,35,34,.032) 0 .55px, transparent .7px) 0 0 / 5px 5px,
    radial-gradient(circle at 74% 62%, rgba(31,35,34,.022) 0 .45px, transparent .65px) 1px 2px / 7px 7px,
    linear-gradient(90deg, rgba(168,204,218,.08), transparent 12%, transparent 92%, rgba(168,204,218,.05)),
    #fcfbf7;
  box-shadow: 0 14px 30px rgba(42,53,56,.13);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  transition: height .16s cubic-bezier(.22,.75,.2,1);
}
.community-pass-paper::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: rgba(143,195,218,.48);
  pointer-events: none;
}
.community-pass-paper::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(21,21,21,.06);
  background: #eaf2f4;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.community-pass-paper-head {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 25px;
  padding-top: 3px;
  border-bottom: 1px solid rgba(25,28,27,.32);
  color: rgba(27,31,30,.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6.8px;
  letter-spacing: .13em;
  text-shadow: .18px 0 rgba(0,0,0,.38);
}
.community-pass-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: 15px 30px 17px;
}
.community-pass-heading {
  display: flex;
  align-items: flex-start;
}
.community-pass-heading strong {
  color: rgba(20,23,22,.94);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .02em;
  text-shadow:
    .32px 0 rgba(0,0,0,.58),
    -.16px .12px rgba(0,0,0,.26);
}
.community-pass-intro {
  margin: 12px 0 9px;
  color: rgba(23,27,26,.88);
  font-family: ui-monospace, SFMono-Regular, Menlo, 'Noto Sans SC', monospace;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: -.01em;
  text-shadow: .2px 0 rgba(0,0,0,.46);
}
.community-pass-rules {
  min-height: 162px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.community-pass-rules li {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  align-items: baseline;
  gap: 8px;
  min-height: 27px;
  opacity: .22;
  transition: opacity .15s ease;
}
.community-pass-rules li.is-typed { opacity: 1; }
.community-pass-rules li > span {
  color: rgba(21,24,23,.52);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.2px;
  text-shadow: .15px 0 rgba(0,0,0,.32);
}
.community-pass-rules p {
  margin: 0;
  color: rgba(18,21,20,.9);
  font-family: ui-monospace, SFMono-Regular, Menlo, 'Noto Sans SC', monospace;
  font-size: 11.8px;
  line-height: 1.56;
  letter-spacing: -.018em;
  text-shadow:
    .26px 0 rgba(0,0,0,.5),
    -.11px .1px rgba(0,0,0,.2);
}
.community-pass-rules li:nth-child(2) p { opacity: .91; transform: translateX(.18px); }
.community-pass-rules li:nth-child(3) p { opacity: .96; }
.community-pass-rules li:nth-child(4) p { opacity: .88; transform: translateX(-.14px); }
.community-pass-rules li:nth-child(5) p { opacity: .94; }
.community-pass-caret {
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -.12em;
  background: #151515;
  animation: community-pass-blink .72s steps(1,end) infinite;
}
@keyframes community-pass-blink { 50% { opacity: 0; } }
.community-pass-promise {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 5px;
  padding: 8px 0 0 16px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .24s ease, transform .24s ease;
}
.community-pass-promise::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  background: #ead34f;
  box-shadow: 1px 1px 0 rgba(49,43,16,.13);
  transform: rotate(-3deg);
}
.community-pass-promise.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.community-pass-promise strong {
  position: relative;
  z-index: 0;
  color: rgba(18,21,20,.94);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 19px;
  font-weight: 500;
  text-shadow:
    .3px 0 rgba(0,0,0,.5),
    -.14px .1px rgba(0,0,0,.2);
}
.community-pass-promise strong::after {
  content: none;
}
.community-pass-paper-footer {
  position: absolute;
  z-index: 3;
  left: 30px;
  right: 30px;
  bottom: 32px;
  min-height: 48px;
  display: flex;
  flex-direction: row;
  /* 🔴 必须能换行：英文的「Encore Aria promises:」比中文「安可集承诺：」宽得多，
     标签 + 三项横排放不下时，内层 div 会**顶出容器**一直冲到纸的右边缘
     （实测：容器右边 934px，内容右边 961px，纸右边 965px —— 只剩 4px）。
     换行之后英文自然变成「标签一行 / 三项一行」，中文仍是一行，两边都不挤。 */
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 2px 4px 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  letter-spacing: .08em;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .24s ease .08s, transform .24s ease .08s;
}
.community-pass-paper-footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.community-pass-paper-footer > div {
  display: flex;
  /* 三项之间也允许换行 —— 窄视口下宁可折成两行，也不要顶破纸面。 */
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
}
.community-pass-paper-footer span {
  display: inline-block;
  padding: 0;
  color: rgba(20,23,22,.82);
  white-space: nowrap;
  text-align: center;
  text-shadow:
    .28px 0 rgba(0,0,0,.52),
    -.13px .1px rgba(0,0,0,.2);
}
.community-pass-paper-footer strong {
  color: rgba(20,23,22,.82);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
  text-shadow:
    .28px 0 rgba(0,0,0,.52),
    -.13px .1px rgba(0,0,0,.2);
}
.community-pass-paper-footer i {
  color: rgba(20,23,22,.42);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 12px;
  font-style: normal;
}
.community-pass-paper-footer span:nth-of-type(2) {
  opacity: .91;
  transform: translateY(.35px);
}
.community-pass-paper-footer span:nth-of-type(3) {
  opacity: .95;
  transform: translateX(-.2px);
}
.community-pass-approval-stamp {
  position: absolute;
  z-index: 5;
  right: 30px;
  bottom: 76px;
  width: 66px;
  height: 66px;
  display: grid;
  place-content: center;
  gap: 1px;
  border: 3px double rgba(174,45,40,.78);
  border-radius: 50%;
  color: rgba(174,45,40,.82);
  font-family: 'Noto Serif SC','Fraunces',serif;
  text-align: center;
  opacity: 0;
  transform: translateY(-18px) scale(1.48) rotate(-10deg);
  filter: blur(.35px);
  pointer-events: none;
}
.community-pass-approval-stamp::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(174,45,40,.46);
  border-radius: 50%;
}
.community-pass-approval-stamp strong {
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
}
.community-pass-approval-stamp span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6px;
  letter-spacing: .14em;
}
.community-pass.is-accepting .community-pass-approval-stamp {
  animation: community-pass-stamp .36s cubic-bezier(.2,.85,.28,1.18) .14s both;
}
.community-pass.is-accepting .community-pass-paper {
  transition: none;
  animation: community-pass-paper-roll-away .46s cubic-bezier(.55,.02,.88,.45) .64s forwards;
}
.community-pass-layer.is-accepting {
  animation: community-pass-layer-exit .24s ease .94s forwards;
}
@keyframes community-pass-stamp {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(1.5) rotate(-12deg);
    filter: blur(1.1px);
  }
  64% {
    opacity: .96;
    transform: translateY(2px) scale(.92) rotate(-8deg);
    filter: blur(.15px);
  }
  100% {
    opacity: .9;
    transform: translateY(0) scale(1) rotate(-9deg);
    filter: blur(.28px);
  }
}
@keyframes community-pass-paper-roll-away {
  0% { height: var(--community-pass-paper-height); opacity: 1; }
  100% { height: 18px; opacity: .42; }
}
@keyframes community-pass-layer-exit {
  to { opacity: 0; }
}
.community-pass-machine {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 16px;
  width: min(640px, 70vw);
  height: auto;
  display: block;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 23px rgba(45,65,74,.19));
  pointer-events: none;
  user-select: none;
}
.community-pass-platen-front {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 355px;
  width: min(469px, 51%);
  height: 9px;
  border: 1px solid rgba(51,51,47,.34);
  border-radius: 999px;
  background: linear-gradient(180deg, #f7f8f7 0%, #999b98 46%, #e7e8e6 100%);
  box-shadow: 0 2px 3px rgba(16,20,21,.18);
  transform: translateX(-50%);
  pointer-events: none;
}
.community-pass-platen-front span {
  position: absolute;
  top: -4px;
  width: 41px;
  height: 17px;
  border: 1px solid rgba(52,52,49,.3);
  border-radius: 4px;
  background: linear-gradient(180deg, #edeEec, #8e8f8b 50%, #dfe0dd);
  box-shadow: 0 2px 3px rgba(19,22,23,.16);
}
.community-pass-platen-front span:first-child { left: 21%; }
.community-pass-platen-front span:last-child { right: 21%; }
.community-pass-machine-agree {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 42px;
  width: min(320px, 37%);
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 6px;
  color: rgba(250,249,245,.92);
  background: linear-gradient(180deg, #202326 0%, #090b0c 100%);
  box-shadow:
    0 1px 0 #020304,
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 -1px 0 rgba(0,0,0,.72);
  transform: translateX(-50%);
  transition: transform .12s ease, box-shadow .12s ease, filter .18s ease, opacity .18s ease;
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 9px;
  letter-spacing: .08em;
  cursor: pointer;
}
.community-pass-ready-light {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.54);
}
.community-pass-machine-agree b {
  color: rgba(250,249,245,.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 400;
}
.community-pass-machine-agree:not(:disabled) .community-pass-ready-light {
  background: #f2d853;
  box-shadow: 0 0 0 2px rgba(242,216,83,.18), 0 0 9px rgba(242,216,83,.54);
  animation: community-pass-ready-light 1.8s ease-in-out infinite;
}
.community-pass-machine-agree:not(:disabled) {
  border-color: rgba(242,216,83,.64);
  animation: community-pass-ready-key 1.8s ease-in-out infinite;
}
.community-pass-machine-agree:not(:disabled):hover {
  filter: brightness(1.1);
}
.community-pass-machine-agree:focus-visible {
  outline: 2px solid rgba(242,216,83,.48);
  outline-offset: 3px;
}
.community-pass-machine-agree:not(:disabled):active {
  animation: none;
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,.72),
    inset 0 -1px 0 rgba(255,255,255,.06);
  transform: translate(-50%, 1px);
}
.community-pass-machine-agree:disabled {
  color: rgba(250,249,245,.38);
  cursor: not-allowed;
  opacity: .82;
}
.community-pass-machine-agree.is-accepting {
  animation: community-pass-key-confirm .2s ease both;
  border-color: rgba(242,216,83,.66);
  color: rgba(250,249,245,.78);
  cursor: default;
  opacity: 1;
}
@keyframes community-pass-key-confirm {
  to {
    transform: translate(-50%, 2px);
    box-shadow:
      inset 0 2px 4px rgba(0,0,0,.82),
      inset 0 -1px 0 rgba(255,255,255,.06),
      0 0 10px rgba(242,216,83,.34);
  }
}
@keyframes community-pass-ready-key {
  0%, 100% {
    box-shadow:
      0 1px 0 #020304,
      0 0 0 1px rgba(242,216,83,.18),
      0 0 7px rgba(242,216,83,.2),
      inset 0 1px 0 rgba(255,255,255,.13),
      inset 0 -1px 0 rgba(0,0,0,.72);
  }
  50% {
    box-shadow:
      0 1px 0 #020304,
      0 0 0 2px rgba(242,216,83,.5),
      0 0 18px rgba(242,216,83,.56),
      inset 0 1px 0 rgba(255,255,255,.16),
      inset 0 -1px 0 rgba(0,0,0,.72);
  }
}
@keyframes community-pass-ready-light {
  0%, 100% { filter: brightness(.92); transform: scale(.94); }
  50% { filter: brightness(1.2); transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .community-pass-machine-agree:not(:disabled),
  .community-pass-machine-agree:not(:disabled) .community-pass-ready-light {
    animation: none;
  }
  .community-pass-machine-agree:not(:disabled) {
    box-shadow:
      0 1px 0 #020304,
      0 0 0 2px rgba(242,216,83,.42),
      0 0 12px rgba(242,216,83,.4),
      inset 0 1px 0 rgba(255,255,255,.13);
  }
  .community-pass.is-accepting .community-pass-approval-stamp {
    animation: none;
    opacity: .9;
    transform: rotate(-9deg);
  }
  .community-pass.is-accepting .community-pass-paper {
    animation: none;
  }
  .community-pass-layer.is-accepting {
    animation: community-pass-layer-exit .18s ease .12s forwards;
  }
  .community-pass-machine-agree.is-accepting {
    animation: none;
    transform: translate(-50%, 1px);
  }
  .community-pass-leave-layer,
  .community-pass-leave-dialog {
    animation: none;
  }
}
@media (max-height: 780px) and (min-width: 681px) {
  .community-pass {
    height: calc(100vh - 16px);
    min-height: 620px;
  }
  .community-pass-machine { bottom: 8px; width: min(560px, 64vw); }
  .community-pass-paper { bottom: 301px; width: min(450px, 56%); height: min(var(--community-pass-paper-height), 340px); }
  .community-pass-platen-front { bottom: 303px; width: min(410px, 52%); }
  .community-pass-machine-agree { bottom: 31px; width: min(280px, 36%); height: 25px; }
  .community-pass-back { left: calc(50% - 350px); }
  .community-pass-body { padding: 11px 24px 12px; }
  .community-pass-heading strong { font-size: 18px; }
  .community-pass-intro { margin: 8px 0 6px; font-size: 8.5px; }
  .community-pass-rules { min-height: 112px; }
  .community-pass-rules li { min-height: 21px; }
  .community-pass-rules p { font-size: 8.5px; }
}
@media (max-width: 680px) {
  .community-pass-layer { padding: 8px; }
  .community-pass-layer::before { inset: 34% -18% 3%; }
  .community-pass {
    width: min(100%, 520px);
    height: min(720px, calc(100vh - 16px));
    min-height: 570px;
  }
  .community-pass-paper {
    bottom: 170px;
    width: min(345px, 90%);
    height: min(var(--community-pass-paper-height), 345px);
  }
  .community-pass-paper-head { margin: 0 18px; font-size: 5.2px; }
  .community-pass-body { min-height: 310px; padding: 11px 19px 13px; }
  .community-pass-heading strong { font-size: 19px; }
  .community-pass-intro { margin: 8px 0 6px; font-size: 8.8px; line-height: 1.5; }
  .community-pass-rules { min-height: 108px; }
  .community-pass-rules li { min-height: 21px; gap: 5px; grid-template-columns: 20px minmax(0,1fr); }
  .community-pass-rules p { font-size: 8.8px; }
  .community-pass-promise { padding-top: 8px; }
  .community-pass-promise strong { font-size: 15.5px; }
  .community-pass-paper-footer {
    left: 19px;
    right: 19px;
    bottom: 23px;
    min-height: 42px;
    gap: 3px;
    padding: 2px;
    font-size: 10.5px;
    letter-spacing: .06em;
  }
  .community-pass-paper-footer span {
    min-height: 0;
  }
  .community-pass-paper-footer > div { gap: 5px; }
  .community-pass-paper-footer strong {
    font-size: 10.5px;
    letter-spacing: .06em;
  }
  .community-pass-paper-footer i { font-size: 9px; }
  .community-pass-approval-stamp {
    right: 18px;
    bottom: 58px;
    width: 52px;
    height: 52px;
  }
  .community-pass-approval-stamp strong { font-size: 15px; }
  .community-pass-back {
    top: 7px;
    left: 5%;
    height: 30px;
    font-size: 11px;
  }
  .community-pass-back span { width: 23px; height: 23px; font-size: 12px; }
  .community-pass-leave-dialog { padding: 24px 21px 20px 24px; }
  .community-pass-leave-actions { gap: 7px; }
  .community-pass-leave-actions button { min-width: 0; flex: 1; }
  .community-pass-machine { bottom: 4px; width: min(440px, 104vw); }
  .community-pass-platen-front {
    bottom: 172px;
    width: min(322px, 84%);
    height: 7px;
  }
  .community-pass-platen-front span {
    top: -3px;
    width: 28px;
    height: 13px;
  }
  .community-pass-machine-agree {
    bottom: 20px;
    width: min(204px, 54%);
    height: 18px;
    gap: 6px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 7px;
  }
  .community-pass-ready-light { width: 4px; height: 4px; }
  .community-pass-machine-agree b { font-size: 8px; }
}

.community-layout {
  padding-bottom: 96px;
  border-top: 1px solid var(--folio-rule);
}
.community-main-column {
  flex: 1;
  min-width: 0;
  max-width: 820px;
  margin: 0 auto;
  padding-top: 28px;
}

/* 发布入口：默认收起，展开后继续使用现有真实编辑器。 */
.community-compose-card {
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  padding: 0 0 18px !important;
  background: transparent !important;
}
.community-compose-row { gap: 0 !important; }
.community-compose-shell {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  min-height: 42px !important;
}
.community-compose-collapsed {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px 13px;
  border: 1px solid rgba(21,21,21,.17);
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 8px 28px rgba(21,21,21,.035);
}
.community-compose-prompt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-width: 0;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--folio-ink);
  text-align: left;
  background: transparent;
  cursor: text;
}
.community-compose-prompt .font-sans {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  color: var(--folio-ink-2);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .2em;
}
.community-compose-prompt .font-sans::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--folio-yellow);
}
.community-compose-prompt strong {
  overflow: hidden;
  font-family: 'Noto Serif SC','Fraunces',serif;
  color: #9A948A;
  font-size: 15px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-compose-start {
  color: var(--folio-seal);
  font-family: var(--folio-sans);
  font-size: 11px;
  letter-spacing: .08em;
  white-space: nowrap;
}
.community-compose-quick-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0 0 112px;
  border-top: 1px dotted rgba(21,21,21,.13);
}
.community-compose-quick-tools button {
  /* 图标和文字必须在同一行：FolioIcon 渲染出来的 svg 是 block，
     不给 inline-flex 的话会掉到文字上面去，变成上下两行。 */
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  color: var(--folio-ink-2);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 11px;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
}
.community-compose-quick-tools button svg {
  display: block;
  width: 13px;
  height: 13px;
  flex: none;
}
.community-compose-quick-tools button:hover { color: var(--folio-ink); }
.community-compose-shell.is-open {
  position: relative;
  min-height: 132px !important;
  padding-top: 34px !important;
  border: 1px solid var(--folio-rule) !important;
  border-radius: 8px !important;
  background: #fff !important;
}
.community-compose-shell.is-open::before {
  content: "NEW POST · 发布动态";
  position: absolute;
  top: 12px;
  left: 16px;
  color: var(--folio-ink-2);
  font-family: var(--folio-sans);
  font-size: 9px;
  letter-spacing: .2em;
  line-height: 1;
}
.community-compose-shell.is-open::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 16px;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--folio-yellow) 0 45%, transparent 45% 62%, var(--folio-seal) 62% 78%, transparent 78%);
}
.community-compose-textarea::placeholder {
  color: #9a958e !important;
  -webkit-text-fill-color: #9a958e !important;
  opacity: 1;
}
.community-inline-composer > .flex:first-child {
  gap: 20px !important;
}
/* 展开态的工具按钮 = 收起态那一行的同一套规格：图标 + 文字、11px 衬线。
   原来这里把按钮锁成 28×28 的 inline-grid 方块（一串 !important），
   里面只塞得下一个裸图标；收起态却是「图标 + 中文」的排版行 ——
   同一个框展开前后像换了个网站。现在两态用同一套写法。
   这些 !important 是被逼的：上面那串原本就带 !important，不带就盖不掉。 */
.community-inline-composer .community-tool-icon {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 0 !important;
  font-family: 'Noto Serif SC','Fraunces',serif !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  white-space: nowrap;
  vertical-align: middle;
}
.community-inline-composer .community-tool-icon svg {
  display: block;
  width: 13px;
  height: 13px;
  flex: none;
}
.community-work-picker::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 20px;
  width: 58px;
  height: 2px;
  background: var(--folio-yellow);
}
.community-work-cover {
  position: relative;
  overflow: hidden;
}
.community-work-cover-paper {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 19px;
  height: 16px;
  border: 1px solid rgba(21,21,21,.16);
  background: rgba(255,255,255,.48);
  transform: rotate(-4deg);
}
.community-work-cover-dot {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--folio-yellow);
}
.community-work-cover > span:last-child:not(.community-work-cover-dot) {
  position: relative;
  z-index: 2;
}
.community-media-preview {
  justify-content: start;
}
.community-media-error-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(21,21,21,.12);
  backdrop-filter: blur(1.5px);
}
.community-media-error {
  position: fixed;
  z-index: 9101;
  left: 50%;
  top: 50%;
  width: min(340px, calc(100vw - 32px));
  padding: 22px 24px 20px;
  border: 1px solid var(--folio-rule);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 56px rgba(21,21,21,.14);
  transform: translate(-50%, -50%);
}
.community-media-error::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 44px;
  height: 2px;
  background: var(--folio-red);
}
.community-media-error-kicker {
  margin-bottom: 6px;
  color: var(--folio-ink-2);
  font-size: 9px;
  letter-spacing: .22em;
}
.community-media-error h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}
.community-media-error > p {
  margin: 16px 0 20px;
  color: var(--folio-ink-2);
  font-size: 12px;
  line-height: 1.75;
}
.community-media-error > button {
  display: block;
  margin-left: auto;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--folio-ink);
  color: var(--folio-ink);
  font-size: 12px;
  background: transparent;
  cursor: pointer;
}
.community-inline-composer .studio-button {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 3px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--folio-ink) !important;
  border-radius: 0 !important;
  color: var(--folio-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}
.community-inline-composer .studio-button:disabled {
  border-bottom-color: rgba(21,21,21,.22) !important;
  color: rgba(21,21,21,.35) !important;
}

.community-main-column > div:nth-child(3) {
  margin-top: 18px !important;
}
.community-main-column > div:nth-child(3) > div {
  border-bottom: 0 !important;
}
.community-main-column .feed-tab {
  font-size: 13px;
  /* 从容器接过来的 padding-bottom：按钮底边现在正好落在分隔线上沿，
     选中态的黄线只要 bottom:-1px 就能压住它，不用靠魔法数字对齐。 */
  padding-bottom: 14px;
}
.community-main-column .feed-tab.is-active::after {
  height: 2px;
  background: var(--folio-yellow);
  /* 压在分隔线上，不要悬在半空。按钮自己扛了 padding-bottom 之后，
     按钮底边 = 容器内容底 = 分隔线上沿，-1px 让 2px 的黄线正好盖住 1px 的线。 */
  bottom: -1px;
}

/* 详情页那张卡（hideAuthor）不要顶内边距：正文在它上面的 header 里，
   两块之间已经有间距了，再加 28px 就把文案和图片拉开一道空档。
   列表页的卡不带 is-detail，padding 照旧。 */
.community-post-card.is-detail {
  padding-top: 0 !important;
}

/* 帖子不做一张张厚卡，改为编辑部式分隔。 */
.community-main-column > .flex.flex-col {
  gap: 0 !important;
  margin-top: 8px !important;
}
.community-post-card {
  border: 0 !important;
  border-bottom: 1px solid rgba(21,21,21,.10) !important;
  border-radius: 0 !important;
  padding: 28px 0 30px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.community-post-card + .community-post-card { margin-top: 0; }

/* 整卡可点（社区 / 个人主页 / 创作者动态）。详情页里那张不带 is-clickable。
   左右各撑出 16px 再用 padding 补回来：hover 的底色能盖到文字外面一点，
   而文字本身的位置一动不动 —— 不这么做的话底色紧贴字边，像贴了块补丁。
   !important 是被逼的：上面 .community-post-card 那条整串都是 !important，
   不带就覆盖不掉 background: transparent 和 padding: 28px 0。 */
.community-post-card.is-clickable {
  cursor: pointer;
  margin-left: -16px !important;
  margin-right: -16px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  transition: background-color .12s ease;
}
.community-post-card.is-clickable:hover {
  background: rgba(21, 21, 21, .028) !important;
}
/* 键盘走到卡里的链接时，把这张卡也提示出来（focus-within 而不是 focus：
   卡片本身不进 Tab 序，进 Tab 序的是里面的时间戳链接）。 */
.community-post-card.is-clickable:focus-within {
  background: rgba(21, 21, 21, .028) !important;
}

/* hover / 键盘 focus 时，卡片里这两块要跟着卡片一起变灰。
   （负责人 2026-09-05 反馈：hover 变灰之后「还没有评论。召唤一个吧。」
     那块是白的，在灰底上像浮着一个白方块。）

   根因：shared/folio-theme.css 有一条全站兜底规则，把 .card / .ai-card /
   .comment-box / .msg-box 等一批「卡片类」元素强制刷成不透明白
   （background: var(--folio-paper) !important）。而卡片 hover 的灰是**半透明**的，
   铺在卡片这一层 —— 里面的不透明白块盖在灰上面，就浮出来了。
   实测卡片内部中招的只有这两个：.ai-card（空评论态）和 .comment-box（评论输入框）。

   🔴 这里填 transparent，**不是**填一个算好的灰。
      它们本来就在卡片里，透明就会显出卡片当前的颜色 —— 不管卡片是常态白
      还是 hover 灰，都自动对得上。写死混色结果的话，--folio-paper 一变就错位。 */
.community-post-card.is-clickable:hover .ai-card,
.community-post-card.is-clickable:hover .comment-box,
.community-post-card.is-clickable:focus-within .ai-card,
.community-post-card.is-clickable:focus-within .comment-box {
  background: transparent !important;
}
.community-post-card h2 { font-size: 21px !important; }
.community-post-body {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.community-post-card .img-ph,
.community-post-card video,
.community-post-card > div[style*="margin-top: 14px"] img {
  border-radius: 6px !important;
}
.community-post-card .avatar,
.community-post-card .avatar img,
.community-post-card a[aria-label$="的主页"] > img,
/* 🔴 这条按**位置**选头像：`> div:first-child img`。
   前提是「卡片的第一个子元素 = 作者行」，只有显示作者时才成立。
   传了 hideAuthor 的卡片（帖子详情页、创作者页的「关于TA」栏）不渲染作者行，
   第一个子元素直接就是**媒体区** —— 整张配图被套上 50% 圆角，显示成椭圆。
   （2026-09-05 负责人反馈「详情页的图为什么是椭圆」；规则本身 2026-08-03 就在了。）
   hideAuthor 的卡片会带 .is-detail，用它排除掉。
   注：头像的圆形本来就由 Avatar 组件内联 borderRadius:'50%' 保证，
   这条规则对头像其实是冗余的，留着只为不改动现有非详情页的层叠结果。 */
.community-post-card:not(.is-detail) > div:first-child img {
  border-radius: 50% !important;
}
.community-post-card video {
  background: #edf1ef !important;
}
.community-post-card > div[style*="margin-top: 14px"] {
  max-width: 680px;
}
.community-post-card > div[style*="margin-top: 14px"] > div {
  gap: 10px !important;
}
.community-post-card > div:nth-last-of-type(1) {
  font-size: 12px;
}
.community-post-card .act {
  font-size: 12px;
  color: #777268;
}
.community-post-actions {
  padding-top: 4px !important;
  border-top: 0 !important;
}
.community-comments-toggle {
  pointer-events: auto !important;
}
.community-post-card .market-card {
  max-width: 620px;
  padding: 12px !important;
  border-color: rgba(21,21,21,.13);
  border-radius: 7px;
  background: #fff;
}
.community-post-card.is-repost { background: transparent !important; }
.community-post-card.is-repost .link-prev,
.community-post-card.is-repost a[href*="post-detail"] {
  background: rgba(247,245,239,.68) !important;
  border-color: rgba(21,21,21,.11) !important;
  border-radius: 6px !important;
}

/* 评论层级保持轻：没有粗卡片、没有深缩进。 */
.community-post-card .comment-box {
  border: 1px solid rgba(21,21,21,.14) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  overflow: hidden;
}
.community-post-card .comment-box:focus-within {
  border-color: rgba(21,21,21,.34) !important;
  box-shadow: none !important;
}
.community-comments-panel {
  display: flex;
  flex-direction: column;
  margin-top: 14px !important;
  margin-left: 0;
  width: 100%;
  padding: 10px 0 4px !important;
  border-top: 0 !important;
  border-radius: 0;
  background: transparent;
}
/* 评论区三块的顺序：输入框 → 筛选栏 → 评论列表。
   这一串 order 原来把输入框排到了最后（order:3），
   于是详情页要先滚过全部评论才能看到「说点什么…」——
   11 条要滚两屏，50 条基本等于没有输入框。
   点进详情页的第一诉求就是回复，入口不该随评论变多而越走越远。
   （现在的 order 和 DOM 顺序一致，留着是为了写清楚意图。） */
.community-comments-panel .community-comment-composer {
  order: 1;
  margin-top: 0;
  margin-bottom: 18px;
}
.community-comments-panel .comment-filter-bar {
  order: 2;
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 0 !important;
}
.community-comments-panel .unified-comment-stream { order: 3; }
.community-filter-summon { display: none !important; }
.community-comment-summon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0 5px;
  border: 0;
  border-bottom: 2px solid var(--folio-yellow);
  color: var(--folio-ink);
  font-size: 12px;
  background: transparent;
  cursor: pointer;
}
.community-summon-avatars {
  display: inline-flex;
  align-items: center;
  padding-left: 4px;
}
.community-summon-avatar {
  width: 20px;
  height: 20px;
  margin-left: -4px;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--folio-ink);
  font-size: 10px;
  line-height: 1;
}
.community-summon-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.community-summon-arrow {
  color: var(--folio-seal);
  font-size: 13px;
}
.community-comment-composer { gap: 0 !important; }
.community-comment-composer > .comment-box { width: 100%; }
.community-post-card .unified-comment-stream {
  margin-top: 6px;
  border-top: 0 !important;
}
.community-post-card .unified-comment-row {
  padding: 0 !important;
  border-bottom: 0 !important;
}
.community-post-card .unified-comment-row .indent {
  margin: 8px 0 0 44px !important;
  padding: 10px 0 0 !important;
  border: 0 !important;
}
.community-post-card .persona-comment {
  padding: 12px 0 10px !important;
}
.community-post-card .persona-comment::before { display: none !important; }
.community-post-card .persona-comment .persona-note-head,
.community-post-card .persona-comment .persona-note-body,
.community-post-card .persona-comment .persona-note-foot {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.community-post-card .ai-card {
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* 右栏：按墨、签到、分身、话题的优先级排列。 */
.community-side-rail {
  width: 252px;
  flex-shrink: 0;
  margin-left: 38px;
  padding: 24px 0 0 28px;
  border-left: 1px solid var(--folio-rule);
}
.community-rail-section {
  position: relative;
  padding: 0 0 24px;
  margin: 0 0 24px;
  border: 0 !important;
  border-bottom: 1px solid rgba(21,21,21,.10) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.community-rail-section:last-child { border-bottom: 0 !important; }
.community-rail-title,
.responding-title {
  margin: 0 0 13px;
  color: var(--folio-ink);
  font-family: 'Inter','Noto Sans SC',sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.responding-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.responding-personas::before { display: none !important; }
.responding-title a {
  color: var(--folio-ink-2);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 11px;
  letter-spacing: 0;
  text-decoration: none;
}
.community-ink-number span:first-child {
  font-size: 46px;
  line-height: 1;
}
.community-ink-number {
  position: relative;
  padding-bottom: 16px;
}
.community-ink-number::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 86px;
  height: 2px;
  background: var(--folio-ink);
}
.community-ink-number span:last-child { font-size: 12px; }
.community-rail-links {
  display: flex;
  gap: 18px;
  margin-top: 16px;
}
.community-rail-links a,
.community-signin-link {
  color: var(--folio-ink);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 11px;
  text-decoration: none;
}
.community-signin-section { display: block; }
.community-signin-row { display: block; }
.community-signin-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}
.community-signin-copy > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--folio-ink);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}
.community-signin-copy > span em {
  display: block;
  margin-top: 3px;
  font-family: 'Inter','Noto Sans SC',sans-serif;
  font-size: 7px;
  font-style: normal;
  letter-spacing: .08em;
}
.community-signin-copy small {
  display: block;
  max-width: 88px;
  color: var(--folio-ink-2);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 10px;
  line-height: 1.5;
}
.community-signin-copy .community-signin-link {
  display: inline-block;
  margin-top: 7px;
  font-size: 13px;
}
.community-signin-note {
  margin: 12px 0 0;
  color: var(--folio-ink-2);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 10px;
}
.responding-personas ul { display: grid; gap: 9px; }
.responding-personas li {
  display: grid;
  grid-template-columns: 22px 72px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.responding-personas li img,
.responding-personas .responding-dot {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
}
.responding-personas li { grid-template-columns: 30px 58px minmax(0,1fr); }
.responding-name {
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 12px;
}
.responding-status {
  overflow: hidden;
  color: var(--folio-ink-2);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-topic-section li {
  display: grid !important;
  grid-template-columns: 20px minmax(0,1fr);
  gap: 8px !important;
}
.community-topic-section ul { gap: 8px !important; }
.community-topic-section li a {
  overflow: hidden;
  border-bottom: 0 !important;
  font-size: 12px !important;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-topic-section li small {
  grid-column: 2;
  margin-top: -5px;
  color: var(--folio-ink-2);
  font-size: 9px;
}
.community-topics-more {
  margin-top: 16px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--folio-ink);
  color: var(--folio-ink);
  background: transparent;
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 11px;
  cursor: pointer;
}
.community-topic-section li span { color: var(--folio-ink-2) !important; font-size: 10px !important; }
.community-hot-section ol { display: grid; gap: 9px; }
.community-hot-section li {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr) 22px;
  align-items: baseline;
  gap: 6px;
}
.community-hot-section li > small { text-align: right; }
.community-hot-section li > span,
.community-hot-section li > small {
  color: var(--folio-ink-2);
  font-size: 9px;
}
.community-hot-section li a {
  overflow: hidden;
  color: var(--folio-ink);
  font-family: 'Noto Serif SC','Fraunces',serif;
  font-size: 11px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .community-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 26px;
  }
  .community-hero-art { display: none; }
  .community-layout { padding-bottom: 72px; }
}
@media (max-width: 680px) {
  .community-hero {
    padding-top: 36px;
    padding-bottom: 28px;
  }
  .community-hero h1 { font-size: 56px; }
  .community-hero p { font-size: 17px; }
  .community-main-column { padding-top: 20px; }
  .community-compose-collapsed { grid-template-columns: 1fr; gap: 10px; }
  .community-compose-quick-tools { overflow-x: auto; padding-bottom: 4px; }
  .community-post-card { padding: 24px 0 26px !important; }
  .community-post-card.is-repost { padding: 20px 16px 22px !important; }
}

/* 评论区的「回复」「删除」：和正文一样是纯文字按钮，**不要下划线**。
   原来它们挂 .text-link，那个类会画一条 ::after 下划线（community/shell.css:15）——
   下划线是给「跳转到别处的链接」用的，而这两个是就地动作（展开输入框、删一条评论），
   长得像链接会让人以为要跳走。（负责人 2026-09-06 反馈）
   hover 只变深颜色，够了。 */
.community-comment-act {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color .15s ease;
}
.community-comment-act:hover { color: var(--folio-ink); }

/* ═══ 就地回复框 ═══
   点某条评论的「回复」，就在那条底下展开。
   （负责人 2026-09-06：原来光标会跳到很上面的主框，看不见自己在回复哪一条。） */
.community-inline-reply {
  /* 44 = 头像 32 + 间距 12，左边和评论正文对齐，一眼看出属于上面那条 */
  margin: 10px 0 4px 44px;
  border: 1px solid var(--folio-rule);
  border-radius: 8px;
  /* 🔴 底色必须 transparent，不能给白底。
     卡片 hover 时是半透明灰铺在卡片那一层，里面给了不透明白就会浮出一个白方块 ——
     2026-09-06 刚因为这个修过 .ai-card / .comment-box。 */
  background: transparent;
  overflow: hidden;
}
/* 二级回复里再点回复时，缩进不要再叠一层 —— 只有两层结构，叠了会越缩越窄 */
.indent .community-inline-reply { margin-left: 0; }

.community-inline-reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 0;
  font-size: 12px;
  line-height: 1.4;
}
.community-inline-reply-cancel {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  color: var(--folio-ink-2);
  transition: color .15s ease;
}
.community-inline-reply-cancel:hover { color: var(--folio-ink); }

/* ComposerInput 自带内边距，外框不要再叠一层，空框会被顶高 */
.community-inline-reply .comment-box,
.community-inline-reply > div { background: transparent; }

/* 「发表」在 ComposerInput 的工具栏行里（toolbarExtra），不另起一行。
   btn-coral 默认 min-height:40px，对这个小框太高，压到 28。 */
.community-inline-reply-send {
  min-height: 28px !important;
  height: 28px;
  padding: 0 16px !important;
  font-size: 12px;
  line-height: 28px;
}
.community-inline-reply-send[disabled] { opacity: .35; cursor: default; }
