:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  color: #fff5d9;
  background: #20293b;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #20293b;
}

.howto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 100vh;
  min-height: 100svh;
  padding: 16px 16px 8px;
}

.howto-video {
  display: block;
  width: min(100%, calc((100vh - 84px) * 9 / 16));
  width: min(100%, calc((100svh - 84px) * 9 / 16));
  min-width: min(100%, 240px);
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: #000;
}

.howto-actions {
  margin: 0;
}

.howto-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  color: #f3c45a;
  font-size: 16px;
  font-weight: 600;
  text-underline-offset: 5px;
}

a:focus-visible {
  outline: 2px solid #f3c45a;
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
