:root {
	--main-color0: #EA4335;
}

@font-face {
	font-family: qian;
	src: url(/fonts/qian.TTF);
}

@font-face {
	font-family: qian-tw;
	src: url(/fonts/wt040.ttf);
}

@keyframes startup_step1 {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.95);
	}

	20% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.1);
	}

	30% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.0);
	}

	60% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.0);
	}

	100% {
		opacity: 1;
		transform: translate(-50%, -80%) scale(1.0);
	}
}

@keyframes startup_step2 {
	0% {
		opacity: 0;
		transform: scale(0.95);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes startup_step3 {
	0% {
		transform: translate(-50%, -80%) scale(1.0);
	}

	100% {
		transform: translate(-50%, -50%) scale(1.0);
	}
}

@keyframes startup_step4 {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes startup_step5 {
	0% {
		opacity: 0;
		width: 0%;
	}

	100% {
		opacity: 1;
		width: 100%;
	}
}

@keyframes light_ani {
	0% {
		filter: contrast(0) brightness(1.8);
		box-shadow: 0 0 0 var(--this-color);
	}

	12.5% {
		filter: contrast(1) brightness(1);
		box-shadow: 0 0 10px var(--this-color);
	}

	25% {
		filter: contrast(0) brightness(1.8);
		box-shadow: 0 0 0 var(--this-color);
	}

	100% {
		filter: contrast(0) brightness(1.8);
		box-shadow: 0 0 0 var(--this-color);
	}
}

@keyframes nav_ani {
	0% {
		width: calc(100vw - 50px);
		left: 25px;
	}

	25% {
		width: calc(100vw - 10px);
		left: 5px;
	}

	100% {
		width: calc(100vw - 50px);
		left: 25px;
	}
}

@keyframes rot {
	0% {
	  transform: translate(-50%, -50%) rotate(0deg);
	}
	100% {
	  transform: translate(-50%, -50%) rotate(360deg);
	}
  }

hidden-content {
	display: none;
}

html {
	font-size: 16px;
}

body {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background-image: url(/images/Color.jpg);
	background-position: center;
	background-size: cover;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
}

::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}

/*滑块*/
::-webkit-scrollbar-thumb:vertical {
	background-color: #CECECE;
	border-radius: 3px 0px 0px 3px;
}

::-webkit-scrollbar-thumb:horizontal {
	background-color: #CECECE;
	border-radius: 3px 3px 0px 0px;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #888;
}

/*滑道*/
::-webkit-scrollbar-track {
	background: transparent;
	border-radius: 3px;
}

.bg {
	display: block;
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: -1;
	width: 120vmax;
	height: 120vmax;
	animation: rot infinite linear 120s;
}

.ball {
	display: block;
	position: fixed;
	width: 150%;
	height: 150%;
	border-radius: 50%;
	transition: 2s ease-in;
	filter: blur(200px);
}

.ball.b1 {
	background-color: red;
	left: 0;
	top: 0;
	transform: translate(-50%, -50%);
}

.ball.b2 {
	background-color: green;
	right: 0;
	top: 0;
	transform: translate(50%, -50%);
}

.ball.b3 {
	background-color: blue;
	left: 0;
	bottom: 0;
	transform: translate(-50%, 50%);
}

.ball.b4 {
	background-color: yellow;
	right: 0;
	bottom: 0;
	transform: translate(50%, 50%);
}

.nav {
	display: block;
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	box-sizing: border-box;
	border-radius: 0 0 0 0;
	background-color: rgba(253, 253, 253, .5);
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	z-index: 10;
	transition: 500ms ease-in-out;
}

.nav.normal {
	width: calc(100vw - 50px);
	top: 10px;
	left: 25px;
	height: 10vh;
	border-radius: 5vh;
	animation: nav_ani 500ms ease-in-out;
	animation-fill-mode: forwards;
	animation-delay: 800ms;
}

.nav.hidden {
	top: calc(-10vh - 10px);
}

.logoarea {
	display: block;
	position: absolute;
	width: 100%;
	height: 80%;
	max-height: 200px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: 500ms;
	animation-name: startup_step1;
	animation-duration: 2s;
	animation-fill-mode: both;
	pointer-events: none;
}

.nav.normal .logoarea {
	animation-name: startup_step3;
	animation-duration: 500ms;
}

.nav.normal .logoarea .title {
	pointer-events: none;
	animation-name: startup_step4;
	animation-duration: 500ms;
	animation-delay: 0ms;
}

.logoarea>.logo {
	display: block;
	height: 100%;
	margin: auto;
}

.logoarea>.title {
	width: 100%;
	height: 20%;
	text-align: center;
	font-size: 40px;
	margin-top: 20px;
	animation-name: startup_step2;
	animation-fill-mode: both;
	animation-duration: 1s;
	animation-delay: 1500ms;
}

.logoarea>.title:lang(cn),
.logoarea>.title:lang(en) {
	font-family: qian;
}

.logoarea>.title:lang(tw) {
	font-family: qian-tw;
}

.navbuttons {
	display: flex;
	position: absolute;
	width: 0%;
	height: 100%;
	top: 0;
	left: 50%;
	transform: translate(-50%);
	box-sizing: border-box;
	justify-content: space-around;
	align-items: center;
	transition: 500ms ease-out;
	overflow: hidden;
}

.nav.normal .navbuttons {
	animation-name: startup_step5;
	animation-duration: 500ms;
	animation-fill-mode: both;
	animation-timing-function: cubic-bezier(.1, .5, .5, 1);
	animation-delay: 500ms;
}

.navbuttons>* {
	white-space: nowrap;
	font-size: 1.5rem;
	width: 100px;
	text-align: center;
	cursor: pointer;
	color: black;
	transition: color 300ms;
}

.navbuttons>*:lang(cn),
.navbuttons>*:lang(en) {
	font-family: qian;
}

.navbuttons>*:lang(tw) {
	font-family: qian-tw;
}

.navbuttons>*.checked {
	color: var(--main-color0);
}

.content_glass {
	display: block;
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background-color: rgba(253, 253, 253, .5);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	z-index: 5;
}

.content {
	display: block;
	position: relative;
	width: 100vw;
	height: 100vh;
	background-color: transparent;
	z-index: 6;
	box-sizing: border-box;
	padding-top: calc(10vh + 10px);
	padding-left: 10vw;
	padding-right: 10vw;
	overflow-y: auto;
	overflow-x: hidden;
	mask-image: linear-gradient(to bottom, transparent 0%, black calc(10vh + 40px));
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black calc(10vh + 40px));
}

.content.disabled {
	overflow-y: hidden;
}

.content.disabled>* {
	opacity: 0;
}

.content>* {
	opacity: 1;
	transition: 300ms cubic-bezier(0, 0.88, 1, 1.01);
}

.content.hidden+.content_loading {
	opacity: 1;
}

.content_loading {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 7;
	opacity: 0;
	transition: 200ms;
}

.content_loading>.dots {
	display: flex;
	width: 150px;
	height: 30px;
	justify-content: space-around;
	align-items: center;
}

.content_loading>.dots>.dot {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 100%;
	animation-name: light_ani;
	animation-duration: 4s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-fill-mode: both;
}

.content_loading>.dots>.dot:nth-child(1) {
	--this-color: #EA4335;
	background-color: #EA4335;
	animation-delay: 0;
}

.content_loading>.dots>.dot:nth-child(2) {
	--this-color: #FBBC05;
	background-color: #FBBC05;
	animation-delay: 1s;
}

.content_loading>.dots>.dot:nth-child(3) {
	--this-color: #4285F4;
	background-color: #4285F4;
	animation-delay: 2s;
}

.content_loading>.dots>.dot:nth-child(4) {
	--this-color: #34A853;
	background-color: #34A853;
	animation-delay: 3s;
}

.content.hidden>* {
	opacity: 0;
	transform: scale(1.02, 0.98);
	filter: blur(5px) brightness(2);
}

.part {
	display: block;
	margin: 10px 0;
}

.part .part_title {
	position: relative;
	font-size: 1.2rem;
	font-weight: bold;
	border-left: 5px solid var(--main-color0);
	padding-left: 10px;
	margin: 20px 0;
	vertical-align: text-bottom;
}

.part .part_title>span {
	font-size: 0.7rem;
	margin-left: 1rem;
	font-weight: normal;
	color: #333;
	vertical-align: text-bottom;
}

.part .part_contents.flex {
	display: grid;
	grid-template-columns: repeat(auto-fill, 320px);
	justify-content: space-around;
	align-items: flex-start;
	flex-wrap: wrap;
}

.part .part_contents.flex2 {
	display: grid;
	justify-content: space-around;
	align-items: flex-start;
	flex-wrap: wrap;
	grid-template-columns: 1fr 1fr;
}

.maincover {
	display: block;
	width: 100%;
	margin-top: 20px;
	border-radius: 10px;
}

.pokercard {
	display: block;
	width: 320px;
	background-color: rgba(253, 253, 253, .5);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
	box-sizing: border-box;
	margin-bottom: 20px;
	overflow: hidden;
}

.pokercard .cover {
	display: block;
	filter: blur(15px);
	width: 100%;
	border-radius: 10px 10px 0 0;
}

.pokercard .cover_blur {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	border-radius: 10px 10px 0 0;
	z-index: 10;
}

.pokercard .title {
	display: inline-block;
	position: relative;
	left: 50%;
	transform: translate(-50%);
	clear: both;
	padding: 0 10px;
	font-size: 1.1rem;
	font-weight: bold;
	border-bottom: 2px solid var(--main-color0);
	margin: 5px 0;
}

.pokercard .des {
	display: block;
	width: 100%;
	height: 200px;
	overflow: auto;
	box-sizing: border-box;
	padding: 10px;
}

.pokercard .buttonarea {
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	width: 80%;
	margin: 20px auto;
	border-radius: 1000px;
	border: 2px solid var(--main-color0);
	background-color: var(--main-color0);
	overflow: hidden;
}

.pokercard .buttonarea.disabled {
	border: 2px solid gray;
	background-color: gray;
}

.pokercard .buttonarea[data-flag=none] {
	border: 2px solid #AAA !important;
	background-color: #AAA !important;
}

.pokercard .dl_button {
	display: block;
	position: relative;
	height: 40px;
	line-height: 40px;
	text-align: center;
	color: white;
	cursor: pointer;
}

.pokercard .buttonarea .dl_button>span {
	display: none;
	position: absolute;
	width: 100%;
	height: 40px;
	left: 0px;
	top: 0px;
	background-color: gray;
}

.pokercard .buttonarea.disabled .dl_button>span {
	display: block;
}

.pokercard .dl_button>* {
	pointer-events: none;
}

.pokercard .dl_button.center {
	width: calc(100% - 80px);
	border-left: 1px solid white;
	border-right: 1px solid white;
	box-sizing: border-box;
}

.pokercard .dl_button.startcenter {
	width: calc(100% - 40px);
	border-right: 1px solid white;
	box-sizing: border-box;
}

.pokercard .dl_button.onlycenter {
	width: 100%;
	box-sizing: border-box;
}

.pokercard .dl_button.start,
.pokercard .dl_button.end {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
}

.pokercard .dl_button.halfstart,
.pokercard .dl_button.halfend {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50%;
	box-sizing: border-box;
}

.pokercard .dl_button.halfstart {
	border-right: 1px solid white;
}

.landcard {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	/* width: calc(50% - 40px); */
	width: calc(100% - 40px);
	height: 200px;
	overflow: visible;
	background-color: rgba(253, 253, 253, .5);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	padding: 10px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
	margin: 10px 10px
}

.landcard .cover {
	display: block;
	width: 150px;
	height: 150px;
	border-radius: 100%;
	box-sizing: border-box;
	border: 2px solid var(--main-color0);
	margin-top: 25px;
	margin-left: 20px;
}

.landcard .contents {
	display: block;
	width: calc(100% - 200px);
	height: 200px;
}

.landcard .contents .title {
	display: inline-block;
	position: relative;
	clear: both;
	padding-right: 10px;
	font-size: 1.1rem;
	font-weight: bold;
	margin: 5px 0;
	height: 25px;
}

.landcard .contents .des {
	display: block;
	height: calc(100% - 30px);
	text-indent: 2rem;
	overflow: auto;
	text-align: justify;
}

.titlebar {
	display: flex;
	position: fixed;
	justify-content: space-between;
	align-items: center;
	top: calc(-5vh - 10px);
	left: 20px;
	width: calc(100vw - 40px);
	height: 5vh;
	border-radius: 2.5vh;
	background-color: rgba(253, 253, 253, .5);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
	z-index: 11;
	transition: 300ms ease-out;
}

.titlebar.show {
	top: 5px;
}


.titlebar .title {
	display: block;
	width: 100%;
	height: 5vh;
	line-height: 5vh;
	text-align: center;
	font-size: 1.1rem;
	font-weight: bold;
}

.titlebar .buttons {
	display: block;
	position: absolute;
	right: 0;
	height: 100%;
}

.titlebar .buttons .button {
	box-sizing: border-box;
	height: 5vh;
	line-height: calc(5vh - 1px);
	width: 5vh;
	min-width: 0;
	padding: 0;
	font-size: 1.5rem;
	font-weight: bold;
}

.sub_window {
	display: block;
	position: fixed;
	top: 15vh;
	left: 0;
	width: 100vw;
	height: calc(95vh - 10px);
	opacity: 0;
	background-color: transparent;
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	transition: 300ms ease-out;
	pointer-events: none;
	z-index: 9;
}

.sub_window.show {
	opacity: 1;
	top: calc(5vh + 10px);
	pointer-events: auto;
}

.sub_window iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
	background: transparent;
	margin: 0;
}

