/* MASTA display preferences v1. Original brand remains the default. */
html[data-mp-theme="light"] { --mp-bg:#fff; --mp-fg:#17212b; --mp-link:#084a9e; --mp-border:#526475; color-scheme:light; }
html[data-mp-theme="dark"] { --mp-bg:#151b23; --mp-fg:#f3f6fb; --mp-link:#91caff; --mp-border:#a1b3c5; color-scheme:dark; }
html[data-mp-contrast="true"] { --mp-bg:#000; --mp-fg:#fff; --mp-link:#ffeb63; --mp-border:#fff; color-scheme:dark; }
html[data-mp-theme="light"][data-mp-contrast="true"] { --mp-bg:#fff; --mp-fg:#000; --mp-link:#003c95; --mp-border:#000; color-scheme:light; }
html[data-mp-colors="true"],html[data-mp-colors="true"] body { background:var(--mp-bg)!important; color:var(--mp-fg)!important; }
html[data-mp-colors="true"] body *:not(svg):not(svg *):not(img):not(video):not(canvas):not(picture):not(masta-display-preferences) { color:var(--mp-fg)!important; -webkit-text-fill-color:currentColor!important; background-color:var(--mp-bg)!important; background-image:none!important; border-color:var(--mp-border)!important; text-shadow:none!important; box-shadow:none!important; mix-blend-mode:normal!important; }
html[data-mp-colors="true"] a { color:var(--mp-link)!important; text-decoration:underline!important; }
html[data-mp-colors="true"] input::placeholder,html[data-mp-colors="true"] textarea::placeholder { color:var(--mp-fg)!important; opacity:1!important; }
html[data-mp-colors="true"] button,html[data-mp-colors="true"] input,html[data-mp-colors="true"] select,html[data-mp-colors="true"] textarea { border:2px solid var(--mp-border)!important; }
html[data-mp-contrast="true"] body * { text-shadow:none!important; }
html[data-mp-colors="true"] :focus-visible { outline:3px solid var(--mp-link)!important; outline-offset:4px!important; }
html[data-mp-motion="reduce"] *,html[data-mp-motion="reduce"] *::before,html[data-mp-motion="reduce"] *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
html[data-mp-motion="reduce"] .reveal,html[data-mp-motion="reduce"] [data-reveal] { opacity:1!important; transform:none!important; }
html[data-mp-motion="reduce"] #matrix-rain,html[data-mp-motion="reduce"] .matrix-canvas { visibility:hidden!important; }
html[data-mp-scroll="classic"] { overflow-y:scroll!important; scrollbar-gutter:stable; }
html[data-mp-scroll="classic"] * { scrollbar-width:auto!important; scrollbar-color:auto!important; }
html[data-mp-scroll="classic"] ::-webkit-scrollbar { width:16px!important; height:16px!important; display:block!important; }
html[data-mp-scroll="classic"] ::-webkit-scrollbar-track { background:#e8edf2!important; }
html[data-mp-scroll="classic"] ::-webkit-scrollbar-thumb { background:#596775!important; border:3px solid #e8edf2!important; border-radius:8px!important; }
@media(prefers-reduced-motion:reduce) { html:not([data-mp-motion="full"]) { scroll-behavior:auto; } }
html[data-mp-size]:not([data-mp-size="100"]) :is(h1,h2,h3,h4,h5,h6,p,a,span,li,dt,dd,label,button,summary,blockquote) { overflow-wrap:anywhere; hyphens:auto; }
