/* 主站统一样式入口（原 style_index_common / _desktop / _mobile 三份已合并）
   结构：
   1) 双端公共规则（本段）
   2) @media (min-width: 1000px) 桌面端规则
   3) @media (max-width: 999px)  移动端规则
   三段顺序保证端差异样式可覆盖公共规则。 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Microsoft YaHei", "微软雅黑", "Arial", sans-serif;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(76, 162, 255, 0.8);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

div {
  display: block;
}

a {
  text-decoration: none;
  color: black;
}

.box1 {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  right: 3px;
  padding: 3px;
  border-radius: 10px;
  text-align: center;
  font-size: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  backdrop-filter: blur(5px);
  border: 1px rgba(255, 255, 255, 0.1) solid;
}

#ad_part .box1, #game_part .box1 {
  background-image: url(../images/logo/ic_logo.png);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: center center;
}

#logo_part .title_ic:hover {
  transform: scale(1.1);
}

.message_display {
  border-radius: 10px;
  height: 99%;
  color: rgb(255,255,255);
  font-size: 30px;
  border: 1px rgba(20, 150, 255, 0.8) solid;
  background-color: rgba(159, 212, 255, 0.2);
}

.message_display .danmu-box {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  overflow: hidden;
}

/* 弹幕交互（双端共用）：鼠标悬停暂停，悬浮显示点赞/举报；输入框层级高于弹幕 */
.message_display .danmu-box .danmu {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}

.message_display .danmu-box .danmu:hover {
  animation-play-state: paused;
  z-index: 100002;
}

.message_display .danmu-box .danmu-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.message_display .danmu-box .danmu:hover .danmu-actions {
  opacity: 1;
  pointer-events: auto;
}

.message_display .danmu-box .danmu-act {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 5px;
  border: none;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: inherit;
  font-size: 0.62em;
  line-height: 1.4;
  cursor: pointer;
  text-shadow: none;
}

.message_display .danmu-box .danmu-act:hover {
  background: rgba(0, 125, 255, 0.65);
}

.message_display .danmu-box .danmu-act.liked {
  background: rgba(255, 90, 120, 0.75);
  cursor: default;
}

.message_display .input-box {
  z-index: 100004;
}

#danmu-emoji-btn {
  height: 100%;
  padding: 0 8px;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

#danmu-emoji-btn:hover {
  background-color: rgba(0, 125, 255, 0.6);
}

/* 表情面板：脱离弹幕区域的 overflow 裁剪，改用 fixed + JS 锚定在表情按钮下方 */
#danmu_emoji_panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 264px;
  max-width: 80vw;
  max-height: 138px;
  overflow-y: auto;
  padding: 6px;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  border-radius: 8px;
  background: rgba(30, 40, 60, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  z-index: 100003;
}

#danmu_emoji_panel.show {
  display: grid;
}

#danmu_emoji_panel button {
  padding: 3px 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

#danmu_emoji_panel button:hover {
  background: rgba(255, 255, 255, 0.16);
}

#search_part .scroll-list {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0;
  width: 100%;
  height:100%;
  animation: scroll-up 30s linear infinite;
}

#search_part .copy {
  top: 100%;
}

#search_part .scroll-container:hover .scroll-list {
  /* 悬停暂停由 JS 控制（见 main_index.js #search_part._bindHover）：
     不再用 animation-play-state，避免点击开新页后 :hover 残留把整条滚动钉在点击位置 */
}

#search_part.nav-mode-left .scroll-list,
#search_part.nav-mode-right .scroll-list {
  flex-direction: row;
  width: max-content;
  height: 100%;
  top: 0;
  left: 0;
}

#search_part.nav-mode-left .scroll-list { animation-name: scroll-left; }

#search_part.nav-mode-right .scroll-list { animation-name: scroll-right; }

#search_part.nav-mode-left .copy,
#search_part.nav-mode-right .copy {
  top: 0;
  left: 100%;
}

#search_part.nav-style-icon .scroll-list {
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
}

#ad_part .box1 {
  border: none;
}

#main_part .mainPage {
  width: 100%;
  height: 100%;
}

#news_part .news-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid #007dff;
}

/* ---- 公告按类型区分：图标配色 / 类型徽标 ---- */
#news_part .ni-icon { flex: 0 0 auto; text-align: center; }
#news_part .ni-title { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#news_part .ni-pin { flex: 0 0 auto; color: #ffd166; transform: rotate(30deg); }

#news_part .news_content_main li.nt-info a { border-left-color: #7fc4ff; }
#news_part .news_content_main li.nt-warning a { border-left-color: #ffc65c; }
#news_part .news_content_main li.nt-success a { border-left-color: #6fdc9c; }
#news_part .news_content_main li.nt-danger a { border-left-color: #ff7b7b; }
#news_part .news_content_main li.nt-system a { border-left-color: #b79bff; }

#news_part .nt-info .ni-icon { color: #7fc4ff; }
#news_part .nt-warning .ni-icon { color: #ffc65c; }
#news_part .nt-success .ni-icon { color: #6fdc9c; }
#news_part .nt-danger .ni-icon { color: #ff7b7b; }
#news_part .nt-system .ni-icon { color: #b79bff; }

/* 详情页公告类型徽标配色（与列表一致） */
.da-badge.nt-info { background: rgba(127, 196, 255, 0.16); color: #7fc4ff; }
.da-badge.nt-warning { background: rgba(255, 198, 92, 0.16); color: #ffc65c; }
.da-badge.nt-success { background: rgba(111, 220, 156, 0.16); color: #6fdc9c; }
.da-badge.nt-danger { background: rgba(255, 123, 123, 0.16); color: #ff7b7b; }
.da-badge.nt-system { background: rgba(183, 155, 255, 0.16); color: #b79bff; }

#news_part .rank-subtab.active { color: #fff; background: rgba(0, 125, 255, 0.55); }

#news_part .rank-list li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

#news_part.rank-has-data .box1 { background-image: none; }

.main_img{
        margin-left: -3px;
        margin-top: -3px;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

#largeimg_part .box2 .fa-angle-left{
        position: absolute;
        left: 0;
        top: 135px;
        color: white;
        font-size: 30px;
    }

#largeimg_part .box2 .fa-angle-right{
        position: absolute;
        right: 0;
        top: 135px;
        color: white;
        font-size: 30px;
    }

#largeimg_part .box2 .fa-angle-left:hover,
    #largeimg_part .box2 .fa-angle-right:hover{
        color: rgb(0, 125, 255);
    }

.smallimgG{
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
    }

.box3{
            position: relative;
            float: left;
            width: 24.5%;
            height: 49%;
            min-width: 314px;
            border-radius: 10px;
            margin: 3px 3px;
            text-align: center;
            font-size: 50px;
            background-color: rgba(255, 255, 255, 0.5);
            background-image: url(../images/logo/ic_logo.png);
            background-repeat: no-repeat;
            background-size: 60%;
            background-position: 50% ;
            overflow: hidden;
        }

.min_img{
                width: 100%;
                height: 100%;
            }

.min_text{
                position: absolute;
                float: left;
                padding: 5px;
                bottom: 2%;
                font-size: 25px;
                color: white;
                text-shadow: 2px 2px 2px black;
            }

.min_text:hover{
                color: rgb(45, 16, 58);
                text-shadow: 2px 2px 2px white;
            }

.box3 .fas{
                position: absolute;
                top: 6px;
                color: white;
                font-size: 15px;
                text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
            }

.box3 .fa-eye{
                right: 8px;
            }

.box3 .fa-share{
                right: 36px;
            }

.box3 .fa-splotch{
                right: 64px;
            }

.box3 .fa-heart{
                right: 92px;
            }

.box3 .fas:hover{
                color: rgb(0, 125, 255);
            }

#page_display{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 27px;
}

.page_display{
        width: 189px;
        height: 100%;
        margin: 0 auto;
    }

.page{
        float: left;
        width: 10px;
        height: 10px;
        margin: 8.5px 8.5px;
        background-color: rgba(255, 255, 255,1);
        border-radius: 50%;
    }

.page:nth-child(1), .page:nth-child(7){
        width: 4px;
        height: 4px;
        margin: 11.5px 11.5px;
        background-color: rgba(255, 255, 255,0.4);
    }

.page:nth-child(2), .page:nth-child(6){
        width: 6px;
        height: 6px;
        margin: 10.5px 10.5px;
        background-color: rgba(255, 255, 255,0.6);
    }

.page:nth-child(3), .page:nth-child(5){
        width: 8px;
        height: 8px;
        margin: 9.5px 9.5px;
        background-color: rgba(255, 255, 255,0.8);
    }

.page:hover{
        background-color: rgb(0, 125, 255);
    }

.banner-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

#largeimg_part #banner_prev:hover,
#largeimg_part #banner_next:hover { background: rgba(0, 125, 255, 0.75); }

#largeimg_part #banner_prev:hover .fa-angle-left,
#largeimg_part #banner_next:hover .fa-angle-right { color: #fff; }

.banner-slides.effect-slide .banner-slide {
    opacity: 1;
    transition: transform 0.6s ease;
    transform: translateX(100%);
}

.banner-slides.effect-slide .banner-slide.before { transform: translateX(-100%); }

.banner-slides.effect-slide .banner-slide.active { transform: translateX(0); pointer-events: auto; }

.box3 .card-title-link {
    cursor: pointer;
}

#main_part.no-banner #smallimg_part {
    top: 0;
}

#main_part.no-cards #largeimg_part {
    height: 100%;
}

.ic_skel {
    border-radius: 8px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.12) 25%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(255, 255, 255, 0.12) 75%);
    background-size: 200% 100%;
    animation: skel-shine 1.4s ease infinite;
}

.skel-banner {
    width: 100%;
    height: 100%;
}

.skel-card {
    float: left;
    width: 24.5%;
    height: 49%;
    min-width: 314px;
    margin: 3px 3px;
}

.skel-line {
    height: 20px;
    margin: 8px 10px;
}

#ic_toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 18px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10000000;
    max-width: 70%;
    text-align: center;
}

#ic_toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.info-login-btn {
    color: #7ed4ff;
    text-decoration: none;
}

#layout_setting_backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    z-index: 99998;
}

#layout_setting_backdrop.show { display: block; }

#layout_setting_panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 854px;
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 12px;
    background: rgba(30, 40, 60, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    z-index: 99999;
    flex-direction: column;
    overflow: hidden;
}

#layout_setting_panel.show { display: flex; }

#layout_setting_panel .ls_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

#layout_setting_panel .ls_head_title i { margin-right: 6px; color: #7ed4ff; }

#layout_setting_panel .ls_close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

#layout_setting_panel .ls_close:hover { background: rgba(255, 77, 79, 0.7); color: #fff; }

#layout_setting_panel .ls_field select:focus,
#layout_setting_panel .ls_field input:focus {
    border-color: #007dff;
}

#layout_setting_panel .ls_field select option {
    color: #222;
}

/* 3D 半径滑块：数值 + 滑轨 + 圆形滑块，双端统一 */
#layout_setting_panel .ls_range_label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

#layout_setting_panel .ls_range_label b {
    color: #7ed4ff;
    font-weight: normal;
}

#layout_setting_panel .ls_field input[type="range"] {
    width: 100%;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.24);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#layout_setting_panel .ls_field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #007dff;
    border: 2px solid #fff;
    cursor: pointer;
}

#layout_setting_panel .ls_field input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007dff;
    border: 2px solid #fff;
    cursor: pointer;
}

#layout_setting_panel .ls_btn:hover {
    background-color: #3395ff;
}

#layout_setting_panel .ls_nav_name {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
}

