/* ===== 手机端自适应布局 · 易代账 ===== */
#ydz-mobile{display:none}

@media (max-width:768px){
  html,body{width:100%;overflow-x:hidden!important}
  body{background:#f5f6f8}
  /* 隐藏 1200px 固定版桌面内容 */
  .body-initial,#header,.tq-footer{display:none!important}
  body.lx-has-header .body-initial{padding-top:0!important}

  #ydz-mobile{
    display:block;width:100%;max-width:100%;overflow:hidden;
    font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif;
    color:#222;background:#f5f6f8;font-size:14px;line-height:1.6;
    padding-bottom:calc(64px + env(safe-area-inset-bottom,0px));
  }
  #ydz-mobile *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
  #ydz-mobile a{color:inherit;text-decoration:none}
  #ydz-mobile img{max-width:100%;display:block}
  #ydz-mobile h1,#ydz-mobile h2,#ydz-mobile h3,#ydz-mobile p{margin:0;font-weight:inherit}

  /* ---------- 顶部导航 ---------- */
  .ym-header{position:sticky;top:0;z-index:9000;background:#fff;box-shadow:0 1px 8px rgba(0,0,0,.06)}
  .ym-head-inner{height:56px;display:flex;align-items:center;padding:0 14px;gap:10px}
  .ym-brand{display:flex;align-items:center;gap:9px;min-width:0;flex:1}
  .ym-brand-logo{height:30px;width:auto;max-width:110px;object-fit:contain;flex:none}
  .ym-brand-mark{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,#ff5b5b,#e60012);color:#fff;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800;flex:none}
  .ym-brand-txt{min-width:0;display:flex;flex-direction:column;line-height:1.25}
  .ym-brand-txt b{font-size:16px;color:#222;white-space:nowrap}
  .ym-brand-txt i{font-style:normal;font-size:10px;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}
  .ym-headtel{width:34px;height:34px;border-radius:50%;background:#fff2f2;display:flex;align-items:center;justify-content:center;flex:none}
  .ym-headtel svg{width:18px;height:18px;fill:#e60012}
  .ym-menu-btn{width:36px;height:36px;border:0;background:transparent;padding:8px 6px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;flex:none}
  .ym-menu-btn span{display:block;height:2px;background:#333;border-radius:2px;transition:.25s}
  .ym-menu-btn.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .ym-menu-btn.open span:nth-child(2){opacity:0}
  .ym-menu-btn.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .ym-nav{display:none;background:#fff;border-top:1px solid #f0f0f0;padding:6px 14px 14px;box-shadow:0 8px 18px rgba(0,0,0,.08)}
  .ym-nav.open{display:grid;grid-template-columns:repeat(2,1fr);gap:2px 10px}
  .ym-nav a{display:block;padding:10px 8px;border-radius:8px;font-size:14px;color:#444}
  .ym-nav a:active{background:#fff1f1;color:#e60012}

  /* ---------- 通用标题 ---------- */
  .ym-sec{padding:30px 16px;background:#fff;margin-top:10px}
  .ym-sec.gray{background:#f5f6f8}
  .ym-sec-hd{text-align:center;margin-bottom:20px}
  .ym-kicker{display:inline-block;font-size:11px;color:#e60012;background:#fff1f1;border-radius:20px;padding:3px 12px;margin-bottom:9px;letter-spacing:1px}
  .ym-sec-hd h2{font-size:21px;line-height:1.35;font-weight:800;color:#1c1c1c}
  .ym-sec-hd p{font-size:12px;color:#888;margin-top:7px}
  .ym-line{width:30px;height:3px;background:#e60012;border-radius:3px;margin:9px auto 0}

  /* ---------- 首屏 ---------- */
  .ym-hero{background:linear-gradient(180deg,#fff 0%,#fff8f8 100%);padding:26px 16px 22px;position:relative;overflow:hidden}
  .ym-hero-tag{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#e60012;background:#fff;border:1px solid #ffd6d6;border-radius:20px;padding:5px 11px;margin-bottom:14px}
  .ym-hero-tag::before{content:"";width:5px;height:5px;border-radius:50%;background:#e60012}
  .ym-hero h1{font-size:29px;line-height:1.28;font-weight:900;letter-spacing:-.5px;color:#1c1c1c}
  .ym-hero h1 em{font-style:normal;color:#e60012}
  .ym-hero-lead{font-size:13px;color:#777;margin-top:10px;line-height:1.7}
  .ym-hero-btns{display:flex;gap:10px;margin-top:18px}
  .ym-btn{flex:1 1 0;min-width:0;min-height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;text-align:center;transition:.15s}
  .ym-btn:active{transform:scale(.97)}
  .ym-btn-primary{background:linear-gradient(135deg,#ff4d4d,#e60012);color:#fff;box-shadow:0 5px 14px rgba(230,0,18,.22)}
  .ym-btn-ghost{background:#fff;color:#e60012;border:1px solid #ffc9c9}
  .ym-hero-pic{height:170px;margin:16px -16px 0;background-image:url(../images/c681742419398fb62be873f48d764ce1.png);background-size:cover;background-position:63% center;background-repeat:no-repeat}
  .ym-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.05);margin-top:14px;padding:13px 4px}
  .ym-stats div{text-align:center;border-right:1px solid #f2f2f2}
  .ym-stats div:last-child{border-right:0}
  .ym-stats b{display:block;font-size:16px;color:#e60012;font-weight:800;line-height:1.2}
  .ym-stats span{display:block;font-size:10px;color:#888;margin-top:3px;line-height:1.3}
  .ym-lead{background:#fff;border:1px solid #ffe2e2;border-radius:14px;box-shadow:0 6px 22px rgba(230,0,18,.07);padding:14px;margin-top:14px}
  .ym-lead h3{font-size:15px;font-weight:800;color:#222;margin-bottom:4px}
  .ym-lead p{font-size:11px;color:#999;margin-bottom:10px}
  .ym-lead-row{display:flex;gap:8px;width:100%;max-width:100%}
  .ym-lead input{flex:1 1 auto;min-width:0;width:100%;height:42px;border:1px solid #e5e5e5;border-radius:9px;padding:0 12px;font-size:14px;background:#fafafa;outline:none}
  .ym-lead input:focus{border-color:#e60012;background:#fff}
  .ym-lead button{flex:0 0 100px;width:100px;white-space:nowrap;border:0;border-radius:9px;background:linear-gradient(135deg,#ff4d4d,#e60012);color:#fff;font-size:13px;font-weight:700}
  .ym-lead small{display:block;font-size:10px;color:#aaa;margin-top:8px}

  /* ---------- 优势 ---------- */
  .ym-features{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
  .ym-feat{background:#fafbfc;border:1px solid #f0f1f3;border-radius:12px;padding:14px 12px}
  .ym-feat-ico{width:34px;height:34px;border-radius:9px;background:#fff0f0;display:flex;align-items:center;justify-content:center;margin-bottom:9px}
  .ym-feat-ico svg{width:19px;height:19px;fill:#e60012}
  .ym-feat h3{font-size:14px;font-weight:800;color:#222;margin-bottom:5px}
  .ym-feat p{font-size:11.5px;color:#7c7c7c;line-height:1.65}

  /* ---------- 适用规模 ---------- */
  .ym-scale{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .ym-scale-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 3px 14px rgba(0,0,0,.06)}
  .ym-scale-card img{width:100%;height:96px;object-fit:cover}
  .ym-scale-card div{padding:11px}
  .ym-scale-card h3{font-size:13px;font-weight:800;color:#222}
  .ym-scale-card p{font-size:11px;color:#888;line-height:1.6;margin-top:4px}

  /* ---------- AI ---------- */
  .ym-ai-pic{width:100%;border-radius:12px;overflow:hidden;background:#f7f9ff}
  .ym-ai-pic img{width:100%;height:auto}
  .ym-ai-list{margin-top:14px;display:grid;gap:8px}
  .ym-ai-item{display:flex;gap:9px;align-items:flex-start;background:#fafbfc;border-radius:10px;padding:10px 12px}
  .ym-ai-item i{flex:none;width:18px;height:18px;border-radius:50%;background:#e60012;color:#fff;font-size:11px;font-style:normal;display:flex;align-items:center;justify-content:center;margin-top:2px}
  .ym-ai-item b{font-size:13px;color:#333}
  .ym-ai-item span{display:block;font-size:11px;color:#888;margin-top:1px}

  /* ---------- 账套版本 ---------- */
  .ym-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .ym-price{background:#fff;border:1px solid #eee;border-radius:12px;padding:13px 11px;position:relative;overflow:hidden}
  .ym-price::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#ff6b6b,#e60012)}
  .ym-price b{font-size:16px;color:#222;font-weight:800}
  .ym-price em{font-style:normal;font-size:11px;color:#e60012;margin-left:4px}
  .ym-price h4{font-size:12px;color:#444;font-weight:700;margin-top:4px}
  .ym-price p{font-size:10.5px;color:#999;line-height:1.5;margin:4px 0 10px;min-height:31px}
  .ym-price a{display:block;text-align:center;border:1px solid #ffcccc;color:#e60012;border-radius:7px;font-size:11px;padding:5px 0}

  /* ---------- 案例 ---------- */
  .ym-case{background:#fff;border-radius:12px;padding:14px;box-shadow:0 3px 14px rgba(0,0,0,.05);border:1px solid #f0f0f0}
  .ym-case + .ym-case{margin-top:10px}
  .ym-case-hd{display:flex;align-items:center;gap:10px}
  .ym-case-hd img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#eef3f0}
  .ym-case-hd b{font-size:13px;color:#222}
  .ym-case-hd span{display:block;font-size:11px;color:#999}
  .ym-case blockquote{margin:10px 0 0;font-size:12px;color:#666;line-height:1.8;background:#fafafa;border-radius:8px;padding:10px 12px}

  /* ---------- 服务 ---------- */
  .ym-hotline{background:linear-gradient(135deg,#e60012,#ff5b5b);border-radius:14px;padding:18px 16px;text-align:center;color:#fff;margin-bottom:14px;box-shadow:0 6px 18px rgba(230,0,18,.2)}
  .ym-hotline span{font-size:12px;opacity:.9}
  .ym-hotline a{display:block;font-size:27px;font-weight:900;letter-spacing:1px;margin:4px 0}
  .ym-hotline small{font-size:11px;opacity:.85}
  .ym-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .ym-service{background:#fff;border:1px solid #f0f0f0;border-radius:12px;padding:12px 11px}
  .ym-service b{font-size:13px;color:#222}
  .ym-service p{font-size:11px;color:#888;line-height:1.6;margin-top:4px}
  .ym-service i{font-style:normal;display:inline-block;font-size:10px;color:#e60012;background:#fff1f1;border-radius:5px;padding:1px 6px;margin-bottom:6px}

  /* ---------- 底部行动区 ---------- */
  .ym-cta{background:linear-gradient(180deg,#1f2733,#2b3646);color:#fff;text-align:center;padding:30px 16px}
  .ym-cta h2{font-size:20px;font-weight:800}
  .ym-cta p{font-size:12px;color:#b8c2cf;margin-top:8px}
  .ym-cta .ym-btn{max-width:260px;margin:18px auto 0}

  /* ---------- 页脚 ---------- */
  .ym-footer{background:#161d27;color:#9fabbb;padding:24px 16px 20px;font-size:12px}
  .ym-footer-top{display:flex;gap:14px;align-items:flex-start}
  .ym-footer-info{flex:1;min-width:0}
  .ym-footer-info h3{font-size:15px;color:#fff;font-weight:800;margin-bottom:8px}
  .ym-footer-logo{display:inline-block;background:#fff;border-radius:8px;padding:5px 9px;margin-bottom:10px}
  .ym-footer-logo img{height:32px;width:auto;display:block}
  .ym-footer-info p{line-height:1.9}
  .ym-footer-info a{color:#ff7a7a;font-weight:700}
  .ym-footer-qr{width:88px;flex:none;text-align:center}
  .ym-footer-qr img{width:88px;height:88px;object-fit:cover;background:#fff;border-radius:8px;padding:4px}
  .ym-footer-qr p{font-size:10px;margin-top:5px;color:#8b97a6}
  .ym-footer-links{display:flex;flex-wrap:wrap;gap:8px 16px;border-top:1px solid #2b3543;margin-top:18px;padding-top:14px}
  .ym-footer-links a{color:#9fabbb;font-size:12px}
  .ym-copy{border-top:1px solid #2b3543;margin-top:14px;padding-top:14px;text-align:center;font-size:10.5px;color:#758092;line-height:1.7}

  /* ---------- 轻提示 ---------- */
  .ym-toast{position:fixed;left:50%;bottom:calc(80px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);z-index:100010;background:rgba(30,35,45,.94);color:#fff;padding:10px 16px;border-radius:22px;font-size:12px;opacity:0;pointer-events:none;transition:.25s;max-width:86%;text-align:center}
  .ym-toast.show{opacity:1;transform:translate(-50%,0)}

  /* ---------- 右侧客服 → 手机底部工具栏 ---------- */
  .tq-service-widget{
    left:0;right:0;bottom:0;top:auto;transform:none;width:100%;height:calc(58px + env(safe-area-inset-bottom,0px));
    flex-direction:row;gap:0;padding-bottom:env(safe-area-inset-bottom,0px);
    background:#fff;border-top:1px solid #eee;box-shadow:0 -3px 14px rgba(0,0,0,.07);z-index:9500
  }
  .tq-service-widget .tq-sw{
    flex:1;width:auto!important;height:100%;border-radius:0!important;box-shadow:none!important;
    background:#fff!important;color:#666!important;padding:6px 0 4px;gap:2px;transform:none!important
  }
  .tq-service-widget .tq-sw:active{background:#fff5f5!important}
  .tq-service-widget .tq-sw svg{width:19px;height:19px;fill:#e60012!important}
  .tq-service-widget .tq-sw span{font-size:10px;line-height:1.1;color:#555}
  .tq-sw-panel,.tq-sw-panel.open{
    left:12px;right:12px;top:auto;bottom:calc(68px + env(safe-area-inset-bottom,0px));transform:none;width:auto;
    animation:tqm-fade .2s ease;max-height:70vh;overflow:auto
  }
  @keyframes tqm-fade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
  .tq-sw-panel img{width:160px;height:auto;max-height:190px;object-fit:contain}
}

@media (max-width:360px){
  .ym-hero h1{font-size:25px}
  .ym-lead button{width:96px;font-size:12px}
  .ym-stats b{font-size:14px}
  .ym-stats span{font-size:9px}
}
