/* Float bar */
.float-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0D1B2A;
  padding: 12px max(32px, calc((100% - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
  gap: 16px;
  transform: translateY(100%);
  transition: transform .4s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .4);
}

.float-bar.visible { transform: translateY(0); }

.float-bar p {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.float-bar a {
  background: #fff;
  color: #0A66FF;
  padding: 11px 26px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

.float-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ft-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, .15);
  border-radius: 8px;
  padding: 4px 10px;
  min-width: 48px;
}

.ft-block .cnt-num {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.ft-lbl {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ft-sep {
  font-size: 18px;
  font-weight: 800;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 12px;
}

@media (max-width: 991px) {
  .float-bar {
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .float-timer {
    justify-content: center;
    flex-wrap: wrap;
  }

  .float-bar p {
    position: static;
    transform: none;
    white-space: normal;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
  }

  .float-bar a {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
  }
}

@media (max-width: 575px) {
  .float-bar {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .float-timer {
    gap: 3px;
  }

  .ft-block {
    min-width: 42px;
    padding: 3px 8px;
    border-radius: 7px;
  }

  .ft-block .cnt-num {
    font-size: 17px;
  }

  .ft-lbl {
    font-size: 9px;
  }

  .ft-sep {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .float-bar p {
    font-size: 12px;
  }

  .float-bar a {
    font-size: 13px;
    padding: 11px 16px;
    border-radius: 9px;
  }
}
