/* style.css - 豆包朗读板样式文件 */

/* --- 1. 全局与基础样式 --- */
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
    justify-content: center;
    background-color: #101010;
    user-select: none;
    font-size: 12px;
    color: #bfbfbf;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 0.5s ease-in-out;
}


/* --- 2. 主要布局 --- */
.app-container {
    width: 626px;
	background-color: #262C2C;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: -3px 0 3px rgba(0, 0, 0, 0.5), 3px 0 3px rgba(0, 0, 0, 0.5);
}

.main-content-wrapper {
	margin: 0 13px 0 13px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #262C2C;
	min-height: 0;
    transition: background-color 0.3s ease;	
    box-shadow: -3px 0 3px rgba(0, 0, 0, 0.5), 3px 0 3px rgba(0, 0, 0, 0.5);
}



.toolbar-wrapper {
	width: 600px;
    background-color: rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.toolbar {
    padding: 3px 5px 5px 5px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    gap: 1px;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
}


.editor-container {
    background-color: #262C2C;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
	scrollbar-gutter: stable;
    flex-grow: 1;
    position: relative;
	min-height: 0;
	box-sizing: border-box;
	transition: background-color 0.3s ease;
}

/* 逐段阅读模式下隐藏滚动条 */
.editor-container.hide-scrollbar {
    overflow-y: hidden !important;
}



.app-footer {
    flex-shrink: 0;
    padding: 2px 10px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #666666;
    font-size: 10px;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
	transition: background-color 0.3s ease; /* 为背景色变化添加过渡效果 */
    position: relative;
}

.footer-links {
    text-align: center;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:active,
.footer-links a:focus {
    color: #666666 !important;
    text-decoration: none;
}

.footer-word-count {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    user-select: none;
}

.app-footer p {
    margin: 0;
    padding: 0;
    color: #888888;
}


/* 初始页面公告容器样式 */
.initial-announcement-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0px 12px;
}

/* 公告文字样式 */
.announcement-text {
    text-align: center;
    margin: 0;
    width: 100%;
}

.announcement-title {
    font-size: 12px;
    font-weight: bold;
    margin: 0;
}

.announcement-content {
    font-size: 10px;
    line-height: 1.8;
    margin: 0;
}


/* --- 3. 通用组件样式 --- */

/* 通用按钮基础样式 */
button {
    padding: 3px 5px;
    background-color: rgba(255, 255, 255, 0.07);
    color: inherit;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    white-space: nowrap;
    outline: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

/* 通用悬停样式 */
button:hover,
button.keyboard-active,
.menu button:hover,
.submenu button:hover,
.settings-menu-item:hover,
.custom-color-wrapper:hover button,
.modal-footer button:hover,
.player-btn:hover,
.mode-btn:hover,
.volume-btn:hover,
.file-input-label:hover,
.quick-jump-menu button:hover {
    background-color: rgba(255, 255, 255, 0.15);
	color: #02b6b6;
}

/* 通用激活样式 */
.menu button.active-pagination,
.menu button.active-font,
.menu button.active-color,
button.active-button,
.mode-btn.active,
.volume-btn.active,
.player-btn.active,
#importModeMenu button.active-button {
    background-color: rgba(2, 182, 182, 0.2);
	color: #53caca;
}

button:disabled {
    background-color: rgba(255, 255, 255, 0.03);
    cursor: not-allowed;
    color: #555555;
    opacity: 0.7;
}

/* 通用输入框与选择框样式 */
#favoritesSearchInput,
.form-group input[type="text"],
.form-group select {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    background-color: #222222;
    color: #bfbfbf;
    border: 1px solid #555555;
    border-radius: 3px;
    outline: none;
    font-size: 12px;
}
/* 修正特定输入框的内边距 */
.form-group input[type="text"],
.form-group select {
    padding: 8px;
}

/* 通用滚动条样式 (6px宽度) */
.editor-container,
.modal-body,
#favoritesCategoryMenu,
.playlist-container,
.highlight-float-layer {
    scrollbar-width: thin;
    scrollbar-color: rgba(51, 51, 51, 0.5) transparent; 
}
.editor-container::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
#favoritesCategoryMenu::-webkit-scrollbar,
.playlist-container::-webkit-scrollbar,
.highlight-float-layer::-webkit-scrollbar {
    width: 6px;
}
.editor-container::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
#favoritesCategoryMenu::-webkit-scrollbar-track,
.playlist-container::-webkit-scrollbar-track,
.highlight-float-layer::-webkit-scrollbar-track {
    background: transparent;
}
.editor-container::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
#favoritesCategoryMenu::-webkit-scrollbar-thumb,
.playlist-container::-webkit-scrollbar-thumb,
.highlight-float-layer::-webkit-scrollbar-thumb {
    background-color: rgba(51, 51, 51, 0.5);
    border-radius: 4px;
}
/* 滚动条滑块悬停样式 */
.editor-container::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
#favoritesCategoryMenu::-webkit-scrollbar-thumb:hover,
.playlist-container::-webkit-scrollbar-thumb:hover,
.highlight-float-layer::-webkit-scrollbar-thumb:hover {
    background-color: rgba(51, 51, 51, 0.9);
}

/* 通用进度条填充样式 */
.progress-bar {
    height: 100%;
    width: 0%;
    background: #027474;
    transition: width 0.2s ease;
    border-radius: 3px;
}

/* --- 4. 特定组件样式 --- */

/* 顶部工具栏 */
.toolbar-section {
	padding: 1px 0px 5px 0px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100%;
}




/* 状态显示容器 */
.status-display-container {
    width: 100px;
    height: 100%;
    display: flex;
    align-items: center;
	 justify-content: center;
	border-radius: 3px;
	background: rgba(28, 34, 34, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-display-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.status-line {
    line-height: 1;
}

.status-line span {
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
    font-family: "Menlo", "Consolas", monospace;
}

/* 文档处理状态的红色显示 */
.status-line span[style*="color: red"] {
    color: red !important;
}

.editor-container {
    min-height: 0; 
}

/* 快捷工具栏 */
.quick-tools-container {
    padding: 3px 0px;
    width: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
	flex-shrink: 0;
	overflow: visible;
	background-color: rgba(0, 0, 0, 0.2);
}



/* 左容器 */
.quick-tools-left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    padding: 0 2px;
}

/* 中容器：上编辑器区 */
.quick-tools-center {
    width: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
	flex-shrink: 0;
	overflow: hidden
}

/* 右容器 */
.quick-tools-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 0 2px;
}

/* 通用快捷按钮颜色样式 */
.quick-icon-btn,
.mini-control-btn,
.page-nav-btn {
    transition: color 0.2s ease;
}

.quick-icon-btn:not(:disabled):hover,
.mini-control-btn:not(:disabled):hover,
.page-nav-btn:not(:disabled):hover,
.page-nav-btn.keyboard-active {
    color: #02b6b6;
}

.mini-control-btn:disabled,
.page-nav-btn:disabled,
.quick-icon-btn:disabled {
    color: #555555;
    cursor: not-allowed;
    background: none;
}

/* 快捷图标按钮样式 */
.quick-icon-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.quick-icon-btn svg {
    width: 18px;
    height: 18px;
}

/* 上编辑器 */
#upper-editor {
    box-sizing: border-box;
    padding: 35px 0px 0px 88px;
    width: 600px;
    align-self: center;
    text-align: left;
    color: transparent;
    font-size: 1px;
    line-height: 0.1;
    outline: none;
    overflow: hidden;
    height: calc(1px * 0.1);
    flex-shrink: 0;
    user-select: text;
    word-break: break-all;
    overflow-wrap: break-word;
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: -10;
    white-space: pre-wrap;
}

