/* Profile invitation sits outside the accordion and appears only after confirmation. */
#profileDiscordInvitation {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    margin: 8px 0 16px;
    border: 1px solid rgba(168, 194, 235, 0.22);
    border-radius: var(--surface-radius-lg, 14px);
    background: linear-gradient(180deg, rgba(34, 48, 74, 0.9), rgba(15, 25, 39, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #e4ecf8;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
}
#profileDiscordInvitation[hidden] {
    display: none;
}
#profileDiscordInvitation > span {
    flex: 1 1 28rem;
    min-width: 0;
}
#profileDiscordInvitation a {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #668fd1, #3c6099);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
#profileDiscordInvitation a:hover {
    background: linear-gradient(180deg, #7ba4e7, #4e73ac);
}
#profileDiscordInvitation a:focus-visible {
    outline: 2px solid #c6dcff;
    outline-offset: 3px;
}
