/* =========================================================
   Yunmu — community (forum), topic, ranking
   ========================================================= */

.hw-main--forum { max-width: 1560px; }
.hw-forum {
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr) 274px;
  gap: 20px;
  align-items: start;
}
.hw-forum__left, .hw-forum__right { position: sticky; top: calc(var(--hw-header-h) + 4px); }
@media (max-width: 1280px) {
  .hw-forum { grid-template-columns: 250px minmax(0, 1fr); }
  .hw-forum__right { display: none; }
}
@media (max-width: 900px) {
  .hw-forum { grid-template-columns: 1fr; }
  .hw-forum__left { position: static; }
  .hw-forum__left .hw-promo { display: none; }
}

/* Community user card ------------------------------------------ */
.hw-community-user {
  padding: 20px;
  border-radius: 18px;
  background: var(--hw-card);
  border: 1px solid var(--hw-border);
  box-shadow: var(--hw-shadow-sm);
}
.hw-community-user__head { display: flex; align-items: center; gap: 12px; }
.hw-community-user__head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.hw-community-user__name { font-size: 15px; font-weight: 600; }
.hw-community-user__bio { font-size: 11.5px; color: var(--hw-text-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-community-user__stats { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hw-border); }
.hw-community-user__stats--alt { margin-top: 8px; padding-top: 8px; border-top: 0; }
.hw-community-user__stats span { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11px; color: var(--hw-text-3); }
.hw-community-user__stats b { font-size: 17px; color: var(--hw-text); font-weight: 600; }
.hw-community-user__actions { display: flex; gap: 8px; margin-top: 16px; }
.hw-community-user__actions .hw-btn { flex: 1; height: 40px; font-size: 13px; }
.hw-community-user__guest { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0 4px; }
.hw-community-user__guest-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--hw-chip); color: var(--hw-text-2); }
.hw-community-user__guest p { margin: 0; font-size: 12px; color: var(--hw-text-3); max-width: 190px; }
.hw-community-user__guest .hw-btn { height: 40px; padding: 0 20px; font-size: 13px; }

/* Collage ------------------------------------------------------ */
.hw-forum__center { min-width: 0; }
.hw-forum__collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .9fr .9fr;
  grid-template-rows: 96px 96px;
  gap: 3px;
  height: 195px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--hw-card);
  box-shadow: var(--hw-shadow-sm);
}
.hw-forum__collage-item { display: block; background-size: cover; background-position: center; background-color: var(--hw-bg-2); }
.hw-forum__collage-item--0 { grid-row: 1 / 3; }
.hw-forum__collage-item--1 { grid-column: 2 / 4; }
.hw-forum__collage-item--2 { grid-column: 2 / 4; grid-row: 2; }
.hw-forum__collage-item:not([style]) { background: linear-gradient(135deg, #2a2a2a, #3b3b3b); }
body.hw-light .hw-forum__collage-item:not([style]) { background: linear-gradient(135deg, #dcdcdc, #efefef); }
.hw-forum__collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .55));
}
.hw-forum__collage-title {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}
.hw-forum__collage-title h1 { font-size: 22px; font-weight: 600; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.hw-forum__collage-title p { margin: 4px 0 0; font-size: 12px; opacity: .75; max-width: 460px; }

/* Tabs / bar --------------------------------------------------- */
.hw-forum__tabs { display: flex; gap: 6px; margin: 18px 0 12px; }
.hw-forum__tab {
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--hw-text-2);
  transition: all var(--hw-transition);
}
.hw-forum__tab:hover { background: var(--hw-chip); color: var(--hw-text); }
.hw-forum__tab.is-active { background: var(--hw-text); color: var(--hw-bg); font-weight: 600; }

.hw-forum__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hw-forum__cats { display: flex; gap: 6px; flex-wrap: wrap; }
.hw-forum__cat {
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--hw-chip);
  color: var(--hw-text-2);
  font-size: 12px;
}
.hw-forum__cat:hover { color: var(--hw-text); }
.hw-forum__cat.is-active { background: rgba(91, 140, 255, .16); color: #8ab0ff; font-weight: 600; }
body.hw-light .hw-forum__cat.is-active { background: rgba(59, 107, 255, .12); color: #3b6bff; }
.hw-forum__search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  width: 250px;
  max-width: 100%;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--hw-input);
  border: 1px solid var(--hw-border);
}
.hw-forum__search .hw-icon { color: var(--hw-text-3); width: 15px; height: 15px; }
.hw-forum__search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 12.5px; color: var(--hw-text); }

