/* ================= 手机 · 商店：店里（表 / 车 / 珠宝 / 典当 / 码头 / 商场 / 地产）· 服装店 / 衣柜 =================
   归属：场外线（方案 / 分工见 docs/mobile-a.md）。
   每条规则都挂在 html.m 下（js/core/mobile.js 判断是手机才加），电脑版一条都不命中；tests/mobile.test.js 逐条查。 */

/* ---------- mcity 11. 城市：店里——竖屏上面是店面、下面是详情（整页上下滑，「买下」贴底）；横屏左店面、右详情 290 ---------- */
html.m #cyShop.on{grid-template-columns:minmax(0,1fr) 290px;}
html.m.m-port #cyShop.on{display:block;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}
html.m.m-port #cyShop .cy-floor{height:calc(var(--m-vh,700px) * .56);min-height:360px;}
html.m.m-port #cyShop .cy-aside{overflow:visible;border-left:0;border-top:1px solid var(--brass-900);min-height:calc(var(--m-vh,700px) * .44 - var(--m-top));}
html.m .cy-aside .sec{padding:12px 16px;}
html.m .cy-aside .acts{position:sticky;bottom:0;z-index:3;padding:10px calc(14px + var(--m-safe-r)) calc(10px + var(--m-safe-b)) calc(14px + var(--m-safe-l));
  background:linear-gradient(180deg,#140e0a,#0e0a07);flex-wrap:wrap;}
html.m .cy-aside .acts .btn{min-width:0;}
html.m .cy-aside h2{font-size:19px;}
html.m .cy-aside .price{font-size:25px;}
html.m .cy-aside .seg button{min-height:44px;}
html.m .cy-aside .sw{gap:14px;}
html.m .cy-aside .sw i{position:relative;width:30px;height:30px;}
html.m .cy-aside .sw i::before{content:"";position:absolute;inset:-7px;}
html.m .cy-aside .sec.hero{padding:10px;}
html.m .cy-aside .sec.hero > svg{max-height:120px;width:auto;}
html.m .cy-chart{max-width:100%;height:auto;}   /* 5 年价值曲线固定 332 宽：右栏窄时按比例缩，不横着出栏 */
html.m .cy-aside .sec.hero .view-btn{height:40px;padding:0 14px;}
html.m .cy-aside .sec.hero .view-btn::before{content:"";position:absolute;left:0;right:0;top:50%;height:48px;margin-top:-24px;}
html.m .cy-aside .mine .bt .btn,html.m .cy .prow .bt .btn,html.m .usedlist .btn{height:44px;min-width:52px;}
html.m .cy-hint{padding-bottom:calc(12px + var(--m-safe-b));}
html.m .cy-i{position:relative;}
html.m .cy-i::before{content:"";position:absolute;inset:-14px;}
html.m .cy-i{width:22px;height:22px;font-size:13px;}   /* v75 城里 (i)：17 圆 / 11 字 → 22 / 13，点击范围 22 + 14 × 2 = 50 */
/* 店招 / 车行导航 / 筛选条：店招 44 高，键 44 */
html.m .cy-wall{height:44px;}
html.m .cy-wall .brand span{font-size:13px;letter-spacing:.34em;}
html.m .cy-subnav{top:44px;padding:2px 8px;}
html.m .cy-subnav button{height:44px;min-width:44px;justify-content:center;flex:none;}
html.m .cy-casebar{top:50px;left:10px;right:10px;height:44px;}
html.m .cy-casebar .seg{min-width:0;overflow-x:auto;scrollbar-width:none;flex:0 1 auto;}
html.m .cy-casebar .seg::-webkit-scrollbar{display:none;}
html.m .cy-casebar .seg button{height:44px;padding:0 10px;}
html.m .cy-sortb{height:44px;flex:none;}
html.m .cy-casebar.cy-dockbar{top:auto;bottom:10px;left:auto;right:10px;}
/* 车行：侧面车一排按宽度缩（每台 = 店里最长那台的比例 × 31%，B 档）；横屏车牌收起、右栏大图收起，看下面的型号条；型号条一行横滑（每条带一张 B 档小图） */
html.m .showroom .bays,html.m .showroom.paged .bays{top:96px;bottom:108px;}
html.m .showroom .bays.side{padding:2% 10px 0;}
html.m .showroom .bays.side.arr{padding-left:54px;padding-right:54px;}   /* 有翻页箭头（44px，离边 6px）时两边让出来，箭头不压车 */
html.m .showroom .bays.side .row{gap:3%;}
html.m .showroom .bays.side .bay{width:calc(var(--f,1) * 31%);}
html.m .showroom .bays.side .bay .car{padding-bottom:14px;}
html.m .showroom .bays.side .bay .plate b,html.m .showroom .bays.side .bay .plate i{font-size:11px;}
html.m.m-land .showroom .bays.side .bay .plate{display:none;}
html.m.m-land .cy-aside .sec.carhero{display:none;}
html.m .cy-aside .sec.carhero{padding:16px 14px 14px;}
html.m .cy-strip{left:8px;right:8px;bottom:8px;height:auto;gap:4px;}
html.m .cy-strip .hd{height:44px;}
html.m .cy-strip .hd .seg button{height:44px;}
html.m .cy-strip .chips{display:flex;overflow-x:auto;overflow-y:hidden;gap:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex:none;height:48px;}
html.m .cy-strip .chips::-webkit-scrollbar{display:none;}
html.m .cy .mchip{flex:none;width:150px;height:48px;}
html.m .cy .mchip.vt{width:162px;}
html.m .cy .mchip.vt .vth,html.m .cy .mchip.vt .vth svg{width:46px;}
html.m .cy-bayarr{width:44px;height:44px;top:calc(50% - 50px);}
html.m .cy-bayarr.l{left:6px;} html.m .cy-bayarr.r{right:6px;}
/* 玻璃柜：垫子小一号，一页几件由 city-shops.js caseGrid 按手机屏算（竖屏 3 列 × 1–2 行，横屏 4–5 列 × 1 行） */
html.m .boutique .counter,html.m .boutique.paged .counter{left:8px;right:8px;top:100px;bottom:10px;gap:8px;}
html.m .boutique .glass{grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:10px 8px;padding:12px 10px 16px;min-width:0;width:100%;}
html.m .boutique .piece{padding:6px 2px 42px;gap:4px;}
html.m .boutique .piece .cush{width:min(76px,100%);height:80px;border-radius:14px;}
html.m .boutique .piece .cush svg{max-height:66px;width:auto;}
html.m .boutique .piece .plate{width:calc(100% + 4px);}
html.m .boutique .piece .plate b,html.m .boutique .piece .plate i{font-size:12px;}
html.m .cy-pager{gap:16px;}
html.m .cy-pager .pb{width:44px;height:44px;}
/* 典当行：竖屏两块上下排 */
html.m .pawnfloor .cols{left:8px;right:8px;top:52px;bottom:8px;gap:8px;}
html.m.m-port .pawnfloor .cols{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.3fr) minmax(0,1fr);}
html.m .pawnfloor .pb{padding:2px 10px;}
html.m .cy .prow .bt{flex-wrap:wrap;}
html.m .usedlist{padding:0 14px 8px;}
html.m .usedlist .urow{min-height:52px;}
/* 游艇码头：船按屏高缩；竖屏名牌两行放大（× 0.62 后 ≈ 10.5px），横屏收起 */
html.m .marinafloor .water{top:44px;}
html.m .marinafloor .berth{zoom:var(--m-yz,.62);}
html.m.m-land .marinafloor{--m-yz:.42;}
html.m .marinafloor .berth .plate{width:124px;white-space:normal;}
html.m .marinafloor .berth .plate b{font-size:17px;line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
html.m .marinafloor .berth .plate i{font-size:17px;}
html.m.m-land .marinafloor .berth .plate{display:none;}
/* 商场名录 */
html.m .mallfloor .dir{left:10px;right:10px;top:54px;bottom:10px;overflow-y:auto;}
html.m .mallfloor .drow{grid-template-columns:10px minmax(0,1fr);height:auto;min-height:52px;padding:6px 14px;row-gap:0;}
html.m .mallfloor .drow .ad{grid-column:2;}
/* 地产中介 / 租房：在售 · 租房 · 我的 + 区一行横滑，下面房源卡片 */
html.m .estatefloor .etop{margin-top:44px;padding:6px 8px;gap:8px;flex-wrap:wrap;}
html.m .estatefloor .etop > .seg button,html.m .estatefloor .chips button{height:44px;}
html.m .estatefloor .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;}
html.m .estatefloor .chips::-webkit-scrollbar{display:none;}
html.m .estatefloor .grid{padding:8px;gap:8px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));}
html.m .lcard svg.thumb{height:78px;}
html.m .cy-viewing-win{height:min(380px,calc(var(--m-vh,700px) * .5));}
html.m .modal-box.w760.cy-viewing{width:100%;}
/* ---------- mcity 14. 服装店 / 衣柜 / 门店名录 / 门口着装（js/core/fashion-ui.js，全屏 #fashionLayer）：竖屏人物在上、货在下；横屏人物在左 ---------- */
html.m .fs-bar{height:calc(var(--m-top) + var(--m-safe-t));padding:var(--m-safe-t) calc(8px + var(--m-safe-r)) 0 calc(8px + var(--m-safe-l));gap:8px;}
html.m .fs-ib{width:44px;height:44px;}
html.m .fs-loc{overflow:hidden;text-overflow:ellipsis;min-width:0;}
html.m .fs-sheet{inset:calc(var(--m-top) + var(--m-safe-t)) 0 0;}
html.m .fs-panel{min-height:0;}                                  /* 不写的话货架把购买条挤出屏幕 */
html.m .fs-tabs{flex-wrap:wrap;row-gap:6px;gap:6px;padding:8px 10px 6px;}
html.m .fs-tabs .grow{flex:1 1 100%;height:0;}                    /* 分类一行；价格 / 男女 / 已打烊下一行 */
html.m .fs-tab{min-width:44px;height:44px;}
html.m .fs-sort{height:44px;}
html.m .fs-layer .seg button{min-width:44px;min-height:44px;padding:0 14px;font-size:13px;}
html.m .fs-grid{gap:8px;}
html.m .fs-store .fs-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));}
html.m .fs-buy{padding:8px calc(10px + var(--m-safe-r)) calc(8px + var(--m-safe-b)) calc(10px + var(--m-safe-l));}
html.m .fs-buy .t{flex:1 1 60%;}
html.m .fs-buy .p{font-size:21px;}
html.m .fs-buy .btn{height:44px;}
html.m .fs-buy .btn.lg{min-width:0;flex:1 1 40%;}
html.m .fs-buy .seg{flex:none;}
html.m .fs-buy .seg button{white-space:nowrap;}
html.m .fs-buy .t b{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
html.m .fs-stage .fs-halls{max-width:calc(100% - 60px);}
html.m.m-land .fs-body{flex-direction:row;}
html.m.m-land .fs-stage,html.m.m-land .fs-home{width:clamp(200px,30%,280px);height:auto;border-bottom:0;border-right:1px solid var(--brass-900);}
/* 横屏人物栏窄：四个厅的着装标签折成 2–4 行，原来绝对定位压在人物头肩上——改成上下两格：标签一格、人物在下面一格（背景 / 眼睛 / (i) 仍绝对定位） */
html.m.m-land .fs-stage{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);}
html.m.m-land .fs-stage > .fs-halls{position:relative;left:auto;top:auto;right:auto;max-width:none;grid-row:1;grid-column:1;margin:12px 56px 0 12px;}
html.m.m-land .fs-stage > .fs-fig{position:relative;inset:auto;grid-row:2;grid-column:1;min-height:0;margin:6px 0;}
html.m.m-land .fs-store .fs-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));}
html.m.m-land .fs-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;}
html.m.m-land .fs-tabs::-webkit-scrollbar{display:none;}
html.m.m-land .fs-tabs .grow{flex:1 1 0;height:auto;}
html.m.m-land .fs-tab,html.m.m-land .fs-sort,html.m.m-land .fs-tabs .seg{flex:none;}
html.m.m-land .fs-buy{flex-wrap:nowrap;}
html.m.m-land .fs-buy .btn.lg{flex:none;min-width:110px;}
/* 衣柜：竖屏槽位一排横滑，横屏竖排 84 宽；搭配一行横滑 */
html.m .fs-slots{scrollbar-width:none;-webkit-overflow-scrolling:touch;}
html.m .fs-slots::-webkit-scrollbar{display:none;}
html.m .fs-slot{min-width:64px;min-height:64px;padding:3px;}
html.m .fs-slot .th{width:54px;height:54px;}
html.m.m-land .fs-slots{width:84px;flex-direction:column;overflow-x:hidden;overflow-y:auto;border-right:1px solid var(--hairline);}
html.m.m-land .fs-slot > .ic{display:none;}
html.m .fs-looks{height:auto;min-height:84px;overflow-x:auto;padding:8px calc(10px + var(--m-safe-r)) calc(8px + var(--m-safe-b)) calc(10px + var(--m-safe-l));flex-wrap:nowrap;}
html.m .fs-look{flex:none;}
html.m .fs-look .x{display:grid;width:26px;height:26px;}
html.m .fs-looks .btn{height:44px;flex:none;}
/* 门店名录 */
html.m .fs-lbody{padding:10px 0 calc(16px + var(--m-safe-b));gap:12px;}
html.m .fs-lgrp{width:calc(100% - 20px - var(--m-safe-l) - var(--m-safe-r));}
html.m .fs-lrow{height:auto;min-height:60px;gap:10px;padding:6px 12px;}
html.m .fs-lmark{width:min(150px,42%);}
html.m .fs-lmark .fs-wm{max-width:100%;height:28px;}
html.m .fs-laddr{min-width:0;overflow:hidden;text-overflow:ellipsis;}
html.m .fs-closed{flex:none;}
/* 卖出面板 / 门口着装弹窗（内容少，整宽一块居中） */
html.m .fs-srow{min-height:52px;flex-wrap:wrap;}
html.m .fs-srow .btn.sm{height:44px;}
html.m .fs-gbox{width:100%;padding:16px 16px 0;}
html.m .modal.fs-gate{align-items:center;padding:12px calc(12px + var(--m-safe-r)) 12px calc(12px + var(--m-safe-l));}
html.m .fs-gate .modal-box{height:auto;max-height:100% !important;border-radius:var(--r-2);border:1px solid var(--brass-700);}
html.m .fs-gbox .mf{margin:0 -16px;}
html.m .fs-gbox .mf .btn{flex:1 1 0;}