.button {
	display: inline-block;
	padding: 10px;
	border-radius: 1000px;
	background-color: var(--main-color0);
	box-shadow: 0 0 5px rgba(0, 0, 0, .5);
	color: white;
	cursor: pointer;
	transition: 200ms;
	min-width: 80px;
	text-align: center;
}

.button>* {
	pointer-events: none;
}

.button:hover {
	filter: brightness(1.1);
}

.button:active {
	filter: brightness(0.7);
}

.firefox-tip {
	display: none;
	position: fixed;
}

.firefox-tip .button {
	float: right;
	line-height: normal;
}

input[type=radio] {
	visibility: hidden;
}

input[type=radio]+label {
	display: inline-block;
	border-radius: 1000px;
	padding: 10px;
	margin: 5px 0;
	cursor: pointer;
	vertical-align: text-bottom;
}

input[type=radio]+label::before {
	content: " ";
	display: inline-block;
	margin-right: 10px;
	width: 16px;
	height: 16px;
	background-color: white;
	border-radius: 100%;
	vertical-align: text-bottom;
	box-shadow: 0 0 5px var(--main-color0);
	transition: 500ms;
}

input[type=radio]+label:hover::before {
	box-shadow: 0 0 10px var(--main-color0);
}

input[type=radio]:checked+label::before {
	background-color: var(--main-color0);
}

