/* Isolated community UI — polished charcoal / glass panels + cinematic ember heroes */

.hw-tab-panel[data-panel="community"] .hw-card,
.hw-tab-panel[data-panel="community"] .hw-community-host,
.hw-communities-hub,
.hw-community {
  --hw-c-text: var(--hw-text, #fff4e8);
  --hw-c-muted: var(--hw-text-soft, #ead6c2);
  --hw-c-soft: var(--hw-text-soft, #ead6c2);
  --hw-c-line: var(--hw-border, rgba(var(--hw-gold-rgb),  0.14));
  --hw-c-panel: var(--hw-panel, rgba(24, 16, 12, 0.88));
  --hw-c-panel-soft: var(--hw-panel-soft, rgba(35, 21, 15, 0.82));
  --hw-c-accent: var(--hw-flame, #b85c3a);
  --hw-c-accent-soft: var(--hw-gold, #e0c09a);
  --hw-c-ember: var(--hw-flame, #b85c3a);
  --hw-c-radius: 14px;
}

.hw-tab-panel[data-panel="community"] .hw-community-host {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: none;
}

.hw-community,
.hw-communities-hub {
  position: relative;
  z-index: 1;
  display: block !important;
  color: var(--hw-c-text, #f3e6d2) !important;
  max-width: 52rem;
  text-align: left !important;
  isolation: isolate;
}

/* Legacy explore only — commons/v3 unlock full cinematic width below */
.hw-communities-hub.hw-communities-explore:not(.hw-communities-explore--v3):not(.hw-communities-explore--commons) {
  max-width: min(1120px, 100%) !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hw-community *,
.hw-communities-hub * {
  box-sizing: border-box;
}

.hw-community__header,
.hw-community__hero-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.55rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 0;
  position: relative !important;
  z-index: 3;
}

.hw-community__hero {
  position: relative;
  margin: 0 0 1.15rem !important;
  min-height: clamp(200px, 32vw, 280px);
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.1rem, 2.5vw, 1.75rem) !important;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(232, 196, 150, 0.14);
  background: linear-gradient(135deg, rgba(48, 28, 16, 0.95), rgba(12, 8, 6, 0.98));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: flex-end;
}

.hw-community--compact .hw-community__hero {
  min-height: 0;
}

.hw-community__hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  display: block;
}

.hw-community__hero-veil {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 5, 4, 0.72) 0%, rgba(8, 5, 4, 0.35) 48%, rgba(8, 5, 4, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 5, 4, 0.15) 0%, rgba(8, 5, 4, 0.78) 100%);
}

.hw-community__hero-grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.09;
  background-image:
    radial-gradient(rgba(255, 236, 210, 0.55) 0.55px, transparent 0.7px),
    radial-gradient(rgba(80, 42, 18, 0.45) 0.6px, transparent 0.85px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: soft-light;
}

.hw-community__hero-copy {
  position: relative;
  z-index: 3;
}

.hw-community__kicker {
  margin: 0 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--hw-gold, #e0c09a) !important;
}

.hw-community__trustbar {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.35rem;
  margin: 0 0 1rem !important;
  padding: 0.55rem 0.85rem !important;
  border-radius: 12px;
  border: 1px solid rgba(232, 196, 150, 0.14);
  background: rgba(18, 12, 9, 0.55);
}

.hw-community__trustbar .hw-community__rep {
  margin: 0 !important;
  font-size: 0.84rem !important;
  color: rgba(243, 230, 210, 0.78) !important;
  order: 2;
}

.hw-community__trust-link {
  order: 1;
  color: var(--hw-gold, #e0c09a) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.hw-community--compact {
  max-width: none;
}

.hw-community--compact .hw-community__title {
  font-size: clamp(1.7rem, 3vw, 2.25rem) !important;
}

.hw-community__title,
.hw-community__header h2,
.hw-community__hero-copy .hw-community__title,
.hw-community__topic-heading,
.hw-community__form-title,
.hw-communities-hub h1,
.hw-communities-hub h2 {
  position: static !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  color: #fff8ec !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.45rem !important;
  transform: none !important;
}

.hw-community--compact .hw-community__title,
.hw-community__hero-copy .hw-community__title {
  font-size: clamp(1.7rem, 3vw, 2.25rem) !important;
}

.hw-community__lede,
.hw-community__links,
.hw-community__rep,
.hw-community__hint,
.hw-community__empty,
.hw-community__author,
.hw-community__topic-meta,
.hw-community__thread-label,
.hw-community__copy,
.hw-community__reply-target,
.hw-communities-hub > p,
.hw-communities-hub li {
  position: static !important;
  margin: 0 !important;
  color: var(--hw-c-soft, #e8d7c0) !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
  transform: none !important;
}

.hw-community__lede,
.hw-community__empty,
.hw-community__hint {
  color: var(--hw-c-muted, #d7c4a8) !important;
}

.hw-community__links {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
}

.hw-community__links a,
.hw-community__topic-main a,
.hw-communities-hub a {
  color: var(--hw-c-accent, var(--hw-gold, #e0c09a)) !important;
  text-decoration: none;
}

.hw-community__list-wrap {
  margin: 0 0 1.25rem;
}

.hw-community__topics,
.hw-community__replies {
  list-style: none !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.7rem !important;
  position: static !important;
}

.hw-communities-hub ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

.hw-community__replies--nested {
  margin: 0.65rem 0 0 !important;
  padding-left: 0.15rem !important;
  border-left: 2px solid var(--hw-c-line);
}

.hw-community__topic-row,
.hw-community__post {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 0.75rem !important;
  align-items: start !important;
  padding: 0.95rem 1rem !important;
  margin: 0 !important;
  border: 1px solid var(--hw-c-line) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(28, 19, 14, 0.92), rgba(14, 10, 8, 0.96)) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  position: static !important;
}

.hw-community__topic-row.is-hot {
  border-color: rgba(196, 120, 58, 0.45) !important;
  box-shadow:
    inset 3px 0 0 var(--hw-flame, #b85c3a),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.hw-community__topic-preview {
  margin: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  color: rgba(243, 230, 210, 0.72) !important;
}

.hw-community__topic-title {
  text-decoration: none !important;
}

.hw-community__topic-title strong {
  color: #fff8ec !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
}

.hw-community__topic-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.35rem 0.65rem !important;
  align-items: center !important;
  font-size: 0.78rem !important;
}

.hw-community__tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 120, 58, 0.28);
  background: rgba(196, 120, 58, 0.12);
  color: var(--hw-gold, #e0c09a) !important;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hw-community__reply {
  margin-left: calc(var(--hw-reply-depth, 0) * 0.85rem) !important;
}

.hw-community__post--op {
  border-color: rgba(196, 120, 58, 0.28) !important;
  padding: 1.1rem 1.15rem !important;
  margin-bottom: 0.85rem !important;
}

.hw-community__replies--nested {
  margin: 0.65rem 0 0 !important;
  padding-left: 0.65rem !important;
  border-left: 2px solid rgba(196, 120, 58, 0.35);
}

.hw-community__topic-main,
.hw-community__post-body {
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  position: static !important;
}

.hw-community__thread-label {
  font-size: 0.72rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hw-c-accent, var(--hw-gold, #e0c09a)) !important;
  font-weight: 750 !important;
}

.hw-community__copy {
  white-space: pre-wrap;
  color: #f7ebda !important;
}

.hw-community-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 40px;
}

.hw-community-votes__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--hw-c-muted, #d7c4a8) !important;
  cursor: pointer;
  line-height: 1;
  padding: 0.15rem;
  font-size: 0.85rem;
}

.hw-community-votes__btn.is-active,
.hw-community-votes__btn:hover {
  color: var(--hw-c-accent, var(--hw-gold, #e0c09a)) !important;
}

.hw-community-votes__score {
  font-weight: 750;
  font-size: 0.9rem;
  color: #fff4e4 !important;
}

.hw-community-react {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.hw-community__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.hw-community__author-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

a.hw-community__author-link:hover,
a.hw-community__author-link:focus-visible {
  color: var(--hw-flame, #b85c3a);
  border-bottom-color: rgba(var(--hw-flame-rgb),  0.55);
  outline: none;
}

.hw-community__dedication {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(232, 196, 150, 0.28);
  background: rgba(60, 42, 28, 0.55);
  color: #f0dcc0;
}

.hw-community__dedication--kindling {
  border-color: rgba(210, 140, 70, 0.45);
  color: #f0c090;
}

.hw-community__dedication--ember {
  border-color: rgba(220, 100, 50, 0.5);
  color: #f0a870;
}

.hw-community__dedication--hearthbound {
  border-color: rgba(200, 160, 80, 0.55);
  color: #f0d080;
}

.hw-community__dedication--chronicle {
  border-color: rgba(230, 190, 100, 0.65);
  background: rgba(120, 70, 30, 0.45);
  color: #ffe6b0;
}

.hw-community-react__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--hw-c-line);
  background: var(--hw-c-panel);
  color: var(--hw-c-text, #f3e6d2) !important;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.hw-community-react__btn.is-active,
.hw-community-react__btn:hover {
  border-color: rgba(232, 196, 150, 0.5);
  background: rgba(180, 90, 40, 0.28);
}

.hw-community-react__btn em {
  font-style: normal;
  color: var(--hw-c-muted, #d7c4a8) !important;
  font-size: 0.78rem;
}

.hw-community__reply-to {
  appearance: none;
  align-self: start;
  border: 0;
  background: transparent;
  color: var(--hw-c-accent, var(--hw-gold, #e0c09a)) !important;
  cursor: pointer;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.hw-community__new-topic,
.hw-community__reply-form,
.hw-community__composer {
  display: grid !important;
  gap: 0.7rem !important;
  margin-top: 1.1rem !important;
  padding: 1rem 1.05rem 1.1rem !important;
  border: 1px solid var(--hw-c-line) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(24, 16, 12, 0.92), rgba(12, 8, 6, 0.96)) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  position: static !important;
}

.hw-community__new-topic label,
.hw-community__reply-form label {
  display: grid !important;
  gap: 0.35rem !important;
  font-size: 0.9rem !important;
  color: var(--hw-c-soft, #e8d7c0) !important;
}

.hw-community__new-topic input,
.hw-community__new-topic textarea,
.hw-community__new-topic select,
.hw-community__reply-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(8, 5, 4, 0.72) !important;
  border: 1px solid rgba(232, 196, 150, 0.18) !important;
  color: #fff8ec !important;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  caret-color: #fff8ec;
  font: inherit;
}

.hw-community__new-topic input::placeholder,
.hw-community__new-topic textarea::placeholder,
.hw-community__reply-form textarea::placeholder {
  color: rgba(243, 230, 210, 0.45) !important;
}

.hw-community__new-topic button,
.hw-community__reply-form button[type="submit"] {
  justify-self: start;
  cursor: pointer;
  background: linear-gradient(180deg, var(--hw-flame-light), var(--hw-flame)) !important;
  border: 1px solid rgba(255, 220, 180, 0.22) !important;
  color: #fff8ec !important;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(196, 120, 58, 0.22);
}

.hw-community__reply-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hw-community__reply-cancel {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--hw-c-muted, #d7c4a8) !important;
  cursor: pointer;
  padding: 0;
}

.hw-community__mod-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.15rem;
}

.hw-community__report,
.hw-community__mod {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--hw-c-muted, #e8d7c0) !important;
  cursor: pointer;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 650;
}

.hw-community__mod {
  color: var(--hw-c-accent, var(--hw-gold, #e0c09a)) !important;
}

.hw-profile__head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1.5rem;
}

.hw-profile__avatar {
  border-radius: 999px;
}

.hw-profile__name {
  margin: 0 0 0.35rem !important;
  color: #fff8ec !important;
}

.hw-profile__total {
  margin: 0 !important;
  color: #f3e6d2 !important;
  font-size: 1.05rem;
  font-weight: 700;
}

.hw-profile__rep-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
}

.hw-profile__rep-list li {
  display: flex !important;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--hw-c-line, rgba(232, 196, 150, 0.22));
  color: #f3e6d2 !important;
}

.hw-profile__rep-list strong {
  color: var(--hw-c-accent, var(--hw-gold, #e0c09a)) !important;
}

.hw-community__tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.hw-community__tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--hw-c-line, rgba(232, 196, 150, 0.22));
  color: var(--hw-c-soft, #f3e6d2) !important;
  background: rgba(18, 12, 9, 0.45);
  font-size: 0.82rem;
  text-decoration: none !important;
}

.hw-community__tag-chip.is-active,
.hw-community__tag-chip:hover {
  border-color: rgba(232, 196, 150, 0.55);
  color: #fff8ec !important;
  background: rgba(180, 90, 40, 0.28);
}

.hw-community__tag {
  display: inline-block;
  color: var(--hw-c-accent, var(--hw-gold, #e0c09a)) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hw-community__new-topic select {
  width: 100%;
  box-sizing: border-box;
  background: rgba(10, 7, 5, 0.72) !important;
  border: 1px solid var(--hw-c-line) !important;
  color: #fff8ec !important;
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
}

.hw-profile__bio {
  margin: 0.45rem 0 0 !important;
  color: #f3e6d2 !important;
  line-height: 1.5 !important;
  max-width: 40rem;
}

.hw-profile__edit {
  margin: 0 0 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--hw-c-line, rgba(232, 196, 150, 0.22));
}

.hw-profile__bio-form {
  display: grid;
  gap: 0.7rem;
  max-width: 36rem;
}

.hw-profile__bio-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(10, 7, 5, 0.72) !important;
  border: 1px solid var(--hw-c-line) !important;
  color: #fff8ec !important;
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
}

.hw-profile__bio-form button {
  justify-self: start;
  cursor: pointer;
  background: rgba(180, 90, 40, 0.42) !important;
  border: 1px solid rgba(232, 196, 150, 0.45) !important;
  color: #fff8ec !important;
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
}

.hw-profile__digest {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  color: #e8d7c0 !important;
}

/* -- Communities Explore (polished browse hub) -- */
.hw-communities-explore {
  --hw-cex-rail: 220px;
  --hw-cex-ember: var(--hw-flame, #b85c3a);
  font-family: var(--hw-font-ui, "DM Sans", "Segoe UI", system-ui, sans-serif);
}

.hw-cex__hero {
  position: relative;
  margin: 0 0 1.5rem;
  min-height: clamp(260px, 42vw, 420px);
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.2rem, 4vw, 2.4rem) clamp(1.6rem, 4vw, 2.4rem);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 196, 150, 0.14);
  background: linear-gradient(135deg, rgba(48, 28, 16, 0.95), rgba(12, 8, 6, 0.98));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hw-cex__hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: 0;
  display: block;
}

.hw-cex__hero-veil {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(196, 120, 58, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(8, 5, 4, 0.2) 0%, rgba(8, 5, 4, 0.55) 48%, rgba(8, 5, 4, 0.88) 100%);
}

.hw-cex__hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  width: min(640px, 100%);
}

.hw-cex__kicker {
  margin: 0 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--hw-gold, #e0c09a) !important;
}

.hw-communities-explore h1 {
  margin: 0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  color: #fff8ec !important;
  line-height: 1.1 !important;
}

.hw-cex__lede {
  margin: 0 auto !important;
  max-width: 34rem;
  color: rgba(243, 230, 210, 0.78) !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
}

.hw-cex__hero-search {
  width: min(420px, 100%);
  margin-top: 0.55rem;
}

.hw-cex__hero-search input,
.hw-cex__search input {
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.22);
  background: rgba(0, 0, 0, 0.45);
  color: #fff7ed;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
}

.hw-cex__layout {
  display: grid;
  grid-template-columns: var(--hw-cex-rail) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.hw-cex__rail {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(232, 196, 150, 0.16);
  background: linear-gradient(180deg, rgba(24, 15, 11, 0.94), rgba(10, 6, 4, 0.97));
}

.hw-cex__filter-block h2 {
  margin: 0 0 0.45rem !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 750;
  color: rgba(253, 230, 200, 0.55) !important;
  font-family: inherit !important;
}

.hw-cex__filters {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 0.25rem !important;
  max-height: min(58vh, 520px);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hw-cex__filters::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.hw-cex__filter {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 34px;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #f3e6d2;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
  text-align: left;
}

.hw-cex__filter em {
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(253, 230, 200, 0.45);
  font-weight: 700;
}

.hw-cex__filter:hover {
  background: rgba(196, 120, 58, 0.1);
  border-color: rgba(196, 120, 58, 0.22);
}

.hw-cex__filter.is-active {
  background: rgba(196, 120, 58, 0.16);
  border-color: rgba(196, 120, 58, 0.38);
  color: #fff8ec;
  box-shadow: inset 2px 0 0 var(--hw-flame, #b85c3a);
}

.hw-cex__filter.is-active em {
  color: var(--hw-gold, #e0c09a);
}

.hw-cex__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}

.hw-cex__result {
  margin: 0 !important;
  font-size: 0.84rem !important;
  color: rgba(243, 230, 210, 0.62) !important;
}

.hw-cex__sort select {
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff7ed;
  padding: 0.3rem 0.55rem;
  font: inherit;
  font-size: 0.8rem;
}

.hw-cex__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.95rem;
}

.hw-cex__card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(232, 196, 150, 0.16);
  background: linear-gradient(180deg, rgba(28, 18, 12, 0.96), rgba(12, 8, 6, 0.98));
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  min-height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.hw-cex__card:hover {
  border-color: rgba(196, 120, 58, 0.4);
  transform: translateY(-2px);
}

.hw-cex__card[hidden] {
  display: none !important;
}

.hw-cex__card-banner {
  position: relative;
  height: 148px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 5, 4, 0.08), rgba(8, 5, 4, 0.7)),
    var(--hw-cex-cover, linear-gradient(135deg, rgba(196, 120, 58, 0.32), rgba(40, 22, 14, 0.92))) center/cover no-repeat;
}

.hw-cex__card-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  filter: saturate(0.9) brightness(0.85);
}

.hw-cex__card-banner-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 5, 4, 0.1), rgba(8, 5, 4, 0.55));
}

.hw-cex__card[data-tone="0"] .hw-cex__card-banner-img { filter: saturate(0.95) hue-rotate(0deg) brightness(0.88); }
.hw-cex__card[data-tone="1"] .hw-cex__card-banner-img { filter: saturate(0.9) hue-rotate(28deg) brightness(0.86); }
.hw-cex__card[data-tone="2"] .hw-cex__card-banner-img { filter: saturate(0.85) hue-rotate(70deg) brightness(0.84); }
.hw-cex__card[data-tone="3"] .hw-cex__card-banner-img { filter: saturate(0.9) hue-rotate(140deg) brightness(0.85); }
.hw-cex__card[data-tone="4"] .hw-cex__card-banner-img { filter: saturate(0.88) hue-rotate(200deg) brightness(0.86); }
.hw-cex__card[data-tone="5"] .hw-cex__card-banner-img { filter: saturate(0.92) hue-rotate(310deg) brightness(0.87); }

.hw-cex__card-banner--genre {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(196, 120, 58, 0.28), transparent 55%),
    linear-gradient(135deg, rgba(58, 32, 18, 0.95), rgba(12, 8, 6, 0.98));
}

.hw-cex__card-banner--empty {
  background: linear-gradient(135deg, rgba(90, 50, 28, 0.55), rgba(18, 12, 9, 0.95));
}

.hw-cex__card-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.32);
  background: rgba(8, 5, 4, 0.55);
  color: var(--hw-gold, #e0c09a);
  backdrop-filter: blur(4px);
}

.hw-cex__card-icon .hw-icon,
.hw-cex__card-icon .hw-icon-asset,
.hw-cex__card-icon img {
  width: 28px;
  height: 28px;
}

.hw-cex__card-icon--fallback {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.hw-cex__card-body {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem 1.05rem;
  flex: 1;
  align-content: start;
}

.hw-cex__card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
}

.hw-cex__card-title {
  margin: 0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.1rem !important;
  line-height: 1.25 !important;
  color: #fff8ec !important;
}

.hw-cex__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 120, 58, 0.28);
  background: rgba(196, 120, 58, 0.12);
  color: var(--hw-gold, #e0c09a) !important;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hw-cex__badge--story {
  border-color: rgba(196, 120, 58, 0.28);
  background: rgba(196, 120, 58, 0.1);
  color: var(--hw-gold, #e0c09a) !important;
}

.hw-cex__card-genres {
  margin: 0 !important;
  font-size: 0.78rem !important;
  color: var(--hw-gold, #e0c09a) !important;
  font-weight: 650;
}

.hw-cex__card-copy {
  margin: 0 !important;
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
  color: rgba(243, 230, 210, 0.72) !important;
}

.hw-cex__card-meta {
  list-style: none !important;
  margin: 0.15rem 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem !important;
  font-size: 0.74rem !important;
  color: rgba(243, 230, 210, 0.55) !important;
}

.hw-cex__card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.35rem;
}

.hw-cex__card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.95rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--hw-flame-light), var(--hw-flame));
  color: #fff7ed !important;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none !important;
  box-shadow: 0 8px 16px rgba(196, 120, 58, 0.22);
  cursor: pointer;
}

