/* 底部状态栏
 * 由 index.html 内联样式拆出，保持原始声明顺序。
 */
/* ============ 底部状态栏（操作提示 + 缩放比例） ============ */
#bottomBar {
  flex: 0 0 auto;
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: #1a1b1f;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  position: relative;
  z-index: 20;
}
#opHint {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
#opHint > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#opHint b {
  color: var(--accent);
  font-weight: 400;
  font-family: "ZCOOL KuaiLe", sans-serif;
}

/* 实时同步状态（js/sync.js 维护；空字符串时不占宽度） */
#syncStatus {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--accent);
  white-space: nowrap;
}
#syncStatus[data-kind="warn"] { color: var(--warn); }

/* 鼠标设备只显示鼠标提示，触屏设备只显示触屏提示 */
@media (hover: hover) and (pointer: fine) { #opHintTouch { display: none; } }
@media (hover: none) { #opHintMouse { display: none; } }

/* 窄屏：收起品牌字与统计，功能区自动横向滚动 */
@media (max-width: 900px) {
  .rb-brand { display: none; }
  .rb-tab { font-size: 13px; padding: 6px 12px; }
  .rb-body { height: 72px; padding: 4px 6px; }
  .rb-btn.big { min-width: 52px; font-size: 11px; padding: 3px 7px 2px; }
  .rb-btn.big .rb-ico svg { width: 21px; height: 21px; }
  .rb-btn { font-size: 12px; padding: 5px 7px; }
  .tb-hint, .rb-icon-btn span { display: none; }
  .rb-icon-btn { padding: 5px 7px; }
  #chartSelect { max-width: 40vw; }
  #bottomBar { font-size: 11.5px; gap: 8px; padding: 0 10px; }
}

