/* ========================================================================
   DocTool · 壳模式样式（Shell Mode Styles）
   仅在「安卓 App 壳」内生效（html.is-android-shell）。
   普通浏览器打开网页版时，本文件的所有规则都不会命中 → 营销首页照常显示。
   ======================================================================== */

/* 安卓壳：隐藏全部营销区块，只保留工作台，让 App 打开即是「独立软件」而非网页 */
html.is-android-shell .hero,
html.is-android-shell .stats,
html.is-android-shell #features,
html.is-android-shell #how,
html.is-android-shell #pricing,
html.is-android-shell #reviews,
html.is-android-shell #download,
html.is-android-shell #faq,
html.is-android-shell .foot,
html.is-android-shell .topbar,
html.is-android-shell #adSlot,
html.is-android-shell #installBtn{
  display:none !important;
}

/* 顶部原生标题栏由 Android 原生 View 提供，网页内不再留白 */
html.is-android-shell{--header-h:0px}
html.is-android-shell section[id]{scroll-margin-top:8px}

/* 工作台：撑满可视区，手机上单列、工具条横向滚动 */
html.is-android-shell #workspace{
  display:block !important;
  max-width:none;
  margin:0;
  padding:10px 12px 28px;
}
html.is-android-shell .ws-grid{grid-template-columns:1fr;gap:14px;margin-top:0}
/* 工作台的大标题头在 App 里是冗余信息（原生标题栏已经表明身份），隐藏后更紧凑 */
html.is-android-shell .ws-head{display:none}
html.is-android-shell .ws-side{
  position:static;
  top:auto;
  max-height:none;
  height:auto;
  display:flex;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding:8px;
  border-radius:14px;
}
html.is-android-shell .ws-side::-webkit-scrollbar{display:none}
html.is-android-shell .ws-side .grp{display:none}
html.is-android-shell .ws-side .tab{flex:none;white-space:nowrap}
html.is-android-shell .ws-main{overflow:visible;padding:0}
html.is-android-shell .panel{border-radius:16px;padding:14px 12px}
html.is-android-shell .dropzone{padding:22px 12px}

/* 客服悬浮球在窄屏上略微上移，避免遮挡操作按钮 */
html.is-android-shell .support-fab{right:14px;bottom:14px}