#layout_setting_panel .ls_nav_del {
    flex: 0 0 auto;
    color: #ff7875;
}

#layout_setting_panel .ls_nav_del:hover {
    color: #ff4d4f;
}

#layout_setting_panel .ls_nav_edit {
    flex: 0 0 auto;
    margin-right: 8px;
    color: #4d96ff;
}

#layout_setting_panel .ls_nav_edit:hover {
    color: #7ab8ff;
}

/* 导航管理：表单操作行 + 固定/内容两组清单 */
#layout_setting_panel .ls_nav_ops {
    display: flex;
    gap: 8px;
    margin: 4px 0 8px;
}

#layout_setting_panel .ls_nav_ops .ls_btn {
    flex: 1;
    margin: 0;
}

#layout_setting_panel .ls_nav_ops .ls_btn_ghost {
    display: none;
    background: rgba(255, 255, 255, 0.14);
}

#layout_setting_panel .ls_nav_ops .ls_btn_ghost.show {
    display: block;
}

#layout_setting_panel .ls_nav_hint {
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.62);
}

#layout_setting_panel .ls_nav_db label {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

#layout_setting_panel .ls_nav_db input[type="checkbox"] {
    flex: 0 0 auto;
    cursor: pointer;
}

/* 导航栏左右分栏：左侧样式/分布/运动方向/3D，右侧导航管理 */
#layout_setting_panel .ls_group_body.ls_nav_split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

#layout_setting_panel .ls_nav_left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

#layout_setting_panel .ls_nav_cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}

#layout_setting_panel .ls_nav_col_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
}

#layout_setting_panel .ls_nav_col_title b {
    color: #4d96ff;
    font-weight: 600;
}

#layout_setting_panel .ls_nav_empty {
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    border-bottom: 0;
}

#layout_setting_panel .ls_footer a {
    color: rgba(255, 255, 255, 0.55);
}

#layout_setting_panel .ls_footer a:hover {
    color: #7ed4ff;
}

#layout_setting_panel label {
    display: block;
    font-size: 13px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#layout_setting_panel label.disabled { color: rgba(255, 255, 255, 0.35); cursor: not-allowed; }

#layout_setting_panel input[type="checkbox"],
#layout_setting_panel input[type="radio"] { margin-right: 6px; vertical-align: middle; cursor: pointer; accent-color: #007dff; }

#layout_setting_panel .ls_user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 2px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
}

#layout_setting_panel .ls-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.15);
    flex: 0 0 auto;
}

#layout_setting_panel .ls-user-name {
    font-weight: bold;
    max-width: 110px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#layout_setting_panel .ls-user-guest { color: rgba(255, 255, 255, 0.6); }

#layout_setting_panel .ls-user-ops { margin-left: auto; display: flex; gap: 10px; }

#layout_setting_panel .ls-user-ops a { color: #7ed4ff; text-decoration: none; }

#layout_setting_panel .ls-user-ops a:hover { text-decoration: underline; }

.about-clock { font-family: monospace; }

.banner-slide { overflow: hidden; }

.cards-pager {
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    z-index: 5;
}

/* 详情区最小化后的恢复按钮：分页行最左边，圆角方形、高度与分页圆点行一致 */
.detail-restore {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    border-radius: 4px;
    background: rgba(0, 125, 255, 0.6);
    color: #fff;
    font-size: 9px;
    z-index: 6;
}

.detail-restore:hover { background: rgba(0, 125, 255, 0.85); color: #fff; }

.pager-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.pager-dot .dot-num {
    display: none;
    font-size: 10px;
    line-height: 1;
    color: #fff;
}

.pager-dot.dot-d0 { width: 12px; height: 12px; background: #007dff; }

.pager-dot.dot-d1 { width: 9px; height: 9px; }

.pager-dot.dot-d2 { width: 7px; height: 7px; }

.pager-dot.dot-d3 { width: 5px; height: 5px; }

.pager-dot:hover {
    width: 20px;
    height: 14px;
    background: rgba(0, 125, 255, 0.85);
}

.pager-dot:hover .dot-num { display: block; }

#smallimg_part .box3,
#smallimg_part .skel-card {
    float: none;
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
}

.smallimgG::-webkit-scrollbar { width: 6px; }

.smallimgG::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); border-radius: 3px; }

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.banner-dot:hover { background: rgba(255, 255, 255, 0.85); }

.banner-dot.active {
    background: #fff;
    transform: scale(1.25);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

#search_part.nav-mode-down .scroll-list { animation-direction: reverse; }

#search_part.nav-mode-seed .scroll-list {
    animation: none;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 6px;
    padding: 8px 5px;
}

#search_part.nav-mode-seed .scroll-list.copy { display: none; }

#search_part.nav-mode-seed .list1 {
    flex: none;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0;
    animation: seed-pop 12s ease-in-out infinite;
    animation-delay: var(--seed-delay, 0s);
}

#bg_all .bg-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

video.main_img, video.min_img { object-fit: cover; }

#detail_view {
    display: none;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(15, 20, 30, 0.94);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    overflow: hidden;
    flex-direction: column;
}

#detail_view.show { display: flex; }

/* 详情多标签：与标题栏合一，占满头部中间区域，可横向滚动 */
.detail-tabs {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.detail-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    max-width: 220px;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px 6px 0 0;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.detail-tab:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.detail-tab.active { background: rgba(0, 125, 255, 0.6); color: #fff; }

.detail-tab .tab-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-tab .tab-close {
    flex: 0 0 auto;
    font-size: 11px;
    opacity: 0.75;
}

.detail-tab .tab-close:hover { opacity: 1; }

/* 内容舞台：各标签主体并排存放，仅激活项显示 */
.detail-stage {
    flex: 1;
    min-height: 0;
    display: flex;
}

.detail-box { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.detail-body { flex: 1; min-height: 0; }

.detail-iframe { width: 100%; height: 100%; border: 0; background: #fff; }

.detail-media {
    flex: 1; min-height: 0;
    display: flex; align-items: center; justify-content: center;
    background: #000;
}

.detail-player { width: 100%; height: 100%; border: 0; object-fit: contain; }

#logo_part .info-panel .info-user,
#logo_part .info-panel .info-status {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-slide .main_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    transform: none;
    object-fit: cover;
}

.box3 .min_img,
.box3 .card-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.box3 .card-text .min_text {
    position: static;
    float: none;
    bottom: auto;
    padding: 0;
}

.box3 .card-text .min_text:hover {
    color: #7ed4ff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

#search_part .scroll-list { height: auto; }

#search_part .scroll-list.copy { top: var(--nav-list-h, 100%); }

#search_part.nav-mode-left .scroll-list.copy { top: 0; left: var(--nav-list-w, 100%); }

#search_part.nav-mode-right .scroll-list.copy { top: 0; left: calc(-1 * var(--nav-list-w, 100%)); }

#search_part.nav-mode-seed .list1 { width: auto; height: auto; }

#search_part .fx-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

#search_part .scroll-list { z-index: 1; }

#search_part .fx-p {
    position: absolute;
    top: 0;
    left: var(--fx-x, 50%);
    border-radius: 50%;
    opacity: 0;
    animation: fx-rise var(--fx-dur, 12s) linear infinite;
    animation-delay: var(--fx-delay, 0s);
    will-change: transform, opacity;
}

#search_part .fx-particle {
    width: var(--fx-size, 3px);
    height: var(--fx-size, 3px);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.65);
}

#bg_all.mod-off-danmu #message_part { display: none; }

#bg_all.mod-off-danmu #header { z-index: 5; }

#bg_all.mod-off-danmu #body_main { overflow: visible; }

#bg_all.mod-off-ad #ad_part { display: none; }

#bg_all.mod-off-ad #search_part { bottom: 0; }

#bg_all.mod-off-news #news_part { display: none; }

#search_part .scroll-list { animation: none; height: 100%; }

#search_part.nav-mode-left .scroll-list,
#search_part.nav-mode-right .scroll-list { width: 100%; flex-direction: column; }

#search_part .scroll-list.copy { display: none; }

#search_part .nav-flow-item a:hover {
    background: rgba(0, 125, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.5);
    transform: none;
}

#search_part .nav-flow-item:hover {
    z-index: 1000;
}

/* 悬停暂停统一由 JS 按指针位置控制，避免点击开新页后 :hover/mouseleave 残留把位置卡住 */
/* 静止模式：不做流动动画，按顺序连续排布 */
#search_part.nav-mode-still .nav-flow-item {
    animation: none !important;
    transform: none !important;
}

#search_part.fixed-open .nav-fixed-part {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0s 0s;
}

#search_part .nav-fixed-toggle.show { display: block; }

#search_part .nav-fixed-toggle:hover { color: #4ca2ff; }

#search_part .nav-fixed-toggle i { transition: transform 0.3s; }

#search_part .nav-fixed-toggle.open { color: #007dff; }

#search_part .nav-fixed-toggle.open i { transform: rotate(180deg); }

#search_part .nav-fixed-part .list1 {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    padding: 0;
    display: block;
}

#search_part .nav-3d-stage {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    cursor: grab;
    touch-action: none;
}

#search_part .nav-3d-stage:active { cursor: grabbing; }

#search_part .nav-3d-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: none;
    will-change: transform, opacity;
}

#search_part.nav-3d .nav-3d-item {
    width: auto;
    height: auto;
    padding: 0;
    justify-content: center;
}

#search_part.nav-3d .nav-3d-item a {
    justify-content: center;
}

