@font-face {
  font-display: swap;
  font-family: "Morris Roman Black Web";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/talisman-forest/v1/fonts/morris-roman-black.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: #0d0c10;
  height: 100%;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

body {
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr);
}

body.spelunk-home-ready {
  grid-template-rows: minmax(0, 1fr);
}

.spelunk-home-ready .moondance-bar {
  display: none;
}

#game-frame {
  align-self: stretch;
  border: 0;
  display: block;
  height: auto;
  min-height: 0;
  width: 100%;
}

.moondance-bar {
  align-items: center;
  background: #0d0c10;
  border-bottom: 1px solid rgba(215, 173, 100, 0.28);
  display: flex;
  min-width: 0;
  padding: 4px max(6px, env(safe-area-inset-left));
}

.moondance-home {
  align-items: center;
  background: rgba(13, 12, 16, 0.88);
  border: 1px solid rgba(215, 173, 100, 0.72);
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
  color: #f5ebda;
  display: flex;
  font-family: "Morris Roman Black Web", "Morris Roman Black", "Inknut Antiqua", Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  height: 29px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  width: 29px;
}

.moondance-home:hover,
.moondance-home:focus-visible {
  background: #201a18;
  border-color: #eac77f;
  box-shadow: 0 3px 18px rgba(215, 173, 100, 0.34);
  outline: 2px solid #eac77f;
  outline-offset: 2px;
}

.unavailable {
  color: #f5ebda;
  left: 50%;
  max-width: 32rem;
  padding: 24px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.unavailable h1 {
  font-family: "Morris Roman Black Web", "Morris Roman Black", "Inknut Antiqua", Georgia, serif;
  font-size: clamp(28px, 7vw, 52px);
  font-weight: 400;
}

.unavailable a,
.eyebrow {
  color: #d7ad64;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  body {
    grid-template-rows: 34px minmax(0, 1fr);
  }

  .moondance-home {
    border-radius: 6px;
    font-size: 19px;
    height: 27px;
    width: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
  }
}