.hw-cex__card-cta.is-joined {
  background: rgba(40, 28, 18, 0.85);
  box-shadow: none;
  border: 1px solid rgba(196, 120, 58, 0.4);
  color: var(--hw-gold, #e0c09a) !important;
}

.hw-cex__card-link {
  color: var(--hw-gold, #e0c09a) !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
}

.hw-cex__empty {
  margin: 0.5rem 0 !important;
  color: rgba(243, 230, 210, 0.65) !important;
  font-size: 0.9rem !important;
}

.hw-cex__empty--filter {
  margin-top: 0.75rem !important;
}

@media (max-width: 900px) {
  .hw-cex__layout {
    grid-template-columns: 1fr;
  }
  .hw-cex__rail {
    position: static;
  }
  .hw-cex__filters:not(.hw-cex__filters--chips) {
    max-height: 220px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

/* Compact story-tab pulse */
.hw-community__pulse {
  list-style: none !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.hw-community__pulse-chip,
.hw-community__pulse li {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.15rem !important;
  min-width: 7rem !important;
  padding: 0.65rem 0.8rem !important;
  border-radius: 12px !important;
  border: 1px solid rgba(232, 196, 150, 0.16) !important;
  background: rgba(8, 5, 4, 0.5) !important;
  backdrop-filter: blur(6px);
}

.hw-community__pulse strong {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #f4e8d4 !important;
  line-height: 1.2 !important;
}

.hw-community__pulse span {
  font-size: 0.68rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: rgba(244, 232, 212, 0.58) !important;
}

.hw-community__pulse-hot {
  min-width: 12rem !important;
  flex: 1 1 12rem !important;
}

.hw-community__pulse-hot a {
  color: #ffd9a0 !important;
  text-decoration: none !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.hw-community__pulse-hot a:hover,
.hw-community__pulse-hot a:focus-visible {
  text-decoration: underline !important;
}

.hw-community__cta-primary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 120, 58, 0.45);
  background: linear-gradient(180deg, var(--hw-flame-light), var(--hw-flame));
  color: #fff8ec !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(196, 120, 58, 0.22);
}

.hw-community__cta-primary:hover,
.hw-community__cta-primary:focus-visible {
  color: #fff4e4 !important;
  filter: brightness(1.06);
  text-decoration: none !important;
}

.hw-community__cta-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 150, 0.22);
  background: rgba(8, 5, 4, 0.35);
  color: rgba(255, 244, 228, 0.88) !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

.hw-community__cta-ghost:hover,
.hw-community__cta-ghost:focus-visible {
  border-color: rgba(232, 196, 150, 0.4);
  color: #fff8ec !important;
}

.hw-community__empty-state {
  text-align: left !important;
  padding: 1.1rem 1.15rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(232, 196, 150, 0.16) !important;
  background: linear-gradient(180deg, rgba(28, 18, 12, 0.72), rgba(14, 10, 8, 0.88)) !important;
  margin: 0 0 1rem !important;
}

.hw-community__empty-kicker {
  margin: 0 0 0.35rem !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(212, 168, 98, 0.85) !important;
}

.hw-community__empty-cta {
  margin: 0.85rem 0 0 !important;
}

/* Your hearths strip */
.hw-cex__joined {
  margin: 0 0 1.35rem !important;
  padding: 1rem 1.05rem 1.15rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(198, 152, 74, 0.2) !important;
  background: linear-gradient(180deg, rgba(28, 18, 12, 0.72) 0%, rgba(14, 10, 8, 0.85) 100%) !important;
}

.hw-cex__joined-head h2 {
  margin: 0 0 0.2rem !important;
  font-size: 1.2rem !important;
  font-family: "Playfair Display", Georgia, serif !important;
  color: #fff4e6 !important;
}

.hw-cex__joined-head p {
  margin: 0 0 0.85rem !important;
  color: rgba(244, 232, 212, 0.65) !important;
  font-size: 0.88rem !important;
}

.hw-cex__joined-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.65rem !important;
}

.hw-cex__joined-pill {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  min-width: 10.5rem !important;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(198, 152, 74, 0.22) !important;
  background: rgba(8, 5, 4, 0.45) !important;
  text-decoration: none !important;
  color: #f4e8d4 !important;
}

.hw-cex__joined-pill:hover,
.hw-cex__joined-pill:focus-visible {
  border-color: rgba(255, 200, 130, 0.45) !important;
  color: #fff8ee !important;
}

.hw-cex__joined-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(196, 120, 58, 0.55);
  background:
    var(--hw-cex-joined-cover, var(--hw-cex-joined-cover, linear-gradient(135deg, rgba(196, 120, 58, 0.35), rgba(40, 22, 14, 0.95)))) center/cover no-repeat;
  box-shadow: 0 0 0 2px rgba(8, 5, 4, 0.65);
}

.hw-cex__joined-avatar--fallback {
  display: grid;
  place-items: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffd9a0;
  background: linear-gradient(135deg, rgba(196, 120, 58, 0.35), rgba(40, 22, 14, 0.95));
}

.hw-cex__joined-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.hw-cex__joined-meta strong {
  font-size: 0.88rem !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11rem;
}

.hw-cex__joined-meta span {
  font-size: 0.66rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: rgba(244, 232, 212, 0.55) !important;
}

.hw-community__tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.hw-community__tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 150, 0.18);
  background: rgba(8, 5, 4, 0.4);
  color: rgba(243, 230, 210, 0.82) !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 650;
}

.hw-community__tag-chip.is-active,
.hw-community__tag-chip:hover {
  border-color: rgba(196, 120, 58, 0.4);
  color: #fff8ec !important;
  background: rgba(196, 120, 58, 0.14);
}

@media (max-width: 640px) {
  .hw-community__hero,
  .hw-cex__hero {
    padding: 1.1rem 0.95rem !important;
  }
  .hw-cex__card-banner {
    height: 110px;
  }
}

