@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --site-font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --site-browser-chrome-dark: #100a1f;
  --site-browser-chrome-light: #fff7fb;
}

html {
  min-height: 100%;
  background: var(--site-browser-chrome-dark);
  color-scheme: dark;
}

html:has(body.pref-light-mode) {
  background: var(--site-browser-chrome-light);
  color-scheme: light;
}

body {
  min-height: 100%;
  background-color: var(--site-browser-chrome-dark);
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--site-font-family) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
  -webkit-text-fill-color: #fff7fb !important;
  caret-color: #fff7fb;
  box-shadow:
    0 0 0 1000px rgba(37, 25, 91, 0.98) inset,
    0 0 0 2px rgba(244, 114, 182, 0.42),
    0 0 24px rgba(125, 92, 255, 0.22) !important;
  border-color: rgba(244, 114, 182, 0.58) !important;
  filter: saturate(1.12);
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

input:autofill,
textarea:autofill,
select:autofill {
  color: #fff7fb !important;
  background-color: rgba(37, 25, 91, 0.98) !important;
}

body.pref-light-mode input:-webkit-autofill,
body.pref-light-mode input:-webkit-autofill:hover,
body.pref-light-mode input:-webkit-autofill:focus,
body.pref-light-mode input:-webkit-autofill:active,
body.pref-light-mode textarea:-webkit-autofill,
body.pref-light-mode textarea:-webkit-autofill:hover,
body.pref-light-mode textarea:-webkit-autofill:focus,
body.pref-light-mode textarea:-webkit-autofill:active,
body.pref-light-mode select:-webkit-autofill,
body.pref-light-mode select:-webkit-autofill:hover,
body.pref-light-mode select:-webkit-autofill:focus,
body.pref-light-mode select:-webkit-autofill:active {
  -webkit-text-fill-color: #5a1738 !important;
  caret-color: #5a1738;
  box-shadow:
    0 0 0 1000px rgba(255, 232, 244, 0.98) inset,
    0 0 0 2px rgba(236, 72, 153, 0.34),
    0 0 22px rgba(244, 114, 182, 0.18) !important;
  border-color: rgba(236, 72, 153, 0.48) !important;
}

body.pref-light-mode input:autofill,
body.pref-light-mode textarea:autofill,
body.pref-light-mode select:autofill {
  color: #5a1738 !important;
  background-color: rgba(255, 232, 244, 0.98) !important;
}

body.pref-light-mode {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.2), transparent 28%),
    radial-gradient(circle at right 14%, rgba(251, 146, 60, 0.16), transparent 24%),
    radial-gradient(circle at bottom 10% left 20%, rgba(192, 132, 252, 0.12), transparent 22%),
    linear-gradient(180deg, #fff7fb 0%, #fde7f3 50%, #ffe8dc 100%) !important;
  color: #4a2140;
}

body.pref-light-mode .topbar {
  background: rgba(255, 250, 253, 0.88);
  border-bottom-color: rgba(190, 24, 93, 0.22);
  box-shadow: 0 10px 30px rgba(244, 114, 182, 0.1);
}

body.pref-light-mode .topbar-brand-link,
body.pref-light-mode .topbar-brand {
  color: #7a2858;
}

body.pref-light-mode .topbar-brand-alpha {
  background: rgba(244, 114, 182, 0.12);
  color: rgba(122, 40, 88, 0.56);
}

body.pref-light-mode .topbar-icon-btn,
body.pref-light-mode .topbar-user {
  background: rgba(255, 249, 252, 0.86);
  border-color: rgba(190, 24, 93, 0.18);
  color: #7a2858;
}

body.pref-light-mode .topbar-nav {
  background: transparent !important;
  border-color: transparent !important;
}

body.pref-light-mode .topbar-link {
  color: #8a4b6c;
}

body.pref-light-mode .topbar-link:hover,
body.pref-light-mode .topbar-user-dropdown-item:hover,
body.pref-light-mode .settings-nav-btn:hover {
  background: rgba(244, 114, 182, 0.12);
  color: #7a2858;
}

body.pref-light-mode .topbar-link.topbar-link--feed:hover {
  background: linear-gradient(135deg, rgba(240, 138, 184, 0.26), rgba(192, 132, 252, 0.24)) !important;
  color: #5a1738 !important;
}

body.pref-light-mode .topbar-link.topbar-link--place:hover {
  background: linear-gradient(135deg, rgba(248, 179, 206, 0.3), rgba(240, 98, 146, 0.24), rgba(194, 24, 91, 0.2)) !important;
  color: #6a2147 !important;
}

body.pref-light-mode .topbar-link.topbar-link--mediatheque:hover {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.22), rgba(244, 114, 182, 0.18), rgba(52, 211, 153, 0.14)) !important;
  color: #24526a !important;
}

body.pref-light-mode .topbar-link.topbar-link--forum:hover {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(96, 165, 250, 0.14), rgba(192, 132, 252, 0.18), rgba(244, 114, 182, 0.16)) !important;
  color: #6f2aa8 !important;
}

body.pref-light-mode .topbar-link.topbar-link--members:hover {
  background: linear-gradient(135deg, rgba(249, 216, 238, 0.34), rgba(196, 181, 253, 0.28)) !important;
  color: #5b1f4f !important;
}

body.pref-light-mode .topbar-icon-btn:hover,
body.pref-light-mode .topbar-user:hover,
body.pref-light-mode .topbar-icon-btn.active {
  background: rgba(244, 114, 182, 0.14);
  border-color: rgba(236, 72, 153, 0.26);
}

body.pref-light-mode .topbar-link.active {
  background: transparent !important;
  border-color: transparent !important;
  color: #5a1738 !important;
  box-shadow: none !important;
}

body.pref-light-mode .topbar-link.topbar-link--feed.active {
  background: linear-gradient(135deg, #f08ab8, #c084fc) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
  color: #4a1633 !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.34) inset !important;
}

body.pref-light-mode .topbar-link.topbar-link--place.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, #f9c9dd 0%, #eba8c7 36%, #cc6f9a 100%) !important;
  border-color: rgba(203, 104, 149, 0.28) !important;
  color: #fff8fb !important;
  box-shadow:
    0 10px 22px rgba(203, 104, 149, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 0 18px rgba(203, 104, 149, 0.18) !important;
}

body.pref-light-mode .topbar-link.topbar-link--mediatheque.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 58%),
    linear-gradient(135deg, #bae6fd 0%, #fbcfe8 52%, #bbf7d0 100%) !important;
  border-color: rgba(14, 165, 233, 0.22) !important;
  color: #164e63 !important;
  box-shadow:
    0 10px 22px rgba(14, 165, 233, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.38) inset,
    0 0 16px rgba(244, 114, 182, 0.12) !important;
}

body.pref-light-mode .topbar-link.topbar-link--forum.active {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2) 0%, rgba(250, 204, 21, 0.18) 26%, rgba(96, 165, 250, 0.16) 40%, rgba(192, 132, 252, 0.22) 60%, rgba(192, 132, 252, 0.22) 74%, rgba(244, 114, 182, 0.16) 100%) !important;
  border-color: rgba(168, 85, 247, 0.18) !important;
  color: #6f2aa8 !important;
  box-shadow:
    0 8px 18px rgba(168, 85, 247, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.46) inset !important;
}

body.pref-light-mode .topbar-link.topbar-link--members.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, #f9d8ee 0%, #e9d5ff 42%, #c084fc 100%) !important;
  border-color: rgba(168, 85, 247, 0.26) !important;
  color: #4f1b57 !important;
  box-shadow:
    0 10px 22px rgba(168, 85, 247, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.38) inset,
    0 0 16px rgba(232, 121, 249, 0.14) !important;
}

body.pref-light-mode .profile-hero {
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(192, 132, 252, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 254, 0.92), rgba(255, 245, 249, 0.88)) !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  box-shadow:
    0 24px 56px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.56) inset !important;
}

body.pref-light-mode .profile-cover-overlay {
  background:
    linear-gradient(180deg, rgba(255, 248, 252, 0.04), rgba(74, 33, 64, 0.12) 58%, rgba(74, 33, 64, 0.24) 100%) !important;
}

body.pref-light-mode .profile-identity-card {
  background: transparent !important;
  border-top: none !important;
  box-shadow: none !important;
}

body.pref-light-mode .profile-name-row h1 {
  color: #5a1738 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34);
}

body.pref-light-mode .profile-username {
  color: #7a4bff !important;
  text-decoration-color: rgba(122, 75, 255, 0.42) !important;
  font-weight: 600;
}

body.pref-light-mode .profile-page .profile-avatar,
body.pref-light-mode .profile-page .composer-avatar {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.82), rgba(96, 165, 250, 0.68), rgba(192, 132, 252, 0.72), rgba(244, 114, 182, 0.68)) !important;
  color: #4a1633 !important;
  box-shadow:
    0 18px 36px rgba(190, 24, 93, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.34) inset !important;
}

body.pref-light-mode .profile-page .profile-avatar {
  border-color: rgba(255, 249, 252, 0.94) !important;
}

body.pref-light-mode .profile-meta-pill {
  background: rgba(255, 251, 253, 0.76) !important;
  border-color: rgba(190, 24, 93, 0.16) !important;
  color: #8a4b6c !important;
  box-shadow:
    0 8px 18px rgba(190, 24, 93, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.56) inset !important;
}

body.pref-light-mode .profile-tabs {
  background: rgba(255, 248, 252, 0.56) !important;
  border-top: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.pref-light-mode .profile-tab {
  background: rgba(255, 250, 253, 0.9) !important;
  border: 1px solid rgba(190, 24, 93, 0.16) !important;
  color: #7a2858 !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

body.pref-light-mode .profile-tab:hover {
  background: rgba(255, 244, 249, 0.98) !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  color: #681d48 !important;
}

body.pref-light-mode .profile-tab.active {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.18), rgba(192, 132, 252, 0.22)) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
  color: #5a1738 !important;
  box-shadow:
    0 12px 24px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.48) inset !important;
}

body.pref-light-mode #profile-share-btn {
  background: linear-gradient(180deg, rgba(255, 254, 255, 0.99), rgba(255, 245, 250, 0.97)) !important;
  border: 1px solid rgba(190, 24, 93, 0.24) !important;
  color: #7a2858 !important;
  box-shadow:
    0 14px 24px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset,
    0 0 0 2px rgba(255, 234, 243, 0.92) !important;
}

body.pref-light-mode #profile-share-btn:hover {
  background: linear-gradient(180deg, rgba(255, 250, 252, 1), rgba(255, 239, 246, 0.98)) !important;
  border-color: rgba(190, 24, 93, 0.3) !important;
  color: #681d48 !important;
}

body.pref-light-mode #profile-friendship-btn,
body.pref-light-mode #profile-report-btn {
  background: linear-gradient(180deg, rgba(255, 254, 255, 0.99), rgba(255, 245, 250, 0.97)) !important;
  border: 1px solid rgba(190, 24, 93, 0.24) !important;
  color: #7a2858 !important;
  box-shadow:
    0 14px 24px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset,
    0 0 0 2px rgba(255, 234, 243, 0.92) !important;
}

body.pref-light-mode #profile-friendship-btn:hover,
body.pref-light-mode #profile-report-btn:hover {
  background: linear-gradient(180deg, rgba(255, 250, 252, 1), rgba(255, 239, 246, 0.98)) !important;
  border-color: rgba(190, 24, 93, 0.3) !important;
  color: #681d48 !important;
}

body.pref-light-mode .profile-card-subtitle,
body.pref-light-mode .section-heading-meta,
body.pref-light-mode .about-label,
body.pref-light-mode .detail-label {
  color: #8a4b6c !important;
}

body.pref-light-mode .stats-list-label {
  color: #7a3d60 !important;
}

body.pref-light-mode .detail-item strong,
body.pref-light-mode .detail-text,
body.pref-light-mode .about-list strong,
body.pref-light-mode .stats-list-item strong,
body.pref-light-mode .profile-card h2,
body.pref-light-mode .detail-section h3 {
  color: #4f1638 !important;
}

body.pref-light-mode .topbar-user-dropdown {
  background: rgba(255, 252, 254, 0.98);
  border-color: rgba(190, 24, 93, 0.18);
  box-shadow: 0 18px 44px rgba(190, 24, 93, 0.14);
}

body.pref-light-mode .topbar-notifications-panel {
  background: rgba(255, 252, 254, 0.98);
  border-color: rgba(190, 24, 93, 0.18);
  box-shadow: 0 20px 48px rgba(190, 24, 93, 0.14);
}

body.pref-light-mode .topbar-notifications-header {
  border-bottom-color: rgba(236, 72, 153, 0.14);
  color: #7a2858;
}

