[hidden] {
  display: none !important;
}

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

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

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

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

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

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

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

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

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

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

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

.freekick-start {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  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);
}

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

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

.freekick-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);
}

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

.freekick-layout {
  width: min(340px, 100%);
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 92, 138, .32);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.freekick-layout__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.freekick-layout__title {
  margin: 0;
  color: #fff;
  font: 700 12px/1 var(--sans, sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.freekick-layout__week {
  color: #ff9cba;
  font: 700 11px/1 var(--sans, sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.freekick-layout__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 8px;
  padding: 0;
  list-style: none;
}

.freekick-layout__item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 99px;
  background: rgba(8, 6, 8, .42);
  color: rgba(255, 255, 255, .86);
  font: 600 12px/1 var(--sans, sans-serif);
}

.freekick-layout__points {
  color: #ffd166;
  font-weight: 900;
}

.freekick-layout__wall {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font: 600 11px/1.3 var(--sans, sans-serif);
  letter-spacing: .03em;
}

.freekick-layout__wall b {
  color: #ff9cba;
}

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

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

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

.freekick-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;
}

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

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

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

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

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

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

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

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

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

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

  .freekick-start__badge {
    width: 70px;
    height: 70px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .freekick-layout__item {
    transition: none;
  }
}
