.following-page {
    max-width: 1200px;
    margin: 32px auto 70px;
    padding: 0 18px;
}

.following-hero {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, .22), transparent 35%),
        linear-gradient(135deg, #0f172a, #020617);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}

.following-hero p {
    color: var(--primary-soft);
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 12px;
}

.following-hero h1 {
    margin: 8px 0;
    font-size: clamp(38px, 5vw, 62px);
    letter-spacing: -2px;
}

.following-hero span {
    color: var(--muted);
    max-width: 700px;
    display: block;
    line-height: 1.7;
}

.edit-interests-button {
    margin-top: 22px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(59, 130, 246, .3);
}

.edit-interests-button:hover {
    transform: translateY(-2px);
}

.edit-interests-button:focus-visible {
    outline: 2px solid var(--primary-soft);
    outline-offset: 3px;
}

.following-section {
    margin-top: 30px;
    padding: 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.following-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.following-title h2 {
    margin: 0;
    font-size: 28px;
}

.following-title span {
    color: var(--primary-soft);
    font-weight: 900;
    background: rgba(59, 130, 246, .12);
    border: 1px solid var(--border);
    padding: 9px 13px;
    border-radius: 999px;
    white-space: nowrap;
}

.following-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.following-card-wrapper {
    display: grid;
    gap: 10px;
}

.following-card {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: 22px;
    transition: .2s;
}

.following-card:hover {
    transform: translateY(-4px);
    background: rgba(59, 130, 246, .12);
}

.following-logo-box,
.following-player-image {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

.following-logo-box img,
.following-player-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.following-player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.following-logo-box span,
.following-player-image span {
    color: #020617;
    font-weight: 950;
    font-size: 24px;
}

.following-logo-box .icon,
.following-player-image .icon {
    color: #020617;
    width: 28px;
    height: 28px;
}

.following-card strong {
    display: block;
    font-size: 18px;
}

.following-card p {
    margin: 6px 0 0;
    color: var(--muted);
}

.following-card-actions {
    display: flex;
    gap: 8px;
}

.remove-following-button {
    flex: 1;
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s;
}

.remove-following-button:hover {
    background: rgba(239, 68, 68, .12);
    color: #fecaca;
    border-color: rgba(239, 68, 68, .35);
}

.favorite-star-button {
    flex-shrink: 0;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--muted);
    border-radius: 999px;
    cursor: pointer;
    transition: .2s;
}

.favorite-star-button .icon {
    width: 18px;
    height: 18px;
}

.favorite-star-button:hover {
    background: rgba(250, 204, 21, .12);
    color: #facc15;
}

.favorite-star-button.is-favorite {
    background: rgba(250, 204, 21, .16);
    color: #facc15;
    border-color: rgba(250, 204, 21, .4);
}

.favorite-star-button.is-favorite .icon {
    fill: currentColor;
}

.empty-following {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    border: 2px dashed var(--border);
    border-radius: 22px;
    color: var(--muted);
    background: rgba(255, 255, 255, .04);
}

.empty-following h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 22px;
}

.empty-following p {
    margin: 0 auto 20px;
    max-width: 520px;
    line-height: 1.6;
}

.empty-following a {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
}

.empty-following-search {
    display: inline-block;
    margin-left: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 900;
    font-size: inherit;
    font-family: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    box-shadow: none;
    cursor: pointer;
}

.empty-following-search:hover {
    background: rgba(59, 130, 246, .16);
    border-color: rgba(56, 189, 248, .35);
}

@media (max-width: 480px) {
    .empty-following-search {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 700px) {
    .following-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .following-section,
    .following-hero {
        padding: 24px;
    }

    .following-grid {
        grid-template-columns: 1fr;
    }
}