/* Personal header/home appearance and independently themed public profiles. */
body.user-theme-monochrome,
body.page-profile:has(.profile-theme-monochrome) {
    background: #fff;
}

.user-theme-monochrome .header-container {
    background: #fff;
    border-bottom-color: #111;
    box-shadow: none;
}

.user-theme-monochrome .header-container :is(a, .site-name, .header-username, .mobile-menu-button) {
    color: #111;
}

.user-theme-monochrome .header-container :is(.header-account-panel, .header-nav, .search-bar, .accessibility-trigger) {
    color: #111;
    background: #fff;
    border-color: #999;
    box-shadow: none;
}

.user-theme-monochrome .header-container :is(.header-account-panel a:hover, .header-account-panel a:focus-visible, .mobile-menu-link:hover) {
    color: #111;
    background: #eee;
}

.user-theme-monochrome .header-container .header-account-menu > summary:hover,
.user-theme-monochrome .header-container .header-account-menu[open] > summary {
    color: #111;
    background: #eee;
    border-color: #999;
}

.user-theme-monochrome .header-container .header-user-link .avatar-frame-online::after {
    background: #111;
}

.user-theme-monochrome .header-container .header-user-link .header-user-avatar {
    background: #eee;
}

.user-theme-monochrome .header-container :is(.site-logo, .menu-icon) {
    filter: grayscale(1) brightness(0);
}

.user-theme-monochrome .header-container .accessibility-icon {
    background: #111;
}

.user-theme-monochrome .header-container :is(.premium-btn, .header-notif-badge) {
    color: #fff;
    background: #111;
    border-color: #111;
    box-shadow: none;
    text-shadow: none;
}

.user-theme-monochrome .header-container .header-account-chevron {
    border-color: #111;
}

/* Logged-out visitors see a profile owner's monochrome header. */
.guest-profile-monochrome .header-container {
    background: #fff;
    border-bottom: 1px solid #111;
    box-shadow: none;
}

.guest-profile-monochrome .header-container :is(a, .site-name, .mobile-menu-button) {
    color: #111;
}

.guest-profile-monochrome .header-container :is(.header-nav, .search-bar, .accessibility-trigger) {
    color: #111;
    background: #fff;
    border-color: #999;
    box-shadow: none;
}

.guest-profile-monochrome .header-container :is(.site-logo, .menu-icon) {
    filter: grayscale(1) brightness(0);
}

html.accessibility-dark-contrast .guest-profile-monochrome .header-container :is(.site-logo, .menu-icon) {
    filter: brightness(0) invert(1);
}

.guest-profile-monochrome .header-container .accessibility-icon {
    background: #111;
}

.guest-profile-monochrome .header-container :is(.header-auth-button, .premium-btn) {
    color: #111;
    background: #fff;
    border: 1px solid #111;
    box-shadow: none;
    text-shadow: none;
}

.guest-profile-monochrome .header-container :is(.header-auth-button:hover, .header-auth-button:focus-visible, .premium-btn:hover, .mobile-menu-link:hover) {
    color: #111;
    background: #eee;
}

/* Override the shared outline button's important colors and green shadow. */
html:not(.accessibility-dark-contrast) .guest-profile-monochrome .header-container .header-auth-button.btn-outline {
    color: #111 !important;
    background: #fff !important;
    border-color: #111 !important;
    box-shadow: none !important;
}

html:not(.accessibility-dark-contrast) .guest-profile-monochrome .header-container .header-auth-button.btn-outline:is(:hover, :focus-visible) {
    background: #eee !important;
}

