/* Night2Asia header - v16 cleaned */
.site-header{
    position:sticky;
    top:0;
    z-index:100;
    width:100%;
    min-height:68px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    margin:0;
    padding:0 clamp(18px,4vw,72px);
    border-bottom:1px solid rgba(212,175,55,.18);
    background:rgba(3,3,4,.96);
    backdrop-filter:blur(14px);
    box-shadow:0 8px 28px rgba(0,0,0,.28);
}

.site-logo{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:168px;
    flex:0 0 auto;
}
.site-logo img{
    display:block;
    width:164px;
    height:auto;
    max-height:44px;
    object-fit:contain;
}
.site-logo__text{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
}

.site-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:22px;
    margin-left:auto;
    color:rgba(245,239,226,.84);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;
    font-size:13px;
    font-weight:600;
    letter-spacing:-.01em;
    white-space:nowrap;
}
.site-nav a{
    transition:color .2s ease,border-color .2s ease,background .2s ease;
}
.site-nav a:hover{color:#f4cf67}
.site-nav__pill{
    padding:9px 18px;
    border:1px solid rgba(212,175,55,.46);
    border-radius:999px;
    background:rgba(212,175,55,.045);
    color:#f4cf67;
    font-weight:650;
}

.lang-switcher{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex:0 0 auto;
    min-width:68px;
}
.lang-menu{position:relative}
.lang-menu summary{list-style:none}
.lang-menu summary::-webkit-details-marker{display:none}
.lang-menu__current{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    height:39px;
    min-width:68px;
    padding:0 10px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    background:rgba(255,255,255,.045);
    color:#f7e7b5;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
    user-select:none;
    transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.lang-menu__current:hover,
.lang-menu[open] .lang-menu__current{
    border-color:rgba(212,175,55,.74);
    background:rgba(212,175,55,.08);
    box-shadow:0 0 0 3px rgba(212,175,55,.10);
}
.lang-menu__current img,
.lang-menu__item img{
    display:block;
    width:23px;
    height:23px;
    flex:0 0 auto;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
    box-shadow:0 0 0 1px rgba(255,255,255,.38),0 2px 8px rgba(0,0,0,.25);
}
.lang-menu__panel{
    position:absolute;
    right:0;
    top:calc(100% + 10px);
    z-index:150;
    display:grid;
    gap:4px;
    width:172px;
    padding:7px;
    border:1px solid rgba(212,175,55,.30);
    border-radius:16px;
    background:rgba(8,8,10,.98);
    box-shadow:0 22px 55px rgba(0,0,0,.48);
}
.lang-menu__panel:before{
    content:"";
    position:absolute;
    right:22px;
    top:-6px;
    width:10px;
    height:10px;
    border-left:1px solid rgba(212,175,55,.30);
    border-top:1px solid rgba(212,175,55,.30);
    background:rgba(8,8,10,.98);
    transform:rotate(45deg);
}
.lang-menu__item{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    gap:9px;
    min-height:35px;
    padding:6px 8px;
    border-radius:11px;
    color:rgba(245,239,226,.84);
    font-size:13px;
    font-weight:600;
    transition:background .18s ease,color .18s ease;
}
.lang-menu__item:hover{background:rgba(212,175,55,.10);color:#fff1bf}
.lang-menu__item.active{background:rgba(212,175,55,.16);color:#f4cf67}
.lang-menu__item span{flex:1 1 auto;min-width:0}
.lang-menu__item em{
    font-size:10px;
    font-style:normal;
    color:rgba(245,239,226,.46);
    letter-spacing:.08em;
}

html[lang="ja"] .site-nav,
html[lang="th"] .site-nav,
html[lang="vi"] .site-nav{
    gap:18px;
    font-size:12px;
    font-weight:550;
}
html[lang="zh"] .site-nav,
html[lang="ko"] .site-nav{
    font-size:13px;
    font-weight:600;
}

@media(max-width:780px){
    .site-header{
        min-height:58px;
        padding:0 12px;
        gap:8px;
    }
    .site-logo{
        min-width:auto;
        flex:0 1 auto;
    }
    .site-logo img{
        width:126px;
        max-height:35px;
    }
    .site-nav{
        gap:7px;
        margin-left:auto;
        font-size:12px;
    }
    .site-nav__country{display:none}
    .site-nav__pill{padding:7px 10px}
    .lang-switcher{min-width:58px}
    .lang-menu__current{
        height:35px;
        min-width:58px;
        padding:0 8px;
        font-size:11px;
    }
    .lang-menu__current img{width:22px;height:22px}
    .lang-menu__panel{
        right:0;
        width:164px;
        max-width:calc(100vw - 18px);
    }
}
@media(max-width:420px){
    .site-header{padding:0 10px}
    .site-logo img{width:116px}
    .site-nav{gap:6px;font-size:11px}
    .site-nav__pill{padding:7px 9px}
}
