/* MIIGO_APP_INNER_UNIFIED_SCROLL_V1_20260629
 * 统一 APP 内页滑动：
 * - 不给“我的”单独造滚动层；
 * - 只让主内容区滑动；
 * - 隐藏黑色滚动条；
 * - 保持底部导航固定。
 */

/* 隐藏所有滚动条外观，但保留滑动能力 */
html,
body,
.miigo-inner-real-shell,
.miigo-inner-real-content,
.miigo-inner-view,
.miigo-v4-content,
.miigo-me-clean-root-v1 {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.miigo-inner-real-shell::-webkit-scrollbar,
.miigo-inner-real-content::-webkit-scrollbar,
.miigo-inner-view::-webkit-scrollbar,
.miigo-v4-content::-webkit-scrollbar,
.miigo-me-clean-root-v1::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* iframe 内部只保留一个主滑动层 */
html,
body {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.miigo-inner-real-shell {
  width: 100% !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  position: relative !important;
}

.miigo-inner-real-content,
.miigo-inner-view,
.miigo-v4-content {
  width: 100% !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  box-sizing: border-box !important;
  padding-bottom: 128px !important;
}

/* 我的页本身不要再造第二个滚动条，只作为普通内容块 */
.miigo-me-clean-root-v1 {
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow: visible !important;
  padding-bottom: 150px !important;
}

/* 底部导航固定在手机底部 */
.miigo-backend-tabbar-v1,
#miigo-v4-tabbar {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999 !important;
}
