/* ---------- followers / following viewer ---------- */
.fans-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(0, 0, 0, .66);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fans-overlay[hidden] {
    display: none;
}

.fans-panel {
    position: relative;
    width: min(460px, 100%);
    background: #0f0a0a;
    border: 1px solid var(--border-blood);
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fans-head {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 48px 10px;
}

.fans-title {
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fans-close {
    position: absolute;
    top: 10px;
    right: 12px;
}

.fans-scroll {
    overflow-y: auto;
    max-height: min(65vh, 520px);
    padding: 10px 12px 16px;
    overscroll-behavior: contain;
}

.fans-scroll::-webkit-scrollbar {
    width: 8px;
}

.fans-scroll::-webkit-scrollbar-thumb {
    background: var(--border-blood);
    border-radius: 8px;
}

.fans-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fan-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--card);
    border: 1px solid var(--border-blood);
    text-decoration: none;
    color: inherit;
    transition: background .15s ease, border-color .15s ease;
    position: relative;
    overflow: hidden;
}

.fan-row:hover {
    background: var(--white-10);
    border-color: var(--blood);
}

.fan-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--actor-bg, none) center / cover no-repeat;
    opacity: 0;
    transition: opacity .2s ease;
}

.fan-row.has-bg::before {
    opacity: .28;
}

.fan-row > * {
    position: relative;
    z-index: 1;
}

.fan-av {
    width: 42px;
    height: 42px;
    flex: none;
}

.fan-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
}

.fan-name {
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: var(--foreground);
}

.fan-meta {
    font-size: .7rem;
    letter-spacing: .02em;
    color: var(--muted-foreground);
}

.fan-badges {
    margin-left: 0;
}

.fan-followers {
    font-size: .76rem;
    color: var(--muted-foreground);
}

.fans-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 4px;
    color: var(--muted-foreground);
    font-size: .8rem;
}

.fans-caret {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--blood-bright);
    border-bottom: 2px solid var(--blood-bright);
    transform: rotate(45deg);
    animation: fans-bounce 1.2s ease-in-out infinite;
}

.fans-dots {
    display: none;
    gap: 6px;
}

.fans-loading .fans-dots {
    display: inline-flex;
}

.fans-loading .fans-go,
.fans-loading .fans-caret {
    display: none;
}

.fans-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blood-bright);
    animation: fans-pulse 1s ease-in-out infinite;
}

.fans-dots i:nth-child(2) {
    animation-delay: .15s;
}

.fans-dots i:nth-child(3) {
    animation-delay: .3s;
}

@keyframes fans-bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); opacity: .4; }
    50% { transform: translateY(4px) rotate(45deg); opacity: 1; }
}

@keyframes fans-pulse {
    0%, 100% { opacity: .25; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1); }
}

.fans-empty {
    padding: 26px 10px;
    text-align: center;
    color: var(--muted-foreground);
    font-size: .9rem;
}

body.fans-open {
    overflow: hidden;
}

.profile-stats .stat-social {
    background: none;
    border: none;
    padding: 2px 4px;
    font: inherit;
    color: var(--muted-foreground);
    cursor: pointer;
    border-radius: 8px;
    transition: color .15s ease;
}

.profile-stats .stat-social:hover {
    color: var(--blood-bright);
}

.profile-stats .stat-social:hover strong {
    color: var(--blood-bright);
    text-decoration: underline;
}