/* H5 公共样式（750 设计稿，配合 viewport width=750） */
a, button { outline: none; }
ul, li { list-style: none; outline: none; }
i { font-style: normal; }
a, ul, li, p { padding: 0; margin: 0; }
/* iOS/Android 自动识别电话号会包成蓝色链接，跟稿色一致 */
a[href^="tel"],
a[x-apple-data-detectors],
span[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
}
html, body {
  margin: 0;
  padding: 0;
  width: 750px;
  background: #fff;
  font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
/* 带页面背景的 auth 页由 pages/*.css 覆盖 html/body 背景 */
.home {
  position: fixed;
  right: 20px;
  top: 24px;
  text-align: center;
  z-index: 99;
}
.home a { display: block; line-height: 0; }
.home img {
  display: block;
  /* 750 稿：对应参考站 n_scale 下 width=35 的视觉比例 */
  width: 70px;
  height: 70px;
}
.icon_top {
  position: fixed;
  right: 0;
  top: 70%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  background-color: rgba(235, 235, 235, .8);
  z-index: 99;
  text-align: center;
  display: none;
  cursor: pointer;
}
.icon_top img { margin-top: 5px; }
.icon_top .title {
  margin-top: -5px;
  font-size: .8rem;
  display: block;
  white-space: nowrap;
}
/* 对齐参考站首页底栏（tab_box 120 + tabbar 50），首页/我的共用，勿再被 pages/*.css 覆盖 */
.weui_tab.weui_tab_box {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 750px;
  height: auto;
  background: #f6ece5;
  padding-bottom: calc(120px + constant(safe-area-inset-bottom));
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  box-sizing: border-box;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  z-index: 99;
}
.weui_tab_box .weui_tabbar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #f6ece5;
  padding-bottom: calc(50px + constant(safe-area-inset-bottom));
  padding-bottom: calc(50px + env(safe-area-inset-bottom));
}
.weui_tab_box .weui_tabbar:before { border-top: 0; content: none; }
.weui_tab_box .weui_tabbar_icon {
  margin: 10px auto 0 auto;
  width: 104px;
  height: 34px;
}
.weui_tab_box .weui_tabbar_icon img {
  display: inline-block;
  width: 34px;
  height: 34px;
  vertical-align: middle;
  margin-right: 8px;
}
.weui_tab_box .weui_tabbar_icon span { display: inline-block; vertical-align: middle; }
.weui_tab_box .weui_tabbar_label {
  text-align: center;
  color: rgba(110, 40, 37, .3);
  font-size: 24px;
  font-weight: 600;
}
.weui_tab_box .weui_tabbar_item.weui_bar_item_on .weui_tabbar_label {
  color: #6e2825;
}
.h5-shell-body {
  padding: 120px 40px 80px;
  text-align: center;
  color: #666;
  font-size: 28px;
  line-height: 1.6;
}
.h5-shell-body h1 {
  font-size: 36px;
  color: #333;
  margin-bottom: 24px;
  font-weight: 600;
}

/* WeUI 弹窗 / 日期选择：绿色主色 → 馆方主色 #bd4936 */
.weui_btn_dialog.primary,
.weui-dialog__btn_primary,
.weui-dialog__btn.primary {
  color: #bd4936 !important;
}
.toolbar .picker-button,
.weui-picker-modal .toolbar .picker-button {
  color: #bd4936 !important;
}
.picker-calendar-day.picker-calendar-day-selected span {
  background: #bd4936 !important;
  color: #fff !important;
}

/*
 * 750 稿 + html zoom：jquery-weui picker 默认 rem / 内容收缩宽度，
 * 年/月/日列挤在左侧、右侧大片空白。统一按 750 逻辑像素覆写。
 */
.weui-picker-overlay,
.weui-picker-container {
  width: 750px;
  max-width: 750px;
  left: 0;
  right: auto;
}
.weui-picker-modal {
  height: 520px;
  font-size: 32px;
}
.weui-picker-modal .picker-columns {
  height: 520px;
}
.weui-picker-modal .picker-modal-inner,
.weui-picker-modal .bar + .picker-items {
  height: 432px;
}
.toolbar {
  font-size: 32px;
}
.toolbar .toolbar-inner {
  height: 88px;
}
.toolbar .title {
  font-size: 32px;
  line-height: 88px;
}
.toolbar .picker-button {
  height: 88px;
  line-height: 88px;
  font-size: 32px;
  padding: 0 30px;
}
.weui-picker-modal .picker-items {
  font-size: 32px;
  height: 432px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box;
  text-align: center;
}
.weui-picker-modal .picker-items-col {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  width: 0;
  max-width: none;
  text-align: center;
}
.weui-picker-modal .picker-items-col.picker-items-col-divider {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 40px;
  -ms-flex: 0 0 40px;
  flex: 0 0 40px;
  width: 40px;
  max-width: 40px;
  -webkit-justify-content: center;
  justify-content: center;
}
.weui-picker-modal .picker-item {
  height: 64px;
  line-height: 64px;
  padding: 0 8px;
  font-size: 32px;
}
.weui-picker-modal .picker-center-highlight {
  height: 64px;
  margin-top: -32px;
}
.datetime-picker .picker-items-col {
  max-width: none;
}
.color-primary {
  color: #bd4936 !important;
}
.bg-primary {
  background-color: #bd4936 !important;
}
