@charset "utf-8";
/*
	text-shadow: rgb(0, 0, 0) 1px 0px 1px, rgb(0, 0, 0) 0px 1px 1px, rgb(0, 0, 0) 0px -1px 1px, rgb(0, 0, 0) -1px 0px 1px!important;
	background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1));
	background: linear-gradient(rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 50%);
*/

:root {
	--bg: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .1));
	--bg1: #fff;
	--shd: #ccc;
	--bgc: rgba(255, 255, 255, 0.4);
	--lfc: #666;

	--block_box_color: rgba(250, 250, 250, .8);
	--block_box_border: #ddd;
}

* {
	padding: 0px;
	margin: 0px;
}

html {
	font-size: 62.5%;
	font-family: "Microsoft YaHei", "Microsoft Sans Serif", "Microsoft SanSerf", 微软雅黑;
}

body {
	font-size: 14px;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-image: url(../image/illust_86619274_20210331_170021.webp);
}

body,
a {
	color: #212121;
}

a {
	text-decoration: none;
}

a:hover {
	color: #00A0E9;
}

li {
	list-style: none;
}

img {
	border: 0;
}

input {
	background-color: rgba(255, 255, 255, 0.5);
	border: 0px;
	box-shadow: 0px 0px 1px #333;
	/*去浏览器点击边框*/
	outline: none;
}

textarea {
	min-width: calc(100% - 10px);
	max-width: calc(100% - 10px);
	margin: 5px;
	border: 0px;
	background-color: rgba(255, 255, 255, 0.8);
	/*去浏览器点击边框*/
	outline: none;
	/* 确保 padding 不改变输入框大小 */
	box-sizing: border-box;
	padding: 5px;
}

input[type=button],
[type=submit] {
	height: 30px;
	padding: 0 1rem;
}

/*鼠标悬停效果*/
input[type=button]:hover,
[type=submit]:hover {
	background-color: #CCC;
}

/*被点击效果*/
input[type=button]:active,
[type=submit]:active {
	background-color: #00A0E9;
}

input[type=text],
[type=password] {
	width: 100%;
	border-radius: 3px;
	padding-left: 10px;
	height: 30px;
	/* 确保 padding 不改变输入框大小 */
	box-sizing: border-box;
}

input[name=regedit] {
	width: 99.5%;
	height: 30px;
}

input[type=checkbox] {
	box-shadow: 0px 0px 0px #333;
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 2px;
}

#canvas {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

#container {
	position: relative;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#header {
	height: 65px;
	background-size: 100% 3px;
}

#loginbar {
	background: var(--bg);
	height: 38px;
	padding: 9px 24px;
	position: fixed;
	z-index: 20;
	font-size: 16px;
	left: 0;
	right: 0;

	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

#logo {
	height: 100%;
	width: auto;
}

#nav {
	line-height: 38px;
	padding: 0 30px;
}

#nav a {
	font-size: 18px;
}

#nav ul li {
	min-width: 60px;
	padding: 0 5px;
	text-align: center;
	float: left;
}

#nav ul li:hover {
	box-shadow: inset 0 -2px 0 #00A0E9;
}

.search-form {
	max-width: 250px;
	position: relative;
}

.search-form label {
	position: absolute;
	top: 0px;
	right: 3px;
	height: 24px;
	width: 24px;
	margin-top: 3px;
	margin-right: 3px;
}

#dh {
	line-height: 36px;
	margin-right: 50px;
}

#dh ul li {
	margin-right: 20px;
	display: inline;
}

#portrait {
	background-color: #CCC;
	margin-right: 20px;
	height: 36px;
	width: 36px;
}

#portrait,
#portrait img {
	border-radius: 100px;
}

#main {
	/* min-height: calc(100vh - 65px - 20px - 199px); */
	/* 使主体部分占据剩余空间 */
	flex-grow: 1;
	width: 85%;
	background-color: rgba(255, 255, 255, .3);
	margin: 10px auto;
	padding: 1%;
	border-radius: 5px;
	box-sizing: border-box;
}

#notice {
	padding: 0.5%;
}

#main-top {
	width: 99%;
	border-radius: 5px;
	display: grid;
	grid-template-columns: 39.68% 59.52%;
	grid-template-rows: 99%;
	grid-column-gap: 0.5%;
	grid-row-gap: 1%;
	height: 16vw;
	padding: 0.5%;
}

