:root {
  --community-bg: #090d13;
  --community-panel: rgba(18, 23, 32, 0.9);
  --community-panel-strong: rgba(22, 28, 39, 0.97);
  --community-soft: rgba(255, 255, 255, 0.045);
  --community-border: rgba(255, 255, 255, 0.085);
  --community-border-gold: rgba(210, 161, 95, 0.32);
  --community-gold: #d2a15f;
  --community-gold-light: #f1d09a;
  --community-blue: #79aff3;
  --community-text: #f5f7fb;
  --community-muted: #aab3c1;
  --community-danger: #d77b7b;
  --community-radius: 22px;
  --community-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

body.community-page {
  color: var(--community-text);
  background:
    radial-gradient(circle at 10% 5%, rgba(210, 161, 95, 0.1), transparent 28rem),
    radial-gradient(circle at 92% 14%, rgba(90, 167, 255, 0.08), transparent 32rem),
    linear-gradient(180deg, #080b11, #0b1017 55%, #080b11);
}

.community-admin-bypass {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1480px, calc(100% - clamp(32px, 5vw, 72px)));
  margin: 16px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(210, 161, 95, 0.3);
  border-radius: 14px;
  background: rgba(210, 161, 95, 0.09);
  color: var(--community-gold-light);
}

.community-admin-bypass > i {
  flex: 0 0 auto;
  font-size: 1.25rem;
}

.community-admin-bypass > div {
  display: grid;
  gap: 2px;
}

.community-admin-bypass strong {
  color: #fff;
  font-size: 0.9rem;
}

.community-admin-bypass span {
  color: var(--community-muted);
  font-size: 0.8rem;
}

.community-giveaway-page .community-admin-bypass,
.community-moderation-page .community-admin-bypass,
.community-messages-page .community-admin-bypass,
.community-notifications-page .community-admin-bypass,
.community-topic-page .community-admin-bypass {
  max-width: 1480px;
}

.community-shell {
  width: min(1480px, calc(100% - clamp(32px, 5vw, 72px)));
  margin: 0 auto;
  padding: clamp(20px, 2.5vw, 30px) 0 clamp(56px, 6vw, 78px);
}

.community-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: center;
  min-height: 0;
  padding: clamp(22px, 3.5vw, 38px);
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 25px;
  background:
    radial-gradient(circle at 84% 20%, rgba(121, 175, 243, 0.15), transparent 25rem),
    linear-gradient(125deg, rgba(210, 161, 95, 0.16), rgba(18, 24, 34, 0.95) 48%, rgba(9, 13, 20, 0.98));
  box-shadow: var(--community-shadow);
}

.community-hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: -175px;
  right: 9%;
  border: 1px solid rgba(210, 161, 95, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(210, 161, 95, 0.025), 0 0 0 90px rgba(121, 175, 243, 0.02);
}

.community-hero__content,
.community-hero__stats {
  position: relative;
  z-index: 1;
}

.community-eyebrow,
.community-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--community-gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.community-hero h1 {
  max-width: 1000px;
  margin: 12px 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  font-weight: 880;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.community-hero__content > p {
  max-width: 900px;
  margin: 0;
  color: var(--community-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.community-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.community-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--community-border);
  border-radius: 18px;
  background: rgba(8, 12, 19, 0.64);
  backdrop-filter: blur(12px);
}

.community-hero__stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 14px 7px;
  text-align: center;
}

.community-hero__stats strong {
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1;
}

.community-hero__stats span {
  margin-top: 7px;
  overflow: hidden;
  color: var(--community-muted);
  font-size: 0.73rem;
  text-overflow: ellipsis;
}

.community-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--community-border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--community-text);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.community-btn:hover {
  border-color: var(--community-border-gold);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translateY(-1px);
}

.community-btn--primary {
  border-color: rgba(242, 208, 154, 0.38);
  background: linear-gradient(135deg, var(--community-gold-light), var(--community-gold));
  color: #11151c;
  box-shadow: 0 13px 28px rgba(210, 161, 95, 0.18);
}

.community-btn--primary:hover {
  background: linear-gradient(135deg, #ffe2b1, #d9a965);
  color: #080b10;
  box-shadow: 0 16px 36px rgba(210, 161, 95, 0.26);
}

.community-btn--wide {
  width: 100%;
}

.community-btn--following {
  border-color: rgba(121, 175, 243, 0.28);
  background: rgba(121, 175, 243, 0.11);
  color: #cbe1ff;
}

.community-alert {
  margin: 18px 0;
  padding: 14px 18px;
  border: 1px solid rgba(121, 175, 243, 0.25);
  border-radius: 14px;
  background: rgba(121, 175, 243, 0.09);
  color: #d7e8ff;
}

.community-alert--success {
  border-color: rgba(91, 197, 132, 0.28);
  background: rgba(91, 197, 132, 0.1);
  color: #c9f3d9;
}

.community-alert--danger {
  border-color: rgba(215, 123, 123, 0.3);
  background: rgba(215, 123, 123, 0.1);
  color: #ffd5d5;
}

/* Composer */
.community-compose {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  margin: 20px 0;
  padding: 15px;
  border: 1px solid var(--community-border);
  border-radius: 18px;
  background: rgba(15, 20, 29, 0.86);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.16);
}

.community-compose__avatar img,
.community-reply-box__head img {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  object-fit: cover;
}

.community-compose__details > summary {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--community-border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--community-muted);
  cursor: text;
  list-style: none;
}

.community-compose__details > summary::-webkit-details-marker {
  display: none;
}

.community-compose__details[open] > summary {
  margin-bottom: 16px;
  border-color: var(--community-border-gold);
  color: var(--community-text);
}

.community-form {
  display: grid;
  gap: 14px;
}

.community-form__row {
  display: grid;
  grid-template-columns: minmax(210px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
}

.community-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.community-form label > span,
.community-reply-box__head span {
  color: var(--community-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.community-form input,
.community-form select,
.community-form textarea,
.community-search input {
  width: 100%;
  border: 1px solid var(--community-border);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--community-text);
}

.community-form input,
.community-form select {
  min-height: 46px;
  padding: 10px 13px;
}

.community-form textarea {
  min-height: 130px;
  padding: 13px;
  line-height: 1.6;
  resize: vertical;
}

.community-form input:focus,
.community-form select:focus,
.community-form textarea:focus,
.community-search input:focus {
  border-color: rgba(210, 161, 95, 0.55);
  box-shadow: 0 0 0 4px rgba(210, 161, 95, 0.09);
}

.community-form select option {
  background: #121821;
}

.community-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.community-form__footer small {
  color: var(--community-muted);
}

/* Feed */
.community-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.community-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
}

.community-sidebar__block,
.community-side-card {
  padding: 13px;
  border: 1px solid var(--community-border);
  border-radius: 18px;
  background: rgba(15, 20, 29, 0.86);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.17);
}

.community-sidebar__block h2,
.community-side-card h2 {
  margin: 4px 7px 10px;
  color: #fff;
  font-size: 0.87rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.community-category {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border-radius: 11px;
  color: var(--community-muted);
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.community-category i {
  width: 20px;
  color: #8794a8;
  text-align: center;
}

.community-category:hover,
.community-category.is-active {
  background: rgba(210, 161, 95, 0.11);
  color: var(--community-gold-light);
  transform: translateX(2px);
}

.community-category.is-active i {
  color: var(--community-gold);
}

.community-rules {
  padding: 18px;
}

.community-rules h2 {
  margin-left: 0;
}

.community-rules p {
  margin: 0 0 10px;
  color: var(--community-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.community-rules a {
  color: var(--community-gold-light);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.community-feed {
  min-width: 0;
}

.community-feed__toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.community-feed__toolbar h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.community-search {
  position: relative;
  width: min(380px, 100%);
}

.community-search i {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--community-muted);
  transform: translateY(-50%);
}

.community-search input {
  min-height: 45px;
  padding: 10px 14px 10px 41px;
}

.community-feed-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 11px 12px 11px 15px;
  border: 1px solid var(--community-border);
  border-radius: 14px;
  background: rgba(15, 20, 29, 0.66);
}

.community-feed-sortbar__label {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--community-text);
}

.community-feed-sortbar__label > i {
  color: var(--community-gold-light);
  font-size: 1.05rem;
}

.community-feed-sortbar__label span {
  display: grid;
  gap: 2px;
}

.community-feed-sortbar__label strong {
  font-size: 0.82rem;
}

.community-feed-sortbar__label small {
  color: var(--community-muted);
  font-size: 0.72rem;
}

.community-sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(390px, 100%);
}

.community-sort-form > .form-select,
.community-sort-form > .pretty-select {
  width: 100%;
  min-width: 0;
}

.community-sort-form .pretty-select__trigger,
.community-sort-form > .form-select {
  min-height: 42px;
  border-radius: 11px;
}

.community-sort-form__submit {
  min-height: 42px;
  padding: 8px 12px;
  white-space: nowrap;
}

.community-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 16px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--community-border);
  border-radius: 14px;
  background: rgba(15, 20, 29, 0.66);
}

