    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-color: #000;
      color: #fff;
      font-family: Arial, sans-serif;
    }

    .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 20px 0px 20px 0;
    }
    .novel-header {
      display: flex;
      align-items: flex-start;
      margin-bottom: 20px;
    }

    .novel-cover {
      width: 180px;
      height: 240px;
      object-fit: cover;
      border-radius: 8px;
      margin-right: 20px;
    }

    .novel-info {
      flex: 1;
    }

    .novel-title {
      font-size: 24px;
	  color: #fff;
      margin-bottom: 8px;
    }

    .novel-meta {
      color: #999;
      margin-bottom: 12px;
    }

    .novel-desc {
      color: #ccc;
      line-height: 1.5;
      margin-bottom: 30px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .btn-group {
      display: flex;
      gap: 16px;
    }

    .btn {
      padding: 10px 16px;
	  font-size: 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      color: #fff;
      transition: background-color 0.3s ease;
    }

    .read-btn {
      background-color: #f43f3b;
    }
    
    .read-btn:hover {
      background-color: #d32f2f;
    }

    .bookshelf-btn {
      background-color: #0088ff;
    }
    
    .bookshelf-btn:hover {
      background-color: #0077ee;
    }

    .share-btn {
      background-color: #444;
    }
    
    .share-btn:hover {
      background-color: #555;
    }

    .chapter-section {
      margin-bottom: 20px;
	  color: #fff;
    }
    .parent {
      display: flex;
      align-items: center;
      gap: 10px;
	  margin-bottom: 15px;
      padding-bottom: 10px;
      border-bottom: 1px solid #333;
    }
    .chapter-title {
      font-size: 18px;
    }
    .update-text {
      font-size: 14px;
      color: #999;
      margin: 0;
    }
    .chapter-list {
      display: flex;
      flex-wrap: wrap;
      gap: 13px;
    }

    .chapter-item {
      flex: 0 0 calc(25% - 10px);
      background-color: #1e293b;
	  font-size: 14px;
      padding: 10px;
      border-radius: 4px;
      text-decoration: none;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: background-color 0.3s ease;
    }

    .chapter-item:hover {
      background-color: #333;
    }

    .chapter-item.new {
      color: #f43f3b;
    }

    .pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
	  padding: 20px 0 20px;
    }
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    justify-content: center; /* 居中显示分页 */
}

.page-btn {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    transition: all 0.2s;
}

.page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* 下拉选择框样式 */
.page-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 10px;
    background-color: #007bff; /* 与当前页按钮背景一致 */
    color: white; /* 默认显示白色字体 */
    appearance: none; /* 移除默认下拉箭头 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px; /* 预留箭头位置 */
    cursor: pointer;
}

/* 下拉选项样式 */
.page-select option {
    color: black; /* 下拉选项显示黑色字体 */
    background-color: white; /* 选项背景白色 */
    padding: 5px;
}

/* 聚焦状态优化 */
.page-select:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

    .page-btn {
      padding: 6px 12px;
      border: 1px solid #333;
      background-color: #1a1a1a;
      color: #fff;
      cursor: pointer;
      border-radius: 4px;
      transition: background-color 0.3s ease;
    }

    .page-btn:hover {
      background-color: #333;
    }

    .page-btn.active {
      background-color: #ff0000;
      border-color: #666;
    }

    /* 分享弹窗样式 */
    #shareModal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      justify-content: center;
      align-items: center;
      z-index: 1000;
      animation: fadeIn 0.3s ease forwards;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    #shareModal .modal-content {
      background: #1e293b;
      padding: 20px;
      border-radius: 8px;
      width: 90%;
      max-width: 400px;
      animation: scaleIn 0.3s ease forwards;
    }
    
    @keyframes scaleIn {
      from { transform: scale(0.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    #shareModal h3 {
      color: #fff;
      margin-bottom: 15px;
      font-size: 18px;
      font-weight: bold;
    }

    #shareModal .share-row {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
    }

    #shareModal .share-btn {
      flex: 1;
      padding: 10px;
      border: none;
      border-radius: 4px;
      color: white;
      cursor: pointer;
      transition: transform 0.2s ease;
    }
    
    #shareModal .share-btn:hover {
      transform: translateY(-2px);
    }

    #shareModal .facebook {
      background: #3b5998;
    }

    #shareModal .twitter {
      background: #1da1f2;
    }

    #shareModal .linkedin {
      background: #0077b5;
    }

    #shareModal .whatsapp {
      background: #25d366;
    }

    #shareModal .copy-container {
      margin-bottom: 20px;
    }

    #shareModal .url-input {
      width: 100%;
      padding: 10px;
      background: #333;
      color: white;
      border: none;
      border-radius: 4px;
      margin-bottom: 10px;
      font-size: 14px;
    }

    #shareModal .copy-btn {
      width: 100%;
      padding: 10px;
      background: #444;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    
    #shareModal .copy-btn:hover {
      background: #555;
    }

    #shareModal #copyTooltip {
      margin-left: 10px;
    }

    #shareModal #closeShareModal {
      width: 100%;
      padding: 10px;
      background: #f43f3b;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    
    #shareModal #closeShareModal:hover {
      background: #d32f2f;
    }

    .mr5 {
      margin-right: 5px;
    }

    @media (max-width: 768px) {
      .chapter-item {
        flex: 0 0 calc(50% - 10px);
      }

      .novel-header {
        flex-direction: column;
      }

      .novel-cover {
        margin-bottom: 15px;
        margin-right: 0;
      }
      
      .btn-group {
        flex-wrap: wrap;
      }
      
      #shareModal .share-row {
        flex-direction: column;
      }
    }