
/* ---- Auth badge + menu ---- */

.got-auth-mount {
    position: absolute;
    top: 6px;
    right: 10px;
    z-index: 9999;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.got-auth-badge {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.85);
    cursor: pointer;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    user-select: none;
    padding: 0;
    overflow: hidden;
}

.got-auth-badge.logged-in {
    background: rgba(255,255,255,0.95);
}

.got-auth-badge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.got-auth-badge-fallback {
    display: inline-block;
    width: 100%;
    height: 100%;
    line-height: 34px;
    text-align: center;
    font-weight: 700;
}

.got-auth-menu {
    position: absolute;
    top: 40px;
    right: 0;
    width: 260px;
    background: white;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    padding: 10px;
    display: none;
}

.got-auth-menu.open {
    display: block;
}

.got-auth-menu-header {
    padding: 6px 6px 10px 6px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 8px;
}

.got-auth-menu-user {
    font-weight: 700;
    font-size: 14px;
}

.got-auth-menu-sub {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 2px;
}

.got-auth-menu-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.got-auth-menu-btn {
    border: 1px solid rgba(0,0,0,0.2);
    background: rgba(245,245,245,1);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

/* ---- Auth modal ---- */

.got-auth-modal {
    max-width: 420px;
}

.got-auth-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.got-auth-label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
}

.got-auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 10px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.25);
}

.got-auth-error {
    color: #b00020;
    margin-top: 10px;
    min-height: 18px;
    font-size: 13px;
}

.got-auth-busy {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.8;
}

.got-auth-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 14px;
}

.got-auth-submit,
.got-auth-cancel {
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}
