/* One broad atmospheric wash per reading surface; text has no individual tiles. */
:root,:host{--reading-shade:rgba(0,3,12,.23);--reading-shadow:rgba(0,0,0,.55)}
:where(body,.status-shell){text-shadow:0 1px 8px var(--reading-shadow)}
.starsea{background-image:radial-gradient(ellipse at 38% 50%,var(--reading-shade),transparent 85%),linear-gradient(90deg,#040818de,#0a16387d 65%,#0a14313b),url('assets/bg-starsea-dark.jpg')}
.home::after{content:'';position:absolute;inset:-10%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 18% 55%,#00000026,transparent 64%)}
.env-photo::after,.starfield::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 45% 48%,var(--reading-shade),transparent 90%)}
.dlfw-main{background:radial-gradient(ellipse at 45% 50%,var(--reading-shade),transparent 85%)}
.field :is(input,textarea,select){text-shadow:0 1px 6px var(--reading-shadow)}
select option{background:#101829;color:#eef3ff;text-shadow:none}
/* Preserve dark lettering in the existing light theme. */
:root[data-theme=light],:root[data-theme=starlight],.status-shell[data-theme=starlight]{--reading-shade:rgba(0,0,0,.035);--reading-shadow:transparent}
#image-model-settings{margin-top:48px}#auto-image-settings{margin:36px 0}.model-assignments{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.profile-tabs{display:flex;flex-wrap:wrap;gap:10px}.profile-tabs button{min-height:44px}
#model-result:empty,#image-status:empty,#image-plan-status:empty{margin:0;min-height:0}

/* Retain the original images and palette; soften only their background layers. */
:root:not([data-appearance-background]) .starsea{filter:saturate(.88) contrast(.92)}
html[data-theme="starfall"]:not([data-appearance-background]) .env-photo{filter:blur(3px) saturate(.88) contrast(.92)}
html[data-theme="starlight"]:not([data-appearance-background]) .env-photo{filter:blur(3px) saturate(.88) contrast(.92) brightness(.98)}
.status-shell:not([data-appearance-background]) .starfield{filter:saturate(.88) contrast(.92)}
.status-shell[data-theme="starlight"] .condition-copy{color:var(--ink);--rose:#875763}
[data-avatar-status]{display:block;min-height:1.7em;margin-top:12px;color:var(--muted);font-size:12px}