/* ============================================================
   Communities v3 — mockup-b layout contract
   Full-bleed cinematic hero, hearth rings, watercolor room cards
============================================================ */

/* Widen Kadence shell so the hub can go cinematic (mirrors homepage bleed) */
body.hw-communities-page {
  overflow-x: clip;
  background: var(--hw-canvas-bg) !important;
  background-color: var(--hw-canvas-surface, #0a0a0a) !important;
  background-attachment: fixed !important;
  color: var(--hw-text, #fff4e8);
}

/* Cinema hero flush (legacy). Commons also sits under transparent nav. */
body.hw-communities-page.hw-global-nav-active:not(.hw-communities-commons) {
  padding-top: 0 !important;
}

/* Commons: no body padding band — bloom/canvas continue under transparent nav */
body.hw-communities-commons.hw-global-nav-active {
  padding-top: 0 !important;
}

body.hw-communities-page #inner-wrap,
body.hw-communities-page .content-wrap,
body.hw-communities-page .content-container.site-container,
body.hw-communities-page #primary,
body.hw-communities-page #primary.site-main,
body.hw-communities-page .content-area,
body.hw-communities-page article.page,
body.hw-communities-page article.type-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Kadence header shell — must not block hero under global nav */
body.hw-communities-page #masthead,
body.hw-communities-page .site-header,
body.hw-communities-page header.site-header,
body.hw-communities-page .kadence-header,
body.hw-communities-page #mobile-header,
body.hw-communities-page .site-header-wrap,
body.hw-communities-page .site-main-header-wrap {
  background: transparent !important;
  background-image: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Nav legibility over hero art (legacy PHP hub only — not React social shells) */
body.hw-communities-page.hw-global-nav-active:not(.hw-social-react) .hw-global-nav__brand,
body.hw-communities-page.hw-global-nav-active:not(.hw-social-react) .hw-global-nav__link,
body.hw-communities-page.hw-global-nav-active:not(.hw-social-react) .hw-global-nav__icon-btn {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

body.hw-communities-page.hw-social-react.hw-global-nav-active .hw-global-nav__brand,
body.hw-communities-page.hw-social-react.hw-global-nav-active .hw-global-nav__link,
body.hw-communities-page.hw-social-react.hw-global-nav-active .hw-global-nav__icon-btn,
body.hw-social-react.hw-global-nav-active .hw-global-nav__brand,
body.hw-social-react.hw-global-nav-active .hw-global-nav__link,
body.hw-social-react.hw-global-nav-active .hw-global-nav__icon-btn {
  text-shadow: none;
}

body.hw-communities-page .content-container,
body.hw-communities-page .site-container,
body.hw-communities-page .container,
body.hw-communities-page .wrap,
body.hw-communities-page .content-wrap,
body.hw-communities-page #inner-wrap,
body.hw-communities-page .entry-content-wrap,
body.hw-communities-page .entry-content,
body.hw-communities-page .content-area,
body.hw-communities-page .site-main,
body.hw-communities-page main,
body.hw-communities-page .inside-article,
body.hw-communities-page .post-content,
body.hw-communities-page .kadence-column-inner,
body.hw-communities-page .kt-row-layout-inner,
body.hw-communities-page .site-content,
body.hw-communities-page #content,
body.hw-communities-page #primary {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
}

body.hw-communities-page .content-bg,
body.hw-communities-page .entry-content,
body.hw-communities-page .entry-content-wrap,
body.hw-communities-page article.page,
body.hw-communities-page .content-area,
body.hw-communities-page .site,
body.hw-communities-page #wrapper {
  background: transparent !important;
  box-shadow: none !important;
}

body.hw-communities-page .entry.single-entry,
body.hw-communities-page .entry-content-wrap {
  border: 0 !important;
}

body.hw-communities-page .entry-hero-container,
body.hw-communities-page .entry-hero,
body.hw-communities-page article.page > header.entry-header {
  display: none !important;
}

/* Hub shell — full viewport width, centered stage inside */
.hw-communities-hub.hw-communities-explore.hw-communities-explore--v3 {
  max-width: none !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 0 3.5rem;
  background: transparent;
}

.hw-communities-explore--v3 {
  max-width: none !important;
  width: 100%;
}

.hw-communities-explore--v3 .hw-cex__hero--cinema {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-top: calc(-1 * var(--hw-global-nav-h, 68px));
  margin-bottom: 0;
  border-radius: 0;
  border: 0;
  min-height: calc(clamp(480px, 64vh, 820px) + var(--hw-global-nav-h, 68px));
  padding:
    calc(var(--hw-global-nav-h, 68px) + clamp(2.5rem, 6vw, 5rem))
    clamp(1.5rem, 4vw, 3rem)
    clamp(4.5rem, 9vw, 7rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: none;
  overflow: hidden;
  --hw-cex-fade: var(--hw-bg-soft, #140a05);
}

body.admin-bar.hw-communities-page .hw-communities-explore--v3 .hw-cex__hero--cinema {
  margin-top: calc(-1 * (32px + var(--hw-global-nav-h, 68px)));
  min-height: calc(clamp(480px, 64vh, 820px) + 32px + var(--hw-global-nav-h, 68px));
  padding-top: calc(32px + var(--hw-global-nav-h, 68px) + clamp(2.5rem, 6vw, 5rem));
}

@media screen and (max-width: 782px) {
  body.admin-bar.hw-communities-page .hw-communities-explore--v3 .hw-cex__hero--cinema {
    margin-top: calc(-1 * (46px + var(--hw-global-nav-h, 62px)));
    min-height: calc(clamp(360px, 72vw, 520px) + 46px + var(--hw-global-nav-h, 62px));
    padding-top: calc(46px + var(--hw-global-nav-h, 62px) + 2rem);
  }
}

.hw-communities-explore--v3 .hw-cex__hero-media,
.hw-communities-explore--v3 .hw-cex__hero-veil {
  top: 0;
  height: 100%;
}

.hw-communities-explore--v3 .hw-cex__hero-media {
  object-position: center 28%;
  filter: saturate(0.95) contrast(1.05);
}

.hw-communities-explore--v3 .hw-cex__hero-veil {
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.06) 0%,
      rgba(10, 10, 10, 0.1) 10%,
      rgba(12, 8, 6, 0.18) 28%,
      rgba(16, 10, 7, 0.34) 48%,
      rgba(20, 10, 5, 0.55) 68%,
      rgba(20, 10, 5, 0.78) 84%,
      rgba(20, 10, 5, 0.92) 100%
    ),
    radial-gradient(ellipse at 50% 28%, rgba(196, 120, 58, 0.1), transparent 58%);
}

/* Long warm dissolve into fixed Hearthwrite ember canvas */
.hw-communities-explore--v3 .hw-cex__hero--cinema::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: min(58%, 340px);
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(20, 10, 5, 0) 0%,
      rgba(20, 10, 5, 0.08) 12%,
      rgba(20, 10, 5, 0.28) 32%,
      rgba(20, 10, 5, 0.52) 52%,
      rgba(20, 10, 5, 0.76) 72%,
      rgba(20, 10, 5, 0.92) 88%,
      var(--hw-cex-fade) 100%
    ),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(var(--hw-flame-rgb),  0.06), transparent 62%);
}

.hw-communities-explore--v3 .hw-cex__hero-copy {
  position: relative;
  z-index: 3;
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
}

.hw-communities-explore--v3 .hw-cex__hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem) !important;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hw-communities-explore--v3 .hw-cex__lede {
  font-size: 1.08rem !important;
  color: rgba(255, 244, 228, 0.82) !important;
}

.hw-communities-explore--v3 .hw-cex__hero-search {
  width: min(480px, 100%);
  margin-top: 0.85rem;
}

.hw-communities-explore--v3 .hw-cex__hero-search input {
  min-height: 48px;
  font-size: 0.95rem;
  border-color: rgba(255, 220, 180, 0.28);
  background: rgba(8, 5, 4, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hw-communities-hub.hw-communities-explore--v3 .hw-cex__stage {
  position: relative;
  z-index: 3;
  max-width: min(var(--hw-stage-wide, 1680px), 100%);
  margin: 2rem auto 0;
  padding: 0 var(--hw-stage-pad, clamp(1.5rem, 4vw, 3rem)) 2rem;
}

.hw-cex__joined--rings {
  background: transparent !important;
  border: 0 !important;
  padding: 0 0 1.25rem !important;
  margin: 0 !important;
}

.hw-cex__joined--rings .hw-cex__joined-head h2 {
  font-size: 1.35rem !important;
  margin-bottom: 0.85rem !important;
}

.hw-communities-hub.hw-communities-explore--v3 .hw-cex__joined--rings .hw-cex__joined-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 1.15rem 1.35rem !important;
  margin: 0 !important;
}

.hw-cex__joined-ring {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.45rem !important;
  width: 6.5rem;
  text-decoration: none !important;
  color: #f4e8d4 !important;
  text-align: center;
}

.hw-cex__joined-ring .hw-cex__joined-avatar {
  width: 72px;
  height: 72px;
  border-width: 2px;
  border-color: rgba(196, 120, 58, 0.65);
  box-shadow:
    0 0 0 3px rgba(8, 5, 4, 0.75),
    0 10px 22px rgba(0, 0, 0, 0.35);
}

.hw-cex__joined-ring strong {
  font-size: 0.82rem !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hw-cex__joined-ring > span {
  font-size: 0.68rem !important;
  color: rgba(244, 232, 212, 0.5) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.hw-cex__browse {
  margin-top: 0.35rem;
}

.hw-cex__filters-row {
  margin: 0 0 1rem;
}

.hw-communities-hub.hw-communities-explore--v3 ul.hw-cex__filters--chips {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.4rem !important;
  max-height: none !important;
  overflow: visible !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hw-cex__filters--chips .hw-cex__filter {
  width: auto !important;
  min-height: 34px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 150, 0.18);
  background: rgba(14, 10, 8, 0.65);
  gap: 0.4rem;
}

.hw-cex__filters--chips .hw-cex__filter.is-active {
  box-shadow: none;
  background: rgba(196, 120, 58, 0.2);
  border-color: rgba(196, 120, 58, 0.45);
}

.hw-communities-explore--v3 .hw-cex__toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.hw-cex__browse-title {
  margin: 0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.35rem !important;
  color: #fff4e6 !important;
  grid-column: 1;
}

.hw-communities-explore--v3 .hw-cex__grid--rooms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.hw-cex__card--room {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(232, 196, 150, 0.14);
  background: linear-gradient(180deg, rgba(22, 15, 11, 0.96), rgba(10, 7, 5, 0.98));
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  min-height: 100%;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.hw-cex__card--room:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 120, 58, 0.42);
}

.hw-cex__card--room .hw-cex__card-banner {
  height: clamp(118px, 12vw, 148px);
  position: relative;
}

.hw-cex__card--room .hw-cex__card-banner-img {
  filter: none;
  object-fit: cover;
}

.hw-cex__card--room .hw-cex__card-banner-shade {
  background: linear-gradient(180deg, transparent 35%, rgba(8, 5, 4, 0.55) 100%);
}

.hw-cex__card--room .hw-cex__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
}

.hw-cex__card--room .hw-cex__card-title {
  font-size: 1.08rem !important;
  color: #e8c49a !important;
}

.hw-cex__card--room .hw-cex__card-copy {
  flex: 1;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
  color: rgba(243, 230, 210, 0.7) !important;
}

.hw-cex__card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.hw-cex__card-foot > span {
  font-size: 0.78rem;
  color: rgba(243, 230, 210, 0.55);
}

.hw-cex__card--room .hw-cex__card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--hw-flame-light), var(--hw-flame));
  color: #fff7ed !important;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none !important;
  box-shadow: 0 8px 16px rgba(196, 120, 58, 0.22);
}

.hw-cex__card--room .hw-cex__card-cta:hover {
  filter: brightness(1.06);
}

.hw-community--polished .hw-community__hero {
  min-height: clamp(220px, 30vw, 300px);
  border-radius: 18px;
  align-items: flex-end;
}

.hw-community--compact.hw-community--polished .hw-community__hero,
.hw-community--compact .hw-community__hero {
  min-height: 0 !important;
  align-items: stretch !important;
}

.hw-community--polished .hw-community__hero-media {
  object-position: center 42%;
  filter: saturate(0.88) contrast(1.02) brightness(0.78);
}

.hw-community--polished:not(.hw-community--compact) .hw-community__pulse {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem !important;
}

.hw-community--polished .hw-community__pulse-chip {
  min-width: 0 !important;
  padding: 0.9rem 1rem !important;
  background: linear-gradient(180deg, rgba(28, 18, 12, 0.92), rgba(12, 8, 6, 0.97)) !important;
  border-color: rgba(232, 196, 150, 0.14) !important;
}

.hw-community--polished .hw-community__topic-row {
  grid-template-columns: 40px minmax(0, 1fr) !important;
  padding: 1rem 1.1rem !important;
  border-radius: 14px !important;
}

.hw-community--polished .hw-community__topic-title strong {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.08rem !important;
}

/* ============================================================
   Story tab Community — quiet product header (no illustration)
   Forced vertical stack to defeat story-page absolute/float legacy.
============================================================ */

.hw-tab-panel[data-panel="community"] .hw-community--compact.hw-community--polished,
.hw-community--compact.hw-community--polished {
  --hw-c-line: rgba(232, 196, 150, 0.14);
  --hw-c-soft: #ead6c2;
  --hw-c-muted: #b89c84;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1rem !important;
  padding: 0.15rem 0 0.35rem;
  position: relative !important;
  isolation: isolate;
  max-width: none !important;
}

