/* 顶栏在高字号下保持紧凑，避免字号控件与搜索框互相挤压 */
.font-ctl {
  flex: none;
  height: 34px;
  gap: 2px;
}

.font-btn {
  width: 30px;
  height: 28px;
  font-size: clamp(12px, 0.8125rem, 14px);
  white-space: nowrap;
}

.font-btn-reset {
  min-width: 44px;
  font-size: clamp(10px, 0.6875rem, 12px);
  font-variant-numeric: tabular-nums;
}

.search {
  min-width: 100px;
}

.search input {
  min-width: 0;
  font-size: clamp(12px, 0.8125rem, 14px);
}

.crumb {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-right {
  min-width: 0;
}

.user-meta {
  max-width: 130px;
}

.user-meta strong,
.user-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1366px) {
  .search {
    display: none;
  }
}
