/* 🌟 Simple Dark Mode Profile 🌟 */

/* Base & Layout */
.profile-layout {
    background: #0f1115;
    /* Koyu, sade arka plan */
    min-height: calc(100vh - 80px);
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    padding: 20px 20px 60px 20px;
    /* Üst sağ sol alt padding */
}

/* ==========================================================================
   🌟 Profile User Search Dropdown Z-Index Stacking
   ========================================================================== */
.site-main>.container:first-of-type,
.container:has(.profile-user-search-wrapper),
.profile-user-search-wrapper {
    position: relative !important;
    z-index: 9999 !important;
}

#profile-search-results {
    position: absolute !important;
    z-index: 10000 !important;
}

/* ==========================================================================
   🌟 Profile Hero Card (Modern, Unified & Seamless)
   ========================================================================== */
.profile-card-container {
    margin-bottom: 38px !important;
    position: relative;
    z-index: 50 !important;
}

.profile-hero-card {
    position: relative;
    border-radius: 16px;
    background: rgba(18, 20, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.profile-banner-area {
    width: 100%;
    height: 220px;
    background-color: #1e222b;
    background-size: cover;
    background-position: center;
    border-radius: 15px 15px 0 0;
    position: relative;
    overflow: hidden;
}

.profile-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 17, 21, 0) 30%, rgba(18, 20, 26, 0.85) 100%);
    pointer-events: none;
}

/* Header Content */
.profile-hero-content {
    position: relative;
    padding: 0 24px 22px 24px;
    background: transparent;
}

/* Hero Top Row (Avatar on Left, Action Buttons on Right) */
.profile-hero-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

/* Avatar (Overlapping banner, standing alone above info) */
.profile-avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #12141a;
    overflow: visible;
    background: #111;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
    position: relative;
    z-index: 3;
    margin-top: -60px;
    margin-bottom: 14px;
    transition: transform 0.25s ease;
}

.profile-avatar-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 50% !important;
}

/* Cinsiyet Avatar İkonu (Sağ Alt - 28px Kompakt Rozet) */
.profile-avatar-gender-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    border: 2px solid #12141a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-avatar-gender-badge.male {
    background: #131b2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 8px rgba(59, 130, 246, 0.45);
}

.profile-avatar-gender-badge.male svg {
    width: 17px;
    height: 17px;
    filter: drop-shadow(0 0 3px rgba(59, 130, 246, 0.6));
}

.profile-avatar-gender-badge.female {
    background: #271424;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 8px rgba(236, 72, 153, 0.45);
}

.profile-avatar-gender-badge.female svg {
    width: 17px;
    height: 17px;
    filter: drop-shadow(0 0 3px rgba(236, 72, 153, 0.6));
}

.profile-avatar-gender-badge:hover {
    transform: scale(1.15);
}

/* ========================================================
   Profil Başlık Eylemleri (Takip Et & Engelle Butonları)
   ======================================================== */
.profile-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    z-index: 5;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.profile-header-actions .profile-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    outline: none;
    border: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1;
    font-family: inherit;
    user-select: none;
}

/* 1. Takip Et Butonu (Normal - Takip Etmiyor / Giriş Linki) */
.profile-header-actions .btn-follow:not(.active):not(.pending),
.profile-header-actions .btn-login-follow {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(167, 139, 250, 0.4) !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.profile-header-actions .btn-follow:not(.active):not(.pending):hover,
.profile-header-actions .btn-login-follow:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7175f7 100%) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.55);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.profile-header-actions .btn-follow:not(.active):not(.pending):active,
.profile-header-actions .btn-login-follow:active {
    transform: translateY(0) scale(0.98);
}

.profile-header-actions .btn-follow i,
.profile-header-actions .btn-login-follow i {
    font-size: 13.5px;
    transition: transform 0.2s ease;
}

.profile-header-actions .btn-follow:hover i,
.profile-header-actions .btn-login-follow:hover i {
    transform: scale(1.1);
}

/* 2. Takip Et Butonu - Takip Ediliyor (Aktif State) */
.profile-header-actions .btn-follow.active {
    background: #181b24 !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.profile-header-actions .btn-follow.active .btn-text-unfollow {
    display: none;
}

.profile-header-actions .btn-follow.active .btn-text-following {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.profile-header-actions .btn-follow.active .btn-text-following i {
    color: #10b981;
}

.profile-header-actions .btn-follow.active:hover {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
}

.profile-header-actions .btn-follow.active:hover .btn-text-following {
    display: none;
}

.profile-header-actions .btn-follow.active:hover .btn-text-unfollow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.profile-header-actions .btn-follow.active:hover .btn-text-unfollow i {
    color: #ef4444;
}

/* 3. Takip Et Butonu - İstek Gönderildi (Pending State) */
.profile-header-actions .btn-follow.pending {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.profile-header-actions .btn-follow.pending .btn-text-cancel {
    display: none;
}

.profile-header-actions .btn-follow.pending .btn-text-pending {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.profile-header-actions .btn-follow.pending:hover {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
}

.profile-header-actions .btn-follow.pending:hover .btn-text-pending {
    display: none;
}

.profile-header-actions .btn-follow.pending:hover .btn-text-cancel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* 4. Engelle Butonu - Normal (Engellenmemiş) */
.profile-header-actions .btn-block:not(.active) {
    background: #181b24 !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-header-actions .btn-block:not(.active):hover {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
}

.profile-header-actions .btn-block:not(.active):active {
    transform: translateY(0) scale(0.98);
}

.profile-header-actions .btn-block i {
    font-size: 13px;
}

/* 5. Engelle Butonu - Aktif (Engeli Kaldır) */
.profile-header-actions .btn-block.active {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.profile-header-actions .btn-block.active:hover {
    background: rgba(16, 185, 129, 0.22) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.55) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.profile-header-actions .btn-block.active:active {
    transform: translateY(0) scale(0.98);
}

/* User Identity Info (Below Avatar) */
.profile-identity-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-identity-top-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.profile-name-and-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    color: #fff;
    flex-wrap: wrap;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.profile-name-badges {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    vertical-align: middle;
}

.profile-name-badges svg {
    flex-shrink: 0;
}

.profile-username-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1px;
    line-height: 1.2;
}

.profile-username {
    color: #94a3b8;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.2;
}

/* 3-Nokta Menü Butonu & Açılır Menü (Arkaplansız, Yatay 3 Nokta) */
.profile-more-menu-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.profile-more-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    padding: 0;
    line-height: 1;
    font-size: 17px;
}

.profile-more-btn:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff;
    transform: scale(1.15);
}

.profile-more-btn:active {
    transform: scale(0.95);
}

/* Dropdown Menu */
.profile-more-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 175px;
    background: #181b24;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
    padding: 6px;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: left !important;
}

.profile-more-dropdown .profile-dropdown-item,
.profile-dropdown-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    flex: none !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    border: none !important;
    background: transparent !important;
    color: #e2e8f0 !important;
    cursor: pointer !important;
    text-align: left !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    line-height: 1.4 !important;
}

.profile-more-dropdown .profile-dropdown-item:hover,
.profile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    transform: none !important;
}

.profile-more-dropdown .profile-dropdown-item span,
.profile-dropdown-item span {
    text-align: left !important;
    flex: 1 !important;
    margin: 0 !important;
    color: inherit !important;
}