.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__hero,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__stage,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__pulse,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__trustbar,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__list-wrap,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__composer,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__hero-copy,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__title,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__lede,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__links,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__kicker,
.hw-tab-panel[data-panel="community"] .hw-community--compact .hw-community__rep {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  float: none !important;
  clear: both !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hw-community--compact.hw-community--polished .hw-community__hero,
.hw-community--compact.hw-community--polished .hw-community__hero--quiet,
.hw-community--compact.hw-community--polished .hw-community__intro {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  position: relative !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 1.2rem 1.25rem 1.3rem !important;
  border-radius: 16px;
  border: 1px solid rgba(232, 196, 150, 0.14);
  background:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(196, 90, 34, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 70% at 100% 10%, rgba(224, 192, 154, 0.07), transparent 50%),
    linear-gradient(165deg, rgba(28, 18, 12, 0.98), rgba(10, 7, 5, 0.99));
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 244, 228, 0.05);
  overflow: hidden !important;
}

.hw-community--compact.hw-community--polished .hw-community__hero-media,
.hw-community--compact.hw-community--polished .hw-community__hero-veil,
.hw-community--compact.hw-community--polished .hw-community__hero-grain {
  display: none !important;
}

.hw-community--compact.hw-community--polished .hw-community__intro-glow {
  pointer-events: none;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 70% at 8% 0%, rgba(196, 90, 34, 0.18), transparent 60%);
  opacity: 0.9;
}

.hw-community--compact.hw-community--polished .hw-community__hero-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.45rem !important;
  position: relative !important;
  z-index: 2 !important;
  max-width: 42rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hw-community--compact.hw-community--polished .hw-community__kicker {
  display: block !important;
  margin: 0 !important;
  color: rgba(var(--hw-flame-rgb, 196, 90, 34), 0.95) !important;
  letter-spacing: 0.16em !important;
}

.hw-community--compact.hw-community--polished .hw-community__title {
  display: block !important;
  margin: 0 !important;
  font-size: clamp(1.55rem, 2.6vw, 2rem) !important;
  letter-spacing: -0.015em;
  line-height: 1.2 !important;
  text-shadow: none;
}

.hw-community--compact.hw-community--polished .hw-community__lede {
  display: block !important;
  margin: 0 !important;
  max-width: 36rem;
  color: rgba(243, 230, 210, 0.76) !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  font-style: normal !important;
}

.hw-community--compact.hw-community--polished .hw-community__links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  margin: 0.35rem 0 0 !important;
}

.hw-community--compact.hw-community--polished .hw-community__cta-primary,
.hw-community--compact.hw-community--polished .hw-community__cta-ghost {
  border-radius: 11px;
  min-height: 38px;
  font-size: 0.84rem !important;
}

.hw-community--compact.hw-community--polished .hw-community__stage {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1rem !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.hw-community--compact.hw-community--polished .hw-community__pulse {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.7rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
}

.hw-community--compact.hw-community--polished .hw-community__pulse-chip,
.hw-community--compact.hw-community--polished .hw-community__pulse > li {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.28rem !important;
  position: relative !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0.95rem 1rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(232, 196, 150, 0.14) !important;
  background:
    linear-gradient(180deg, rgba(32, 20, 14, 0.94), rgba(12, 8, 6, 0.98)) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.hw-community--compact.hw-community--polished .hw-community__pulse-chip strong {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.28rem !important;
  color: #fff4e4 !important;
  line-height: 1.15 !important;
}

.hw-community--compact.hw-community--polished .hw-community__pulse-chip span {
  display: block !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: rgba(244, 232, 212, 0.58) !important;
}

.hw-community--compact.hw-community--polished .hw-community__pulse-hot {
  grid-column: 1 / -1;
}

.hw-community--compact.hw-community--polished .hw-community__pulse-hot a {
  color: #ffd4a0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 0.98rem !important;
  line-height: 1.25 !important;
}

.hw-community--compact.hw-community--polished .hw-community__trustbar {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  border-radius: 14px;
  border: 1px solid rgba(232, 196, 150, 0.14);
  background: rgba(14, 10, 8, 0.72);
  color: rgba(234, 214, 194, 0.88) !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
}

.hw-community--compact.hw-community--polished .hw-community__trustbar .hw-community__rep,
.hw-community--compact.hw-community--polished .hw-community__trustbar * {
  color: rgba(234, 214, 194, 0.88) !important;
}

.hw-community--compact.hw-community--polished .hw-community__list-wrap {
  display: block !important;
  margin: 0 !important;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(232, 196, 150, 0.12);
  background:
    linear-gradient(180deg, rgba(22, 14, 10, 0.78), rgba(10, 7, 5, 0.92));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.hw-community--compact.hw-community--polished .hw-community__list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin: 0 0 0.85rem;
}

.hw-community--compact.hw-community--polished .hw-community__section-title {
  margin: 0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.18rem !important;
  color: #fff4e4 !important;
}

.hw-community--compact.hw-community--polished .hw-community__tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hw-community--compact.hw-community--polished .hw-community__tag-chip {
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 150, 0.14);
  background: rgba(8, 5, 4, 0.45);
  color: rgba(243, 230, 210, 0.78) !important;
  text-decoration: none !important;
  padding: 0.28rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 650;
}

.hw-community--compact.hw-community--polished .hw-community__tag-chip.is-active,
.hw-community--compact.hw-community--polished .hw-community__tag-chip:hover {
  border-color: rgba(var(--hw-flame-rgb, 196, 90, 34), 0.45);
  color: #fff4e4 !important;
  background: rgba(196, 90, 34, 0.16);
}

.hw-community--compact.hw-community--polished .hw-community__topics {
  display: grid !important;
  gap: 0.65rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hw-community--compact.hw-community--polished .hw-community__topic-row {
  margin: 0 !important;
  border: 1px solid rgba(232, 196, 150, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(28, 18, 12, 0.86), rgba(12, 8, 6, 0.94)) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.hw-community--compact.hw-community--polished .hw-community__topic-row:hover {
  border-color: rgba(232, 196, 150, 0.24) !important;
  transform: translateY(-1px);
}

.hw-community--compact.hw-community--polished .hw-community__topic-row.is-hot {
  border-color: rgba(var(--hw-flame-rgb, 196, 90, 34), 0.34) !important;
  box-shadow:
    0 0 0 1px rgba(var(--hw-flame-rgb, 196, 90, 34), 0.12),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.hw-community--compact.hw-community--polished .hw-community__topic-preview {
  margin: 0.35rem 0 0 !important;
  color: rgba(243, 230, 210, 0.68) !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

.hw-community--compact.hw-community--polished .hw-community__topic-meta {
  margin-top: 0.55rem !important;
  gap: 0.45rem 0.65rem !important;
  color: rgba(184, 156, 132, 0.92) !important;
  font-size: 0.76rem !important;
}

.hw-community--compact.hw-community--polished .hw-community__empty-state {
  margin: 0 !important;
  border-radius: 14px !important;
  border: 1px dashed rgba(var(--hw-flame-rgb, 184, 92, 58), 0.35) !important;
  border-style: dashed !important;
  background: rgba(var(--hw-flame-rgb, 184, 92, 58), 0.08) !important;
}

.hw-community--compact.hw-community--polished .hw-community__empty,
.hw-community--compact.hw-community--polished .hw-community__empty-kicker {
  font-style: normal !important;
  font-family: var(--hw-font-ui, "DM Sans", "Segoe UI", system-ui, sans-serif) !important;
}

.hw-community--compact.hw-community--polished .hw-community__empty-kicker {
  color: rgba(var(--hw-flame-rgb, 184, 92, 58), 0.95) !important;
  font-family: var(--hw-font-display, "Playfair Display", Georgia, serif) !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  font-weight: 650 !important;
}

.hw-community--compact.hw-community--polished .hw-community__empty {
  color: rgba(243, 230, 210, 0.78) !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

.hw-community--compact.hw-community--polished .hw-community__new-topic textarea,
.hw-community--compact.hw-community--polished .hw-community__new-topic input,
.hw-community--compact.hw-community--polished .hw-community__new-topic select {
  border-radius: 11px;
  color-scheme: dark;
  background: rgba(8, 5, 4, 0.82) !important;
  border: 1px solid rgba(232, 196, 150, 0.18) !important;
  color: #fff8ec !important;
  caret-color: #fff8ec !important;
}

.hw-community--compact.hw-community--polished .hw-community__new-topic select option,
.hw-community--compact.hw-community--polished .hw-community__new-topic optgroup {
  background: #1a120c;
  color: #fff8ec;
}

.hw-community--compact.hw-community--polished .hw-community__new-topic label {
  color: rgba(234, 214, 194, 0.88) !important;
}

.hw-community--compact.hw-community--polished .hw-community__composer--new {
  display: grid !important;
  margin: 0 !important;
  border-radius: 16px !important;
  border: 1px solid rgba(232, 196, 150, 0.14) !important;
  background:
    linear-gradient(180deg, rgba(26, 16, 11, 0.94), rgba(10, 7, 5, 0.98)) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.hw-community--compact.hw-community--polished .hw-community__form-title {
  font-size: 1.05rem !important;
  color: #fff4e4 !important;
}

.hw-community--compact.hw-community--polished .hw-community__new-topic textarea {
  min-height: 7.5rem;
  resize: none;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .hw-community--compact.hw-community--polished .hw-community__pulse {
    grid-template-columns: 1fr !important;
  }

  .hw-community--compact.hw-community--polished .hw-community__list-toolbar {
    align-items: flex-start;
  }
}

/* ============================================================
   Community space + thread v3 — cinematic room (mockup-b)
============================================================ */

.hw-community--space {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 0 3.5rem;
  background: #080504;
  color: #fff4e4 !important;
}

.hw-community--space .hw-community__hero--cinema {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: clamp(280px, 42vh, 480px);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.15rem, 4vw, 2rem) clamp(4.5rem, 10vw, 7rem) !important;
  align-items: flex-end;
  overflow: hidden;
  box-sizing: border-box;
}

@media (min-width: 721px) {
  .hw-community--space .hw-community__hero--cinema {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
}

.hw-community--space.hw-community--thread .hw-community__hero--cinema {
  min-height: clamp(220px, 32vh, 360px);
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem) !important;
  align-items: flex-end;
}

.hw-community--space .hw-community__hero--cinema .hw-community__hero-media {
  object-position: center 40%;
  filter: saturate(0.92) contrast(1.06) brightness(0.92);
}

.hw-community--space .hw-community__hero--cinema .hw-community__hero-veil {
  background:
    linear-gradient(
      180deg,
      rgba(10, 7, 5, 0.18) 0%,
      rgba(10, 7, 5, 0.28) 30%,
      rgba(10, 7, 5, 0.55) 58%,
      rgba(10, 7, 5, 0.88) 82%,
      #080504 100%
    ),
    linear-gradient(90deg, rgba(10, 7, 5, 0.55) 0%, rgba(10, 7, 5, 0.12) 42%, rgba(10, 7, 5, 0.45) 100%);
}

.hw-community--space .hw-community__hero--cinema::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: min(52%, 260px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 7, 5, 0) 0%,
    rgba(10, 7, 5, 0.2) 28%,
    rgba(10, 7, 5, 0.55) 58%,
    rgba(10, 7, 5, 0.88) 82%,
    #080504 100%
  );
}

.hw-community--space .hw-community__hero-copy {
  position: relative;
  z-index: 3;
  width: min(920px, 100%);
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 0.65rem !important;
}

.hw-community--space .hw-community__hero-copy .hw-community__title {
  font-size: clamp(2.1rem, 5vw, 3.35rem) !important;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  max-width: 18ch;
}

.hw-community--space.hw-community--thread .hw-community__hero-copy .hw-community__title {
  max-width: 22ch;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem) !important;
}

.hw-community--space .hw-community__lede {
  max-width: 42rem;
  font-size: 1.02rem !important;
  color: rgba(255, 244, 228, 0.78) !important;
}

.hw-community--space .hw-community__crumb {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0 0 0.35rem !important;
  font-size: 0.78rem !important;
  color: rgba(243, 230, 210, 0.55) !important;
}

.hw-community--space .hw-community__crumb a {
  color: rgba(232, 160, 90, 0.92) !important;
  text-decoration: none !important;
}

.hw-community--space .hw-community__crumb a:hover {
  color: #fff4e4 !important;
}

.hw-community--space .hw-community__lede--meta .hw-community__tag {
  vertical-align: middle;
}

.hw-community--space .hw-community__body {
  position: relative;
  z-index: 3;
  max-width: min(1180px, 100%);
  margin: -3.25rem auto 0;
  padding: 0 clamp(1rem, 3vw, 1.35rem) 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 288px);
  gap: 1.15rem 1.5rem;
  align-items: start;
}

.hw-community--space .hw-community__stage {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.hw-community__rail {
  position: sticky;
  top: calc(var(--hw-global-nav-h, 68px) + 0.85rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

body.admin-bar .hw-community__rail {
  top: calc(var(--hw-global-nav-h, 68px) + 32px + 0.85rem);
}

.hw-community__rail-card {
  margin: 0;
  padding: 0.95rem 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.14);
  background:
    linear-gradient(180deg, rgba(28, 18, 12, 0.92), rgba(12, 8, 6, 0.96));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hw-community__rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 0 0.7rem;
}

.hw-community__rail-title {
  margin: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hw-flame, #b85c3a) !important;
}

.hw-community__rail-count {
  font-size: 0.78rem;
  font-weight: 650;
  color: rgba(234, 214, 194, 0.72);
  font-variant-numeric: tabular-nums;
}

.hw-community__rail-empty {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(234, 214, 194, 0.62);
}

.hw-community__member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: min(42vh, 360px);
  overflow: auto;
}

.hw-community__member-list--full {
  max-height: min(56vh, 480px);
  gap: 0.45rem;
}

.hw-community__member {
  margin: 0;
  padding: 0;
}

.hw-community__member-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.3rem;
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.15s ease;
}

.hw-community__member-link:hover,
.hw-community__member-link:focus-visible {
  background: rgba(var(--hw-flame-rgb),  0.1);
  outline: none;
}

.hw-community__member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.22);
  background: rgba(20, 12, 8, 0.9);
}

