﻿.plate {
    font-size: 10px;
    text-align: center;
    background-size: cover;
    background-position: center;
    height: 15px;
    line-height: 15px;
    border-radius: 5px;
    overflow: hidden;
    display: inline-block;
    padding: 0px 2px 0px 2px;
}
/****图标铭牌****/
.gf1 {
    color: #fff;
    background-image: url('/res/plate/gf1.png');
    background-size: 55px;
    background-repeat: no-repeat;
    padding-left: 15px;
}

.ldp {
    color: #fff;
    background-image: url('/res/plate/ldp.webp');
    background-size: 55px;
    background-repeat: no-repeat;
    padding-left: 15px;
}
/****end****/

/* The two legacy plate images are absent; preserve readable badges in CSS. */
.gf1 {
    background-image: linear-gradient(90deg, #7e1d1d, #c44735) !important;
}
.ldp {
    background-image: linear-gradient(90deg, #304f86, #6a8fc7) !important;
}

/****文本铭牌***/

.unit-text-red {
    color: #fff;
    background-color: red;
}

.unit-text-black {
    color: #F0E68C;
    background-color: #1b1a1c;
}
/******end***/

/***特殊铭牌**/
.plate_ufb {
    display: inline-block;
    position: relative;
    height: 20px;
}

    .plate_ufb.plate_low_xws.plate_sf_normal, .plate_ufb.plate_low_xws.sf-year--3EOKxbm1r4L1mG3hUuDOTD {
        width: 72px;
    }

.chat-room__list .msg-bubble-decorationPrefix span {
    vertical-align: middle;
    margin-right: 3px;
}

.chat-room__list .msg-bubble-decorationPrefix .fans-icon, .chat-room__list .msg-bubble-decorationPrefix .plate_fans_badge {
    position: relative;
    left: 0;
    top: -2px;
}

chat-room__list .msg-bubble-decorationPrefix img {
    vertical-align: middle;
    margin-right: 3px;
    height: auto;
    max-height: 22px;
}

.plate_ufb .plate_flag {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 0px !important;
}

.plate_ufb .plate_floor, .plate_ufb .plate_icon, .plate_ufb .plate_lv {
    position: absolute;
    left: 0;
    bottom: 0;
}

.plate_ufb .plate_name {
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px 0 0 24px;
    width: 31px;
    line-height: 16px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

.plate_name em, i {
    font-style: normal;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: 400;
    vertical-align: baseline;
    background: transparent;
}

.msg-bubble-decorationSuffix {
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
}

.unitIcon {
    vertical-align: middle;
    max-height: 30px;
    width: auto;
}
