/* Extracted from legacy style.css. Controlled by b2child_s9 option. */

/* ===== 装饰性伪元素 ===== */
.entry-content pre.prettyprint:before {
	content: '';
	position: absolute;
	top: 15px;
	left: 25px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #fc625d;
	z-index: 2;
}

.entry-content pre.prettyprint:after {
	content: '';
	position: absolute;
	top: 15px;
	left: 50px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #fdbc40;
	z-index: 2;
}

ol.linenums:after {
	content: '';
	position: absolute;
	top: 15px;
	left: 75px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #35cd4b;
	z-index: 2;
}

/* ===== 复制按钮样式 ===== */
.copy-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	/* 高于伪元素 */
	background: rgba(255, 255, 255, 0.1);
	color: #feff33;
	border: none;
	padding: 8px 15px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.2s ease;
	backdrop-filter: blur(5px);
}

.copy-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-1px);
}

.copy-btn:active {
	transform: translateY(0);
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
	.copy-btn {
		padding: 6px 12px;
		font-size: 13px;
		top: 8px;
		right: 8px;
	}

	.entry-content pre.prettyprint {
		padding-top: 40px !important;
	}
}

/**代码高亮结束**/
