@charset "utf-8";

/*!
 * agilebins v1.0.4
 *
 * 快速解决网站上大部分特效展示...
 * 官网: http://ab.geshai.com
 * 
 *有疑难问题可选择QQ群① 158544200 或QQ群② 790370978 进行反馈
 *
 * 请尊重原创，保留头部版权
 * 在保留版权的前提下，可应用于个人或商业用途
 *
 */
html,
body,
div,
span,
object,
iframe,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
code,
del,
dfn,
em,
img,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
caption {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	letter-spacing: .03em
}

td {
	padding: 0.4rem;
}

html,
body {
	height: 100%;
}

table {
	border-collapse: collapse;
	border-spacing: 0
}

p {
	word-wrap: break-word
}

em,
i {
	font-style: normal
}

li {
	list-style: none
}

img {
	border: 0;
	vertical-align: middle
}

h1,
h2,
h3,
h4 {
	margin: 32px 0;
}

.clearfix:before,
.clearfix:after {
	content: "";
	display: table
}

.clearfix:after {
	clear: both
}

.clearfix {
	zoom: 1
}

.clear {
	height: 0;
	clear: both;
	overflow: hidden
}

body {
	font: 12px/18px "microsoft yahei", "SimHei", "SimSun";
	font-family: -apple-system, "Times New Roman", "PingFang SC", "Microsoft YaHei", "Noto Sans", "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", SimHei, "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", "WenQuanYi Zen Hei Sharp", sans-serif;
	-webkit-text-size-adjust: 100%;
	min-width: 1200px
}

a {
	color: #384572;
	text-decoration: none
}

.directory-title-area:has(.title-actived) {
	background: rgba(166, 172, 188, .1);
}

.title-actived a {
	color: #1549C0;
}





/******************  分界线  ********************/
*,
body,
html {
	box-sizing: border-box;
}

@media screen and (min-width: 1600px) {
	.auto-padding {
		padding: 0 18.7%;
	}

}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
	.auto-padding {
		padding: 0 10%;
	}

}

@media screen and (max-width: 1200px) {
	.auto-padding {
		padding: 0 5%;
	}

}

.book-content {
	display: flex;
	margin: 32px 0 58px 0;
	column-gap: 40px;
}


.book-main-card {
	user-select: none;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 24px;
	height: calc(100% - 171px);
	overflow-y: auto;
}

.book-main-desc {
	font-size: 14px;
	letter-spacing: 1px;
	color: #677390;
	text-indent: 2em;
	line-height: 21px;
	letter-spacing: 1px;
}

.book-main-desc>div {
	line-height: 21px;
	letter-spacing: 1px;
}

.book-directory-title {
	cursor: pointer;
	position: relative;
	user-select: none;
}


