/* 日语学习伴侣 快闪模式样式 */
.jplf-settings {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	margin-bottom: 12px;
	font-size: 13.5px;
	color: #374151;
}
.jplf-settings label { display: flex; align-items: center; gap: 6px; }
.jplf-settings select, .jplf-settings input[type="number"] {
	font-size: 13.5px;
	padding: 4px 8px;
	border: 1px solid #d1d5db;
	border-radius: 7px;
	background: #fff;
}

.jplf-ctl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.jplf-progress { font-size: 13px; color: #6b7280; margin-left: auto; }

.jplf-bar {
	flex-basis: 100%;
	height: 6px;
	border-radius: 999px;
	background: #f3f4f6;
	overflow: hidden;
}
.jplf-barfill {
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #60a5fa, #3b82f6);
	transition: width .3s;
}

.jplf-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	box-shadow: 0 6px 24px rgba(0,0,0,.07);
	padding: 40px 24px;
	text-align: center;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.jplf-pos { font-size: 13px; color: #6b7280; }

.jplf-main {
	font-size: 44px;
	font-weight: 700;
	letter-spacing: 3px;
	line-height: 1.5;
	color: #111827;
	margin: 14px 0 6px;
	word-break: break-all;
}
.jplf-main b { color: #111827; }

.jplf-sub { font-size: 16px; color: #6b7280; letter-spacing: 1px; min-height: 26px; }

.jplf-phase { margin-top: 10px; font-size: 13px; color: #9ca3af; }

.jplf-marks {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 14px;
}
.jplf-mark {
	font-size: 14px;
	padding: 10px 6px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: all .15s;
}
.jplf-mark:disabled { opacity: .45; cursor: not-allowed; }

.jplf-m1:hover:not(:disabled) { border-color: #ef4444; background: #fef2f2; }
.jplf-m2:hover:not(:disabled) { border-color: #f59e0b; background: #fffbeb; }
.jplf-m3:hover:not(:disabled) { border-color: #3b82f6; background: #eff6ff; }
.jplf-m4:hover:not(:disabled) { border-color: #22c55e; background: #f0fdf4; }

.jplf-summary {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 18px;
	margin-top: 14px;
	font-size: 14px;
}
.jplf-s1 { color: #dc2626; }
.jplf-s2 { color: #d97706; }
.jplf-s3 { color: #2563eb; }
.jplf-s4 { color: #16a34a; }

@media (max-width: 480px) {
	.jplf-main { font-size: 32px; letter-spacing: 2px; }
	.jplf-card { padding: 28px 14px; min-height: 170px; }
	.jplf-marks { gap: 6px; }
	.jplf-mark { font-size: 12.5px; padding: 9px 4px; }
}