#search_part .nav-3d-item:hover a {
    background: rgba(0, 125, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.box3 span.stat-cell { cursor: default; }

.box3 a.stat-cell { cursor: pointer; }

.box3 a.stat-cell:hover .fas { color: rgb(0, 125, 255); }

.box3 .stat-cell.active .fas { color: rgb(243, 57, 57); }

.box3 .stat-cell.active .cell-count { background: #f5222d; }

.detail-comments .dc-item:last-child { border-bottom: 0; }

.detail-comments .dc-user { color: #7ed4ff; font-weight: bold; }

.detail-comments .dc-del:hover { color: #ff4d4f; }

.detail-comments .dc-input:focus { border-color: rgb(0, 125, 255); }

.detail-comments .dc-send:hover { background: rgb(30, 145, 255); }

.detail-comments .dc-login-tip a { color: #7ed4ff; }

/* ============================================
   登录 / 注册专用面板
   ============================================ */
.auth-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 99997;
}

.auth-backdrop.show { display: block; }

.auth-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 382px;
    max-width: 92vw;
    max-height: 88vh;
    flex-direction: column;
    border-radius: 12px;
    background: rgba(30, 40, 60, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    z-index: 99998;
}

.auth-panel.show { display: flex; }

.auth-panel .lp_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.auth-panel .lp_head_title i { margin-right: 6px; color: #7ed4ff; }

.auth-panel .lp_close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.auth-panel .lp_close:hover { background: rgba(255, 77, 79, 0.7); color: #fff; }

.auth-panel .lp_tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-panel .lp_tab {
    flex: 1;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.auth-panel .lp_tab.active {
    color: #7ed4ff;
    border-bottom-color: #007dff;
    font-weight: bold;
}

.auth-panel .lp_form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px 6px;
    overflow-y: auto;
}

.auth-panel .lp_form[hidden] { display: none; }

/* 忘记密码分步容器：继承表单的纵向间距（否则各列会挤在一起） */
.auth-panel #forgot_step1,
.auth-panel #forgot_step2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.auth-panel #forgot_step2[hidden] { display: none; }

.auth-panel .lp_field { display: flex; flex-direction: column; gap: 5px; }

.auth-panel .lp_field span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
    text-align: left;
}

.auth-panel .lp_field input {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.auth-panel .lp_field input::placeholder { color: rgba(255, 255, 255, 0.35); }

.auth-panel .lp_field input:focus {
    border-color: #007dff;
    background: rgba(255, 255, 255, 0.12);
}

.auth-panel .lp_submit {
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: #007dff;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-panel .lp_submit:hover { background: #3395ff; }

.auth-panel .lp_submit:disabled { background: rgba(255, 255, 255, 0.22); cursor: not-allowed; }

.auth-panel .lp_msg {
    min-height: 18px;
    font-size: 12px;
    line-height: 18px;
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
}
.auth-panel .lp_msg.err { color: #ff7875; }
.auth-panel .lp_msg.ok { color: #7ee787; }

.auth-panel .lp_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.auth-panel .lp_footer a { color: #7ed4ff; }
.auth-panel .lp_footer a:hover { text-decoration: underline; }
.auth-panel .lp_footer[hidden] { display: none; }

/* 登录/注册触发入口 */
.info-login-btn { cursor: pointer; }
.ls-user-ops a.login-entry { cursor: pointer; }



/* ================= 桌面端（>=1000px） ================= */
@media screen and (min-width: 1000px) {
/* 通用 */
/* 去除高度塌陷、重叠，（BFC） */
/* 全站统一滚动条：细窄半透明滑块，悬停高亮（设置面板/榜单/自定义导航等所有可滚动区域共用） */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
/* 不支持 ::-webkit-scrollbar 的浏览器（Firefox）用标准属性近似统一 */
@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.06);
  }
}
/* BG */
/* 底层背景样式 */
#bg_all {
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  min-width: 1200px;
  background-image: url(../images/background/bg_001.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
/* box1通用样式 */
/* 部分单独box1样式 */
/* 底层垂直分布：Header,Body */
/* 头部主体样式 */
#header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
}
#logo_part {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
}
#logo_part .logo_main {
  position: absolute;
  top: 25px;
  left: 105px;
  height: 60px;
  transition-duration: 0.5s;
}
#logo_part .logo_main:hover {
  transform: scale(1.2);
  filter: brightness(1.1);
}
#logo_part .title_ic {
  position: absolute;
  height: 25px;
  top: 98px;
  left: 85px;
  transition-duration: 0.5s;
}
#message_part {
  position: absolute;
  top: 0;
  left: 280px;
  right: 280px;
  height: 100%;
}
.message_display .danmu_text{
  position: relative;
  font-weight: bold;
  font-size: 25px;
  animation: danmu 20s linear infinite;
}
.message_display .danmu {
  position: absolute;
  left: 0;
  white-space: nowrap;
  font-size: 20px;
  opacity: 0.9;
  z-index: 9999;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  animation: danmu-fly 20s linear;
  will-change: transform;
}
@keyframes danmu-fly {
  0% {
      transform: translate3d(var(--dm-from, 100vw), 0, 0);
  }
  100% {
      transform: translate3d(var(--dm-to, -100%), 0, 0);
  }
}
.message_display .danmu:hover,
.message_display .danmu_text:hover{
  animation-play-state: paused;
  z-index: 100000;
}
.message_display .input-box {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 30px;
  justify-content: center;
  transition-duration: 0.5s;
}
.message_display:hover .input-box,
.message_display:focus-within .input-box,
.message_display #danmu-input:focus {
  bottom: 12px;
}
#danmu-input {
  padding: 6px;
  font-size: 15px;
  border: none;
  width: 25%;
  border-radius: 5px;
}
#send-btn {
  font-size: 15px;
  border: none;
  border-radius: 5px;
  width: 50px;
  height: 100%;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
}
#send-btn:hover {
  background-color: #0056b3;
}
#aboutus_part {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
}
#aboutus_part a:hover {
  color: #4ca2ff;
}
#aboutus_part::after,
#logo_part::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: -1;
  background-image: url(../images/logo/aboutus-bg-white.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 274px 144px;
}
/* ---- 关于我们面板：内部布局（面板整体大小位置不变） ---- */
#aboutus_part .about-panel {
  display: flex;
  flex-direction: column;
  padding: 12px;
  text-align: left;
}
/* 头行：标题 + 公众号二维码 */
#aboutus_part .about-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}
#aboutus_part .about_us_text {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgb(255, 255, 255);
  line-height: 1.4;
  transition: color 0.2s ease;
}
#aboutus_part .about_us_text i {
  font-size: 14px;
  color: #4ca2ff;
}
#aboutus_part .about_us_text:hover { color: #4ca2ff; }
/* 悬停提示气泡 */
#aboutus_part .about_us_text::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(40, 40, 46, 0.95);
  border: 1px solid rgba(76, 162, 255, 0.5);
  color: rgb(220, 220, 220);
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
  z-index: 10;
}
#aboutus_part .about_us_text:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#aboutus_part .QR_code img {
  height: 54px;
  width: 54px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.9);
  padding: 2px;
  transition: box-shadow 0.25s ease;
}
#aboutus_part .QR_code:hover img {
  box-shadow: 0 2px 8px rgba(76, 162, 255, 0.4);
}
/* 链接行：胶囊按钮 */
#aboutus_part .about-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}
#aboutus_part .about-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgb(200, 200, 200);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
#aboutus_part .about-links a i { font-size: 11px; }
#aboutus_part .about-links a:hover {
  background: rgba(76, 162, 255, 0.22);
  border-color: rgba(76, 162, 255, 0.5);
  color: rgb(255, 255, 255);
}
/* ---- 面板点缀动画：二维码呼吸 + 角落漂浮光斑（仅两处点缀） ---- */
@keyframes aboutPulse {           /* 循环放大缩小：公众号二维码 */
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes aboutFloatA {          /* 光斑缓慢漂浮 */
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(10px, -8px) scale(1.18); opacity: 0.9; }
}
#aboutus_part .QR_code {
  animation: aboutPulse 3.2s ease-in-out infinite;
}
#aboutus_part .about-panel::before {
  content: "";
  position: absolute;
  width: 60px; height: 60px;
  left: -16px; bottom: -16px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(76, 162, 255, 0.35), transparent 70%);
  animation: aboutFloatA 6s ease-in-out infinite;
}
/* 主体位置大小 */
#body_main {
  position: absolute;
  top: 150px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 587px;
}
#leftside {
  position: absolute;
  left: 0;
  width: 280px;
  height: 100%;
}
 #search_part {
  position: absolute;
  top: 0;
  bottom: 150px;
  width: 100%;
}
#search_part .search_title {
  position: relative;
  border-bottom: 1px #fff solid;
  font-size: 23px;
  font-weight: bold;
  width: 100%;
  height: 35px;
  line-height: 35px;
  box-sizing: border-box;
  color: rgb(255,255,255);
}
/* 搜索按钮：未展开时打开搜索框，已展开时执行搜索 */
.search_title .search_all {
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
}
.search_title .search_all:hover {
  color: #4ca2ff;
}
#search_part.search-open .search_all {
  color: #007dff;
}
/* 搜索框：圆角长方形，自右向左展开，搜索图标位于框内最右侧 */
.search_title .search_in_bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 35px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid transparent;
  overflow: hidden;
  opacity: 0;
  z-index: 2;
  transition: width 0.3s, opacity 0.2s;
}
#search_part.search-open .search_in_bg {
  width: 100%;
  opacity: 1;
  border-color: rgba(0, 125, 255, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.search_title .search_table {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  padding-right: 35px;
  box-sizing: border-box;
}
/* 关闭按钮：有文字时清空，无文字时收起搜索框 */
.search_title .search_close {
  flex: 0 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a8aa0;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
}
.search_title .search_close:hover {
  color: #ff5252;
}
.search_title .search_table input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 6px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: #007dff;
}
.search_title .search_table input::placeholder {
  color: #9aa7b8;
}
#search_part .scroll-container {
  position: relative;
  height: calc(100% - 35px);
  margin-top: 2px;
  overflow: hidden;
}
@keyframes scroll-up {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-100%);
  }
}
/* 左右滚动 */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes scroll-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
#search_part.nav-mode-left .list1,
#search_part.nav-mode-right .list1 {
  flex: 0 0 auto;
  width: auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
}

/* 图标样式 */
#search_part.nav-style-icon .list1 {
  flex: 0 0 33.33%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#search_part.nav-style-icon .list1 a {
  font-size: 26px;
  display: inline-flex;
}
#search_part.nav-style-icon .list1 .nav-icon-img { width: 32px; height: 32px; object-fit: contain; }

#search_part.nav-style-icon_text .list1 a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#search_part .nav-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 3px;
}
#search_part .list1 {
  flex: 1;
  box-sizing: border-box;
  font-size: 16px;
  text-shadow: rgba(0, 0, 0, 0.8) 1px 1px 5px;
  padding-left: 10px;
  transition-duration: 0.3s;
}
#search_part .list1:hover{
  transform: scale(1.1);
}
#search_part .list1 a {
  color: rgb(255,255,255);
}
#search_part .hot a {
  color: rgb(243, 57, 57);
  font-weight: bold;
}
#search_part .list1 a:hover {
  color: #4ca2ff;
}
#ad_part {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 150px;
  border: none;
}
#ad_part #videos_link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 广告按钮：固定尺寸点击锚点常驻框内，仅用透明度渐显，避免鼠标移出即消失 */
#ad_part a {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  z-index: 5;
  transition: opacity 0.25s, color 0.2s, background-color 0.2s;
}
#ad_part a:hover {
  color: #007dff;
  background-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
}
/* 鼠标进入广告板块才显示按钮；锚点固定尺寸在框内，移动时不会消失 */
#ad_part:hover a {
  opacity: 1;
}
#ad_part .fas {
  position: static;
  font-size: 15px;
  color: inherit;
}
#ad_link_btn {
  top: 4px;
  left: 4px;
}
#ad_link_btn .fas {
  font-size: 22px;
}
#ad_mute_btn {
  right: 4px;
  bottom: 4px;
}
#ad_next_btn {
  right: 34px;
  bottom: 4px;
}
#ad_fullscreen_btn {
  right: 64px;
  bottom: 4px;
}
#ad_play_btn {
  right: 94px;
  bottom: 4px;
}
#main_part {
  position: absolute;
  left: 283px;
  right: 283px;
  height: 100%;
  margin: 3px;
  border-radius: 8px;
  background-color: rgba(199, 219, 255, 0.2);
}
#rightside {
  position: absolute;
  right: 0;
  width: 280px;
  height: 100%;
}
#news_part {
  position: absolute;
  top: 0;
  bottom: 550px;
  width: 100%;
  height: 50%;
  min-height: 270px;
}
#news_part .news_title {
  border-bottom: 1px white solid;
  margin-top: 3px;
  font-size: 25px;
  padding: 5px;
  font-weight: bold;
}
#news_part .news_content_main li {
  width: calc(100% - 16px);
  line-height: 24px;
  margin-top: 6px;
  font-size: 18px;
  text-align: left;
}
#news_part .news_content_main li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1px 8px 1px 5px;
  border-left: 3px solid transparent;
  border-radius: 8px;
  color: #ffffff;
  transition: background-color 0.2s, color 0.2s;
}
#news_part .news_content_main li a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
}
#news_part .fa-long-arrow-alt-up,
#news_part .fa-long-arrow-alt-down {
  position: absolute;
  right: 10px;
  font-size: 25px;
  color: rgba(255, 255, 255, 0.8);
}
#news_part .fa-long-arrow-alt-up {
  top: 150px;
}
#news_part .fa-long-arrow-alt-down {
  top: 250px;
}
#news_part .fa-long-arrow-alt-up:hover,
#news_part .fa-long-arrow-alt-down:hover {
  color: #007dff;
}
/* ---- 公告/排行榜页签切换 ---- */
#news_part .news_tabs {
  display: flex;
  border-bottom: 1px white solid;
  margin-top: 3px;
}
#news_part .news-tab {
  flex: 1;
  padding: 5px 0;
  font-size: 20px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  border-radius: 8px 8px 0 0;
  transition: color 0.2s, background-color 0.2s;
}
#news_part .news-tab:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}
/* ---- 排行榜平台子页签 ---- */
#news_part .rank-subtabs {
  display: flex;
  gap: 4px;
  margin: 5px 8px 0;
}
#news_part .rank-subtab {
  flex: 1;
  padding: 4px 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  transition: color 0.2s, background-color 0.2s;
}
#news_part .rank-subtab:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.18);
}
/* ---- 排行榜列表 ---- */
#news_part .rank-list li.rank-group {
  margin: 8px 0 2px 10px;
  font-size: 13px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}