.community-tabs a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--community-muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.community-tabs a:hover,
.community-tabs a.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.community-primary-navigation {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 9px;
  border: 1px solid var(--community-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(10, 15, 22, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.community-primary-navigation__label {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  min-width: 150px;
  padding: 9px 13px;
  border-right: 1px solid var(--community-border);
  color: var(--community-gold-light);
}

.community-primary-navigation__label > i {
  font-size: 1.15rem;
}

.community-primary-navigation__label > span {
  display: grid;
  gap: 1px;
}

.community-primary-navigation__label strong {
  color: #fff;
  font-size: 0.82rem;
}

.community-primary-navigation__label small {
  color: var(--community-muted);
  font-size: 0.68rem;
}

.community-primary-tabs {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.community-primary-tabs a {
  display: flex;
  flex: 1 1 0;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #aab3c0;
}

.community-primary-tabs a:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.community-primary-tabs a.is-active {
  border-color: rgba(210, 161, 95, 0.34);
  background: linear-gradient(180deg, rgba(210, 161, 95, 0.16), rgba(210, 161, 95, 0.07));
  color: #fff2dd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.community-primary-tabs a > i {
  color: var(--community-gold-light);
  font-size: 1rem;
}

.community-primary-tabs a > strong {
  display: inline-grid;
  min-width: 21px;
  min-height: 21px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: var(--community-gold);
  color: #11151c;
  font-size: 0.68rem;
}

.community-secondary-navigation {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 16px;
  padding: 8px 10px;
  border: 1px solid var(--community-border);
  border-radius: 15px;
  background: rgba(12, 17, 25, 0.7);
}

.community-secondary-navigation__label {
  flex: 0 0 auto;
  padding: 0 8px;
  color: #7f8a99;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.community-secondary-navigation .community-tabs {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.community-moderation-navigation {
  border-color: rgba(210, 161, 95, 0.2);
  background: rgba(210, 161, 95, 0.045);
}

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

.community-topic-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 120px;
  gap: 15px;
  align-items: start;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 26, 36, 0.94), rgba(12, 16, 24, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
  cursor: pointer;
}

.community-topic-card__link {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
}

.community-topic-card__link:focus-visible {
  outline: 2px solid var(--community-gold-light);
  outline-offset: -4px;
}

.community-topic-card__main a,
.community-topic-card__activity {
  position: relative;
  z-index: 2;
}

.community-topic-card.has-moderation {
  overflow: visible;
}

.community-topic-card:has(.community-topic-card__moderation[open]) {
  z-index: 10;
}

.community-topic-card:focus-within {
  z-index: 10;
}

.community-topic-card.has-moderation .community-topic-card__activity {
  padding-top: 34px;
}

.community-topic-card__moderation {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
}

.community-topic-card__moderation > summary {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(210, 161, 95, 0.22);
  border-radius: 9px;
  background: rgba(15, 20, 29, 0.96);
  color: var(--community-gold-light);
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.community-topic-card__moderation > summary::-webkit-details-marker {
  display: none;
}

.community-topic-card__moderation[open] > summary,
.community-topic-card__moderation > summary:hover {
  border-color: rgba(210, 161, 95, 0.45);
  background: #1c1a18;
}

.community-topic-card__moderation > div {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  display: grid;
  gap: 4px;
  width: min(245px, 82vw);
  padding: 7px;
  border: 1px solid var(--community-border-gold);
  border-radius: 12px;
  background: #10161f;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.46);
}

.community-topic-card__moderation form {
  margin: 0;
}

.community-topic-card__moderation button {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--community-text);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.community-topic-card__moderation button:hover {
  background: rgba(210, 161, 95, 0.1);
  color: var(--community-gold-light);
}

.community-topic-card__moderation button.is-danger {
  color: #f2a5a8;
}

.community-topic-card__moderation button.is-danger:hover {
  background: rgba(218, 86, 93, 0.12);
  color: #ffc2c4;
}

.community-topic-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  opacity: 0;
  background: linear-gradient(var(--community-gold-light), var(--community-blue));
  transition: opacity 170ms ease;
}

.community-topic-card:hover,
.community-topic-card:focus-within {
  border-color: rgba(210, 161, 95, 0.27);
  box-shadow: 0 20px 43px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.community-topic-card:hover::before,
.community-topic-card:focus-within::before,
.community-topic-card.is-pinned::before {
  opacity: 1;
}

.community-topic-card__avatar img {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
}

.community-topic-card__main {
  min-width: 0;
}

.community-topic-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.community-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(121, 175, 243, 0.15);
  border-radius: 999px;
  background: rgba(121, 175, 243, 0.075);
  color: #c6d8ef;
  font-size: 0.69rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.community-chip:hover {
  color: #fff;
}

.community-chip--pin {
  border-color: rgba(210, 161, 95, 0.25);
  background: rgba(210, 161, 95, 0.1);
  color: var(--community-gold-light);
}

.community-topic-card h3 {
  margin: 0 0 7px;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.3;
}

.community-topic-card h3 a {
  color: #fff;
  text-decoration: none;
}

.community-topic-card h3 a:hover,
.community-topic-card:hover h3 a,
.community-topic-card:focus-within h3 a {
  color: var(--community-gold-light);
}

.community-topic-card__main > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--community-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-topic-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
  color: #808b9c;
  font-size: 0.74rem;
}

.community-topic-card__footer strong {
  color: #bdc6d4;
}

.community-topic-card__activity {
  display: grid;
  gap: 7px;
  padding-left: 14px;
  border-left: 1px solid var(--community-border);
  color: var(--community-muted);
  font-size: 0.72rem;
  text-decoration: none;
}

.community-topic-card__activity span {
  display: grid;
  grid-template-columns: 18px 26px 1fr;
  align-items: center;
}

.community-topic-card__activity strong {
  color: #fff;
  font-size: 0.78rem;
}

.community-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 40px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(15, 20, 29, 0.66);
  text-align: center;
}

.community-empty--compact {
  min-height: 260px;
}

.community-empty > i {
  margin-bottom: 15px;
  color: var(--community-gold);
  font-size: 2.5rem;
}

.community-empty h1,
.community-empty h2,
.community-empty h3 {
  margin: 0 0 8px;
  color: #fff;
}

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

.community-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.community-pagination a,
.community-pagination span {
  padding: 9px 13px;
  border: 1px solid var(--community-border);
  border-radius: 11px;
  color: var(--community-muted);
  text-decoration: none;
}

.community-pagination a:hover {
  color: #fff;
  border-color: var(--community-border-gold);
}

/* Topic page */
.community-shell--topic {
  max-width: 1480px;
}

.community-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(14px, 2vw, 20px);
  color: #778295;
  font-size: 0.82rem;
}

.community-breadcrumb a {
  color: var(--community-muted);
  text-decoration: none;
}

.community-breadcrumb a:hover {
  color: var(--community-gold-light);
}

.community-thread-head {
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid var(--community-border);
  border-radius: 25px;
  background:
    radial-gradient(circle at 92% 12%, rgba(121, 175, 243, 0.12), transparent 22rem),
    linear-gradient(125deg, rgba(210, 161, 95, 0.12), rgba(14, 19, 28, 0.96) 55%);
  box-shadow: var(--community-shadow);
}

.community-thread-head__meta,
.community-thread-head__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
}

.community-thread-head h1 {
  max-width: 1000px;
  margin: 12px 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  font-weight: 880;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.community-thread-head__stats {
  color: var(--community-muted);
  font-size: 0.82rem;
}

.community-thread-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.community-thread {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.community-post {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(20, 26, 36, 0.95), rgba(12, 16, 24, 0.97));
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  scroll-margin-top: 110px;
}

.community-post--original {
  border-color: rgba(210, 161, 95, 0.22);
}

.community-post__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 24px 14px;
  border-right: 1px solid var(--community-border);
  background: rgba(255, 255, 255, 0.022);
  text-align: center;
}

.community-post__author img {
  width: 68px;
  height: 68px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.community-post__avatar {
  position: relative;
  display: block;
  width: 68px;
  height: 68px;
  margin-bottom: 5px;
}

.community-post__avatar > i {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border: 3px solid #151b25;
  border-radius: 50%;
  background: #50d389;
  box-shadow: 0 0 0 4px rgba(80, 211, 137, 0.12);
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 160ms ease, transform 160ms ease;
}

.community-post__avatar.is-online > i {
  opacity: 1;
  transform: scale(1);
}

.community-post__author strong,
.community-post__author-link {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 750;
  text-decoration: none;
  text-overflow: ellipsis;
}

.community-post__author-link:hover,
.community-post__author-link:focus-visible {
  color: var(--community-gold-light);
  text-decoration: none;
}

.community-post__author-link:focus-visible {
  border-radius: 4px;
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.community-post__role {
  color: var(--community-gold-light);
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.community-post__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 22px 15px;
}

.community-post__content > header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--community-border);
  color: #7e899a;
  font-size: 0.74rem;
}

.community-post__content > header a {
  color: #8794a8;
  text-decoration: none;
}

.community-post__content > header .community-post__reply-target {
  color: #bad8ff;
  font-weight: 800;
}

.community-post__body {
  flex: 1;
  padding: 20px 0 28px;
  color: #e6ebf3;
  font-size: 0.94rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.community-post__body p:last-child {
  margin-bottom: 0;
}

.community-post__body a {
  color: var(--community-gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(241, 208, 154, 0.35);
  text-underline-offset: 3px;
}

.community-post__body code {
  padding: 2px 6px;
  border: 1px solid var(--community-border);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  color: #d7e7fa;
}

.community-post__body blockquote {
  margin: 10px 0;
  padding: 10px 14px;
  border-left: 3px solid var(--community-gold);
  border-radius: 0 10px 10px 0;
  background: rgba(210, 161, 95, 0.075);
  color: #cbd3df;
}

.community-post__body .community-reply-reference {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  padding: 11px 13px;
  overflow: hidden;
  border: 1px solid rgba(121, 175, 243, 0.2);
  border-left: 3px solid #79aff3;
  border-radius: 10px;
  background: rgba(121, 175, 243, 0.07);
  color: #d9e8fb;
  text-decoration: none;
}

.community-reply-reference span {
  color: #a9bfdc;
  font-size: 0.74rem;
}

.community-reply-reference span i,
.community-reply-reference strong {
  color: #bad8ff;
}

.community-reply-reference small {
  overflow: hidden;
  color: #8f9bad;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-mention {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(121, 175, 243, 0.12);
  color: #bad8ff;
  font-weight: 750;
  text-decoration: none;
}

.community-mention:hover,
.community-mention:focus-visible {
  background: rgba(121, 175, 243, 0.22);
  color: #e4f0ff;
}

.community-post__body a.community-mention,
.community-post__body a.community-mention:visited,
.community-post__body a.community-mention:hover,
.community-post__body a.community-mention:focus-visible {
  text-decoration: none;
}

.community-post__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 13px;
  border-top: 1px solid var(--community-border);
}

.community-post__actions form {
  margin: 0;
}

.community-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--community-muted);
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.community-action:hover,
.community-action.is-active {
  background: rgba(210, 161, 95, 0.09);
  color: var(--community-gold-light);
}

.community-action--danger:hover {
  background: rgba(215, 123, 123, 0.1);
  color: #f1aaaa;
}

.community-reply-box {
  padding: 22px;
  border: 1px solid var(--community-border);
  border-radius: 19px;
  background: rgba(16, 21, 30, 0.9);
  text-align: center;
}

.community-reply-box > i {
  color: var(--community-gold);
  font-size: 2rem;
}

.community-reply-box > h2 {
  margin: 9px 0 5px;
  color: #fff;
}