#donate {
	display: block;
	position: fixed;
	max-width: 640px;
	width: calc(100% - 20px);
	height: 480px;
	left: 50%;
	top: 50%;
	background-color: rgba(253, 253, 253, .5);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
	z-index: 9;
	box-sizing: border-box;
	padding: 0 20px;

	transition: 300ms ease-out;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.8);
}

#donate.show {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
}

#donate>.title {
	display: block;
	width: 100%;
	height: 50px;
	line-height: 48px;
	text-align: center;
	box-sizing: border-box;
	border-bottom: 2px solid rgba(0, 0, 0, .3);
	font-size: 20px;
	font-weight: bold;
}

#donate>.desc {
	display: block;
	width: 100%;
	height: 75px;
	line-height: 25px;
	font-size: 15px;
	text-align: justify;
}

#donate>.notice {
	display: block;
	width: 100%;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-weight: bold;
	font-size: 15px;
	color: black;
}

#donate>.imgs {
	display: flex;
	width: 100%;
	height: 243px;
	align-items: center;
	justify-content: space-around;
	margin-top: 20px;
}

#donate>.imgs img {
	display: block;
	width: 200px;
	height: 243px;
	border-radius: 10px;
	overflow: hidden;
}

#donate>.continue {
	display: block;
	width: 170px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	margin: 15px auto;
	border-radius: 15px;
	box-shadow: 0 0 5px rgba(0, 0, 0, .5);
	background-color: var(--main-color0);
	color: white;
	overflow: hidden;
	cursor: pointer;
	transition: filter 200ms;
}

