:root {
  --stella-accent: #f43f70;
  --stella-accent-strong: #ed285e;
  --stella-accent-soft: #fff0f5;
  --stella-bg: #faf9fb;
  --stella-surface: #ffffff;
  --stella-surface-alt: #f7f6f8;
  --stella-surface-hover: #f2f0f3;
  --stella-text: #18171d;
  --stella-muted: #6f6c78;
  --stella-faint: #a29faa;
  --stella-border: #e7e4e9;
  --stella-border-strong: #d9d5dc;
  --stella-overlay: rgba(21, 18, 24, 0.72);
  --stella-success: #2fc48d;
  --stella-purple: #8b5cf6;
  --stella-shadow: 0 8px 24px rgba(32, 26, 37, 0.05);
  --stella-shadow-hover: 0 16px 34px rgba(32, 26, 37, 0.10);
  --stella-radius: 12px;
  --stella-radius-sm: 8px;
  --stella-topbar-height: 76px;
  color-scheme: light;
}

[data-theme="dark"] {
  --stella-accent: #ff4f80;
  --stella-accent-strong: #ff3c72;
  --stella-accent-soft: #29151e;
  --stella-bg: #101014;
  --stella-surface: #17171c;
  --stella-surface-alt: #1d1d23;
  --stella-surface-hover: #24242b;
  --stella-text: #f5f4f7;
  --stella-muted: #aaa6b2;
  --stella-faint: #76727e;
  --stella-border: #2b2a31;
  --stella-border-strong: #3a3841;
  --stella-overlay: rgba(5, 5, 7, 0.76);
  --stella-success: #3bd7a0;
  --stella-purple: #a78bfa;
  --stella-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  --stella-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.30);
  color-scheme: dark;
}

html,
body {
  min-height: 100%;
  background: var(--stella-bg);
  color: var(--stella-text);
}

body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.stella-muted {
  color: var(--stella-muted);
}

.stella-kicker {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--stella-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stella-button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--stella-border-strong);
  border-radius: var(--stella-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--stella-surface);
  color: var(--stella-text);
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}

.stella-button:hover {
  border-color: var(--stella-accent);
}

.stella-button:active {
  transform: translateY(1px);
}

.stella-button-primary {
  border-color: var(--stella-accent);
  background: var(--stella-accent);
  color: #fff;
}

.stella-button-primary:hover {
  border-color: var(--stella-accent-strong);
  background: var(--stella-accent-strong);
}

.stella-button-secondary {
  background: var(--stella-surface);
}

.stella-button-overlay {
  border-color: rgba(255,255,255,0.72);
  background: rgba(17, 14, 18, 0.46);
  color: #fff;
}

.stella-icon-button,
.stella-icon-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--stella-border);
  border-radius: var(--stella-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--stella-surface);
  color: var(--stella-muted);
  cursor: pointer;
}

.stella-icon-button:hover,
.stella-icon-link:hover,
.stella-icon-link.is-active {
  border-color: var(--stella-accent);
  color: var(--stella-accent);
}

.stella-text-button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--stella-accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
}

.stella-field {
  display: grid;
  gap: 7px;
  color: var(--stella-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.stella-field input,
.stella-field select,
.stella-field textarea,
.stella-inline-select select,
.stella-filter-control select,
.stella-range-fields input,
.stella-conversation-search input,
.stella-chat-compose input {
  width: 100%;
  border: 1px solid var(--stella-border-strong);
  border-radius: var(--stella-radius-sm);
  background: var(--stella-surface);
  color: var(--stella-text);
  outline: 0;
}

.stella-field input,
.stella-field select,
.stella-filter-control select,
.stella-range-fields input,
.stella-inline-select select {
  min-height: 42px;
  padding: 0 11px;
}

.stella-field textarea {
  padding: 11px;
  resize: vertical;
}

.stella-field input:focus,
.stella-field select:focus,
.stella-field textarea:focus,
.stella-inline-select select:focus,
.stella-filter-control select:focus,
.stella-range-fields input:focus,
.stella-conversation-search input:focus,
.stella-chat-compose input:focus {
  border-color: var(--stella-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--stella-accent) 12%, transparent);
}

.stella-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stella-form-error {
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, #e53935 45%, var(--stella-border));
  border-radius: var(--stella-radius-sm);
  background: color-mix(in srgb, #e53935 7%, var(--stella-surface));
  color: #d63c3c;
  font-size: 0.82rem;
}

.stella-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stella-success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--stella-success) 14%, transparent);
}

