/* Shared accessibility and interaction additions. Existing layout, colors, and font sizes remain unchanged. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
button.modal-close {
  font-family: inherit;
  line-height: 1;
  padding: 0;
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
body.modal-open {
  overflow: hidden;
}
.typing-notice {
  margin: 10px 0 12px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.45;
}

.score-reset-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 0;
}
.score-reset-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.score-reset-btn:hover,
.score-reset-btn:focus-visible {
  border-color: #00ff88;
  background: rgba(0,255,136,0.12);
}
