/* ===== 齐博酒水饮料批发行 · 移动端原型基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::-webkit-scrollbar { width: 0; height: 0; }

/* 通用手机屏幕容器：H5 流式自适应，铺满真机视口，内容区内部滚动，底部栏常驻 */
.screen {
  width: 100%;
  height: 100vh;   /* 回退 */
  height: 100dvh;  /* 真机动态视口高度 */
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* 桌面端评审预览：仅非单页直接打开（如 iframe 嵌入）时，居中显示手机大小的预览框 */
@media (min-width: 540px) {
  html:not(.standalone) body { display: flex; align-items: center; justify-content: center; min-height: 100%; background: #2b2f3a; }
  html:not(.standalone) .screen { width: 375px; height: 812px; max-width: 100%; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
}

/* 单页被直接打开（非预览墙 iframe 嵌入）时：隐藏模拟状态栏，并始终铺满全屏 */
.standalone .statusbar { display: none; }

/* 安卓状态栏 */
.statusbar {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.statusbar .sb-right { display: flex; align-items: center; gap: 6px; }
.statusbar svg { display: block; }

/* 内容滚动区 */
.content { flex: 1; overflow-y: auto; }

/* 底部导航通用骨架 */
.tabbar {
  flex-shrink: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar .tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
}
.tabbar .tab svg { width: 22px; height: 22px; }