body.pref-light-mode .topbar-notification-card {
  background: rgba(255, 246, 251, 0.9);
  border-color: rgba(190, 24, 93, 0.14);
}

body.pref-light-mode .topbar-notification-card.is-clickable:hover,
body.pref-light-mode .topbar-notification-card.is-unread {
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(236, 72, 153, 0.18);
}

body.pref-light-mode .topbar-notification-title,
body.pref-light-mode .topbar-notification-body-text,
body.pref-light-mode .topbar-notification-time,
body.pref-light-mode .topbar-notifications-empty {
  color: #6c3555;
}

body.pref-light-mode .topbar-user-dropdown-item,
body.pref-light-mode .topbar-user-dropdown-item.danger,
body.pref-light-mode .social-reaction-summary-trigger,
body.pref-light-mode .reaction-modal-name,
body.pref-light-mode .forum-modal-header h2 {
  color: #4f1638;
}

body.pref-light-mode .feed-hero,
body.pref-light-mode .side-card,
body.pref-light-mode .feed-stream-card,
body.pref-light-mode .feed-card,
body.pref-light-mode .feed-composer-card,
body.pref-light-mode .profile-identity-card,
body.pref-light-mode .profile-card,
body.pref-light-mode .detail-section,
body.pref-light-mode .profile-tabs,
body.pref-light-mode .members-hero,
body.pref-light-mode .members-toolbar,
body.pref-light-mode .members-filters,
body.pref-light-mode .members-results,
body.pref-light-mode .member-card,
body.pref-light-mode .hero-panel,
body.pref-light-mode .forum-hero,
body.pref-light-mode .forum-card,
body.pref-light-mode .forum-hero-panel,
body.pref-light-mode .forum-modal-card,
body.pref-light-mode .forum-link-modal-card,
body.pref-light-mode .forum-editor,
body.pref-light-mode .friends-hero,
body.pref-light-mode .friends-section-card,
body.pref-light-mode .hero-stat,
body.pref-light-mode .friends-tabs,
body.pref-light-mode .friend-card,
body.pref-light-mode .sidebar,
body.pref-light-mode .chat-main,
body.pref-light-mode .chat-header,
body.pref-light-mode .conversation-item,
body.pref-light-mode .message-form,
body.pref-light-mode .modal-content,
body.pref-light-mode .sidebar-create-dropdown,
body.pref-light-mode .login-card,
body.pref-light-mode .auth-tabs,
body.pref-light-mode .auth-hint,
body.pref-light-mode .social-reactions-panel,
body.pref-light-mode .social-confirm-panel {
  background: rgba(255, 249, 252, 0.82);
  border-color: rgba(190, 24, 93, 0.18);
  box-shadow:
    0 14px 32px rgba(190, 24, 93, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset;
  color: #4a2140;
}

body.pref-light-mode .forum-modal-card,
body.pref-light-mode .forum-link-modal-card {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.16), transparent 42%),
    radial-gradient(circle at right, rgba(251, 146, 60, 0.12), transparent 40%),
    rgba(255, 252, 254, 0.96);
}

body.pref-light-mode .feed-card-time,
body.pref-light-mode .feed-card-text,
body.pref-light-mode .publication-comment-text,
body.pref-light-mode .profile-photo-comment-body,
body.pref-light-mode .activity-feed-text,
body.pref-light-mode .activity-item-content,
body.pref-light-mode .forum-hero-text,
body.pref-light-mode .forum-card-subtitle,
body.pref-light-mode .feed-hero-text,
body.pref-light-mode .members-hero-text,
body.pref-light-mode .friends-hero-text,
body.pref-light-mode .profile-card-subtitle,
body.pref-light-mode .intro,
body.pref-light-mode .auth-hint,
body.pref-light-mode .forum-modal-message,
body.pref-light-mode .reaction-modal-meta,
body.pref-light-mode .social-confirm-message,
body.pref-light-mode .login-form label,
body.pref-light-mode .members-summary,
body.pref-light-mode .feed-summary,
body.pref-light-mode .friends-feedback,
body.pref-light-mode .members-feedback,
body.pref-light-mode .feed-feedback,
body.pref-light-mode .modal-text {
  color: #7a3d60;
}

body.pref-light-mode .feed-card-title,
body.pref-light-mode .feed-card-title-link,
body.pref-light-mode .publication-comment-head strong,
body.pref-light-mode .profile-photo-comment-author,
body.pref-light-mode .activity-feed-title,
body.pref-light-mode .activity-item-title,
body.pref-light-mode .profile-card h2,
body.pref-light-mode .forum-card h2,
body.pref-light-mode .members-results h2,
body.pref-light-mode .friends-hero h1,
body.pref-light-mode .members-hero h1,
body.pref-light-mode .feed-hero h1,
body.pref-light-mode .forum-hero h1,
body.pref-light-mode .chat-header h1,
body.pref-light-mode h1,
body.pref-light-mode h2,
body.pref-light-mode h3,
body.pref-light-mode strong {
  color: #4f1638;
}

body.pref-light-mode .feed-composer-action,
body.pref-light-mode .pagination-btn,
body.pref-light-mode .filters-trigger,
body.pref-light-mode .filter-reset-btn,
body.pref-light-mode .friends-tab,
body.pref-light-mode .profile-tab,
body.pref-light-mode .auth-tab,
body.pref-light-mode .forum-editor-toolbar button,
body.pref-light-mode .forum-editor-native-size-select,
body.pref-light-mode .social-confirm-btn.secondary,
body.pref-light-mode .sidebar-header button,
body.pref-light-mode .message-form button,
body.pref-light-mode .modal-actions button,
body.pref-light-mode .secondary-action,
body.pref-light-mode .cover-image-action,
body.pref-light-mode .avatar-image-action {
  background: rgba(255, 250, 253, 0.88);
  border-color: rgba(190, 24, 93, 0.18);
  color: #7a2858;
}

body.pref-light-mode .filters-trigger {
  border-color: rgba(168, 85, 247, 0.28) !important;
  box-shadow:
    0 10px 20px rgba(168, 85, 247, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset,
    0 0 0 2px rgba(244, 114, 182, 0.14) !important;
}

body.pref-light-mode .filters-trigger:hover {
  border-color: rgba(147, 51, 234, 0.34) !important;
  background: linear-gradient(180deg, rgba(255, 252, 255, 0.98), rgba(247, 240, 255, 0.94)) !important;
  color: #5b21b6 !important;
}

body.pref-light-mode .modal-actions .danger-btn,
body.pref-light-mode #confirm-delete-btn,
body.pref-light-mode #confirm-group-delete-btn {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, #fb923c 0%, #f97316 45%, #dc2626 100%) !important;
  border: 1px solid rgba(220, 38, 38, 0.28) !important;
  color: #fff7f3 !important;
  box-shadow:
    0 10px 20px rgba(220, 38, 38, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset !important;
}

body.pref-light-mode .modal-actions .danger-btn:hover,
body.pref-light-mode #confirm-delete-btn:hover,
body.pref-light-mode #confirm-group-delete-btn:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 58%),
    linear-gradient(135deg, #f97316 0%, #ea580c 42%, #b91c1c 100%) !important;
  border-color: rgba(185, 28, 28, 0.34) !important;
  color: #fff7f3 !important;
}

body.pref-light-mode .friends-tab.active,
body.pref-light-mode .profile-tab.active,
body.pref-light-mode .auth-tab.active {
  color: #eff6ff;
}

body.pref-light-mode .feed-composer-action.media {
  border: 1px solid rgba(190, 24, 93, 0.34) !important;
  background: linear-gradient(180deg, rgba(255, 254, 255, 0.99), rgba(255, 246, 250, 0.96)) !important;
  box-shadow:
    0 12px 22px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.86) inset,
    0 0 0 2px rgba(255, 233, 244, 0.95) !important;
}

body.pref-light-mode .feed-composer-action.media:hover {
  border-color: rgba(190, 24, 93, 0.46) !important;
  background: linear-gradient(180deg, rgba(255, 250, 252, 1), rgba(255, 240, 247, 0.98)) !important;
  color: #681d48 !important;
}

body.pref-light-mode .profile-gallery-tabs {
  background: rgba(255, 249, 252, 0.88) !important;
  border-color: rgba(190, 24, 93, 0.18) !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.74) inset !important;
}

body.pref-light-mode .profile-gallery-tab {
  background: rgba(255, 250, 253, 0.9) !important;
  border: 1px solid rgba(190, 24, 93, 0.16) !important;
  color: #7a2858 !important;
  box-shadow:
    0 8px 18px rgba(190, 24, 93, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset !important;
}

body.pref-light-mode .profile-gallery-tab:hover {
  background: rgba(255, 244, 249, 0.98) !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  color: #681d48 !important;
  transform: translateY(-1px);
}

body.pref-light-mode .profile-gallery-tab.active {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.18), rgba(192, 132, 252, 0.22)) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
  color: #5a1738 !important;
  box-shadow:
    0 12px 24px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.48) inset !important;
}

body.pref-light-mode .profile-album-create-card {
  border-color: rgba(190, 24, 93, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 245, 250, 0.95)) !important;
  box-shadow:
    0 16px 30px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

body.pref-light-mode .profile-album-create-card:hover {
  border-color: rgba(190, 24, 93, 0.3) !important;
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 252, 254, 1), rgba(255, 241, 248, 0.97)) !important;
  box-shadow:
    0 20px 34px rgba(190, 24, 93, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.76) inset !important;
}

body.pref-light-mode .profile-album-create-card-cover {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.14), transparent 38%),
    linear-gradient(160deg, rgba(255, 250, 253, 0.96), rgba(255, 241, 248, 0.92)) !important;
}

body.pref-light-mode .profile-album-create-card-icon {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.9), rgba(192, 132, 252, 0.88)) !important;
  color: #fff7fb !important;
  box-shadow:
    0 12px 24px rgba(190, 24, 93, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
}

body.pref-light-mode .profile-album-create-card-title {
  color: #5a1738 !important;
}

body.pref-light-mode {
  background:
    radial-gradient(circle at top, rgba(244, 114, 182, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(251, 146, 60, 0.12), transparent 32%),
    linear-gradient(160deg, #fff8fb 0%, #fff1f6 52%, #fff7fb 100%) !important;
  position: relative;
}

body.pref-light-mode::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(244, 114, 182, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(251, 146, 60, 0.12), transparent 32%),
    linear-gradient(160deg, #fff8fb 0%, #fff1f6 52%, #fff7fb 100%);
}

body.pref-light-mode .app-shell {
  background: transparent !important;
}

body.pref-light-mode .login-card {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.08), transparent 36%),
    radial-gradient(circle at right, rgba(251, 146, 60, 0.07), transparent 34%),
    rgba(255, 251, 253, 0.96) !important;
  border-color: rgba(190, 24, 93, 0.2) !important;
  box-shadow:
    0 22px 48px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.74) inset !important;
}

body.pref-light-mode .auth-tabs {
  background: rgba(255, 246, 250, 0.96) !important;
  border-color: rgba(190, 24, 93, 0.2) !important;
  box-shadow:
    0 14px 28px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

body.pref-light-mode .auth-tab {
  background: transparent !important;
  color: #7a2858 !important;
}

body.pref-light-mode .auth-tab.active {
  background: linear-gradient(135deg, #f08ab8, #c084fc) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
  color: #4a1633 !important;
  box-shadow:
    0 14px 24px rgba(190, 24, 93, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
}

body.pref-light-mode .login-form input,
body.pref-light-mode .login-form select {
  background: rgba(255, 252, 254, 0.98) !important;
  color: #5d2347 !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.62) inset,
    0 8px 20px rgba(190, 24, 93, 0.05) !important;
}

body.pref-light-mode .login-form input:focus,
body.pref-light-mode .login-form select:focus {
  outline: 2px solid rgba(232, 169, 192, 0.78) !important;
  border-color: rgba(216, 141, 171, 0.44) !important;
}

body.pref-light-mode .eyebrow {
  color: #d98cab !important;
}

body.pref-light-mode .login-form button {
  background: linear-gradient(135deg, #f08ab8, #c084fc) !important;
  border: 1px solid rgba(190, 24, 93, 0.24) !important;
  color: #4a1633 !important;
  box-shadow:
    0 14px 24px rgba(190, 24, 93, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
}

body.pref-light-mode .login-form button:hover {
  background: linear-gradient(135deg, #ec78ad, #b974f2) !important;
  color: #3f122c !important;
  filter: none;
}

body.pref-light-mode .login-theme-toggle {
  background: rgba(255, 248, 251, 0.94) !important;
  border-color: rgba(190, 24, 93, 0.18) !important;
  box-shadow:
    0 14px 28px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.74) inset !important;
  color: #7a2858 !important;
}

body.pref-light-mode .login-theme-toggle:hover {
  background: rgba(255, 243, 248, 0.98) !important;
}

body.pref-light-mode .login-theme-toggle-icon {
  background: rgba(244, 114, 182, 0.14) !important;
  color: #d98cab !important;
}

body.pref-light-mode .conversation-item.active,
body.pref-light-mode .member-card:hover,
body.pref-light-mode .friend-card:hover,
body.pref-light-mode .shortcut-card:hover {
  background: rgba(244, 114, 182, 0.1);
  border-color: rgba(190, 24, 93, 0.24);
}

body.pref-light-mode .sidebar {
  background:
    linear-gradient(180deg, rgba(255, 250, 253, 0.92), rgba(255, 244, 249, 0.9)) !important;
}

body.pref-light-mode .chat-app {
  border-color: rgba(219, 39, 119, 0.18) !important;
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.12), transparent 26%),
    radial-gradient(circle at right, rgba(248, 179, 206, 0.12), transparent 24%),
    rgba(255, 249, 252, 0.78) !important;
  box-shadow:
    0 28px 64px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.58) inset !important;
}

body.pref-light-mode .sidebar-header,
body.pref-light-mode .chat-header {
  border-color: rgba(190, 24, 93, 0.16) !important;
}

body.pref-light-mode .current-user-label {
  color: #db2777 !important;
}

body.pref-light-mode .conversation-name {
  color: #561734 !important;
}

body.pref-light-mode .conversation-meta {
  color: #7a3d60 !important;
}

body.pref-light-mode .conversation-item {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.82), rgba(255, 247, 251, 0.74)) !important;
}

