/**
██   ██ ██    ██ ██████  ██  ██████ ███    ███ ███████ 
██   ██ ██    ██ ██   ██ ██ ██      ████  ████ ██      
███████ ██    ██ ██   ██ ██ ██      ██ ████ ██ ███████ 
██   ██ ██    ██ ██   ██ ██ ██      ██  ██  ██      ██ 
██   ██  ██████  ██████  ██  ██████ ██      ██ ███████ 
            ===========================================
 * @Sign
================================
        Keep calm and get rich.
                    Is the best huudi.
 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "microsoft yahei", sans-serif;
    color: #ffffff;
    background: #674ea7;
    background-image: linear-gradient(135deg, rgba(58, 123, 213, 0.05) 25%, transparent 25%),
                      linear-gradient(225deg, rgba(58, 123, 213, 0.05) 25%, transparent 25%),
                      linear-gradient(45deg, rgba(58, 123, 213, 0.05) 25%, transparent 25%),
                      linear-gradient(315deg, rgba(58, 123, 213, 0.05) 25%, #edf2f7 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
    position: relative;
  }
  
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: #674ea7;
    z-index: -1;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    outline: none;
    background-color: #674ea7;
  }
  
  a:active, a:hover {
    outline: 0;
  }
  
  img {
    border: 0;
    max-width: 100%;
  }
  
  ul {
    list-style: none;
  }
  
  input, textarea, select, option, button {
    font-family: "microsoft yahei";
    outline: none;
    border-width: 1px;
    -webkit-tap-highlight-color: #ffffff;
    -webkit-appearance: none;
  }
  
  button:focus, input:focus {
    outline: 0;
  }
  
  article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
  }
  
  b, strong {
    font-weight: bold;
  }
  
  /* 全局容器 */
  .ts-wrap {
    min-width: 360px;
    max-width: 600px;
    margin: 0 auto;
    background: #674ea7;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 0;
    z-index: 1;
  }
  
  
  
  .ts-wrap::before {
    left: -8px;
    border-radius: 4px 0 0 4px;
  }
  
  .ts-wrap::after {
    right: -8px;
    border-radius: 0 4px 4px 0;
  }
  
  /* 移动端侧边浮动形状 */
  .ts-wrap-outer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
  }
  
  .shape-left, .shape-right {
    position: absolute;
    opacity: 0.8;
    filter: blur(60px);
    z-index: -1;
  }
  
  .shape-left {
    width: 300px;
    height: 300px;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    background: #674ea7;
    animation: morph-left 15s linear infinite alternate;
    left: -100px;
    top: 20%;
  }
  
  .shape-right {
    width: 250px;
    height: 250px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: #674ea7;
    animation: morph-right 12s linear infinite alternate;
    right: -50px;
    bottom: 25%;
  }
  
  @keyframes morph-left {
    0% {
      border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
      transform: translate(0, 0) rotate(0deg);
    }
    100% {
      border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
      transform: translate(20px, 20px) rotate(10deg);
    }
  }
  
  @keyframes morph-right {
    0% {
      border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
      transform: translate(0, 0) rotate(0deg);
    }
    100% {
      border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
      transform: translate(-20px, -20px) rotate(-10deg);
    }
  }
  
  /* 装饰元素重置 */
  .ts-wrap .decorative-element {
    display: none;
  }
  
  .page {
    background: #674ea7;
    position: relative;
  }
  
  .page.unselect {
    background: #674ea7;
  }
  
  /* 装饰元素 - 圆点 */
  .ts-wrap::after {
    content: "";
    box-shadow: 
      -60px 20px 0 -2px rgba(58, 123, 213, 0.2),
      -70px 60px 0 -3px rgba(147, 84, 165, 0.2),
      60px 20px 0 -2px rgba(58, 123, 213, 0.2),
      70px 60px 0 -3px rgba(147, 84, 165, 0.2);
  }
  
  /* ================= 顶部UI样式 ================= */
  /* 顶部容器 */
  .bbwqrg-header {
    width: 100%;
    background: #674ea7;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
  }
  
  .bbwqrg-header-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px 10px;
  }
  
  /* Logo区域 */
  .bbwqrg-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    position: relative;
  }
  
  .bbwqrg-logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  .bbwqrg-copy-url {
    font-size: 14px;
    background: #674ea7;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .bbwqrg-copy-url:hover {
    background: #674ea7;
  }
  
  /* 搜索框 */
  .bbwqrg-search {
    position: relative;
    margin: 10px 0;
  }
  
  .bbwqrg-search-form {
    display: flex;
    width: 100%;
  }
  
  .bbwqrg-search-input {
    flex: 1;
    height: 45px;
    padding: 0 15px;
    border: none;
    border-radius: 25px 0 0 25px;
    background: #674ea7;
    color: #ffffff;
    font-size: 15px;
    outline: none;
  }
  
  .bbwqrg-search-btn {
    width: 80px;
    height: 45px;
    background: #674ea7;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .bbwqrg-search-btn:hover {
    background: #674ea7;
  }
  
  /* 分类菜单 */
  .bbwqrg-nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    background: #674ea7;
    border-radius: 10px;
    padding: 10px;
  }
  
  .bbwqrg-nav-item {
    background: #674ea7;
    color: #ffffff;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .bbwqrg-nav-item:hover {
    background: #674ea7;
    transform: translateY(-2px);
  }
  
  .bbwqrg-nav-parent {
    background: #674ea7;
    font-weight: bold;
  }
  
  /* 热门搜索 */
  .bbwqrg-hot-search {
    background: #674ea7;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
  }
  
  .bbwqrg-hot-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
  }
 
  
  .bbwqrg-hot-tags {
    display: flex;
    flex-wrap: wrap;
  }
  
  .bbwqrg-hot-tag {
    background: #674ea7;
    color: #ffffff;
    padding: 5px 12px;
    margin: 5px;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s ease;
  }
  
  .bbwqrg-hot-tag:hover {
    background: #674ea7;
    transform: translateY(-2px);
  }
  
  /* 导航相关样式（从style.css） */
  .Utop {
    text-align: center;
    background: #674ea7;
    height: auto;
  }
  
  .Utop h5 {
    padding-top: 10px;
    font-size: 28px;
    font-family: 'Microsoft YaHei';
    text-align: center;
    color: #ffffff;
    text-shadow: #fff 1px 1px 1px;
  }
  
  .UStop {
    text-align: center;
  }
  
  .UStop span {
    font-size: 13px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
  }
  
  .UStop h5 {
    padding-top: 10px;
    font-size: 16px;
    font-family: 'Microsoft YaHei';
    text-align: center;
    color: #ffffff;
    text-shadow: #fff 1px 1px 1px;
  }
  
  /* ================= 视频列表样式 ================= */
  /* 视频列表容器 */
  .bbwqrg-video-container {
    padding: 15px 10px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* 分类标题 - 增强视觉效果 */
  .bbwqrg-section-title {
    position: relative;
    padding: 18px 20px;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background: #674ea7;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(58, 123, 213, 0.08);
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  /* 添加光晕效果 */
  .bbwqrg-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: #674ea7;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(58, 123, 213, 0.5);
  }
  
  .bbwqrg-section-title::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: #674ea7;
    opacity: 0.1;
    border-radius: 50%;
    transition: all 0.3s ease;
    filter: blur(5px);
  }
  
  .bbwqrg-section-title:hover {
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.15);
    transform: translateY(-2px);
  }
  
  .bbwqrg-section-title:hover::after {
    transform: translateY(-50%) scale(1.3);
    opacity: 0.2;
  }
  
  .bbwqrg-section-title .title-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
  }
  
  .bbwqrg-section-title .title-icon {
    margin-right: 10px;
    font-size: 22px;
    background: #674ea7;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
  }
  
  /* 标题图标脉动效果 */
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  .bbwqrg-section-title:hover .title-icon {
    animation: pulse 1.5s infinite ease-in-out;
  }
  
  .bbwqrg-section-title .title-badge {
    margin-left: 10px;
    font-size: 12px;
    padding: 3px 10px;
    background: #674ea7;
    color: #ffffff;
    border-radius: 20px;
    font-weight: normal;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .bbwqrg-section-title:hover .title-badge {
    background: #674ea7;
    transform: translateX(3px);
  }
  
  /* 为标题添加闪光效果 */
  .bbwqrg-section-title .shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: #674ea7;
    transform: skewX(-25deg);
    animation: shine 3s infinite;
  }
  
  @keyframes shine {
    0% { left: -100%; opacity: 0.7; }
    100% { left: 150%; opacity: 0; }
  }
  
  /* 视频列表网格 */
  .bbwqrg-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
  }
  
  /* 视频卡片 */
  .bbwqrg-video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #674ea7;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
  }
  
  .bbwqrg-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(58, 123, 213, 0.15);
  }
  
  /* 视频封面容器 */
  .bbwqrg-video-thumb {
    position: relative;
    width: 100%;
    padding-top: 133%; /* 3:4比例 */
    overflow: hidden;
  }
  
  .bbwqrg-video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .bbwqrg-video-card:hover .bbwqrg-video-thumb img {
    transform: scale(1.05);
  }
  
  /* 视频信息 */
  .bbwqrg-video-info {
    padding: 10px;
  }
  
  .bbwqrg-video-title {
    font-size: 14px;
    color: #ffffff;
    margin: 0 0 5px;
    font-weight: 500;
    line-height: 1.4;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  /* 视频标签 */
  .bbwqrg-video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  
  .bbwqrg-video-tag {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 12px;
    background: #674ea7;
    color: #ffffff;
  }
  
  /* 视频播放图标 */
  .bbwqrg-play-icon {
    position: absolute;
    right: 10px;
    bottom: 55px;
    width: 35px;
    height: 35px;
    background: #674ea7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
  }
  
  .bbwqrg-play-icon::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-left: 12px solid #3a7bd5;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
  }
  
  /* 视频浏览量标签 */
  .bbwqrg-video-views {
    position: absolute;
    left: 10px;
    bottom: 55px;
    padding: 3px 8px;
    font-size: 12px;
    background: #674ea7;
    color: #ffffff;
    border-radius: 4px;
    z-index: 2;
  }
  
  /* 原有列表样式 */
  .cate-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 10px;
  }
  
  .article {
    text-align: left;
    background: #674ea7;
    display: block;
    margin: 0 0 5% 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    width: 46%;
  }
  
  .article:hover {
    transform: scale(1.01);
  }
  
  .article img {
    border-radius: 5px;
    display: block;
    width: 100%;
    margin: 0;
  }
  
  .article span.statusIco {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 1px 5px;
    margin: 38px 5px;
  }
  
  .article span.zbz2 {
    border: 1px solid #fff;
    background-color: #ffffff;
    border-radius: 0 10px;
    color: #ffffff;
    box-shadow: 10px 13px 16px rgba(255, 255, 255, 0.5);
  }
  
  /* ================= 视频详情页样式 ================= */
  /* 详情页容器 */
  .bbwqrg-detail-container {
    padding: 15px 10px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* 视频详情卡片 */
  .bbwqrg-detail-card {
    background: #674ea7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
  }
  
  /* 视频封面区域 */
  .bbwqrg-detail-cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
    background: #674ea7;
    overflow: hidden;
  }
  
  .bbwqrg-detail-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* 视频信息标签 */
  .bbwqrg-detail-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #674ea7;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  /* 视频标题区域 */
  .bbwqrg-detail-title-area {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .bbwqrg-detail-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.3;
  }
  
  /* 视频元数据 */
  .bbwqrg-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #ffffff;
  }
  
  .bbwqrg-detail-meta-item {
    display: flex;
    align-items: center;
  }
  
  .bbwqrg-detail-meta-item i {
    margin-right: 5px;
    color: #ffffff;
  }
  
  /* 视频简介和信息 */
  .bbwqrg-detail-info {
    padding: 20px;
  }
  
  .bbwqrg-detail-summary {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
  }
  
  .bbwqrg-detail-summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  
  .bbwqrg-detail-summary-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #674ea7;
    margin-right: 8px;
    border-radius: 2px;
  }
  
  /* 视频详情文本样式修复 */
  .bbwqrg-detail-text {
    position: relative;
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding-bottom: 30px; /* 为展开按钮预留空间 */
  }
  
  .bbwqrg-detail-text.expanded {
    max-height: 2000px; /* 足够大的高度以容纳完整内容 */
  }
  
  .bbwqrg-detail-expand {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 30px 0 0;
    cursor: pointer;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    background: #674ea7;
    z-index: 2;
  }
  
  .bbwqrg-detail-expand i {
    margin-left: 5px;
    transition: transform 0.3s ease;
  }
  
  .bbwqrg-detail-expanded i {
    transform: rotate(180deg);
  }
  
  /* 播放选项区域 */
  .bbwqrg-play-options {
    margin-bottom: 20px;
  }
  
  .bbwqrg-play-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }
  
  .bbwqrg-play-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #674ea7;
    margin-right: 8px;
    border-radius: 2px;
  }
  
  .bbwqrg-play-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .bbwqrg-play-link {
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background: #674ea7;
    box-shadow: 0 3px 8px rgba(58, 123, 213, 0.3);
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .bbwqrg-play-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(58, 123, 213, 0.4);
  }
  
  /* 相关推荐区域 */
  .bbwqrg-related-section {
    margin-top: 25px;
  }
  
  /* 相关推荐标题样式同步更新 */
  .bbwqrg-related-title {
    position: relative;
    padding: 18px 20px;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background: #674ea7;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(58, 123, 213, 0.08);
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .bbwqrg-related-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: #674ea7;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(58, 123, 213, 0.5);
  }
  
  .bbwqrg-related-title::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: #674ea7;
    opacity: 0.1;
    border-radius: 50%;
    transition: all 0.3s ease;
    filter: blur(5px);
  }
  
  .bbwqrg-related-title:hover {
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.15);
    transform: translateY(-2px);
  }
  
  .bbwqrg-related-title:hover::after {
    transform: translateY(-50%) scale(1.3);
    opacity: 0.2;
  }
  
  .bbwqrg-related-title .title-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
  }
  
  .bbwqrg-related-title .title-icon {
    margin-right: 10px;
    font-size: 22px;
    background: #674ea7;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .bbwqrg-related-title:hover .title-icon {
    animation: pulse 1.5s infinite ease-in-out;
  }
  
  .bbwqrg-related-title .title-badge {
    margin-left: 10px;
    font-size: 12px;
    padding: 3px 10px;
    background: #674ea7;
    color: #ffffff;
    border-radius: 20px;
    font-weight: normal;
    transition: all 0.3s ease;
  }
  
  .bbwqrg-related-title:hover .title-badge {
    background: #674ea7;
    transform: translateX(3px);
  }
  
  .bbwqrg-related-title .shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: #674ea7;
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    animation-delay: 1s;
  }
  
  /* 播放器样式增强 */
  .bbwqrg-player-card {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #674ea7;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
  }
  
  .bbwqrg-player {
    width: 100%;
    height: 400px;
    background: #674ea7;
    position: relative;
  }
  
  .bbwqrg-player iframe, 
  .bbwqrg-player video,
  .bbwqrg-player embed,
  .bbwqrg-player object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
  }
  
  /* 修复加载层错位 */
  .loading {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2;
    background-color: #ffffff;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* 响应式播放器尺寸 */
  @media (max-width: 768px) {
    .bbwqrg-player {
      height: 250px;
    }
  }
  
  /* 分页样式优化 */
  #wr-page {
    margin: 25px 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .wrpage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #674ea7;
    height: 36px;
    line-height: 36px;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    color: #ffffff;
    min-width: 36px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(58, 123, 213, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #edf1f7;
  }
  
  .wrpage_number {
    width: 36px;
  }
  
  .wr_pageend {
    padding: 0 15px;
    font-size: 13px;
  }
  
  a.wrpage:hover {
    background: #674ea7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(58, 123, 213, 0.12);
    border-color: #ffffff;
  }
  
  .curwrpage {
    background: #674ea7;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(58, 123, 213, 0.2);
  }
  
  .curwrpage:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(58, 123, 213, 0.25);
  }
  
  .wr_dotted {
    height: 36px;
    line-height: 36px;
    display: inline-block;
    color: #ffffff;
    padding: 0 5px;
  }
  
  /* 分页输入框 */
  .page_input {
    height: 36px;
    border: 1px solid #edf1f7;
    background: #674ea7;
    color: #ffffff;
    padding: 0 10px;
    border-radius: 8px;
    width: 60px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(58, 123, 213, 0.08);
    transition: all 0.3s ease;
  }
  
  .page_input:focus {
    border-color: #ffffff;
    box-shadow: 0 2px 8px rgba(58, 123, 213, 0.15);
    outline: none;
  }
  
  .page_input::placeholder {
    color: #ffffff;
  }
  
  /* GO按钮 */
  .page_btn {
    height: 36px;
    font-weight: 600;
    font-size: 13px !important;
    cursor: pointer;
    padding: 0 !important;
    min-width: 50px !important;
    border: none;
    outline: none;
  }
  
  /* 为分页添加动态效果 */
  @keyframes pulse-shadow {
    0% { box-shadow: 0 4px 10px rgba(58, 123, 213, 0.2); }
    50% { box-shadow: 0 4px 15px rgba(58, 123, 213, 0.4); }
    100% { box-shadow: 0 4px 10px rgba(58, 123, 213, 0.2); }
  }
  
  .curwrpage {
    animation: pulse-shadow 2s infinite ease-in-out;
  }
  
  /* 响应式调整 */
  @media screen and (max-width: 480px) {
    #wr-page {
      gap: 5px;
    }
    
    .wrpage {
      height: 32px;
      line-height: 32px;
      min-width: 32px;
      font-size: 13px;
    }
    
    .wrpage_number {
      width: 32px;
    }
    
    .wr_pageend {
      padding: 0 10px;
      font-size: 12px;
    }
    
    .page_input {
      height: 32px;
      width: 50px;
      font-size: 13px;
    }
    
    .page_btn {
      height: 32px;
      min-width: 40px !important;
    }
  }
  
  /* ================= 响应式设计增强 ================= */
  @media screen and (min-width: 769px) {
    .ts-wrap,
    .bbwqrg-header-container,
    .bbwqrg-video-container,
    .bbwqrg-detail-container {
      max-width: 960px;
    }
    
    /* 增强桌面端的侧边装饰效果 */
    .ts-wrap::before, .ts-wrap::after {
      width: 12px;
    }
    
    .ts-wrap::before {
      left: -12px;
    }
    
    .ts-wrap::after {
      right: -12px;
    }
    
    /* 桌面端侧边浮动元素 */
    .shape-left {
      width: 500px;
      height: 500px;
      left: -200px;
      top: 15%;
    }
    
    .shape-right {
      width: 450px;
      height: 450px;
      right: -150px;
      bottom: 20%;
    }
    
    /* 添加侧边导航元素 */
    .side-nav {
      position: fixed;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 10;
    }
    
    .side-nav-item {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #674ea7;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .side-nav-item:hover,
    .side-nav-item.active {
      background: #674ea7;
      transform: scale(1.5);
    }
    
    .bbwqrg-logo-text {
      font-size: 26px;
    }
    
    .bbwqrg-nav {
      padding: 15px;
    }
    
    .bbwqrg-video-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    
    .bbwqrg-section-title,
    .bbwqrg-related-title {
      font-size: 20px;
    }
    
    .bbwqrg-detail-title {
      font-size: 22px;
    }
    
    .bbwqrg-detail-info {
      display: flex;
      flex-wrap: wrap;
    }
    
    .bbwqrg-detail-summary {
      width: 60%;
      padding-right: 20px;
    }
    
    .bbwqrg-play-options {
      width: 40%;
    }
    
    .player {
      height: 529px;
    }
  }
  
  /* 大屏幕设备的侧边装饰增强 */
  @media screen and (min-width: 1400px) {
    /* 侧边栏内容 */
    .side-content-left,
    .side-content-right {
      position: fixed;
      top: 0;
      width: calc((100% - 960px) / 2 - 30px);
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 2;
      pointer-events: none;
    }
    
    .side-content-left {
      left: 0;
      padding-right: 20px;
    }
    
    .side-content-right {
      right: 0;
      padding-left: 20px;
    }
    
    /* 侧边图形装饰 */
    .side-decoration {
      width: 100%;
      max-width: 200px;
      aspect-ratio: 1;
      background: #674ea7;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      backdrop-filter: blur(5px);
      margin: 20px 0;
      position: relative;
      overflow: hidden;
    }
    
    .side-decoration::before {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      background: #674ea7;
      filter: blur(20px);
      transform: translateY(30%);
    }
    
    .side-decoration:nth-child(even)::before {
      background: #674ea7;
      transform: translateY(-30%);
    }
    
    /* 浮动元素增强 */
    .shape-left {
      width: 600px;
      height: 600px;
      left: 5%;
      top: 15%;
      filter: blur(80px);
    }
    
    .shape-right {
      width: 550px;
      height: 550px;
      right: 5%;
      bottom: 20%;
      filter: blur(80px);
    }
    
    body::before {
      background: #674ea7;
    }
    
    /* 左侧装饰图形 */
    body::after {
      content: "";
      position: fixed;
      top: 50%;
      left: calc(50% + 500px);
      width: 180px;
      height: 180px;
      background: #674ea7;
      border-radius: 50%;
      z-index: -1;
      animation: float2 8s ease-in-out infinite;
      animation-delay: 1s;
    }
    
    @keyframes float2 {
      0% { transform: translateY(0) scale(1); }
      50% { transform: translateY(30px) scale(1.1); }
      100% { transform: translateY(0) scale(1); }
    }
  }
  
  @media screen and (max-width: 738px) {
    .player {
      height: 250px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .bbwqrg-logo-text {
      font-size: 18px;
    }
    
    .bbwqrg-search-input {
      height: 40px;
    }
    
    .bbwqrg-search-btn {
      height: 40px;
      width: 60px;
      font-size: 14px;
    }
    
    .bbwqrg-nav-item {
      padding: 6px 10px;
      font-size: 13px;
    }
    
    .bbwqrg-video-grid {
      gap: 10px;
    }
    
    .bbwqrg-video-title {
      font-size: 13px;
    }
    
    .bbwqrg-play-icon {
      width: 30px;
      height: 30px;
      right: 8px;
      bottom: 50px;
    }
    
    .bbwqrg-video-views {
      left: 8px;
      bottom: 50px;
      font-size: 11px;
    }
    
    .bbwqrg-detail-title-area,
    .bbwqrg-detail-info {
      padding: 15px;
    }
    
    .bbwqrg-detail-title {
      font-size: 16px;
    }
    
    .bbwqrg-detail-meta {
      gap: 10px;
      font-size: 12px;
    }
    
    .bbwqrg-play-link {
      padding: 10px 15px;
      font-size: 13px;
    }
  }
  
  /* Toast提示 */
  #bbwqrg-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* ================= 新设计的底部UI样式 ================= */
  .bbwqrg-footer {
    margin-top: 40px;
    background: #674ea7;
    color: #ffffff;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
  }
  
  /* 友情链接区域 */
  .bbwqrg-footer-links {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .bbwqrg-footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    display: flex;
    align-items: center;
  }
  
  .bbwqrg-footer-icon {
    margin-right: 8px;
    font-style: normal;
  }
  
  .bbwqrg-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .bbwqrg-link-item {
    display: inline-block;
    padding: 6px 12px;
    background: #674ea7;
    border-radius: 20px;
    font-size: 13px;
    color: #ffffff;
    transition: all 0.3s ease;
  }
  
  .bbwqrg-link-item:hover {
    background: #674ea7;
    color: #ffffff;
    transform: translateY(-2px);
  }
  
  /* 网站导航区域 */
  .bbwqrg-footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 25px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .bbwqrg-footer-nav-column {
    padding: 0 10px;
  }
  
  .bbwqrg-footer-column-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    position: relative;
    padding-left: 12px;
  }
  
  .bbwqrg-footer-column-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    height: 14px;
    width: 3px;
    background: #674ea7;
    border-radius: 2px;
  }
  
  .bbwqrg-footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .bbwqrg-footer-nav-link {
  color: #ffffff;
  color: #111111;
    color: #111111;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
  }
  
  .bbwqrg-footer-nav-link:hover {
    color: #ffffff;
    transform: translateX(5px);
  }
  
  /* 联系信息 */
  .bbwqrg-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .bbwqrg-footer-contact-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
  }
  
  /* 免责声明区域 */
  .bbwqrg-footer-disclaimer {
    padding: 25px 20px;
    background: #674ea7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .bbwqrg-disclaimer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .bbwqrg-disclaimer-text {
    font-size: 13px;
    line-height: 1.6;
    color: #ffffff;
  }
  
  /* 版权信息区域 */
  .bbwqrg-footer-copyright {
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
    background: #674ea7;
  }
  
  /* 响应式调整 */
  @media screen and (max-width: 768px) {
    .bbwqrg-footer-nav {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .bbwqrg-footer-title,
    .bbwqrg-disclaimer-title {
      font-size: 16px;
    }
    
    .bbwqrg-footer-column-title {
      font-size: 15px;
    }
    
    .bbwqrg-disclaimer-text {
      font-size: 12px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .bbwqrg-footer {
      margin-top: 30px;
      border-radius: 10px 10px 0 0;
    }
    
    .bbwqrg-footer-links,
    .bbwqrg-footer-nav,
    .bbwqrg-footer-disclaimer {
      padding: 20px 15px;
    }
    
    .bbwqrg-link-item {
      padding: 5px 10px;
      font-size: 12px;
    }
  }
  
  /* ================= 选集功能样式 ================= */
  .bbwqrg-playlist-section {
    margin-top: 25px;
    margin-bottom: 25px;
    background: #674ea7;
    border-radius: 12px;
    padding: 0 0 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }
  
  /* 播放组切换标签 */
  .bbwqrg-playlist-tabs {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 10px;
    background: #674ea7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .bbwqrg-playlist-tab {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #ffffff;
    background: #674ea7;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
  }
  
  .bbwqrg-playlist-tab:hover {
    background: #674ea7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(58, 123, 213, 0.1);
  }
  
  .bbwqrg-playlist-tab.active {
    background: #674ea7;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(58, 123, 213, 0.2);
  }
  
  .tab-icon {
    margin-right: 6px;
    font-size: 16px;
  }
  
  /* 集数列表 */
  .bbwqrg-episodes-container {
    padding: 20px;
  }
  
  .bbwqrg-episodes-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 15px;
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  .bbwqrg-episodes-grid.expanded {
    max-height: 2000px; /* 足够大的高度以容纳所有内容 */
  }
  
  .bbwqrg-episode-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #674ea7;
    border-radius: 8px;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
  }
  
  .bbwqrg-episode-item:hover {
    background: #674ea7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(58, 123, 213, 0.1);
  }
  
  .bbwqrg-episode-item.active {
    background: #674ea7;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(58, 123, 213, 0.2);
  }
  
  /* 显示更多按钮 */
  .bbwqrg-episodes-more {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
    color: #ffffff;
    background: #674ea7;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .bbwqrg-episodes-more:hover {
    background: #674ea7;
  }
  
  .bbwqrg-episodes-more span {
    margin-right: 5px;
  }
  
  .bbwqrg-episodes-more i {
    transition: transform 0.3s ease;
  }
  
  .bbwqrg-episodes-more.expanded i {
    transform: rotate(180deg);
  }
  
  /* 响应式调整 */
  @media (max-width: 768px) {
    .bbwqrg-episodes-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  @media (max-width: 480px) {
    .bbwqrg-episodes-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .bbwqrg-playlist-tab {
      padding: 6px 12px;
      font-size: 13px;
    }
    
    .tab-icon {
      font-size: 14px;
    }
  }
  
  /* 统计代码（隐藏） */
  .bbwqrg-statistics {
    display: none;
  } 