@media (max-width: 768px) {
	#timeline-app {
		width: 100%;
		max-width: 100%;
	}

	.main-layout {
		flex-direction: column;
		padding: 16px 12px;
		gap: 16px;
		min-height: auto;
	}

	/* ===== Left: 图片区域 ===== */
	.left-panel {
		flex: none;
		width: 100%;
		max-width: 378px;
		margin: 0 auto;
		border-radius: 12px;
	}

	.bg-image {
		border-radius: 12px;
	}

	/* ===== Right: 半圆轮播区域 ===== */
	.right-panel {
		flex: none;
		width: 100%;
		min-height: 320px;
		position: relative;
	}

	.arc-svg {
		width: 100%;
		max-width: 340px;
		height: auto;
		margin: 0 auto;
		display: block;
		overflow: visible;
	}

	/* ===== 中心详情文字 ===== */
	.center-detail {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		text-align: center;
		width: 55%;
		max-width: 160px;
		pointer-events: none;
	}

	.cd-year {
		font-size: clamp(28px, 8vw, 38px);
		font-weight: 700;
		letter-spacing: 1px;
		line-height: 1.1;
		transition: color 0.4s ease;
	}

	.cd-title {
		font-size: clamp(13px, 3.5vw, 16px);
		font-weight: 600;
		margin-top: 4px;
		color: #333;
		word-break: break-all;
		line-height: 1.3;
	}

	.cd-desc {
		font-size: clamp(11px, 2.8vw, 13px);
		line-height: 1.6;
		color: #777;
		margin-top: 8px;
		word-break: break-word;
		overflow-wrap: break-word;
		/* 长文本截断，最多显示5行 */
		display: -webkit-box;
		-webkit-line-clamp: 5;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* ===== 节点圆和年份文字 ===== */
	.node-year {
		font-size: 10px !important;
		font-weight: 600;
	}

	/* ===== 导航按钮 ===== */
	.nav-btn {
		width: 30px;
		height: 30px;
		font-size: 14px;
		border-radius: 50%;
	}
}

/* 超小屏幕（<380px）进一步缩放 */
@media (max-width: 380px) {
	.main-layout {
		padding: 12px 8px;
		gap: 12px;
	}

	.left-panel {
		max-width: 220px;
	}

	.right-panel {
		min-height: 280px;
	}

	.arc-svg {
		max-width: 280px;
	}

	.center-detail {
		width: 50%;
		max-width: 130px;
	}

	.cd-year {
		font-size: 24px;
		letter-spacing: 0.5px;
	}

	.cd-title {
		font-size: 12px;
		margin-top: 2px;
	}

	.cd-desc {
		font-size: 10px;
		margin-top: 6px;
		line-height: 1.5;
		-webkit-line-clamp: 4;
	}

	.node-year {
		font-size: 9px !important;
	}
}