body.pref-light-mode .conversation-item.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(250, 205, 224, 0.5) 0%, rgba(241, 156, 193, 0.28) 36%, rgba(203, 104, 149, 0.2) 100%) !important;
  border-color: rgba(203, 104, 149, 0.22) !important;
  box-shadow:
    0 12px 24px rgba(219, 39, 119, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.62) inset,
    0 0 18px rgba(219, 39, 119, 0.08) !important;
}

body.pref-light-mode .conversation-actions-btn {
  border-color: rgba(190, 24, 93, 0.24) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.92)) !important;
  color: #8a2c5c !important;
}

body.pref-light-mode .conversation-actions-btn:hover,
body.pref-light-mode .conversation-actions-btn[aria-expanded='true'] {
  border-color: rgba(190, 24, 93, 0.36) !important;
  background: linear-gradient(180deg, rgba(255, 246, 251, 1), rgba(255, 236, 245, 0.96)) !important;
  color: #6f234d !important;
}

body.pref-light-mode .conversation-actions-menu {
  border-color: rgba(190, 24, 93, 0.24) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 246, 251, 0.98)) !important;
  box-shadow:
    0 16px 32px rgba(190, 24, 93, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

body.pref-light-mode .conversation-actions-menu button {
  color: #6f234d !important;
}

body.pref-light-mode .conversation-actions-menu button:hover {
  background: rgba(244, 114, 182, 0.16) !important;
}

body.pref-light-mode .conversation-actions-menu button.is-danger {
  color: #a21352 !important;
}

body.pref-light-mode .conversation-actions-menu button.is-danger:hover {
  background: rgba(225, 29, 72, 0.12) !important;
}

body.pref-light-mode .chat-header p,
body.pref-light-mode #chat-subtitle {
  color: #7a3d60 !important;
}

body.pref-light-mode .chat-subtitle-btn:hover #chat-subtitle {
  color: #c2185b !important;
}

body.pref-light-mode .conversation-avatar,
body.pref-light-mode .chat-header-avatar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, #f9c9dd 0%, #eba8c7 36%, #cc6f9a 100%) !important;
  border-color: rgba(203, 104, 149, 0.2) !important;
  color: #fff8fb !important;
  box-shadow:
    0 10px 22px rgba(219, 39, 119, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
}

body.pref-light-mode .messages-container {
  background: linear-gradient(180deg, rgba(255, 250, 253, 0.34), rgba(255, 246, 250, 0.18)) !important;
}

body.pref-light-mode .message {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 244, 249, 0.96)) !important;
  border-color: rgba(219, 39, 119, 0.18) !important;
  color: #5a1738 !important;
  box-shadow:
    0 12px 24px rgba(219, 39, 119, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

body.pref-light-mode .message.mine {
  background: rgba(246, 223, 236, 0.78) !important;
  border-color: rgba(203, 104, 149, 0.34) !important;
  color: #5a1738 !important;
  box-shadow:
    0 10px 22px rgba(190, 24, 93, 0.11),
    inset -4px 0 0 rgba(203, 104, 149, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

body.pref-light-mode .message-row.mine .message-content {
  color: inherit !important;
  font-weight: inherit;
  text-shadow: none;
}

body.pref-light-mode .message-row.mine .message-header {
  color: inherit !important;
  text-shadow: none;
}

body.pref-light-mode .message-avatar {
  border-color: rgba(203, 104, 149, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, #f9c9dd 0%, #eba8c7 36%, #cc6f9a 100%) !important;
  color: #fff8fb !important;
  box-shadow:
    0 8px 18px rgba(190, 24, 93, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset !important;
}

body.pref-light-mode .message-row.systeme {
  justify-content: center;
}

body.pref-light-mode .message.systeme {
  background:
    linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 244, 249, 0.96)) !important;
  border: 1px dashed rgba(219, 39, 119, 0.28) !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

body.pref-light-mode .message.systeme .message-header {
  color: #b65782 !important;
}

body.pref-light-mode .message.systeme .message-content {
  color: #7a2858 !important;
}

body.pref-light-mode .message-header {
  color: #7a3d60 !important;
}

body.pref-light-mode .message-content,
body.pref-light-mode .message-author-link {
  color: inherit !important;
}

body.pref-light-mode .message.deleted .message-content {
  opacity: 1 !important;
  color: #b65782 !important;
  font-style: italic;
}

body.pref-light-mode .message-row.mine .message.deleted .message-content {
  color: #fff4f8 !important;
  text-shadow: 0 1px 1px rgba(136, 19, 55, 0.22);
}

body.pref-light-mode .compose-indicator,
body.pref-light-mode .edit-indicator {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(96, 165, 250, 0.08), rgba(192, 132, 252, 0.12), rgba(244, 114, 182, 0.12)) !important;
  border-color: rgba(190, 24, 93, 0.18) !important;
  color: #7a3d60 !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

body.pref-light-mode .compose-indicator strong,
body.pref-light-mode .edit-indicator strong,
body.pref-light-mode .compose-indicator span,
body.pref-light-mode .edit-indicator span {
  color: #6b284e !important;
}

body.pref-light-mode .attach-btn,
body.pref-light-mode .chat-emoji-btn,
body.pref-light-mode #submit-message-btn {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, #f9c2da 0%, #ee98bf 52%, #cf6f99 100%) !important;
  border-color: rgba(203, 104, 149, 0.22) !important;
  color: #fff8fb !important;
  box-shadow:
    0 12px 24px rgba(190, 24, 93, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset !important;
}

body.pref-light-mode .attach-btn:hover,
body.pref-light-mode .chat-emoji-btn:hover,
body.pref-light-mode #submit-message-btn:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 58%),
    linear-gradient(135deg, #f6b8d3 0%, #e98fb8 52%, #c8618f 100%) !important;
  border-color: rgba(203, 104, 149, 0.26) !important;
  color: #ffffff !important;
}

body.pref-light-mode .chat-emoji-btn {
  background: #ffffff !important;
  border-color: rgba(219, 39, 119, 0.34) !important;
  color: #be185d !important;
  box-shadow:
    0 10px 18px rgba(219, 39, 119, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.92) inset !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body.pref-light-mode .chat-emoji-btn:hover {
  background: #fff7fb !important;
  border-color: rgba(219, 39, 119, 0.44) !important;
  color: #9d174d !important;
}

body.pref-light-mode .chat-emoji-picker {
  border-color: rgba(190, 24, 93, 0.2) !important;
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 244, 249, 0.97)) !important;
  box-shadow:
    0 18px 36px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

body.pref-light-mode .chat-emoji-picker button {
  border-color: rgba(190, 24, 93, 0.2) !important;
  background: rgba(244, 114, 182, 0.08) !important;
  color: #6b284e !important;
}

body.pref-light-mode .chat-emoji-picker button:hover {
  background: rgba(244, 114, 182, 0.16) !important;
}

body.pref-light-mode .sidebar-header button,
body.pref-light-mode .chat-manage-btn {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 244, 249, 0.96)) !important;
  border-color: rgba(219, 39, 119, 0.18) !important;
  color: #7a2858 !important;
  box-shadow:
    0 12px 20px rgba(219, 39, 119, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset,
    0 0 0 2px rgba(255, 238, 245, 0.9) !important;
}

body.pref-light-mode .sidebar-header button:hover,
body.pref-light-mode .chat-manage-btn:hover {
  background: linear-gradient(180deg, rgba(255, 248, 252, 1), rgba(255, 239, 246, 0.97)) !important;
  border-color: rgba(219, 39, 119, 0.26) !important;
  color: #681d48 !important;
}

body.pref-light-mode .chat-group-menu-btn {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 244, 249, 0.96)) !important;
  border-color: rgba(219, 39, 119, 0.18) !important;
  box-shadow:
    0 12px 22px rgba(190, 24, 93, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

body.pref-light-mode .chat-group-menu-btn span {
  background: #8d2e61 !important;
}

body.pref-light-mode .chat-group-menu-btn:hover {
  background: linear-gradient(180deg, rgba(255, 248, 252, 1), rgba(255, 239, 246, 0.97)) !important;
  border-color: rgba(219, 39, 119, 0.26) !important;
}

body.pref-light-mode .chat-group-menu {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.995), rgba(255, 244, 249, 0.98)) !important;
  border-color: rgba(219, 39, 119, 0.16) !important;
  box-shadow:
    0 18px 34px rgba(190, 24, 93, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

body.pref-light-mode .chat-group-menu button {
  color: #7a2858 !important;
}

body.pref-light-mode .chat-group-menu button:hover {
  background: rgba(244, 114, 182, 0.12) !important;
  color: #681d48 !important;
}

body.pref-light-mode .forum-modal-backdrop,
body.pref-light-mode .social-reactions-modal {
  background: rgba(244, 114, 182, 0.14);
}

body.pref-light-mode .modal {
  background: rgba(91, 33, 68, 0.28) !important;
}

body.pref-light-mode .modal-content,
body.pref-light-mode .modal-content-participants,
body.pref-light-mode .modal-content-reactions,
body.pref-light-mode .modal-content-group,
body.pref-light-mode .modal-content-group-management {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.14), transparent 38%),
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 244, 249, 0.97)) !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  box-shadow:
    0 28px 60px rgba(190, 24, 93, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset,
    0 0 0 2px rgba(255, 235, 244, 0.9) !important;
}

body.pref-light-mode .participants-modal-header,
body.pref-light-mode .reactions-modal-header,
body.pref-light-mode .reactions-modal-tabs {
  border-bottom-color: rgba(190, 24, 93, 0.16) !important;
}

body.pref-light-mode .participants-modal-header,
body.pref-light-mode .reactions-modal-header {
  background: linear-gradient(180deg, rgba(255, 250, 253, 0.92), rgba(255, 244, 249, 0.84)) !important;
}

body.pref-light-mode .participants-modal-list {
  background: transparent !important;
}

body.pref-light-mode .reactions-modal-list {
  background: transparent !important;
}

body.pref-light-mode .participant-row {
  border-color: rgba(190, 24, 93, 0.18) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.94)) !important;
  box-shadow:
    0 12px 22px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset !important;
}

body.pref-light-mode .participant-avatar,
body.pref-light-mode .group-member-avatar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, #f8b3ce 0%, #f06292 36%, #c2185b 100%) !important;
  border-color: rgba(219, 39, 119, 0.22) !important;
  color: #fff8fb !important;
  box-shadow:
    0 10px 22px rgba(219, 39, 119, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
}

body.pref-light-mode .group-crop-stage {
  border-color: rgba(190, 24, 93, 0.2) !important;
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.94)) !important;
  color: #8f2f67 !important;
  box-shadow:
    0 14px 28px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset !important;
}

body.pref-light-mode .group-crop-circle {
  box-shadow: 0 0 0 999px rgba(91, 33, 68, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}

body.pref-light-mode .group-image-edit-btn {
  border-color: rgba(190, 24, 93, 0.2) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.92)) !important;
  color: #b05782 !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

body.pref-light-mode .group-image-edit-btn:hover {
  background: linear-gradient(180deg, rgba(255, 248, 252, 1), rgba(255, 239, 246, 0.96)) !important;
}