.stella-status-dot-muted {
  background: var(--stella-faint);
  box-shadow: none;
}

.stella-verified {
  color: var(--stella-accent);
  vertical-align: middle;
}

.stella-toast-stack {
  position: fixed;
  z-index: 5000;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 8px;
}

.stella-toast {
  min-width: 260px;
  max-width: 420px;
  padding: 12px 14px;
  border: 1px solid var(--stella-border-strong);
  border-radius: var(--stella-radius-sm);
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--stella-surface);
  box-shadow: var(--stella-shadow-hover);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.stella-toast i {
  color: var(--stella-success);
}

.stella-toast-error i {
  color: #e5484d;
}

.stella-empty-state {
  padding: 70px 24px;
  border: 1px dashed var(--stella-border-strong);
  border-radius: var(--stella-radius);
  text-align: center;
  color: var(--stella-muted);
}

.stella-empty-state i {
  font-size: 2.5rem;
  color: var(--stella-accent);
}

.stella-empty-state h2 {
  margin: 10px 0 5px;
  color: var(--stella-text);
}

@media (max-width: 700px) {
  .stella-form-grid {
    grid-template-columns: 1fr;
  }

  .stella-toast-stack {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .stella-toast {
    min-width: 0;
    max-width: none;
  }
}

.crp-dropdown-panel[aria-hidden="true"] {
  display: none;
}

.stella-account-avatar-empty,
.stella-conversation-avatar-empty,
.stella-blocked-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--stella-surface-alt);
  color: var(--stella-muted);
}

.stella-account-avatar-empty {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.stella-account-appearance {
  padding: 12px 14px 14px;
  display: grid;
  gap: 10px;
}

.stella-account-appearance > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--stella-text);
  font-size: 0.76rem;
}

.stella-account-appearance > span i {
  width: 28px;
  color: var(--stella-accent);
  font-size: 1.08rem;
}

.stella-account-theme-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.stella-account-theme-buttons button {
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--stella-border);
  border-radius: 7px;
  background: var(--stella-surface-alt);
  color: var(--stella-muted);
  font-size: 0.68rem;
  font-weight: 650;
  cursor: pointer;
}

html[data-theme-preference="system"] [data-theme-toggle="system"],
html[data-theme-preference="light"] [data-theme-toggle="light"],
html[data-theme-preference="dark"] [data-theme-toggle="dark"] {
  border-color: var(--stella-accent);
  background: var(--stella-accent-soft);
  color: var(--stella-accent);
}

.stella-saved-filter-control {
  min-height: 48px;
  padding: 7px 10px 7px 14px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
}

.stella-saved-filter-control > i {
  color: var(--stella-accent);
}

.stella-saved-filter-control select {
  min-width: 0;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--stella-muted);
  outline: 0;
  font-size: 0.76rem;
  font-weight: 600;
}

.stella-saved-filter-control button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 7px;
  justify-content: center;
  color: var(--stella-muted);
}

.stella-online-filter {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.stella-online-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stella-online-filter span {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--stella-border);
  border-radius: var(--stella-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--stella-surface);
  color: var(--stella-muted);
  font-size: 0.73rem;
  font-weight: 650;
}

.stella-online-filter span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stella-faint);
}

.stella-online-filter input:checked + span {
  border-color: color-mix(in srgb, var(--stella-success) 45%, var(--stella-border));
  color: var(--stella-text);
}

.stella-online-filter input:checked + span i {
  background: var(--stella-success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--stella-success) 14%, transparent);
}

.stella-search-select {
  position: relative;
  display: grid;
  gap: 7px;
}

.stella-search-select > input {
  min-height: 39px;
  padding: 0 10px;
  border: 1px solid var(--stella-border-strong);
  border-radius: var(--stella-radius-sm);
  background: var(--stella-surface);
  color: var(--stella-text);
  outline: 0;
}

.stella-search-select > input:focus {
  border-color: var(--stella-accent);
}

