/* ===================================================
   GTA ONLINE FORUM - PROFILE PAGE STYLES (HYBRID THEME)
   =================================================== */

/* === WRAPPER === */
.gta-profile-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #333;
}

/* === BANNER === */
.gta-profile-banner {
    position: relative;
    min-height: 220px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-color: #0f0f23;
}

.gta-profile-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(10,10,30,0.95) 0%, rgba(10,10,30,0.4) 50%, rgba(10,10,30,0.1) 100%);
    z-index: 1;
}

.gta-profile-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 20px 25px;
    width: 100%;
    flex-wrap: wrap;
}

/* Avatar */
.gta-profile-avatar-area {
    flex-shrink: 0;
}

.gta-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 3px solid #f5a623;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(245,166,35,0.3);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gta-profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245,166,35,0.5);
}

.gta-profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 3px solid #f5a623;
    background: linear-gradient(135deg, #2a2a4a, #1a1a3e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #f5a623;
}

/* Header Info */
.gta-profile-header-info {
    flex: 1;
    min-width: 0;
}

.gta-profile-name {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gta-profile-name img {
    height: 20px;
    vertical-align: middle;
}

.gta-profile-blurb {
    font-size: 13px;
    color: #aaaacc;
    margin-bottom: 12px;
    font-style: italic;
}

/* Stats Row */
.gta-profile-stats-row {
    display: inline-flex;
    flex-wrap: wrap;
    background: rgba(20, 20, 50, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.gta-profile-stat-item {
    padding: 8px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* for wrapped items */
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
}

.gta-profile-stat-item:last-child {
    border-right: none;
}

.gta-stat-label {
    font-size: 10px;
    color: #f5a623;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.gta-stat-value {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

/* Action Buttons */
.gta-profile-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    align-self: flex-end;
    flex-wrap: wrap;
}

a.gta-profile-btn, 
a.gta-profile-btn:link, 
a.gta-profile-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(42, 42, 74, 0.8);
    color: #f5a623 !important;
    border: 1px solid #f5a623;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

a.gta-profile-btn:hover, 
a.gta-profile-btn:active {
    background: #f5a623;
    border-color: #f5a623;
    color: #111122 !important;
    text-decoration: none !important;
}

/* === BODY LAYOUT === */
.gta-profile-body {
    display: flex;
    gap: 0;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* === LEFT SIDEBAR === */
.gta-profile-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #f5f5f8;
    border-right: 1px solid #ddd;
}

.gta-sidebar-section {
    border-bottom: 1px solid #ddd;
}

.gta-sidebar-header {
    background: linear-gradient(135deg, #0f0f23, #1a1a3e);
    color: #f5a623;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f5a623;
}

.gta-sidebar-content {
    padding: 15px;
}

/* Member Icons */
.gta-profile-member-icons {
    text-align: center;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.gta-profile-member-icons img {
    vertical-align: middle;
}

/* Icons */
.gta-profile-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.gta-profile-icon a {
    color: #555;
    font-size: 20px;
    transition: color 0.2s ease;
}

.gta-profile-icon a:hover {
    color: #f5a623;
}

/* Info List */
.gta-profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gta-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.gta-info-row:last-child {
    border-bottom: none;
}

.gta-info-label {
    color: #555;
    font-weight: 600;
}

.gta-info-value {
    color: #222;
    text-align: right;
}

/* Badges Grid */
.gta-badges-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.gta-profile-badge {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    cursor: default;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.gta-profile-badge:hover {
    transform: scale(1.1);
    border-color: #f5a623;
    z-index: 5;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Visitors */
.gta-visitors-placeholder {
    color: #666;
    font-size: 13px;
    font-style: italic;
    text-align: center;
    padding: 10px 0;
}

.gta-visitors-list {
    padding: 0;
}
.gta-visitor-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: background 0.2s;
}
.gta-visitor-row:hover {
    background: #eaeaea;
}
.gta-visitor-row:last-child {
    border-bottom: none;
}
.gta-visitor-avbox {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e0e0e0;
}
.gta-visitor-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gta-visitor-no-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
    background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
}
.gta-visitor-details {
    display: flex;
    flex-direction: column;
}
.gta-visitor-vname {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    transition: color 0.2s;
}
.gta-visitor-row:hover .gta-visitor-vname {
    color: #f5a623 !important;
}
.gta-visitor-vtime {
    font-size: 11px;
    color: #888;
}

/* === RIGHT MAIN CONTENT === */
.gta-profile-main {
    flex: 1;
    min-width: 0;
}

/* Tabs */
.gta-profile-tabs {
    display: flex;
    gap: 0;
    background: #0f0f23;
    border-bottom: 2px solid #f5a623;
}

.gta-tab-btn {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    color: #8888aa;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.gta-tab-btn:last-child {
    border-right: none;
}

.gta-tab-btn:hover {
    background: rgba(245, 166, 35, 0.1);
    color: #f5a623;
}

.gta-tab-btn.active {
    background: #fff;
    color: #333;
}

/* Tab Content */
.gta-tab-content {
    display: none;
    padding: 20px;
    background: #fff;
}

.gta-tab-content.active {
    display: block;
}

/* === CHARACTER CARDS === */
.gta-character-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gta-char-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 50px 260px 1fr 200px;
    align-items: stretch;
    min-height: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.gta-char-card:hover {
    border-color: #f5a623;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
}

.gta-char-level {
    background: linear-gradient(135deg, #1a1a3e, #0f0f23);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #f5a623;
    border-right: 2px solid #f5a623;
}

.gta-char-info-area {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-right: 1px solid #eee;
}

.gta-char-avatar-box {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #eee;
}

.gta-char-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gta-char-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e8, #d0d0d8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #999;
}

.gta-char-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.gta-char-name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.gta-char-faction {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.gta-char-meta {
    font-size: 12px;
    color: #777;
}

.gta-char-meta strong {
    color: #333;
}

/* Stats Area */
.gta-char-stats-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-right: 1px solid #eee;
}

.gta-char-stat-bar {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gta-char-stat-label {
    font-size: 11px;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
}

.gta-char-stat-track {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.gta-char-stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #f5a623, #d48806);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.gta-char-stat-fill.gta-fill-red {
    background: linear-gradient(90deg, #dd4a4a, #bb2a2a);
}

/* Online Info */
.gta-char-online-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 15px;
    font-size: 12px;
    color: #555;
}

/* === FORUM INFO TAB === */
.gta-forum-info {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eee;
}

.gta-forum-dl {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
    margin: 0;
}

.gta-forum-dl dt {
    color: #555;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.gta-forum-dl dd {
    color: #222;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin: 0;
    font-size: 14px;
}

/* === SOCIAL TAB === */
.gta-social-info {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eee;
}

.gta-social-link {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}
.gta-social-link:hover {
    background: #f8f9fa;
}

.gta-social-link i {
    color: #f5a623;
    margin-right: 12px;
    width: 24px;
    text-align: center;
    font-size: 16px;
}

.gta-social-link a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.gta-social-link a:hover {
    color: #f5a623;
}

.gta-social-empty {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* === Signature === */
.gta-profile-signature {
    max-width: 1200px;
    margin: 15px auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px;
}

.gta-profile-signature h5 {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* === PROFILE PANELS (Ban Records & Old Characters) === */
.gta-profile-panels {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gta-panel {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #ddd;
}

.gta-panel-header {
    background: #1d5f9e;
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gta-panel-header i {
    font-size: 14px;
    background: #fff;
    color: #1d5f9e;
    border-radius: 50%;
    padding: 2px;
}

.gta-panel-body {
    padding: 20px;
}

.gta-panel-title {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.gta-panel-empty {
    text-align: center;
    color: #666;
    font-size: 13px;
    padding: 20px 0;
}

/* Old Characters Grid */
.gta-old-chars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.gta-old-char-card {
    background: #a9a9a9;
    border-radius: 8px;
    padding: 15px 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.gta-old-char-card:hover {
    transform: translateY(-3px);
}

.gta-occ-badge-tl {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

.gta-occ-badge-tr {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.gta-occ-badge-tr img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.gta-occ-image {
    width: 80px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.gta-occ-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gta-occ-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.gta-occ-info span {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    text-align: center;
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gta-occ-info .gta-occ-date {
    font-size: 10px;
    width: 95%;
}

/* Badge Colors */
.gta-bg-red { background: #d9534f; }
.gta-bg-blue { background: #007bff; }
.gta-bg-green { background: #28a745; }
.gta-bg-teal { background: #17a2b8; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .gta-profile-body {
        flex-direction: column;
    }
    .gta-profile-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    .gta-char-card {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto auto;
    }
    .gta-char-level {
        grid-row: 1 / -1;
    }
    .gta-char-info-area,
    .gta-char-stats-area,
    .gta-char-online-info {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 600px) {
    .gta-profile-banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .gta-profile-stats-row {
        justify-content: center;
    }
    .gta-profile-actions {
        margin-left: 0;
        justify-content: center;
    }
    .gta-profile-name {
        justify-content: center;
        font-size: 22px;
    }
}

/* Hide default SMF profile elements when our template is active */
#profileview {
    display: none !important;
}


/* --- U-Roleplay Profile Redesign V2 --- */

/* Yeni Profil Header - Kompakt Kart Tasarım */
.profile-header-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.profile-banner {
    position: relative;
        height: 260px;
    overflow: hidden;
}
.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}
.profile-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26,26,26,0.8) 80%, #1a1a1a 100%);
}
.profile-main-row {
    display: flex;
    align-items: flex-end;
    padding: 0 20px 16px;
    gap: 16px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
}
.profile-avatar-box { flex-shrink: 0; }
.profile-avatar {
    width: 173px;
    height: 173px;
    border-radius: 12px;
    border: 3px solid #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    background: #2a2a2a;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-info-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.profile-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.profile-name-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
    min-width: 200px;
    position: relative;
}
.profile-urp-corner {
    margin-left: auto;
}
.profile-username {
        font-size: 20px;
	display: flex;
    gap: 7px;
	    align-items: center;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.profile-rank-badge { max-width: 100%; }
.profile-rank-badge img { max-height: 35px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
.profile-actions { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; margin-left: auto; justify-content: flex-end; padding-right: 5px; position: relative; z-index: 100; }
.profile-action-btn {
    width: 130px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.08);
    color: #ccc;
    text-decoration: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.08);
}
.profile-action-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.profile-action-btn.primary { background: #bd414b; color: #fff; border-color: transparent; }
.profile-action-btn.primary:hover { background: #d4525d; }
.profile-action-btn i { font-size: 10px; }
.profile-stats-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.profile-stat-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
}
.profile-stat-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 5px;
    color: #888;
    font-size: 10px;
}
.profile-stat-content { display: flex; flex-direction: column; line-height: 1.2; }
.profile-stat-label { font-size: 9px; color: #666; text-transform: uppercase; letter-spacing: 0.3px; }
.profile-stat-value { font-size: 11px; color: #ccc; font-weight: 600; }
.profile-achievements-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ach-group { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; }
.ach-group.samp { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.3); }
.ach-group.gtav { background: rgba(100, 100, 100, 0.12); border: 1px solid rgba(100, 100, 100, 0.3); }
.ach-group-label { font-size: 8px; font-weight: 700; writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: 0.5px; }
.ach-group.samp .ach-group-label { color: #f59e0b; }
.ach-group.gtav .ach-group-label { color: #888; }
.ach-icons { display: flex; gap: 3px; }
.ach-icon { position: relative; cursor: pointer; }
.ach-icon img { width: 26px; height: 26px; border-radius: 4px; transition: transform 0.2s; }
.ach-icon:hover img { transform: scale(1.15); }
.ach-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    white-space: normal;
    max-width: 280px;
    min-width: 150px;
    text-align: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    margin-bottom: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    line-height: 1.4;
}
.ach-icon:hover::after { opacity: 1; visibility: visible; }
.profile-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
    z-index: 5;
}
.profile-edit-btn:hover { background: rgba(0,0,0,0.8); transform: scale(1.05); }

.char-hide-toggle {
	position: absolute;
	top: 10px;
    right: 48px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 15px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    z-index: 1000;
    pointer-events: auto;
}
.char-hide-toggle:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: #bd414b;
}
.char-hide-toggle.active {
    background: rgba(189, 65, 75, 0.2);
    border-color: #bd414b;
}
.urpc-name {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Character Card Styles */
.urpc-char-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.urpc-char-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.urpc-name-link {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.urpc-name-link:hover { color: #bd414b; }

.urpc-avatar-img {
    width: 65px; height: 65px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(0,0,0,0.1);
}

.urpc-details-list {
    display: flex; flex-direction: column; gap: 2px; font-size: 10px; color: #666;
}
.urpc-faction-link {
    color: #555; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px;
}
.urpc-faction-link:hover { color: #bd414b; }

/* Dark Mode Overrides */
body.dark-theme .urpc-char-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}
body.dark-theme .urpc-name-link {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
body.dark-theme .urpc-avatar-img {
    border: 2px solid rgba(255,255,255,0.1);
}
body.dark-theme .urpc-details-list {
    color: #aaa;
}
body.dark-theme .urpc-faction-link {
    color: #ccc;
}

/* User Info Layout */
.profil-icerik {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.profil-icerik-sol {
    width: 320px;
    flex-shrink: 0;
}
.profil-icerik-sol-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.user-info-heading {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.user-info-item {
    margin-bottom: 10px;
}
.user-info-label {
    display: block;
    color: #aaa;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.user-info-value {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}
.profile-main-content {
    flex: 1;
    min-width: 0;
}
.aktif-karakterler-box {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.aktif-karakterler-header {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.aktif-karakterler-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}