/* 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;
}

*,
*::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%;
}

div::-webkit-scrollbar {
  display: none !important;
}

div {
  -ms-overflow-style: none;
  /* IE 和 Edge */
  scrollbar-width: none;
  /* Firefox */
}

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

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

main {
  min-height: 100vh;
}

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

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

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

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

.empty img {
  width: 300px;
  height: 300px;
}

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

#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: #3E7DFF;
	--bs-alert-bg: #3E7DFFaa; */
}

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

.fixedBack {
  position: fixed;
  top: 0;
  left: 0;
  padding: 14px 16px;
}

/* 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, 0.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: 32px;
  border-radius: 4px;
  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: #3E7DFF;
  position: absolute;
  transition: all 0.25s linear;
  border-radius: 6px;
  background-color: #292929;
  padding: 12px;
  transform: none !important;
  width: 343px;
  height: auto;
  inset: 100% 0 auto auto !important;
  margin-top: 38px !important;
}

.dropdown-menu.show {
}

.dropdown-item {
  font-size: 14px;
  color: #fff;
  line-height: 40px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

  .empty img {
    width: 250px;
    height: 250px;
  }

  .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;
  }

  .content-filters {
    margin: 18px 15px 0;
  }

  .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;
  }
}
