.public-quick-links {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.public-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px 0 10px;
    border-radius: 999px;
    background: var(--public-nav-bg, var(--navbar-bg));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 36px rgba(7, 14, 38, 0.28);
    backdrop-filter: blur(12px);
    color: var(--public-nav-text, var(--brand-name-color));
}

.public-brand-logo {
    display: block;
    width: auto;
    max-width: 40px;
    max-height: 28px;
    object-fit: contain;
}

.public-brand-name {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--public-nav-text, var(--brand-name-color));
}

.public-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--public-nav-bg, var(--navbar-bg));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 34px rgba(7, 14, 38, 0.28);
    backdrop-filter: blur(12px);
    color: var(--public-nav-text, #fff);
    font-size: 0.82rem;
    font-weight: 700;
    transition: 180ms ease;
}

.public-quick-link:hover,
.public-quick-link.is-active {
    background: var(--button-brand);
    border-color: var(--button-brand);
    color: #fff;
}

.locale-switch {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 2px;
    border-radius: 999px;
    background: rgba(13, 21, 58, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.locale-track {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 96px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.locale-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(146, 156, 214, 0.88), rgba(112, 124, 198, 0.94));
    box-shadow: 0 6px 16px rgba(10, 16, 45, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    transition: transform 0.22s ease;
}

.locale-track.is-en .locale-thumb {
    transform: translateX(100%);
}

.locale-option {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
    transition: color 0.18s ease, opacity 0.18s ease;
}

.locale-option.active {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 720px) {
    .public-quick-links {
        top: 12px;
        left: 12px;
        right: 12px;
        justify-content: center;
    }

    .public-quick-link {
        min-width: 120px;
    }

    .public-brand-link {
        width: 100%;
        justify-content: center;
    }

    .locale-switch {
        width: auto;
        display: inline-flex;
        max-width: max-content;
    }

    .locale-switch.locale-switch-docs {
        top: 62px;
        right: 12px;
    }
}
