
  /* ===== Base ===== */
  .uee-fan-swiper-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
  }

  .uee-fan-swiper-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
  }

  .uee-fan-swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: uee-fan-floatX 4s ease-in-out infinite alternate;
  }

  .uee-fan-swiper-slide.active {
    opacity: 1;
    z-index: 1;
  }

  @keyframes uee-fan-floatX {
    0% { transform: translateX(-10px) scale(1.02); }
    50% { transform: translateX(10px) scale(1.02); }
    100% { transform: translateX(-10px) scale(1.02); }
  }

  /* ===== Text ===== */
  .uee-fan-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    font-family: 'Poppins', Arial, sans-serif;
    width: min(92%, 920px);
    box-sizing: border-box;
  }

  /* PC 默认：单行 */
  .uee-fan-slide-title,
  .uee-fan-slide-subtitle {
    white-space: nowrap !important;
    display: block !important;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 10px 0;
  }

  /* ✅ PC 主标题 */
  .uee-fan-slide-title{
    font-size: clamp(64px, 6.2vw, 94px);
  }

  /* ✅ 第1张：更大 */
  .uee-fan-slide-title--hero{
    font-size: clamp(72px, 7.0vw, 108px);
  }

  /* ✅ 第2、3张：更大 */
  .uee-fan-slide-title--big{
    font-size: clamp(68px, 6.6vw, 100px);
  }

  /* ✅ 副标题 */
  .uee-fan-slide-subtitle {
    font-size: 2vw;
    font-weight: 400;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
    text-align: center !important;
  }

  /* ✅ PC 逐字动画 span */
  .uee-fan-slide-title .uee-fan-char {
    display: inline-block;
    opacity: 0;
    white-space: pre;
  }

  /* ✅ Mobile 逐词动画 span */
  .uee-fan-slide-title .uee-fan-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0);
    will-change: transform, opacity;
  }

  /* ===== Arrows ===== */
  .uee-fan-swiper-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 20;
    user-select: none;
    padding: 10px;
  }
  .uee-fan-swiper-arrow-left { left: 10px; }
  .uee-fan-swiper-arrow-right { right: 10px; }

  /* ===== Buttons (PC/默认) ===== */
  .uee-fan-bottom-btn-group {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;

    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: center;
    justify-content: center;

    width: min(92%, 760px);
    padding: 0 20px;
    flex-wrap: wrap;
    box-sizing: border-box;
  }

  .uee-fan-bottom-btn {
    background: #666;
    color: #fff;
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    font-family: 'Poppins', Arial, sans-serif;
    display: inline-block;
    text-align: center;
    white-space: nowrap;

    flex: 1 1 260px;
    max-width: 320px;
  }

  .uee-fan-bottom-btn:hover { opacity: 0.7; }
  .uee-fan-bottom-btn-primary { background: #8B4513; }
  .uee-fan-bottom-btn-secondary {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(2px);
  }

  /* ===== Mobile ===== */
  @media (max-width: 768px) {
    .uee-fan-swiper-container{
      height: clamp(460px, 68vh, 620px);
      /* ✅ 增加底部空间，避免“必须滑到底才看全” */
      padding-bottom: calc(200px + env(safe-area-inset-bottom));
    }

    .uee-fan-slide-content{
      top: 46%;
      transform: translate(-50%, -50%);
      width: calc(100% - 32px);
      max-width: 620px;
      padding: 0 16px;
      box-sizing: border-box;
      text-align: center;
    }

    /* ✅ 移动端标题/副标题 */
    .uee-fan-slide-title{
      white-space: normal !important;
      font-size: clamp(30px, 6.8vw, 44px);
      line-height: 1.12;
      margin: 0 auto 10px;
      max-width: 52ch;

      word-break: normal;
      overflow-wrap: normal;
      hyphens: none;
      text-wrap: balance;
    }

    .uee-fan-slide-subtitle{
      white-space: normal !important;
      font-size: clamp(15px, 3.5vw, 19px);
      line-height: 1.55;
      margin: 0 auto;
      max-width: 60ch;

      word-break: normal;
      overflow-wrap: normal;
      hyphens: none;
      text-wrap: balance;
      text-align: center !important;
    }

    .uee-fan-swiper-arrow { font-size: 2rem; }

    .uee-fan-swiper-slide img {
      animation: uee-fan-floatXMobile 4s ease-in-out infinite alternate;
      transform: scale(1.05);
      object-position: top;
    }

    @keyframes uee-fan-floatXMobile {
      0% { transform: translateX(-5px) scale(1.05); }
      50% { transform: translateX(5px) scale(1.05); }
      100% { transform: translateX(-5px) scale(1.05); }
    }

    .uee-fan-swiper-slide:nth-child(1) img { content: url('//ueeshop.ly200-cdn.com/u_file/UPBF/UPBF225/UPBF/UPBF225/2512/03/photo/2.jpg'); }
    .uee-fan-swiper-slide:nth-child(2) img { content: url('//ueeshop.ly200-cdn.com/u_file/UPBF/UPBF225/UPBF/UPBF225/2512/03/photo/-.jpg'); }
    .uee-fan-swiper-slide:nth-child(3) img { content: url('//ueeshop.ly200-cdn.com/u_file/UPBF/UPBF225/UPBF/UPBF225/2512/03/photo/4.jpg'); }
    .uee-fan-swiper-slide:nth-child(4) img { content: url('//ueeshop.ly200-cdn.com/u_file/UPBF/UPBF225/UPBF/UPBF225/2512/03/photo/3.jpg'); }

    /* ✅✅ 移动端按钮组：左右真实间距固定 20px（不可能贴边） */
    .uee-fan-bottom-btn-group{
      bottom: calc(14px + env(safe-area-inset-bottom));

      left: 0;
      right: 0;
      transform: none;

      width: 100%;
      max-width: 420px;       /* 控制最大宽度 */
      margin: 0 auto;         /* 居中 */

      padding-inline: 20px;   /* ✅ 关键：左右真实间距 = 20px */
      box-sizing: border-box;

      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: stretch;
      justify-content: center;
      flex-wrap: nowrap;
    }

    .uee-fan-bottom-btn{
      width: 100%;
      max-width: none;
      flex: none;
      white-space: normal;
      line-height: 1.2;
      padding: 12px 16px;
      font-size: 0.98rem;
    }
  }
