.pcb-wrap {
	position: relative;
	margin: 1.5rem 0;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
	background: #f7f7f5;
}

.pcb-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 0.9rem;
	border-bottom: 1px solid #e5e5e5;
	background: #efefec;
}

.pcb-label {
	font-size: 0.75rem;
	color: #737373;
	font-family: monospace;
}

.pcb-copy-btn {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 0.75rem;
	color: #525252;
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
}

.pcb-copy-btn:hover {
	background: rgba(0, 0, 0, 0.05);
}

.pcb-pre {
	margin: 0;
	padding: 1rem;
	overflow-x: auto;
	font-size: 0.85rem;
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-word;
}

@media (prefers-color-scheme: dark) {
	.pcb-wrap {
		background: #1e1e1c;
		border-color: #3a3a38;
	}
	.pcb-header {
		background: #262624;
		border-color: #3a3a38;
	}
	.pcb-label,
	.pcb-copy-btn {
		color: #b5b5b0;
	}
	.pcb-copy-btn:hover {
		background: rgba(255, 255, 255, 0.08);
	}
}
