[data-fgg-language-switch] {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    white-space: nowrap;
}

[data-fgg-language-switch]:hover {
    opacity: .82;
}

[data-fgg-language-switch]:focus-visible {
    outline: 2px solid #a76622;
    outline-offset: 3px;
    border-radius: 3px;
}

.fgg-language-prompt {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    display: flex;
    max-width: min(420px, calc(100vw - 32px));
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(174, 124, 35, .35);
    border-radius: 12px;
    background: #fffaf0;
    color: #493317;
    box-shadow: 0 10px 28px rgba(54, 37, 12, .16);
    font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fgg-language-prompt[hidden] {
    display: none;
}

.fgg-language-prompt__text {
    flex: 1 1 auto;
}

.fgg-language-prompt__accept {
    flex: 0 0 auto;
    padding: 6px 11px;
    border-radius: 999px;
    background: #8a2f24;
    color: #fff;
    text-decoration: none;
}

.fgg-language-prompt__dismiss {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 20px;
}

.fgg-language-prompt__accept:focus-visible,
.fgg-language-prompt__dismiss:focus-visible {
    outline: 2px solid #a76622;
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .fgg-language-prompt {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
    }
}
