/* 家庭点菜 —— 移动优先样式 */
:root {
  --primary: #ff7a45;
  --primary-dark: #e8612e;
  --primary-soft: #fff1ea;
  --bg: #faf6f2;
  --card: #ffffff;
  --text: #3b2f2a;
  --text-sub: #9a8a82;
  --line: #f0e6df;
  --green: #3fae6a;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(150, 100, 60, 0.08);
  --bottom-nav-h: 62px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

#app { max-width: 640px; margin: 0 auto; min-height: 100vh; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
button:disabled { opacity: 0.5; cursor: default; }

.hidden { display: none !important; }

/* ===== 顶栏 ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: linear-gradient(180deg, var(--bg), rgba(250,246,242,0.92));
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { font-size: 22px; }
.brand h1 { font-size: 19px; margin: 0; font-weight: 700; letter-spacing: 1px; }
.top-action {
  font-size: 13px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
}

/* ===== 主区域 ===== */
#main { padding: 4px 14px calc(var(--bottom-nav-h) + 84px); }
.view { display: none; }
.view.active { display: block; }

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-sub);
}
.empty-icon { font-size: 56px; margin-bottom: 10px; }
.empty .sub { font-size: 13px; margin-top: 4px; }

/* ===== 菜单网格 ===== */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.dish-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}
.dish-card.in-cart { border-color: var(--primary); }
.dish-photo {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  display: block;
  background: var(--primary-soft);
}
.dish-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  background: linear-gradient(135deg, #fff4ec, #ffe9dc);
}
.dish-body { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dish-name { font-size: 16px; font-weight: 700; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dish-desc {
  font-size: 12.5px;
  color: var(--text-sub);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.dish-actions { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }

.stepper { display: flex; align-items: center; gap: 2px; }
.stepper button {
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
}
.stepper .qty { min-width: 30px; text-align: center; font-weight: 700; font-size: 16px; }
.stepper button.minus { background: #f3ece6; color: var(--text-sub); }

/* ===== 购物车栏 ===== */
.cart-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 8px);
  z-index: 30;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 14px;
  pointer-events: none;
}
.cart-open {
  pointer-events: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff8a5c, var(--primary));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 13px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255, 122, 69, 0.4);
}
.cart-icon { font-size: 19px; }

