/* Рамки аватара — демонические и тёмные (души) */

.bt-user-icon {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    line-height: 1;
    flex-shrink: 0;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 3px rgba(0, 0, 0, 0.55));
}

.bt-avatar-frame {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    line-height: 0;
    vertical-align: middle;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
}

.bt-avatar-frame__img,
.bt-avatar-frame .chat_img,
.bt-avatar-frame .avatarprofile,
.bt-avatar-frame .avatarprofile_friend,
.bt-avatar-frame .last_online,
.bt-avatar-frame .top_donators__avatar {
    position: relative !important;
    bottom: auto !important;
    float: none !important;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    background: #1a1a1a;
}

.bt-avatar-frame--chat {
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 40px;
    height: 40px;
    padding: 3px;
}

.bt-avatar-frame--chat .chat_img,
.bt-avatar-frame--chat .bt-avatar-frame__img {
    width: 34px !important;
    height: 34px !important;
    margin: 0 auto;
}

/* Clan HQ message avatars — keep in-flow next to the message */
.bt-avatar-frame--clan-msg {
    position: relative;
    bottom: auto;
    left: auto;
    width: 40px;
    height: 40px;
    padding: 2px;
}

/* Карточка профиля / форума — 58px как avatarprofile */
.bt-avatar-frame--profile-card {
    padding: 3px;
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.bt-avatar-frame--profile-card .avatarprofile,
.bt-avatar-frame--profile-card .bt-avatar-frame__img {
    width: 58px !important;
    height: 58px !important;
    border-radius: 13px !important;
}

/* Топ донатеров — 34px */
.bt-avatar-frame--donator {
    padding: 2px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.bt-avatar-frame--donator .top_donators__avatar,
.bt-avatar-frame--donator .bt-avatar-frame__img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
}

/* Большой предпросмотр (настройки) */
.bt-avatar-frame--profile {
    padding: 5px;
    width: 148px;
    height: 148px;
}

.bt-avatar-frame--profile .avatarprofile,
.bt-avatar-frame--profile .bt-avatar-frame__img {
    width: 138px !important;
    height: 138px !important;
}

.bt-avatar-frame--friend {
    padding: 3px;
    width: 52px;
    height: 52px;
}

.bt-avatar-frame--friend .avatarprofile_friend,
.bt-avatar-frame--friend .bt-avatar-frame__img {
    width: 46px !important;
    height: 46px !important;
}

.bt-avatar-frame--sm {
    padding: 2px;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    overflow: hidden;
}

.bt-avatar-frame--sm .last_online,
.bt-avatar-frame--sm .bt-avatar-frame__img {
    width: 34px !important;
    height: 34px !important;
}

/* Список диалогов (сообщения) */
.bt-avatar-frame--dialog {
    flex-shrink: 0;
    width: 40px !important;
    height: 40px !important;
    padding: 2px;
}

.bt-avatar-frame--dialog .bt-avatar-frame__img {
    width: 36px !important;
    height: 36px !important;
}

/* Список друзей в сообщениях */
.bt-avatar-frame--companion {
    flex-shrink: 0;
    width: 41px !important;
    height: 41px !important;
    padding: 2px;
}

.bt-avatar-frame--companion .bt-avatar-frame__img {
    width: 37px !important;
    height: 37px !important;
}

/* Уведомления: аватар в тексте без квадратной подложки */
.noty-block .logo_notifications {
    display: none !important;
}

.noty-block .notification_collapse {
    flex: 1;
    min-width: 0;
}

.noty-block .small_us_av {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover;
    vertical-align: middle;
    margin: 0 10px 0 0;
    float: left;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#place_for_messages .dialog > .bt-dialog-link,
#place_for_messages .dialog > div:first-child.bt-dialog-link,
#place_for_messages .dialog > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    float: none !important;
}

#place_for_messages .dialog > .bt-dialog-link .bt-avatar-frame,
#place_for_messages .dialog > div:first-child .bt-avatar-frame {
    float: none !important;
    margin: 0 !important;
    position: static !important;
}

#place_for_messages .dialog > .bt-dialog-link .bt-avatar-frame__img,
#place_for_messages .dialog > div:first-child img {
    float: none !important;
    margin: 0 !important;
    position: static !important;
}