html.accessibility-dark-contrast body.guest-profile-monochrome .header-container .header-auth-button.btn-outline {
    color: var(--accessibility-text, #fff) !important;
    background: var(--accessibility-surface, #121212) !important;
    border-color: var(--accessibility-border, #bfbfbf) !important;
    box-shadow: none !important;
}

.guest-profile-monochrome .profile-theme-monochrome .profile-summary {
    border-bottom-width: 1px;
}

/* Public profile sidebars retain the owner's theme, not the visitor's. */
.user-theme-monochrome:not(.page-profile) .sidebar-left.sidebar-card,
.user-theme-monochrome:not(.page-profile) .sidebar-left .sidebar-section {
    color: #111;
    background: #fff;
    border-color: #ccc;
    box-shadow: none;
}

.user-theme-monochrome:not(.page-profile) .sidebar-left .sidebar-section-title {
    color: #111;
    background: none;
    border-color: #111;
}

.user-theme-monochrome:not(.page-profile) .sidebar-left .side-menu a {
    color: #111;
}

.user-theme-monochrome:not(.page-profile) .sidebar-left .side-menu :is(a:hover, a:focus-visible, a[aria-current="page"]) {
    color: #111;
    background: #eee;
    border-color: #111;
}

.user-theme-monochrome:not(.page-profile) .sidebar-left .menu-icon {
    filter: grayscale(1) brightness(0);
}

.user-theme-monochrome:not(.page-profile) .sidebar-left .sidebar-note {
    color: #555;
    background: #fff;
    border-color: #ccc;
}

.user-theme-monochrome:not(.page-profile) .sidebar-left :is(.badge, .invite-btn),
.user-theme-monochrome:not(.page-profile) .sidebar-left .invite-btn:hover {
    color: #fff;
    background: #111;
    border-color: #111;
    box-shadow: none;
    text-shadow: none;
}

.user-theme-monochrome:not(.page-profile) .sidebar-left .invite-btn {
    filter: grayscale(1);
}

.user-theme-monochrome:not(.page-profile) .sidebar-left .badge.rps-notification-badge,
.profile-theme-monochrome .badge.rps-notification-badge,
.user-theme-monochrome .header-container .header-notif-badge.rps-notification-badge {
    color: #fff !important;
    background-color: #111 !important;
}

/* Rock, paper, scissors */
.user-theme-monochrome .rps-page {
    --rps-green: #111;
}

.user-theme-monochrome .rps-page .rps-symbol {
    color: #111;
    background: #e5e5e5;
}

.user-theme-monochrome .rps-page :is(.rps-glyph, .rps-playable-link .menu-icon) {
    filter: grayscale(1) brightness(0);
}

.user-theme-monochrome .rps-page :is(.rps-arena, .rps-playable-link, .rps-notice, .rps-result, .rps-waiting) {
    background: #f5f5f5;
    border-color: #bbb;
}

.user-theme-monochrome .rps-page :is(.rps-playable-link:hover, .rps-playable-link[aria-current]) {
    background: #e5e5e5;
    border-color: #111;
}

.user-theme-monochrome .rps-page .rps-alert {
    color: #111;
    background: #f5f5f5;
    border-color: #111;
}

.user-theme-monochrome .rps-page .rps-choice:hover .rps-choice-face {
    border-color: #111;
}

.user-theme-monochrome .rps-page .rps-choice input:checked + .rps-choice-face {
    color: #111;
    background: #e5e5e5;
    border-color: #111;
    box-shadow: inset 0 0 0 1px #111;
}

.user-theme-monochrome .rps-page .green-action-button {
    color: #fff;
    background: #111;
    border-color: #111;
    box-shadow: none;
    text-shadow: none;
}

.user-theme-monochrome .rps-page .green-action-button:hover {
    color: #fff;
    background: #333;
    border-color: #333;
}

/* Post editor */
.user-theme-monochrome .post-editor-layout :is(.back-link, .sidebar-list a) {
    color: #111;
}

.user-theme-monochrome .post-editor-layout .sidebar-title {
    border-bottom-color: #111;
}

.user-theme-monochrome .post-editor-layout .badge-pill {
    color: #fff;
    background: #111;
}

.user-theme-monochrome .post-editor-layout .post-toolbar :is(.toolbar-actions, .post-toolbar-group) {
    scrollbar-color: #aaa transparent;
}

.user-theme-monochrome .post-editor-layout .post-toolbar .btn-small.composer-tool {
    color: #444;
}

.user-theme-monochrome .post-editor-layout .post-toolbar .btn-small.composer-tool:not(:disabled):hover {
    color: #111;
    background: #eee;
    border-color: #999;
}

.user-theme-monochrome .post-editor-layout .post-form textarea:focus {
    border-color: #111;
}

.user-theme-monochrome .post-editor-layout .btn-post {
    color: #fff;
    background: #111;
    border-color: #111;
    box-shadow: none;
    text-shadow: none;
}

.user-theme-monochrome .post-editor-layout .btn-post:hover {
    color: #fff;
    background: #333;
    border-color: #333;
}

.user-theme-monochrome .post-editor-layout .btn-cancel {
    color: #fff;
    background: #555;
}

/* Journal, analysis and poll editors */
.user-theme-monochrome :is(.article-editor-layout, .tahlil-editor-layout, .poll-editor-layout) :is(.page-title, .tahlil-form-header, .tahlil-submit-zone, .article-draft-sidebar) {
    border-color: #ccc;
}

.user-theme-monochrome :is(.article-editor-layout, .tahlil-editor-layout, .poll-editor-layout) :is(.tahlil-form-title, .tahlil-step-label, .article-draft-list a) {
    color: #111;
}

.user-theme-monochrome :is(.article-editor-layout, .tahlil-editor-layout) .tahlil-step {
    border-left-color: #111;
}

.user-theme-monochrome :is(.article-editor-layout, .tahlil-editor-layout, .poll-editor-layout) .sidebar-help {
    color: #444;
    background: #f2f2f2;
}

.user-theme-monochrome .article-editor-layout :is(input[type="text"], textarea) {
    border-color: #aaa;
}

.user-theme-monochrome .poll-editor-layout .post-textarea:focus {
    border-color: #111;
}

.user-theme-monochrome .article-editor-layout .article-draft-list :is(a:hover, a[aria-current="page"]) {
    color: #111;
    background: #eee;
}

.user-theme-monochrome .article-editor-layout .post-toolbar .btn-small.composer-tool {
    color: #444;
}

.user-theme-monochrome .article-editor-layout .post-toolbar .btn-small.composer-tool:not(:disabled):hover {
    color: #111;
    background: #eee;
    border-color: #999;
}

.user-theme-monochrome .tahlil-editor-layout .question-block {
    background: #f8f8f8;
    border-color: #ccc;
}

.user-theme-monochrome :is(.tahlil-editor-layout, .poll-editor-layout) :is(.opt-seq, .tahlil-threshold-sym, .poll-option-number) {
    color: #111;
    background: #eee;
}

.user-theme-monochrome .tahlil-editor-layout .question-num-badge {
    color: #fff;
    background: #111;
}

.user-theme-monochrome .tahlil-editor-layout :is(.tahlil-preview-panel, .tahlil-preview-panel h3) {
    color: #111;
    background: #f5f5f5;
    border-color: #ccc;
}

.user-theme-monochrome .tahlil-editor-layout .tahlil-preview-panel input[type="radio"] {
    accent-color: #111;
}

.user-theme-monochrome :is(.article-editor-layout, .tahlil-editor-layout, .poll-editor-layout) :is(.btn-post:not(.article-draft-delete):not(.article-draft-cancel), .green-action-button, .btn-primary) {
    color: #fff;
    background: #111;
    border-color: #111;
    box-shadow: none;
    text-shadow: none;
}

.user-theme-monochrome :is(.article-editor-layout, .tahlil-editor-layout, .poll-editor-layout) :is(.btn-post:not(.article-draft-delete):not(.article-draft-cancel), .green-action-button, .btn-primary):hover {
    color: #fff;
    background: #333;
    border-color: #333;
}

/* The shared button theme marks these colors important. */
html:not(.accessibility-dark-contrast) .user-theme-monochrome :is(.article-editor-layout, .tahlil-editor-layout, .poll-editor-layout, .rps-page) :is(.btn-outline, .btn-outline-green) {
    color: #111 !important;
    background: #fff !important;
    border-color: #888 !important;
    box-shadow: none !important;
}

html:not(.accessibility-dark-contrast) .user-theme-monochrome :is(.article-editor-layout, .tahlil-editor-layout, .poll-editor-layout, .rps-page) :is(.btn-outline, .btn-outline-green):hover {
    color: #111 !important;
    background: #eee !important;
    border-color: #111 !important;
}

html.accessibility-dark-contrast body.user-theme-monochrome :is(.article-editor-layout, .tahlil-editor-layout, .poll-editor-layout, .rps-page) :is(.btn-outline, .btn-outline-green) {
    color: var(--accessibility-text, #fff) !important;
    background: var(--accessibility-surface, #121212) !important;
    border-color: var(--accessibility-border, #bfbfbf) !important;
    box-shadow: none !important;
}

/* Profile settings */
.user-theme-monochrome .profile-settings-container :is(.back-link, .settings-tab, .profile-settings-secondary, .profile-settings-ghost) {
    color: #111;
}

.user-theme-monochrome .profile-settings-container .settings-tab {
    background: #f5f5f5;
    border-color: #ccc;
    box-shadow: none;
}

.user-theme-monochrome .profile-settings-container .settings-tab.active {
    color: #fff;
    background: #111;
    border-color: #111;
}

.user-theme-monochrome .profile-settings-container .settings-tab:not(.active):is(:hover, :focus-visible) {
    color: #111;
    background: #e5e5e5;
}

.user-theme-monochrome .profile-settings-container .profile-settings-primary {
    color: #fff;
    background: #111;
    border-color: #111;
}

.user-theme-monochrome .profile-settings-container .profile-settings-primary:is(:hover, :focus-visible) {
    color: #fff;
    background: #333;
    border-color: #333;
}

.user-theme-monochrome .profile-settings-container :is(.profile-settings-secondary, .profile-settings-ghost) {
    background: #fff;
    border-color: #999;
}

.user-theme-monochrome .profile-settings-container :is(.profile-settings-secondary, .profile-settings-ghost):is(:hover, :focus-visible) {
    color: #111;
    background: #eee;
}

.user-theme-monochrome .profile-settings-container :is(.profile-settings-note, .settings-card.premium-card) {
    color: #111;
    background: #f5f5f5;
    border-color: #999;
}

.user-theme-monochrome .profile-settings-container .avatar-frame-online::after {
    background: #111;
}

.user-theme-monochrome .profile-settings-container input[type="checkbox"] {
    accent-color: #111;
}

/* Community listing */
.user-theme-monochrome .groups-layout :is(.groups-page-header .page-title, .sidebar-title) {
    border-bottom-color: #111;
}

.user-theme-monochrome .groups-layout :is(.avatar-link, .link-strong) {
    color: #111;
}

.user-theme-monochrome .groups-layout .group-avatar-fallback {
    color: #111;
    background: #eee;
}

.user-theme-monochrome .groups-layout .group-card.group-card-new {
    background: #f5f5f5;
    border-color: #888;
    box-shadow: 0 0 0 1px #ddd;
}

.user-theme-monochrome .groups-layout .group-card.group-card-new .group-card-header {
    background: #eee;
}

.user-theme-monochrome .groups-layout .group-card .badge-primary {
    color: #fff;
    background: #111;
}

.user-theme-monochrome .groups-layout .tabs .tab {
    color: #333;
}

.user-theme-monochrome .groups-layout .tabs .tab-active {
    color: #fff !important;
    background: #111;
}

.user-theme-monochrome .groups-layout .tabs .tab:not(.tab-active):hover {
    color: #111;
    background: #e5e5e5;
}

.user-theme-monochrome .groups-layout :is(.groups-create-button, .group-card-actions .btn-join) {
    color: #fff;
    background: #111;
    border-color: #111;
    box-shadow: none;
    text-shadow: none;
}

.user-theme-monochrome .groups-layout :is(.groups-create-button, .group-card-actions .btn-join):hover {
    color: #fff;
    background: #333;
    border-color: #333;
}

.user-theme-monochrome .groups-layout .group-card-actions .btn-leave {
    color: #111;
    background: #fff;
    border-color: #111;
    box-shadow: none;
    text-shadow: none;
}

.user-theme-monochrome .groups-layout .group-card-actions .btn-leave:hover {
    color: #111;
    background: #e5e5e5;
    border-color: #111;
}

.user-theme-monochrome .groups-layout .group-card-actions .btn-leave:active {
    box-shadow: none;
}

/* Notifications */
.user-theme-monochrome .notification-sidebar-widget .btn-block.primary {
    color: #fff;
    background: #111;
    border-color: #111;
    box-shadow: none;
    text-shadow: none;
}

.user-theme-monochrome .tab-links[aria-label="Bildirim filtreleri"] :is(.tab-icon, .tab-link.active) {
    color: #111;
    border-bottom-color: #111;
}

.user-theme-monochrome .tab-links[aria-label="Bildirim filtreleri"] :is(.tab-link.active, .tab-link:hover, .tab-link:focus-visible) {
    color: #111;
    background: #eee;
}

.user-theme-monochrome .tab-links[aria-label="Bildirim filtreleri"] .tab-count {
    color: #fff;
    background: #111;
}

.user-theme-monochrome .notifications-grid .notification-card .notification-icon,
.user-theme-monochrome .notifications-grid :is(.notification-user, .notification-postid, .btn-mark-read) {
    color: #111;
}

.user-theme-monochrome .notifications-grid .notification-card.unread {
    background: #f2f2f2;
    border-color: #888;
}

.user-theme-monochrome .notification-card.unread .badge-new {
    color: #fff;
    background: #111;
}

.user-theme-monochrome .notifications-grid .notification-preview {
    color: #444;
    background: #f5f5f5;
    border-color: #999;
}

.user-theme-monochrome .notifications-grid .notification-actions {
    border-color: #ccc;
}

/* Photo upload and preview */
.user-theme-monochrome .photo-upload-container :is(.photo-upload-title, .back-link, .photo-dropzone-text, .photo-step.active, .photo-limit-indicator a, .photo-limit-notice a) {
    color: #111;
}

.user-theme-monochrome .photo-upload-container .photo-upload-dropzone {
    background: #f7f7f7;
    border-color: #999;
}

.user-theme-monochrome .photo-upload-container .photo-upload-dropzone:hover {
    border-color: #111;
}

.user-theme-monochrome .photo-upload-container .photo-step.active .photo-step-dot {
    background: #111;
    border-color: #111;
}

.user-theme-monochrome .photo-upload-container .photo-step-line.active {
    background: #111;
}

.user-theme-monochrome .photo-upload-container :is(.photo-caption-input, .photo-tags-input):focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
    border-color: #111;
}

.user-theme-monochrome .photo-upload-container .photo-tag-chip input {
    accent-color: #111;
}

.user-theme-monochrome .photo-upload-container .photo-tag-chip span {
    color: #111;
    background: #f2f2f2;
    border-color: #999;
}

.user-theme-monochrome .photo-upload-container .photo-tag-chip:has(input:checked) span {
    color: #fff;
    background: #111;
    border-color: #111;
}

.user-theme-monochrome .photo-upload-container :is(.photo-scan-badge, .photo-source-card, .photo-limit-notice, .photo-upload-errors) {
    background: #f5f5f5;
    border-color: #888;
}

.user-theme-monochrome .photo-upload-container :is(.photo-scan-badge-text strong, .photo-scan-badge-text span, .photo-source-body strong, .photo-error-msg) {
    color: #111;
}

.user-theme-monochrome .photo-upload-container :is(.photo-scan-badge-icon, .photo-source-icon, .photo-dropzone-icon) {
    filter: grayscale(1);
}

.user-theme-monochrome .photo-upload-container :is(.btn-outline, .btn-post) {
    color: #111;
    background: #fff;
    border-color: #111;
    box-shadow: none;
    text-shadow: none;
}

.user-theme-monochrome .photo-upload-container .btn-post {
    color: #fff;
    background: #111;
}

.user-theme-monochrome .photo-upload-container :is(.btn-outline, .btn-post):hover {
    color: #111;
    background: #e5e5e5;
}

.profile-theme-monochrome.main-container {
    width: 100%;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    align-items: start;
}

.profile-theme-monochrome {
    --brand-green: #111;
    --brand-green-dark: #333;
    --brand-green-gradient: linear-gradient(#111, #333);
    color: #111;
    background: #fff;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 3px solid #111;
    font-family: Arial, Helvetica, sans-serif;
}

.profile-theme-monochrome :is(.content-area, .sidebar, .sidebar-section) {
    min-width: 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.profile-theme-monochrome > .content-area {
    max-width: 680px;
}

.profile-theme-monochrome :is(.profile-info, .sidebar, .profile-posts, .profile-composer, .posts-feed, .tag-navigation) a {
    color: #111;
    text-underline-offset: 3px;
}

.profile-theme-monochrome :is(a, button, summary):focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.profile-theme-monochrome :is(.sidebar-section-title, .sidebar-title) {
    color: #111;
    background: none;
    border-color: #111;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.profile-theme-monochrome :is(.sidebar-note, .sidebar-note.padded, .profile-sidebar-empty) {
    color: #555;
    background: none;
    border-color: #ddd;
}

.profile-theme-monochrome .side-menu a:hover {
    color: #111;
    background: #f2f2f2;
}

.profile-theme-monochrome .menu-icon {
    filter: grayscale(1) brightness(0);
}

.profile-theme-monochrome :is(.premium-star, .profile-rps-move, .post-card-icon, .post-action-icon, .composer-icon, .invite-btn) {
    filter: grayscale(1);
}

.profile-theme-monochrome .profile-summary {
    grid-template-columns: minmax(0, 1fr) 144px;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px 20px 28px;
    border-bottom: 2px solid #111;
}

.profile-theme-monochrome .profile-summary .profile-info {
    gap: 12px;
}

.profile-theme-monochrome .profile-summary .profile-username {
    color: #111;
    font: 400 clamp(28px, 4vw, 46px)/1.1 Georgia, "Times New Roman", serif;
    letter-spacing: -.04em;
    white-space: normal;
    overflow-wrap: anywhere;
}

.profile-theme-monochrome .profile-summary .profile-bio {
    max-width: 44ch;
    color: #333;
    font: 400 16px/1.7 Georgia, "Times New Roman", serif;
}

.profile-theme-monochrome .profile-summary :is(.profile-meta, .stat, .stat-value) {
    color: #555;
}

.profile-theme-monochrome .profile-summary .profile-social-stats .stat-value {
    color: #111;
}

.profile-theme-monochrome :is(.profile-badge, .custom-badge, .badge-tier, .badge-rookie, .post-card-edited) {
    color: #111;
    background: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: none;
}

.profile-theme-monochrome .status-dot.online {
    background: #111;
}

.profile-theme-monochrome .status-dot.offline {
    background: #bbb;
}

.profile-theme-monochrome .profile-posts > .section-title {
    margin: 0 20px 20px;
    padding: 0 0 12px;
    color: #555;
    background: none;
    border: 0;
    border-bottom: 1px solid #ddd;
    font-size: 11px;
    letter-spacing: .06em;
}

.profile-theme-monochrome .posts-feed {
    padding-inline: 8px;
}

/* The shared legacy cards use important borders; override only their frame. */
.profile-theme-monochrome .post-card.post-card-legacy {
    border: 0 !important;
    border-bottom: 1px solid #ccc !important;
    margin-bottom: 24px !important;
}

.profile-theme-monochrome .post-card,
.profile-theme-monochrome .post-card:hover,
.profile-theme-monochrome .post-card.post-card-legacy:hover {
    background: #fff !important;
    box-shadow: none;
    transform: none;
}

.profile-theme-monochrome .post-card .post-card-content {
    color: #222;
    font: 400 17px/1.75 Georgia, "Times New Roman", serif;
}

.profile-theme-monochrome .post-card :is(.post-card-time, .post-card-reshare-banner, .group-post-label) {
    color: #555;
}

.profile-theme-monochrome .post-card :is(.post-card-icon, .highlight-label) {
    color: #fff;
    background: #111;
}

.profile-theme-monochrome :is(.post-embed, .post-card-image-meta, .code-block) {
    color: #333;
    background: #f5f5f5;
    border-color: #ccc;
}

.profile-theme-monochrome .post-card .post-card-actions .post-action,
.profile-theme-monochrome .post-card .post-card-actions .post-action:hover,
.profile-theme-monochrome .post-card .share-menu .share-menu-action,
.profile-theme-monochrome .post-card .share-menu .share-menu-action:hover {
    color: #111;
    background: transparent;
}

.profile-theme-monochrome.main-container :is(.green-action-button, .btn-post, .btn-join, .invite-btn, .profile-primary-action, .profile-moderation-action),
.profile-theme-monochrome.main-container :is(.green-action-button, .btn-post, .btn-join, .invite-btn, .profile-primary-action, .profile-moderation-action):hover {
    color: #fff;
    background: #111;
    border: 1px solid #111;
    border-radius: 2px;
    box-shadow: none;
    text-shadow: none;
}

.profile-theme-monochrome .profile-summary .profile-header-controls :is(.green-action-button, .profile-primary-action, .profile-moderation-action) {
    min-height: 24px;
    padding: 3px 8px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.profile-theme-monochrome .profile-rps-controls .profile-rps-move {
    width: 26px;
    height: 26px;
    padding: 0;
    color: #111;
    background: #f2f2f2;
    border-color: #999;
}

.profile-theme-monochrome .profile-rps-controls .profile-rps-move:focus-visible {
    outline-color: #111;
}

.profile-theme-monochrome :is(.post-form-container, .tag-navigation, .post-toolbar, .composer-limit) {
    color: #555;
    background: #fff;
    border-color: #ddd;
}

.profile-theme-monochrome .tag-navigation :is(.tag-label, .tag-item .insert-tag),
.profile-theme-monochrome .post-toolbar .composer-tool {
    color: #111;
    background: #f2f2f2;
    border-color: #ccc;
    box-shadow: none;
    text-shadow: none;
}

.profile-theme-monochrome :is(textarea, input, select) {
    color: #111;
    background: #fff;
    border-color: #999;
    border-radius: 2px;
}

.profile-theme-monochrome input:is([type="radio"], [type="checkbox"]),
.profile-theme-monochrome .post-test input:is([type="radio"], [type="checkbox"]) {
    accent-color: #111;
}

.profile-theme-monochrome :is(.post-article, .post-test, .test-result, .poll-result-row--voted) {
    min-width: 0;
    color: #222;
    background: #f7f7f7;
    border-color: #ccc;
    border-radius: 2px;
    overflow-wrap: anywhere;
}

.profile-theme-monochrome :is(.poll-option-card:hover, .tahlil-card .test-option label:hover, .tahlil-card .test-option label:has(input:checked)) {
    background: #eee;
    border-color: #111;
}

.profile-theme-monochrome .tahlil-card .test-option label:focus-within {
    outline-color: #111;
}

.profile-theme-monochrome :is(.poll-option-label, .test-option label) {
    min-height: 44px;
}

.profile-theme-monochrome :is(.poll-option-label > span, .test-question, .test-question-text) {
    min-width: 0;
    overflow-wrap: anywhere;
}

.profile-theme-monochrome .poll-bar-fill {
    background: #111;
}

.profile-theme-monochrome :is(.poll-voted-check, .poll-result-row--voted .poll-result-text) {
    color: #111;
}

.profile-theme-monochrome .post-card .block-buttons .poll-test-management-btn,
.profile-theme-monochrome .post-card .block-buttons .poll-test-management-btn:hover {
    color: #111;
    background: #eee;
    border-color: #999;
    box-shadow: none;
    text-shadow: none;
    filter: grayscale(1);
}

.profile-theme-monochrome .post-card :is(.reshare-menu .reshare-menu-item, .reshare-menu .reshare-menu-item:hover, .reshare-menu .reshare-menu-item:focus-visible) {
    color: #111;
    background: #fff;
}

.profile-theme-monochrome .post-card .post-card-actions :is(.liked, .reshared) {
    color: #111;
    font-weight: 700;
}

.profile-theme-monochrome .post-card .post-card-actions .reshared .post-action-icon {
    stroke-width: 3;
}

.profile-theme-monochrome .post-card :is(.post-card-author-row, .post-card-badges) {
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
}

.profile-theme-monochrome .post-card :is(.custom-badge, .badge-tier, .badge-rookie) {
    min-width: 0;
    max-width: 100%;
    height: auto;
    white-space: normal;
    overflow-wrap: anywhere;
}

.profile-theme-monochrome .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.profile-theme-monochrome .pagination button {
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
}

.profile-theme-monochrome .timeline-tabs {
    border-color: #ccc;
    background: #fff;
}

.profile-theme-monochrome .timeline-tabs .tab-link {
    min-height: 44px;
    color: #555;
    background: #fff;
    border-color: transparent;
}

.profile-theme-monochrome .timeline-tabs .tab-link.active {
    color: #111;
    border-bottom-color: #111;
    font-weight: 700;
}

.profile-theme-monochrome :is(.tab-count, .sidebar .badge) {
    color: #fff;
    background: #111;
}

.profile-theme-monochrome .tag-navigation > .tag-label,
.profile-theme-monochrome .tag-navigation .tag-item .insert-tag:hover {
    color: #111;
    background: #eee;
    border-color: #ccc;
    box-shadow: none;
    text-shadow: none;
}

.profile-theme-monochrome .post-toolbar .btn-small.composer-tool {
    background: transparent;
}

.profile-theme-monochrome .post-toolbar .btn-small:not(.muted):not(:disabled):hover {
    color: #111;
    background: #ddd;
    border-color: #999;
}

.profile-theme-monochrome .post-toolbar .btn-small:disabled {
    color: #777;
    background: transparent;
}

@media (max-width: 960px) {
    .profile-theme-monochrome.main-container {
        max-width: 704px !important;
    }
}

@media (max-width: 520px) {
    .profile-theme-monochrome {
        margin-top: 12px;
        padding-top: 8px;
    }

    .profile-theme-monochrome .profile-summary {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px 12px;
    }

    .profile-theme-monochrome .profile-summary .profile-top-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        grid-column: 1;
        grid-row: 1;
        align-items: flex-start;
    }

    .profile-theme-monochrome .profile-summary .profile-info {
        grid-column: 1;
        grid-row: 2;
    }

    .profile-theme-monochrome .profile-summary .profile-header-controls {
        flex: 0 1 144px;
        justify-content: center;
    }

    .profile-theme-monochrome .profile-summary .avatar-size-128 {
        width: 88px;
        height: 88px;
        min-width: 88px;
        max-width: 88px;
        flex-basis: 88px;
        font-size: 32px;
    }

    .profile-theme-monochrome .posts-feed {
        padding-inline: 0;
    }
}

@media (max-width: 600px) {
    .profile-theme-monochrome :is(textarea, input:not([type="radio"], [type="checkbox"]), select) {
        font-size: 16px;
    }
}
