:root {
  --juniora-h: 56px;
  --jump-btn-h: 0px
}
* {
  box-sizing: border-box
}
html,
body {
  margin: 0;
  padding: 0;
  background: #e3e3e3;
  overflow: hidden;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-family: var(--jn-font)
}
body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: relative
}
#container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(var(--juniora-h) + var(--jump-btn-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px
}
canvas {
  background: #cecece;
  border: 1px solid #181818;
  display: block;
  max-width: 100%;
  max-height: 100%;
  touch-action: none
}

.jump-btn {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--juniora-h) + 12px);
  display: none;
  background: #181818;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 36px;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  z-index: 90
}
.jump-btn:active {
  transform: translateX(-50%) translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25)
}
@media (hover: none) and (pointer: coarse) {
  :root {
    --jump-btn-h: 76px
  }
  .jump-btn {
    display: inline-block
  }
}
@media (max-width: 900px) {
  :root {
    --jump-btn-h: 76px
  }
  .jump-btn {
    display: inline-block
  }
}

.juniora-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--juniora-h);
  background: #292929;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 0 16px
}
.juniora-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--jn-font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.9
}
.juniora-logo {
  width: 28px;
  height: auto;
  display: block
}
.juniora-text {
  letter-spacing: normal
}
@media (max-width: 480px) {
  :root {
    --juniora-h: 52px
  }
  .juniora-link {
    font-size: 12.5px
  }
  .jump-btn {
    font-size: 16px;
    padding: 12px 30px
  }
}

.juniora-overlay {
  height: var(--juniora-h)
}
.juniora-link {
  font-family: var(--jn-font);
  font-size: clamp(12px, 3.4vw, 15px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: normal;
  gap: 8px;
  white-space: nowrap
}
.juniora-logo {
  width: 22px;
  height: auto
}
.juniora-text {
  letter-spacing: normal
}
@media (max-height: 520px) {
  .juniora-link {
    font-size: 12px
  }
  .juniora-logo {
    width: 18px
  }
}

.mc-btn, .jump-btn, #jumpBtn, #controls button, .mc-fire {
  font-family: var(--jn-font);
  font-weight: 700;
}
