/* ---------- badges ---------- */
.badge-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(196, 30, 30, .35));
}

.badge-icon.badge-mini {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 1px 4px rgba(196, 30, 30, .4));
}

.badge-chip {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-blood);
    background: rgba(196, 30, 30, .12);
    color: #ffd9d9;
}

.badge-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-row .badge-icon {
    width: 22px;
    height: 22px;
}

/* ---------- follow actor picker (which of your names follows) ---------- */
.follow-btn {
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(180deg, var(--blood-bright), var(--blood-dark));
    border: 1px solid var(--border-blood);
    transition: transform .1s ease, background .15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.follow-btn:hover { transform: translateY(-1px); }
.follow-btn:active { transform: scale(.96); }

.follow-btn.is-following {
    color: var(--foreground);
    background: rgba(255, 255, 255, .05);
}

.follow-controls {
    position: relative;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.follow-actor {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: inherit;
    cursor: pointer;
    color: var(--foreground);
    padding: 4px 14px 4px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border-blood);
    overflow: hidden;
    transition: transform .1s ease, background .15s ease;
}

.follow-actor:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .08); }
.follow-actor:active { transform: scale(.96); }

.follow-actor::before,
.follow-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--actor-bg);
    background-size: cover;
    background-position: center;
}

.follow-actor::before { filter: saturate(.65) brightness(.55); }
.follow-item::before { opacity: .4; filter: saturate(.75); }

.follow-av {
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.follow-av.follow-char {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-sans);
    font-size: .8rem;
    color: var(--foreground);
}

.follow-name {
    position: relative;
    z-index: 1;
    font-size: .72rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

.follow-actor.font-system,  .follow-item.font-system  { --f: var(--font-sans); }
.follow-actor.font-gothic,  .follow-item.font-gothic  { --f: 'gothic', 'Old English Text MT', 'Times New Roman', serif; }
.follow-actor.font-mono,    .follow-item.font-mono    { --f: 'mono', ui-monospace, 'SFMono-Regular', Menlo, monospace; }
.follow-actor.font-fancy,   .follow-item.font-fancy   { --f: 'fancy', 'Brush Script MT', cursive; }
.follow-actor.font-casual,  .follow-item.font-casual  { --f: 'casual', 'Comic Sans MS', 'Segoe Print', cursive; }

.follow-actor .follow-name,
.follow-item .follow-name { font-family: var(--f); }

.follow-actor.has-bg .follow-name,
.follow-item.has-bg .follow-name {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
                 -1px 1px 0 #000, 1px 1px 0 #000,
                 0 0 7px rgba(0, 0, 0, .85);
}

.follow-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 60;
    min-width: 230px;
    padding: 6px;
    background: #0d0909;
    border: 1px solid var(--border-blood);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .55);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.follow-menu[hidden] { display: none; }

.follow-menu-title {
    font-size: .68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--foreground-muted, #b6afab);
    padding: 6px 10px 4px;
    font-family: var(--font-sans);
}

.follow-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    font: inherit;
    color: var(--foreground);
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
}

.follow-item:hover { background: rgba(255, 255, 255, .07); border-color: var(--border); }

.follow-item .follow-name { font-size: .8rem; max-width: 130px; }
.follow-item .follow-av { width: 30px; height: 30px; }

.follow-badges {
    position: relative;
    z-index: 1;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: none;
}

.follow-item.is-current::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    border: solid var(--blood-bright);
    border-width: 0 2px 2px 0;
    padding: 2.5px;
    transform: rotate(45deg);
}

body.layout-left .follow-controls { justify-content: flex-start; }
body.layout-right .follow-controls { justify-content: flex-end; }

/* ---------- auctions reuse the selector + badges ---------- */
.auction-follow {
    display: flex;
}

.pill-outline.bio-link {
    padding: 2px 10px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    vertical-align: middle;
}