.slot-stage-wrapper { position: relative; }

.za-layer { position: absolute; pointer-events: none; z-index: 5; overflow: hidden; border-radius: 12px; }
.za-layer[hidden] { display: none; }
.za-stage { position: absolute; left: 0; top: 0; width: 1152px; height: 864px; transform-origin: 0 0; font-family: "Cinzel", "Georgia", "Times New Roman", serif; color: #ffe7a8; }

.za-chip {
  position: absolute; height: 30px; padding: 0 14px; border-radius: 15px; display: flex; align-items: center; gap: 8px;
  background: rgba(8, 4, 24, .9); border: 2px solid #e6c36a; box-shadow: 0 0 12px rgba(230, 195, 106, .35);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; color: #ffe7a8;
}
.za-chip[hidden] { display: none; }
.za-left { left: 196px; }
.za-right { right: 196px; }
.za-row1 { top: 88px; }
.za-row2 { top: 124px; }
.za-chip-value { color: #fff4c8; font-size: 15px; text-shadow: 0 0 8px rgba(255, 220, 140, .8); }
.za-dots { display: inline-flex; gap: 4px; }
.za-dot { width: 22px; height: 22px; object-fit: contain; opacity: .3; filter: grayscale(.6); transition: opacity 150ms, filter 150ms; }
.za-dot.on { opacity: 1; filter: none; }
.za-chip.flash { animation: za-flash 150ms ease-out; }
@keyframes za-flash { 0% { box-shadow: 0 0 0 rgba(255, 244, 200, 0); } 50% { box-shadow: 0 0 22px rgba(255, 244, 200, .95); } 100% { box-shadow: 0 0 12px rgba(230, 195, 106, .35); } }

.za-eclipse-veil {
  position: absolute; opacity: 0; transition: opacity 800ms ease; border-radius: 10px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, rgba(110, 30, 130, .26) 0%, rgba(160, 20, 70, .22) 55%, rgba(40, 6, 40, .34) 100%);
}
.za-eclipse-veil.on { opacity: 1; }
.za-eclipse-disc {
  position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; transform: translate(-50%, -50%); border-radius: 50%; opacity: .45;
  background: radial-gradient(circle, #12031f 0 56%, #c8366a 58%, #d88a3c 62%, rgba(216, 138, 60, 0) 72%);
}

.za-banner {
  position: absolute; left: 50%; transform: translate(-50%, -50%) scale(.9); opacity: 0; transition: opacity 150ms ease, transform 150ms ease;
  min-width: 420px; max-width: 760px; padding: 14px 30px; text-align: center; border-radius: 14px;
  background: rgba(10, 5, 28, .94); border: 2px solid #e6c36a; box-shadow: 0 0 26px rgba(230, 195, 106, .5);
}
.za-banner.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.za-banner-main { font-size: 46px; font-weight: 700; color: #fff4c8; text-shadow: 0 0 14px rgba(255, 220, 140, .8); }
.za-banner-sub { margin-top: 4px; font-size: 14px; letter-spacing: .08em; color: #ffe7a8; }

.za-orb { position: absolute; width: 70px; height: 70px; object-fit: contain; transform: translate(-50%, -50%); }

.za-veil { position: absolute; inset: 0; background: rgba(5, 2, 15, 0); transition: background 450ms ease; pointer-events: auto; }
.za-veil.on { background: rgba(5, 2, 15, .72); }

.za-astro { position: absolute; width: 600px; height: 600px; margin: -300px 0 0 -300px; opacity: 0; transform: scale(.6); transition: opacity 450ms ease, transform 450ms ease; }
.za-astro.on { opacity: 1; transform: scale(1); }
.za-astro.off { opacity: 0; transform: scale(.85); transition-duration: 350ms; }
.za-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(#fff2b0, #d9a520, #fff2b0, #a8761a, #fff2b0, #d9a520, #fff2b0);
  -webkit-mask: radial-gradient(circle, transparent 284px, #000 286px); mask: radial-gradient(circle, transparent 284px, #000 286px);
  filter: drop-shadow(0 0 16px rgba(255, 210, 100, .6));
}
.za-ghiera { position: absolute; inset: 0; animation: za-rotate 12s linear infinite; }
@keyframes za-rotate { to { transform: rotate(360deg); } }
.za-glyph {
  position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; text-align: center; line-height: 36px;
  font-size: 28px; font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", sans-serif; color: #e6c36a; opacity: .55; transition: opacity 150ms, text-shadow 150ms;
}
.za-glyph.lit { opacity: 1; color: #fff4c8; text-shadow: 0 0 14px rgba(255, 220, 140, 1); }
.za-gem { position: absolute; width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(0, 0, 0, .6)); }
.za-tl { left: 56px; top: 56px; } .za-tr { right: 56px; top: 56px; }
.za-bl { left: 56px; bottom: 56px; } .za-br { right: 56px; bottom: 56px; }
.za-sun { position: absolute; left: 50%; top: -6px; width: 120px; height: 120px; margin-left: -60px; }
.za-sun-img, .za-moon-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.za-moon-img { transform: translateX(-130px); opacity: 0; transition: transform 600ms ease, opacity 600ms ease; }
.za-astro.eclipse .za-moon-img { transform: translateX(0); opacity: 1; }
.za-disc {
  position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: inset 0 0 40px rgba(0, 0, 0, .65), 0 0 24px rgba(8, 4, 40, .8);
  background: radial-gradient(circle at 50% 40%, #232a6e, #0d1038 70%);
}
.za-disc::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity 600ms ease;
  background: radial-gradient(circle at 50% 38%, #5b1d6e, #36104d 58%, #1c0630 100%); box-shadow: inset 0 0 36px rgba(210, 40, 90, .35);
}
.za-astro.eclipse .za-disc::before { opacity: 1; }
.za-content { position: relative; width: 310px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.za-title { margin: 0; font-size: 27px; line-height: 1.12; font-weight: 700; color: #ffe7a8; }
.za-summary-title { font-size: 21px; }
.za-line { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 700; color: #fff4c8; text-shadow: 0 0 12px rgba(255, 220, 140, .7); }
.za-small { font-size: 16px; font-weight: 700; letter-spacing: .06em; color: #ffe7a8; }
.za-cap { color: #ff9fb5; }
.za-center-moon { width: 138px; height: 138px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(190, 150, 255, .8)); }
.za-number { font-size: 112px; line-height: 1; font-weight: 700; color: #fff4c8; text-shadow: 0 0 22px rgba(255, 220, 140, .85); font-variant-numeric: tabular-nums; }
.za-number.done { animation: za-done 300ms ease-out; }
@keyframes za-done { 50% { transform: scale(1.12); } }
.za-added { font-size: 84px; }
.za-amount { font-size: 62px; white-space: nowrap; }
.za-button {
  min-width: 140px; min-height: 44px; padding: 10px 28px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 18px "Cinzel", "Georgia", serif; letter-spacing: .08em; color: #2b1346;
  background: linear-gradient(#ffe9a0, #d9a520); box-shadow: 0 0 14px rgba(255, 210, 100, .55);
}
.za-button[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .za-ghiera { animation: none; }
  .za-astro, .za-astro.off { transition: opacity 200ms ease; transform: none; }
  .za-veil { transition-duration: 200ms; }
  .za-moon-img { transform: none; transition: opacity 200ms ease; }
  .za-disc::before { transition-duration: 200ms; }
  .za-chip.flash, .za-number.done { animation: none; }
  .za-banner { transition-duration: 200ms; transform: translate(-50%, -50%); }
  .za-eclipse-veil { transition-duration: 200ms; }
}
