@media (min-width: 0) {
	:root {
		/* --base-font-size: 20px; */
		--van-base-font: 'Mirages Custom', 'Merriweather', 'Open Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', 'WenQuanYi Micro Hei',  'Segoe UI Emoji', 'Segoe UI Symbol', Helvetica, Arial, sans-serif;
		--van-tab-line-height: 110%;
		--base-background: #111118;
		--default-screen-max-width: 64.0rem;
		--default-screen-min-width: 0;
		--default-content-max-width: 64.0rem;

		/* 基础配置 start */
		--body-color: #ccc;
		--base-background: #121212;
		--header-background: #121212;
		--p-text-color: #fff;
		--a-text-color: #fff;
		--text-color: #efefef;
		--text-color-f: #fff;
		--text-color-white: #fff;
		--body-background: transparent;
		--detail-color:#080808;
		/* 基础配置 end */

		/* 左侧导航 start */
		--menu-left-background: #1e1f2c;
		--menu-left-title-color: #d9d9d9;
		/* 左侧导航 end */

		/* 底部菜单 start */
		--van-tabbar-item-text-color: #909090;
		--van-tabbar-background: #272727;
		--van-tabbar-item-active-color: #909090;
		--van-tabbar-item-active-background: #221f3a;
		/* 底部菜单 end */

		/* 分页控件 start */
		--van-pagination-item-default-color: #1e1f2c;
		--van-pagination-background: #e56e43;
		--van-pagination-item-text-color: #fff;
		--van-pagination-item-text-color-active: #fff;
		/* 分页控件 end */

		/* 浮动气泡 start */
		--van-back-top-background: #1f1f2d;
		/* 浮动气泡 end */

		/* 滚动条 start */
		--desktop-scrollbar-background-color: #1f1f2d;
		--desktop-scrollbar-thumb-background-color: #272839;
		/* 滚动条 end */

		/* 情报公告 start */
		--notice-background: #1e1f2c;
		--notice-text-color: #fff;
		/* 情报公告 end */

		/* 宫格菜单 start */
		--grid-background: linear-gradient(to right, #1e1f2c, #1e1f2c), linear-gradient(90deg, transparent, #fff);
		--grid--text-color: #ffffff99;
		/* 宫格菜单 end */

		/* 数据列表 start */
		--list-background: #1e1f2c;
		--list-tab-title-color: #fff;
		--list-content-state-text-color: var(--list-content-state-text-color);
		--list-detail-state-text-color: #d9d9d9;
		--list-border-color:  #373737;
		--list-background-video-text2: #31323e;
		/* 数据列表 end */

		/* 标签列表 start */
		--primary-text-color: #4970F5;
		--primary-text-color-selected: #fff;
		--tag-text-color: #d9d9d9;
		--tag-background-selected: linear-gradient(270deg, #e56e43, #f18228);
		--tag-text-color-selected: #ffffff;
		--title-background: #3d261d;
		/* 标签列表 end */

		/* 提示 start */
		--van-font-size-md: 0.8rem;
		--van-toast-font-size: 1rem;
		/* 提示 end */

		/* 头部导航 start */
		--van-nav-bar-title-text-color: #ffffff;
		--van-nav-bar-title-font-size: 1.8rem;
		/* --van-nav-bar-height: 5.4rem; */
		--van-nav-bar-background: #111118;
		--van-border-width: 0;
		--van-padding-md: 1.2rem;
		--van-nav-bar-z-index: 100;
		--van-line-height-lg: 2.2rem;
		--van-font-bold: 400;
		/* 头部导航 start */

		/* 底部菜单 start */
		/* --van-tabbar-height: 5.0rem; */
		--van-tabbar-item-font-size: 0.9rem;
		--van-tabbar-item-text-color: #4970f5;
		--van-tabbar-background: #272727;
		--van-tabbar-item-active-color: #909090;
		--van-tabbar-item-active-background: #221f3a;
		--van-tabbar-z-index: 10;
		/* 底部菜单 end */

		/* 分页控件 start */
		--van-list-text-font-size: 1.0rem;
		--van-loading-text-font-size: 1.0rem;
		--van-pagination-font-size: 1.1rem;
		--van-pagination-item-default-color: #e56e43;
		--van-pagination-background: #1e1f2c;
		/* 分页控件 end */

		/* 浮动气泡 start */
		--van-back-top-background: #1f1f2d;
		--van-back-top-size: 3.2rem;
		/* 浮动气泡 end */

		/* 滚动条 start */
		--desktop-scrollbar-background-color: #1f1f2d;
		--desktop-scrollbar-thumb-background-color: #272839;
		/* 滚动条 end */

		/* Banner start */
		--bannner-height: 12.8rem;
		--bannner-detail-top-height: 14.0rem;
		--bannner-detail-bottom-height: 14.0rem;
		/* Banner end */

		/* 弹出层 start */
		--van-overlay-z-index: 99;
		--van-popup-background: var(--fl-text);
		/* 弹出层 end */


		/* 选项卡 start */
		--van-padding-sm: 0.5rem;
		--van-tab-font-size: 1.4rem;
		--van-tab-text-color: var(--text-color);
		--van-tabs-line-height: inherit !important;
		--van-tab-active-text-color: var(--primary-text-color);
		--van-tabs-nav-background: transform;
		--van-tabs-bottom-bar-color: transform;
		/* 选项卡 end */

		/* 宫格组 start */
		--van-grid-item-text-color: var(--text-color);
		--van-grid-item-text-font-size: 1.0rem;
		--van-grid-item-content-background: transform;
		--van-grid-item-content-padding: 0;
		/* 宫格组 end */

		/* 气泡组 start */
		--van-floating-bubble-size: 3.0rem;
		--van-floating-bubble-background: transform;
		/* 气泡组 end */

		/* 点击效果 start */
		--van-active-opacity: 1;
		/* 点击效果 end */
	}

	/* 控制 start */
	.is-mobile {
		display: block;
	}

	.is-desktop {
		display: none;
	}

	/* 控制 start */
}

/* 占位符 start */
* [v-if] {
    display: none !important;
}
* [v-else-if] {
    display: none !important;
}
* [v-show] {
    display: none !important;
}
/* 占位符 end */
.overflow-hidden{
	overflow: hidden;
}
/* 图片加载 start */
.defaultimg,
div:has(> img:not([src])),
div:has(> img.loading),
a:has(> img:not([src])),
a:has(> img.loading) {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #1f1e1e;
}
img:not([src]),
img.loading {
	content: url("./placeholder.png");
	margin: 0 auto;
	-o-object-fit: contain;
	object-fit: contain;
	background-size: contain;
	background-position: center;
}

img[src]:not(.loading) {
	content: unset;
}
/* 图片加载 end */

/* 全局弹窗 start */
#popup-window {
	margin: 0 auto;

	width: 100%;
	max-width: 100%;
	min-width: 100%;

	height: 100%;
	/* max-width: var(--default-screen-max-width); */
	/* min-width: var(--default-screen-min-width); */

	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: var(--van-tabbar-z-index);
	background: transparent;
	/* pointer-events: none; */
}

#popup-window .van-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--van-overlay-z-index);
	width: 100%;
	height: 100%;
	background: #0000008f;
	/* pointer-events: none; */
}

