.zuaw-wheel-wrap {
  position: fixed;
  width: 300px;
  height: 300px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(.94);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 999999;
  font-family: inherit;
}

.zuaw-wheel-wrap.is-active {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.zuaw-wheel {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(27, 20, 50, .94) 0 31%, rgba(27, 20, 50, .55) 32% 33%, rgba(118, 74, 255, .13) 34% 56%, rgba(10, 10, 24, .08) 57% 100%),
    conic-gradient(from 0deg, rgba(126, 96, 255, .28), rgba(0, 216, 255, .16), rgba(255, 76, 190, .18), rgba(126, 96, 255, .28));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .38), inset 0 0 36px rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: zuaw-pop .22s cubic-bezier(.2, .8, .2, 1) both;
}

.zuaw-wheel::before,
.zuaw-wheel::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .14);
  pointer-events: none;
}

.zuaw-wheel::after {
  inset: 46px;
  border-style: solid;
  border-color: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 24px rgba(118, 74, 255, .12);
}

.zuaw-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  text-align: center;
  text-decoration: none !important;
  color: #fff !important;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(44, 34, 83, .96), rgba(15, 15, 35, .96));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .12);
  z-index: 4;
}

.zuaw-center:hover {
  color: #fff !important;
  transform: translate(-50%, -50%) scale(1.03);
}

.zuaw-avatar {
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  background-color: rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .09), 0 0 18px rgba(126, 96, 255, .3);
}

.zuaw-name {
  display: block;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .01em;
}

.zuaw-item {
  --zuaw-size: 64px;
  position: absolute;
  left: calc(50% - (var(--zuaw-size) / 2));
  top: calc(50% - (var(--zuaw-size) / 2));
  width: var(--zuaw-size);
  min-width: var(--zuaw-size);
  height: var(--zuaw-size);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 22px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(84, 61, 168, .96), rgba(21, 21, 47, .96));
  box-shadow: 0 12px 25px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: rotate(var(--zuaw-angle)) translate(var(--zuaw-radius)) rotate(calc(var(--zuaw-angle) * -1)) scale(.2);
  opacity: 0;
  transition: transform .26s cubic-bezier(.2, .9, .2, 1), opacity .2s ease, filter .2s ease, box-shadow .2s ease;
  animation: zuaw-spin-in .28s cubic-bezier(.2, .9, .2, 1) forwards;
}

.zuaw-wheel-wrap.is-active .zuaw-item {
  opacity: 1;
  transform: rotate(var(--zuaw-angle)) translate(var(--zuaw-radius)) rotate(calc(var(--zuaw-angle) * -1)) scale(1);
}

.zuaw-item:hover,
.zuaw-item:focus-visible {
  outline: none;
  filter: brightness(1.17) saturate(1.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .38), 0 0 28px rgba(126, 96, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: rotate(var(--zuaw-angle)) translate(var(--zuaw-radius)) rotate(calc(var(--zuaw-angle) * -1)) scale(1.08);
}

.zuaw-item[aria-disabled="true"] {
  opacity: .62;
  cursor: default;
}

.zuaw-item.is-busy {
  pointer-events: none;
  opacity: .75;
}

.zuaw-item.is-busy .zuaw-item-icon {
  animation: zuaw-pulse .7s infinite alternate;
}

.zuaw-item-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 11px;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  background: rgba(255, 255, 255, .12);
}

.zuaw-item-label {
  display: block;
  max-width: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9.8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .01em;
}

.zuaw-loading {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.zuaw-loading span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .22);
  border-top-color: rgba(255, 255, 255, .9);
  animation: zuaw-rotate .8s linear infinite;
}

.zuaw-empty {
  position: absolute;
  left: 50%;
  top: calc(50% + 72px);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 800;
}

.zuaw-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  max-width: min(520px, calc(100vw - 32px));
  transform: translate(-50%, 18px) scale(.96);
  opacity: 0;
  pointer-events: none;
  z-index: 1000000;
  padding: 13px 18px;
  border-radius: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(145deg, rgba(32, 27, 60, .96), rgba(10, 10, 25, .96));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .42);
  transition: opacity .18s ease, transform .18s ease;
}

.zuaw-toast.is-active {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@keyframes zuaw-pop {
  from { transform: scale(.82) rotate(-8deg); opacity: .55; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes zuaw-spin-in {
  from { opacity: 0; filter: blur(2px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes zuaw-rotate {
  to { transform: rotate(360deg); }
}

@keyframes zuaw-pulse {
  from { transform: scale(.92); opacity: .65; }
  to { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 720px) {
  .zuaw-wheel-wrap {
    width: 286px;
    height: 286px;
  }

  .zuaw-wheel {
    width: 286px;
    height: 286px;
  }

  .zuaw-item {
    --zuaw-size: 59px;
  }

  .zuaw-center {
    width: 102px;
    height: 102px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zuaw-wheel,
  .zuaw-item,
  .zuaw-loading span,
  .zuaw-toast,
  .zuaw-wheel-wrap {
    animation: none !important;
    transition: none !important;
  }
}

.zuaw-wheel.is-unresolved {
  box-shadow: 0 18px 55px rgba(0, 0, 0, .38), inset 0 0 36px rgba(255, 255, 255, .06), 0 0 0 2px rgba(255, 255, 255, .08);
}

.zuaw-resolving {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  padding: 4px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  background: rgba(0, 0, 0, .22);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  pointer-events: none;
}

.zuaw-debug-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000001;
  width: min(360px, calc(100vw - 32px));
  padding: 13px;
  border-radius: 16px;
  color: #fff;
  background: rgba(12, 12, 28, .96);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .42);
  font: 13px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zuaw-debug-panel strong,
.zuaw-debug-panel span {
  display: block;
}

.zuaw-debug-panel strong {
  margin-bottom: 6px;
  font-weight: 900;
}

.zuaw-debug-body {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .82);
}

.zuaw-debug-panel button {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, rgba(126, 96, 255, .95), rgba(24, 205, 255, .82));
}
