/* 抖音热搜榜基础样式 */
.douyin-hot-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* 标题区域 */
.douyin-hot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.douyin-hot-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
}

.douyin-hot-indicator {
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #fe2c55;
    margin-right: 8px;
    border-radius: 2px;
}

.douyin-hot-update {
    font-size: 12px;
    color: #999;
}

/* 滚动容器 */
.douyin-hot-scroll {
    height: 400px;
    overflow-y: auto;
    padding: 0 20px;
    scrollbar-width: thin;
    scrollbar-color: #eee #fff;
}

/* 列表样式 */
.douyin-hot-list {
    padding: 4px 0;
}

.douyin-hot-list a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
    text-decoration: none;
}

.douyin-hot-list a:hover {
    background: #f9f9f9;
}

/* 排名样式 */
.douyin-hot-rank {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    margin-right: 12px;
}

.douyin-hot-rank.top3 {
    background: #fe2c55;
    color: #fff;
}

.douyin-hot-rank.other {
    background: #f5f5f5;
    color: #666;
}

/* 内容样式 */
.douyin-hot-content {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
    color: #1a1a1a;
}

.douyin-hot-hot {
    color: #fe2c55;
    font-size: 12px;
    margin-left: 8px;
}

.douyin-hot-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    color: #ccc;
}

/* 加载状态 */
.douyin-hot-loading {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 14px;
}

.douyin-hot-loading-tip {
    font-size: 12px;
    color: #ccc;
    margin-top: 8px;
}

/* 异常状态 */
.douyin-hot-empty,
.douyin-hot-error {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}

/* 夜间模式适配（与全局夜间模式类联动） */
body.io-black-mode .douyin-hot-container {
    background: #1a1a1a;
    color: #f5f5f5;
}

body.io-black-mode .douyin-hot-header {
    border-bottom-color: #333;
}

body.io-black-mode .douyin-hot-list a {
    border-bottom-color: #333;
    color: #f5f5f5;
}

body.io-black-mode .douyin-hot-list a:hover {
    background: #2c2c2c;
}

body.io-black-mode .douyin-hot-content {
    color: #f5f5f5;
}

body.io-black-mode .douyin-hot-loading,
body.io-black-mode .douyin-hot-empty,
body.io-black-mode .douyin-hot-error {
    color: #aaa;
}

body.io-black-mode .douyin-hot-loading-tip {
    color: #555;
}



/*新增卡片*/













.loader {
                width: 250px;
                height: 50px;
                line-height: 50px;
                text-align: center;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                font-family: helvetica, arial, sans-serif;
                text-transform: uppercase;
                font-weight: 900;
                color: #f1404b;
                letter-spacing: 0.2em
            }

            .loader::before,
            .loader::after {
                content: "";
                display: block;
                width: 15px;
                height: 15px;
                background: #f1404b;
                position: absolute;
                animation: load .7s infinite alternate ease-in-out
            }

            .loader::before {
                top: 0
            }

            .loader::after {
                bottom: 0
            }

            @keyframes load {
                0% {
                    left: 0;
                    height: 30px;
                    width: 15px
                }

                50% {
                    height: 8px;
                    width: 40px
                }

                100% {
                    left: 235px;
                    height: 30px;
                    width: 15px
                }
            }
/*弹窗*/
h1 {
    font-size: 24px; /* 可根据需求调整大小 */
    box-sizing: border-box;
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #ccc;
}
.h2r {
    font-size: 10px; /* 可根据需求调整大小 */
    box-sizing: border-box;
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #ccc;
}

    


        
/*网站推荐*/        
        
