/* ═══════════════════════════════════════════════════════════════════
   CONEXIO – Velvet Aurora Design System v1.0
   Dark Glassmorphism · Aurora Color Palette
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --cx-bg:          #0a0814;
  --cx-bg2:         #110d1e;
  --cx-bg3:         #17122a;
  --cx-primary:     #b5507f;
  --cx-primary2:    #d4387a;
  --cx-accent:      #7c3aed;
  --cx-accent2:     #9f67f5;
  --cx-teal:        #2dd4bf;
  --cx-teal2:       #99f6e4;
  --cx-gold:        #f59e0b;
  --cx-glass:       rgba(255,255,255,0.065);
  --cx-glass-b:     rgba(255,255,255,0.12);
  --cx-glass-hov:   rgba(255,255,255,0.10);
  --cx-text:        #e8e0f0;
  --cx-text-soft:   #9d90b8;
  --cx-text-muted:  #5c5278;
  --cx-radius:      16px;
  --cx-radius-sm:   8px;
  --cx-shadow:      0 8px 40px rgba(0,0,0,.5);
  --cx-glow:        0 0 30px rgba(181,80,127,0.2);
  --cx-font-d:      'Cormorant Garamond', Georgia, serif;
  --cx-font-b:      'DM Sans', system-ui, sans-serif;
  --cx-ease:        0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Base ── */
.cx-wrap *, .cx-auth-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
.cx-wrap, .cx-auth-wrap {
  font-family: var(--cx-font-b);
  color: var(--cx-text);
  min-height: 100vh;
}
body {
  background: var(--cx-bg);
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(124,58,237,.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(181,80,127,.11) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(45,212,191,.05) 0%, transparent 65%);
  background-attachment: fixed;
}

/* ── Glassmorphism ── */
.cx-glass {
  background: var(--cx-glass);
  border: 1px solid var(--cx-glass-b);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--cx-radius);
}

/* ══ NAVIGATION ══════════════════════════════════════════════════════ */
.cx-main-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 2rem;
  position: sticky; top: 0; z-index: 999;
  border-radius: 0;
  border: none; border-bottom: 1px solid var(--cx-glass-b);
  background: rgba(10,8,20,.85);
  backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.cx-nav-logo a {
  font-family: var(--cx-font-d); font-size: 1.65rem; font-weight: 600;
  color: var(--cx-primary); text-decoration: none; letter-spacing: .02em;
  text-shadow: 0 0 24px rgba(181,80,127,.45);
}
.cx-nav-links { display: flex; gap: .2rem; align-items: center; flex-wrap: wrap; }
.cx-nav-link {
  padding: .42rem .85rem; border-radius: 30px;
  color: var(--cx-text-soft); text-decoration: none;
  font-size: .83rem; font-weight: 500; transition: var(--cx-ease);
}
.cx-nav-link:hover { color: var(--cx-text); background: var(--cx-glass-hov); }
.cx-nav-link.cx-active { color: var(--cx-primary); background: rgba(181,80,127,.1); }
.cx-nav-right { display: flex; align-items: center; gap: .75rem; }
.cx-nav-avatar img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--cx-primary);
  transition: var(--cx-ease);
}
.cx-nav-avatar:hover img { border-color: var(--cx-teal); transform: scale(1.06); }

/* ── Notification ── */
.cx-notif-wrap { position: relative; }
.cx-notif-btn {
  background: none; border: 1px solid var(--cx-glass-b);
  color: var(--cx-text-soft); padding: .38rem .7rem;
  border-radius: 30px; cursor: pointer; font-size: .9rem; transition: var(--cx-ease);
}
.cx-notif-btn:hover { background: var(--cx-glass-hov); color: var(--cx-text); }
.cx-notif-panel {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 310px; max-height: 380px; overflow-y: auto; z-index: 1000; padding: .65rem;
}
.cx-notif-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .4rem; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .83rem;
}
.cx-notif-item img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cx-notif-item.cx-unread { background: rgba(181,80,127,.05); }

