:root, body {
	display: flex;
	place-items: center;
	place-content: center;
	margin: 0;
	padding: 0;
	min-height: 100%;
	min-width: 100%;
	text-align: center;
	flex-direction: column;
	flex-grow: 1;
	box-sizing: border-box;
}

body {
	padding: 1em 2em;
	font-size: 20px;
	line-height: 1.5;
}

body > * {
	flex-shrink: 0;
}

a:not(:hover) {
	text-decoration: none;
}

.header {
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	place-self: end;
}

.body {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	place-items: center;
	max-width: 768px;
}

.content {
	place-self: stretch;
}

.mgto {
	height: 2em;
}

.qtsas {
	height: 38.2vh;
	width: 61.8vw;
	margin: 1.5vh 0;
	object-position: bottom;
	object-fit: contain;
	align-self: center;
}

.qtsas-type {
	color: #630;
	font-weight: bold;
	font-size: 3.5vh;
	margin-bottom: .5em;
}

.qtsas-type:lang(zh-hant) {
	letter-spacing: .2em;
}

@supports (-webkit-background-clip: text) {
	.qtsas-type {
		background: linear-gradient(to bottom, #fff2db, #d3b480 19%, #aa7b2c 35%, #561814);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		filter: drop-shadow(.02em .02em .02em rgba(0,0,0,.75));
	}
}

.footer {
	margin-top: 1em;
}

#title {
	font-size: 1.5em;
	margin: 1em 0;
}

#itemList {
	list-style: none;
	margin: 0;
	padding: 0;
}

#itemList:lang(zh-hant) {
	letter-spacing: .2em;
}

#itemList li {
	font-size: 1.2em;
	margin: .7em 0;
	text-align: center;
}

#loginForm {
	text-align: center;
	margin: 1em 0;
}

#loginForm input {
	font-size: 1em;
}

#appList {
	display: flex;
	justify-content: center;
	min-height: 150px;
	align-items: start;
	flex-wrap: wrap;
}

#appList > * {
	margin: 1em;
}

#appList #new {
	font-size: 1.2em;
}

#appList .item {
	padding: .5em 1em;
	display: flex;
	text-align: center;
	flex-direction: column;
	align-items: center;
	border: 1px solid;
	border-radius: .25em;
	max-width: 12em;
}

#appList .item .no {
	font-weight: bold;
	font-size: 1.1em;
}

#appList .item .label {
	text-decoration: underline;
}

#appList .item .sub {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: .35em 0;
}

@media not (min-width: 512px) {
	body {
		padding: 1em .5em;
	}

	.header {
		place-self: center;
	}

	.body {
		max-width: none;
	}
}