.profile-orb {
    appearance: none;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.profile-orb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.account-dialog {
    max-width: 420px;
    text-align: center;
}

.account-player-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
    margin: 14px 0 18px;
    padding: 12px;
    border: 1px solid rgba(229, 190, 98, .38);
    border-radius: 14px;
    background: rgba(23, 13, 8, .58);
    text-align: left;
}

.account-avatar {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid #e7bd63;
    border-radius: 50%;
    color: #1d130b;
    background: linear-gradient(145deg, #fff0b0, #d7932d);
    font: 800 24px/1 system-ui, sans-serif;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}
.account-player-card strong, .account-player-card small { display: block; }
.account-player-card small { margin-top: 4px; color: #e7ca8f; }
.account-copy { color: #f6e7c2; font-size: 14px; line-height: 1.45; }

.social-login-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.social-login-actions[hidden],
.account-security-note[hidden] {
    display: none !important;
}

.social-login-button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    color: #fff;
    font: 700 15px/1 system-ui, sans-serif;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.social-login-button.facebook { background: #1877f2; }
.social-login-button.google { background: #fff; color: #2f3136; }
.social-login-button span { font-size: 21px; font-weight: 900; }
.account-security-note { margin: 13px 0 0; color: #cdb985; font-size: 12px; }

.login-toast {
    position: fixed;
    z-index: 10050;
    left: 50%;
    top: 18px;
    width: min(92vw, 420px);
    transform: translate(-50%, -140%);
    padding: 13px 16px;
    border: 1px solid rgba(233, 194, 102, .65);
    border-radius: 12px;
    color: #fff5d5;
    background: rgba(31, 17, 9, .96);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .42);
    text-align: center;
    transition: transform .28s ease;
}

.login-toast.show { transform: translate(-50%, 0); }
