/* Optional course-game entry points. The game plugin owns the play interface. */
body .my-courses-page .cq-course-game-link,
body .account-actions .cq-account-game-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  max-width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
  text-align: center;
  background: var(--csp-surface, var(--paper, #fff)) !important;
  color: var(--csp-primary-readable, var(--blue-dark, #0f456e)) !important;
  border: 1px solid currentColor !important;
  box-shadow: none !important;
  text-decoration: none;
}
body .my-courses-page .cq-course-game-link:hover,
body .account-actions .cq-account-game-link:hover {
  background: var(--csp-primary-pale, var(--blue-pale, #eaf3fa)) !important;
  color: var(--csp-pale-link, var(--blue-dark, #0f456e)) !important;
  transform: none;
}
body .my-courses-page .cq-course-game-link:focus-visible,
body .account-actions .cq-account-game-link:focus-visible {
  outline: 3px solid var(--csp-focus, var(--blue-dark, #0f456e));
  outline-offset: 3px;
}
body .main-nav > .nav-learning-games {
  white-space: nowrap;
  text-underline-offset: 5px;
}
body .main-nav > .nav-learning-games[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
body .main-nav > .nav-learning-games:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
@media (max-width: 1120px) {
  body .main-nav > .nav-learning-games {
    display: flex;
    align-items: center;
    min-height: 44px;
    white-space: normal;
  }
}
@media (min-width: 1121px) and (max-width: 1360px) {
  body.logged-in .header-inner { gap: 18px; }
  body.logged-in .header-inner > .brand { max-width: 220px; flex-shrink: 1; }
  body.logged-in .main-nav { gap: 12px; }
  body.logged-in .main-nav > a,
  body.logged-in .main-nav > .account-menu > button { font-size: 12px; }
  body.logged-in .main-nav > .nav-button { padding-inline: 13px; }
}
