/* Deep Signal — game-local styles. Extends the shared claed3d-games token set
   (styles.css); never edits it. Only additions the sonar-grid HUD needs. */

/* difficulty pills row */
.diff-pills {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 0.7rem;
}
.diff-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  min-height: 2.5rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(239, 241, 250, 0.18);
  border-radius: 0.7rem;
  background: rgba(8, 8, 13, 0.5);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}
.diff-pill:hover {
  border-color: rgba(168, 140, 255, 0.6);
  transform: translateY(-1px);
}
.diff-pill[aria-pressed="true"] {
  border-color: rgba(105, 221, 255, 0.7);
  background: linear-gradient(rgba(30, 24, 54, 0.72), rgba(12, 12, 19, 0.72));
  color: var(--ink);
  box-shadow: 0 0 0.9rem rgba(105, 221, 255, 0.18);
}
.diff-meta {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* the sonar board frame: tighter inner padding + faint radial sweep tint */
.ds-frame {
  padding: 0.2rem;
  background:
    linear-gradient(rgba(9, 9, 15, 0.7), rgba(7, 7, 11, 0.9)),
    radial-gradient(circle at 50% 40%, rgba(105, 221, 255, 0.08), transparent 60%);
}
.ds-frame #board {
  width: 100%;
  height: auto;
  cursor: crosshair;
  touch-action: none;
}

/* win-state accent on the overlay */
.game-over.is-win h2 { color: var(--ok); }
.game-over.is-win { background: rgba(7, 11, 9, 0.84); }
.game-over .final { color: var(--cyan); }
