/* 主站 www.ai2a.com 老页面的手机排版（含浏览器“电脑版”），2026-11-04。
   由 ai2-phone.js 给 <html> 挂 phone 后生效；普通手机也会挂 phone，规则只影响小屏排版。 */
html.phone body{overflow-x:clip}
html.phone .wrap{padding:10px 12px;max-width:none}

/* 顶部蓝条：链接换行，不再挤成一条 */
html.phone .nav{height:auto!important;flex-wrap:wrap!important;padding:8px 12px!important;border-radius:8px!important}
html.phone .nav>span{flex-wrap:wrap!important;white-space:normal!important;gap:2px 14px!important;font-size:14px!important;line-height:2}
html.phone .nav img{width:30px!important;height:30px!important}

/* 内容容器、图片、视频、表格 */
html.phone .part-content{padding:1rem 1rem 2rem!important;margin-top:1rem!important}
html.phone img{max-width:100%}
html.phone video,html.phone iframe{max-width:100%}
html.phone table{max-width:100%}
html.phone #paymenttable{width:100%!important;height:auto!important;font-size:1rem!important}

/* 首页、案例、网络页的栏数（768 的媒体查询在 980 宽不触发，这里按 html.phone 再写一份） */
html.phone .g3,html.phone .g4{grid-template-columns:1fr!important}
html.phone .sec-title{font-size:1.2rem!important}
html.phone .hr{margin:24px 0!important}
html.phone .cases-grid{grid-template-columns:1fr!important}
html.phone .net-sec{flex-direction:column!important}
html.phone .net-sec img{width:100%!important;max-width:100%!important}
html.phone [style*="min-width:400px"],html.phone [style*="min-width: 400px"]{min-width:0!important}

/* 软件资源：证书两列 */
html.phone .cert{width:calc(50% - 2rem)!important;height:auto!important}