#news_part .rank-list li.rank-group::before { content: none; }
#news_part .rank-list li::before { content: none; }
#news_part .rank-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 8px);
  margin: 0 4px;
  padding: 3px 0px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 0.2s, color 0.2s;
}
#news_part .rank-no {
  flex: 0 0 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
}
#news_part .rank-no.rank-top {
  background: linear-gradient(135deg, #ffa94d, #ff5f2e);
  color: #fff;
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.45);
}
#news_part .rank-title {
  flex: 1;
  font-size: 14px;
  letter-spacing: 0.2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
}
#news_part .rank-count {
  flex: 0 0 auto;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  color: rgba(126, 212, 255, 0.9);
}
/* 排行榜有数据时隐藏面板默认 logo 水印 */
/* 排行榜列表：展示接口返回的全部条目，超出面板高度时内部滚动 */
#news_part .rank-list {
  max-height: calc(100% - 68px);
  margin: 2px 0 0;
  padding: 0 0 4px;
  list-style: none;
  overflow-y: auto;
}
#news_part .rank-list li { margin-top: 2px; }
#games_part {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 50%;
  min-height: 270px;
}
#games_part .game_set{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  border-radius: 5px;
}
/* 顶部标题栏：左 游戏选择（显示当前游戏）/ 右 排行榜按钮 */
#games_part .game_top{
  flex: 0 0 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px;
}
#games_part .game_pick{ position: relative; flex: 0 0 auto; display: flex; align-items: center; }
#games_part .game_pick_btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  max-width: 132px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #dbe9ff;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
#games_part .game_pick_btn em{
  max-width: 84px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#games_part .game_pick_btn .fa-chevron-down{ font-size: 9px; opacity: .7; }
#games_part .game_pick_btn:hover{ background: rgba(255, 255, 255, .24); color: #fff; }
#games_part .game_menu{
  display: none;
  position: absolute;
  left: 0;
  top: 30px;
  z-index: 9;
  min-width: 150px;
  max-height: 180px;
  overflow-y: auto;
  padding: 4px;
  border-radius: 8px;
  background: rgba(18, 28, 46, .97);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}
#games_part .game_menu.show{ display: block; }
#games_part .game_menu_item{
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #dfe9f7;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  text-align: left;
  cursor: pointer;
}
#games_part .game_menu_item:hover{ background: rgba(255, 255, 255, .14); color: #fff; }
#games_part .game_menu_item.active{ background: rgba(255, 214, 102, .92); color: #3a2a05; }
/* 右侧：排行榜开关（仅文字，点击后展开浮层） */
#games_part .game_rank_btn{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #cfe0f7;
  font-size: 12px;
  line-height: 1;
  transition: background-color .2s, color .2s;
}
#games_part .game_rank_btn:hover{ background: rgba(255, 255, 255, .24); color: #fff; }
#games_part .game_rank_btn.disabled{ opacity: .45; cursor: default; }
#games_part .game_rank_btn.active{
  background: rgba(255, 214, 102, .92);
  border-color: rgba(255, 214, 102, .92);
  color: #3a2a05;
}
/* 下方：游戏页面显示区域 */
#games_part .game_main{
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}
#games_part .game_html{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: rgba(0, 0, 0, .12);
}
/* 排行榜浮层：点击标题栏“排行榜”后显示，默认收起；高度自适应内容，超出游戏区高度时列表内部滚动 */
#games_part .game_rank{
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
  width: 150px;
  max-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 5px 7px 7px;
  border-radius: 9px;
  background: rgba(12, 22, 40, .92);
  box-shadow: inset 0 0 12px rgba(120, 190, 255, .18);
  backdrop-filter: blur(4px);
}
#games_part .game_rank.folded{ display: none; }
#games_part .gr_head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: bold;
  color: #ffd166;
}
#games_part .gr_title{ display: inline-flex; align-items: center; gap: 4px; }
#games_part .gr_fold{ color: rgba(255, 255, 255, .5); font-size: 10px; }
#games_part .gr_fold:hover{ color: #fff; }
#games_part .gr_status{ margin: 3px 0; min-height: 12px; font-size: 10px; line-height: 1.3; color: #9fd3ff; }
#games_part .gr_list{ flex: 0 1 auto; min-height: 0; margin: 0; padding: 0; list-style: none; overflow-y: auto; }
#games_part .gr_list::-webkit-scrollbar{ width: 3px; }
#games_part .gr_list::-webkit-scrollbar-thumb{ background: rgba(120, 190, 255, .4); border-radius: 3px; }
#games_part .gr_list li{ display: flex; align-items: center; gap: 4px; font-size: 10px; line-height: 16px; color: #dfe9f7; }
#games_part .gr_list li.me{ color: #ffd166; font-weight: bold; }
#games_part .gr_no{ flex: 0 0 14px; text-align: right; color: rgba(255, 255, 255, .45); }
#games_part .gr_list li.me .gr_no{ color: #ffd166; }
#games_part .gr_name{ flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#games_part .gr_score{ flex: 0 0 auto; color: #9fd3ff; }
#games_part .gr_list li.me .gr_score{ color: #ffd166; }
#games_part .gr_empty{ justify-content: center; color: rgba(255, 255, 255, .4); }
#games_part .gr_my{
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 10px;
  line-height: 1.4;
  color: #ffe6a7;
}
#games_part .gr_my a{ color: #9fd3ff; text-decoration: underline; }
/* 登陆样式 */
.login_bg {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}
/* 登录盒子样式 */
.log_in_box {
  position: relative;
  width: 500px;
  height: 340px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;
  background-color: rgba(0, 125, 255, 0.1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  font-size: 50px;
  text-align: center;
  color: #fff;
}
/* 登录盒子经过样式 */
.log_in_box:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
/* 登录字体 */
.log_in_box h5 {
  padding-top: 30px;
  color: black;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 255, 255);
}
/* 账户密码样式 */
.username,
.password {
  height: 25px;
  width: 180px;
  border-radius: 5px;
  border: 1px solid #007dff;
  margin: 0;
  outline-color: #007dff;
  font-size: 20px;
  background-color: rgba(255, 255, 255, 0.8);
}
/* 登录登出按钮样式 */
.login_table,
.signout_table {
  width: 85px;
  height: 30px;
  margin: 30px 0 0 0 ;
  border: 2px solid #ffffff;
  border-radius: 5px;
  outline-color: #007dff;
  font-weight: bold;
  font-size: 18px;
  background-color: rgba(255, 255, 255, 0.8);
}
/* 登录登出经过样式 */
.login_table:hover,
.signout_table:hover {
  color: #007dff;
  border: 1px solid #007dff;
}
/* 注册信息样式 */
.log_in_box h6 {
  margin-top: 50px;
  font-size: 18px;
  color: black;
}
/* 关闭按钮样式 */
.log_in_box .fas {
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 30px;
}
.log_in_box .fas:hover {
  color: #007dff;
}
/* 登录界面出现背景模糊 */
#bg_all {
  filter: blur(0px);
  transition: filter 0.1s;
}

/* ============================================================
 * 中央动态区样式（原 style_index_mainPage01.css 并入）
 * 说明：本段桌面/移动两端共享，几何定位各端自适应；
 *      #main_part 主体定位见上文各端规则，此处不含其尺寸定义。
 * ============================================================ */
/* main_part分布*/
/* 大图标题位置大小 */
#largeimg_part{
    position: absolute;
    top: 0;
    width: 100%;
    height: 300px;
}
    /* mainimg图片位置 */
        /* 左翻位置样式 */
        /* 右翻位置样式 */
        /* 左右翻经过样式 */
    /* 小图标题位置大小 */
#smallimg_part{
    position: absolute;
    top: 300px;
    bottom: 27px;
    width: 100%;
    overflow: hidden;
}
    /* smallimg小图大小位置 */
            /* box2大图数据盒子样式 */
        .box2{
            position: absolute;
            top: 5px;
            bottom: 3px;
            left: 5px;
            right: 5px;
            padding: 3px;
            border-radius: 10px;
            text-align: center;
            font-size: 50px;
            background-color: rgba(255, 255, 255, 0.2);
            background-image: url(../images/logo/ic_logo.png);
            background-repeat: no-repeat;
            background-size: 10%;
            background-position: 50%;
            overflow: hidden;
        }
        /* box3小图数据盒子样式 */
                    /* 小图大小 */
                        /* 小图标题字体样式 */
                                    /* 小图内图标位置样式 */
                        /* 观看图标样式 */
                        /* 分享图标样式 */
                        /* 收藏图标样式 */
                        /* 点赞图标样式 */
                        /* 图标经过样式 */
            /* 下侧页数显示位置大小 */
    /* page点样式 */
            /* page点大小 */
                /* ---- 轮播（数据化改造新增） ---- */
/* 翻页按钮：圆形半透明，垂直居中（覆盖旧 .box2 .fa-angle-* 绝对定位规则） */
#largeimg_part #banner_prev,
#largeimg_part #banner_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}
#largeimg_part #banner_prev { left: 8px; }
#largeimg_part #banner_next { right: 8px; }
#largeimg_part #banner_prev .fa-angle-left,
#largeimg_part #banner_next .fa-angle-right {
    position: static;
    font-size: 20px;
    color: inherit;
}
/* 滑动切换效果（配置 index_banner_effect=slide） */
/* ---- 卡片计数与激活态 ---- */
/* ---- 中央区布局补偿（个性化关闭模块时） ---- */
/* ---- 骨架屏 ---- */
@keyframes skel-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* ---- 轻提示 ---- */
/* ---- 个性化设置面板 ---- */
/* ============================================================
 * 信息面板 / 设置移入 / 关于我们状态 /
 *   卡片气泡与摘要 / 轮播标题叠加 / 卡片分页 / 导航多方向与图标样式
 * （桌面/移动共享，两文件各一份）
 * ============================================================ */

/* ---- 左上信息面板 ---- */
#logo_part .info-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    box-sizing: border-box;
}
.info-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.info-logo .logo_main {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}
.info-site-title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
.info-user {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
}
.info-login-btn:hover { text-decoration: underline; }
.info-user-name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.info-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
}
.info-setting {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transition: transform 0.3s;
}
.info-setting:hover { transform: rotate(60deg); background: rgba(0, 125, 255, 0.6); }
.info-setting .fas, .info-setting i { font-size: 15px; line-height: 1; color: inherit; }

/* 设置中心窗：居中模态（遮罩 + 固定居中面板），可设置主页全部相关设置 */
#layout_setting_panel .ls_body {
    padding: 10px 14px 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* 大类分组：组标题 + 组内自适应卡片栅格（信息面板/导航栏/内容区/其他区域） */