.community-reply-box > p {
  color: var(--community-muted);
}

.community-reply-box__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  text-align: left;
}

.community-reply-box__head div {
  display: flex;
  flex-direction: column;
}

.community-reply-box__head strong {
  color: #fff;
}

.community-reply-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(121, 175, 243, 0.22);
  border-left: 3px solid #79aff3;
  border-radius: 11px;
  background: rgba(121, 175, 243, 0.07);
  text-align: left;
}

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

.community-reply-context > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.community-reply-context span {
  color: #a9bfdc;
  font-size: 0.76rem;
}

.community-reply-context strong,
.community-reply-context i {
  color: #bad8ff;
}

.community-reply-context small {
  overflow: hidden;
  color: #8f9bad;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-reply-context button {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--community-muted);
  cursor: pointer;
}

.community-reply-context button:hover {
  background: rgba(215, 123, 123, 0.12);
  color: #f1aaaa;
}

.community-thread-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 13px;
}

.community-participants,
.community-moderation {
  display: grid;
  gap: 7px;
}

.community-participants > div,
.community-participants > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 7px;
  border-radius: 10px;
  color: var(--community-muted);
  text-decoration: none;
}

.community-participants > div:hover,
.community-participants > a:hover,
.community-participants > a:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}

.community-participants img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.community-participants span {
  overflow: hidden;
  color: #dce2eb;
  font-size: 0.8rem;
  text-overflow: ellipsis;
}

.community-participants small {
  color: #788496;
}

/* Publications sociales, annonces et médias */
.community-form__row--three {
  grid-template-columns: minmax(170px, 0.3fr) minmax(190px, 0.3fr) minmax(260px, 1fr);
}

.community-listing-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(210, 161, 95, 0.2);
  border-radius: 14px;
  background: rgba(210, 161, 95, 0.06);
}

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

.community-upload-field {
  display: grid;
  gap: 7px;
  justify-self: start;
  width: 100%;
  max-width: 540px;
  min-width: 0;
  text-align: left;
}

.community-upload-field > span {
  color: var(--community-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.community-page .file-upload {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-width: 0;
}

.community-page .file-upload__input {
  position: absolute;
  inset: 0;
  width: 0;
  height: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.community-page .file-upload__label {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 56px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 126, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  color: var(--community-text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.community-page .file-upload__label:hover {
  border-color: rgba(200, 169, 126, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
}

.community-page .file-upload__button {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  flex: 0 0 92px;
  min-height: 100%;
  padding: 0 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(200, 169, 126, 0.1), rgba(200, 169, 126, 0.05)),
    rgba(255, 255, 255, 0.025);
  color: #f5e7d3;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  transition: background 0.2s ease, color 0.2s ease;
}

.community-page .file-upload__label:hover .file-upload__button {
  background:
    linear-gradient(180deg, rgba(200, 169, 126, 0.14), rgba(200, 169, 126, 0.08)),
    rgba(255, 255, 255, 0.03);
  color: #fff0da;
}

.community-page .file-upload__text {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: 0 0.9rem;
  overflow: hidden;
  color: var(--community-text);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.community-page .file-upload__input:focus + .file-upload__label {
  border-color: rgba(200, 169, 126, 0.35);
  box-shadow:
    0 0 0 0.2rem rgba(200, 169, 126, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.community-upload-field small,
.community-follow-help {
  color: var(--community-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.community-upload-field small {
  width: 100%;
  text-align: left;
}

@media (max-width: 575px) {
  .community-page .file-upload__label {
    min-height: 52px;
  }

  .community-page .file-upload__button {
    flex-basis: 88px;
    padding: 0 0.7rem;
    font-size: 0.92rem;
  }

  .community-page .file-upload__text {
    padding: 0 0.75rem;
    font-size: 0.95rem;
  }
}

.community-marketplace-safety {
  border-color: rgba(210, 161, 95, 0.23);
  background: rgba(210, 161, 95, 0.055);
}

.community-marketplace-safety p {
  margin: 0;
  color: var(--community-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.community-follow-help {
  display: block;
  padding: 7px 6px 0;
  text-align: center;
}

.community-upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-upload-preview:empty {
  display: none;
}

.community-upload-preview img {
  width: 94px;
  height: 72px;
  border: 1px solid var(--community-border);
  border-radius: 10px;
  object-fit: cover;
}

.community-chip--listing {
  border-color: rgba(121, 175, 243, 0.28);
  background: rgba(121, 175, 243, 0.12);
  color: #d6e8ff;
}

.community-chip--price {
  border-color: rgba(103, 205, 143, 0.3);
  background: rgba(103, 205, 143, 0.11);
  color: #bff1d2;
}

.community-topic-card__preview {
  display: block;
  width: min(360px, 100%);
  margin: 3px 0 12px;
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 13px;
  aspect-ratio: 16 / 8;
  background: #090d13;
}

.community-topic-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.community-topic-card__preview:hover img {
  transform: scale(1.025);
}

.community-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.community-gallery--1 {
  grid-template-columns: minmax(0, 620px);
}

.community-gallery a {
  display: block;
  min-height: 180px;
  max-height: 430px;
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 14px;
  background: #090d13;
}

.community-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 430px;
  object-fit: cover;
  transition: filter 180ms ease, transform 220ms ease;
}

.community-gallery a:hover img {
  filter: brightness(1.08);
  transform: scale(1.015);
}

.community-embeds,
.community-link-previews {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.community-video {
  position: relative;
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 15px;
  background: #030507;
  aspect-ratio: 16 / 9;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.24);
}

.community-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.community-link-card {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  width: min(760px, 100%);
  min-height: 120px;
  overflow: hidden;
  border: 1px solid var(--community-border) !important;
  border-radius: 14px;
  background: rgba(8, 12, 18, 0.62);
  color: inherit !important;
  text-decoration: none !important;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.community-link-card:hover {
  border-color: var(--community-border-gold) !important;
  background: rgba(15, 20, 29, 0.9);
  transform: translateY(-1px);
}

.community-link-card > img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  max-height: 180px;
  object-fit: cover;
}

.community-link-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 14px 16px;
}

.community-link-card__content small {
  overflow: hidden;
  color: var(--community-gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.community-link-card__content strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-link-card__content > span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--community-muted);
  font-size: 0.76rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-reactions {
  position: relative;
}

.community-reactions > summary {
  list-style: none;
}

.community-reactions > summary::-webkit-details-marker {
  display: none;
}

.community-reactions > form {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 8px);
  left: 0;
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: min(470px, 82vw);
  padding: 7px;
  border: 1px solid var(--community-border-gold);
  border-radius: 14px;
  background: rgba(13, 18, 26, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.community-reactions > form button {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1px 5px;
  align-items: center;
  min-width: 54px;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--community-muted);
  cursor: pointer;
}

.community-reactions > form button > span {
  grid-row: 1 / 3;
  font-size: 1.35rem;
  transition: transform 150ms ease;
}

.community-reactions > form button small {
  display: none;
}

.community-reactions > form button strong {
  font-size: 0.68rem;
}

.community-reactions > form button:hover,
.community-reactions > form button.is-active {
  background: rgba(210, 161, 95, 0.12);
  color: var(--community-gold-light);
}

.community-reactions > form button:hover > span {
  transform: translateY(-2px) scale(1.15);
}

.community-report-control {
  position: relative;
}

.community-report-control > summary {
  list-style: none;
}

.community-report-control > summary::-webkit-details-marker {
  display: none;
}

.community-report-control > form {
  position: absolute;
  z-index: 22;
  bottom: calc(100% + 8px);
  left: 0;
  display: grid;
  gap: 9px;
  width: min(340px, 82vw);
  padding: 14px;
  border: 1px solid var(--community-border);
  border-radius: 14px;
  background: rgba(13, 18, 26, 0.99);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.community-report-control > form strong {
  color: #fff;
  font-size: 0.82rem;
}

.community-report-control select,
.community-report-control textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--community-border);
  border-radius: 9px;
  outline: 0;
  background: #171d27;
  color: var(--community-text);
}

.community-report-control textarea {
  resize: vertical;
}

.community-edit-control {
  position: relative;
}

.community-edit-control > summary {
  list-style: none;
}

.community-edit-control > summary::-webkit-details-marker {
  display: none;
}

.community-edit-control[open] {
  flex: 1 0 100%;
  order: 20;
  padding-top: 9px;
}

.community-edit-control[open] > summary {
  width: max-content;
  margin-bottom: 9px;
  background: rgba(210, 161, 95, 0.09);
  color: var(--community-gold-light);
}

.community-edit-control > form {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--community-border-gold);
  border-radius: 14px;
  background: rgba(13, 18, 26, 0.88);
}

.community-edit-control label {
  display: grid;
  gap: 6px;
}

.community-edit-control label > span {
  color: var(--community-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.community-edit-control input,
.community-edit-control textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--community-border);
  border-radius: 10px;
  outline: 0;
  background: #171d27;
  color: var(--community-text);
  font: inherit;
}

.community-edit-control input:focus,
.community-edit-control textarea:focus {
  border-color: var(--community-gold);
  box-shadow: 0 0 0 3px rgba(210, 161, 95, 0.1);
}

.community-edit-control textarea {
  min-height: 130px;
  resize: vertical;
}

.community-edit-control__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.community-btn--danger {
  border-color: rgba(239, 91, 91, 0.45);
  background: rgba(139, 35, 35, 0.22);
  color: #ffd2d2;
}

.community-btn--danger:hover {
  border-color: rgba(239, 91, 91, 0.72);
  background: rgba(164, 42, 42, 0.34);
  color: #fff;
}

.community-moderation-head p {
  max-width: 760px;
  margin: 9px 0 0;
  color: var(--community-muted);
}

.community-moderation-tabs {
  margin-top: 0;
}

.community-moderation-tabs strong {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  margin-left: 6px;
  place-items: center;
  border-radius: 999px;
  background: rgba(210, 161, 95, 0.13);
  color: var(--community-gold-light);
  font-size: 0.72rem;
}

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

.community-report-list {
  display: grid;
  gap: 15px;
}

.community-report-card {
  padding: 20px;
  border: 1px solid var(--community-border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 26, 36, 0.96), rgba(12, 16, 24, 0.97));
}

.community-report-card > header,
.community-report-card > footer,
.community-report-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.community-report-card > header {
  justify-content: space-between;
}

.community-report-card > header time,
.community-report-card__meta {
  color: var(--community-muted);
  font-size: 0.78rem;
}

.community-report-card h2 {
  margin: 15px 0 8px;
  font-size: 1.08rem;
}

.community-report-card h2 a {
  color: #fff;
  text-decoration: none;
}

.community-report-card h2 a:hover {
  color: var(--community-gold-light);
}

.community-report-card__content {
  margin: 0;
  color: var(--community-text);
  line-height: 1.65;
}

.community-report-card blockquote {
  margin: 14px 0;
  padding: 11px 13px;
  border-left: 3px solid var(--community-gold);
  border-radius: 0 10px 10px 0;
  background: rgba(210, 161, 95, 0.07);
  color: var(--community-muted);
}

.community-report-card__meta {
  margin-top: 14px;
}

.community-report-card__meta strong {
  color: var(--community-text);
}

.community-report-card > footer {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--community-border);
}

.community-report-card > footer form {
  margin: 0;
}

.community-moderation-history {
  position: sticky;
  top: 90px;
}

.community-moderation-history > div {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid var(--community-border);
}

.community-moderation-history > div:first-of-type {
  margin-top: 8px;
}

.community-moderation-history > div span,
.community-moderation-history > div small {
  color: var(--community-muted);
}

.community-messages-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.community-messages-head h1 {
  margin-bottom: 5px;
}

.community-messages-head p {
  margin: 0;
  color: var(--community-muted);
}

.community-messages-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: 660px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 22px;
  background: rgba(12, 16, 24, 0.9);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.community-conversation-list {
  max-height: 760px;
  overflow-y: auto;
  border-right: 1px solid var(--community-border);
  background: rgba(255, 255, 255, 0.018);
}

.community-conversation {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--community-border);
  color: var(--community-text);
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease;
}

.community-conversation:hover,
.community-conversation.is-active {
  background: rgba(210, 161, 95, 0.075);
}

.community-conversation.is-active {
  box-shadow: inset 3px 0 var(--community-gold);
}

.community-conversation img,
.community-private-thread__head img,
.community-private-message > img {
  border-radius: 50%;
  object-fit: cover;
}

.community-conversation img {
  width: 48px;
  height: 48px;
}

.community-conversation > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.community-conversation strong,
.community-conversation small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-conversation small,
.community-conversation-empty,
.community-private-no-message {
  color: var(--community-muted);
}

.community-conversation > b {
  display: inline-grid;
  min-width: 23px;
  min-height: 23px;
  padding: 2px 6px;
  place-items: center;
  border-radius: 999px;
  background: var(--community-gold);
  color: #11151c;
  font-size: 0.7rem;
}

.community-conversation-empty {
  padding: 24px 18px;
  text-align: center;
}

.community-private-thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 660px;
}

.community-private-thread__head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 19px;
  border-bottom: 1px solid var(--community-border);
  background: rgba(255, 255, 255, 0.018);
}

.community-private-thread__head img {
  width: 45px;
  height: 45px;
}

.community-private-thread__head div {
  display: grid;
}

.community-private-thread__head small {
  color: var(--community-muted);
}

.community-private-live {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-left: auto;
  color: #87deb0;
  font-size: 0.74rem;
  font-weight: 800;
}

.community-private-live i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #58d894;
  box-shadow: 0 0 0 4px rgba(88, 216, 148, 0.12);
}

.community-private-live.is-reconnecting {
  color: var(--community-muted);
}

.community-private-live.is-reconnecting i {
  background: var(--community-muted);
  box-shadow: none;
}

.community-private-settings {
  position: relative;
}

.community-private-settings > summary {
  list-style: none;
}

.community-private-settings > div {
  position: absolute;
  z-index: 35;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 14px;
  width: min(390px, 82vw);
  padding: 16px;
  border: 1px solid var(--community-border-gold);
  border-radius: 15px;
  background: #111720;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.48);
}

.community-private-settings section p {
  max-height: 90px;
  margin: 6px 0 0;
  overflow-y: auto;
  color: var(--community-muted);
  font-size: 0.82rem;
}

.community-private-settings form {
  display: grid;
  gap: 9px;
}

.community-private-settings label {
  display: grid;
  gap: 5px;
}

.community-private-settings input,
.community-private-compose-options input,
.community-private-compose-options select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--community-border);
  border-radius: 10px;
  background: #171d27;
  color: var(--community-text);
}

.community-private-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  max-height: 610px;
  padding: 22px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.community-private-message {
  display: flex;
  gap: 9px;
  align-items: flex-end;
  max-width: min(78%, 720px);
  scroll-margin: 100px;
}

.community-private-message.is-own {
  align-self: flex-end;
}

.community-private-message > img {
  width: 34px;
  height: 34px;
}

.community-private-message > div {
  min-width: 0;
}

.community-private-message__author {
  display: block;
  padding: 0 8px 4px;
  color: var(--community-gold-light);
  font-size: 0.72rem;
}

.community-private-message__body {
  padding: 11px 14px;
  border: 1px solid var(--community-border);
  border-radius: 16px 16px 16px 4px;
  background: #171d27;
  color: var(--community-text);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.community-private-message.is-own .community-private-message__body {
  border-color: rgba(210, 161, 95, 0.3);
  border-radius: 16px 16px 4px 16px;
  background: rgba(210, 161, 95, 0.12);
}

.community-private-message__body p {
  margin: 0 0 8px;
}

.community-private-message__body p:last-child {
  margin-bottom: 0;
}

.community-private-message__body a {
  color: var(--community-gold-light);
}

.community-private-message .community-video {
  width: min(520px, 65vw);
  margin-top: 10px;
}

.community-private-attachments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 7px;
}

.community-private-attachment {
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 11px;
  background: #171d27;
  color: var(--community-text);
  text-decoration: none;
}

.community-private-attachment--image img {
  display: block;
  width: 100%;
  max-height: 230px;
  object-fit: cover;
}

.community-private-attachment--image {
  position: relative;
  min-height: 96px;
}

.community-private-attachment__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px 9px 8px;
  background: linear-gradient(transparent, rgba(4, 7, 12, 0.9));
  color: #fff;
  font-size: 0.68rem;
}