#van-popup-window {
	z-index: 2013;
	width: 100%;
	height: 100%;
	top: 50%;

	overflow: hidden;
	border: 0;
	background-color: transparent;
	background: transparent;

	max-width: 100vw;
	/* box-shadow: 0.6rem 0.6rem 0.6rem #000000; */
}

#van-popup-window .content {
	width: 100%;
	height: 100%;
	display: flex;
}

#van-popup-window .content>iframe {
	width: 100%;
	height: 100%;
	display: flex;
	border: 0;
}

/* 全局弹窗 end */


/* 全局vant弹窗 start */
.van-dialog {
	padding: 3.75rem 1.875rem;
	background-color: #222;
	width: 35vw;
	max-width: 420px;
}

.van-dialog__header {
	color: #fff;
	font-size: 1.625rem;
	margin-bottom: 1.25rem;
	padding: 0;
	line-height: normal;
	font-weight: 600;
}

.van-dialog__message--has-title {
	padding: 0;
	color: #959595;
	font-size: 1.25rem;
	margin-bottom: 2.5rem;
	overflow-y: hidden;
	line-height: 1.3;
}

.van-dialog__footer {
	column-gap: 1.25rem;
}

.van-dialog__cancel {
	background-color: transparent;
	color: #1abc9d;
	border: 2px solid;
}

