/* btk-i18n.css — locale별 타이포·줄바꿈 + 글로벌 KO|EN 토글 */
html[data-btk-locale="ko"] body {
    word-break: keep-all;
    overflow-wrap: break-word;
}

html[data-btk-locale="en"] body {
    word-break: normal;
    overflow-wrap: break-word;
}

html[data-btk-locale="ko"] .nav-text,
html[data-btk-locale="ko"] .services-header-text p {
    line-height: 1.45;
}

/* ── 글로벌 언어 토글 (KO | EN) ── */
.btk-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
    flex-shrink: 0;
}

.btk-lang-btn {
    min-width: 0 !important;
    height: auto !important;
    padding: 5px 11px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}

.btk-lang-btn::before,
.btk-lang-btn::after { content: none !important; }

.btk-lang-btn:hover {
    color: rgba(255, 255, 255, 0.92) !important;
}

.btk-lang-btn.active {
    background: linear-gradient(135deg, #b74e91 0%, #7c3aed 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
}

.btk-lang-btn:active { transform: scale(0.96); }

.btk-lang-switcher--sidebar {
    display: flex;
    justify-content: center;
    margin: 14px 0 6px;
    width: 100%;
}

.btk-lang-switcher--hamburger {
    display: flex;
    justify-content: center;
    margin: 0 auto 18px;
    width: fit-content;
}

.btk-lang-switcher--services {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.services-header { position: relative; }

.btk-lang-switcher--fixed {
    position: fixed;
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    z-index: 99990;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.btk-lang-switcher--legal {
    display: inline-flex;
    vertical-align: middle;
}

@media (max-width: 520px) {
    .btk-lang-switcher--services {
        top: auto;
        bottom: -42px;
        right: 0;
        transform: none;
    }
}