.community-private-attachment__caption strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-private-attachment__caption small {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
}

.community-private-attachment--file {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 210px;
  padding: 10px;
}

.community-private-attachment--file > i {
  color: var(--community-gold-light);
  font-size: 1.35rem;
}

.community-private-attachment--file span {
  display: grid;
  min-width: 0;
}

.community-private-attachment--file strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-private-attachment--file small {
  color: var(--community-muted);
}

.community-private-message footer {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  align-items: center;
  padding: 4px 4px 0;
  color: var(--community-muted);
  font-size: 0.68rem;
}

.community-private-delete {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--community-muted);
  cursor: pointer;
}

.community-private-delete:hover {
  color: #ff8888;
}

.community-private-edit {
  position: relative;
}

.community-private-edit summary {
  cursor: pointer;
  list-style: none;
}

.community-private-edit form {
  position: absolute;
  z-index: 25;
  right: 0;
  bottom: calc(100% + 7px);
  display: grid;
  gap: 8px;
  width: min(440px, 75vw);
  padding: 12px;
  border: 1px solid var(--community-border-gold);
  border-radius: 13px;
  background: #111720;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
}

.community-private-edit textarea,
.community-private-reply textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--community-border);
  border-radius: 11px;
  outline: 0;
  background: #171d27;
  color: var(--community-text);
  resize: vertical;
}

.community-private-edit textarea:focus,
.community-private-reply textarea:focus {
  border-color: var(--community-gold);
}

.community-private-reply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border-top: 1px solid var(--community-border);
  background: rgba(255, 255, 255, 0.018);
}

.community-private-attach-button {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--community-border);
  border-radius: 12px;
  background: #171d27;
  color: var(--community-text);
  cursor: pointer;
}

.community-private-attach-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.community-private-attach-button span:not(:empty) {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 19px;
  min-height: 19px;
  place-items: center;
  border-radius: 999px;
  background: var(--community-gold);
  color: #11151c;
  font-size: 0.65rem;
  font-weight: 900;
}

.community-private-reply .community-btn {
  min-width: 48px;
  min-height: 48px;
}