#layout_setting_panel .ls_group_title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    padding-left: 2px;
    font-size: 12px;
    font-weight: bold;
    color: #7ed4ff;
    letter-spacing: 0.5px;
}
#layout_setting_panel .ls_group_title i { font-size: 12px; }
#layout_setting_panel .ls_group_body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 14px;
    align-content: start;
}
/* 每个设置分组按宽度自适应成卡片，不再固定两列 */
#layout_setting_panel .ls_section {
    margin-top: 0;
    padding: 8px 10px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
#layout_setting_panel .ls_title {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    border-bottom: 1px rgba(255, 255, 255, 0.25) solid;
    padding-bottom: 4px;
    margin-bottom: 5px;
    text-align: left;
}
#layout_setting_panel .ls_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    column-gap: 8px;
    row-gap: 2px;
}
/* 自定义导航表单控件 */
#layout_setting_panel .ls_field {
    margin-bottom: 6px;
}
#layout_setting_panel .ls_field select,
#layout_setting_panel .ls_field input {
    width: 100%;
    box-sizing: border-box;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 12px;
    outline: none;
}
#layout_setting_panel .ls_check {
    line-height: 22px;
}
#layout_setting_panel .ls_btn {
    display: block;
    height: 28px;
    line-height: 28px;
    margin: 2px 0 6px;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    background: #007dff;
    transition: background-color 0.2s;
}
#layout_setting_panel .ls_nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 104px;
    overflow-y: auto;
}
#layout_setting_panel .ls_nav_list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
/* 版权与备案（自页面底部迁移，小字展示）：版权居左、备案居右 */
#layout_setting_panel .ls_footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 10px;
    line-height: 14px;
    color: rgba(255, 255, 255, 0.55);
}
/* 账户区 */
/* ---- 关于我们：站点状态 ---- */
.about-status {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 5px;
}
.about-status .status-dot { width: 7px; height: 7px; }
.about-sep { opacity: 0.5; margin: 0 3px; }
/* ---- 卡片标题+摘要两行 ---- */
.box3 .card-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    text-align: left;
}
.box3 .card-title-link .min_text {
    font-size: 14px;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.box3 .card-summary {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- 轮播标题/摘要叠加 ---- */
.banner-caption {
    position: absolute;
    max-width: 70%;
    padding: 12px 18px;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}
.banner-caption.pos-bottom_center { bottom: 30px; left: 50%; transform: translateX(-50%); text-align: center; }
.banner-caption.pos-bottom_left   { bottom: 30px; left: 20px; text-align: left; }
.banner-caption.pos-bottom_right  { bottom: 30px; right: 20px; text-align: right; }
.banner-title { font-size: 22px; font-weight: bold; margin: 0 0 4px; }
.banner-summary { font-size: 14px; margin: 0; opacity: 0.9; }

/* ============================================================
 * 中央区优化：响应式卡片网格 / 轮播圆点 / 导航滚动模式
 * （桌面/移动共享，两文件各一份）
 * ============================================================ */

/* ---- 卡片网格响应式（消除缩窄时的右侧空白） ---- */
#smallimg_part .smallimgG {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    grid-auto-rows: 200px;
    gap: 6px;
    /* 底部预留 20px 分页带：网格止于分页上方，滚动条与卡片都不压住分页 */
    height: calc(100% - 20px);
    padding: 5px;
    overflow-y: auto;
    align-content: start;
}
/* ---- 轮播圆点指示器 ---- */
/* ---- 导航滚动模式 ---- */
/* down：向下循环（复用无缝双列表，反向播放） */
/* seed：小方块随机种子浮现 */
@keyframes seed-pop {
    0%, 100% { opacity: 0; transform: scale(0.4); }
    12%, 78% { opacity: 1; transform: scale(1); }
}
/* ---- 整页背景轮换层（ICP.bg 注入，双端一致） ---- */
/* ============================================================
 * 站内详情视图 + 视频轮播/卡片媒体
 * ============================================================ */

/* 视频作为轮播/卡片媒体时与图片同尺寸铺满 */
/* ---- 站内详情视图（覆盖主内容区） ---- */
.detail-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 5px 0 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.detail-open-ext, .detail-lock, .detail-min, .detail-hide-head {
    width: 24px; height: 24px; line-height: 24px;
    text-align: center; border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); color: #fff;
    flex: 0 0 auto;
    font-size: 13px;
}
.detail-open-ext:hover, .detail-lock:hover, .detail-min:hover, .detail-hide-head:hover { background: rgba(0, 125, 255, 0.6); }
.detail-lock.locked { background: rgba(0, 125, 255, 0.6); }
/* 标题栏隐藏：仅保留内容舞台 */
#detail_view.head-hidden .detail-head { display: none; }
/* 悬浮“显示标题栏”按钮：默认透明，鼠标移到右上角才浮现（仅标题栏隐藏时可交互） */
.detail-show-head {
    position: absolute;
    top: 6px; right: 8px;
    width: 28px; height: 28px; line-height: 28px;
    text-align: center; border-radius: 50%;
    background: rgba(255, 255, 255, 0.18); color: #fff;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, background .2s ease;
    z-index: 70;
}
#detail_view.head-hidden .detail-show-head { pointer-events: auto; }
#detail_view.head-hidden .detail-show-head:hover {
    opacity: 1;
    background: rgba(0, 125, 255, 0.6);
}
.detail-info { padding: 10px 14px; }
.detail-info-title { margin: 0 0 4px; font-size: 16px; color: #fff; }
.detail-info-summary {
    margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.8);
    max-height: 60px; overflow-y: auto;
}
.detail-stats { margin-top: 6px; display: flex; gap: 16px; font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.detail-stats i { margin-right: 4px; }
.detail-article-body { padding: 26px 42px 30px; overflow-y: auto; color: #e8effa; text-align: center; }
.da-head {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.da-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 2px 10px; border-radius: 20px;
    font-size: 12px; line-height: 18px;
    background: rgba(127, 196, 255, 0.16); color: #7fc4ff;
}
.da-badge i { font-size: 12px; }
.da-time { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.da-title { margin: 16px 0 10px; font-size: 24px; font-weight: 700; line-height: 1.5; color: #fff; text-align: center; }
.da-meta { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; text-align: center; }
.da-content {
    font-size: 15px; line-height: 2; white-space: pre-wrap; word-break: break-word;
    color: #e2eaf6; padding-bottom: 20px; text-align: center;
}
.da-foot {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.16);
    font-size: 12px; color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
 * 一级板块几何锁定 / 信息面板归位 / 中央区显示修复 /
 *   卡片按钮与气泡归位 / 导航视觉重做 + 循环粒子气泡动效
 * 说明：一级板块均为 absolute 固定几何（top/bottom/left/right/height 定死），
 *      内容不可能撑大板块；超出部分由 .box1 overflow:hidden 裁剪。
 * ============================================================ */

/* ---- 一级板块几何锁定（只随视口自适应，不随内容变化） ---- */
#body_main { overflow: hidden; }
#main_part {
    top: 3px;
    bottom: 3px;
    height: auto;
    margin: 0;
    overflow: hidden;
}

/* ---- 左上信息面板：覆盖旧版 logo 绝对定位（#logo_part .logo_main），恢复 flex 流 ---- */
#logo_part .info-panel .logo_main {
    position: static;
    top: auto;
    left: auto;
    width: 42px;
    height: 42px;
    margin: 0;
}
#logo_part .info-panel .info-logo { position: static; }
/* ---- 关于我们：状态行固定到底部，避免与既有绝对定位元素重叠 ---- */
#aboutus_part .about-status {
    position: absolute;
    left: 12px;
    bottom: 8px;
    margin: 0;
}

/* ---- 中央区：轮播/卡片按比例自适应视口（不随内容变化） ---- */
#largeimg_part { height: clamp(220px, 42%, 340px); }
#smallimg_part { top: clamp(220px, 42%, 340px); bottom: 0; }
/* 弹幕关闭主内容区上延占满时：大图高度锁定不变，小图占满其余高度 */
#bg_all.mod-off-danmu #largeimg_part { height: clamp(220px, calc((100% - 150px) * 0.42), 340px); }
#bg_all.mod-off-danmu #smallimg_part { top: clamp(220px, calc((100% - 150px) * 0.42), 340px); }

/* 轮播媒体铺满（旧 .main_img 按原图尺寸居中导致显示错误） */
.banner-caption { z-index: 2; }

/* ---- 卡片网格：两行铺满 + 底部分页留白，右侧不再被裁切 ---- */
#smallimg_part .smallimgG {
    box-sizing: border-box;
    /* 行高限制上限，保证卡片始终横向（宽高比不小于 1:1） */
    grid-auto-rows: clamp(150px, calc((100% - 48px) / 2), 240px);
}

/* 卡片媒体铺满 */
/* 卡片标题/摘要：取消旧 .min_text 绝对定位，恢复文档流两行 */
.box3 .card-text { z-index: 5; }
/* ---- 导航视觉重做 ---- */
/* 垂直模式：列表高度=内容高（JS 测量写入 --nav-list-h，副本紧随其后实现无缝循环） */
/* 水平模式：副本按内容宽就位（JS 写入 --nav-list-w）；修正 right 模式副本方向错误 */
/* 导航项：统一行高、圆角悬停滑移，取消 scale 抖动 */
#search_part .list1 {
    flex: 0 0 auto;
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
}
/* 仅静态导航项需要取消 hover 位移；流动项（nav-flow-item）的 transform 由动画驱动，
   避免 hover 时的 transform 声明干扰流动动画 */
#search_part .list1:not(.nav-flow-item):hover { transform: none; }
#search_part .list1 a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.25s, transform 0.25s, color 0.25s;
}
#search_part .list1 a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(4px);
    color: #fff;
}
/* 水平模式：行高充满容器 */
#search_part.nav-mode-left .list1,
#search_part.nav-mode-right .list1 {
    width: auto;
    height: 100%;
    padding: 0 16px;
}
/* 纯图标：垂直模式整行居中（不再 33.33% 换行挤压） */
#search_part.nav-style-icon .list1 { justify-content: center; height: 52px; }
#search_part.nav-style-icon .list1 a { font-size: 24px; padding: 8px; }
#search_part.nav-style-icon .list1 .nav-icon-img { width: 30px; height: 30px; }
/* seed 模式保留网格换行与自有尺寸 */
/* ---- 导航环境动效：粒子飘动 + 气泡浮动（infinite 循环，负延迟即刻铺满） ---- */
#search_part .fx-bubble {
    width: var(--fx-size, 14px);
    height: var(--fx-size, 14px);
    background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.35);
}
@keyframes fx-rise {
    0%   { transform: translate3d(0, var(--fx-travel, 320px), 0) scale(0.6); opacity: 0; }
    8%   { opacity: 0.85; }
    50%  { transform: translate3d(var(--fx-sway, 16px), calc(var(--fx-travel, 320px) * 0.5), 0) scale(1); }
    92%  { opacity: 0.7; }
    100% { transform: translate3d(0, -20px, 0) scale(1.05); opacity: 0; }
}

/* ============================================================
 * 设置浮层脱离信息面板 / 模块关闭区域补齐 /
 *   导航逐项随机流动重做 / 左上信息面板重排
 * ============================================================ */

/* ---- 左上信息面板内部重排（状态行/时钟已移除：logo 行 + 用户行垂直居中） ---- */
#logo_part .info-panel { justify-content: center; gap: 10px; padding-left: 18px; }