/* ══ PAGE TITLE ══════════════════════════════════════════════════════ */
.cx-page-title { padding: 2.5rem 2rem 1rem; text-align: center; }
.cx-page-title h1 {
  font-family: var(--cx-font-d); font-size: 2.5rem;
  font-weight: 300; letter-spacing: .02em; color: var(--cx-text);
}
.cx-page-title p { color: var(--cx-text-soft); margin-top: .5rem; font-size: 1rem; }

/* ══ AUTH ════════════════════════════════════════════════════════════ */
.cx-auth-wrap {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 2rem;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(181,80,127,.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(124,58,237,.15) 0%, transparent 50%);
}
.cx-auth-card { width: 100%; max-width: 460px; padding: 2.5rem; animation: cx-fade-up .5s ease; }
.cx-auth-logo {
  font-family: var(--cx-font-d); font-size: 2rem; font-weight: 600;
  color: var(--cx-primary); text-align: center; margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(181,80,127,.5);
}
.cx-auth-card h2 { font-family: var(--cx-font-d); font-size: 1.8rem; font-weight: 300; text-align: center; margin-bottom: .5rem; }
.cx-auth-sub { color: var(--cx-text-soft); text-align: center; margin-bottom: 2rem; font-size: .9rem; }
.cx-auth-link { text-align: center; margin-top: 1.5rem; color: var(--cx-text-soft); font-size: .9rem; }
.cx-auth-link a { color: var(--cx-primary); text-decoration: none; }
.cx-auth-link a:hover { text-decoration: underline; }

/* ══ FORMS ═══════════════════════════════════════════════════════════ */
.cx-form { display: flex; flex-direction: column; gap: 1rem; }
.cx-field { display: flex; flex-direction: column; gap: .4rem; }
.cx-field label {
  font-size: .78rem; font-weight: 500; color: var(--cx-text-soft);
  text-transform: uppercase; letter-spacing: .06em;
}
.cx-field input, .cx-field select, .cx-field textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--cx-glass-b);
  border-radius: var(--cx-radius-sm); color: var(--cx-text);
  padding: .65rem 1rem; font-family: var(--cx-font-b); font-size: .95rem; width: 100%;
  transition: var(--cx-ease);
}
.cx-field input:focus, .cx-field select:focus, .cx-field textarea:focus {
  outline: none; border-color: var(--cx-primary);
  background: rgba(181,80,127,.06); box-shadow: 0 0 0 3px rgba(181,80,127,.12);
}
.cx-field select option { background: var(--cx-bg2); color: var(--cx-text); }
.cx-field textarea { resize: vertical; min-height: 90px; }
.cx-form-row { display: flex; gap: 1rem; }
.cx-form-2col > * { flex: 1; min-width: 0; }
.cx-form-3col > * { flex: 1; min-width: 0; }
.cx-row-between { flex-direction: row !important; align-items: center; justify-content: space-between; }
.cx-checkbox-field { flex-direction: row !important; align-items: center; gap: .5rem; }
.cx-checkbox-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .85rem; color: var(--cx-text-soft); }
.cx-checkbox-label input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; }
.cx-checkbox-label a { color: var(--cx-primary); text-decoration: none; }
.cx-link-soft { color: var(--cx-text-soft); font-size: .85rem; text-decoration: none; }
.cx-link-soft:hover { color: var(--cx-primary); }

/* ── Range Slider ── */
.cx-range-row { display: flex; flex-direction: column; gap: .5rem; }
input[type="range"] { -webkit-appearance: none; width: 100%; height: 4px; background: var(--cx-glass); border-radius: 2px; outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--cx-primary); cursor: pointer; box-shadow: 0 0 6px rgba(181,80,127,.5); }

