html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  background: #000;
  color: #fff;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  height: 100%;
}

:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bottom-ui: 64px;
}

.safe-offset-16 {
  bottom: calc(var(--bottom-ui) + 16px);
}

.safe-bottom {
  bottom: 0;
  padding-bottom: max(var(--safe-bottom), 12px);
}

.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: max(env(safe-area-inset-bottom, 0px), 8px);
}

.bottom-bar a {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-wrapper {
  bottom: var(--bottom-ui);
  margin-bottom: 1px;
}

.shadow-text {
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

.site-brand {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255,74,125,.7); }
  70% { box-shadow: 0 0 0 10px rgba(255,74,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,74,125,0); }
}

.animate-ring {
  animation: pulse-ring 2s infinite;
}

#messageBadge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  font-size: 12px;
  border-radius: 9999px;
  padding: 2px 5px;
}

@media (max-width: 574px) {
  #rightPanel {
    right: 10px !important;
  }
}

#progressWrapper {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 575px;
  padding-left: 10px;
  padding-right: 10px;
  bottom: var(--bottom-ui);
  z-index: 9999;
  pointer-events: none;
  box-sizing: border-box;
}

#progressBar {
  position: relative;
  width: 100%;
  height: 4px;
  pointer-events: auto;
  z-index: 10000;
}

#progress {
  height: 4px;
  pointer-events: none;
}

#progressDot {
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  pointer-events: none;
  z-index: 10001;
}