body.pref-light-mode .group-selected-members,
body.pref-light-mode .group-member-results,
body.pref-light-mode .group-management-member-row {
  border-color: rgba(190, 24, 93, 0.18) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.94)) !important;
  box-shadow:
    0 12px 22px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset !important;
}

body.pref-light-mode .group-member-result:hover,
body.pref-light-mode .group-management-member-row:hover {
  background: linear-gradient(180deg, rgba(255, 248, 252, 1), rgba(255, 239, 246, 0.96)) !important;
}

body.pref-light-mode .group-member-chip {
  background: linear-gradient(135deg, rgba(240, 138, 184, 0.18), rgba(192, 132, 252, 0.16)) !important;
  border-color: rgba(190, 24, 93, 0.2) !important;
  color: #6b284e !important;
}

body.pref-light-mode .group-member-chip button {
  color: #8f2f67 !important;
}

body.pref-light-mode .group-management-member-meta strong,
body.pref-light-mode .section-heading-inline h4 {
  color: #5a1738 !important;
}

body.pref-light-mode .group-management-member-meta span {
  color: #8a5872 !important;
}

body.pref-light-mode .group-member-add-btn,
body.pref-light-mode .group-management-member-btn {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 244, 249, 0.94)) !important;
  border: 1px solid rgba(190, 24, 93, 0.18) !important;
  color: #7a2858 !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
}

body.pref-light-mode .group-member-add-btn:hover,
body.pref-light-mode .group-management-member-btn:hover {
  background: linear-gradient(180deg, rgba(255, 248, 252, 1), rgba(255, 239, 246, 0.96)) !important;
  border-color: rgba(190, 24, 93, 0.28) !important;
  color: #681d48 !important;
}

body.pref-light-mode .group-management-member-btn.danger,
body.pref-light-mode .group-member-add-btn.danger,
body.pref-light-mode #delete-group-btn {
  background: linear-gradient(180deg, rgba(255, 242, 246, 0.98), rgba(255, 233, 239, 0.94)) !important;
  border-color: rgba(190, 24, 93, 0.16) !important;
  color: #d17a95 !important;
  box-shadow:
    0 8px 18px rgba(190, 24, 93, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.76) inset !important;
}

body.pref-light-mode .group-management-member-btn.danger:hover,
body.pref-light-mode #delete-group-btn:hover {
  background: linear-gradient(180deg, rgba(255, 236, 242, 1), rgba(255, 226, 234, 0.96)) !important;
  color: #b05782 !important;
}

body.pref-light-mode .group-management-search label,
body.pref-light-mode .group-management-settings label {
  color: #5a1738 !important;
}

body.pref-light-mode .group-zoom-sign {
  color: #d8b2c4 !important;
}

body.pref-light-mode .participant-name,
body.pref-light-mode .group-member-result-meta strong,
body.pref-light-mode .reaction-detail-user strong {
  color: #5a1738 !important;
}

body.pref-light-mode .participant-username,
body.pref-light-mode .group-member-result-meta span,
body.pref-light-mode .reaction-detail-user span,
body.pref-light-mode .group-image-help,
body.pref-light-mode .group-member-count,
body.pref-light-mode .participants-modal-header p {
  color: #8a5872 !important;
}

body.pref-light-mode .participant-role-badge {
  border-color: rgba(190, 24, 93, 0.24) !important;
  background: linear-gradient(135deg, rgba(240, 138, 184, 0.2), rgba(192, 132, 252, 0.2)) !important;
  color: #6f234d !important;
  box-shadow: 0 6px 14px rgba(190, 24, 93, 0.08);
}

body.pref-light-mode .participant-role-badge--owner-icon::after {
  border-color: rgba(190, 24, 93, 0.28) !important;
  background: rgba(255, 250, 253, 0.98) !important;
  color: #6f234d !important;
}

body.pref-light-mode .participant-role-badge--owner-icon::before {
  border-color: rgba(255, 250, 253, 0.98) transparent transparent transparent !important;
}

body.pref-light-mode .participant-status {
  color: #7a3d60 !important;
}

body.pref-light-mode .participant-status::before {
  background: #b89bb0 !important;
}

body.pref-light-mode .participant-status.online {
  color: #198754 !important;
}

body.pref-light-mode .participant-status.online::before {
  background: #22c55e !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12) !important;
}

body.pref-light-mode .reaction-tab {
  color: #9a6a84 !important;
}

body.pref-light-mode .reaction-tab.active {
  color: #9b3d67 !important;
}

body.pref-light-mode .reaction-tab.active::after {
  background: linear-gradient(135deg, #f9c9dd, #cc6f9a) !important;
}

body.pref-light-mode .reaction-tab-count {
  color: #b07a95 !important;
}

body.pref-light-mode .reaction-detail-row {
  border-color: rgba(190, 24, 93, 0.18) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.94)) !important;
  box-shadow:
    0 12px 22px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset !important;
}

body.pref-light-mode .reaction-detail-row.me {
  border-color: rgba(190, 24, 93, 0.24) !important;
}

body.pref-light-mode .reaction-detail-row.me:hover {
  background: linear-gradient(180deg, rgba(255, 248, 252, 1), rgba(255, 239, 246, 0.96)) !important;
}

body.pref-light-mode .reaction-detail-emoji {
  color: #8f2f67 !important;
}

body.pref-light-mode .toolbar-btn {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 244, 249, 0.94)) !important;
  border-color: rgba(190, 24, 93, 0.18) !important;
  color: #7a2858 !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
}

body.pref-light-mode .toolbar-btn:hover {
  background: linear-gradient(180deg, rgba(255, 248, 252, 1), rgba(255, 239, 246, 0.96)) !important;
  border-color: rgba(190, 24, 93, 0.28) !important;
  color: #681d48 !important;
}

body.pref-light-mode .toolbar-menu,
body.pref-light-mode .reaction-picker {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 244, 249, 0.97)) !important;
  border-color: rgba(190, 24, 93, 0.2) !important;
  box-shadow:
    0 18px 36px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

body.pref-light-mode .toolbar-menu button {
  color: #6b284e !important;
  background: transparent !important;
}

body.pref-light-mode .toolbar-menu button:hover {
  background: rgba(244, 114, 182, 0.12) !important;
  color: #551533 !important;
}

body.pref-light-mode .toolbar-menu button:last-child {
  color: #a53a67 !important;
}

body.pref-light-mode .reaction-picker button {
  background: rgba(244, 114, 182, 0.08) !important;
  color: #6b284e !important;
}

body.pref-light-mode .reaction-picker button:hover {
  background: rgba(244, 114, 182, 0.16) !important;
}

body.pref-light-mode .reaction-chip span:last-child {
  color: #8f2f67 !important;
  font-weight: 700;
}

body.pref-light-mode .reaction-chip.active span:last-child {
  color: #5a1738 !important;
}

body.pref-light-mode .reaction-chip {
  border-color: rgba(203, 104, 149, 0.32) !important;
  background: rgba(246, 223, 236, 0.78) !important;
  color: #7a2858 !important;
  box-shadow:
    0 8px 16px rgba(190, 24, 93, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

body.pref-light-mode .reaction-chip.active {
  border-color: rgba(203, 104, 149, 0.42) !important;
  background: rgba(240, 202, 222, 0.84) !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
}

body.pref-light-mode .modal-close-btn {
  border-color: rgba(190, 24, 93, 0.24) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.92)) !important;
  box-shadow:
    0 10px 22px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

body.pref-light-mode .modal-close-btn::before,
body.pref-light-mode .modal-close-btn::after {
  background: #b05782 !important;
}

body.pref-light-mode .modal-close-btn:hover {
  background: linear-gradient(180deg, rgba(255, 248, 252, 1), rgba(255, 239, 246, 0.96)) !important;
  border-color: rgba(190, 24, 93, 0.32) !important;
}

body.pref-light-mode .social-reactions-close {
  color: #8f3b67 !important;
  border-color: rgba(190, 24, 93, 0.3) !important;
}

.reaction-modal-header .social-reactions-close {
  position: relative !important;
  top: auto !important;
  right: auto !important;
}

body.pref-light-mode #edit-profile-modal {
  background: rgba(91, 33, 68, 0.22) !important;
  backdrop-filter: blur(8px);
}

body.pref-light-mode #edit-profile-modal .modal-panel {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 245, 249, 0.98)) !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  box-shadow:
    0 30px 64px rgba(190, 24, 93, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 0 0 2px rgba(255, 236, 244, 0.92) !important;
}

body.pref-light-mode #edit-profile-modal .modal-panel-header {
  border-bottom-color: rgba(190, 24, 93, 0.16) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.62), rgba(255, 245, 249, 0.2)) !important;
}

body.pref-light-mode #edit-profile-modal .modal-panel-header h3 {
  color: #5a1738 !important;
}

body.pref-light-mode #edit-profile-modal .edit-profile-form label,
body.pref-light-mode #edit-profile-modal .checkbox-group-label {
  color: #6f294f !important;
  font-weight: 700;
}

body.pref-light-mode #edit-profile-modal .edit-profile-section {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.95)) !important;
  border-color: rgba(190, 24, 93, 0.2) !important;
  box-shadow:
    0 12px 24px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset !important;
}

body.pref-light-mode #edit-profile-modal .edit-profile-section-title {
  color: #5a1738 !important;
}

body.pref-light-mode #edit-profile-modal .edit-profile-hint,
body.pref-light-mode #edit-profile-modal .form-message {
  color: #8a4b6c !important;
}

body.pref-light-mode #edit-profile-modal .checkbox-pill {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.94)) !important;
  border-color: rgba(190, 24, 93, 0.16) !important;
  color: #6b284e !important;
  box-shadow:
    0 8px 18px rgba(190, 24, 93, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.66) inset !important;
}

body.pref-light-mode #edit-profile-modal .checkbox-pill:has(input:checked) {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.18), rgba(192, 132, 252, 0.2)) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
  color: #5a1738 !important;
}

body.pref-light-mode #edit-profile-modal .modal-actions {
  padding-top: 6px;
}

body.pref-light-mode #edit-profile-modal .edit-profile-footer {
  border-top-color: rgba(190, 24, 93, 0.16) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.94), rgba(255, 245, 249, 0.92)) !important;
  box-shadow: 0 -8px 18px rgba(190, 24, 93, 0.06) !important;
}

body.pref-light-mode #edit-profile-modal #save-profile-btn {
  box-shadow:
    0 14px 26px rgba(190, 24, 93, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset !important;
}

body.pref-light-mode #create-profile-album-modal .profile-album-modal-panel,
body.pref-light-mode #profile-album-picker-modal .profile-album-picker-panel,
body.pref-light-mode #profile-share-modal .profile-share-modal-panel,
body.pref-light-mode #profile-feedback-modal .profile-feedback-modal-panel {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 245, 249, 0.98)) !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  box-shadow:
    0 24px 48px rgba(190, 24, 93, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset !important;
}

body.pref-light-mode #create-profile-album-modal .modal-panel-header,
body.pref-light-mode #profile-album-picker-modal .modal-panel-header,
body.pref-light-mode #profile-share-modal .modal-panel-header,
body.pref-light-mode #profile-feedback-modal .modal-panel-header {
  border-bottom-color: rgba(190, 24, 93, 0.16) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.62), rgba(255, 245, 249, 0.2)) !important;
}

body.pref-light-mode #create-profile-album-modal .modal-panel-header h3,
body.pref-light-mode #profile-album-picker-modal .modal-panel-header h3,
body.pref-light-mode #profile-share-modal .modal-panel-header h3,
body.pref-light-mode #profile-feedback-modal .modal-panel-header h3,
body.pref-light-mode #create-profile-album-modal label,
body.pref-light-mode #profile-album-picker-modal label,
body.pref-light-mode #profile-share-modal label {
  color: #5a1738 !important;
}

body.pref-light-mode #profile-share-modal .profile-share-target,
body.pref-light-mode #profile-share-modal .profile-share-option {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 245, 249, 0.95)) !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  color: #6b284e !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset !important;
}

body.pref-light-mode #profile-share-modal .profile-share-option:has(input:checked) {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.22), rgba(192, 132, 252, 0.24)) !important;
  border-color: rgba(190, 24, 93, 0.3) !important;
  color: #5a1738 !important;
}

body.pref-light-mode #profile-share-conversation-select,
body.pref-light-mode #profile-share-comment-input {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 245, 249, 0.95)) !important;
  border: 1px solid rgba(190, 24, 93, 0.24) !important;
  color: #5d2347 !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset !important;
}

