/* JOGA Effects · Scroll Quest · Stable Geometry
   The route stays invisible during layout preflight. Anchor coordinates are committed
   before reveal and never recalculated while scrolling. */
:root{
  --joga-scroll-accent:#ff4f9a;
  --joga-scroll-accent-hot:#ff82bb;
  --joga-scroll-accent-deep:#d82f7d;
  --joga-scroll-lime:#d9ff2f;
  --joga-scroll-progress:0%;
}
html.joga-scroll-quest-pending,
html.joga-scroll-quest-pending body,
html.joga-scroll-quest-ready,
html.joga-scroll-quest-ready body{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
html.joga-scroll-quest-pending::-webkit-scrollbar,
html.joga-scroll-quest-pending body::-webkit-scrollbar,
html.joga-scroll-quest-ready::-webkit-scrollbar,
html.joga-scroll-quest-ready body::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
  background:transparent!important;
}
.joga-scroll-quest{
  position:fixed;
  z-index:2147482000;
  top:50%;
  right:18px;
  width:176px;
  height:min(62vh,560px);
  translate:0 -50%;
  pointer-events:none;
  font-family:inherit;
  opacity:0;
  visibility:hidden;
}
.joga-scroll-quest.joga-scroll-quest--ready{
  opacity:1;
  visibility:visible;
  transition:opacity .16s ease;
}
.joga-scroll-quest[hidden]{display:none!important}
.joga-scroll-quest__spine{
  position:absolute;
  top:14px;
  right:0;
  width:28px;
  height:calc(100% - 28px);
  pointer-events:auto;
  cursor:ns-resize;
}
.joga-scroll-quest__track,
.joga-scroll-quest__fill{
  position:absolute;
  top:0;
  right:13px;
  width:2px;
  border-radius:999px;
}
.joga-scroll-quest__track{
  height:100%;
  background:rgba(255,255,255,.16);
  box-shadow:0 0 0 1px rgba(5,7,10,.12);
}
.joga-scroll-quest__fill{
  height:var(--joga-scroll-progress,0%);
  background:linear-gradient(180deg,var(--joga-scroll-accent-hot),var(--joga-scroll-accent) 55%,var(--joga-scroll-accent-deep));
  box-shadow:0 0 10px rgba(255,79,154,.36);
}
.joga-scroll-quest__anchors{position:absolute;inset:0;overflow:visible}
.joga-scroll-quest__anchor{
  position:absolute;
  top:var(--joga-scroll-anchor,0%);
  right:0;
  width:176px;
  height:30px;
  padding:0;
  margin:0;
  border:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:inherit!important;
  transform:translateY(-50%)!important;
  pointer-events:auto;
  cursor:pointer;
  outline:none;
  font:inherit;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.joga-scroll-quest__anchor:hover,
.joga-scroll-quest__anchor:focus,
.joga-scroll-quest__anchor:focus-visible,
.joga-scroll-quest__anchor:active{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  color:inherit!important;
  transform:translateY(-50%)!important;
}
.joga-scroll-quest__anchor::before,
.joga-scroll-quest__anchor::after{content:none!important;display:none!important}
.joga-scroll-quest__anchor-tick{
  position:absolute;
  top:50%;
  right:9px;
  width:10px;
  height:4px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  background:#0f1217;
  box-shadow:0 0 0 3px rgba(9,11,15,.78);
  translate:0 -50%;
  transition:width .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.joga-scroll-quest__anchor-label{
  position:absolute;
  top:50%;
  right:31px;
  display:flex;
  align-items:center;
  gap:8px;
  max-width:132px;
  min-height:30px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(11,13,17,.82);
  -webkit-backdrop-filter:blur(16px) saturate(145%);
  backdrop-filter:blur(16px) saturate(145%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 28px rgba(0,0,0,.18);
  translate:8px -50%;
  opacity:0;
  visibility:hidden;
  transition:opacity .16s ease,translate .2s cubic-bezier(.22,1,.36,1),visibility 0s linear .18s,border-color .16s ease;
  pointer-events:none;
}
.joga-scroll-quest__anchor-index{flex:0 0 auto;color:rgba(255,255,255,.38);font-size:7px;font-weight:800;line-height:1;letter-spacing:.08em}
.joga-scroll-quest__anchor-title{min-width:0;max-width:104px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.9);font-size:10px;font-weight:700;line-height:1.1;letter-spacing:-.01em}
.joga-scroll-quest__anchor.is-active .joga-scroll-quest__anchor-label{
  opacity:1;
  visibility:visible;
  translate:0 -50%;
  transition-delay:0s;
  border-color:rgba(217,255,47,.18);
  background:rgba(11,13,17,.92);
}
.joga-scroll-quest__anchor.is-passed .joga-scroll-quest__anchor-tick{
  border-color:rgba(255,79,154,.42);
  background:var(--joga-scroll-accent);
  box-shadow:0 0 0 3px rgba(9,11,15,.8),0 0 10px rgba(255,79,154,.22);
}
.joga-scroll-quest__anchor.is-active .joga-scroll-quest__anchor-index{color:var(--joga-scroll-lime)}
.joga-scroll-quest__anchor.is-active .joga-scroll-quest__anchor-tick{
  width:13px;
  border-color:rgba(217,255,47,.82);
  background:var(--joga-scroll-lime);
  box-shadow:0 0 0 3px rgba(9,11,15,.86),0 0 0 5px rgba(217,255,47,.06),0 0 15px rgba(217,255,47,.30);
}
.joga-scroll-quest__runner{
  position:absolute;
  top:var(--joga-scroll-progress,0%);
  right:0;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  translate:0 -50%;
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(24,28,34,.97),rgba(8,10,14,.97));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 0 0 3px rgba(255,79,154,.06),0 8px 24px rgba(0,0,0,.32);
  touch-action:none;
  z-index:3;
  will-change:top;
  transition:box-shadow .16s ease,scale .16s ease;
}
.joga-scroll-quest__runner::after{content:"";position:absolute;inset:1px;border-radius:9px;background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,0) 58%);pointer-events:none}
.joga-scroll-quest__logo{position:relative;z-index:1;width:20px;height:20px;background:url("scroll-quest-j.png") center/contain no-repeat;filter:drop-shadow(0 2px 8px rgba(217,255,47,.26))}
.joga-scroll-quest__runner::before{
  content:attr(data-progress);
  position:absolute;
  top:50%;
  right:calc(100% + 8px);
  min-width:36px;
  padding:5px 7px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:rgba(10,11,14,.86);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  backdrop-filter:blur(14px) saturate(140%);
  color:rgba(255,255,255,.88);
  translate:5px -50%;
  opacity:0;
  font-size:8px;
  font-weight:760;
  line-height:1;
  text-align:center;
  pointer-events:none;
  transition:opacity .16s ease,translate .18s ease;
}
.joga-scroll-quest--dragging .joga-scroll-quest__runner{scale:1.05;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 4px rgba(255,79,154,.10),0 10px 26px rgba(0,0,0,.36),0 0 20px rgba(255,79,154,.18)}
.joga-scroll-quest--dragging .joga-scroll-quest__runner::before{opacity:1;translate:0 -50%}
body.joga-scroll-quest-is-dragging,body.joga-scroll-quest-is-dragging *{user-select:none!important;cursor:ns-resize!important}
@media (hover:hover) and (pointer:fine){
  .joga-scroll-quest__anchor:hover .joga-scroll-quest__anchor-tick{transform:scaleX(1.08);border-color:rgba(217,255,47,.58);background:#11151a;box-shadow:0 0 0 3px rgba(9,11,15,.82),0 0 10px rgba(217,255,47,.10)}
  .joga-scroll-quest__anchor.is-active:hover .joga-scroll-quest__anchor-tick{background:var(--joga-scroll-lime);border-color:rgba(217,255,47,.82);box-shadow:0 0 0 3px rgba(9,11,15,.86),0 0 0 5px rgba(217,255,47,.06),0 0 15px rgba(217,255,47,.30)}
}
@media (max-width:767px){
  html.joga-scroll-quest-pending,html.joga-scroll-quest-pending body,html.joga-scroll-quest-ready,html.joga-scroll-quest-ready body{scrollbar-width:auto;-ms-overflow-style:auto}
  html.joga-scroll-quest-pending::-webkit-scrollbar,html.joga-scroll-quest-pending body::-webkit-scrollbar,html.joga-scroll-quest-ready::-webkit-scrollbar,html.joga-scroll-quest-ready body::-webkit-scrollbar{display:initial!important;width:auto!important;height:auto!important}
  .joga-scroll-quest{display:none!important}
}
@media (prefers-reduced-motion:reduce){.joga-scroll-quest.joga-scroll-quest--ready{transition:none!important}.joga-scroll-quest__anchor-label,.joga-scroll-quest__anchor-tick,.joga-scroll-quest__runner,.joga-scroll-quest__runner::before{transition:none!important}}
body.elementor-editor-active .joga-scroll-quest:not(.joga-scroll-quest--editor-preview),.elementor-editor-active .joga-scroll-quest:not(.joga-scroll-quest--editor-preview){display:none!important}
