/* Shared source: shared/games-navigation/navigation.css. */
.games-menu-button {
  display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 10px; border: 1px solid currentColor;
  border-radius: 10px; background: transparent; color: inherit; cursor: pointer;
}
.games-menu-button svg { display: block; width: 22px; height: 22px; }
.games-menu-button:hover { background: #80808018; }
html.games-navigation-open { overflow: hidden; }
.games-drawer {
  position: fixed; inset: 0 auto 0 0; box-sizing: border-box;
  width: min(380px, 100%); max-width: 100%; height: 100%; height: 100dvh;
  max-height: none; margin: 0; padding: max(24px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom));
  border: 0; border-radius: 0; overflow-y: auto; overscroll-behavior: contain;
  background: #17110e; color: #fffaf6; text-align: left;
  font: 500 18px/1.4 system-ui, sans-serif; box-shadow: 8px 0 40px #0003;
}
.games-drawer::backdrop { background: #0008; backdrop-filter: blur(2px); }
.games-drawer-top { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.games-drawer-brand { font-size: 23px; font-weight: 800; letter-spacing: -.6px; }
.games-close {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: #384e52; color: white;
  font: 32px/1 system-ui, sans-serif; cursor: pointer;
}
.games-drawer h2, .games-footer h2 { margin: 0 0 28px; font: 800 20px/1.3 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .3px; color: inherit; }
.games-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.games-list li { margin: 0; padding: 0; }
.games-link {
  display: flex; align-items: center; gap: 16px; min-height: 52px; width: fit-content;
  padding: 4px; border-radius: 6px; color: #fffaf6; text-decoration: none;
  font: 500 19px/1.3 system-ui, sans-serif;
}
.games-link:hover { color: #61e3a3; }
.games-drawer :focus-visible, .games-footer :focus-visible { outline: 3px solid #61e3a3; outline-offset: 4px; }
.games-icon {
  display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px;
  border-radius: 9px; background: var(--game-color); color: #292331;
  font: 800 29px/1 system-ui, sans-serif; transform: rotate(-8deg);
}
.games-icon svg { width: 42px; height: 42px; }
.games-footer {
  position: relative; z-index: 1; margin: 48px 0 0; padding: 40px 24px;
  background: #100d0b; color: #fffaf6; text-align: left;
}
.games-footer-inner { max-width: 1040px; margin: 0 auto; }
.games-footer-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
.games-footer h3 { margin: 0 0 18px; color: #a9a4a0; font: 750 14px/1.3 system-ui, sans-serif; text-transform: uppercase; letter-spacing: 1.2px; }
@media (max-width: 560px) {
  .games-footer { padding: 32px 20px; }
  .games-footer-groups { grid-template-columns: 1fr; gap: 32px; }
  .games-list { gap: 12px; }
}

.games-icon-twin-twist { --game-color: #ffc2cf; }
.games-icon-wordspider { --game-color: #bdebc7; }
.games-icon-clue-current { --game-color: #ffce55; }
.games-icon-associations { --game-color: #e8d8ff; }
.games-icon-history-pin { --game-color: #aadce8; }
.games-icon-word-fun { --game-color: #ffb998; }