.stella-search-select-results {
  position: absolute;
  z-index: 80;
  top: 44px;
  left: 0;
  right: 0;
  max-height: 220px;
  padding: 5px;
  border: 1px solid var(--stella-border-strong);
  border-radius: var(--stella-radius-sm);
  background: var(--stella-surface);
  box-shadow: var(--stella-shadow-hover);
  overflow-y: auto;
}

.stella-search-select-results button {
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  display: block;
  background: transparent;
  color: var(--stella-text);
  text-align: left;
  font-size: 0.73rem;
  cursor: pointer;
}

.stella-search-select-results button:hover {
  background: var(--stella-surface-hover);
}

.stella-search-select-empty {
  padding: 10px;
  color: var(--stella-muted);
  font-size: 0.72rem;
}

.stella-search-select-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.stella-search-select-pill {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--stella-accent) 30%, var(--stella-border));
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--stella-accent-soft);
  color: var(--stella-accent);
  font-size: 0.68rem;
  font-weight: 650;
}

.stella-profile-card-image-empty,
.stella-profile-main-image-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--stella-surface-alt), var(--stella-surface-hover));
  color: var(--stella-faint);
}

.stella-profile-card-image-empty i {
  font-size: 4rem;
}

.stella-profile-main-image-empty i {
  font-size: 5rem;
}

.stella-card-statuses,
.stella-profile-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.stella-profile-status {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 16, 20, 0.58);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.stella-profile-status.is-online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stella-success);
}

.stella-profile-status.is-new {
  background: color-mix(in srgb, var(--stella-accent) 82%, rgba(18, 16, 20, 0.58));
}

.stella-profile-status.is-staff {
  background: color-mix(in srgb, var(--stella-purple) 82%, rgba(18, 16, 20, 0.58));
}

.stella-profile-card-role {
  margin-left: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--stella-purple) 24%, rgba(0,0,0,0.25));
  color: #fff;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.stella-card-icon-button.is-active,
.stella-card-round-like.is-active,
.stella-profile-primary-actions .is-active {
  border-color: var(--stella-accent);
  color: #fff;
  background: var(--stella-accent);
}

.stella-profile-own-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stella-profile-main-image-open {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.stella-profile-hero-top {
  z-index: 3;
  pointer-events: none;
}

.stella-profile-hero-top button,
.stella-profile-hero-top a {
  pointer-events: auto;
}

.stella-profile-thumbnail {
  min-height: 0;
  padding: 0;
  border: 0;
  background: var(--stella-surface-alt);
  cursor: pointer;
  overflow: hidden;
}

.stella-profile-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 160ms ease, opacity 160ms ease;
}

.stella-profile-thumbnail:hover img,
.stella-profile-thumbnail.is-active img {
  transform: scale(1.025);
}

.stella-profile-thumbnail.is-active img {
  opacity: 0.82;
}

.stella-profile-no-data,
.stella-side-card-copy,
.stella-empty-inline {
  color: var(--stella-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.stella-side-card-copy {
  margin: 8px 0 15px;
}

.stella-profile-edit-modal {
  width: min(820px, 100%);
}

.stella-profile-edit-media {
  padding: 14px;
  border: 1px solid var(--stella-border);
  border-radius: var(--stella-radius-sm);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  background: var(--stella-surface-alt);
}

.stella-profile-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}


.stella-gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
}

.stella-gallery-image-button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--stella-radius-sm);
  background: transparent;
  overflow: hidden;
  cursor: zoom-in;
}

.stella-gallery-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stella-gallery-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18,16,20,0.62);
  color: #fff;
  cursor: pointer;
}

.stella-lightbox {
  position: fixed;
  z-index: 9000;
  inset: 0;
  padding: 40px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 7, 10, 0.92);
}

.stella-lightbox-stage {
  max-width: min(1400px, 100%);
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stella-lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}

.stella-lightbox-close,
.stella-lightbox-nav {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,18,22,0.72);
  color: #fff;
  cursor: pointer;
}

.stella-lightbox-close {
  top: 20px;
  right: 22px;
}

.stella-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.stella-lightbox-nav.is-previous {
  left: 20px;
}

