/* CDM-116 | Light appearance readability. DARK THEME MUST STAY UNCHANGED.
 * Scoped to light mode on phones only; desktop and all dark selectors untouched. */
@media (max-width:767px) {
 html[data-bbs-appearance="light"] {
   --color-bg: #f5f6f8;
   --color-surface: #fff;
   --color-surface-alt: #eef0f3;
   --color-text: #151a21;
   --color-text-muted: #545e6d;
   --color-border: #cbd1db;
   --color-accent-border: #c8ad79;
   --color-accent-bg: #f5eedf;
   --color-primary: #80601f;
 }
 html[data-bbs-appearance="light"] body,
 html[data-bbs-appearance="light"] #root,
 html[data-bbs-appearance="light"] .discovery-app-shell {
   background: #f5f6f8;
   color: #151a21;
 }
 html[data-bbs-appearance="light"] .discovery-app-shell .site-header,
 html[data-bbs-appearance="light"] .discovery-mobile-nav {
   background: #fcfcfd !important;
   border-color: #cbd1db !important;
   color: #151a21 !important;
 }
 html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-card,
 html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-card-head,
 html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-info {
   background: #fff !important;
   color: #151a21 !important;
 }
 html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .post-action-bar .post-action-segment,
 html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-title {
   color: #151a21 !important;
 }
 /* White vector SVGs are nearly invisible in light mode. Darken ONLY these
    monochrome comment/bookmark visuals, never the colorful reaction icons. */
 html[data-bbs-appearance="light"] .post-action-bar > button.post-action-segment:nth-child(2) > span[aria-hidden="true"],
 html[data-bbs-appearance="light"] .post-action-bar .bookmark-btn > span[aria-hidden="true"],
 html[data-bbs-appearance="light"] .cdm116-inline-comment-icon {
   filter: brightness(0) !important;
 }
 html[data-bbs-appearance="light"] .discovery-mobile-notices {
   background: #f8f3e8 !important;
   border-color: #c4b187 !important;
   color: #272b32 !important;
 }
 html[data-bbs-appearance="light"] .discovery-mobile-notices summary {
   color: #73531b !important;
 }
 html[data-bbs-appearance="light"] .discovery-app-shell .discovery-pin {
   background: #eee5d5 !important;
   color: #60491d !important;
 }
 html[data-bbs-appearance="light"] .discovery-mobile-nav a {
   color: #535d6a !important;
 }
 html[data-bbs-appearance="light"] .discovery-mobile-nav a.active {
   color: #78581e !important;
 }
 html[data-bbs-appearance="light"] .cdm144-settings-accordion.cdm144-push-categories {
   background: #fff !important;
   border-color: #cbd1db !important;
 }
 html[data-bbs-appearance="light"] .cdm144-settings-accordion .cdm144-settings-toggle-label,
 html[data-bbs-appearance="light"] .cdm144-compact-setting-toggle.cdm144-color-toggle {
   color: #171a20 !important;
 }
 html[data-bbs-appearance="light"] .cdm144-push-title,
 html[data-bbs-appearance="light"] .cdm144-unified-device h4 {
   color: #76551b !important;
 }
 html[data-bbs-appearance="light"] .cdm144-push-note,
 html[data-bbs-appearance="light"] .cdm144-unified-status {
   color: #4f5967 !important;
 }
 html[data-bbs-appearance="light"] .cdm144-push-row .cdm144-push-copy strong {
   color: #fff !important;
 }
 html[data-bbs-appearance="light"] .cdm144-push-row .cdm144-push-copy small {
   color: #d2d2d5 !important;
 }
 html[data-bbs-appearance="light"] .cdm144-push-save {
   color: #e5c075 !important;
 }
}