.profile-more-dropdown .profile-dropdown-item i,
.profile-dropdown-item i {
    font-size: 13.5px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.profile-more-dropdown .profile-dropdown-item.btn-block:hover,
.profile-dropdown-item.btn-block:hover {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #ef4444 !important;
}

/* Bio Box */
.profile-bio-box {
    margin-top: 8px;
    max-width: 720px;
}

.profile-bio-text {
    font-size: 14px;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0;
}

/* Modern Clean Stats Bar with Level Progress Bar */
.profile-stats-bar {
    display: flex;
    align-items: center;
    gap: 12px 18px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 0 !important;
    border-top: none !important;
}

/* Level Progress Bar as Top Border */
.profile-level-progress-bar {
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 2px;
    user-select: none;
    -webkit-user-select: none;
}

.profile-level-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    line-height: 1.2;
    padding: 0 1px;
}

.profile-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.01em;
}

.profile-level-badge i {
    font-size: 11px;
    filter: drop-shadow(0 0 6px currentColor);
}

.profile-level-xp-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}

.profile-level-xp-nums strong {
    color: #cbd5e1;
    font-weight: 600;
}

.profile-level-xp-pct {
    color: #94a3b8;
    font-weight: 600;
    margin-left: 2px;
}

.profile-level-track {
    position: relative;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.profile-level-fill {
    height: 100%;
    border-radius: 99px;
    position: relative;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-level-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: pncLevelShimmer 3s infinite linear;
}

@keyframes pncLevelShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.profile-level-progress-bar:hover .profile-level-track {
    background: rgba(255, 255, 255, 0.09);
}

.profile-stat-item,
.profile-stat-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-size: 14px;
    color: #94a3b8;
    user-select: none;
    transition: opacity 0.15s ease;
}

.profile-stat-item .stat-num,
.profile-stat-badge .stat-badge-num {
    font-weight: 700;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.profile-stat-item .stat-lbl,
.profile-stat-badge .stat-badge-lbl {
    font-weight: 400;
    color: #94a3b8;
    font-size: 13.5px;
}

.profile-stat-item.stat-clickable,
.profile-stat-badge.stat-badge-clickable {
    cursor: pointer;
}

.profile-stat-item.stat-clickable:hover .stat-lbl,
.profile-stat-badge.stat-badge-clickable:hover .stat-badge-lbl {
    color: #cbd5e1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.user-time-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 3px 10px 3px 8px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.14) 0%, rgba(168, 85, 247, 0.12) 100%) !important;
    border: 1px solid rgba(129, 140, 248, 0.28) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: default !important;
    user-select: none !important;
    line-height: 1 !important;
}

.user-time-badge:hover {
    border-color: rgba(168, 85, 247, 0.5) !important;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(168, 85, 247, 0.2) 100%) !important;
    box-shadow: 0 4px 16px rgba(129, 140, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

.user-time-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    box-shadow: 0 0 6px #818cf8;
    animation: userTimePulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    flex-shrink: 0;
}

@keyframes userTimePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.7);
        opacity: 0.8;
    }

    70% {
        box-shadow: 0 0 0 5px rgba(129, 140, 248, 0);
        opacity: 1;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(129, 140, 248, 0);
        opacity: 0.8;
    }
}

.user-time-icon {
    stroke: #a5b4fc;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.user-time-badge:hover .user-time-icon {
    transform: rotate(25deg);
    stroke: #c7d2fe;
}

.user-time-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: -0.1px;
}

