/* NIBASTRA personal themes: enhancements, not replacement of original art */
body[data-nib-theme="nebula"]{--user-tint:#ad7cff}body[data-nib-theme="aurora"]{--user-tint:#50e6cf}
body[data-nib-theme="cosmos"]{--user-tint:#55aaff}
body[data-nib-theme="dark"]{--user-tint:#9ab7ff;color-scheme:dark;background-color:#05070d!important;color:#ecf0fa}
body[data-nib-theme="light"]{--user-tint:#4179c5;color-scheme:light;background:#f3f6fc!important;color:#17233a}
body[data-nib-accent="cyan"]{--user-tint:#4cefe8}body[data-nib-accent="violet"]{--user-tint:#b98dff}body[data-nib-accent="gold"]{--user-tint:#ffcf75}
body[data-nib-theme="nebula"]::after,body[data-nib-theme="aurora"]::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.17;background:radial-gradient(ellipse at 65% 7%,var(--user-tint),transparent 48%)}

/* A real light appearance, while leaving the original cosmic theme untouched. */
body[data-nib-theme="light"] :is(.star-field,.stellar-sky,.dim-starfield,.v47-sky,.v47-aurora,.astral-rays){opacity:.12}
body[data-nib-theme="light"] :is(.dim-nav,.dim-footer,.atelier-panel,.atlas-library,.atlas-reader,.atlas-editor,.shift-card,.shift-section details,.profile-card,.account-card,.v50-card,.v52-panel,.panel,.obs-card,.obs-result,.group-card,.support-card,.search-card,.voyager-card,.v48-book,.v50-settings-wrapper,.v50-settings-main,.v50-settings-side){background-color:#fff!important;color:#17233a!important;border-color:#c8d4e4!important;box-shadow:0 10px 32px #223a5a12}
body[data-nib-theme="light"] :is(h1,h2,h3,h4,p,label,summary,strong,small,.muted,.dim-kicker,.dim-logo,.dim-nav a,.dim-footer a,.nib-main-nav a,.shift-card a,.atlas-content,.account-section-title){color:#17233a}
body[data-nib-theme="light"] :is(input,textarea,select){background-color:#fff!important;color:#17233a!important;border-color:#9aabc2!important}
body[data-nib-theme="light"] :is(button,.dim-button,.submit,.v50-primary,.v52-btn){color:#17233a;border-color:#879bb7}
body[data-nib-theme="light"] a{color:#174f95}
body[data-nib-theme="light"] :is(.dim-button,.submit,.v50-primary,.v52-btn){background:#e5efff!important}
body[data-nib-theme="light"] :is(.profile-card,.v50-card,.v52-panel,.panel) :is(input,textarea,select){box-shadow:none}
body[data-nib-theme="light"] .shift-community-faq details{background:#fff}
body[data-nib-theme="light"] .shift-community-faq summary{color:#17233a}
body[data-nib-theme="light"] .world-card{background:#fff!important;color:#17233a!important;border-color:#c8d4e4!important}
body[data-nib-accent] a:focus-visible,body[data-nib-accent] button:focus-visible{outline:2px solid var(--user-tint);outline-offset:3px}
body[data-nib-accent] .account-tabs button.active{border-color:var(--user-tint);box-shadow:0 0 22px color-mix(in srgb,var(--user-tint) 35%,transparent)}
body[data-nib-stars="none"] .star-field,body[data-nib-stars="none"] .stellar-sky{opacity:0!important}
body[data-nib-stars="soft"] .star-field,body[data-nib-stars="soft"] .stellar-sky{opacity:.18!important}
body[data-nib-stars="intense"] .star-field,body[data-nib-stars="intense"] .stellar-sky{opacity:.85!important}
body[data-nib-motion="reduced"] *,body[data-nib-motion="reduced"] *::before,body[data-nib-motion="reduced"] *::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
body[data-nib-text="small"]{font-size:14px}body[data-nib-text="large"]{font-size:17px}
body[data-nib-density="compact"] .account-section form{gap:9px}