/* ---- 模块关闭 → 相邻板块补齐区域（JS 在 #bg_all 上切换 mod-off-* 类） ---- */
/* 弹幕关闭：下方主内容区上延占满弹幕区域；header 提层保持左上/右上面板可点 */
#bg_all.mod-off-danmu #main_part { top: -147px; }
/* 广告关闭：导航占满广告区域 */
/* 公告关闭：游戏占满公告区域 */
#bg_all.mod-off-news #games_part { top: 0; height: 100%; }
/* 游戏关闭：公告占满游戏区域 */
#bg_all.mod-off-games #games_part { display: none; }
#bg_all.mod-off-games #news_part { top: 0; bottom: 0; height: 100%; }

/* ---- 导航：逐项随机流动（副本列表弃用；每项 absolute + 独立随机位置/大小/周期循环） ---- */
#search_part .list1.nav-flow-item {
    position: absolute;
    flex: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}
/* 流动项气泡样式：圆角胶囊 + 半透明底 + 模糊 + 阴影 */
#search_part .nav-flow-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    font-size: 14px;
    white-space: nowrap;
}
/* up/down：项固定 left，transform 纵向贯穿（--from 容器底外 → --to 自身顶外，JS 测量写入） */
@keyframes nav-flow-y {
    0%   { transform: translate3d(0, var(--from, 105%), 0) scale(var(--sc, 1)); }
    100% { transform: translate3d(0, var(--to, -120%), 0) scale(var(--sc, 1)); }
}
/* left/right：项固定 top，transform 横向贯穿 */
@keyframes nav-flow-x {
    0%   { transform: translate3d(var(--from, 105%), 0, 0) scale(var(--sc, 1)); }
    100% { transform: translate3d(var(--to, -120%), 0, 0) scale(var(--sc, 1)); }
}
/* inward/outward：沿 z 轴运动——从最远处由小到大迎面而来，越过后出画（inward 反向播放） */
@keyframes nav-zflow {
    0%   { transform: perspective(900px) translate3d(0, 0, -1200px); opacity: 0; }
    12%  { opacity: 1; }
    70%  { transform: perspective(900px) translate3d(0, 0, 0); opacity: 1; }
    86%  { opacity: 0.85; }
    100% { transform: perspective(900px) translate3d(0, 0, 520px); opacity: 0; }
}
/* phase 浮现：逐渐显示 → 停留 → 慢慢消失 */
@keyframes nav-phase {
    0%   { transform: scale(0.92); opacity: 0; }
    18%  { transform: scale(1); opacity: 1; }
    70%  { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.06); opacity: 0; }
}
/* drift 漂浮：随机位置/大小/漂移向量，每轮换一批参数（JS onanimationiteration） */
@keyframes nav-drift {
    0%, 100% { transform: translate(0, 0) scale(var(--sc, 1)); opacity: 0.55; }
    50%      { transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--sc, 1)); opacity: 1; }
}
/* hover：仅当前项最前显示并停止运动，其他项不受影响 */
/* ---- 固定导航：标题下方浮于内容层之上的独立板块，自适应宽度逐行排列 ---- */
/* 默认收起（向上隐藏），点击标题栏按钮后向下滑出；左右边界始终固定 */
#search_part .nav-fixed-part {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
    padding: 8px;
    max-height: calc(100% - 45px);
    overflow-y: auto;
    background: rgb(32, 45, 69, 0.85);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0s 0.3s;
}
/* 展开/收起按钮：仅有固定导航时显示；位于标题最左侧 */
#search_part .nav-fixed-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 4;
    display: none;
    transition: color 0.2s;
}
/* 搜索框展开时让出位置，避免与输入框重叠 */
#search_part.search-open .nav-fixed-toggle { display: none; }
#search_part .nav-fixed-part .list1 a {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 14px;
    white-space: nowrap;
}
#search_part .nav-fixed-part .list1.hot a { color: rgb(135, 183, 255); }
#search_part .nav-fixed-part .list1 a:hover {
    background: rgba(232, 239, 247, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    transform: none;
}

/* ---- 3D 球体导航：项分布在球面，JS rAF 驱动旋转 ---- */
#search_part.nav-3d .scroll-container { perspective: 700px; }
/* 3D 球内导航项按内容自适应尺寸并整体居中，避免整行宽度导致文字偏左 */
#search_part .nav-3d-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    font-size: 14px;
    white-space: nowrap;
}
/* 球外侧卫星：少量图标/文字点缀，纯装饰不可点击 */
#search_part .nav-3d-satellite {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 22px;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    will-change: transform, opacity;
}
#search_part .nav-3d-satellite .nav-icon-img {
    width: 14px;
    height: 14px;
}

/* ---- 卡片右上角固定四格统计（查看/分享/收藏/评论） ----
   每格固定宽高，不随数字内容变化；格内为图标 + 数据气泡 */
.box3 .card-stats {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 6;
    display: flex;
    gap: 6px;
}
.box3 .stat-cell {
    position: relative;
    width: 46px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 6px;
    overflow: hidden;
    color: #fff;
    backdrop-filter: blur(2px);
}
.box3 .stat-cell .fas {
    position: static;
    top: auto;
    right: auto;
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.box3 .stat-cell .cell-count {
    flex: 0 1 auto;
    max-width: 24px;
    height: 14px;
    padding: 0 4px;
    line-height: 14px;
    font-size: 10px;
    font-style: normal;
    text-align: center;
    color: #fff;
    background: rgba(255, 77, 79, 0.9);
    border-radius: 7px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* ---- 详情评论区 ---- */
.detail-comments {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.detail-comments .dc-title {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}
.detail-comments .dc-list {
    max-height: 220px;
    overflow-y: auto;
}
.detail-comments .dc-empty {
    padding: 12px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}
.detail-comments .dc-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.detail-comments .dc-item-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.detail-comments .dc-time { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.detail-comments .dc-del {
    margin-left: auto;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
.detail-comments .dc-content {
    margin: 4px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word;
}
.detail-comments .dc-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.detail-comments .dc-input {
    flex: 1;
    height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 13px;
    outline: none;
}
.detail-comments .dc-send {
    height: 32px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: rgb(0, 125, 255);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}
.detail-comments .dc-login-tip {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

}

/* ================= 移动端（<=999px） ================= */
@media screen and (max-width: 999px) {
/* 通用 */
/* 去除高度塌陷、重叠，（BFC） */
/* 全站统一滚动条：细窄半透明滑块，悬停高亮（设置面板/榜单/自定义导航等所有可滚动区域共用） */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
/* 不支持 ::-webkit-scrollbar 的浏览器（Firefox）用标准属性近似统一 */
@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.06);
  }
}
/* BG */
/* 底层背景样式 */
#bg_all {
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  min-width: 325px;
  background-image: url(../images/background/bg_001.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
/* box1通用样式 */
/* 部分单独box1样式 */
/* 底层垂直分布：Header,Body */
/* 头部主体样式 */
#header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
}
#logo_part {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
}
#header #logo_part .logo_main {
  position: absolute;
  top: 10px;
  left: 21px;
  height: 50px;
  transition-duration: 0.5s;
}
#logo_part .logo_main:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}
#logo_part .title_ic {
  position: absolute;
  height: 18px;
  top: 68px;
  left: 10px;
  transition-duration: 0.5s;
}
#message_part {
  position: absolute;
  top: 0;
  left: 100px;
  right: 80px;
  height: 100%;
}
.message_display .danmu_text{
  position: relative;
  font-weight: bold;
  font-size: 16px;
  animation: danmu 10s linear infinite;
}
.message_display .danmu {
  position: absolute;
  left: 0;
  white-space: nowrap;
  font-size: 15px;
  opacity: 0.9;
  z-index: 9999;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  animation: danmu-fly 10s linear;
  will-change: transform;
}
@keyframes danmu-fly {
  0% {
      transform: translate3d(var(--dm-from, 100vw), 0, 0);
  }
  100% {
      transform: translate3d(var(--dm-to, -100%), 0, 0);
  }
}
.message_display .danmu:hover,
.message_display .danmu_text:hover{
  animation-play-state: paused;
}
.message_display .input-box {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 10px;
  width: 100%;
  height: 20px;
  justify-content: center;
}
.message_display:hover .input-box {
  display: flex;
}
#danmu-input {
  padding: 6px;
  font-size: 12px;
  border: none;
  width: 25%;
  border-radius: 5px;
}
#send-btn {
  font-size: 12px;
  border: none;
  border-radius: 5px;
  width: 40px;
  height: 100%;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  padding: 0;
}
#aboutus_part {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
}
/* 移动端：关于我们面板内部改为居中竖排（面板大小位置不变） */
#aboutus_part .about-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 2px;
  text-align: center;
}
#aboutus_part .about-head {
  display: flex;
  justify-content: center;
}
#aboutus_part .about_us_text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgb(255,255,255);
  white-space: nowrap;
}
#aboutus_part .about_us_text i { display: none; }
#aboutus_part .about-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
#aboutus_part .about-links a {
  font-size: 11px;
  color: rgb(200,200,200);
  white-space: nowrap;
}
#aboutus_part .about-links a:hover { color: #4ca2ff; }
#aboutus_part .about-links a i { display: none; }
/* 窄屏关闭光斑装饰，避免拥挤 */
#aboutus_part .about-panel::before { display: none; }
#body_main {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 100px);
  min-height: 520px;
}
#leftside {
  position: absolute;
  left: 0;
  width: 100px;
  height: 100%;
}
#search_part {
  position: absolute;
  top: 0;
  bottom: 125px;
  width: 100%;
}
#search_part .search_title {
  position: relative;
  border-bottom: 1px #fff solid;
  font-size: 15px;
  font-weight: bold;
  width: 100%;
  line-height: 20px;
  box-sizing: border-box;
  color: rgb(255,255,255);
  text-align: center;
}
#search_part .scroll-container {
  position: relative;
  height: calc(100% - 25px);
  margin-top: 5px;
  overflow: hidden;
}
@keyframes scroll-up {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-100%);
  }
}
/* 左右滚动 */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes scroll-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
#search_part.nav-mode-left .list1,
#search_part.nav-mode-right .list1 {
  flex: 0 0 auto;
  width: auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
}
/* 图标样式 */
#search_part.nav-style-icon .list1 {
  flex: 0 0 33.33%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#search_part.nav-style-icon .list1 a { font-size: 22px; display: inline-flex; }