/* 确保上编辑器不受下编辑器样式变化影响 */
#upper-editor * {
    font-size: inherit !important;
    color: inherit !important;
}

/* 音乐快捷控制面板 */
.music-mini-panel {
    width: 150px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
}


.mini-control-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 0;
}

.mini-control-btn:first-child {
    border-radius: 20px 0 0 20px;
}

.mini-control-btn:last-child {
    border-radius: 0 20px 20px 0;
}

.mini-control-btn svg {
    width: 16px;
    height: 16px;
}


/* 翻页快捷控制面板 */
.page-navigation-panel {
    width: 107px;
    height: 30px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
}


.page-nav-btn {
    width: 33.33%;
    height: 100%;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-nav-btn:first-child {
    border-radius: 20px 0 0 20px;
}

.quick-jump-container .page-nav-btn {
    border-radius: 0;
}
.page-nav-btn:last-child {
    border-radius: 0 20px 20px 0;
}


.page-nav-btn svg {
    width: 16px;
    height: 16px;
}

/* 快捷跳转菜单样式 */
.quick-jump-container {
    position: relative;
    display: flex;
	justify-content: center;
    align-items: center;
    width: 33.33%;
    height: 100%;
}
.quick-jump-container .page-nav-btn {
    width: 100%;
}

.quick-jump-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333333;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.7);
    z-index: 1002;
    min-width: 70px;
    padding: 8px;
    margin-top: 2px;
}

.quick-jump-menu.show {
    display: block;
}

