/* Community V5 — flat two-column feed with reviews and a bottom composer. */

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 {
  min-width: 0;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-layout-v5 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-feed,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-card {
  width: 100%;
  min-width: 0;
  position: static;
  padding: 20px;
  background: var(--dash-surface-solid) !important;
  background-image: none !important;
  border: 1px solid var(--dash-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--dash-shadow) !important;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-feed__head,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-head {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-feed__head h2,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-head h2 {
  margin: 0;
  color: var(--dash-heading);
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-feed__head > strong,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-auth-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--dash-muted);
  background: var(--dash-surface-soft);
  background-image: none;
  border: 1px solid var(--dash-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-auth-badge.is-authenticated {
  color: var(--dash-primary);
  background: var(--dash-primary-soft);
  border-color: color-mix(in srgb, var(--dash-primary) 24%, var(--dash-border));
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-column {
  min-width: 0;
  display: grid;
  gap: 16px;
  align-content: start;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--dash-text);
  background: var(--dash-surface-solid) !important;
  background-image: none !important;
  border: 1px solid var(--dash-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card:hover {
  border-color: var(--dash-border-strong) !important;
  box-shadow: var(--dash-shadow-hover) !important;
  transform: none !important;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__header {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-author {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-author__avatar,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment__avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--dash-primary) !important;
  background-image: none !important;
  border: 0;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-author__avatar img,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-author__text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-author__text strong {
  overflow: hidden;
  color: var(--dash-heading);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-author__text small {
  overflow: hidden;
  color: var(--dash-muted);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__private {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: var(--dash-primary);
  background: var(--dash-primary-soft);
  background-image: none;
  border: 1px solid color-mix(in srgb, var(--dash-primary) 24%, var(--dash-border));
  border-radius: 999px;
  font-size: 11px;
  font-weight: 760;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__private::before {
  display: none;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__delete {
  min-height: 28px;
  padding: 0 9px;
  color: #d34b55;
  background: transparent;
  background-image: none;
  border: 1px solid color-mix(in srgb, #d34b55 24%, var(--dash-border));
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__delete:hover {
  color: #ffffff;
  background: #d34b55;
  border-color: #d34b55;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__media {
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: var(--dash-surface-soft);
  background-image: none;
  border-block: 1px solid var(--dash-border);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__media > * + * {
  border-top: 1px solid var(--dash-border);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__image,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__video {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dash-surface-soft);
  background-image: none;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__image img,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__video video {
  width: 100%;
  height: 100%;
  display: block;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__image img {
  object-fit: contain;
  background: #0d1015;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__video video {
  object-fit: contain;
  background: #0d1015;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__image-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--dash-muted);
  background: var(--dash-surface-soft);
  background-image: none;
  font-size: 13px;
  text-align: center;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__image-error[hidden] {
  display: none !important;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__body {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 16px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card.is-text-only .community-post-card__body {
  min-height: 118px;
  align-content: center;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card h3 {
  margin: 0;
  color: var(--dash-heading);
  font-size: 17px;
  font-weight: 780;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__content {
  margin: 0;
  color: var(--dash-text);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__actions {
  min-height: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
  border-top: 1px solid var(--dash-border);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-action {
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  color: var(--dash-muted);
  background: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-action + .community-post-action {
  border-left: 1px solid var(--dash-border);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-action:hover,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-action[aria-expanded="true"] {
  color: var(--dash-heading);
  background: var(--dash-surface-hover);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-action.is-liked {
  color: var(--dash-primary);
  background: var(--dash-primary-soft);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-action__icon {
  font-size: 18px;
  line-height: 1;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-action.is-liked .community-post-action__icon {
  font-size: 0;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-action.is-liked .community-post-action__icon::before {
  content: "♥";
  font-size: 17px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-action__count {
  min-width: 1ch;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comments {
  min-width: 0;
  padding: 14px 16px 16px;
  background: var(--dash-surface-soft);
  background-image: none;
  border-top: 1px solid var(--dash-border);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comments[hidden] {
  display: none !important;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comments__list {
  max-height: 280px;
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
  overflow: auto;
  list-style: none;
  scrollbar-width: thin;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comments__empty {
  padding: 14px;
  color: var(--dash-muted);
  background: var(--dash-surface-solid);
  background-image: none;
  border: 1px dashed var(--dash-border);
  border-radius: 10px;
  font-size: 13px;
  text-align: center;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment__avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 12px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment__body {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
  padding: 9px 11px;
  background: var(--dash-surface-solid);
  background-image: none;
  border: 1px solid var(--dash-border);
  border-radius: 10px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment__heading {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment__heading strong {
  overflow: hidden;
  color: var(--dash-heading);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment__heading time {
  flex: 0 0 auto;
  color: var(--dash-muted);
  font-size: 10px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment__body p {
  margin: 0;
  color: var(--dash-text);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form input {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  color: var(--dash-heading);
  background: var(--dash-surface-solid);
  background-image: none;
  border: 1px solid var(--dash-border);
  border-radius: 10px;
  outline: none;
  font: inherit;
  font-size: 13px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form input:focus {
  border-color: var(--dash-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--dash-primary) 12%, transparent);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form input[readonly] {
  cursor: pointer;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form button {
  min-width: 62px;
  height: 40px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--dash-primary);
  background-image: none;
  border: 1px solid var(--dash-primary);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
}

html[data-theme="dark"] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form button {
  color: #0d141d;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form__status {
  grid-column: 1 / -1;
  min-height: 16px;
  color: var(--dash-muted);
  font-size: 11px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form__status.is-ok {
  color: #2e9668;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form__status.is-error {
  color: #d34b55;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  background: var(--dash-surface-soft);
  background-image: none;
  border-color: var(--dash-border);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-head > div {
  min-width: 0;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-head p {
  margin: 4px 0 0;
  color: var(--dash-muted);
  font-size: 12px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-compose-account {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--dash-surface-soft);
  background-image: none;
  border: 1px solid var(--dash-border);
  border-radius: 12px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-identity__avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-identity > div:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-identity strong {
  overflow: hidden;
  color: var(--dash-heading);
  font-size: 14px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-identity small {
  overflow: hidden;
  color: var(--dash-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-login-button {
  position: static !important;
  inset: auto !important;
  flex: 0 0 auto;
  width: auto !important;
  min-height: 36px;
  margin: 0 !important;
  padding: 0 13px;
  color: var(--dash-primary);
  background: var(--dash-primary-soft);
  background-image: none;
  border: 1px solid color-mix(in srgb, var(--dash-primary) 24%, var(--dash-border));
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-upload-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-form-field {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--dash-text);
  font-size: 13px;
  font-weight: 700;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-form-field--wide {
  grid-column: 1 / -1;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-form-field > span:first-child {
  color: var(--dash-text);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-upload-form input[type="text"],
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-upload-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--dash-heading);
  background: var(--dash-surface-soft);
  background-image: none;
  border: 1px solid var(--dash-border);
  border-radius: 10px;
  outline: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-upload-form textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.6;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-upload-form input[type="text"]:focus,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-upload-form textarea:focus {
  border-color: var(--dash-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--dash-primary) 12%, transparent);
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-file-picker {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: var(--dash-text);
  background: var(--dash-surface-soft) !important;
  background-image: none !important;
  border: 1px dashed var(--dash-border-strong) !important;
  border-radius: 12px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-file-picker:hover {
  background: var(--dash-surface-hover) !important;
  border-color: var(--dash-primary) !important;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-file-picker__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--dash-primary);
  background: var(--dash-primary-soft) !important;
  background-image: none !important;
  border: 0;
  border-radius: 11px;
  font-size: 23px;
  font-weight: 500;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-file-picker > span:last-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-file-picker strong {
  overflow: hidden;
  color: var(--dash-heading);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-file-picker small {
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 500;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-image-preview {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dash-surface-soft);
  background-image: none;
  border: 1px solid var(--dash-border);
  border-radius: 12px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-image-preview[hidden] {
  display: none !important;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-image-preview img,
html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-image-preview video {
  width: 100%;
  max-height: 460px;
  display: block;
  object-fit: contain;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-image-preview button {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 34px;
  padding: 0 12px;
  color: #ffffff;
  background: rgb(17 24 39 / 0.82);
  background-image: none;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-private-option {
  min-height: 62px;
  margin: 0;
  padding: 12px 14px;
  background: var(--dash-surface-soft);
  background-image: none;
  border: 1px solid var(--dash-border);
  border-radius: 12px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-private-option strong {
  color: var(--dash-heading);
  font-size: 14px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-private-option small {
  color: var(--dash-muted);
  font-size: 11px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-private-option > i {
  background: var(--dash-border-strong);
  background-image: none;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-private-option input:checked + i {
  background: var(--dash-primary);
  background-image: none;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-actions .form-message {
  min-width: 0;
  flex: 1;
  margin: 0;
  color: var(--dash-muted);
  font-size: 12px;
}

html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-actions .primary-button {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  min-width: 132px;
  min-height: 42px;
  margin: 0;
  padding: 0 20px;
  border-radius: 10px;
}

@media (max-width: 800px) {
  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-upload-form {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-form-field--wide {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-feed,
  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-card {
    padding: 14px;
    border-radius: 13px !important;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-grid {
    gap: 12px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__header {
    align-items: flex-start;
    padding: 13px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__body {
    padding: 14px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-author__avatar {
    width: 34px;
    height: 34px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__header-actions {
    gap: 5px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__delete,
  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-post-card__private {
    min-height: 25px;
    padding-inline: 8px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comments {
    padding: 12px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-comment-form {
    grid-template-columns: minmax(0, 1fr) 58px;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-compose-account {
    align-items: stretch;
    flex-direction: column;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-login-button {
    width: 100% !important;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-actions {
    align-items: stretch;
    flex-direction: column;
  }

  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 .community-publish-actions .primary-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 *,
  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 *::before,
  html[data-theme] body.dashboard-v2.dashboard-v3 .community-page-v5 *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
