/*
 * Reviewed note areas on the existing arrangement-search board.
 * These outlines never intercept a tap, replace a scoring segment, or load an image.
 * The SVG's viewBox controls line thickness consistently across phone sizes.
 */
.dartboard-input .darts-note-board-zones,
.dartboard-input .darts-note-board-zones * {
  pointer-events: none;
}

.dartboard-input .darts-note-zone {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.dartboard-input .darts-note-zone--yellow-border {
  stroke: #705d27;
  stroke-width: 10;
}

.dartboard-input .darts-note-zone--yellow {
  stroke: #f4d35e;
  stroke-width: 8;
}

.dartboard-input .darts-note-zone--blue-border {
  stroke: #edf5ff;
  stroke-width: 6;
}

.dartboard-input .darts-note-zone--blue {
  stroke: #347ab0;
  stroke-width: 4;
}

.dartboard-input .darts-note-zone--aim {
  stroke: #493d76;
  stroke-width: 3;
  stroke-dasharray: 7 4;
}

.dartboard-input .darts-note-aim-dot {
  fill: #493d76;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.darts-note-board-caption {
  min-width: 0;
  margin: 0.5rem 0.25rem 0.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--site-line, #becedb);
  border-radius: 0.75rem;
  background: var(--site-surface, #fbfcfd);
  color: var(--site-ink, #293e50);
  text-align: start;
  overflow-wrap: anywhere;
}

.darts-note-board-caption .darts-note-board-caption__step {
  margin: 0 0 0.35rem;
  color: var(--site-muted, #4b6375);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
}

.darts-note-board-caption .darts-note-board-caption__text {
  margin: 0;
  color: var(--site-ink, #293e50);
  font-size: 1rem;
  line-height: 1.85;
  white-space: pre-line;
}

.darts-note-board-caption .darts-note-board-caption__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--site-muted, #4b6375);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.darts-note-board-caption .darts-note-board-caption__legend li {
  display: flex;
  align-items: center;
  gap: 0.55em;
  min-width: 0;
}

.darts-note-board-caption .darts-note-board-caption__key {
  display: inline-block;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 0;
}

.darts-note-board-caption .darts-note-board-caption__key--yellow {
  border-top: 6px solid #f4d35e;
  box-shadow: 0 0 0 1px #705d27;
}

.darts-note-board-caption .darts-note-board-caption__key--blue {
  border-top: 3px solid #347ab0;
}

/* These two existing search controls use the shared palette in both appearances. */
.site-theme .hit-board .board-input-help {
  color: var(--site-muted, #4b6375);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.site-theme .hit-board .hit-action-bust {
  border-color: var(--site-warning, #795519);
  background-color: var(--site-warning-soft, #f6edcf);
  color: var(--site-warning, #795519);
}
