/* Independent CryptoBound Player Info actions (no stuff/stuff_hd sprites). */
#playerInfoDialog .playerInfoAction {
    position: absolute;
    top: 269px;
    width: 66px;
    height: 55px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(69, 219, 255, .18);
    border-radius: 9px;
    background-color: rgba(1, 14, 34, .28);
    background-position: center -5px;
    background-repeat: no-repeat;
    background-size: 66px 66px;
    cursor: pointer;
    filter: none;
    opacity: 1;
    z-index: 5;
    transition: border-color .16s ease, background-color .16s ease,
        box-shadow .16s ease, transform .12s ease, filter .16s ease;
}

#playerInfoDialog .playerInfoAction span {
    position: absolute;
    left: -5px;
    right: -5px;
    bottom: 2px;
    color: #f4fdff;
    font-size: 10px;
    font-weight: 900;
    line-height: 11px;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 1px #000816, 0 0 7px rgba(57, 230, 255, .95);
    pointer-events: none;
}

#playerInfoDialog .playerInfoAction:hover,
#playerInfoDialog .playerInfoAction:focus-visible {
    border-color: rgba(113, 241, 255, .76);
    background-color: rgba(5, 48, 91, .55);
    box-shadow: inset 0 0 12px rgba(34, 204, 255, .16),
        0 0 10px rgba(33, 213, 255, .48);
    outline: none;
    transform: translateY(-1px);
}

#playerInfoDialog .playerInfoAction:active {
    transform: translateY(1px) scale(.96);
    filter: brightness(.9);
}

#playerInfoDialog #infoGuildInvite {
    left: 105px;
    background-image: url('/static/images/player_info_icons/guild-invite-normal.png') !important;
}

#playerInfoDialog #infoGuildInvite:hover,
#playerInfoDialog #infoGuildInvite:focus-visible {
    background-image: url('/static/images/player_info_icons/guild-invite-hover.png') !important;
}

#playerInfoDialog #infoChat {
    left: 367px;
    background-image: url('/static/images/player_info_icons/chat-normal.png') !important;
}

#playerInfoDialog #infoChat:hover,
#playerInfoDialog #infoChat:focus-visible {
    background-image: url('/static/images/player_info_icons/chat-hover.png') !important;
}

#playerInfoDialog #infoClose {
    left: 425px;
    background-image: url('/static/images/player_info_icons/close-normal.png') !important;
}

#playerInfoDialog #infoClose:hover,
#playerInfoDialog #infoClose:focus-visible {
    background-image: url('/static/images/player_info_icons/close-hover.png') !important;
}

#playerInfoDialog .playerInfoAction.disabled,
#playerInfoDialog .playerInfoAction[aria-disabled="true"] {
    cursor: default;
    pointer-events: none;
    border-color: rgba(104, 139, 156, .15);
    background-color: rgba(3, 11, 23, .3);
    box-shadow: none;
}

#playerInfoDialog #infoGuildInvite.disabled,
#playerInfoDialog #infoGuildInvite[aria-disabled="true"] {
    background-image: url('/static/images/player_info_icons/guild-invite-disabled.png') !important;
}

#playerInfoDialog #infoChat.disabled,
#playerInfoDialog #infoChat[aria-disabled="true"] {
    background-image: url('/static/images/player_info_icons/chat-disabled.png') !important;
}

#playerInfoDialog #infoClose.disabled,
#playerInfoDialog #infoClose[aria-disabled="true"] {
    background-image: url('/static/images/player_info_icons/close-disabled.png') !important;
}

@media (max-width: 700px), (max-height: 520px) {
    #playerInfoDialog .playerInfoAction {
        /* The complete game surface is scaled on compact screens; keep the
           hit targets legible without changing their anchored coordinates. */
        min-width: 44px;
        min-height: 44px;
    }
}