body.pref-light-mode #profile-share-conversation-select:focus,
body.pref-light-mode #profile-share-comment-input:focus {
  outline: none;
  border-color: rgba(190, 24, 93, 0.34) !important;
  box-shadow:
    0 0 0 3px rgba(244, 114, 182, 0.16),
    0 12px 22px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

body.pref-light-mode #profile-share-comment-input::placeholder {
  color: #a56a88 !important;
}

body.pref-light-mode #publication-share-modal .publication-share-modal-panel {
  background:
    radial-gradient(120% 90% at 92% 8%, rgba(244, 114, 182, 0.2), transparent 58%),
    radial-gradient(95% 85% at 12% 100%, rgba(236, 72, 153, 0.12), transparent 64%),
    linear-gradient(180deg, rgba(255, 251, 254, 0.99), rgba(255, 241, 248, 0.98)) !important;
  border-color: rgba(217, 128, 180, 0.56) !important;
  box-shadow:
    0 30px 72px rgba(173, 88, 140, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.62) inset !important;
}

body.pref-light-mode #publication-share-modal .publication-share-body {
  background:
    linear-gradient(180deg, rgba(255, 250, 253, 0.72), rgba(255, 244, 250, 0.62)) !important;
}

body.pref-light-mode #publication-share-modal .publication-share-form label {
  color: #7a2959 !important;
}

body.pref-light-mode #publication-share-modal .publication-share-form textarea {
  border-color: rgba(217, 128, 180, 0.46) !important;
  background:
    linear-gradient(180deg, rgba(255, 252, 255, 0.98), rgba(255, 245, 251, 0.96)) !important;
  color: #5e2149 !important;
}

body.pref-light-mode #publication-share-modal .publication-share-preview-wrap,
body.pref-light-mode #publication-share-modal .publication-shared-source-card {
  border-color: rgba(217, 128, 180, 0.44) !important;
  background:
    linear-gradient(180deg, rgba(255, 252, 255, 0.98), rgba(255, 245, 251, 0.95)) !important;
}

body.pref-light-mode #publication-share-modal .publication-share-actions {
  border-top-color: rgba(217, 128, 180, 0.3) !important;
  background:
    linear-gradient(180deg, rgba(255, 245, 251, 0.82), rgba(255, 233, 245, 0.96)) !important;
}

body.pref-light-mode #profile-feedback-modal .profile-feedback-text {
  color: #6b284e !important;
}

body.pref-light-mode #create-profile-album-modal #profile-album-title-input {
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(190, 24, 93, 0.28) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 245, 249, 0.96)) !important;
  color: #4f1638 !important;
  box-shadow:
    0 10px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset !important;
}

body.pref-light-mode #create-profile-album-modal #profile-album-title-input::placeholder {
  color: #a05f83 !important;
}

body.pref-light-mode #create-profile-album-modal #profile-album-title-input:focus {
  outline: none;
  border-color: rgba(190, 24, 93, 0.38) !important;
  box-shadow:
    0 0 0 3px rgba(244, 114, 182, 0.16),
    0 12px 24px rgba(190, 24, 93, 0.11),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset !important;
}

body.pref-light-mode #create-profile-album-modal .profile-album-cover-picker {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  justify-content: center;
  border: 1px solid rgba(190, 24, 93, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(255, 254, 255, 0.98), rgba(255, 243, 249, 0.95)) !important;
  color: #6b284e !important;
  box-shadow:
    0 12px 22px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

body.pref-light-mode #create-profile-album-modal .profile-album-cover-picker:hover {
  border-color: rgba(190, 24, 93, 0.36) !important;
  background:
    linear-gradient(180deg, rgba(255, 251, 253, 1), rgba(255, 237, 246, 0.96)) !important;
  color: #5a1738 !important;
}

body.pref-light-mode input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.pref-light-mode textarea,
body.pref-light-mode select,
body.pref-light-mode .feed-composer-input,
body.pref-light-mode .message-form input,
body.pref-light-mode .modal-content input,
body.pref-light-mode .forum-modal-field input,
body.pref-light-mode .login-form input,
body.pref-light-mode .login-form select {
  background: rgba(255, 252, 254, 0.96) !important;
  color: #5d2347 !important;
  border-color: rgba(190, 24, 93, 0.2) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

body.pref-light-mode input::placeholder,
body.pref-light-mode textarea::placeholder {
  color: #b07a95 !important;
}

body.pref-light-mode .social-confirm-btn.secondary,
body.pref-light-mode .reaction-modal-tab,
body.pref-light-mode .members-tab,
body.pref-light-mode .friends-tab {
  color: #7a3d60;
}

body.pref-light-mode .social-ban-reason-label {
  color: #7a3d60;
}

body.pref-light-mode .social-ban-reason-input {
  background: rgba(255, 250, 253, 0.92);
  border-color: rgba(190, 24, 93, 0.2);
  color: #4a2140;
}

body.pref-light-mode .social-ban-reason-error {
  color: #be123c;
}

body.pref-light-mode .publication-comments-title,
body.pref-light-mode .publication-like-btn,
body.pref-light-mode .publication-comment-action-btn,
body.pref-light-mode .publication-comment-reaction-inline-trigger,
body.pref-light-mode .publication-reaction-summary-text,
body.pref-light-mode .publication-comment-reaction-total,
body.pref-light-mode .profile-photo-reaction-summary-text,
body.pref-light-mode .profile-photo-comment-action-btn,
body.pref-light-mode .profile-photo-comment-reaction-summary-text,
body.pref-light-mode .profile-photo-comment-reaction-summary-trigger,
body.pref-light-mode .profile-photo-comment-date,
body.pref-light-mode .publication-comment-head-main > div:last-child,
body.pref-light-mode .activity-feed-time,
body.pref-light-mode .activity-item-date,
body.pref-light-mode .feed-card-footer,
body.pref-light-mode .section-heading p,
body.pref-light-mode .hero-panel-stat span,
body.pref-light-mode .current-user-username {
  color: #7a3d60 !important;
}

body.pref-light-mode .publication-comment-empty,
body.pref-light-mode .feed-feedback,
body.pref-light-mode .members-feedback,
body.pref-light-mode .friends-feedback,
body.pref-light-mode .publication-comment-counter,
body.pref-light-mode .profile-photo-comment-counter {
  color: #8a5872 !important;
}

body.pref-light-mode .publication-comment-action-btn:hover,
body.pref-light-mode .publication-comment-action-btn.active,
body.pref-light-mode .publication-like-btn:hover,
body.pref-light-mode .publication-comment-reaction-inline-trigger:hover,
body.pref-light-mode .profile-photo-comment-action-btn:hover,
body.pref-light-mode .profile-photo-comment-action-btn.active,
body.pref-light-mode .profile-photo-comment-reaction-summary-trigger:hover,
body.pref-light-mode .feed-card-title-link:hover {
  color: #c02673 !important;
}

body.pref-light-mode .publication-reply-target,
body.pref-light-mode .profile-photo-reply-target {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(96, 165, 250, 0.1), rgba(192, 132, 252, 0.12), rgba(244, 114, 182, 0.12)) !important;
  border: 1px solid rgba(168, 85, 247, 0.18) !important;
  color: #7a3d60 !important;
  box-shadow:
    0 10px 20px rgba(168, 85, 247, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

body.pref-light-mode .publication-reply-target strong,
body.pref-light-mode .profile-photo-reply-target strong,
body.pref-light-mode .publication-reply-target span,
body.pref-light-mode .profile-photo-reply-target span {
  color: #6b284e !important;
}

body.pref-light-mode .feed-badge,
body.pref-light-mode .feed-card-badge,
body.pref-light-mode .activity-feed-badge,
body.pref-light-mode .publication-reaction-summary,
body.pref-light-mode .publication-reaction-icon,
body.pref-light-mode .profile-photo-reaction-summary,
body.pref-light-mode .publication-comment-reaction-inline-icon,
body.pref-light-mode .profile-photo-comment-reaction-summary-trigger .reaction-chip,
body.pref-light-mode .activity-feed-pill {
  color: #8f2f67 !important;
}

body.pref-light-mode .publication-reaction-icon,
body.pref-light-mode .publication-comment-reaction-inline-icon,
body.pref-light-mode .profile-photo-comment-reaction-summary-trigger .reaction-chip {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.99), rgba(255, 242, 248, 0.96)) !important;
  border: 1px solid rgba(190, 24, 93, 0.2) !important;
  box-shadow:
    0 8px 16px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset !important;
}

body.pref-light-mode .feed-badge,
body.pref-light-mode .feed-card-badge,
body.pref-light-mode .activity-feed-badge {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.14), rgba(236, 72, 153, 0.16)) !important;
  border: 1px solid rgba(147, 51, 234, 0.24) !important;
  color: #7e22ce !important;
  box-shadow:
    0 10px 18px rgba(147, 51, 234, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset !important;
}

body.pref-light-mode .comment-menu-toggle,
body.pref-light-mode .comment-menu-item,
body.pref-light-mode .comment-edit-btn,
body.pref-light-mode .publication-reply-cancel-btn,
body.pref-light-mode .profile-photo-reply-cancel-btn {
  color: #6b284e !important;
}

body.pref-light-mode .comment-menu-item.danger {
  color: #b42318 !important;
}

body.pref-light-mode .comment-menu-item.danger:hover {
  background: rgba(220, 38, 38, 0.12) !important;
  color: #991b1b !important;
}

.comment-menu button[data-publication-action="report-publication"],
.comment-menu button[data-publication-action="block-publication-author"],
.comment-menu button[data-profile-publication-action="report-publication"],
.comment-menu button[data-profile-publication-action="block-publication-author"],
.comment-menu button[data-publication-action="report-comment"],
.comment-menu button[data-profile-publication-action="report-comment"],
.comment-menu button[data-profile-photo-action="report-photo"],
#profile-actions-report-btn,
#profile-actions-block-btn {
  color: #ef4444 !important;
}

body.pref-light-mode .comment-menu button[data-publication-action="report-publication"],
body.pref-light-mode .comment-menu button[data-publication-action="block-publication-author"],
body.pref-light-mode .comment-menu button[data-profile-publication-action="report-publication"],
body.pref-light-mode .comment-menu button[data-profile-publication-action="block-publication-author"],
body.pref-light-mode .comment-menu button[data-publication-action="report-comment"],
body.pref-light-mode .comment-menu button[data-profile-publication-action="report-comment"],
body.pref-light-mode .comment-menu button[data-profile-photo-action="report-photo"],
body.pref-light-mode #profile-actions-report-btn,
body.pref-light-mode #profile-actions-block-btn {
  color: #b42318 !important;
}

body.pref-light-mode .reaction-modal-header,
body.pref-light-mode .reaction-modal-tabs {
  border-bottom-color: rgba(190, 24, 93, 0.18);
}

body.pref-light-mode .reaction-modal-avatar-fallback {
  color: #eff6ff;
}

body.pref-light-mode .feed-card,
body.pref-light-mode .member-card,
body.pref-light-mode .friend-card,
body.pref-light-mode .conversation-item,
body.pref-light-mode .publication-comment,
body.pref-light-mode .publication-comment-empty,
body.pref-light-mode .publication-comment-composer,
body.pref-light-mode .publication-comment-input-shell,
body.pref-light-mode .profile-photo-comment-item,
body.pref-light-mode .profile-photo-comment-composer,
body.pref-light-mode .profile-photo-comment-input-shell,
body.pref-light-mode .comment-menu,
body.pref-light-mode .comment-edit-block {
  border-width: 2px !important;
  box-shadow:
    0 14px 30px rgba(190, 24, 93, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.58) inset;
}

body.pref-light-mode .publication-comments,
body.pref-light-mode .publication-social,
body.pref-light-mode .publication-comment-replies,
body.pref-light-mode .profile-photo-comments-block,
body.pref-light-mode .profile-photo-social-block,
body.pref-light-mode .feed-composer-actions,
body.pref-light-mode .forum-modal-actions,
body.pref-light-mode .social-confirm-actions {
  border-top-color: rgba(190, 24, 93, 0.16) !important;
}

body.pref-light-mode .publication-comments-title,
body.pref-light-mode .section-heading h2,
body.pref-light-mode .activity-item-title,
body.pref-light-mode .reaction-modal-header h3 {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

body.pref-light-mode .feed-card,
body.pref-light-mode .activity-feed-card,
body.pref-light-mode .profile-card,
body.pref-light-mode .feed-stream-card {
  border-color: rgba(190, 24, 93, 0.26) !important;
  box-shadow:
    0 18px 38px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.68) inset,
    0 0 0 3px rgba(255, 228, 239, 0.92) !important;
}

