/* yumyum.css — YumYum 外卖 App 登录页（淡粉色 · 极简高级风） */

/* 继承 .full-page 的 position:absolute; inset:0 定位，仅覆盖外观 */
.yum-page {
  justify-content: center;
  padding: 34px 24px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #fdf4f5 0%, #ffffff 46%, #faeef0 100%);
  color: #3a3a3a;
  font-family: var(--font, -apple-system, "PingFang SC", sans-serif);
  z-index: 60;
}

/* ===== 背景装饰 ===== */
.yum-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.yum-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(180, 110, 130, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 110, 130, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 74%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 74%, transparent 100%);
  opacity: 0.6;
}

.yum-line {
  position: absolute;
  height: 1px;
  width: 82%;
  background: linear-gradient(90deg, transparent, rgba(200, 130, 150, 0.22), transparent);
  opacity: 0.5;
}

.yum-line-a { top: 16%; left: -18%; transform: rotate(-18deg); }
.yum-line-b { right: -26%; bottom: 18%; transform: rotate(-22deg); }

/* ===== 顶部按钮 ===== */
.yum-back,
.yum-help {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0));
  border: 0;
  background: transparent;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}

.yum-back {
  left: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #8a6a72;
}

.yum-back:active {
  background: rgba(200, 130, 150, 0.1);
  border-radius: 50%;
}

.yum-help {
  right: 18px;
  height: 38px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: rgba(138, 106, 114, 0.66);
}

