/* Shared, visible way out of every game, including modal screens. */
html { scroll-padding-top: 100px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 16px;
  background: #141619;
  box-shadow: 0 4px 16px #0003;
}
.games-home,
.modal-content > .games-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  border: 2px solid #c6e1ff;
  border-bottom: 4px solid #679bd3;
  border-radius: 14px;
  background: #b7daff;
  color: #172c44;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
}
.games-home svg { width: 25px; height: 25px; flex-shrink: 0; }
.games-home:hover { background: #d2e9ff; }
.games-home:active { transform: translateY(2px); }
.games-home:focus-visible { outline: 3px solid #ff8a34; outline-offset: 4px; }
.modal-content > .games-home { width: 100%; margin-top: 12px; }
.suite dialog .modal-content > .games-home { font-size: 18px; }
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .topbar { min-height: 76px; padding: 10px 12px; gap: 10px; }
  .wordmark { gap: 8px; }
  .wordmark > span { padding-left: 8px; }
  .topbar .games-home { padding: 10px 12px; gap: 8px; font-size: 16px; }
}
@media (max-width: 360px) {
  .topbar .wordmark > span { display: none; }
}
@media (max-height: 700px) {
  dialog { padding: 18px; }
  .modal-tita { display: none; }
  .modal-content h2 { font-size: 26px; }
  .modal-content > p:not(.eyebrow) { margin: 12px 0; font-size: 14px; line-height: 1.45; }
}