.book-directory-title>.book-directory-children {
	padding-left: 12px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.directory-on>.book-directory-children {
	max-height: 1500px;
	/* 足够大的值以容纳内容 */
	transition: max-height 0.3s ease-in;
}


.directory-on>.directory-title-area>.directory-title::before {
	transform: translateY(-50%) rotate(0);
}

.directory-title-area:has(+.book-directory-children) .directory-title::before {
	opacity: 1;
}

.directory-title {
	position: relative;
	color: #384572;
	display: flex;
	width: 100%;

}

.directory-title-text {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.directory-title::before {
	position: absolute;
	content: '';
	width: 16px;
	height: 16px;
	background-image: url(../static/tree-down.svg);
	left: -26px;
	top: 50%;
	transform: translateY(-50%) rotate(-90deg);
	transition: transform .3s;
	opacity: 0;
}

.directory-title:hover {
	color: #1549C0;
	text-decoration: underline;
}

.directory-title:hover::before {
	background-image: url(../static/tree-down-hover.svg);
}

.book-directory>.book-directory-title>.directory-title-area .directory-title {

	font-size: 14px;
	font-weight: 600;
	/* color: #1549C0; */
}


.directory-title-area {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 40px;
	padding: 0 24px 0 40px;
	border-radius: 8px;
}

.directory-title-area:hover {
	background: rgba(166, 172, 188, .1);
}

.book-directory-children {
	width: 100%;
}

.demo-main {
	display: flex;
	height: 100%;
	flex-wrap: wrap;
}

.left-content {
	position: relative;
	user-select: none;
	width: 240px;
	background: #ffffff;
	height: calc(100% - 22px);
}

.left-open {
	cursor: pointer;
	display: none;
	position: absolute;
	top: 20px;
	width: 40px;
	height: 30px;
	/* display: flex; */
	align-items: center;
	justify-content: center;
	border-top-right-radius: 16px;
	border-bottom-right-radius: 16px;
	background-color: rgba(21, 73, 192, 0.1);
	z-index: 1;
}

.left-close {
	position: absolute;
	cursor: pointer;
	width: 14px;
	height: 60px;
	right: -7px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 31px;
	background-color: #DEE6F5;
	z-index: 1;
}

.left-close:hover {
	background-color: #c4d4f1;
}

.left-close:hover img:nth-child(1) {
	display: none;
}

.left-close:hover img:nth-child(2) {
	display: block;
}

.left-close img {
	transform: rotate(90deg);
}

.left-close img:nth-child(2) {
	display: none;
}

.right-content {
	flex: 1 1 auto;
	height: calc(100% - 22px);
	background: #E9EEF6;
	overflow-y: auto;
  /* 创建独立渲染层 */
  /*will-change: scroll-position;  明确告知浏览器该元素会滚动 */
 /* contain: layout paint;  限制渲染范围 */
 /* backface-visibility: hidden; */
 /*  transform: translateZ(0); /* 触发硬件加速 */
}

.catalog-back {
	height: 72px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px;
}

.catalog-back img {
	cursor: pointer;
}

.catalog-title {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #384572;
}

.header-search {
	display: flex;
	justify-content: center;
	column-gap: 14px;
}

.header-search-input {
	position: relative;
	display: flex;
	align-items: center;
	width: calc(100% - 48px);
	height: 40px;
	border-radius: 83px;
	background: white;
	padding: 0 16px;
	margin: 0 24px;
	border: 1px solid #DAE0EE;
}


.header-search-select {
	line-height: 40px;
	z-index: 1;
	flex-shrink: 0;
	position: relative;
}


.header-search-select .area li.ibox {
	position: relative;
	float: left;
}

.header-search-select .area li.ibox a {
	color: #384572;
}

.header-search-select .area .ibox h3 {
	float: left;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
}

.header-search-select .area li.ibox h3 a {
	float: left;
	font-weight: 400;
	color: #384572;
	font-size: 14px;
	display: block;
}

.header-search-select .area li.ibox h3 a:hover,
.header-search-select .area li.on h3 a {
	color: #1549C0;
}

.header-search-select .area li.ibox h3 em {
	float: left;
	width: 8px;
	height: 40px;
	margin-left: 4px;
	text-indent: -999px;
	background: url('../static/down.png') center center no-repeat;
	overflow: hidden;
}

.header-search-select .area li.on h3 em {
	float: left;
	width: 8px;
	height: 40px;
	margin-left: 4px;
	text-indent: -999px;
	background: url('../static/down.png') center center no-repeat;
	transform: rotate(180deg);
	overflow: hidden;
}

.header-search-select .area li.ibox .menus {
	position: absolute;
	left: 0;
	top: 45px;
	float: left;
	padding: 20px 0;
	width: 120px;
	line-height: 28px;
	background: #f9fdff;
	border-radius: 8px;
	display: none;
	z-index: 99;
}

.header-search-select .area li.ibox .menus li a {
	font-size: 12px;
	padding: 0px 33px;
	line-height: 28px;
	height: 28px;
	display: block;
}

.header-search-select .area li.ibox .menus li a:hover {
	background: #bed8ef;
	color: #fff;
}

.header-search-input input {
	border: none;
	outline: none;
	flex: 1;
	margin-left: 11px;
	width: 0;
	padding-right: 25px;
}

#search-input-preview:not(:placeholder-shown):hover+#close-icon,
#search-input-preview:not(:placeholder-shown):focus+#close-icon {
	display: flex;
}

#close-icon {
	user-select: none;
	position: absolute;
	border: 1px solid #DAE0EE;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	top: 50%;
	right: 36px;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	cursor: pointer;
}

