#vex-core,#vex-panel { color:#faf3ff; font: 500 15px/1.4 system-ui,sans-serif; }
#vex-core[hidden],#vex-panel[hidden],#vex-fx[hidden],.vex-highlight[hidden] { display:none!important }
#vex-core { z-index:1001; position:fixed; inset:calc(env(safe-area-inset-top,0px) + 10px) calc(env(safe-area-inset-right,0px) + 12px) auto auto; display:grid; place-items:center; width:48px; height:46px; padding:0; border-radius:14px; border:1px solid #b884e7; background:#25143e; box-shadow:0 0 18px #a03cf75e; }
#vex-core img { width:40px; height:30px; object-fit:contain; }
#vex-panel { z-index:1000; position:fixed; bottom:calc(12px + env(safe-area-inset-bottom,0px)); right:calc(12px + env(safe-area-inset-right,0px)); width:min(422px,calc(100% - 24px - env(safe-area-inset-right,0px))); display:grid; grid-template-columns:94px 1fr; align-items:center; gap:8px; padding:12px; box-sizing:border-box; max-height:calc(100vh - 110px); max-height:calc(100dvh - 110px); overflow:auto; background:#221432; border:1px solid #9c67cc; border-radius:19px; box-shadow:0 12px 48px #090514c9; }
#vex-panel[data-placement="top"] { bottom:auto; top:calc(env(safe-area-inset-top,0px) + 64px); }
#vex-panel canvas { display:block; width:100%; height:auto; }
#vex-panel h2 { margin:0 0 4px; color:#e7bcff; font-size:16px; }
#vex-panel p { margin:0 0 9px; }
#vex-panel [data-vex-actions] { display:flex; flex-wrap:wrap; gap:6px; }
#vex-panel button { background:#39234f; border:1px solid #a67fc4; border-radius:9px; min-height:44px; color:inherit; padding:5px 9px; font:inherit; font-size:13px; touch-action:manipulation; }
#vex-panel button:first-child { background:#57317b; }
#vex-panel button:disabled { opacity:.52; }
#vex-panel :focus-visible,#vex-core:focus-visible { outline:2px solid #72f4ff; outline-offset:3px; }
#vex-fx,.vex-highlight { z-index:999; position:fixed; pointer-events:none; }
#vex-fx { z-index:1003; inset:0; }
.vex-highlight { border:2px solid #d993ff; border-radius:11px; box-shadow:0 0 14px #d375ffa1; box-sizing:border-box; }
@media (max-width:500px) { #vex-panel { grid-template-columns:67px 1fr; padding:10px; font-size:14px; } }
@media (max-width:350px), (max-height:520px) { #vex-panel { grid-template-columns:49px 1fr; } }
