/* ══════════════════════════════════════
   TELA DE PERFIL — profile-screen
══════════════════════════════════════ */
#profile-screen .profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 20px 40px;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.pf-loading {
    color: rgba(255,255,255,0.6);
    margin-top: 40px;
    font-size: 1em;
}

/* Avatar placeholder */
.pf-avatar {
    font-size: 4em;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,204,0,0.3);
    border-radius: 50%;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.pf-email {
    font-size: 0.82em;
    color: rgba(255,255,255,0.5);
    margin-top: -8px;
}

/* Nome editável */
.pf-name-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.pf-name-input {
    flex: 1;
    padding: 11px 14px;
    border-radius: 10px;
    border: 2px solid rgba(255,204,0,0.35);
    background: rgba(255,255,255,0.92);
    color: #003366;
    font-size: 1em;
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s;
}
.pf-name-input:focus { border-color: var(--prf-yellow, #FFCC00); }

.pf-save-btn {
    background: var(--prf-yellow, #FFCC00) !important;
    color: #003366 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 16px !important;
    font-size: 0.9em !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    white-space: nowrap;
    margin: 0 !important;
    transition: opacity 0.15s !important;
}
.pf-save-btn:disabled { opacity: 0.5 !important; }

/* Mensagem feedback */
.pf-msg { font-size: 0.83em; text-align: center; }
.pf-msg-success { color: #6dff9a; }
.pf-msg-error   { color: #ff6b6b; }

/* Stats */
.pf-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.pf-stat {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,204,0,0.2);
    border-radius: 14px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pf-stat-value {
    font-size: 1.6em;
    font-weight: 900;
    color: var(--prf-yellow, #FFCC00);
    line-height: 1;
}

.pf-stat-label {
    font-size: 0.72em;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile */
@media (max-width: 400px) {
    .pf-stats-grid { gap: 8px; }
    .pf-stat-value { font-size: 1.3em; }
}
