* { box-sizing: border-box; }
body { margin: 0; background: #f7faf9; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif; color: #173247; }
.app-shell { box-shadow: none; }
.scroll-hide::-webkit-scrollbar { display: none; }
.scroll-hide { scrollbar-width: none; }

/* 底栏压在关闭态弹层之上，打开详情时再让弹层盖住底栏 */
.bottom-nav {
  position: relative;
  z-index: 40;
  min-height: 78px;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
}
.detail-panel {
  z-index: 10;
  transform: translateY(110%);
  transition: transform .28s ease, visibility .28s ease;
  pointer-events: none;
  visibility: hidden;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
}
.detail-panel.show {
  z-index: 50;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.toast { opacity: 0; transform: translateY(8px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