.user-time-val {
    color: #e0e7ff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}

.user-time-lbl {
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
}

.profile-bio {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==========================================================================
   🌟 Profile Hero Social Dock (Alt Çıkıntılı Sekmeler - Açık & Kompakt Tasarım)
   ========================================================================== */
.profile-hero-social-dock {
    position: absolute;
    top: 100%;
    margin-top: -1px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    z-index: 120;
    padding-top: 0;
}

.profile-social-dock-tab {
    position: relative;
    width: 38px;
    height: 24px;
    background: #11141b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: none;
    border-radius: 0 0 9px 9px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    cursor: pointer;
    overflow: visible;
    transition: height 0.22s cubic-bezier(0.34, 1.45, 0.64, 1),
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* Küçük Tutamaç (Açık modda gizlendi) */
.social-dock-grip {
    display: none;
}

/* İkon Sarmalayıcı (Varsayılan Olarak Açık ve Görünür) */
.social-dock-icon-wrap {
    font-size: 13px;
    color: var(--tab-brand-color, #94a3b8);
    opacity: 0.92;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.5, 0.64, 1), color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Üzerine Gelindiğinde Zarif Vurgu & Işıma */
.profile-social-dock-tab:hover {
    height: 26px;
    background: #171b26;
    border-color: var(--tab-brand-color, #e1306c);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 14px var(--tab-glow-color, rgba(225, 48, 108, 0.35));
    transform: translateY(2px);
    z-index: 130;
}

.profile-social-dock-tab:hover .social-dock-icon-wrap {
    opacity: 1;
    transform: scale(1.15);
    color: var(--tab-brand-color, #e1306c);
    filter: drop-shadow(0 0 6px var(--tab-glow-color, rgba(225, 48, 108, 0.5)));
}

/* Tooltip (Kullanıcı Adı Bilgisi - Yorumların Üstünde Kalması İçin Yüksek z-index) */
.social-dock-tooltip {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(15, 17, 23, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 14px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 140;
}

.social-dock-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(15, 17, 23, 0.96) transparent;
}

.profile-social-dock-tab:hover .social-dock-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .profile-hero-social-dock {
        left: 50%;
        transform: translateX(-50%);
        gap: 6px;
    }

    .profile-social-dock-tab {
        width: 34px;
        height: 22px;
    }

    .profile-social-dock-tab:hover {
        height: 24px;
    }

    .social-dock-icon-wrap {
        font-size: 12px;
    }
}

/* Stats */
.profile-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.stat-item {
    color: #8e8e93;
    cursor: pointer;
}

.stat-item strong {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-right: 5px;
}

/* Simple Buttons */
.btn-profile-edit,
.btn-follow {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
}

.btn-profile-edit {
    background: #1c1c1e;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-profile-edit:hover {
    background: #2c2c2e;
}

.btn-follow {
    background: var(--accent-color, #bb86fc);
    color: #fff;
    transition: all 0.2s ease;
}

.btn-follow:hover {
    background: var(--accent-color-hover, #9965f4);
}

.btn-follow.active {
    background: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Banner Settings Button & Popup Menu */
.profile-banner-settings-wrap {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 30;
}

.profile-banner-settings-btn {
    width: 38px;
    height: 38px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #ffffff !important;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 18px #000000) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    padding: 0;
}

.profile-banner-settings-btn:hover,
.profile-banner-settings-btn.active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 1)) drop-shadow(0 0 14px rgba(0, 0, 0, 1)) drop-shadow(0 0 24px #000000) !important;
    transform: scale(1.15) rotate(45deg);
}

.profile-banner-settings-btn svg {
    transition: transform 0.35s ease;
}

/* PC Popup Menüsü */
.profile-settings-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: rgba(20, 23, 30, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 8px;
    display: none;
    flex-direction: column;
    z-index: 100;
    transform-origin: top right;
    animation: pmsPopupIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-settings-popup.active {
    display: flex;
}

@keyframes pmsPopupIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-6px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.profile-settings-popup-header {
    padding: 8px 12px 6px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
}

.popup-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
}

.profile-settings-popup-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-settings-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s ease;
}

.profile-settings-item:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    transform: translateX(2px);
}

.profile-settings-item .item-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.profile-settings-item:hover .item-icon-wrap {
    background: color-mix(in srgb, var(--accent-color, #bb86fc) 16%, transparent);
    color: var(--accent-color, #bb86fc);
}

/* Dedicated Popup Menu Item Accents */
.profile-settings-item-follows .item-icon-wrap {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.22);
}

.profile-settings-item-follows:hover .item-icon-wrap {
    background: rgba(168, 85, 247, 0.22);
    color: #e9d5ff;
}

.profile-settings-item-blocked .item-icon-wrap {
    background: rgba(244, 63, 94, 0.12);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.22);
}

.profile-settings-item-blocked:hover .item-icon-wrap {
    background: rgba(244, 63, 94, 0.22);
    color: #fecdd3;
}

.profile-settings-item-history .item-icon-wrap {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.22);
}

.profile-settings-item-history:hover .item-icon-wrap {
    background: rgba(56, 189, 248, 0.22);
    color: #bae6fd;
}

.profile-settings-item .item-label {
    flex: 1;
}

.profile-settings-item .item-arrow {
    font-size: 11px;
    color: #475569;
    transition: transform 0.2s, color 0.2s;
}

.profile-settings-item:hover .item-arrow {
    color: var(--accent-color, #bb86fc);
    transform: translateX(2px);
}

.profile-settings-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 4px 6px;
}

.profile-settings-primary-item {
    color: #f1f5f9;
}

.profile-settings-primary-item .item-icon-wrap {
    background: color-mix(in srgb, var(--accent-color, #bb86fc) 14%, transparent);
    color: var(--accent-color, #bb86fc);
}

/* Grid & Layout */
.profile-content-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 25px;
    margin-bottom: 50px;
    width: 100%;
}

/* 🌟 Üst Yatay Tab Çubuğu 🌟 */
.profile-tabs-nav-bar {
    width: 100%;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.profile-tabs-scroll-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.profile-tabs-list {
    display: flex !important;
    width: 100% !important;
    align-items: center;
    justify-content: space-between !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.profile-tab {
    flex: 1 1 0 !important;
    width: 0 !important;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 6px 16px 6px;
    background: transparent !important;
    border: none !important;
    outline: none;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    white-space: nowrap !important;
    word-break: keep-all !important;
    transition: color 0.2s ease, opacity 0.2s ease;
    user-select: none;
    box-sizing: border-box;
}

.profile-tab-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: stroke 0.2s ease, color 0.2s ease;
}

.profile-tab-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.profile-tab-badge {
    display: none !important;
}

.profile-tab:hover {
    color: #ffffff;
}

.profile-tab:hover .profile-tab-icon {
    stroke: #ffffff;
    color: #ffffff;
}

.profile-tab.active {
    color: var(--accent-color, #bb86fc);
    font-weight: 600;
}

.profile-tab.active .profile-tab-icon {
    stroke: var(--accent-color, #bb86fc);
    color: var(--accent-color, #bb86fc);
}

.profile-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color, #bb86fc);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 12px var(--accent-color, rgba(187, 134, 252, 0.6));
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-tab.active::after {
    width: 65%;
}

/* Ayarlar Sekmesi Seçildiğinde Gösterilen İndikatör Çubuğu */
.profile-settings-active-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 10px;
}

.btn-return-main-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--accent-color, #bb86fc);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 0;
}

.btn-return-main-tabs:hover {
    transform: translateX(-3px);
    opacity: 0.85;
}

.active-setting-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 600;
}

.asb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-color, #bb86fc);
    box-shadow: 0 0 8px var(--accent-color, #bb86fc);
}

/* ==========================================================================
   PROFILE SETTINGS MODAL (PC: ÖZEL POPUP DİYALOG / MOBİL: TAM EKRAN MENÜ)
   ========================================================================== */
.profile-mobile-settings-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(5, 7, 10, 0.82) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: 99999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.profile-mobile-settings-modal.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.profile-modal-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: relative !important;
}

/* PC Popup Diyalog Penceresi (2 Sütunlu: Sol Menü + Sağ İçerik) */
@media (min-width: 769px) {
    .profile-mobile-settings-modal {
        background: rgba(5, 7, 10, 0.62) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
    }

    .profile-settings-dialog-card {
        width: 1040px !important;
        max-width: 94vw !important;
        height: 720px !important;
        max-height: 88vh !important;
        background: rgba(14, 18, 27, 0.78) !important;
        backdrop-filter: blur(28px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 22px !important;
        box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.25) !important;
        display: flex !important;
        flex-direction: row !important;
        overflow: hidden !important;
        position: relative !important;
        transform: scale(0.96) translateY(8px);
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .profile-mobile-settings-modal.active .profile-settings-dialog-card {
        transform: scale(1) translateY(0);
    }

    /* Sol Kenar Çubuğu (Menü) */
    .profile-mobile-settings-inner.pms-sidebar {
        width: 290px !important;
        min-width: 290px !important;
        max-width: 290px !important;
        background: rgba(10, 13, 20, 0.58) !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 24px 18px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }

    .pms-mobile-only-close {
        display: none !important;
    }

    /* Sağ İçerik Alanı (Sekme Detayı) */
    .profile-mobile-settings-inner.pms-content-panel {
        flex: 1 !important;
        min-width: 0 !important;
        background: rgba(16, 20, 31, 0.45) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .pms-content-panel .pms-back-btn {
        display: none !important;
    }
}

.pms-content-panel .pms-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.015);
    margin-bottom: 0;
}

.pms-content-panel .pms-detail-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-align: left;
    flex: 1;
}

.pms-content-panel .pms-detail-body {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.pms-content-panel .pms-detail-body .tab-pane {
    display: block !important;
    width: 100%;
}

.pms-content-panel .pms-detail-body .settings-form-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* Header & Menü Öğeleri */
.profile-mobile-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.profile-mobile-settings-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-mobile-settings-user .pms-avatar,
.profile-mobile-settings-user img,
.pms-avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !important;
    /* Hafif kırpılmış köşeler */
    border: 2px solid var(--accent-color, #bb86fc) !important;
    overflow: hidden !important;
    display: block !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    image-rendering: auto !important;
}

.pms-user-info {
    display: flex;
    flex-direction: column;
}

.pms-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.pms-handle {
    font-size: 13px;
    color: #94a3b8;
}

.profile-mobile-settings-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.profile-mobile-settings-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.profile-mobile-settings-close:active {
    transform: scale(0.92);
}

.pms-section-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 14px;
    padding-left: 4px;
}

.pms-items-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pms-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.pms-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.pms-item:active {
    transform: scale(0.98);
}

.pms-item.active {
    background: color-mix(in srgb, var(--accent-color, #bb86fc) 16%, transparent) !important;
    border-color: var(--accent-color, #bb86fc) !important;
    color: #ffffff !important;
}

.pms-item.active .pms-item-icon {
    background: var(--accent-color, #bb86fc) !important;
    color: #ffffff !important;
}

.pms-item.active .pms-item-title {
    color: var(--accent-color, #bb86fc) !important;
}

.pms-item.active .pms-arrow {
    color: var(--accent-color, #bb86fc) !important;
    transform: translateX(3px);
}

.pms-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-color, #bb86fc) 14%, transparent);
    color: var(--accent-color, #bb86fc);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Customized PMS Menu Item Accents */
.pms-icon-follows {
    background: rgba(168, 85, 247, 0.12) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.22) !important;
}

.pms-item-follows.active {
    background: rgba(168, 85, 247, 0.15) !important;
    border-color: rgba(168, 85, 247, 0.55) !important;
}

.pms-item-follows.active .pms-item-icon {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35) !important;
}

.pms-item-follows.active .pms-item-title {
    color: #e9d5ff !important;
}

.pms-item-follows.active .pms-arrow {
    color: #c084fc !important;
}

.pms-icon-blocked {
    background: rgba(244, 63, 94, 0.12) !important;
    color: #fb7185 !important;
    border: 1px solid rgba(244, 63, 94, 0.22) !important;
}

.pms-item-blocked.active {
    background: rgba(244, 63, 94, 0.14) !important;
    border-color: rgba(244, 63, 94, 0.55) !important;
}

.pms-item-blocked.active .pms-item-icon {
    background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35) !important;
}

.pms-item-blocked.active .pms-item-title {
    color: #fecdd3 !important;
}

.pms-item-blocked.active .pms-arrow {
    color: #fb7185 !important;
}

.pms-icon-history {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
}

.pms-item-history.active {
    background: rgba(56, 189, 248, 0.14) !important;
    border-color: rgba(56, 189, 248, 0.55) !important;
}

.pms-item-history.active .pms-item-icon {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35) !important;
}

.pms-item-history.active .pms-item-title {
    color: #bae6fd !important;
}

.pms-item-history.active .pms-arrow {
    color: #38bdf8 !important;
}

/* Badge Pills */
.pms-badge-pill {
    display: inline-block;
    vertical-align: middle;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
    line-height: 1.2;
}

.pms-icon-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.pms-icon-primary {
    background: var(--accent-color, #bb86fc);
    color: #fff;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent-color, #bb86fc) 40%, transparent);
}

.pms-item-content {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.pms-item-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    transition: color 0.2s;
}

.pms-item-desc {
    display: none !important;
}

.pms-arrow {
    color: #475569;
    font-size: 13px;
    transition: all 0.2s;
}

.pms-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pms-back-btn:active {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(0.95);
    color: #fff;
}

.profile-tabs-content {
    flex: 1;
    min-width: 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Cards (Posts, Comments, Settings) */
.create-post-box,
.social-post,
.social-comment,
.settings-form-container,
.private-profile-notice,
.empty-state {
    background: #121214;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Post Internals */
.create-post-box textarea {
    width: 100%;
    box-sizing: border-box;
    background: #1e1e22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    padding: 15px;
    resize: none;
    outline: none;
    font-size: 15px;
    min-height: 80px;
}

.post-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.btn-submit-post {
    padding: 8px 20px;
    background: var(--accent-color, #bb86fc);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-author {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}

.post-time {
    font-size: 12px;
    color: #8e8e93;
    margin-top: 2px;
}

.post-content {
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
}

.btn-delete-post {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.btn-delete-post:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   Profil Ayarları (Profile Settings Tab) Modern Form Tasarımı
   ========================================================================== */
.settings-card-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 18px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.settings-card-section:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
}

.settings-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.settings-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent-color, #bb86fc) 14%, transparent);
    color: var(--accent-color, #bb86fc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.settings-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.2px;
}

.settings-field-hint {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 7px;
    margin-bottom: 0;
    line-height: 1.4;
}

.settings-input-text {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.settings-input-text:focus {
    border-color: var(--accent-color, #bb86fc);
    box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

.settings-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: all 0.2s ease;
}

.settings-textarea:focus {
    border-color: var(--accent-color, #bb86fc);
    box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

.bio-counter-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease;
}

.settings-select {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-select:focus {
    border-color: var(--accent-color, #bb86fc);
    box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.15);
}

.settings-select option {
    background: #14171f;
    color: #ffffff;
}

.verified-gender-notice {
    color: #10b981;
    font-size: 12.5px;
    font-weight: 500;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 5px 10px;
    border-radius: 8px;
}

.settings-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.custom-file-upload-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.custom-file-upload-box:hover {
    border-color: var(--accent-color, #bb86fc);
    background: rgba(0, 0, 0, 0.35);
}

.custom-file-upload-box input[type="file"] {
    background: transparent;
    border: none;
    padding: 0;
    color: #94a3b8;
    font-size: 12.5px;
    width: 100%;
    outline: none;
    cursor: pointer;
}

.custom-file-upload-box input[type="file"]::file-selector-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
    transition: all 0.2s ease;
}

.custom-file-upload-box input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.35);
}

.btn-danger-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 63, 94, 0.1);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.25);
    padding: 9px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.btn-danger-remove:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
    transform: translateY(-1px);
}

.settings-toggles-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.settings-toggle-row:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.1);
}

.toggle-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.toggle-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.toggle-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.35;
}

/* iOS Style Switch */
.ios-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #334155;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 24px;
}

.ios-switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.ios-switch input:checked+.slider {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.45);
}

.ios-switch input:checked+.slider:before {
    transform: translateX(20px);
}

/* Form Action Buttons */
.settings-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-save-settings {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #ffffff;
    border: 1px solid rgba(192, 132, 252, 0.35);
    border-radius: 10px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.35);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-save-settings:hover {
    background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
    box-shadow: 0 6px 22px rgba(168, 85, 247, 0.5);
    transform: translateY(-1px);
}

.btn-save-settings:active {
    transform: scale(0.98);
}

.settings-message {
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

/* Interactions */
.post-interactions {
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.interaction-btn {
    cursor: pointer;
    color: #8e8e93;
    display: flex;
    align-items: center;
    gap: 6px;
}

.interaction-btn:hover {
    color: #fff;
}

/* Modal CSS */
.pimanga-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.pimanga-modal-content {
    background: #121214;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    width: 95%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    color: #e2e8f0;
}

.pimanga-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    color: #8e8e93;
    transition: color 0.2s;
}

.pimanga-modal-close:hover {
    color: #fff;
}

.modal-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.modal-user-item:last-child {
    border-bottom: none;
}

.modal-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Sub-section headings inside profile settings panels */
.profile-sub-section {
    margin-bottom: 24px;
}

.profile-sub-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-sub-section-title i {
    font-size: 15px;
}

.profile-sub-section-title .section-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: auto;
}

.pms-content-panel .settings-form-container>h3:first-child {
    display: none;
}

/* Follower & Request Item Cards (Takipler & Engellenenler) */
.req-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 12px 16px;
    border-radius: 14px;
    margin-bottom: 11px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.req-item:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(187, 134, 252, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.req-item .req-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.req-item .req-avatar-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(187, 134, 252, 0.25);
    transition: border-color 0.2s ease;
}

.req-item:hover .req-avatar-wrap {
    border-color: var(--accent-color, #bb86fc);
}

.req-item .req-avatar-wrap img,
.req-item img.avatar,
.req-item .avatar-circle {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block;
}

.req-item .req-user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.req-item .req-user-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.req-item .req-user-name:hover {
    color: var(--accent-color, #bb86fc);
}

.req-item .req-user-handle {
    color: #8e8e93;
    font-size: 12.5px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-user-blocked {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 6px;
    background: rgba(244, 63, 94, 0.12);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.25);
}

.req-item .req-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-req-approve {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #ffffff;
    padding: 7px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12.5px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-req-approve:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-req-reject {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: #fb7185;
    padding: 7px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12.5px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-req-reject:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
    transform: translateY(-1px);
}

.req-item .btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
}

.req-item .btn-follow:not(.active):not(.pending) {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(192, 132, 252, 0.35) !important;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

.req-item .btn-follow:not(.active):not(.pending):hover {
    background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%) !important;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.45);
    transform: translateY(-1px);
}

.req-item .btn-follow.active {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.req-item .btn-follow.active:hover {
    background: rgba(244, 63, 94, 0.12) !important;
    color: #fb7185 !important;
    border-color: rgba(244, 63, 94, 0.35) !important;
}

.req-item .btn-follow.pending {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.req-item .btn-follow.pending:hover {
    background: rgba(244, 63, 94, 0.12) !important;
    color: #fb7185 !important;
    border-color: rgba(244, 63, 94, 0.35) !important;
}

.req-item .btn-block {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 63, 94, 0.1) !important;
    color: #fb7185 !important;
    border: 1px solid rgba(244, 63, 94, 0.25) !important;
    padding: 7px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.req-item .btn-block:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   Okuma Geçmişi (Reading History) Modern Kart Tasarımı
   ========================================================================== */
.history-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-card-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 12px 16px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.history-card-item:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.history-thumb-wrap {
    width: 54px;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: block;
}

.history-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.history-card-item:hover .history-poster {
    transform: scale(1.08);
}

.history-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.history-card-item:hover .history-thumb-overlay {
    opacity: 1;
}

.history-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.7);
}

.history-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8 0%, #818cf8 100%);
    border-radius: 0 2px 2px 0;
    transition: width 0.3s ease;
}

.history-card-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 1px 7px;
    border-radius: 6px;
    align-self: flex-start;
}

.history-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.history-card-title:hover {
    color: #38bdf8;
}

.history-card-chapter {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #94a3b8;
}

.history-card-action {
    flex-shrink: 0;
}

.btn-history-read {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #ffffff !important;
    border: 1px solid rgba(192, 132, 252, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-history-read:hover {
    background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.45);
    transform: translateY(-1px);
}

/* History Skeleton Shimmer */
.history-card-skeleton {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 12px 16px;
}

.history-card-skeleton .skel-thumb {
    width: 54px;
    height: 76px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: skelShimmer 1.5s infinite;
    flex-shrink: 0;
}

.history-card-skeleton .skel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-card-skeleton .skel-bar {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: skelShimmer 1.5s infinite;
}

.history-card-skeleton .skel-bar.full {
    width: 70%;
    height: 14px;
}

.history-card-skeleton .skel-bar.half {
    width: 45%;
}

.history-card-skeleton .skel-bar.third {
    width: 30%;
    height: 10px;
}

@keyframes skelShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Tab Empty States (Shared) */
.profile-tab-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 45px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin: 10px 0;
}

.profile-tab-empty-state .empty-state-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(187, 134, 252, 0.1);
    color: var(--accent-color, #bb86fc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
    border: 1px solid rgba(187, 134, 252, 0.2);
}

.profile-tab-empty-state .empty-state-icon.shield-icon {
    background: rgba(244, 63, 94, 0.1);
    color: #fb7185;
    border-color: rgba(244, 63, 94, 0.2);
}

.profile-tab-empty-state .empty-state-icon.history-icon {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.2);
}

.profile-tab-empty-state .empty-state-text {
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.profile-tab-empty-state .empty-state-sub {
    font-size: 13px;
    color: #64748b;
    max-width: 340px;
    margin: 0;
    line-height: 1.4;
}

/* Profile Library List Headers */
.profile-library-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    gap: 12px;
}

.profile-library-list-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.profile-library-list-title i {
    font-size: 18px;
}

.profile-library-list-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsive Mobile Optimization */
@media (max-width: 768px) {
    .profile-layout {
        padding: 8px 4px 40px 4px !important;
    }

    .profile-card-container {
        margin-bottom: 18px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .profile-hero-card {
        border-radius: 14px !important;
    }

    .profile-banner-area {
        height: 150px !important;
        border-radius: 13px 13px 0 0 !important;
    }

    .profile-hero-content {
        padding: 0 16px 16px 16px !important;
    }

    /* Üst Arama Çubuğu */
    .profile-user-search-wrapper {
        width: 100% !important;
    }

    .profile-user-search-wrapper input {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        padding: 10px 16px 10px 42px !important;
    }

    /* Avatar, İsim & Butonlar */
    .profile-hero-header-row {
        align-items: flex-start !important;
    }

    .profile-header-actions {
        margin-top: 6px !important;
        gap: 8px !important;
    }

    .profile-header-actions .profile-action-btn {
        height: 34px !important;
        padding: 0 14px !important;
        font-size: 12.5px !important;
    }

    .profile-avatar-wrapper {
        width: 86px !important;
        height: 86px !important;
        border-width: 3px !important;
        margin-top: -43px !important;
        margin-left: 0 !important;
        margin-bottom: 10px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    }

    .profile-avatar-wrapper img {
        width: 100% !important;
        height: 100% !important;
    }

    .profile-avatar-gender-badge {
        width: 20px !important;
        height: 20px !important;
        bottom: 2px !important;
        right: 2px !important;
        border-width: 1.5px !important;
    }

    .profile-avatar-gender-badge svg {
        width: 12px !important;
        height: 12px !important;
    }

    .profile-identity-info {
        gap: 2px !important;
    }

    .profile-identity-top-row {
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .profile-name-and-menu {
        gap: 8px !important;
    }

    .profile-name {
        font-size: 18px !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
        line-height: 1.2 !important;
    }

    .profile-username {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .profile-username-row {
        gap: 6px !important;
        margin-top: 1px !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }

    .profile-bio-box {
        margin-top: 7px !important;
    }

    .profile-stats-bar {
        gap: 14px !important;
        margin-top: 10px !important;
        padding-top: 10px !important;
    }

    .user-time-badge {
        padding: 2.5px 8px 2.5px 6px !important;
        gap: 4px !important;
        border-radius: 999px !important;
    }

    .user-time-pulse-dot {
        width: 5px !important;
        height: 5px !important;
    }

    .user-time-icon {
        width: 11px !important;
        height: 11px !important;
    }

    .user-time-text {
        font-size: 11px !important;
        gap: 3px !important;
    }

    .user-time-val {
        font-size: 11px !important;
    }

    .user-time-lbl {
        font-size: 10px !important;
    }

    .profile-bio {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }

    .profile-header-actions {
        margin-top: 8px !important;
        gap: 6px !important;
    }

    .profile-header-actions .profile-action-btn {
        height: 29px !important;
        padding: 0 11px !important;
        font-size: 11.5px !important;
        gap: 5px !important;
    }

    .profile-header-actions .profile-action-btn i,
    .profile-header-actions .profile-action-btn svg {
        font-size: 11px !important;
        width: 12px !important;
        height: 12px !important;
    }

    .profile-stats,
    .profile-stats-bar {
        display: flex !important;
        gap: 6px 12px !important;
        flex-wrap: wrap !important;
        font-size: 12px !important;
        padding-top: 0 !important;
        border-top: none !important;
    }

    .stat-item strong,
    .profile-stat-item .stat-num,
    .stat-badge-num {
        font-size: 12.5px !important;
    }

    .profile-stat-item .stat-lbl,
    .stat-badge-lbl {
        font-size: 11px !important;
    }

    .profile-actions {
        display: flex !important;
        width: 100% !important;
        gap: 6px !important;
        margin-top: 0 !important;
    }

    .profile-actions .btn-profile-edit,
    .profile-actions .btn-follow,
    .profile-actions .btn-block {
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Mobilde 3 Nokta Menüsü & İçindeki Butonlar Kesinlikle Sola Yaslı */
    .profile-more-dropdown {
        left: 0 !important;
        right: auto !important;
        text-align: left !important;
    }

    .profile-more-dropdown .profile-dropdown-item,
    .profile-more-dropdown .btn-follow,
    .profile-more-dropdown .btn-block {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        flex: none !important;
        width: 100% !important;
        padding: 9px 12px !important;
        gap: 10px !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 8px !important;
    }

    .profile-more-dropdown .profile-dropdown-item span,
    .profile-more-dropdown .btn-follow span,
    .profile-more-dropdown .btn-block span {
        text-align: left !important;
        flex: 1 !important;
        margin: 0 !important;
    }

    .profile-more-dropdown .profile-dropdown-item i,
    .profile-more-dropdown .btn-follow i,
    .profile-more-dropdown .btn-block i {
        width: 16px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    /* 🌟 Yatay Sekmeler ve Menü (Responsive) 🌟 */
    .profile-settings-popup {
        display: none !important;
    }

    .profile-content-grid {
        flex-direction: column !important;
        gap: 16px !important;
        margin-top: 15px !important;
        margin-bottom: 30px !important;
        padding: 0 4px !important;
    }

    .profile-tabs-nav-bar {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin-bottom: 12px !important;
    }

    .profile-tabs-scroll-wrapper {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
    }

    .profile-tabs-list {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }

    .profile-tab {
        flex: 1 1 0 !important;
        width: 0 !important;
        padding: 12px 4px 15px 4px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        color: #94a3b8 !important;
        box-shadow: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        transition: color 0.25s ease !important;
    }

    .profile-tab-icon {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.25s ease, color 0.25s ease !important;
    }

    .profile-tab.active .profile-tab-icon {
        transform: scale(1.1);
        stroke: var(--accent-color, #bb86fc) !important;
        color: var(--accent-color, #bb86fc) !important;
    }

    /* Mobilde Akıcı Açılan / Kapanan Sekme Başlığı Animasyonu */
    .profile-tab-title {
        display: inline-block !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        max-width: 0 !important;
        opacity: 0 !important;
        transform: scaleX(0.7) translateX(-4px) !important;
        transform-origin: left center !important;
        margin-left: 0 !important;
        transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.25s ease,
            transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
            margin-left 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .profile-tab.active .profile-tab-title {
        max-width: 110px !important;
        opacity: 1 !important;
        transform: scaleX(1) translateX(0) !important;
        margin-left: 6px !important;
        color: var(--accent-color, #bb86fc) !important;
    }

    /* Rozet (Badge) - Kaldırıldı */
    .profile-tab-badge {
        display: none !important;
    }

    .profile-tab::after {
        content: '' !important;
        position: absolute !important;
        bottom: -1px !important;
        left: 50% !important;
        width: 0 !important;
        height: 3px !important;
        background: var(--accent-color, #bb86fc) !important;
        border-radius: 3px 3px 0 0 !important;
        box-shadow: 0 0 10px var(--accent-color, rgba(187, 134, 252, 0.5)) !important;
        transform: translateX(-50%) !important;
        transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .profile-tab.active::after {
        width: 60% !important;
    }

    /* Mobil Modal ve Diyalog Ayarları */
    .profile-mobile-settings-modal {
        background: #090b10 !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
    }

    .profile-settings-dialog-card {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        background: #090b10 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        flex-direction: column !important;
        transform: translateY(20px);
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden !important;
    }

    .profile-mobile-settings-modal.active .profile-settings-dialog-card {
        transform: translateY(0);
    }

    .profile-mobile-settings-inner.pms-sidebar {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        background: #090b10 !important;
        border-right: none !important;
        padding: calc(20px + env(safe-area-inset-top, 0px)) 18px calc(40px + env(safe-area-inset-bottom, 0px)) 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
    }

    .profile-mobile-settings-inner.pms-content-panel {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        background: #090b10 !important;
        padding: calc(16px + env(safe-area-inset-top, 0px)) 18px calc(40px + env(safe-area-inset-bottom, 0px)) 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
    }

    /* Mobilde Görünüm Geçişi: Ana Menü vs Sekme Detayı (.in-detail-view) */
    #profileSettingsDialog:not(.in-detail-view) #pmsMainMenuView {
        display: flex !important;
    }

    #profileSettingsDialog:not(.in-detail-view) #pmsDetailView {
        display: none !important;
    }

    #profileSettingsDialog.in-detail-view #pmsMainMenuView {
        display: none !important;
    }

    #profileSettingsDialog.in-detail-view #pmsDetailView {
        display: flex !important;
    }

    .pms-mobile-only-close {
        display: flex !important;
    }

    .pms-content-panel .pms-detail-header {
        padding: 0 0 18px 0 !important;
        background: transparent !important;
    }

    .pms-content-panel .pms-back-btn {
        display: inline-flex !important;
    }

    .pms-content-panel .pms-detail-title {
        text-align: center !important;
    }

    .pms-content-panel .pms-detail-body {
        padding: 0 !important;
    }

    /* Kartlar & İçerik Alanları */
    .create-post-box,
    .social-post,
    .social-comment,
    .settings-form-container,
    .private-profile-notice,
    .empty-state {
        padding: 12px 10px !important;
        border-radius: 10px !important;
        margin-bottom: 10px !important;
    }

    .social-post .post-header {
        margin-bottom: 10px !important;
    }

    .social-post .post-avatar {
        width: 36px !important;
        height: 36px !important;
        margin-right: 8px !important;
    }

    .social-post .post-author {
        font-size: 14px !important;
    }

    .social-post .post-content {
        font-size: 13.5px !important;
        line-height: 1.5 !important;
    }

    .create-post-box textarea {
        font-size: 13.5px !important;
        padding: 10px !important;
        min-height: 65px !important;
    }

    /* Takipler ve İstekler Kartları */
    .req-item {
        padding: 10px 12px !important;
        gap: 8px !important;
        border-radius: 10px !important;
        margin-bottom: 8px !important;
    }

    .req-item .req-avatar-wrap {
        width: 38px !important;
        height: 38px !important;
    }

    .req-item .req-avatar-wrap img,
    .req-item img.avatar,
    .req-item .avatar-circle {
        width: 38px !important;
        height: 38px !important;
    }

    .req-item .req-user-name {
        font-size: 13.5px !important;
    }

    .req-item .req-user-handle {
        font-size: 11.5px !important;
    }

    .btn-req-approve,
    .btn-req-reject,
    .req-item .btn-follow,
    .req-item .btn-block {
        padding: 6px 11px !important;
        font-size: 11.5px !important;
    }

    /* Okuma Geçmişi Kartları Mobil */
    .history-card-item {
        padding: 10px !important;
        gap: 12px !important;
        border-radius: 10px !important;
    }

    .history-thumb-wrap {
        width: 46px !important;
        height: 64px !important;
    }

    .history-card-title {
        font-size: 13.5px !important;
    }

    .history-card-chapter {
        font-size: 11.5px !important;
    }

    .btn-history-read {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
    }

    /* Kitaplık Listesi & Grid (Mobile 1 Column & Scaled Titles) */
    .profile-library-list {
        padding: 14px 10px !important;
        border-radius: 12px !important;
        margin-bottom: 18px !important;
    }

    .profile-library-list-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px 12px !important;
        margin-bottom: 14px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .profile-library-list-title {
        margin: 0 !important;
        font-size: 16px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-weight: 700 !important;
        color: #fff !important;
    }

    .profile-library-list-title i {
        font-size: 15px !important;
    }

    .profile-library-list-meta {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        font-size: 12px !important;
    }

    .library-elegant-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .library-elegant-card {
        padding: 10px !important;
        border-radius: 12px !important;
    }

    .library-card-link {
        gap: 12px !important;
    }

    .library-card-thumb {
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
        height: 130px !important;
        border-radius: 8px !important;
    }

    .library-card-title {
        font-size: 14.5px !important;
        line-height: 1.35 !important;
    }

    .library-card-desc {
        font-size: 12px !important;
        -webkit-line-clamp: 2 !important;
    }
}

@media (max-width: 480px) {
    .profile-layout {
        padding: 6px 2px 30px 2px !important;
    }

    .profile-card-container {
        padding-left: 2px !important;
        padding-right: 2px !important;
        margin-bottom: 14px !important;
    }

    .profile-hero-card {
        border-radius: 12px !important;
    }

    .profile-banner-area {
        height: 125px !important;
        border-radius: 11px 11px 0 0 !important;
    }

    .profile-hero-content {
        padding: 0 12px 14px 12px !important;
    }

    .profile-header-actions {
        margin-top: 5px !important;
        gap: 5px !important;
    }

    .profile-header-actions .profile-action-btn {
        height: 26px !important;
        padding: 0 9px !important;
        font-size: 10.5px !important;
        gap: 4px !important;
    }

    .profile-header-actions .profile-action-btn i,
    .profile-header-actions .profile-action-btn svg {
        font-size: 10px !important;
        width: 10px !important;
        height: 10px !important;
    }

    .profile-avatar-wrapper {
        width: 76px !important;
        height: 76px !important;
        border-width: 3px !important;
        margin-top: -38px !important;
        margin-left: 0 !important;
        margin-bottom: 8px !important;
    }

    .profile-avatar-gender-badge {
        width: 18px !important;
        height: 18px !important;
        bottom: 1px !important;
        right: 1px !important;
        border-width: 1.5px !important;
    }

    .profile-avatar-gender-badge svg {
        width: 10px !important;
        height: 10px !important;
    }

    .profile-identity-info {
        gap: 2px !important;
    }

    .profile-name {
        font-size: 16px !important;
        gap: 2px !important;
        line-height: 1.2 !important;
    }

    .profile-username {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .profile-username-row {
        gap: 5px !important;
        margin-top: 1px !important;
        line-height: 1.2 !important;
    }

    .profile-bio-box {
        margin-top: 6px !important;
    }

    .profile-bio-text {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .profile-stats-bar {
        gap: 5px 10px !important;
        margin-top: 6px !important;
        padding-top: 0 !important;
    }

    .profile-stat-item,
    .profile-stat-badge {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        font-size: 11px !important;
        gap: 3px !important;
    }

    .profile-stat-item .stat-num,
    .stat-badge-num {
        font-size: 12px !important;
    }

    .profile-stat-item .stat-lbl,
    .stat-badge-lbl {
        font-size: 10.5px !important;
    }

    .profile-library-list {
        padding: 12px 8px !important;
    }

    .profile-library-list-title {
        font-size: 14.5px !important;
        gap: 6px !important;
    }

    .profile-library-list-title i {
        font-size: 13.5px !important;
    }

    .profile-library-list-meta {
        gap: 6px !important;
        font-size: 11px !important;
    }

    .library-card-thumb {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
        height: 118px !important;
    }

    .library-card-title {
        font-size: 13.5px !important;
    }

    .user-time-badge {
        padding: 2px 6px !important;
        gap: 3.5px !important;
    }

    .user-time-val {
        font-size: 10.5px !important;
    }

    .user-time-lbl {
        font-size: 9.5px !important;
    }

    .profile-tab {
        padding: 10px 2px 14px 2px !important;
    }

    .profile-tab-title {
        font-size: 12.5px !important;
    }

    .profile-tab.active .profile-tab-title {
        max-width: 95px !important;
        margin-left: 5px !important;
    }

    .create-post-box,
    .social-post,
    .social-comment,
    .settings-form-container,
    .private-profile-notice,
    .empty-state {
        padding: 10px 8px !important;
    }
}

/* ==========================================================================
   PROFILE COMMENTS FEED (MODERN DARK OBSIDIAN & PURPLE NEON)
   ========================================================================== */
.profile-comments-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-comment-card {
    background: #141724;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.profile-comment-card:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 16px rgba(139, 92, 246, 0.1);
}

/* 1. Üst Seri Bilgi Şeridi (Görseldeki Tasarım) */
.pcc-series-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pcc-series-info-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pcc-series-thumb-link {
    flex-shrink: 0;
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    background: #1e2230;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease;
}

.pcc-series-thumb-link:hover {
    transform: scale(1.05);
}

.pcc-series-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pcc-series-text-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pcc-series-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.pcc-series-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.pcc-series-title:hover {
    color: #a78bfa;
}

.pcc-chapter-pill {
    background: rgba(244, 63, 94, 0.16);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.28);
    border-radius: 20px;
    padding: 1px 9px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.pcc-chapter-pill:hover {
    background: rgba(244, 63, 94, 0.3);
    color: #ffffff;
}

.pcc-series-subtext {
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcc-card-time {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 2. Yanıt Verilen Alıntı Kutusu (Görseldeki Gibi) */
.pcc-quote-box {
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 3px solid #ec4899;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.pcc-quote-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.pcc-quote-label {
    color: #94a3b8;
}

.pcc-quote-user {
    color: #f472b6;
    font-weight: 600;
    text-decoration: none;
}

.pcc-quote-user:hover {
    text-decoration: underline;
}

.pcc-quote-body {
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
    font-style: italic;
    word-break: break-word;
}

/* 3. Ana Yorum Alanı */
.pcc-comment-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pcc-author-avatar-wrap {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    position: relative;
}

.pcc-author-avatar-wrap .pcc-avatar-img,
.pcc-author-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1f2334;
    display: block;
}

.pcc-comment-content-wrap {
    flex: 1;
    min-width: 0;
}

.pcc-author-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.pcc-author-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.pcc-lvl-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.pcc-lvl-badge i {
    font-size: 9px;
}

.pcc-action-subtext {
    font-size: 12px;
    color: #94a3b8;
}

.pcc-pending-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 8px;
    color: #facc15;
    font-size: 12px;
    margin-bottom: 8px;
}

.pcc-body {
    margin-top: 2px;
    color: #f1f5f9;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.pcc-body p {
    margin: 0 0 6px 0;
}

.pcc-body p:last-child {
    margin-bottom: 0;
}

.pcc-quote-body .pnc-inline-emoji,
.pcc-body .pnc-inline-emoji,
.pnc-inline-emoji {
    height: 1.4em;
    vertical-align: middle;
    display: inline-block;
    margin: 0 2px;
}

.pcc-attached-img-wrap {
    margin-top: 10px;
    display: inline-block;
}

.pcc-attached-img {
    max-height: 140px;
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    object-fit: contain;
    transition: transform 0.2s;
    cursor: pointer;
    display: block;
}

.pcc-attached-img:hover {
    transform: scale(1.02);
}

.pcc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.pcc-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* New Button & Reply Styles (Matched with comments.php) */
.pnc-action-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pnc-action-btn:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
}

.pnc-action-btn.pcc-btn-like:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.pnc-action-btn.pcc-btn-dislike:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

.pimanga-spoiler {
    background-color: #1e293b !important;
    color: #1e293b !important;
    border-radius: 4px;
    padding: 0 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.pimanga-spoiler.revealed {
    background-color: transparent !important;
    color: #cbd5e1 !important;
}

.profile-comments-empty {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(180deg, #161826 0%, #11121c 100%);
    border: 1px dashed #1f2334;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.profile-comments-empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    font-size: 26px;
    margin-bottom: 4px;
}

.profile-comments-empty h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.profile-comments-empty p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    max-width: 320px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .profile-comment-card {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .profile-comment-card {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .pcc-series-header {
        gap: 8px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .pcc-series-thumb-link {
        width: 34px;
        height: 34px;
    }

    .pcc-series-title {
        font-size: 13.5px;
        max-width: 160px;
    }

    .pcc-chapter-pill {
        font-size: 10px;
        padding: 1px 7px;
    }

    .pcc-series-subtext {
        font-size: 11px;
    }

    .pcc-card-time {
        font-size: 11px;
    }

    .pcc-quote-box {
        padding: 8px 10px;
        margin-bottom: 10px;
    }

    .pcc-quote-body {
        font-size: 12px;
    }

    .pcc-comment-main {
        gap: 10px;
    }

    .pcc-author-avatar-wrap {
        width: 32px;
        height: 32px;
    }

    .pcc-author-name {
        font-size: 13.5px;
    }

    .pcc-action-subtext {
        font-size: 11.5px;
    }

    .pcc-body {
        font-size: 13px;
    }
}

/* --- FOLLOWERS & FOLLOWING POPUP MODAL STYLES --- */
@keyframes pncFollowModalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pncFollowOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#followModal.pnc-follow-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 8, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: pncFollowOverlayIn 0.2s ease-out;
}

#followModal .pnc-follow-modal-dialog {
    background: linear-gradient(180deg, #161826 0%, #11121c 100%);
    border: 1px solid #1f2334;
    border-radius: 16px;
    width: 92%;
    max-width: 480px;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 35px rgba(124, 58, 237, 0.15);
    overflow: hidden;
    animation: pncFollowModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#followModal .pnc-follow-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #1f2334;
    background: rgba(13, 15, 23, 0.65);
}

#followModal .pnc-follow-modal-title {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#followModal .pnc-follow-modal-title i {
    color: #a78bfa;
    font-size: 17px;
}

#followModal .pnc-follow-modal-close {
    background: #1c2030;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

#followModal .pnc-follow-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

#followModalBody.pnc-follow-scroll-area {
    overflow-y: auto;
    flex: 1;
    max-height: calc(82vh - 65px);
    background: transparent;
    border-radius: 0 0 16px 16px;
}

#followModalBody.pnc-follow-scroll-area::-webkit-scrollbar {
    width: 5px;
}

#followModalBody.pnc-follow-scroll-area::-webkit-scrollbar-thumb {
    background: #252a3d;
    border-radius: 4px;
}

.pnc-follow-loading {
    padding: 45px 20px;
    text-align: center;
    color: #a78bfa;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pnc-follow-loading i {
    font-size: 28px;
    color: #a78bfa;
}

.pnc-follow-empty {
    padding: 48px 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 13.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pnc-follow-empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    font-size: 24px;
    margin-bottom: 2px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pnc-follow-empty i {
    font-size: inherit;
    color: inherit;
}

#followModal .modal-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(17, 18, 28, 0.4);
    transition: all 0.2s ease;
}

#followModal .modal-user-item:last-child {
    border-bottom: none;
}

#followModal .modal-user-item:hover {
    background: rgba(124, 58, 237, 0.08);
}

#followModal .modal-user-info {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

#followModal .modal-user-info img,
#followModal .modal-user-info .avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1f2334;
    flex-shrink: 0;
}

#followModal .modal-user-name {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#followModal .modal-user-item:hover .modal-user-name {
    color: #a78bfa;
}

#followModal .modal-user-handle {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

#followModal .btn-follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    outline: none;
    flex-shrink: 0;
}

#followModal .btn-follow:not(.active):not(.pending):not(.remove-follower) {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #ffffff;
    border: 1px solid rgba(167, 139, 250, 0.35);
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
}

#followModal .btn-follow:not(.active):not(.pending):not(.remove-follower):hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.5);
    transform: translateY(-1px);
}

#followModal .btn-follow.active {
    background: #1c2030;
    color: #94a3b8;
    border: 1px solid #282e44;
}

#followModal .btn-follow.active:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}

#followModal .btn-follow.pending {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

#followModal .btn-follow.pending:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}

#followModal .btn-follow.remove-follower {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

#followModal .btn-follow.remove-follower:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35);
}

/* ========================================================
   Hold-to-Load Comments Button (2sn Modern Basılı Tut)
   ======================================================== */
.profile-load-more-comments-wrap {
    text-align: center;
    padding: 24px 10px 10px;
    margin-top: 10px;
}

.btn-hold-load-more {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(28, 30, 48, 0.95), rgba(18, 19, 32, 0.98));
    color: #f1f5f9;
    border: 1px solid rgba(139, 92, 246, 0.28);
    padding: 13px 28px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    outline: none;
}

.btn-hold-load-more:hover {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-hold-load-more.is-holding {
    transform: scale(0.975);
    border-color: rgba(168, 85, 247, 0.85);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5), inset 0 0 10px rgba(168, 85, 247, 0.25);
}

.btn-hold-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.55), rgba(168, 85, 247, 0.8), rgba(192, 132, 252, 0.95));
    pointer-events: none;
    border-radius: inherit;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.7);
}

.btn-hold-content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    pointer-events: none;
}

.btn-hold-icon {
    font-size: 13px;
    color: #c084fc;
    transition: transform 0.2s ease;
}

.btn-hold-load-more:hover .btn-hold-icon {
    transform: translateY(2px);
}

.btn-hold-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-hold-subtext {
    color: #c084fc;
    font-size: 12.5px;
    font-weight: 700;
}

.btn-hold-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #c084fc;
    font-size: 13.5px;
    font-weight: 500;
    padding: 12px 0;
}

.btn-hold-loader i {
    font-size: 20px;
    color: #a855f7;
}