[hidden] {
  display: none !important;
}

.keepyups-body {
  overscroll-behavior: none;
}

.keepyups-shell {
  touch-action: none;
}

.keepyups-hud {
  align-items: flex-start;
}

.keepyups-level {
  margin: 8px 0 0;
  font: 700 11px/1.1 var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

.keepyups-wind {
  margin: 6px 0 0;
  font: 800 12px/1 var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ff9cba;
}

.keepyups-sound {
  grid-column: 3;
  justify-self: end;
}

.keepyups-sound .keepyups-sound__off {
  display: none;
}

.keepyups-sound .keepyups-sound__on {
  display: block;
}

.keepyups-sound.is-on .keepyups-sound__on {
  display: none;
}

.keepyups-sound.is-on .keepyups-sound__off {
  display: block;
}

.keepyups-hint {
  z-index: 3;
}

.keepyups-flash {
  z-index: 4;
}

.keepyups-start {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding:
    calc(env(safe-area-inset-top, 0px) + 28px)
    26px
    calc(env(safe-area-inset-bottom, 0px) + 28px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(214, 58, 100, .22), transparent 64%),
    rgba(5, 4, 5, .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.keepyups-start__badge {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
}

.keepyups-start__club {
  margin: 6px 0 0;
  font: 700 12px/1 var(--sans, sans-serif);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ff9cba;
}

.keepyups-start__title {
  margin: 4px 0 0;
  font: 400 clamp(34px, 11vw, 50px)/.95 var(--disp, "Anton", Impact, sans-serif);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .55);
}

.keepyups-start__text {
  max-width: 340px;
  margin: 6px auto 0;
  color: rgba(255, 255, 255, .8);
  font: 500 14px/1.55 var(--sans, sans-serif);
}

.keepyups-start__play {
  width: min(300px, 100%);
  margin-top: 14px;
}

.keepyups-start__play:disabled {
  opacity: .55;
}

.keepyups-start__mobile {
  margin: 4px 0 0;
  color: #ff9cba;
  font: 700 13px/1.4 var(--sans, sans-serif);
}

.keepyups-start__loading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .6);
  font: 600 11px/1 var(--sans, sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.keepyups-start__loading .game-loading__ring {
  border-color: rgba(255, 255, 255, .2);
  border-top-color: #ff5c8a;
}

.keepyups-start__back {
  margin-top: 12px;
  color: rgba(255, 255, 255, .7);
  font: 600 12px/1 var(--sans, sans-serif);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.keepyups-start__back:active {
  color: #fff;
}

.keepyups-end {
  z-index: 6;
}

.keepyups-end .game-board {
  margin-top: 16px;
}

.keepyups-end .game-end__actions {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
}

.keepyups-end .game-end__actions a.game-btn {
  flex: 0 0 27%;
  text-decoration: none;
}

.keepyups-end .game-end__actions [data-keepyups-again] {
  flex: 1 1 auto;
  font-size: 16px;
}

.keepyups-end .game-end__actions [data-keepyups-share] {
  flex: 0 0 27%;
}

@media (max-height: 620px) {
  .keepyups-start {
    justify-content: flex-start;
    overflow-y: auto;
  }

  .keepyups-start__badge {
    width: 76px;
    height: 76px;
  }

  .keepyups-start__text {
    font-size: 12px;
  }
}
