/* DEE RECORDS Build 17.43 — unified starry dark + clean light mode */
:root{color-scheme:dark;--dee-accent:#d9ad4c;--dee-red:#c62835;--dee-emerald:#246b49;--bg:#070b08;--panel:#101712;--fg:#f5f2e9;--muted:#b4b9af;--line:rgba(217,173,76,.25);--gold:#d9ad4c;--green:#246b49}
html,body{min-height:100%;background:#070b08!important;color:#f5f2e9!important;color-scheme:dark!important}
body{background-image:radial-gradient(ellipse at 12% 12%,rgba(25,105,62,.22),transparent 42%),radial-gradient(ellipse at 88% 20%,rgba(198,40,53,.10),transparent 38%),linear-gradient(180deg,#070b08 0%,#0b100c 58%,#080c09 100%)!important}
header,.top,.header,.mobile-head,.admin-top{background:rgba(7,11,8,.94)!important;color:#f5f2e9!important;border-color:rgba(217,173,76,.24)!important;backdrop-filter:blur(14px)!important}
nav,.site-nav,.admin-nav,.admin-sidebar,.admin-side,.drawer-panel{background:#0d140f!important;color:#f5f2e9!important;border-color:rgba(217,173,76,.22)!important}
nav a,.site-nav a,.admin-nav a,.admin-sidebar a,.admin-side a{color:#e6d6ad!important}
.card,.panel,.service-card,.feature-card,.stat-card,.release,.release-feature,.release-tile,.release-highlight,.admin-section,.admin-card,.admin-panel,.dashboard-card,.modal,.modal-content,.fee-breakdown,.demo-card,.newsletter-composer,.cta,.donation-card,.profile-card,.pitch-total-card,.theme-admin-preview{background:linear-gradient(145deg,rgba(17,26,19,.96),rgba(11,17,13,.96))!important;color:#f5f2e9!important;border-color:rgba(217,173,76,.23)!important}
body,h1,h2,h3,h4,h5,h6,p,li,label,strong,small,summary,dt,dd,span{color:inherit}
body,.lead,.muted,.hint,.small,.section-note{color:#b4b9af!important}
h1 em,.hero h1 em,.accent,.accent-text,.gold-text,.eyebrow,.kicker,.meta,.brand small{color:var(--gold,#d9ad4c)!important}
.btn.gold,.btn.primary,button.primary,.primary-button{background:linear-gradient(135deg,#e0bd68,#b88a32)!important;color:#17130a!important;border-color:#c99e46!important}
input,select,textarea{background:#101811!important;color:#f5f2e9!important;border-color:rgba(217,173,76,.38)!important}
input::placeholder,textarea::placeholder{color:#9ca69a!important}
footer{background:#080d09!important;color:#b4b9af!important;border-color:rgba(217,173,76,.18)!important}
.b17-appearance-toggle{display:inline-grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;border:1px solid rgba(217,173,76,.55)!important;border-radius:13px!important;background:rgba(217,173,76,.10)!important;color:#e6c36d!important;font-size:21px!important;line-height:1!important;cursor:pointer!important;touch-action:manipulation!important;position:relative!important;z-index:150!important;margin-left:auto!important;box-shadow:0 4px 16px rgba(0,0,0,.18)!important}
#dee-stars,#stars,canvas#dee-stars,canvas#stars{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:0!important;pointer-events:none!important;opacity:.52!important;mix-blend-mode:screen!important}
body>*:not(#dee-stars):not(#stars){position:relative;z-index:1}
/* Light mode: bright ivory surfaces, dark green text, restrained gold/red accents. */
html[data-theme="light"],html[data-mode="light"]{color-scheme:light!important;--bg:#f4f5ef;--panel:#fff;--fg:#17251b;--muted:#59675d;--line:rgba(38,77,49,.20);--gold:#98701e}
html[data-theme="light"] body,html[data-mode="light"] body{background:linear-gradient(135deg,#f4f5ef 0%,#edf2eb 55%,#f7f6f0 100%)!important;color:#17251b!important;color-scheme:light!important}
html[data-theme="light"] :is(header,.top,.header,.mobile-head,.admin-top){background:rgba(255,255,255,.96)!important;color:#17251b!important;border-color:rgba(38,77,49,.18)!important;box-shadow:0 5px 22px rgba(25,45,30,.06)!important}
html[data-theme="light"] :is(nav,.site-nav,.admin-nav,.admin-sidebar,.admin-side,.drawer-panel){background:#fff!important;color:#17251b!important;border-color:rgba(38,77,49,.18)!important}
html[data-theme="light"] :is(nav a,.site-nav a,.admin-nav a,.admin-sidebar a,.admin-side a){color:#315d3d!important}
html[data-theme="light"] :is(.card,.panel,.service-card,.feature-card,.stat-card,.release,.release-feature,.release-tile,.release-highlight,.admin-section,.admin-card,.admin-panel,.dashboard-card,.modal,.modal-content,.fee-breakdown,.demo-card,.newsletter-composer,.cta,.donation-card,.profile-card,.pitch-total-card,.theme-admin-preview){background:#fff!important;color:#17251b!important;border-color:rgba(38,77,49,.18)!important;box-shadow:0 12px 32px rgba(28,52,34,.055)!important}
html[data-theme="light"] body,html[data-theme="light"] body :is(h1,h2,h3,h4,h5,h6,p,li,label,strong,small,summary,dt,dd,span),html[data-mode="light"] body{color:#17251b!important}
html[data-theme="light"] :is(.lead,.muted,.hint,.small,.section-note){color:#59675d!important}
html[data-theme="light"] :is(input,select,textarea){background:#fff!important;color:#17251b!important;border-color:#cbd5ca!important}
html[data-theme="light"] footer{background:#e9eee7!important;color:#334638!important;border-color:#d5dfd4!important}
html[data-theme="light"] .b17-appearance-toggle{background:#fff!important;color:#8b681e!important;border-color:#c8b47e!important}
html[data-theme="light"] #dee-stars,html[data-theme="light"] #stars{opacity:.19!important;mix-blend-mode:multiply!important}
#dee-theme-preview-banner{position:relative;z-index:10000;padding:10px 14px;background:#d9ad4c;color:#17130a;text-align:center;font:600 13px system-ui}
@media(prefers-reduced-motion:no-preference){html,body,:is(header,.top,.card,.panel,footer){transition:background-color .22s ease,color .22s ease,border-color .22s ease!important}}

/* Build 17.46: refined clean-white visitor mode, matching the preferred light preview. */
html[data-theme="light"] body{background:#f7f8f3!important;color:#17251b!important}
html[data-theme="light"] :is(.card,.panel,.service-card,.feature-card,.release,.release-feature,.release-tile,.release-highlight,.cta,.profile-card,.pitch-total-card){background:#fff!important;color:#17251b!important;border:1px solid #e2e8df!important;box-shadow:0 8px 26px rgba(24,48,30,.055)!important}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .kicker{color:#8b681e!important}
html[data-theme="light"] .btn.gold,html[data-theme="light"] .btn.primary{background:#173d29!important;color:#fff!important;border-color:#173d29!important}
html[data-theme="light"] .btn.glass{background:#fff!important;color:#214c32!important;border:1px solid #cbd8ca!important}
html[data-theme="light"] .hero,html[data-theme="light"] main{background:transparent!important}
html[data-theme="light"] #dee-stars,html[data-theme="light"] #stars{opacity:.10!important}

/* Build 17 dark-only mode lock: legacy light selectors are neutralised. */
html,html[data-theme="light"],html[data-mode="light"]{color-scheme:dark!important;--bg:#070a08!important;--panel:#101712!important;--fg:#f4f1e8!important;--muted:#a9b2aa!important;--line:rgba(216,180,90,.24)!important;--gold:#d8b45a!important}
html body,html[data-theme="light"] body,html[data-mode="light"] body{background:#070a08!important;color:#f4f1e8!important;color-scheme:dark!important}
html body :is(h1,h2,h3,h4,h5,h6),html[data-theme="light"] body :is(h1,h2,h3,h4,h5,h6){color:#f4f1e8!important}
html[data-theme="light"] :is(header,.top,.header,.mobile-head,.admin-top,nav,.site-nav,.admin-nav,.admin-sidebar,.admin-side,.drawer-panel){background:#0d140f!important;color:#f4f1e8!important;border-color:rgba(216,180,90,.24)!important}
html[data-theme="light"] :is(.card,.panel,.service-card,.feature-card,.stat-card,.release,.release-feature,.release-tile,.release-highlight,.admin-section,.admin-card,.admin-panel,.dashboard-card,.modal,.modal-content,.fee-breakdown,.demo-card,.newsletter-composer,.cta,.donation-card,.profile-card,.pitch-total-card,.theme-admin-preview){background:#101712!important;color:#f4f1e8!important;border-color:rgba(216,180,90,.24)!important}
html[data-theme="light"] :is(input,select,textarea){background:#101811!important;color:#f4f1e8!important;border-color:rgba(216,180,90,.38)!important}
html[data-theme="light"] footer{background:#080d09!important;color:#a9b2aa!important}
.b17-appearance-toggle,[data-dee-theme-toggle],#appearanceToggle,.mode-toggle{display:none!important}