/* ══ BUTTONS ═════════════════════════════════════════════════════════ */
.cx-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; padding: .65rem 1.5rem; border-radius: 30px;
  font-family: var(--cx-font-b); font-size: .9rem; font-weight: 500;
  cursor: pointer; border: none; transition: var(--cx-ease);
  text-decoration: none; white-space: nowrap;
}
.cx-btn-primary {
  background: linear-gradient(135deg, var(--cx-primary), var(--cx-accent));
  color: #fff; box-shadow: 0 4px 20px rgba(181,80,127,.3);
}
.cx-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(181,80,127,.45); color: #fff; }
.cx-btn-soft { background: var(--cx-glass); border: 1px solid var(--cx-glass-b); color: var(--cx-text-soft); }
.cx-btn-soft:hover { background: var(--cx-glass-hov); color: var(--cx-text); }
.cx-btn-danger { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #ef4444; }
.cx-btn-danger:hover { background: rgba(239,68,68,.2); }
.cx-btn-full { width: 100%; }
.cx-btn-sm { padding: .32rem .85rem; font-size: .78rem; }

/* ══ ALERTS ══════════════════════════════════════════════════════════ */
.cx-msg { padding: .7rem 1rem; border-radius: var(--cx-radius-sm); font-size: .88rem; border: 1px solid transparent; }
.cx-msg.cx-success { background: rgba(45,212,191,.1); border-color: rgba(45,212,191,.3); color: var(--cx-teal2); }
.cx-msg.cx-error   { background: rgba(239,68,68,.1);  border-color: rgba(239,68,68,.3);  color: #fca5a5; }

/* ══ BADGES & TAGS ═══════════════════════════════════════════════════ */
.cx-badge, .cx-badge-sm {
  display: inline-block; padding: .1rem .5rem;
  border-radius: 20px; font-size: .7rem; font-weight: 600;
}
.cx-badge-verify  { background: rgba(45,212,191,.15); color: var(--cx-teal);  border: 1px solid rgba(45,212,191,.3); }
.cx-badge-premium { background: rgba(245,158,11,.15); color: var(--cx-gold);  border: 1px solid rgba(245,158,11,.3); }
.cx-count-badge, .cx-unread-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cx-primary); color: #fff;
  font-size: .65rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%; margin-left: 2px;
}
.cx-online-dot {
  display: inline-block; width: 8px; height: 8px;
  background: #4ade80; border-radius: 50%; box-shadow: 0 0 6px #4ade80; flex-shrink: 0;
}
.cx-tag {
  display: inline-block; padding: .18rem .58rem;
  background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.2);
  border-radius: 20px; font-size: .74rem; color: var(--cx-accent2); margin: .1rem;
}

/* ══ TABS ════════════════════════════════════════════════════════════ */
.cx-tabs { display: flex; gap: .5rem; padding: .75rem; border-bottom: 1px solid var(--cx-glass-b); }
.cx-tab { padding: .42rem 1.1rem; border-radius: 30px; border: 1px solid transparent; background: none; color: var(--cx-text-soft); cursor: pointer; font-family: var(--cx-font-b); font-size: .88rem; transition: var(--cx-ease); }
.cx-tab.cx-tab-active { background: rgba(181,80,127,.15); border-color: rgba(181,80,127,.3); color: var(--cx-primary); }
.cx-tab-content { display: none; padding: 1rem; }
.cx-tab-content.cx-active { display: block; }

/* ══ SECTION TITLE ═══════════════════════════════════════════════════ */
.cx-section-title {
  font-family: var(--cx-font-d); font-size: 1.05rem; font-weight: 400;
  color: var(--cx-text-soft); letter-spacing: .05em; text-transform: uppercase;
  margin: 1.5rem 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--cx-glass-b);
}

