.mellow-community-embed {
  --line: rgba(85, 60, 43, 0.12);
  --shadow: 0 12px 30px rgba(77, 53, 36, 0.08);
  --cocoa: #4f3727;
  --cocoa-soft: rgba(79, 55, 39, 0.76);
  --ink-muted: rgba(79, 55, 39, 0.64);
  --chip-border: rgba(85, 60, 43, 0.22);
  --chip-bg: rgba(255, 251, 244, 0.82);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--cocoa);
}

.mellow-community-embed .filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 24px;
}

.mellow-community-embed .filter-btn {
  appearance: none;
  border: 1px solid rgba(85, 60, 43, 0.24);
  border-radius: 8px;
  background: rgba(255, 251, 244, 0.62);
  color: var(--cocoa);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 14px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.56);
}

.mellow-community-embed .filter-btn[aria-current="page"] {
  border-color: rgba(201, 157, 70, 0.86);
  background: linear-gradient(180deg, rgba(255, 242, 210, 0.98), rgba(224, 187, 98, 0.90));
  color: #3a2a18;
}

.mellow-community-embed .community-filters-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cocoa);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
  margin: 0 0 14px;
}

.mellow-community-embed .community-filters-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.mellow-community-embed .community-filters-topline .community-filters-toggle {
  margin: 0;
  flex-shrink: 0;
}

.mellow-community-embed .community-new-first-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cocoa);
  font-size: 13px;
  font-weight: 800;
  user-select: none;
  white-space: nowrap;
}

.mellow-community-embed .community-new-first-wrap input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #6d4e22;
  cursor: pointer;
  margin: 0;
}

.mellow-community-embed .community-filters-panel {
  border: 1px solid rgba(85, 60, 43, 0.16);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  background: rgba(255, 251, 244, 0.66);
  display: grid;
  gap: 10px;
}

.mellow-community-embed .community-filters-panel[hidden] {
  display: none;
}

.mellow-community-embed .community-filters-grid,
.mellow-community-embed .events-filters-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: flex-end;
}

.mellow-community-embed .community-filter-field,
.mellow-community-embed .events-dd {
  position: relative;
  min-width: 0;
}