body.pref-light-mode .members-hero,
body.pref-light-mode .members-toolbar,
body.pref-light-mode .members-filters,
body.pref-light-mode .members-results,
body.pref-light-mode .member-card,
body.pref-light-mode .member-empty-card {
  border-color: rgba(168, 85, 247, 0.24) !important;
  box-shadow:
    0 18px 38px rgba(168, 85, 247, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset,
    0 0 0 3px rgba(238, 224, 255, 0.9) !important;
}

body.pref-light-mode .member-card,
body.pref-light-mode .member-empty-card {
  background:
    radial-gradient(circle at top left, rgba(236, 72, 153, 0.09), transparent 30%),
    radial-gradient(circle at right, rgba(168, 85, 247, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 249, 254, 0.99), rgba(247, 240, 255, 0.95)) !important;
}

body.pref-light-mode .member-name,
body.pref-light-mode .member-name-link {
  color: #531b5a !important;
}

body.pref-light-mode .member-name-link:hover {
  color: #9333ea !important;
}

body.pref-light-mode .member-username {
  color: #8b5cf6 !important;
  font-weight: 700;
}

body.pref-light-mode .member-bio,
body.pref-light-mode .member-empty-card,
body.pref-light-mode .member-pill,
body.pref-light-mode .members-feedback,
body.pref-light-mode .pagination-label {
  color: #714579 !important;
}

body.pref-light-mode .member-bio {
  font-weight: 500;
}

body.pref-light-mode .member-status {
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.94), rgba(241, 255, 246, 0.9)) !important;
  border: 1px solid rgba(34, 197, 94, 0.16) !important;
  color: #2f855a !important;
  box-shadow:
    0 8px 18px rgba(34, 197, 94, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.64) inset !important;
}

body.pref-light-mode .member-status.partial {
  background: linear-gradient(135deg, rgba(255, 247, 214, 0.98), rgba(255, 252, 234, 0.94)) !important;
  border: 1px solid rgba(245, 158, 11, 0.22) !important;
  color: #b45309 !important;
  box-shadow:
    0 8px 18px rgba(245, 158, 11, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.64) inset !important;
}

body.pref-light-mode .member-pill {
  background: linear-gradient(180deg, rgba(255, 252, 255, 0.99), rgba(245, 239, 255, 0.94)) !important;
  border: 1px solid rgba(168, 85, 247, 0.16) !important;
  color: #714579 !important;
  box-shadow:
    0 8px 18px rgba(168, 85, 247, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset !important;
}

body.pref-light-mode .member-pill.highlight {
  background: linear-gradient(135deg, rgba(244, 232, 255, 0.98), rgba(251, 244, 255, 0.94)) !important;
  border: 1px solid rgba(147, 51, 234, 0.2) !important;
  color: #7e22ce !important;
  box-shadow:
    0 8px 18px rgba(147, 51, 234, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

body.pref-light-mode .member-btn.secondary {
  background: linear-gradient(180deg, rgba(255, 254, 255, 0.99), rgba(246, 240, 255, 0.96)) !important;
  border: 1px solid rgba(168, 85, 247, 0.18) !important;
  color: #6b2f8b !important;
  box-shadow:
    0 12px 20px rgba(168, 85, 247, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset,
    0 0 0 2px rgba(238, 224, 255, 0.9) !important;
}

body.pref-light-mode .member-btn.secondary:hover {
  background: linear-gradient(180deg, rgba(252, 248, 255, 1), rgba(243, 234, 255, 0.98)) !important;
  border-color: rgba(147, 51, 234, 0.26) !important;
  color: #5b21b6 !important;
}

body.pref-light-mode .member-friend-label {
  color: #a855f7 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.pref-light-mode .member-btn.primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 62%),
    linear-gradient(135deg, #f9a8d4 0%, #c084fc 58%, #9333ea 100%) !important;
  border: 1px solid rgba(147, 51, 234, 0.3) !important;
  color: #fff8ff !important;
  box-shadow:
    0 12px 24px rgba(147, 51, 234, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset !important;
}

body.pref-light-mode .members-filters .section-heading p {
  color: #7d4b84 !important;
}

body.pref-light-mode .members-filters .filter-toggle {
  background: linear-gradient(180deg, rgba(255, 252, 255, 0.98), rgba(245, 239, 255, 0.94)) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  color: #6b2f8b !important;
  box-shadow:
    0 10px 20px rgba(168, 85, 247, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.74) inset !important;
}

body.pref-light-mode .members-filters .filter-toggle input {
  accent-color: #a855f7;
}

body.pref-light-mode .members-filters .filter-field span {
  color: #6b2f8b !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.pref-light-mode .members-filters .filter-field select {
  background:
    linear-gradient(45deg, transparent 50%, #a855f7 50%),
    linear-gradient(135deg, #a855f7 50%, transparent 50%),
    #ffffff !important;
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px),
    0 0 !important;
  background-size: 6px 6px, 6px 6px, 100% 100% !important;
  background-repeat: no-repeat !important;
  border: 1px solid rgba(168, 85, 247, 0.28) !important;
  color: #531b5a !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: light;
  box-shadow:
    0 0 0 1px rgba(244, 114, 182, 0.16) inset,
    0 10px 18px rgba(168, 85, 247, 0.08) !important;
}

body.pref-light-mode .members-filters .filter-field select option {
  background: #ffffff !important;
  color: #531b5a !important;
}

body.pref-light-mode .members-filters .filter-field select option:checked {
  background: #e9d5ff !important;
  color: #4c1d95 !important;
}

body.pref-light-mode .members-filters .filter-field select:focus {
  outline: 2px solid rgba(244, 114, 182, 0.34) !important;
  outline-offset: 2px;
  border-color: rgba(236, 72, 153, 0.4) !important;
}

body.pref-light-mode .members-filters .filter-field select:disabled {
  opacity: 1 !important;
  color: #9a6ca5 !important;
  background: rgba(248, 242, 255, 0.95) !important;
  background-image: none !important;
  border-color: rgba(196, 181, 253, 0.36) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
}

body.pref-light-mode .members-filters .filter-reset-btn {
  background: linear-gradient(180deg, rgba(255, 254, 255, 0.99), rgba(246, 240, 255, 0.96)) !important;
  border: 1px solid rgba(168, 85, 247, 0.22) !important;
  color: #6b2f8b !important;
}

body.pref-light-mode .members-filters .filter-reset-btn:hover {
  background: linear-gradient(180deg, rgba(252, 248, 255, 1), rgba(243, 234, 255, 0.98)) !important;
  border-color: rgba(147, 51, 234, 0.3) !important;
  color: #5b21b6 !important;
}

body.pref-light-mode .publication-social,
body.pref-light-mode .publication-comments,
body.pref-light-mode .profile-photo-social-block,
body.pref-light-mode .profile-photo-comments-block {
  background: transparent !important;
  border-top: none !important;
  box-shadow: none !important;
}

body.pref-light-mode .publication-comments-title,
body.pref-light-mode .publication-comments-list,
body.pref-light-mode .publication-comment-empty,
body.pref-light-mode .publication-comment-composer,
body.pref-light-mode .publication-comment-input-shell {
  background: linear-gradient(180deg, rgba(255, 245, 250, 0.86), rgba(255, 250, 252, 0.96)) !important;
}

body.pref-light-mode .publication-comment,
body.pref-light-mode .publication-comment-empty,
body.pref-light-mode .profile-photo-comment-item,
body.pref-light-mode .publication-comment-composer,
body.pref-light-mode .profile-photo-comment-composer {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.94)) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
}

body.pref-light-mode .publication-comment-composer,
body.pref-light-mode .profile-photo-comment-composer {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.pref-light-mode .publication-comment.is-reply,
body.pref-light-mode .profile-photo-comment-item.is-reply,
body.pref-light-mode .publication-comment-replies .publication-comment,
body.pref-light-mode .profile-photo-comment-replies .profile-photo-comment-item {
  background: linear-gradient(180deg, rgba(255, 246, 250, 0.98), rgba(255, 239, 246, 0.94)) !important;
  border-color: rgba(190, 24, 93, 0.3) !important;
  box-shadow:
    0 14px 26px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset,
    0 0 0 2px rgba(255, 235, 243, 0.92) !important;
}

body.pref-light-mode .publication-comment-replies,
body.pref-light-mode .profile-photo-comment-replies {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(190, 24, 93, 0.2) !important;
}

body.pref-light-mode .publication-comment-input-shell,
body.pref-light-mode .profile-photo-comment-input-shell,
body.pref-light-mode .comment-edit-block {
  border-radius: 22px !important;
  overflow: hidden;
  border: 1px solid rgba(190, 24, 93, 0.28) !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 1), rgba(255, 242, 248, 0.96)) !important;
  box-shadow:
    0 14px 28px rgba(190, 24, 93, 0.11),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset,
    0 0 0 3px rgba(255, 239, 246, 0.88) !important;
}

body.pref-light-mode .publication-comment-input,
body.pref-light-mode .profile-photo-comment-input,
body.pref-light-mode .comment-edit-input {
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.pref-light-mode .comment-menu {
  background: rgba(255, 248, 252, 0.98) !important;
  border-color: rgba(190, 24, 93, 0.3) !important;
  box-shadow:
    0 18px 32px rgba(190, 24, 93, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

body.pref-light-mode .edit-field-bubble {
  border-color: rgba(236, 72, 153, 0.3) !important;
  background: linear-gradient(180deg, rgba(255, 248, 252, 0.98), rgba(255, 240, 248, 0.95)) !important;
  color: #7a234b !important;
}

body.pref-light-mode .modal-panel.profile-photo-lightbox-panel {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(244, 114, 182, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 251, 254, 0.98), rgba(255, 244, 249, 0.96)) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
  box-shadow:
    0 24px 46px rgba(190, 24, 93, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset,
    0 0 0 2px rgba(217, 70, 239, 0.22) !important;
}

body.pref-light-mode .profile-photo-lightbox-body {
  background: rgba(255, 255, 255, 0.52) !important;
}

body.pref-light-mode .profile-photo-lightbox-meta {
  background: rgba(255, 253, 254, 0.92) !important;
  border-left-color: rgba(190, 24, 93, 0.18) !important;
}

body.pref-light-mode .profile-photo-sidebar-block {
  border-bottom-color: rgba(190, 24, 93, 0.16) !important;
}

body.pref-light-mode .profile-photo-lightbox-author,
body.pref-light-mode .profile-photo-description-label,
body.pref-light-mode .profile-photo-comments-title {
  color: #5b1636 !important;
}

body.pref-light-mode .profile-photo-like-btn {
  color: #5b1636 !important;
}

body.pref-light-mode .profile-photo-like-btn:hover {
  color: #4a102b !important;
}

body.pref-light-mode .profile-photo-lightbox-date,
body.pref-light-mode .profile-photo-reaction-summary-text,
body.pref-light-mode .profile-photo-comment-counter {
  color: #8a4a69 !important;
}

body.pref-light-mode .profile-photo-description-display {
  background: linear-gradient(180deg, rgba(255, 252, 254, 1), rgba(255, 244, 249, 0.95)) !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  color: #7a3a58 !important;
}

body.pref-light-mode .profile-photo-lightbox-image,
body.pref-light-mode .profile-photo-lightbox-video {
  border-color: rgba(190, 24, 93, 0.2) !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

body.pref-light-mode .profile-photo-zoom-btn,
body.pref-light-mode .profile-photo-zoom-controls {
  background: rgba(255, 250, 253, 0.96) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
  color: #6b284e !important;
}

body.pref-light-mode .profile-photo-zoom-btn:hover {
  background: rgba(255, 244, 249, 0.98) !important;
  border-color: rgba(236, 72, 153, 0.36) !important;
}

body.pref-light-mode .profile-photo-nav-btn {
  background: rgba(255, 250, 253, 0.95) !important;
  border-color: rgba(190, 24, 93, 0.28) !important;
  color: #6b284e !important;
  box-shadow:
    0 10px 24px rgba(190, 24, 93, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset !important;
}

body.pref-light-mode .profile-photo-nav-btn:hover {
  background: rgba(255, 244, 249, 0.98) !important;
  border-color: rgba(236, 72, 153, 0.4) !important;
}

body.pref-light-mode .publication-media-tile {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.95)) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
}

body.pref-light-mode .publication-media-badge {
  color: #6b284e !important;
  background: rgba(255, 250, 253, 0.95) !important;
  border-color: rgba(236, 72, 153, 0.36) !important;
}

body.pref-light-mode .publication-image-modal-video {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(190, 24, 93, 0.2) !important;
}

body.pref-light-mode .forum-card,
body.pref-light-mode .forum-hero,
body.pref-light-mode .forum-hero-panel,
body.pref-light-mode .forum-subjects-card,
body.pref-light-mode .forum-subject-composer {
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.1), transparent 26%),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(192, 132, 252, 0.1), transparent 24%),
    radial-gradient(circle at bottom right, rgba(244, 114, 182, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 251, 253, 0.98), rgba(255, 244, 249, 0.95)) !important;
  border-color: rgba(147, 51, 234, 0.18) !important;
  box-shadow:
    0 18px 36px rgba(147, 51, 234, 0.08),
    0 12px 28px rgba(59, 130, 246, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.74) inset,
    0 0 0 3px rgba(253, 230, 138, 0.32) !important;
}

body.pref-light-mode .forum-category-card {
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(255, 247, 250, 0.98), rgba(255, 252, 254, 0.95)) !important;
  border: 2px solid rgba(168, 85, 247, 0.18) !important;
  box-shadow:
    0 18px 34px rgba(168, 85, 247, 0.08),
    0 12px 24px rgba(59, 130, 246, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.76) inset,
    0 0 0 3px rgba(253, 242, 184, 0.42) !important;
}

body.pref-light-mode .forum-category-card.forum-category-sexuality {
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 236, 0.98), rgba(255, 251, 245, 0.95)) !important;
}

body.pref-light-mode .forum-category-card.forum-category-trans {
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.32), transparent 34%),
    linear-gradient(135deg, rgba(241, 248, 255, 0.98), rgba(250, 252, 255, 0.95)) !important;
}

