/* 来收数码官网 · 独立手机版 /m/ 专用样式
   在 site.css 之后加载，覆盖桌面规则。
   纯 CSS + 原生 <details>，不用 JS、不用外部字体与图标。 */

.m-body { background: #fff; padding-bottom: 76px; }
.m-body .wrap { max-width: 560px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* 顶部：品牌 + 电脑版入口 + 折叠菜单 */
.m-head { background: var(--accent-deep); color: #fff; border-bottom: 1px solid var(--accent-darker); }
.m-head-row { max-width: 560px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.m-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 1.06rem; font-weight: 600; min-height: 44px; }
.m-brand img { width: 34px; height: 34px; border-radius: 8px; background: #fff; padding: 3px; flex: none; }
.m-brand:hover, .m-desktop:hover { text-decoration: none; }
.m-desktop { margin-left: auto; color: var(--on-accent); border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 10px 16px; font-size: .86rem; min-height: 44px; display: inline-flex; align-items: center; }
.m-nav { border-top: 1px solid rgba(255,255,255,.18); }
.m-nav summary { max-width: 560px; margin: 0 auto; padding: 14px 16px; font-size: .92rem; color: #fff; cursor: pointer; list-style: none; min-height: 48px; display: flex; align-items: center; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav-arrow { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: none; }
.m-nav[open] .m-nav-arrow { transform: rotate(-135deg); }
.m-nav nav { max-width: 560px; margin: 0 auto; padding: 4px 16px 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 10px; }
.m-nav nav a { color: #e6f5ee; font-size: .92rem; padding: 12px 10px; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); }
.m-nav nav a[aria-current="page"] { color: #fff; font-weight: 600; background: rgba(255,255,255,.12); border-radius: 8px; }

/* 通栏大图：竖屏更矮，主体居中不被裁 */
.m-body .banner .wrap, .m-body .banner--hero .wrap { padding-top: 58px; padding-bottom: 58px; }
.m-body .banner--tall { min-height: 0; display: block; }
.m-body .banner-bg { object-position: 58% center; }
.m-body .banner::after, .m-body .banner--right::after { background: linear-gradient(90deg, rgba(5,45,32,.82) 0%, rgba(5,45,32,.55) 55%, rgba(5,45,32,.16) 100%); }
.m-body .banner h1 { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
.m-body .banner h2 { font-size: clamp(1.4rem, 6.2vw, 1.85rem); }
.m-body .banner p { font-size: .98rem; line-height: 1.65; }
.m-body .banner-copy { max-width: 100%; }
.m-body .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.m-body .hero-actions a { min-height: 48px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; }

/* 事实条：手机 2×2 */
.m-body .facts .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; padding-top: 26px; padding-bottom: 26px; }
.m-body .fact { border-left: 2px solid rgba(255,255,255,.5); padding-left: 12px; }
.m-body .fact .num { font-size: 1.5rem; }
.m-body .fact .lbl { font-size: .84rem; }

/* 所有栅格在手机版强制单列，桌面打开 /m/ 也保持手机布局 */
.m-body .grid-4, .m-body .grid-3, .m-body .grid-2, .m-body .grid,
.m-body .photo-wall, .m-body .split, .m-body .steps, .m-body .trust { grid-template-columns: 1fr !important; gap: 16px !important; }
.m-body .photo-wall img, .m-body .split figure img, .m-body .photo-card .pc-img img { aspect-ratio: 16 / 10; }
.m-body .photo-card, .m-body .card, .m-body .feature { padding: 0; }
.m-body .photo-card .pc-body { padding: 16px 18px 20px; }
.m-body .split { align-items: stretch; }
.m-body .section-head h2 { font-size: 1.5rem; }
.m-body .section--tint, .m-body section { padding-top: 34px; padding-bottom: 34px; }
.m-body .cta-band { padding: 44px 0; }
.m-body .cta-band h2 { font-size: 1.65rem; }
.m-body p { font-size: .98rem; line-height: 1.75; }

/* 表格转卡片：窄屏不再横向挤压 */
.m-body table { display: block; width: 100%; }
.m-body table tbody { display: block; }
.m-body table tr { display: block; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; padding: 12px 14px; background: #fff; }
.m-body table th { display: block; text-align: left; font-size: .82rem; color: var(--muted); padding: 0 0 4px; border: 0; background: none; }
.m-body table td { display: block; font-size: .98rem; line-height: 1.6; padding: 0; border: 0; word-break: break-word; }
.m-body table td a { min-height: 44px; display: inline-flex; align-items: center; }

/* 图片与图注 */
.m-body .fig img, .m-body .fig-wide img { width: 100%; height: auto; }
.m-body .fig-note, .m-body figcaption { font-size: .84rem; }
.m-body .qr-card { max-width: 300px; margin: 0 auto; }
.m-body .qr-card > img { width: 200px; height: 200px; aspect-ratio: 1 / 1; object-fit: contain; }
.m-body .qr-inline img { width: 150px; height: 150px; }

/* 折叠问答 */
.m-body .faq-list summary { min-height: 48px; font-size: .98rem; }
.m-body .faq-list details { padding: 0 16px; }

/* 页脚 */
.m-foot { background: var(--accent-darker); color: #fff; padding: 30px 0 24px; }
.m-foot p { color: #e6f5ee; font-size: .88rem; margin: 0 0 8px; }
.m-foot a { color: #fff; }
.m-foot .legal { color: #bfe7d3; font-size: .8rem; }
.m-foot .wrap > p:last-child { margin-top: 16px; }

/* 底部固定双按钮：一键拨号 + 微信好友 */
.m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.9); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.m-bar a { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1rem; font-weight: 600; text-decoration: none; }
.m-bar-tel { background: #fff; color: var(--accent-deep); }
.m-bar-wechat { background: var(--accent-deep); color: #fff; }
.m-bar a:hover { text-decoration: none; }
.m-bar-ico { font-size: 1.15rem; line-height: 1; }

/* 微信好友二维码浮层：纯 CSS :target，不用 JS
   点底部「微信好友」→ #m-wechat 命中 :target 显示；点遮罩或「关闭」→ #m-bar（fixed 元素，
   浏览器不会改变滚动位置），浮层随之隐藏。二维码不做 lazy 加载，保证点开立刻可扫。 */
.m-qr-modal { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 20px; }
.m-qr-modal:target { display: flex; }
.m-qr-backdrop { position: absolute; inset: 0; background: rgba(5,45,32,.94); }
.m-qr-panel { position: relative; z-index: 1; width: min(320px, 100%); box-sizing: border-box; background: #fff; border-radius: 18px; padding: 24px 18px 20px; text-align: center; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.m-qr-panel > img { display: block; width: min(240px, 68vw); height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 auto; }
.m-body .m-qr-title { font-size: 1.2rem; line-height: 1.4; font-weight: 700; color: var(--accent-deep); margin: 0 0 14px; }
.m-body .m-qr-tip { font-size: .88rem; line-height: 1.6; color: var(--muted); margin: 14px 0 6px; }
.m-body .m-qr-name { font-size: .9rem; line-height: 1.5; margin: 0 0 18px; }
.m-body .m-qr-close { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 30px; border-radius: 999px; background: var(--accent-deep); color: #fff; font-weight: 600; text-decoration: none; }

/* 桌面打开 /m/ 时收成手机宽度，便于预览 */
@media (min-width: 720px) {
  .m-head, .m-foot { padding-left: 0; padding-right: 0; }
  .m-head-row, .m-nav summary, .m-nav nav, .m-foot .wrap { max-width: 560px; }
  .m-body main { max-width: 560px; margin: 0 auto; box-shadow: 0 0 0 1px var(--line); }
  .m-bar { max-width: 560px; margin: 0 auto; }
  .m-body { background: var(--bg-2); }
  .m-body main { background: #fff; }
}