#place_for_messages .dialog .bt-dialog-link__meta,
#place_for_messages .dialog > div:first-child > div {
    float: none !important;
    width: auto !important;
    flex: 1;
    min-width: 0;
}

#companions .bt-companion-link,
#companions a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

#companions .bt-companion-link .bt-avatar-frame,
#companions a > .bt-avatar-frame {
    float: none !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
}

#companions .bt-companion-link .bt-avatar-frame__img,
#companions a img {
    float: none !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
}

#companions .bt-companion-link__meta,
#companions a > div {
    display: flex;
    flex-direction: column;
    float: none !important;
    width: auto !important;
    flex: 1;
    min-width: 0;
    position: static !important;
    top: auto !important;
}

.bt-avatar-frame--preview {
    padding: 4px;
    width: 96px;
    height: 96px;
}

.bt-avatar-frame--preview .bt-avatar-frame__img {
    width: 88px !important;
    height: 88px !important;
}

.bt-avatar-frame::before,
.bt-avatar-frame::after {
    pointer-events: none;
    z-index: 3;
}

/* === Демон: Кровь === */
.bt-avatar-frame-frame_demon_blood {
    background: linear-gradient(135deg, #450a0a, #991b1b, #dc2626, #7f1d1d);
    background-size: 300% 300%;
    animation: bt-frame-blood-flow 2.8s linear infinite;
    box-shadow: 0 0 14px rgba(220, 38, 38, 0.65), inset 0 0 8px rgba(69, 10, 10, 0.8);
}

.bt-avatar-frame-frame_demon_blood::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px dashed rgba(248, 113, 113, 0.45);
    animation: bt-frame-spin 8s linear infinite;
}