.mellow-community-embed .community-filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mellow-community-embed .community-filter-field label {
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mellow-community-embed .community-filter-field input,
.mellow-community-embed .events-dd-btn,
.mellow-community-embed .events-dd-search {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(85, 60, 43, 0.2);
  border-radius: 8px;
  background: rgba(255, 251, 244, 0.88);
  color: var(--cocoa);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.mellow-community-embed .community-filter-field input {
  padding: 10px 38px 10px 10px;
  outline: none;
}

.mellow-community-embed .events-dd-btn {
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.mellow-community-embed .events-dd-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mellow-community-embed .events-dd-search {
  padding: 10px;
}

.mellow-community-embed .community-filter-dd-toggle {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(85, 60, 43, 0.2);
  background: rgba(255, 251, 244, 0.92);
  color: var(--cocoa);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.mellow-community-embed .community-filter-dd-menu,
.mellow-community-embed .events-dd-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: none;
  border-radius: 8px;
  border: 1px solid rgba(85, 60, 43, 0.2);
  background: #f8f1e7;
  box-shadow: 0 20px 40px rgba(53, 33, 20, 0.18);
  max-height: 260px;
  overflow: hidden;
  z-index: 20;
}

.mellow-community-embed .community-dd.open .community-filter-dd-menu,
.mellow-community-embed .community-filter-dd-menu.open,
.mellow-community-embed .events-dd-panel[data-open="true"] {
  display: block;
}

.mellow-community-embed .community-filter-dd-top,
.mellow-community-embed .events-dd-sticky-top {
  display: grid;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid rgba(85, 60, 43, 0.14);
  background: rgba(255, 251, 244, 0.9);
}

.mellow-community-embed .community-filter-dd-apply,
.mellow-community-embed .community-filter-dd-reset,
.mellow-community-embed .events-dd-apply,
.mellow-community-embed .events-dd-reset {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(85, 60, 43, 0.2);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 9px 10px;
}

.mellow-community-embed .community-filter-dd-apply,
.mellow-community-embed .events-dd-apply,
.mellow-community-embed .community-filter-apply-btn {
  border-color: rgba(201, 157, 70, 0.6);
  background: linear-gradient(180deg, rgba(255, 242, 210, 0.98), rgba(224, 187, 98, 0.9));
  color: #3a2a18;
}

.mellow-community-embed .community-filter-dd-reset,
.mellow-community-embed .events-dd-reset,
.mellow-community-embed .community-filter-reset-btn {
  background: rgba(255, 251, 244, 0.92);
  color: var(--cocoa);
}

.mellow-community-embed .community-filter-dd-scroll,
.mellow-community-embed .events-dd-scroll {
  overflow: auto;
  padding: 8px;
  display: grid;
  gap: 3px;
}

.mellow-community-embed .community-filter-dd-scroll {
  max-height: calc(260px - 106px);
}

.mellow-community-embed .events-dd-scroll {
  max-height: calc(260px - 150px);
}

.mellow-community-embed .community-filter-dd-item,
.mellow-community-embed .events-dd-item {
  border-radius: 6px;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: transparent;
  color: var(--cocoa);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mellow-community-embed .community-filter-dd-item input[type="checkbox"],
.mellow-community-embed .events-dd-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #6d4e22;
  flex: 0 0 auto;
}

.mellow-community-embed .community-filter-dd-item span,
.mellow-community-embed .events-dd-item span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.mellow-community-embed .community-filter-dd-item:hover,
.mellow-community-embed .events-dd-item:hover {
  background: rgba(85, 60, 43, 0.08);
}

.mellow-community-embed .community-filter-dd-empty,
.mellow-community-embed .events-dd-empty {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
}

.mellow-community-embed .community-filter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.mellow-community-embed .community-filter-reset-btn,
.mellow-community-embed .community-filter-apply-btn {
  border-radius: 999px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(85, 60, 43, 0.2);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.mellow-community-embed .community-card {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.76), rgba(245, 231, 213, 0.42)), rgba(255, 251, 244, 0.38);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.54);
  padding: clamp(14px, 2vw, 20px);
}

.mellow-community-embed .community-card + .community-card {
  margin-top: 18px;
}

.mellow-community-embed .community-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.mellow-community-embed .community-section-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

.mellow-community-embed .community-head-action-btn {
  flex: 0 0 auto;
  border: 1px solid rgba(201, 157, 70, 0.62);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 242, 210, 0.98), rgba(224, 187, 98, 0.90));
  color: #3a2a18;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 13px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mellow-community-embed .community-head-action-btn.is-blue {
  background: #9CAF88;
  color: #ffffff;
  border-color: #9CAF88;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.mellow-community-embed .community-section-title {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  color: var(--cocoa);
}

.mellow-community-embed .community-section-copy {
  margin: 5px 0 0;
  color: var(--cocoa-soft);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.mellow-community-embed .community-clear-btn {
  display: none;
  flex: 0 0 auto;
  border: 1px solid rgba(85, 60, 43, 0.22);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.82);
  color: var(--cocoa);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 13px;
}

.mellow-community-embed .community-clear-btn.is-visible {
  display: inline-flex;
}

.mellow-community-embed .community-clear-btn--under-filters.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: -8px 0 16px;
}

.mellow-community-embed .mobile-menu-divider {
  display: none;
}

.mellow-community-embed .slider-shell {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 0 42px;
}

.mellow-community-embed .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(85, 60, 43, 0.28);
  background: rgba(255, 251, 244, 0.86);
  color: var(--cocoa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 23px;
  font-weight: 900;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.58);
}

.mellow-community-embed .slider-nav.prev { left: 0; }
.mellow-community-embed .slider-nav.next { right: 0; }
.mellow-community-embed .slider-nav:disabled { opacity: 0.35; cursor: default; }

.mellow-community-embed .profiles-rail,
.mellow-community-embed .events-rail {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 0 8px;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(85, 60, 43, 0.34) transparent;
}

.mellow-community-embed .profiles-rail .profile-card {
  flex: 0 0 280px;
  max-width: 280px;
}

.mellow-community-embed .event-discovery-card {
  flex: 0 0 340px;
  max-width: 340px;
  background: rgba(255, 251, 244, 0.70);
  border-radius: 8px;
  border: 1px solid rgba(85, 60, 43, 0.18);
  box-shadow: 0 14px 34px rgba(65, 41, 25, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.54);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  cursor: pointer;
}