.community-private-compose {
  width: min(720px, calc(100% - 36px));
  margin: auto;
  padding: 28px;
  border: 1px solid var(--community-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.community-private-compose h2 {
  margin: 8px 0 20px;
}

.community-private-compose-options {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 12px;
}

.community-member-autocomplete-field {
  position: relative;
}

.community-mention-autocomplete-field {
  position: relative;
}

.community-mention-autocomplete-field textarea {
  display: block;
}

.community-mention-suggestions {
  top: calc(100% + 6px);
}

.community-member-suggestions {
  position: absolute;
  z-index: 55;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 250px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--community-border-gold);
  border-radius: 13px;
  background: rgba(12, 17, 25, 0.99);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

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

.community-member-suggestions button {
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--community-text);
  text-align: left;
  cursor: pointer;
}

.community-member-suggestions button:hover,
.community-member-suggestions button.is-active {
  background: rgba(210, 161, 95, 0.12);
  color: var(--community-gold-light);
}

.community-member-suggestions button i {
  color: var(--community-gold);
}

.community-field-hint {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: var(--community-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.community-field-hint i {
  margin-top: 1px;
  color: var(--community-gold-light);
}

.community-conversation-type-hint {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-top: 1px;
  color: var(--community-gold-light);
  font-size: 0.66rem;
  line-height: 1.4;
}

.community-conversation-type-hint[hidden] {
  display: none;
}

.community-private-file-preview {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 30px;
  flex: 1 1 240px;
  gap: 9px;
  align-items: center;
  min-width: 0;
  max-width: 380px;
  padding: 6px;
  border: 1px solid var(--community-border);
  border-radius: 12px;
  background: #171d27;
  color: var(--community-text);
}

.community-private-file-preview__visual {
  display: grid;
  width: 58px;
  height: 52px;
  overflow: hidden;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--community-gold-light);
}

.community-private-file-preview__visual img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.community-private-file-preview__visual i {
  font-size: 1.55rem;
}

.community-private-file-preview__info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.community-private-file-preview__info strong {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-private-file-preview__info small {
  color: var(--community-muted);
  font-size: 0.68rem;
}

.community-private-reactions > summary {
  min-height: 26px;
  padding: 3px 7px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--community-muted);
  font-size: 0.68rem;
}

.community-private-reactions > summary:hover,
.community-private-reactions > summary.is-active {
  background: rgba(210, 161, 95, 0.1);
  color: var(--community-gold-light);
}

.community-private-reactions > summary [data-reaction-summary] {
  font-size: 0.86rem;
}

.community-reaction-summary {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.community-reaction-summary__item {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 19px;
  padding: 1px 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  line-height: 1;
}

.community-reaction-summary__item small {
  color: var(--community-muted);
  font-size: 0.58rem;
  font-weight: 800;
}

.community-reaction-summary__item.is-selected {
  border-color: rgba(210, 161, 95, 0.32);
  background: rgba(210, 161, 95, 0.12);
}

.community-reaction-summary__item.is-selected small {
  color: var(--community-gold-light);
}

.community-private-message.is-own .community-private-reactions > form {
  right: 0;
  left: auto;
}

@media (max-width: 560px) {
  .community-private-reactions > summary > span:nth-child(2) {
    display: none;
  }
}

.community-private-file-preview__remove {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  cursor: pointer;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--community-muted);
}

.community-private-file-preview__remove:hover,
.community-private-file-preview__remove:focus-visible {
  border-color: rgba(218, 86, 93, 0.35);
  outline: 0;
  background: rgba(218, 86, 93, 0.12);
  color: #ff9da2;
}

.community-private-reply > .community-private-attachment-preview {
  grid-column: 1 / -1;
}

.community-is-loading main.community-shell {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.community-action.is-loading,
.community-btn.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.community-toast-region {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
  width: min(390px, calc(100% - 36px));
}

.community-toast {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(91, 197, 132, 0.35);
  border-radius: 13px;
  background: rgba(17, 27, 24, 0.97);
  color: #d8f7e4;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.community-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.community-toast--danger {
  border-color: rgba(215, 123, 123, 0.4);
  background: rgba(38, 20, 23, 0.98);
  color: #ffd9d9;
}

.community-lightbox {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(2, 4, 8, 0.91);
  backdrop-filter: blur(12px);
}

.community-lightbox img {
  max-width: min(1400px, 96vw);
  max-height: 90vh;
  border-radius: 15px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.62);
  object-fit: contain;
}

.community-lightbox button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(18, 23, 32, 0.92);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 900px) {
  .community-form__row--three,
  .community-listing-fields {
    grid-template-columns: 1fr;
  }

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

  .community-hero__stats {
    max-width: 550px;
  }
}

@media (max-width: 1100px) {
  .community-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .community-thread-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-thread-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-thread-sidebar > form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .community-admin-bypass {
    width: min(100% - 28px, 1480px);
    margin-top: 12px;
  }

  .community-shell {
    width: min(100% - 28px, 1480px);
    padding-top: 14px;
  }

  .community-primary-navigation {
    display: block;
    padding: 8px;
  }

  .community-primary-navigation__label {
    min-width: 0;
    padding: 5px 8px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--community-border);
  }

  .community-primary-navigation__label small {
    display: none;
  }

  .community-primary-tabs {
    margin-top: 7px;
  }

  .community-primary-tabs a {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .community-secondary-navigation {
    display: block;
  }

  .community-secondary-navigation__label {
    display: block;
    padding: 3px 6px 9px;
  }

  .community-hero {
    min-height: auto;
    padding: 22px;
    border-radius: 25px;
  }

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

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

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

  .community-conversation-list {
    display: flex;
    max-height: none;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--community-border);
  }

  .community-conversation {
    min-width: 250px;
    border-right: 1px solid var(--community-border);
    border-bottom: 0;
  }

  .community-private-thread {
    min-height: 580px;
  }

  .community-private-message {
    max-width: 90%;
  }

  .community-moderation-history {
    position: static;
  }

  .community-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .community-sidebar__block {
    min-width: 235px;
  }

  .community-rules {
    display: none;
  }

  .community-feed__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .community-search {
    width: 100%;
  }

  .community-feed-sortbar {
    align-items: stretch;
    flex-direction: column;
  }

  .community-sort-form {
    width: 100%;
  }

  .community-topic-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .community-topic-card__avatar img {
    width: 46px;
    height: 46px;
  }

  .community-topic-card__activity {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0 0;
    border-top: 1px solid var(--community-border);
    border-left: 0;
  }

  .community-topic-card__activity span {
    display: inline-flex;
    gap: 5px;
  }

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

  .community-post__author {
    flex-direction: row;
    justify-content: flex-start;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--community-border);
    text-align: left;
  }

  .community-post__author img,
  .community-post__avatar {
    width: 44px;
    height: 44px;
  }

  .community-post__avatar {
    margin: 0 4px 0 0;
  }

  .community-post__role {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .community-messages-head {
    align-items: stretch;
    flex-direction: column;
  }

  .community-messages-head .community-btn {
    width: 100%;
  }

  .community-messages-layout {
    border-radius: 16px;
  }

  .community-private-messages {
    padding: 14px 11px;
  }

  .community-private-message {
    max-width: 96%;
  }

  .community-private-thread__head {
    flex-wrap: wrap;
  }

  .community-private-live {
    margin-left: auto;
  }

  .community-private-compose-options,
  .community-private-attachments {
    grid-template-columns: 1fr;
  }

  .community-private-reply textarea {
    grid-column: 1 / -1;
  }

  .community-private-compose {
    width: calc(100% - 22px);
    padding: 18px;
  }

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

  .community-link-card > img {
    max-height: 180px;
  }

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

  .community-gallery a,
  .community-gallery img {
    min-height: 150px;
  }

  .community-reactions > form {
    left: -10px;
    overflow-x: auto;
  }

  .community-hero h1 {
    font-size: 1.85rem;
  }

  .community-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .community-hero__stats div {
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
  }

  .community-hero__stats span {
    margin-top: 5px;
  }

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

  .community-compose__avatar {
    display: none;
  }

  .community-form__row,
  .community-thread-sidebar {
    grid-template-columns: 1fr;
  }

  .community-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .community-form__footer .community-btn {
    width: 100%;
  }

  .community-topic-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  .community-topic-card__avatar img {
    width: 38px;
    height: 38px;
  }

  .community-topic-card__footer span:nth-child(3) {
    display: none;
  }

  .community-post__content {
    padding: 16px;
  }
}

/* Giveaways communautaires */
.community-giveaway-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: center;
}

.community-giveaway-legal {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(91, 197, 132, 0.3);
  border-radius: 18px;
  background: rgba(91, 197, 132, 0.08);
  color: #d8f8e4;
}

.community-giveaway-legal > i {
  color: #7bdd9f;
  font-size: 2rem;
}

.community-giveaway-legal span {
  color: var(--community-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.community-giveaway-tabs {
  margin-top: 22px;
  margin-bottom: 18px;
}

.community-giveaway-head + .community-empty {
  margin-top: 20px;
}

.community-giveaway-setup {
  min-height: 280px;
}

.community-giveaway-tabs strong {
  margin-left: 5px;
  color: var(--community-gold-light);
}

.community-giveaway-notifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(121, 175, 243, 0.24);
  border-radius: 18px;
  background: rgba(121, 175, 243, 0.07);
}

.community-giveaway-notifications h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 1rem;
}

.community-giveaway-notifications h2 > a {
  color: var(--community-gold-light);
  font-size: 0.78rem;
  text-decoration: none;
}

.community-giveaway-notifications h2 > a:hover {
  color: #fff;
}

.community-giveaway-notifications > a {
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--community-text);
  text-decoration: none;
}

.community-giveaway-notifications > a > span {
  color: var(--community-muted);
  font-size: 0.8rem;
}

.community-giveaway-notifications > a > small {
  color: #9fb1c9;
  font-size: 0.75rem;
  line-height: 1.4;
}

.community-giveaway-alert-settings {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 18px;
  background: rgba(15, 20, 29, 0.88);
}

.community-giveaway-alert-settings > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.community-giveaway-alert-settings > summary::-webkit-details-marker {
  display: none;
}

.community-giveaway-alert-settings > summary > span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  align-items: center;
}

.community-giveaway-alert-settings > summary > span > i {
  grid-row: 1 / 3;
  color: var(--community-gold-light);
  font-size: 1.2rem;
}

.community-giveaway-alert-settings > summary small {
  color: var(--community-muted);
}

.community-giveaway-alert-settings[open] > summary > .bi-chevron-down {
  transform: rotate(180deg);
}

.community-giveaway-alert-settings > .community-form {
  padding: 0 18px 18px;
  border-top: 1px solid var(--community-border);
}

.community-giveaway-alert-grid {
  display: grid;
  gap: 6px;
  margin: 16px 0;
}

.community-giveaway-alert-grid__head,
.community-giveaway-alert-grid__row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px 120px;
  gap: 10px;
  align-items: center;
}

.community-giveaway-alert-grid__head {
  padding: 0 12px 6px;
  color: var(--community-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.community-giveaway-alert-grid__row {
  min-height: 52px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.community-giveaway-alert-grid__row > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--community-text);
  font-weight: 750;
}

.community-giveaway-alert-grid__row > span i {
  color: var(--community-gold-light);
}

.community-giveaway-alert-grid__row label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  min-width: 0;
  cursor: pointer;
}

.community-giveaway-alert-grid__row label span {
  color: var(--community-muted);
  font-size: 0.8rem;
}

.community-giveaway-alert-grid__row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--community-gold);
}

.community-giveaway-alert-note {
  margin: 0 0 16px;
  color: var(--community-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.community-giveaway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 620px), 820px));
  gap: 17px;
  margin-top: 2px;
}

.community-giveaway-grid > .community-empty {
  grid-column: 1 / -1;
}

.community-giveaway-card {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--community-border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 26, 36, 0.96), rgba(12, 16, 24, 0.98));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  transition: transform 170ms ease, border-color 170ms ease;
}

.community-giveaway-card:hover {
  border-color: var(--community-border-gold);
  transform: translateY(-3px);
}

.community-giveaway-card__link {
  display: grid;
  grid-template-columns: clamp(190px, 27%, 225px) minmax(0, 1fr);
  min-height: 270px;
  color: inherit;
  text-decoration: none;
}

.community-giveaway-card__link:focus-visible {
  outline: 2px solid var(--community-gold-light);
  outline-offset: -3px;
}

