@import url("../../theme.css");

.pad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: min(264px, 70vw, 38dvh);
  height: min(264px, 70vw, 38dvh);
  gap: clamp(6px, 1.3dvh, 10px);
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--simon-tray);
  padding: clamp(6px, 1.3dvh, 10px);
  box-shadow: inset 0 3px 8px oklch(10% 0.05 302 / 0.55);
}

.pad button {
  border: none;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 120ms ease, filter 120ms ease, transform 120ms ease;
}

.pad button:hover {
  opacity: 0.84;
}

.pad button.lit {
  opacity: 1;
  filter: brightness(1.25) saturate(1.18);
  box-shadow: inset 0 0 0 3px oklch(100% 0 0 / 0.72);
}

#tl {
  background-color: var(--simon-red);
  border-radius: 100% 0 0 0;
}

#tr {
  background-color: var(--simon-blue);
  border-radius: 0 100% 0 0;
}

#bl {
  background-color: var(--simon-yellow);
  border-radius: 0 0 0 100%;
}

#br {
  background-color: var(--simon-green);
  border-radius: 0 0 100% 0;
}

.score {
  margin-top: clamp(0.55rem, 1.5dvh, 1rem);
  padding: 0.35rem 1.05rem;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  border: 2.5px solid var(--friv-gold);
  box-shadow: 0 3px 0 var(--shadow-purple);
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.7dvh, 0.98rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--ink-primary);
}

button.start {
  margin-top: clamp(0.5rem, 1.3dvh, 0.9rem);
}
