/* ===== "Display" options (assets/js/easy.js): text size, high contrast, calm mode ===== */
.easy-btn{order:3;flex:none;width:40px;height:40px;border-radius:50%;border:1px solid var(--line-2);background:transparent;color:var(--plum);
  display:grid;place-items:center;cursor:pointer;font-family:var(--serif);font-weight:600;font-size:1.05rem;line-height:1;transition:background .2s,border-color .2s;margin-right:-4px}
.easy-btn small{font-size:.72em;margin-left:1px}
.easy-btn:hover,.easy-btn[aria-expanded=true]{background:var(--blush)}
.easy-btn.on{border-color:var(--gold);box-shadow:0 0 0 2px rgba(201,164,92,.25)}
.easy-btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
html[data-theme=dark] .easy-btn{color:var(--gold-3,#ecd49a)}
.easy-panel{position:fixed;z-index:120;padding:14px 16px 12px;border-radius:20px;background:var(--ivory,#fffdf8);border:1px solid rgba(201,164,92,.5);
  box-shadow:0 24px 60px rgba(43,30,12,.22);font-family:var(--sans);color:var(--ink);opacity:0;transform:translateY(-6px);transition:opacity .2s,transform .25s}
.easy-panel.in{opacity:1;transform:none}
.easy-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.easy-h strong{font-family:var(--serif);font-size:1.3rem;font-weight:600}
.easy-x{border:0;background:none;font-size:1.4rem;line-height:1;color:var(--muted);cursor:pointer;width:32px;height:32px;border-radius:50%}
.easy-x:hover{background:var(--blush)}
.easy-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.easy-row>span{font-size:.92rem;font-weight:500;display:flex;flex-direction:column}
.easy-row small{font-size:.74rem;font-weight:400;color:var(--muted)}
.easy-seg{display:flex;border:1px solid var(--line-2);border-radius:999px;overflow:hidden}
.easy-seg button{border:0;background:transparent;width:42px;height:34px;font-family:var(--serif);font-weight:600;color:var(--plum);cursor:pointer}
.easy-seg button+button{border-left:1px solid var(--line-2)}
.easy-seg button.on{background:var(--metal);color:#21180e}
.easy-sw{flex:none;width:48px;height:28px;border-radius:999px;border:1px solid var(--line-2);background:var(--blush);position:relative;cursor:pointer;transition:background .2s}
.easy-sw i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.easy-sw.on{background:var(--gold-2,#9f7a36);border-color:var(--gold-2,#9f7a36)}
.easy-sw.on i{transform:translateX(20px)}
.easy-seg button:focus-visible,.easy-sw:focus-visible,.easy-reset:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.easy-f{display:flex;justify-content:space-between;align-items:center;padding-top:10px;border-top:1px solid var(--line)}
.easy-reset{border:0;background:none;padding:0;font:500 .85rem var(--sans);color:var(--plum);text-decoration:underline;cursor:pointer}
.easy-f small{font-size:.72rem;color:var(--muted)}
html[data-theme=dark] .easy-panel{background:#17120b;border-color:rgba(201,164,92,.4);color:#f2e2bf}
html[data-theme=dark] .easy-seg button,html[data-theme=dark] .easy-reset{color:#f2e2bf}
html[data-theme=dark] .easy-sw{background:#2a2216}

/* text size: the page content (not the header or the floating buttons) is scaled and re-flows to fit */
html.easy-lg main,html.easy-lg .site-footer{zoom:1.12}
html.easy-xl main,html.easy-xl .site-footer{zoom:1.25}
html.easy-lg .sc-panel,html.easy-lg .easy-panel{zoom:1.08}
html.easy-xl .sc-panel,html.easy-xl .easy-panel{zoom:1.15}

/* high contrast: darker text colours and stronger lines through the theme variables (each surface keeps its own contrast),
   underlined links in the content, a solid focus ring */
html.easy-hc{--ink:#120e08;--plum:#1a140c;--plum-2:#3a2c18;--muted:#43372a;--line:#b9a47a;--line-2:#9c8556;--gold-2:#6e521d;--plum-3:#5a4220}
html.easy-hc main a:not(.btn):not(.chip):not(.card):not(.pick):not(.sc-link):not([class*=tab]){text-decoration:underline;text-underline-offset:3px}
html.easy-hc .menu-item .desc,html.easy-hc .section-head p,html.easy-hc .card p{opacity:1}
html.easy-hc :focus-visible{outline:3px solid currentColor!important;outline-offset:2px!important}
html.easy-hc[data-theme=dark]{--ink:#fffaf0;--plum:#fff3d6;--plum-2:#f5dca4;--muted:#e8dcc2;--line:#7a6440;--line-2:#9c8556;--gold-3:#ffe6a8;--plum-3:#f0cf86}

/* calm: no motion, no video, no sparkles – everything still works */
html.easy-calm *,html.easy-calm *::before,html.easy-calm *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:.001ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
html.easy-calm .fx-sky,html.easy-calm .fx-spark,html.easy-calm .lx-glow,html.easy-calm .lx-veil,html.easy-calm .lx-hero video{display:none!important}
html.easy-calm .reveal{opacity:1!important;transform:none!important}
html.easy-calm .marquee *{animation:none!important}

@media (max-width:980px){.easy-btn{width:38px;height:38px;margin-right:-6px}}
@media (min-width:981px) and (max-width:1200px){.easy-btn{width:36px;height:36px;font-size:.98rem}}
@media print{.easy-btn,.easy-panel{display:none!important}}
