/* profile-specific styles only — shared base in shared2.css */

/* Profile sidebar is 200px wide, override shared 240px */
.sidebar { width: 200px; }
.main { margin-left: 200px; width: calc(100% - 200px); }

/* ── PROFILE HEADER ── */
.profile-header {
    display: flex; align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.profile-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--surface2);
    border: 3px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
}

.profile-info { flex: 1; }

.profile-username {
    font-size: 28px; font-weight: 700;
    color: var(--text);
    display: flex; align-items: center;
    gap: 12px; margin-bottom: 4px;
}

.private-badge {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--muted);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 3px 8px; border-radius: 4px;
}

.profile-clan { font-size: 13px; color: var(--gold); margin-bottom: 4px; }
.profile-joined { font-size: 11px; color: var(--muted); font-family: var(--mono); }

.btn-privacy {
    padding: 10px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-family: var(--font);
    font-size: 12px; font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-privacy:hover { border-color: var(--gold-dim); color: var(--gold); }

/* ── STATS ── */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
}

.stat-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.stat-value { font-size: 24px; font-weight: 700; font-family: var(--mono); color: var(--gold); }

/* ── PORTFOLIO ── */
.profile-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.portfolio-row {
    background: var(--surface);
    border: 1px solid var(--gold-dim);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: border-color 0.15s, background 0.15s;
    text-decoration: none;
    color: inherit;
}

.portfolio-row:hover {
    border-color: var(--gold);
    background: var(--surface2);
}

.portfolio-left { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.portfolio-left img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; border: 2px solid var(--gold); }
.portfolio-name { font-size: 13px; font-weight: 700; color: var(--text); }
.portfolio-clan { font-size: 11px; color: var(--muted); }

.portfolio-right { text-align: center; }
.portfolio-value { font-size: 16px; font-weight: 700; font-family: var(--mono); color: var(--gold); margin-bottom: 4px; }

.private-message { text-align: center; padding: 60px 0; color: var(--muted); }

/* ── MOBILE ── */
@media (max-width: 900px) {
    .main { margin-left: 0; width: 100%; }
    .profile-header { flex-wrap: wrap; gap: 16px; }
    .profile-username { font-size: 22px; }
    .profile-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-value { font-size: 20px; }
}