.quick-jump-menu input {
    box-sizing: border-box;
    width: 100%;
    padding: 3px;
    text-align: center;
    background-color: #222222;
    color: #bfbfbf;
    border: 1px solid #555555;
    border-radius: 3px;
    outline: none;
    font-size: 12px;
}

.quick-jump-menu input::-webkit-outer-spin-button,
.quick-jump-menu input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quick-jump-menu input[type=number] {
    -moz-appearance: textfield;
}

.quick-jump-menu button {
    margin-top: 1px;
    border-radius: 3px;
    width: 100%;
    padding: 3px 7px;
    background-color: #012323;
    color: #bfbfbf;
    border: none;
    cursor: pointer;
    font-size: 12px;
}


/* 下编辑器，用于阅读和编辑文字，显示 */
#lower-editor {
    flex-grow: 1;
    padding: 0.5em 12px;
    color: #bfbfbf;
    font-size: 14px;
    line-height: 1.4;
    text-align: justify;
    outline: none;
    overflow-wrap: break-word;
    word-break: break-all;
    user-select: text;
    position: relative;
    z-index: 2;
    white-space: pre-wrap;
}

#lower-editor br {
    display: block;
    content: "";
    margin-top: 0.5em;
}

.file-input {
    display: none;
}

.highlighted-sentence {
    background-color: transparent;
}

/* 逐段阅读/高亮模式浮层 */
.highlight-float-layer {
    position: fixed;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: auto;
    width: 600px;
    padding: 0.5em 22px 0.5em 12px;
    text-align: justify;
    word-break: break-all;
    overflow-wrap: break-word;
    background-color: rgba(17, 17, 17, 0.88);
    box-sizing: border-box;
    overflow-y: auto;
	user-select: text;
}

/* 菜单 */
.menu-container {
    position: relative;
    display: inline-block;
}

.menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333333;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.7);
    z-index: 1001;
    min-width: 70px;
    padding: 3px;
}

.menu.show {
    display: block;
}

.menu button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 6px 0px;
    background-color: #333333;
    border-radius: 0;
}

.submenu button {
    color: #bfbfbf;
}

#favoritesCategoryMenu,
#importFavoritesMenu {
    top: auto;
    bottom: 100%;
    margin-bottom: 2px;
    max-height: 300px;
    overflow-y: auto;
}

#favoritesCategoryMenu button,
#importFavoritesMenu button {
    width: 100%;
    padding: 6px 0px;
}