/* === Демон: Ад === */
.bt-avatar-frame-frame_demon_hell {
    background: linear-gradient(180deg, #1c1917, #ea580c, #fbbf24, #7f1d1d);
    background-size: 100% 220%;
    animation: bt-frame-hell-rise 1.6s ease-in-out infinite alternate;
    box-shadow: 0 0 16px rgba(234, 88, 12, 0.7);
}

.bt-avatar-frame-frame_demon_hell::before {
    content: '▲';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: #fb923c;
    animation: bt-frame-ember 1.2s ease-in-out infinite alternate;
}

/* === Демон: Проклятие === */
.bt-avatar-frame-frame_demon_curse {
    background: linear-gradient(45deg, #581c87, #dc2626, #0f0f0f, #7e22ce);
    background-size: 400% 400%;
    animation: bt-frame-curse-shift 2.4s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(126, 34, 206, 0.55);
}

.bt-avatar-frame-frame_demon_curse::after {
    content: '☠';
    position: absolute;
    top: -4px;
    right: -2px;
    font-size: 10px;
    opacity: 0.75;
    animation: bt-frame-float 2.5s ease-in-out infinite;
}

/* === Демон: Пустота === */
.bt-avatar-frame-frame_demon_void {
    background: linear-gradient(90deg, #0f172a, #14532d, #22c55e, #064e3b);
    background-size: 300% 100%;
    animation: bt-frame-blood-flow 3.6s linear infinite;
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.45);
}

.bt-avatar-frame-frame_demon_void::before {
    content: '◎';
    position: absolute;
    bottom: 0;
    right: -3px;
    font-size: 9px;
    color: #4ade80;
    opacity: 0.7;
    animation: bt-frame-void-pulse 2s ease-in-out infinite;
}

/* === Демон: Бездна === */
.bt-avatar-frame-frame_demon_abyss {
    background: linear-gradient(90deg, #1e1b4b, #4c1d95, #7c3aed, #312e81);
    background-size: 320% 100%;
    animation: bt-frame-blood-flow 3.2s linear infinite;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.6);
}

.bt-avatar-frame-frame_demon_abyss::after {
    content: '◆';
    position: absolute;
    top: -3px;
    left: -2px;
    font-size: 8px;
    color: #c4b5fd;
    animation: bt-frame-float 2.8s ease-in-out infinite reverse;
}

/* === Души: Призрак === */
.bt-avatar-frame-frame_soul_wisp {
    background: radial-gradient(circle at 30% 30%, #e2e8f0, #64748b 45%, #0f172a 100%);
    box-shadow: 0 0 18px rgba(226, 232, 240, 0.35), inset 0 0 10px rgba(15, 23, 42, 0.9);
    animation: bt-frame-soul-glow 3s ease-in-out infinite alternate;
}

.bt-avatar-frame-frame_soul_wisp::before,
.bt-avatar-frame-frame_soul_wisp::after {
    content: '◌';
    position: absolute;
    font-size: 9px;
    color: rgba(226, 232, 240, 0.55);
    animation: bt-frame-soul-orbit 4s linear infinite;
}

.bt-avatar-frame-frame_soul_wisp::before { top: -6px; left: 8px; }
.bt-avatar-frame-frame_soul_wisp::after { bottom: -4px; right: 6px; animation-delay: -2s; }

/* === Души: Тень === */
.bt-avatar-frame-frame_soul_shadow {
    background: linear-gradient(145deg, #020617, #1e293b, #000000);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.95), 0 0 8px rgba(51, 65, 85, 0.8);
}

.bt-avatar-frame-frame_soul_shadow::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 55%, rgba(15, 23, 42, 0.9) 100%);
    animation: bt-frame-shadow-pulse 2.5s ease-in-out infinite;
}

/* === Души: Угли === */
.bt-avatar-frame-frame_soul_ember {
    background: linear-gradient(160deg, #171717, #44403c, #292524);
    box-shadow: 0 0 12px rgba(251, 146, 60, 0.35);
}

.bt-avatar-frame-frame_soul_ember::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(251, 146, 60, 0.8);
    border-bottom-color: rgba(120, 53, 15, 0.6);
    animation: bt-frame-spin 3s linear infinite;
}

/* === Души: Жнец === */
.bt-avatar-frame-frame_soul_reaper {
    background: linear-gradient(135deg, #09090b, #27272a, #52525b, #09090b);
    background-size: 250% 250%;
    animation: bt-frame-curse-shift 4s ease-in-out infinite;
    box-shadow: 0 0 14px rgba(161, 161, 170, 0.35);
}

.bt-avatar-frame-frame_soul_reaper::before {
    content: '†';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #a1a1aa;
    opacity: 0.85;
}

/* === Души: Бездна душ === */
.bt-avatar-frame-frame_soul_abyss {
    background: radial-gradient(circle, #312e81 0%, #0f172a 55%, #020617 100%);
    box-shadow: 0 0 20px rgba(49, 46, 129, 0.55);
    animation: bt-frame-soul-glow 2.2s ease-in-out infinite alternate;
}

.bt-avatar-frame-frame_soul_abyss::before,
.bt-avatar-frame-frame_soul_abyss::after {
    content: '●';
    position: absolute;
    font-size: 5px;
    color: #818cf8;
    opacity: 0.8;
    animation: bt-frame-soul-orbit 5s linear infinite;
}

.bt-avatar-frame-frame_soul_abyss::before { top: 2px; right: -2px; }
.bt-avatar-frame-frame_soul_abyss::after { bottom: 4px; left: 0; animation-delay: -2.5s; color: #6366f1; }

@keyframes bt-frame-blood-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

@keyframes bt-frame-hell-rise {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

@keyframes bt-frame-curse-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bt-frame-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bt-frame-float {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-4px); opacity: 1; }
}

@keyframes bt-frame-ember {
    from { opacity: 0.4; transform: translateX(-50%) translateY(2px); }
    to { opacity: 1; transform: translateX(-50%) translateY(-3px); }
}

@keyframes bt-frame-void-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes bt-frame-soul-glow {
    from { filter: brightness(0.95); }
    to { filter: brightness(1.15); }
}

@keyframes bt-frame-soul-orbit {
    0% { transform: rotate(0deg) translateX(4px) rotate(0deg); opacity: 0.35; }
    50% { opacity: 0.9; }
    100% { transform: rotate(360deg) translateX(4px) rotate(-360deg); opacity: 0.35; }
}

@keyframes bt-frame-shadow-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.frame-preset-card {
    cursor: pointer;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: #1a1a1a;
    transition: border-color 0.2s, transform 0.2s;
}

.frame-preset-card:hover,
.frame-preset-card.selected {
    border-color: #a778ff;
    transform: translateY(-2px);
}

.frame-preset-card span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #ccc;
}

/* Контекстные правки */
.block_fbrs > .bt-avatar-frame,
.block_fbrs_forum > div > a > .bt-avatar-frame,
.block_fbrs_forum .bt-avatar-frame {
    flex-shrink: 0;
}

.top_donators .bt-avatar-frame {
    flex-shrink: 0;
}

.top_donators img.top_donators__avatar,
.top_donators .bt-avatar-frame-empty.bt-avatar-frame--donator img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    object-fit: cover;
}

/* Sidebar: мини-профиль */
.bt-avatar-frame--sidebar-nav {
    padding: 2px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
}

.bt-avatar-frame--sidebar-nav .img_navigation,
.bt-avatar-frame--sidebar-nav .bt-avatar-frame__img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
}

.photo_profile .bt-avatar-frame {
    flex-shrink: 0;
}

.name_sidebar .nick-effect,
.name_sidebar .bt-user-icon {
    vertical-align: middle;
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 3px rgba(0, 0, 0, 0.55));
}

