/* AEVLO V608 — fade scroll edges, unify skin presets, align mode controls.
   CSS only for presentation. Actual scrolling/interaction is unchanged. */

/* All game modes: filter controls follow the SAME outer horizontal guides
   as the cards. V606 inset was too large; 1px compensates for border. */
#view-modes .mode-filter-section .filter-grid > .filter-ping-direction {
  margin-left:1px;
}
#view-modes .mode-filter-section .filter-grid > .occupancy-field {
  margin-right:1px;
}
/* Reserve Reset's original cell, with a soft entrance without movement. */
#view-modes .mode-filter-section .filter-grid > .reset-filters:not([hidden]) {
  animation:aevlo-v608-reset-reveal .18s ease-out both;
}
@keyframes aevlo-v608-reset-reveal {from{opacity:0}to{opacity:1}}

/* Preset workspace is the same card language/width as the Skinchanger.
   Removed navigation-only buttons do not leave blank space behind. */
#view-skinchanger .sc5-presets-rail {
  box-sizing:border-box;
  border-radius:14px;
}
#view-skinchanger .sc5-rail-heading h2{
  font-size:15px;
  font-weight:690;
}
@media(max-width:850px){
 #view-skinchanger .sc5-presets-rail {
  width:100%;
  max-width:100%;
  min-width:0;
  padding:13px;
  margin-top:16px;
 }
 #view-skinchanger .sc5-studio{width:100%;min-width:0}
}
@media(min-width:851px){
 #view-skinchanger .sc5-presets-rail {
  padding:15px;
 }
}

/* These classes are applied only when content really extends beyond the
   viewport. At scroll limits, the fade is removed; last/first cards remain
   fully visible. No transforms, no scroll snapping, no changing dimensions. */
.aevlo-fade-x.aevlo-more-end:not(.aevlo-more-start) {
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 27px),transparent 100%);
  mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 27px),transparent 100%);
}
.aevlo-fade-x.aevlo-more-start:not(.aevlo-more-end) {
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 27px,#000 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 27px,#000 100%);
}
.aevlo-fade-x.aevlo-more-start.aevlo-more-end {
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 27px,#000 calc(100% - 27px),transparent 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 27px,#000 calc(100% - 27px),transparent 100%);
}
.aevlo-fade-y.aevlo-below:not(.aevlo-above) {
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 42px),transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 42px),transparent 100%);
}
.aevlo-fade-y.aevlo-above:not(.aevlo-below) {
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 30px,#000 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,#000 30px,#000 100%);
}
.aevlo-fade-y.aevlo-above.aevlo-below {
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 30px,#000 calc(100% - 42px),transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,#000 30px,#000 calc(100% - 42px),transparent 100%);
}
@media(prefers-reduced-motion:reduce){
 #view-modes .mode-filter-section .filter-grid > .reset-filters:not([hidden]){animation:none}
}
