/* 从index.uvue中提取的样式 */
.container {
	width: 100vw;
	min-height: 100vh;
	/* 渐变背景色：顶部淡粉色到底部淡紫色 */
	background: linear-gradient(180deg, #fde3ec 0%, #ece3f8 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.header-row {
	width: 100vw;
	max-width: 100vw;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	margin-top: 24px;
	margin-bottom: 0;
	box-sizing: border-box;
	padding: 0 40px;
}

.header-logo-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
}

.header-logo {
	display: flex;
	align-items: center;
}

.logo-img {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	margin-right: 12px;
}

.logo-title {
	color: #fff;
	font-size: 22px;
	font-weight: bold;
	letter-spacing: 2px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.header-search-center {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.header-search-wrap {
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 28px;
	box-shadow: 0 2px 12px rgba(200, 180, 255, 0.10);
	padding: 0 8px 0 8px;
	height: 48px;
	width: 100%;
	max-width: 430px;
}

.search-input {
	flex: 1;
	height: 36px;
	border: none;
	outline: none;
	border-radius: 18px;
	font-size: 16px;
	background: transparent;
	color: #333;
	padding: 0 10px;
	min-width: 0;
}

.search-input::placeholder {
	color: #bbb;
}

.search-btn {
	height: 36px;
	padding: 0 28px;
	border: none;
	border-radius: 18px;
	background: linear-gradient(90deg, #fda7df 0%, #a18cd1 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(200, 180, 255, 0.10);
	transition: background 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.search-btn:active {
	background: linear-gradient(90deg, #e170b7 0%, #7f7fd5 100%);
}

.tag-bar-pc {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
	position: relative;
}

.tag-row {
	display: flex;
	gap: 0;
	flex-wrap: nowrap;
}

.tag-row-inner {
	display: flex;
	gap: 0;
	flex-wrap: nowrap;
}

.tag-fixed {
	width: 96px;
	min-width: 96px;
	max-width: 96px;
	text-align: center;
	justify-content: center;
	margin: 0 2px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	height: 36px;
	overflow: hidden;
	white-space: nowrap;
}

.more-tag {
	position: relative;
	cursor: pointer;
	background: #fff;
	border: 1px solid #bbb;
	border-radius: 20px;
	color: #a18cd1;
	margin-left: 2px;
}

.more-tag-dropdown {
	position: absolute;
	top: 84px;
	left: 400px;
	background: #fff;
	border: 1px solid #bbb;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	min-width: 600px;
	padding: 12px 0 8px 0;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.more-tag-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 6px 0;
	padding: 0 12px;
}

.more-tag-dropdown .tag {
	margin: 0 2px;
	border: none;
	border-radius: 0;
	background: none;
	color: #222;
	padding: 6px 0;
	cursor: pointer;
	width: 96px;
	min-width: 96px;
	max-width: 96px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	white-space: nowrap;
	box-sizing: border-box;
}

.more-tag-dropdown .tag.selected {
	color: #a18cd1;
	font-weight: bold;
}

.tag-bar-mobile {
	width: 100vw;
	max-width: 100vw;
	margin: 18px 0 18px 0;
	box-sizing: border-box;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	display: block;
	-webkit-overflow-scrolling: touch;
}

.tag-list {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0 12px;
}

.tag {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 20px;
	padding: 0 12px;
	color: #222;
	cursor: pointer;
	margin: 0 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	white-space: nowrap;
	box-sizing: border-box;
	text-decoration: none;
	text-align: center;
}

.tag:hover {
	border: 1.5px solid #a18cd1;
	color: #a18cd1;
	background: #faf7fd;
}

.card-grid {
	width: 100%;
	max-width: 1300px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 32px 18px;
	padding: 0 32px 32px 32px;
	box-sizing: border-box;
	justify-items: center;
}

.card-item {
	width: 270px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(200, 180, 255, 0.10);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s, transform 0.2s;
}

.card-item:hover {
	box-shadow: 0 8px 24px rgba(161, 140, 209, 0.18);
	transform: translateY(-4px) scale(1.03);
}

.card-img-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	overflow: hidden;
}

.card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.card-img-wrap:hover img {
	transform: scale(1.05);
}

.card-bottom {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 16px 12px 10px 12px;
	background: linear-gradient(0deg, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.01) 100%);
	color: #fff;
	z-index: 2;
	border-radius: 0 0 16px 16px;
}

.card-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.card-tags {
	font-size: 13px;
	color: #eee;
}

.card-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #888;
}

.card-meta-avatar {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #eee;
}

.card-meta-name {
	color: #a18cd1;
	font-weight: 500;
}

.card-meta-date {
	color: #bbb;
}

.card-actions {
	display: flex;
	gap: 12px;
	margin-top: 4px;
}

.card-action-btn {
	background: none;
	border: none;
	color: #a18cd1;
	font-size: 18px;
	cursor: pointer;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
}

.card-action-btn:active {
	background: #f3e9fa;
	color: #fda7df;
}

@media (max-width: 1300px) {
	.card-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 1000px) {
	.card-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.header-bar {
		padding: 0 10px;
	}
}

@media (max-width: 800px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.card-item {
		width: 44vw;
	}

	.tag-bar {
		padding: 0 8px;
	}
}

@media (max-width: 600px) {
	.card-grid {
		grid-template-columns: 1fr;
	}

	.card-item {
		width: 90vw;
	}

	.header-row {
		flex-direction: column;
		height: auto;
		padding: 12px 0;
		margin-top: 12px;
	}

	.header-logo {
		margin-bottom: 8px;
	}

	.header-search-center {
		width: 100vw;
		margin-bottom: 8px;
		justify-content: center;
	}

	.header-search-wrap {
		width: 96vw;
		min-width: unset;
		padding-left: 8px;
	}

	.search-input {
		width: 60vw;
	}

	.tag-bar {
		gap: 10px;
		padding: 0 2vw;
	}

	.tag-bar-pc { display: none; }
	.tag-bar-mobile { display: block; }
}

@media (max-width: 900px) {
	.header-row {
		padding: 0 10px;
		height: auto;
	}

	.header-search-wrap {
		min-width: 180px;
		padding: 0 4px 0 10px;
	}

	.search-input {
		width: 120px;
	}
}

@media (max-width: 430px) {
	.header-row {
		flex-direction: column;
		height: auto;
		padding: 8px 0;
		margin-top: 8px;
	}

	.header-logo {
		margin-bottom: 8px;
		justify-content: center;
		width: 100vw;
	}

	.header-search-center {
		width: 100vw;
		margin-bottom: 8px;
		justify-content: center;
	}

	.header-search-wrap {
		max-width: 96vw;
		width: 96vw;
		padding: 0 4px 0 4px;
	}

	.search-input {
		width: 70vw;
		font-size: 15px;
	}

	.search-btn {
		padding: 0 18px;
		font-size: 15px;
	}

	.card-grid {
		grid-template-columns: 1fr;
		padding: 0 2vw 32px 2vw;
	}

	.card-item {
		width: 96vw;
	}
}

@media (min-width: 601px) {
	.tag-bar-mobile {
		display: none;
	}
}

.tag.selected {
	border: 1.5px solid #a18cd1;
	color: #fff;
	background: linear-gradient(90deg, #a18cd1 0%, #fda7df 100%);
}

/* 添加一些基础重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

/* 页脚样式 */
.footer {
    width: 100%;
    padding: 20px 0;
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

/* 版权保护信息样式 */
.copyright-protection {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}

.copyright-protection p {
    margin: 8px 0;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0;
}

.contact-list li {
    margin: 5px 0;
    color: #777;
    font-size: 13px;
}

/* 备案信息样式 */
.beian-info {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

.beian-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.beian-link:hover {
    color: #333;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .footer {
        padding: 15px 0;
        margin-top: 20px;
    }
    
    .footer p {
        font-size: 12px;
    }
    
    .beian-info {
        font-size: 11px;
    }
    
    .copyright-protection p,
    .contact-list li {
        font-size: 12px;
    }
}

/* 主标题样式 */
.main-title-container {
    width: 100%;
    text-align: center;
    margin: 10px 0;
    /* 视觉上隐藏但保留SEO价值 */
    height: 1px;
    overflow: hidden;
    opacity: 0.01;
}

.main-title {
    font-size: 24px;
    color: #333;
    margin: 0;
    padding: 0;
}

 