/* =====================================================
   趣马科技 · H5 App 端外观（仅 ≤760px 宽度生效）
   PC 端不受任何影响：所有规则都包在 max-width:760px 里
===================================================== */

/* PC 端默认隐藏移动端专用组件（m-top / m-tab / 详情页 App 版 .d2） */
.m-top, .m-tab, .m-nav, .m-swipe, .d2, .uc-app { display:none; }
@media (max-width:760px){

  /* ---------- 隐藏 PC 顶栏 / 搜索条 / PC 页脚 ---------- */
  .topbar, .searchbar, .footer-top, .footer-bottom { display:none !important; }

  body { padding-bottom:calc(52px + env(safe-area-inset-bottom)); }

  /* ---------- 顶部 AppBar ---------- */
  .m-top { display:flex; align-items:center; gap:9px; position:sticky; top:0; z-index:80;
    height:52px; padding:0 12px; background:#fff; border-bottom:1px solid var(--line);
    box-shadow:0 2px 10px rgba(31,58,138,.05); }
  .m-logo { display:flex; align-items:center; gap:7px; flex:none; }
  .m-logo i { display:block; width:27px; height:27px; border-radius:7px;
    background:linear-gradient(135deg,#ffc42e,#ffa800); color:#1a2a5c; font-style:normal;
    font-size:13px; font-weight:700; line-height:27px; text-align:center; letter-spacing:.5px; }
  .m-logo b { font-size:15.5px; font-weight:700; color:#1f3a8a; letter-spacing:.3px; }

  .m-search { flex:1 1 auto; min-width:0; display:flex; align-items:center;
    height:34px; background:#f2f5fb; border:1px solid #e6ecf7; border-radius:17px;
    padding:0 3px 0 12px; }
  .m-search input { flex:1 1 auto; min-width:0; height:30px; border:0; background:transparent;
    outline:none; font-size:13px; color:var(--ink); font-family:inherit; }
  .m-search input::placeholder { color:#9aa4b8; }
  .m-search button { flex:none; height:28px; padding:0 13px; border:0; border-radius:14px;
    background:var(--brand); color:#fff; font-size:12.5px; font-weight:600; font-family:inherit; }

  /* 内页 AppBar：返回 + 标题（首页款仍是 logo + 搜索） */
  .m-top-in { gap:8px; }
  .m-back { flex:none; width:32px; height:32px; margin-left:-6px; display:flex;
    align-items:center; justify-content:center; border-radius:50%;
    -webkit-tap-highlight-color:transparent; }
  .m-back svg { width:20px; height:20px; stroke:#1c2540; stroke-width:2.2; fill:none;
    stroke-linecap:round; stroke-linejoin:round; }
  .m-back:active { background:#f2f5fb; }
  .m-title { flex:1 1 auto; min-width:0; font-size:16.5px; font-weight:700; color:#1c2540;
    letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

  .m-msg { flex:none; width:34px; height:34px; border-radius:10px; background:#f2f5fb;
    display:flex; align-items:center; justify-content:center; position:relative; }
  .m-msg svg { width:18px; height:18px; stroke:#5b6577; stroke-width:1.8; fill:none;
    stroke-linecap:round; stroke-linejoin:round; }
  .m-msg .dot { position:absolute; top:2px; right:2px; min-width:15px; height:15px; line-height:15px;
    padding:0 3px; border-radius:8px; background:#f43f2f; color:#fff; font-size:10px;
    font-weight:700; text-align:center; }

  /* ---------- 底部 TabBar ---------- */
  .m-tab { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:90;
    background:#fff; border-top:1px solid var(--line);
    padding-bottom:env(safe-area-inset-bottom);
    box-shadow:0 -4px 18px rgba(31,58,138,.07); }
  .m-tab a { flex:1 1 0; min-width:0; height:52px; display:flex; flex-direction:column;
    align-items:center; justify-content:center; gap:2px; color:#8a93a6;
    font-size:11px; line-height:1; -webkit-tap-highlight-color:transparent; }
  .m-tab a svg { width:21px; height:21px; stroke:#9aa4b8; stroke-width:1.9; fill:none;
    stroke-linecap:round; stroke-linejoin:round; }
  .m-tab a.active { color:var(--brand); font-weight:600; }
  .m-tab a.active svg { stroke:var(--brand); }

  /* 中间「发布」金色强调按钮 */
  .m-tab a.pub { color:#a9781a; font-weight:600; }
  .m-tab a.pub .pub-ic { display:flex; align-items:center; justify-content:center;
    width:23px; height:23px; border-radius:7px; font-style:normal; font-size:16px; font-weight:700;
    line-height:1; color:#1a2a5c; background:linear-gradient(135deg,#ffc93c,#ffa800);
    box-shadow:0 3px 9px rgba(255,168,0,.32); }

  /* 消息未读角标 */
  .m-tab a { position:relative; }
  .m-tab a .badge { position:absolute; top:5px; left:calc(50% + 6px); min-width:15px; height:15px;
    padding:0 3px; border-radius:8px; background:#f43f2f; color:#fff; font-style:normal;
    font-size:10px; font-weight:700; line-height:15px; text-align:center; }

  /* ---------- 内容区 App 化微调 ---------- */
  .container { padding:0 12px; }
  .goods-card { border-radius:12px; border-color:#eef2fa;
    box-shadow:0 2px 10px rgba(31,58,138,.05); }
  .goods-card:active { transform:scale(.985); transition:transform .12s; }
  .section { margin-bottom:16px; }
  .section-head { margin-bottom:10px; }
  .section-head h2 { font-size:16.5px; }
  /* 内页 AppBar 已有同名标题，页内 h2 收掉，只留右侧计数/操作 */
  .section-head.m-headless h2 { display:none; }
  .section-head.m-headless { align-items:flex-start; margin-bottom:8px; }
  .tabs { gap:6px; }
  .tabs a { border-radius:14px; padding:7px 14px; }
  .list-end-cta { margin:12px 0 0; padding:16px; border-radius:12px; }
  .stat-cards { margin-top:12px; }

  /* 会员中心 / 个人中心：1fr 列会被内容 min-content 撑宽，必须 minmax(0,1fr) */
  .uc-wrap { grid-template-columns:minmax(0,1fr); }
  .uc-wrap > * { min-width:0; }
  .uc-stats { grid-template-columns:1fr 1fr; gap:10px; }
  .uc-main .table { overflow-x:auto; display:block; }
  .uc-main .table table, .uc-main table { min-width:0; }
  /* 会员中心顶部 tab 换行，避免右侧被裁切 */
  .uc-side nav { flex-wrap:wrap; overflow:visible; }

  /* ---------- 个人中心 · App 版（仅 user/center.php） ---------- */
  .uc-wrap-pc { display:none; }

  .uc-app { display:block; }

  .ua-hero { display:flex; align-items:center; gap:12px; padding:16px 14px;
    border-radius:16px; border:1px solid #e6eefc;
    background:linear-gradient(135deg,#eef4ff,#f8fbff); }
  .ua-ava { flex:none; width:54px; height:54px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg,#3b7cff,#2b5cd9); color:#fff;
    font-size:20px; font-weight:800; box-shadow:0 6px 16px rgba(59,124,255,.26); }
  .ua-id { flex:1; min-width:0; }
  .ua-id b { display:block; font-size:16px; font-weight:800; color:#1f2329;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .ua-id em { display:flex; align-items:center; gap:6px; margin-top:6px;
    font-size:12px; color:#8a93a6; font-style:normal; }
  .ua-badge { background:#eaf1ff; color:#2b5cd9; border-radius:6px; padding:1px 6px;
    font-size:11px; font-weight:600; }
  .ua-id em .ua-bal { color:#1f2329; font-weight:700; }
  .ua-acts { flex:none; display:flex; gap:8px; }
  .ua-acts a { height:30px; padding:0 12px; border-radius:15px; font-size:12.5px;
    display:flex; align-items:center; border:1px solid #d6e2ff; color:#2b5cd9;
    background:#fff; font-weight:600; text-decoration:none; }

  .ua-todo { margin-top:10px; padding:12px 14px; border-radius:14px;
    display:flex; flex-direction:column; gap:8px;
    background:linear-gradient(135deg,#fff6e6,#ffeccd); }
  .ua-todo a { font-size:13px; color:#a9701a; text-decoration:none; }
  .ua-todo a b { color:#f2632b; font-weight:800; }

  .ua-nums { margin-top:10px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
    background:#fff; border-radius:14px; box-shadow:0 2px 10px rgba(31,58,138,.05); }
  .ua-num { position:relative; padding:14px 6px; text-align:center; text-decoration:none; }
  .ua-num + .ua-num::before { content:''; position:absolute; left:0; top:50%;
    transform:translateY(-50%); width:1px; height:22px; background:#eef1f7; }
  .ua-num .v { display:block; font-size:17px; font-weight:800; color:#1f2329; line-height:1.2; }
  .ua-num .v.hot { color:#f2632b; }
  .ua-num .k { display:block; margin-top:4px; font-size:11px; color:#8a93a6; }

  .ua-panel { margin-top:10px; padding:14px; background:#fff; border-radius:14px;
    box-shadow:0 2px 10px rgba(31,58,138,.05); }
  .ua-hd { display:flex; align-items:center; justify-content:space-between; }
  .ua-hd strong { font-size:14.5px; font-weight:700; color:#1f2329; }
  .ua-hd a { font-size:12px; color:#8a93a6; text-decoration:none; }

  .ua-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px 6px; margin-top:14px; }
  .ua-grid a { position:relative; display:flex; flex-direction:column; align-items:center;
    gap:7px; text-decoration:none; }
  .ua-ic { width:38px; height:38px; border-radius:12px; background:#f1f5ff;
    display:flex; align-items:center; justify-content:center; }
  .ua-ic svg { width:20px; height:20px; stroke:#3b7cff; stroke-width:1.7; fill:none;
    stroke-linecap:round; stroke-linejoin:round; }
  .ua-grid a.gold .ua-ic { background:#fff5e0; }
  .ua-grid a.gold .ua-ic svg { stroke:#c8912a; }
  .ua-grid a b { font-size:12px; font-weight:600; color:#3d4757; }
  .ua-grid a i { position:absolute; top:-4px; right:calc(50% - 26px); min-width:16px; height:16px;
    padding:0 4px; border-radius:8px; background:#ff4d4f; color:#fff; font-size:10px;
    font-style:normal; font-weight:600; display:flex; align-items:center; justify-content:center; }

  .ua-orders { margin-top:12px; }
  .ua-order { display:block; padding:12px 0; border-top:1px solid #f2f5fa; text-decoration:none; }
  .ua-orders .ua-order:first-child { border-top:0; padding-top:2px; }
  .ua-order .t { display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical;
    overflow:hidden; font-size:13px; color:#1f2329; line-height:1.5; }
  .ua-order .r { display:flex; align-items:center; gap:8px; margin-top:7px; }
  .ua-order .m { font-size:13px; font-weight:700; color:#f2632b; }
  .ua-order .tag { font-size:11px; padding:2px 8px; border-radius:9px; background:#f4f6fa; color:#8a93a6; }
  .ua-order .tag.paid { background:#fff5e6; color:#c47a00; }
  .ua-order .tag.finished { background:#eaf7ee; color:#1a9b4b; }
  .ua-order .d { margin-left:auto; font-size:11px; color:#b6bfd0; }

  .ua-empty { margin-top:12px; padding:22px 12px; border-radius:12px; background:#f7f9fd;
    text-align:center; font-size:12.5px; color:#8a93a6; line-height:1.9; }
  .ua-empty a { color:#2b5cd9; }

  .ua-foot { margin-top:14px; display:flex; align-items:center; justify-content:center;
    gap:22px; padding:6px 0 4px; }
  .ua-foot a { font-size:12.5px; color:#8a93a6; text-decoration:none; }

  /* ---------- 分类页（cats.php）手机收紧 ---------- */
  .cats-wrap { padding:0 0 16px; }
  .cats-hero { border-radius:0; box-shadow:none; }
  .cats-hero-in { padding:18px 14px 20px; }
  .cats-hero-acts { margin-top:12px; }
  .cats-card { border-radius:13px; }
  .cats-tip { border-radius:11px; padding:13px 14px; }

  /* hero 压矮：标题小一档、说明最多 3 行、三个统计横排一行 */
  .cats-hero-in { gap:12px; padding:16px 14px 18px; }
  .cats-hero-in h1 { display:none; }
  .cats-hero-in .cats-hero-sub { font-size:12.5px; line-height:1.8; margin-top:8px;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
  .cats-hero-in .cats-hero-acts { margin-top:14px; }
  .cats-hero-in .cats-hero-stats { flex-direction:row; gap:8px; }
  .cats-hero-in .cats-hs { flex:1 1 0; min-width:0; flex-direction:column; align-items:center;
    gap:2px; padding:9px 4px; }
  .cats-hero-in .cats-hs strong { font-size:16px; line-height:1.2; }
  .cats-hero-in .cats-hs small { font-size:11px; white-space:nowrap; }

  /* 类目卡：手机上固定两列（覆盖 cats.php 自带的 430 单列） */
  .cats-card .cats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .cats-card .cats-item { padding:12px 11px 11px; }
  .cats-card .cats-item strong { font-size:13px; line-height:1.45; }
  .cats-card .cats-item .num { margin-top:6px; font-size:11px; padding:1px 7px; }
  .cats-card .cats-item .arrow { right:11px; top:12px; font-size:12px; }

  /* ---------- 商品/服务详情页 App 版 ---------- */
  .detail-wrap { display:none !important; }
  .d2 { display:block; padding:10px 12px 112px; }
  .d2-hero { position:relative; width:100%; aspect-ratio:16/9; height:auto; border-radius:14px;
    overflow:hidden; background:#f4f7fd; }
  .d2-hero img { width:100%; height:100%; object-fit:cover; display:block; }
  .d2-ph { width:100%; height:100%; display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:54px; font-weight:800; line-height:1; }
  .d2-badge { position:absolute; left:10px; top:10px; padding:3px 9px; border-radius:8px;
    font-size:11px; font-weight:700; color:#eaf1ff; background:rgba(31,58,138,.74); }
  .d2-badge.gs { background:rgba(15,143,95,.80); color:#e9fff5; }

  .d2-pricebar { display:flex; align-items:baseline; gap:8px; margin-top:13px; }
  .d2-pricebar b { font-size:26px; font-weight:800; color:#f4330a; letter-spacing:-.6px; line-height:1; }
  .d2-pricebar b small { font-size:14px; font-weight:700; margin-right:1px; }
  .d2-pricebar s { font-size:12.5px; color:#a8b1c2; }
  .d2-pricebar em { margin-left:auto; font-style:normal; font-size:12px; color:#8a93a6; }

  .d2-title { margin:9px 0 0; font-size:16.5px; line-height:1.58; font-weight:700; color:#16203a;
    word-break:break-word; }
  .d2-subl { display:flex; align-items:center; gap:6px; margin-top:7px; font-size:12px; color:#8a93a6; flex-wrap:wrap; }
  .d2-score { color:#e6a11a; font-weight:600; }
  .d2-score.off { color:#a8b1c2; font-weight:400; }
  .d2-sep { color:#d5dbe7; }
  .d2-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }
  .d2-tags span { padding:2px 8px; border-radius:7px; font-size:11.5px; color:#2f6ce0; background:#eef4ff; }

  .d2-shop { display:flex; align-items:center; gap:10px; margin-top:12px; padding:11px 13px;
    background:#fff; border:1px solid #eef1f7; border-radius:12px;
    box-shadow:0 2px 10px rgba(31,58,138,.04); }
  .d2-shop i { flex:none; width:34px; height:34px; border-radius:9px; font-style:normal; font-size:14px;
    font-weight:700; color:#1f3a8a; background:linear-gradient(135deg,#eef4ff,#dbe8ff);
    display:flex; align-items:center; justify-content:center; }
  .d2-shop-t { flex:1 1 auto; min-width:0; }
  .d2-shop-t b { display:block; font-size:13.5px; color:#16203a; white-space:nowrap; overflow:hidden;
    text-overflow:ellipsis; }
  .d2-shop-t span { display:block; font-size:11.5px; color:#98a1b3; margin-top:3px; }
  .d2-shop em { flex:none; font-style:normal; font-size:12px; color:#2f6ce0; }

  .d2-card { margin-top:12px; padding:14px 14px 16px; background:#fff; border:1px solid #eef1f7;
    border-radius:13px; box-shadow:0 2px 10px rgba(31,58,138,.04); }
  .d2-card h3 { margin:0 0 10px; font-size:13.5px; font-weight:700; color:#16203a;
    display:flex; align-items:center; gap:7px; }
  .d2-card h3::before { content:""; width:3px; height:13px; border-radius:2px;
    background:linear-gradient(180deg,#3b7cff,#1f3a8a); }
  .d2-desc { font-size:13px; line-height:1.92; color:#4a5568; word-break:break-word; }
  .d2-note { margin-top:12px; padding:10px 12px; border-radius:9px; background:#f7f9fe;
    border:1px dashed #dde6f7; font-size:12.5px; line-height:1.85; color:#5b6577; }
  .d2-note b { display:block; color:#2f6ce0; font-size:12px; margin-bottom:3px; }

  .d2-safe { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:12px; }
  .d2-safe div { padding:10px 6px; border-radius:11px; background:#f5f8fe; text-align:center; }
  .d2-safe b { display:block; font-size:11.5px; font-weight:700; color:#1f3a8a; }
  .d2-safe span { display:block; font-size:10.5px; color:#98a1b3; margin-top:3px; }
  .d2-rows { display:block; }
  .d2-row { display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
    padding:9px 0; border-bottom:1px solid #f2f5fa; font-size:12.5px; line-height:1.6; }
  .d2-row:last-child { border-bottom:0; padding-bottom:2px; }
  .d2-row > span { flex:0 0 auto; color:#8a93a6; }
  .d2-row > b { font-weight:600; color:#1b2437; text-align:right; min-width:0; word-break:break-word; }
  .d2-row > b.ok { color:#1c9c5e; }
  .d2-sg { display:flex; gap:10px; overflow-x:auto; padding:2px 0 4px; scrollbar-width:none; }
  .d2-sg::-webkit-scrollbar { display:none; }
  .d2-sg-a { flex:0 0 132px; text-decoration:none; color:inherit; }
  .d2-sg-th { display:flex; align-items:center; justify-content:center; width:132px; height:88px;
    border-radius:10px; overflow:hidden; background:#eef2fa; color:#fff; font-size:22px; font-weight:800; }
  .d2-sg-th img { width:100%; height:100%; object-fit:cover; display:block; }
  .d2-sg-t { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    margin-top:6px; font-size:12px; font-style:normal; color:#1b2437; line-height:1.45; }
  .d2-sg-p { display:block; margin-top:5px; font-size:13px; font-weight:800; color:#f4330a; }

  .d2-empty { padding:14px 0 4px; text-align:center; font-size:12.5px; color:#98a1b3; }
  .d2-cm { padding:11px 0; border-bottom:1px solid #f4f6fb; }
  .d2-cm:last-child { border-bottom:0; padding-bottom:2px; }
  .d2-cm-h { display:flex; align-items:center; gap:7px; font-size:11.5px; }
  .d2-cm-u { color:#5b6577; font-weight:600; }
  .d2-cm-s { color:#e6a11a; letter-spacing:1px; }
  .d2-cm-t { margin-left:auto; color:#b6bfd0; }
  .d2-cm-txt { margin-top:6px; font-size:12.5px; line-height:1.8; color:#4a5568; }

  .d2-bar { position:fixed; left:0; right:0; bottom:calc(52px + env(safe-area-inset-bottom)); z-index:85;
    display:flex; align-items:center; gap:10px; padding:9px 12px; background:rgba(255,255,255,.97);
    border-top:1px solid var(--line); box-shadow:0 -4px 16px rgba(31,58,138,.07); }
  .d2-bar-p { flex:1 1 auto; min-width:0; display:flex; align-items:baseline; }
  .d2-bar-p small { font-size:12px; font-weight:700; color:#f4330a; }
  .d2-bar-p b { font-size:21px; font-weight:800; color:#f4330a; letter-spacing:-.4px; }
  .d2-buy { flex:none; min-width:140px; height:44px; border-radius:12px; display:flex; align-items:center;
    justify-content:center; font-size:14.5px; font-weight:700; color:#fff;
    background:linear-gradient(135deg,#3b7cff,#1f3a8a); box-shadow:0 6px 16px rgba(31,58,138,.24); }
  .d2-buy.off { background:#eef1f7; color:#8a93a6; box-shadow:none; font-size:13px; font-weight:600; }
  /* ---------- 首页金刚区（手机端替换「最新交易」滚动条） ---------- */
  .tradebar { display:none !important; }
  .hero { display:none !important; }
  .m-swipe { display:block; position:relative; margin:12px 0 0; height:150px; border-radius:16px;
    overflow:hidden; box-shadow:0 6px 20px rgba(20,40,96,.12); }
  .m-swipe-view { height:100%; overflow:hidden; }
  .m-swipe-track { display:flex; height:100%; will-change:transform;
    transition:transform .45s cubic-bezier(.22,.61,.36,1); }
  .m-swipe-track a { position:relative; flex:0 0 100%; height:100%; box-sizing:border-box;
    display:block; padding:17px 16px 15px; color:#fff; overflow:hidden; }
  .ms-a { background:linear-gradient(118deg,#13235a 0%,#21409a 58%,#2f66d8 100%); }
  .ms-b { background:linear-gradient(118deg,#0b3d38 0%,#0d7a6a 58%,#12a487 100%); }
  .ms-c { background:linear-gradient(118deg,#3a1e05 0%,#a16207 58%,#e0a008 100%); }
  .m-swipe-track a::before { content:""; position:absolute; right:-56px; top:-84px; width:210px; height:210px;
    border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,0) 62%); }
  .m-swipe-track a::after { content:""; position:absolute; right:26px; bottom:-52px; width:132px; height:132px;
    border-radius:50%; border:1px solid rgba(255,255,255,.18); }
  .ms-tag { position:relative; z-index:2; display:inline-block; padding:2px 8px; border-radius:999px;
    font-size:11px; font-style:normal; font-weight:600; color:#fff;
    background:rgba(255,255,255,.20); border:1px solid rgba(255,255,255,.28); }
  .ms-title { position:relative; z-index:2; display:block; margin:8px 0 0; font-size:18px;
    font-weight:800; letter-spacing:-.2px; }
  .ms-sub { position:relative; z-index:2; display:block; margin:5px 0 0; font-size:11.5px;
    color:rgba(255,255,255,.78); }
  .ms-btn { position:relative; z-index:2; display:inline-flex; align-items:center; gap:2px;
    margin-top:9px; padding:5px 11px 5px 12px; border-radius:999px; font-size:11.5px; font-weight:700;
    color:#12224f; background:rgba(255,255,255,.94); }
  .ms-btn svg { width:13px; height:13px; stroke:#12224f; stroke-width:2; fill:none;
    stroke-linecap:round; stroke-linejoin:round; }
  .m-swipe-dots { position:absolute; right:14px; bottom:11px; z-index:3; display:flex; gap:5px;
    align-items:center; }
  .m-swipe-dot { display:block; width:5px; height:5px; border-radius:999px; background:rgba(255,255,255,.5);
    transition:width .25s, background .25s; }
  .m-swipe-dot.on { width:14px; background:#fff; }
  .m-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2px 0;
    background:#fff; border:1px solid var(--line); border-radius:16px;
    padding:12px 6px 10px; margin:12px 0 12px; box-shadow:0 4px 16px rgba(31,58,138,.05); }
  .m-nav a { display:flex; flex-direction:column; align-items:center; gap:6px;
    padding:2px 0 4px; -webkit-tap-highlight-color:transparent; }
  .m-nav a i { display:flex; align-items:center; justify-content:center;
    width:38px; height:38px; border-radius:12px; background:#eef3ff;
    border:1px solid #e2ebfd; }
  .m-nav a i svg { width:20px; height:20px; stroke:#2f6cf0; stroke-width:1.7;
    fill:none; stroke-linecap:round; stroke-linejoin:round; }
  .m-nav a b { font-size:12px; font-weight:600; color:#3d4757; letter-spacing:.2px; }
  .m-nav a.pub i { background:linear-gradient(135deg,#ffc42e,#ffa800); border-color:#ffb400;
    box-shadow:0 4px 12px rgba(255,168,0,.28); }
  .m-nav a.pub i svg { stroke:#1a2a5c; }
  .m-nav a.pub b { color:#c47a00; font-weight:700; }
  .m-nav a:active i { background:#e2ebfd; }

}