.settings-menu-item {
    position: relative;
    padding: 6px 0px;
    cursor: default;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.submenu {
    display: none;
    position: absolute;
    top: -3px;
    left: 100%;
	right: auto;
    background-color: #333333;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    z-index: 10001;
    min-width: 65px;
    padding: 2px;
}

.settings-menu-item:hover > .submenu {
    display: block;
}

.custom-color-wrapper {
    position: relative;
}

.custom-color-wrapper input[type="color"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    padding: 0;
}

/* 模态框 (通用) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    z-index: 1000;
}

#favoritesModal, #editFavoriteModal, #helpModal, #joinGroupModal, #editPageModal, #penetrationOpacityModal, #searchContentModal, #pageWordsModal {
    justify-content: center;
}

.modal-content {
    background-color: #333333;
    width: 500px;
    max-height: 98%;
    border-radius: 4px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    padding: 8px 8px;
    border-bottom: 1px solid #555555;
    position: relative;
    text-align: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 13px;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #555555;
}

.modal-body {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
	min-height: 200px;
}

.modal-footer {
    padding: 10px 15px;
    border-top: 1px solid #555555;
    display: flex;
    justify-content: space-around;
    background-color: #333333;
}

.modal-footer button {
    width: auto;
    padding: 8px 12px;
}

.empty-msg {
    text-align: center;
    margin-top: 20px;
}

#favoritesSearchInput {
    margin-bottom: 8px;
}

#favoritesListContainer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#favoritesListContainer li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 5px;
    border-bottom: 1px solid #555555;
}

#searchResultsContainer li:hover,
#favoritesListContainer li:hover {
    background-color: #555555;
}

#favoritesListContainer .title {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    padding-right: 3px;
}

#favoritesListContainer .actions button {
    padding: 2px 7px;
    margin-left: 5px;
    cursor: pointer;
    background-color: #222222;
    border-radius: 3px;
}

#favoritesListContainer .actions button:hover {
    background-color: #111111;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
	gap: 15px;
    padding-top: 10px;
    margin-top: 10px;
	flex-wrap: nowrap;
}

.pagination-controls button {
    padding: 3px 8px;
}


.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

#newCategoryContainer {
    margin-top: 10px;
}

/* 音乐播放器 */
.player-container {
    position: fixed;
    background: rgba(17, 17, 17, 0.98);
    border-radius: 4px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    z-index: 1000;
    display: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
}

.player-header {
    background: rgba(37, 37, 37, 0.9);
    padding: 6px 6px;
    display: flex;
    align-items: center;
    cursor: move;
    justify-content: space-between;
}

.player-title {
    color: #027474;
}

.player-controls {
    display: flex;
}

.control-btn {
    background: none;
    margin-left: 8px;
    padding: 0;
    width: 16px;
    height: 16px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.control-btn:hover {
    color: #027474;
    background: none;
}

.player-close-btn:hover,
.playlist li .remove-btn:hover {
    color: #bfbfbf;
}

.player-body {
    padding: 6px;
}

.song-info {
    text-align: center;
    margin-bottom: 5px;
	color: #027474;
}

.player-body .song-title {
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-container {
    width: 100%;
    height: 3px;
    background: #333333;
    border-radius: 3px;
    margin-bottom: 12px;
    cursor: pointer;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.player-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.player-btn {
    background: #222222;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    padding: 0;
}

.play-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
}

.playlist-container {
    max-height: 200px;
    overflow-y: auto;
    background: #202020;
    border-radius: 6px;
    padding: 8px;
    margin-top: 10px;
}

.playlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist li {
    padding: 6px;
    border-bottom: 1px solid #555555;
    cursor: pointer;
    display: flex;
    align-items: center;
    overflow: hidden; 
}

.playlist li .song-title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1; 
    flex-shrink: 1; 
    min-width: 0; 
}

.playlist li:hover {
    background: #333333;
}

.playlist li.playing {
    color: #027474;
    background: rgba(1, 188, 188, 0.08);
}

.playlist li .song-index {
    margin-right: 8px;
    min-width: 20px;
    text-align: right;
}

.playlist li.playing .song-index {
    color: #027474;
}

.player-close-btn,
.playlist li .remove-btn {
    color: #ff5555;
}

.playlist li .remove-btn {
    font-size: 16px;
}

.playlist li.dragging {
    opacity: 0.7;
    background: #555555;
}

.playlist li.drag-over {
    border-top: 2px solid #027474;
}

.empty-playlist {
    text-align: center;
    color: #555555;
    padding: 15px;
}

.mode-selector {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
}

.mode-btn, .volume-btn {
    background: #333333;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.volume-container {
    position: relative;
    display: inline-block;
}

.volume-slider {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 100px;
    background: #333333;
    border-radius: 6px;
    padding: 10px 0;
    display: none;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    z-index: 1001;
}

.volume-slider.active {
    display: flex;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100px;
    height: 6px;
    transform: rotate(-90deg);
    background: #555555;
    border-radius: 3px;
    margin: 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #027474;
    cursor: pointer;
}

.player-actions-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.file-input-label, .clear-playlist-btn {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.file-input-label {
    display: block;
    background: #333333;
}

.clear-playlist-btn {
    background: #333333;
}

.clear-playlist-btn:hover {
    background: #ff5555;
    color: white;
}

/* --- 背景穿透样式 --- */
.penetration-mode-active .main-content-wrapper {
    background-color: transparent;
}

.app-container {
    background-color: rgba(38, 44, 44, 0.7);
}


/* 穿透度调节滑块样式 */
.penetration-opacity-slider {
    width: 30px;
    height: 120px;
    background: #333333;
    border-radius: 6px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.penetration-opacity-slider input[type="range"] {
    -webkit-appearance: none;
    width: 100px;
    height: 6px;
    transform: rotate(-90deg);
    background: #555555;
    border-radius: 3px;
    margin: 0;
}

.penetration-opacity-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #027474;
    cursor: pointer;
}


#searchContentInput {
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    background-color: #222222;
    color: #bfbfbf;
    border: 1px solid #555555;
    border-radius: 3px;
    outline: none;
    font-size: 12px;
    text-align: center;
}

#searchResultsContainer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#searchResultsContainer li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 5px;
    border-bottom: 1px solid #555555;
    cursor: pointer;
    text-align: left;
}


#searchResultsContainer .title {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 分页字数设置滑块样式 */
.page-words-slider {
    width: 30px;
    height: 120px;
    background: #333333;
    border-radius: 6px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-words-slider input[type="range"] {
    -webkit-appearance: none;
    width: 100px;
    height: 6px;
    transform: rotate(-90deg);
    background: #555555;
    border-radius: 3px;
    margin: 0;
}

.page-words-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #027474;
    cursor: pointer;
}

/* 页脚点击提示 */
.footer-word-count {
    cursor: pointer;
    transition: color 0.2s ease;
}
