:root {
    --site-chrome-purple: #3d1e58;
    --site-chrome-purple-2: #6c3a96;
    --site-chrome-amber: #efa95a;
    --site-chrome-muted: #8a8294;
    --site-chrome-line: rgba(61, 30, 88, .1);
    --site-chrome-gradient: linear-gradient(120deg, #4a2375 0%, #6b3a94 55%, #8e5ba6 100%);
    --site-chrome-shadow: 0 12px 28px -14px rgba(74, 35, 117, .18);
    --site-chrome-gutter: clamp(14px, 4vw, 70px);
}

body .site-chrome-header,
body .site-chrome-header *,
body .site-chrome-footer,
body .site-chrome-footer *,
body .site-chrome-floating,
body .site-chrome-floating *,
body .site-chrome-drawer,
body .site-chrome-drawer * {
    box-sizing: border-box;
}

body .site-chrome-header a,
body .site-chrome-footer a,
body .site-chrome-floating a,
body .site-chrome-drawer a {
    color: inherit;
    text-decoration: none;
}

body .n6-shell.site-chrome-header {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--n6-gutter, var(--site-chrome-gutter));
    padding-left: var(--n6-gutter, var(--site-chrome-gutter));
}

body .n6-header.site-chrome-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    height: 76px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 0 0 22px 22px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--site-chrome-shadow);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

body .site-chrome-header .n6-brand,
body .site-chrome-header .n6-top-nav,
body .site-chrome-header .n6-nav-links,
body .site-chrome-header .n6-utilities,
body .site-chrome-header .n6-utility {
    display: flex;
    align-items: center;
}

body .site-chrome-header .n6-brand {
    height: 46px;
    overflow: hidden;
}

body .site-chrome-header .n6-brand img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 100%;
    object-fit: contain;
}

body .site-chrome-header .n6-top-nav {
    min-width: 0;
    justify-content: flex-start;
    gap: 16px;
    white-space: nowrap;
}

body .site-chrome-header .n6-nav-links {
    flex: 0 0 auto;
    gap: 16px;
}

body .site-chrome-header .n6-nav-link {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 12px 8px 13px;
    border-radius: 10px;
    color: #4a4460;
    font-size: 16px;
    font-weight: 700;
    transition: color .2s, background-color .2s, box-shadow .2s, transform .2s;
}

body .site-chrome-header .n6-nav-link:hover,
body .site-chrome-header .n6-nav-link.is-active {
    color: var(--site-chrome-purple) !important;
}

body .site-chrome-header .n6-nav-link:hover {
    background: #f3eff7;
    box-shadow: inset 0 0 0 1px rgba(108, 58, 150, .08);
    transform: translateY(-1px);
}

body .site-chrome-header .n6-nav-link.is-active {
    background: #eee6f5;
    box-shadow: inset 0 0 0 1px rgba(108, 58, 150, .12);
    font-weight: 800;
}

body .site-chrome-header .n6-nav-link.is-active::after {
    position: absolute;
    right: 9px;
    bottom: 5px;
    left: 9px;
    height: 3px;
    border-radius: 4px;
    background: var(--site-chrome-gradient);
    content: "";
}

body .site-chrome-header .n6-search {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: min(470px, 34vw);
    height: 46px;
    overflow: hidden;
    margin: 0;
    border: 1.5px solid rgba(74, 35, 117, .18);
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 1px 4px rgba(74, 35, 117, .04);
    transform: translate(-50%, -50%);
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

body .site-chrome-header .n6-search:focus-within {
    border-color: rgba(108, 58, 150, .34);
    box-shadow:
        inset 0 0 8px rgba(239, 169, 90, .12),
        0 0 0 3px rgba(108, 58, 150, .08),
        0 0 16px 5px rgba(108, 58, 150, .22),
        0 0 34px 10px rgba(239, 169, 90, .1),
        0 14px 34px -12px rgba(74, 35, 117, .52);
}

body .site-chrome-header .n6-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 18px;
    color: #333;
    background: #fff !important;
    box-shadow: none !important;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

body .site-chrome-header .n6-search input:focus,
body .site-chrome-header .n6-search input:active {
    background: #fff !important;
    box-shadow: none !important;
}

body .site-chrome-header .n6-search input:-webkit-autofill,
body .site-chrome-header .n6-search input:-webkit-autofill:hover,
body .site-chrome-header .n6-search input:-webkit-autofill:focus {
    -webkit-text-fill-color: #333;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    caret-color: #333;
}

body .site-chrome-header .n6-search button {
    position: relative;
    display: grid;
    width: 46px;
    flex: 0 0 46px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--site-chrome-gradient);
    background-size: 180% 180%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    cursor: pointer;
    isolation: isolate;
    transition: transform .16s ease, box-shadow .25s ease, background-position .35s ease;
}