#search-input-preview:not(:placeholder-shown)+#close-icon:hover {
	display: flex;
}

#close-icon img {
	width: 8px;
	height: 8px;
}

.header-search-input input::placeholder {
	color: rgb(56, 69, 114, .3);
	font-size: 14px;
}

.header-search-input img {
	cursor: pointer;
	flex-shrink: 0;
}

.tab-list {
	display: flex;
	justify-content: center;
	gap: 37px;
	margin-top: 18px;
	border-bottom: 1px solid #E3E3E3;
}

.tab-btn {
	position: relative;
	font-size: 16px;
	color: #677390;
	line-height: 24px;
	padding: 8px 2px;
	cursor: pointer;
}

.tab-btn.on {
	color: #1549C0;
}

.tab-btn.on::after {
	position: absolute;
	content: '';
	width: 100%;
	height: 3px;
	background-color: #1549C0;
	left: 0;
	bottom: 0;
}

.note-book-card {
	padding: 0 16px 15px;
	height: 100%;
}

.note-book-info {
	display: flex;
	justify-content: space-between;
}

.note-book-total {
	font-size: 12px;
	color: #677390;
}

.note-book-num {
	color: #384572;
	margin: 0 2px;
}

.note-tag-search {
	display: flex;
	align-items: center;
	background-color: rgba(248, 248, 248, 1);
	border-radius: 23px;
	padding: 0 8px;
	height: 25px;
	gap: 20px;
}

.note-tag-search-btn {
	position: relative;
	color: #677390;
	cursor: pointer;
}

.note-tag-search-btn:nth-last-child(1)::after {
	display: none;
}

.note-tag-search-btn::after {
	position: absolute;
	content: '';
	width: 1px;
	height: 15px;
	background: #D8DBE3;
	right: -10px;
	top: 50%;
	transform: translateY(-50%);
}

.tag-search-actived {
	color: #1549C0;
}

.note-type-tag {
	display: flex;
	gap: 4px;
	margin-top: 12px;
}

.note-tag-btn {
	cursor: pointer;
	height: 24px;
	display: flex;
	min-width: 48px;
	align-items: center;
	justify-content: center;
	color: #677390;
	background: #F5F5F5;
	border-radius: 50px;
}

.tag-btn-actived {
	background: #1549C0;
	color: #ffffff;
}

.note-card {
	display: flex;
	gap: 8px;
	cursor: pointer;
	padding-top: 5px;
}

.note-card:hover {
	background: #eef3ff;
	border-radius: 4px;
}

.note-card-logo {
	width: 24px;
	flex-shrink: 0;
}

.note-card-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 16px;
	height: calc(100% - 61px);
	overflow-y: auto;
}

.note-card-msg {
	flex: 1;
	padding-bottom: 12px;
	border-bottom: 1px solid #E4E5E9;
}

.note-card-title {
	display: -webkit-box;
	line-clamp: 3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	color: #384572;
	line-height: 20px;
	margin-bottom: 8px;
}

.note-card-info {
	display: flex;
	justify-content: space-between;
	color: #B9BECC;
	font-size: 12px;
}

.note-card-more {
	user-select: none;
	cursor: pointer;
}

.show-content {
	height: 100%;
}

.search-result-list {
	height: 100%;
	padding: 0 16px 15px;
	overflow-y: auto;
}

.total-num {
	display: inline-block;
	background: #F8F8F8;
	line-height: 21px;
	border-radius: 11px;
	font-size: 12px;
	color: #78839C;
	padding: 2px 12px;
	margin-top: 12px;
	cursor: pointer;
}

.no-result {
	display: flex;
	height: 200px;
	align-items: center;
	justify-content: center;
	color: #B9BECC;
	font-size: 14px;
}

.highlight-text {
	color: #F18130;
	background: #FEF2EA;
	padding: 2px 5px;
}

.result-item {
	cursor: pointer;
	font-size: 14px;
	color: #B9BECC;
	padding: 16px 0;
	/* border-bottom: 1px solid #e6e6e6; */
}