#search_part.nav-style-icon .list1 .nav-icon-img { width: 28px; height: 28px; object-fit: contain; }
#search_part.nav-style-icon_text .list1 a {
  display: inline-flex; align-items: center; gap: 5px;
}
#search_part .nav-icon-img {
  width: 16px; height: 16px; object-fit: contain; vertical-align: middle; border-radius: 3px;
}
#search_part .list1 {
  flex: 1;
  box-sizing: border-box;
  font-size: 12px;
  text-shadow: rgba(0, 0, 0, 0.8) 1px 1px 5px;
  transition-duration: 0.3s;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#search_part .list1 a {
  color: rgb(255,255,255);
}
#search_part .hot a {
  color: rgb(135, 183, 255);
  font-weight: bold;
}
#ad_part {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 125px;
}
#videos_link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#main_part {
  position: absolute;
  right: 2px;
  top:3px;
  width: calc(100% - 105px);
  height: calc(100% - 130px);
  border-radius: 8px;
  background-color: rgba(199, 219, 255, 0.2);
}
#rightside {
  position: absolute;
  right: 0;
  width: calc(100% - 100px);
  height: 100%;
}
#news_part {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 125px;
}
/* 公告/排行榜页签：移动端横排紧凑 */
#news_part .news_tabs {
  display: flex;
  border-bottom: 1px white solid;
}
#news_part .news-tab {
  flex: 1;
  padding: 2px 0;
  font-size: 13px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  border-radius: 6px 6px 0 0;
  transition: color 0.2s, background 0.2s;
}
#news_part .news-tab:hover { color: #fff; }
/* 排行榜平台子页签 */
#news_part .rank-subtabs {
  display: flex;
  gap: 3px;
  margin: 2px 4px 0;
}
#news_part .rank-subtab {
  flex: 1;
  padding: 0;
  font-size: 11px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  transition: color 0.2s, background 0.2s;
}
#news_part .rank-subtab:hover { color: #fff; }
#news_part .news_content_main { margin-top: 2px; }
#news_part .news_content_main li {
  margin-top: 4px;
  margin-left: 6px;
  font-size: 12px;
  text-align: left;
}
#news_part .news_content_main li a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 1px 4px;
  border-left: 2px solid transparent;
  border-radius: 5px;
  color: #ffffff;
}
#news_part .news_content_main li a:hover { color: #ffffff; }
#news_part .ni-icon { font-size: 11px; width: 13px; }
#news_part .ni-pin { font-size: 10px; }
/* 排行榜列表 */
#news_part .rank-list li.rank-group {
  margin: 4px 0 2px 6px;
  font-size: 10px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.6);
}
#news_part .rank-list li::before { content: none; margin: 0; }
#news_part .rank-list li a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 1px 4px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 0.2s, color 0.2s;
}
#news_part .rank-no {
  flex: 0 0 15px;
  height: 15px;
  line-height: 15px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
}
#news_part .rank-no.rank-top {
  background: linear-gradient(135deg, #ffa94d, #ff5f2e);
  color: #fff;
  box-shadow: 0 0 6px rgba(255, 107, 53, 0.4);
}
#news_part .rank-title {
  flex: 1;
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
}
#news_part .rank-count {
  flex: 0 0 auto;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: rgba(126, 212, 255, 0.9);
}
/* 排行榜有数据时隐藏面板默认 logo 水印 */
/* 排行榜列表：展示接口返回的全部条目，超出面板高度时内部滚动 */
#news_part .rank-list {
  max-height: calc(100% - 56px);
  margin: 1px 0 0;
  padding: 0 0 3px;
  list-style: none;
  overflow-y: auto;
}
#news_part .rank-list li { margin-top: 1px; }
#aboutus_part .QR_code,
#leftside .search_all,
#leftside .search_in_bg,
#ad_part .fas,
#ad_part .box1 > a,
#games_part {
  display: none;
}

/* ============================================================
 * 中央动态区样式（原 style_index_mainPage01.css 并入）
 * 说明：本段桌面/移动两端共享，几何定位各端自适应；
 *      #main_part 主体定位见上文各端规则，此处不含其尺寸定义。
 * ============================================================ */
/* main_part分布*/
/* 大图标题位置大小 */
#largeimg_part{
    position: absolute;
    top: 0;
    width: 100%;
    height: 300px;
}
    /* mainimg图片位置 */
        /* 左翻位置样式 */
        /* 右翻位置样式 */
        /* 左右翻经过样式 */
    /* 小图标题位置大小 */
#smallimg_part{
    position: absolute;
    top: 300px;
    bottom: 27px;
    width: 100%;
    overflow: hidden;
}
    /* smallimg小图大小位置 */
            /* box2大图数据盒子样式 */
        .box2{
            position: absolute;
            top: 4px;
            bottom: 4px;
            left: 3px;
            right: 3px;
            padding: 3px;
            border-radius: 10px;
            text-align: center;
            font-size: 50px;
            background-color: rgba(255, 255, 255, 0.2);
            background-image: url(../images/logo/ic_logo.png);
            background-repeat: no-repeat;
            background-size: 10%;
            background-position: 50%;
            overflow: hidden;
        }
        /* box3小图数据盒子样式 */
                    /* 小图大小 */
                        /* 小图标题字体样式 */
                                    /* 小图内图标位置样式 */
                        /* 观看图标样式 */
                        /* 分享图标样式 */
                        /* 收藏图标样式 */
                        /* 点赞图标样式 */
                        /* 图标经过样式 */
            /* 下侧页数显示位置大小 */
    /* page点样式 */
            /* page点大小 */
                /* ---- 轮播（数据化改造新增） ---- */
/* 翻页按钮：圆形半透明，垂直居中（覆盖旧 .box2 .fa-angle-* 绝对定位规则） */
#largeimg_part #banner_prev,
#largeimg_part #banner_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}
#largeimg_part #banner_prev { left: 6px; }
#largeimg_part #banner_next { right: 6px; }
#largeimg_part #banner_prev .fa-angle-left,
#largeimg_part #banner_next .fa-angle-right {
    position: static;
    font-size: 18px;
    color: inherit;
}
/* 滑动切换效果（配置 index_banner_effect=slide） */
/* ---- 卡片计数与激活态 ---- */
/* ---- 中央区布局补偿（个性化关闭模块时） ---- */
/* ---- 骨架屏 ---- */
@keyframes skel-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* ---- 轻提示 ---- */
/* ============================================================
 * 信息面板 / 设置移入 / 关于我们状态 /
 *   卡片气泡与摘要 / 轮播标题叠加 / 卡片分页 / 导航多方向与图标样式
 * ============================================================ */

/* ---- 左上信息面板 ---- */
#logo_part .info-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 8px;
    box-sizing: border-box;
}
.info-logo { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.info-logo .logo_main { width: 34px; height: 34px; border-radius: 50%; }
.info-site-title { font-size: 18px; font-weight: bold; color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.6); }
.info-user { font-size: 12px; color: rgba(255,255,255,0.95); }
.info-status { display: flex; align-items: center; gap: 4px; font-size: 11px; color: rgba(255,255,255,0.85); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 5px #4ade80; }
.info-setting {
    position: absolute; top: 6px; right: 6px;
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.18); color: #fff;
    cursor: pointer;
}
.info-setting .fas, .info-setting i { font-size: 12px; color: inherit; line-height: 1; }

#layout_setting_panel .ls_body {
    padding: 8px 12px 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* 大类分组：组标题 + 组内自适应卡片栅格（信息面板/导航栏/内容区/其他区域） */
#layout_setting_panel .ls_group_title {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 5px;
    padding-left: 2px;
    font-size: 11px;
    font-weight: bold;
    color: #7ed4ff;
}
#layout_setting_panel .ls_group_title i { font-size: 11px; }
#layout_setting_panel .ls_group_body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px 10px;
    align-content: start;
}
/* 移动端导航分栏改为上下堆叠 */
#layout_setting_panel .ls_group_body.ls_nav_split {
    grid-template-columns: 1fr;
}
/* 每个设置分组按宽度自适应成卡片，不再固定两列 */
#layout_setting_panel .ls_section {
    margin-top: 0;
    padding: 7px 9px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
#layout_setting_panel .ls_title {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    border-bottom: 1px rgba(255, 255, 255, 0.25) solid;
    padding-bottom: 3px;
    margin-bottom: 4px;
    text-align: left;
}
#layout_setting_panel .ls_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    column-gap: 6px;
}
/* 自定义导航表单控件（移动端紧凑） */
#layout_setting_panel .ls_field { margin-bottom: 5px; }
#layout_setting_panel .ls_field select,
#layout_setting_panel .ls_field input {
    width: 100%;
    box-sizing: border-box;
    height: 26px;
    padding: 0 7px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 11px;
    outline: none;
}
#layout_setting_panel .ls_check { line-height: 20px; font-size: 12px; }
#layout_setting_panel .ls_btn {
    display: block;
    height: 26px;
    line-height: 26px;
    margin: 2px 0 5px;
    border-radius: 6px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    background: #007dff;
    transition: background-color 0.2s;
}
#layout_setting_panel .ls_nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 92px;
    overflow-y: auto;
}
#layout_setting_panel .ls_nav_list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
/* 版权与备案（小字展示）：版权居左、备案居右 */
#layout_setting_panel .ls_footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 9px;
    line-height: 13px;
    color: rgba(255, 255, 255, 0.55);
}
/* 账户区 */
/* 关于我们：站点状态 */
.about-status { margin-top: 5px; font-size: 11px; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 4px; }
.about-sep { opacity: 0.5; margin: 0 2px; }
/* 卡片标题+摘要 */
.box3 .card-text {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 5px 7px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    text-align: left;
}
.box3 .card-title-link .min_text {
    font-size: 13px; color: #fff; margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.box3 .card-summary {
    font-size: 11px; color: rgba(255,255,255,0.8); margin: 1px 0 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 轮播标题/摘要叠加 */
.banner-caption {
    position: absolute; max-width: 75%; padding: 8px 12px;
    color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); pointer-events: none;
}
.banner-caption.pos-bottom_center { bottom: 22px; left: 50%; transform: translateX(-50%); text-align: center; }
.banner-caption.pos-bottom_left   { bottom: 22px; left: 12px; text-align: left; }
.banner-caption.pos-bottom_right  { bottom: 22px; right: 12px; text-align: right; }
.banner-title { font-size: 16px; font-weight: bold; margin: 0 0 3px; }
.banner-summary { font-size: 12px; margin: 0; opacity: 0.9; }

/* 卡片分页：一排圆点，当前页居中最大、两侧按距离递减，悬停展开显示页数 */
/* 尺寸按与当前页距离递减：d0 当前页最大 */
#smallimg_part .smallimgG { padding-bottom: 30px; box-sizing: border-box; }
#smallimg_part { box-sizing: border-box; }

/* ============================================================
 * 中央区优化：响应式卡片网格 / 轮播圆点 / 导航滚动模式
 * （桌面/移动共享，两文件各一份）
 * ============================================================ */

/* ---- 卡片网格响应式（消除缩窄时的右侧空白） ---- */
#smallimg_part .smallimgG {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    grid-auto-rows: 200px;
    gap: 6px;
    padding: 5px;
    overflow-y: auto;
    align-content: start;
}
/* ---- 轮播圆点指示器 ---- */
/* ---- 导航滚动模式 ---- */
/* down：向下循环（复用无缝双列表，反向播放） */
/* seed：小方块随机种子浮现 */
@keyframes seed-pop {
    0%, 100% { opacity: 0; transform: scale(0.4); }
    12%, 78% { opacity: 1; transform: scale(1); }
}

/* ---- 整页背景轮换层（ICP.bg 注入，双端一致） ---- */
/* ============================================================
 * 站内详情视图 + 视频轮播/卡片媒体
 * ============================================================ */

