﻿*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

body {
	background-color: #40e0d0;
	overflow: hidden;
	font: 16px/1.4 Lato, "PingFang SC", "Microsoft YaHei", sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* 烟花画布：铺满窗口、位于按钮下层，仍可点击放烟花 */
#cas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
}

/* 按钮容器：整屏居中（水平 + 垂直）；pointer-events 交还给按钮，画布点击不受影响 */
#container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	pointer-events: none;
}

#container > p {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0;
}

#container > p > a {
	display: block;
	width: 62%;
	max-width: 344px;
	pointer-events: auto;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

#container > p > a > img,
#container > p > img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	-webkit-user-drag: none;
}

@media (max-width: 480px) {
	#container > p > a {
		width: 76%;
		max-width: 320px;
	}
}
