

/* Кастомизация аватарки ученика с бейджем "Резидент клуба" */

.user-answer:has(.title img[title="Резидент клуба"]) > .user-image,
.comment:has(.title img[title="Резидент клуба"]) .user-image-wrapper
{
    position: relative;
    display: inline-block;
    padding: 3px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffd700, #ff8c00 50%, #ffd700);
    box-shadow: 0 0 0 2px #fff, 0 0 12px rgba(255, 165, 0, .3);
    transition: box-shadow .25s ease, transform .25s ease;
}
.comment:has(.title img[title="Резидент клуба"]) .user-image-wrapper
{
    box-shadow: 0 0 0 2px #fff, 0 0 6px rgba(255, 165, 0, .3);
}
.user-answer:has(.title img[title="Резидент клуба"]) > .user-image:hover,
.comment:has(.title img[title="Резидент клуба"]) .user-image-wrapper:hover
{
    box-shadow: 0 0 0 2px #fff, 0 0 12px rgba(255, 165, 0, .9);
    transform: translateY(-1px);
}
.comment:has(.title img[title="Резидент клуба"]) .user-image-wrapper:hover
{
    box-shadow: 0 0 0 2px #fff, 0 0 6px rgba(255, 165, 0, .9);
}
.user-answer:has(.title img[title="Резидент клуба"]) > .user-image img,
.comment:has(.title img[title="Резидент клуба"]) .user-image-wrapper img
{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 13px;
    object-fit: cover;
}

.user-answer:has(.title img[title="Резидент клуба"]) > .user-image::after,
.comment:has(.title img[title="Резидент клуба"]) .user-image-wrapper::after
{
    content: "★";
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 16px;
    height: 16px;
    display: grid;
    /* place-items: center; */
    text-align:center;
    font-size: 12px;
    line-height:14px;
    padding-left:.5px;
    color: #fff;
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    outline: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    pointer-events: none;
}


