/* White arc feedback and optional click sound; controls keep their native behavior. */
.ond-electric-layer{position:fixed;inset:0;z-index:2147483646;pointer-events:none!important;overflow:hidden;contain:strict}
.ond-electric-layer *{pointer-events:none!important}
.ond-electric-charge{position:absolute;top:0;left:0;width:35%;height:4px;opacity:0;background:linear-gradient(90deg,transparent,#bdeaff 25%,#fff 65%,#fff);box-shadow:0 1px 14px #bdeaff;transform:translateX(-110%)}
.ond-electric-charging{animation:ond-charge .75s cubic-bezier(.18,.65,.35,1) both}
.ond-electric-burst{position:absolute;display:block;width:108px;height:108px;margin:-54px 0 0 -54px;filter:drop-shadow(0 0 3px #6895b9) drop-shadow(0 0 9px #d5efff);animation:ond-spark .68s ease-out both}
.ond-electric-burst svg{display:block;width:100%;height:100%;overflow:visible}
.ond-electric-bolt{fill:#fff;stroke:#fff;stroke-width:1.5;stroke-linejoin:round}
.ond-electric-arc{fill:none;stroke:#f5fcff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;animation:ond-arc-draw .4s ease-out both}
.ond-electric-active{outline:2px solid #bdeaff!important;outline-offset:4px!important;box-shadow:0 0 10px #bdeaff80!important}
.ond-sound-toggle{position:fixed;right:18px;bottom:22px;z-index:2147483645;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #647891;border-radius:999px;background:#081a30;color:#fff;font:600 13px/1.3 system-ui,sans-serif;letter-spacing:.01em;cursor:pointer;box-shadow:0 5px 20px #05142530;touch-action:manipulation}
.ond-sound-toggle[hidden]{display:none!important}
.ond-sound-toggle:hover{border-color:#fff;background:#102a46}
.ond-sound-toggle:focus-visible{outline:3px solid #75cfff;outline-offset:3px}
.ond-sound-toggle[aria-pressed="false"]{color:#c6d0dc}
button[aria-busy="true"]{position:relative;overflow:hidden;cursor:wait}
button[aria-busy="true"]::after{content:"";position:absolute;left:0;bottom:0;width:45%;height:4px;background:linear-gradient(90deg,transparent,#fff,#d2f1ff);box-shadow:0 0 9px #fff;animation:ond-pending 1.1s ease-in-out infinite;pointer-events:none}
@keyframes ond-charge{0%{opacity:0;transform:translateX(-110%)}15%{opacity:1}85%{opacity:1}100%{opacity:0;transform:translateX(390%)}}
@keyframes ond-spark{0%{opacity:1;transform:scale(.62) rotate(-8deg)}30%{opacity:1;transform:scale(.95) rotate(1deg)}100%{opacity:0;transform:scale(1.15) rotate(4deg)}}
@keyframes ond-arc-draw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes ond-pending{from{transform:translateX(-110%)}to{transform:translateX(330%)}}
@media(max-width:960px){.ond-sound-toggle{right:12px;bottom:calc(86px + env(safe-area-inset-bottom,0px));font-size:12px}}
@media(prefers-reduced-motion:reduce){.ond-electric-layer{display:none}.ond-electric-active{outline-offset:2px!important}button[aria-busy="true"]::after{animation:none;transform:none;width:100%;background:#fff}html{scroll-behavior:auto!important}}
