.tw-credit {
  --tw-ink: #e9f2f6;
  --tw-muted: #aec0ca;
  --tw-cyan: #5ce4ef;
  --tw-gold: #f0c56b;
  --tw-line: #35434d;
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem 1rem;
  color: var(--tw-ink);
  font-family: inherit;
}

.tw-credit__link {
  position: relative;
  display: inline-flex;
  min-width: min(100%, 19rem);
  min-height: 3rem;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--tw-line);
  border-radius: 0.7rem;
  background:
    radial-gradient(12rem 4rem at 6% 50%, rgb(92 228 239 / 10%), transparent 72%),
    linear-gradient(115deg, #171e24, #202a32 60%, #171e24);
  color: var(--tw-ink) !important;
  text-decoration: none !important;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.tw-credit__link::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  width: 28%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgb(92 228 239 / 15%), transparent);
  content: "";
  pointer-events: none;
  transition: left 360ms ease;
}

.tw-credit__mark {
  position: relative;
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border: 1px solid rgb(92 228 239 / 48%);
  border-radius: 0.52rem;
  color: var(--tw-cyan);
  font: 750 0.76rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.08em;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.tw-credit__mark i {
  position: absolute;
  right: -0.18rem;
  bottom: -0.18rem;
  width: 0.4rem;
  height: 0.4rem;
  border: 1px solid #202a32;
  border-radius: 50%;
  background: var(--tw-gold);
  box-shadow: 0 0 0 0 rgb(240 197 107 / 48%);
}

.tw-credit__copy {
  position: relative;
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.tw-credit__name {
  color: var(--tw-ink);
  font-size: 0.91rem;
  font-weight: 720;
  letter-spacing: 0.005em;
}

.tw-credit__description {
  color: var(--tw-muted);
  font-size: 0.73rem;
  line-height: 1.3;
}

.tw-credit__arrow {
  position: relative;
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 1.7rem;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgb(174 192 202 / 23%);
  border-radius: 50%;
  color: var(--tw-gold);
  font-size: 1rem;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.tw-credit__link:hover {
  transform: translateY(-1px);
  border-color: rgb(92 228 239 / 78%);
  background-color: #202a32;
  box-shadow: 0 0.35rem 1.6rem rgb(2 13 20 / 22%), 0 0 1rem rgb(92 228 239 / 9%);
}

.tw-credit__link:hover::before,
.tw-credit__link:focus-visible::before,
.tw-credit__link:active::before {
  left: 115%;
}

.tw-credit__link:hover .tw-credit__mark,
.tw-credit__link:focus-visible .tw-credit__mark {
  transform: rotate(-5deg);
  border-color: var(--tw-cyan);
  color: #fff;
  box-shadow: 0 0 0.9rem rgb(92 228 239 / 25%);
}

.tw-credit__link:hover .tw-credit__mark i,
.tw-credit__link:focus-visible .tw-credit__mark i {
  animation: tw-credit-pulse 850ms ease-out 1;
}

.tw-credit__link:hover .tw-credit__arrow,
.tw-credit__link:focus-visible .tw-credit__arrow {
  transform: translate(1px, -1px);
  border-color: rgb(240 197 107 / 68%);
  color: #ffe3a2;
}

.tw-credit__link:focus-visible {
  outline: 3px solid #63e7f0;
  outline-offset: 3px;
}

.tw-credit__link:active {
  transform: translateY(0) scale(0.99);
}

@keyframes tw-credit-pulse {
  0% { box-shadow: 0 0 0 0 rgb(240 197 107 / 55%); }
  100% { box-shadow: 0 0 0 0.55rem rgb(240 197 107 / 0%); }
}

html[data-vision-theme="contrast"] .tw-credit__link,
html[data-vision-theme="contrast"] .tw-credit__link:hover {
  border-color: currentColor;
  background: #000;
  box-shadow: none;
  color: #fff !important;
}

html[data-vision-theme="contrast"] .tw-credit__mark,
html[data-vision-theme="contrast"] .tw-credit__name,
html[data-vision-theme="contrast"] .tw-credit__description,
html[data-vision-theme="contrast"] .tw-credit__arrow {
  border-color: currentColor;
  color: #ff0;
}

@media (prefers-reduced-motion: reduce) {
  .tw-credit__link,
  .tw-credit__link::before,
  .tw-credit__mark,
  .tw-credit__arrow {
    transition-duration: 0.01ms;
  }

  .tw-credit__link:hover,
  .tw-credit__link:active {
    transform: none;
  }

  .tw-credit__link:hover .tw-credit__mark,
  .tw-credit__link:focus-visible .tw-credit__mark,
  .tw-credit__link:hover .tw-credit__arrow,
  .tw-credit__link:focus-visible .tw-credit__arrow {
    transform: none;
  }

  .tw-credit__link:hover .tw-credit__mark i,
  .tw-credit__link:focus-visible .tw-credit__mark i {
    animation: none;
  }
}

@media (forced-colors: active) {
  .tw-credit__link,
  .tw-credit__mark,
  .tw-credit__arrow {
    border: 1px solid LinkText;
    background: Canvas;
    color: LinkText !important;
    forced-color-adjust: auto;
  }

  .tw-credit__name,
  .tw-credit__description,
  .tw-credit__arrow {
    color: LinkText;
  }

  .tw-credit__link:focus-visible {
    outline: 3px solid Highlight;
  }

  .tw-credit__mark i,
  .tw-credit__link::before {
    display: none;
  }
}

/* The CSS-only settings panel also supports contrast when JavaScript is disabled. */
html:not([data-vision-theme]):has([name="theme"][value="contrast"]:checked) .tw-credit__link {
  background: #000;
  color: #ffff5d;
  border-color: #ffff5d;
}

.studio-footer-row { min-width: 0; max-width: 100%; }
.tw-credit { box-sizing: border-box; min-width: 0; padding-inline: clamp(.25rem, 2vw, 1rem); }
.tw-credit__link { box-sizing: border-box; max-width: 100%; }
.tw-credit__copy { overflow-wrap: anywhere; }
.vision-footer .studio-footer-row { margin-inline-start: auto; }
.vision-footer .tw-credit__name { font-size: .93em; }
.vision-footer .tw-credit__description { font-size: .82em; }

@media (max-width: 35em) {
  .vision-footer .studio-footer-row { margin-inline-start: 0; }
}