.van-dialog__confirm {
	background-color: #1abc9d;
	color: #ffff;
}

.van-dialog__confirm,
.van-dialog__cancel {
	border-radius: 0.5rem;
	font-size: 1.125rem;
}

.van-popup__close-icon--top-right {
	width: 1.2rem;
	height: 1.2rem;
	color: #6a6a6a;
}

/* 全局vant弹窗 end */

/* 屏幕(1024px) */
@media (min-width: 960px) {
    /* 全局弹窗 start */
    #popup-window {

    }

    #popup-window .van-overlay {

    }

    #van-popup-window {
        top: 50%;
    }

    #van-popup-window .content {

    }

    #van-popup-window .content > iframe {

    }
    /* 全局弹窗 end */


	
}


/* ai1021 AI功能 start */
.nav-fixed {
	position: fixed;background: #212322; z-index: 98; width: 100%; 
	/* padding-bottom: .5rem */
}
.nav-categories {
	display: flex;
	align-items: center;
	margin: .5rem 0;
	padding-left: 1rem;
}
.nav-fixed .list {
	display: flex;
	list-style: none;
	overflow-x: auto;
	margin-left: 1rem;
}
.nav-fixed .list::-webkit-scrollbar {
	display: none;
}
.nav-fixed .list li {
	padding: .4rem .2rem;
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	white-space: nowrap;
	margin-right: .6rem;
}
.nav-fixed .list li:last-child {
	margin-right: 0;
}
.nav-fixed .list li a {
	color: #979797;
}
.nav-fixed .list li.active a{
	color: #fff;
}
.nav-fixed .search-box {
	position: relative;
	padding-inline: 0.5rem;
	flex: 1;
}
.nav-fixed .search-box input {
	width: 100%;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 0.5rem 1rem;
	border-radius: 2rem;
	color: #fff;
}

.nav-fixed .search-box .search-btn {
	position: absolute;
	top: 0.475rem;
	right: 1.2125rem;
	color: #aaa;
	background-color: transparent;
	border: 0;
	font-size: 1.2rem;
}
.nav-fixed .search-extra {
	list-style: none;
	display: flex;
	column-gap: 0.625rem;
}

.nav-fixed .search-extra li > a, .nav-fixed .search-extra li .user_target{
	overflow: hidden;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 100%;
	border: solid 1px rgba(255, 255, 255, 0.3);
	background-color: rgba(255, 255, 255, 0.1);
}
/* bug修复2 */
.navbar-nav.side-toolbar-list li > .user_target img {
	width: .8812rem;
	height: .9063rem;
}

.navbar-nav.side-toolbar-list li > .user_target img.avatar_btn[src^="blob"] {
	width: 100%;
	height: 100%;
}

/* bug修复2 */
.nav-fixed .search-extra li img, .navbar-nav.side-toolbar-list li>a img {
	width: .8812rem;
	height: .9063rem;
}
/* side-toolbar：li 里的 ai_btn 上下左右居中 */
.navbar-nav.side-toolbar-list li{
	display: flex;
	align-items: center;
	justify-content: center;
  }
  
  /* 按钮本体也用 flex 做真正居中（不靠 line-height） */
  .navbar-nav.side-toolbar-list li > a{
	display: inline-flex;          /* 覆盖原来的 inline-block */
	align-items: center;
	justify-content: center;
	line-height: 1;                /* 避免文字/基线影响视觉 */
  }
  
  /* 保险：图标块级化，避免 inline img 基线偏移 */
  .navbar-nav.side-toolbar-list li > a img{
	display: block;
  }
  /* bug修复 */

.nav-fixed .search-extra li img.avatar_btn[src^="blob"], .navbar-nav.side-toolbar-list li>a img.avatar_btn[src^="blob"] {
	width: 100%;
	height: 100%;
}
.page-jump button {
	line-height: 1.15;
}
body.use-navbar .sidebar,body.use-navbar .nav-fixed{display:none}
@media (max-width:767.98px){
	body.use-navbar .sidebar,body.use-navbar .nav-fixed {display: flex}
}
/* ai1021 AI功能 end */


