/* build:20260627j */
/* 顶栏语言切换：国旗高度 = --hl-locale-flag-h（logo-shine.css，Logo 的 60%） */
.conch-locale-switch:not(.conch-locale-mob) {
    position: relative;
    float: none;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
    margin: 0;
    height: auto;
    line-height: normal;
    overflow: visible;
    z-index: 101;
}
.conch-locale-switch {
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
    z-index: 101;
}
.conch-locale-switch:not(.conch-locale-mob) .conch-locale-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    line-height: 1 !important;
    transition: opacity 0.2s;
    overflow: visible !important;
}
.conch-locale-switch .conch-locale-trigger:hover,
.conch-locale-switch .conch-locale-trigger:focus {
    background: transparent !important;
    opacity: 0.85;
}
.conch-locale-switch.hl-locale-open .conch-locale-trigger {
    opacity: 1;
}
.conch-locale-switch:not(.conch-locale-mob) .conch-locale-trigger .conch-locale-flag {
    display: block !important;
    flex: 0 0 auto;
    font-size: var(--hl-locale-flag-h, 29px) !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
}
.conch-locale-list .conch-locale-flag {
    font-size: 22px !important;
    line-height: 1;
    transform: none;
}
/* 仅点击 .hl-locale-open 时显示 */
.conch-locale-switch .conch-locale-menu,
.conch-locale-switch:hover .conch-locale-menu,
.conch-locale-switch:focus-within:not(.hl-locale-open) .conch-locale-menu,
.conch-locale-switch .hl-alert-box,
.conch-locale-switch:hover .hl-alert-box {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.conch-locale-switch.hl-locale-open .conch-locale-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.conch-locale-switch[hidden],
.conch-locale-switch .conch-locale-menu[hidden] {
    display: none !important;
}
.conch-locale-switch.hl-locale-open {
    z-index: 100010;
}
.conch-locale-switch .conch-locale-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 220px;
    max-height: min(360px, 55vh);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0;
    padding: 8px 0;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    z-index: 100010;
}
.conch-locale-switch.hl-locale-open .conch-locale-menu {
    position: fixed;
    top: var(--hl-locale-menu-top, 8px);
    right: var(--hl-locale-menu-right, 8px);
    left: auto;
    bottom: auto;
}
.conch-locale-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.conch-locale-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    min-height: 44px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.conch-locale-list li a:hover,
.conch-locale-list li a:active {
    background: rgba(0, 0, 0, 0.06);
}
.conch-locale-list li.active a {
    font-weight: 600;
}
.conch-locale-list .conch-locale-name {
    flex: 1;
    font-size: 14px;
}
.conch-locale-list .iconfont {
    font-size: 14px;
    opacity: 0.7;
}
@media (min-width: 768px) {
    .conch-header .conch-headwrap > .container {
        --hl-header-icon-gap: 6px;
        overflow: visible;
        position: static !important;
        padding-right: 0 !important;
    }
    .conch-header .conch-headwrap,
    .conch-header .conch-headwrap > .container {
        overflow: visible;
    }
    .conch-header .conch-headwrap > .container > .conch-list {
        order: 4;
        flex: 0 0 auto;
        padding-right: 0 !important;
        line-height: 1 !important;
        height: auto !important;
        overflow: visible;
        margin-left: calc(-1 * clamp(10px, 1.1vw, 18px) + 4px) !important;
        margin-right: calc(-1 * clamp(10px, 1.1vw, 18px) + var(--hl-header-icon-gap)) !important;
    }
    .conch-header .conch-headwrap > .container > .conch-locale-switch:not(.conch-locale-mob) {
        order: 5;
        position: relative !important;
        right: auto !important;
        top: auto !important;
        height: auto !important;
        margin-left: 0 !important;
        overflow: visible;
    }
    .conch-header .conch-headwrap .conch-list .hl-list {
        display: flex;
        align-items: center;
        gap: var(--hl-header-icon-gap) !important;
        margin: 0;
        padding: 0;
    }
    .conch-header .conch-headwrap .conch-list .hl-list-font {
        float: none;
        margin-left: 0 !important;
        height: auto !important;
        line-height: 1 !important;
    }
    .conch-header .conch-headwrap .conch-list .hl-list-font > a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: var(--hl-locale-flag-h, 29px) !important;
        height: var(--hl-locale-flag-h, 29px) !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
    .conch-header .conch-headwrap .conch-list .hl-list-font > a > i {
        font-size: calc(var(--hl-locale-flag-h, 29px) * 0.72) !important;
        line-height: 1 !important;
    }
    .conch-locale-switch:not(.conch-locale-mob) .conch-locale-trigger .conch-locale-flag {
        font-size: var(--hl-locale-flag-h, 29px) !important;
    }
    .conch-header .conch-headwrap .conch-nav .hl-nav-more {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        display: block;
        height: auto;
    }
    .conch-header .conch-headwrap .conch-nav .hl-nav-more a.hl-open-menu {
        display: block;
        width: auto;
        height: auto;
    }
    .conch-header .conch-headwrap > .container > .conch-nav {
        padding-right: 0 !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .conch-header .conch-headwrap > .container > .conch-list {
        margin-left: calc(-1 * clamp(6px, 1vw, 12px) + 4px) !important;
        margin-right: calc(-1 * clamp(6px, 1vw, 12px) + var(--hl-header-icon-gap)) !important;
    }
}
@media (min-width: 1200px) {
    .conch-locale-switch:not(.conch-locale-mob) .conch-locale-trigger .conch-locale-flag {
        font-size: var(--hl-locale-flag-h, 32px) !important;
    }
    .conch-header .conch-headwrap .conch-list .hl-list-font > a {
        width: var(--hl-locale-flag-h, 32px) !important;
        height: var(--hl-locale-flag-h, 32px) !important;
    }
    .conch-header .conch-headwrap .conch-list .hl-list-font > a > i {
        font-size: calc(var(--hl-locale-flag-h, 32px) * 0.72) !important;
    }
}
@media (max-width: 767px) {
    .conch-header .conch-headwrap,
    .conch-header .conch-headwrap > .container {
        overflow: visible;
    }
    /* 第一行：Logo + 搜索撑满 + 右侧图标组（历史记录 + 国旗）靠最右 */
    .conch-header .conch-headwrap > .container > .conch-logo {
        order: 1;
        flex: 0 0 auto;
    }
    .conch-header .conch-headwrap > .container > .conch-search {
        order: 2;
        flex: 1 1 auto;
        min-width: 0;
        margin: 10px 4px 10px 6px !important;
        border: 1px solid rgba(0, 0, 0, 0.12) !important;
        background: rgba(0, 0, 0, 0.04) !important;
        box-sizing: border-box;
        overflow: hidden;
    }
    .conch-header .conch-headwrap > .container > .conch-list {
        order: 3;
        flex: 0 0 auto;
        margin-left: auto !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        line-height: 1 !important;
    }
    .conch-header .conch-headwrap > .container > .conch-locale-switch:not(.conch-locale-mob) {
        order: 4;
        position: static;
        flex: 0 0 auto;
        margin: 0 8px 0 var(--hl-header-icon-gap, 6px) !important;
        height: auto;
        align-self: center;
        z-index: 101;
    }
    .conch-header .conch-headwrap > .container > .conch-locale-switch:not(.conch-locale-mob) .conch-locale-trigger {
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .conch-header .conch-headwrap > .container > .conch-locale-switch:not(.conch-locale-mob) .conch-locale-trigger .conch-locale-flag {
        font-size: var(--hl-locale-flag-h, 24px) !important;
        line-height: 1 !important;
        transform: none !important;
    }
    .conch-header .conch-headwrap > .container > .conch-nav {
        order: 5;
        flex: 0 0 100%;
    }
    .conch-header .conch-headwrap .conch-list .hl-list {
        display: flex;
        align-items: center;
        gap: var(--hl-header-icon-gap, 6px);
        margin: 0;
        padding: 0;
    }
    .conch-header .conch-headwrap .conch-list .hl-list-font {
        float: none;
        margin: 0 !important;
        height: auto !important;
    }
    .conch-header .conch-headwrap .conch-list .hl-list-font > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: var(--hl-locale-flag-h, 24px);
        height: var(--hl-locale-flag-h, 24px);
        padding: 0;
    }
    .conch-header .conch-headwrap .conch-list .hl-list-font > a > i {
        font-size: calc(var(--hl-locale-flag-h, 24px) * 0.72) !important;
    }
    .conch-header .conch-headwrap .conch-search .hl-search-text {
        padding-right: 34px !important;
        background: transparent !important;
        border: 0 !important;
    }
    .conch-header .conch-headwrap .conch-search .hl-search-submit {
        width: 32px;
        height: 32px;
        line-height: 32px;
        padding: 0;
    }
    .conch-locale-switch:not(.conch-locale-mob) .conch-locale-menu {
        min-width: 220px;
        max-width: min(280px, calc(100vw - 16px));
        max-height: min(360px, 55vh);
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    }
    .conch-locale-switch.hl-locale-open:not(.conch-locale-mob) .conch-locale-menu {
        top: var(--hl-locale-menu-top, 8px);
        bottom: auto;
    }

    /* 详情顶栏：国旗 + 汉堡 靠右并排 */
    .hl-mob-nav .hl-mob-nav-right {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        align-items: center;
        height: 48px;
        z-index: 3;
    }
    .hl-mob-nav .hl-mob-nav-right .hl-mob-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        line-height: 1;
    }
    .hl-mob-nav .hl-mob-nav-right .conch-locale-switch.conch-locale-mob {
        position: static;
        float: none;
        margin: 0;
        height: 48px;
        display: flex;
        align-items: center;
        overflow: visible;
    }
    .hl-mob-nav .hl-mob-nav-right .conch-locale-switch.conch-locale-mob .conch-locale-trigger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1 !important;
    }
    .hl-mob-nav .hl-mob-nav-right .conch-locale-switch.conch-locale-mob .conch-locale-trigger .conch-locale-flag {
        font-size: var(--hl-locale-flag-h, 24px) !important;
        line-height: 1 !important;
        transform: none !important;
    }
    .hl-mob-nav .hl-mob-nav-right .conch-locale-switch.conch-locale-mob .conch-locale-menu {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        left: auto;
        bottom: auto;
        min-width: 220px;
        max-width: min(280px, calc(100vw - 24px));
        max-height: min(360px, 55vh);
        border-radius: 12px;
        z-index: 100002;
    }
}