.community-giveaway-card__image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(218, 169, 91, 0.1), transparent 62%),
    #090d13;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-right: 1px solid var(--community-border);
  color: #71809a;
  font-size: 3rem;
}

.community-giveaway-card__image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.community-giveaway-card__image--loaded img {
  visibility: hidden;
}

.community-giveaway-card__image .community-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(10px);
}

.community-giveaway-card__body {
  display: grid;
  align-content: center;
  gap: 11px;
  min-width: 0;
  padding: 22px;
}

.community-giveaway-card h2 {
  margin: 0;
  font-size: 1.12rem;
}

.community-giveaway-card h2 {
  color: #fff;
}

.community-giveaway-card p {
  margin: 0;
  color: var(--community-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.community-giveaway-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.community-giveaway-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--community-gold), var(--community-blue));
}

.community-giveaway-card__stats,
.community-giveaway-card__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 7px 12px;
  color: var(--community-muted);
  font-size: 0.75rem;
}

.community-giveaway-card__footer {
  padding-top: 11px;
  border-top: 1px solid var(--community-border);
}

.community-giveaway-card__cta {
  color: var(--community-gold-light);
  font-weight: 800;
}

.community-giveaway-card:hover .community-giveaway-card__cta i {
  transform: translateX(3px);
}

.community-giveaway-card__cta i {
  display: inline-block;
  transition: transform 170ms ease;
}

.community-giveaway-winner {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(210, 161, 95, 0.12);
  color: var(--community-gold-light);
  font-weight: 800;
}

.community-giveaway-compose {
  margin-top: 24px;
  scroll-margin-top: 100px;
}

.community-giveaway-compose .community-compose__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(210, 161, 95, 0.14);
  color: var(--community-gold-light);
  font-size: 1.25rem;
}

.community-giveaway-delivery {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--community-border);
  border-radius: 14px;
}

.community-giveaway-delivery legend {
  padding: 0 7px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
}

.community-giveaway-delivery > label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}

.community-giveaway-delivery input[type="radio"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--community-gold);
}

.community-form .community-giveaway-confirm {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(91, 197, 132, 0.25);
  border-radius: 13px;
  background: rgba(91, 197, 132, 0.07);
}

.community-form .community-giveaway-confirm input {
  flex: 0 0 auto;
  width: 19px;
  min-height: 19px;
  margin-top: 2px;
  accent-color: #5bc584;
}

.community-form .community-giveaway-confirm span {
  color: #d8f8e4;
  line-height: 1.5;
}

.community-giveaway-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.community-giveaway-page .community-alert + .community-giveaway-detail-head {
  margin-top: 18px;
}

.community-giveaway-main,
.community-giveaway-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.community-giveaway-main > .community-gallery {
  margin-top: 0;
}

.community-giveaway-main > .community-gallery--1 {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.community-giveaway-main > .community-gallery a {
  display: grid;
  place-items: center;
  min-height: 0;
  max-height: none;
  background:
    radial-gradient(circle at 50% 35%, rgba(218, 169, 91, 0.08), transparent 65%),
    #090d13;
}

.community-giveaway-main > .community-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
}

.community-giveaway-main > .community-gallery:not(.community-gallery--1) a {
  aspect-ratio: 4 / 3;
}

.community-giveaway-main > .community-gallery--1 a {
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

.community-giveaway-main > .community-gallery--1 img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(56vh, 500px);
  border: 1px solid rgba(218, 169, 91, 0.24);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38);
}

.community-giveaway-side {
  position: sticky;
  top: 105px;
}

.community-giveaway-side .community-side-card {
  padding: 18px;
}

.community-giveaway-side .community-side-card h2 {
  margin-left: 0;
}

.community-giveaway-side .community-side-card p {
  color: var(--community-muted);
  line-height: 1.5;
}

.community-giveaway-relist .community-giveaway-confirm {
  grid-template-columns: auto 1fr;
  padding: 11px;
}

@media (max-width: 680px) {
  .community-giveaway-alert-grid__head {
    display: none;
  }

  .community-giveaway-alert-grid__row {
    grid-template-columns: 1fr 1fr;
  }

  .community-giveaway-alert-grid__row > span {
    grid-column: 1 / -1;
  }
}

.community-giveaway-description {
  display: block;
  padding: 23px;
}

.community-giveaway-discussion {
  margin-top: clamp(26px, 4vw, 44px);
  scroll-margin-top: 105px;
}

.community-giveaway-discussion-link {
  width: fit-content;
  margin-top: 18px;
}

.community-giveaway-discussion-link strong {
  display: inline-grid;
  min-width: 21px;
  min-height: 21px;
  place-items: center;
  border-radius: 999px;
  background: rgba(231, 184, 111, 0.15);
  color: var(--community-gold-light);
  font-size: 0.76rem;
}

.community-giveaway-discussion__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--community-border);
  border-radius: 22px;
  background: linear-gradient(130deg, rgba(210, 161, 95, 0.1), rgba(15, 21, 31, 0.96) 55%);
}

.community-giveaway-discussion__head h2 {
  margin: 8px 0 6px;
  color: #fff;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.08;
}

.community-giveaway-discussion__head p {
  max-width: 760px;
  margin: 0;
  color: var(--community-muted);
  line-height: 1.55;
}

.community-giveaway-discussion__head--waiting {
  align-items: center;
  background: linear-gradient(130deg, rgba(210, 161, 95, 0.07), rgba(15, 21, 31, 0.96) 55%);
}

.community-giveaway-discussion__layout {
  margin-top: 16px;
}

.community-giveaway-discussion__empty {
  min-height: 190px;
}

@media (max-width: 680px) {
  .community-giveaway-discussion__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.community-giveaway-description hr {
  margin: 22px 0;
  border: 0;
  border-top: 1px solid var(--community-border);
}

.community-giveaway-description h2 {
  font-size: 1.1rem;
}

.community-giveaway-participants,
.community-giveaway-draw {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--community-border);
  border-radius: 20px;
  background: rgba(15, 20, 29, 0.88);
}

.community-giveaway-participants > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.community-giveaway-participants h2,
.community-giveaway-draw h2 {
  margin: 6px 0 0;
  color: #fff;
}

.community-giveaway-participants > header > strong {
  color: var(--community-gold-light);
  font-size: 1.35rem;
}

.community-giveaway-participants > header p {
  margin: 7px 0 0;
  color: var(--community-muted);
  font-size: 0.78rem;
}

.community-giveaway-participants > header p strong {
  color: var(--community-gold-light);
}

.community-giveaway-participants .community-giveaway-progress {
  position: relative;
  overflow: visible;
}

.community-giveaway-participants .community-giveaway-progress > i {
  position: absolute;
  z-index: 2;
  top: -5px;
  width: 2px;
  height: 17px;
  border-radius: 99px;
  background: #fff0d6;
  box-shadow: 0 0 0 3px rgba(210, 161, 95, 0.16);
  transform: translateX(-1px);
}

.community-ticket-randomizer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(210, 161, 95, 0.23);
  border-radius: 15px;
  background: linear-gradient(120deg, rgba(210, 161, 95, 0.1), rgba(121, 175, 243, 0.045));
}

.community-ticket-randomizer > div {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}

.community-ticket-randomizer__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(210, 161, 95, 0.15);
  color: var(--community-gold-light);
  font-size: 1.1rem;
}

.community-ticket-randomizer > div > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.community-ticket-randomizer small {
  color: var(--community-muted);
  line-height: 1.4;
}

.community-ticket-randomizer label {
  display: grid;
  gap: 5px;
  color: var(--community-muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.community-ticket-randomizer input {
  width: 100%;
  min-height: 43px;
  padding: 8px 10px;
  border: 1px solid var(--community-border);
  border-radius: 11px;
  background: #171d27;
  color: #fff;
  font-weight: 800;
}

.community-ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
  max-height: 560px;
  margin-top: 17px;
  padding: 2px 7px 2px 2px;
  overflow-y: auto;
  scrollbar-color: rgba(210, 161, 95, 0.55) transparent;
}

.community-ticket {
  position: relative;
  display: grid;
  gap: 2px;
  align-content: center;
  min-height: 61px;
  min-width: 0;
  padding: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  color: #697486;
  text-align: center;
}

.community-ticket > strong {
  color: #edf2f8;
  font-size: 0.86rem;
}

.community-ticket.is-reserved {
  border-style: solid;
  border-color: rgba(121, 175, 243, 0.22);
  background: rgba(121, 175, 243, 0.07);
  color: #dceafe;
}

.community-ticket.is-own {
  border-color: rgba(210, 161, 95, 0.48);
  background: rgba(210, 161, 95, 0.13);
  color: var(--community-gold-light);
}

.community-ticket span {
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-ticket--selectable {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.community-ticket--selectable:hover {
  border-color: rgba(210, 161, 95, 0.46);
  background: rgba(210, 161, 95, 0.08);
  color: #f7dfba;
  transform: translateY(-1px);
}

.community-ticket--selectable input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
  appearance: none;
}

.community-ticket__check {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 17px;
  height: 17px;
  opacity: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--community-gold-light);
  color: #11151c;
  font-size: 0.7rem;
  transform: scale(0.7);
  transition: opacity 140ms ease, transform 140ms ease;
}

.community-ticket--selectable.is-selected {
  border-style: solid;
  border-color: rgba(210, 161, 95, 0.72);
  background: rgba(210, 161, 95, 0.18);
  color: #fff2d9;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 199, 0.08), 0 8px 22px rgba(0, 0, 0, 0.16);
}

.community-ticket--selectable.is-selected .community-ticket__check {
  opacity: 1;
  transform: scale(1);
}

.community-ticket--selectable.is-own:not(.is-selected) {
  border-color: rgba(215, 123, 123, 0.46);
  background: rgba(215, 123, 123, 0.09);
  color: #ffc9ce;
}

.community-ticket--selectable:has(input:focus-visible) {
  outline: 3px solid rgba(210, 161, 95, 0.4);
  outline-offset: 2px;
}

.community-ticket--selectable:has(input:disabled) {
  cursor: not-allowed;
  transform: none;
}

.community-ticket--selectable.is-unavailable {
  opacity: 0.62;
}

.community-ticket--selectable.is-unavailable:hover {
  border-color: rgba(121, 175, 243, 0.22);
  background: rgba(121, 175, 243, 0.07);
  color: #dceafe;
}

@media (max-width: 680px) {
  .community-ticket-randomizer {
    grid-template-columns: 1fr 96px;
  }

  .community-ticket-randomizer > div {
    grid-column: 1 / -1;
  }

  .community-ticket-randomizer .community-btn {
    padding-inline: 12px;
  }
}

.community-ticket-selection-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 13px;
  border: 1px solid rgba(210, 161, 95, 0.24);
  border-radius: 12px;
  background: rgba(210, 161, 95, 0.07);
}