/* ══ PROFILE EDITOR ══════════════════════════════════════════════════ */
.cx-profile-editor { max-width: 820px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.cx-cover-area {
  height: 220px;
  background: linear-gradient(135deg, var(--cx-bg2), var(--cx-bg3));
  background-size: cover; background-position: center;
  border-radius: var(--cx-radius); position: relative;
  margin-bottom: 65px; border: 1px solid var(--cx-glass-b);
}
.cx-upload-btn {
  position: absolute; top: 1rem; right: 1rem;
  padding: .4rem .8rem; border-radius: 20px; cursor: pointer;
  font-size: .8rem; color: var(--cx-text-soft);
  background: var(--cx-glass); border: 1px solid var(--cx-glass-b); backdrop-filter: blur(10px);
}
.cx-avatar-wrap { position: absolute; bottom: -58px; left: 50%; transform: translateX(-50%); }
.cx-avatar-ring {
  width: 115px; height: 115px; border-radius: 50%;
  border: 3px solid var(--cx-primary); padding: 3px;
  background: var(--cx-bg); box-shadow: var(--cx-glow);
}
.cx-avatar-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cx-avatar-edit {
  position: absolute; bottom: 2px; right: 2px;
  width: 28px; height: 28px; background: var(--cx-primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; cursor: pointer; font-weight: 700;
}
.cx-profile-form-wrap { padding: 2rem; }
.cx-stats-row { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; }
.cx-stat { color: var(--cx-text-soft); font-size: .85rem; }

/* ══ PROFILE GRID / CARDS ════════════════════════════════════════════ */
.cx-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.2rem; padding: 1.5rem 2rem;
}
.cx-card { overflow: hidden; transition: var(--cx-ease); position: relative; }
.cx-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(181,80,127,.22); border-color: rgba(181,80,127,.28); }
.cx-card-img-wrap { height: 200px; overflow: hidden; border-radius: var(--cx-radius) var(--cx-radius) 0 0; }
.cx-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cx-card:hover .cx-card-img-wrap img { transform: scale(1.06); }
.cx-card-body { padding: .9rem 1rem; }
.cx-card-name { font-weight: 600; font-size: .98rem; margin-bottom: .22rem; display: flex; align-items: center; gap: .3rem; }
.cx-card-meta { color: var(--cx-text-soft); font-size: .78rem; margin-bottom: .45rem; }
.cx-card-bio  { color: var(--cx-text-soft); font-size: .8rem; line-height: 1.4; margin-bottom: .65rem; }
.cx-card-tags { margin-bottom: .65rem; }
.cx-card-actions { display: flex; gap: .45rem; flex-wrap: wrap; }
.cx-empty-hint { padding: 3rem 2rem; text-align: center; color: var(--cx-text-muted); font-size: 1rem; width: 100%; }

/* ══ SEARCH ══════════════════════════════════════════════════════════ */
.cx-search-layout { display: grid; grid-template-columns: 270px 1fr; gap: 1.5rem; padding: 1.5rem 2rem; align-items: start; }
.cx-search-filters { padding: 1.5rem; position: sticky; top: 80px; }
.cx-search-filters h3 { font-family: var(--cx-font-d); font-size: 1.2rem; margin-bottom: 1.25rem; color: var(--cx-primary); }
.cx-search-results { min-height: 200px; }