.article-main {
	padding: 30px 88px;
	width: 800px;
	background: white;
	margin: 0 auto;
	/* color: #23415A; */
	/* line-height: 24px; */
	line-height: 1.4;
	font-size: 16px;
	box-shadow: 0px 0px 40px 0px #D5DCE6;
	/* height: 100%; */
	/* overflow-y: auto; */
}

.article-main img {
	cursor: pointer;
	max-width: 100% !important;
}

.article-total-info {
	width: 100%;
	height: 22px;
	user-select: none;
	display: flex;
	align-items: center;
	border-top: 1px solid #EEEEEE;
	backdrop-filter: blur(4px);
	color: #78839C;
	padding: 0 16px;
	font-size: 10px;
	gap: 30px;
}

.jump-to input {
	outline: none;
	background: #F5F5F5;
	border: none;
	border-radius: 24px;
	width: 45px;
	margin-left: 12px;
	color: #3E4D71;
	padding-left: 10px;
	font-size: 10px;
}

.footnote-ref {
	position: relative;
	font-size: 0.75em;
	vertical-align: middle;
	color: #0066cc;
	text-decoration: none;
	cursor: pointer;
	padding: 0 2px;
}

.footnote-ref:hover .footnote-content {
	display: block;
	-webkit-animation: fadeIn 0.3s ease;
	animation: fadeIn 0.3s ease;
}

.annotation-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	background: url(/staticresource/scioabook/static/annotation-new.svg) center no-repeat;
	background-size: contain;
	margin-right: 2px;
	vertical-align: sub;
}

.footnote-content {
	display: none;
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	bottom: 100%;
	width: 300px;
	max-width: 90vw;
	padding: 15px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	font-size: 14px;
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-all;
	overflow-wrap: break-word;
}
.footnote-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    -webkit-filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.1));
}
.floating-toolbar {
	display: none;
	position: absolute;
	height: 70px;
	background: #ffffff;
	padding: 13px 20px;
	box-shadow: 0px 10px 30px 0px #A6ACBC66;
	border: 1px solid #E3E3E3;
	border-radius: 8px;
}

.floating-toolbar[data-show] {
	display: block;
}



.floating-toolbar::after {
	position: absolute;
	content: '';
	left: 50%;
	border: 8px solid white;
}

.floating-toolbar[data-popper-placement="bottom"]::after {
	top: -16px;
	border-top-color: transparent;
	border-left-color: transparent;
	border-right-color: transparent;
	filter: drop-shadow(0 -8px 4px rgba(0, 0, 0, .2));

}

.floating-toolbar[data-popper-placement="top"]::after {
	bottom: -16px;
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-right-color: transparent;
	filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .2));
}

.toolbar-btns {
	display: flex;
	gap: 24px;
	color: #3E4D71;
	font-size: 12px;
	background: white;
}

.toolbar-btn {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
	user-select: none;
}

.color-btn img:nth-child(2) {
	display: none;
}

.toolbar-btn-actived {
	color: #5584FB;
}

.toolbar-btn-actived img:nth-child(1) {
	display: none;
}

.toolbar-btn-actived img:nth-child(2) {
	display: block;
}

.color-pick {
	position: absolute;
	background: white;
	height: 36px;
	top: -54px;
	left: 0;
	width: 172px;
	box-shadow: 0px 10px 30px 0px #A6ACBC66;
	border-radius: 116px;
	/* display: flex; */
	display: none;
	gap: 12px;
	align-items: center;
	z-index: 1000;
	justify-content: center;
}

.color-block {
	position: relative;
	cursor: pointer;
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

.color-block:nth-child(1) {
	background-color: #FFE70E;
}

.color-block:nth-child(2) {
	background-color: #85F273;
}

.color-block:nth-child(3) {
	background-color: #7EB2FF;
}

.color-block:nth-child(4) {
	background-color: #FF8C7C;
}

.color-block:nth-child(5) {
	background-image: url(../static/clear.svg);
	background-size: 100%;
}

.color-block-actived:not(:nth-last-child(1))::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 5px;
	width: 8px;
	height: 4px;
	border-left: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(-45deg);
}

.highlight-wrap {
	cursor: pointer;
	background-color: rgba(85, 132, 251, .5);
}

.highlight-wrap.note-word {
	background-color: transparent;
	border-bottom: 2px solid #fbb606;
}