/* ai start */

.user_menu .logout_btn {
	display: block;
	padding-block: 0.8rem;
	color: #ff2b5c;
	text-decoration: none;
	font-size: 0.9375rem;
	text-align: center;
	border: none;
	width: 100%;
	background: #131313;
}

.user_menu .logout_btn:hover {
    background: #191919;
}

#navbar .navbar-nav.side-toolbar-list li #nav-side-toolbar-fa-brands img,
#navbar .navbar-nav.side-toolbar-list li .user_target img,
#navbar .navbar-nav.side-toolbar-list li .user_menu img{
    object-fit: cover;
}
#navbar .navbar-nav.side-toolbar-list li .user_target,#navbar .navbar-nav.side-toolbar-list li .btns{
    height: 2.5rem;
    width: 2.5rem;
    line-height: 2.5rem;
    border-radius: 100%;
    font-size: .75rem;
    background: #2c2a2a;
    color: #ccc;
    vertical-align: middle;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
	border: none;
}
#navbar .navbar-nav.side-toolbar-list li .user_target:hover,#navbar .navbar-nav.side-toolbar-list li .btns:hover {
    background: #1f1e1e;
    color: #ccc;
}
#navbar .navbar-nav.side-toolbar-list li .user_target .icon ,#navbar .navbar-nav.side-toolbar-list li .btns .icon {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
} 

.navbar-sidebar .logo-box{
    width: 3rem;
    display: flex;
}

.navbar-sidebar #nav-list{
    width: 2.2rem;
	height: auto;
}
.navbar-sidebar {
    padding: 1rem .5rem;
}

.navbar-sidebar .navbar-sidebar-item.btns {
    padding-right: 0.6rem;
}

#navbar .navbar-nav.side-toolbar-list li .typea {
    height: 2.5rem;
    width: 2.5rem;
    line-height: 2.5rem;
    border-radius: 100%;
    font-size: .75rem;
    background: #2c2a2a;
    color: #ccc;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: initial;
    cursor: pointer;
}
 
#navbar .read-settings-container .background-color-controls li > .typea.white{
    background: #fafafa;
    color: #fafafa;
}
 #navbar .read-settings-container .background-color-controls li > .typea.white:hover{
    color: #1f1e1e;
}
#navbar .read-settings-container .background-color-controls li > .typea.sunset{
    background: #F8F1E4;
    color: #F8F1E4;
}
 #navbar .read-settings-container .background-color-controls li > .typea.sunset:hover{
    color: #1f1e1e;
}
.navbar .read-settings-container .background-color-controls li > .typea.selected{
    color: #1f1e1e !important;
}
.navbar .read-settings-container .background-color-controls li > .typea.dark.selected{
    color: #fff !important;
}
.navbar .read-settings-container .background-color-controls li > .typea.auto.selected{
    background: #fc3 !important;
    color: #fff !important;
}


#navbar .navbar-nav.side-toolbar-list li .typea:hover {
    background: #1f1e1e;
    color: #333;
}

#navbar .navbar-nav.side-toolbar-list li .typea .icon {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-navigator li >div,.page-navigator li span { display: flex; color:rgb(102, 102, 102); padding: 8px 8px; border: 1px solid #fff; border-radius: 5px}
.page-navigator li >div:hover, .page-navigator li span:hover {color: #fff; border-color: #fff}
.page-navigator li >div img {vertical-align: text-bottom;width: 1.5rem;}
.page-navigator li.active >div {background: #fff;}
.page-navigator li.active >div:hover {color:rgb(102, 102, 102);}


#comments .comment-meta div{color:#aaa !important;font-size:.75rem;font-weight:400}
body.theme-white #comments .comment-meta div{color:#555 !important}
body.theme-dark #comments .comment-meta div{color:#aaa !important}
body.theme-dark.dark-mode #comments .comment-meta div{color:#ccc !important}

.page-panel .header .refresh {
    color: #1abc9c;
}
#navbar .container-fluid .user_menu .logout_btn{
	display: flex;
    align-items: center;
    justify-content: center;
    line-height: initial;
	width: 100%;
    border-radius: inherit;
    background: transparent;
    font-size: 0.92rem;
	height: 2.5rem;
    vertical-align: middle;
	transition: 0.3s ease all;
	cursor: pointer;
	border: none;
}
.page-jump input{
	height: 40px;
	line-height: 40px;
}

/* 金币支付确认弹窗  bug修复*/
.coin-pay-dialog-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	padding: 1rem;
	box-sizing: border-box;
}
.coin-pay-dialog {
	position: relative;
	width: 35vw;
	max-width: 460px;
	background: #222;
	border-radius: 0.5rem;
	padding: 3.75rem 1.875rem;
	box-sizing: border-box;
}
.coin-pay-dialog-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: none;
	background: none;
	color: #bbb;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}