/* ══ DISCOVER / SWIPE ════════════════════════════════════════════════ */
.cx-discover-wrap { max-width: 480px; margin: 0 auto; padding: 1rem 1.5rem 3rem; }
.cx-swipe-stack { height: 520px; position: relative; margin-bottom: 1.5rem; }
.cx-swipe-card {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; cursor: grab;
  animation: cx-fade-in .3s ease;
}
.cx-swipe-info { padding: 1.5rem; width: 100%; }
.cx-swipe-name { font-family: var(--cx-font-d); font-size: 1.85rem; font-weight: 400; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.cx-swipe-loc  { color: rgba(255,255,255,.75); font-size: .88rem; margin-bottom: .5rem; }
.cx-swipe-tags { margin-bottom: .65rem; }
.cx-swipe-bio  { color: rgba(255,255,255,.8); font-size: .83rem; line-height: 1.4; }
.cx-swipe-loading { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--cx-text-soft); border-radius: 22px; }
.cx-swipe-actions { display: flex; justify-content: center; gap: 1.5rem; align-items: center; }
.cx-swipe-btn {
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--cx-glass-b); background: var(--cx-glass);
  backdrop-filter: blur(12px); font-size: 1.4rem;
  cursor: pointer; transition: var(--cx-ease);
  display: flex; align-items: center; justify-content: center;
}
.cx-swipe-like  { border-color: rgba(181,80,127,.5); color: var(--cx-primary); }
.cx-swipe-pass  { border-color: rgba(239,68,68,.4);  color: #ef4444; }
.cx-swipe-super { border-color: rgba(245,158,11,.5); color: var(--cx-gold); width: 48px; height: 48px; }
.cx-swipe-btn:hover { transform: scale(1.12); background: var(--cx-glass-hov); }
.cx-swipe-like:hover  { box-shadow: 0 0 22px rgba(181,80,127,.45); }
.cx-swipe-pass:hover  { box-shadow: 0 0 22px rgba(239,68,68,.35); }
.cx-swipe-super:hover { box-shadow: 0 0 22px rgba(245,158,11,.35); }

/* ── Match Overlay ── */
.cx-match-overlay {
  position: fixed; inset: 0; background: rgba(10,8,20,.88);
  backdrop-filter: blur(12px); z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.cx-match-card { max-width: 380px; width: 100%; padding: 3rem 2rem; text-align: center; animation: cx-pop .4s cubic-bezier(.34,1.56,.64,1); }
.cx-match-hearts { font-size: 3rem; margin-bottom: 1rem; animation: cx-pulse 1s infinite; }
.cx-match-card h2 { font-family: var(--cx-font-d); font-size: 2.5rem; color: var(--cx-primary); margin-bottom: .5rem; }
.cx-match-card p  { color: var(--cx-text-soft); margin-bottom: 1.5rem; }

/* ══ CHAT ════════════════════════════════════════════════════════════ */
.cx-chat-layout { display: grid; grid-template-columns: 295px 1fr; height: calc(100vh - 155px); gap: 1rem; padding: 1rem 2rem; }
.cx-chat-sidebar { overflow: hidden; display: flex; flex-direction: column; }
.cx-chat-search { padding: .65rem; border-bottom: 1px solid var(--cx-glass-b); }
.cx-chat-search input { width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--cx-glass-b); border-radius: 20px; color: var(--cx-text); padding: .5rem 1rem; font-family: var(--cx-font-b); font-size: .83rem; outline: none; }
#cx-conversations { overflow-y: auto; flex: 1; }
.cx-conv-item { display: flex; align-items: center; gap: .7rem; padding: .82rem 1rem; cursor: pointer; transition: var(--cx-ease); border-bottom: 1px solid rgba(255,255,255,.04); }
.cx-conv-item:hover, .cx-conv-item.cx-active { background: rgba(181,80,127,.08); }
.cx-conv-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--cx-glass-b); flex-shrink: 0; }
.cx-conv-info { flex: 1; min-width: 0; }
.cx-conv-name { font-weight: 500; font-size: .88rem; display: flex; align-items: center; gap: .3rem; }
.cx-conv-preview { color: var(--cx-text-muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-chat-main { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--cx-radius); }
.cx-chat-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--cx-text-muted); }
.cx-chat-header { display: flex; align-items: center; gap: .75rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--cx-glass-b); border-radius: var(--cx-radius) var(--cx-radius) 0 0; background: var(--cx-glass); backdrop-filter: blur(20px); }
.cx-chat-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.cx-chat-partner-info { flex: 1; }
.cx-chat-partner-name { font-weight: 600; font-size: .93rem; }
.cx-chat-partner-status { color: var(--cx-text-muted); font-size: .76rem; }
.cx-messages-area { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.cx-msg-row { display: flex; align-items: flex-end; gap: .5rem; }
.cx-msg-row.cx-mine { flex-direction: row-reverse; }
.cx-msg-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cx-bubble { max-width: 66%; padding: .62rem 1rem; border-radius: 18px; font-size: .88rem; line-height: 1.45; }
.cx-mine   .cx-bubble { background: linear-gradient(135deg, var(--cx-primary), var(--cx-accent)); color: #fff; border-radius: 18px 18px 4px 18px; }
.cx-theirs .cx-bubble { background: var(--cx-glass); border: 1px solid var(--cx-glass-b); color: var(--cx-text); border-radius: 18px 18px 18px 4px; }
.cx-msg-time { font-size: .63rem; opacity: .6; text-align: right; margin-top: 2px; }
.cx-chat-input-wrap { display: flex; gap: .7rem; padding: .7rem 1.2rem; border-top: 1px solid var(--cx-glass-b); background: var(--cx-glass); backdrop-filter: blur(20px); border-radius: 0 0 var(--cx-radius) var(--cx-radius); }
.cx-chat-input-wrap textarea { flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--cx-glass-b); border-radius: 12px; color: var(--cx-text); padding: .62rem 1rem; font-family: var(--cx-font-b); font-size: .88rem; resize: none; outline: none; }

/* ══ WISHLIST ════════════════════════════════════════════════════════ */
.cx-wishlist-layout { display: grid; grid-template-columns: 340px 1fr; gap: 1.5rem; padding: 1.5rem 2rem; align-items: start; }
.cx-wish-form { padding: 1.5rem; }
.cx-wish-form h3 { font-family: var(--cx-font-d); font-size: 1.2rem; margin-bottom: 1rem; color: var(--cx-primary); }
.cx-wishes-list { display: flex; flex-direction: column; gap: .75rem; }
.cx-wish-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem; transition: var(--cx-ease); }
.cx-wish-item:hover { border-color: rgba(181,80,127,.3); }
.cx-wish-item.cx-fulfilled { opacity: .5; }
.cx-wish-icon { font-size: 1.8rem; flex-shrink: 0; }
.cx-wish-content { flex: 1; min-width: 0; }
.cx-wish-title { font-weight: 600; margin-bottom: .22rem; }
.cx-wish-desc { color: var(--cx-text-soft); font-size: .83rem; margin-bottom: .45rem; }
.cx-wish-meta { display: flex; align-items: center; gap: .5rem; color: var(--cx-gold); font-size: .83rem; }
.cx-wish-actions { display: flex; flex-direction: column; gap: .4rem; flex-shrink: 0; }

