/* Colour tokens — override to re-skin the effect:
   --ink    main text colour (defaults to currentColor)
   --ink-2  primary accent   --ink-3  secondary accent */
:root { --ink: currentColor; --ink-2: #FF4FD8; --ink-3: #4FF8FF; }

/* 119 Gradient-Frame — an animated conic-gradient border spins around the word */
@property --gf-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.fx-gradientframe {
  position: relative;
  display: inline-block;
  padding: .46em 1.05em;
  font: 800 36px/1.1 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
  letter-spacing: .06em;
  white-space: pre;
  color: var(--ink, currentColor);
}
.fx-gradientframe::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 3px;
  background: conic-gradient(
    from var(--gf-angle),
    #ff4fd8,
    #7a5cff,
    #4ff8ff,
    #ffd76a,
    #ff4fd8
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: fx-gradientframe-spin 5.5s linear infinite;
  pointer-events: none;
}
.fx-gradientframe::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 22px;
  pointer-events: none;
  background: conic-gradient(
    from var(--gf-angle),
    #ff4fd83d,
    #4ff8ff3d,
    transparent 62%
  );
  filter: blur(12px);
  animation: fx-gradientframe-spin 5.5s linear infinite;
  opacity: .8;
}
@keyframes fx-gradientframe-spin {
  to { --gf-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-gradientframe::before,
  .fx-gradientframe::after { animation: none; }
}

.fx-gradientframe-thick::before { padding: 6px; }
.fx-gradientframe-thick::after { inset: -16px; }
