.memory-guide {
  box-sizing: border-box;
  clear: both;
  width: calc(100% - 32px);
  max-width: 1024px;
  margin: 24px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85);
  color: #243747;
  font-family: "Assistant", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  direction: ltr;
  text-align: left;
}
.memory-guide h2 {
  position: static;
  margin: 24px 0 10px;
  color: #243747;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
.memory-guide h2:first-child { margin-top: 0; }
.memory-guide p { margin: 0 0 14px; }
.memory-guide p:last-child { margin-bottom: 0; }
.memory-guide ul, .memory-guide ol { padding-left: 24px; margin: 0 0 14px; }
.memory-guide li { margin-bottom: 8px; }
.memory-guide a { color: #075d93; text-decoration: underline; }
.memory-guide a:focus-visible { outline: 2px solid #075d93; outline-offset: 3px; }
body.memory-game-mobile .memory-guide + footer {
  position: relative;
  top: auto !important;
  left: auto;
  clear: both;
}
@media (max-width: 600px) {
  .memory-guide { padding: 16px; font-size: 17px; }
  .memory-guide h2 { font-size: 22px; }
}
@media (orientation: landscape) {
  body.memory-game-mobile.memory-game-started .memory-guide {
    width: calc(100% - var(--memory-sidebar-width) - 32px);
    margin-left: 16px;
    margin-right: calc(var(--memory-sidebar-width) + 16px);
  }
}