.stella-lightbox-nav.is-next {
  right: 20px;
}

.stella-lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20,18,22,0.72);
  color: #fff;
  font-size: 0.72rem;
}

.crp-dropdown {
  z-index: 9200;
  min-width: 180px;
  padding: 5px;
  border: 1px solid var(--stella-border-strong);
  border-radius: var(--stella-radius-sm);
  background: var(--stella-surface);
  box-shadow: var(--stella-shadow-hover);
}

.crp-dropdown .dropdown-item {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  color: var(--stella-text);
  font-size: 0.76rem;
  cursor: pointer;
}

.crp-dropdown .dropdown-item:hover {
  background: var(--stella-surface-hover);
}

.stella-report-form,
.stella-password-form {
  display: grid;
  gap: 15px;
}

.stella-conversation-avatar-empty {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.stella-conversation-empty {
  padding: 24px 16px;
  color: var(--stella-muted);
  font-size: 0.76rem;
  text-align: center;
}

.stella-chat-empty-header {
  color: var(--stella-muted);
  font-size: 0.78rem;
}

.stella-chat-welcome {
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--stella-muted);
  text-align: center;
}

.stella-chat-welcome i {
  color: var(--stella-accent);
  font-size: 2rem;
}

.stella-chat-welcome strong {
  color: var(--stella-text);
  font-size: 0.9rem;
}

.stella-chat-welcome span {
  font-size: 0.75rem;
}

.stella-chat-panel {
  grid-template-rows: 68px minmax(0, 1fr) auto 68px;
}

.stella-chat-typing {
  min-height: 28px;
  padding: 5px 24px;
  background: var(--stella-bg);
  color: var(--stella-muted);
  font-size: 0.68rem;
}

.stella-chat-message-meta {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: var(--stella-faint);
  font-size: 0.6rem;
}

.stella-chat-message-meta time {
  white-space: nowrap;
}

.stella-chat-receipt {
  display: inline-flex;
  align-items: center;
  color: var(--stella-faint);
}

.stella-chat-receipt.is-read {
  color: var(--stella-accent);
}

.stella-chat-message-delete {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--stella-faint);
  opacity: 0;
  cursor: pointer;
}

.stella-chat-bubble:hover .stella-chat-message-delete,
.stella-chat-message-delete:focus-visible {
  opacity: 1;
}

.stella-chat-image-button {
  max-width: 360px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  display: block;
  background: transparent;
  overflow: hidden;
  cursor: zoom-in;
}

.stella-chat-image {
  width: 100%;
  max-height: 360px;
  display: block;
  object-fit: contain;
}

.stella-blocked-list {
  display: grid;
}

