.user-info {
    display: flex; flex-direction: column; align-items: center;
    padding: 30px 0 24px;
}
.user-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.user-name {
    font-size: 1.05rem; font-weight: 700; color: var(--text);
    margin-bottom: 4px;
}
.user-desc {
    font-size: 0.8rem; color: var(--text-secondary);
}

.profile-menu-row {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1px; background: var(--border-color);
    border-radius: 8px; overflow: hidden;
    margin-bottom: 12px;
}

.profile-menu-row-three {
    grid-template-columns: repeat(3, 1fr);
}

.profile-menu-item {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 6px;
    padding: 16px 0;
    background: var(--card-bg);
    cursor: pointer;
    transition: background 0.12s;
}

.profile-menu-item:active {
    background: #f8f8f8;
}

.pm-icon {
    font-size: 1.15rem; color: var(--text-secondary);
}

.pm-icon-primary {
    color: var(--primary);
}

.pm-label {
    font-size: 0.85rem; font-weight: 600; color: var(--text);
}

.profile-section {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 12px;
}

.profile-tab-bar {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.profile-tab {
    flex: 1; text-align: center;
    padding: 10px 0;
    font-size: 0.85rem; font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.profile-tab:hover {
    color: var(--text);
}

.profile-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.profile-tab-content {
    padding: 16px;
    min-height: 100px;
}

.font-preview { background: #f5f5f5; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.font-preview-label { font-size: 0.75rem; color: var(--text-secondary); display: block; margin-bottom: 8px; }
.font-preview-text { line-height: 1.6; color: var(--text); }
.font-options { display: flex; justify-content: space-around; margin-bottom: 12px; }
.font-option { text-align: center; cursor: pointer; padding: 8px 12px; font-size: 0.9rem; color: var(--text-secondary); }
.font-option.active { color: var(--primary-dark); font-weight: 600; }
.font-dot { width: 8px; height: 8px; border-radius: 50%; margin: 6px auto 0; background: transparent; }
.font-option.active .font-dot { background: var(--primary-dark); }
.font-slider { padding: 8px 20px; }
.font-slider-track { height: 4px; background: #e0e0e0; border-radius: 2px; position: relative; }
.font-slider-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--primary); position: absolute; top: -6px; left: 33%; transition: left 0.2s; }
.modal-actions { display: flex; gap: 12px; margin-top: 16px; }
.modal-actions .btn { flex: 1; }

.toast {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff; padding: 16px 32px;
    border-radius: 10px; font-size: 0.9rem; font-weight: 600;
    z-index: 300; display: none;
    text-align: center;
}

.toast.show {
    display: block;
    animation: fadeInOut 0.3s ease;
}

@keyframes fadeInOut {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (min-width: 769px) {
    .user-container {
        max-width: 50%;
    }
}
