.zhou-book-content math[data-latex] {
	border-radius: 5px;
	cursor: pointer;
	padding: 0 .08em;
	transition: background-color .16s ease, box-shadow .16s ease;
}

.zhou-book-content math[data-latex]:hover,
.zhou-book-content math[data-latex]:focus-visible {
	background: rgba(255, 219, 88, .24);
	box-shadow: 0 0 0 2px rgba(177, 127, 15, .18);
	outline: none;
}

.zhou-book-content math[data-latex].is-zhou-math-selected {
	background: rgba(255, 213, 74, .38);
	box-shadow: 0 0 0 2px rgba(148, 99, 8, .34);
}

.zhou-math-copy-panel {
	align-items: center;
	background: rgba(34, 28, 20, .94);
	border: 1px solid rgba(255, 237, 190, .24);
	border-radius: 7px;
	box-shadow: 0 12px 34px rgba(26, 17, 8, .22);
	color: #fff2c4;
	display: none;
	gap: 5px;
	left: 0;
	padding: 5px;
	position: fixed;
	top: 0;
	z-index: 10000;
}

.zhou-math-copy-panel.is-visible {
	display: flex;
}

.zhou-math-copy-panel button {
	appearance: none;
	background: #fff2c4;
	border: 0;
	border-radius: 5px;
	color: #3a2b15;
	cursor: pointer;
	font: 700 12px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding: 6px 8px;
}

.zhou-math-copy-panel button:hover,
.zhou-math-copy-panel button:focus-visible {
	background: #ffd957;
	outline: none;
}

.zhou-math-copy-status {
	color: #ffe89b;
	font-size: 12px;
	min-width: 38px;
	padding: 0 5px;
	white-space: nowrap;
}

.zhou-math-copy-fallback {
	height: 1px;
	left: -9999px;
	opacity: 0;
	position: fixed;
	top: -9999px;
	width: 1px;
}
