:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #11161f;
  color: #f4f7fb;
}

body { margin: 0; }

main {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
}

.message, iframe { grid-area: 1 / 1; }

.message {
  box-sizing: border-box;
  width: min(100%, 36rem);
  padding: 2rem 1.5rem;
  text-align: center;
  overflow-wrap: anywhere;
  z-index: 1;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  line-height: 1.15;
}

p {
  margin: 0.75rem 0 0;
  color: #c5cdda;
  line-height: 1.55;
}

button {
  margin-top: 1.25rem;
  min-height: 44px;
  padding: 0.625rem 1.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: #bdddff;
  color: #11161f;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button:hover { background: #d9eaff; }
button:active { background: #9dcaff; }
button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

iframe {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border: 0;
  background: #11161f;
}

[data-orientation="portrait"] iframe {
  width: min(100%, 56.25vh);
  width: min(100%, 56.25dvh);
  height: auto;
  aspect-ratio: 9 / 16;
}

[data-orientation="landscape"] iframe {
  width: min(100%, 177.78vh);
  width: min(100%, 177.78dvh);
  height: auto;
  aspect-ratio: 16 / 9;
}
