dialog.how-to-play-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  margin: auto;
  padding: 12px;
  width: min(96vw, 960px, calc((100dvh - 124px) * 16 / 9 + 24px));
  height: fit-content;
  max-height: 96dvh;
  overflow: auto;
  border: 1px solid #b4c6c4;
  border-radius: 22px;
  background: #f3f5f1;
  color: #192f33;
}
.how-to-play-dialog::backdrop { background: rgb(8 9 22 / .8); }
.how-to-play-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 9px; }
.how-to-play-dialog h2 { margin: 0; font-weight: 550; line-height: 1.25; font-family: inherit; font-size: clamp(1rem, 3.2vw, 1.3rem); }
.how-to-play-dialog button { flex: none; min-height: 44px; padding-inline: 14px; }
.how-to-play-dialog video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #101021; border-radius: 12px; }
.how-to-play-dialog p { margin: 7px 3px 0; color: #233d40; }
.login-card .tutorial-preview { display: block; margin: 10px auto 0; min-height: 40px; padding: 4px 12px; background: transparent; color: #23585b; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