.mellow-community-embed .event-discovery-card.is-selected,
.mellow-community-embed .profile-card.is-selected {
  border-color: rgba(201, 157, 70, 0.78);
  box-shadow: 0 16px 38px rgba(65, 41, 25, 0.11), inset 0 0 0 2px rgba(201, 157, 70, 0.34);
}

.mellow-community-embed .event-discovery-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: radial-gradient(120% 110% at 15% 0%, rgba(255,255,255,0.52), transparent 58%), linear-gradient(135deg, rgba(115, 128, 111, 0.32), rgba(164, 111, 88, 0.30));
  border-bottom: 1px solid rgba(85, 60, 43, 0.14);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(55, 40, 31, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mellow-community-embed .event-discovery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--mellow-banner-x, 50%) var(--mellow-banner-y, 50%);
  transform: scale(var(--mellow-banner-scale, 1));
  transform-origin: center;
}

.mellow-community-embed .event-banner-edit-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  min-height: 30px;
  border: 1px solid rgba(255, 251, 244, 0.48);
  border-radius: 8px;
  background: rgba(47, 90, 47, 0.92);
  color: #fff;
  padding: 7px 10px;
  font: inherit;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(25, 43, 25, 0.24);
}

.mellow-community-embed .event-hidden-badge,
.mellow-community-embed .profile-tribe-status-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: #2F5A2F;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mellow-community-embed .event-hidden-badge {
  top: 10px;
  left: 10px;
  background: rgba(230,57,70,0.92);
}

.mellow-community-embed .profile-tribe-status-badge {
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  min-height: 24px;
}

.mellow-community-embed .event-discovery-body,
.mellow-community-embed .profile-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.mellow-community-embed .event-discovery-kicker,
.mellow-community-embed .meta-kicker {
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 900;
}

.mellow-community-embed .event-discovery-title,
.mellow-community-embed .profile-name {
  color: var(--cocoa);
  font-size: 16px;
  line-height: 1.16;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.mellow-community-embed .event-discovery-meta,
.mellow-community-embed .profile-meta {
  color: var(--cocoa-soft);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 750;
}

.mellow-community-embed .event-discovery-meta { display: grid; gap: 2px; }
.mellow-community-embed .event-discovery-meta-line { display: block; }

.mellow-community-embed .event-role-row,
.mellow-community-embed .role-row,
.mellow-community-embed .my-role-row,
.mellow-community-embed .event-type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mellow-community-embed .event-type-filters {
  gap: 10px;
  margin: 0 0 12px;
}

.mellow-community-embed .event-role-heading {
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 900;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(85, 60, 43, 0.22);
}

.mellow-community-embed .event-role-heading-healers {
  color: #2F5A2F;
  border-top-color: rgba(47, 90, 47, 0.28);
}

.mellow-community-embed .event-type-filter-btn,
.mellow-community-embed .event-role-chip,
.mellow-community-embed .role-chip,
.mellow-community-embed .my-role-chip {
  border: 1px solid rgba(85, 60, 43, 0.22);
  border-radius: 8px;
  background: rgba(255, 251, 244, 0.74);
  color: #6d4e22;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
}

.mellow-community-embed .event-type-filter-btn {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 11px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.56);
}

.mellow-community-embed .event-type-filter-btn.is-active {
  border-color: rgba(201, 157, 70, 0.86);
  background: linear-gradient(180deg, rgba(255, 242, 210, 0.98), rgba(224, 187, 98, 0.90));
  color: #3a2a18;
}

.mellow-community-embed .event-role-chip,
.mellow-community-embed .role-chip {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  padding: 5px 8px;
}

.mellow-community-embed .my-role-chip {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.06em;
  padding: 5px 8px;
  background: rgba(85, 60, 43, 0.08);
  color: var(--cocoa);
}

