/* Imperia accessibility menu (IS 5568 / WCAG) - self hosted */
.ia-fab{position:fixed;right:1.2rem;bottom:1.2rem;z-index:2147483000;width:46px;height:46px;border-radius:50%;border:1px solid #d4af37;background:#0b0b0bdd;color:#f5d98a;display:grid;place-items:center;cursor:pointer;padding:0;box-shadow:0 0 0 3px #0b0b0b,0 0 0 4px #d4af3740,0 8px 22px #000a;backdrop-filter:blur(6px);transition:transform .2s,box-shadow .2s}
.ia-fab:hover{transform:translateY(-2px);box-shadow:0 0 0 3px #0b0b0b,0 0 0 4px #d4af3799,0 10px 26px #000c}
.ia-fab svg{width:26px;height:26px}
@media(max-width:800px){.ia-fab{bottom:5.2rem;right:1rem;width:44px;height:44px}}
.ia-panel{position:fixed;right:1.2rem;bottom:4.6rem;z-index:2147483001;width:min(320px,calc(100vw - 2rem));max-height:calc(100vh - 7rem);overflow:auto;background:linear-gradient(170deg,#15110a,#0a0a0a 60%);color:#f3efe6;border:1px solid #d4af3766;border-radius:18px;padding:1rem;box-shadow:0 24px 60px #000d,0 0 40px -18px #d4af37aa;font:16px/1.4 Heebo,Arial,sans-serif;direction:rtl;text-align:right}
@media(max-width:800px){.ia-panel{right:1rem;bottom:8.4rem;max-height:calc(100vh - 10rem)}}
.ia-panel[hidden]{display:none}
.ia-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem;padding-bottom:.6rem;border-bottom:1px solid #d4af3733}
.ia-top h2{margin:0;font:700 1.05rem Heebo,Arial,sans-serif;color:#f5d98a;letter-spacing:.02em}
.ia-panel button,.ia-panel a{font:500 .9rem Heebo,Arial,sans-serif;min-height:44px;border-radius:12px;border:1px solid #d4af3755;background:#ffffff08;color:#f3efe6;cursor:pointer;padding:.35rem .5rem;text-align:center}
.ia-panel button:hover,.ia-panel a:hover{border-color:#d4af37;background:#d4af3714}
.ia-x{width:40px;min-height:40px!important;border-radius:50%!important}
.ia-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.6rem}.ia-row button{flex:1;font-weight:700!important}.ia-row span{min-width:58px;text-align:center;color:#f5d98a;font-weight:700}
.ia-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.6rem}
.ia-panel button[aria-pressed=true]{background:linear-gradient(135deg,#b8892b,#f5d98a);color:#111;border-color:#f5d98a;font-weight:700}
.ia-reset{width:100%;margin-bottom:.5rem}
.ia-st{display:flex;align-items:center;justify-content:center;text-decoration:underline;text-underline-offset:3px;color:#f5d98a!important;border-color:transparent!important;background:none!important}
.ia-panel :focus-visible,.ia-fab:focus-visible{outline:3px solid #f5d98a!important;outline-offset:3px}
/* modes */
html.ia-contrast body{background:#000!important;color:#fff!important}
html.ia-contrast body *:not(.ia-panel):not(.ia-panel *):not(img):not(video):not(canvas):not(svg *){color:#fff!important;text-shadow:none!important;border-color:#fff!important;background-image:none!important}
html.ia-contrast body .gold,html.ia-contrast body a:not(.ia-panel a){color:#ffeb3b!important;-webkit-text-fill-color:#ffeb3b!important}
html.ia-contrast body .btn{background:#000!important;border:2px solid #ffeb3b!important}
html.ia-contrast body .grain,html.ia-contrast body .beam{display:none!important}
html.ia-gray body>*:not(.ia-panel):not(.ia-fab){filter:grayscale(1)}
html.ia-invert body>*:not(.ia-panel):not(.ia-fab){filter:invert(1) hue-rotate(180deg)}
html.ia-invert body img,html.ia-invert body video{filter:invert(1) hue-rotate(180deg)}
html.ia-links a:not(.ia-panel a){text-decoration:underline!important;text-underline-offset:3px;outline:2px dashed #ffeb3b;outline-offset:2px}
html.ia-font body,html.ia-font body *:not(svg *){font-family:Arial,Heebo,sans-serif!important;letter-spacing:.02em!important}
html.ia-still *,html.ia-still *::before,html.ia-still *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.ia-still .reveal{opacity:1!important;transform:none!important}
html.ia-still .intro,html.ia-still .grain{display:none!important}
html.ia-cursor,html.ia-cursor *{cursor:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24"><path d="M4 2l14 10-6 1 4 8-3 1-4-8-5 4z" fill="black" stroke="white" stroke-width="1.5"/></svg>') 4 2,auto!important}
html.ia-focus *:focus{outline:3px solid #f5d98a!important;outline-offset:3px!important;box-shadow:0 0 0 6px #000!important}