/* Sidebar: команда проекта */
.bt-avatar-frame--sidebar {
    padding: 3px;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
}

.bt-avatar-frame--sidebar .sidebar_team_av,
.bt-avatar-frame--sidebar .bt-avatar-frame__img {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
}

.sidebar-team-wrap {
    display: block !important;
}

.sidebar-team-member {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.sidebar-team-member:last-child {
    margin-bottom: 5px;
}

.sidebar-team-member__avatar {
    flex: 0 0 auto;
    margin-right: 12px;
    line-height: 0;
}

.sidebar-team-member__info {
    flex: 1;
    min-width: 0;
}

.sidebar-team-member__role {
    font-weight: bold;
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1.3;
}

.sidebar-team-member__login {
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    display: inline-block;
    max-width: 100%;
    overflow: visible;
}

.sidebar-team-member__login .nick-effect {
    max-width: 100%;
}

/* События проекта */
#events .event {
    overflow: visible !important;
    min-height: 90px;
    height: auto !important;
    align-items: center !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

#events .event > a.event-user-link:not(.btn),
#events .event > a.event-user-link {
    background: transparent !important;
    line-height: 0 !important;
    box-shadow: none !important;
    border: none !important;
    min-height: 0 !important;
    height: auto !important;
}

#events .event > a.event-user-link:not(.btn) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
    margin: 0 10px 0 0 !important;
    float: none !important;
    width: auto !important;
    min-width: 38px;
    background: transparent !important;
    font-weight: normal !important;
    flex-shrink: 0;
}

#events .event > a.event-user-link:not(.btn) img,
#events .event > a.event-user-link .bt-avatar-frame__img {
    float: none !important;
    margin: 0 !important;
    display: block !important;
}

#events .event > a.event-go:not(.btn) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 0 0 8px !important;
    float: none !important;
    width: auto !important;
    min-width: 28px;
    flex-shrink: 0;
    background: transparent !important;
}

#events .event > div.event-body,
#events .event > .event-body {
    position: relative !important;
    float: none !important;
    height: auto !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
}

.bt-avatar-frame--event {
    padding: 2px;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden !important;
    position: relative;
    box-shadow: none !important;
    background-clip: padding-box;
}

.bt-avatar-frame--event::before,
.bt-avatar-frame--event::after {
    display: none !important;
}

.bt-avatar-frame--event[class*="bt-avatar-frame-frame_"] {
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.35) !important;
}

#events .bt-avatar-frame[class*="bt-avatar-frame-frame_"] {
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.35) !important;
}

#events .bt-avatar-frame::before,
#events .bt-avatar-frame::after {
    display: none !important;
}

.bt-avatar-frame--event .avatar_event,
.bt-avatar-frame--event .bt-avatar-frame__img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    object-fit: cover;
    background: transparent !important;
}

.noty-block .bt-avatar-frame,
.noty-block .bt-avatar-frame--sm {
    overflow: hidden !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    vertical-align: middle;
    margin-right: 8px;
}

.noty-block .bt-avatar-frame::before,
.noty-block .bt-avatar-frame::after {
    display: none !important;
}

.noty-block .bt-avatar-frame[class*="bt-avatar-frame-frame_"] {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.35) !important;
}

