
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", sans-serif;
        }

        body {
            background: #f5f5f5;
            overflow-x: hidden;
        }

        /* 导航 */
        header {
            background: #222;
            padding: 0 15px;
        }
        .navbar {
            max-width: 1300px;
            margin: 0 auto;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: white;
        }
        .logo {
            font-size: 26px;
            font-weight: bold;
            color: #ff6666;
        }
        .nav-menu {
            display: flex;
            gap: 30px;
            list-style: none;
        }
        .nav-menu a {
            color: white;
            text-decoration: none;
        }

        /* 轮播 - 5张静态铺满 + 悬停单张完整显示 */
        .carousel {
            width: 100%;
            height: 250px;
            margin: 10px 0;
            padding: 0 10px; /* 留白让hover效果更舒适，不挤压 */
            position: relative;
        }
        .carousel-wrap {
            display: flex;
            width: 100%;
            height: 100%;
            gap: 10px; /* 图片间距，更美观 */
        }
        .carousel-item {
            width: 20%;
            height: 100%;
            border-radius: 12px;
            overflow: hidden;
            flex-shrink: 0;
            cursor: pointer;
            transition: all 0.3s ease; /* 平滑动画 */
            position: relative;
            z-index: 1;
            background: #000; /* 图片留白底色 */
        }
        /* 核心：悬停效果 - 放大+置顶+完整显示 */
        .carousel-item:hover {
            transform: scale(1.08); /* 合理放大，不突兀 */
            z-index: 99; /* 置顶显示，不被遮挡 */
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        }
        /* 默认裁剪填充，悬停完整显示 */
        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 默认铺满 */
            transition: all 0.3s ease;
        }
        .carousel-item:hover img {
            object-fit: contain; /* 悬停完整显示图片，不裁剪不变形 */
        }

        /* 作品分类模块 */
        .category-section {
            max-width: 1300px;
            margin: 20px auto;
            padding: 15px;
            background: linear-gradient(to right, #C4A484, #6B3E1F);
            border-radius: 8px;
        }
        .category-nav {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 15px;
        }
        .category-item {
            font-size: 16px;
            color: #ffffff;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .category-item.active {
            font-weight: bold;
            font-size: 20px;
        }
        .more-category {
            margin-left: auto;
            padding: 6px 12px;
            border: 1px solid #ffffff;
            border-radius: 4px;
            background: transparent;
            color: #ffffff;
            font-size: 14px;
            cursor: pointer;
        }
        .category-comic-list {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 10px;
        }
        .category-comic-card {
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s ease;
        }
        .category-comic-card:hover {
            transform: translateY(-5px);
        }
        .category-comic-cover {
            width: 100%;
            height: 180px;
            overflow: hidden;
            border-radius: 4px;
            position: relative;
        }
        .category-comic-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .category-comic-meta {
            position: absolute;
            bottom: 5px;
            left: 5px;
            right: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #fff;
            font-size: 10px;
            text-shadow: 0 0 3px rgba(0,0,0,0.5);
        }
        .category-comic-author {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .category-comic-stats {
            display: flex;
            align-items: center;
            gap: 2px;
        }
        .category-comic-info {
            margin-top: 5px;
        }
        .category-comic-title {
            font-size: 14px;
            color: #ffffff;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* 内容容器：左右分栏 */
        .content-container {
            max-width: 1300px;
            margin: 20px auto;
            padding: 0 15px;
            display: flex;
            gap: 20px;
        }

        /* 左边：快看经典必看 */
        .classic-section {
            flex: 1;
        }
        .section-title {
            font-size: 22px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }
        .comic-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
        }
        .comic-card {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s ease;
        }
        .comic-card:hover {
            transform: translateY(-5px);
        }
        .comic-cover {
            position: relative;
            width: 100%;
            height: 180px;
            overflow: hidden;
        }
        .comic-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .comic-tags {
            position: absolute;
            bottom: 5px;
            left: 5px;
            display: flex;
            gap: 3px;
        }
        .tag {
            background: rgba(0,0,0,0.6);
            color: #fff;
            padding: 1px 4px;
            border-radius: 2px;
            font-size: 10px;
        }
        .comic-info {
            padding: 5px;
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
        .comic-title {
            font-size: 14px;
            font-weight: 500;
            color: #333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .comic-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }
        .comic-author {
            font-size: 10px;
            color: #999;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .comic-stats {
            display: flex;
            align-items: center;
            gap: 2px;
            font-size: 10px;
            color: #ff6666;
        }

        /* 右边：人气榜 */
        .ranking-section {
            width: 380px;
        }
        .ranking-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        .more-btn {
            padding: 4px 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background: #fff;
            color: #666;
            font-size: 12px;
            cursor: pointer;
        }
        .ranking-list {
            display: flex;
            flex-direction: column;
            gap: 0px;
        }
        .ranking-item {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            background: #f5f5f5;
            padding: 5px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .ranking-item:hover {
            background: #fff;
        }
        .ranking-num {
            width: 24px;
            height: 24px;
            border-radius: 4px;
            background: #f5f5f5;
            color: #ff9900;
            font-size: 16px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .ranking-num-1 {
            background: #ff6666;
            color: #fff;
        }
        .ranking-cover {
            width: 100px;
            height: 135px;
            border-radius: 8px;
            overflow: hidden;
            display: none;
            flex-shrink: 0;
        }
        .ranking-item.active .ranking-cover {
            display: block;
        }
        .ranking-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .ranking-info {
            flex: 1;
            padding-top: 0px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 5px;
        }
        .ranking-item.active .ranking-info {
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
        }
        .ranking-title {
            font-size: 16px;
            font-weight: 500;
            color: #333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ranking-desc {
            font-size: 12px;
            color: #999;
            margin-top: 5px;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            display: none;
            width: 100%;
        }
        .ranking-item.active .ranking-desc {
            display: block;
        }
        .ranking-update {
            font-size: 12px;
            color: #999;
            white-space: nowrap;
        }
        .ranking-item.active .ranking-update {
            margin-top: 5px;
            width: 100%;
        }
        .update-text {
            color: #ff6666;
        }

        /* 页脚 */
        footer {
            background: #222;
            color: #fff;
            text-align: center;
            padding: 15px;
            margin-top: 20px;
            font-size: 14px;
        }
        
        /* 真香漫Pick区 */
        .pick-section {
          max-width: 1300px;
          margin: 20px auto;
          padding: 0 15px;
        }
        .pick-grid {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 10px;
        }
        .pick-card {
          background: #fff;
          border-radius: 8px;
          overflow: hidden;
          transition: transform 0.3s ease;
        }
        .pick-card:hover {
          transform: translateY(-5px);
        }
        .pick-cover {
          position: relative;
          width: 100%;
          height: 200px;
          overflow: hidden;
        }
        .pick-cover img {
          width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .pick-meta {
          position: absolute;
          bottom: 5px;
          left: 5px;
          right: 5px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          color: #fff;
          font-size: 12px;
          text-shadow: 0 0 3px rgba(0,0,0,0.5);
        }
        .pick-author {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .pick-stats {
          display: flex;
          align-items: center;
          gap: 2px;
        }
        .pick-info {
          padding: 10px;
        }
        .pick-title {
          font-size: 16px;
          font-weight: 500;
          color: #333;
          margin-bottom: 5px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .pick-desc {
          font-size: 12px;
          color: #999;
          line-height: 1.4;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
        }
        
        /* 飙升榜模块 */
        .ranking-boost-section {
          max-width: 1300px;
          margin: 20px auto;
          padding: 15px;
          background: #8c1c13;
          border-radius: 8px;
        }
        .ranking-boost-nav {
          display: flex;
          align-items: center;
          flex-wrap: wrap;
          gap: 20px;
          margin-bottom: 15px;
        }
        .ranking-tab {
          font-size: 22px;
          color: #fff;
          cursor: pointer;
          transition: all 0.2s ease;
        }
        .ranking-tab.active {
          font-weight: bold;
          text-shadow: 0 0 5px rgba(255,255,255,0.3);
        }
        .more-ranking {
          margin-left: auto;
          padding: 6px 12px;
          border: 1px solid #fff;
          border-radius: 4px;
          background: transparent;
          color: #fff;
          font-size: 14px;
          cursor: pointer;
        }
        .ranking-boost-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 10px;
        }
        .ranking-boost-card {
          background: rgba(0,0,0,0.2);
          border-radius: 8px;
          overflow: hidden;
          transition: transform 0.3s ease;
          display: flex;
          align-items: center;
          gap: 10px;
          padding: 8px;
        }
        .ranking-boost-card:hover {
          transform: translateY(-5px);
        }
        .ranking-boost-cover {
          width: 100px;
          height: 130px;
          flex-shrink: 0;
          overflow: hidden;
          border-radius: 4px;
        }
        .ranking-boost-cover img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        .ranking-boost-info {
          flex: 1;
          color: #fff;
          padding: 0;
        }
        .ranking-boost-top {
          display: flex;
          align-items: center;
          gap: 5px;
          margin-bottom: 5px;
        }
        .top-tag {
          background: #ffd700;
          color: #000;
          padding: 2px 6px;
          border-radius: 4px;
          font-size: 12px;
          font-weight: bold;
        }
        .rise-tag {
          color: #ff6b6b;
          font-size: 12px;
        }
        .ranking-boost-title {
          font-size: 16px;
          font-weight: 600;
          margin-bottom: 3px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .ranking-boost-author {
          font-size: 12px;
          color: #ddd;
          margin-bottom: 5px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .ranking-boost-desc {
          font-size: 12px;
          color: #ccc;
          line-height: 1.4;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
        }
        
        /* 精选漫画模块 */
        .selected-comic-section {
          max-width: 1300px;
          margin: 20px auto;
          padding: 0 15px;
        }
        .selected-comic-grid {
          display: grid;
          grid-template-columns: repeat(6, 1fr);
          gap: 10px;
        }
        .selected-comic-card {
          background: #fff;
          border-radius: 8px;
          overflow: hidden;
          transition: transform 0.3s ease;
        }
        .selected-comic-card:hover {
          transform: translateY(-5px);
        }
        .selected-comic-cover {
          position: relative;
          width: 100%;
          height: 180px;
          overflow: hidden;
          border-radius: 4px;
        }
        .selected-comic-cover img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        .selected-comic-tags {
          position: absolute;
          bottom: 5px;
          left: 5px;
          display: flex;
          gap: 3px;
        }
        .selected-comic-tag {
          background: rgba(0, 0, 0, 0.6);
          color: #fff;
          padding: 1px 4px;
          border-radius: 2px;
          font-size: 10px;
        }
        .selected-comic-info {
          padding: 8px 0;
        }
        .selected-comic-title {
          font-size: 14px;
          font-weight: 500;
          color: #333;
          margin-bottom: 5px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .selected-comic-meta {
          display: flex;
          justify-content: space-between;
          align-items: center;
          font-size: 10px;
          color: #999;
        }
        .selected-comic-author {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          max-width: 60%;
        }
        .selected-comic-stats {
          display: flex;
          align-items: center;
          gap: 2px;
        }
        
        /* 顶部导航栏 */
        .top-nav {
          background: #222;
          color: #fff;
          padding: 10px 15px;
          display: flex;
          align-items: center;
          flex-wrap: wrap;
          justify-content: space-between;
          gap: 10px;
          max-width: 100%;
        }
        .nav-logo {
          font-size: 28px;
          font-weight: bold;
          color: #ffd100;
          font-family: "Microsoft Yahei", sans-serif;
          line-height: 1;
        }
        .nav-menu {
          display: flex;
          align-items: center;
          gap: 15px;
          flex: 1;
          flex-wrap: wrap;
        }
        .nav-item {
          font-size: 16px;
          color: #fff;
          cursor: pointer;
          transition: color 0.2s ease;
          position: relative;
        }
        .nav-item:hover {
          color: #ffd100;
        }
        .nav-item.dropdown::after {
          content: "▼";
          font-size: 10px;
          margin-left: 3px;
        }
        .hot-tag {
          position: absolute;
          top: -5px;
          right: -18px;
          background: #ff3b30;
          color: #fff;
          font-size: 10px;
          padding: 1px 4px;
          border-radius: 10px;
        }
        .nav-search {
          flex: 1;
          min-width: 200px;
          max-width: 300px;
          background: #fff;
          border-radius: 25px;
          padding: 6px 12px;
          display: flex;
          align-items: center;
          gap: 5px;
        }
        .nav-search input {
          border: none;
          outline: none;
          flex: 1;
          font-size: 14px;
          color: #333;
        }
        .nav-search input::placeholder {
          color: #999;
        }
        .search-btn {
          background: transparent;
          border: none;
          color: #999;
          cursor: pointer;
          font-size: 16px;
        }
        .nav-actions {
          display: flex;
          align-items: center;
          gap: 15px;
          flex-wrap: wrap;
        }
        .action-item {
          font-size: 14px;
          color: #fff;
          cursor: pointer;
          transition: color 0.2s ease;
          display: flex;
          align-items: center;
          gap: 3px;
        }
        .action-item:hover {
          color: #ffd100;
        }
        .vip-tag {
          background: #ff6b00;
          color: #fff;
          padding: 2px 6px;
          border-radius: 12px;
          font-size: 10px;
        }
        .user-avatar {
          width: 28px;
          height: 28px;
          border-radius: 50%;
          cursor: pointer;
          object-fit: cover;
        }

        /* 响应式媒体查询 */
        @media (max-width: 1024px) {
            .content-container {
                flex-direction: column;
            }
            .ranking-section {
                width: 100%;
            }
            .category-comic-list {
                grid-template-columns: repeat(3, 1fr);
            }
            .selected-comic-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .top-nav {
                padding: 8px 10px;
                gap: 8px;
            }
            .nav-logo {
                font-size: 22px;
            }
            .nav-item {
                font-size: 14px;
            }
            .nav-search {
                min-width: 150px;
                width: 100%;
            }

            .carousel {
                height: 180px;
            }

            .comic-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .category-comic-list {
                grid-template-columns: repeat(2, 1fr);
            }
            .pick-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .ranking-boost-grid {
                grid-template-columns: repeat(1, 1fr);
            }
            .selected-comic-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .comic-cover,
            .category-comic-cover,
            .selected-comic-cover {
                height: 160px;
            }
            .pick-cover {
                height: 180px;
            }

            .section-title {
                font-size: 18px;
            }
            .ranking-tab {
                font-size: 18px;
            }
        }

        @media (max-width: 480px) {
            .nav-menu {
                gap: 8px;
            }
            .nav-actions {
                gap: 8px;
            }
            .action-item span {
                display: none;
            }
        }
        
        
        
        /*页脚样式*/
        
        /* 页脚整体样式 */
.site-footer {
  background-color: #1a1a1a;
  color: #f5f5f5;
  padding: 30px 20px;
  margin-top: 50px;
}

/* 容器居中 + 弹性布局 */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* 自动换行适配手机 */
  gap: 30px;
}

/* 左侧品牌区 */
.footer-brand {
  flex: 1;
  min-width: 280px; /* 最小宽度，防止挤压 */
}
.footer-brand h3 {
  margin: 0 0 12px 0;
  color: #ff7d00; /* 橙色主题色，贴合漫画风格 */
  font-size: 22px;
}
.copyright {
  color: #999;
  font-size: 14px;
  margin: 0 0 8px 0;
}
.disclaimer {
  color: #777;
  font-size: 12px;
  margin: 0;
}

/* 右侧信息区 */
.footer-info {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end; /* 右侧对齐 */
}

/* 链接组 */
.footer-links h4,
.footer-contact h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #eee;
}
.link-group {
  display: flex;
  gap: 15px;
}
.link-group a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.link-group a:hover {
  color: #ff7d00; /* 鼠标悬浮变色 */
}

/* 联系方式 */
.footer-contact span {
  color: #ccc;
  font-size: 14px;
}

/* 移动端适配：手机端全部居中、上下排列 */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-info {
    align-items: center;
  }
}
