.pz-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 32px;
  font-family: var(--lh-font, "Sofia Pro", "Gill Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 50% 42%, rgba(180, 40, 140, 0.28), transparent 42%),
    rgba(12, 4, 18, 0.94);
  backdrop-filter: blur(8px);
}
.pz-overlay button { font-family: inherit; }
.pz-overlay[hidden] { display: none; }
.pz-stage {
  position: relative;
  width: min(560px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pz-close {
  position: absolute;
  top: -8px;
  right: 8px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 210, 120, 0.35);
  border-radius: 50%;
  background: rgba(40, 12, 50, 0.7);
  color: #ffd27a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pz-ring-wrap {
  position: relative;
  width: min(520px, 88vw);
  aspect-ratio: 1;
}
.pz-arc {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pz-rim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.pz-rim span {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 14px;
  height: calc(50% - 2px);
  margin-left: -7px;
  transform-origin: 50% 100%;
  color: #ffe08a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  line-height: 1;
}
.pz-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 4;
  width: 0;
  height: 0;
  margin-left: -16px;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 28px solid #f3c14b;
  filter: drop-shadow(0 4px 8px rgba(243, 193, 75, 0.55));
}
.pz-disc {
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from -11.25deg,
      #2a0d3c 0 22.5deg,
      #16071f 22.5deg 45deg
    );
  box-shadow:
    0 0 0 3px #f0a8d4,
    0 0 0 8px rgba(88, 18, 90, 0.9),
    0 0 40px rgba(255, 80, 180, 0.35),
    inset 0 0 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: rotate(0deg);
}
.pz-slice {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  pointer-events: none;
}
.pz-slice-inner {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 64px;
  margin-left: -32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff4c8;
  text-align: center;
}
.pz-slice .usdt {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #ffe08a;
}
.pz-slice .amt {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  color: #fff3c2;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 0 10px rgba(255, 210, 100, 0.45);
}
.pz-slice .cap {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #ffe4f4;
  max-width: 72px;
  line-height: 1.25;
}
.pz-slice img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.pz-hub {
  position: absolute;
  inset: 34%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #3a1448, #140616 72%);
  box-shadow:
    0 0 0 6px #1a081f,
    0 0 0 8px rgba(240, 168, 212, 0.85),
    0 10px 24px rgba(0, 0, 0, 0.45);
  color: #fff;
  text-align: center;
  pointer-events: none;
}
.pz-hub svg { width: 28px; height: 28px; }
.pz-hub b {
  display: block;
  margin-top: 2px;
  color: #f0d48a;
  font-size: 15px;
  letter-spacing: -0.03em;
}
.pz-hub span {
  display: block;
  color: #ffe4f4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 10px;
}
.pz-spin {
  margin-top: 18px;
  min-width: 180px;
  border: 1px solid #f0a8d4;
  border-radius: 999px;
  padding: 12px 28px;
  background: linear-gradient(180deg, #8a2a78, #5b1258);
  color: #ffe9c4;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(180, 40, 120, 0.4);
}
.pz-spin:disabled { opacity: 0.65; cursor: wait; }
.pz-result {
  position: absolute;
  inset: 18%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #4a1860, #160616 74%);
  box-shadow: 0 0 0 8px rgba(240, 168, 212, 0.9);
  color: #fff;
  text-align: center;
  padding: 24px;
}
.pz-result[hidden] { display: none; }
.pz-result em {
  display: block;
  font-style: normal;
  color: #ffe4f4;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pz-result strong {
  display: block;
  margin: 8px 0 4px;
  color: #ffe08a;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 0 18px rgba(255, 210, 100, 0.5);
}
.pz-result small {
  color: #d7b8d4;
  font-size: 12px;
}
.pz-ok {
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: #571dae;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}
@media (max-width: 640px) {
  .pz-slice .amt { font-size: 16px; }
  .pz-slice img { width: 32px; height: 32px; }
  .pz-hub b { font-size: 13px; }
  .pz-result strong { font-size: 32px; }
}
