.yd-profile-tag-list { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; }
.yd-profile-curated-field[data-field="profile-tags"] { background: transparent; border: 0; padding: 0; white-space: normal; flex-wrap: wrap; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.yd-profile-curated-field[data-field="profile-tags"] .yd-profile-curated-value { min-width: 0; max-width: 100%; }
.yd-profile-tag,
.dm-onboarding-modal .dm-choice.yd-profile-tag {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box; max-width: 100%; min-height: 24px; margin: 0;
    padding: 4px 20px 4px 24px; border: 0; border-radius: 8px;
    background: #d12452; color: #fff; font-size: .75rem; font-weight: 600;
    line-height: 1.4; text-align: center; white-space: normal; overflow-wrap: anywhere;
    clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
}
.yd-profile-tag::before {
    content: ''; position: absolute; left: 10px; top: calc(50% - 2px);
    width: 4px; height: 4px; border-radius: 50%; background: #fff;
    pointer-events: none;
}
.yd-profile-tag::after {
    content: ''; position: absolute; top: 5px; bottom: 5px; right: 7px;
    border-left: 1px dashed rgba(255, 255, 255, .7); pointer-events: none;
}
button.yd-profile-tag { cursor: pointer; font-family: inherit; }
button.yd-profile-tag:hover,
.dm-onboarding-modal .dm-choice.yd-profile-tag:hover { background: #d12452; color: #fff; filter: brightness(.92); }
button.yd-profile-tag[aria-pressed="true"] { background: #d12452; color: #fff; box-shadow: inset 0 0 0 2px #71142d; text-decoration: underline; }
button.yd-profile-tag:focus-visible,
.dm-onboarding-modal .dm-choice.yd-profile-tag:focus-visible {
    background: #d12452; color: #fff; outline: 2px solid #71142d; outline-offset: -3px;
}
button.yd-profile-tag:disabled { opacity: .5; cursor: default; }
[data-profile-tag-editor] .yd-profile-tag-list { display: flex; margin: 8px 0; }
[data-profile-tag-editor] button.yd-profile-tag[aria-pressed="true"] {
    background: #23734a; color: #fff; box-shadow: inset 0 0 0 2px #164b30;
    text-decoration: none;
}
[data-profile-tag-editor] .yd-profile-tag-source,
[data-profile-tag-editor].yd-profile-tag-enhanced .select2-container,
[data-profile-tag-editor] .yd-profile-tag-original-choice { display: none !important; }
a.yd-profile-gift-sender { color: inherit; text-decoration: none; }
a.yd-profile-gift-sender:hover span { text-decoration: underline; }
a.yd-profile-gift-sender:focus-visible { outline: 2px solid #c85b95; outline-offset: 3px; }