.community-giveaway-scheduling {
  display: grid;
  gap: 15px;
  padding: 16px;
  border: 1px solid rgba(210, 161, 95, 0.2);
  border-radius: 16px;
  background: linear-gradient(125deg, rgba(210, 161, 95, 0.075), rgba(121, 175, 243, 0.035));
}

.community-giveaway-scheduling > header {
  display: flex;
  gap: 11px;
  align-items: center;
}

.community-giveaway-scheduling > header > span {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: rgba(210, 161, 95, 0.14);
  color: var(--community-gold-light);
}

.community-giveaway-scheduling > header > div {
  display: grid;
  gap: 2px;
}

.community-giveaway-scheduling > header strong {
  color: #fff;
  font-size: 0.9rem;
}

.community-giveaway-scheduling > header small,
.community-giveaway-scheduling__fields label > small {
  color: var(--community-muted);
  line-height: 1.4;
}

.community-giveaway-scheduling__fields {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(160px, 0.78fr) minmax(170px, 0.82fr) minmax(290px, 1.45fr);
  gap: 12px;
  align-items: start;
}

.community-giveaway-scheduling__fields input {
  min-height: 48px;
  color-scheme: dark;
}

.community-giveaway-scheduling__fields input[type="number"] {
  appearance: textfield;
}

.community-giveaway-scheduling__fields input[type="number"]::-webkit-inner-spin-button,
.community-giveaway-scheduling__fields input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

@media (max-width: 1120px) {
  .community-giveaway-scheduling__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .community-giveaway-scheduling {
    padding: 14px;
  }

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

.community-ticket-selection-summary > span {
  color: var(--community-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.community-ticket-selection-summary > strong {
  color: var(--community-gold-light);
}

.community-ticket-selection-summary > strong b {
  color: #fff;
}

.community-ticket-selection-summary > small {
  grid-column: 1 / -1;
  color: var(--community-muted);
  line-height: 1.45;
}

.community-giveaway-own {
  color: #bceacc !important;
}

.community-giveaway-draw {
  overflow: hidden;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(210, 161, 95, 0.13), transparent 27rem), rgba(15, 20, 29, 0.92);
}

.community-giveaway-countdown {
  margin: 22px 0;
  color: var(--community-gold-light);
  font-size: clamp(2rem, 7vw, 4.4rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.community-giveaway-draw--waiting p {
  color: var(--community-muted);
}

.community-wheel-wrap {
  position: relative;
  width: min(520px, 100%);
  margin: 24px auto;
}

.community-giveaway-draw--waiting .community-wheel-wrap {
  width: min(430px, 92%);
  margin-top: 12px;
}

.community-wheel-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.community-wheel-pointer {
  position: absolute;
  z-index: 2;
  top: -5px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 17px solid transparent;
  border-left: 17px solid transparent;
  border-top: 34px solid #fff;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
  transform: translateX(-50%);
}

.community-wheel-empty {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  gap: 7px;
  width: min(220px, 66%);
  place-items: center;
  color: var(--community-muted);
  transform: translate(-50%, -50%);
}

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

.community-wheel-empty i {
  color: var(--community-gold-light);
  font-size: 1.8rem;
}

.community-wheel-empty span {
  font-size: 0.78rem;
  font-weight: 800;
}

.community-giveaway-draw.is-spinning .community-wheel-wrap {
  filter: drop-shadow(0 0 24px rgba(210, 161, 95, 0.18));
}

.community-giveaway-draw.is-spinning .community-wheel-pointer {
  animation: community-wheel-pointer-pulse 600ms ease-in-out infinite alternate;
}

.community-giveaway-draw.is-finished .community-giveaway-countdown {
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  letter-spacing: 0;
}

@keyframes community-wheel-pointer-pulse {
  from { transform: translateX(-50%) translateY(0); }
  to { transform: translateX(-50%) translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .community-giveaway-draw.is-spinning .community-wheel-pointer {
    animation: none;
  }
}

.community-giveaway-winner--large {
  justify-content: center;
  width: min(430px, 100%);
  margin: 18px auto;
  padding: 17px;
  font-size: 1.2rem;
}

.community-giveaway-winner--large > i {
  font-size: 2.2rem;
}

.community-giveaway-winner--large div {
  display: grid;
  text-align: left;
}

.community-giveaway-winner--large small,
.community-giveaway-winner--large span {
  font-size: 0.72rem;
}

.community-draw-proof {
  margin-top: 20px;
  color: var(--community-muted);
  text-align: left;
}

.community-draw-proof summary {
  display: flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  cursor: pointer;
  color: #f4dfbd;
  font-weight: 800;
}

.community-draw-proof summary::marker {
  color: var(--community-gold-light);
}

.community-draw-proof[open] {
  padding: 18px;
  border: 1px solid rgba(210, 161, 95, 0.2);
  border-radius: 16px;
  background: rgba(8, 12, 18, 0.48);
}

.community-draw-proof__explanation {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--community-gold);
  border-radius: 0 12px 12px 0;
  background: rgba(210, 161, 95, 0.08);
}

.community-draw-proof__explanation strong {
  color: #fff;
}

.community-draw-proof__explanation p {
  margin: 5px 0 0;
  line-height: 1.55;
}

.community-draw-proof dl {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 8px 14px;
  margin: 18px 0 0;
}

.community-draw-proof dt {
  color: #fff;
  font-weight: 800;
}

.community-draw-proof dd {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
}

.community-draw-proof dd > strong {
  color: var(--community-gold-light);
}

.community-draw-proof dd small {
  line-height: 1.45;
}

.community-draw-proof code {
  display: block;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #dceafe;
  overflow-wrap: anywhere;
}

.community-draw-proof__conclusion {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--community-border);
  color: #d8e4f4;
  line-height: 1.5;
}

.community-draw-proof__conclusion i {
  margin-top: 2px;
  color: #61d59b;
}

.community-giveaway-events div {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid var(--community-border);
}

.community-giveaway-events small,
.community-giveaway-events span {
  color: var(--community-muted);
  font-size: 0.72rem;
}

.community-giveaway-review {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
}

.community-giveaway-review > div {
  min-width: 0;
  padding: 2px 0;
}

.community-giveaway-review > div > header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.community-giveaway-review > div > footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--community-border);
}

.community-giveaway-review > div > footer > form {
  margin: 0;
}

.community-giveaway-review > img {
  width: 180px;
  height: 180px;
  border-radius: 13px;
  object-fit: cover;
}

.community-review-reject {
  flex: 1 1 440px;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
}

/* Navigation partielle et centre de notifications */
main.community-shell {
  position: relative;
}

main.community-shell[aria-busy="true"] {
  cursor: progress;
}

main.community-shell[aria-busy="true"]::before {
  content: "";
  position: sticky;
  z-index: 30;
  top: 0;
  display: block;
  width: 100%;
  height: 3px;
  margin-bottom: -3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--community-gold-light), var(--community-blue), transparent);
  background-size: 220% 100%;
  animation: community-navigation-progress 900ms linear infinite;
}

.community-is-loading main.community-shell > * {
  pointer-events: none;
}

.community-tabs a.is-navigating,
.community-category.is-navigating,
.community-conversation.is-navigating {
  color: #fff;
  opacity: 0.72;
}

@keyframes community-navigation-progress {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}

.community-notification-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.community-notification-head > div {
  min-width: 0;
}

.community-notification-head h1 {
  margin-bottom: 10px;
}

.community-notification-head p {
  max-width: 760px;
  margin: 0;
  color: var(--community-muted);
  line-height: 1.6;
}

.community-notification-head form {
  flex: 0 0 auto;
  margin: 0;
}

.community-notification-tabs {
  margin-top: 20px;
}

.community-notification-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.community-notification-tabs strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--community-gold-light);
  font-size: 0.7rem;
}

.community-notification-list {
  display: grid;
  gap: 10px;
}

.community-notification {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 15px 18px;
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(19, 25, 35, 0.94), rgba(12, 17, 25, 0.96));
  color: var(--community-text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.community-notification::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  opacity: 0;
  background: linear-gradient(var(--community-gold-light), var(--community-blue));
}

.community-notification:hover {
  border-color: rgba(210, 161, 95, 0.3);
  color: #fff;
  transform: translateY(-1px);
}

.community-notification.is-unread {
  border-color: rgba(121, 175, 243, 0.2);
  background: linear-gradient(145deg, rgba(25, 35, 50, 0.98), rgba(13, 19, 29, 0.98));
}

.community-notification.is-unread::before {
  opacity: 1;
}

.community-notification__visual {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--community-border);
  border-radius: 50%;
  background: rgba(210, 161, 95, 0.1);
  color: var(--community-gold-light);
  font-size: 1.25rem;
}

.community-notification__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-notification__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.community-notification__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.community-notification__meta strong {
  color: var(--community-gold-light);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.community-notification__meta time,
.community-notification__actor {
  color: #7f8999;
  font-size: 0.72rem;
}

.community-notification__content > b {
  overflow: hidden;
  color: #fff;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-notification__content > small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--community-muted);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-notification__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--community-blue);
  box-shadow: 0 0 0 5px rgba(121, 175, 243, 0.1);
}

.community-notification__arrow {
  color: #667184;
}

/* Membres en ligne */
.community-online {
  margin-top: 20px;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid var(--community-border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(20, 27, 37, 0.94), rgba(11, 16, 24, 0.96));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}

.community-online > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.community-online h2 {
  margin: 6px 0 3px;
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.community-online header p,
.community-online__empty {
  margin: 0;
  color: var(--community-muted);
  font-size: 0.84rem;
}

.community-online > header > strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(79, 206, 135, 0.2);
  border-radius: 999px;
  background: rgba(79, 206, 135, 0.08);
  color: #bceacc;
  font-size: 0.78rem;
}

.community-online > header > strong i,
.community-online-member__avatar i,
.community-member-profile__presence > span > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #50d389;
  box-shadow: 0 0 0 4px rgba(80, 211, 137, 0.11);
}

