.community-modal.modal.liquid {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100dvh - 36px);
  padding: clamp(18px, 3vw, 34px);
  overflow: auto;
  border-radius: 36px;
}
.community-window-heading, .community-heading, .community-card-top, .community-card-bottom, .community-brand, .community-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.community-window-heading, .community-heading, .community-card-top { justify-content: space-between; }
.community-window-heading .settings-panel-header { width: auto; border: 0; margin: 0; }
.community-window-heading .settings-panel-header h2 {
  margin: 0;
  font-family: inherit;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.18;
  color: inherit;
}
.community-window-heading .settings-section-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  border-color: var(--reference-control-rim, rgba(238,248,255,.65));
  background: var(--reference-control, linear-gradient(145deg,rgba(255,255,255,.38),rgba(190,216,247,.12)));
  box-shadow: var(--reference-control-shadow, inset 0 1px 2px rgba(255,255,255,.7), 0 5px 14px rgba(18,47,79,.12));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.community-window-heading > button { margin-left: auto; }
.community-close {
  flex: 0 0 40px; height: 40px; border-radius: 50%; border: 1px solid #d3e2f28a;
  background: linear-gradient(145deg,#9ebddd66,#35496433); color: inherit;
  font: inherit; font-size: 24px; cursor: pointer;
}
.community-native { margin: 0; padding: 14px; min-height: 100dvh; background: #151e2d; font-family: system-ui, sans-serif; }
:root[data-theme="bright"] .community-native { background: linear-gradient(135deg,#f0f7ff,#b4d5f3); }
.community-root {
  font-family: inherit;
  --community-ink: #f3f7ff;
  --community-muted: #bac8de;
  --community-edge: #d7e6ff43;
  --community-hi: #bcd7ff27;
  --community-lo: #151b2a60;
  --community-focus: #9ac8ff44;
  color: var(--community-ink);
  min-width: 0;
}
:root[data-theme="bright"] .community-root, :root[data-theme="glacial"] .community-root {
  --community-ink: #142942;
  --community-muted: #344f6d;
  --community-edge: #f9fcffbe;
  --community-hi: #ffffff94;
  --community-lo: #b8d7f55a;
  --community-focus: #eaf6ffdc;
}
.community-root :is(h2,p) { margin: 0; }
.community-root *, .community-root *::before, .community-root *::after { box-sizing: border-box; }
.community-root p, .community-root small { line-height: 1.5; color: var(--community-muted); }
.community-root small { display: block; }
.community-nav, .community-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 3px;
  scrollbar-width: thin;
}
.community-nav { border-bottom: 1px solid var(--community-edge); padding-bottom: 12px; margin-bottom: 8px; }
.community-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--community-edge);
  background: linear-gradient(150deg, var(--community-hi), var(--community-lo));
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px #ffffff39, 0 4px 12px #102b501a;
  color: var(--community-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.community-pill:where([aria-pressed="true"],:hover), .community-pill.primary {
  background: linear-gradient(150deg, var(--community-focus), var(--community-hi));
}
.community-filter-pill {
  min-width: 176px;
  min-height: 48px;
  padding: 6px 8px 6px 10px;
  gap: 6px;
  justify-content: flex-start;
}
.community-filter-emoji { font-size: 15px; line-height: 1; }
.community-filter-copy {
  display: grid;
  justify-items: start;
  gap: 3px;
  min-width: 0;
}
.community-filter-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.05;
}
.community-filter-pill select {
  width: auto;
  max-width: 112px;
  padding: 2px 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.community-filter-pill .glass-select { width: auto; margin: 0; }
.community-filter-pill .glass-select-value[data-option-value=""] { display: none; }
.community-filter-pill .glass-select-trigger {
  width: auto;
  min-height: 26px;
  padding: 2px 3px 2px 8px;
  gap: 7px;
  border: 1px solid var(--community-edge);
  border-radius: 999px;
  background: linear-gradient(145deg, var(--community-hi), var(--community-lo));
  box-shadow: inset 0 1px #ffffff55, 0 3px 9px #102b5020;
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  backdrop-filter: blur(14px) saturate(155%);
}
.community-filter-pill .glass-select-value {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.community-filter-pill .glass-select-chevron {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid var(--community-edge);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--community-hi), var(--community-lo));
  box-shadow: inset 0 1px #ffffff66, 0 3px 9px #102b5024;
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  backdrop-filter: blur(14px) saturate(155%);
  transform: none;
}
.community-filter-pill .glass-select-chevron::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .16s ease, margin .16s ease;
}
.community-filter-pill .glass-select.is-open .glass-select-chevron { transform: none; }
.community-filter-pill .glass-select.is-open .glass-select-chevron::after {
  margin-top: 3px;
  transform: rotate(225deg);
}
body > .glass-select-menu:is([aria-label="Trending"],[aria-label="Users"],[aria-label="Budget"],[aria-label="ROI"],[aria-label="Category"],[aria-label="Sell channel"]) .glass-select-option {
  white-space: nowrap;
}
body > .glass-select-menu:is([aria-label="Trending"],[aria-label="Users"],[aria-label="Budget"],[aria-label="ROI"],[aria-label="Category"],[aria-label="Sell channel"]) {
  padding: 8px;
  border-color: rgba(220,235,255,.42);
  color: #f5f8ff;
  background:
    radial-gradient(130% 100% at 12% -18%,rgba(255,255,255,.15),transparent 58%),
    linear-gradient(145deg,rgba(25,30,40,.88),rgba(3,7,14,.92) 58%,rgba(18,24,34,.86));
  box-shadow:
    inset 0 1.5px 2px rgba(255,255,255,.24),
    inset 0 -1px rgba(0,0,0,.5),
    0 18px 42px rgba(0,0,0,.48);
  -webkit-backdrop-filter: blur(34px) saturate(155%) brightness(.78);
  backdrop-filter: blur(34px) saturate(155%) brightness(.78);
}
body > .glass-select-menu:is([aria-label="Trending"],[aria-label="Users"],[aria-label="Budget"],[aria-label="ROI"],[aria-label="Category"],[aria-label="Sell channel"]) .glass-select-option:is(:hover,:focus-visible) {
  background: rgba(255,255,255,.11);
}
body > .glass-select-menu:is([aria-label="Trending"],[aria-label="Users"],[aria-label="Budget"],[aria-label="ROI"],[aria-label="Category"],[aria-label="Sell channel"]) .glass-select-option.is-selected {
  border-color: rgba(225,238,255,.28);
  background: linear-gradient(135deg,rgba(255,255,255,.18),rgba(106,130,166,.12));
  box-shadow: inset 0 1px rgba(255,255,255,.18);
}
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(246px, 100%), 1fr)); gap: 14px; margin-top: 14px; }
.community-card, .community-form fieldset, .community-balance, .community-message, .community-empty {
  border: 1px solid var(--community-edge);
  border-radius: 26px;
  background: linear-gradient(145deg, var(--community-hi), var(--community-lo));
  box-shadow: inset 0 1px #ffffff45, 0 10px 24px #122c481a;
  backdrop-filter: blur(16px) saturate(138%);
}
.community-card { display: grid; align-content: start; gap: 12px; padding: 14px; min-width: 0; }
.community-card-link { display: grid; gap: 3px; text-align: left; padding: 0; color: inherit; background: none; border: 0; font: inherit; cursor: pointer; }
.community-card-link strong { font-size: 18px; }
.community-card-link small { margin-bottom: 6px; }
.community-card-bottom { justify-content: space-between; }
.community-card-top .community-pill { padding-inline: 9px; font-size: 12px; }
.community-logo, .community-profile-logo { object-fit: cover; object-position: center; border-radius: 50%; width: 32px; aspect-ratio: 1; }
.community-profile-logo { width: 92px; }
.community-art { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; border-radius: 19px; border: 1px solid var(--community-edge); }
.community-detail { max-width: 740px; margin: 10px auto; }
.community-detail .community-art { max-height: 420px; object-fit: contain; }
.community-detail p, .community-message p { white-space: pre-wrap; overflow-wrap: anywhere; }
.community-stats { display: flex; flex-wrap: wrap; gap: 9px; font-size: 12px; color: var(--community-muted); }
.community-status { padding: 6px 2px; }
.community-status:empty, .community-stats:empty { display: none; }
.community-preview { padding: 6px 0; font-size: 13px; }
.community-empty { padding: 18px; }
.community-balance { padding: 13px 18px; margin: 12px 0; display: grid; gap: 4px; }
.community-balance span { color: var(--community-muted); font-size: 13px; }
.community-products, .community-form, .community-form fieldset, .community-messages { display: grid; gap: 12px; }
.community-products .community-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.community-form-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(215px,100%),1fr)); gap: 10px; }
.community-form label, .community-confirm label { display: grid; gap: 5px; font-size: 13px; }
.community-form label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; }
.community-root :is(input:not([type="checkbox"]),textarea,.community-form select,.community-confirm select) {
  width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--community-edge);
  border-radius: 13px; background: var(--community-lo); color: var(--community-ink); font: inherit;
}
.community-root textarea { resize: vertical; min-height: 66px; }
.community-root select { color-scheme: dark; }
:root[data-theme="bright"] .community-root select, :root[data-theme="glacial"] .community-root select { color-scheme: light; }
.community-form fieldset { padding: 14px; margin: 0; min-width: 0; }
.community-checks { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(190px,100%),1fr)); gap: 9px; }
.community-form button[type="submit"] { justify-self: start; }
.community-confirm {
  width: min(530px,calc(100vw - 28px)); max-height: calc(100dvh - 40px); padding: 24px;
  border: 1px solid var(--community-edge); border-radius: 30px;
  background: linear-gradient(140deg,#273648f7,#121928f5); color: var(--community-ink);
  box-shadow: 0 16px 72px #07122663;
}
:root[data-theme="bright"] .community-confirm, :root[data-theme="glacial"] .community-confirm { background: linear-gradient(140deg,#f2f8fff7,#b3d4f5f5); }
.community-confirm::backdrop { background: #07152859; backdrop-filter: blur(8px); }
.community-confirm form { display: grid; gap: 13px; }
.community-confirm .community-actions { justify-content: flex-end; }
.community-inbox { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 14px; }
.community-inbox aside, .community-inbox section { display: grid; align-content: start; gap: 10px; min-width: 0; }
.community-inbox aside button { white-space: normal; }
.community-messages { max-height: 46vh; overflow: auto; }
.community-message { padding: 10px 14px; margin-right: 22px; }
.community-message.mine { margin-left: 22px; margin-right: 0; }
@media (max-width: 600px) {
  .community-inbox { grid-template-columns: 1fr; }
  .community-inbox aside { display: flex; overflow-x: auto; }
}