body.pref-light-mode .forum-category-card.forum-category-ds {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(255, 244, 249, 0.98), rgba(255, 250, 252, 0.95)) !important;
}

body.pref-light-mode .forum-category-card.forum-category-story {
  background:
    radial-gradient(circle at top left, rgba(192, 132, 252, 0.3), transparent 34%),
    linear-gradient(135deg, rgba(248, 243, 255, 0.98), rgba(253, 250, 255, 0.95)) !important;
}

body.pref-light-mode .forum-category-card:hover,
body.pref-light-mode .forum-category-card.active {
  border-color: rgba(96, 165, 250, 0.34) !important;
  box-shadow:
    0 22px 40px rgba(168, 85, 247, 0.12),
    0 14px 28px rgba(59, 130, 246, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset,
    0 0 0 4px rgba(191, 219, 254, 0.58) !important;
}

body.pref-light-mode .forum-category-head h3,
body.pref-light-mode .forum-subject-head h3,
body.pref-light-mode .forum-subject-row-title strong,
body.pref-light-mode .forum-subjects-heading,
body.pref-light-mode .forum-category-title-btn {
  color: #561734 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.pref-light-mode .forum-category-card p,
body.pref-light-mode .forum-subject-body,
body.pref-light-mode .forum-subject-body p,
body.pref-light-mode .forum-subject-row-author,
body.pref-light-mode .forum-subject-row-date,
body.pref-light-mode .forum-subject-meta,
body.pref-light-mode .forum-card-subtitle,
body.pref-light-mode .forum-hero-text {
  color: #7a3a58 !important;
}

body.pref-light-mode .forum-category-count,
body.pref-light-mode .forum-subject-row-replies,
body.pref-light-mode .forum-replies-count,
body.pref-light-mode .forum-subject-author {
  color: #8a4a69 !important;
  font-weight: 700;
}

body.pref-light-mode .forum-category-nav-link {
  background:
    linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(248, 250, 255, 0.95)) !important;
  border-color: rgba(168, 85, 247, 0.18) !important;
  color: #5b2a66 !important;
  box-shadow:
    0 10px 22px rgba(168, 85, 247, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.66) inset !important;
}

body.pref-light-mode .forum-category-nav-link:hover,
body.pref-light-mode .forum-category-nav-link.active {
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(96, 165, 250, 0.2), rgba(192, 132, 252, 0.22), rgba(244, 114, 182, 0.2)) !important;
  border-color: rgba(168, 85, 247, 0.24) !important;
  color: #5b1a84 !important;
  box-shadow:
    0 10px 18px rgba(168, 85, 247, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.76) inset !important;
}

body.pref-light-mode .forum-tag,
body.pref-light-mode .forum-badge {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(96, 165, 250, 0.2), rgba(192, 132, 252, 0.22), rgba(244, 114, 182, 0.2)) !important;
  color: #5b1a84 !important;
  border: 1px solid rgba(168, 85, 247, 0.24) !important;
  box-shadow:
    0 10px 20px rgba(168, 85, 247, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
}

body.pref-light-mode .forum-pill {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(96, 165, 250, 0.2), rgba(192, 132, 252, 0.22), rgba(244, 114, 182, 0.2)) !important;
  color: #5b1a84 !important;
  border: 1px solid rgba(168, 85, 247, 0.24) !important;
  box-shadow:
    0 10px 22px rgba(168, 85, 247, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

body.pref-light-mode .forum-category-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 250, 0.94)) !important;
  border-color: rgba(190, 24, 93, 0.18) !important;
  color: #571735 !important;
  box-shadow:
    0 14px 26px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

body.pref-light-mode .forum-category-sexuality .forum-category-icon {
  background: linear-gradient(135deg, rgba(255, 243, 204, 0.98), rgba(255, 251, 235, 0.95)) !important;
  border-color: rgba(245, 158, 11, 0.26) !important;
  color: #b45309 !important;
}

body.pref-light-mode .forum-category-trans .forum-category-icon {
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.98), rgba(240, 249, 255, 0.95)) !important;
  border-color: rgba(59, 130, 246, 0.24) !important;
  color: #1d4ed8 !important;
}

body.pref-light-mode .forum-category-ds .forum-category-icon {
  background: linear-gradient(135deg, rgba(252, 231, 243, 0.98), rgba(255, 241, 246, 0.95)) !important;
  border-color: rgba(236, 72, 153, 0.24) !important;
  color: #be185d !important;
}

body.pref-light-mode .forum-category-story .forum-category-icon {
  background: linear-gradient(135deg, rgba(243, 232, 255, 0.98), rgba(250, 245, 255, 0.95)) !important;
  border-color: rgba(168, 85, 247, 0.24) !important;
  color: #7e22ce !important;
}

body.pref-light-mode .forum-subcategory-icon {
  background: linear-gradient(135deg, rgba(243, 232, 255, 0.98), rgba(250, 245, 255, 0.95)) !important;
  border-color: rgba(168, 85, 247, 0.24) !important;
  color: #7e22ce !important;
  box-shadow:
    0 14px 26px rgba(168, 85, 247, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

body.pref-light-mode .forum-subject-row,
body.pref-light-mode .forum-subject-list-head {
  border-top-color: rgba(190, 24, 93, 0.18) !important;
}

body.pref-light-mode .forum-subject-row:hover,
body.pref-light-mode .forum-subject-row:focus,
body.pref-light-mode .forum-subject-row:focus-visible {
  background: rgba(244, 114, 182, 0.09) !important;
}

body.pref-light-mode .forum-empty-state {
  color: #7b2f52 !important;
  background: rgba(255, 247, 252, 0.9) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
}

body.pref-light-mode .forum-field span,
body.pref-light-mode .forum-editor-native-size-label {
  color: #6f244a !important;
}

body.pref-light-mode .forum-field input,
body.pref-light-mode .forum-field textarea {
  background: rgba(255, 252, 254, 0.96) !important;
  border-color: rgba(190, 24, 93, 0.24) !important;
  color: #40122c !important;
}

body.pref-light-mode .forum-field input::placeholder,
body.pref-light-mode .forum-field textarea::placeholder {
  color: #a56a88 !important;
}

body.pref-light-mode .forum-editor-toolbar-shell {
  background: rgba(255, 248, 252, 0.78) !important;
  border-bottom-color: rgba(190, 24, 93, 0.14) !important;
}

body.pref-light-mode .forum-editor-surface .forum-tiptap-editor,
body.pref-light-mode .forum-editor-surface .ProseMirror,
body.pref-light-mode .forum-editor-surface .forum-tiptap-editor p,
body.pref-light-mode .forum-editor-surface .forum-tiptap-editor li,
body.pref-light-mode .forum-editor-surface .ProseMirror p,
body.pref-light-mode .forum-editor-surface .ProseMirror li {
  color: #3b0f28 !important;
}

body.pref-light-mode .forum-editor-surface .forum-tiptap-editor p.is-editor-empty:first-child::before,
body.pref-light-mode .forum-editor-surface .ProseMirror p.is-editor-empty:first-child::before {
  color: #a56a88 !important;
}

body.pref-light-mode .friends-hero,
body.pref-light-mode .friends-section-card,
body.pref-light-mode .friends-tabs,
body.pref-light-mode .friend-card {
  border-color: rgba(190, 24, 93, 0.28) !important;
  box-shadow:
    0 18px 36px rgba(190, 24, 93, 0.11),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset,
    0 0 0 3px rgba(255, 233, 241, 0.9) !important;
}

body.pref-light-mode .friends-tabs {
  background: rgba(255, 246, 250, 0.96) !important;
}

body.pref-light-mode .friends-tab {
  color: #6f244a !important;
  border-color: rgba(190, 24, 93, 0.2) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.pref-light-mode .friends-tab:hover {
  background: rgba(244, 114, 182, 0.12) !important;
  color: #5a1738 !important;
}

body.pref-light-mode .friends-tab.active {
  background: linear-gradient(135deg, #f06292, #fb7185) !important;
  border-color: rgba(190, 24, 93, 0.4) !important;
  color: #fff7fb !important;
  box-shadow:
    0 12px 24px rgba(190, 24, 93, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset !important;
}

body.pref-light-mode .side-card {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 253, 0.98), rgba(255, 243, 248, 0.95)) !important;
  border-color: rgba(190, 24, 93, 0.26) !important;
  box-shadow:
    0 18px 36px rgba(190, 24, 93, 0.11),
    0 0 0 1px rgba(255, 255, 255, 0.76) inset,
    0 0 0 3px rgba(255, 233, 241, 0.9) !important;
}

body.pref-light-mode .hero-panel-stat {
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.95)) !important;
  background-clip: padding-box;
  border: 1px solid rgba(190, 24, 93, 0.22) !important;
  box-shadow:
    0 14px 28px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.62) inset !important;
}

body.pref-light-mode .members-hero .hero-panel-stat {
  border-color: rgba(168, 85, 247, 0.28) !important;
  box-shadow:
    0 14px 28px rgba(168, 85, 247, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.62) inset,
    0 0 0 2px rgba(244, 114, 182, 0.14) !important;
}

body.pref-light-mode .hero-panel-stat strong {
  color: #561734 !important;
}

body.pref-light-mode .hero-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

