.home-language-switch {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 2px;
    padding: 3px;
    border: 1px solid #dce4f0;
    border-radius: 12px;
    background: #f8fafc;
}
.nav-menu::before { content: none; display: none; }
@media (max-width: 1280px) {
    .nav-menu::before { content: "ເມນູ"; display: block; }
    html[lang="en"] .nav-menu::before { content: "Menu"; }
}
#about .video-header { width: 100%; max-width: none; }
#about .video-header > p { max-width: none; margin: 16px 0 0; line-height: 1.9; text-align: justify; text-justify: inter-word; }
.home-language-switch summary {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 4px 8px;
    cursor: pointer;
    list-style: none;
    color: #475569;
}
.home-language-switch summary::-webkit-details-marker { display: none; }
.home-language-switch summary > i { font-size: 18px; }
.home-language-switch[open] summary > i { transform: rotate(180deg); }
.home-language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    display: grid;
    gap: 4px;
    min-width: 145px;
    padding: 6px;
    background: #fff;
    border: 1px solid #dce4f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}
.home-language-switch:not([open]) .home-language-options { display: none; }
.home-language-options button {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
}
.home-language-options button:hover { background: #eef2ff; }
.home-language-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 38px;
    padding: 4px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.home-language-flag {
    display: block;
    width: 27px;
    height: 18px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .12);
}
.home-language-switch button[aria-pressed="true"] {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
}
.home-language-switch button:focus-visible,
.home-language-switch summary:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
@media (max-width: 480px) {
    .nav-container { gap: 5px; }
    .nav-container .logo-text { font-size: 15px; }
    .nav-container .logo-img { width: 40px; height: 40px; }
    .nav-container .mobile-toggle { width: 38px; min-width: 38px; height: 44px; }
    .nav-container .header-user-icon a {
        width: 40px;
        min-width: 40px;
        height: 40px;
        box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, .9);
        border-radius: 50%;
        background: linear-gradient(145deg, #6366f1, #5b35dc);
        font-size: 26px;
        box-shadow: 0 3px 8px rgba(79, 46, 207, .18), 0 0 0 2px #eeebff;
    }
    .nav-container .header-user-icon a:hover,
    .nav-container .header-user-icon a:focus {
        box-shadow: 0 4px 10px rgba(79, 46, 207, .24), 0 0 0 2px #e4dfff;
    }
    .home-language-switch button { min-width: 32px; padding: 4px 5px; }
}
@media (max-width: 360px) {
    .nav-container .logo-text { font-size: 13px; }
    .nav-container .logo-img { width: 32px; }
}

@media(max-width:1280px){html[lang="zh-CN"] .nav-menu::before{content:"菜单"}}
