/*
 * 二级悬浮锚点菜单（雷速式底部栏目条）：只在内容较长的页签（赛前/数据）出现。
 * 移动端悬浮在底部 tabbar 之上；桌面端贴底居中。
 */
.anav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--m-tab-h, 56px) + env(safe-area-inset-bottom, 0px) + 10px);
  z-index: 45;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.anav[hidden] { display: none; }
.anav__scroller {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  width: max-content;
  max-width: calc(100% - 24px);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--m-surface, #fff);
  box-shadow: 0 6px 24px var(--color-shadow, rgba(15, 23, 42, 0.16)), 0 0 0 1px var(--m-line, #e5e6eb);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
/* 滚进页脚区域时收起，避免悬浮条盖住 footer */
.anav--docked { pointer-events: none; }
.anav--docked .anav__scroller {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}
.anav__scroller::-webkit-scrollbar { display: none; }
.anav__i {
  flex: 0 0 64px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  color: var(--m-text-2, var(--color-ink-2, #4e5969));
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.anav__i:hover { color: var(--m-brand, #794DFF); }
.anav__i.is-on {
  color: var(--color-ink-on-fill, #fff);
  background: var(--m-brand, #794DFF);
  font-weight: 700;
}
@media (min-width: 1024px) {
  .anav {
    bottom: 18px;
  }
  .anav__scroller { max-width: min(680px, calc(100% - 24px)); }
}
