body {
			margin: 0;
			padding: 0;
			font-family: 'Inter', system-ui, sans-serif;
			background-color: #f9fafb;
			color: #1f2937;
			min-height: 100vh;
		}

		.container {
			max-width: 1200px;
			margin: 0 auto;
			padding: 32px 16px;
		}

		header {
			text-align: center;
			margin-bottom: 48px;
		}

		h1 {
			font-size: clamp(2rem, 5vw, 3.5rem);
			font-weight: bold;
			margin-bottom: 16px;
		}

		p {
			color: #6b7280;
			font-size: 18px;
			max-width: 800px;
			margin: 0 auto;
		}
		.font-small {
			font-size: 14px;
		}
		.mb-2 {
			margin-bottom: 0.5rem;
		}
		.text-gray-500 {
			color: grey;
		}

		/* 主内容区域 */
		.main-content {
			background-color: white;
			border-radius: 16px;
			box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
			padding: 24px;
			margin-bottom: 32px;
		}

		.header-section {
			display: flex;
			flex-direction: column;
			margin-bottom: 24px;
		}

		@media (min-width: 768px) {
			.header-section {
				flex-direction: row;
				justify-content: space-between;
				align-items: center;
			}
		}

		.title-section {
			margin-bottom: 16px;
		}

		@media (min-width: 768px) {
			.title-section {
				margin-bottom: 0;
				min-width: 240px;
			}
		}

		.search-and-toggle-container {
			display: flex;
			flex-direction: column;
			gap: 16px;
			width: 100%;
		}
		.search-and-toggle-div-container {
			display: flex;
			flex-direction: column !important;
			gap: 16px;
			width: 100%;
		}

		@media (min-width: 768px) {
			.search-and-toggle-container {
				flex-direction: row;
				align-items: center;
			}
		}

		.search-container {
			position: relative;
			width: 100%;
			max-width: 400px;
		}

		.search-input {
			padding: 8px 12px 8px 36px;
			border: 1px solid #d1d5db;
			border-radius: 8px;
			width: 100%;
			outline: none;
			transition: all 0.3s;
			box-sizing: border-box;
		}

		.search-input:focus {
			border-color: #3b82f6;
			box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
		}

		.search-icon {
			position: absolute;
			left: 12px;
			top: 50%;
			transform: translateY(-50%);
			color: #6b7280;
		}

		/* 全局控制按钮 */
		.global-toggle-buttons {
			display: flex;
			gap: 10px;
			flex-wrap: wrap;
		}

		.global-toggle-buttons button {
			padding: 8px 16px;
			border: none;
			border-radius: 6px;
			background-color: #3b82f6;
			color: white;
			font-weight: 500;
			cursor: pointer;
			transition: all 0.2s;
			display: flex;
			align-items: center;
			justify-content: center;
		}

		.global-toggle-buttons button:hover {
			background-color: #2563eb;
			transform: translateY(-1px);
			box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
		}

		.global-toggle-buttons button:last-child {
			background-color: #6b7280;
		}

		.global-toggle-buttons button:last-child:hover {
			background-color: #4b5563;
		}

		/* 热门书籍区域 */
		.hot-books {
			margin-top: 24px;
			padding: 16px;
			background-color: #f3f4f6;
			border-radius: 8px;
		}

		.hot-books h3 {
			font-size: 18px;
			font-weight: 600;
			margin-bottom: 12px;
			// color: #4b5563;
			color: #f5a50d;
		}

		.hot-books-list {
			display: flex;
			flex-wrap: wrap;
			gap: 12px;
		}

		.hot-book-item {
			padding: 8px 16px;
			background-color: white;
			border-radius: 9999px;
			box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
			cursor: pointer;
			transition: all 0.2s;
			white-space: nowrap;
		}

		.hot-book-item:hover {
			background-color: #e5e7eb;
			transform: translateY(-1px);
		}

		/* 分类标题 */
		.category-title {
			font-size: 24px;
			font-weight: bold;
			margin-top: 40px;
			margin-bottom: 16px;
			padding-bottom: 8px;
			border-bottom: 2px solid #e5e7eb;
			cursor: pointer;
			display: flex;
			align-items: center;
			transition: all 0.3s;
		}

		.category-title:hover {
			color: #3b82f6;
		}

		.category-icon {
			margin-right: 12px;
			transition: transform 0.3s;
		}

		.category-title.collapsed .category-icon {
			transform: rotate(-90deg);
		}

		/* 书籍网格布局 */
		.books-container {
			width: 100%;
			transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
			max-height: 2000px;
			opacity: 1;
			overflow: hidden;
		}

		.books-container.collapsed {
			max-height: 0;
			opacity: 0;
		}

		.books-grid {
			display: grid;
			grid-template-columns: repeat(4, 1fr);
			gap: 24px;
		}

		@media (max-width: 1024px) {
			.books-grid {
				grid-template-columns: repeat(3, 1fr);
			}
		}

		@media (max-width: 768px) {
			.books-grid {
				grid-template-columns: repeat(2, 1fr);
			}
		}

		@media (max-width: 576px) {
			.books-grid {
				grid-template-columns: 1fr;
			}
		}

		/* 书籍卡片 */
		.book-card {
			background-color: white;
			border-radius: 16px;
			overflow: hidden;
			box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
			display: flex;
			flex-direction: column;
			height: 100%;
			transition: all 0.3s;
			cursor: pointer;
		}

		.book-card:hover {
			box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
			transform: translateY(-2px);
		}

		.book-cover-container {
			position: relative;
			overflow: hidden;
			background-color: #f3f4f6;
			height: 350px;
		}

		.book-cover {
			width: 100%;
			height: 100%;
			object-fit: cover;
			transition: transform 0.5s;
		}

		.book-cover:hover {
			transform: scale(1.1);
		}

		.book-content {
			padding: 20px;
			flex-grow: 1;
			display: flex;
			flex-direction: column;
		}

		.book-title {
			font-size: 20px;
			font-weight: bold;
			margin-bottom: 8px;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		.book-meta {
			margin-bottom: 12px;
		}

		.book-description-container {
			flex-grow: 1;
			overflow: hidden;
		}

		.book-description {
			color: #6b7280;
			font-size: 14px;
			line-height: 1.5;
			display: -webkit-box;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 4;
			overflow: hidden;
		}

		/* 分页控件样式 */
		.pagination-controls {
			display: flex;
			justify-content: center;
			align-items: center;
			gap: 12px;
			margin-top: 24px;
			padding: 12px;
		}

		.page-btn {
			padding: 8px 16px;
			border: none;
			border-radius: 6px;
			background-color: #3b82f6;
			color: white;
			font-weight: 500;
			cursor: pointer;
			transition: all 0.2s;
			display: flex;
			align-items: center;
			gap: 6px;
		}

		.page-btn:hover {
			background-color: #2563eb;
			transform: translateY(-1px);
		}

		.page-btn.disabled {
			background-color: #9ca3af;
			cursor: not-allowed;
			transform: none;
		}

		.page-info {
			color: #6b7280;
			font-size: 14px;
		}

		.prev-btn i, .next-btn i {
			font-size: 14px;
		}

		.category-content {
			display: flex;
			flex-direction: column;
		}

		/* 详情弹窗 */
		.modal {
			display: none;
			position: fixed;
			z-index: 100;
			left: 0;
			top: 0;
			width: 100%;
			height: 100%;
			overflow: auto;
			background-color: rgba(0, 0, 0, 0.7);
		}

		.modal-content {
			background-color: #fefefe;
			margin: 5% auto;
			padding: 20px;
			border-radius: 16px;
			width: 90%;
			max-width: 800px;
			position: relative;
			animation-name: fadeIn;
			animation-duration: 0.4s;
		}

		@keyframes fadeIn {
			from {opacity: 0; transform: scale(0.95)}
			to {opacity: 1; transform: scale(1)}
		}

		.close {
			color: #aaa;
			position: absolute;
			top: 10px;
			right: 15px;
			font-size: 28px;
			font-weight: bold;
			cursor: pointer;
			transition: color 0.2s;
		}

		.close:hover {
			color: #333;
		}

		.modal-header {
			margin-bottom: 20px;
		}

		.modal-title {
			font-size: 24px;
			font-weight: bold;
			margin-bottom: 8px;
		}

		.modal-category, .modal-views {
			font-size: 16px;
			color: #6b7280;
			margin-bottom: 8px;
		}

		.modal-hot {
			color: #ef4444;
			margin-left: 8px;
		}

		.modal-body {
			display: flex;
			flex-direction: column;
			gap: 20px;
		}

		@media (min-width: 768px) {
			.modal-body {
				flex-direction: row;
			}
		}

		.modal-cover-container {
			width: 100%;
			max-width: 200px;
			height: 280px;
			border-radius: 8px;
			overflow: hidden;
			box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
		}

		.modal-cover {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}

		.modal-details {
			flex-grow: 1;
		}

		.modal-description {
			margin-bottom: 20px;
			line-height: 1.6;
			color: #6b7280;
			font-size: 16px;
		}

		.modal-downloads {
			display: flex;
			flex-direction: column;
			gap: 12px;
		}

		.modal-cloud-disk {
			// background-color: #f3f4f6;
			// padding: 16px;
			border-radius: 8px;
		}

		/* 页脚 */
		footer {
			text-align: center;
			color: #6b7280;
			padding: 24px 0;
			border-top: 1px solid #e5e7eb;
		}
		/* 动画定义 */
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        @keyframes fadeOut {
            from { opacity: 1; visibility: visible; }
            to { opacity: 0; visibility: hidden; }
        }
        
        .fade-out {
            animation: fadeOut 0.8s forwards;
        }
		/* 加载动画样式 */
        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-around;
            z-index: 50;
        }
        
        .loader-container {
            width: 80px;
            height: 80px;
            margin-bottom: 64px;
            position: relative;
        }
        
        .loader-ring {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 4px solid #e5e7eb;
            border-radius: 50%;
        }
        
        .loader-ring-active {
            border-top-color: #3b82f6;
            animation: spin 1.5s linear infinite;
        }
        
        .loader-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-10%, -50%);
            color: #3b82f6;
            font-size: 24px;
        }
        
        .loading-text-container h2 {
            font-size: 20px;
            font-weight: 600;
            color: #4b5563;
            margin-bottom: 8px;
            text-align: center;
        }
        
        .loading-text-container p {
            color: #6b7280;
            text-align: center;
        }