body .site-chrome-header .n6-search button svg {
    display: block;
    position: relative;
    z-index: 2;
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 2px 4px rgba(30, 12, 48, .32));
    transform-origin: 48% 48%;
}

body .site-chrome-header .n6-search button::before,
body .site-chrome-header .n6-search button::after {
    position: absolute;
    pointer-events: none;
    content: "";
}

body .site-chrome-header .n6-search button::before {
    z-index: 1;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.55);
}

body .site-chrome-header .n6-search button::after {
    z-index: 3;
    top: -70%;
    bottom: -70%;
    left: -35%;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
    opacity: 0;
    transform: translateX(-150%) rotate(18deg);
}

body .site-chrome-header .n6-search button:hover {
    background-position: 100% 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34), 0 6px 16px -7px rgba(74, 35, 117, .72);
    transform: scale(1.06) rotate(2deg);
}

body .site-chrome-header .n6-search button:hover .n6-search-icon {
    animation: n6-search-icon-orbit .7s cubic-bezier(.2, .85, .3, 1);
}

body .site-chrome-header .n6-search button:hover::before {
    animation: n6-search-radar .72s ease-out;
}

body .site-chrome-header .n6-search button:hover::after {
    animation: n6-search-shine .72s ease-out;
}

body .site-chrome-header .n6-search:focus-within button::before {
    animation: n6-search-focus-pulse 1.6s ease-out infinite;
}

body .site-chrome-header .n6-search button:active {
    box-shadow: inset 0 2px 7px rgba(30, 12, 48, .28);
    transform: scale(.92);
}

body .site-chrome-header .n6-search button:focus-visible {
    outline: 2px solid rgba(239, 169, 90, .88);
    outline-offset: -4px;
}

