/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	/* font-size: 100%;
	font: inherit; */
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

html {
	height: 100%;
}

body {
	/* height: 100%;
	line-height: 1;
	overflow: hidden; */
	background-color: #000 !important;
	color: #fff !important;
	max-width: 1720px !important;

	margin: 0 auto !important;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	position: relative;
	/* font-weight: normal; */
	/* -webkit-touch-callout: none; */
	/* -webkit-user-select: none; 
  -moz-user-select: none; 
  -ms-user-select: none; 
  user-select: none; */
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

#app {
	height: 100%;
}

*::-webkit-scrollbar {
	display: none !important;
	width: 0;
	height: 0;
}

* {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

main{
	/* padding-top: 62px !important; */
}

/* 移动端导航区域：避开固定定位的 mobile-nav */
@media screen and (max-width: 1366px) {
    main{
		padding-top: 0px !important;
	}
}



/* div::-webkit-scrollbar {
	display: none !important;
	width: 0;
  height: 0;
}
body::-webkit-scrollbar {
	display: none !important;
	width: 0;
  height: 0;
}
body {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

div {
	-ms-overflow-style: none;
	scrollbar-width: none;
} */

*[data-link]:hover {
  color: white;
}

a {
	cursor: pointer;
	color: #fff;
	text-decoration: none;
	position: static;
}

button {
	border: none;
	/* 清除边框 */
	background: none;
	/* 清除背景色 */
	padding: 5px 10px;
	/* 设置内边距 */
	color: #fff;
	/* 设置文字颜色 */
	outline: none;
	/* 清除聚焦时的轮廓 */
}

.text-ellipsis-2 {
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.text-ellipsis-3 {
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.empty {
	margin: 100px auto;
	color: #7C7C7C;
	font-size: 24px;
	font-weight: 500;
	text-align: center;
}

.emptyComment {
	font-size: 18px;
	color: rgba(209, 232, 255, 0.60);
}

.empty img {
	width: 300px;
	height: 300px;
	object-fit: contain;
}

/* bootstrap */
.nav {
	--bs-nav-link-color: #7C7C7C;
}

.item-vd-preview {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4;
}

.item-vd-preview.xgplayer {
	position: absolute;
	background-color: transparent;
}

.item-vd-preview.xgplayer .xgplayer-error {
	background-color: transparent;
}

.item-vd-preview.xgplayer .xgplayer-enter-spinner {
	width: 50px;
	height: 50px;
}

#liveAlertPlaceholder {
	position: fixed;
	left: 50%;
	top: 60%;
	width: 350px;
	max-width: 90%;
	z-index: 10000;
	transform: translate(-50%, -50%);
	font-size: 14px;
}

#liveAlertPlaceholder .alert-success {
	/* --bs-success-text: #EB7332;
	--bs-alert-bg: #EB7332aa; */
}

#liveAlertPlaceholder .btn-close {
	font-size: 12px;
	bottom: 0;
}

.fixedBack {
	position: fixed;
	top: 0;
	left: 0;
	padding: 14px 16px;
	z-index: 100;
}

/* dplayer */
.dplayer-full-in-icon {
	display: none !important;
}

.dplayer-menu.dplayer-menu-show {
	display: none;
}

.dplayer .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-speed-item {
	height: 25px;
	padding: 3px 15px;
}

.dplayer .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box {
	padding: 0;
}

/* 懒加载相关样式 */
@keyframes shine {
	from {
		left: -100%;
	}

	100% {
		left: 150%;
	}
}

div[lazy],
img[lazy] {
	background-repeat: no-repeat;
	background-size: contain;
	background-color: #292929;
	object-fit: contain;
	box-sizing: border-box;
}

img:not([src]) {
	opacity: 0;
}

div[lazy]::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url('../../static/images/placeholder.png') center / contain no-repeat;
}

div[lazy]::after {
	content: "";
	position: absolute;
	animation: shine 1.5s ease 0s;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-45deg);
	animation-iteration-count: infinite;
}

/* 筛选 */
.content-filters {
	margin: 18px 0 0;
	display: flex;
	justify-content: space-between;
}

.content-filters.one::before {
	content: '';
}

.dropdown-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	color: #BDBDBD;
	padding: 0 8px;
	width: 250px;
	height: 46px;
	border-radius: 99px;
	background: #202122;
	padding-left: 12px;
	/* border: 1px solid #7C7C7C; */
	box-shadow: 0 1px 2px 0 rgba(27, 40, 54, 0.08);
}