/* ======================================================================================================
   场外线 · A 商店（js/m/shop.js；样稿 A-4c 表行 · A-4d 详情抽屉）
   · 店里整页上下滑：店招收起（店名在顶栏），筛选 + 价格排序一行粘在顶上，商品两列卡片（图 150 高 · 名字两行 · 价格 16 粗衬线）
   · 点一张卡：右栏 .cy-aside 变成底部详情抽屉（html.m-cydet；贴在标签栏上面，约 70% 高），「存款 $x · 买下 $价格」固定在抽屉底
   · 典当 / 商场：右栏照常排在页里
   ====================================================================================================== */
html.m.m-port #cyShop.on{background:#110c09;}
html.m.m-port #cyShop .cy-floor{height:auto;min-height:0;overflow:visible;background:none;}
html.m.m-port #cyShop .cy-floor::before,html.m.m-port #cyShop .cy-floor::after{display:none;}
html.m.m-port #cyShop .cy-wall{display:none;}
/* 工具条：筛选分段（撑满）+ 价格排序，粘在顶上 */
html.m.m-port #cyShop .cy-casebar,html.m.m-port #cyShop .cy-strip .hd,html.m.m-port #cyShop .estatefloor .etop{position:sticky;top:0;left:auto;right:auto;z-index:4;display:flex;align-items:center;gap:8px;
  height:auto;margin:0;padding:12px 16px;border:0;background:linear-gradient(180deg,#110c09 82%,rgba(17,12,9,0));}
html.m.m-port #cyShop .cy-casebar .seg,html.m.m-port #cyShop .cy-strip .hd .seg{display:flex;flex:1 1 auto;min-width:0;height:44px;padding:3px;border-radius:10px;background:#0b0806;border:1px solid var(--ma-hair);overflow-x:auto;}
html.m.m-port #cyShop .cy-casebar .seg button,html.m.m-port #cyShop .cy-strip .hd .seg button{position:relative;flex:1 0 auto;height:auto;min-height:0;padding:0 12px;border:0;border-radius:7px;background:none;color:var(--tx-2);font-size:14px;letter-spacing:.06em;}
html.m.m-port #cyShop .cy-casebar .seg button::before,html.m.m-port #cyShop .cy-strip .hd .seg button::before{content:"";position:absolute;left:0;right:0;top:50%;height:44px;margin-top:-22px;}
html.m.m-port #cyShop .cy-casebar .seg button.on,html.m.m-port #cyShop .cy-strip .hd .seg button.on{background:linear-gradient(180deg,#3a2a17,#2a1d10);color:var(--brass-100);box-shadow:0 0 0 1px var(--ma-hair2) inset;}
html.m.m-port #cyShop .cy-casebar .grow,html.m.m-port #cyShop .cy-strip .hd .grow{flex:1 1 0;min-width:0;}
html.m.m-port #cyShop .cy-casebar .seg + .grow,html.m.m-port #cyShop .cy-strip .hd .seg + .grow{flex:0 0 0;}
html.m.m-port #cyShop .cy-sortb{height:44px;padding:0 14px;border-radius:10px;font-size:15px;color:var(--brass-100);border-color:var(--ma-hair2);background:linear-gradient(180deg,#2b2016,#1c140d);}
/* 两列卡片：表 / 珠宝（玻璃柜里的 .piece） */
html.m.m-port #cyShop .boutique .counter{position:static;display:block;padding:0 16px 20px;}
html.m.m-port #cyShop .boutique .glass{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:auto;min-width:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;}
html.m.m-port #cyShop .boutique .glass::before,html.m.m-port #cyShop .boutique .glass::after{display:none;}
html.m.m-port #cyShop .boutique .piece{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border-radius:14px;overflow:hidden;
  background:linear-gradient(180deg,#16211c,#0f1512);border:1px solid rgba(201,160,82,.16);}
html.m.m-port #cyShop .boutique .piece:active{filter:brightness(1.08);}
html.m.m-port #cyShop .boutique .piece .cush{width:auto;height:150px;border-radius:0;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(ellipse at 50% 45%,#1d3a2e,#0c1913 75%);box-shadow:none;}
html.m.m-port #cyShop .boutique.jewel .piece{background:linear-gradient(180deg,#211a1e,#140f12);}
html.m.m-port #cyShop .boutique.jewel .piece .cush{background:radial-gradient(ellipse at 50% 42%,#3a2530,#1a1016 75%);}
html.m.m-port #cyShop .boutique .piece .cush svg{width:auto;height:128px;max-height:none;max-width:90%;}
html.m.m-port #cyShop .boutique.jewel .piece .cush svg{height:96px;}
html.m.m-port #cyShop .boutique .piece .plate{position:static;left:auto;bottom:auto;transform:none;width:auto;padding:8px 10px 10px;text-align:left;white-space:normal;pointer-events:none;}
html.m.m-port #cyShop .boutique .piece .plate b{min-height:2.6em;font-size:14px;line-height:1.3;color:var(--tx-1);}
html.m.m-port #cyShop .boutique .piece .plate i{display:block;margin-top:4px;font-family:var(--serif);font-weight:700;font-size:16px;color:var(--brass-300);}
html.m.m-port #cyShop .boutique .piece.sel{border-color:var(--brass-300);}
html.m.m-port #cyShop .boutique .piece.sel .cush{box-shadow:none;}
html.m.m-port #cyShop .cy-pager{display:none;}
/* 车行：上面一行车行 logo（横滑），下面型号两列卡片（原来的型号条）；展厅一排车 / 翻页箭头收起 */
html.m.m-port #cyShop .showroom .bays,html.m.m-port #cyShop .cy-bayarr{display:none;}
html.m.m-port #cyShop .cy-subnav{position:static;display:flex;gap:4px;padding:8px 12px;overflow-x:auto;scrollbar-width:none;background:#0d0907;border-bottom:1px solid var(--ma-hair);}
html.m.m-port #cyShop .cy-subnav::-webkit-scrollbar{display:none;}
html.m.m-port #cyShop .cy-strip{position:static;left:auto;right:auto;bottom:auto;height:auto;display:block;padding:0 16px 20px;}
html.m.m-port #cyShop .cy-strip .hd{margin:0 -16px;}
html.m.m-port #cyShop .cy-strip .chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:12px;height:auto;overflow:visible;}
html.m.m-port #cyShop .mchip.vt{position:relative;display:flex;flex-direction:column;align-items:stretch;width:auto;height:auto;padding:0 0 10px;gap:0;border-radius:14px;overflow:hidden;text-align:left;
  background:linear-gradient(180deg,#1a1612,#100d0a);border:1px solid rgba(201,160,82,.16);}
html.m.m-port #cyShop .mchip.vt.on{border-color:var(--brass-300);}
html.m.m-port #cyShop .mchip.vt .vth{width:auto;height:104px;margin:0 0 8px;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(ellipse 70% 60% at 50% 70%,rgba(255,236,200,.1),transparent 70%),linear-gradient(180deg,#1b1714,#0b0907);}
html.m.m-port #cyShop .mchip.vt .vth svg{width:88%;height:auto;}
html.m.m-port #cyShop .mchip.vt b{padding:0 10px;font-family:var(--serif);font-weight:400;font-size:14px;line-height:1.3;color:var(--tx-1);white-space:normal;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:2.6em;}
html.m.m-port #cyShop .mchip.vt span{padding:4px 10px 0;font-family:var(--serif);font-weight:700;font-size:16px;color:var(--brass-300);}
html.m.m-port #cyShop .mchip.vt em{position:absolute;left:8px;top:8px;padding:2px 7px;border-radius:6px;font-style:normal;font-size:12px;background:rgba(0,0,0,.55);color:#e6b07a;}
/* 游艇码头：泊位变两列卡片 */
html.m.m-port #cyShop .marinafloor{background:#0b1a24;}
html.m.m-port #cyShop .marinafloor .water{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 16px 20px;background:none;}
html.m.m-port #cyShop .marinafloor .pontoon{display:none;}
html.m.m-port #cyShop .marinafloor .berth{position:relative;left:auto !important;top:auto;transform:none;zoom:1;padding:10px 6px 10px;border-radius:14px;
  background:radial-gradient(ellipse at 50% 40%,#123247,#081520 75%);border:1px solid rgba(201,160,82,.16);}
html.m.m-port #cyShop .marinafloor .berth.sel{border-color:var(--brass-300);box-shadow:none;}
html.m.m-port #cyShop .marinafloor .berth svg{width:auto;height:170px;max-width:100%;}
html.m.m-port #cyShop .marinafloor .berth .plate{width:auto;margin-top:8px;white-space:normal;text-align:center;}
html.m.m-port #cyShop .marinafloor .berth .plate b{font-size:14px;line-height:1.3;}
html.m.m-port #cyShop .marinafloor .berth .plate i{font-size:16px;font-weight:700;}
html.m.m-port #cyShop .marinafloor .cy-dockbar{position:static;grid-column:1 / -1;order:-1;justify-content:flex-end;height:auto;padding:0;background:none;}
/* 地产中介 / 租房：在售 · 租房 · 我的 + 区一行横滑粘在顶上，房源两列 */
html.m.m-port #cyShop .estatefloor{display:block;}
html.m.m-port #cyShop .estatefloor .etop{flex-wrap:wrap;}
html.m.m-port #cyShop .estatefloor .etop > .seg{flex:none;}
html.m.m-port #cyShop .estatefloor .chips{flex:1 1 100%;}
html.m.m-port #cyShop .estatefloor .chips button{font-size:14px;}
html.m.m-port #cyShop .estatefloor .grid{overflow:visible;padding:0 16px 20px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
html.m.m-port #cyShop .lcard{border-radius:14px;}
html.m.m-port #cyShop .lcard svg.thumb{height:100px;}
html.m.m-port #cyShop .lcard .tx{grid-template-columns:minmax(0,1fr);padding:8px 10px 10px;}
html.m.m-port #cyShop .lcard .tx b{font-size:14px;}
html.m.m-port #cyShop .lcard .tx span{font-size:13px;}
html.m.m-port #cyShop .lcard .tx i{grid-column:1;grid-row:auto;margin-top:2px;font-weight:700;color:var(--brass-300);}
/* 典当行：两块上下排；二手表接在页里 */
html.m.m-port #cyShop .pawnfloor .cols{position:static;display:flex;flex-direction:column;gap:12px;padding:12px 16px;}
html.m.m-port #cyShop .pawnfloor .panel{min-height:0;}
html.m.m-port #cyShop .pawnfloor .prow{min-height:56px;}
html.m.m-port #cyShop[data-cat="pawn"] .cy-aside{display:flex;position:static;overflow:visible;min-height:0;border-top:1px solid var(--ma-hair);}
/* 商场名录 */
html.m.m-port #cyShop .mallfloor .dir{position:static;padding:12px 16px 20px;gap:10px;}
html.m.m-port #cyShop .mallfloor .drow{min-height:60px;border-radius:12px;}
html.m.m-port #cyShop[data-cat="shopping"] .cy-aside{display:none;}

/* ---------- 详情抽屉：右栏 .cy-aside（html.m-cydet） ---------- */
html.m.m-port #cyShop .cy-aside{display:none;}
html.m.m-port.m-cydet #cyShop .cy-aside{display:flex;flex-direction:column;position:fixed;left:0;right:0;bottom:calc(var(--m-tabh) + var(--m-tabsb,0px));z-index:40;
  max-height:calc((var(--m-vh,100vh) - var(--m-tabh) - var(--m-tabsb,0px)) * .86);min-height:calc((var(--m-vh,100vh) - var(--m-tabh) - var(--m-tabsb,0px)) * .62);
  overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:18px 18px 0 0;background:linear-gradient(180deg,#1b130f,#120d0a);
  box-shadow:0 -1px 0 var(--ma-hair2),0 -18px 40px rgba(0,0,0,.6);transition:transform .2s ease;}
html.m.m-port.m-cydet #cyShop .cy-aside.m-drag{transition:none;}
html.m .m-pgrab,html.m .m-fsgrab{display:flex;align-items:center;justify-content:center;flex:none;height:28px;position:relative;touch-action:none;cursor:grab;}
html.m .m-pgrab i,html.m .m-fsgrab i{width:40px;height:5px;border-radius:3px;background:rgba(232,222,198,.28);}
html.m.m-port.m-cydet #cyShop .m-pgrab{position:sticky;top:0;z-index:3;background:linear-gradient(180deg,#1b130f 70%,rgba(27,19,15,0));}
html.m .m-px{position:absolute;right:calc(6px + var(--m-safe-r));top:2px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;background:none;color:var(--brass-300);cursor:pointer;}
html.m .m-px .ic{width:18px;height:18px;}
html.m.m-port.m-cydet #cyShop .cy-aside .sec{border-bottom:0;padding:6px 20px;}
html.m.m-port.m-cydet #cyShop .cy-aside .sec.hero{margin:0 20px 4px;padding:12px;height:220px;border-radius:16px;background:radial-gradient(ellipse at 50% 45%,#1f3d31,#0b1712 75%);}
html.m.m-port.m-cydet #cyShop[data-cat="jewel"] .cy-aside .sec.hero{background:radial-gradient(ellipse at 50% 42%,#3a2530,#1a1016 75%);}
html.m.m-port.m-cydet #cyShop .cy-aside .sec.hero > svg{max-height:196px;height:196px;width:auto;}
html.m.m-port.m-cydet #cyShop .cy-aside .sec.hero.wide{height:180px;padding:0;overflow:hidden;}
html.m.m-port.m-cydet #cyShop .cy-aside .sec.hero.wide > svg{height:100%;width:100%;max-height:none;}
html.m.m-port.m-cydet #cyShop .cy-aside .sec.carhero{margin:0 20px 4px;padding:18px 10px 14px;border-radius:16px;}
html.m.m-port.m-cydet #cyShop .cy-aside h2{font-size:20px;line-height:1.3;}
html.m.m-port.m-cydet #cyShop .cy-aside .yr{font-size:13px;}
html.m.m-port.m-cydet #cyShop .cy-aside .price{margin-top:8px;font-size:24px;}
html.m.m-port.m-cydet #cyShop .cy-aside .price small{font-size:13px;}
html.m.m-port.m-cydet #cyShop .cy-aside .kv span,html.m.m-port.m-cydet #cyShop .cy-aside .kv b{font-size:14px;}
html.m.m-port.m-cydet #cyShop .cy-aside .acts{position:sticky;bottom:0;margin-top:auto;display:flex;flex-wrap:nowrap;align-items:center;gap:10px;padding:10px 20px calc(12px + var(--m-safe-b));
  border-top:1px solid rgba(201,160,82,.14);background:#120d0a;}
html.m.m-port.m-cydet #cyShop .cy-aside .acts.wrap{flex-wrap:wrap;}
html.m.m-port.m-cydet #cyShop .cy-aside .acts .btn{height:52px;padding:0 16px;font-size:15px;border-radius:12px;}
html.m.m-port.m-cydet #cyShop .cy-aside .acts .btn.primary{flex:1 1 auto;font-size:16px;}
html.m.m-port.m-cydet #cyShop .m-pay{display:flex;flex-direction:column;flex:none;line-height:1.25;margin-right:4px;}
html.m.m-port.m-cydet #cyShop .m-pay small{font-size:12px;color:var(--ma-tx3);opacity:1;}
html.m.m-port.m-cydet #cyShop .m-pay b{font-family:var(--serif);font-weight:400;font-size:15px;color:var(--tx-1);}
html.m.m-port.m-cydet #cyShop .acts.wrap .m-pay{flex:1 1 100%;flex-direction:row;gap:8px;align-items:baseline;}
html.m .m-cyscrim{display:none;}
html.m.m-port.m-cydet .m-cyscrim{display:block;position:fixed;left:0;right:0;top:0;bottom:calc(var(--m-tabh) + var(--m-tabsb,0px));z-index:39;background:rgba(0,0,0,.55);}

/* ---------- 服装店：顶栏 ‹ + 店名 + 钱；两列衣服卡；点一件 = 试穿 + 抽屉（人物 + 购买条）（html.m-fsdet） ---------- */
html.m.m-port .fs-store .fs-bar{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;grid-template-rows:auto auto;column-gap:8px;align-items:center;
  height:calc(var(--m-top) + 8px + var(--m-safe-t));padding:var(--m-safe-t) calc(8px + var(--m-safe-r)) 0 calc(4px + var(--m-safe-l));}
html.m.m-port .fs-store .fs-bar > .fs-ib{grid-row:1 / 3;grid-column:1;border:0;background:none;}
html.m.m-port .fs-store .fs-center{display:flex;position:static;grid-row:1;grid-column:2;height:auto;transform:none;align-items:flex-start;justify-content:flex-end;min-width:0;}
html.m.m-port .fs-store .fs-center .fs-wm,html.m.m-port .fs-store .fs-center:has(.b-org) .fs-wm{height:22px;max-width:100%;}
html.m.m-port .fs-store .fs-center .b-org{display:none;}
html.m.m-port .fs-store .fs-loc{grid-row:2;grid-column:2;align-self:start;font-size:12px;}
html.m.m-port .fs-store .fs-bar .grow,html.m.m-port .fs-store .fs-bar .badge.tier{display:none;}
html.m.m-port .fs-store .fs-kv,html.m.m-port .fs-store .fs-kv:not(:first-of-type){display:flex;grid-row:1 / 3;flex-direction:column-reverse;align-items:flex-end;}
html.m.m-port .fs-store .fs-kv small{font-size:12px;}
html.m.m-port .fs-store .fs-kv b{font-size:15px;}
html.m.m-port .fs-store .fs-body{flex-direction:column;}
html.m.m-port .fs-store .fs-stage{display:none;}
html.m.m-port .fs-store .fs-panel{flex:1 1 auto;}
html.m.m-port .fs-store .fs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:4px 16px 20px;}
html.m.m-port .fs-store .fs-it .ph{aspect-ratio:auto;height:200px;}
html.m.m-port .fs-store .fs-it .meta{padding:8px 10px 10px;}
html.m.m-port .fs-store .fs-it .nm{font-size:14px;}
html.m.m-port .fs-store .fs-it .pr{font-size:16px;font-weight:700;}
html.m.m-port .fs-store .fs-buy{display:none;}
html.m .m-fsscrim,html.m .m-fsgrab{display:none;}
html.m.m-port.m-fsdet .m-fsscrim{display:block;position:fixed;inset:0;z-index:5;background:rgba(0,0,0,.55);}
html.m.m-port.m-fsdet .fs-store .fs-stage{display:block;position:fixed;left:0;right:0;top:calc(var(--m-vh,100vh) * .24 + 28px);bottom:calc(var(--m-fsbuy,96px) + var(--m-safe-b));z-index:6;width:auto;height:auto;border:0;}
html.m.m-port.m-fsdet .m-fsgrab{display:flex;position:fixed;left:0;right:0;top:calc(var(--m-vh,100vh) * .24);z-index:7;height:28px;border-radius:18px 18px 0 0;background:#1b130f;box-shadow:0 -1px 0 var(--ma-hair2),0 -18px 40px rgba(0,0,0,.6);}
html.m.m-port.m-fsdet .m-fsgrab .m-px{top:-8px;z-index:8;}
html.m.m-port.m-fsdet .fs-store .fs-buy{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:7;min-height:calc(var(--m-fsbuy,96px) + var(--m-safe-b));align-content:center;
  border-top:1px solid rgba(201,160,82,.14);background:inherit;}   /* 跟着店的配色（平价店是浅色货架，字是深色） */
html.m.m-port.m-fsdet .fs-store .fs-buy .btn.lg{height:52px;}
/* 横着拿（一列 480 × 393，工具栏时 340）：详情抽屉的大图压矮，名字 / 价格不用滑就看得到 */
html.m.m-col.m-cydet #cyShop .cy-aside{max-height:calc((var(--m-vh,100vh) - var(--m-tabh) - var(--m-tabsb,0px)) * .94);min-height:0;}
html.m.m-col.m-cydet #cyShop .cy-aside .sec.hero{height:120px;}
html.m.m-col.m-cydet #cyShop .cy-aside .sec.hero > svg{height:104px;max-height:104px;}
html.m.m-col.m-cydet #cyShop .cy-aside .sec.hero.wide{height:110px;}
html.m.m-col.m-cydet #cyShop .cy-aside .sec.carhero{padding:8px 10px 6px;}
html.m.m-col.m-cydet #cyShop .cy-aside .sec.carhero > svg{max-height:110px;width:auto;margin:0 auto;}
html.m.m-col.m-fsdet .fs-store .fs-stage{top:calc(var(--m-vh,100vh) * .1 + 28px);}
html.m.m-col.m-fsdet .m-fsgrab{top:calc(var(--m-vh,100vh) * .1);}
/* 衣柜（家里，FashionUI.openWardrobe）：人物压到 34% 高，衣服格子多留地方；搭配那一条 72 高 */
html.m.m-port .fs-wardrobe .fs-home,html.m.m-port .fs-wardrobe .fs-stage{height:34%;}
html.m.m-port .fs-wardrobe .fs-looks{min-height:72px;padding-top:6px;padding-bottom:calc(6px + var(--m-safe-b));}
html.m.m-port .fs-wardrobe .fs-look{min-width:56px;min-height:56px;}
/* 复核 #7：车行卡片里的车只有 50 来宽（电脑版的 align-self:center 让图框缩成车图自己的 60 宽）→ 图框撑满卡片宽，车图占九成 */
html.m.m-port #cyShop .mchip.vt > .vth{align-self:stretch;width:auto;height:112px;}
html.m.m-port #cyShop .mchip.vt > .vth svg{width:92%;max-width:none;height:auto;}
html.m .cy .b-org{font-size:12px;}   /* 「瑞士 · 腕表」11 px → 12 */
/* v72–v75 新页面：城里 ATM 那页的「回赌场」36 高 → 44；店里面板抬头右边的小字（典当「月息 4% · 13 周」）11 px → 12 */
html.m .atmfloor .atm-box .btn{height:44px;min-width:120px;padding:0 20px;font-size:15px;}
html.m .panel .ph small{font-size:12px;}
/* 合 v79：二手行（v77）的型号条只放字，卡上「2018 · 私人」那颗小牌是电脑版的 11 px → 12 */
html.m .cy .mchip em{font-size:12px;}
/* 合 v79：车行详情的档位条（v77：911 标准 / T / S）一个字的格子只有 36 宽 → 至少 52 */
html.m .cy-aside .cy-trims button{min-width:52px;justify-content:center;text-align:center;}
/* 合 v79：二手行（v77）的型号条只放字（.mchip 不带 .vt）：竖排两列整宽卡片（原来定宽 150，名字被右边「2022 · 私人」挤得只剩三四个字）——名字最多两行，下面一行 价格 · 年款 / 私人 */
html.m.m-port #cyShop .cy-strip .mchip:not(.vt){width:auto;height:auto;min-height:64px;padding:8px 10px;gap:4px 8px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:space-between;border-radius:12px;}
html.m.m-port #cyShop .cy-strip .mchip:not(.vt) b{grid-column:1 / -1;grid-row:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;font-size:14px;line-height:1.3;}
html.m.m-port #cyShop .cy-strip .mchip:not(.vt) span{grid-column:1;grid-row:2;align-self:end;font-size:14px;}
html.m.m-port #cyShop .cy-strip .mchip:not(.vt) em{grid-column:2;grid-row:2;align-self:end;}
/* v81 富人世界的「想要」心（右栏价格旁）和城市顶栏「想要 N」：手机上点击范围 44（合 fmoney 时的走查：心是 32×32） */
html.m .cy-wish{width:44px;height:44px;right:8px;top:6px;}
html.m .cy-wishbtn{height:44px;min-width:44px;justify-content:center;}
