AWBW Power Charge Restyling

Removes power bar animation and adds intuitive colour changes when meter charges

// ==UserScript==
// @name         AWBW Power Charge Restyling
// @namespace    https://greasyfork.org/users/1062240
// @license      MIT
// @version      1.1
// @description  Removes power bar animation and adds intuitive colour changes when meter charges
// @author       Vincent ~ VIH & Tomás Didymus Alexander
// @match        https://awbw.amarriner.com/game.php*
// @icon         https://www.warsworldnews.com/aw/images/icons/power.png
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

document.styleSheets[0].insertRule(".anim-power-bar { animation-iteration-count: 0 !important;}", 0);
// Disable animation

document.styleSheets[0].insertRule(".cop-star.anim-power-bar .power-star-percent { background: rgb(255 79 78 / 60%); border-top: 3px solid rgb(146 50 67 / 90%); border-bottom: 3px solid rgb(146 50 67 / 90%);}", 0);
// COP bar & border colour: rgb(255 79 78 / 60%) & rgb(146 50 67 / 90%)
// https://cdn.discordapp.com/emojis/852953743343616060.webp

document.styleSheets[0].insertRule(".scop-star.anim-power-bar .power-star-percent { background: rgb(157 175 218 / 60%); border-top: 3px solid rgb(55 104 167 / 90%); border-bottom: 3px solid rgb(55 104 167 / 90%);}", 0);
// SCOP bar & border colour: rgb(157 175 218 / 60%) & rgb(55 104 167 / 90%)
// https://cdn.discordapp.com/emojis/852953758857953342.webp

})();