.hw-community__member-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hw-gold, #e0c09a);
}

.hw-community__member-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.hw-community__member-name {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--hw-text, #fff4e8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hw-community__member-rep {
  font-size: 0.72rem;
  font-style: normal;
  color: rgba(184, 156, 132, 0.9);
}

.hw-community__members-all,
.hw-community__members-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.22);
  background: rgba(var(--hw-flame-rgb),  0.1);
  color: var(--hw-gold, #e0c09a);
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hw-community__members-all:hover,
.hw-community__members-more:hover,
.hw-community__members-all:focus-visible,
.hw-community__members-more:focus-visible {
  background: rgba(var(--hw-flame-rgb),  0.18);
  border-color: rgba(var(--hw-flame-rgb),  0.45);
  color: var(--hw-text, #fff4e8);
  outline: none;
}

.hw-community__members-more:disabled {
  opacity: 0.55;
  cursor: wait;
}

.hw-community__rules-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: rgba(243, 230, 210, 0.86);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hw-community__rules-list li::marker {
  color: var(--hw-flame, #b85c3a);
}

.hw-community__members-modal {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.hw-community__members-modal[hidden] {
  display: none !important;
}

.hw-community__members-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 1, 0.72);
  backdrop-filter: blur(4px);
}

.hw-community__members-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.18);
  background: linear-gradient(180deg, rgba(28, 18, 12, 0.98), rgba(10, 7, 5, 0.99));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.hw-community__members-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid rgba(var(--hw-gold-rgb),  0.12);
}

