/* AGB slider fix 2026-11-26 v2 — draft / go-live.
   12px gap under the header so the sticky Teil bar is not clipped.
   § badges follow the photo.bigsnowjam.com rail gradient (yellow → green).
   html.is-tl-dragging disables the site-wide smooth scroll that made the
   knob stutter during drag. */

.agb-c4-wrap{
  --agb-c4-header-h:102px;
  --agb-c4-marker-top:154px;
}

@media (max-width:900px){
  .agb-c4-wrap{
    --agb-c4-header-h:84px;
    --agb-c4-marker-top:174px;
  }
}

@media (max-width:700px){
  .agb-c4-scrub-links{
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%);
            mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%);
    scrollbar-width:none;
    gap:4px;
  }
  .agb-c4-scrub-links::-webkit-scrollbar{display:none}
  .agb-c4-scrub-link{
    font-size:13px;
    padding:4px 7px;
  }
}

/* Beat the earlier all-yellow .agb-c4-tag--* rules. */
.agb-c4-wrap .agb-c4-tag,
.agb-c4-wrap .agb-c4-tag--yellow,
.agb-c4-wrap .agb-c4-tag--pink,
.agb-c4-wrap .agb-c4-tag--blue,
.agb-c4-wrap .agb-c4-tag--green{
  background:var(--tl-tag-color,#F2E052);
  color:#111;
}

html.is-tl-dragging{
  scroll-behavior:auto !important;
  cursor:grabbing;
  user-select:none;
  -webkit-user-select:none;
}
html.is-tl-dragging body{cursor:grabbing}
html.is-tl-dragging .agb-c4-tag,
html.is-tl-dragging .agb-c4-marker,
html.is-tl-dragging .agb-c4-year-num{
  transition:none;
}
