/* Independent CryptoBound relationship status icons (no stuff_hd sprite). */
.relationshipIcon,
.relationshipIconE,
.relationshipIconM,
.HD .relationshipIcon,
.HD .relationshipIconE,
.HD .relationshipIconM {
    display: inline-block;
    position: relative;
    top: 5px;
    width: 24px;
    height: 20px;
    box-sizing: border-box;
    background-color: transparent !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 24px 24px !important;
    filter: drop-shadow(0 0 4px rgba(69, 225, 255, .82));
    vertical-align: baseline;
}

.relationshipIcon,
.HD .relationshipIcon {
    background-image: url('/static/images/relationship_icons/relationship-couple.png') !important;
}

.relationshipIconE,
.HD .relationshipIconE {
    background-image: url('/static/images/relationship_icons/relationship-engaged.png') !important;
    filter: drop-shadow(0 0 4px rgba(190, 93, 255, .84));
}

.relationshipIconM,
.HD .relationshipIconM {
    background-image: url('/static/images/relationship_icons/relationship-married.png') !important;
    filter: drop-shadow(0 0 4px rgba(255, 215, 82, .84));
}

/* Room identity alignment: keep the enlarged relationship badge clear of the
   country/rank cluster while leaving the full name plate readable above the avatar. */
.playerInRoom .roomPlayerName {
    top: 5px !important;
}

.playerInRoom.SideA .roomPlayerName {
    left: -8px !important;
}

.playerInRoom.SideB .roomPlayerName {
    left: 2px !important;
}

.playerInRoom .roomPlayerName > .relationshipIcon,
.playerInRoom .roomPlayerName > .relationshipIconE,
.playerInRoom .roomPlayerName > .relationshipIconM {
    left: -4px;
}

/* Married ring gets a little more visual weight without moving the identity
   cluster or changing the couple/engagement badges. */
.playerInRoom .roomPlayerName > .relationshipIconM {
    left: -1px;
    background-size: 27px 27px !important;
}

@media (min-resolution: 1.5dppx) {
    .relationshipIcon,
    .relationshipIconE,
    .relationshipIconM {
        image-rendering: auto;
    }
}
