/* 可复用：汽车资料「七格文字 + 刷新」一行布局（方框内仅文字，无圆圈） */

.balls {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 10px;
}

.ball {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 8px 4px;
  min-height: 56px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

/* 主内容：仅文字，无圆形描边 */
.ball__value {
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  display: grid;
  place-items: center;
  min-height: 1.4em;
}

.ball__value--red {
  color: #c62828;
}

.ball__value--blue {
  color: #1565c0;
}

.ball__value--green {
  color: #2e7d32;
}

.ball__value--placeholder {
  color: #666;
  font-size: 13px;
}

.ball__label {
  font-size: 10px;
  color: #333;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.ball__label:empty {
  display: none;
}

.refresh-tile {
  border: 0;
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ff7a14;
  color: #fff;
  font-weight: 1000;
  letter-spacing: 1px;
  display: grid;
  place-items: center;
  gap: 0;
  padding: 6px 2px;
  font-size: 12px;
}

.refresh-tile:active {
  transform: translateY(0.5px);
}

/* 新澳彩 / 澳彩 切换按钮激活态 */
.ok-btn.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 4px rgba(36, 120, 0, 0.55);
  filter: brightness(1.03);
}
