/* =========================================================
 * 康悦养生 · 自适应手机版（独立 H5 入口 m.html）
 * 手机全屏；桌面打开时居中呈现为设备视图
 * ========================================================= */

html, body { height: 100%; }
body {
  background: #0e201b;
  background-image: radial-gradient(900px 500px at 50% -10%, rgba(199,169,109,.12), transparent 70%);
  overflow: hidden;
}

.m-shell {
  width: 100%; max-width: 440px;
  height: 100vh; height: 100dvh;
  margin: 0 auto; background: var(--bg);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}

/* ---------- 顶部品牌头 ---------- */
.m-header {
  flex: none; position: relative; z-index: 20;
  background: linear-gradient(125deg, #0b231d 0%, #123c31 58%, #0a231d 100%);
  border-bottom: 1px solid rgba(199,169,109,.28);
  color: #fff; padding: 0 16px 12px;
}
.m-header::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold-500), rgba(199,169,109,.15)); }
.m-header-row { height: 56px; display: flex; align-items: center; gap: 11px; }
.m-brand-mark {
  width: 34px; height: 34px; flex: none; border-radius: 4px;
  border: 1px solid var(--gold-500); background: rgba(199,169,109,.1);
  color: var(--gold-300); font-family: var(--serif); font-size: 19px;
  display: grid; place-items: center;
}
.m-brand-txt { min-width: 0; flex: 1; }
.m-brand-txt b { display: block; font-family: var(--serif); font-size: 16px; letter-spacing: 2px; font-weight: 600; color: #fff; }
.m-brand-txt span { display: block; font-size: 8.5px; letter-spacing: 2.2px; color: var(--gold-500); }
.m-admin-link {
  width: 32px; height: 32px; flex: none; border-radius: 5px;
  border: 1px solid rgba(199,169,109,.3); color: var(--gold-300);
  display: grid; place-items: center;
}
.m-admin-link .icon { width: 16px; height: 16px; }
.m-page-title { display: flex; align-items: center; gap: 9px; font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: 1px; }
.m-page-title i { display: block; width: 22px; height: 1px; background: var(--gold-500); }
.m-page-title em { font-style: normal; font-size: 9.5px; letter-spacing: 2px; color: var(--gold-500); text-transform: uppercase; }

/* ---------- 内容区 ---------- */
.m-main { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.m-main::-webkit-scrollbar { width: 0; }
.m-page { display: none; padding-bottom: 26px; animation: mIn .22s ease; }
.m-page.active { display: block; }
@keyframes mIn { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }

/* ---------- 首页 Hero ---------- */
.m-hero {
  position: relative; overflow: hidden; padding: 30px 20px 22px;
  background:
    radial-gradient(400px 240px at 90% 0%, rgba(199,169,109,.16), transparent 65%),
    linear-gradient(150deg, #0b231d, #143e32 62%, #0a231d);
  color: #fff; border-bottom: 1px solid rgba(199,169,109,.2);
}
.m-hero::after { content: ''; position: absolute; right: -70px; top: -80px; width: 230px; height: 230px; border-radius: 50%; border: 34px solid rgba(199,169,109,.07); pointer-events: none; }
.m-hero-kicker { font-size: 9.5px; letter-spacing: 3px; color: var(--gold-300); display: flex; align-items: center; gap: 10px; }
.m-hero-kicker::before { content: ''; width: 22px; height: 1px; background: var(--gold-500); }
.m-hero h1 { font-family: var(--serif); font-size: 29px; line-height: 1.45; letter-spacing: 1.5px; font-weight: 500; margin-top: 16px; }
.m-hero h1 em { font-style: normal; color: var(--gold-300); }
.m-hero p { font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,.6); margin-top: 12px; letter-spacing: .4px; max-width: 300px; }
.m-hero-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 5px 11px;
  border: 1px solid rgba(199,169,109,.38); border-radius: 3px;
  background: rgba(199,169,109,.1); color: var(--gold-300); font-size: 11px;
}
.m-hero-badge .icon { width: 13px; height: 13px; }
.m-hero-actions { display: flex; gap: 9px; margin-top: 22px; }
.m-hero-actions .btn { flex: 1; height: 42px; font-size: 13px; }
.m-hero-actions .btn .icon { width: 15px; height: 15px; }
.btn-gold {
  background: linear-gradient(135deg, #dfc790, #bd9a55); border-color: #c7a96d; color: #18352b;
  font-weight: 600; box-shadow: 0 6px 20px rgba(199,169,109,.22);
}
.btn-gold:hover { background: linear-gradient(135deg, #ecd6a8, #c7a96d); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.34); color: rgba(255,255,255,.9); }
.btn-outline:hover { border-color: var(--gold-500); color: #fff; background: rgba(255,255,255,.06); }
.m-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); }
.m-hero-stats div { text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.m-hero-stats div:last-child { border-right: 0; }
.m-hero-stats b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--gold-300); line-height: 1.3; }
.m-hero-stats span { font-size: 10.5px; color: rgba(255,255,255,.5); letter-spacing: .5px; }

/* ---------- 快捷入口 ---------- */
.m-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 16px 16px 4px; }
.m-quick-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 13px 11px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--card); box-shadow: 0 1px 3px rgba(12,38,32,.03);
  border-top: 2px solid var(--gold-500); text-align: left;
}
.m-quick-item .qi { width: 26px; height: 26px; border-radius: 5px; background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; margin-bottom: 4px; }
.m-quick-item .qi .icon { width: 15px; height: 15px; }
.m-quick-item b { font-size: 12.5px; font-weight: 600; color: var(--ink-900); letter-spacing: .5px; }
.m-quick-item small { font-size: 10px; color: var(--ink-400); }