.mellow-community-embed .event-role-chip {
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mellow-community-embed .event-role-chip-count,
.mellow-community-embed .profile-events-count {
  font-size: 1em;
  line-height: 1;
  font-weight: 900;
  display: inline-block;
}

.mellow-community-embed .profile-events-count {
  font-size: 2em;
  margin-right: 4px;
}

.mellow-community-embed .event-role-chip.is-selected {
  border-color: rgba(201, 157, 70, 0.78);
  background: rgba(201, 157, 70, 0.22);
  color: #3a2a18;
}

.mellow-community-embed .event-role-info-btn {
  width: 100%;
  border-radius: 8px;
  min-height: 30px;
  padding: 7px 8px;
  font: inherit;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.mellow-community-embed .event-role-info-btn.is-blue {
  background: #9CAF88;
  color: #ffffff;
  border-color: #9CAF88;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.mellow-community-embed .event-role-info-btn.is-gold {
  border-color: rgba(201, 157, 70, 0.62);
  background: linear-gradient(180deg, rgba(255, 242, 210, 0.98), rgba(224, 187, 98, 0.90));
  color: #3a2a18;
}

.mellow-community-embed .event-role-bottom-divider {
  width: 100%;
  border-top: 1px solid rgba(85, 60, 43, 0.22);
  margin-top: 2px;
}

.mellow-community-embed .profile-card {
  --profile-actions-gap: 8px;
  background: rgba(255, 251, 244, 0.70);
  border-radius: 8px;
  border: 1px solid rgba(85, 60, 43, 0.18);
  box-shadow: 0 14px 34px rgba(65, 41, 25, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.54);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mellow-community-embed .profile-card-reorderable { cursor: grab; }
.mellow-community-embed .profile-card-reorderable.dragging { opacity: 0.62; cursor: grabbing; }
.mellow-community-embed .profile-card-reorderable.drag-over-before { box-shadow: inset 3px 0 0 rgba(201, 157, 70, 0.86), 0 14px 34px rgba(65, 41, 25, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.54); }
.mellow-community-embed .profile-card-reorderable.drag-over-after { box-shadow: inset -3px 0 0 rgba(201, 157, 70, 0.86), 0 14px 34px rgba(65, 41, 25, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.54); }

.mellow-community-embed .profile-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: rgba(216, 191, 160, 0.36);
  border-bottom: 1px solid rgba(85, 60, 43, 0.14);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(55, 40, 31, 0.58);
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
}

.mellow-community-embed .profile-card-thumb img,
.mellow-community-embed .profile-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mellow-community-embed .profile-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mellow-community-embed .profile-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(216, 191, 160, 0.36);
  border: 1px solid rgba(85, 60, 43, 0.16);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(55, 40, 31, 0.58);
  font-size: 10px;
  font-weight: 900;
}

.mellow-community-embed .profile-reactions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
  margin-top: 2px;
  align-items: start;
}

.mellow-community-embed .profile-reaction-box {
  min-height: 72px;
  display: grid;
  grid-template-rows: 30px minmax(34px, auto);
  align-items: start;
  justify-items: center;
  text-align: center;
  padding: 2px;
  min-width: 0;
  gap: 4px;
}

.mellow-community-embed .profile-reaction-label {
  font-size: 10px;
  line-height: 1.15;
  color: var(--ink-muted);
  font-weight: 750;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: block;
  width: 100%;
}

.mellow-community-embed .heart-btn,
.mellow-community-embed .star-btn,
.mellow-community-embed .recommend-btn {
  border-radius: 999px;
  border: 1px solid rgba(85, 60, 43, 0.18);
  padding: 3px 8px;
  cursor: pointer;
  background: rgba(255, 251, 244, 0.72);
  color: var(--cocoa);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mellow-community-embed .heart-btn.reacted,
.mellow-community-embed .star-btn.reacted,
.mellow-community-embed .recommend-btn.reacted {
  border-color: rgba(201, 157, 70, 0.52);
  background: rgba(201, 157, 70, 0.20);
}

.mellow-community-embed .profile-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--profile-actions-gap);
  margin-top: 6px;
}

