:root {
	--bg-page: #eef1f5;
	--bg-card: #ffffff;
	--bg-card-top: #f6f8fb;
	--bg-media: #1a1f28;
	--text-primary: #1e2430;
	--text-secondary: #5a6478;
	--accent: #3d6fd9;
	--accent-hover: #2f5bb8;
	--accent-soft: #e8effc;
	--border: #dde2ea;
	--shadow: 0 2px 10px rgba(30, 36, 48, 0.07);
	--radius: 10px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: clamp(12px, 2vw, 24px);
	background-color: var(--bg-page);
	color: var(--text-primary);
	font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
	line-height: 1.5;
}

a {
	text-decoration: none;
	color: var(--accent);
	transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover {
	color: var(--accent-hover);
	background-color: var(--accent-soft);
}

.head {
	text-align: center;
	font-size: clamp(22px, 3vw, 36px);
	font-weight: 600;
	color: var(--text-primary);
	padding: clamp(16px, 2.5vw, 28px) 0;
	margin-bottom: clamp(8px, 1.5vw, 16px);
	letter-spacing: 0.04em;
}

.zpbox1 {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(10px, 1.2vw, 16px);
}

.zpbox2 {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(10px, 1.2vw, 16px);
	margin-top: clamp(10px, 1.2vw, 16px);
}

.zp {
	width: clamp(200px, 20vw, 320px);
	height: clamp(200px, 20vw, 320px);
	flex: 1 1 260px;
	text-align: center;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.zp:hover {
	box-shadow: 0 4px 16px rgba(30, 36, 48, 0.12);
	transform: translateY(-2px);
}

.zp > h4 {
	margin: 0;
	padding: clamp(8px, 1vw, 12px) 0.6em;
	background-color: var(--bg-card-top);
	border-bottom: 1px solid var(--border);
	color: var(--text-primary);
	font-size: clamp(13px, 1.6vw, 17px);
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex-shrink: 0;
}

.zp > p {
	margin: 0;
	padding: clamp(6px, 0.8vw, 10px) 0.6em;
	color: var(--text-secondary);
	font-size: clamp(12px, 1.4vw, 15px);
	width: 100%;
	flex-shrink: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.zp > p a {
	display: inline-block;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: bottom;
	border-radius: 4px;
	padding: 0 2px;
}

.zpimg {
	margin: clamp(8px, 1vw, 12px) clamp(8px, 1vw, 12px) 0;
	width: calc(100% - clamp(16px, 2vw, 24px));
	aspect-ratio: 2 / 1;
	height: auto;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	background-color: var(--bg-media);
	flex: 1;
	min-height: 0;
}

.zpimg > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zpimg > video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 1;
}

.zpimg.playing > video {
	opacity: 1;
}

.zpimg.portrait > video {
	object-fit: contain;
	background-color: var(--bg-media);
}

.zpimg.portrait > .video-cover {
	object-fit: contain;
}

.video-cover {
	position: absolute;
	inset: 0;
	object-fit: cover;
	z-index: 2;
	cursor: pointer;
}

.video-cover.hidden {
	display: none;
}

.video-hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10%;
	text-align: center;
	z-index: 3;
	color: #ffffff;
	font-weight: 600;
	font-size: clamp(12px, 1.5vw, 16px);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
	pointer-events: none;
	background: rgba(0, 0, 0, 0.35);
	margin: 0 auto;
	width: fit-content;
	padding: 4px 12px;
	border-radius: 20px;
}

.video-hint.hidden {
	display: none;
}
.footer{
		    text-align: center;
		    padding: 30px 0 20px;
		    font-size: clamp(12px, 1.2vw, 14px);
		    color: #666;
		}
		.footer a{
		    color: #666;
		    text-decoration: none;
		}
		.footer a:hover{
		    background-color: transparent;
		    color: #333;
		}