/* 全域設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft JhengHei", "標楷體", sans-serif;
}

body {
    background-color: transparent;
    color: #000;
    line-height: 1.6;
    /* padding: 10px; */
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

html,body {
    overflow-x: hidden;
}

#side-directory-panel {
    scrollbar-width: thin;
    overflow-y: auto;
    height: 100%;
}

/* 目錄高亮樣式 */
a.toc-item.current-page .toc-content {
    background-color: #F1E6E0 !important;
    border-left: 4px solid #E07A5F !important;
    padding-left: 10px !important;
    border-radius: 4px !important;
}

.fixed-vertical-label {
    opacity: 0;
    /* 保持您已有的設定 */
    transition: opacity 0.4s ease;
    /* 新增過渡效果 */
    color: #fff;
    /* 新增文字顏色 */
    /* ... 您可能有的其他樣式 ... */
}

.end-icon {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	margin-left: 5px;
	vertical-align: middle;
	background-image: url('../common/logo-notext.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* 大標、副標、作者、小標 */

h2.subtitle {
	text-align: center;
	color: #806856;
	margin: 0 auto 10px auto;
	max-width: 90%;
	font-size: 22px !important;
}

.chapter {
	font-weight: bold !important;
    font-size: 18px !important;
}