.hw-community__members-modal__head h3 {
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 650 !important;
  color: var(--hw-text, #fff4e8) !important;
}

.hw-community__members-modal__close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(var(--hw-text-rgb),  0.06);
  color: #ead6c2;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.hw-community__members-modal__close:hover,
.hw-community__members-modal__close:focus-visible {
  background: rgba(var(--hw-flame-rgb),  0.18);
  color: var(--hw-text, #fff4e8);
  outline: none;
}

.hw-community__members-modal__body {
  padding: 0.85rem 1.05rem 1.1rem;
  overflow: auto;
}

html.hw-community-members-open {
  overflow: hidden;
}

.hw-community--space .hw-community__trustbar {
  margin: 0 !important;
  border-radius: 999px;
  border-color: rgba(232, 196, 150, 0.12);
  background: rgba(14, 10, 8, 0.72);
  backdrop-filter: blur(8px);
  padding: 0.55rem 1.05rem !important;
}

.hw-community--space .hw-community__list-wrap {
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hw-community--space .hw-community__list-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid rgba(232, 196, 150, 0.12);
}

.hw-community--space:not(.hw-community--thread) .hw-community__topic-row {
  grid-template-columns: 36px minmax(0, 1fr) !important;
  gap: 0.7rem !important;
  padding: 0.95rem 0.2rem 1rem !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(232, 196, 150, 0.1) !important;
  background: transparent !important;
  box-shadow: none;
  transition: background 0.15s ease;
}

.hw-community--space:not(.hw-community--thread) .hw-community__topic-row:hover {
  border-color: transparent !important;
  border-bottom-color: rgba(196, 120, 58, 0.28) !important;
  background: rgba(196, 120, 58, 0.06) !important;
}

.hw-community--space:not(.hw-community--thread) .hw-community__topics {
  gap: 0 !important;
}

.hw-community--space .hw-community__composer--new {
  margin-top: 0.85rem !important;
  padding: 1.35rem 1.4rem 1.45rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(196, 120, 58, 0.34) !important;
  border-top: 3px solid var(--hw-flame, #b85c3a) !important;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(196, 120, 58, 0.16), transparent 50%),
    linear-gradient(180deg, rgba(30, 20, 14, 0.96), rgba(10, 7, 5, 0.98)) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.hw-community--space .hw-community__section-title {
  margin: 0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.25rem !important;
  color: #fff4e6 !important;
  font-weight: 650 !important;
}

.hw-community--space .hw-community__tag-filters {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.4rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hw-community--space .hw-community__tag-chip {
  min-height: 32px;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 150, 0.16);
  background: rgba(8, 5, 4, 0.45);
  font-size: 0.78rem;
}

.hw-community--space .hw-community__topics {
  gap: 0 !important;
  margin: 0 !important;
}

.hw-community--space:not(.hw-community--thread) .hw-community__topic-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.84rem !important;
}

.hw-community--space .hw-community__empty-state {
  padding: 1.5rem 0.5rem;
  text-align: center;
}

.hw-community--space .hw-community__empty-kicker {
  margin: 0 0 0.35rem !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.15rem !important;
  color: #e8c49a !important;
}

.hw-community--space .hw-community__composer--new .hw-community__form-title {
  font-size: 1.28rem !important;
  margin-bottom: 0.25rem !important;
  color: #fff4e6 !important;
}

/* ---- Thread hierarchy (mockup-thread-b) ---- */

.hw-community--thread .hw-community__topic-view {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hw-community--thread .hw-community__post--op {
  padding: 1.35rem 1.4rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(232, 196, 150, 0.14) !important;
  border-left: 4px solid var(--hw-flame, #b85c3a) !important;
  background: linear-gradient(180deg, rgba(36, 24, 16, 0.96), rgba(14, 10, 8, 0.98)) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  margin-bottom: 0 !important;
}

.hw-community--thread .hw-community__post--op .hw-community__thread-label {
  letter-spacing: 0.12em;
}

.hw-community--thread .hw-community__post--op .hw-community__copy {
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
}

.hw-community--thread .hw-community__replies-block {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.15rem 0 0.25rem;
}

.hw-community--thread .hw-community__replies {
  gap: 0.55rem !important;
  margin: 0 !important;
  padding: 0 0 0 0.15rem !important;
  border-left: 0 !important;
}

.hw-community--thread .hw-community__reply {
  padding: 0.85rem 0.95rem !important;
  border-radius: 12px !important;
  border: 1px solid rgba(232, 196, 150, 0.08) !important;
  background: rgba(14, 10, 8, 0.72) !important;
  box-shadow: none;
}

.hw-community--thread .hw-community__replies--nested {
  margin-top: 0.55rem !important;
  padding-left: 0.75rem !important;
  border-left: 2px solid rgba(196, 120, 58, 0.28);
}

.hw-community--thread .hw-community__replies-empty {
  list-style: none;
  padding: 0.35rem 0.15rem;
}

.hw-community--thread .hw-community__composer--reply {
  margin-top: 0.35rem !important;
  padding: 1rem 1.05rem 1.1rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(232, 196, 150, 0.1) !important;
  border-left: 0 !important;
  background: rgba(8, 5, 4, 0.55) !important;
  box-shadow: none;
}

.hw-community--thread .hw-community__composer--reply textarea {
  min-height: 5.5rem;
  border-radius: 12px !important;
  border-color: rgba(232, 196, 150, 0.16) !important;
  background: rgba(6, 4, 3, 0.85) !important;
}

.hw-community--thread .hw-community__composer-label {
  display: grid !important;
  gap: 0.4rem !important;
  font-size: 0.88rem !important;
  color: rgba(243, 230, 210, 0.72) !important;
}

.hw-community--thread .hw-community__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 650;
}

.hw-community--thread .hw-community__links {
  margin-top: 0.25rem !important;
}

@media (max-width: 1100px) {
  .hw-communities-explore--v3 .hw-cex__grid--rooms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hw-community--polished .hw-community__pulse {
    grid-template-columns: 1fr;
  }
  .hw-community--space .hw-community__hero--cinema {
    min-height: clamp(240px, 48vw, 380px);
    padding-top: 2.75rem !important;
  }
  .hw-community--space .hw-community__body {
    margin-top: -2.5rem;
    grid-template-columns: 1fr;
  }
  .hw-community__rail {
    position: static;
  }
  .hw-communities-explore--v3 .hw-cex__grid--rooms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hw-communities-explore--v3 .hw-cex__toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .hw-cex__browse-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hw-communities-explore--v3 .hw-cex__hero--cinema {
    min-height: calc(clamp(360px, 72vw, 520px) + var(--hw-global-nav-h, 62px));
    margin-top: calc(-1 * var(--hw-global-nav-h, 62px));
    padding-top: calc(var(--hw-global-nav-h, 62px) + 2rem);
  }
  .hw-communities-explore--v3 .hw-cex__grid--rooms {
    grid-template-columns: 1fr;
  }
  .hw-cex__card--room .hw-cex__card-banner {
    height: 140px;
  }
  .hw-community--space .hw-community__list-wrap,
  .hw-community--thread .hw-community__post--op,
  .hw-community--space .hw-community__composer--new {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }
}

/* ============================================================
   Cinema pass — match Library / Rankings ember-stage language
   (replaces watercolor pigment look with cinematic charcoal glass)
============================================================ */

.hw-communities-explore--cinema {
  --hw-cex-deep: var(--hw-bg-deep, #080504);
  --hw-cex-ink: var(--hw-text-strong, #fff8ef);
  --hw-cex-muted: var(--hw-muted, #b89c84);
  --hw-cex-accent: var(--hw-flame, #b85c3a);
  --hw-cex-glass: var(--hw-panel, rgba(24, 16, 12, 0.88));
  --hw-cex-border: var(--hw-border, rgba(var(--hw-gold-rgb),  0.14));
  --hw-cex-serif: var(--hw-font-display, "Playfair Display", Georgia, "Times New Roman", serif);
  --hw-cex-ui: var(--hw-font-ui, "DM Sans", "Segoe UI", system-ui, sans-serif);
  color: var(--hw-cex-ink);
  font-family: var(--hw-cex-ui);
  background: var(--hw-cex-deep);
}

.hw-communities-explore--cinema .hw-cex__hero--cinema {
  min-height: calc(clamp(340px, 48vh, 560px) + var(--hw-global-nav-h, 68px));
  background: var(--hw-cex-deep);
}

.hw-communities-explore--cinema .hw-cex__hero-media {
  object-position: center 36%;
  filter: saturate(0.92) contrast(1.06) brightness(0.78);
  transform: scale(1.03);
}

.hw-communities-explore--cinema .hw-cex__hero-veil {
  background:
    linear-gradient(
      180deg,
      rgba(10, 7, 5, 0.28) 0%,
      rgba(10, 7, 5, 0.18) 22%,
      rgba(10, 7, 5, 0.42) 52%,
      rgba(10, 7, 5, 0.82) 78%,
      var(--hw-cex-deep) 100%
    ),
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(var(--hw-flame-rgb),  0.12), transparent 62%);
}

.hw-communities-explore--cinema .hw-cex__hero--cinema::after {
  height: min(52%, 280px);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--hw-cex-deep) 35%, transparent) 34%,
    color-mix(in srgb, var(--hw-cex-deep) 78%, transparent) 68%,
    var(--hw-cex-deep) 100%
  );
}

.hw-communities-explore--cinema .hw-cex__kicker {
  color: var(--hw-cex-accent) !important;
  letter-spacing: 0.16em;
  font-weight: 750;
  font-size: 0.72rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hw-communities-explore--cinema .hw-cex__hero h1 {
  font-family: var(--hw-cex-serif) !important;
  font-weight: 600 !important;
  color: var(--hw-cex-ink) !important;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.55),
    0 12px 36px rgba(0, 0, 0, 0.4);
}

.hw-communities-explore--cinema .hw-cex__lede {
  color: rgba(var(--hw-text-rgb),  0.78) !important;
  max-width: 34rem;
}

.hw-communities-explore--cinema .hw-cex__hero-search input {
  border-radius: 999px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.28);
  background:
    radial-gradient(ellipse 120% 90% at 8% -20%, rgba(var(--hw-flame-rgb),  0.12), transparent 55%),
    rgba(10, 7, 5, 0.62);
  backdrop-filter: blur(10px);
  color: var(--hw-cex-ink);
  box-shadow:
    inset 0 1px 0 rgba(var(--hw-text-rgb),  0.08),
    0 12px 28px rgba(0, 0, 0, 0.32);
}

.hw-communities-explore--cinema .hw-cex__hero-search input::placeholder {
  color: rgba(210, 180, 150, 0.62);
}

.hw-communities-explore--cinema .hw-cex__hero-search input:focus {
  outline: none;
  border-color: rgba(var(--hw-flame-rgb),  0.55);
  box-shadow:
    inset 0 1px 0 rgba(var(--hw-text-rgb),  0.1),
    0 0 0 1px rgba(var(--hw-flame-rgb),  0.22),
    0 0 24px rgba(var(--hw-flame-rgb),  0.16),
    0 12px 28px rgba(0, 0, 0, 0.34);
}

.hw-communities-explore--cinema .hw-cex__stage {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}

.hw-communities-explore--cinema .hw-cex__joined--rings .hw-cex__joined-head h2,
.hw-communities-explore--cinema .hw-cex__browse-title {
  font-family: var(--hw-cex-serif) !important;
  font-weight: 600 !important;
  color: var(--hw-cex-ink) !important;
  letter-spacing: 0.01em;
}

.hw-communities-explore--cinema .hw-cex__joined-ring .hw-cex__joined-avatar {
  border-color: rgba(var(--hw-flame-rgb),  0.45);
  box-shadow:
    0 0 0 3px rgba(10, 7, 5, 0.85),
    0 0 18px rgba(var(--hw-flame-rgb),  0.12),
    0 10px 22px rgba(0, 0, 0, 0.4);
}

.hw-communities-explore--cinema .hw-cex__joined-ring:hover .hw-cex__joined-avatar,
.hw-communities-explore--cinema .hw-cex__joined-ring:focus-visible .hw-cex__joined-avatar {
  border-color: rgba(255, 184, 120, 0.75);
  box-shadow:
    0 0 0 3px rgba(10, 7, 5, 0.85),
    0 0 22px rgba(var(--hw-flame-rgb),  0.28),
    0 12px 24px rgba(0, 0, 0, 0.42);
}

.hw-communities-explore--cinema .hw-cex__filters--chips .hw-cex__filter {
  border-radius: 999px;
  border: 1px solid var(--hw-cex-border);
  background: rgba(16, 11, 8, 0.78);
  color: var(--hw-cex-muted);
  backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.hw-communities-explore--cinema .hw-cex__filters--chips .hw-cex__filter:hover {
  border-color: rgba(var(--hw-gold-rgb),  0.32);
  color: var(--hw-cex-ink);
}

.hw-communities-explore--cinema .hw-cex__filters--chips .hw-cex__filter.is-active {
  background: linear-gradient(180deg, rgba(var(--hw-flame-rgb),  0.28), rgba(196, 88, 28, 0.18));
  border-color: rgba(var(--hw-flame-rgb),  0.55);
  color: var(--hw-cex-ink);
  box-shadow: 0 0 0 1px rgba(var(--hw-flame-rgb),  0.18), 0 8px 18px rgba(var(--hw-flame-rgb),  0.12);
}

.hw-communities-explore--cinema .hw-cex__filters--chips .hw-cex__filter.is-active em {
  color: #ffd7a8;
}

.hw-communities-explore--cinema .hw-cex__sort select {
  border-radius: 10px;
  border: 1px solid var(--hw-cex-border);
  background: rgba(16, 11, 8, 0.85);
  color: var(--hw-cex-ink);
}

.hw-communities-explore--cinema .hw-cex__card--room {
  border-radius: 16px;
  border: 1px solid var(--hw-cex-border);
  background:
    linear-gradient(165deg, rgba(28, 18, 13, 0.94), rgba(12, 8, 6, 0.98));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hw-communities-explore--cinema .hw-cex__card--room:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--hw-flame-rgb),  0.42);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(var(--hw-flame-rgb),  0.12);
}

.hw-communities-explore--cinema .hw-cex__card--room .hw-cex__card-banner {
  height: clamp(132px, 14vw, 168px);
}

.hw-communities-explore--cinema .hw-cex__card--room .hw-cex__card-banner-img,
.hw-communities-explore--cinema .hw-cex__card[data-tone] .hw-cex__card-banner-img {
  filter: saturate(0.95) contrast(1.04) brightness(0.9) !important;
}

.hw-communities-explore--cinema .hw-cex__card--room .hw-cex__card-banner-shade {
  background:
    linear-gradient(180deg, transparent 20%, rgba(8, 5, 4, 0.72) 100%),
    linear-gradient(90deg, rgba(8, 5, 4, 0.2), transparent 40%);
}

.hw-communities-explore--cinema .hw-cex__card--room .hw-cex__card-title {
  font-family: var(--hw-cex-serif) !important;
  font-weight: 600 !important;
  color: var(--hw-cex-ink) !important;
}

.hw-communities-explore--cinema .hw-cex__card--room .hw-cex__card-copy {
  color: rgba(234, 214, 194, 0.72) !important;
}

.hw-communities-explore--cinema .hw-cex__card-foot > span {
  color: rgba(210, 180, 150, 0.62);
}

.hw-communities-explore--cinema .hw-cex__card--room .hw-cex__card-cta {
  border-radius: 999px;
  border: 1px solid rgba(var(--hw-flame-rgb),  0.55);
  background: linear-gradient(180deg, rgba(var(--hw-flame-rgb),  0.82), rgba(196, 88, 28, 0.72));
  color: var(--hw-text-strong, #fff8ef) !important;
  box-shadow:
    0 0 0 1px rgba(var(--hw-flame-rgb),  0.2),
    0 8px 18px rgba(var(--hw-flame-rgb),  0.22);
}

.hw-communities-explore--cinema .hw-cex__card--room .hw-cex__card-cta:hover {
  filter: brightness(1.06);
  border-color: rgba(255, 184, 120, 0.75);
}

.hw-communities-explore--cinema .hw-cex__result {
  color: var(--hw-cex-muted);
}

/* Space / thread heroes — same Hearth Wash language */
.hw-community--space .hw-community__hero,
.hw-community--polished .hw-community__hero {
  border-radius: 18px;
  border: 1px solid rgba(232, 196, 150, 0.14);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.hw-community--space .hw-community__hero-media,
.hw-community--polished .hw-community__hero-media {
  filter: saturate(0.86) contrast(1.03) brightness(0.76);
}

.hw-community--space .hw-community__hero-veil,
.hw-community--polished .hw-community__hero-veil {
  background:
    linear-gradient(90deg, rgba(8, 5, 4, 0.8) 0%, rgba(8, 5, 4, 0.34) 48%, rgba(8, 5, 4, 0.58) 100%),
    linear-gradient(180deg, rgba(8, 5, 4, 0.14) 0%, rgba(8, 5, 4, 0.84) 100%);
}

.hw-community--space .hw-community__kicker,
.hw-community--polished .hw-community__kicker {
  color: var(--hw-flame, #b85c3a) !important;
}

.hw-community--polished .hw-community__pulse-chip {
  background: linear-gradient(180deg, rgba(28, 18, 12, 0.92), rgba(12, 8, 6, 0.96)) !important;
  border-color: rgba(232, 196, 150, 0.16) !important;
  backdrop-filter: blur(8px);
}

/* ============================================================
   Commons hub (v4) � no banner hero; lit hearths + doorway mosaic
============================================================ */

.hw-communities-hub.hw-communities-explore--commons {
  --hw-cex-deep: var(--hw-bg-deep, #080504);
  --hw-cex-ink: var(--hw-text-strong, #fff8ef);
  --hw-cex-soft: var(--hw-text-soft, #ead6c2);
  --hw-cex-muted: var(--hw-muted, #b89c84);
  --hw-cex-accent: var(--hw-flame, #b85c3a);
  --hw-cex-accent-2: var(--hw-gold, #e0c09a);
  --hw-cex-line: var(--hw-border, rgba(var(--hw-gold-rgb),  0.14));
  --hw-cex-serif: var(--hw-font-display, "Playfair Display", Georgia, "Times New Roman", serif);
  --hw-cex-ui: var(--hw-font-ui, "DM Sans", "Segoe UI", system-ui, sans-serif);
  --hw-cex-stage-max: min(var(--hw-stage-max, 1920px), 100%);
  --hw-cex-stage-pad: var(--hw-stage-pad, clamp(1.25rem, 3.5vw, 3.5rem));
  position: relative;
  z-index: 1;
  max-width: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 0 4rem;
  color: var(--hw-cex-ink);
  font-family: var(--hw-cex-ui);
  background: transparent;
  isolation: isolate;
}

.hw-communities-explore--commons .hw-cex__bloom {
  pointer-events: none;
  position: absolute;
  /* Hub starts flush under transparent nav — bloom fills that band (no body/content-area seam) */
  top: 0;
  left: 6%;
  right: 6%;
  bottom: auto;
  height: calc(var(--hw-global-nav-h, 68px) + 42vh);
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 70% at 18% 22%, rgba(var(--hw-flame-rgb),  0.16), transparent 70%),
    radial-gradient(ellipse 45% 55% at 78% 14%, rgba(196, 88, 28, 0.1), transparent 68%);
  filter: blur(8px);
  opacity: 0.9;
}

.hw-communities-explore--commons .hw-cex__mast,
.hw-communities-explore--commons .hw-cex__stage {
  position: relative;
  z-index: 1;
  max-width: var(--hw-cex-stage-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--hw-cex-stage-pad);
  padding-right: var(--hw-cex-stage-pad);
}

.hw-communities-explore--commons .hw-cex__mast {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: 1.25rem 2rem;
  align-items: end;
  /* Clear fixed nav only — admin-bar is already above the content flow via html margin */
  padding-top: calc(var(--hw-global-nav-h, 68px) + clamp(1.6rem, 4vw, 2.75rem));
  padding-bottom: 1.35rem;
}

.hw-communities-explore--commons .hw-cex__kicker,
.hw-communities-explore--commons .hw-cex__hearths-kicker,
.hw-communities-explore--commons .hw-cex__browse-kicker,
.hw-communities-explore--commons .hw-cex__invite-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hw-cex-accent);
}

.hw-communities-explore--commons .hw-cex__mast h1 {
  margin: 0;
  font-family: var(--hw-cex-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--hw-cex-ink);
  max-width: 18ch;
}

.hw-communities-explore--commons .hw-cex__lede {
  margin: 0.7rem 0 0;
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(234, 214, 194, 0.82);
}

.hw-communities-explore--commons .hw-cex__mast-tools {
  display: grid;
  gap: 0.65rem;
  justify-items: stretch;
}

.hw-communities-explore--commons .hw-cex__pulse {
  margin: 0;
  justify-self: end;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--hw-cex-muted);
}

.hw-communities-explore--commons .hw-cex__search input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.28);
  background:
    radial-gradient(ellipse 120% 100% at 0% 0%, rgba(var(--hw-flame-rgb),  0.14), transparent 55%),
    rgba(14, 10, 8, 0.78);
  color: var(--hw-cex-ink);
  font-size: 0.95rem;
  box-shadow:
    inset 0 1px 0 rgba(var(--hw-text-rgb),  0.08),
    0 12px 28px rgba(0, 0, 0, 0.28);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hw-communities-explore--commons .hw-cex__search input::placeholder {
  color: rgba(184, 156, 132, 0.7);
}

.hw-communities-explore--commons .hw-cex__search input:focus {
  outline: none;
  border-color: rgba(var(--hw-flame-rgb),  0.55);
  box-shadow:
    inset 0 1px 0 rgba(var(--hw-text-rgb),  0.1),
    0 0 0 1px rgba(var(--hw-flame-rgb),  0.2),
    0 0 28px rgba(var(--hw-flame-rgb),  0.16);
}

/* Lit hearths rail */
.hw-communities-explore--commons .hw-cex__hearths {
  margin: 0.35rem 0 1.75rem;
  padding: 1.15rem 0 0.25rem;
  border-top: 1px solid rgba(232, 196, 150, 0.1);
}

.hw-communities-explore--commons .hw-cex__hearths-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.95rem;
}

.hw-communities-explore--commons .hw-cex__hearths-head h2 {
  margin: 0;
  font-family: var(--hw-cex-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--hw-cex-ink);
}

.hw-communities-explore--commons .hw-cex__hearths-hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--hw-cex-muted);
}

.hw-communities-explore--commons .hw-cex__hearths-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
  padding: 0.25rem 0 0.85rem;
}

.hw-communities-explore--commons .hw-cex__hearth {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 92px;
  padding: 0.7rem 0.85rem 0.7rem 0.7rem;
  border-radius: 18px;
  border: 1px solid var(--hw-cex-line);
  background:
    linear-gradient(145deg, rgba(32, 20, 14, 0.92), rgba(12, 8, 6, 0.96));
  text-decoration: none !important;
  color: inherit !important;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hw-communities-explore--commons .hw-cex__hearth:hover,
.hw-communities-explore--commons .hw-cex__hearth:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(var(--hw-flame-rgb),  0.45);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(var(--hw-flame-rgb),  0.12);
}

.hw-communities-explore--commons .hw-cex__hearth-glow {
  position: absolute;
  inset: auto -20% -40% -10%;
  height: 70%;
  background: radial-gradient(ellipse at 40% 80%, rgba(var(--hw-flame-rgb),  0.18), transparent 65%);
  pointer-events: none;
}

.hw-communities-explore--commons .hw-cex__hearth.is-lit .hw-cex__hearth-glow {
  background: radial-gradient(ellipse at 40% 80%, rgba(var(--hw-flame-rgb),  0.32), transparent 68%);
}

.hw-communities-explore--commons .hw-cex__hearth-media {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.22);
  background:
    var(--hw-cex-hearth-cover, linear-gradient(160deg, rgba(var(--hw-flame-rgb),  0.28), rgba(20, 12, 8, 0.95))) center / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hw-communities-explore--commons .hw-cex__hearth-media.is-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(var(--hw-flame-rgb),  0.35), rgba(20, 12, 8, 0.95));
}

.hw-communities-explore--commons .hw-cex__hearth-media em {
  font-family: var(--hw-cex-serif);
  font-style: normal;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffe4c4;
}