/* ══ FRIENDS ═════════════════════════════════════════════════════════ */
.cx-friends-wrap { margin: 1rem 2rem; }
.cx-friend-req { display: flex; align-items: center; gap: 1rem; padding: 1rem; margin-bottom: .75rem; }
.cx-friend-req-info { flex: 1; font-size: .88rem; color: var(--cx-text-soft); }
.cx-friend-req-btns { display: flex; gap: .5rem; }

/* ══ COMMUNITY ═══════════════════════════════════════════════════════ */
.cx-community-layout { max-width: 900px; margin: 0 auto; padding: 0 1.5rem 3rem; display: flex; flex-direction: column; gap: 1.2rem; }
.cx-comm-post-form { padding: 1.5rem; }
.cx-comm-post-form h3 { font-family: var(--cx-font-d); font-size: 1.2rem; margin-bottom: 1rem; color: var(--cx-primary); }
.cx-comm-filter { display: flex; gap: .5rem; flex-wrap: wrap; padding: .75rem 1rem; }
.cx-filter-btn { padding: .32rem .88rem; border-radius: 20px; border: 1px solid var(--cx-glass-b); background: none; color: var(--cx-text-soft); cursor: pointer; font-size: .8rem; transition: var(--cx-ease); }
.cx-filter-btn.cx-active { background: rgba(181,80,127,.15); border-color: rgba(181,80,127,.4); color: var(--cx-primary); }
.cx-comm-post { padding: 1.25rem; margin-bottom: .75rem; }
.cx-comm-post-header { display: flex; align-items: center; gap: .7rem; margin-bottom: .75rem; }
.cx-comm-type { font-size: 1.1rem; }
.cx-comm-date { color: var(--cx-text-muted); font-size: .73rem; }
.cx-comm-title { font-family: var(--cx-font-d); font-size: 1.2rem; font-weight: 400; margin-bottom: .5rem; }
.cx-comm-content { color: var(--cx-text-soft); font-size: .88rem; line-height: 1.6; margin-bottom: 1rem; white-space: pre-wrap; }
.cx-comm-footer { display: flex; justify-content: space-between; align-items: center; }

