#chat-pin-strip {
    margin: 0 16px;
    padding: 8px 0 10px 12px;
    position: relative;
    border-bottom: 1px solid rgba(160,166,178,.18);
    background: transparent;
    overflow-wrap: anywhere;
}
#chat-pin-strip[hidden], #chat-pin-strip [hidden] { display: none; }
#chat-pin-strip::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 11px;
    left: 0;
    width: 2px;
    background: #ad4247;
}
#chat-pin-strip .pin-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
#chat-pin-strip .pin-heading strong { color: #e6e7ea; font-size: 12px; }
#chat-pin-strip .pin-heading i { color: #de8385; }
#chat-pin-strip .pin-login, #chat-pin-strip .pin-credit { color: #adb1bb; font-size: 12px; }
#chat-pin-strip .pin-body { margin: 3px 0; color: #f0f1f3; font-size: 14px; line-height: 1.4; }
#chat-pin-strip .pin-body > :first-child { margin-top: 0; }
#chat-pin-strip .pin-body > :last-child { margin-bottom: 0; }
#chat-pin-strip .pin-body img { max-width: 100%; height: auto; }
#chat-pin-strip .pin-role { margin-left: 4px; padding: 1px 5px; border: 1px solid currentColor; border-radius: 4px; font-size: 11px; }
#chat-pin-strip .pin-remove { margin-left: auto; padding: 3px 6px; background: transparent; border: 0; color: #b6b9c0; font-size: 12px; cursor: pointer; }
#chat-pin-strip .pin-remove:hover, #chat-pin-strip .pin-remove:focus-visible { color: #f5bbbd; }

/* Закреп: значок слева, содержимое справа */
#chat #chat-pin-strip {
    position: relative;
    margin: 0 16px;
    padding: 14px 0 14px 48px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    background: transparent;
}

/* Квадрат под скрепкой вместо вертикальной полосы */
#chat #chat-pin-strip::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: auto;
    left: 0;
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid rgba(200, 101, 105, .30);
    border-radius: 10px;
    background: rgba(169, 65, 70, .14);
}

#chat #chat-pin-strip .pin-heading > strong i {
    position: absolute;
    top: 15px;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #e39b9f;
    font-size: 15px;
}

#chat #chat-pin-strip .pin-heading {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

#chat #chat-pin-strip .pin-heading > strong {
    color: #b7a3a6;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .07em;
    text-transform: uppercase;
}

#chat #chat-pin-strip .pin-login {
    font-size: 13px;
    line-height: 1.4;
}

#chat #chat-pin-strip .pin-body {
    margin: 4px 0 6px;
    color: #f0f1f3;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#chat #chat-pin-strip .pin-credit {
    gap: 5px;
    color: #9397a0;
    font-size: 11px;
}

#chat #chat-pin-strip .pin-remove {
    margin-left: auto;
    padding: 3px 7px;
    color: #a4a7ae;
    font-size: 11px;
}

#chat #chat-pin-strip .pin-remove:hover,
#chat #chat-pin-strip .pin-remove:focus-visible {
    color: #f0c1c4;
    background: rgba(188, 101, 105, .12);
}

@media (max-width: 480px) {
    #chat #chat-pin-strip {
        margin: 0 10px;
        padding-left: 42px;
    }

    #chat #chat-pin-strip .pin-body {
        font-size: 15px;
    }
}