* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	background: #f5f5f5;
	font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
	color: #333;
}

.box {
	width: 100%;
	max-width: 360px;
	background: #fff;
	border-radius: 12px;
	padding: 24px 20px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

h1 {
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 20px;
}

.row {
	display: block;
	margin-bottom: 12px;
}

.row span {
	display: block;
	font-size: 12px;
	color: #888;
	margin-bottom: 4px;
}

.row input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	outline: none;
}

.row input:focus {
	border-color: #3cc9a4;
}

.btn {
	width: 100%;
	margin-top: 4px;
	padding: 12px;
	border: none;
	border-radius: 8px;
	background: #3cc9a4;
	color: #fff;
	font-size: 15px;
	cursor: pointer;
}

.btn:disabled {
	opacity: 0.6;
}

.result {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #eee;
	text-align: center;
}

.hidden {
	display: none;
}

.remain {
	font-size: 14px;
	color: #666;
}

.remain strong {
	display: block;
	margin: 8px 0 4px;
	font-size: 36px;
	font-weight: 600;
	color: #3cc9a4;
	line-height: 1;
}

.remain strong.not-found {
	font-size: 16px;
	color: #999;
}

.remain .unit {
	font-size: 14px;
	color: #999;
}

.info-list {
	margin-top: 14px;
	padding: 10px 12px;
	background: #f8faf9;
	border-radius: 8px;
	list-style: none;
	text-align: left;
}

.info-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	padding: 4px 0;
}

.info-list li + li {
	border-top: 1px dashed #e8ecea;
	margin-top: 4px;
	padding-top: 8px;
}

.info-list span {
	color: #888;
}

.info-list b {
	color: #333;
	font-weight: 500;
}

.meta {
	margin-top: 10px;
	font-size: 12px;
	color: #888;
	line-height: 1.5;
	text-align: center;
}

.meta:empty {
	display: none;
}

.err {
	margin-top: 8px;
	font-size: 12px;
	color: #e53935;
}

.err:empty {
	display: none;
}

.update-bar {
	margin-top: 16px;
	padding: 12px 14px;
	background: linear-gradient(135deg, #f0faf6 0%, #f8f9fa 100%);
	border: 1px solid #e3f0eb;
	border-radius: 10px;
	text-align: center;
}

.update-bar.hidden {
	display: none;
}

.update-bar__label {
	font-size: 12px;
	color: #666;
	letter-spacing: 0.02em;
}

.update-bar__time {
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
	color: #2a9d7a;
	font-variant-numeric: tabular-nums;
}

.beian {
	font-size: 12px;
	color: #999;
	text-align: center;
}

.beian a {
	color: #999;
	text-decoration: none;
}

.beian a:hover {
	color: #666;
	text-decoration: underline;
}