.coin-pay-dialog-title {
	margin: 0 0 1.25rem;
	font-size: 1.625rem;
	font-weight: 600;
	color: #fff;
	text-align: center;
	line-height: normal;
}
.coin-pay-dialog-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
}
.coin-pay-dialog-label {
	color: #bbb;
}
.coin-pay-dialog-label em,
.coin-pay-dialog-value {
	color: #fff;
	font-style: normal;
}
.coin-pay-dialog-recharge {
	color: #1ed791;
	text-decoration: none;
	font-size: 1.0625rem;
}
.coin-pay-dialog-submit {
	display: block;
	width: 100%;
	margin-top: 1.5rem;
	min-height: 3.125rem;
	line-height: 3.125rem;
	padding: 0 1rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
	background: #1ed791;
	border: none;
	border-radius: 0.5rem;
	cursor: pointer;
	text-align: center;
}

@media (max-width: 767px) {
	/* 全局vant弹窗 start */
	.van-dialog {
		width: 90%;
		border-radius: 0.375rem;
	}

	.coin-pay-dialog {
		width: 100%;
		max-width: none;
		border-radius: 0.375rem;
		padding: 3.75rem 1.875rem;
	}
	.coin-pay-dialog-title {
		font-size: 1.5rem;
	}
	.coin-pay-dialog-row {
		font-size: 1rem;
	}

	.van-dialog__header {
		font-size: 1.5rem;
		margin-bottom: 0.625rem;
	}

	.van-dialog__message--has-title {
		font-size: 1rem;
	}

	.van-dialog__footer {
		column-gap: 0.625rem;
	}

	.van-dialog__cancel {
		border: 0.0625rem solid;
	}

	.van-dialog__confirm {
		background-color: #1abc9d;
		color: #ffff;
	}

	.van-dialog__confirm,
	.van-dialog__cancel {
		border-radius: 0.375rem;
		font-size: 1.125rem;
		line-height: 3.125rem;
	}

	.van-popup__close-icon--top-right {
		width: 1rem;
		height: 1rem;
	}
	/* 全局vant弹窗 end */
}

/* ai end */

/* 1) 给 user_menu 的父级一个定位锚点（你选一个最贴近触发按钮的容器） */
#navbar .navbar-nav.side-toolbar-list li{
	position: relative;
}
  
  /* 2) 桌面端补齐 top，让菜单固定出现在按钮下方 */
#navbar .user_menu{
	top: calc(100% + .5rem);
	right: 0;
}

/* bug4 */
/* 覆盖 ai 插件对 side-toolbar 的破坏 */
#navbar .navbar-nav.side-toolbar-list li{
	display: inline-block;     /* 恢复基准 */
	vertical-align: middle;
  }
  
  /* 按钮内容用 flex 居中（比纯 line-height 更稳） */
  #navbar .navbar-nav.side-toolbar-list li > a{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: initial;      /* 不要写 1，交给 flex 居中 */
  }
  
  /* 防止 i 或 img 的 inline 基线导致轻微偏移 */
  #navbar .navbar-nav.side-toolbar-list li > a i,
  #navbar .navbar-nav.side-toolbar-list li > a img{
	display: block;
  }

  @media (max-width: 767.98px) {
    .top-nav .search-extra .user_target img{
        max-height: none !important;
    }
}
