/*
 * Shared "more below" arrow styles for pages that do not load giggly-fp-look-menu.css (the Directory
 * hub). A copy of the block in giggly-fp-look-menu.css so the arrow looks and moves the same.
 */
/*
 * "More below" arrow (giggly-scroll-more.js): a 44px round dark glass button, chevron and ring in
 * the accent colour (teal on Festivals, the festival's own colour on its menu), with a fade along
 * the bottom edge of the list. Sits above the bottom bar, or above Back to Giggly Events on the menu,
 * which itself is z-index 100025.
 */
.gg-more-arrow {
  --gg-more-accent: var(--fp-look-accent, var(--fdl-accent, #77aca2));
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-bar-height, 68px) + env(safe-area-inset-bottom, 0px) + 14px);
  z-index: 100030;
  width: 44px;
  height: 44px;
  margin: 0 0 0 -22px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--gg-more-accent);
  background: rgba(10, 14, 20, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  color: var(--gg-more-accent);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: gg-more-bob 1.8s ease-in-out infinite;
  transition: opacity 0.2s ease;
}
.gg-more-arrow[hidden] {
  display: none !important;
}
.gg-more-arrow--inline {
  position: absolute;
  bottom: calc(100% + 10px);
}
.gg-more-fade {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--bottom-bar-height, 68px) + env(safe-area-inset-bottom, 0px));
  height: 72px;
  z-index: 100029;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--fp-look-bg, var(--fdl-bg, #07090c)));
}
.gg-more-fade--inline {
  position: absolute;
  bottom: 100%;
  height: 64px;
}
.gg-more-fade[hidden] {
  display: none !important;
}
@keyframes gg-more-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .gg-more-arrow { animation: none; }
}
@media (min-width: 900px) {
  html.giggly-desktop-nav-active .gg-more-arrow--fixed,
  html.giggly-desktop-nav-active .gg-more-fade--fixed { display: none !important; }
}

/* Directory hub: fade into the hub's own wash, and only while the hub is the page on show. */
main.giggly-dir-look .gg-more-fade {
  background: linear-gradient(180deg, transparent, rgba(3, 12, 20, 0.92));
}
html[data-theme='light'] main.giggly-dir-look .gg-more-fade {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.95));
}
body:not(.giggly-directory-hub-page) main.giggly-dir-look .gg-more-arrow,
body:not(.giggly-directory-hub-page) main.giggly-dir-look .gg-more-fade {
  display: none !important;
}
