/**
 * H5 全局界面增强（不改路由、接口、文案与业务参数）
 * 顶栏/主题色以 uni 侧 design-tokens 为准；此处仅底栏与字体微调（勿用本文件承担导航布局）
 * 若需统一品牌色，优先在 static/css/design-tokens.css 与 uni_h5/static/styles/design-tokens.scss 同步
 */
:root {
  --h5-brand: var(--hotel-teal-dark, var(--hotel-teal));
  --h5-brand-line: rgba(var(--hotel-teal-rgb), 0.1);
}

uni-tabbar.uni-tabbar-bottom .uni-tabbar {
  background: #fff !important;
  border-top: 1px solid var(--h5-brand-line) !important;
  box-shadow: 0 -4px 24px rgba(var(--hotel-teal-rgb), 0.06) !important;
}

uni-tabbar .uni-tabbar__label {
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

/* 首页 Tab 曾为 iframe 内嵌 home.html；已改为 Vue 直出，仅保留底栏占位由 uni 处理 */
.home-page {
  box-sizing: border-box;
}

/* 小程序 web-view：拍摄指引 tab 高度塌缩会导致整页白屏 */
html.uni-pg-tab-active .pg-tab-host,
html.uni-pg-tab-active .pg-h5-root-scroll,
html.uni-pg-tab-active .pgm-root {
  min-height: 100vh !important;
  height: auto !important;
  max-height: none !important;
}
html.uni-pg-tab-active uni-page-wrapper,
html.uni-pg-tab-active uni-page-body {
  height: auto !important;
  min-height: 100vh !important;
  overflow: auto !important;
}
