.toolbar dd.community i {
    background: url(/static/images/community-chat.svg) no-repeat center / 30px 30px;
}

.toolbar dd.community .communityBadge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #ff4d36;
    font-size: 12px;
    font-weight: normal;
    line-height: 20px;
}

.toolbar dd.community .communityPanel {
    position: absolute;
    top: 0;
    right: 100%;
    padding-right: 10px;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
    cursor: default;
}

.toolbar dd.community:hover .communityPanel {
    display: block;
    visibility: visible;
    opacity: 1;
}

.toolbar .communityCard {
    position: relative;
    box-sizing: border-box;
    width: 240px;
    min-height: 302px;
    padding: 24px 20px 18px;
    border-radius: 6px;
    background: #fff url(/static/images/community-card.png) no-repeat top center / 240px 302px;
    color: #333;
    text-align: center;
}

.toolbar .communityCard::after {
    content: "";
    position: absolute;
    top: 20px;
    right: -7px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #f6f9ff;
}

.toolbar .communityCard h3 {
    margin: 0 0 8px;
    color: #0e4295;
    font-size: 20px;
    font-weight: bold;
    line-height: 26px;
}

.toolbar .communityCard .communityQr {
    display: block;
    width: 118px;
    height: 118px;
    margin: 0 auto;
}

.toolbar .communityQrButton {
    display: block;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.communityQrPreview {
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 10px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    color: #333;
    background: #fff;
}

.communityQrPreview::backdrop {
    background: rgba(0, 0, 0, .65);
}

.communityQrPreviewContent {
    position: relative;
    padding: 32px;
    text-align: center;
}

.communityQrPreviewContent h3 {
    margin: 0 0 20px;
    color: #0e4295;
    font-size: 20px;
}

.communityQrPreviewContent img {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
}

.communityQrPreviewContent p {
    margin: 16px 0 0;
    font-size: 14px;
    color: #999;
}

.communityQrClose {
    position: absolute;
    top: 4px;
    right: 8px;
    padding: 4px 8px;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.toolbar .communityCard .communityHint {
    margin: 4px 0 8px;
    color: #ccc;
    font-size: 10px;
    line-height: 16px;
}

.toolbar .communityBenefits {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    font-size: 10px;
    line-height: 20px;
}

.toolbar .communityBenefits li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    background: url(/static/images/community-check.png) no-repeat center / contain;
    vertical-align: middle;
}

