/* Noxie monochrome theme. Platform-scoped so Automates keeps its own palette. */
html[data-astrum-platform="astrum"] {
    --mono-black: #000000;
    --mono-ink: #111111;
    --mono-strong: #262626;
    --mono-muted: #666666;
    --mono-subtle: #8a8a8a;
    --mono-border: #d4d4d4;
    --mono-soft: #eeeeee;
    --mono-surface: #f6f6f6;
    --mono-white: #ffffff;

    --bg-dark: #eeeeee;
    --bg-primary: #ffffff;
    --bg-secondary: #f6f6f6;
    --bg-tertiary: #eeeeee;
    --bg-hover: #e5e5e5;
    --bg-color: #ffffff;
    --bg-deep: #eeeeee;
    --bg-card: #ffffff;
    --bg-card-hover: #f6f6f6;
    --bg-modal: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.42);
    --surface-color: #f6f6f6;
    --card-bg: #ffffff;
    --terminal-bg: #111111;

    --border-color: #d4d4d4;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-accent: #111111;
    --text-primary: #111111;
    --text-secondary: #525252;
    --text-muted: #666666;
    --text-color: #111111;

    --accent-primary: #111111;
    --accent-hover: #333333;
    --accent-gradient: linear-gradient(135deg, #111111, #333333);
    --accent-color: #111111;
    --accent-secondary: #525252;
    --accent-cyan: #404040;
    --accent-purple: #525252;
    --accent-green: #262626;
    --accent-red: #111111;
    --accent-yellow: #737373;
    --accent-orange: #525252;
    --success: #262626;
    --danger: #111111;
    --warning: #737373;
    --success-color: #262626;
    --error-color: #111111;
    --warning-color: #737373;

    --overlay-2: rgba(0, 0, 0, 0.02);
    --overlay-3: rgba(0, 0, 0, 0.03);
    --overlay-5: rgba(0, 0, 0, 0.05);
    --overlay-6: rgba(0, 0, 0, 0.06);
    --overlay-8: rgba(0, 0, 0, 0.08);
    --overlay-10: rgba(0, 0, 0, 0.10);
    --overlay-15: rgba(0, 0, 0, 0.15);
    --overlay-20: rgba(0, 0, 0, 0.20);

    --turquoise: #111111;
    --turquoise-dark: #000000;
    --yellow: #d4d4d4;
    --yellow-dark: #a3a3a3;
    --ink: #111111;
    --ink-soft: #262626;
    --muted: #666666;
    --line: #e5e5e5;
    --gray: #f2f2f2;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
    color-scheme: light;
}

