:root {
  --bg: #05080d;
  --bg-2: #08111d;
  --panel: rgba(14, 24, 39, 0.82);
  --panel-strong: rgba(18, 31, 50, 0.94);
  --surface: rgba(24, 39, 62, 0.72);
  --text: #f4f7fb;
  --muted: rgba(244, 247, 251, 0.68);
  --faint: rgba(244, 247, 251, 0.44);
  --line: rgba(132, 159, 196, 0.16);
  --line-strong: rgba(101, 223, 255, 0.28);
  --cyan: #65dfff;
  --green: #60efc4;
  --purple: #a35cff;
  --yellow: #e0c34c;
  --danger: #ff8ca1;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  max-width: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  touch-action: manipulation;
}

body {
  min-height: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  background:
    radial-gradient(circle at 8% 6%, rgba(101, 223, 255, 0.14), transparent 31%),
    radial-gradient(circle at 88% 0%, rgba(163, 92, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #07101d 0%, #05080d 58%, #030509 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(101, 223, 255, 0.045), transparent 20%, transparent 78%, rgba(163, 92, 255, 0.045)),
    linear-gradient(115deg, transparent 0 32%, rgba(101, 223, 255, 0.025) 32% 33%, transparent 33% 63%, rgba(163, 92, 255, 0.03) 63% 64%, transparent 64%);
  opacity: 0.72;
}

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

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:where(a, button, textarea):focus-visible {
  outline: 3px solid rgba(101, 223, 255, 0.82);
  outline-offset: 3px;
}

.community-shell {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.community-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(132, 159, 196, 0.14);
  border-radius: 22px;
  background: rgba(7, 15, 27, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.community-brand-title {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 13px;
}

.community-brand-title strong {
  overflow: hidden;
  color: rgba(244, 247, 251, 0.92);
  font-size: 16px;
  font-weight: 560;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand {
  color: var(--text);
  font-size: 24px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.brand span {
  color: var(--purple);
  text-shadow: 0 0 18px rgba(163, 92, 255, 0.82);
}

.community-home-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(132, 159, 196, 0.16);
  border-radius: 15px;
  color: rgba(244, 247, 251, 0.86);
  background: rgba(24, 39, 62, 0.48);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.community-home-btn:hover,
.community-home-btn:focus-visible {
  border-color: rgba(101, 223, 255, 0.36);
  background: rgba(101, 223, 255, 0.1);
  transform: translateY(-1px);
}

.topic-labels,
.topic-meta,
.reply-head,
.reply-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

main {
  display: grid;
  gap: 18px;
  padding-top: 22px;
}

.community-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: end;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(132, 159, 196, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(16, 27, 43, 0.9), rgba(8, 14, 24, 0.94)),
    radial-gradient(circle at 92% 8%, rgba(101, 223, 255, 0.16), transparent 34%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.section-kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.community-hero h1 {
  max-width: 760px;
  margin: 11px 0 10px;
  font-size: clamp(30px, 4.1vw, 48px);
  line-height: 1.02;
  font-weight: 620;
  letter-spacing: 0;
}

.community-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.community-hero-panel {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(101, 223, 255, 0.18);
  border-radius: 22px;
  background: rgba(101, 223, 255, 0.08);
}

.community-hero-panel span,
.community-hero-panel small {
  color: var(--muted);
  font-size: 12px;
}

.community-hero-panel strong {
  font-size: 40px;
  line-height: 1;
  font-weight: 620;
}

.flash-stack {
  display: grid;
  gap: 8px;
}

.flash-message {
  padding: 12px 14px;
  border: 1px solid rgba(101, 223, 255, 0.2);
  border-radius: 16px;
  color: var(--text);
  background: rgba(18, 31, 50, 0.9);
}

.flash-message.danger {
  border-color: rgba(255, 140, 161, 0.34);
}

.category-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 1px;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-strip a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(132, 159, 196, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(14, 24, 39, 0.74);
  font-size: 13px;
}

.category-strip a.is-active,
.category-strip a:hover {
  color: #06121c;
  border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.community-mobile-summary {
  display: none;
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 18px;
}

.community-layout.forum-layout {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 14px;
}

.topic-list {
  display: grid;
  gap: 14px;
}

.forum-topic-list {
  gap: 8px;
}

.forum-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 4px 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forum-list-head strong {
  display: inline-grid;
  min-width: 30px;
  min-height: 25px;
  place-items: center;
  border: 1px solid rgba(101, 223, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(101, 223, 255, 0.08);
  font-size: 12px;
  letter-spacing: 0;
}

.community-card,
.community-topic-row,
.community-thread,
.community-reader-empty,
.side-panel,
.community-empty {
  border: 1px solid rgba(132, 159, 196, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(18, 31, 50, 0.86), rgba(8, 14, 24, 0.92)),
    radial-gradient(circle at 98% 6%, rgba(101, 223, 255, 0.08), transparent 26%);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.26);
}

.community-topic-row {
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 26, 42, 0.82), rgba(7, 13, 24, 0.88)),
    radial-gradient(circle at 98% 0%, rgba(101, 223, 255, 0.06), transparent 34%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.community-topic-row:hover,
.community-topic-row.is-active {
  border-color: rgba(101, 223, 255, 0.36);
  background:
    linear-gradient(180deg, rgba(20, 34, 54, 0.9), rgba(8, 14, 24, 0.94)),
    radial-gradient(circle at 98% 0%, rgba(101, 223, 255, 0.13), transparent 34%);
}

.community-topic-row.is-active {
  box-shadow: 0 0 0 1px rgba(101, 223, 255, 0.12), 0 18px 42px rgba(0, 0, 0, 0.24);
}

.topic-row-link {
  display: grid;
  gap: 8px;
  padding: 11px 12px;
}

.topic-row-top,
.topic-row-foot,
.thread-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.topic-row-top {
  flex-wrap: wrap;
}

.community-topic-row h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(244, 247, 251, 0.94);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-row-foot {
  color: var(--faint);
  font-size: 11px;
}

.topic-row-foot > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-row-foot > i {
  margin-left: auto;
  color: rgba(101, 223, 255, 0.72);
  font-size: 11px;
}

.community-topic-row .topic-category,
.community-topic-row .topic-chip,
.community-topic-row .topic-count {
  min-height: 21px;
  padding: 0 7px;
  font-size: 9.5px;
}

.community-topic-row .topic-count {
  margin-left: auto;
  color: rgba(244, 247, 251, 0.72);
}

.topic-chip.solved {
  color: #c4fff1;
  background: rgba(96, 239, 196, 0.12);
}

.topic-reader {
  position: sticky;
  top: 96px;
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-color: rgba(101, 223, 255, 0.28) transparent;
  scrollbar-width: thin;
}

.topic-reader::-webkit-scrollbar {
  width: 6px;
}

.topic-reader::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(101, 223, 255, 0.25);
}

.community-reader-empty {
  min-height: 330px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 30px 20px;
  color: var(--muted);
  text-align: center;
}

.community-reader-empty[hidden] {
  display: none;
}

.community-reader-empty i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(101, 223, 255, 0.2);
  border-radius: 18px;
  color: var(--cyan);
  background: rgba(101, 223, 255, 0.08);
  font-size: 20px;
}

.community-reader-empty strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 580;
}

.community-reader-empty span {
  max-width: 260px;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.45;
}

.community-thread {
  scroll-margin-top: 96px;
  padding: 18px;
}

.community-thread[hidden] {
  display: none;
}

.thread-toolbar {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.thread-back-link {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(132, 159, 196, 0.15);
  border-radius: 999px;
  color: rgba(244, 247, 251, 0.82);
  background: rgba(24, 39, 62, 0.48);
  font-size: 12px;
  font-weight: 560;
}

.thread-back-link:hover,
.thread-back-link:focus-visible {
  border-color: rgba(101, 223, 255, 0.32);
  color: var(--text);
  background: rgba(101, 223, 255, 0.09);
}

.community-card {
  scroll-margin-top: 96px;
  padding: 18px;
}

.community-card.is-active {
  border-color: rgba(101, 223, 255, 0.46);
  box-shadow: 0 0 0 1px rgba(101, 223, 255, 0.18), 0 26px 70px rgba(0, 0, 0, 0.34);
}

.community-card.is-pinned {
  background:
    linear-gradient(180deg, rgba(21, 36, 58, 0.92), rgba(8, 14, 24, 0.94)),
    radial-gradient(circle at 96% 4%, rgba(163, 92, 255, 0.13), transparent 28%);
}

.community-thread.is-pinned {
  background:
    linear-gradient(180deg, rgba(21, 36, 58, 0.92), rgba(8, 14, 24, 0.94)),
    radial-gradient(circle at 96% 4%, rgba(163, 92, 255, 0.13), transparent 28%);
}

.topic-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.topic-labels,
.topic-meta,
.reply-head,
.reply-form-actions {
  gap: 8px;
}

.topic-category,
.topic-chip,
.topic-count {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.topic-category {
  color: #06121c;
  background: var(--cyan);
}

.topic-chip,
.topic-count {
  color: rgba(244, 247, 251, 0.78);
  background: rgba(244, 247, 251, 0.08);
}

.topic-chip.open {
  color: #c4fff1;
  background: rgba(96, 239, 196, 0.12);
}

.topic-chip.closed {
  color: #ffe8a9;
  background: rgba(224, 195, 76, 0.13);
}

.community-card h2,
.community-thread h2 {
  margin: 13px 0 8px;
  color: var(--text);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.18;
  font-weight: 620;
}

.topic-body {
  color: rgba(244, 247, 251, 0.76);
  font-size: 14.5px;
  line-height: 1.62;
}

.community-thread .topic-body {
  padding: 13px;
  border: 1px solid rgba(132, 159, 196, 0.1);
  border-radius: 16px;
  background: rgba(3, 8, 15, 0.22);
}

.topic-meta {
  margin-top: 13px;
  color: var(--faint);
  font-size: 12.5px;
}

.solution-mark {
  color: var(--green);
}

.reply-stack {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(132, 159, 196, 0.12);
}

.community-reply {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  border-radius: 16px;
  background: rgba(3, 8, 15, 0.34);
}

.community-reply.admin {
  border: 1px solid rgba(101, 223, 255, 0.16);
  background: rgba(101, 223, 255, 0.07);
}

.community-reply.solution {
  border-color: rgba(96, 239, 196, 0.28);
}

.community-reply.is-new {
  border-color: rgba(101, 223, 255, 0.36);
  background:
    radial-gradient(circle at 0% 0%, rgba(101, 223, 255, 0.12), transparent 40%),
    rgba(3, 8, 15, 0.38);
  animation: replyFocusIn 1.6s ease both;
}

@keyframes replyFocusIn {
  0% {
    transform: translateY(6px);
    box-shadow: 0 0 0 1px rgba(101, 223, 255, 0.26), 0 16px 34px rgba(101, 223, 255, 0.12);
  }
  100% {
    transform: translateY(0);
    box-shadow: none;
  }
}

.reply-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(132, 159, 196, 0.2);
  border-radius: 14px;
  color: var(--text);
  background: rgba(24, 39, 62, 0.8);
  font-size: 12px;
  font-weight: 680;
}

.reply-head {
  color: var(--faint);
  font-size: 11.5px;
}

.reply-head strong {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 620;
}

.reply-head span {
  padding: 2px 7px;
  border-radius: 999px;
  color: #06121c;
  background: var(--cyan);
}

.reply-head .solution {
  background: var(--green);
}

.community-reply p {
  margin: 5px 0 0;
  color: rgba(244, 247, 251, 0.76);
  font-size: 13.5px;
  line-height: 1.54;
}

.reply-empty,
.topic-closed,
.topic-login {
  padding: 12px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(3, 8, 15, 0.34);
  font-size: 13px;
}

.community-reply-form {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.community-reply-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 86px;
  padding: 13px 14px;
  border: 1px solid rgba(132, 159, 196, 0.16);
  border-radius: 17px;
  color: var(--text);
  background: rgba(3, 8, 15, 0.5);
}

.community-reply-form textarea::placeholder {
  color: rgba(244, 247, 251, 0.38);
}

.reply-form-actions {
  justify-content: space-between;
}

.reply-form-actions small {
  color: var(--muted);
}

.reply-form-actions button,
.topic-login a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  color: #06121c;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  font-weight: 650;
}

.topic-login {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}

.community-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.forum-side {
  grid-column: 1 / -1;
  position: static;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.forum-side .side-panel {
  min-height: 0;
  padding: 14px 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.forum-side .side-panel ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.forum-side .side-panel li {
  font-size: 12px;
  line-height: 1.35;
}

.side-panel,
.community-empty {
  padding: 18px;
}

.side-panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.side-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.side-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
}

.side-panel.compact {
  display: grid;
  gap: 5px;
}

.side-panel.compact span,
.side-panel.compact small {
  color: var(--muted);
  font-size: 12px;
}

.side-panel.compact strong {
  font-size: 18px;
  font-weight: 620;
}

.community-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 44px 20px;
  text-align: center;
}

.community-empty i {
  color: var(--cyan);
  font-size: 30px;
}

.community-empty h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 620;
}

.community-empty p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .community-card,
  .community-topic-row,
  .community-thread,
  .community-reader-empty,
  .side-panel,
  .community-hero {
    animation: communityIn 0.45s ease both;
  }

  .community-card:nth-child(2),
  .community-topic-row:nth-child(2) {
    animation-delay: 0.04s;
  }

  .community-card:nth-child(3),
  .community-topic-row:nth-child(3) {
    animation-delay: 0.08s;
  }
}

@keyframes communityIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 980px) {
  .community-header {
    grid-template-columns: 1fr auto;
  }

  .community-hero,
  .community-layout {
    grid-template-columns: 1fr;
  }

  .community-layout.forum-layout {
    grid-template-columns: 1fr;
  }

  .community-layout.forum-layout.is-reading-topic {
    gap: 0;
  }

  .community-layout.forum-layout.is-reading-topic .topic-list {
    display: none;
  }

  .topic-reader {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .community-reader-empty {
    display: none;
  }

  .community-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .community-shell {
    width: min(100% - 14px, var(--max));
    padding-top: 9px;
    padding-bottom: 34px;
  }

  .community-header {
    grid-template-columns: minmax(0, 1fr) auto;
    top: 8px;
    gap: 8px;
    min-height: 48px;
    padding: 7px;
    border-radius: 18px;
  }

  .brand {
    font-size: 20px;
  }

  .community-brand-title {
    gap: 9px;
  }

  .community-brand-title strong {
    font-size: 13.5px;
    font-weight: 540;
  }

  .community-home-btn {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    font-size: 13px;
  }

  main {
    gap: 12px;
    padding-top: 14px;
  }

  .community-hero,
  .community-card,
  .community-thread,
  .side-panel {
    border-radius: 20px;
    padding: 15px;
  }

  .community-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
  }

  .community-hero .section-kicker,
  .community-hero p {
    display: none;
  }

  .community-hero h1 {
    margin: 0;
    font-size: clamp(23px, 7.8vw, 29px);
    line-height: 1.05;
  }

  .community-hero-panel {
    min-width: 76px;
    padding: 8px 10px;
    border-radius: 16px;
    text-align: center;
  }

  .community-hero-panel strong {
    font-size: 25px;
  }

  .category-strip {
    position: sticky;
    top: 58px;
    z-index: 14;
    margin-inline: -7px;
    padding: 7px;
    border: 1px solid rgba(132, 159, 196, 0.1);
    border-radius: 18px;
    background: rgba(5, 10, 18, 0.84);
    backdrop-filter: blur(14px);
  }

  .category-strip a {
    min-height: 30px;
    padding: 0 10px;
    font-size: 10.8px;
  }

  .community-mobile-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .community-mobile-summary span {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 9px 8px;
    border: 1px solid rgba(132, 159, 196, 0.12);
    border-radius: 15px;
    color: var(--muted);
    background: rgba(14, 24, 39, 0.72);
    font-size: 10.5px;
    line-height: 1.15;
    text-align: center;
  }

  .community-mobile-summary strong {
    color: var(--text);
    font-size: 17px;
    line-height: 1;
  }

  .community-topic-row {
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }

  .topic-row-link {
    gap: 6px;
    padding: 9px 10px;
  }

  .forum-list-head {
    min-height: 30px;
    padding-bottom: 2px;
  }

  .topic-row-top {
    gap: 5px;
  }

  .community-topic-row .topic-category,
  .community-topic-row .topic-chip,
  .community-topic-row .topic-count {
    min-height: 18px;
    padding: 0 6px;
    font-size: 8.8px;
  }

  .community-topic-row h2 {
    font-size: 13.2px;
  }

  .topic-row-foot {
    font-size: 10.5px;
  }

  .topic-row-foot > i {
    display: none;
  }

  .thread-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .community-thread {
    padding: 13px;
  }

  .community-reader-empty {
    min-height: 170px;
    padding: 18px 14px;
    border-radius: 18px;
  }

  .community-reader-empty i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 16px;
  }

  .community-reader-empty strong {
    font-size: 15px;
  }

  .community-reader-empty span {
    font-size: 12px;
  }

  .topic-card-head,
  .topic-login,
  .reply-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .topic-count {
    align-self: flex-start;
  }

  .community-thread h2 {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.15;
  }

  .community-thread .topic-body {
    padding: 11px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.52;
  }

  .topic-meta {
    gap: 6px;
    font-size: 11px;
  }

  .reply-stack {
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .community-reply {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
  }

  .reply-avatar {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    font-size: 10px;
  }

  .reply-head {
    gap: 5px;
    font-size: 10.5px;
  }

  .reply-head strong {
    font-size: 11.5px;
  }

  .community-reply p {
    font-size: 12.6px;
    line-height: 1.48;
  }

  .community-reply-form textarea {
    min-height: 74px;
    padding: 11px 12px;
    border-radius: 15px;
    font-size: 13px;
  }

  .community-side {
    grid-template-columns: 1fr;
  }

  .forum-side .side-panel:first-child {
    display: none;
  }

  .forum-side .side-panel {
    padding: 12px;
    border-radius: 16px;
  }

  .reply-form-actions button,
  .topic-login a {
    width: 100%;
  }
}