/* Feed / post card --------------------------------------------- */
.hw-forum__feed { display: flex; flex-direction: column; gap: 14px; }
.hw-post {
  padding: 18px;
  border-radius: 18px;
  background: var(--hw-card);
  border: 1px solid var(--hw-border);
  box-shadow: var(--hw-shadow-sm);
  transition: border-color var(--hw-transition), transform var(--hw-transition);
}
.hw-post:hover { border-color: var(--hw-border-strong); transform: translateY(-1px); }
.hw-post__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hw-post__author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hw-post__avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.hw-post__who { min-width: 0; }
.hw-post__name { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.hw-post__time { font-size: 11px; color: var(--hw-text-3); font-weight: 400; }
.hw-post__bio { font-size: 11px; color: var(--hw-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.hw-post__actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.hw-post__stat { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; border-radius: 8px; color: var(--hw-text-3); font-size: 11.5px; }
.hw-post__stat:hover { background: var(--hw-chip); color: var(--hw-text); }
.hw-post__stat .hw-icon { width: 14px; height: 14px; }
.hw-post__stat b { font-weight: 500; }

.hw-post__body { margin-top: 12px; }
.hw-post__cat { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; background: var(--hw-chip); color: var(--hw-text-3); font-size: 11px; margin-bottom: 7px; }
.hw-post__title { font-size: 17px; font-weight: 600; line-height: 1.45; margin-bottom: 6px; }
.hw-post__title a:hover { color: var(--hw-accent-2); }
.hw-post__excerpt { font-size: 13px; color: var(--hw-text-2); line-height: 1.7; margin: 0 0 10px; }
.hw-post__images { display: grid; gap: 4px; border-radius: 12px; overflow: hidden; }
.hw-post__images--1 { grid-template-columns: 1fr; }
.hw-post__images--2 { grid-template-columns: 1fr 1fr; }
.hw-post__images--3 { grid-template-columns: repeat(3, 1fr); }
.hw-post__images a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hw-bg-2); }
.hw-post__images img { width: 100%; height: 100%; object-fit: cover; }

.hw-post__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hw-border); }
.hw-post__comments { font-size: 11.5px; color: var(--hw-text-3); }
.hw-post__foot-tools { display: flex; gap: 2px; }
.hw-tool { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px; border-radius: 8px; color: var(--hw-text-3); font-size: 11.5px; }
.hw-tool:hover { background: var(--hw-chip); color: var(--hw-text); }
.hw-tool .hw-icon { width: 14px; height: 14px; }
.hw-tool.is-fav { color: #f5c542; }
.hw-tool.is-off { opacity: .55; }

.hw-forum__more { display: flex; justify-content: center; margin: 20px 0 0; }

/* Ranking ------------------------------------------------------ */
.hw-rank {
  padding: 18px;
  border-radius: 18px;
  background: var(--hw-card);
  border: 1px solid var(--hw-border);
  box-shadow: var(--hw-shadow-sm);
}
.hw-rank + .hw-rank { margin-top: 16px; }
.hw-rank__title { display: flex; align-items: center; gap: 7px; font-size: 14px; margin-bottom: 12px; }
.hw-rank__title .hw-icon { color: #f2994a; }
.hw-rank__list { display: flex; flex-direction: column; gap: 2px; }
.hw-rank__user, .hw-rank__tag { display: flex; align-items: center; gap: 9px; padding: 8px 6px; border-radius: 9px; font-size: 12px; }
.hw-rank__user:hover, .hw-rank__tag:hover { background: var(--hw-chip); }
.hw-rank__no { width: 18px; flex: 0 0 auto; font-size: 11.5px; color: var(--hw-text-3); text-align: center; }
.hw-rank__no.is-top { color: #f2994a; font-weight: 700; }
.hw-rank__user img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.hw-rank__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-rank__value { font-size: 11px; color: var(--hw-text-3); }
.hw-rank__empty { font-size: 12px; color: var(--hw-text-3); }

/* Topic detail ------------------------------------------------- */
.hw-topic {
  max-width: 900px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 22px;
  background: var(--hw-card);
  border: 1px solid var(--hw-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--hw-shadow-sm);
}
.hw-topic__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.hw-topic__author { display: flex; align-items: center; gap: 11px; }
.hw-topic__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.hw-topic__name { font-size: 14px; font-weight: 600; }
.hw-topic__meta { font-size: 11.5px; color: var(--hw-text-3); margin-top: 2px; }
.hw-topic__meta a { color: var(--hw-text-2); }
.hw-topic__title { font-size: clamp(22px, 3vw, 30px); line-height: 1.4; margin-bottom: 16px; }
.hw-topic__content { font-size: 14.5px; line-height: 1.9; color: var(--hw-text-2); }
.hw-topic__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 20px; }
.hw-topic__gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.hw-topic__gallery img { width: 100%; height: 100%; object-fit: cover; }
.hw-topic__actions { display: flex; gap: 6px; margin: 20px 0 8px; padding-top: 14px; border-top: 1px solid var(--hw-border); }
.hw-topic .hw-comments { margin-top: 28px; }
@media (max-width: 640px) {
  .hw-topic { padding: 18px; border-radius: 16px; }
  .hw-topic__gallery { grid-template-columns: 1fr; }
}

/* Composer modal ------------------------------------------------ */
.hw-modal__panel--post { width: min(620px, 100%); }
.hw-post-form .hw-field { margin-bottom: 14px; }
.hw-post-form textarea.hw-input { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.hw-post-form select.hw-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--hw-text-3) 50%), linear-gradient(135deg, var(--hw-text-3) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.hw-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px dashed var(--hw-border-strong);
  color: var(--hw-text-2);
  font-size: 12.5px;
  cursor: pointer;
}
.hw-upload:hover { background: var(--hw-chip); color: var(--hw-text); }
.hw-upload__preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hw-upload__item { position: relative; width: 76px; height: 76px; border-radius: 9px; overflow: hidden; }
.hw-upload__item img { width: 100%; height: 100%; object-fit: cover; }
.hw-upload__item button {
  position: absolute;
  top: 3px; right: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.hw-form__msg { margin-top: 10px; font-size: 12.5px; text-align: center; color: var(--hw-text-3); }
.hw-form__msg.is-error { color: #ff8a8a; }
.hw-form__msg.is-ok { color: #57d98a; }

/* Mobile ------------------------------------------------------- */
@media (max-width: 640px) {
  .hw-forum__collage { grid-template-columns: 1fr 1fr; grid-template-rows: 80px 80px; height: 160px; }
  .hw-forum__collage-item--0 { grid-row: 1 / 3; }
  .hw-forum__collage-item--1 { grid-column: 2; grid-row: 1; }
  .hw-forum__collage-item--2 { grid-column: 2; grid-row: 2; }
  .hw-forum__collage-title { left: 14px; bottom: 12px; }
  .hw-forum__collage-title h1 { font-size: 16px; }
  .hw-forum__collage-title p { display: none; }
  .hw-forum__search { width: 100%; }
  .hw-post { padding: 14px; }
  .hw-post__title { font-size: 15.5px; }
  .hw-post__bio { max-width: 170px; }
}

/* Community card avatar halo ------------------------------------ */
.hw-community-user { position: relative; overflow: hidden; }
.hw-community-user::before {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(91, 140, 255, .22), rgba(138, 92, 255, .10) 45%, transparent 68%);
  pointer-events: none;
}
.hw-community-user__head { position: relative; }
.hw-community-user__head img {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 0 0 5px rgba(91, 140, 255, .18), 0 8px 22px rgba(0, 0, 0, .3);
}
body.hw-light .hw-community-user__head img { box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(59, 107, 255, .18), 0 8px 18px rgba(0, 0, 0, .12); }
.hw-community-user__name { display: flex; align-items: center; gap: 6px; }
.hw-community-user__name::after {
  content: "Lv.3";
  padding: 1px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #3b6bff, #8a5cff);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ==========================================================================
   v1.5 community completion
   ========================================================================== */
.hw-community-stats,
.hw-community-rules {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--hw-radius-lg, 18px);
  background: var(--hw-card);
  border: 1px solid var(--hw-border);
}
.hw-community-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.hw-community-stats__grid span {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--hw-bg-2);
  text-align: center;
  font-size: 11px; color: var(--hw-text-3);
}
.hw-community-stats__grid b { font-size: 20px; line-height: 1.1; color: var(--hw-text); font-weight: 700; letter-spacing: -.02em; }
.hw-community-rules ol { margin: 14px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 9px; }
.hw-community-rules li { font-size: 12.5px; line-height: 1.65; color: var(--hw-text-2); }

.hw-topic__actions-sep { width: 1px; height: 20px; background: var(--hw-border); display: inline-block; margin: 0 4px; }
.hw-tool--danger:hover { color: #e05d4f !important; border-color: rgba(224, 93, 79, .35) !important; }
.hw-topic__editor {
  margin: 26px 0 8px;
  padding: 22px;
  border-radius: var(--hw-radius-lg, 18px);
  background: var(--hw-card);
  border: 1px solid var(--hw-border);
}
.hw-topic__editor .hw-field { margin-bottom: 16px; }
.hw-topic__editor-msg { margin: 0 0 12px; font-size: 12.5px; color: var(--hw-text-3); }
.hw-topic__editor-msg.is-error { color: #e05d4f; }
.hw-topic__editor-actions { display: flex; justify-content: flex-end; gap: 10px; }

body.hw-light .hw-community-stats,
body.hw-light .hw-community-rules,
body.hw-light .hw-topic__editor { background: #ffffff; border-color: rgba(0, 0, 0, .09); box-shadow: 0 12px 30px rgba(20, 24, 36, .07); }
body.hw-light .hw-community-stats__grid span { background: #f2f3f6; }
body.hw-light .hw-community-rules li { color: #44444a; }

@media (max-width: 640px) {
  .hw-community-stats, .hw-community-rules { padding: 16px; }
  .hw-topic__editor { padding: 16px; }
  .hw-topic__actions-sep { display: none; }
}

/* =========================================================
   v1.5.2 — natural three-column scroll + mobile compact mode
   ========================================================= */
.hw-forum__left,
.hw-forum__right {
  position: static;
  top: auto;
}

@media (max-width: 1080px) {
  .hw-forum {
    grid-template-columns: 1fr;
  }
  .hw-forum__left { order: 2; }
  .hw-forum__center { order: 1; }
  .hw-forum__right { order: 3; }
}

@media (max-width: 760px) {
  .hw-forum__left,
  .hw-forum__right { display: none; }
  .hw-forum { display: block; }
  .hw-forum__collage { height: 158px; border-radius: 14px; }
  .hw-forum__collage-title h1 { font-size: 18px; }
  .hw-forum__collage-title p { font-size: 11.5px; }
  .hw-forum__tabs { overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
  .hw-forum__tabs::-webkit-scrollbar { display: none; }
  .hw-forum__bar {
    position: sticky;
    top: calc(var(--hw-header-h) - 10px);
    z-index: 30;
    padding: 8px 0;
    background: color-mix(in srgb, var(--hw-bg) 88%, transparent);
    backdrop-filter: blur(16px);
  }
  .hw-forum__cats { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .hw-forum__cats::-webkit-scrollbar { display: none; }
  .hw-forum__feed { gap: 10px; }
}

/* Report dialog — v1.6.0 */
.hw-report-modal {
	width: min(480px, calc(100vw - 32px));
}

.hw-report-reasons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin: 18px 0 16px;
}

.hw-report-reasons label {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid var(--hw-border);
	border-radius: 11px;
	background: var(--hw-card);
	color: var(--hw-text-2);
	font-size: 13px;
	cursor: pointer;
	transition: background var(--hw-transition), border-color var(--hw-transition), color var(--hw-transition);
}

.hw-report-reasons label:hover {
	background: var(--hw-card-hover);
	color: var(--hw-text);
}

.hw-report-reasons input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.hw-report-reasons label:has(input:checked) {
	border-color: rgba(59, 107, 255, .7);
	background: rgba(59, 107, 255, .14);
	color: var(--hw-text);
	box-shadow: inset 0 0 0 1px rgba(59, 107, 255, .24);
}

.hw-report-form .hw-field {
	display: grid;
	gap: 7px;
}

.hw-report-form .hw-field label {
	font-size: 12.5px;
	color: var(--hw-text-2);
}

.hw-report-form .hw-input {
	width: 100%;
	padding: 11px 13px;
	border-radius: 11px;
	border: 1px solid var(--hw-border);
	background: var(--hw-input);
	color: var(--hw-text);
	font-family: inherit;
	font-size: 13px;
	line-height: 1.6;
	resize: vertical;
}

.hw-report-form .hw-input:focus {
	outline: none;
	border-color: rgba(59, 107, 255, .65);
}

.hw-report-msg {
	min-height: 18px;
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--hw-danger);
}

.hw-report-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 6px;
}

.hw-btn--danger {
	background: #e05252;
	border-color: #e05252;
	color: #fff;
}

.hw-btn--danger:hover {
	background: #c94343;
	border-color: #c94343;
}

@media (max-width: 520px) {
	.hw-report-reasons { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Community post detail — mirrored from the reference `.cm-d-*` layout
   ========================================================================== */
.hw-main--topic { max-width: 960px; padding: calc(var(--hw-header-h) + 22px) 18px 64px; }
.hw-cd-wrap { max-width: 960px; margin: 0 auto; }
.hw-cd-back {
	display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
	font-size: 12px; color: var(--hw-text-3); text-decoration: none;
}
.hw-cd-back:hover { color: var(--hw-accent); }
.hw-cd-back .hw-icon { width: 14px; height: 14px; }
.hw-cd-card {
	padding: 20px 22px 22px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, .09);
	background: rgba(255, 255, 255, .035);
	box-shadow: 0 24px 60px -52px rgba(0, 0, 0, .7);
}
.hw-cd-head { display: flex; align-items: flex-start; gap: 11px; }
.hw-cd-ava { display: block; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; background: #211d18; }
.hw-cd-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-cd-id { flex: 1; min-width: 0; }
.hw-cd-name { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--hw-text); }
.hw-cd-name a { color: inherit; text-decoration: none; }
.hw-cd-name a:hover { color: var(--hw-accent); }
.hw-cd-name em { font-style: normal; padding: 0 4px; border: 1px solid rgba(47, 122, 106, .5); border-radius: 4px; font-size: 10.5px; font-weight: 400; color: #7fc4ac; }
.hw-cd-name span { font-size: 11px; font-weight: 400; color: var(--hw-text-3); }
.hw-cd-bio { margin-top: 5px; font-size: 11.5px; line-height: 1.6; color: var(--hw-text-3); }
.hw-cd-sig { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 7px; font-size: 11.5px; color: var(--hw-text-2); }
.hw-cd-sig b { font-weight: 500; color: var(--hw-text); font-variant-numeric: tabular-nums; }
.hw-cd-sig .hw-cd-bar { font-style: normal; color: rgba(255, 255, 255, .25); }
.hw-cd-follow {
	display: inline-flex; align-items: center; gap: 4px; flex: none;
	height: 30px; padding: 0 11px; border-radius: 99px;
	border: 1px solid var(--hw-border); background: var(--hw-chip);
	color: var(--hw-text-2); font-size: 11.5px; cursor: pointer;
}
.hw-cd-follow .hw-icon { width: 12px; height: 12px; }
.hw-cd-follow.is-on { color: var(--hw-accent); border-color: rgba(216, 191, 140, .4); background: rgba(216, 191, 140, .1); }

.hw-cd-title { display: flex; align-items: center; gap: 9px; margin: 18px 0 10px; font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--hw-text); }
.hw-cd-kind {
	flex: none; padding: 2px 8px; border-radius: 5px;
	border: 1px solid rgba(47, 122, 106, .4); background: rgba(47, 122, 106, .16);
	font-size: 11px; font-weight: 400; color: #7fc4ac;
}
.hw-cd-kind.is-daily { border-color: rgba(216, 191, 140, .4); background: rgba(216, 191, 140, .14); color: #e2c893; }
.hw-cd-kind.is-help { border-color: rgba(196, 83, 74, .4); background: rgba(196, 83, 74, .14); color: #e09189; }
.hw-cd-text { margin-bottom: 16px; font-size: 13.5px; line-height: 1.9; color: var(--hw-text-2); overflow-wrap: anywhere; }
.hw-cd-text > p { margin: 0 0 10px; }
.hw-cd-text > p:last-child { margin-bottom: 0; }
.hw-cd-text img { max-width: 100%; height: auto; border-radius: 10px; }

.hw-cd-imgs { display: grid; gap: 9px; margin-bottom: 16px; }
.hw-cd-imgs.is-one { grid-template-columns: 1fr; }
.hw-cd-imgs.is-two { grid-template-columns: 1fr 1fr; }
.hw-cd-imgs a { display: block; border-radius: 11px; overflow: hidden; background: #141210; }
.hw-cd-imgs img { width: 100%; height: auto; max-height: 58vh; object-fit: cover; display: block; }
.hw-cd-imgs.is-one img { max-height: 68vh; object-fit: contain; }
.hw-cd-imgs.is-two img { height: 264px; }
.hw-cd-imgs.is-two a:nth-child(odd):last-child { grid-column: 1 / -1; }
.hw-cd-imgs a:hover img { filter: brightness(1.03); }

.hw-cd-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.hw-cd-tags a {
	padding: 3px 10px; border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .05);
	font-size: 11.5px; color: var(--hw-text-2); text-decoration: none;
}
.hw-cd-tags a:hover { color: var(--hw-accent); border-color: rgba(216, 191, 140, .4); }

.hw-cd-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.hw-cd-static { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--hw-text-3); }
.hw-cd-static .hw-icon { width: 15px; height: 15px; }
.hw-cd-act {
	display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
	border-radius: 17px; border: 1px solid rgba(255, 255, 255, .09);
	background: rgba(255, 255, 255, .05); color: var(--hw-text-2);
	font-size: 12.5px; font-family: inherit; cursor: pointer; text-decoration: none;
}
.hw-cd-act:hover { color: var(--hw-text); border-color: rgba(255, 255, 255, .2); }
.hw-cd-act.is-fav { color: var(--hw-accent); border-color: rgba(216, 191, 140, .5); background: rgba(216, 191, 140, .1); }
.hw-cd-act .hw-icon { width: 15px; height: 15px; }
.hw-cd-act b { font-weight: 500; font-variant-numeric: tabular-nums; }
.hw-cd-post { margin-left: auto; }

.hw-cd-manage { display: flex; gap: 16px; margin-top: 13px; }
.hw-cd-link { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--hw-text-3); font-size: 11px; cursor: pointer; }
.hw-cd-link:hover { color: var(--hw-accent); }
.hw-cd-link.is-danger:hover { color: #e06b62; }
.hw-cd-link .hw-icon { width: 12px; height: 12px; }

.hw-cd-editor { margin-top: 16px; padding: 14px; border-radius: 12px; border: 1px dashed var(--hw-border); background: rgba(255, 255, 255, .03); }
.hw-cd-editor-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* Community comments */
.hw-cf { margin-top: 26px; }
.hw-cf h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--hw-text); }
.hw-cf h4 span { font-size: 11px; font-weight: 400; color: var(--hw-text-3); }
.hw-cf-list { display: grid; gap: 10px; margin-bottom: 16px; }
.hw-cf-item { padding: 11px 14px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .03); }
.hw-cf-who { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; font-size: 12px; color: var(--hw-text); }
.hw-cf-who i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(216, 191, 140, .18); font-style: normal; font-size: 10px; color: var(--hw-accent-2); }
.hw-cf-who b { font-weight: 400; }
.hw-cf-who span { font-size: 10.5px; color: var(--hw-text-3); }
.hw-cf-item p { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--hw-text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.hw-cf-empty { padding: 6px 0 14px; font-size: 12px; color: var(--hw-text-3); }
.hw-cf-form { display: flex; align-items: flex-start; gap: 9px; max-width: 700px; margin: 0; }
.hw-cf-form .hw-cf-field { flex: 1; min-width: 0; }
.hw-cf-form textarea {
	width: 100%; min-height: 64px; padding: 10px 12px; resize: vertical;
	border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px;
	background: rgba(255, 255, 255, .04); color: var(--hw-text);
	font: inherit; font-size: 12.5px; line-height: 1.7; outline: none;
}
.hw-cf-form textarea:focus { border-color: rgba(216, 191, 140, .45); }
.hw-cf-send {
	flex: none; height: 36px; padding: 0 16px; border-radius: 9px;
	border: 1px solid rgba(216, 191, 140, .45); background: rgba(216, 191, 140, .13);
	color: var(--hw-accent-2); font: inherit; font-size: 12.5px; cursor: pointer;
}
.hw-cf-send:hover { background: rgba(216, 191, 140, .2); }
.hw-cf-form .form-submit { margin: 0; flex: none; }
.hw-cf-form .comment-form-cookies-consent,
.hw-cf-form .logged-in-as { display: none; }
.hw-cf-login { display: flex; align-items: center; gap: 12px; max-width: 700px; }
.hw-cf-login p { margin: 0; flex: 1; font-size: 12.5px; color: var(--hw-text-3); }
.hw-cf-note { margin-top: 7px; font-size: 11px; color: var(--hw-text-3); }

@media (max-width: 720px) {
	.hw-main--topic { padding: calc(var(--hw-header-h) + 14px) 12px 48px; }
	.hw-cd-card { padding: 15px 14px 18px; }
	.hw-cd-title { font-size: 17px; }
	.hw-cd-act { height: 32px; padding: 0 11px; font-size: 12px; }
	.hw-cd-imgs.is-two img { height: 168px; }
	.hw-cd-post { margin-left: 0; }
	.hw-cf-form { display: block; }
	.hw-cf-form .form-submit { margin-top: 8px; }
	.hw-cf-login { align-items: flex-start; flex-direction: column; gap: 8px; }
}



