/* 首页相册模块 */
.home-album {
	position: relative;
	margin: 0 0 18px;
	padding: 13px 16px 12px;
	border: 1px solid var(--eeaccn-border, #e5e7eb);
	border-radius: 18px;
	background: var(--eeaccn-card, #fff);
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.home-album__hit {
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: inherit;
}
.home-album__hit:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; }
.home-album__head { position: relative; z-index: 4; pointer-events: none; }
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 9px;
}
.home-album__eyebrow { color: #2563eb; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.home-album h2 { margin: 2px 0 3px; color: var(--eeaccn-text, #111827); font-size: 20px; line-height: 1.3; }
.home-album p { margin: 0; color: var(--eeaccn-text-2, #6b7280); font-size: 11.5px; line-height: 1.6; }
.home-album__more { flex: 0 0 auto; color: #2563eb; font-size: 12px; text-decoration: none; white-space: nowrap; }
.home-album__more:hover { text-decoration: underline; }
.home-album__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.home-album__card { display: block; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.home-album__card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .1); }
.home-album__media { position: relative; display: block; overflow: hidden; background: #0b1220; }
.home-album__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.home-album__card:hover .home-album__media img { transform: scale(1.04); }
.home-album__tag { position: absolute; left: 7px; bottom: 7px; padding: 2px 7px; border-radius: 999px; background: rgba(8, 15, 28, .62); color: #dbeafe; font-size: 10px; }
.home-album__body { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; padding: 5px 9px 6px; }
.home-album__body b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #243244; font-size: 12px; font-weight: 650; }
.home-album__body small { flex: 0 0 auto; color: #94a3b8; font-size: 9.5px; }
html[data-night='night'] .home-album { border-color: #2a3646; background: #161d27; }
html[data-night='night'] .home-album h2 { color: #e7eef8; }
html[data-night='night'] .home-album p { color: #9aa7b8; }
html[data-night='night'] .home-album__card { border-color: #2a3646; background: #161d27; }
html[data-night='night'] .home-album__body b { color: #dce8f5; }
@media (max-width: 900px) {
	.home-album__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.home-album { padding: 13px; }
	.home-album__head { align-items: flex-start; }
	.home-album__more { padding-top: 2px; }
}


/* 首页相册：整张卡片都是可点击区域 */
.home-album__card { position: relative; display: block; cursor: pointer; }
.home-album__card > * { pointer-events: none; }
.home-album__card:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 3px; }
