@font-face {
  font-family: "Body";
  src: url("/assets/Tenon-Regular.woff2");
}

html {
  width: 100vw;
  height: 100vh;
  font-family: "Body", sans-serif;
  background-color: #fcfaf7;
}

body {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #fff;
  transform: translateY(-50px);
}

#status-bar-bg {
  position: fixed;
  top: -env(safe-area-inset-top);
  left: 0;
  right: 0;
  width: 100vw;
  height: calc(env(safe-area-inset-top) + 7.3%);
  transition: background-color 0.1s ease;
  transition-delay: 0.01s;
  background-color: #f9fcfa;
  z-index: 9999;
  pointer-events: none;
}

#root {
  position: absolute;
  top: 0;
  left: 50%;
  width: 430px;
  height: 932px;
  overflow: hidden;
  background-color: #919392;
}
#root:has(.screen.has-status) {
  margin-top: -40px;
}

* {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.screen {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
  pointer-events: none;
}

#share {
  position: fixed;
  top: 58px;
  right: 10px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
#share svg {
  width: 21px;
  height: 21px;
  fill: #3e4444;
}

.mod {
  position: absolute;
  letter-spacing: 0.5px;
  font-size: 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
}
.debug .mod {
  opacity: 0;
}
.design .mod {
  pointer-events: all;
  outline: 1px solid red;
  opacity: 1 !important;
}

#bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: #fff;
  z-index: 100;
}

@media (max-height: 600px) {
  #bottom {
    display: none;
  }
}