.hw-communities-explore--commons .hw-cex__hearth-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.hw-communities-explore--commons .hw-cex__hearth-body strong {
  font-family: var(--hw-cex-serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hw-communities-explore--commons .hw-cex__hearth-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  font-size: 0.74rem;
  color: var(--hw-cex-muted);
}

.hw-communities-explore--commons .hw-cex__hearth-meta i {
  font-style: normal;
  opacity: 0.55;
}

.hw-communities-explore--commons .hw-cex__hearth-spark {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--hw-flame, #b85c3a);
  box-shadow: 0 0 0 4px rgba(var(--hw-flame-rgb),  0.18), 0 0 14px rgba(var(--hw-flame-rgb),  0.55);
  animation: hw-cex-spark 2.4s ease-in-out infinite;
}

@keyframes hw-cex-spark {
  0%, 100% { opacity: 0.7; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hw-communities-explore--commons .hw-cex__invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin: 0.5rem 0 1.6rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(var(--hw-flame-rgb),  0.28);
  background: linear-gradient(135deg, rgba(40, 24, 16, 0.9), rgba(14, 9, 6, 0.96));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.hw-communities-explore--commons .hw-cex__invite-copy {
  margin: 0.2rem 0 0;
  max-width: 42ch;
  color: var(--hw-cex-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hw-communities-explore--commons .hw-cex__invite-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--hw-flame-rgb),  0.55);
  background: linear-gradient(180deg, rgba(var(--hw-flame-rgb),  0.82), rgba(196, 88, 28, 0.72));
  color: var(--hw-text-strong, #fff8ef) !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(var(--hw-flame-rgb),  0.22);
}

/* Browse / orbit filters */
.hw-communities-explore--commons .hw-cex__browse {
  margin-top: 0.25rem;
}

.hw-communities-explore--commons .hw-cex__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 0.85rem;
}

.hw-communities-explore--commons .hw-cex__browse-title {
  margin: 0 !important;
  font-family: var(--hw-cex-serif) !important;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem) !important;
  font-weight: 600 !important;
  color: var(--hw-cex-ink) !important;
}

.hw-communities-explore--commons .hw-cex__sort select {
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--hw-cex-line);
  background: rgba(16, 11, 8, 0.88);
  color: var(--hw-cex-ink);
}

.hw-communities-explore--commons .hw-cex__filters-row {
  margin: 0 0 1.15rem;
}

.hw-communities-explore--commons ul.hw-cex__filters--orbit {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.45rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.hw-communities-explore--commons .hw-cex__filters--orbit .hw-cex__filter {
  width: auto !important;
  min-height: 36px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--hw-cex-line);
  background: rgba(14, 10, 8, 0.72);
  color: var(--hw-cex-muted);
  gap: 0.45rem;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.hw-communities-explore--commons .hw-cex__filters--orbit .hw-cex__filter:hover {
  color: var(--hw-cex-ink);
  border-color: rgba(var(--hw-gold-rgb),  0.32);
}

.hw-communities-explore--commons .hw-cex__filters--orbit .hw-cex__filter.is-active {
  color: var(--hw-cex-ink);
  border-color: rgba(var(--hw-flame-rgb),  0.55);
  background: linear-gradient(180deg, rgba(var(--hw-flame-rgb),  0.28), rgba(196, 88, 28, 0.16));
  box-shadow: 0 0 0 1px rgba(var(--hw-flame-rgb),  0.16), 0 8px 18px rgba(var(--hw-flame-rgb),  0.12);
}

.hw-communities-explore--commons .hw-cex__filters--orbit .hw-cex__filter.is-active em {
  color: #ffd7a8;
}

/* Doorway mosaic — 4 rooms per row on wide stage */
.hw-communities-explore--commons .hw-cex__grid--doors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.hw-communities-explore--commons .hw-cex__door {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  border-radius: 18px;
  border: 1px solid var(--hw-cex-line);
  overflow: hidden;
  background: #120c09;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hw-communities-explore--commons .hw-cex__door--story {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 252px;
}

.hw-communities-explore--commons .hw-cex__door:hover,
.hw-communities-explore--commons .hw-cex__door:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(var(--hw-flame-rgb),  0.42);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(var(--hw-flame-rgb),  0.12),
    0 0 36px rgba(var(--hw-flame-rgb),  0.1);
}

.hw-communities-explore--commons .hw-cex__door[hidden] {
  display: none !important;
}

.hw-communities-explore--commons .hw-cex__door-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hw-communities-explore--commons .hw-cex__door-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: saturate(0.95) contrast(1.05) brightness(0.78);
  transform: scale(1.04);
  transition: transform 0.45s ease, filter 0.35s ease;
}

.hw-communities-explore--commons .hw-cex__door:hover .hw-cex__door-art img {
  transform: scale(1.08);
  filter: saturate(1.02) contrast(1.06) brightness(0.86);
}

.hw-communities-explore--commons .hw-cex__door-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 5, 4, 0.15) 0%, rgba(8, 5, 4, 0.28) 38%, rgba(8, 5, 4, 0.88) 78%, rgba(8, 5, 4, 0.96) 100%),
    linear-gradient(90deg, rgba(8, 5, 4, 0.35), transparent 45%);
}

.hw-communities-explore--commons .hw-cex__door-ember {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -18%;
  height: 48%;
  background: radial-gradient(ellipse at 50% 70%, rgba(var(--hw-flame-rgb),  0.28), transparent 70%);
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.hw-communities-explore--commons .hw-cex__door:hover .hw-cex__door-ember {
  opacity: 1;
}

.hw-communities-explore--commons .hw-cex__door-cover {
  position: relative;
  z-index: 1;
  min-height: 100%;
  border-right: 1px solid rgba(232, 196, 150, 0.12);
  background: #0c0806;
  overflow: hidden;
}

.hw-communities-explore--commons .hw-cex__door-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.95) brightness(0.9);
}

.hw-communities-explore--commons .hw-cex__door-cover-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background:
    radial-gradient(circle at 40% 30%, rgba(var(--hw-flame-rgb),  0.28), transparent 55%),
    linear-gradient(165deg, #2a1810, #0c0806);
}

.hw-communities-explore--commons .hw-cex__door-plate {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1rem 1.05rem;
  background: linear-gradient(180deg, rgba(12, 8, 6, 0.08), rgba(12, 8, 6, 0.72) 28%, rgba(12, 8, 6, 0.92));
}

.hw-communities-explore--commons .hw-cex__door--story .hw-cex__door-plate {
  margin-top: 0;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(28, 18, 13, 0.96), rgba(12, 8, 6, 0.98));
}

.hw-communities-explore--commons .hw-cex__door-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--hw-gold-rgb),  0.22);
  background: rgba(8, 5, 4, 0.45);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hw-gold, #e0c09a);
}

.hw-communities-explore--commons .hw-cex__door-badge--story {
  border-color: rgba(var(--hw-flame-rgb),  0.35);
  color: #ffc48a;
}

.hw-communities-explore--commons .hw-cex__door-genres {
  margin: 0;
  font-size: 0.74rem;
  color: var(--hw-cex-muted);
}

.hw-communities-explore--commons .hw-cex__door-title {
  margin: 0.1rem 0 0 !important;
  font-family: var(--hw-cex-serif) !important;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--hw-cex-ink) !important;
}

.hw-communities-explore--commons .hw-cex__door-copy {
  margin: 0.15rem 0 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
  color: rgba(234, 214, 194, 0.72) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hw-communities-explore--commons .hw-cex__door-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.hw-communities-explore--commons .hw-cex__door-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  font-size: 0.76rem;
  color: var(--hw-cex-muted);
}

.hw-communities-explore--commons .hw-cex__door-stats i {
  font-style: normal;
  opacity: 0.5;
}

.hw-communities-explore--commons .hw-cex__door-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--hw-flame-rgb),  0.55);
  background: linear-gradient(180deg, rgba(var(--hw-flame-rgb),  0.82), rgba(196, 88, 28, 0.7));
  color: var(--hw-text-strong, #fff8ef) !important;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(var(--hw-flame-rgb),  0.2);
  transition: filter 0.15s ease, border-color 0.15s ease;
}

.hw-communities-explore--commons .hw-cex__door-cta:hover {
  filter: brightness(1.06);
  border-color: rgba(255, 184, 120, 0.75);
}

.hw-communities-explore--commons .hw-cex__door-live {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: rgba(232, 160, 90, 0.82);
}

.hw-communities-explore--commons .hw-cex__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem;
  border: 1px dashed rgba(232, 196, 150, 0.22);
  border-radius: 14px;
  color: var(--hw-cex-muted);
  text-align: center;
}