@keyframes n6-search-icon-orbit {
    0% { transform: rotate(0) scale(1); }
    38% { transform: rotate(-18deg) scale(.86); }
    72% { transform: rotate(372deg) scale(1.14); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes n6-search-radar {
    0% { opacity: 0; transform: scale(.45); }
    35% { opacity: .8; }
    100% { opacity: 0; transform: scale(1.25); }
}

@keyframes n6-search-shine {
    0% { opacity: 0; transform: translateX(-150%) rotate(18deg); }
    35% { opacity: .85; }
    100% { opacity: 0; transform: translateX(520%) rotate(18deg); }
}

@keyframes n6-search-focus-pulse {
    0% { opacity: 0; transform: scale(.58); }
    35% { opacity: .6; }
    85%, 100% { opacity: 0; transform: scale(1.18); }
}

body .site-chrome-header .n6-utilities {
    flex: 0 0 auto;
    gap: 4px;
    margin-left: auto;
}

body .site-chrome-header .n6-utility {
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #4a4460;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s, background-color .2s, box-shadow .2s;
}

/* 服务热线为纯展示（非链接），不响应悬停高亮 */
body .site-chrome-header .n6-utility:hover:not(.n6-hotline) {
    color: var(--site-chrome-purple);
    background: #f3eff7;
}

body .site-chrome-header .n6-user-menu.is-open > .n6-utility,
body .site-chrome-header .n6-user-menu > .n6-utility:focus-visible {
    color: var(--site-chrome-purple);
    background: #f3eff7;
    box-shadow: 0 4px 12px -8px rgba(74, 35, 117, .45);
    outline: 0;
}

body .site-chrome-header .n6-icon,
body .site-chrome-header .n6-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

body .site-chrome-header .n6-badge-wrap {
    position: relative;
}

body .site-chrome-header .n6-badge {
    position: absolute;
    top: -9px;
    right: -11px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(120deg, #e02020 0%, #f5222d 55%, #ff4d4f 100%);
    box-shadow: 0 3px 8px rgba(224, 32, 32, .35);
    font-size: 10px;
    font-style: normal;
    line-height: 18px;
    text-align: center;
}

body .site-chrome-header .n6-hotline strong,
body .site-chrome-header .n6-hotline small {
    display: block;
}

body .site-chrome-header .n6-hotline strong {
    font-size: 14px;
}

body .site-chrome-header .n6-hotline small {
    margin-top: 2px;
    color: var(--site-chrome-muted);
    font-size: 14px;
}

body .site-chrome-header .n6-user-menu {
    position: relative;
    min-width: 0;
}

body .site-chrome-header .n6-user-menu::after {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 14px;
    content: "";
}

body .site-chrome-header .n6-user-menu > .n6-utility > span:last-child {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .site-chrome-header .n6-user-dropdown {
    position: absolute;
    top: 100%;
    right: auto;
    left: 50%;
    z-index: 30;
    display: none;
    min-width: 184px;
    transform: translateX(-50%);
    padding: 8px 0;
    border: 1px solid var(--site-chrome-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--site-chrome-shadow);
}

body .site-chrome-header .n6-user-menu.is-open .n6-user-dropdown {
    display: block;
}

body .site-chrome-header .n6-user-dropdown a {
    position: relative;
    display: flex;
    min-height: 38px;
    align-items: center;
    margin: 2px 8px;
    padding: 8px 14px 8px 18px;
    border-radius: 9px;
    color: #4a4460;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s, background-color .2s, transform .2s;
}

body .site-chrome-header .n6-user-dropdown a::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 6px;
    width: 3px;
    border-radius: 3px;
    background: var(--site-chrome-purple-2);
    content: "";
    opacity: 0;
    transform: scaleY(.55);
    transition: opacity .2s, transform .2s;
}

body .site-chrome-header .n6-user-dropdown a:hover,
body .site-chrome-header .n6-user-dropdown a:focus-visible {
    color: var(--site-chrome-purple);
    background: #f3eff7;
    outline: 0;
    transform: translateX(2px);
}

body .site-chrome-header .n6-user-dropdown a.is-active {
    color: var(--site-chrome-purple);
    background: #eee6f5;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(108, 58, 150, .08);
}

body .site-chrome-header .n6-user-dropdown a.is-active::before,
body .site-chrome-header .n6-user-dropdown a:hover::before,
body .site-chrome-header .n6-user-dropdown a:focus-visible::before {
    opacity: 1;
    transform: scaleY(1);
}

body .site-chrome-header .n6-mobile-menu {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--site-chrome-gradient);
    box-shadow: 0 8px 16px -6px rgba(74, 35, 117, .5);
    cursor: pointer;
}

body .site-chrome-header .n6-mobile-menu svg {
    width: 22px;
    height: 22px;
}

body .site-chrome-overlay,
body .site-chrome-drawer {
    display: none;
}

body .n6-footer.site-chrome-footer {
    width: 100%;
    min-height: 300px;
    margin: 22px 0 0;
    border-radius: 24px 24px 0 0;
    color: #d8cce6;
    background: linear-gradient(165deg, #2f1550 0%, #4a2375 55%, #5e3489 100%);
}

body .site-chrome-footer .n6-footer-main {
    display: grid;
    width: min(1200px, calc(100% - var(--site-chrome-gutter) * 2));
    min-height: 190px;
    grid-template-columns: repeat(4, 1fr) 92px 1.45fr;
    gap: 28px;
    margin: auto;
    padding-top: 36px;
}

body .site-chrome-footer h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
}

body .site-chrome-footer a {
    display: block;
    margin-top: 8px;
    color: #d8cce6;
    font-size: 14px;
}

body .site-chrome-footer a:hover {
    color: #fff;
}

body .site-chrome-footer .n6-footer-contact {
    display: grid;
    grid-column: 5 / 7;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

body .site-chrome-footer .n6-footer-qr {
    display: block;
    width: 92px;
    height: 92px;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px -8px rgba(20, 8, 34, .5);
    object-fit: contain;
}

body .site-chrome-footer .n6-footer-caption {
    display: block;
    margin-top: 8px;
    color: #a793c0;
    font-size: 14px;
    text-align: center;
}

body .site-chrome-footer .n6-footer-contact strong,
body .site-chrome-footer .n6-footer-contact small {
    display: block;
}

body .site-chrome-footer .n6-footer-contact strong {
    margin-bottom: 6px;
    color: #ffe9c4;
    font-size: 16px;
}

body .site-chrome-footer .n6-footer-contact small {
    color: #a793c0;
    font-size: 14px;
}

body .site-chrome-footer .n6-footer-bottom {
    display: flex;
    width: min(1200px, calc(100% - var(--site-chrome-gutter) * 2));
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: auto;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #a793c0;
    font-size: 14px;
}

body .site-chrome-footer .n6-footer-bottom-copy {
    min-width: 0;
    line-height: 1.9;
}

body .site-chrome-footer .n6-footer-bottom-copy a {
    display: inline;
    margin: 0 6px;
    color: #d8cce6;
    white-space: nowrap;
}

body .site-chrome-footer .n6-footer-tags {
    flex: 0 0 auto;
    white-space: nowrap;
}

body .site-chrome-footer .n6-footer-custom {
    width: min(1200px, calc(100% - var(--site-chrome-gutter) * 2));
    margin: 4px auto 0;
    padding: 0 0 24px;
    color: #a793c0;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

/* 后台页脚富文本可能带内联颜色（如粘贴来源的 color:rgb(0,0,0)），深色页脚统一压成浅色 */
body .site-chrome-footer .n6-footer-custom,
body .site-chrome-footer .n6-footer-custom span,
body .site-chrome-footer .n6-footer-custom p,
body .site-chrome-footer .n6-footer-custom em,
body .site-chrome-footer .n6-footer-custom b,
body .site-chrome-footer .n6-footer-custom i {
    color: #a793c0 !important;
}

body .site-chrome-footer .n6-footer-custom a {
    display: inline;
    margin: 0 6px;
}

body .n6-floating.site-chrome-floating {
    position: fixed;
    z-index: 90;
    top: 50%;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-50%);
}

body .site-chrome-floating .n6-float {
    display: flex;
    width: 50px;
    height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 16px;
    color: #4a4460;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 22px -8px rgba(74, 35, 117, .2);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

body .site-chrome-floating .n6-float:hover {
    color: var(--site-chrome-purple);
    border-color: rgba(74, 35, 117, .3);
}

body .site-chrome-floating .n6-float svg {
    display: block;
    width: 24px;
    height: 24px;
    flex: none;
}

body .site-chrome-floating .n6-floating-divider {
    height: 1px;
    margin: 2px 8px;
    background: rgba(74, 35, 117, .12);
}

/* 侧边栏悬浮工具条（new_affixed，与正式版一致）：扫一扫二维码弹层卡片 */
.new_affixed ul li.new_affixed_scan {
    position: relative;
}

.new_affixed ul li.new_affixed_scan .new_code {
    display: none;
    position: absolute;
    top: 50%;
    right: 64px;
    left: auto;
    z-index: 101;
    width: 174px;
    padding: 12px;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
}

.new_affixed ul li.new_affixed_scan:hover .new_code {
    display: block;
}

.new_affixed ul li.new_affixed_scan .new_code::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -9px;
    width: 0;
    height: 0;
    transform: translateY(-50%);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 9px solid #fff;
    filter: drop-shadow(2px 1px 1px rgba(0, 0, 0, 0.12));
}

.new_affixed ul li.new_affixed_scan .new_code img {
    display: block;
    width: 150px !important;
    height: 150px !important;
}

.new_affixed ul li.new_affixed_scan .new_code p {
    margin: 8px 0 0;
    padding: 0;
    color: #333;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

/* ---- 悬浮工具条紫色主题：悬浮高亮与客服项强调色对齐全站紫色体系 ---- */
.new_affixed >ul >li:hover {
    color: #fff;
    background: linear-gradient(160deg, #4a2375, #6c3a96);
}

.new_affixed ul >li:first-child >i,
.new_affixed ul >li:first-child >span {
    color: var(--site-chrome-purple, #3d1e58);
}

@media (max-width: 1180px) {
    body .n6-shell.site-chrome-header {
        padding-right: 26px;
        padding-left: 26px;
    }

    body .site-chrome-header .n6-brand img {
        height: 38px;
    }

    body .site-chrome-header .n6-top-nav,
    body .site-chrome-header .n6-nav-links {
        gap: 10px;
    }

    body .site-chrome-header .n6-nav-link {
        font-size: 15px;
    }

    body .site-chrome-header .n6-search {
        width: min(420px, 38vw);
    }
}

@media (max-width: 820px) {
    body .n6-header.site-chrome-header {
        min-height: 76px;
        height: auto;
        gap: 8px;
        padding: 0 12px;
        border-radius: 0 0 18px 18px;
    }

    body .site-chrome-header .n6-brand img {
        height: 34px;
    }

    body .site-chrome-header .n6-nav-links,
    body .site-chrome-header .n6-utilities {
        display: none;
    }

    body .site-chrome-header .n6-search {
        width: min(400px, calc(100% - 116px));
        height: 42px;
    }

    body .site-chrome-header .n6-search button {
        width: 42px;
        flex-basis: 42px;
    }

    body .site-chrome-header .n6-mobile-menu {
        display: grid;
        margin-left: auto;
    }

    body .site-chrome-overlay.is-open {
        position: fixed;
        z-index: 110;
        inset: 0;
        display: block;
        background: rgba(30, 12, 48, .42);
    }

    body .site-chrome-drawer {
        position: fixed;
        z-index: 120;
        top: 0;
        right: 0;
        bottom: 0;
        display: block;
        width: min(85vw, 360px);
        padding: 24px;
        overflow: auto;
        background: #fff;
        box-shadow: -20px 0 50px rgba(30, 12, 48, .25);
        transform: translateX(105%);
        transition: transform .25s;
    }

    body .site-chrome-drawer.is-open {
        transform: none;
    }

    body .site-chrome-drawer header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        color: var(--site-chrome-purple);
        font-size: 20px;
        font-weight: 800;
    }

    body .site-chrome-drawer header button {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border: 0;
        color: var(--site-chrome-purple);
        background: transparent;
        cursor: pointer;
    }

body .site-chrome-drawer header button svg {
    width: 24px;
    height: 24px;
}

body .site-chrome-drawer .n6-mobile-theme-toggle {
    margin: 0 0 10px;
}

body .site-chrome-drawer .n6-mobile-theme-toggle .yys-theme-toggle {
    width: 100%;
}

    body .site-chrome-drawer .n6-mobile-category {
        display: block;
        padding: 13px 0;
        border-bottom: 1px solid var(--site-chrome-line);
        color: #3a3550;
        font-weight: 700;
    }

    body .site-chrome-drawer .n6-mobile-category small {
        display: block;
        margin-top: 6px;
        color: var(--site-chrome-muted);
        font-size: 14px;
        font-weight: 400;
    }

body .site-chrome-footer .n6-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    body .site-chrome-footer .n6-footer-contact {
        grid-column: 1 / 3;
    }

    body .site-chrome-footer .n6-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    body .site-chrome-footer .n6-footer-tags {
        white-space: normal;
    }

    body .site-chrome-floating {
        display: none;
    }
}

@media (max-width: 520px) {
    body .site-chrome-footer .n6-footer-main {
        width: calc(100% - 32px);
        grid-template-columns: 1fr 1fr;
        gap: 22px 16px;
    }

    body .site-chrome-footer .n6-footer-contact {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 18px;
    }

    body .site-chrome-footer .n6-footer-qr {
        width: 82px;
        height: 82px;
    }

    body .site-chrome-footer .n6-footer-bottom {
        width: calc(100% - 32px);
    }

    body .site-chrome-footer .n6-footer-custom {
        width: calc(100% - 32px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body .site-chrome-header *,
    body .site-chrome-footer *,
    body .site-chrome-floating *,
    body .site-chrome-drawer {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

body .site-chrome-header.has-search-placement .n6-search {
    left: var(--site-chrome-search-left);
    width: var(--site-chrome-search-width);
}

body .site-chrome-header.is-nav-collapsed .n6-nav-links {
    overflow: visible;
}

body .site-chrome-header.is-nav-collapsed .n6-nav-link.n6-configured-guide {
    display: none;
}

body .site-chrome-header .n6-guide-menu {
    position: relative;
    display: none;
    flex: 0 0 auto;
    z-index: 140;
}

body .site-chrome-header.is-nav-collapsed .n6-guide-menu {
    display: block;
}

body .site-chrome-header .n6-guide-trigger {
    position: relative;
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #4a4460;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

body .site-chrome-header .n6-guide-trigger::-webkit-details-marker {
    display: none;
}

body .site-chrome-header .n6-guide-trigger::after {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
}

body .site-chrome-header .n6-guide-menu[open] .n6-guide-trigger {
    color: var(--site-chrome-purple);
    background: #f3eff7;
}

body .site-chrome-header .n6-guide-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    min-width: max(220px, 100%);
    max-height: min(60vh, 420px);
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--site-chrome-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--site-chrome-shadow);
}

body .site-chrome-header .n6-guide-menu:not([open]) .n6-guide-dropdown {
    display: none;
}

body .site-chrome-header .n6-guide-dropdown a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    color: #4a4460;
    font-size: 14px;
    font-weight: 600;
}

body .site-chrome-header .n6-guide-dropdown a:hover,
body .site-chrome-header .n6-guide-dropdown a:focus-visible {
    color: var(--site-chrome-purple);
    background: #f3eff7;
    outline: 0;
}

html[data-yys-theme="dark"] body .site-chrome-header .n6-guide-dropdown {
    border-color: rgba(235, 224, 201, .16);
    background: #303334;
}

html[data-yys-theme="dark"] body .site-chrome-header .n6-guide-trigger,
html[data-yys-theme="dark"] body .site-chrome-header .n6-guide-dropdown a {
    color: #e6e0d5;
}

html[data-yys-theme="dark"] body .site-chrome-header .n6-guide-menu[open] .n6-guide-trigger,
html[data-yys-theme="dark"] body .site-chrome-header .n6-guide-dropdown a:hover,
html[data-yys-theme="dark"] body .site-chrome-header .n6-guide-dropdown a:focus-visible {
    color: #f3dfb1;
    background: rgba(255, 255, 255, .06);
}

body .n6-header.site-chrome-header.is-single-line {
    grid-template-columns: minmax(60px, max-content) minmax(0, 1fr) 44px;
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
}

body .site-chrome-header.is-single-line .n6-brand {
    grid-column: 1;
    min-width: 0;
    max-width: min(25vw, 130px);
}

body .site-chrome-header.is-single-line .n6-brand img {
    width: auto;
    max-width: 100%;
    height: 32px;
}

body .site-chrome-header.is-single-line .n6-top-nav {
    display: contents;
}

body .site-chrome-header.is-single-line .n6-nav-links,
body .site-chrome-header.is-single-line .n6-utilities {
    display: none;
}

body .site-chrome-header.is-single-line .n6-search {
    position: static;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
    transform: none;
}

body .site-chrome-header.is-single-line .n6-mobile-menu {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    margin: 0;
}

body.site-chrome-menu-available .site-chrome-overlay.is-open {
    position: fixed;
    z-index: 110;
    inset: 0;
    display: block;
    background: rgba(30, 12, 48, .42);
}

body.site-chrome-menu-available .site-chrome-drawer {
    position: fixed;
    z-index: 120;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: min(85vw, 360px);
    padding: 24px;
    overflow: auto;
    background: #fff;
    box-shadow: -20px 0 50px rgba(30, 12, 48, .25);
    transform: translateX(105%);
    transition: transform .25s;
}

body.site-chrome-menu-available .site-chrome-drawer.is-open {
    transform: none;
}

body.site-chrome-menu-available .site-chrome-drawer header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--site-chrome-purple);
    font-size: 20px;
    font-weight: 800;
}

body.site-chrome-menu-available .site-chrome-drawer header button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    color: var(--site-chrome-purple);
    background: transparent;
}

body.site-chrome-menu-available .site-chrome-drawer header button svg {
    width: 24px;
    height: 24px;
}

body.site-chrome-menu-available .site-chrome-drawer .n6-mobile-theme-toggle {
    margin-bottom: 10px;
}

body.site-chrome-menu-available .site-chrome-drawer .n6-mobile-theme-toggle .yys-theme-toggle {
    width: 100%;
}

body.site-chrome-menu-available .site-chrome-drawer .n6-mobile-category {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--site-chrome-line);
    color: #3a3550;
    font-weight: 700;
}

body.site-chrome-menu-available .site-chrome-drawer .n6-mobile-category small {
    display: block;
    margin-top: 6px;
    color: var(--site-chrome-muted);
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 820px) {
    body .site-chrome-header.is-single-line { padding-right: 10px; padding-left: 10px; }
    body .site-chrome-header.is-single-line .n6-brand { max-width: 22vw; }
    body .site-chrome-header.is-single-line .n6-search { height: 40px; }
    body .site-chrome-header.is-single-line .n6-search input { padding-right: 10px; padding-left: 10px; font-size: 14px; }
    body .site-chrome-header.is-single-line .n6-search button { width: 38px; flex-basis: 38px; }
    body .site-chrome-header.is-single-line .n6-mobile-menu { width: 40px; height: 40px; flex-basis: 40px; }
}

@media (max-width: 1500px) {
    body .site-chrome-header .n6-utility > span:not(.n6-icon):not(.n6-badge-wrap),
    body .site-chrome-header .yys-theme-toggle-label {
        display: none;
    }

    body .site-chrome-header .n6-utility,
    body .site-chrome-header .yys-theme-toggle {
        width: 42px;
        min-width: 42px;
        justify-content: center;
        padding-right: 8px;
        padding-left: 8px;
    }
}
