/* === Chips === */
@chipSize: 23px;
.chip {
    font-size: 14px;
    font-weight: normal;
    color: #fff;
    background: rgba(0,0,0,0.37);
    display: inline-block;
    height: @chipSize;
    line-height: @chipSize;
    border-radius: 5px;
    padding: 0 6px;
    box-sizing: border-box;
    vertical-align: middle;
    .flexbox-inline();
    .align-items(center);
    margin: 2px 0;
}
.chip-media {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    color: #fff;
    font-size: 12px;
    box-sizing: border-box;
    .flex-shrink(0);
    .flexbox();
    .align-items(center);
    .justify-content(center);
    img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        border-radius: 50%;
        display: block;
    }
    + .chip-label {
        margin-left: 4px;
    }
    i.icon {
        font-size: 16px;
        height: 16px;
    }
}
.chip-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    .flex-shrink(1);
    min-width: 0;
}
.chip-delete {
    margin-right: -6px;
    width: @chipSize;
    height: @chipSize;
    text-align: center;
    line-height: @chipSize;
    cursor: pointer;
    .flex-shrink(0);
    .encoded-svg-background("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><circle cx='14' cy='14' r='14' fill='#fff'/><line stroke='#000' stroke-width='2' stroke-miterlimit='10' x1='8' y1='8' x2='20' y2='20'/><line fill='none' stroke='#000' stroke-width='2' stroke-miterlimit='10' x1='20' y1='8' x2='8' y2='20'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: 13px 13px;
    background-size: 13px 13px;
    opacity: 0.7;
    html:not(.watch-active-state) &:active, &.active-state {
        opacity: 1;
    }
}