/* Hyperliquid 合约仓位监控台 - 自定义样式 */

/* 深色主题下的精致细滚动条 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0f172a; /* slate-900 */
}

::-webkit-scrollbar-thumb {
  background: #334155; /* slate-700 */
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569; /* slate-600 */
}

/* 等宽数字列对齐优化，避免价格跳动时宽度抖动 */
.font-mono {
  font-variant-numeric: tabular-nums;
}

/* 仓位异动行柔和脉冲提示动画 */
@keyframes rowFlash {
  0%, 100% {
    background-color: rgba(245, 158, 11, 0.10);
  }
  50% {
    background-color: rgba(245, 158, 11, 0.22);
  }
}

.row-changed-highlight {
  animation: rowFlash 2.2s ease-in-out infinite;
}