.highlight-wrap.color-yellow {
	background-color: rgba(255, 231, 14, .5);
}

.highlight-wrap.color-green {
	background-color: rgba(133, 242, 115, .5);
}

.highlight-wrap.color-blue {
	background-color: rgba(126, 178, 255, .5);
}

.highlight-wrap.color-red {
	background-color: rgba(255, 140, 124, .5);
}

.dialog__wrapper_read,
.dialog__wrapper {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: auto;
	margin: 0;
	background-color: transparent;
	z-index: 2000;
}

.dialog {
	position: relative;
	margin: 0 auto 50px;
	background: #FFFFFF;
	margin-top: 15vh;
	width: 800px;
	border-radius: 8px;
	top: 0px;
	box-shadow: 0px 10px 30px 0px rgba(139, 150, 175, 0.6);
}

.dialog-header {
	height: 60px;
	display: flex;
	padding: 12px 24px 16px;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #e6e6e6;
}

.dialog-title {
	user-select: none;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	font-weight: 600;
	color: #3e4d71;
}

.title-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background-color: #eef3ff;
	border-radius: 50%;
}

.title-logo img {
	width: 20px;
	height: 20px;
}

.dialog-content {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 30px 24px;
	color: #606266;
	font-size: 14px;
	word-break: break-all;
}

.note-input {
	position: relative;
}

.note-creator {
	display: flex;
	align-items: center;
	gap: 8px;
}

.note-creator img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.creator-name {
	line-height: 24px;
	font-weight: 500;
	color: #3e4d71;
	font-size: 14px;
}

.create-time {
	font-size: 12px;
	color: #b9becc;
	line-height: 24px;
}

.note-info {
	text-indent: 2em;
}

.input-limit {
	background-color: white;
	user-select: none;
	position: absolute;
	right: 12px;
	bottom: 12px;
	color: #C0C4CC;
	font-size: 12px;
}

.dialog-content textarea {
	padding: 12px;
	resize: none;
	width: 100%;
	outline: none;
	border: 1px solid #C0C4CC;
	font-family: Microsoft YaHei, "PingFang SC", arial, tahoma, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
	border-radius: 4px;
}

.dialog-content textarea::placeholder {
	color: rgba(134, 144, 156, .5);
	font-weight: 400;
	font-size: 14px;
	line-height: 16px;
}

.dialog-content textarea:focus {
	border-color: #5584fb;
}

.note-text {
	font-size: 14px;
	color: #78839C;
	padding-left: 10px;
	border-left: 2px solid #e6e6e6;
}

.dialog-footer {
	display: flex;
	justify-content: flex-end;
	border-top: 1px solid #E6E6E6;
	padding: 12px 24px 16px;
}

.footer-btn {
	display: inline-block;
	white-space: nowrap;
	cursor: pointer;
	background: #FFFFFF;
	border: 1px solid #DCDFE6;
	padding: 10px 20px;
	font-size: 14px;
	border-radius: 4px;
}

.footer-btn+.footer-btn {
	margin-left: 12px;
}

.btn-primary {
	color: white;
	background: #5584fb;
	border-color: #5584fb;
}

.close-icon {
	width: 17px;
	height: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	position: relative;
}

.close-icon::before,
.close-icon::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 1px;
	top: 15px;
	background-color: #78839C;
}

.close-icon::before {
	transform: rotate(45deg);
}

.close-icon::after {
	transform: rotate(-45deg);
}

.note-card-text {
	position: relative;
	padding-left: 10px;
	color: #78839C;
	font-weight: 400;
	font-size: 12px;
	margin-bottom: 8px;
	display: -webkit-box;
	line-clamp: 3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.note-card-text::before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 2px;
	height: 100%;
	background-color: rgba(120, 131, 156, .3);
}

.hidden-card,
.empty-page.hidden-card {
	display: none;
}

