@layer pokeidle-brand {
html:root body #stage #pokemon-skills-window[data-skills-v2]{display:flex!important;align-items:center!important;gap:6px!important;position:fixed!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;clip-path:none!important;transform:none!important;zoom:1!important;min-width:0!important;min-height:0!important;max-width:calc(100dvw - 16px)!important;max-height:calc(100dvh - 16px)!important;overflow:visible!important;isolation:isolate!important;z-index:12000!important;touch-action:none!important;user-select:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2]::before,html:root body #stage #pokemon-skills-window[data-skills-v2]::after{display:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2]>.skills-bar{display:contents!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] :is(.skills-minimize,.rh-skills-label,.rh-drag-grip,.ui-resize-handle,[data-panel-scale-resize],.move-name,.move-type,.manual-key-badge){display:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] #pokemon-moves{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:100%!important;overflow:auto!important;scrollbar-width:thin!important;scrollbar-color:#46d3ff #07121f!important;flex:0 1 auto!important;padding:0!important;margin:0!important;grid-template-columns:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2][data-skill-dir=v]{flex-direction:column!important}
html:root body #stage #pokemon-skills-window[data-skills-v2][data-skill-dir=v] #pokemon-moves{flex-direction:column!important;max-height:calc(100dvh - 70px)!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .move-slot{position:relative!important;display:grid!important;place-items:center!important;flex:0 0 var(--skill-size,48px)!important;width:var(--skill-size,48px)!important;height:var(--skill-size,48px)!important;min-width:var(--skill-size,48px)!important;min-height:var(--skill-size,48px)!important;max-width:var(--skill-size,48px)!important;max-height:var(--skill-size,48px)!important;padding:0!important;margin:0!important;transform:none!important;clip-path:none!important;border:1.5px solid #46d3ff!important;border-radius:6px!important;background:linear-gradient(180deg,rgba(1,19,36,var(--skill-opacity,.8)),rgba(0,16,31,var(--skill-opacity,.8)))!important;box-shadow:0 0 4px #46d3ff59,0 2px 6px #0008,inset 0 1px 0 #46d3ff2e!important;color:#f1f6fc!important;overflow:hidden!important;cursor:pointer!important;touch-action:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .move-slot[hidden]{display:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .move-slot:before,html:root body #stage #pokemon-skills-window[data-skills-v2] .move-slot:after{display:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2]:not([data-skill-locked]) .move-slot[data-first-skill]:before{content:""!important;display:block!important;position:absolute!important;left:4px!important;bottom:4px!important;width:8px!important;height:8px!important;background:radial-gradient(circle,#cfe8ff 1px,transparent 1.4px) 0 0/4px 4px!important;opacity:.65!important;z-index:4!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .move-slot .move-icon,html:root body #stage #pokemon-skills-window[data-skills-v2] .skill-reference-icon{position:static!important;display:block!important;inset:auto!important;width:84%!important;height:84%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;margin:0!important;transform:none!important;filter:drop-shadow(0 1px 2px #000b)!important;image-rendering:auto!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .skill-reference-icon svg{width:100%;height:100%}
html:root body #stage #pokemon-skills-window[data-skills-v2] .move-slot[data-reference-icon]>.move-icon,html:root body #stage #pokemon-skills-window[data-skills-v2] .move-key{display:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .skill-key{position:absolute!important;top:2px!important;right:4px!important;font:800 10px/1 "Segoe UI",sans-serif!important;color:#46d3ff!important;text-shadow:0 1px 2px #000!important;z-index:4!important}
html:root body #stage #pokemon-skills-window[data-skills-v2][data-hide-skill-keys] .skill-key,html:root body #stage #pokemon-skills-window[data-skills-v2][data-hide-skill-numbers] .cooldown-number{display:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .cooldown-overlay{position:absolute!important;inset:0!important;display:block!important;width:auto!important;height:auto!important;transform:none!important;border-radius:6px!important;background:conic-gradient(#000b var(--skill-cooldown,0deg),transparent 0)!important;pointer-events:none!important;z-index:2!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .cooldown-number{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;font:800 15px/1 "Segoe UI",sans-serif!important;color:white!important;text-shadow:0 1px 3px #000!important;z-index:3!important;background:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .config-button{order:2!important;display:grid!important;place-items:center!important;position:static!important;flex:none!important;width:calc(var(--skill-size,48px)*.66)!important;height:calc(var(--skill-size,48px)*.66)!important;min-width:0!important;min-height:0!important;margin:0 0 0 4px!important;padding:0!important;border:1.5px solid #46d3ff!important;border-radius:50%!important;background:linear-gradient(180deg,rgba(1,19,36,var(--skill-opacity,.8)),rgba(0,16,31,var(--skill-opacity,.8)))!important;color:#46d3ff!important;box-shadow:0 2px 6px #0009!important;transform:none!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .config-button svg{width:74%!important;height:74%!important}
html:root body #stage #pokemon-skills-window[data-skills-v2] .move-tooltip{display:none!important}
html:root body #skillbar-config{position:fixed!important;inset:auto;display:flex;flex-direction:column;width:330px;max-width:calc(100dvw - 16px);max-height:calc(100dvh - 16px);margin:0;padding:0;background:linear-gradient(#183350,#11263d 25%,#07121f);border:2px solid #4fb3ff;border-radius:8px;color:#f1f6fc;box-shadow:0 0 10px #4fb3ff66,0 12px 30px #0009;font:13px/1.4 "Segoe UI",sans-serif;z-index:80000;box-sizing:border-box;pointer-events:auto}
html:root body #skillbar-config[hidden],html:root body #skillbar-config:popover-open[hidden]{display:none!important}
html:root body #skillbar-config *{box-sizing:border-box;font-family:inherit}
html:root body #skillbar-config header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-bottom:1px solid #6fd0ff2e;flex:none}
html:root body #skillbar-config h2{font-size:14px;color:#6fd0ff;margin:0}
html:root body #skillbar-config .sb-body{overflow:auto;overscroll-behavior:contain;min-height:0;padding:8px 12px 12px;scrollbar-color:#4c93c0 #07121f}
html:root body #skillbar-config .sb-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0}
html:root body #skillbar-config button,html:root body #skillbar-config select{padding:5px 8px;color:#d9efff;background:#0a1d30;border:1px solid #2f6fae;border-radius:4px;font-size:12px;cursor:pointer}
html:root body #skillbar-config button[aria-pressed=true]{background:#244d70;border-color:#6fd0ff;color:#fff}
html:root body #skillbar-config .sb-seg{display:flex;gap:3px;flex:none}
html:root body #skillbar-config input{accent-color:#4fb3ff}
html:root body #skillbar-config input[type=range]{width:104px}
html:root body #skillbar-config .sb-order{list-style:none;padding:0;margin:8px 0;display:grid;gap:4px}
html:root body #skillbar-config .sb-order li{display:grid;grid-template-columns:20px 40px minmax(0,1fr) 25px;gap:6px;align-items:center;border:1px solid #2f6fae88;padding:7px;border-radius:4px}
html:root body #skillbar-config .sb-order input{width:18px;height:18px;margin:0}
html:root body #skillbar-config .sb-order b{display:block;font-size:13px;overflow-wrap:anywhere}
html:root body #skillbar-config .sb-order small{display:block;font-size:10px;color:#a9c7df}
html:root body #skillbar-config .sb-move-preview{position:relative;display:grid;place-items:center;width:40px;height:40px;border:1px solid #46d3ff;border-radius:5px;background:#071a2b;overflow:hidden}
html:root body #skillbar-config .sb-move-preview .sb-move-icon{display:block;width:84%;height:84%;object-fit:contain;filter:drop-shadow(0 1px 2px #000b);pointer-events:none}
html:root body #skillbar-config .sb-move-preview .sb-move-icon svg{display:block;width:100%;height:100%}
html:root body #skillbar-config .sb-move-preview em{position:absolute;top:1px;right:2px;z-index:1;font-size:8px!important;line-height:1;text-shadow:0 1px 2px #000,0 0 3px #000}
html:root body #skillbar-config .sb-order em{font:800 10px "Segoe UI",sans-serif;color:#6fd0ff;font-style:normal}
html:root body #skillbar-config .sb-arrows{display:grid;gap:3px}
html:root body #skillbar-config .sb-arrows button{padding:0;width:24px;height:23px;min-height:0}
html:root body #skillbar-config .sb-foot{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
html:root body #skillbar-config .sb-foot button{flex:1 1 auto}
html:root body #skillbar-config .sb-note{font-size:11px;color:#a9c7df;margin:6px 0}
html:root body #skillbar-status{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);z-index:80001;max-width:calc(100vw - 24px);padding:8px 12px;border:1px solid #2f6fae;border-radius:5px;background:#11263d;color:#f1f6fc;font-size:12px;pointer-events:none}
html:root body #skillbar-status:empty{display:none}
html:root body #skillbar-tip{position:fixed;z-index:80001;pointer-events:none;background:#11263df5;color:#edf8ff;border:1px solid #2f6fae;padding:6px 9px;font:12px/1.4 "Segoe UI",sans-serif;max-width:260px;white-space:pre-line}
html:root body #skillbar-tip[hidden]{display:none!important}
}
