/* Points counter (top centre) */

.points {
  position: fixed;
  top: calc(12px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(13, 8, 24, 0.82);
  border: 2px solid #ffd65c;
  border-radius: 0;
  box-shadow: 0 0 0 2px rgba(13, 8, 24, 0.82), 0 0 12px rgba(255, 214, 92, 0.35);
  color: #ffd65c;
  font: 700 14px/1 monospace;
  letter-spacing: 0.04em;
  cursor: pointer;
  z-index: 2;
}

.points[hidden] {
  display: none;
}

.points-icon {
  width: 10px;
  height: 10px;
  background: #ffd65c;
  transform: rotate(45deg) translateY(-1px);
}

.points-value {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.points-label {
  color: #c9b27a;
  font-weight: 400;
  font-size: 12px;
}

.points:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .points {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}
