:root {
  color-scheme: dark;
  background: #090e36;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #090e36;
}

body {
  overflow: hidden;
}

.site-shell {
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(260px, 1fr);
  width: 100%;
  min-height: 100vh;
}

.flash-stage {
  width: 100%;
  aspect-ratio: 650 / 500;
  max-height: 100vh;
  background: #090e36;
}

.flash-stage object,
.flash-stage ruffle-player {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

#txt {
  width: 100%;
  height: 100vh;
  border: 0;
  background: #090e36;
}

.fallback,
noscript {
  color: #fff;
  padding: 1rem;
}

@media (max-width: 860px) {
  body {
    overflow: auto;
  }

  .site-shell {
    display: block;
  }

  .flash-stage {
    max-height: none;
  }

  #txt {
    display: block;
    min-height: 65vh;
  }
}
