/* v5: sequential character reveal with stable layout and accessible full title. */
.ash-mobile-v4 { display:none; }
@media (max-width:767px) {
    .ash-mobile-v4 { display:block; background:radial-gradient(ellipse at 95% 35%,#d9eeff 0,transparent 48%),linear-gradient(150deg,#fff 5%,#f1f9ff 50%,#fff 83%); color:#102448; text-align:center; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; -webkit-text-size-adjust:100%; text-size-adjust:100%; }
    .ash-mobile-v4,.ash-mobile-v4 * { box-sizing:border-box; }
    .ash-mobile-v4 ~ .slide_02,.ash-mobile-v4 + .ceo-container { display:none; }
    .ash-mobile-v4__content { max-width:460px; margin:0 auto; padding:26px 18px 84px; padding-bottom:calc(84px + env(safe-area-inset-bottom,0px)); }
    .ash-mobile-v4 h1 { margin:0; font-family:inherit; font-size:clamp(26px,8.1vw,36px); font-weight:800; line-height:1.35; letter-spacing:-.5px; text-align:left; color:#071b41; }
    .ash-mobile-v4 h1.ash-type-title { height:auto; max-height:none; overflow:visible; min-height:2.7em; text-align:center; }
    .ash-mobile-v4 h1 .ash-type-line { display:block; height:auto; min-height:1.35em; max-height:none; overflow:visible; white-space:nowrap; color:#071b41; opacity:1; visibility:visible; }
    .ash-mobile-v4 h1 .ash-type-char { display:inline-block; color:#071b41; opacity:1; visibility:visible; animation:ash-type-loop-0 7800ms step-end infinite; animation-delay:0ms !important; }
    .ash-mobile-v4 h1 .ash-type-accent { color:#0766fc; }
    @keyframes ash-type-reveal { from { opacity:0; } to { opacity:1; } }
    @media (prefers-reduced-motion:reduce) { .ash-mobile-v4 h1 .ash-type-char { animation:none !important; opacity:1; } }
    .ash-mobile-v4__badge { width:100%; margin:12px 0 2px; padding:0; text-align:center; font-size:13px; line-height:22px; font-weight:500; color:#78839b; }
    .ash-mobile-v4__showcase { position:relative; isolation:isolate; width:100%; max-width:436.8px; margin:14px auto 20px; padding:0; overflow:hidden; }
    .ash-mobile-v4__showcase::after { content:""; position:absolute; z-index:-1; left:5%; right:5%; bottom:7%; height:13%; border:1px solid #fff; border-radius:50%; background:radial-gradient(ellipse,#7dc7ff88,transparent 70%); box-shadow:0 16px 28px #59b7ff26; }
    .ash-mobile-v4__orbit { position:absolute; z-index:-1; top:35%; left:0; width:100%; height:34%; border:1px solid #78bdff; border-radius:50%; transform:rotate(-22deg); }
    .ash-mobile-v4__orbit::before,.ash-mobile-v4__orbit::after { content:""; position:absolute; width:15px; height:15px; border-radius:50%; background:radial-gradient(circle at 30% 25%,#fff,#72c9ff 60%,#3796e4); box-shadow:0 3px 8px #1b87d522; }
    .ash-mobile-v4__orbit::before { left:4%; top:20%; }
    .ash-mobile-v4__orbit::after { right:1%; bottom:24%; }
    /* The source PNG includes transparent margins; keep the entire source visible. */
    .ash-mobile-v4 .ash-mobile-v4__phone { display:block; position:relative; width:333.35px; width:clamp(213.34px,42.67svh,373.34px); height:auto; max-width:100%; max-height:none; margin:0 auto; transform:none; object-fit:contain; }
    /* The optimized artwork has balanced transparent margins; no horizontal offset. */
    .ash-mobile-v4 .ash-mobile-v4__phone--builtin { transform:none; }
    .ash-mobile-v4__features { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); margin:-6px 0 18px; }
    .ash-mobile-v4__feature { position:relative; min-width:0; padding:0 4px; }
    .ash-mobile-v4__feature + .ash-mobile-v4__feature::before { content:""; position:absolute; top:28px; bottom:0; left:0; width:1px; background:linear-gradient(transparent,#b3d6ff 25%,#b3d6ff); }
    .ash-mobile-v4__icon { display:block; width:82px; height:82px; margin:0 auto 4px; background-image:url('../images/aisaohao-feature-icons-v4.png'); background-size:300% 100%; background-repeat:no-repeat; }
    .ash-mobile-v4__icon--location { background-position:0 0; }
    .ash-mobile-v4__icon--city { background-position:50% 0; }
    .ash-mobile-v4__icon--sim { background-position:100% 0; }
    .ash-mobile-v4__feature h2 { font-family:inherit; font-size:15px; font-weight:750; line-height:22px; color:#0a2046; margin:0 0 4px; white-space:nowrap; }
    .ash-mobile-v4__feature p { font-size:11px; line-height:1.65; color:#7c879d; margin:0; }
    .ash-mobile-v4__offer { display:grid; grid-template-columns:72px minmax(0,1fr); align-items:center; padding:8px 8px 8px 2px; border-radius:14px; background:linear-gradient(110deg,#e0f2ff,#eaf5ff); text-align:left; }
    .ash-mobile-v4__offer .ash-mobile-v4__icon { width:72px; height:72px; margin:0; }
    .ash-mobile-v4__offer h2 { font-family:inherit; font-size:14px; line-height:1.5; font-weight:750; color:#0562ef; margin:0 0 5px; }
    .ash-mobile-v4__offer p { margin:0; font-size:11px; line-height:1.6; color:#718098; }
    .ash-mobile-v4__actions { display:grid; grid-template-columns:minmax(0, 1fr); gap:8px; width:min(100%, 430px); max-width:88%; margin:14px auto 6px; }
    .ash-mobile-v4 .ash-mobile-v4__button { display:block; width:100%; min-height:42px; padding:10px 4px; border:1px solid #0867ff; border-radius:10px; margin:0; font-family:inherit; font-size:13px; font-weight:650; line-height:18px; text-decoration:none; text-align:center; opacity:1; white-space:nowrap; -webkit-appearance:none; appearance:none; }
    .ash-mobile-v4__button--primary { background:linear-gradient(120deg,#0786ff,#075bfa); color:#fff; }
    .ash-mobile-v4__button--secondary { background:#fff; color:#0867ff; }
    .ash-mobile-v4__button:disabled { cursor:not-allowed; }
    .ash-mobile-v4__button:focus-visible { outline:3px solid #183d82; outline-offset:3px; }
    .ash-mobile-v4__sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
    @media (max-width:350px) { .ash-mobile-v4__content { padding-left:12px; padding-right:12px; } .ash-mobile-v4__feature h2 { font-size:14px; } .ash-mobile-v4__offer { grid-template-columns:60px minmax(0,1fr); } .ash-mobile-v4__offer .ash-mobile-v4__icon { width:60px; height:60px; } .ash-mobile-v4__offer h2 { font-size:12px; } .ash-mobile-v4__offer p { font-size:10px; } .ash-mobile-v4__actions { max-width:92%; gap:6px; } .ash-mobile-v4 .ash-mobile-v4__button { min-height:40px; font-size:12px; } }
}

/* Shared 7.8s timeline: 1.8s typing + 6s fully visible, then restart together. */
@media (max-width:767px) {
 .ash-mobile-v4 h1 .ash-type-line:nth-child(1) .ash-type-char:nth-child(1) { animation-name:ash-type-loop-0; }
 @keyframes ash-type-loop-0 { 0% { opacity:0; } 3.333333% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(1) .ash-type-char:nth-child(2) { animation-name:ash-type-loop-1; }
 @keyframes ash-type-loop-1 { 0% { opacity:0; } 4.74359% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(1) .ash-type-char:nth-child(3) { animation-name:ash-type-loop-2; }
 @keyframes ash-type-loop-2 { 0% { opacity:0; } 6.153846% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(1) .ash-type-char:nth-child(4) { animation-name:ash-type-loop-3; }
 @keyframes ash-type-loop-3 { 0% { opacity:0; } 7.564103% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(1) .ash-type-char:nth-child(5) { animation-name:ash-type-loop-4; }
 @keyframes ash-type-loop-4 { 0% { opacity:0; } 8.974359% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(1) .ash-type-char:nth-child(6) { animation-name:ash-type-loop-5; }
 @keyframes ash-type-loop-5 { 0% { opacity:0; } 10.384615% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(1) .ash-type-char:nth-child(7) { animation-name:ash-type-loop-6; }
 @keyframes ash-type-loop-6 { 0% { opacity:0; } 11.794872% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(2) .ash-type-char:nth-child(1) { animation-name:ash-type-loop-7; }
 @keyframes ash-type-loop-7 { 0% { opacity:0; } 14.615385% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(2) .ash-type-char:nth-child(2) { animation-name:ash-type-loop-8; }
 @keyframes ash-type-loop-8 { 0% { opacity:0; } 16.025641% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(2) .ash-type-char:nth-child(3) { animation-name:ash-type-loop-9; }
 @keyframes ash-type-loop-9 { 0% { opacity:0; } 17.435897% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(2) .ash-type-char:nth-child(4) { animation-name:ash-type-loop-10; }
 @keyframes ash-type-loop-10 { 0% { opacity:0; } 18.846154% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(2) .ash-type-char:nth-child(5) { animation-name:ash-type-loop-11; }
 @keyframes ash-type-loop-11 { 0% { opacity:0; } 20.25641% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(2) .ash-type-char:nth-child(6) { animation-name:ash-type-loop-12; }
 @keyframes ash-type-loop-12 { 0% { opacity:0; } 21.666667% { opacity:1; } 100% { opacity:1; } }
 .ash-mobile-v4 h1 .ash-type-line:nth-child(2) .ash-type-char:nth-child(7) { animation-name:ash-type-loop-13; }
 @keyframes ash-type-loop-13 { 0% { opacity:0; } 23.076923% { opacity:1; } 100% { opacity:1; } }
}

/* 爱扫号手机首页操作按钮：图标置左，原按钮大小和配色不变 */
@media (max-width:767px) {
    .ash-mobile-v4 .ash-mobile-v4__button { display:flex; align-items:center; justify-content:center; gap:5px; }
    .ash-mobile-v4__button-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 16px; width:16px; height:16px; }
    .ash-mobile-v4__button-icon svg { display:block; width:16px; height:16px; }
}

/* v4: same icon and text metrics for both home CTA buttons; preserve button widths. */
@media (max-width:767px) {
  .ash-mobile-v4 .ash-mobile-v4__actions .ash-mobile-v4__button {
    font-size:15px !important;
    font-weight:700 !important;
    line-height:22px !important;
    letter-spacing:0 !important;
    gap:6px;
  }
  .ash-mobile-v4 .ash-mobile-v4__actions .ash-mobile-v4__button > span:not(.ash-mobile-v4__button-icon) {
    font-size:15px !important;
    font-weight:700 !important;
    line-height:22px !important;
    letter-spacing:0 !important;
  }
  .ash-mobile-v4 .ash-mobile-v4__actions .ash-mobile-v4__button-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 18px;
    width:18px;
    height:18px;
  }
  .ash-mobile-v4 .ash-mobile-v4__actions .ash-mobile-v4__button-icon svg {
    display:block;
    width:18px;
    height:18px;
  }
  .ash-mobile-v4 .ash-mobile-v4__actions a.ash-mobile-v4__button--primary,
  .ash-mobile-v4 .ash-mobile-v4__actions a.ash-mobile-v4__button--primary:visited,
  .ash-mobile-v4 .ash-mobile-v4__actions a.ash-mobile-v4__button--primary:focus {
    color:#fff !important;
  }
  .ash-mobile-v4 .ash-mobile-v4__actions a.ash-mobile-v4__button--secondary,
  .ash-mobile-v4 .ash-mobile-v4__actions a.ash-mobile-v4__button--secondary:visited,
  .ash-mobile-v4 .ash-mobile-v4__actions a.ash-mobile-v4__button--secondary:focus {
    color:#0867ff !important;
  }
}

/* V5: compact, balanced mobile CTA buttons. */
@media (max-width:767px) {
  .ash-mobile-v4 .ash-mobile-v4__actions {
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:10px !important;
    width:100% !important;
    max-width:100% !important;
    margin:14px auto 6px !important;
  }
  .ash-mobile-v4 .ash-mobile-v4__actions .ash-mobile-v4__button {
    display:inline-flex !important;
    flex:0 1 240px !important;
    width:240px !important;
    max-width:100%;
    height:45px !important;
    min-height:45px !important;
    padding:0 8px !important;
    box-sizing:border-box !important;
    border-radius:10px !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    font-size:15px !important;
    font-weight:600 !important;
    line-height:22px !important;
  }
  .ash-mobile-v4 .ash-mobile-v4__actions .ash-mobile-v4__button > span:not(.ash-mobile-v4__button-icon) {
    font-size:15px !important;
    font-weight:600 !important;
    line-height:22px !important;
  }
  .ash-mobile-v4 .ash-mobile-v4__actions .ash-mobile-v4__button-icon,
  .ash-mobile-v4 .ash-mobile-v4__actions .ash-mobile-v4__button-icon svg {
    width:18px !important;
    height:18px !important;
  }
  .ash-mobile-v4 .ash-mobile-v4__actions .ash-mobile-v4__button-icon {
    flex:0 0 18px !important;
  }
}

/* 修复 iPhone 按钮布局和 SVG 图标异常 */
@media screen and (max-width: 767px) {

  .ash-mobile-v4 .ash-mobile-v4__actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ash-mobile-v4 .ash-mobile-v4__actions
  .ash-mobile-v4__button {
    display: inline-flex !important;
    flex: 0 1 155px !important;
    width: 155px !important;
    max-width: calc((100% - 10px) / 2) !important;
    height: 45px !important;
    min-height: 45px !important;
    padding: 0 8px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
    font-weight: 600 !important;
  }

  .ash-mobile-v4 .ash-mobile-v4__actions
  .ash-mobile-v4__button-icon {
    display: inline-flex !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
  }

  .ash-mobile-v4 .ash-mobile-v4__actions
  .ash-mobile-v4__button-icon svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }
}
@media (max-width: 767px) {
  .ash-mobile-v4 .ash-mobile-v4__offer h2 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 6px;
  }

  .ash-mobile-v4 .ash-mobile-v4__offer p {
    font-size: 13px;
    line-height: 1.7;
  }
}

@media (max-width: 767px) {
  #aisaohao-home-cards.ashp-section {
    background: #fff !important;
  }
}
@media (max-width: 767px) {
  footer.ceo_footer,
  footer.ceo_footer .foot-cop {
    background: #fff !important;
  }
}
@media (max-width: 767px) {
  footer.ceo_footer {
    padding-bottom: 12px !important;
  }
}

/* 爱扫号手机版：顶部 Logo 右侧品牌说明 */
@media screen and (max-width: 767px) {
.ceo_app_navbar .aisaohao-brandline {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    height: 60px;
    gap: 9px;
    min-width: 0;
    line-height: 1.3;
}
  .ceo_app_navbar .aisaohao-brandline .logo {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    line-height: 1;
  }
  .ceo_app_navbar .aisaohao-brandline .logo img {
    display: block;
    height: 30px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
  }
  .ceo_app_navbar .aisaohao-brandline__tagline {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: #64748b;
  }
  .ceo_app_navbar .aisaohao-brandline__tagline::before {
    content: "";
    height: 13px;
    width: 1px;
    background: #d8e0ea;
    margin-right: 9px;
  }
}
@media screen and (max-width: 350px) {
  .ceo_app_navbar .aisaohao-brandline { gap: 6px; }
  .ceo_app_navbar .aisaohao-brandline .logo img { max-width: 105px; }
  .ceo_app_navbar .aisaohao-brandline__tagline { font-size: 10px; }
  .ceo_app_navbar .aisaohao-brandline__tagline::before { margin-right: 6px; }
}