.mellow-community-embed .profile-admin-drag-note {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mellow-community-embed .profile-save-btn,
.mellow-community-embed .profile-open-id-btn,
.mellow-community-embed .event-action-btn,
.mellow-community-embed .event-open-btn,
.mellow-community-embed .profile-events-btn {
  width: 100%;
  max-width: 100%;
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  font: inherit;
  font-size: 11px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mellow-community-embed .profile-save-btn,
.mellow-community-embed .event-action-btn,
.mellow-community-embed .profile-events-btn {
  border: 1px solid rgba(201, 157, 70, 0.60);
  background: linear-gradient(180deg, rgba(255, 242, 210, 0.98), rgba(224, 187, 98, 0.90));
  color: #3a2a18;
}

.mellow-community-embed .profile-save-btn {
  position: relative;
  border-color: rgba(47, 90, 47, 0.24);
  background: #9CAF88;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.mellow-community-embed .profile-save-btn.is-loading::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 999px;
  border: 2px solid rgba(36, 64, 111, 0.24);
  border-top-color: #2F5A2F;
  animation: mellow-community-status-spin 0.8s linear infinite;
}

.mellow-community-embed .profile-open-id-btn,
.mellow-community-embed .event-open-btn {
  border: 1px solid rgba(85, 60, 43, 0.18);
  background: rgba(255, 251, 244, 0.70);
  color: var(--cocoa);
}

.mellow-community-embed .profile-open-id-btn:hover,
.mellow-community-embed .event-open-btn:hover {
  background: rgba(255, 251, 244, 0.92);
}

.mellow-community-embed .event-action-btn.is-leave {
  border-color: rgba(47, 90, 47, 0.58);
  background: linear-gradient(180deg, #7f936f, #6f835f);
  color: #ffffff;
}

.mellow-community-embed .event-action-btn:disabled,
.mellow-community-embed .profile-save-btn.disabled {
  opacity: 0.62;
  cursor: default;
}

.mellow-community-embed .event-open-btn[aria-disabled="true"] {
  opacity: 0.58;
  cursor: default;
  pointer-events: none;
}

.mellow-community-embed .event-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.mellow-community-embed .profile-socials {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}

.mellow-community-embed .profile-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(85, 60, 43, 0.18);
  background: rgba(255, 251, 244, 0.72);
  color: var(--cocoa);
}

.mellow-community-embed .profile-social-icon svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.mellow-community-embed .profile-desc-btn {
  appearance: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 10px;
  border: 1px solid rgba(85, 60, 43, 0.18);
  background: rgba(255, 251, 244, 0.72);
  color: var(--cocoa);
}

.mellow-community-embed .status {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--cocoa-soft);
  font-weight: 800;
  text-align: center;
}

.mellow-community-embed .status.is-loading {
  display: grid !important;
  place-items: center;
  gap: 10px;
}

.mellow-community-embed .status-loading-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2F5A2F;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mellow-community-embed .status-loading-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(47, 90, 47, 0.24);
  border-top-color: #2F5A2F;
  animation: mellow-community-status-spin 0.8s linear infinite;
  display: inline-block;
  flex: 0 0 auto;
}

.mellow-community-embed .healers-modal[hidden] { display: none; }

.mellow-community-embed .healers-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
}

.mellow-community-embed .healers-modal-card {
  width: min(640px, 100%);
  max-height: 80vh;
  overflow: auto;
  border-radius: 24px;
  border: 1px solid var(--chip-border);
  background: #F8EEDA;
  padding: 20px;
}

.mellow-community-embed .healers-modal-top {
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.mellow-community-embed .healers-modal-title {
  margin: 0;
  font-size: 24px;
}

.mellow-community-embed .healers-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--cocoa);
  font-size: 20px;
  cursor: pointer;
}

.mellow-community-embed .healers-modal-body {
  color: var(--cocoa-soft);
  line-height: 1.7;
  white-space: pre-wrap;
}

.mellow-community-embed .event-banner-editor-card {
  width: min(620px, 100%);
}

.mellow-community-embed .event-banner-editor-body {
  display: grid;
  gap: 14px;
  white-space: normal;
}

.mellow-community-embed .event-banner-editor-preview {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid rgba(47, 90, 47, 0.20);
  border-radius: 8px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  box-shadow: 0 16px 38px rgba(65, 41, 25, 0.12);
}

.mellow-community-embed .event-banner-editor-preview.is-dragging {
  cursor: grabbing;
}

.mellow-community-embed .event-banner-editor-preview img {
  pointer-events: none;
}

.mellow-community-embed .event-banner-editor-controls,
.mellow-community-embed .mellow-apply-form {
  display: grid;
  gap: 10px;
}

.mellow-community-embed .event-banner-editor-control,
.mellow-community-embed .mellow-apply-form label,
.mellow-community-embed .mellow-apply-field-full {
  display: grid;
  gap: 6px;
}

.mellow-community-embed .event-banner-editor-control {
  color: #2F5A2F;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mellow-community-embed .event-banner-editor-control input[type="range"] {
  width: 100%;
  accent-color: #2F5A2F;
}

