/* Insel Oeconomia – Barrierefreiheit (Einstellungen → Schriftgröße, Bewegungen reduzieren, mehr Kontrast)
   Wird von der Plattform geladen UND ins Spiel eingehängt (nach theme-v2.css, damit es Vorrang hat). */

/* ---------- Schriftgröße: fast alles ist in rem/em, nur der Fließtext in px → den Fließtext mitwachsen lassen ---------- */
html[data-fs="1"]{font-size:112.5%}
html[data-fs="2"]{font-size:125%}
html[data-fs] body{font-size:1.0625rem}

/* ---------- Bewegungen reduzieren (wie die Systemeinstellung „Bewegung reduzieren“) ---------- */
html.a11y-calm *,html.a11y-calm *::before,html.a11y-calm *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
html.a11y-calm .figbox,html.a11y-calm .ifig,html.a11y-calm .rv-card,html.a11y-calm .motc.daily{animation:none!important}
html.a11y-calm .ccard,html.a11y-calm .avcard,html.a11y-calm .foecard{transform:none!important}

/* ---------- Mehr Kontrast ---------- */
:root.a11y-contrast{--ink:#000;--ink-2:#2B2550;--line:#8F86B8;--edge:#6F6699;--brand:#4A2FD6;--brand-2:#3A22B8}
@media (prefers-color-scheme: dark){ :root.a11y-contrast:not([data-theme="light"]){--ink:#fff;--ink-2:#E6E1FF;--line:#8A7FD0;--edge:#000;--brand:#C2B5FF;--brand-2:#D4CBFF} }
:root.a11y-contrast[data-theme="dark"]{--ink:#fff;--ink-2:#E6E1FF;--line:#8A7FD0;--edge:#000;--brand:#C2B5FF;--brand-2:#D4CBFF}
html.a11y-contrast :focus-visible{outline:3px solid var(--ink)!important;outline-offset:2px}
html.a11y-contrast main a:not(.btn):not(.tile):not(.row-link):not(.motc):not(.lm-st){text-decoration:underline;text-underline-offset:.15em}
html.a11y-contrast .muted,html.a11y-contrast .small.muted{color:var(--ink-2)!important}

/* ---------- Einstellungsseite der Plattform ---------- */
.setpage .setlist{margin-top:.6rem}
.setpage .setrow .seg .sb[aria-pressed="true"]{outline:2px solid var(--brand);outline-offset:1px}
.setpage .seg select,.setpage .setctl input{font:inherit;padding:.4rem .6rem;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}
.setpage .setrow{flex-wrap:wrap}
.setpage .setrow>span:first-child{flex:1 1 12rem;min-width:0}
.setpage .setrow>.seg{flex:0 1 auto;justify-content:flex-end;min-width:0;max-width:100%}
.setpage .setctl{flex:0 1 18rem;min-width:0;max-width:100%}
.setpage .setctl input{display:block;width:100%;box-sizing:border-box}
.setpage .setnote{margin-top:.8rem}