html[data-astrum-platform="astrum"][data-theme="light"],
html[data-astrum-platform="astrum"][data-theme="fluffy"] {
    --bg-dark: #eeeeee;
    --bg-primary: #ffffff;
    --bg-secondary: #f6f6f6;
    --bg-tertiary: #eeeeee;
    --bg-hover: #e5e5e5;
    --bg-color: #ffffff;
    --bg-deep: #eeeeee;
    --bg-card: #ffffff;
    --bg-card-hover: #f6f6f6;
    --bg-modal: #ffffff;
    --surface-color: #f6f6f6;
    --card-bg: #ffffff;
    --terminal-bg: #111111;
    --border-color: #d4d4d4;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-accent: #111111;
    --text-primary: #111111;
    --text-secondary: #525252;
    --text-muted: #666666;
    --text-color: #111111;
    --accent-primary: #111111;
    --accent-hover: #333333;
    --accent-gradient: linear-gradient(135deg, #111111, #333333);
    --accent-color: #111111;
    --accent-secondary: #525252;
    --accent-cyan: #404040;
    --accent-purple: #525252;
    --accent-green: #262626;
    --accent-red: #111111;
    --accent-yellow: #737373;
    --accent-orange: #525252;
    --success: #262626;
    --danger: #111111;
    --warning: #737373;
    --success-color: #262626;
    --error-color: #111111;
    --warning-color: #737373;
}

/* Shared controls and semantic states */
html[data-astrum-platform="astrum"] :focus-visible {
    outline-color: #000000 !important;
}

html[data-astrum-platform="astrum"] input[type="checkbox"],
html[data-astrum-platform="astrum"] input[type="radio"],
html[data-astrum-platform="astrum"] input[type="range"],
html[data-astrum-platform="astrum"] progress {
    accent-color: #111111 !important;
}

html[data-astrum-platform="astrum"] ::selection {
    background: #262626;
    color: #ffffff;
}

html[data-astrum-platform="astrum"] :is(
    .btn-primary,
    .primary-btn,
    .submit-btn,
    .save-btn,
    .create-btn,
    .add-btn,
    .action-primary,
    .btn-ai-generate,
    .ai-dev-button,
    .detail-close,
    .follow-btn.not-following,
    .follower-follow-btn.not-following
) {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html[data-astrum-platform="astrum"] :is(
    .btn-primary,
    .primary-btn,
    .submit-btn,
    .save-btn,
    .create-btn,
    .add-btn,
    .action-primary,
    .btn-ai-generate,
    .ai-dev-button,
    .detail-close,
    .follow-btn.not-following,
    .follower-follow-btn.not-following
):hover:not(:disabled) {
    background: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html[data-astrum-platform="astrum"] :is(
    .btn-secondary,
    .secondary-btn,
    .cancel-btn,
    .back-btn,
    .icon-btn,
    .header-action-btn
) {
    background-color: #ffffff !important;
    border-color: #737373 !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] :is(
    .btn-secondary,
    .secondary-btn,
    .cancel-btn,
    .back-btn,
    .icon-btn,
    .header-action-btn
):hover:not(:disabled) {
    background-color: #eeeeee !important;
    border-color: #666666 !important;
    color: #000000 !important;
}

html[data-astrum-platform="astrum"] :is(
    .active,
    .selected,
    [aria-selected="true"],
    [aria-current="page"]
):where(.tab, .settings-tab, .filter-chip, .visibility-btn, .filter-tab, .mode-tab, .device-tab, .nav-item, .sidebar-link) {
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

html[data-astrum-platform="astrum"] :is(
    .alert-success,
    .success-message,
    .status-success,
    .badge-success
) {
    background-color: #eeeeee !important;
    border-color: #525252 !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] :is(
    .alert-warning,
    .warning-message,
    .status-warning,
    .badge-warning
) {
    background-color: #f6f6f6 !important;
    border-color: #737373 !important;
    color: #262626 !important;
}

html[data-astrum-platform="astrum"] :is(
    .alert-danger,
    .alert-error,
    .error-message,
    .status-error,
    .badge-danger
) {
    background-color: #ffffff !important;
    border-color: #111111 !important;
    color: #000000 !important;
}

/* Noxie public landing */
html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .hero-line,
html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .profile-poster::after,
html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .workflow-board::after {
    border-color: rgba(0, 0, 0, 0.16) !important;
    border-left-color: transparent !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .hero-portrait-frame::after {
    border-color: rgba(0, 0, 0, 0.72) !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .workflow-board {
    background: linear-gradient(116deg, transparent 0 63%, rgba(0, 0, 0, 0.08) 63% 100%), #ffffff !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .activity-band::before {
    background: rgba(0, 0, 0, 0.10) !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .fan-touch-scene::after {
    border-color: rgba(255, 255, 255, 0.36) !important;
    border-left-color: transparent !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .pricing-card.is-featured {
    background: linear-gradient(90deg, #d4d4d4 0 12px, rgba(212, 212, 212, 0.22) 12px 100%) !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] :is(
    .site-nav a:hover,
    .section-kicker,
    .hero-eyebrow,
    .hero-character-label small,
    .hero-character-label span,
    .poster-kicker,
    .price,
    .faq-label
) {
    color: #111111 !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] :is(
    .header-cta,
    .btn-yellow,
    .hero-blog-label,
    .workflow-board-label,
    .pricing-badge
) {
    background-color: #d4d4d4 !important;
    border-color: #111111 !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] :is(
    .btn-turquoise,
    .hero-blog-arrow,
    .cta-section,
    .site-footer
) {
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .hero-activity-rail :is(strong, em) {
    color: #ffffff !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .hero-rail-line {
    background-color: #a3a3a3 !important;
}

html[data-astrum-platform="astrum"][data-astrum-public-landing="true"] .hero-rail-icon {
    background-color: #ffffff !important;
    border-color: #d4d4d4 !important;
    color: #111111 !important;
}

/* Public blog and character media */
html[data-astrum-platform="astrum"] :is(.p-vwc37d-header, .owned-media-header) {
    background-color: rgba(255, 255, 255, 0.94) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-astrum-platform="astrum"] :is(.p-vwc37d-logo, .p-vwc37d-nav-link:hover) {
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] :is(
    .p-vwc37d-logo-icon,
    .p-vwc37d-nav-link::before,
    .p-vwc37d-btn-primary
) {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html[data-astrum-platform="astrum"] .p-vwc37d-hamburger {
    background-color: #eeeeee !important;
}

html[data-astrum-platform="astrum"] .p-vwc37d-hamburger span {
    background-color: #111111 !important;
}

html[data-astrum-platform="astrum"] .floating-consultation-btn {
    background: linear-gradient(135deg, #111111, #333333) !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}

html[data-astrum-platform="astrum"] .l4o3r4-footer .l4o3r4-logo,
html[data-astrum-platform="astrum"] .l4o3r4-footer ul a:hover {
    color: #ffffff !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media {
    --om-bg: #f6f6f6;
    --om-paper: #ffffff;
    --om-ink: #111111;
    --om-text: #262626;
    --om-muted: #666666;
    --om-line: #d4d4d4;
    --om-soft: #eeeeee;
    --om-accent: #111111;
    --om-accent-dark: #333333;
    --om-gold: #a3a3a3;
    --om-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    background: linear-gradient(180deg, #ffffff 0, #f6f6f6 360px), #f6f6f6 !important;
    color: #262626 !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .p-vwc37d-header,
    .owned-media-header
) {
    background-color: rgba(255, 255, 255, 0.94) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .p-vwc37d-logo,
    .p-vwc37d-nav-link:hover,
    .blog-hero-title span,
    .hero-title span,
    .hero-kicker,
    .blog-link,
    .article-category,
    .author-handle,
    .article-meta a,
    .sidebar-title,
    .category-item:hover,
    .tag:hover
) {
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .p-vwc37d-logo svg,
    .p-vwc37d-logo path,
    .l4o3r4-logo svg,
    .l4o3r4-logo path,
    .blog-empty-icon svg,
    .blog-empty-icon path
) {
    color: #111111 !important;
    stroke: currentColor !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .p-vwc37d-logo-icon,
    .p-vwc37d-nav-link::before,
    .p-vwc37d-btn-primary,
    .article-tag,
    .tag.active,
    .author-filter.active,
    .author-pill.active,
    .owned-media-nav a.is-active,
    .blog-pagination .active,
    .comment-submit
) {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media .owned-media-nav {
    background-color: rgba(255, 255, 255, 0.94) !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media .p-vwc37d-hamburger {
    background-color: #eeeeee !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media .p-vwc37d-hamburger span {
    background-color: #111111 !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .sidebar-section,
    .category-title,
    .category-item,
    .blog-empty-icon
) :is(svg, path) {
    color: #111111 !important;
    stroke: currentColor !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .blog-hero,
    .hero,
    .article-header
) {
    background: linear-gradient(180deg, #ffffff 0%, #eeeeee 100%) !important;
    border-color: #d4d4d4 !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .blog-hero::before,
    .article-header::before
) {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.12) 0%, transparent 68%) !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .article-card,
    .sidebar-section,
    .profile-panel,
    .side-card,
    .related-card,
    .article-author-box,
    .comment-form,
    .comment-item
) {
    background-color: #ffffff !important;
    border-color: #d4d4d4 !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08) !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(.blog-empty, .empty, .hero-stat) {
    background-color: #ffffff !important;
    border-color: #d4d4d4 !important;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.06) !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(.blog-empty-icon, .avatar-placeholder) {
    background: #eeeeee !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media .floating-consultation-btn {
    background: linear-gradient(135deg, #111111, #333333) !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media .l4o3r4-footer {
    background-color: #111111 !important;
    color: #ffffff !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media .l4o3r4-footer .l4o3r4-logo {
    color: #ffffff !important;
}

/* Public contact page */
html[data-astrum-platform="astrum"] :is(.le95wc-bg-blob-1, .le95wc-bg-blob-2) {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, rgba(255, 255, 255, 0) 70%) !important;
}

html[data-astrum-platform="astrum"] :is(
    .le95wc-page-header,
    .le95wc-faq-icon,
    .le95wc-required,
    .le95wc-bubble-ai
) {
    background-color: #eeeeee !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] :is(
    .le95wc-title-accent,
    .le95wc-breadcrumbs span,
    .le95wc-company-icon,
    .le95wc-checkbox-label a,
    .le95wc-company-title,
    .le95wc-faq-summary:hover
) {
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] :is(.le95wc-title-accent, .le95wc-bubble-user) {
    background-color: #d4d4d4 !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] .le95wc-company-icon {
    background: linear-gradient(135deg, #eeeeee, #d4d4d4) !important;
}

html[data-astrum-platform="astrum"] .le95wc-faq-section {
    background-color: #f6f6f6 !important;
}

html[data-astrum-platform="astrum"] :is(
    .le95wc-btn-primary,
    .le95wc-chatbot-btn,
    .le95wc-faq-cta
) {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html[data-astrum-platform="astrum"] :is(
    .le95wc-btn-secondary,
    .le95wc-form-card,
    .le95wc-company-info,
    .le95wc-faq-item,
    .le95wc-faq-content
) {
    background-color: #ffffff !important;
    border-color: #d4d4d4 !important;
    color: #262626 !important;
    box-shadow: none !important;
}

html[data-astrum-platform="astrum"] :is(
    .le95wc-input,
    .le95wc-select,
    .le95wc-textarea,
    .le95wc-checkbox
):focus {
    border-color: #737373 !important;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12) !important;
}

html[data-astrum-platform="astrum"] .le95wc-form-card::after,
html[data-astrum-platform="astrum"] .le95wc-faq-icon::before,
html[data-astrum-platform="astrum"] .le95wc-faq-icon::after {
    background-color: #111111 !important;
}

html[data-astrum-platform="astrum"] .le95wc-faq-item[open] {
    border-color: #737373 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

html[data-astrum-platform="astrum"] :is(
    .category-item-count,
    .beta-badge,
    .le95wc-bubble
) {
    font-size: 12px !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .article-tag,
    .tag,
    .author-filter,
    .author-pill,
    .blog-pagination a,
    .blog-pagination span
):not(.active) {
    background-color: #f6f6f6 !important;
    border-color: #d4d4d4 !important;
    color: #262626 !important;
}

/* Authentication */
html[data-astrum-platform="astrum"] body:has(.auth-container)::before {
    background: radial-gradient(ellipse at 80% 20%, rgba(0, 0, 0, 0.06) 0%, transparent 50%), radial-gradient(ellipse at 20% 80%, rgba(128, 128, 128, 0.08) 0%, transparent 50%) !important;
}

html[data-astrum-platform="astrum"] :is(.auth-card, .login-card, .register-card) {
    background-color: #ffffff !important;
    border-color: #d4d4d4 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.20), 0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

html[data-astrum-platform="astrum"] :is(.logo-icon, .auth-logo, .auth-logo-icon) {
    background: linear-gradient(135deg, #111111, #404040) !important;
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.28) !important;
}

html[data-astrum-platform="astrum"] :is(.auth-title, .logo-text) {
    background-image: linear-gradient(135deg, #111111, #525252) !important;
}

html[data-astrum-platform="astrum"] :is(.form-input, .form-control, input, textarea, select):focus {
    border-color: #737373 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.18) !important;
}

html[data-astrum-platform="astrum"] :is(.auth-submit, .auth-button, .login-btn, .register-btn) {
    background: linear-gradient(135deg, #111111, #333333) !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.24) !important;
}

/* Authenticated Noxie shell */
html[data-astrum-platform="astrum"] :is(
    .sidebar,
    .server-sidebar,
    .channel-sidebar,
    .right-sidebar,
    .user-panel
) {
    background-color: #ffffff !important;
    border-color: #d4d4d4 !important;
    color: #262626 !important;
}

html[data-astrum-platform="astrum"] :is(
    .main-header,
    .main-content > .header,
    .main-content > .article-header
) {
    background: #111111 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

html[data-astrum-platform="astrum"] :is(
    .main-header,
    .main-content > .header,
    .main-content > .article-header
) :is(h1, h2, a, span, svg) {
    color: inherit !important;
}

html[data-astrum-platform="astrum"] :is(
    .sidebar-link,
    .nav-item,
    .channel-item,
    .server-icon
):hover {
    background-color: #eeeeee !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] :is(
    .sidebar-link.active,
    .nav-item.active,
    .channel-item.active,
    .server-icon.active
) {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html[data-astrum-platform="astrum"] :is(
    .tabs,
    .timeline-tabs,
    .settings-tabs,
    .projects-filter-tabs
) {
    background-color: #ffffff !important;
    border-color: #d4d4d4 !important;
}

html[data-astrum-platform="astrum"] :is(
    .card,
    .settings-card,
    .post,
    .post-composer,
    .room-info,
    .modal-content,
    .dropdown-menu,
    .item-card,
    .service-link-item,
    .theme-option
) {
    background-color: #ffffff !important;
    border-color: #d4d4d4 !important;
    color: #262626 !important;
}

html[data-astrum-platform="astrum"] :is(
    .settings-tab.active,
    .filter-chip.active,
    .visibility-btn.active,
    .filter-tab.active,
    .mode-tab.active,
    .device-tab.active
) {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

html[data-astrum-platform="astrum"] :is(
    .settings-tab:hover,
    .filter-chip:hover,
    .filter-tab:hover,
    .mode-tab:hover,
    .device-tab:hover
) {
    background-color: #eeeeee !important;
    border-color: #737373 !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] #editModal .modal-header {
    background: #111111 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

html[data-astrum-platform="astrum"] .ai-generate-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02)) !important;
    border-color: rgba(0, 0, 0, 0.22) !important;
}

html[data-astrum-platform="astrum"] .item-card.selected {
    border-color: #111111 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12) !important;
}

html[data-astrum-platform="astrum"] :is(.badge, .chip, .tag, .status-badge) {
    border-color: #a3a3a3 !important;
}

html[data-astrum-platform="astrum"] :disabled,
html[data-astrum-platform="astrum"] [aria-disabled="true"] {
    background-color: #e5e5e5 !important;
    border-color: #bdbdbd !important;
    color: #737373 !important;
}

/* Final contrast corrections for shared public/auth elements. */
html[data-astrum-platform="astrum"] body .l4o3r4-footer a.l4o3r4-logo {
    color: #ffffff !important;
}

html[data-astrum-platform="astrum"] body .l4o3r4-footer .l4o3r4-bottom {
    color: #a3a3a3 !important;
    border-color: #404040 !important;
}

html[data-astrum-platform="astrum"] body.public-owned-media :is(
    .hero-stat span,
    .section-desc
) {
    color: #666666 !important;
}

html[data-astrum-platform="astrum"] :is(.beta-title, .beta-description strong) {
    color: #525252 !important;
}

html[data-astrum-platform="astrum"] .beta-badge {
    background: #d4d4d4 !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"] .beta-notice {
    background: #f6f6f6 !important;
    border-color: #737373 !important;
}

/* Higher-specificity neutralization for the authenticated fluffy header. */
html[data-astrum-platform="astrum"][data-theme] .main-header :is(
    .visibility-toggle,
    .btn-post,
    .icon-btn,
    .header-save-btn,
    .points-badge,
    .add-residence-btn,
    .btn-secondary,
    .btn-memory,
    .back-btn,
    .btn-danger,
    .edit-btn,
    .edit-course-btn,
    .hamburger-btn,
    .close-btn,
    .npc-unsub-btn,
    .sidebar-toggle-btn,
    .header-icon,
    .btn-create
),
html[data-astrum-platform="astrum"][data-theme] .main-content > :is(.header, .article-header) :is(
    .visibility-btn,
    .publish-scope-btn,
    .retweet-btn,
    .dropdown-trigger,
    .save-btn,
    .edit-btn
) {
    background: #ffffff !important;
    border-color: #737373 !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"][data-theme] .main-header .header-actions .btn-primary {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
}

html[data-astrum-platform="astrum"][data-theme] .main-header :is(
    .visibility-toggle,
    .btn-post,
    .icon-btn,
    .header-save-btn,
    .points-badge,
    .add-residence-btn,
    .btn-secondary,
    .btn-memory,
    .back-btn,
    .btn-danger,
    .edit-btn,
    .edit-course-btn,
    .hamburger-btn,
    .close-btn,
    .npc-unsub-btn,
    .sidebar-toggle-btn,
    .header-icon,
    .btn-create,
    .header-actions .btn-primary
) :is(svg, path, span),
html[data-astrum-platform="astrum"][data-theme] .main-content > :is(.header, .article-header) :is(
    .visibility-btn,
    .publish-scope-btn,
    .retweet-btn,
    .dropdown-trigger,
    .save-btn,
    .edit-btn
) :is(svg, path, span) {
    color: #111111 !important;
    stroke: currentColor !important;
}

html[data-astrum-platform="astrum"][data-theme] .main-header :is(.mode-tabs, .device-tabs) {
    background: #d4d4d4 !important;
}

html[data-astrum-platform="astrum"][data-theme] .main-header :is(.mode-tab, .device-tab) {
    color: #111111 !important;
}

html[data-astrum-platform="astrum"][data-theme] .main-header :is(.mode-tab.active, .device-tab.active) {
    background: #ffffff !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"][data-theme] :is(
    .follow-btn.following,
    .follower-follow-btn.following,
    .residence-type-badge
) {
    background: #eeeeee !important;
    border-color: #a3a3a3 !important;
    color: #111111 !important;
}

html[data-astrum-platform="astrum"][data-theme] :is(
    .item-rarity.legendary,
    .modal-rarity.legendary,
    .celebration-badge.legendary
) {
    color: #525252 !important;
}

html[data-astrum-platform="astrum"][data-theme] .replies-container .post.reply {
    background: #f6f6f6 !important;
}

html[data-astrum-platform="astrum"][data-theme] .data-thumbnail {
    background: linear-gradient(135deg, #eeeeee, #d4d4d4) !important;
}

html[data-astrum-platform="astrum"][data-theme] .main-header .npc-unsub-btn:hover {
    background: #262626 !important;
    border-color: #262626 !important;
    color: #ffffff !important;
}