#donate>.continue:hover {
	filter: brightness(1.2);
}

#donate>.continue:active {
	filter: brightness(0.8);
}

/* 相容性 */
@supports (not (backdrop-filter: blur(30px))) and (not (-webkit-backdrop-filter: blur(30px))) {

	.nav,
	.content,
	.titlebar,
	.sub_window,
	.onlinepage,
	#donate {
		background-color: rgba(253, 253, 253, 1);
	}

	.firefox-tip {
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 5vh;
		line-height: 5vh;
		font-size: 15px;
		font-weight: bold;
		color: var(--main-color0);
		box-sizing: border-box;
		padding: 0 10px;
		border-radius: 10px 10px 0 0;
		box-shadow: 0 0 10px rgba(0, 0, 0, .5);
		transition: 300ms;
		z-index: 999;
		background-color: rgba(253, 253, 253);
	}

	.firefox-tip.hidden {
		bottom: calc(-5vh - 10px);
	}
}

@media screen and (max-width: 900px) {
	.navbuttons>* {
		font-size: 1rem;
	}

	.nav.normal {
		height: 5vh;
	}

	.content {
		padding-top: 5vh;
		padding-left: 1vw;
		padding-right: 1vw;
		padding-bottom: 10vh;
	}

	.part .part_title {
		display: inline-block;
		position: relative;
		left: 50%;
		transform: translate(-50%);
		clear: both;
		border-left: none;
		border-bottom: 2px solid var(--main-color0);
		padding: 0 5px;
		margin: 20px auto;
	}

	.part .part_contents.flex .item {
		width: calc(100vw - 40px);
	}

	.landcard {
		width: calc(100% - 20px);
		margin-left: 25px;
		margin-top: 25px;
	}

	.landcard .cover {
		width: 50px;
		height: 50px;
		margin: -25px -25px;
	}

	.landcard .contents {
		width: calc(100% - 30px);
	}

	.part .part_contents.flex2 {
		display: flex;
	}

	@media screen and (max-width: 350px) {
		.navbuttons>.navspace {
			display: none;
		}

		.logoarea {
			display: none;
		}

		.part .part_contents.flex {
			display: flex;
		}
	}
}