/* 返回首页按钮：宿主插入每个模块页面，固定在左下角；半透明，深浅底色都能看清。弹层（z-index ≥ 20）打开时自然盖住它。 */
.bg-home { position: fixed; left: calc(14px + env(safe-area-inset-left)); bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 15;
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
  background: rgba(20,16,28,.62); color: #f1e3c0; border: 1px solid rgba(201,164,92,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 4px 16px rgba(0,0,0,.28);
  font: 600 14px/1 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .08em; text-decoration: none;
  transition: opacity .2s, transform .2s; -webkit-tap-highlight-color: transparent; }
.bg-home svg { width: 17px; height: 17px; flex: none; }
.bg-home:hover { transform: translateY(-1px); }
.bg-home:active { transform: scale(.96); }
.bg-home:focus-visible { outline: 2px solid #c9a45c; outline-offset: 2px; }
.bg-home.dim { opacity: 0; pointer-events: none; }   /* 向下翻阅时收起，往回翻或停在顶部时出现 */
@media print { .bg-home { display: none; } }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }   /* 页尾内容可以翻到按钮上方 */
