/* The app shell's own pieces over the game screen: the big Pelaa! start
   button, the start screen's error message and the read-aloud toggle. */

.start__title {
  font-size: calc(var(--font-size-title) * 1.25);
}

.start__play {
  min-height: 4.5rem;
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-title);
}

.game__message[data-kind="error"] {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  background: var(--color-error);
}

.read-aloud {
  justify-self: end;
  min-width: 3rem;
  min-height: 3rem;
  padding: var(--space-1);
  border: 0;
  border-radius: var(--radius);
  background: var(--game-overlay);
  font-size: var(--font-size-large);
  line-height: 1;
  pointer-events: auto;
  cursor: pointer;
}

.read-aloud[aria-pressed="true"] {
  background: var(--color-accent);
}

.read-aloud:focus-visible {
  outline: 4px solid var(--color-surface);
  outline-offset: var(--space-1);
}

.read-aloud[hidden] {
  display: none;
}
