* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  display: grid;
  place-items: center;
  min-height: 100svh;
  margin: 0;
  padding: 32px;
  color: #3223b3;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f5ff;
}

button {
  font: inherit;
  cursor: pointer;
}

.unsupported {
  display: none;
  max-width: 520px;
  margin-inline: auto;
  padding: 24px;
  color: #3223b3;
  line-height: 1.7;
  text-align: center;
  background: #f2f0ff;
  border: 1px solid #ddd8ff;
  border-radius: 16px;
}

/* random() 未対応の環境では、サンプルの代わりに案内文を表示する */
@supports not (width: random(1px, 2px)) {
  .supported-content {
    display: none !important;
  }

  .unsupported {
    display: block;
  }
}