/* ===== 底部导航 ===== */
.bottom-nav {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 40;
  max-width: 640px;
  margin: 0 auto;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  color: var(--text-sub);
  position: relative;
}
.nav-item.active { color: var(--primary-dark); font-weight: 700; }
.nav-ico { width: 22px; height: 22px; }
.nav-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 22px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
}
.nav-badge.bump { animation: bump 0.4s; }
@keyframes bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ===== 通用卡片/列表 ===== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 18px 2px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 订单卡片 */
.order-card { position: relative; }
.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.order-id { font-weight: 700; font-size: 15px; }
.order-time { font-size: 12px; color: var(--text-sub); }
.chip {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip.new { background: #fff0dc; color: #d98324; }
.chip.done { background: #eef2ec; color: #7b8b80; }
.order-items { margin: 4px 0 6px; }
.order-line { display: flex; justify-content: space-between; padding: 3px 0; font-size: 14.5px; }
.order-line .lname { overflow: hidden; text-overflow: ellipsis; }
.order-line .lqty { color: var(--text-sub); white-space: nowrap; }
.order-note {
  background: #faf5f0;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  color: #7a6a5f;
  margin: 6px 0;
  word-break: break-all;
}
.order-actions { display: flex; gap: 8px; margin-top: 8px; }
.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 9px 18px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:active { background: var(--primary-dark); }
.btn-ghost { background: #f3ece6; color: var(--text); }
.btn-danger { background: #fdecea; color: #d64545; }
.btn-small { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* 昵称条 */
.nickbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, #fff4ec, #ffece0);
  border: 1px dashed #ffc6a8;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 14px;
}
.nickbar .who { font-weight: 700; color: var(--primary-dark); }

/* ===== 管理面板 ===== */
.admin-tabs {
  display: flex;
  background: #efe7e0;
  border-radius: 999px;
  padding: 4px;
  margin: 10px 0 14px;
  gap: 4px;
}
.admin-tab {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}
.admin-tab.active { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.admin-tab .cnt { font-size: 12px; color: var(--primary-dark); }

.dish-admin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.dish-admin-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex: none;
}
.dish-admin-info { flex: 1; min-width: 0; }
.dish-admin-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.dish-admin-desc {
  font-size: 12px; color: var(--text-sub);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}
.dish-state { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: #e8f3ec; color: var(--green); }
.dish-state.off { background: #f3ece6; color: var(--text-sub); }
.dish-admin-btns { display: flex; flex-direction: column; gap: 6px; }
.icon-btn {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: #f5eee8;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--text-sub);
}
.icon-btn.primary { background: var(--primary-soft); color: var(--primary-dark); }

/* ===== 登录/设置卡片 ===== */
.auth-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px 22px;
  max-width: 360px;
  margin: 40px auto;
}
.auth-card h2 { margin: 0 0 4px; font-size: 20px; }
.auth-card .hint { color: var(--text-sub); font-size: 13px; margin: 0 0 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: var(--text-sub); margin-bottom: 5px; }
.input, .textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #faf6f2;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 11px 13px;
  outline: none;
}
.input:focus, .textarea:focus { border-color: var(--primary); background: #fff; }
.textarea { resize: vertical; min-height: 64px; }
.err-msg { color: #d64545; font-size: 13px; min-height: 18px; margin: 4px 2px; }
.auth-actions { display: flex; gap: 10px; margin-top: 6px; }

/* ===== 弹窗 ===== */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(40, 25, 15, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-mask.center { align-items: center; }
.modal {
  background: #fff;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 22px 22px 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  animation: slideup 0.22s ease-out;
}
.modal.center { border-radius: 22px; margin: 0 14px; animation: pop 0.18s ease-out; }
@keyframes slideup { from { transform: translateY(30px); opacity: 0.6; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: scale(0.95); opacity: 0.6; } to { transform: none; opacity: 1; } }
.modal h3 { margin: 0 0 14px; font-size: 18px; }
.modal .close-x {
  position: sticky;
  float: right;
  top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #f3ece6;
  color: var(--text-sub);
  font-size: 15px;
  z-index: 1;
}

/* 购物车清单 */
.cart-line { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.cart-line .cl-name { flex: 1; font-weight: 600; }
.cart-foot { display: flex; gap: 10px; margin-top: 16px; }
.stepper.sm button { width: 28px; height: 28px; font-size: 16px; }

/* 图片上传 */
.img-picker { display: flex; align-items: center; gap: 12px; position: relative; flex-wrap: wrap; }
.img-preview {
  width: 84px; height: 84px;
  border-radius: 14px;
  object-fit: cover;
  background: #f5eee8;
  border: 1.5px dashed #d8c8bc;
}
.img-pick-btn {
  background: #f5eee8;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
}
.img-pick-btn:active { background: #ece0d6; }
.img-pick-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* 视觉隐藏的文件输入框（仍可被 label 原生触发，兼容安卓/iOS 浏览器） */
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

/* ===== Toast ===== */
#toast-root {
  position: fixed;
  left: 0; right: 0;
  top: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 90;
  pointer-events: none;
}
.toast {
  background: rgba(40, 30, 24, 0.92);
  color: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  max-width: 84vw;
  text-align: center;
  animation: fadein 0.2s;
}
.toast.warn { background: rgba(214, 69, 69, 0.95); }
@keyframes fadein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ===== 头像 & 订单缩略图 ===== */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  flex: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 30px; height: 30px; font-size: 14px; }
.avatar.md { width: 42px; height: 42px; font-size: 19px; }
.avatar.lg { width: 50px; height: 50px; font-size: 21px; }
.avatar.xl { width: 90px; height: 90px; font-size: 38px; }

.nick-avatar-btn { padding: 0; border-radius: 50%; line-height: 0; }
.nickbar-name { font-weight: 700; color: var(--primary-dark); white-space: nowrap; }

.order-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.order-meta { min-width: 0; }
.order-title { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.order-diner {
  font-weight: 700;
  font-size: 15px;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-title .order-id { font-size: 13px; font-weight: 600; color: var(--text-sub); }
.oline-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.order-line { align-items: center; }
.item-thumb {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--primary-soft);
  flex: none;
  border: 1px solid var(--line);
}
.item-thumb-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border: none;
}
.lname { min-width: 0; }

/* ===== 菜品分类（点菜页：左分类栏 + 右菜品） ===== */
#menu-layout {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.cat-nav {
  flex: none;
  width: auto;
  min-width: 78px;
  max-width: 112px;
  position: sticky;
  top: 56px;
  z-index: 5;
  align-self: flex-start;
  background: #f2ebe3;
  border-radius: 14px;
  padding: 8px 0;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  overflow-x: hidden;
}
.cat-nav-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 10px 12px 16px;
  font-size: 14px;
  line-height: 1.3;
  color: #7a6a5f;
  text-align: left;
}
.cat-nav-item span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}
.cat-nav-item.active {
  background: #fff;
  color: #c94f1d;
  font-weight: 700;
  box-shadow: 0 1px 5px rgba(140, 90, 50, 0.12);
}
.cat-nav-item.active::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5px;
  height: 15px;
  border-radius: 2px;
  background: var(--primary);
}
.cat-nav-item:active { background: #faf3ec; }
#menu-right { flex: 1; min-width: 0; }
.menu-right-head {
  margin: 2px 2px 10px;
  font-size: 16px;
  font-weight: 800;
  padding-left: 2px;
}
/* 右侧菜品方格卡片（图为主 + 名字在图下） */
.dish-grid-card {
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.dish-grid-card.in-cart { border-color: var(--primary); }
.grid-photo-wrap { cursor: pointer; }
.grid-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--primary-soft);
}
.grid-photo.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  background: linear-gradient(135deg, #fff4ec, #ffe9dc);
}
.grid-info { padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 8px; }
.gname {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.dish-add {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  font-weight: 700;
  flex: none;
  box-shadow: 0 3px 8px rgba(255, 122, 69, 0.35);
  align-self: flex-end;
}
.dish-add:active { background: var(--primary-dark); }
.stepper.sm2 button { width: 28px; height: 28px; font-size: 17px; }
.stepper.sm2 { align-self: flex-end; }

/* 菜品详情弹窗 */
.detail-photo { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; background: var(--primary-soft); }
.detail-photo.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  background: linear-gradient(135deg, #fff4ec, #ffe9dc);
}
.detail-desc { color: var(--text-sub); font-size: 14px; margin: 0 0 16px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; }
.detail-desc.dim { color: #c3b6ac; }
.detail-actions { display: flex; align-items: center; gap: 12px; }
.detail-actions > .stepper { flex: none; }
.detail-actions > .btn { flex: 1; }

/* 管理端菜品列表上的分类小标签 */
.dish-cat {
  font-size: 11px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 1px 9px;
  flex: none;
}
.dish-cat.none { color: var(--text-sub); background: #f3ece6; }
select.input { appearance: auto; }
.dish-admin-name { flex-wrap: wrap; }

/* ===== 订单排序与筛选 ===== */
.order-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 2px;
}
.order-toolbar .section-title { margin: 0; }
.toolbar-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
  font-size: 13px;
  flex: none;
}
.sort-select { width: auto; padding: 7px 10px; font-size: 13px; border-radius: 10px; }
.order-filter {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  margin-bottom: 12px;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.filter-row:last-child { margin-bottom: 0; }
.filter-input { flex: 1 1 120px; padding: 8px 10px; font-size: 13px; min-width: 0; }
.filter-select { flex: 1 1 auto; min-width: 122px; max-width: 100%; padding: 8px 10px; font-size: 13px; border-radius: 10px; }
.filter-row .btn { flex: none; }
.filter-only {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--text-sub);
  white-space: nowrap;
  flex: none;
  padding: 8px 6px;
}
.filter-only input { width: 15px; height: 15px; }

/* ===== 头像裁剪 ===== */
.crop-box {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 6px auto 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #171412;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.crop-img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  max-height: none;
  will-change: transform;
}
.crop-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  pointer-events: none;
}
.crop-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 0 0 12px;
  color: var(--text-sub);
  font-size: 13px;
}
.crop-toolbar input[type='range'] { flex: 1; max-width: 220px; }
.avatar.xl img { object-fit: cover; }
/* 命中菜品高亮 */
.order-line.hit {
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 3px 8px;
  margin: 2px -8px;
}
.order-line.hit .lname { color: var(--primary-dark); font-weight: 700; }

/* 排序方向按钮 + 菜品分类小标签 + 日期占位 */
.sort-dir-btn {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text-sub);
  white-space: nowrap;
  flex: none;
}
.sort-dir-btn.asc { color: var(--primary-dark); border-color: var(--primary); background: var(--primary-soft); }
.it-cat {
  font-size: 11px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 1px 8px;
  flex: none;
}
.date-wrap { position: relative; flex: 1; min-width: 0; }
.date-wrap .date-input { width: 100%; }
.date-placeholder {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7a89d;
  font-size: 13px;
  pointer-events: none;
}
input[type='date'].date-input { -webkit-appearance: none; appearance: none; }

/* 大屏适配 */
@media (min-width: 640px) {
  .modal-mask { align-items: center; }
  .modal { border-radius: 22px; }
}
