/* =============================================
   AVATAR — shared GitHub avatar pill used on both home.html and the PDM app.
   Single source of truth so both pages render the same ring/colors/sizes.
   ============================================= */

.gh-avatar-ring-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #34d399;
    padding: 1px;
    cursor: pointer;
    transition: box-shadow 0.2s;
    flex-shrink: 0;
}
.gh-avatar-ring-sm:hover {
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}
.gh-avatar-ring-sm img {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: block;
}

/* ".gh-connected" wraps the avatar with optional username text on its left.
   Used in the PDM app where knowing which GitHub account is active matters. */
.gh-connected {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 0 4px;
    cursor: pointer;
}
.gh-connected .gh-user {
    color: var(--text-secondary);
    /* Hidden by default — only shown when the burger menu is open
       (see layout.css mobile media query). */
    display: none;
}
