.uh-header[data-layout="v2"] .uh-color-mode{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-height:40px;padding:8px!important;border:1px solid #8bd3ea!important;border-radius:10px!important;background:#ffffff12!important;color:#fff!important;cursor:pointer}
.uh-color-mode svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]){--ui-bg:#081925;--ui-surface:#102939;--ui-ink:#e7f4fc;--ui-muted:#b1cada;--ui-line:#315568;--hl-text:#e7f4fc;--hl-muted:#b1cada;background:#081925!important;color:#e7f4fc!important;color-scheme:dark!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(.os-platform,.os-main,.os-content,#os-fm){background:#081925!important;background-image:none!important;color:#e7f4fc!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(.uh-panel,.uh-menu-card,.uh-sidebar,.uh-menu,.uh-shortcuts>a,.uh-profile>div,.uh-feed-preview>article,.uh-feed-preview>.post,.uh-community-content .card,.osfm-card,.oe-community-paths>a){background:#102939!important;color:#e7f4fc!important;border-color:#315568!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(.uh-feed-preview,.uh-community-content,#os-fm,.uh-panel) :is(h1,h2,h3,h4,p,label,strong,small,time,.os-eyebrow){color:#e7f4fc!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(.uh-menu a,.uh-menu h2,.uh-shortcuts a,.uh-panel a,.uh-community-content a,#osfm-note,.osfm-location){color:#91def1!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(.oe-home-hero,.oe-community-paths>a){background:linear-gradient(120deg,#102939,#103e50)!important;border-color:#315568!important;color:#e7f4fc!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(.oe-home-hero h1,.oe-home-hero p,.oe-home-hero .oe-eyebrow,.oe-community-paths small){color:#e7f4fc!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){background:#102939!important;color:#e7f4fc!important;border-color:#527b91!important;color-scheme:dark!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(input,textarea)::placeholder{color:#b1cada!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(.uh-menu a.is-active,.uh-menu a[aria-current=page]){background:#007fa7!important;color:#fff!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) #os-fm :is(h1,h2,h3,p,label,.os-eyebrow,.osfm-location){color:#e7f4fc!important}
@media(max-width:600px){.uh-header[data-layout="v2"] .uh-color-mode{flex-basis:36px;width:36px;min-height:38px;padding:6px!important}.uh-header[data-layout="v2"] .uh-account-tools{gap:6px!important}}

html[data-home-mode="dark"] body.uh-shell #uh-home .uh-hero{background:linear-gradient(120deg,#102939,#103e50)!important;border-color:#315568!important}
html[data-home-mode="dark"] body.uh-shell #uh-home .uh-hero :is(h1,p,.uh-eyebrow){color:#e7f4fc!important}
html[data-home-mode="dark"] body.uh-shell #uh-home .uh-hero h1 em{color:#6ee1ed!important;background:none!important}
html[data-home-mode="dark"] body.uh-shell #uh-home .uh-hero a.oe-hero-secondary{color:#91def1!important}
html[data-home-mode="dark"] body.uh-shell.uh-player-home:has(.uh-header[data-layout="v2"]) .os-player{background:#102939!important;color:#e7f4fc!important;border-color:#315568!important}
html[data-home-mode="dark"] body.uh-shell.uh-player-home:has(.uh-header[data-layout="v2"]) .os-player :is(strong,span,label,.os-player-kicker){color:#d4ecf8!important}
html[data-home-mode="dark"] body.uh-shell #uh-home .uh-world{background:#102939!important;color:#e7f4fc!important}
html[data-home-mode="dark"] body.uh-shell.uh-player-home:has(.uh-header[data-layout="v2"]) .os-player-inner{background:transparent!important;color:#e7f4fc!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(.uh-search,.uh-search input){background:#102939!important;color:#e7f4fc!important;border-color:#527b91!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) .uh-search input::placeholder{color:#b1cada!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) :is(.uh-menu h2,.uh-menu-card>summary){background:#163b50!important;color:#d4ecf8!important;border-color:#315568!important}
html[data-home-mode="dark"] body.uh-shell.uh-player-home:has(.uh-header[data-layout="v2"]) .os-player .os-track :is(strong,span){color:#d4ecf8!important}
html[data-home-mode="dark"] body.uh-shell #uh-home .uh-world :is(strong,b,small){color:#d4ecf8!important}
html[data-home-mode="dark"] body.uh-shell #uh-query{background:#102939!important;color:#e7f4fc!important}
html[data-home-mode="dark"] body.uh-shell #uh-query::placeholder{color:#b1cada!important}
html[data-home-mode="dark"] body.uh-shell.uh-player-home:has(.uh-header[data-layout="v2"]) .os-player .os-track,html[data-home-mode="dark"] body.uh-shell.uh-player-home:has(.uh-header[data-layout="v2"]) .os-player .os-track *{color:#d4ecf8!important}
html[data-home-mode="dark"] body.uh-shell:has(.uh-header[data-layout="v2"]) .uh-profile>div a{color:#d4ecf8!important}
/* Keep every home-header control visible on the narrowest phones. */
@media(max-width:380px){html body.uh-shell:has(.uh-header[data-layout="v2"]) .uh-header:has(.uh-color-mode){gap:6px!important;padding-inline:8px!important}html body.uh-shell:has(.uh-header[data-layout="v2"]) .uh-header:has(.uh-color-mode) .uh-logo{flex:0 0 96px!important;width:96px!important;min-width:0!important;max-width:96px!important}html body.uh-shell:has(.uh-header[data-layout="v2"]) .uh-header:has(.uh-color-mode) .uh-logo img{max-width:100%!important}}
