* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  line-height: 1.45;
}

button, input, video {
  font-family: inherit;
}

.screen {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.page {
  width: min(760px, 100%);
  white-space: pre-wrap;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.rule {
  margin: 24px 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

button {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 18px;
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0;
  font-size: 16px;
  cursor: pointer;
  letter-spacing: 0.04em;
}

button:hover, button:focus {
  background: #fff;
  color: #000;
  outline: none;
}

button.hidden {
  opacity: 0;
  pointer-events: none;
}

.fade-in {
  animation: fadeIn 900ms ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

input {
  width: min(360px, 100%);
  background: #000;
  color: #fff;
  border: none;
  border-bottom: 1px solid #fff;
  padding: 10px 2px;
  font-size: 18px;
  outline: none;
  text-align: center;
  letter-spacing: 0.08em;
}

.error {
  margin-top: 18px;
  min-height: 24px;
}

.video-wrap {
  margin: 26px auto 0;
  width: min(680px, 100%);
}

video {
  width: 100%;
  max-height: 70vh;
  background: #000;
  border: 1px solid #fff;
  display: block;
}

#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.small-end {
  margin-top: 70px;
  font-size: 14px;
}


.disclosure-page {
  width: min(920px, 100%);
  font-size: 10.5px;
  line-height: 1.12;
  letter-spacing: 0;
}

.disclosure-page button {
  font-size: 13px;
  margin-top: 22px;
}

@media (max-width: 520px) {
  html, body {
    font-size: 14px;
  }

  .screen {
    padding: 36px 16px;
  }
}
