
    /* 全局基础重置，彻底消除默认边距导致的滚动条 */
    :root {
        --primary-purple: #7a42f4;
        --btn-dark-blue: #1a237e;
        --text-dark: #212121;
        --text-light: #ffffff;
        --card-radius: 12px;
        --safe-bottom: env(safe-area-inset-bottom, 0px);
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    html, body {
        width: 100vw;
        min-height: 100vh;
        overflow-x: hidden; /* 彻底禁止横向滚动条 */
        background-color: #f5f5f5;
        color: var(--text-dark);
        font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
        line-height: 1.6;
        padding-bottom: calc(50px + var(--safe-bottom)); /* 适配底部悬浮栏，避免内容被遮挡 */
    }
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* 顶部网站标题栏：完全居中对齐，适配安全区域 */
    .site-header {
        background: linear-gradient(90deg, var(--primary-purple), #b388ff);
        padding: 12px 16px;
        text-align: center;
        color: var(--text-light);
        font-size: 1.2rem;
        font-weight: 600;
        width: 100%;
    }

    /* 图片轮播区域：支持动态数量，自动适配宽度，无溢出 */
    .banner-swiper {
        position: relative;
        width: calc(100% - 16px);
        height: 100px;
        overflow: hidden;
        border-radius: 12px;
        margin: 8px auto;
    }
    .banner-container {
        display: flex;
        transition: transform 0.5s ease;
        height: 100%;
        /* 直接设置为足够大的宽度，完全适配任意数量轮播项 */
        width: 9999px;
    }
    .banner-item {
        /* 强制每一项宽度和父容器完全一致，单屏只显示1张图 */
        width: calc(100vw - 16px);
        height: 100%;
        flex-shrink: 0;
        display: block;
    }
    .banner-item img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        display: block;
    }
    .swiper-dots {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
    }
    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.6);
        cursor: pointer;
    }
    .dot.active {
        background-color: #ffffff;
    }

    /* 站长推荐区域：全内容居中对齐，APP网格自适应 */
    .recommend-section {
        padding: 16px;
        max-width: 720px;
        margin: 0 auto; /* 桌面端自动居中 */
    }
    .section-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 16px;
        border-left: 4px solid var(--primary-purple);
        padding-left: 8px;
        text-align: left;
    }
    .app-grid {
        display: grid;
        /* 移动端自动4列，桌面端自动5列，所有卡片自动居中对齐 */
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 16px;
        justify-items: center;
    }
    .app-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 70px;
    }
    .app-card a {text-decoration: none}
    .app-icon {
        width: 70px;
        height: 70px;
        border-radius: 12px;
        background-color: #ffccbc;
        /*border: 2px solid red;*/
        display: flex;
        align-items: center;
        justify-content: center;
        color: red;
        font-weight: 600;
    }
    .app-name {
        font-size: 0.9rem;
        color: red;
        text-align: center;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .download-btn {
        width: 100%;
        padding: 6px 12px;
        /*background-color: var(--btn-dark-blue);*/
        background-color: #ff5a91;
        color: var(--text-light);
        border: none;
        border-radius: 20px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        /*width: 120px;*/
    }
    .download-btn:hover {
        background-color: #283593;
    }
    
    .ad-link{width:100%;text-align:cente;padding:16px auto;font-size:20px;}

    /* 底部悬浮下载轮播栏：适配全面屏安全区域，全内容居中 */
    .app-download-swiper-renamed {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100vw;
      height: 90px;
      /*background: #ff5a91;*/
      border-top: 1px solid #f0f0f0;
      overflow: hidden;
      z-index: 999;
      padding-bottom: env(safe-area-inset-bottom);
    }
    .swiper-track-renamed {
      display: flex;
      height: 100%;
      transition: transform 0.5s ease;
      will-change: transform;
    }
    .swiper-item-renamed {
      width: 100vw;
      height: 100%;
      background-color: #ff5a91;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 12px;
      flex-shrink: 0;
      cursor: pointer;
    }
    .item-left-renamed {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 1;
      overflow: hidden;
    }
    .app-icon-renamed {
      width: 75px;
      height: 75px;
      border-radius: 12px;
      border: 2px solid #e91e63;
      background: #e91e63;
      flex-shrink: 0;
    }
    .app-info-renamed {
      flex: 1;
      overflow: hidden;
    }
    .app-name-renamed {
      font-size: 18px;
      color: #ffffff;
      font-weight: 500;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .app-desc-renamed {
      font-size: 12px;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .download-btn-renamed {
      background: linear-gradient(90deg, #f11e66 0%, #a70039 100%);
      color: #fff;
      border: none;
      border-radius: 20px;
      padding: 8px 20px;
      font-size: 14px;
      flex-shrink: 0;
    }
    .swiper-dots-renamed {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 6px;
    }
    .dot-renamed {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(0,0,0,0.2);
      transition: all 0.3s ease;
    }
    .dot-renamed.active {
      background: #ff4081;
      width: 14px;
      border-radius: 3px;
    }
    
    /* 所有样式命名全部加footer前缀，完全不与原有banner类名重名 */
    .footer-notice-swiper {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      padding: 0 16px;
      display: flex;
      align-items: center;
      overflow: hidden;
      box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
      z-index: 999;
      padding-bottom: env(safe-area-inset-bottom);
    }
    .footer-swiper-track {
      display: flex;
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      height: 100%;
      width: 9999px;
    }
    .footer-swiper-item {
      width: calc(100vw - 120px);
      height: 100%;
      display: flex;
      align-items: center;
      gap: 12px;
      color: #fff;
      text-decoration: none;
      flex-shrink: 0;
    }
    .footer-item-icon {
      font-size: 24px;
      flex-shrink: 0;
    }
    .footer-item-content {
      flex: 1;
      overflow: hidden;
    }
    .footer-item-title {
      font-size: 15px;
      font-weight: 500;
      margin-bottom: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .footer-item-desc {
      font-size: 12px;
      opacity: 0.9;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .footer-swiper-control {
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
    }
    .footer-swiper-dots {
      display: flex;
      gap: 6px;
    }
    .footer-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: rgba(255,255,255,0.5);
      transition: all 0.3s ease;
      cursor: pointer;
    }
    .footer-dot.active {
      width: 16px;
      border-radius: 3px;
      background-color: #fff;
    }
    .footer-swiper-pause {
      background: rgba(255,255,255,0.2);
      border: none;
      border-radius: 4px;
      padding: 2px 6px;
      font-size: 12px;
      cursor: pointer;
      color: #fff;
    }

    /* 桌面端大屏适配优化 */
    @media (min-width: 768px) {
        .banner-swiper {
            max-width: 720px;
            /*height: 280px;*/
        }
        .app-grid {
            grid-template-columns: repeat(5, 1fr);
        }
    }