.stella-blocked-row {
  min-height: 66px;
  padding: 10px 0;
  border-bottom: 1px solid var(--stella-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stella-blocked-row:last-child {
  border-bottom: 0;
}

.stella-blocked-person {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.stella-blocked-person > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.stella-blocked-person strong {
  color: var(--stella-text);
  font-size: 0.8rem;
}

.stella-blocked-person small {
  color: var(--stella-muted);
  font-size: 0.68rem;
}

.stella-blocked-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  overflow: hidden;
}

.stella-blocked-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stella-subscription-page {
  min-height: calc(100vh - var(--stella-topbar-height) - 106px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stella-subscription-card {
  width: min(560px, 100%);
  padding: 44px 38px;
  border: 1px solid var(--stella-border);
  border-radius: var(--stella-radius);
  display: grid;
  justify-items: center;
  gap: 12px;
  background: var(--stella-surface);
  box-shadow: var(--stella-shadow);
  text-align: center;
}

.stella-subscription-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--stella-accent-soft);
  color: var(--stella-accent);
  font-size: 2rem;
}

.stella-subscription-card h1 {
  margin: 4px 0 0;
  font-size: 1.65rem;
}

.stella-subscription-card > p {
  max-width: 430px;
  margin: 0;
  color: var(--stella-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.stella-subscription-state {
  width: 100%;
  margin: 8px 0;
  padding: 13px;
  border: 1px solid var(--stella-border);
  border-radius: var(--stella-radius-sm);
  display: grid;
  justify-items: center;
  gap: 5px;
  background: var(--stella-surface-alt);
}

.stella-subscription-state small {
  color: var(--stella-muted);
  font-size: 0.7rem;
}

.stella-subscription-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
}

.stella-subscription-status.is-active {
  color: var(--stella-success);
}

.stella-subscription-status.is-inactive {
  color: var(--stella-muted);
}

.stella-subscription-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.stella-eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--stella-accent);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .stella-profile-edit-fields {
    grid-template-columns: 1fr;
  }

  .stella-lightbox {
    padding: 58px 16px 52px;
  }

  .stella-lightbox-nav {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .stella-lightbox-nav.is-previous {
    left: 14px;
  }

  .stella-lightbox-nav.is-next {
    right: 14px;
  }

  .stella-lightbox-counter {
    bottom: 24px;
  }
}

@media (max-width: 620px) {
  .stella-profile-edit-media {
    grid-template-columns: 1fr;
  }

  .stella-profile-own-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .stella-subscription-card {
    padding: 32px 20px;
  }

  .stella-blocked-row {
    align-items: flex-start;
  }
}


.crp-select {
  position: relative;
  width: 100%;
}

.crp-select-control {
  width: 100%;
  min-height: 40px;
  padding: 5px 9px 5px 10px;
  border: 1px solid var(--stella-border-strong);
  border-radius: var(--stella-radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--stella-surface);
  color: var(--stella-text);
  text-align: left;
  cursor: pointer;
}

.crp-select-control:focus-visible,
.crp-select:focus-within .crp-select-control {
  border-color: var(--stella-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--stella-accent) 12%, transparent);
  outline: 0;
}

.crp-select-selection {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.crp-select-value,
.crp-select-placeholder {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crp-select-placeholder {
  color: var(--stella-muted);
}

.crp-select-pill,
.crp-select-count {
  min-width: 0;
  max-width: 150px;
  padding: 3px 7px;
  border: 1px solid color-mix(in srgb, var(--stella-accent) 28%, var(--stella-border));
  border-radius: 999px;
  flex: 0 1 auto;
  background: var(--stella-accent-soft);
  color: var(--stella-accent);
  font-size: 0.66rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crp-select-count {
  flex: 0 0 auto;
}

.crp-select-control > .mdi {
  flex: 0 0 auto;
  color: var(--stella-muted);
}

.crp-select-panel {
  position: absolute;
  z-index: 9400;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  padding: 6px;
  border: 1px solid var(--stella-border-strong);
  border-radius: var(--stella-radius-sm);
  background: var(--stella-surface);
  box-shadow: var(--stella-shadow-hover);
}

.crp-select-panel > input {
  width: 100%;
  min-height: 36px;
  margin-bottom: 5px;
  padding: 0 9px;
  border: 1px solid var(--stella-border);
  border-radius: 6px;
  background: var(--stella-surface-alt);
  color: var(--stella-text);
  outline: 0;
}

.crp-select-panel > input:focus {
  border-color: var(--stella-accent);
}

.crp-select-list {
  max-height: 238px;
  overflow-y: auto;
}

.crp-select-option {
  width: 100%;
  min-height: 35px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  color: var(--stella-text);
  font-size: 0.73rem;
  text-align: left;
  cursor: pointer;
}

.crp-select-option:hover,
.crp-select-option:focus-visible {
  background: var(--stella-surface-hover);
  outline: 0;
}

.crp-select-option.is-selected {
  color: var(--stella-accent);
  font-weight: 700;
}

.crp-select-empty {
  padding: 12px 8px;
  color: var(--stella-muted);
  font-size: 0.72rem;
}

.crp-dropdown .dropdown-item {
  width: 100%;
  border: 0;
  gap: 9px;
  background: transparent;
  text-align: left;
}

@media (min-width: 901px) {
  .stella-profile-card-image img,
  .stella-profile-main-image,
  .stella-profile-thumbnail img,
  .stella-gallery-image-button img,
  .stella-conversation-avatar img {
    object-position: center 70%;
  }
}

.stella-profile-edit-media > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.stella-profile-edit-media small {
  color: var(--stella-muted);
  line-height: 1.45;
}

@media (max-width: 620px) {
  .crp-select-pill {
    max-width: 105px;
  }
}