.recommend-tag {
            position: absolute;
            top: 3px;
            right: 3px;
            background-color: red;
            color: white;
            padding: 1px 2px;
            border-radius: 2px;
            font-size: 5px;
            z-index: 1;
        }
        .recommend-tag1 {
            position: absolute;
            top: 3px;
            right: 3px;
            background-color: #FFD700;
            color: white;
            padding: 1px 2px;
            border-radius: 2px;
            font-size: 5px;
            z-index: 1;
        }
        .recommend-tag2 {
            position: absolute;
            top: 3px;
            right: 3px;
            background-color: blue;
            color: white;
            padding: 1px 2px;
            border-radius: 2px;
            font-size: 5px;
            z-index: 1;
        }
        .recommend-tag3 {
            position: absolute;
            top: 3px;
            right: 3px;
            background-color: #999;
            color: white;
            padding: 1px 2px;
            border-radius: 2px;
            font-size: 5px;
            z-index: 1;
        }
        .recommend-tag4 {
    position: absolute;
    top: 3px;
    left: 3px; /* 从right改为left */
    background-color: #FFA500;
    color: white;
    padding: 1px 2px;
    border-radius: 2px;
    font-size: 6px;
    z-index: 1;
}
.recommend-tag5 {
    position: absolute;
    top: 3px;
    left: 3px; /* 从right改为left */
    background-color: red;
    color: white;
    padding: 1px 2px;
    border-radius: 2px;
    font-size: 5px;
    z-index: 1;
}


/*广告位*/  
.ad-container {  
    display: flex;  
    flex-direction: column;  
    width: 100%;  
    margin-top: 5px; /* 顶部间距 */  
}  
  
.large-ad {  
    margin-bottom: 2px; /* 大图之间的间距 */  
}  
  
.large-ad img, .small-ad img {  
    width: 100%;  
    height: auto;  
    display: block;  
}  
  
.small-ads {  
    display: flex;  
    flex-wrap: wrap;  
    justify-content: space-between;  
}  
  
.small-ad-row {  
    width: 100%;  
    display: flex;  
    justify-content: space-between;  
    margin-bottom: 2px; /* 小图行之间的间距 */  
}  
  
.small-ad {  
    flex: 0 0 calc(50% - 1px); /* 减去间距的一半 */  
    margin-bottom: 2px; /* 小图之间的间距 */  
}  
  
.ad-link {  
    position: relative;  
    display: block;  
    overflow: hidden; /* 确保广告标签不会溢出图片 */  
}  
  
.ad-label {  
    position: absolute;  
    right: -4px;  
    bottom: 5px;   
    color: white; /* 文字颜色为白色 */  
    padding: 2px 5px; /* 内边距调整 */  
    border-radius: 3px; /* 圆角 */  
    font-size: 9px; /* 字体大小 */  
}  
/* 广告位整体容器 */
/* 广告位整体容器 */
.unique-ad-outer-wrap {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  padding: 8px;
  background-color: var(--outer-bg, rgba(245, 245, 245, 0.8));
}

