/* Force Fest fixed bottom deadline marquee — homepage only. */
.ff-bottom-ticker {
  --ff-ticker-height: 42px;
  position: fixed;
  z-index: 900;
  inset-inline: 0;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  height: var(--ff-ticker-height);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: rgba(5, 10, 25, 0.96);
  border-top: 1px solid rgba(61, 217, 245, 0.72);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.2);
  color: #edfaff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  contain: layout paint;
}

/* Namespaced classes avoid conflicts with other site/plugin ticker styles. */
.ff-bottom-ticker .ff-bottom-ticker__track {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
  min-width: max-content;
  gap: 0;
  animation: ff-bottom-ticker-scroll 46s linear infinite;
  animation-delay: 0s;
  backface-visibility: hidden;
  will-change: transform;
}

.ff-bottom-ticker .ff-bottom-ticker__sequence {
  display: flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  width: max-content;
  min-width: max-content;
  padding-right: clamp(18px, 2.4vw, 34px);
}

.ff-bottom-ticker .ff-bottom-ticker__message {
  display: inline-block;
  flex: 0 0 auto;
  color: #edfaff;
}

.ff-bottom-ticker .ff-bottom-ticker__star {
  display: inline-block;
  flex: 0 0 auto;
  color: #3dd9f5;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 10px rgba(61, 217, 245, 0.35);
}

.ff-bottom-ticker:hover .ff-bottom-ticker__track,
.ff-bottom-ticker:focus-within .ff-bottom-ticker__track {
  animation-play-state: paused;
}

@keyframes ff-bottom-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--ff-ticker-distance, 50%)), 0, 0); }
}

/* Keep the final page content clear of the fixed ticker. */
body.ff-bottom-ticker-active {
  padding-bottom: calc(42px + env(safe-area-inset-bottom, 0px)) !important;
}

@media (max-width: 600px) {
  .ff-bottom-ticker {
    --ff-ticker-height: 38px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .ff-bottom-ticker .ff-bottom-ticker__sequence {
    gap: 18px;
    padding-right: 18px;
  }

  .ff-bottom-ticker .ff-bottom-ticker__star {
    font-size: 13px;
  }

  body.ff-bottom-ticker-active {
    padding-bottom: calc(38px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ff-bottom-ticker .ff-bottom-ticker__track {
    animation: none;
    transform: none;
  }
}
