/* V211: repair closed composer and keep appearance palettes coherent. */
html body #v57ComposerWrap.v57-orb-first:not(.v57-composer-open) > #composer.composer{display:none!important;visibility:hidden!important;pointer-events:none!important}
html body #v57ComposerWrap.v57-orb-first.v57-composer-open > #v57ComposerOrb{display:none!important}
html body #v57ComposerWrap > .footer-note{display:none!important}
/* Confine decorative rings to their launcher, instead of the footer's bounds. */
html body #v57ComposerOrb{position:relative!important}
html body #v57ComposerWrap{background:transparent!important;box-shadow:none!important;border:0!important}
html:root[data-theme="dark"] body aside.sidebar#sidebar{background:var(--nova-sentinel-fill)!important}
/* These settings alter the glass palette and scenery exposure independently. */
html:root[data-theme="dark"]:is([data-nova-glass="lens"],[data-nova-glass="sentinel"]){--nova-sentinel-fill:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.008)),rgba(8,9,13,.46);--nova-optical-text:#f5f6fa;--nova-optical-muted:#c3c5d0;--nova-control-glass:rgba(15,16,22,.36)}
html[data-nova-scenic][data-theme="light"] body{background:linear-gradient(180deg,rgba(238,244,250,.30),rgba(238,244,250,.18)),var(--nova-scenery) center/cover no-repeat fixed!important}
html:root[data-theme="light"]:is([data-nova-glass="lens"],[data-nova-glass="sentinel"]){--nova-sentinel-fill:linear-gradient(135deg,rgba(255,255,255,.65),rgba(242,247,251,.48));--nova-optical-text:#152d43;--nova-optical-muted:#344e65;--nova-control-glass:rgba(245,249,252,.62)}
html:root[data-theme="light"] body aside.sidebar#sidebar{background:var(--nova-sentinel-fill)!important;color:#152d43!important;text-shadow:none!important}
html:root[data-theme="light"] body #sidebar :is(.side-action,.new-chat,.conversation-item,.nova-settings-card,button),html:root[data-theme="light"] body #novaSocialNav button{background:rgba(245,249,252,.62)!important;color:#152d43!important;border-color:rgba(47,71,94,.25)!important;text-shadow:none!important}
html:root[data-theme="light"] body #sidebar :is(small,p,.nav-label,.section-label,.nova-sidebar-section-title){color:#344e65!important;text-shadow:none!important}
html:root[data-theme="light"] body :is(.nova-foundation-pane,.nova-feed-pane,.nova-social-list,.nova-social-thread,.nova-connections-pane,.nova-mobile-sheet) :is(h2,h3,p,b,small,time,label){color:#152d43!important;text-shadow:none!important}
/* A scene is not a white canvas: retain the readable pearl wordmark over artwork. */
html[data-nova-scenic][data-theme="light"] body .welcome h2{color:#fff!important;text-shadow:0 2px 8px rgba(0,9,26,.85)!important}
html[data-nova-scenic][data-theme="light"] body .welcome h2 span{background:linear-gradient(110deg,#fff,#d4f5ef 40%,#e0d9ff)!important;background-clip:text!important;-webkit-background-clip:text!important;text-shadow:none!important}
html:root[data-theme="light"] body #settingsDialog :is(select,input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),textarea){background:rgba(248,251,254,.86)!important;color:#152d43!important;border-color:rgba(47,71,94,.25)!important}
html:root[data-theme="light"] body #novaScenePicker .nova-scene-choice{background:rgba(248,251,254,.70)!important;color:#152d43!important;border-color:rgba(47,71,94,.25)!important}
html:root[data-theme="light"] body #novaScenePicker .nova-scene-choice[aria-checked="true"]{border-color:#315e74!important}
@media(max-width:600px){html[data-nova-scenic][data-theme="light"] body{background-attachment:scroll!important}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){html:root[data-theme="light"] body #sidebar :is(button,.nova-settings-card){background:#f2f7fb!important}html:root[data-theme="light"]:is([data-nova-glass="lens"],[data-nova-glass="sentinel"]){--nova-sentinel-fill:#f2f7fb}html:root[data-theme="dark"]:is([data-nova-glass="lens"],[data-nova-glass="sentinel"]){--nova-sentinel-fill:#121318}}
