/* ===== 积分VIP下载系统 - 前端样式 ===== */

.pvd-notice {
	padding: 14px 18px;
	background: #f6f7fb;
	border: 1px solid #e2e5ed;
	border-radius: 8px;
	color: #555;
	font-size: 14px;
}
.pvd-notice a { color: #4f6df5; font-weight: 600; }

/* 下载按钮区块 */
.pvd-download-box {
	margin: 24px 0;
	padding: 18px 20px;
	background: #fafbfc;
	border: 1px solid #e6e8ee;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.pvd-download-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pvd-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}
.pvd-tag-vip { background: #fff1d6; color: #b8860b; }
.pvd-tag-points { background: #e8f0fe; color: #2356d6; }
.pvd-tag-free { background: #e6f7ed; color: #1a8a4a; }
.pvd-hint { font-size: 13px; color: #888; }

.pvd-btn {
	padding: 9px 22px;
	border: none;
	border-radius: 8px;
	background: #1f2937;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .15s ease;
}
.pvd-btn:hover { opacity: .85; }
.pvd-btn:disabled { background: #c8cbd2; cursor: not-allowed; }
.pvd-btn-primary { background: #4f6df5; }

.pvd-download-msg { width: 100%; font-size: 13px; padding: 8px 0 0; }
.pvd-download-msg.success { color: #1a8a4a; }
.pvd-download-msg.error { color: #d23838; }

/* 积分中心 */
.pvd-points-center { max-width: 720px; }
.pvd-points-summary {
	display: flex; align-items: center; justify-content: space-between;
	padding: 22px 24px; background: linear-gradient(135deg,#4f6df5,#6a4ff5);
	border-radius: 14px; color: #fff; flex-wrap: wrap; gap: 16px;
}
.pvd-balance-num { font-size: 36px; font-weight: 700; line-height: 1; }
.pvd-balance-label { margin-top: 6px; font-size: 13px; opacity: .85; }
.pvd-checkin-area { text-align: right; }
.pvd-streak-text { font-size: 13px; margin-bottom: 8px; opacity: .9; }
.pvd-checkin-area .pvd-btn { background: #fff; color: #4f6df5; }
.pvd-checkin-msg { margin-top: 8px; font-size: 13px; }

.pvd-tasks-area, .pvd-logs-area { margin-top: 28px; }
.pvd-tasks-area h4, .pvd-logs-area h4 { font-size: 16px; margin-bottom: 12px; }
.pvd-task-list { list-style: none; margin: 0; padding: 0; }
.pvd-task-item {
	display: flex; align-items: center; gap: 12px;
	padding: 12px 16px; border: 1px solid #eceef3; border-radius: 8px; margin-bottom: 8px;
}
.pvd-task-item.done { background: #f5fbf7; border-color: #d9efe1; }
.pvd-task-name { font-weight: 600; flex: 1; }
.pvd-task-points { color: #4f6df5; font-size: 13px; }
.pvd-task-status { font-size: 12px; color: #999; }
.pvd-task-item.done .pvd-task-status { color: #1a8a4a; }

.pvd-logs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pvd-logs-table th, .pvd-logs-table td { padding: 9px 10px; border-bottom: 1px solid #f0f1f5; text-align: left; }
.pvd-positive { color: #1a8a4a; font-weight: 600; }
.pvd-negative { color: #d23838; font-weight: 600; }

/* VIP 开通页 */
.pvd-vip-status { margin-bottom: 20px; font-size: 14px; color: #444; }
.pvd-plans { display: flex; gap: 16px; flex-wrap: wrap; }
.pvd-plan-card {
	flex: 1; min-width: 180px; padding: 22px 18px; text-align: center;
	border: 1px solid #e6e8ee; border-radius: 12px; transition: all .15s ease;
}
.pvd-plan-card:hover { border-color: #4f6df5; box-shadow: 0 4px 16px rgba(79,109,245,.12); }
.pvd-plan-name { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.pvd-price-now { font-size: 26px; font-weight: 700; color: #4f6df5; }
.pvd-price-original { margin-left: 8px; font-size: 13px; color: #aaa; text-decoration: line-through; }
.pvd-plan-days { margin: 10px 0 16px; font-size: 13px; color: #888; }

.pvd-payment-modal {
	position: fixed; inset: 0; background: rgba(0,0,0,.5);
	display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.pvd-payment-modal-inner {
	background: #fff; border-radius: 14px; padding: 28px; width: 320px;
	position: relative; text-align: center;
}
.pvd-modal-close {
	position: absolute; top: 10px; right: 14px; border: none; background: none;
	font-size: 22px; cursor: pointer; color: #999;
}
.pvd-payment-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pvd-payment-result { margin-top: 18px; font-size: 13px; }
.pvd-payment-result img { max-width: 200px; }
