.boardWrap {
  position: relative;
  display: inline-block;
  overflow: hidden; /* keep timer stroke clipped inside the board */
}

.toolbarOverlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 6;
  pointer-events: auto;
}

.timerFrame {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.timerSvg {
  width: 100%;
  height: 100%;
  display: block;
  shape-rendering: crispEdges;
}

.timerTrack {
  fill: none;
  stroke: #fff;
  stroke-width: 8px;
}

.timerProgress {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 8px;
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  transition: stroke-dashoffset 1s linear;
}

.timerLabel {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 700;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.timerLabelTitle {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timerLabelValue {
  font-size: 1.1rem;
}