.bt-avatar-frame-empty.bt-avatar-frame--event {
    overflow: hidden;
}

#events .event-user-link {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    line-height: 0;
}

#events .event-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0 !important;
    margin-left: 0 !important;
    width: auto !important;
    float: none !important;
}

#events .event-author-line {
    margin-bottom: 4px;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
}

#events .event-author-line a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
}

#events .event_content {
    font-size: 10.1px;
    line-height: 1.35;
    color: #939393;
}

#events .event-date {
    font-size: 10px;
    margin-top: 5px;
    font-weight: normal;
}

#events .event-go {
    flex: 0 0 auto;
    margin-left: 8px;
}

#events .event .nick-effect,
#events .event .bt-user-icon {
    vertical-align: middle;
}

#events .event .bt-user-icon {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 3px rgba(0, 0, 0, 0.55));
}

/* Админы / випы — отдельная сетка без legacy with-description */
.table-adaptive .table-row.bt-admin-row {
    overflow: hidden;
    padding: 0 !important;
    margin-bottom: 9px;
}

.table-adaptive .table-row.bt-admin-row > .row {
    display: none !important;
}

.bt-admin-row-inner {
    display: grid;
    grid-template-columns: minmax(72px, 1fr) minmax(0, 2fr) minmax(0, 2fr) minmax(88px, auto);
    gap: 6px 10px;
    align-items: center;
    padding: 10px 12px;
    min-height: 62px;
    width: 100%;
    box-sizing: border-box;
}

.bt-admin-cell {
    min-width: 0;
    overflow: hidden;
}

.bt-admin-cell--status {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bt-admin-status-icon {
    flex: 0 0 auto;
    color: #939393;
    font-size: 13px;
    border-radius: 8px;
    background: #2a2a2b;
    padding: 8px;
    line-height: 1;
    margin-top: 2px;
}

.bt-admin-status-wrap {
    min-width: 0;
}

.bt-admin-status-text {
    color: #939393;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.25;
}

.bt-admin-status-label {
    color: #6c6e81;
    font-size: 10.5px;
    margin-top: 3px;
    line-height: 1.2;
}

.bt-admin-cell--user {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.bt-admin-user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
}

.bt-admin-user-link--empty {
    cursor: default;
}

.bt-admin-user-fallback-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bt-admin-user-name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: #e1e3e6;
    word-break: break-word;
}

.bt-admin-user-name .nick-effect {
    max-width: 100%;
}

.bt-admin-user-role {
    font-size: 10.5px;
    font-weight: 700;
    color: #939393;
    line-height: 1.2;
    padding-left: 40px;
}

.bt-admin-server-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #e1e3e6;
    min-width: 0;
}

.bt-admin-server-line span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-admin-cell--services {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bt-admin-services-icon {
    flex: 0 0 auto;
    color: #939393;
    font-size: 13px;
    margin-top: 4px;
}

.bt-admin-services-wrap {
    min-width: 0;
    flex: 1;
}

.bt-admin-services-text {
    color: #e1e3e6;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.bt-admin-services-label {
    color: #939393;
    font-size: 10.5px;
    font-weight: 700;
    margin-top: 3px;
    line-height: 1.2;
}

.bt-admin-cell--action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.bt-admin-cell--action .button_admins {
    margin: 0 !important;
    height: 36px;
    padding: 0 14px;
    font-size: 11px;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

.bt-avatar-frame--admin {
    padding: 2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.bt-avatar-frame--admin .bt-avatar-frame__img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.bt-avatar-frame--admin::before,
.bt-avatar-frame--admin::after {
    font-size: 7px !important;
}

.bt-avatar-frame--admin.bt-avatar-frame-frame_demon_blood::after,
.bt-avatar-frame--admin.bt-avatar-frame-frame_demon_curse::after,
.bt-avatar-frame--admin.bt-avatar-frame-frame_soul_wisp::after {
    inset: 0 !important;
}

@media (max-width: 991.99px) {
    .bt-admin-row-inner {
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
        padding: 12px;
    }

    .bt-admin-cell--action {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .bt-admin-cell--action .button_admins {
        width: 100%;
    }

    .bt-admin-user-role {
        padding-left: 0;
    }
}
