/* Generated dark-mode overrides. Light mode is unaffected. Do not edit by hand;
 * regenerate from css/style.css and page <style> blocks. */
/* Theme variables used by style.css (roles: --white surface, --*-gray text, --border-color line). */
:root[data-bs-theme="dark"] {
  --white: #16232b;
  --light-gray: #0e171d;
  --dark-gray: #dbe7ee;
  --secondary-gray: #9fb3c0;
  --border-color: #2a3b45;
  --bs-body-bg: #0e171d;
  --bs-body-color: #dbe7ee;
  --bs-secondary-color: #9fb3c0;
  --bs-border-color: #2a3b45;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.45), 0 2px 4px -1px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
}
/* Buttons keep white text on their brand background. */
[data-bs-theme="dark"] .btn-primary:hover,
[data-bs-theme="dark"] .btn-primary:focus,
[data-bs-theme="dark"] .btn-outline-primary:hover { color: #ffffff !important; }
/* Bootstrap keeps these utilities light/dark in both themes; map them to theme roles. */
[data-bs-theme="dark"] .text-dark, [data-bs-theme="dark"] .text-black { color: var(--bs-body-color) !important; }
[data-bs-theme="dark"] .text-black-50 { color: var(--bs-secondary-color) !important; }
[data-bs-theme="dark"] .bg-white, [data-bs-theme="dark"] .bg-light { background-color: #16232b !important; }
[data-bs-theme="dark"] .table-light { --bs-table-bg: #16232b; --bs-table-color: #dbe7ee; }
[data-bs-theme="dark"] .text-bg-light { background-color: #16232b !important; color: #dbe7ee !important; }
[data-bs-theme="dark"] .btn-outline-primary {
  color: #a3b7dd !important;
  border-color: #9bb0df !important;
}
[data-bs-theme="dark"] .navbar {
  background: linear-gradient(180deg, #141414 0%, #121b23 100%) !important;
}
[data-bs-theme="dark"] .online-avatar {
  border: 2px solid rgba(113,64,16,0.9);
}
[data-bs-theme="dark"] .online-dot {
  border: 2px solid #141414;
}
[data-bs-theme="dark"] .post-card {
  background: linear-gradient(180deg, #141414 0%, #0a1826 100%);
  border: 1px solid #223038;
}
[data-bs-theme="dark"] .timeline-post {
  border-left: 4px solid #714010;
}
[data-bs-theme="dark"] .wall-post-card {
  border: 1px solid #272b30;
  background: #141414;
}
[data-bs-theme="dark"] .wall-post-avatar {
  background: #1e252b;
  color: #bcc7d0;
  border: 1px solid #30353a;
}
[data-bs-theme="dark"] .wall-post-author-name {
  color: #d2daea;
}
[data-bs-theme="dark"] .wall-role-pill.is-admin {
  background: #0c1b31;
}
[data-bs-theme="dark"] .wall-role-pill.is-staff {
  background: #172a20;
  color: #a2ebca;
}
[data-bs-theme="dark"] .wall-role-pill.is-member {
  background: #161d24;
  color: #b9c1cd;
}
[data-bs-theme="dark"] .wall-post-menu:hover {
  background: #1b1d20;
  color: #c3cad5;
}
[data-bs-theme="dark"] .wall-post-menu.is-saved {
  color: #bdddeb;
}
[data-bs-theme="dark"] .wall-post-menu.is-saved:hover {
  color: #c5e1ed;
}
[data-bs-theme="dark"] .wall-post-content {
  color: #d2daea;
}
[data-bs-theme="dark"] .wall-post-stats {
  border-bottom: 1px solid #26282c;
}
[data-bs-theme="dark"] .wall-reaction-badge {
  border: 2px solid #141414;
}
[data-bs-theme="dark"] .wall-reaction-badge.is-love {
  background: #f0768b;
}
[data-bs-theme="dark"] .reaction-button-badge.is-love {
  background: linear-gradient(180deg, #770620 0%, #f0768b 100%);
}
[data-bs-theme="dark"] .translation-split-main,
[data-bs-theme="dark"] .translation-split-toggle {
  color: #afc9db;
}
[data-bs-theme="dark"] .translation-split-main:hover,
[data-bs-theme="dark"] .translation-split-toggle:hover {
  color: #bbd5e2;
}
[data-bs-theme="dark"] .translated-copy {
  background: linear-gradient(180deg, #192026 0%, #222c34 100%);
  border: 1px solid #384d5f;
  color: #c7dbe8;
}
[data-bs-theme="dark"] .translated-copy-label {
  color: #b3c7d2;
}
[data-bs-theme="dark"] .translated-copy--pending {
  background: #172127;
  border: 1px dashed #334d5e;
  color: #738da0;
}
[data-bs-theme="dark"] .translated-copy--error {
  background: #2b0b0d;
  border: 1px solid #441218;
  color: #df2452;
}
[data-bs-theme="dark"] .wall-action-btn:hover {
  background: #1b1d20;
  color: #c3cad5;
}
[data-bs-theme="dark"] .wall-reaction-picker {
  background: #141414;
  border: 1px solid rgba(46,54,66,0.35);
}
[data-bs-theme="dark"] .wall-reaction-option:hover {
  background: #13191f;
}
[data-bs-theme="dark"] .reaction-option-badge.is-love {
  background: linear-gradient(180deg, #770620 0%, #f0768b 100%);
}
[data-bs-theme="dark"] .wall-comment-input {
  background: #1a2026;
}
[data-bs-theme="dark"] .wall-comment-textbox {
  color: #b9c1cd;
}
[data-bs-theme="dark"] .wall-comment-media-preview-card {
  border: 1px solid rgba(40,52,61,0.95);
}
[data-bs-theme="dark"] .new-message-results {
  background: #141414;
}
[data-bs-theme="dark"] .post-avatar {
  border: 2px solid rgba(113,64,16,0.9);
}
[data-bs-theme="dark"] .post-time {
  color: #b5c1ca;
}
[data-bs-theme="dark"] .post-preview-more {
  color: #6c8494;
}
[data-bs-theme="dark"] .post-preview-more:hover {
  color: #c0d7e4;
}
[data-bs-theme="dark"] .post-image {
  background: #151e24;
}
[data-bs-theme="dark"] .composer-live-preview {
  border: 1px solid #222f38;
  background: #101a21;
  color: #c7d3dc;
}
[data-bs-theme="dark"] .wa-mono {
  background: #192026;
  border: 1px solid #252f36;
}
[data-bs-theme="dark"] .message-post-preview {
  border: 1px solid #2e4856;
  background: #121d24;
}
[data-bs-theme="dark"] .comment-author {
  color: #c7dbe8;
}
[data-bs-theme="dark"] .comment-bubble {
  background: #1b2127;
}
[data-bs-theme="dark"] .comment-more-link {
  color: #6c8494;
}
[data-bs-theme="dark"] .post-rich-media-card {
  border: 1px solid #252f36;
  background: linear-gradient(180deg, #141414 0%, #0d1a24 100%);
}
[data-bs-theme="dark"] .post-media-icon {
  background: #18242c;
  color: #a5cbdc;
}
[data-bs-theme="dark"] .post-media-file {
  color: #c3dae8;
}
[data-bs-theme="dark"] .post-media-type {
  color: #7b8c9b;
}
[data-bs-theme="dark"] .post-media-download-link {
  color: #a1cadf;
}
[data-bs-theme="dark"] .post-media-download-link:hover,
[data-bs-theme="dark"] .post-media-download-link:focus {
  color: #b2d9eb;
}
[data-bs-theme="dark"] .post-inline-audio-player {
  background: #172127;
  border: 1px solid #263138;
}
[data-bs-theme="dark"] .post-inline-audio-time {
  color: #778b9a;
}
[data-bs-theme="dark"] .post-inline-audio-player.is-ready {
  border-color: #2e5166;
}
[data-bs-theme="dark"] .post-inline-audio-player.is-error {
  background: #171c20;
}
[data-bs-theme="dark"] .post-video-time {
  color: #778b9a;
}
[data-bs-theme="dark"] .post-document-preview {
  background: #151d23;
  border: 1px solid #232d34;
}
[data-bs-theme="dark"] .post-document-placeholder {
  background: #161a21;
  color: #748693;
  border: 1px dashed #3b4d5c;
}
[data-bs-theme="dark"] .post-video-status {
  color: #7c8f9c;
}
[data-bs-theme="dark"] .post-video-quality-label {
  color: #b8cbd7;
}
[data-bs-theme="dark"] .post-upload-preview-card {
  background: #121c22;
  border: 1px solid #273138;
}
[data-bs-theme="dark"] .post-upload-preview-title {
  color: #c5d7e3;
}
[data-bs-theme="dark"] .edit-post-modal .modal-header,
[data-bs-theme="dark"] .edit-post-modal .modal-footer {
  background: #141414;
}
[data-bs-theme="dark"] .edit-post-modal .modal-body {
  background: linear-gradient(180deg, #141414 0%, #091725 100%);
}
[data-bs-theme="dark"] .edit-post-composer-name-row {
  color: #c3dae8;
}
[data-bs-theme="dark"] .edit-post-textarea {
  border: 3px solid #09366d !important;
  background: #141414;
  color: #c5dae8;
}
[data-bs-theme="dark"] .edit-post-textarea:focus {
  background: #091624;
}
[data-bs-theme="dark"] .edit-post-preview-shell {
  border: 1px solid #252f36;
  background: #0d1a24;
}
[data-bs-theme="dark"] .edit-post-preview-action {
  background: rgba(20,20,20,0.96);
  color: #b7c3cc;
}
[data-bs-theme="dark"] .edit-post-preview-pill {
  background: rgba(20,20,20,0.96);
  color: #b8c4cd;
}
[data-bs-theme="dark"] .edit-post-preview-pill:hover,
[data-bs-theme="dark"] .edit-post-preview-action:hover {
  background: #141414;
  color: #c2dae9;
}
[data-bs-theme="dark"] .edit-post-preview-link {
  background: linear-gradient(180deg, #141414 0%, #121b23 100%);
}
[data-bs-theme="dark"] .edit-post-preview-link-card {
  border: 1px solid #252f36;
  background: #141414;
  color: #c3dae8;
}
[data-bs-theme="dark"] .comment-action-link {
  color: #7b8c9b;
}
[data-bs-theme="dark"] .translation-action-btn {
  color: #afc9db;
}
[data-bs-theme="dark"] .translation-action-btn:hover {
  color: #bbd5e2;
}
[data-bs-theme="dark"] .comment-reaction-badge {
  border: 2px solid #141414;
}
[data-bs-theme="dark"] .comment-reaction-badge.is-love {
  background: #f0768b;
}
[data-bs-theme="dark"] .comment-reaction-badge.is-sad {
  color: #f2e4c2;
}
[data-bs-theme="dark"] .comment-reaction-badge.is-wow {
  background: #f5af75;
}
[data-bs-theme="dark"] .mention-suggestions {
  background: #141414;
}
[data-bs-theme="dark"] .mention-suggestion-item {
  color: #cdd6e1;
}
[data-bs-theme="dark"] .mention-suggestion-item.is-active,
[data-bs-theme="dark"] .mention-suggestion-item:hover {
  background: #0b182b;
}
[data-bs-theme="dark"] .mention-avatar {
  background: #1b212b;
  color: #b4bdc9;
}
[data-bs-theme="dark"] .comment-replies.comments-zebra {
  border-left-color: rgba(54,76,94,0.95);
}
[data-bs-theme="dark"] .comment-preview-thread-line {
  border-left: 2px solid rgba(54,76,94,0.95);
  border-bottom: 2px solid rgba(54,76,94,0.95);
}
[data-bs-theme="dark"] .comment-reply-composer {
  background: #171d22;
}
[data-bs-theme="dark"] .comment-reaction-btn {
  color: #6c8494;
}
[data-bs-theme="dark"] .comment-reaction-picker {
  background: #141414;
  border: 1px solid rgba(46,54,66,0.35);
}
[data-bs-theme="dark"] .reaction-tab-btn {
  color: #738795;
}
[data-bs-theme="dark"] .post-inline-comments {
  background: linear-gradient(180deg, rgba(27,29,32,0.55), rgba(27,29,32,0.2));
}
[data-bs-theme="dark"] .chat-item-even {
  background: #141414;
}
[data-bs-theme="dark"] .chat-item-odd {
  background: #101823;
}
[data-bs-theme="dark"] .message-sent {
  background-color: #0e253a;
  color: #bfd8ec;
  border: 1px solid #233847;
}
[data-bs-theme="dark"] .notification-item:hover {
  background-color: #162028;
}
[data-bs-theme="dark"] .notification-item.alt-a {
  background-color: #141414;
}
[data-bs-theme="dark"] .notification-item.alt-b {
  background-color: #121a22;
}
[data-bs-theme="dark"] .notification-item.unread.alt-a {
  background-color: #260909;
}
[data-bs-theme="dark"] .notification-item.unread.alt-b {
  background-color: #290a0a;
}
[data-bs-theme="dark"] .notification-context {
  color: #b6c0c8;
}
[data-bs-theme="dark"] .loading-spinner {
  border: 2px solid rgba(20,20,20,0.3);
  border-top-color: #141414;
}
[data-bs-theme="dark"] .page-loading {
  background-color: rgba(20,20,20,0.9);
}
[data-bs-theme="dark"] .btn.btn-primary,
[data-bs-theme="dark"] .btn.btn-secondary,
[data-bs-theme="dark"] .btn.btn-success,
[data-bs-theme="dark"] .btn.btn-info {
  border: 1px solid #dcba97 !important;
}
[data-bs-theme="dark"] .btn.btn-danger {
  background: linear-gradient(90deg, #e49096 0%, #bb3743 100%) !important;
}
[data-bs-theme="dark"] .btn.btn-warning {
  background: linear-gradient(90deg, #66400e 0%, #d58c2f 100%) !important;
  color: #cdd6e1 !important;
}
[data-bs-theme="dark"] .btn.btn-warning:hover,
[data-bs-theme="dark"] .btn.btn-warning:focus {
  color: #d2daea !important;
}
[data-bs-theme="dark"] .btn.btn-outline-primary,
[data-bs-theme="dark"] .btn.btn-outline-secondary,
[data-bs-theme="dark"] .btn.btn-outline-success,
[data-bs-theme="dark"] .btn.btn-outline-danger,
[data-bs-theme="dark"] .btn.btn-outline-warning,
[data-bs-theme="dark"] .btn.btn-outline-info {
  background-color: rgba(20,20,20,0.92) !important;
}
[data-bs-theme="dark"] .btn.btn-outline-primary,
[data-bs-theme="dark"] .btn.btn-outline-secondary,
[data-bs-theme="dark"] .btn.btn-outline-success,
[data-bs-theme="dark"] .btn.btn-outline-info {
  color: #afd1e2 !important;
}
[data-bs-theme="dark"] .btn.btn-outline-warning {
  color: #eec999 !important;
}
[data-bs-theme="dark"] .btn.btn-outline-primary:hover,
[data-bs-theme="dark"] .btn.btn-outline-secondary:hover,
[data-bs-theme="dark"] .btn.btn-outline-success:hover,
[data-bs-theme="dark"] .btn.btn-outline-info:hover {
  border-color: #dcba97 !important;
}
[data-bs-theme="dark"] .btn.btn-outline-danger:hover {
  background: linear-gradient(90deg, #e49096 0%, #bb3743 100%) !important;
}
[data-bs-theme="dark"] .btn.btn-outline-warning:hover {
  background: linear-gradient(90deg, #66400e 0%, #d58c2f 100%) !important;
  color: #cdd6e1 !important;
}
[data-bs-theme="dark"] .comment-reaction-choose {
  color: #6c8494;
}
[data-bs-theme="dark"] .comment-reaction-btn {
  border: 1px solid #27313a;
  background: #151d24;
}
[data-bs-theme="dark"] .comment-reaction-btn:is(.is-like,
[data-bs-theme="dark"] .is-love,
[data-bs-theme="dark"] .is-care,
[data-bs-theme="dark"] .is-haha,
[data-bs-theme="dark"] .is-wow,
[data-bs-theme="dark"] .is-sad,
[data-bs-theme="dark"] .is-angry) {
  background: color-mix(in srgb,currentColor 12%,#141414);
}
[data-bs-theme="dark"] .comment-reaction-btn:is(.is-care,
[data-bs-theme="dark"] .is-haha,
[data-bs-theme="dark"] .is-wow,
[data-bs-theme="dark"] .is-sad) {
  color: #fad597;
}
[data-bs-theme="dark"] .profile-compact-name {
  border-bottom: 1px solid #293239;
  background: #141414;
  color: #c2dee9;
}
[data-bs-theme="dark"] .group-reactions button {
  color: #9ed0e4;
}
[data-bs-theme="dark"] .group-reaction-main.liked {
  background: #152633;
}
[data-bs-theme="dark"] .group-reaction-choices {
  background: #182025;
}
[data-bs-theme="dark"] .group-reaction-dialog {
  color: #c2dee9;
}
[data-bs-theme="dark"] .group-reactor-row {
  border-bottom: 1px solid #293239;
}
/* admin/dashboard.html */
[data-bs-theme="dark"] .Admin-card {
  background: #141414;
}
[data-bs-theme="dark"] .Admin-card input[type="email"] {
  border: 1px solid #474747;
}
[data-bs-theme="dark"] .usage-kpi {
  border: 1px solid #232e36;
  background: #091725;
}
[data-bs-theme="dark"] .usage-kpi-label {
  color: #7a8c9b;
}
[data-bs-theme="dark"] .usage-kpi-value {
  color: #b3d4e6;
}
[data-bs-theme="dark"] #invite-alert .alert-success {
  background-color: #0d3317;
  color: #aef8d3;
}
[data-bs-theme="dark"] #invite-alert .alert-error {
  background-color: #300c0c;
  color: #f98da1;
}
/* admin/moderation.html */
[data-bs-theme="dark"] body {
  background: #17242b;
  color: #c2dee9;
}
[data-bs-theme="dark"] article {
  background: #141414;
}
[data-bs-theme="dark"] button {
  background: #141414;
  color: #c2dee9;
}
[data-bs-theme="dark"] .overdue,
[data-bs-theme="dark"] #error {
  color: #cf3333;
}
[data-bs-theme="dark"] a {
  color: #a2d5e6;
}
/* admin/users.html */
[data-bs-theme="dark"] .member-badge-gold {
  color: #fbddb1;
  background: linear-gradient(135deg, #4f4614, #765906 45%, #f1a90b 100%);
}
[data-bs-theme="dark"] .member-badge-default {
  color: #ced8dd;
  border: 1px solid #414f56;
  background: #13191f;
}
/* blocked-users.html */
[data-bs-theme="dark"] main {
  background: #141414;
}
[data-bs-theme="dark"] .blocked-row {
  border-bottom: 1px solid #333333;
}
/* invite.html */
[data-bs-theme="dark"] body {
  background-color: #1d1d1d;
}
[data-bs-theme="dark"] .invite-container {
  background: #141414;
}
[data-bs-theme="dark"] .invite-language-switch button {
  background: #141414;
  color: #d4d4d4;
  border: 1px solid #474747;
}
[data-bs-theme="dark"] .invite-language-switch button[aria-pressed="true"] {
  color: #f98da1;
  background: #2b0b0f;
}
[data-bs-theme="dark"] .invite-header p {
  color: #bdbdbd;
}
[data-bs-theme="dark"] .required-mark {
  color: #f98da1;
}
[data-bs-theme="dark"] input,
[data-bs-theme="dark"] select {
  border: 1px solid #474747;
}
[data-bs-theme="dark"] .alert-success {
  background-color: #0d3317;
  color: #aef8d3;
}
[data-bs-theme="dark"] .alert-error {
  background-color: #300c0c;
  color: #f98da1;
}
[data-bs-theme="dark"] .email-readonly {
  background: #1f1f1f;
}
/* messages.html */
[data-bs-theme="dark"] .chat-list-panel {
  background: #141414;
}
[data-bs-theme="dark"] .chat-header {
  background: #141414;
}
[data-bs-theme="dark"] .message-reaction-summary {
  border: 1px solid #222c35;
  background: #141414;
}
[data-bs-theme="dark"] .message-reaction-option.is-selected {
  border-color: #141414;
}
[data-bs-theme="dark"] .chat-input-area {
  background: #141414;
}
/* recaptcha-mobile.html */
[data-bs-theme="dark"] body {
  background: #0a1a27;
}
[data-bs-theme="dark"] .card {
  background: #141414;
  border: 1px solid #1f2f3a;
}
[data-bs-theme="dark"] .hint {
  color: #bbc4cb;
}
/* search.html */
[data-bs-theme="dark"] .search-result-card {
  border: 1px solid #222e36;
  background: linear-gradient(180deg, #141414 0%, #0a1826 100%);
}
[data-bs-theme="dark"] .search-meta {
  color: #758b9b;
}
[data-bs-theme="dark"] .search-content {
  color: #ccdce8;
}
