/* 仅用于话题详情页。 */
.community-thread-page { background-color: #edf3ed; background-image: linear-gradient(180deg, #edf4ed38 0, #edf3edb3 280px, #edf3ed 640px), url("img/community-town.svg"); background-position: center top, center 60px; background-size: 100% 680px, max(1200px, 100%) auto; background-repeat: no-repeat; }
.community-thread-page main { max-width: 1000px; padding-top: 96px; padding-bottom: 32px; }
.thread-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; color: #85918b; font-size: 12px; }
.thread-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid #ffffffb3; border-radius: 8px; background: #fffffff2; color: #38523e; text-decoration: none; }
.thread-breadcrumb > span { color: #38523e; }
.community-thread-page .community-card.thread { min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 16px; overflow: visible; background: transparent; box-shadow: none; animation: none; }
.thread-detail-layout { display: grid; grid-template-columns: 156px minmax(0, 1fr); align-items: start; gap: 20px; }
.thread-detail-layout > .thread, .thread-detail-layout > .community-replies { grid-column: 2; min-width: 0; }
.thread-detail-layout > .discussion-author { grid-column: 1; grid-row: 1 / 3; align-self: start; }
.community-thread-page .thread-detail-layout > .discussion-author { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; padding: 26px 16px; border: 1px solid #e1e7e3; border-radius: 14px; background: #fff; text-align: center; }
.community-thread-page .thread-detail-layout > .discussion-author .discussion-avatar { width: 64px; height: 64px; margin: 0 0 4px; border-radius: 12px; flex-shrink: 0; }
.community-thread-page .thread-detail-layout > .discussion-author .discussion-avatar img { width: 64px; height: 64px; }
.community-thread-page .thread-detail-layout > .discussion-author .discussion-avatar img[src^="https://textures.minecraft.net/"] { position: absolute; width: 512px; max-width: none; height: auto; left: -64px; top: -64px; image-rendering: pixelated; }
.community-thread-page .thread-detail-layout > .discussion-author strong { max-width: 100%; color: #344d3c; font-size: 13px; overflow-wrap: anywhere; }
.community-thread-page .thread-detail-layout > .discussion-author > span:last-child { max-width: 100%; color: #879187; overflow-wrap: anywhere; }
.community-thread-page .thread .discussion-content { padding: 28px 32px 30px; border: 1px solid #e1e7e3; border-radius: 16px; background: #fff; }
.thread-heading { padding-bottom: 20px; border-bottom: 1px solid #edf0ee; }
.thread-heading h1 { margin: 0 0 12px; font-size: clamp(23px, 3vw, 30px); font-weight: 650; line-height: 1.45; letter-spacing: -.025em; color: #263b2e; overflow-wrap: anywhere; }
.community-thread-page .thread .thread-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; color: #89958d; font-size: 12px; }
.community-thread-page .thread .thread-meta a { font-size: inherit; color: inherit; text-decoration: none; }
.community-thread-page .thread .topic-tags { margin: 16px 0 0; gap: 6px; }
.community-thread-page .thread .thread-tags { padding-top: 14px; border-top: 1px solid #edf0ee; }
.community-thread-page .thread .topic-tags a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 9px; border-radius: 6px; background: #f1f5f0; color: #6d836e; font-size: 11px; text-decoration: none; }
.community-thread-page .thread-body { margin: 22px 0 0; color: #354139; font-size: 15px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-thread-page .thread .community-post-image { margin: 22px 0 0; border-radius: 10px; }
.community-thread-page .community-replies { margin-top: 0; padding: 24px 28px; border: 1px solid #e1e7e3; border-radius: 16px; background: #fff; }
.community-thread-page .community-replies .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid #edf0ee; }
.community-thread-page .community-replies .section-heading h2 { margin: 0; font-size: 17px; }
.community-thread-page .community-replies .section-heading h2 span { display: inline-block; margin-left: 6px; color: #8a968d; font-size: 13px; font-weight: 400; }
.thread-reply-caption { color: #909b93; font-size: 11px; }
.thread-empty { margin: 22px 0; color: #929c95; font-size: 13px; text-align: center; }
.community-thread-page .reply { margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid #edf0ee; border-radius: 0; background: transparent; animation: none; }
.community-thread-page .reply-author { padding: 0; background: transparent; }
.community-thread-page .reply > p { margin: 12px 0 0 50px; color: #46534a; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.community-thread-page .community-card.reply-form { margin: 20px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; animation: none; }
.community-thread-page .reply-form label { display: grid; gap: 10px; font-size: 13px; color: #65756a; }
.community-thread-page .reply-form textarea { width: 100%; min-height: 110px; padding: 14px; border: 1px solid #dfe7df; border-radius: 10px; background: #fafcf9; line-height: 1.7; }
.community-thread-page .reply-form .button-link { min-height: 44px; margin-top: 12px; padding: 10px 18px; border-radius: 8px; background: #42694e; font-size: 13px; }
.community-thread-page .community-note { margin: 18px 0 0; padding: 14px 16px; border-radius: 8px; background: #f5f8f3; color: #83907f; font-size: 13px; text-align: center; }
.community-thread-page .community-note a { color: #42694e; }
.community-thread-page main > .community-bottom { display: none; }
.community-thread-page .site-footer { background: #f8faf7; border-top: 1px solid #dfe7dd; }
@media (max-width: 639px) {
  .community-thread-page { background-size: 100% 520px, 1040px auto; background-position: center top, center 60px; }
  .community-thread-page main { padding-top: 86px; }
  .thread-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .thread-detail-layout > .thread, .thread-detail-layout > .community-replies { grid-column: 1; }
  .thread-detail-layout > .discussion-author { grid-column: 1; grid-row: auto; }
  .community-thread-page .thread-detail-layout > .discussion-author { display: grid; grid-template-columns: 40px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 12px; row-gap: 2px; width: 100%; padding: 10px 12px; text-align: left; }
  .community-thread-page .thread-detail-layout > .discussion-author .discussion-avatar { grid-row: 1 / 3; width: 40px; height: 40px; margin: 0; }
  .community-thread-page .thread-detail-layout > .discussion-author .discussion-avatar img { width: 40px; height: 40px; }
  .community-thread-page .thread-detail-layout > .discussion-author .discussion-avatar img[src^="https://textures.minecraft.net/"] { width: 320px; max-width: none; height: auto; left: -40px; top: -40px; }
  .community-thread-page .thread .discussion-content { padding: 20px; }
  .thread-heading { padding-bottom: 16px; }
  .community-thread-page .community-replies { padding: 20px; }
  .thread-reply-caption { display: none; }
  .community-thread-page .reply-author { flex-wrap: wrap; }
  .community-thread-page .reply-author > time { margin-left: 50px; }
  .community-thread-page .reply > p { margin-left: 0; }
}