#main_right {
	display: grid;
	grid-template-columns: 33.3% 33.3% 33.3%;
	grid-template-rows: 49.5% 49.5%;
	grid-column-gap: 0.2%;
	grid-row-gap: 1%;
	height: 16vw;
	z-index: 0;
}

.hiSlider-wrap {
	height: 100%;
}

#main_left ul {
	height: 100%;
}

#main_left li {
	height: 100%;
}

#main_left li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#myPage {
	margin-top: 5px;
}

#footer {
	background-color: rgba(255, 255, 255, 0.2);
	padding: 20px 7.5% 10px 7.5%;
}

#fi {
	float: left;
	margin-right: 20px;
}

#fi table tr td {
	padding: 0.2rem 4rem 0.2rem 0;
}

.title {
	font-weight: bold;
	font-size: 1.4em;
	padding: 5px;
	border-left: 3px solid #00A0E9;
}

#ewm {
	margin: 15px 0;
	width: 100%;
	height: 120px;
}

#ewm ul {
	width: 220px;
	float: right;
	height: 100%;
}

#ewm ul li {
	width: 100px;
	height: 100px;
	margin: 0.5%;
	display: inline;
	float: left;
}

.zp {
	width: 8.4vw;
	height: 13vw;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	position: relative;
}

.zp a img {
	width: auto;
	height: 100%;
	border: 0;
}

#video {
	margin-top: 1%;
	margin-bottom: 1%;
	padding: 0.5%;
}

#video1 {
	display: flex;
	gap: 1%;
}

#video-left {
	flex: 5;
	height: 33.2vw;
}

#video-right {
	flex: 2;
	height: 33.2vw;
	/*设置Y轴出现滚动条，X轴隐藏*/
	overflow-y: auto;
	overflow-x: hidden;
}

#dplayer {
	width: 100%;
	height: 100%;
}

.clearfloat {
	clear: both;
}

#fj ul li {
	display: inline;
	float: left;
	background-color: rgba(0, 0, 0, 0.1);
	border: 1px solid #CCC;
	text-align: center;
	min-width: 17.5%;
	margin: 0.5%;
	padding: 0.4%;
}

#fj ul li:hover {
	background-color: rgba(255, 255, 255, 0.5);
}

#sjb {
	height: 45px;
}

#tes {
	overflow: hidden;
}

#sjb ul {
	display: inline;
}

#sjb ul li {
	float: left;
	font-size: 1em;
	display: inline;
	height: 22px;
	min-width: 40px;
	padding: 0 5px;
	text-align: center;
	margin: 10px;
}

#sjb ul li:hover {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #00A0E9;
}

.flex1 {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background-color: rgba(255, 255, 255, 0.1);
}

/* 使用伪元素辅助左对齐 */
.flex1::after {
	content: '';
	min-width: 8.4vw;
	/* 或者flex: 1 */
	flex: auto;
}

.flex {
	padding: 0.5vw;
	display: grid;
	/*第一个属性：行与行间隔，第二个属性列与列间隔*/
	grid-gap: 1vw 1vw;
	/*内容整体平均分布*/
	justify-content: space-between;
	/*单元格的大小是固定的，但是容器的大小不确定。如果希望每一行（或每一列）容纳尽可能多的单元格，这时可以使用auto-fill关键字表示自动填充*/
	grid-template-columns: repeat(auto-fill, 8.4vw);
	/*background-color: rgba(255, 255, 255, 0.1);*/
}

#AnimeInfo {
	padding: 0.5%;
}

#AnimeInfo ul li {
	overflow: hidden;
	/*设置超出部分隐藏*/
	text-overflow: ellipsis;
	/*然后设置文本隐藏方式*/
	/*为了实现多行文本也有效果要设置如下3个属性，具体属性的含义我还不是很清楚：*/
	display: -webkit-box;
	-webkit-line-clamp: 3;
	/*只显示3行，如果不设置这个属性，会出现文本被拦腰截断的现象*/
	-webkit-box-orient: vertical;
}

#Cover {
	float: left;
	width: 140px;
	height: 185px;
	margin-right: 10px;
	background-color: rgba(255, 255, 255, 0.1);
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
	width: 7px;
	height: 7px;
	background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
	border-radius: 10px;
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
	background-color: #c8c8c8;
}

/*div屏幕居中*/
.center {
	width: 400px;
	margin: auto;
}

/*下面是历史的样式*/
#img {
	height: 100px;
	float: left;
}

