/* Shared by the account page and the game. Text editing/IME stay native. */
html:not([data-block-page-selection="false"]) body,html:not([data-block-page-selection="false"]) body *{-webkit-user-select:none!important;user-select:none!important}
html:not([data-block-page-selection="false"]) body :is(input,textarea,[contenteditable]:not([contenteditable="false"])),html:not([data-block-page-selection="false"]) body [contenteditable]:not([contenteditable="false"]) *{-webkit-user-select:text!important;user-select:text!important}
html:not([data-block-page-selection="false"]) body .chat-invite-code{-webkit-user-select:all!important;user-select:all!important}
html:not([data-block-page-selection="false"]) body :is(img,a,canvas){-webkit-user-drag:none}
html:not([data-game-cursor="false"]),html:not([data-game-cursor="false"]) body,html:not([data-game-cursor="false"]) body *,html:not([data-game-cursor="false"]) body *::before,html:not([data-game-cursor="false"]) body *::after,html:not([data-game-cursor="false"]) dialog::backdrop{cursor:url('./assets/ui/r15/cursor-default.png') 8 8,pointer!important}
body :is(input,textarea,select){color-scheme:dark;caret-color:#f6ead0}
body input:-webkit-autofill,body input:-webkit-autofill:hover,body input:-webkit-autofill:focus,body textarea:-webkit-autofill{-webkit-text-fill-color:#f6ead0!important;caret-color:#f6ead0!important;-webkit-box-shadow:0 0 0 1000px #101010 inset!important;box-shadow:0 0 0 1000px #101010 inset!important}
body input:autofill,body textarea:autofill{color:#f6ead0!important;background-color:#101010!important;box-shadow:0 0 0 1000px #101010 inset!important}
html[data-show-entry-gens="false"] #welcome .entry-slot-gens,html[data-show-stats-gens="false"] #progressionPanel .gens-membership{display:none!important}

/* Attack hover must outrank the global game-hand cursor rule. */
html:not([data-game-cursor="false"]) body #game #world.combat-cursor{cursor:url('./assets/ui/r15/cursor-sword.png') 7 7,pointer!important}