@media (max-width: 1280px) {
  .hw-communities-explore--commons .hw-cex__grid--doors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hw-communities-explore--commons .hw-cex__grid--doors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hw-communities-explore--commons .hw-cex__hearths-rail {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 820px) {
  .hw-communities-explore--commons .hw-cex__mast {
    grid-template-columns: 1fr;
  }
  .hw-communities-explore--commons .hw-cex__pulse {
    justify-self: start;
  }
  .hw-communities-explore--commons .hw-cex__grid--doors {
    grid-template-columns: 1fr;
  }
  .hw-communities-explore--commons .hw-cex__door--story {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 240px;
  }
}

@media (max-width: 520px) {
  .hw-communities-explore--commons .hw-cex__door--story {
    grid-template-columns: 1fr;
  }
  .hw-communities-explore--commons .hw-cex__door-cover {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid rgba(232, 196, 150, 0.12);
  }
  .hw-communities-explore--commons .hw-cex__door-cover img,
  .hw-communities-explore--commons .hw-cex__door-cover-fallback {
    min-height: 160px;
    aspect-ratio: 16 / 9;
  }
}

/* Comments-only embed (Weekly Prompt entry reader, etc.) */
.hw-community--comments-only .hw-community__hero,
.hw-community--comments-only .hw-community__side-rail {
  display: none;
}

.hw-community--comments-only .hw-community__body {
  display: block;
  max-width: none;
  padding: 0;
  gap: 0;
}

.hw-community--comments-only .hw-community__stage {
  max-width: none;
}

.hw-community--comments-only .hw-community__topic-view {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* ============================================================
   Story discussion boards — ivory editorial (--hw-fe-*)
   Matches modern Communities / Suggestions; not dark cinema chrome.
============================================================ */

.hw-community.hw-community--story {
  --hw-c-text: var(--hw-fe-text, #211b16);
  --hw-c-muted: var(--hw-fe-muted, #8a8379);
  --hw-c-soft: var(--hw-fe-text-soft, #5c564e);
  --hw-c-line: var(--hw-fe-border, #e4ded4);
  --hw-c-panel: var(--hw-fe-panel-solid, #fcfaf7);
  --hw-c-panel-soft: var(--hw-fe-elevated, #fcfaf7);
  --hw-c-accent: var(--hw-fe-accent, #b85c3a);
  --hw-c-accent-soft: var(--hw-fe-accent-light, #c9724f);
  --hw-c-ember: var(--hw-fe-accent, #b85c3a);
  --hw-story-surface: var(--hw-fe-elevated, #fcfaf7);
  --hw-story-bg-soft: var(--hw-fe-bg-soft, #f1ebe2);
  --hw-story-ink: var(--hw-fe-text, #211b16);
  --hw-story-muted: var(--hw-fe-muted, #8a8379);
  --hw-story-soft: var(--hw-fe-text-soft, #5c564e);
  --hw-story-accent: var(--hw-fe-accent, #b85c3a);
  --hw-story-accent-rgb: var(--hw-fe-accent-rgb, 184, 92, 58);
  --hw-story-border: var(--hw-fe-border, #e4ded4);
  color: var(--hw-story-ink) !important;
  font-family: var(--hw-fe-font-ui, "DM Sans", "Segoe UI", system-ui, sans-serif);
  max-width: none;
}

body.hw-community-story-space {
  overflow-x: clip;
  background: var(--hw-fe-bg, #f7f3ed);
  background-color: var(--hw-fe-bg, #f7f3ed);
  color: var(--hw-fe-text, #211b16);
}

body.hw-community-story-space .site,
body.hw-community-story-space #wrapper,
body.hw-community-story-space #inner-wrap,
body.hw-community-story-space .content-wrap,
body.hw-community-story-space .content-bg,
body.hw-community-story-space .entry-content-wrap,
body.hw-community-story-space .entry-content,
body.hw-community-story-space .site-content,
body.hw-community-story-space .content-area,
body.hw-community-story-space .site-main,
body.hw-community-story-space main,
body.hw-community-story-space article.page,
body.hw-community-story-space .inside-article,
body.hw-community-story-space .site-container,
body.hw-community-story-space .content-container,
body.hw-community-story-space .container {
  background: transparent !important;
  max-width: none !important;
  width: 100% !important;
}

body.hw-community-story-space .entry-content-wrap,
body.hw-community-story-space .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hw-community--story.hw-community--space {
  background: transparent !important;
  color: var(--hw-story-ink) !important;
  padding: 0 0 3.25rem;
  max-width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
}

/* Editorial hero (replaces dark full-bleed cinema banner) */
.hw-community--story .hw-community__hero--editorial {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 0 1.25rem !important;
  min-height: 0;
  padding: 1.35rem 1.4rem 1.45rem !important;
  border-radius: var(--hw-fe-radius-xl, 20px);
  border: 1px solid var(--hw-story-border);
  overflow: hidden;
  align-items: flex-start;
  background:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(var(--hw-story-accent-rgb), 0.1), transparent 55%),
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(var(--hw-story-accent-rgb), 0.05), transparent 50%),
    linear-gradient(165deg, var(--hw-story-surface), var(--hw-story-bg-soft));
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-community--story .hw-community__hero--editorial.has-media .hw-community__hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.22;
  filter: saturate(0.85) contrast(1.02) brightness(1.05);
}

.hw-community--story .hw-community__hero--editorial .hw-community__hero-veil {
  background:
    linear-gradient(105deg, rgba(252, 250, 247, 0.94) 0%, rgba(252, 250, 247, 0.72) 48%, rgba(241, 235, 226, 0.88) 100%);
}

.hw-community--story .hw-community__hero--editorial .hw-community__hero-grain {
  opacity: 0.35;
}

.hw-community--story .hw-community__hero--editorial .hw-community__hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  gap: 0.45rem !important;
}

.hw-community--story .hw-community__kicker {
  color: var(--hw-story-accent) !important;
  font-size: 0.72rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.hw-community--story .hw-community__title {
  color: var(--hw-story-ink) !important;
  font-family: var(--hw-fe-font-display, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em !important;
  text-shadow: none !important;
}

.hw-community--story .hw-community__lede {
  color: var(--hw-story-muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  font-style: normal !important;
  max-width: 38rem;
}

.hw-community--story .hw-community__crumb,
.hw-community--story .hw-community__crumb a {
  color: var(--hw-story-soft) !important;
}

.hw-community--story .hw-community__crumb a:hover {
  color: var(--hw-story-accent) !important;
}

.hw-community--story .hw-community__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.hw-community--story .hw-community__cta-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1.1rem !important;
  border-radius: 11px !important;
  border: 0 !important;
  background: linear-gradient(180deg, var(--hw-fe-accent-light, #c9724f), var(--hw-fe-accent, #b85c3a)) !important;
  color: #fcfaf7 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: var(--hw-fe-shadow-fire, 0 8px 24px rgba(184, 92, 58, 0.18));
}

.hw-community--story .hw-community__cta-primary:hover,
.hw-community--story .hw-community__cta-primary:focus-visible {
  filter: brightness(1.05);
  color: #fff !important;
}

.hw-community--story .hw-community__cta-ghost {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  padding: 0 0.85rem !important;
  border-radius: 11px !important;
  border: 1px solid var(--hw-story-border) !important;
  background: transparent !important;
  color: var(--hw-story-soft) !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.hw-community--story .hw-community__cta-ghost:hover,
.hw-community--story .hw-community__cta-ghost:focus-visible {
  border-color: rgba(var(--hw-story-accent-rgb), 0.4) !important;
  color: var(--hw-story-ink) !important;
  background: rgba(var(--hw-story-accent-rgb), 0.06) !important;
}

.hw-community--story.hw-community--space .hw-community__body {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  gap: 1.15rem 1.35rem;
}

.hw-community--story .hw-community__stage {
  gap: 1rem;
}

.hw-community--story .hw-community__trustbar,
.hw-community--story.hw-community--space .hw-community__trustbar,
.hw-community--story.hw-community--compact.hw-community--polished .hw-community__trustbar {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.35rem !important;
  border-radius: 12px !important;
  border: 1px solid var(--hw-story-border) !important;
  background: var(--hw-story-surface) !important;
  color: var(--hw-story-soft) !important;
  backdrop-filter: none !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}

.hw-community--story .hw-community__trustbar .hw-community__trust-link {
  order: 1;
}

.hw-community--story .hw-community__trustbar .hw-community__rep {
  order: 2;
}

.hw-community--story .hw-community__trustbar .hw-community__rep,
.hw-community--story .hw-community__trustbar * {
  color: var(--hw-story-soft) !important;
}

.hw-community--story .hw-community__list-wrap,
.hw-community--story.hw-community--space .hw-community__list-wrap {
  margin: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--hw-fe-radius-lg, 16px);
  border: 1px solid var(--hw-story-border);
  background: var(--hw-story-surface);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
}

.hw-community--story .hw-community__section-title,
.hw-community--story.hw-community--space .hw-community__section-title {
  color: var(--hw-story-ink) !important;
  font-family: var(--hw-fe-font-display, "Playfair Display", Georgia, serif) !important;
  font-size: 1.2rem !important;
  font-weight: 650 !important;
}

.hw-community--story .hw-community__list-toolbar,
.hw-community--story.hw-community--space .hw-community__list-toolbar {
  border-bottom-color: var(--hw-story-border) !important;
}

.hw-community--story .hw-community__tag-chip,
.hw-community--story.hw-community--space .hw-community__tag-chip {
  border: 1px solid var(--hw-story-border) !important;
  background: transparent !important;
  color: var(--hw-story-soft) !important;
}

.hw-community--story .hw-community__tag-chip.is-active,
.hw-community--story .hw-community__tag-chip:hover,
.hw-community--story.hw-community--space .hw-community__tag-chip.is-active,
.hw-community--story.hw-community--space .hw-community__tag-chip:hover {
  border-color: transparent !important;
  background: rgba(var(--hw-story-accent-rgb), 0.12) !important;
  color: var(--hw-story-accent) !important;
}

.hw-community--story.hw-community--space:not(.hw-community--thread) .hw-community__topic-row {
  border-bottom-color: var(--hw-story-border) !important;
  color: var(--hw-story-ink) !important;
}

.hw-community--story.hw-community--space:not(.hw-community--thread) .hw-community__topic-row:hover {
  background: rgba(var(--hw-story-accent-rgb), 0.05) !important;
  border-bottom-color: rgba(var(--hw-story-accent-rgb), 0.28) !important;
}

.hw-community--story .hw-community__topic-title strong,
.hw-community--story .hw-community__topic-meta,
.hw-community--story .hw-community__topic-preview {
  color: var(--hw-story-ink) !important;
}

.hw-community--story .hw-community__topic-meta,
.hw-community--story .hw-community__topic-preview {
  color: var(--hw-story-muted) !important;
}

.hw-community--story .hw-community__tag {
  color: var(--hw-story-accent) !important;
}

.hw-community--story .hw-community__empty-state,
.hw-community--story.hw-community--space .hw-community__empty-state,
.hw-community.hw-community--story .hw-community__empty-state {
  border: 1px dashed rgba(var(--hw-story-accent-rgb), 0.35) !important;
  border-radius: 14px !important;
  background: rgba(var(--hw-story-accent-rgb), 0.06) !important;
  padding: 1.5rem 1rem !important;
  box-shadow: none !important;
}

.hw-community--story .hw-community__empty-kicker,
.hw-community--story.hw-community--space .hw-community__empty-kicker,
.hw-community.hw-community--story .hw-community__empty-kicker {
  color: var(--hw-story-accent) !important;
  font-family: var(--hw-fe-font-display, "Playfair Display", Georgia, serif) !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

.hw-community--story .hw-community__empty,
.hw-community--story .hw-community__empty-state p,
.hw-community.hw-community--story .hw-community__empty {
  color: var(--hw-story-muted) !important;
  font-style: normal !important;
}

.hw-community--story .hw-community__rail-card {
  border: 1px solid var(--hw-story-border) !important;
  background: var(--hw-story-surface) !important;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06)) !important;
}

.hw-community--story .hw-community__rail-title {
  color: var(--hw-story-accent) !important;
}

.hw-community--story .hw-community__rail-count,
.hw-community--story .hw-community__rail-empty,
.hw-community--story .hw-community__rules-list,
.hw-community--story .hw-community__rules-list li {
  color: var(--hw-story-soft) !important;
}

.hw-community--story .hw-community__rules-list li::marker {
  color: var(--hw-story-accent);
}

.hw-community--story .hw-community__composer,
.hw-community--story .hw-community__new-topic,
.hw-community--story .hw-community__reply-form,
.hw-community--story.hw-community--space .hw-community__composer--new,
.hw-community--story.hw-community--compact.hw-community--polished .hw-community__composer--new {
  border: 1px solid var(--hw-story-border) !important;
  border-top: 3px solid var(--hw-story-accent) !important;
  background: var(--hw-story-surface) !important;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06)) !important;
}

.hw-community--story .hw-community__form-title,
.hw-community--story.hw-community--space .hw-community__composer--new .hw-community__form-title,
.hw-community--story.hw-community--compact.hw-community--polished .hw-community__form-title {
  color: var(--hw-story-ink) !important;
  font-family: var(--hw-fe-font-display, "Playfair Display", Georgia, serif) !important;
}

.hw-community--story .hw-community__new-topic label,
.hw-community--story .hw-community__reply-form label {
  color: var(--hw-story-soft) !important;
}

.hw-community--story .hw-community__new-topic input,
.hw-community--story .hw-community__new-topic textarea,
.hw-community--story .hw-community__new-topic select,
.hw-community--story .hw-community__reply-form textarea,
.hw-community--story.hw-community--compact.hw-community--polished .hw-community__new-topic textarea,
.hw-community--story.hw-community--compact.hw-community--polished .hw-community__new-topic input,
.hw-community--story.hw-community--compact.hw-community--polished .hw-community__new-topic select {
  color-scheme: light;
  background: var(--hw-story-bg-soft) !important;
  border: 1px solid var(--hw-story-border) !important;
  color: var(--hw-story-ink) !important;
  caret-color: var(--hw-story-ink) !important;
  border-radius: 11px !important;
}

.hw-community--story .hw-community__new-topic select option,
.hw-community--story .hw-community__new-topic optgroup {
  background: var(--hw-story-surface, #fcfaf7);
  color: var(--hw-story-ink, #211b16);
}

.hw-community--story .hw-community__new-topic input::placeholder,
.hw-community--story .hw-community__new-topic textarea::placeholder {
  color: var(--hw-story-muted) !important;
  opacity: 0.95;
}

.hw-community--story .hw-community__new-topic input:focus,
.hw-community--story .hw-community__new-topic textarea:focus,
.hw-community--story .hw-community__new-topic select:focus,
.hw-community--story .hw-community__reply-form textarea:focus {
  outline: none;
  border-color: rgba(var(--hw-story-accent-rgb), 0.5) !important;
  box-shadow: 0 0 0 2px rgba(var(--hw-story-accent-rgb), 0.16) !important;
  background: var(--hw-story-surface) !important;
}

.hw-community--story .hw-community__new-topic button,
.hw-community--story .hw-community__composer button[type="submit"] {
  background: linear-gradient(180deg, var(--hw-fe-accent-light, #c9724f), var(--hw-fe-accent, #b85c3a)) !important;
  color: #fcfaf7 !important;
  border: 0 !important;
  border-radius: 11px !important;
}

/* Compact story tab on the story page � elevated ivory cards on cinematic chrome */
.hw-community--story.hw-community--compact.hw-community--polished {
  color: var(--hw-story-ink) !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__hero,
.hw-community--story.hw-community--compact.hw-community--polished .hw-community__hero--quiet,
.hw-community--story.hw-community--compact.hw-community--polished .hw-community__intro {
  border: 1px solid var(--hw-story-border) !important;
  background:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(var(--hw-story-accent-rgb), 0.1), transparent 55%),
    linear-gradient(165deg, var(--hw-story-surface), var(--hw-story-bg-soft)) !important;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06)) !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__intro-glow {
  background: radial-gradient(ellipse 55% 70% at 8% 0%, rgba(var(--hw-story-accent-rgb), 0.12), transparent 60%);
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__kicker {
  color: var(--hw-story-accent) !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__title {
  color: var(--hw-story-ink) !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__lede {
  color: var(--hw-story-muted) !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__pulse-chip {
  background: var(--hw-story-surface) !important;
  border: 1px solid var(--hw-story-border) !important;
  color: var(--hw-story-ink) !important;
  backdrop-filter: none !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__pulse-chip strong {
  color: var(--hw-story-ink) !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__pulse-chip span {
  color: var(--hw-story-muted) !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__topic-row {
  border: 1px solid var(--hw-story-border) !important;
  background: var(--hw-story-surface) !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__topic-row:hover {
  border-color: rgba(var(--hw-story-accent-rgb), 0.35) !important;
  background: #fff !important;
}

.hw-community--story.hw-community--compact.hw-community--polished .hw-community__empty,
.hw-community--story.hw-community--compact.hw-community--polished .hw-community__empty-kicker {
  color: var(--hw-story-muted) !important;
}

/* Hardcoded dark-theme text → ivory ink */
.hw-community--story .hw-community__topic-title strong,
.hw-community--story .hw-community__post-body,
.hw-community--story .hw-community__post-body p,
.hw-community--story .hw-community-votes__score,
.hw-community--story .hw-community__author,
.hw-community--story .hw-community__author a {
  color: var(--hw-story-ink) !important;
}

.hw-community--story .hw-community__topic-meta,
.hw-community--story .hw-community__topic-preview,
.hw-community--story .hw-community__post-meta,
.hw-community--story .hw-community-votes__btn {
  color: var(--hw-story-muted) !important;
}

.hw-community--story .hw-community-votes__btn.is-active,
.hw-community--story .hw-community-votes__btn:hover {
  color: var(--hw-story-accent) !important;
}

.hw-community--story .hw-community__post,
.hw-community--story .hw-community__topic-view,
.hw-community--story .hw-community__reply {
  border-color: var(--hw-story-border) !important;
  background: var(--hw-story-surface) !important;
  color: var(--hw-story-ink) !important;
}

.hw-community--story .hw-community__post--op {
  border-color: rgba(var(--hw-story-accent-rgb), 0.28) !important;
  background: rgba(var(--hw-story-accent-rgb), 0.04) !important;
}

.hw-community--story .hw-community__replies--nested {
  border-left-color: rgba(var(--hw-story-accent-rgb), 0.28) !important;
}

.hw-community--story .hw-community__member,
.hw-community--story .hw-community__member a {
  color: var(--hw-story-ink) !important;
}

@media (max-width: 900px) {
  .hw-community--story.hw-community--space .hw-community__body {
    grid-template-columns: 1fr !important;
  }

  .hw-community--story .hw-community__rail {
    position: static;
  }
}