#operation {
	line-height: 100px;
	height: 100px;
	float: right;
	margin-right: 10px;
}

#ls {
	height: 100px;
	margin-top: 10px;
	background-color: rgba(255, 255, 255, 0.4);
	border: 1px solid var(--block_box_border);
	padding: 5px;
}

#nl {
	float: left;
	margin-left: 10px;
	width: 60vw;
}

#nl ul li {
	height: 33.33px;
	line-height: 33.33px;
	overflow: hidden;
	/*设置超出部分隐藏*/
	text-overflow: ellipsis;
	/*然后设置文本隐藏方式*/
	/*为了实现多行文本也有效果要设置如下3个属性，具体属性的含义我还不是很清楚：*/
	display: -webkit-box;
	-webkit-line-clamp: 5;
	/*只显示3行，如果不设置这个属性，会出现文本被拦腰截断的现象*/
	-webkit-box-orient: vertical;
}

#tit {
	background-color: rgba(0, 0, 0, 0.5);
	z-index: auto;
	position: absolute;
	bottom: 0px;
	width: 100%;
	color: #CCCCCC;
}

.dplayer-danmaku {
	margin: 5% 0 8% 0;
}

.dplayer-danmaku-item {
	/*-webkit-text-stroke: 1px #000;*/
	font-size: 25px;
	font-family: SimHei, "Microsoft JhengHei", Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-shadow: rgb(0, 0, 0) 1px 0px 1px, rgb(0, 0, 0) 0px 1px 1px, rgb(0, 0, 0) 0px -1px 1px, rgb(0, 0, 0) -1px 0px 1px !important;
}

.dplayer-logo {
	left: initial !important;
	top: 4% !important;
	right: 3.3%;
	min-width: 10%;
}

@media (max-width:1366px) {
	#nav {
		padding-left: 0px;
	}

	#dh {
		margin-right: 0px;
	}

	#main {
		width: 98%;
	}

	#dayrecommend .zp:nth-child(6)~div {
		display: none;
	}

	#popularAnime .zp:nth-child(6)~div {
		display: none;
	}

	#recentlyUpdated .zp:nth-child(6)~div {
		display: none;
	}

	.zp {
		width: 15vw;
		height: 21vw;
	}

	.flex {
		/*单元格的大小是固定的，但是容器的大小不确定。如果希望每一行（或每一列）容纳尽可能多的单元格，这时可以使用auto-fill关键字表示自动填充*/
		grid-template-columns: repeat(auto-fill, 15vw);
	}

	#footer {
		padding: 20px 1% 10px 1%;
	}
}

#danmaku table td {
	border: 1px solid black;
	/*超出部分隐藏*/
	overflow: hidden;
	/* 强制在同一行内显示所有文本，直到文本结束或者遭遇 br 对象。不换行 */
	word-break: keep-all;
	/* 内容超出宽度时隐藏超出部分的内容 */
	white-space: nowrap;
	/* 当对象内文本溢出时显示省略标记(...) ；需与overflow:hidden;一起使用。*/
	text-overflow: ellipsis
}

.bg {
	background-color: var(--block_box_color);
	border: 1px solid var(--block_box_border);
	border-radius: 5px;
	margin-bottom: 10px;
	padding: 10px;
}

#comment {
	padding: 0.5%;
}

/*分页样式修改*/
.spage-number {
	line-height: 32px !important;
	background-color: var(--block_box_color);
	border: 1px solid var(--block_box_border);
	display: block !important;
	padding: 1px 0;
}

.spage-number button {
	color: #212121 !important;
	transition: none !important;
	border: none !important;
}

.spage-number button:hover {
	background: none !important;
	border-bottom: 2px solid #00A0E9 !important;
}

.spage-number button.active {
	background: none !important;
	color: #00A0E9 !important;
	border-bottom: 2px solid #00A0E9 !important;
}

#aname,
#videotitle {
	font-size: 2rem;
}

#filter-title {
	display: flex;
	flex-direction: row-reverse;
	padding-right: 1rem;
}

#filter-title a {
	font-weight: bold;
	font-size: 1.8rem;
}

#filter-list {
	padding: .5rem;
}

#filter-list ul {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	padding: .5rem;
}

#filter-list ul li {
	padding: .3rem .5rem;
	background-color: rgba(255, 255, 255, .7);
	border: #ccc 1px solid;
	border-radius: 5px;
	min-width: 5rem;
	text-align: center;
}

#filter-list ul li .select {
	color: #00A0E9;
}