@charset "utf-8";
/**
 * 移动端抽屉导航、阅读模式、悬浮返回顶部 - 纯SVG高清版
 */

/* ==================== Slide Navigation ==================== */
.wp-navi .navi-slide-head { display: none; padding: 0 14px; height: 46px; }
.wp-navi .navi-slide-head .navi-slide-title {
    display: inline-block;
    float: left;
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
    line-height: 46px;
}
.wp-navi .navi-slide-head .navi-slide-arrow {
    display: block;
    width: 38px;
    height: 46px;
    float: right;
    background: url("images/icons/menu-white.svg") no-repeat center / 24px 24px;
}

/* ==================== Modern Slide-Over Drawer (#wp-navi-aside) ==================== */
.navi-aside-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14) url("images/icons/menu-white.svg") no-repeat center / 24px 24px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.navi-aside-toggle:hover,
.navi-aside-toggle:active {
    background-color: rgba(255, 255, 255, 0.26);
}
.navi-aside-search { display: none; }

body.navi-aside-page {
    overflow: hidden;
}

.wp-navi-aside {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
}
.wp-navi-aside-active {
    display: block;
}
.wp-navi-aside .navi-aside-mask {
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 66, 0.52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.28s ease;
}
.wp-navi-aside-active .navi-aside-mask {
    opacity: 1;
}
.wp-navi-aside .aside-inner {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1202;
    width: 286px;
    max-width: 82vw;
    background: linear-gradient(180deg, #0d2164 0%, #143389 100%);
    color: #ffffff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 12px 0 36px rgba(6, 18, 56, 0.35);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.wp-navi-aside .aside-inner.aside-inner-show {
    transform: translateX(0);
}
.wp-navi-aside .navi-aside-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 22, 66, 0.35);
}
.wp-navi-aside .navi-aside-head .navi-aside-title {
    padding: 0;
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0.04em;
}
.wp-navi-aside .navi-aside-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12) url("images/icons/close-white.svg") no-repeat center / 18px 18px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.2s ease;
}
.wp-navi-aside .navi-aside-close:hover {
    background-color: rgba(255, 255, 255, 0.24);
}
.wp-navi-aside .navi-aside-wrap {
    padding: 8px 0 36px;
    color: rgba(255, 255, 255, 0.9);
}
.wp-navi-aside .navi-aside-wrap ul.wp-menu {
    display: block !important;
}
.wp-navi-aside .navi-aside-wrap li {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
}
.wp-navi-aside .navi-aside-wrap li .menu-switch-arrow {
    display: block;
    cursor: pointer;
    width: 48px;
    height: 46px;
    position: absolute;
    right: 4px;
    top: 0;
    background: url("css/img/menu-switch-arrow.svg") no-repeat center / 18px 18px;
    transition: transform 0.25s ease;
    z-index: 5;
}
.wp-navi-aside .navi-aside-wrap li .menu-open-arrow {
    transform: rotate(180deg);
}
.wp-navi-aside .navi-aside-wrap li a {
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    padding: 11px 52px 11px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.wp-navi-aside .navi-aside-wrap li a:hover,
.wp-navi-aside .navi-aside-wrap li a:focus {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.wp-navi-aside .navi-aside-wrap li .sub-menu {
    display: none;
    position: static;
    transform: none;
    min-width: 0;
    padding: 4px 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(6, 18, 56, 0.34);
}
.wp-navi-aside .navi-aside-wrap li .sub-menu li a {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    padding: 9px 24px 9px 36px;
    border-bottom: none;
}
.wp-navi-aside .navi-aside-wrap li .sub-menu .sub-menu li a { padding-left: 50px; }

/* Sub-page mobile sidebar toggle */
.col_menu .col_menu_head { position: relative; }
.column-switch {
    display: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14) url("css/img/menu-dot-w.svg") no-repeat center / 20px 20px;
    transition: transform 0.25s ease;
}
.col_menu_head.col-open .column-switch {
    transform: translateY(-50%) rotate(180deg);
}

/* ==================== Reading Mode & Viewer (SVG) ==================== */
.night-model .wp-container { background-color: #1e2433; color: #cbd5e1; }
.night-model .article .entry,
.night-model .article .entry p { color: #cbd5e1; }
.night-model .read a { color: #93c5fd; }
.night-model .article h1.arti-title { color: #f8fafc; }
.read-setting {
    margin-bottom: 12px;
    display: none;
    background-color: #f8fafd;
    height: 42px;
    border-bottom: 1px solid #e3ebf6;
    border-radius: 8px;
}
.night-model .read-setting { background-color: #161b26; border-color: #2c3548; }
.read-setting .setting-item { display: inline-block; width: 49%; height: 42px; float: left; }
.read-setting .setting-item a {
    display: inline-block;
    color: #475569;
    font-size: 17px;
    float: left;
    width: 49%;
    height: 22px;
    line-height: 22px;
    text-align: center;
    margin-top: 10px;
}
.read-setting .setting-item a.smaller-font { border-left: 1px solid #e3ebf6; font-size: 16px; }
.read-setting .setting-model { border-left: 1px solid #e3ebf6; text-align: center; }
.read-setting .setting-model a.read-model {
    font-size: 15px;
    background: url("css/img/moon.svg") no-repeat left center / 18px 18px;
    float: none;
    width: auto;
    padding-left: 24px;
    margin: 10px auto;
}
.night-model .read-setting .setting-model a.read-model {
    background-image: url("css/img/sun.svg");
    color: #e2e8f0;
}
.article .entry .set-fz12, .article .entry .set-fz12 p { font-size: 12px; }
.article .entry .set-fz14, .article .entry .set-fz14 p { font-size: 14px; }
.article .entry .set-fz16, .article .entry .set-fz16 p { font-size: 16px; }
.article .entry .set-fz18, .article .entry .set-fz18 p { font-size: 18px; }
.article .entry .set-fz20, .article .entry .set-fz20 p { font-size: 20px; }
.article .entry .set-fz22, .article .entry .set-fz22 p { font-size: 22px; }

/* Image Lightbox Viewer */
.view-box { display: block; color: #64748b; margin-bottom: 12px; }
.view-box-inner { display: block; text-align: center; max-width: 100%; margin: 0 auto; position: relative; }
.view-box-inner img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.view-box-inner .open-view { display: block; width: 32px; height: 32px; position: absolute; right: 6px; bottom: 6px; z-index: 1; border-radius: 8px; background: rgba(12, 31, 92, 0.65); }
.view-box-inner .view-icon { display: block; width: 100%; height: 100%; background: url("css/img/view-image.svg") no-repeat center / 18px 18px; }
#wp-view-page { display: none; position: fixed; z-index: 10000000; inset: 0; background-color: #0f172a; }
#view-head { width: 100%; height: 48px; position: absolute; left: 0; top: 0; z-index: 100; }
#back-read-page { position: absolute; left: 6px; top: 4px; width: 42px; height: 42px; background: url("css/img/back-arrow.svg") no-repeat center / 22px 22px; }
#back-read-page span { display: none; }
#view-original-image { background-color: rgba(255, 255, 255, 0.12); color: #ffffff; float: right; font-size: 14px; margin: 11px 14px 0 0; padding: 0 10px; border-radius: 6px; height: 26px; line-height: 26px; }
#view-foot { background-color: rgba(15, 23, 42, 0.82); position: absolute; width: 100%; height: 44px; left: 0; bottom: 0; color: #ffffff; font-size: 14px; line-height: 44px; z-index: 99; }
#view-index { float: left; margin-left: 14px; }
#view-current { color: #60a5fa; }
#view-title { position: absolute; left: 68px; right: 16px; top: 0; height: 44px; line-height: 44px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ffffff; }
#view-body { width: 100%; height: 100%; position: relative; }
#view-image-items { height: 100%; width: 100%; position: absolute; inset: 0; overflow: hidden; }
#view-image-items li { float: left; text-align: center; background: no-repeat center / contain; }

/* ==================== Floating Scroll Jump Handle (All Devices, SVG) ==================== */
#jumphandle {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 900;
    display: none;
    flex-direction: column;
    gap: 8px;
}
#jumphandle.show-jump {
    display: flex;
}
#jumphandle a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(22, 58, 153, 0.88);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(12, 31, 92, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 0.25s ease, background-color 0.25s ease;
}
#jumphandle a:hover {
    background-color: #2b7bf4;
    transform: translateY(-2px);
}
#jumphandle a#gotop {
    background-image: url("css/img/jump-top.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}
#jumphandle a#gobot {
    background-image: url("css/img/jump-bottom.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}