.dropdown-toggle::after {
	display: none;
}

.dropdown-toggle img {
	width: 16px;
	height: 16px;
	transition: all 0.25s linear;
}

.dropdown-toggle.show img {
	transform: rotate(180deg);
}

.dropdown-menu {
	--bs-dropdown-link-hover-bg: #fff1;
	--bs-dropdown-link-hover-color: #fffa;
	--bs-dropdown-link-active-bg: #393E42;
	position: absolute;
	transition: all 0.25s linear;
	border-radius: 6px;
	background-color: #292929;
	transform: none !important;
	width: 343px;
	height: auto;
	inset: 100% 0 auto auto !important;
	margin-top: 4px !important;
}

.dropdown-menu.show {}

.dropdown-item {
	color: rgba(255, 255, 255, 0.70);

	/* Regular */
	font-family: "PingFang SC";
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px; /* 142.857% */
	padding: 12px 0 12px 24px;
	text-align: left;
}

.dropdown-menu .active{
  background: #393E42 !important;
}

/* 媒体区分相关样式 */
@media screen and (max-width: 824px) {
	.empty {
		font-size: 14px;
		margin: 50px auto;
	}
	
	.empty img {
		width: 250px;
		height: 250px;
	}

	.emptyComment img {
		height: 105px;
	}

	.only-pc {
		display: none !important;
	}

	h2 {
		font-size: 16px;
	}

	.eye {
		padding-left: 20px;
		background: url('../../static/images/home-eye.png') left center / 16px auto no-repeat;
	}

	.eye2 {
		padding-left: 22px;
		background: url('../../static/images/wtc2.png') left center / 16px auto no-repeat;
	}

	.content-filters {
		margin: 0 16px;
	}

	.content-filters.one::before {
		display: none;
	}

	.dropdown {
		position: static;
		width: 100%;
	}

	.dropdown-toggle {
		width: 100%;
		font-size: 12px;
	}

	.dropdown-menu {
		width: 100%;
		margin-top: 3px !important;
	}

}

@media screen and (min-width: 824px) {
	.only-mobile {
		display: none !important;
	}

	/* h2 {
		font-size: 30px;
	} */

	.eye {
		padding-left: 28px;
		background: url('../../static/images/home-eye.png') left center / 24px auto no-repeat;
	}
	.eye2 {
		padding-left: 18px;
		background: url('../../static/images/wtc2.png') left center / 16px auto no-repeat;
	}
}

/* 通用 gldetail 面包屑样式 */
.gldetail-new-header{
	display: flex;
	align-items: center;
	padding:  0px 0px 12px !important;
	flex-shrink: 0;
}
.gldetail-new-back {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  color: #fff;
  text-decoration: none;
  margin-right: 16px;
}

.gldetail-new-back:hover {
  color: rgba(255, 255, 255, 0.8);
}

.gldetail-new-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.gldetail-new-breadcrumb a,
.gldetail-new-breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  max-width: 20ch;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gldetail-new-breadcrumb a:hover {
  color: #ff6b1a;
}

.gldetail-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.5);
}

.gldetail-breadcrumb-current,.breadcrumb-current {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  max-width: 20ch;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-back a img{
	width: 24px;
	height: 24px;
}


main{
	padding: 36px 5vw !important;
}

@media screen and (max-width: 824px) {
	main{
		padding: 12px 16px!important;
	}
}

@media screen and (max-width: 824px) {
  .item-works-label {
    display: none;
  }
}

.custom-select__options li a{
	color: #FFF;

	/* Regular */
	font-family: "PingFang SC";
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px; /* 142.857% */
}

/* ===========================
   custom-select 统一样式
   =========================== */

/* 基础下拉样式（通用） */
.custom-select {
  position: relative;
  display: inline-block;
  width: 250px;
  height: 46px;
  font-family: inherit;
  user-select: none;
  z-index: 999;
}

.custom-select:nth-of-type(1) {
  margin-left: auto;
}

.custom-select__trigger {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-sizing: border-box;
  background: #FFFFFF1F;
  border-radius: 23px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
  color: #BDBDBD;
}

.custom-select__arrow {
  transition: transform 0.25s;
}

.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

.custom-select__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 4px 0 0;
  border-radius: 6px;
  background: #252525;
  max-height: 256px;
  overflow-y: auto;
  padding: 12px 0px 24px 0px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s;
  z-index: 999;
  list-style: none;
}

.custom-select.open .custom-select__options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  overflow: hidden auto;
}

