html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  color: #000;
  background: #ff7100;
  overflow-y: auto;
  text-size-adjust: none;
}

html * {
  box-sizing: border-box;
  outline: 0;
  text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  background-color: #ff7100;
  font-family: sans-serif;
  font-size: 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  border: 0;
}

#tpl-wrap {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100%;
  justify-content: center;
  background: #ff7100;
}

#banner {
  position: relative;
  width: 100vw;
  max-width: 430px;
  height: min(130vw, 559px);
  max-height: 100vh;
  min-height: 416px;
  overflow: hidden;
  background-color: #ff7100;
  background-image: url("./assets/orange-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  vertical-align: middle;
}

.title-img {
  position: absolute;
  top: 31.23%;
  left: 50%;
  width: 52.5%;
  height: auto;
  transform: translateX(-50%);
}

.subtitle-img {
  position: absolute;
  top: 44.92%;
  left: 50%;
  width: 44.84%;
  height: auto;
  transform: translateX(-50%);
}

#banner a {
  position: absolute;
  left: 6.56%;
  display: block;
  width: 87.5%;
  height: 15.14%;
  border-radius: 8px;
}

#open {
  top: 60.1%;
}

#download {
  top: 77.88%;
}

#banner a.defbtn {
  color: #fff;
  background-color: #ff9400;
  box-shadow: rgba(0, 0, 0, .2) 0 2px 0;
  font-size: clamp(26px, 7.8vw, 34px);
  line-height: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#toast {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 12px;
  color: #fff;
  background-color: rgba(0, 0, 0, .5);
  font-size: 16px;
  text-align: center;
}

#toast[hidden] {
  display: none;
}

@media (min-width: 431px) {
  #tpl-wrap {
    align-items: flex-start;
  }

  #banner {
    box-shadow: 0 0 24px rgba(0, 0, 0, .08);
  }

}