.detail-head {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.detail-open-ext, .detail-lock, .detail-min, .detail-hide-head {
    width: 22px; height: 22px; line-height: 22px;
    text-align: center; border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); color: #fff;
    flex: 0 0 auto; font-size: 11px;
}
.detail-hide-head:hover { background: rgba(0, 125, 255, 0.6); }
.detail-lock.locked { background: rgba(0, 125, 255, 0.6); }
/* 标题栏隐藏 + 右上角悬浮显示按钮（移动端同桌面端逻辑） */
#detail_view.head-hidden .detail-head { display: none; }
.detail-show-head {
    position: absolute;
    top: 5px; right: 7px;
    width: 26px; height: 26px; line-height: 26px;
    text-align: center; border-radius: 50%;
    background: rgba(255, 255, 255, 0.18); color: #fff;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, background .2s ease;
    z-index: 70;
}
#detail_view.head-hidden .detail-show-head { pointer-events: auto; }
#detail_view.head-hidden .detail-show-head:hover {
    opacity: 1;
    background: rgba(0, 125, 255, 0.6);
}
.detail-tab { font-size: 11px; max-width: 140px; height: 18px; padding: 0 6px; }
.detail-info { padding: 8px 10px; }
.detail-info-title { margin: 0 0 3px; font-size: 14px; color: #fff; }
.detail-info-summary {
    margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.8);
    max-height: 48px; overflow-y: auto;
}
.detail-stats { margin-top: 4px; display: flex; gap: 12px; font-size: 11px; color: rgba(255, 255, 255, 0.75); }
.detail-stats i { margin-right: 3px; }
.detail-article-body { padding: 16px 16px 20px; overflow-y: auto; color: #e8effa; text-align: center; }
.da-head {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.da-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 1px 8px; border-radius: 16px;
    font-size: 10px; line-height: 16px;
}
.da-badge i { font-size: 10px; }
.da-time { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: rgba(255, 255, 255, 0.6); }
.da-title { margin: 12px 0 8px; font-size: 18px; font-weight: 700; line-height: 1.5; color: #fff; text-align: center; }
.da-meta { font-size: 11px; color: rgba(255, 255, 255, 0.6); margin-bottom: 12px; text-align: center; }
.da-content {
    font-size: 13px; line-height: 1.9; white-space: pre-wrap; word-break: break-word;
    color: #e2eaf6; padding-bottom: 16px; text-align: center;
}
.da-foot {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.16);
    font-size: 11px; color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
 * 一级板块几何锁定 / 信息面板归位 / 中央区显示修复 /
 *   卡片按钮与气泡归位 / 导航视觉重做 + 循环粒子气泡动效 / 弹幕选择器修正
 * 说明：一级板块均为 absolute 固定几何，内容不可能撑大板块；
 *      超出部分由 .box1 overflow:hidden 裁剪。
 * ============================================================ */

/* ---- 一级板块几何锁定（只随视口自适应，不随内容变化） ---- */
#body_main { overflow: hidden; }
#main_part { overflow: hidden; }

/* ---- 左上信息面板：覆盖旧版 logo 绝对定位，恢复 flex 流；窄面板隐藏站名文字 ---- */
#header #logo_part .info-panel .logo_main {
    position: static;
    top: auto;
    left: auto;
    width: 34px;
    height: 34px;
    margin: 0;
}
#logo_part .info-panel .info-site-title { display: none; }
/* 窄面板中站名隐藏后，单独的圆形 logo 居中显示更整齐 */
#logo_part .info-panel .info-logo { justify-content: center; }
/* 关于我们：窄面板不显示状态行（信息面板已有站点状态） */
#aboutus_part .about-status { display: none; }

/* ---- 中央区：轮播/卡片按比例自适应视口（不随内容变化） ---- */
#largeimg_part { height: clamp(130px, 36%, 240px); }
#smallimg_part { top: clamp(130px, 36%, 240px); bottom: 0; }

/* 轮播媒体铺满（旧 .main_img 按原图尺寸居中导致显示错误） */
.banner-caption { z-index: 2; }

/* ---- 卡片网格：两行铺满 + 底部分页留白，右侧不再被裁切 ---- */
#smallimg_part .smallimgG {
    box-sizing: border-box;
    padding: 5px 6px 32px;
    /* 行高限制上限，保证卡片始终横向（宽高比不小于 1:1） */
    grid-auto-rows: clamp(110px, calc((100% - 43px) / 2), 220px);
}

/* 卡片媒体铺满 */
/* 卡片标题/摘要：取消旧 .min_text 绝对定位，恢复文档流两行 */
.box3 .card-text { z-index: 5; }
/* ---- 导航视觉重做 ---- */
#search_part .list1 {
    flex: 0 0 auto;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 8px;
}
#search_part .list1:not(.nav-flow-item):hover { transform: none; }
#search_part .list1 a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.25s, transform 0.25s, color 0.25s;
}
#search_part .list1 a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(3px);
    color: #fff;
}
#search_part.nav-mode-left .list1,
#search_part.nav-mode-right .list1 {
    width: auto;
    height: 100%;
    padding: 0 12px;
}
#search_part.nav-style-icon .list1 { justify-content: center; height: 44px; }
#search_part.nav-style-icon .list1 a { font-size: 20px; padding: 6px; }
#search_part.nav-style-icon .list1 .nav-icon-img { width: 24px; height: 24px; }
/* ---- 导航环境动效：粒子飘动 + 气泡浮动（infinite 循环，负延迟即刻铺满） ---- */
#search_part .fx-bubble {
    width: var(--fx-size, 12px);
    height: var(--fx-size, 12px);
    background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.35);
}
@keyframes fx-rise {
    0%   { transform: translate3d(0, var(--fx-travel, 320px), 0) scale(0.6); opacity: 0; }
    8%   { opacity: 0.85; }
    50%  { transform: translate3d(var(--fx-sway, 12px), calc(var(--fx-travel, 320px) * 0.5), 0) scale(1); }
    92%  { opacity: 0.7; }
    100% { transform: translate3d(0, -20px, 0) scale(1.05); opacity: 0; }
}

/* ============================================================
 * 设置浮层脱离信息面板 / 模块关闭区域补齐 /
 *   导航逐项随机流动重做 / 左上信息面板重排
 * ============================================================ */

/* ---- 左上信息面板内部重排（状态行/时钟已移除：logo + 用户行垂直居中） ---- */
#logo_part .info-panel { justify-content: center; }

/* ---- 模块关闭 → 相邻板块补齐区域（JS 在 #bg_all 上切换 mod-off-* 类） ---- */
/* 弹幕关闭：下方主内容区上延占满弹幕区域；header 提层保持左上/右上面板可点 */
#bg_all.mod-off-danmu #main_part { top: -97px; height: calc(100% - 125px + 97px); }
/* 弹幕关闭主区上延：大图高度锁定不随主区变高，小图占满剩余高度 */
#bg_all.mod-off-danmu #largeimg_part { height: clamp(130px, calc((100% - 97px) * 0.36), 240px); }
#bg_all.mod-off-danmu #smallimg_part { top: clamp(130px, calc((100% - 97px) * 0.36), 240px); }
/* 广告关闭：导航占满广告区域 */
/* 公告关闭：移动端游戏本就不显示，主内容区占满公告区域 */
#bg_all.mod-off-news #main_part { height: 100%; }
/* 弹幕+公告同时关闭：主内容区上延并铺满到底 */
#bg_all.mod-off-danmu.mod-off-news #main_part { top: -97px; height: calc(100% + 97px); }

/* ---- 导航：逐项随机流动（副本列表弃用；每项 absolute + 独立随机位置/大小/周期循环） ---- */
#search_part .list1.nav-flow-item {
    position: absolute;
    flex: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
/* 流动项气泡样式：圆角胶囊 + 半透明底 + 模糊 + 阴影 */
#search_part .nav-flow-item a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
    font-size: 12px;
    white-space: nowrap;
}
/* up/down：项固定 left，transform 纵向贯穿（--from 容器底外 → --to 自身顶外，JS 测量写入） */
@keyframes nav-flow-y {
    0%   { transform: translate3d(0, var(--from, 105%), 0) scale(var(--sc, 1)); }
    100% { transform: translate3d(0, var(--to, -120%), 0) scale(var(--sc, 1)); }
}
/* left/right：项固定 top，transform 横向贯穿 */
@keyframes nav-flow-x {
    0%   { transform: translate3d(var(--from, 105%), 0, 0) scale(var(--sc, 1)); }
    100% { transform: translate3d(var(--to, -120%), 0, 0) scale(var(--sc, 1)); }
}
/* inward/outward：沿 z 轴运动——从最远处由小到大迎面而来，越过后出画（inward 反向播放） */
@keyframes nav-zflow {
    0%   { transform: perspective(900px) translate3d(0, 0, -1200px); opacity: 0; }
    12%  { opacity: 1; }
    70%  { transform: perspective(900px) translate3d(0, 0, 0); opacity: 1; }
    86%  { opacity: 0.85; }
    100% { transform: perspective(900px) translate3d(0, 0, 520px); opacity: 0; }
}
/* phase 浮现：逐渐显示 → 停留 → 慢慢消失 */
@keyframes nav-phase {
    0%   { transform: scale(0.92); opacity: 0; }
    18%  { transform: scale(1); opacity: 1; }
    70%  { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.06); opacity: 0; }
}
/* drift 漂浮：随机位置/大小/漂移向量，每轮换一批参数（JS onanimationiteration） */
@keyframes nav-drift {
    0%, 100% { transform: translate(0, 0) scale(var(--sc, 1)); opacity: 0.55; }
    50%      { transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--sc, 1)); opacity: 1; }
}
/* hover：仅当前项最前显示并停止运动，其他项不受影响 */
#search_part .list1.nav-flow-item { will-change: transform; }

/* ---- 固定导航：标题下方浮于内容层之上的独立板块，自适应宽度逐行排列 ---- */
/* 默认收起（向上隐藏），点击标题栏按钮后向下滑出；左右边界始终固定 */
#search_part .nav-fixed-part {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 4px;
    padding: 5px;
    max-height: calc(100% - 30px);
    overflow-y: auto;
    background: rgba(20, 30, 45, 0.8);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0s 0.3s;
}
/* 展开/收起按钮：仅有固定导航时显示，位于标题最左侧 */
#search_part .nav-fixed-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 4;
    display: none;
    transition: color 0.2s;
}
#search_part .nav-fixed-part .list1 a {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 12px;
    white-space: nowrap;
}
#search_part .nav-fixed-part .list1 a:hover {
    background: rgba(191, 221, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.747);
}

/* ---- 3D 球体导航：项分布在球面，JS rAF 驱动旋转 ---- */
#search_part.nav-3d .scroll-container { perspective: 500px; }
/* 3D 球内导航项按内容自适应尺寸并整体居中，避免整行宽度导致文字偏左 */
#search_part .nav-3d-item a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
    font-size: 12px;
    white-space: nowrap;
}
/* 球外侧卫星：少量图标/文字点缀，纯装饰不可点击 */
#search_part .nav-3d-satellite {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    padding: 0 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    white-space: nowrap;
    pointer-events: none;
    will-change: transform, opacity;
}
#search_part .nav-3d-satellite .nav-icon-img {
    width: 12px;
    height: 12px;
}

/* ---- 卡片右上角固定四格统计（查看/分享/收藏/评论） ----
   每格固定宽高，不随数字内容变化；格内为图标 + 数据气泡 */
.box3 .card-stats {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 6;
    display: flex;
    gap: 4px;
}
.box3 .stat-cell {
    position: relative;
    width: 38px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 5px;
    overflow: hidden;
    color: #fff;
}
.box3 .stat-cell .fas {
    position: static;
    top: auto;
    right: auto;
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.box3 .stat-cell .cell-count {
    flex: 0 1 auto;
    max-width: 20px;
    height: 12px;
    padding: 0 3px;
    line-height: 12px;
    font-size: 9px;
    font-style: normal;
    text-align: center;
    color: #fff;
    background: rgba(255, 77, 79, 0.9);
    border-radius: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* ---- 详情评论区 ---- */
.detail-comments {
    margin-top: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.detail-comments .dc-title {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
}
.detail-comments .dc-list {
    max-height: 180px;
    overflow-y: auto;
}
.detail-comments .dc-empty {
    padding: 10px 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}
.detail-comments .dc-item {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.detail-comments .dc-item-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}
.detail-comments .dc-time { font-size: 10px; color: rgba(255, 255, 255, 0.45); }
.detail-comments .dc-del {
    margin-left: auto;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
.detail-comments .dc-content {
    margin: 3px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word;
}
.detail-comments .dc-form {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.detail-comments .dc-input {
    flex: 1;
    height: 30px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 12px;
    outline: none;
}
.detail-comments .dc-send {
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: rgb(0, 125, 255);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}
.detail-comments .dc-login-tip {
    margin-top: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

}
