/* The native select retains keyboard and mobile picker behavior. */
.lv-language-switcher {
    position: relative;
    display: inline-flex;
    flex: none;
    margin: 0;
    border: 1px solid var(--lv-line-strong, #ddd3ce);
    border-radius: 999px;
    color: inherit;
    background: var(--lv-surface-2, #f5f0ed);
    transition: background .15s ease, border-color .15s ease;
}
.lv-language-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    line-height: 1.2;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
}
.lv-language-flag { font-size: 20px; line-height: 1; }
.lv-language-code { display: none; font-family: system-ui, sans-serif; font-size: 11px; letter-spacing: .03em; }
.lv-language-chevron { width: 14px; height: 14px; flex: none; opacity: .7; }
.lv-language-switcher select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    font: inherit;
}
.lv-language-switcher option { background: #fff; color: #261c30; }
.lv-language-switcher:hover { border-color: var(--lv-brand, #ee3f6b); }
.lv-language-switcher:focus-within { outline: 3px solid #f790b0; outline-offset: 3px; }
.lovia-landing .lv-language-switcher {
    color: #fff;
    background: #ffffff0d;
    border-color: #ffffff40;
}
.lovia-landing .lv-language-display { min-height: 44px; padding-inline: 14px; }
.lovia-landing .lv-language-switcher:hover { background: #ffffff1a; border-color: #ffffff80; }
.admin-shell .lv-language-switcher { color: #f4eff3; background: #ffffff0d; border-color: #ffffff40; }
@media (max-width: 679px) {
    .lv-language-name { display: none; }
    .lv-language-code { display: inline; }
    .lv-language-display { gap: 5px; padding-inline: 8px; min-height: 36px; }
    .lv-language-flag { font-size: 18px; }
    .lv-language-chevron { width: 12px; height: 12px; }
    .lovia-landing .lv-language-display { min-height: 40px; padding-inline: 9px; }
}
@media (max-width: 480px) {
    body.guest-page .lv-topbar .lv-brand-name { display: none; }
    body .lv-topbar-inner { gap: .35rem; }
    .lovia-landing .landing-header-inner { gap: 8px; }
    .lovia-landing .landing-header-actions { gap: 6px; flex-wrap: nowrap; }
    .lovia-landing .landing-header-actions .landing-nav-link { display: none; }
    .lv-language-code { display: none; }
    .lovia-landing .landing-header .landing-brand img { width: 28px; height: 28px; }
    .lovia-landing .landing-header .landing-brand { gap: 6px; font-size: 24px; }
    .lovia-landing .landing-login { min-height: 40px; padding: 8px 10px; font-size: 12px; }
    .lovia-landing .landing-login > span { display: none; }
    .lovia-landing .landing-advertise { padding-inline: 4px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .lv-language-switcher { transition: none; }
}

.lv-footer .lv-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.lv-menu-language {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    margin-top: 8px;
    border-top: 1px solid var(--lv-line, #ebe4e0);
    color: var(--lv-ink, #261c30);
    font-size: 14px;
    font-weight: 600;
}
.lv-footer .lv-language-name,
.lv-menu-language .lv-language-name { display: inline; }
.lv-footer .lv-language-code,
.lv-menu-language .lv-language-code { display: none; }
.lv-footer .lv-language-display,
.lv-menu-language .lv-language-display { min-height: 44px; gap: 8px; padding-inline: 12px; }