.mellow-community-embed .event-banner-editor-actions,
.mellow-community-embed .mellow-apply-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mellow-community-embed .event-banner-editor-btn,
.mellow-community-embed .mellow-apply-submit,
.mellow-community-embed .mellow-apply-secondary-btn,
.mellow-community-embed .mellow-apply-success-btn {
  min-height: 36px;
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.mellow-community-embed .event-banner-editor-btn {
  border: 1px solid rgba(47, 90, 47, 0.22);
  background: #FBF2DE;
  color: #2F5A2F;
  padding: 9px 13px;
}

.mellow-community-embed .event-banner-editor-btn.primary {
  border-color: #9CAF88;
  background: #9CAF88;
  color: #fff;
}

.mellow-community-embed .event-banner-editor-status {
  min-height: 18px;
  color: rgba(47, 90, 47, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.mellow-community-embed .event-banner-editor-status[data-kind="error"],
.mellow-community-embed .mellow-apply-status[data-kind="error"] {
  color: #8d2c22;
}

.mellow-community-embed .mellow-apply-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 12px;
}

.mellow-community-embed .mellow-apply-field-full,
.mellow-community-embed .mellow-apply-social-note,
.mellow-community-embed .mellow-apply-note,
.mellow-community-embed .mellow-apply-actions,
.mellow-community-embed .mellow-apply-auth-actions,
.mellow-community-embed .mellow-apply-status {
  grid-column: 1 / -1;
}

.mellow-community-embed .mellow-apply-form input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(47, 90, 47, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #2F5A2F;
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
}

.mellow-community-embed .mellow-apply-form input[readonly] {
  background: rgba(47, 90, 47, 0.06);
  cursor: default;
}

.mellow-community-embed .mellow-apply-form input:focus {
  border-color: rgba(47, 90, 47, 0.44);
  box-shadow: 0 0 0 3px rgba(156, 175, 136, 0.28);
}

.mellow-community-embed .mellow-apply-form span {
  color: #2F5A2F;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mellow-community-embed .mellow-apply-copy,
.mellow-community-embed .mellow-apply-social-note,
.mellow-community-embed .mellow-apply-note,
.mellow-community-embed .mellow-apply-status {
  color: rgba(47, 90, 47, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.mellow-community-embed .mellow-apply-status[data-kind="success"] {
  color: #2F9E85;
  font-weight: 700;
}

.mellow-community-embed .mellow-apply-submit,
.mellow-community-embed .mellow-apply-secondary-btn,
.mellow-community-embed .mellow-apply-success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(47, 158, 133, 0.35);
  background: linear-gradient(180deg, rgba(47, 158, 133, 0.12), rgba(47, 158, 133, 0.06));
  color: #2F9E85;
  padding: 14px 22px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.mellow-community-embed .mellow-apply-secondary-btn {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(47, 90, 47, 0.22);
  color: #2F5A2F;
  padding: 11px 16px;
  font-size: 12px;
}

.mellow-community-embed .mellow-apply-step[hidden],
.mellow-community-embed .mellow-apply-auth-actions[hidden] {
  display: none;
}

.mellow-community-embed #mellowApplyModal {
  z-index: 2147483600;
  align-items: flex-start;
  padding: calc(var(--mdid-topbar-height, 84px) + 20px) 20px 24px;
  background: rgba(58, 47, 31, 0.35);
  backdrop-filter: blur(10px);
}

.mellow-community-embed #mellowApplyModal .mellow-apply-modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(calc(100dvh - var(--mdid-topbar-height, 84px) - 44px), 760px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 28px;
  border: 1px solid rgba(47, 90, 47, 0.20);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.88) 0%, rgba(255, 251, 245, 0.96) 100%);
  box-shadow: 0 24px 55px rgba(119, 108, 82, 0.12);
  padding: 20px 20px 18px;
}

.mellow-community-embed #mellowApplyModal .mellow-apply-modal-card h3 {
  margin: 0 52px 8px 0;
  color: #2F5A2F;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mellow-community-embed #mellowApplyModal .healers-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.mellow-community-embed #mellowDashboardProgressModal {
  z-index: 2147483605;
  background: rgba(58, 47, 31, 0.35);
  backdrop-filter: blur(10px);
}

