/* SKYPK Discord role motion v3
 * Verified against Discord web e5de78, 2026-09-25:
 * text: 100px tile, 0 -> 100px, 1.5s linear; dot: 12px, 2.5s;
 * glow: blur(4px), opacity .7, transition .1s ease-in-out, hover activation.
 */
html [data-skypk-role-label] {
  position: relative;
  z-index: 0;
  display: inline-block;
  background-image: var(--skypk-role-gradient) !important;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 100px auto !important;
  background-position: 0 0;
  background-repeat: repeat !important;
  animation: none !important;
  will-change: auto;
}
html [data-skypk-role-label]::after {
  content: attr(data-skypk-role-text) / "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--skypk-role-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  text-indent: 0;
  filter: blur(4px);
  opacity: 0;
  transition: opacity .1s ease-in-out;
}
html .role-badge [data-skypk-role-dot] {
  background-image: var(--skypk-role-gradient) !important;
  background-size: 12px auto !important;
  background-position: 0 0;
  background-repeat: repeat !important;
  animation: none !important;
  will-change: auto;
}
@keyframes skypk-discord-username {
  from { background-position: 0; }
  to { background-position: 100px; }
}
@keyframes skypk-discord-dot {
  from { background-position: 0; }
  to { background-position: 12px; }
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  html:not([data-skypk-role-motion-paused]) :is(
    [data-skypk-role-label]:hover,
    .role-badge:hover [data-skypk-role-label],
    .st-table tbody tr:hover [data-skypk-role-label],
    .staff-card:hover [data-skypk-role-label]
  ) {
    animation: skypk-discord-username 1.5s linear infinite !important;
  }
  html:not([data-skypk-role-motion-paused]) :is(
    [data-skypk-role-label]:hover,
    .role-badge:hover [data-skypk-role-label],
    .st-table tbody tr:hover [data-skypk-role-label],
    .staff-card:hover [data-skypk-role-label]
  )::after {
    opacity: .7;
  }
  html:not([data-skypk-role-motion-paused]) .role-badge [data-skypk-role-dot]:hover {
    animation: skypk-discord-dot 2.5s linear infinite !important;
  }
}
@media (forced-colors: active) {
  html [data-skypk-role-label] {
    background-image: none !important;
    color: CanvasText !important;
    -webkit-text-fill-color: CanvasText !important;
  }
  html [data-skypk-role-label]::after { content: none; }
}
