/* ParishGames host chrome: the "Back to setup" control, one look on every game.
   Height, padding and font size come from the page's own host-bar button class (.btn / .btn-ghost),
   so it always matches Full screen / Reopen room view next to it. */
.pg-back-setup {
  font-family: "Space Grotesk", system-ui, sans-serif;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35em;
  white-space: nowrap; text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(26, 86, 196, 0.45);
  background: #E7F1FB; color: #1A56C4; font-weight: 700;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.pg-back-setup:hover { background: #D6E6F8; border-color: #1A56C4; color: #15489F; }
.pg-back-setup:focus-visible { outline: 3px solid rgba(26, 86, 196, 0.45); outline-offset: 2px; }
.pg-back-setup:active { background: #C9DDF5; }
/* On a dark host bar (Spin & Solve). */
.pg-back-setup.on-dark { background: rgba(26, 86, 196, 0.35); border-color: rgba(147, 189, 255, 0.7); color: #fff; }
.pg-back-setup.on-dark:hover { background: rgba(26, 86, 196, 0.6); border-color: #BFD6FF; color: #fff; }
.pg-back-setup.on-dark:focus-visible { outline-color: rgba(191, 214, 255, 0.8); }
.pg-back-setup[hidden] { display: none; }