.mellow-community-embed #mellowDashboardProgressModal .mellow-dashboard-progress-card {
  width: min(420px, 100%);
  max-height: none;
  overflow: visible;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 30px 24px;
  border-radius: 28px;
  border: 1px solid rgba(47, 90, 47, 0.20);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.92) 0%, rgba(255, 251, 245, 0.98) 100%);
  box-shadow: 0 24px 55px rgba(119, 108, 82, 0.16);
  text-align: center;
}

.mellow-community-embed .mellow-dashboard-progress-spinner {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 4px solid rgba(47, 158, 133, 0.18);
  border-top-color: #2F9E85;
  animation: mellow-community-progress-spin 0.8s linear infinite;
}

.mellow-community-embed .mellow-dashboard-progress-text {
  margin: 0;
  color: #2F5A2F;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

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

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

@media (max-width: 767px) {
  .mellow-community-embed .community-filters-topline {
    gap: 10px;
  }

  .mellow-community-embed .community-new-first-wrap {
    font-size: 12px;
    gap: 6px;
  }

  .mellow-community-embed .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
  }

  .mellow-community-embed .filter-btn {
    min-width: 0;
    width: 100%;
    min-height: 40px;
    padding: 8px 7px;
    font-size: clamp(10px, 2.9vw, 11px);
    letter-spacing: 0.03em;
    white-space: normal;
    line-height: 1.2;
    text-wrap: balance;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .mellow-community-embed .community-filters-grid,
  .mellow-community-embed .events-filters-grid {
    grid-template-columns: 1fr;
  }

  .mellow-community-embed .slider-shell {
    padding: 0;
  }

  .mellow-community-embed .slider-nav {
    display: none !important;
  }

  .mellow-community-embed .profiles-rail,
  .mellow-community-embed .events-rail {
    gap: 12px;
  }

  .mellow-community-embed .profiles-rail .profile-card,
  .mellow-community-embed .event-discovery-card {
    flex-basis: calc(100% - 46px);
    max-width: calc(100% - 46px);
  }

  .mellow-community-embed .community-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .mellow-community-embed .community-section-head--members > div:first-child,
  .mellow-community-embed .community-section-head--events > div:first-child {
    text-align: center;
  }

  .mellow-community-embed .community-section-head--members .community-section-copy,
  .mellow-community-embed .community-section-head--events .community-section-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .mellow-community-embed .community-section-actions {
    width: 100%;
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .mellow-community-embed .community-head-action-btn {
    width: 100%;
  }

  .mellow-community-embed .mobile-menu-divider {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 4px;
    color: #2F5A2F;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .mellow-community-embed .mobile-menu-divider::before,
  .mellow-community-embed .mobile-menu-divider::after {
    content: "";
    flex: 1;
    min-width: 18px;
    height: 1px;
    background: rgba(47, 90, 47, 0.32);
  }

  .mellow-community-embed .community-clear-btn.is-visible {
    width: 100%;
    justify-content: center;
  }

  .mellow-community-embed .community-clear-btn--under-filters.is-visible {
    width: fit-content;
  }

  .mellow-community-embed .profile-reactions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mellow-community-embed .event-type-filters {
    display: grid;
    grid-template-columns: 0.68fr 1fr 1.32fr;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .mellow-community-embed .event-type-filter-btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 3px;
    font-size: 9px;
    line-height: 1.15;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-align: center;
  }

  .mellow-community-embed #mellowApplyModal {
    padding: calc(var(--mdid-topbar-height, 74px) + 12px) 10px 12px;
  }

  .mellow-community-embed #mellowApplyModal .mellow-apply-modal-card {
    width: 100%;
    max-height: calc(100dvh - var(--mdid-topbar-height, 74px) - 24px);
    border-radius: 22px;
    padding: 16px 14px 14px;
  }

  .mellow-community-embed #mellowApplyModal .mellow-apply-modal-card h3 {
    margin-right: 44px;
    font-size: 16px;
    line-height: 1.05;
  }

  .mellow-community-embed .mellow-apply-form {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .mellow-community-embed .mellow-apply-form span {
    font-size: 11px;
  }

  .mellow-community-embed .mellow-apply-form input {
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 12px;
  }

  .mellow-community-embed .mellow-apply-note,
  .mellow-community-embed .mellow-apply-status {
    font-size: 12px;
    line-height: 1.35;
  }

  .mellow-community-embed .mellow-apply-submit,
  .mellow-community-embed .mellow-apply-success-btn {
    min-height: 42px;
    padding: 10px 16px;
  }
}