.community-online__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 9px;
  max-height: 260px;
  padding-right: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(210, 161, 95, 0.48) rgba(255, 255, 255, 0.035);
  scrollbar-width: thin;
}

.community-online__list::-webkit-scrollbar {
  width: 8px;
}

.community-online__list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.community-online__list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(210, 161, 95, 0.48);
}

.community-online-member {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--community-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--community-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.community-online-member:hover {
  border-color: var(--community-border-gold);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-1px);
}

.community-online-member__avatar {
  position: relative;
  width: 44px;
  height: 44px;
}

.community-online-member__avatar img {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  object-fit: cover;
}

.community-online-member__avatar i {
  position: absolute;
  right: 0;
  bottom: 1px;
  border: 2px solid #111721;
  box-sizing: content-box;
}

.community-online-member > span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.community-online-member strong,
.community-online-member small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-online-member strong {
  color: #fff;
  font-size: 0.86rem;
}

.community-online-member small {
  color: var(--community-muted);
  font-size: 0.7rem;
}

.community-online-member > .bi {
  color: #697486;
  font-size: 0.75rem;
}

.community-online__empty {
  padding: 16px;
  border: 1px dashed var(--community-border);
  border-radius: 13px;
  text-align: center;
}

body.community-modal-open {
  overflow: hidden;
}

.community-member-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 7, 11, 0.78);
  backdrop-filter: blur(12px);
}

.community-member-modal__panel {
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0, rgba(121, 175, 243, 0.13), transparent 20rem),
    linear-gradient(145deg, #171e29, #0e131c 70%);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.56);
}

.community-member-modal__loading,
.community-member-modal__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 280px;
  padding: 30px;
  color: var(--community-muted);
  text-align: center;
}

.community-member-modal__loading span {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--community-gold-light);
  border-radius: 50%;
  animation: community-member-spin 700ms linear infinite;
}

.community-member-modal__error > i {
  color: var(--community-danger);
  font-size: 2rem;
}

@keyframes community-member-spin {
  to { transform: rotate(360deg); }
}

.community-member-profile {
  padding: clamp(22px, 5vw, 36px);
}

.community-member-profile__head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.community-member-profile__avatar {
  position: relative;
  display: block;
  width: 92px;
  height: 92px;
}

.community-member-profile__avatar img {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.community-member-profile__avatar > i {
  position: absolute;
  right: 4px;
  bottom: 5px;
  width: 13px;
  height: 13px;
  border: 3px solid #141b25;
  border-radius: 50%;
  background: #778294;
}

.community-member-profile__avatar > i.is-online {
  background: #50d389;
  box-shadow: 0 0 0 5px rgba(80, 211, 137, 0.1);
}

.community-member-profile h2 {
  margin: 6px 0 9px;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  letter-spacing: -0.035em;
}

.community-member-profile__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.community-member-profile__roles span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--community-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #cbd4e2;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.community-member-profile__roles .is-admin,
.community-member-profile__roles .is-vip {
  border-color: rgba(210, 161, 95, 0.28);
  background: rgba(210, 161, 95, 0.1);
  color: var(--community-gold-light);
}

.community-member-profile__roles .is-moderator {
  border-color: rgba(121, 175, 243, 0.25);
  background: rgba(121, 175, 243, 0.09);
  color: #cbe1ff;
}

.community-member-profile__presence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 14px;
  border: 1px solid var(--community-border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.community-member-profile__presence > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--community-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.community-member-profile__presence > span > i {
  background: #778294;
  box-shadow: none;
}

.community-member-profile__presence.is-online > span {
  color: #bceacc;
}

.community-member-profile__presence.is-online > span > i {
  background: #50d389;
  box-shadow: 0 0 0 4px rgba(80, 211, 137, 0.11);
}

.community-member-profile__presence small,
.community-member-profile__region {
  color: var(--community-muted);
  font-size: 0.76rem;
}

.community-member-profile__region {
  margin: 13px 0 0;
}

.community-member-profile__private {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 24px 0 0;
  padding: 13px 14px;
  border: 1px solid var(--community-border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--community-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.community-member-profile__private i {
  color: var(--community-gold-light);
}

.community-member-profile__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.community-member-profile__stats div {
  display: grid;
  gap: 4px;
  padding: 15px 8px;
  border: 1px solid var(--community-border);
  border-radius: 13px;
  background: rgba(8, 12, 18, 0.48);
  text-align: center;
}

.community-member-profile__stats strong {
  color: #fff;
  font-size: 1.35rem;
}

.community-member-profile__stats span {
  color: var(--community-muted);
  font-size: 0.68rem;
}

.community-member-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--community-border);
}

.community-member-profile__actions .community-btn--primary {
  flex: 1 1 260px;
}

@media (max-width: 900px) {
  .community-giveaway-head,
  .community-giveaway-detail-layout {
    grid-template-columns: 1fr;
  }

  .community-giveaway-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .community-giveaway-head + .community-empty {
    margin-top: 16px;
  }

  .community-giveaway-setup {
    min-height: 240px;
  }

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

  .community-giveaway-card__link {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .community-giveaway-card__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--community-border);
  }

  .community-giveaway-card__body {
    padding: 18px;
  }

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

  .community-giveaway-review > img {
    width: 100%;
    height: 220px;
  }

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

  .community-draw-proof dl {
    grid-template-columns: 1fr;
  }

  .community-notification-head {
    align-items: stretch;
    flex-direction: column;
  }

  .community-notification-head .community-btn {
    width: 100%;
  }

  .community-notification {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 13px;
  }

  .community-notification__visual {
    width: 42px;
    height: 42px;
  }

  .community-notification__dot {
    position: absolute;
    top: 14px;
    right: 14px;
  }

  .community-notification__arrow {
    display: none;
  }

  .community-online > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .community-online__list {
    grid-template-columns: 1fr;
    max-height: 320px;
  }

  .community-member-modal {
    align-items: end;
    padding: 0;
  }

  .community-member-modal__panel {
    width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
  }

  .community-member-profile__head {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
  }

  .community-member-profile__avatar {
    width: 70px;
    height: 70px;
  }

  .community-member-profile__actions {
    flex-direction: column;
  }

  .community-member-profile__actions .community-btn--primary {
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-btn,
  .community-category,
  .community-topic-card {
    transition: none;
  }

  main.community-shell[aria-busy="true"]::before {
    animation: none;
  }

  .community-member-modal__loading span {
    animation: none;
  }
}
.community-moderation-messages-layout {
  min-height: 680px;
}

.community-moderation-conversation {
  border-bottom: 1px solid var(--community-border);
}

.community-moderation-conversation .community-conversation {
  border-bottom: 0;
}

.community-moderation-open > summary {
  cursor: pointer;
  list-style: none;
}

.community-moderation-open > summary::-webkit-details-marker {
  display: none;
}

.community-moderation-open > summary > i {
  color: var(--community-gold-light);
}

.community-moderation-open[open] {
  background: rgba(210, 161, 95, 0.05);
  box-shadow: inset 3px 0 var(--community-gold);
}

.community-moderation-open > form {
  display: grid;
  gap: 8px;
  padding: 0 14px 14px 73px;
}

.community-moderation-open label,
.community-moderation-message-actions label {
  color: var(--community-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.community-moderation-open textarea,
.community-moderation-message-actions textarea {
  width: 100%;
  resize: vertical;
}

.community-moderation-open .community-btn {
  justify-self: start;
}

.community-moderation-thread .community-empty {
  flex: 1;
  min-height: 540px;
  border: 0;
  border-radius: 0;
}

.community-moderation-audited {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-left: auto;
  color: #87deb0;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.community-moderation-private-messages {
  max-height: 720px;
  min-height: 520px;
}

.community-private-message.is-moderation-alternate {
  align-self: flex-end;
}

.community-private-message.is-moderation-alternate .community-private-message__author {
  text-align: right;
}

.community-private-message.is-moderation-alternate .community-private-message__body {
  border-color: rgba(210, 161, 95, 0.3);
  border-radius: 16px 16px 4px 16px;
  background: rgba(210, 161, 95, 0.12);
}

.community-moderation-message-actions {
  position: relative;
}

.community-moderation-message-actions > summary {
  display: inline-grid;
  width: 28px;
  height: 28px;
  cursor: pointer;
  list-style: none;
  place-items: center;
  border-radius: 999px;
  color: var(--community-muted);
}

.community-moderation-message-actions > summary::-webkit-details-marker {
  display: none;
}

.community-moderation-message-actions > summary:hover,
.community-moderation-message-actions[open] > summary {
  background: rgba(218, 86, 93, 0.12);
  color: #ff9da2;
}

.community-moderation-message-actions > form {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  gap: 9px;
  width: min(360px, 78vw);
  padding: 14px;
  border: 1px solid rgba(218, 86, 93, 0.35);
  border-radius: 14px;
  background: #111720;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.46);
}

.community-moderation-message-actions .community-btn {
  justify-self: end;
}

.community-moderation-audit-panel {
  margin-top: 18px;
  border: 1px solid var(--community-border);
  border-radius: 17px;
  background: rgba(12, 16, 24, 0.88);
}

.community-moderation-audit-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

.community-moderation-audit-panel > summary::-webkit-details-marker {
  display: none;
}

.community-moderation-audit-panel > summary span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.community-moderation-audit-panel > summary i {
  color: var(--community-gold-light);
}

.community-moderation-audit-panel > summary small {
  color: var(--community-muted);
  font-weight: 600;
}

.community-moderation-audit-panel > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  max-height: 360px;
  padding: 0 16px 16px;
  overflow-y: auto;
}

.community-moderation-audit-panel article {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--community-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.community-moderation-audit-panel article > i {
  color: var(--community-gold-light);
}

.community-moderation-audit-panel article > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.community-moderation-audit-panel article small {
  color: var(--community-muted);
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .community-moderation-open > form {
    padding-left: 14px;
  }

  .community-moderation-audited {
    display: none;
  }

  .community-moderation-private-messages {
    min-height: 430px;
  }
}

@media (max-width: 980px) {
  .community-moderation-conversation {
    flex: 0 0 300px;
    border-right: 1px solid var(--community-border);
    border-bottom: 0;
  }

  .community-moderation-conversation .community-conversation {
    min-width: 0;
  }
}