/* ===== 主面板 ===== */
.yum-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: yumIn 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes yumIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 品牌区 ===== */
.yum-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.yum-logo {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  background: linear-gradient(145deg, #f6a8bb, #ec809b);
  box-shadow:
    0 18px 36px rgba(220, 120, 145, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
  margin-bottom: 8px;
}

.yum-kicker {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.3em;
  color: rgba(190, 120, 140, 0.62);
}

.yum-title {
  font-size: 30px;
  font-weight: 500;
  color: #4a3338;
  line-height: 1.1;
}

.yum-subtitle {
  font-size: 13px;
  color: rgba(120, 90, 98, 0.62);
  line-height: 1.45;
}

/* ===== 表单卡片 ===== */
.yum-form {
  position: relative;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  box-shadow:
    0 26px 64px rgba(200, 130, 150, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
}

.yum-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yum-field label {
  padding-left: 2px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(120, 90, 98, 0.66);
}

.yum-input-wrap {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(200, 130, 150, 0.14);
  border-radius: 16px;
  background: rgba(253, 247, 249, 0.86);
  display: flex;
  align-items: center;
  padding: 0 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.yum-input-wrap:focus-within {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(236, 128, 155, 0.5);
  box-shadow:
    0 0 0 4px rgba(236, 128, 155, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.yum-cc {
  border: 0;
  background: transparent;
  color: #4a3338;
  font-size: 15px;
  font-weight: 600;
  padding: 0 12px 0 0;
  margin-right: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.yum-cc::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(200, 130, 150, 0.22);
}

.yum-cc i {
  font-size: 11px;
  color: rgba(190, 120, 140, 0.6);
}

.yum-input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  color: #3a2a2e;
  font-size: 16px;
  padding: 0 8px;
}

.yum-input::placeholder {
  color: rgba(120, 90, 98, 0.36);
  font-size: 15px;
}

.yum-clear {
  border: 0;
  background: transparent;
  color: rgba(200, 130, 150, 0.42);
  font-size: 17px;
  padding: 0 2px;
  -webkit-tap-highlight-color: transparent;
}

.yum-getcode {
  border: 0;
  background: transparent;
  color: rgba(190, 120, 140, 0.46);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 2px 0 12px;
  -webkit-tap-highlight-color: transparent;
}

.yum-getcode.active { color: #e3739a; }
.yum-getcode.counting { color: rgba(190, 120, 140, 0.46); }

/* ===== 登录按钮 ===== */
.yum-submit {
  min-height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 16px;
  background: rgba(236, 128, 155, 0.3);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
}

.yum-submit.ready {
  background: linear-gradient(135deg, #f29bb1, #e3739a);
  box-shadow: 0 14px 28px rgba(227, 115, 154, 0.34);
}

.yum-submit.ready:active {
  transform: translateY(1px);
  box-shadow: 0 9px 18px rgba(227, 115, 154, 0.3);
}

.yum-links {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  font-size: 13px;
  color: rgba(120, 90, 98, 0.58);
}

.yum-link { -webkit-tap-highlight-color: transparent; }
.yum-link:active { color: #e3739a; }

/* ===== 其他登录方式 ===== */
.yum-other {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.yum-other-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(190, 120, 140, 0.5);
  font-size: 12px;
}

.yum-other-title span {
  flex: 1;
  height: 1px;
  background: rgba(200, 130, 150, 0.16);
}

.yum-other-title em { font-style: normal; }

.yum-other-icons {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.yum-other-btn {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(200, 130, 150, 0.14);
  border-radius: 50%;
  font-size: 21px;
  color: #8a6a72;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(200, 130, 150, 0.1);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s;
}

.yum-other-btn:active { transform: scale(0.94); }

.yum-other-wechat i { color: #4a3338; }
.yum-other-apple i { color: #4a3338; }

/* ===== 协议 ===== */
.yum-agree {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(120, 90, 98, 0.6);
  text-align: center;
}

.yum-agree input {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: #e3739a;
  flex-shrink: 0;
}

.yum-agree em {
  color: #e3739a;
  font-style: normal;
}

@media (max-height: 700px) {
  .yum-page { justify-content: flex-start; padding-top: 56px; }
  .yum-panel { gap: 16px; }
  .yum-logo { width: 60px; height: 60px; border-radius: 19px; font-size: 26px; }
  .yum-title { font-size: 26px; }
}

/* ===== 登录后主页面：三标签外卖 App（弯弯灰白风格） ===== */
.yumyum-home-page {
  display: flex;
  flex-direction: column;
  background: var(--c-surface, #fbfbfb);
  color: var(--c-text, #3a3a3a);
  font-family: var(--font, -apple-system, "PingFang SC", sans-serif);
}

.yh-screen {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.yh-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 18px;
}

/* ---- 顶栏 ---- */
.yh-topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  padding-top: calc(10px + env(safe-area-inset-top));
  background: var(--c-bg, #fff);
  border-bottom: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
}
.yh-back,
.yh-top-ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--c-text, #3a3a3a);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.yh-loc {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--c-text, #3a3a3a);
  font-size: 14px;
  font-weight: 600;
  max-width: 38%;
  -webkit-tap-highlight-color: transparent;
}
.yh-loc i { font-size: 13px; color: var(--c-accent-dark, #787878); }
.yh-loc span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yh-loc .yh-loc-caret { font-size: 10px; color: var(--c-hint, #b8b8b8); }
.yh-search {
  flex: 1;
  min-width: 0;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: var(--r-pill, 100px);
  background: var(--c-surface-2, #f3f3f3);
  color: var(--c-hint, #b8b8b8);
  font-size: 13px;
}
.yh-search i { font-size: 13px; }
.yh-topbar-plain { justify-content: center; }
.yh-page-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-text, #3a3a3a);
}

/* ---- Banner ---- */
.yh-banner {
  position: relative;
  margin: 14px 14px 0;
  padding: 22px 20px;
  border-radius: var(--r-md, 16px);
  background: linear-gradient(135deg, #2c2c2e 0%, #4a4a4d 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm, 0 1px 6px rgba(0, 0, 0, 0.05));
  overflow: hidden;
}
.yh-banner-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}
.yh-banner-text h2 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}
.yh-banner-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}
.yh-banner-art {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---- 分类快捷入口 ---- */
.yh-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 4px;
  padding: 18px 12px 6px;
}
.yh-cat {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  -webkit-tap-highlight-color: transparent;
}
.yh-cat-ico {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md, 16px);
  background: var(--c-bg, #fff);
  border: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--c-accent-dark, #787878);
}
.yh-cat:active .yh-cat-ico { background: var(--c-surface-2, #f3f3f3); }
.yh-cat-label { font-size: 12px; color: var(--c-sub, #888); }

/* ---- 区块标题 ---- */
.yh-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 16px 6px;
}
.yh-section-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text, #3a3a3a);
}
.yh-section-head span {
  font-size: 12px;
  color: var(--c-hint, #b8b8b8);
}

/* ---- 横向优惠卡 ---- */
.yh-promo-row {
  display: flex;
  gap: 10px;
  padding: 4px 14px 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.yh-promo-row::-webkit-scrollbar { display: none; }
.yh-promo {
  flex-shrink: 0;
  width: 132px;
  border: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
  border-radius: var(--r-md, 16px);
  background: var(--c-bg, #fff);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.yh-promo:active { transform: scale(0.985); }
.yh-promo-img {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.92);
}
.yh-promo-body { padding: 8px 10px 11px; }
.yh-promo-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text, #3a3a3a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yh-promo-tag {
  display: inline-block;
  margin-top: 7px;
  padding: 2px 7px;
  border-radius: var(--r-sm, 8px);
  background: var(--c-surface-2, #f3f3f3);
  color: var(--c-accent-dark, #787878);
  font-size: 11px;
}

/* ---- 餐厅列表 ---- */
.yh-shop-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 12px 0;
}
.yh-shop {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--c-bg, #fff);
  border: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
  border-radius: var(--r-md, 16px);
  -webkit-tap-highlight-color: transparent;
}
.yh-shop:active { transform: scale(0.99); }
.yh-shop-img {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: var(--r-sm, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.92);
}
.yh-shop-info { flex: 1; min-width: 0; }
.yh-shop-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text, #3a3a3a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yh-shop-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--c-sub, #888);
}
.yh-shop-rate {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--c-text, #3a3a3a);
  font-weight: 600;
}
.yh-shop-rate i { font-size: 11px; color: var(--c-accent-dark, #787878); }
.yh-shop-meta .yh-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-hint, #b8b8b8);
}
.yh-shop-deliver {
  margin-top: 6px;
  font-size: 12px;
  color: var(--c-hint, #b8b8b8);
}
.yh-shop-deliver em { font-style: normal; color: var(--c-sub, #888); }
.yh-shop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.yh-shop-tag {
  padding: 2px 7px;
  border-radius: var(--r-sm, 8px);
  background: var(--c-surface-2, #f3f3f3);
  color: var(--c-accent-dark, #787878);
  font-size: 11px;
}

/* ---- 餐厅卡渐变色调 ---- */
.tone-a { background: linear-gradient(135deg, #d9d9dc, #b6b6ba); }
.tone-b { background: linear-gradient(135deg, #cfd2d6, #a9adb3); }
.tone-c { background: linear-gradient(135deg, #3a3a3d, #5c5c60); }
.tone-d { background: linear-gradient(135deg, #e2ddd6, #c3bcb1); }

/* ---- 订单页 ---- */
.yh-filterbar {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: var(--c-bg, #fff);
  border-bottom: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
}
.yh-filter {
  height: 30px;
  padding: 0 16px;
  border: 1px solid var(--c-border-m, rgba(0, 0, 0, 0.09));
  border-radius: var(--r-pill, 100px);
  background: transparent;
  color: var(--c-sub, #888);
  font-size: 13px;
  -webkit-tap-highlight-color: transparent;
}
.yh-filter.active {
  background: var(--c-text, #3a3a3a);
  border-color: var(--c-text, #3a3a3a);
  color: #fff;
}
.yh-order-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}
.yh-order {
  background: var(--c-bg, #fff);
  border: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
  border-radius: var(--r-md, 16px);
  overflow: hidden;
}
.yh-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px 0;
}
.yh-order-shop {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text, #3a3a3a);
}
.yh-order-shop i { font-size: 11px; color: var(--c-hint, #b8b8b8); }
.yh-order-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text, #3a3a3a);
}
.yh-order-status.done { color: var(--c-hint, #b8b8b8); font-weight: 500; }
.yh-order-body {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
}
.yh-order-img {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.92);
}
.yh-order-detail { flex: 1; min-width: 0; }
.yh-order-items {
  font-size: 13px;
  color: var(--c-text, #3a3a3a);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yh-order-time {
  margin-top: 5px;
  font-size: 12px;
  color: var(--c-hint, #b8b8b8);
}
.yh-order-amount {
  flex-shrink: 0;
  text-align: right;
}
.yh-order-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text, #3a3a3a);
}
.yh-order-price em { font-size: 11px; font-style: normal; margin-right: 1px; }
.yh-order-count {
  margin-top: 4px;
  font-size: 11px;
  color: var(--c-hint, #b8b8b8);
}
.yh-order-foot {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 0 14px 13px;
}
.yh-order-btn {
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--c-border-m, rgba(0, 0, 0, 0.09));
  border-radius: var(--r-pill, 100px);
  background: transparent;
  color: var(--c-sub, #888);
  font-size: 13px;
  -webkit-tap-highlight-color: transparent;
}
.yh-order-btn.primary {
  border-color: var(--c-text, #3a3a3a);
  background: var(--c-text, #3a3a3a);
  color: #fff;
}
.yh-order-btn:active { opacity: 0.85; }

/* ---- 空状态 ---- */
.yh-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--c-hint, #b8b8b8);
}
.yh-empty i { font-size: 52px; }
.yh-empty p { margin: 0; font-size: 14px; }
.yh-empty-btn {
  height: 38px;
  padding: 0 26px;
  border: 1px solid var(--c-text, #3a3a3a);
  border-radius: var(--r-pill, 100px);
  background: transparent;
  color: var(--c-text, #3a3a3a);
  font-size: 14px;
  -webkit-tap-highlight-color: transparent;
}

/* ---- 我的 ---- */
.yh-mine-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 18px 22px;
  padding-top: calc(26px + env(safe-area-inset-top));
  background: var(--c-bg, #fff);
  border-bottom: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
}
.yh-mine-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-surface-2, #f3f3f3);
}
.yh-mine-avatar-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-hint, #b8b8b8);
  font-size: 26px;
}
.yh-mine-id { flex: 1; min-width: 0; }
.yh-mine-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--c-text, #3a3a3a);
}
.yh-mine-sub {
  font-size: 12px;
  color: var(--c-hint, #b8b8b8);
  margin-top: 4px;
}
.yh-mine-setting {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--c-sub, #888);
  font-size: 18px;
  -webkit-tap-highlight-color: transparent;
}
.yh-mine-stats {
  display: flex;
  background: var(--c-bg, #fff);
  border-bottom: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
}
.yh-stat {
  flex: 1;
  padding: 14px 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  -webkit-tap-highlight-color: transparent;
}
.yh-stat strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text, #3a3a3a);
}
.yh-stat span {
  font-size: 12px;
  color: var(--c-sub, #888);
}
.yh-panel {
  margin: 12px;
  background: var(--c-bg, #fff);
  border: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
  border-radius: var(--r-md, 16px);
  overflow: hidden;
}
.yh-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 6px;
}
.yh-panel-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text, #3a3a3a);
}
.yh-panel-more {
  border: 0;
  background: transparent;
  color: var(--c-hint, #b8b8b8);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  -webkit-tap-highlight-color: transparent;
}
.yh-order-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 4px 16px;
}
.yh-order-cell {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  -webkit-tap-highlight-color: transparent;
}
.yh-order-cell i {
  font-size: 21px;
  color: var(--c-accent-dark, #787878);
}
.yh-order-cell span {
  font-size: 11px;
  color: var(--c-sub, #888);
}
.yh-tools { padding: 4px 0; }
.yh-tool-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.yh-tool-row + .yh-tool-row { border-top: 1px solid var(--c-border, rgba(0, 0, 0, 0.05)); }
.yh-tool-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--c-text, #3a3a3a);
}
.yh-tool-left i {
  width: 18px;
  text-align: center;
  font-size: 16px;
  color: var(--c-accent-dark, #787878);
}
.yh-tool-arrow {
  font-size: 13px;
  color: var(--c-hint, #b8b8b8);
}

/* ---- 底部导航栏 ---- */
.yh-tabbar {
  flex-shrink: 0;
  display: flex;
  background: var(--c-bg, #fff);
  border-top: 1px solid var(--c-border, rgba(0, 0, 0, 0.05));
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.yh-tab {
  flex: 1;
  height: 52px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--c-hint, #b8b8b8);
  -webkit-tap-highlight-color: transparent;
}
.yh-tab-ico {
  position: relative;
  font-size: 21px;
  line-height: 1;
}
.yh-tab-label { font-size: 11px; }
.yh-tab.active { color: var(--c-text, #3a3a3a); }
.yh-tab.active .yh-tab-ico i { font-weight: 900; }
.yh-tab-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #b05a5a;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}
