/* ==========================================================================
   同城 · 手机端 App 版式（仅 ≤720px 生效，桌面端完全不受影响）
   2026-11-02
   - 顶栏改为 App 搜索条（城市 / 搜索 / 头像）
   - 首页：分类九宫格 + 横滑置顶 + 卡片流
   - 列表：吸顶分类 + 筛选底部抽屉 + 加载更多
   - 详情：全屏横滑图 + 底部操作条
   - 发布：底部固定提交条
   ========================================================================== */

/* 移动端专用节点：桌面隐藏 */
.m-only,.m-avatar,.m-back,.m-title,.m-sicon,.m-fbar,.m-loadmore,.m-mask,
.m-sheet-h,.m-actbar,.m-price-row,.m-mstats{display:none}

@media (max-width:720px){

  /* ---------- 基础 ---------- */
  html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
  body{
    background:#f3f5f8;
    margin:0;
    padding-bottom:calc(56px + env(safe-area-inset-bottom));
    -webkit-tap-highlight-color:transparent;
    overscroll-behavior-y:none;
  }
  body.pg-publish,body[data-path="/me/merchant"]{
    padding-bottom:calc(64px + env(safe-area-inset-bottom));
  }
  body.pg-item{
    padding-bottom:calc(76px + env(safe-area-inset-bottom));
  }
  body.pg-admin{padding-bottom:calc(56px + env(safe-area-inset-bottom))}
  .p-main{padding-bottom:6px}
  .p-wrap{padding:0 12px}
  .p-ft{display:none}
  .p-nav{display:none}          /* 手机上不再需要频道条，底部 tab 已覆盖 */
  .m-only{display:block}
  a,button{-webkit-tap-highlight-color:transparent}

  /* ---------- App 顶栏 ---------- */
  body:not(.pg-admin) .p-hdr{
    position:sticky;top:0;z-index:90;
    background:rgba(255,255,255,.94);
    -webkit-backdrop-filter:saturate(180%) blur(12px);
    backdrop-filter:saturate(180%) blur(12px);
    border-bottom:1px solid rgba(15,23,42,.05);
    transition:box-shadow .2s;
  }
  body.m-scrolled:not(.pg-admin) .p-hdr{
    box-shadow:0 4px 16px rgba(16,24,40,.08);
    border-bottom-color:transparent;
  }
  /* 顶栏两行：第一行 logo + 站名 + 头像 */
  body:not(.pg-admin) .p-hdr .p-hd{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-areas:"back brand avatar" "city search search";
    align-items:center;
    column-gap:7px;row-gap:8px;
    height:auto;padding:7px 12px 9px;
  }
  body.pg-home:not(.pg-admin) .p-hdr .p-hd{
    grid-template-areas:"brand brand avatar" "city search search";
  }
  body:not(.pg-admin) .p-hdr .p-brand{
    display:flex;grid-area:brand;align-items:center;
    min-width:0;gap:7px;text-decoration:none;
  }
  body:not(.pg-admin) .p-hdr .p-logo,
  body:not(.pg-admin) .p-hdr .p-brand img{
    width:30px;height:30px;border-radius:9px;font-size:15px;
  }
  body:not(.pg-admin) .p-hdr .p-bt{min-width:0}
  body:not(.pg-admin) .p-hdr .p-bt b{
    display:block;font-size:15.5px;line-height:1.2;
    white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  }
  body:not(.pg-admin) .p-hdr .p-bt em{display:none}
  body:not(.pg-admin) .p-hdr .p-note{
    display:inline-block;font-size:9.5px;margin-left:5px;vertical-align:1px;
  }

  /* 城市 */
  body:not(.pg-admin) .p-hcity{
    grid-area:city;margin:0;gap:2px;
    background:#eef1f5;border:0;border-radius:15px;
    height:30px;padding:0 6px 0 7px;
  }
  .p-hcity svg{width:12px;height:12px;flex:0 0 12px;stroke-width:1.9}
  .p-hcity select{font-size:12.5px;max-width:74px;height:28px;padding:0;color:#2b3138}

  /* 搜索 */
  body:not(.pg-admin) .p-hdr .p-sbox{
    grid-area:search;width:100%;max-width:none;min-width:0;margin:0;
    box-sizing:border-box;
    border:0;background:#eef1f5;border-radius:16px;
    height:34px;display:flex;align-items:center;padding:0 3px 0 9px;
  }
  .p-sbox .m-sicon{
    display:block;width:14px;height:14px;flex:0 0 14px;
    fill:none;stroke:#9aa4ad;stroke-width:2;stroke-linecap:round;
  }
  .p-sbox input{height:32px;font-size:13px;padding:0 7px;background:transparent}
  .p-sbox button{
    height:26px;padding:0 11px;border-radius:13px;
    font-size:12px;font-weight:500;margin-right:1px;
  }

  /* 头像 */
  .m-avatar{
    display:flex;grid-area:avatar;width:32px;height:32px;border-radius:50%;
    align-items:center;justify-content:center;text-decoration:none;
    background:var(--p-brand-l);color:var(--p-brand);
    font-size:13px;font-weight:700;line-height:1;
  }
  .m-avatar:active{transform:scale(.94)}

  /* 详情 / 发布 / 认证：返回 + 标题 */
  .m-back{
    display:flex;grid-area:back;align-items:center;justify-content:center;
    width:28px;height:32px;
    color:#15181c;text-decoration:none;margin-right:-2px;
  }
  .m-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .m-title{
    display:none;
  }
  body:not(.pg-admin):not(.pg-home) .m-back{display:flex}
  body.pg-home .m-back{display:none}
  body.pg-admin .m-back{display:none}
  body.pg-item .p-hdr .p-hcity,body.pg-item .p-hdr .p-sbox,
  body.pg-publish .p-hdr .p-hcity,body.pg-publish .p-hdr .p-sbox,
  body[data-path="/me/merchant"] .p-hdr .p-hcity,
  body[data-path="/me/merchant"] .p-hdr .p-sbox{display:none}

  /* ---------- 底部 Tab ---------- */
  .p-tabbar{
    display:grid;grid-template-columns:repeat(5,1fr);
    position:fixed;left:0;right:0;bottom:0;z-index:100;
    background:rgba(255,255,255,.97);
    -webkit-backdrop-filter:saturate(180%) blur(14px);
    backdrop-filter:saturate(180%) blur(14px);
    border-top:1px solid rgba(15,23,42,.06);
    box-shadow:0 -6px 24px rgba(16,24,40,.06);
    padding-bottom:env(safe-area-inset-bottom);
    height:calc(56px + env(safe-area-inset-bottom));
  }
  .p-tabbar a{height:56px;gap:3px;font-size:10.5px;color:#98a1aa}
  .p-tabbar a svg{width:23px;height:23px}
  .p-tabbar a.on{color:var(--p-brand)}
  .p-tab-mid{position:relative;overflow:visible;color:var(--p-brand)!important}
  .p-tab-mid span{display:none}
  .p-tab-mid svg{
    width:24px!important;height:24px!important;box-sizing:content-box;
    padding:10px;border-radius:50%;
    background:linear-gradient(140deg,var(--p-brand),var(--p-brand-d));
    stroke:#fff!important;fill:none;stroke-width:1.8;
    margin-top:-16px;
    box-shadow:0 6px 16px rgba(16,24,40,.22),0 0 0 4px #fff;
  }
  .p-tab-mid:active svg{transform:scale(.94)}

  body.pg-item .p-tabbar,
  body.pg-publish .p-tabbar,
  body[data-path="/me/merchant"] .p-tabbar{display:none}

  /* ---------- 通用标题 ---------- */
  .p-sech{font-size:16px;margin:0 0 9px;padding-left:9px;border-left-width:3px}
  .p-sech a{font-size:12px}
  .t-sec{margin-bottom:16px}

  /* ======================================================================
     首页
     ====================================================================== */
  .pg-home .t-hero{display:none}
  .pg-home .p-main{padding-top:10px}
  .pg-home .t-citybar,.pg-home .t-quick,.pg-home .t-stats{display:none}
  .pg-home .p-colside{display:none}
  .pg-home .p-cols{display:block;margin:0;padding:0}

  /* 分类九宫格 */
  .m-cats{
    background:#fff;border-radius:14px;
    margin:0 0 10px;padding:12px 4px 10px;
    box-shadow:0 1px 2px rgba(16,24,40,.05);
  }
  .m-cats-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:0 9px 10px}
  .m-cats-h b{font-size:15px;color:#15181c}
  .m-cats-h span{font-size:11px;color:#9aa4ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .m-cats-g{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px 0}
  .m-cat{
    display:flex;flex-direction:column;align-items:center;gap:6px;
    text-decoration:none;color:#2b3138;min-width:0;
  }
  .m-cat i{
    width:40px;height:40px;border-radius:13px;
    display:flex;align-items:center;justify-content:center;
    transition:transform .15s;
  }
  .m-cat:active i{transform:scale(.92)}
  .m-cat svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
  .m-cat span{font-size:11.5px;line-height:1.2;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .m-ci-0{background:#e8f1fd;color:#2b7fd4}
  .m-ci-1{background:#fdeee8;color:#d9622b}
  .m-ci-2{background:#eaf6ef;color:#2c9360}
  .m-ci-3{background:#eaf3fb;color:#2477b8}
  .m-ci-4{background:#fdf1e3;color:#c67a1c}
  .m-ci-5{background:#efeafa;color:#7551c9}
  .m-ci-6{background:#fdeaf0;color:#c04a72}
  .m-ci-7{background:#e9f4f4;color:#2b8a8a}
  .m-ci-8{background:#eef0fb;color:#4a5bc4}
  .m-ci-9{background:#f3f4f6;color:#5d6672}

  /* 置顶：2×2 宫格，不横滑 */
  .pg-home .t-tops{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:0;padding:0;
    overflow:visible;
  }
  .pg-home .t-topcard{
    border:0;border-radius:12px;
    box-shadow:0 2px 10px rgba(16,24,40,.08);
    overflow:hidden;
  }
  .pg-home .t-topcard:nth-child(n+5){display:none}
  .pg-home .t-topimg{aspect-ratio:4/3}
  .pg-home .t-topcard h3{font-size:13.5px;line-height:1.4;height:38px;margin:8px 10px 4px}
  .pg-home .t-topcard .t-meta{margin:0 10px 4px;font-size:11px}
  .pg-home .t-topcard .t-price{margin:0 10px 10px;font-size:15px}
  .t-price em{font-size:11px}

  /* 信息卡片流 */
  .t-feed{background:transparent;border:0;border-radius:0;overflow:visible}
  .t-row{
    grid-template-columns:104px minmax(0,1fr);
    gap:11px;padding:10px;
    background:#fff;border:0;border-radius:12px;
    margin-bottom:9px;
    box-shadow:0 1px 2px rgba(16,24,40,.05);
    transition:transform .12s;
  }
  .t-row:active{transform:scale(.992);background:#fcfcfd}
  .t-row:last-child{border-bottom:0}
  .t-thumb{width:104px;height:104px;border-radius:10px}
  .t-rowin h3{font-size:14.5px;line-height:1.42;margin:0 0 5px;-webkit-line-clamp:2}
  .t-sum{display:none}
  .t-meta{font-size:11px;gap:6px;line-height:1.5}
  .t-tag{padding:1px 6px;font-size:10.5px}
  .t-rowp{grid-column:2;font-size:16px;font-weight:700;align-self:start;margin-top:1px}
  .t-rowp em{display:inline;margin-left:2px;text-align:left;font-size:11px}
  .t-ph{font-size:11.5px;letter-spacing:.2px}

  /* ======================================================================
     列表页
     ====================================================================== */
  .pg-list .p-crumb{display:none}
  .pg-list .p-main{padding-top:0}
  .pg-list .t-catbar{
    position:sticky;top:52px;z-index:70;
    margin:0 -12px;padding:8px 12px 9px;
    background:rgba(243,245,248,.96);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    gap:7px;scrollbar-width:none;
  }
  .pg-list .t-catbar::-webkit-scrollbar{display:none}
  .t-catbar a{
    padding:6px 12px;font-size:13px;border-radius:15px;
    border:1px solid transparent;box-shadow:0 1px 2px rgba(16,24,40,.05);
    background:#fff;color:#3c434b;
  }
  .t-catbar a.on{background:var(--p-brand);color:#fff;border-color:var(--p-brand);font-weight:600}

  /* 筛选条 */
  .m-fbar{
    display:flex;align-items:center;gap:8px;
    padding:2px 0 9px;
  }
  .m-fbtn{
    display:inline-flex;align-items:center;gap:4px;
    border:0;background:#fff;color:#2b3138;
    height:30px;padding:0 11px;border-radius:15px;
    font-size:12.5px;font-family:inherit;
    box-shadow:0 1px 2px rgba(16,24,40,.05);
  }
  .m-fbtn svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
  .m-fbtn.on{background:var(--p-brand-l);color:var(--p-brand)}
  .m-fsum{font-size:11.5px;color:#9aa4ad;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .m-fcount{margin-left:auto;font-size:11.5px;color:#9aa4ad;white-space:nowrap}
  .m-fcount b{color:var(--p-brand);font-weight:600}
  .pg-list .t-count{display:none}

  /* 筛选底部抽屉 */
  .pg-list .t-filter{
    position:fixed;left:0;right:0;bottom:0;z-index:130;
    background:#fff;border:0;border-radius:18px 18px 0 0;
    padding:0 16px calc(12px + env(safe-area-inset-bottom));
    margin:0;max-height:74vh;overflow-y:auto;
    transform:translateY(112%);
    transition:transform .28s cubic-bezier(.32,.72,0,1);
    box-shadow:0 -8px 40px rgba(16,24,40,.18);
  }
  body.m-filter-open .pg-list .t-filter,
  body.m-filter-open .t-filter{transform:translateY(0)}
  .m-sheet-h{
    display:flex;align-items:center;justify-content:space-between;
    position:sticky;top:0;background:#fff;z-index:2;
    padding:16px 0 8px;
  }
  .m-sheet-h b{font-size:16px;color:#15181c}
  .m-sheet-h button{
    border:0;background:var(--p-brand);color:#fff;
    font-size:13px;padding:6px 14px;border-radius:14px;font-family:inherit;
  }
  .t-frow{gap:8px;font-size:13px;padding:9px 0;align-items:flex-start}
  .t-frow>span{width:30px;flex:0 0 30px;padding-top:5px;font-size:12px}
  .t-frow a{padding:4px 10px;border-radius:13px;background:#f3f5f8;font-size:12.5px}
  .t-frow a.on{background:var(--p-brand);color:#fff;font-weight:500}
  .m-mask{
    position:fixed;inset:0;z-index:120;background:rgba(15,23,42,.42);
    opacity:0;pointer-events:none;transition:opacity .25s;
  }
  body.m-filter-open .m-mask{opacity:1;pointer-events:auto}

  /* 加载更多 */
  .m-loadmore{padding:6px 0 14px;text-align:center}
  .m-loadmore button{
    width:100%;height:42px;border:0;border-radius:12px;
    background:#fff;color:var(--p-brand);font-size:14px;font-family:inherit;
    box-shadow:0 1px 2px rgba(16,24,40,.05);
  }
  .m-loadmore button:disabled{color:#aab1b9}
  .m-end{font-size:12px;color:#aab1b9;margin:10px 0 6px}
  .pg-list .t-pager{display:none}

  /* ======================================================================
     详情页
     ====================================================================== */
  .pg-item .p-main{padding-bottom:0}
  .pg-item .p-crumb{display:none}
  .pg-item .t-cols{display:block;margin:0;padding:0}

  .pg-item .t-cmain{display:flex;flex-direction:column}
  .pg-item .t-cmain>.t-note{order:-10;margin:10px 0}
  .pg-item .t-gallery,.pg-item .t-ph-hero{order:-3}
  .pg-item .t-title{order:-2}
  .pg-item .m-price-row{order:-1;display:flex}
  .pg-item .t-imeta{order:0}

  /* 全屏横滑图 */
  .pg-item .t-gallery{
    display:flex;gap:0;overflow-x:auto;
    scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    margin:0 -12px 0;border-radius:0;background:#0f1115;
    scrollbar-width:none;position:relative;
  }
  .pg-item .t-gallery::-webkit-scrollbar{display:none}
  .pg-item .t-gimg{
    flex:0 0 100%;aspect-ratio:1/1;border-radius:0;
    scroll-snap-align:center;background:#0f1115;
  }
  .pg-item .t-gimg img{object-fit:cover}
  .pg-item .t-ph-hero{
    height:auto;aspect-ratio:1/1;border-radius:0;margin:0 -12px;
  }
  .m-galnum{
    order:-3;align-self:flex-end;
    margin:-30px 10px 10px 0;
    position:relative;z-index:3;
    background:rgba(0,0,0,.55);color:#fff;
    font-size:11.5px;line-height:1;padding:5px 9px;border-radius:11px;
    pointer-events:none;
  }
  body.m-filter-open{overflow:hidden}

  /* 标题区 */
  .pg-item .t-title{
    background:#fff;margin:0 -12px;padding:14px 14px 2px;
    font-size:19px;line-height:1.45;
  }
  .pg-item .t-title .t-badge-top,.pg-item .t-title .t-v{vertical-align:1px}
  .m-price-row{
    background:#fff;margin:0 -12px;padding:4px 14px 3px;
    align-items:baseline;gap:8px;
  }
  .m-price{font-size:24px;font-weight:800;color:var(--p-brand);line-height:1.2}
  .m-price em{font-size:12px;font-weight:400;color:#9aa4ad;font-style:normal;margin-left:3px}
  .m-pmeta{margin-left:auto;font-size:11.5px;color:#9aa4ad}
  .pg-item .t-imeta{
    background:#fff;margin:0 -12px 10px;padding:5px 14px 13px;
    font-size:11.5px;gap:8px;
  }

  /* 正文 / 评论 */
  .pg-item .t-body{
    background:#fff;border:0;border-radius:0;
    margin:0 -12px;padding:16px 14px;font-size:15px;line-height:1.9;
  }
  .pg-item .t-summarybox{
    background:#fff;margin:0 -12px;padding:0 14px 14px;border-left:0;
  }
  .pg-item .t-cmt{margin:10px -12px 0;background:#fff;padding:14px}
  .pg-item .t-cmt .p-sech{margin-top:0}
  .pg-item .t-cmform textarea{border-radius:10px;background:#f6f7f9;border-color:transparent;font-size:14px}
  .pg-item .t-cmform button{width:100%;height:42px;border-radius:11px;font-size:14.5px}
  .pg-item .t-cmform .t-hint{text-align:center;margin:0}
  .pg-item .t-cm{border:0;border-radius:10px;background:#f7f8fa;padding:11px 12px}
  .pg-item .t-sec{margin:10px -12px 0;background:#fff;padding:14px}
  .pg-item .t-sec .t-row{margin-bottom:9px;background:#f7f8fa;box-shadow:none}
  .pg-item .t-sec .t-row:last-child{margin-bottom:0}

  /* 侧栏（商家/管理/置顶卡） */
  .pg-item .t-cside{padding:10px 0 4px}
  .pg-item .t-cside>.t-ccard{display:none}
  .pg-item .t-card{border-radius:12px;box-shadow:0 1px 2px rgba(16,24,40,.05);border-color:transparent}
  .pg-item .t-cside .t-oper{background:transparent;border:0;box-shadow:none;padding:0;gap:8px}
  .pg-item .t-cside .t-oper .t-btn{background:#fff}

  /* 底部操作条 */
  .m-actbar{
    display:flex;align-items:center;gap:8px;
    position:fixed;left:0;right:0;bottom:0;z-index:100;
    background:rgba(255,255,255,.97);
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    border-top:1px solid rgba(15,23,42,.06);
    padding:8px 12px calc(8px + env(safe-area-inset-bottom));
    box-shadow:0 -4px 20px rgba(16,24,40,.07);
  }
  .m-actbar form{margin:0;flex:0 0 auto}
  .m-actbar a,.m-actbar button{
    display:inline-flex;align-items:center;justify-content:center;
    height:44px;border-radius:12px;font-size:14.5px;font-family:inherit;
    text-decoration:none;border:0;cursor:pointer;
  }
  .m-ab-fav{
    flex:0 0 44px;flex-direction:column;gap:1px;width:44px;background:transparent!important;
    color:#5d6672;font-size:10.5px!important;height:44px;
  }
  .m-ab-fav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .m-ab-fav.on{color:var(--p-brand)}
  .m-ab-btn,.m-ab-primary{flex:1;min-width:0;padding:0 10px;overflow:hidden}
  .m-ab-tx{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .m-ab-tel{background:#eef1f5;color:#15181c;font-weight:600}
  .m-ab-wechat{background:#07c160;color:#fff;font-weight:600}
  .m-ab-wa{background:#25d366;color:#fff;font-weight:600}
  .m-ab-tg{background:#229ed9;color:#fff;font-weight:600}
  .m-ab-primary{background:linear-gradient(135deg,var(--p-brand),var(--p-brand-d));color:#fff;font-weight:600}

  /* ======================================================================
     发布 / 认证
     ====================================================================== */
  .pg-publish .p-colside,body[data-path="/me/merchant"] .p-colside{display:none}
  .pg-publish .p-cols>.t-card,body[data-path="/me/merchant"] .p-cols>.t-card{display:none}
  .pg-publish .p-cols,body[data-path="/me/merchant"] .p-cols{display:block;margin:0;padding:0}
  .t-pubhead{padding:12px 0 4px}
  .t-pubhead h1{font-size:19px;margin:0 0 4px}
  .t-pubhead p{font-size:12px;line-height:1.6}
  .t-pubhead p a{color:var(--p-brand)}
  .t-form{
    border:0;border-radius:14px;padding:14px;margin:10px 0 96px;
    background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.05);max-width:none;
  }
  .t-fsec{margin-bottom:14px}
  .t-lbl{font-size:12.5px;margin-bottom:6px}
  .t-input{padding:11px 12px;font-size:14px;border-radius:10px;background:#f7f8fa;border-color:transparent}
  .t-input:focus{background:#fff}
  .t-chipbox{gap:7px}
  .t-chip span{padding:7px 12px;font-size:12.5px;border-radius:15px;background:#f7f8fa;border-color:transparent}
  .t-chip input:checked+span{background:var(--p-brand-l);color:var(--p-brand);border-color:var(--p-brand);font-weight:600}
  .t-photo-head{margin-bottom:3px}
  .t-photo-tip{font-size:12px;margin:0 0 9px}
  .t-upone{gap:12px;min-height:82px;padding:14px 15px;border-radius:13px}
  .t-upone-ico{width:44px;height:44px;flex:0 0 44px;border-radius:12px}
  .t-upone-ico>svg{width:22px;height:22px}
  .t-upone-tx b{font-size:15px}
  .t-upone-tx em{font-size:11.5px;line-height:1.45;margin-top:3px}
  .t-upgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
  .t-upitem{border-radius:11px}
  .t-updel{width:30px;height:30px;right:4px;top:4px;font-size:18px}
  .t-upempty{padding:14px 10px;border-radius:11px;font-size:12px}
  .t-upnote{font-size:12px;padding:8px 10px}
  .t-two{gap:10px}
  .t-fact{
    position:fixed;left:0;right:0;bottom:0;z-index:100;
    display:flex;align-items:center;gap:8px;
    background:rgba(255,255,255,.97);
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    border-top:1px solid rgba(15,23,42,.06);
    box-shadow:0 -4px 20px rgba(16,24,40,.07);
    padding:8px 12px calc(8px + env(safe-area-inset-bottom));
    margin:0;
  }
  .t-fact .t-btn{height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;font-size:14px}
  .t-fact .t-btn.primary{flex:1;order:2}
  .t-fact .t-btn:not(.primary){order:1;flex:0 0 86px;background:#f3f5f8;border-color:transparent;color:#5d6672}
  .t-fact .t-hint{
    order:0;position:absolute;left:12px;right:12px;bottom:calc(100% + 6px);
    margin:0;background:#fff2f0;color:#a12b2b;padding:8px 11px;border-radius:10px;
    box-shadow:0 4px 14px rgba(16,24,40,.08);font-size:12.5px;
  }
  .t-fact .t-hint:empty{display:none}

  /* ======================================================================
     我的
     ====================================================================== */
  .pg-me .p-main{padding-bottom:0}
  .t-me{padding-bottom:12px}
  .t-mhead{
    background:linear-gradient(150deg,var(--p-brand),var(--p-brand-d));
    border:0;border-radius:16px;color:#fff;
    padding:18px 16px 14px;margin:10px 0 10px;
    gap:12px;align-items:center;
    box-shadow:0 6px 20px rgba(16,24,40,.12);
  }
  .t-avatar{
    width:52px;height:52px;font-size:21px;
    background:rgba(255,255,255,.22);color:#fff;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);
  }
  .t-mhead h1{font-size:17.5px;color:#fff}
  .t-mhead .t-hint{color:rgba(255,255,255,.8);font-size:11.5px;margin:2px 0 0}
  .t-mhead .t-v{background:rgba(255,255,255,.22);color:#fff}
  .t-mactions{width:100%;margin:6px 0 0;gap:8px}
  .t-mactions .t-btn{
    flex:1;height:36px;display:inline-flex;align-items:center;justify-content:center;
    border-radius:10px;font-size:12.5px;
    background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);color:#fff;
  }
  .t-mactions .t-btn.primary{background:#fff;border-color:#fff;color:var(--p-brand);font-weight:600}
  .t-mactions .t-btn-adm{background:rgba(0,0,0,.18)}
  .m-mstats{display:flex;gap:0;margin:2px 0 0;width:100%;background:rgba(255,255,255,.14);border-radius:12px;padding:8px 0}
  .m-mstats a{flex:1;text-align:center;text-decoration:none;color:#fff;position:relative}
  .m-mstats a+a::before{content:"";position:absolute;left:0;top:15%;height:70%;width:1px;background:rgba(255,255,255,.22)}
  .m-mstats b{display:block;font-size:17px;line-height:1.2}
  .m-mstats span{font-size:11px;opacity:.8}
  .t-adminbar{border-radius:12px;margin:0 0 10px;padding:11px 13px;background:linear-gradient(100deg,#2b3138,#15181c)}
  .t-adminbar-t b{font-size:14px}

  .t-mtabs{
    position:sticky;top:52px;z-index:60;
    display:flex;gap:6px;flex-wrap:nowrap;overflow-x:auto;
    margin:0 -12px 10px;padding:8px 12px;
    background:rgba(243,245,248,.96);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    scrollbar-width:none;
  }
  .t-mtabs::-webkit-scrollbar{display:none}
  .t-mtabs a{
    flex:0 0 auto;padding:7px 13px;border-radius:15px;font-size:13px;
    border:1px solid transparent;background:#fff;color:#3c434b;
    box-shadow:0 1px 2px rgba(16,24,40,.05);white-space:nowrap;
  }
  .t-mtabs a.on{background:var(--p-brand);color:#fff;font-weight:600}
  .t-mtabs i{font-size:11px;opacity:.7}
  .t-mtabs a.on i{opacity:.9}
  .t-mhead{margin-top:10px}
  .t-me .t-card{border:0;border-radius:12px;box-shadow:0 1px 2px rgba(16,24,40,.05)}
  .t-acts a{padding:3px 0}
  .t-st{font-size:11px;padding:2px 7px;border-radius:5px}

  /* ======================================================================
     其它
     ====================================================================== */
  .t-empty{background:#fff;border-radius:12px;padding:30px 16px;font-size:13px}
  .t-okmsg{border-radius:10px;font-size:12.5px}
  .t-note{border-radius:10px;font-size:12.5px}
  .t-hsearch{display:none}

  /* 小屏再收一点 */
  @media (max-width:360px){
    .m-cats{gap:11px 0}
    .m-cat i{width:36px;height:36px;border-radius:12px}
    .m-cat svg{width:19px;height:19px}
    .m-cat span{font-size:10.5px}
    .pg-home .t-tops{gap:8px}
    .pg-home .t-topcard h3{font-size:12.5px}
  }

  /* 会员中心：操作按钮 2×2，退出单独成格 */
  .pg-me .t-mactions{
    width:100%;margin-left:0;
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  }
  .pg-me .t-mactions .t-btn{
    display:flex;align-items:center;justify-content:center;
    padding:10px 8px;font-size:13.5px;
  }
  .pg-me .t-btn-out{color:#a12b2b;border-color:#f0d2d2}
}

/* m-quickacts · 首页快捷入口「我要发布 / 我的发布」（仅手机端，桌面不可见） */
@media (max-width:720px){
  .m-quickacts{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;margin:0 0 10px;
  }
  .m-qa{
    display:flex;flex-direction:column;
    padding:13px 13px 14px;border-radius:15px;
    text-decoration:none;overflow:hidden;min-width:0;
    box-shadow:0 2px 10px rgba(16,24,40,.08);
    -webkit-tap-highlight-color:transparent;
    transition:transform .12s;
  }
  .m-qa:active{transform:scale(.985)}
  .m-qa i{
    width:38px;height:38px;border-radius:12px;
    display:flex;align-items:center;justify-content:center;
    margin-bottom:10px;flex:0 0 auto;
  }
  .m-qa svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .m-qa b{font-size:15px;line-height:1.25;font-weight:700}
  .m-qa span{font-size:11px;line-height:1.35;margin-top:3px;opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .m-qa-pub{background:linear-gradient(135deg,var(--p-brand) 0%,var(--p-brand-d) 100%);color:#fff}
  .m-qa-pub i{background:rgba(255,255,255,.2);color:#fff}
  .m-qa-me{background:#fff;color:#15181c}
  .m-qa-me i{background:var(--p-brand-l);color:var(--p-brand)}
}