/* 单个广告位 - 定义颜色变量 */
.distinct-ad-unit {
  width: 23%;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  background-color: var(--ad-bg, rgba(255, 255, 255, 0.3));
  border: 1px solid var(--border-color, #eaeaea);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: border-color 0.3s ease;
}

.distinct-ad-unit:hover {
  border-color: var(--hover-border, #ccc);
}

/* 广告位内的链接 */
.ad-content-link {
  display: block;
  padding: 8px;
  text-decoration: none;
  color: var(--text-color, #444);
  font-size: 12px;
  line-height: 1.3;
  transition: all 0.3s ease;
}

.ad-content-link:hover {
  background-color: var(--hover-bg, #f9f9f9);
  transform: translateY(-1px);
}

/* 广告标识 */
.ad-identifier {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--identifier-bg, #e0e0e0);
  color: var(--identifier-color, #777);
  font-size: 8px;
  padding: 1px 3px;
  border-top-left-radius: 3px;
  opacity: 0.6;
  font-style: italic;
}

/* 媒体查询 - 手机版适配 */
@media (max-width: 768px) {
  .distinct-ad-unit {
    width: 23%;
    margin-bottom: 10px;
  }
}

/* 夜间模式类名适配（匹配原JS的io-black-mode和io-grey-mode） */
.io-black-mode .unique-ad-outer-wrap,
.io-black-mode .distinct-ad-unit,
.io-black-mode .ad-content-link,
.io-black-mode .ad-identifier {
  --outer-bg: rgba(30, 30, 30, 0.8);
  --ad-bg: rgba(50, 50, 50, 0.3);
  --border-color: #4a4a4a;
  --hover-border: #666;
  --text-color: #ddd;
  --hover-bg: rgba(80, 80, 80, 0.5);
  --identifier-bg: #4a4a4a;
  --identifier-color: #aaa;
}

.io-grey-mode .unique-ad-outer-wrap,
.io-grey-mode .distinct-ad-unit,
.io-grey-mode .ad-content-link,
.io-grey-mode .ad-identifier {
  --outer-bg: rgba(245, 245, 245, 0.8);
  --ad-bg: rgba(255, 255, 255, 0.3);
  --border-color: #eaeaea;
  --hover-border: #ccc;
  --text-color: #444;
  --hover-bg: #f9f9f9;
  --identifier-bg: #e0e0e0;
  --identifier-color: #777;
}

	
	
	
	

/*轮番图代码开始*/


   .slider-container {
      width: 100%;
      position: relative;
      overflow: hidden;
    }

   .slider {
      display: flex;
      width: 100%;
    }

   .slider img {
      width: 100%;
      height: auto;
      display: none;
      cursor: pointer;
      flex-shrink: 0;
    }

   .slider img.active {
      display: block;
    }

   .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
      cursor: pointer;
      color: #007BFF;
      background-color: rgba(255, 255, 255, 0.3);
      padding: 5px 10px;
      border-radius: 5px;
      transition: opacity 0.3s ease;
      opacity: 0.7;
    }

   .arrow:hover {
      opacity: 1;
    }

   .prev {
      left: 10px;
    }

   .next {
      right: 10px;
    }
    /*轮番图代码结束*/
    /* 给最外层容器设置宽度和水平滚动属性 */
        #search-list-menu {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch; /* 优化移动端滚动体验 */
        }

       .hide-type-list {
            /* 可以根据需要设置其他样式，这里先不添加以免影响原样式 */
        }

       .s-type {
            text-align: center;
        }

       .s-type-list.big {
            /* 可以根据需要设置其他样式，这里先不添加以免影响原样式 */
        }

       .anchor {
            position: absolute;
            left: 50%;
            opacity: 0;
        }

       .s-type-list label {
            display: inline-block;
            /* 原样式中的其他属性 */
        }
  
  
  
  


    
    
    .colorful-text {

      background: linear-gradient(45deg, #ff00a9, #fffb00, #00ff7f, #0088ff);

      -webkit-background-clip: text;

      -webkit-text-fill-color: transparent;

      animation: rainbow 5s linear infinite;

    }
    
    
        #footer-tools [data-v-db6ccf64][data-v-41ba7e2c] {
            top: unset !important;
            bottom: 0 !important;
            right: 44px !important
        }

        .io.icon-fw,
        .iconfont.icon-fw {
            width: 1.15em;
        }

        .io.icon-lg,
        .iconfont.icon-lg {
            font-size: 1.5em;
            line-height: .75em;
            vertical-align: -.125em;
        }

        .screenshot-carousel .img_wrapper a {
            display: contents
        }

        .fancybox-slide--iframe .fancybox-content {
            max-width: 1280px;
            margin: 0
        }

        .fancybox-slide--iframe.fancybox-slide {
            padding: 44px 0
        }

        .navbar-nav .menu-item-286 a {
            background: #ff8116;
            border-radius: 50px !important;
            padding: 5px 10px !important;
            margin: 5px 0 !important;
            color: #fff !important;
        }

        .navbar-nav .menu-item-286 a i {
            position: absolute;
            top: 0;
            right: -10px;
            color: #f13522;
        }

        .io-black-mode .navbar-nav .menu-item-286 a {
            background: #ce9412;
        }

        .io-black-mode .navbar-nav .menu-item-286 a i {
            color: #fff;
        }
        /*悬浮按钮*/
        #jumpButton {
      position: fixed;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 30px;
      height: 30px;
      background-color: #007BFF;
      color: white;
      font-size: 12px;
      border: none;
      border-radius: 5px;
      box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    #jumpButton:hover {
      background-color: #0056b3;
    }
    
    
    
    /*日历时间每日一言*/
/* 名言卡片组件 - 最小化样式影响版本 */
.quote-container {
    width: 90%;
    max-width: 320px;
    margin: 10px auto 0;
    background: var(--component-bg, transparent);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -2px;
    background: var(--header-bg, transparent);
}
.header-title, .time-display {
    font-weight: 500;
    background-color: var(--content-bg, #fff);
    display: inline-block;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.06);
    border-radius: 8px 8px 0 0;
}
.header-title {
    font-size: 0.9rem;
    color: var(--title-color, #555);
    padding: 4px 10px;
}
.time-display {
    font-size: 0.7rem;
    color: var(--time-color, #888);
    padding: 4px 8px;
    border-radius: 0 8px 0 0;
}

.quote-box {
    padding: 12px 15px; 
    background: var(--content-bg, #fff);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    text-align: center;
}

/* 响应式适配（仅保留必要部分） */
@media (min-width: 768px) {
    .quote-container { max-width: 600px; }
    .header-title { font-size: 1.1rem; padding: 6px 14px; }
    .time-display { font-size: 0.8rem; padding: 6px 10px; }
}

@media (max-width: 320px) {
    .quote-container { max-width: 280px; }
    .header-title { font-size: 0.8rem; padding: 3px 8px; }
    .time-display { font-size: 0.6rem; padding: 3px 6px; }
    .quote-box { padding: 10px 12px; }
}

/* 夜间模式适配（通过类名控制，不影响全局） */
.io-black-mode .quote-container { --component-bg: transparent; }
.io-black-mode .header { --header-bg: transparent; }
.io-black-mode .header-title, .io-black-mode .time-display, .io-black-mode .quote-box {
    --content-bg: #2d2d2d;
    --title-color: #e0e0e0;
    --time-color: #a0a0a0;
}

.io-grey-mode .header-title, .io-grey-mode .time-display, .io-grey-mode .quote-box {
    --content-bg: #fff;
    --title-color: #555;
    --time-color: #888;
}
    
        
        
        /*新弹窗代码*/
/* 命名空间样式前缀，避免类名冲突 */
.yct-popover {
  --yct-primary: #4a6cf7;
  --yct-accent: #ff4d4f;
  --yct-bg-gray: #f5f7fa;
  --yct-text-gray: #666;
  --yct-border: #e5e7eb;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  touch-action: manipulation; /* 优化移动端触摸体验 */
}
.yct-popover.active {
  opacity: 1;
  visibility: visible;
}

.yct-popup {
  width: 90%;
  max-width: 520px;
  background: var(--popup-bg, #fff);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: yctPopupShow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.4s;
  will-change: transform; /* 提升动画性能 */
}
.yct-popover.active .yct-popup {
  transform: scale(1);
}
@keyframes yctPopupShow {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.yct-header {
  padding: 20px 24px;
  background: var(--header-bg, var(--yct-bg-gray));
  border-bottom: 1px solid var(--yct-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.yct-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--header-text, #333);
  display: flex;
  align-items: center;
  gap: 8px;
}

.yct-header-tip {
  background: var(--yct-primary);
  color: white;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: yctPulse 2s infinite;
  white-space: nowrap; /* 防止提示文字换行 */
}
@keyframes yctPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}
.yct-header-tip::before {
  content: "";
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  animation: yctBounce 1.5s infinite;
}
@keyframes yctBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.yct-close-btn {
  cursor: pointer;
  font-size: 24px;
  color: var(--close-color, #999);
  border: none;
  background: transparent;
  transition: color 0.2s;
  outline: none; /* 修复聚焦时边框bug */
}
.yct-close-btn:hover { color: var(--close-hover, #666); }
.yct-close-btn:focus { color: var(--close-focus, #333); }

.yct-content-wrap {
  max-height: 70vh;
  overflow-y: auto;
  flex: 1;
  padding: 24px;
  -ms-overflow-style: none; /* 隐藏IE滚动条 */
  scrollbar-width: none; /* 隐藏Firefox滚动条 */
}
.yct-content-wrap::-webkit-scrollbar {
  width: 6px; /* 优化webkit滚动条 */
}
.yct-content-wrap::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb, #ddd);
  border-radius: 3px;
}

.yct-content {
  line-height: 1.8;
  color: var(--content-text, #444);
}

.yct-highlight-tip {
  color: var(--yct-accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.yct-highlight-tip::before {
  content: "💡";
  font-size: 18px;
}

.yct-highlight {
  color: var(--yct-primary);
  font-weight: 600;
}

.yct-quick-access {
  margin-top: 20px;
}
.yct-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--yct-border);
  border-radius: 8px;
  background: var(--btn-bg, #fff);
  color: var(--yct-primary);
  font-size: 15px;
  text-align: left;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box; /* 修复按钮尺寸计算bug */
}
.yct-btn:hover {
  background: var(--btn-hover-bg, var(--yct-bg-gray));
  border-color: var(--btn-hover-border, #d9e0ee);
  color: #3a5cf6;
  box-shadow: 0 2px 8px rgba(74, 108, 247, 0.1);
}
.yct-btn i {
  color: var(--yct-primary);
}

.yct-actions {
  padding: 16px 24px;
  border-top: 1px solid var(--yct-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.yct-actions button {
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
}
.yct-close {
  background: var(--close-bg, #f0f2f5);
  color: var(--close-text, #666);
}
.yct-close:hover {
  background: var(--close-hover-bg, #e5e7eb);
}
.yct-primary-btn {
  background: var(--yct-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(74, 108, 247, 0.2);
}
.yct-primary-btn:hover {
  background: #3a5cf6;
  box-shadow: 0 3px 12px rgba(74, 108, 247, 0.3);
}

/* 夜间模式类名适配（匹配原JS的io-black-mode和io-grey-mode） */
.io-black-mode .yct-popup,
.io-black-mode .yct-header,
.io-black-mode .yct-content-wrap,
.io-black-mode .yct-btn,
.io-black-mode .yct-close {
  --popup-bg: #2d2d2d;
  --header-bg: #3a3a3a;
  --header-text: #f5f5f5;
  --close-color: #999;
  --close-hover: #ccc;
  --close-focus: #fff;
  --scrollbar-thumb: #555;
  --content-text: #e0e0e0;
  --btn-bg: #3a3a3a;
  --btn-hover-bg: #4a4a4a;
  --btn-hover-border: #5a5a5a;
  --close-bg: #4a4a4a;
  --close-text: #ccc;
  --close-hover-bg: #5a5a5a;
}

.io-grey-mode .yct-popup,
.io-grey-mode .yct-header,
.io-grey-mode .yct-content-wrap,
.io-grey-mode .yct-btn,
.io-grey-mode .yct-close {
  --popup-bg: #fff;
  --header-bg: var(--yct-bg-gray);
  --header-text: #333;
  --close-color: #999;
  --close-hover: #666;
  --close-focus: #333;
  --scrollbar-thumb: #ddd;
  --content-text: #444;
  --btn-bg: #fff;
  --btn-hover-bg: var(--yct-bg-gray);
  --btn-hover-border: #d9e0ee;
  --close-bg: #f0f2f5;
  --close-text: #666;
  --close-hover-bg: #e5e7eb;
}

@media (max-width: 500px) {
  .yct-popup { 
    width: 95%;
    border-radius: 14px;
  }
  .yct-content-wrap {
    max-height: 65vh;
    padding: 20px;
  }
  .yct-header {
    padding: 16px 20px;
  }
  .yct-header h2 {
    font-size: 18px;
  }
  .yct-highlight-tip {
    font-size: 14px;
  }
  .yct-btn, .yct-actions button {
    padding: 10px 14px;
    font-size: 14px;
  }
}
/* 福利推荐模块 - 透明背景+JS适配 */
:root {
  --primary-gradient-start: #409EFF;
  --primary-gradient-end: #67c2e3;
  --primary-color: #409EFF;
  --light-text: #303133;
  --light-border: #dcdfe6;
  --light-bg: #f0f9ff;
  --light-card-bg: #e6f7ff;
  
  --dark-text: #e0e0e0;
  --dark-border: #4a4a4a;
  --dark-bg: #1e1e1e;
  --dark-card-bg: #2d2d2d;
  
  --hover-shadow: 0 6px 16px rgba(0,0,0,0.06);
  --transition: all 0.3s ease;
}

.sc-saving-helper {
  max-width: 600px;
  margin: 24px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background-color: transparent; /* 透明背景 */
  transition: var(--transition);
}
.sc-saving-helper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.sc-header {
  padding: 20px 28px;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: #fff;
  position: relative;
}
.sc-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
}
.sc-tag-icon {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 12px;
  font-weight: bold;
}
.sc-tag-text {
  font-size: 20px;
  font-weight: 700;
}

.sc-container {
  padding: 24px;
  border-radius: 0 0 20px 20px;
  transition: var(--transition);
}

.sc-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light-border);
  position: relative;
  transition: var(--transition);
}
.sc-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
}

.sc-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.sc-card-item {
  display: flex;
  align-items: center;
  background-color: var(--light-card-bg);
  padding: 18px 24px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--light-text);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--light-border);
}
.sc-card-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-color);
  border-radius: 12px 0 0 12px;
  opacity: 0;
  transition: opacity var(--transition);
}
.sc-card-item:hover {
  background-color: #fff;
  box-shadow: var(--hover-shadow);
  transform: translateX(4px);
}
.sc-card-item:hover::before {
  opacity: 1;
}
.sc-card-icon {
  width: 32px;
  height: 32px;
  margin-right: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.card-content {
  flex: 1;
}
.sc-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.sc-card-desc {
  font-size: 14px;
  color: #606266;
}
.sc-arrow {
  font-size: 20px;
  color: #c0c4cc;
  margin-left: 16px;
  transition: color var(--transition);
}
.sc-card-item:hover .sc-arrow {
  color: var(--primary-color);
}

.sc-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sc-btn-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--light-text);
  font-size: 14px;
  border: 1px solid var(--light-border);
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.sc-btn-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(64, 158, 255, 0.1), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.sc-btn-item:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.02);
}
.sc-btn-item:hover::before {
  transform: scaleX(1);
}
.sc-btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* 深色模式适配类 - 需通过JS添加 */
.sc-saving-helper.dark-mode .sc-container {
  background-color: var(--dark-bg);
}
.sc-saving-helper.dark-mode .sc-title {
  color: var(--dark-text);
  border-bottom-color: var(--dark-border);
}
.sc-saving-helper.dark-mode .sc-card-item {
  background-color: var(--dark-card-bg);
  color: var(--dark-text);
  border-color: var(--dark-border);
}
.sc-saving-helper.dark-mode .sc-card-desc {
  color: #a0a0a0;
}
.sc-saving-helper.dark-mode .sc-arrow {
  color: #707070;
}
.sc-saving-helper.dark-mode .sc-card-item:hover {
  background-color: #3a3a3a;
}
.sc-saving-helper.dark-mode .sc-btn-item {
  background-color: var(--dark-card-bg);
  color: var(--dark-text);
  border-color: var(--dark-border);
}
.sc-saving-helper.dark-mode .sc-btn-item:hover {
  border-color: #67c2e3;
  color: #67c2e3;
}

/* 响应式适配 */
@media (max-width: 640px) {
  .sc-saving-helper {
    margin: 16px;
    border-radius: 16px;
  }
  .sc-header {
    padding: 16px 20px;
  }
  .sc-tag-icon {
    padding: 3px 8px;
    font-size: 14px;
  }
  .sc-tag-text {
    font-size: 18px;
  }
  .sc-container {
    padding: 20px;
  }
  .sc-card-item {
    padding: 16px 20px;
  }
  .sc-card-icon {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 375px) {
  .sc-btn-group {
    flex-direction: column;
  }
  .sc-btn-item {
    justify-content: flex-start;
  }
}