body.pref-light-mode .side-card h2 {
  color: #561734 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.pref-light-mode .side-card .primary-action {
  background: linear-gradient(135deg, #f08ab8, #c084fc) !important;
  border: 1px solid rgba(190, 24, 93, 0.24) !important;
  color: #4a1633 !important;
  box-shadow:
    0 14px 24px rgba(190, 24, 93, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
}

body.pref-light-mode .side-card .primary-action:hover {
  background: linear-gradient(135deg, #ec78ad, #b974f2) !important;
  color: #3f122c !important;
}

body.pref-light-mode .side-card .secondary-action {
  background: linear-gradient(180deg, rgba(255, 254, 255, 0.99), rgba(255, 246, 250, 0.96)) !important;
  border: 1px solid rgba(190, 24, 93, 0.18) !important;
  color: #7a2858 !important;
  box-shadow:
    0 12px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset,
    0 0 0 2px rgba(255, 238, 245, 0.9) !important;
}

body.pref-light-mode .side-card .refresh-btn {
  background: linear-gradient(180deg, rgba(255, 254, 255, 0.99), rgba(255, 246, 250, 0.96)) !important;
  border: 1px solid rgba(190, 24, 93, 0.18) !important;
  color: #7a2858 !important;
  box-shadow:
    0 12px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset,
    0 0 0 2px rgba(255, 238, 245, 0.9) !important;
}

body.pref-light-mode .feed-stream-card .refresh-btn {
  background: linear-gradient(180deg, rgba(255, 254, 255, 0.99), rgba(255, 246, 250, 0.96)) !important;
  border: 1px solid rgba(190, 24, 93, 0.18) !important;
  color: #7a2858 !important;
  opacity: 1 !important;
  box-shadow:
    0 12px 20px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset,
    0 0 0 2px rgba(255, 238, 245, 0.9) !important;
}

body.pref-light-mode .side-card .secondary-action:hover {
  background: linear-gradient(180deg, rgba(255, 250, 252, 1), rgba(255, 241, 247, 0.97)) !important;
  border-color: rgba(190, 24, 93, 0.26) !important;
  color: #681d48 !important;
}

body.pref-light-mode .side-card .refresh-btn:hover {
  background: linear-gradient(180deg, rgba(255, 250, 252, 1), rgba(255, 241, 247, 0.97)) !important;
  border-color: rgba(190, 24, 93, 0.26) !important;
  color: #681d48 !important;
}

body.pref-light-mode .feed-stream-card .refresh-btn:hover {
  background: linear-gradient(180deg, rgba(255, 250, 252, 1), rgba(255, 241, 247, 0.97)) !important;
  border-color: rgba(190, 24, 93, 0.26) !important;
  color: #681d48 !important;
}

body.pref-light-mode .primary-action,
body.pref-light-mode .feed-publish-btn,
body.pref-light-mode .friend-action-btn.primary {
  background: linear-gradient(135deg, #f08ab8, #c084fc) !important;
  border: 1px solid rgba(190, 24, 93, 0.24) !important;
  color: #4a1633 !important;
  box-shadow:
    0 14px 24px rgba(190, 24, 93, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
}

body.pref-light-mode .primary-action:hover,
body.pref-light-mode .feed-publish-btn:hover,
body.pref-light-mode .friend-action-btn.primary:hover {
  background: linear-gradient(135deg, #ec78ad, #b974f2) !important;
  color: #3f122c !important;
}

body.pref-light-mode .info-list {
  margin-top: 18px;
  padding-left: 22px;
  list-style: disc;
  display: block;
  color: #74415d !important;
}

body.pref-light-mode .info-list li {
  padding-left: 0;
  margin-bottom: 10px;
}

body.pref-light-mode .friends-section-card h2,
body.pref-light-mode .friend-name,
body.pref-light-mode .friend-display-name,
body.pref-light-mode .friend-action-btn {
  color: #571735 !important;
}

body.pref-light-mode .friends-hero-text,
body.pref-light-mode .friends-feedback,
body.pref-light-mode .friend-meta,
body.pref-light-mode .friend-username,
body.pref-light-mode .friend-since,
body.pref-light-mode .friend-meta-pill {
  color: #7a3a58 !important;
}

body.pref-light-mode .section-search-input-wrap {
  border-radius: 18px !important;
  overflow: hidden;
  background: rgba(255, 251, 253, 0.98) !important;
  border: 1px solid rgba(190, 24, 93, 0.26) !important;
  box-shadow:
    0 12px 24px rgba(190, 24, 93, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset !important;
}

body.pref-light-mode .section-search-input-wrap input {
  border-radius: inherit !important;
  border: 0 !important;
  background: transparent !important;
  color: #5d2347 !important;
  box-shadow: none !important;
}

body.pref-light-mode .section-search-input-wrap input::placeholder {
  color: #a45d82 !important;
}

body.pref-light-mode .friend-card {
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.98), rgba(255, 244, 249, 0.95)) !important;
}

body.pref-light-mode .friend-card:hover {
  background: linear-gradient(180deg, rgba(255, 247, 251, 1), rgba(255, 238, 246, 0.96)) !important;
  border-color: rgba(190, 24, 93, 0.34) !important;
}

body.pref-light-mode .friend-action-btn {
  background: linear-gradient(180deg, rgba(255, 254, 255, 0.99), rgba(255, 245, 250, 0.96)) !important;
  border-color: rgba(190, 24, 93, 0.3) !important;
  box-shadow:
    0 12px 20px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.88) inset,
    0 0 0 2px rgba(255, 233, 241, 0.92) !important;
}

body.pref-light-mode .friend-action-btn:hover {
  border-color: rgba(190, 24, 93, 0.38) !important;
  box-shadow:
    0 14px 24px rgba(190, 24, 93, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.92) inset,
    0 0 0 3px rgba(251, 207, 232, 0.8) !important;
}

body.pref-light-mode .friend-action-btn.primary {
  background: linear-gradient(135deg, #f472b6, #38bdf8) !important;
  border-color: rgba(190, 24, 93, 0.28) !important;
  color: #fff8fc !important;
}

body.pref-light-mode .friend-action-btn.danger {
  background: rgba(190, 24, 93, 0.34) !important;
  border-color: rgba(157, 23, 77, 0.34) !important;
  color: #fff7fb !important;
}

body.pref-light-mode .forum-page .user-card .current-user-avatar,
body.pref-light-mode .forum-page .user-card .current-user-avatar-fallback,
body.pref-light-mode .forum-page .user-card .feed-composer-avatar {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.72), rgba(96, 165, 250, 0.58), rgba(192, 132, 252, 0.6), rgba(244, 114, 182, 0.58)) !important;
  color: #3f122c !important;
  border-color: rgba(190, 24, 93, 0.2) !important;
  box-shadow:
    0 12px 22px rgba(190, 24, 93, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.38) inset !important;
}

body.pref-light-mode .forum-page .user-card .primary-action {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(96, 165, 250, 0.18), rgba(192, 132, 252, 0.2), rgba(244, 114, 182, 0.2)) !important;
  border: 1px solid rgba(168, 85, 247, 0.38) !important;
  color: #5b1a84 !important;
  box-shadow:
    0 10px 20px rgba(168, 85, 247, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset,
    0 0 0 1px rgba(192, 132, 252, 0.28) !important;
}

body.pref-light-mode .forum-page .user-card .primary-action:hover {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.3), rgba(96, 165, 250, 0.24), rgba(192, 132, 252, 0.26), rgba(244, 114, 182, 0.26)) !important;
  border-color: rgba(168, 85, 247, 0.48) !important;
  color: #4c1572 !important;
}

body.pref-light-mode .moderation-hero,
body.pref-light-mode .moderation-workbench,
body.pref-light-mode .moderation-card {
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.1), transparent 30%),
    radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 253, 0.98), rgba(255, 244, 249, 0.95)) !important;
  border-color: rgba(190, 24, 93, 0.22) !important;
  box-shadow:
    0 18px 36px rgba(190, 24, 93, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.74) inset !important;
}

body.pref-light-mode .moderation-hero h1,
body.pref-light-mode .moderation-card h2,
body.pref-light-mode .moderation-panel h3,
body.pref-light-mode .section-heading h2 {
  color: #561734 !important;
}

body.pref-light-mode .moderation-hero p,
body.pref-light-mode .moderation-card p,
body.pref-light-mode .moderation-panel p,
body.pref-light-mode .section-heading p {
  color: #7a3a58 !important;
}

body.pref-light-mode .moderation-tab {
  border-color: rgba(190, 24, 93, 0.16) !important;
  background: rgba(255, 255, 255, 0.8) !important;
  color: #7f1d4f !important;
}

body.pref-light-mode .moderation-tab:hover {
  border-color: rgba(236, 72, 153, 0.32) !important;
}

body.pref-light-mode .moderation-tab.is-active {
  border-color: rgba(236, 72, 153, 0.36) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 236, 244, 0.96)) !important;
  color: #5a1738 !important;
}

body.pref-light-mode .moderation-panel {
  border-color: rgba(190, 24, 93, 0.12) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 245, 249, 0.82)) !important;
}

/* Global dark palette: dominant dark violet */
body:not(.pref-light-mode) {
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.18), transparent 30%),
    radial-gradient(circle at right 14%, rgba(217, 70, 239, 0.14), transparent 26%),
    radial-gradient(circle at bottom 8% left 20%, rgba(139, 92, 246, 0.16), transparent 24%),
    linear-gradient(180deg, #100a1f 0%, #1b1230 48%, #24163e 100%) !important;
  color: #efe8ff !important;
}

body:not(.pref-light-mode) .topbar {
  background: rgba(20, 12, 36, 0.88) !important;
  border-bottom-color: rgba(190, 151, 255, 0.22) !important;
  box-shadow: 0 12px 30px rgba(15, 9, 29, 0.34) !important;
}

body:not(.pref-light-mode) .topbar-icon-btn,
body:not(.pref-light-mode) .topbar-user {
  background: rgba(34, 20, 58, 0.72) !important;
  border-color: rgba(190, 151, 255, 0.2) !important;
}

body:not(.pref-light-mode) .topbar-nav {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body:not(.pref-light-mode) .topbar-link {
  color: #d9c9f6 !important;
}

body:not(.pref-light-mode) .topbar-link:hover {
  background: rgba(168, 85, 247, 0.18) !important;
  color: #f6eeff !important;
}

body:not(.pref-light-mode) .topbar-link.active {
  background: transparent !important;
  color: #ff7ad8 !important;
  box-shadow: none !important;
}

body:not(.pref-light-mode) .feed-hero,
body:not(.pref-light-mode) .profile-hero,
body:not(.pref-light-mode) .forum-hero,
body:not(.pref-light-mode) .members-hero,
body:not(.pref-light-mode) .settings-hero-card,
body:not(.pref-light-mode) .moderation-hero,
body:not(.pref-light-mode) .bug-reports-hero {
  border-color: rgba(176, 132, 244, 0.34) !important;
  box-shadow:
    0 24px 56px rgba(13, 8, 26, 0.44),
    0 0 0 1px rgba(168, 85, 247, 0.18) inset !important;
}

body:not(.pref-light-mode) .side-card,
body:not(.pref-light-mode) .feed-stream-card,
body:not(.pref-light-mode) .feed-composer-card,
body:not(.pref-light-mode) .profile-card,
body:not(.pref-light-mode) .forum-card,
body:not(.pref-light-mode) .members-card,
body:not(.pref-light-mode) .friends-section-card,
body:not(.pref-light-mode) .settings-card,
body:not(.pref-light-mode) .moderation-card,
body:not(.pref-light-mode) .moderation-panel,
body:not(.pref-light-mode) .bug-reports-list-card,
body:not(.pref-light-mode) .bug-report-card,
body:not(.pref-light-mode) .bug-report-empty-card {
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(27, 16, 48, 0.92), rgba(22, 13, 40, 0.9)) !important;
  border-color: rgba(176, 132, 244, 0.26) !important;
  box-shadow:
    0 16px 36px rgba(13, 8, 26, 0.34),
    0 0 0 1px rgba(139, 92, 246, 0.14) inset !important;
}

body:not(.pref-light-mode) h1,
body:not(.pref-light-mode) h2,
body:not(.pref-light-mode) h3,
body:not(.pref-light-mode) h4 {
  color: #f4edff !important;
}

body:not(.pref-light-mode) p,
body:not(.pref-light-mode) span,
body:not(.pref-light-mode) li,
body:not(.pref-light-mode) label,
body:not(.pref-light-mode) .section-heading p,
body:not(.pref-light-mode) .hero-panel-stat span,
body:not(.pref-light-mode) .feed-card-time {
  color: #d7c8f3 !important;
}

/* Reusable CTA button aligned with dark-mode visual identity */
.vc-btn-dark {
  appearance: none;
  border: 1px solid rgba(176, 132, 244, 0.48);
  border-radius: 14px;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  color: #f8f4ff;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.92), rgba(124, 58, 237, 0.96));
  box-shadow:
    0 12px 28px rgba(92, 43, 175, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.vc-btn-dark:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 16px 32px rgba(92, 43, 175, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.vc-btn-dark:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.vc-btn-dark:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(216, 180, 254, 0.32),
    0 16px 32px rgba(92, 43, 175, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.vc-btn-dark:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.12);
  box-shadow:
    0 10px 24px rgba(43, 24, 78, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

body.pref-light-mode .vc-btn-dark {
  color: #5a1738;
  border-color: rgba(190, 24, 93, 0.3);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.34), transparent 44%),
    linear-gradient(135deg, #f3a6c8, #d29cf6);
  box-shadow:
    0 12px 26px rgba(190, 24, 93, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

/* Keep feed CTAs on the violet identity even when light mode is active. */
body.pref-light-mode .feed-page .vc-btn-dark {
  color: #f8f4ff;
  border-color: rgba(176, 132, 244, 0.48);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.92), rgba(124, 58, 237, 0.96));
  box-shadow:
    0 12px 28px rgba(92, 43, 175, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

/* Defensive dark-mode override: default violet CTA identity after navigation restores. */
body.pref-dark-mode .vc-btn-dark,
body:not(.pref-light-mode) .vc-btn-dark {
  color: #f8f4ff !important;
  border-color: rgba(176, 132, 244, 0.48) !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(168, 85, 247, 0.92), rgba(124, 58, 237, 0.96)) !important;
  box-shadow:
    0 12px 28px rgba(92, 43, 175, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
}


/* Global scrollbar identity (dark + light). */
:root {
  --ui-scrollbar-thumb: linear-gradient(180deg, rgba(236, 72, 153, 0.9), rgba(129, 140, 248, 0.86));
  --ui-scrollbar-track: rgba(255, 255, 255, 0.08);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(236, 72, 153, 0.78) rgba(255, 255, 255, 0.08);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--ui-scrollbar-track);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: var(--ui-scrollbar-thumb);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(244, 114, 182, 0.98), rgba(139, 92, 246, 0.92));
}