.empty-page {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.page-img {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	font-size: 14px;
	color: #A6ACBC;
}

.result-list-item {
	padding: 16px 0;
	border-bottom: 1px solid #e6e6e6;
	font-size: 14px;
	color: #B9BECC;
	cursor: pointer;
}

.word-light {
	background: rgba(248, 53, 53, 0.1);
	color: rgba(248, 53, 53, 1);
}

.preview-search-title {
	padding: 16px 0;
	color: rgba(0, 0, 0, 0.85);
	display: flex;
	justify-content: space-between;
}

.paragraph {
	line-height: 1.75;
	/* 覆盖行内样式 */
	font-size: 16px !important;
	word-break: break-word;
}

.article h1 {
	font-size: 32px !important;
}

.article h2 {
	font-size: 24px !important;
}

.article h3 {
	/* 覆盖行内样式 */
	font-size: 16px !important;
}

#dragElement {
	position: absolute;
	user-select: none;
	-webkit-user-drag: none;
	transition: transform 0.3s ease-out;
	transform-origin: center;
	/* 确保以中心缩放 */
}

.preview-image {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, .3);
	backdrop-filter: blur(60px);
	user-select: none;
	/* display: flex; */
	align-items: center;
	justify-content: center;
	z-index: 999;
}

.preview-close {
	position: absolute;
	right: 50px;
	top: 50px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	cursor: pointer;
	background: rgba(0, 0, 0, .3);
}

.preview-close img {
	width: 20px;
	height: 20px;
}

.preview-toolbar {
	display: flex;
	position: absolute;
	bottom: 10%;
	left: 50%;
	height: 44px;
	border-radius: 22px;
	padding: 0 22px;
	transform: translateX(-50%);
	background-color: #191919;
	align-items: center;
	gap: 12px;
}

.preview-toolbar-btn {
	cursor: pointer;
	width: 40px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.preview-toolbar-btn img {
	width: 30px;
	height: 30px;
}

/* 提示部分 */
.toast-container {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
}

.toast {
	padding: 15px 20px;
	margin-bottom: 10px;
	border-radius: 6px;
	color: white;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	animation: slideIn 0.3s ease-out forwards, fadeOut 0.3s ease-in forwards 2.7s;
	max-width: 350px;
	opacity: 0;
	transform: translateY(100%);
}

.toast i {
	margin-right: 12px;
	font-size: 1.2em;
}

.toast-success {
	background-color: #f0f9eb;
	color: #67c23a;
}

.toast-error {
	background-color: #fef0f0;
	color: #f56c6c;
}

.toast-warning {
	background-color: #fdf6ec;
	color: #e6a23c;
}

.toast-info {
	background-color: #edf2fc;
	color: #909399;
}

@keyframes slideIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
		transform: translateY(0);
	}

	to {
		opacity: 0;
		transform: translateY(100%);
	}
}


.translate-modal {
	position: fixed;
	display: flex;
	gap: 5px;
	align-items: flex-start;
	bottom: 135px;
	user-select: none;
	right: 65px;

}

.translate-modal .translate-img {
	cursor: pointer;
	width: 90px;
}

.translate-img-on {
	display: none;
}

.translate-btn {
	cursor: pointer;
	width: 32px;
	display: flex;
	align-items: center;
	padding: 0 2.5px;
	justify-content: flex-start;
	height: 20px;
	background-color: #E6ECF4;
	border-radius: 12px;
	transition: all .3s;
}

.translate-on .translate-btn {
	background-color: #1549C0;
	justify-content: flex-end;
}

.translate-btn-circle {
	background-color: white;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	box-shadow: 0px 1px 10px 0px #0000000D;

}

.translate-modal-control {
	position: absolute; /* 改成绝对定位 */
	left:-150px;
	
	display: none;
	width: 150px;
	/* height: 40px; */
	padding: 9px 16px;
	gap: 4px;
	flex-direction: column;
	background-color: white;
	border-radius: 4px;
	box-shadow: 0px 4px 40px 0px #1D1E550A;
}

.translate-modal-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #374F82;
	font-size: 14px;
}

.translate-flex-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.translate-modal-desc {
	display: none;
	color: #A6ACBC;
	font-size: 11px;
	padding-top: 4px;
	border-top: 1px solid #F2F5FA;
}

.translate-on .translate-modal-desc {
	display: block;
}

.translate-modal:hover .translate-modal-control {
	display: flex;
}

.translate-modal:hover .translate-img {
	display: none;
}

.translate-modal:hover .translate-img-on {
	display: block;
}