/* ══ DATES / ZWEISAMKEIT ═════════════════════════════════════════════ */
.cx-dates-layout { display: grid; grid-template-columns: 370px 1fr; gap: 1.5rem; padding: 1.5rem 2rem; align-items: start; }
.cx-date-form { padding: 1.5rem; }
.cx-date-form h3 { font-family: var(--cx-font-d); font-size: 1.2rem; margin-bottom: 1rem; color: var(--cx-primary); }
.cx-dates-list { display: flex; flex-direction: column; gap: .75rem; }
.cx-date-card { padding: 1.25rem; transition: var(--cx-ease); }
.cx-date-card:hover { border-color: rgba(181,80,127,.3); transform: translateY(-2px); }
.cx-date-type { font-size: .78rem; font-weight: 600; color: var(--cx-primary); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .06em; }
.cx-date-title { font-family: var(--cx-font-d); font-size: 1.25rem; font-weight: 400; margin-bottom: .4rem; }
.cx-date-desc { color: var(--cx-text-soft); font-size: .83rem; margin-bottom: .75rem; }
.cx-date-meta { color: var(--cx-text-muted); font-size: .8rem; margin-bottom: .65rem; }
.cx-date-organizer { display: flex; align-items: center; gap: .5rem; font-size: .83rem; margin-bottom: .5rem; color: var(--cx-text-soft); }
.cx-date-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* ══ SETTINGS ════════════════════════════════════════════════════════ */
.cx-settings-wrap { max-width: 700px; margin: 1rem auto; padding: 2rem; }
.cx-switch-field { flex-direction: row !important; align-items: center !important; justify-content: space-between; }
.cx-toggle { width: 42px; height: 22px; appearance: none; -webkit-appearance: none; background: var(--cx-glass); border: 1px solid var(--cx-glass-b); border-radius: 11px; cursor: pointer; position: relative; flex-shrink: 0; transition: var(--cx-ease); }
.cx-toggle::after { content:''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--cx-text-muted); transition: var(--cx-ease); }
.cx-toggle:checked { background: rgba(181,80,127,.3); border-color: var(--cx-primary); }
.cx-toggle:checked::after { left: 23px; background: var(--cx-primary); }
.cx-settings-btns { display: flex; gap: 1rem; margin-top: 1.5rem; }

/* ══ WIDGET AREAS ════════════════════════════════════════════════════ */
.cx-online-avatars { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .5rem; }
.cx-mini-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cx-glass-b); transition: var(--cx-ease); cursor: pointer; }
.cx-mini-avatar:hover { border-color: var(--cx-primary); transform: scale(1.1); }
.cx-widget-title { font-family: var(--cx-font-d); font-size: 1rem; color: var(--cx-text-soft); margin-bottom: .5rem; font-weight: 400; }
.cx-widget-stats { display: flex; gap: 1.5rem; padding-top: .5rem; }
.cx-ws-item { text-align: center; }
.cx-ws-num   { display: block; font-size: 1.5rem; font-family: var(--cx-font-d); color: var(--cx-primary); }
.cx-ws-label { font-size: .73rem; color: var(--cx-text-muted); }
.cx-cta-widget p { color: var(--cx-text-soft); font-size: .83rem; margin-bottom: .75rem; }

/* ══ FOOTER ══════════════════════════════════════════════════════════ */
.cx-footer-area {
  margin-top: 3rem; padding: 2rem;
  border-top: 1px solid var(--cx-glass-b);
  background: rgba(255,255,255,.02);
  text-align: center; color: var(--cx-text-muted); font-size: .8rem;
}
.cx-footer-widget { color: var(--cx-text-soft); }
.cx-header-widget { text-align: center; padding: .5rem; color: var(--cx-text-soft); font-size: .85rem; }

/* ══ ANIMATIONS ══════════════════════════════════════════════════════ */
@keyframes cx-fade-up  { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes cx-fade-in  { from{opacity:0} to{opacity:1} }
@keyframes cx-pop      { from{opacity:0;transform:scale(.8)} to{opacity:1;transform:scale(1)} }
@keyframes cx-pulse    { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

/* ══ RESPONSIVE ══════════════════════════════════════════════════════ */
@media(max-width:1100px){
  .cx-search-layout, .cx-dates-layout, .cx-wishlist-layout { grid-template-columns: 1fr; }
  .cx-chat-layout { grid-template-columns: 1fr; height: auto; }
  .cx-chat-sidebar { height: 240px; }
}
@media(max-width:768px){
  .cx-main-nav { flex-wrap: wrap; padding: .7rem 1rem; gap: .5rem; }
  .cx-nav-links { display: none; }
  .cx-profile-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); padding: 1rem; }
  .cx-page-title h1 { font-size: 1.8rem; }
  .cx-auth-card { padding: 1.5rem; }
  .cx-form-row { flex-direction: column; }
  .cx-discover-wrap { padding: 1rem; }
  .cx-swipe-stack { height: 420px; }
  .cx-community-layout, .cx-profile-editor { padding: 0 1rem 2rem; }
  .cx-search-layout, .cx-dates-layout, .cx-wishlist-layout { padding: 1rem; }
}