/* ---------- 通用区块 ---------- */
.m-block { margin-top: 26px; }
.m-block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 16px 12px; }
.m-eyebrow { display: block; font-size: 9.5px; letter-spacing: 2.6px; color: var(--gold-700); font-weight: 600; text-transform: uppercase; margin-bottom: 5px; }
.m-block-head h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 1.5px; }
.m-intro { padding: 24px 16px 18px; }
.m-intro h1 { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: 2px; margin-top: 6px; }
.m-intro p { font-size: 12.5px; color: var(--ink-500); line-height: 1.85; margin-top: 8px; }
.m-more { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--gold-700); font-size: 11.5px; padding: 0; }
.m-more .icon { width: 13px; height: 13px; }
.m-count { font-size: 11px; color: var(--ink-400); }
.m-foot-note { text-align: center; font-size: 10.5px; color: var(--ink-400); letter-spacing: 1px; margin: 30px 16px 0; }

.m-hscroll { display: flex; gap: 11px; overflow-x: auto; padding: 2px 16px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.m-hscroll::-webkit-scrollbar { display: none; }
.m-hscroll > * { flex: none; scroll-snap-align: start; }

/* 首页人气项目小卡 */
.m-pop-card { width: 208px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); text-align: left; padding: 0; cursor: pointer; }
.m-pop-view { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border: 0; border-radius: 5px; background: rgba(12,38,32,.72); color: #fff; display: grid; place-items: center; }
.m-pop-view .icon { width: 14px; height: 14px; }
.m-pop-cover { height: 116px; background: linear-gradient(135deg, #eff5f1, #f3e9d4); position: relative; overflow: hidden; }
.m-pop-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-pop-cover .icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; color: var(--gold-700); }
.m-pop-cover .n { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; border-radius: 3px; background: rgba(12,38,32,.72); color: #fff; font-size: 10px; }
.m-pop-body { padding: 11px 12px 12px; }
.m-pop-body b { display: block; font-family: var(--serif); font-size: 14px; letter-spacing: .5px; }
.m-pop-body span { display: block; font-size: 10.5px; color: var(--ink-400); margin-top: 3px; }
.m-pop-body .pr { color: var(--gold-700); font-family: var(--serif); font-size: 15px; font-weight: 600; margin-top: 8px; }

/* 首页技师卡：上方证件照 + 下方基本信息 */
.m-tech-card { width: 132px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: var(--card); padding: 10px 10px 12px; border-top: 2px solid var(--gold-500); }
.m-tech-photo { width: 100%; aspect-ratio: 5 / 7; border-radius: 4px; margin-bottom: 9px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 34px; overflow: hidden; border: 1px solid var(--gold-300); }
.m-tech-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.m-tech-card b { display: block; font-size: 13px; font-family: var(--serif); letter-spacing: .5px; }
.m-tech-card span { display: block; font-size: 10px; color: var(--ink-400); margin-top: 2px; }
.m-tech-card .rate { color: var(--gold-700); font-size: 10.5px; margin-top: 5px; }
.m-tech-intro { font-size: 10px; color: var(--ink-400); line-height: 1.5; text-align: left; margin-top: 7px; height: 30px; overflow: hidden; }

/* 技师详情弹窗 */
.m-tech-detail { text-align: center; }
.m-detail-photo { width: 148px; aspect-ratio: 5 / 7; object-fit: cover; object-position: center 20%; border-radius: 5px; border: 1px solid var(--gold-300); display: block; margin: 0 auto 14px; }
.m-detail-photo.ph { display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 44px; }
.m-detail-name { font-family: var(--serif); font-size: 19px; letter-spacing: 1px; font-weight: 600; }
.m-detail-name span { font-family: var(--font); font-size: 11px; font-weight: 400; color: var(--ink-400); margin-left: 8px; letter-spacing: 0; }
.m-detail-meta { font-size: 11.5px; color: var(--gold-700); margin-top: 5px; }
.m-detail-intro { font-size: 12.5px; line-height: 1.9; color: var(--ink-700); text-align: left; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.m-detail-skills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 12px; }

/* 首页画廊 */
.m-gallery-item { width: 170px; height: 124px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); padding: 0; background: var(--green-50); }
.m-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 门店信息卡 */
.m-store-card { margin: 26px 16px 0; padding: 4px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); border-top: 2px solid var(--gold-500); }
.m-store-row { display: flex; align-items: flex-start; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.m-store-row:last-child { border-bottom: 0; }
.m-store-row > .icon { width: 17px; height: 17px; color: var(--gold-600); margin-top: 2px; }
.m-store-row b { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-500); }
.m-store-row span { display: block; font-size: 12.5px; color: var(--ink-900); margin-top: 2px; line-height: 1.6; }

/* ---------- 项目页 ---------- */
.m-cats { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 16px; scrollbar-width: none; }
.m-cats::-webkit-scrollbar { display: none; }
.m-cat { flex: none; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--card); color: var(--ink-700); font-size: 12.5px; letter-spacing: .5px; display: inline-flex; align-items: center; gap: 5px; }
.m-cat .icon { width: 13px; height: 13px; }
.m-cat.active { background: linear-gradient(135deg, #1b4a3c, #0f3028); border-color: #1b4a3c; color: #fff; }
.m-service-list { padding: 0 16px; }
.m-svc-card { border: 1px solid var(--line); border-radius: 8px; background: var(--card); overflow: hidden; margin-bottom: 14px; border-top: 2px solid var(--gold-500); }
.m-svc-cover { height: 168px; position: relative; background: linear-gradient(135deg, #eff5f1, #f3e9d4); overflow: hidden; }
.m-svc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-svc-cover .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-700); }
.m-svc-cover .ph .icon { width: 38px; height: 38px; }
.m-svc-cover .cnt { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 3px; background: rgba(12,38,32,.74); color: #fff; font-size: 10.5px; }
.m-svc-cover .view { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border: 0; border-radius: 5px; background: rgba(12,38,32,.74); color: #fff; display: grid; place-items: center; }
.m-svc-cover .view .icon { width: 16px; height: 16px; }
.m-svc-body { padding: 15px 16px 16px; }
.m-svc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.m-svc-body h3 { font-family: var(--serif); font-size: 18px; letter-spacing: 1px; font-weight: 600; }
.m-svc-body .cat { font-size: 10.5px; color: var(--gold-700); letter-spacing: 1px; white-space: nowrap; }
.m-svc-body p { font-size: 12px; color: var(--ink-500); line-height: 1.75; margin-top: 8px; }
.m-svc-meta { display: flex; gap: 14px; font-size: 11.5px; color: var(--ink-500); margin-top: 11px; }
.m-svc-meta span { display: inline-flex; align-items: center; gap: 4px; }
.m-svc-meta .icon { width: 13px; height: 13px; }
.m-svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.m-svc-foot .price { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--green-700); }
.m-svc-foot .price small { font-family: var(--font); font-size: 11px; color: var(--ink-400); font-weight: 400; }
.m-svc-foot .btn { height: 34px; padding: 0 14px; font-size: 12.5px; }

/* ---------- 预约页 ---------- */
.m-step { margin: 0 16px 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); border-top: 2px solid var(--gold-500); }
.m-step-head { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.m-step-num { width: 26px; height: 26px; border-radius: 4px; background: var(--gold-100); border: 1px solid var(--gold-300); color: var(--gold-700); font-family: var(--serif); font-size: 12px; display: grid; place-items: center; flex: none; }
.m-step-head h2 { font-family: var(--serif); font-size: 16px; letter-spacing: 1px; font-weight: 600; }
.m-step-hint { margin-left: auto; font-size: 10.5px; color: var(--ink-400); }
.m-step > select { height: 44px; }
.m-chosen { display: flex; align-items: center; gap: 11px; margin-top: 11px; padding: 11px; border: 1px solid var(--gold-300); border-radius: 6px; background: linear-gradient(90deg, var(--gold-100), #fbf8ee); }
.m-chosen img { width: 40px; height: 40px; border-radius: 5px; object-fit: cover; border: 1px solid var(--gold-300); }
.m-chosen .ic { width: 40px; height: 40px; border-radius: 5px; background: #fffefa; border: 1px solid var(--gold-300); color: var(--gold-700); display: grid; place-items: center; flex: none; }
.m-chosen .ic .icon { width: 19px; height: 19px; }
.m-chosen .txt { flex: 1; min-width: 0; }
.m-chosen .txt b { display: block; font-size: 13px; }
.m-chosen .txt span { font-size: 10.5px; color: var(--ink-500); }
.m-chosen .pr { font-family: var(--serif); color: var(--gold-700); font-weight: 600; }
.m-chosen-empty { margin-top: 11px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 6px; text-align: center; color: var(--ink-400); font-size: 11.5px; }

.m-dates { padding: 0 0 6px; gap: 8px; }
.m-date { width: 62px; height: 66px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.m-date b { font-size: 14px; font-weight: 600; }
.m-date span { font-size: 10.5px; color: var(--ink-500); }
.m-date small { font-size: 9.5px; color: var(--ink-400); }
.m-date.active { background: linear-gradient(135deg, #1b4a3c, #0f3028); border-color: #1b4a3c; color: #fff; }
.m-date.active span, .m-date.active small { color: rgba(255,255,255,.75); }
.m-date:disabled { opacity: .42; }

.m-tech-opt { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 6px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--card); }
.m-tech-opt .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; overflow: hidden; flex: none; }
.m-tech-opt .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-tech-opt span { font-size: 12px; }
.m-tech-opt small { font-size: 10px; color: var(--ink-400); }
.m-tech-opt.active { border-color: var(--gold-600); background: var(--gold-100); box-shadow: 0 0 0 2px rgba(199,169,109,.18); }
.m-tech-opt .av .icon { width: 13px; height: 13px; }

.m-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.m-slot { height: 38px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--card); font-size: 12.5px; color: var(--ink-700); font-variant-numeric: tabular-nums; }
.m-slot.active { background: linear-gradient(135deg, #1b4a3c, #0f3028); border-color: #1b4a3c; color: #fff; font-weight: 600; }
.m-slot:disabled { background: #f1f2ec; color: #b6bdb4; border-color: #e8eae1; text-decoration: line-through; }
.m-slot-legend { display: flex; gap: 14px; font-size: 10.5px; color: var(--ink-400); margin-top: 11px; }
.m-slot-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: #fff; border: 1px solid var(--line-2); margin-right: 4px; vertical-align: -1px; }
.m-slot-legend i.on { background: #1b4a3c; border-color: #1b4a3c; }
.m-slot-legend i.off { background: #f1f2ec; border-color: #e8eae1; }
.m-form { display: flex; flex-direction: column; gap: 13px; }
.m-form input[type=text], .m-form input[type=tel], .m-form textarea { height: 44px; }
.m-form textarea { height: auto; min-height: 80px; }
.m-tip { font-size: 11px; color: var(--ink-400); line-height: 1.8; margin-top: 12px; }

/* ---------- 订单页 ---------- */
.m-lookup { display: flex; gap: 9px; padding: 0 16px; }
.m-lookup input { flex: 1; min-width: 0; height: 44px; }
.m-lookup .btn { height: 44px; }
.m-order-list { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 11px; }
.m-order-card { border: 1px solid var(--line); border-radius: 8px; background: var(--card); border-left: 3px solid var(--gold-500); padding: 14px 15px; }
.m-order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.m-order-top b { font-family: var(--serif); font-size: 15px; letter-spacing: .5px; }
.m-order-meta { font-size: 11.5px; color: var(--ink-500); line-height: 1.9; margin-top: 7px; }
.m-order-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); }
.m-order-foot .pr { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--gold-700); }
.m-order-note { font-size: 11px; color: var(--ink-400); margin-top: 7px; }
#mOrderTip { padding: 0 16px; }
.empty { font-size: 12.5px; }

/* ---------- 我的页 ---------- */
.m-me-card {
  margin: 18px 16px 0; padding: 20px 18px; border-radius: 8px;
  background: linear-gradient(135deg, #0b231d, #143e32);
  border: 1px solid rgba(199,169,109,.3); color: #fff; display: flex; align-items: center; gap: 14px;
}
.m-me-mark { width: 48px; height: 48px; flex: none; border: 1px solid var(--gold-500); border-radius: 5px; background: rgba(199,169,109,.1); color: var(--gold-300); font-family: var(--serif); font-size: 24px; display: grid; place-items: center; }
.m-me-card b { display: block; font-family: var(--serif); font-size: 19px; letter-spacing: 2px; color: var(--gold-300); }
.m-me-card span { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 4px; }
.m-info-list, .m-link-list { margin: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); overflow: hidden; }
.m-info-row, .m-link-row { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; width: 100%; text-align: left; border-top: 0; border-left: 0; border-right: 0; background: none; }
.m-info-row:last-child, .m-link-row:last-child { border-bottom: 0; }
.m-info-row > .icon, .m-link-row > .icon { width: 16px; height: 16px; color: var(--gold-600); flex: none; }
.m-info-row span { color: var(--ink-500); width: 38px; flex: none; }
.m-info-row b { font-weight: 500; text-align: right; margin-left: auto; color: var(--ink-900); font-size: 12px; }
.m-link-row span { font-weight: 500; }
.m-link-row small { color: var(--ink-400); font-size: 10.5px; margin-left: auto; }
.m-link-row .arr { width: 14px; height: 14px; color: var(--ink-400); }
.m-note-card { margin: 26px 16px 0; padding: 16px; border-radius: 8px; background: var(--gold-100); border: 1px solid #eadfc3; }
.m-note-card b { font-family: var(--serif); font-size: 14px; letter-spacing: 1px; color: #6b5628; }
.m-note-card p { font-size: 11.5px; line-height: 1.9; color: #7a6640; margin-top: 7px; }

/* ---------- 底部提交条 ---------- */
.m-submit-bar {
  display: none; flex: none; align-items: center; gap: 14px;
  padding: 10px 16px; background: #fffefa; border-top: 1px solid var(--gold-300);
  box-shadow: 0 -6px 20px rgba(12,38,32,.06);
}
.m-submit-bar.show { display: flex; }
.m-submit-info { flex: 1; min-width: 0; }
.m-submit-info span { display: block; font-size: 10.5px; color: var(--ink-400); }
.m-submit-info b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--gold-700); line-height: 1.25; }
.m-submit-bar .btn { height: 42px; padding: 0 22px; }

/* ---------- 底部 Tab ---------- */
.m-tabbar {
  flex: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #fffefa; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(12,38,32,.04);
}
.m-tab {
  height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 0; background: transparent; color: var(--ink-400); position: relative;
}
.m-tab .icon { width: 20px; height: 20px; stroke-width: 1.7; }
.m-tab span { font-size: 10.5px; letter-spacing: .4px; }
.m-tab.active { color: var(--gold-700); }
.m-tab.active::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 2px; background: var(--gold-500); }
.m-tab.active .icon { stroke-width: 2.1; }

/* ---------- 弹层在手机框内更贴合 ---------- */
.m-shell .modal { max-width: calc(100% - 32px); border-radius: 10px; }
.m-shell .modal-body { padding: 18px; }
.m-shell .toast { font-size: 12px; }
.lightbox { padding: 56px 10px 96px; }

/* ---------- 桌面：居中设备视图 ---------- */
@media (min-width: 560px) {
  body { padding: 24px 0; }
  .m-shell {
    height: calc(100dvh - 48px); max-height: 880px;
    border-radius: 18px; border: 1px solid rgba(199,169,109,.32);
    box-shadow: 0 34px 100px rgba(0,0,0,.5), 0 0 0 8px rgba(255,255,255,.03);
  }
  .m-header { border-radius: 17px 17px 0 0; }
  .m-tabbar { border-radius: 0 0 17px 17px; }
}
@media (max-width: 360px) {
  .m-hero h1 { font-size: 25px; }
  .m-quick { gap: 6px; padding: 12px 12px 4px; }
  .m-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
