/* ===== READER FONTS ===== */
/* Bookerly (bạn host) */
@font-face {
	font-family: "Bookerly";
	src: url("https://diendantruyen.com/reader/Bookerly.woff2") format("woff2"), font-display: swap;
}

/* Palatino */
@font-face {
	font-family: "Palatino";
	src: url("https://diendantruyen.com/reader/palatinolinotype_roman.woff2") format("woff2");
	font-display: swap;
}

/* ===== TOOLBAR ===== */
.bbCodeSpoiler-content.is-active {
	position: relative;
}

.xfReaderBar {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 8px;
	background: fade(@xf-contentBg, 85%);
	border: 1px solid @xf-borderColor;
	color: @xf-textColor;
	border-radius: 10px;
	padding: 10px 12px;
}

.xfReaderBar button,
.xfReaderBar select {
	background: @xf-contentAltBg;
	color: @xf-textColor;
	border: 1px solid @xf-borderColorLight;
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 11px;
	cursor: pointer;
	transition: all .15s ease;
}

.xfReaderBar button:hover,
.xfReaderBar select:hover {
	background: @xf-contentHighlightBg;
	border-color: @xf-borderColorHeavy;
	color: @xf-linkHoverColor;
}

.xfReaderBar select {
	appearance: none;
	background-color: @xf-inputBg;
	color: @xf-inputTextColor;
	border: 1px solid @xf-inputBorderColor;
	padding-right: 26px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='gray'><path d='M4 6l4 4 4-4'/></svg>");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 10px;
}