/*
 * Reset
 **/
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  margin: 0;
  padding: 0;
}

fieldset,
img {
  border: 0 none;
}
ul,
ol,
li {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
button {
  font-size: 100%;
  vertical-align: middle;
  border: 0 none;
  background-color: transparent;
  cursor: pointer;
}
body {
  -webkit-text-size-adjust: none;
}
a {
  text-decoration: none;
  cursor: pointer;
  color: #060b11;
}
a:active,
a:hover {
  text-decoration: none;
}

/*
 * Common
 **/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: 0;
  font-family: system-ui, "AppleSDGothicNeo", sans-serif;
}

body,
html {
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #060b11;
  overflow-x: hidden;
}

body {
  background-color: #fff;
}

main {
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 41px 24px 48px;
  padding: 41px 24px calc(env(safe-area-inset-bottom) + 48px);
}

.keyimage {
  width: 58px;
}

div {
  position: relative;
}

h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.38;
  margin: 26px 0 8px;
}

.container{
  height: 100%
}

.description {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  color: rgba(6, 11, 17, 0.48);
}

.waiting-info {
  text-align: center;
}

.waiting-label {
  font-size: 14px;
  line-height: 1.43;
  color: rgba(6, 11, 17, 0.48);
}

.waiting-label .link {
  font-weight: 600;
  text-decoration-line: underline;
}

.waiting-num {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.35;
  color: #060b11;
}

.process-bar {
  margin: 24px auto 8px;
  width: 68vw;
  height: 16px;
  border-radius: 8px;
  background-color: #eff2f4;
  overflow: hidden;
  text-align: left;
}

.process {
  background-color: #ffeb00;
  height: 16px;
  width: 0;
  display: inline-block;
  transition: width 0.3s ease-in-out;
}

.caption {
  font-size: 12px;
  font-weight: normal;
  line-height: 1.5;
  color: rgba(6, 11, 17, 0.48);
}

/* 시스템 다크모드 */
@media (prefers-color-scheme: dark) {
  body:not(.dark_mode_off) {
    background-color: #16191c;
    color: #fcfcfc;
  }

  body:not(.dark_mode_off) .description,
  body:not(.dark_mode_off) .waiting-label,
  body:not(.dark_mode_off) .caption {
    color: rgba(252, 252, 252, 0.48);
  }

  body:not(.dark_mode_off) .waiting-num {
    color: #fcfcfc;
  }

  body:not(.dark_mode_off) .process-bar {
    background-color: #202326;
  }

  body:not(.dark_mode_off) .process {
    background-color: #ffef3d;
  }
}

/* 클래스 다크모드 */
body.dark_mode:not(.dark_mode_off) {
  background-color: #16191c;
  color: #fcfcfc;
}

body.dark_mode:not(.dark_mode_off) .description,
body.dark_mode:not(.dark_mode_off) .waiting-label,
body.dark_mode:not(.dark_mode_off) .caption {
  color: rgba(252, 252, 252, 0.48);
}

body.dark_mode:not(.dark_mode_off) .waiting-num {
  color: #fcfcfc;
}

body.dark_mode:not(.dark_mode_off) .process-bar {
  background-color: #202326;
}

body.dark_mode:not(.dark_mode_off) .process {
  background-color: #ffef3d;
}