.custom-select__options li {
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 12px;
  margin-bottom: 4px;
  z-index: 999;
}
.custom-select__options li:hover{
	background: rgba(255, 255, 255, 0.10);
}

.custom-select__options li.selected{
  background: #393E42;;
}


.custom-select__options li a{
  width: 100%;
  height: 100%;
}

/* 社区页专用下拉（communityCustomSelect 原样式） */
.community-select.custom-select {
  position: relative;
  height: 36px;
  font-family: inherit;
  user-select: none;
  margin: 12px 16px 16px;
}

.community-select .custom-select__trigger {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  color: #FFF;
}

.community-select .custom-select__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}

.community-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

.community-select .custom-select__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 4px 0 0;
  border-radius: 12px;
  background: #3A3A3A;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s;
  z-index: 999;
  list-style: none;
}

.community-select.open .custom-select__options {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
  overflow: hidden auto;
}

.community-select .custom-select__options li {
  cursor: pointer;
  color: #FFF;
  font-size: 14px;
  height: 40px;
  padding: 0 12px;
  margin-bottom: 2px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.community-select .custom-select__options li:hover {
  background: rgba(255, 255, 255, 0.10);
}

.community-select .custom-select__options li.active {
  background: rgba(255, 255, 255, 0.15);
  font-weight: 500;
}

.community-select .custom-select__options li a {
  height: 100%;
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.community-select .custom-select__options li:last-child {
  border: none;
  margin-bottom: 0;
}

/* 联系我们页面自定义下拉尺寸 */
.contactUsFormItem .custom-select{
  width: 100%;
  height: 42px;
  border-radius: 6px;
  border:none;
  background: #FFFFFF1A;
}

.contactUsFormItem .custom-select__trigger{
  height: 42px;
  border-radius: 6px;
  background: #FFFFFF1A;
  color: #fff;
  font-size: 14px;
  border: none;
  text-align: left;
  padding: 0 10px;
  box-sizing: border-box;
}

.custom-select__option_li{
  display: flex;
  justify-content: space-between;
  border-bottom:none !important;
}

/* 话题列表 / 搜索结果顶部筛选条里的 custom-select 适配 */
@media screen and (max-width: 824px) {
  .customSelectBox .custom-select {
    position: static;
    height: 32px;
  }
  .custom-select{
    height:38px;
  }
  .custom-select__options{
    padding: 0;
  }
  .customSelectBox .custom-select__options {
    left: 16px;
    right: 16px;
  }

  .customSelectBox .custom-select__trigger {
    font-size: 12px;
  }

  .title {
    display: none;
  }
}

/* 帖子创建页 PC 顶部排序 custom-select 打开时垂直排布 */
.custom-select.open .custom-select__options{
  display:flex;
  flex-direction: column;
}

/* createpostlist & 社区移动端排序 custom-select 胶囊样式 */
@media screen and (max-width: 768px) {

  .informationMain  .gl-filter{
    display: none !important;
  }
  .mobile-post-main .createpostlist-sort-select .custom-select__trigger {
    min-height: 32px;
    padding: 4px 10px;
    font-size: 13px;
  }

  .mobile-post-main .createpostlist-sort-select .custom-select {
    width: auto;
    height: 32px;
  }

  .mobile-post-main .createpostlist-sort-select .custom-select__trigger {
    display: none;
  }

  .mobile-post-main .createpostlist-sort-select .custom-select__arrow {
    display: none;
  }

  .mobile-post-main .createpostlist-sort-select .custom-select__options {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 2px;
    width: 120px;
    height: 32px;
    border-radius: 999px;
    border: 0.5px solid #ffffff4d;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-post-main .createpostlist-sort-select .custom-select__options li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    height: 28px;
    margin: 0;
    padding: 0 4px;
    border-radius: 999px;
    box-sizing: border-box;
  }

  .mobile-post-main .createpostlist-sort-select .custom-select__options li a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 28px;
    text-align: center;
    color: inherit;
    margin-right:0 !important;
  }

  .mobile-post-main .createpostlist-sort-select .custom-select__options li.selected {
    background: #EB73321F;
    color: #EB7332 !important;
    text-align: center;
    font-family: "PingFang SC";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
  }
}

/* 社区移动端：筛选条固定在顶部 */
@media screen and (max-width: 767px) {
  .mobile-post-main .custom-select {
    position: sticky;
    top: 48px; /* 根据移动端导航高度，可按需微调 */
    z-index: 900;
    background-color: #000;
  }
}