/* Atmosphere and interaction layer on top of the lobby layout. */

body {
  background: var(--color-bg);
}

/* Banner */

.promo {
  height: 196px;
}

.promo__online {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(9, 11, 18, 0.62);
  font-size: 11px;
  font-weight: 600;
}

.promo__online i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.bubble {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 12px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 14px 14px 4px 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  color: var(--color-on-accent);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease-out;
}

.bubble.is-on {
  opacity: 1;
  transform: none;
}

.bubble__dots {
  display: flex;
  gap: 4px;
}

.bubble__dots[hidden] {
  display: none;
}

.bubble__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-deep);
}

.popular__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.popular__head h2 {
  margin-bottom: 0;
}

.online-count {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-muted-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.online-count i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

.tile__photo .tile__zoom {
  transform: scale(1.6);
  transform-origin: 50% 16%;
}

.tile__visit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  margin-top: 7px;
  border-radius: 12px;
  background-image: var(--grad);
  color: var(--color-on-accent);
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 140ms ease-out;
}

.tile__visit:active {
  transform: scale(0.96);
}

.tile__visit svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
}

/* Bottom navigation: four sections */

.bottom {
  grid-template-columns: repeat(4, 1fr);
}

.bottom__pill {
  width: 25%;
}

.badge {
  position: absolute;
  top: 7px;
  left: calc(50% + 6px);
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--color-star);
  color: var(--color-on-accent);
  font-size: 10px;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.3s var(--spring);
}

.badge.is-read {
  opacity: 0;
  transform: scale(0);
}

