.wjj-golden {
    --ink:#231818; --wine:#4b1d29; --gold:#d5a759; --cream:#fff8e9;
    box-sizing:border-box; width:min(880px, calc(100vw - 24px)); max-width:none;
    max-height:calc(100dvh - 24px); padding:clamp(18px,4vw,42px); margin:auto;
    border:1px solid #cba465; border-radius:24px; color:var(--ink);
    background:radial-gradient(ellipse at 10% 40%,#f5dfb1,transparent 54%),var(--cream);
    box-shadow:0 24px 100px #10060585; font:16px/1.45 Arial,sans-serif;
    overflow:auto; overscroll-behavior:contain; isolation:isolate;
    animation:wgs-open .38s cubic-bezier(.18,.72,.42,1) both;
}
.wjj-golden *, .wjj-golden *::before, .wjj-golden *::after {box-sizing:border-box}
.wjj-golden [hidden] {display:none!important}
.wjj-golden::backdrop {background:#230e17b8; animation:wgs-fade .35s both}
.wgs-close {
    position:absolute; top:9px; right:9px; z-index:3; width:44px; height:44px;
    border-radius:50%; border:1px solid #7b4158; background:var(--cream);
    color:var(--wine); font:26px/1 Arial,sans-serif; cursor:pointer;
}
.wgs-header {text-align:center; padding-inline:26px; animation:wgs-reveal .45s .08s both}
.wgs-brand {font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:#71354a}
.wgs-header h2 {
    font:600 clamp(30px,5vw,62px)/.99 Georgia,serif; letter-spacing:-.045em;
    margin:10px 0 9px; color:var(--wine);
}
.wgs-header p {margin:0; font-size:clamp(14px,2vw,17px)}
.wgs-header::after {
    display:block; width:52px; margin:16px auto 0; height:2px;
    background:#ac7632; content:''; animation:wgs-line .55s .18s both;
}
.wgs-grid {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center; gap:clamp(18px,4vw,45px); margin-top:23px;
}
.wgs-stage {
    isolation:isolate; position:relative; width:min(100%,340px); aspect-ratio:1;
    margin:8px auto; border-radius:50%; container-type:inline-size;
    background:#3c1521; border:2px solid #a97534; box-shadow:0 5px 18px #38171555;
    animation:wgs-reveal .55s .17s both;
}
.wgs-stage::before {
    position:absolute; inset:4px; z-index:1; content:''; pointer-events:none;
    border-radius:50%; border:3px dotted #f2cc78;
}
.wgs-spinning .wgs-stage::before {animation:wgs-orbit 1.8s linear infinite}
.wgs-wheel {
    position:absolute; inset:12px; border-radius:50%; overflow:hidden;
    transition:transform 3.8s cubic-bezier(.12,.73,.12,1);
    background:conic-gradient(from -20deg,#e5b760 0deg 40deg,#592637 40deg 80deg,
        #773749 80deg 120deg,#4b1e2a 120deg 160deg,#783747 160deg 200deg,
        #634125 200deg 240deg,#4a1c30 240deg 280deg,#805425 280deg 320deg,#6d3145 320deg);
}
.wgs-wheel::before {
    content:''; position:absolute; inset:0; border-radius:inherit;
    background:repeating-conic-gradient(from -20deg, #f7d685aa 0deg .65deg, transparent .65deg 40deg);
}
.wgs-wheel span {
    position:absolute; inset:8% 0 50%; transform-origin:50% 100%;
    transform:rotate(var(--arc)); text-align:center; pointer-events:none;
    color:#ffefc5; font:bold clamp(8px,4.2cqw,15px)/1 Arial,sans-serif;
    letter-spacing:.025em; text-shadow:0 1px 3px #29142a;
}
.wgs-wheel span:first-of-type {color:#2a1519; text-shadow:none}
.wgs-pointer {
    position:absolute; z-index:3; top:-12px; left:calc(50% - 12px);
    border:12px solid transparent; border-top:25px solid #bb8736;
    filter:drop-shadow(0 2px 2px #30132099); transform-origin:50% 0%;
}
.wgs-spinning .wgs-pointer {animation:wgs-click .14s ease-in-out infinite alternate}
.wgs-hub {
    position:absolute; z-index:2; inset:38%; display:grid; place-items:center;
    border-radius:50%; border:2px solid #f3cc81; background:radial-gradient(circle at 40% 20%,#6f3448,#30101c);
    color:#ffe0a5; font:700 clamp(13px,8cqw,27px)/1 Georgia,serif;
    box-shadow:0 2px 12px #2f142599;
}
.wgs-spinning .wgs-hub {animation:wgs-heart .75s ease-in-out infinite alternate}
.wgs-panel {min-width:0; animation:wgs-reveal .5s .25s both}
.wgs-status {font-size:14px; font-weight:700; color:#69334a; margin-bottom:10px}
.wgs-offer {animation:wgs-reveal .35s both}
.wgs-offer h3 {
    font:600 clamp(24px,3.5vw,38px)/1.03 Georgia,serif; color:var(--wine); margin:0 0 8px;
}
.wgs-offer p {font-size:15px; margin:8px 0 12px}
.wgs-price {display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 13px; color:#5e2634; font-weight:800}
.wgs-price del {font-size:20px; color:#705660; animation:wgs-fade .3s both}
.wgs-price strong {font:700 42px/1 Georgia,serif; color:#783a13; animation:wgs-prize .48s both}
.wgs-price small {width:100%; color:#593928; font-size:13px; animation:wgs-reveal .35s .43s both}
.wgs-actions {display:flex; flex-wrap:wrap; gap:8px}
.wgs-actions button, .wgs-form button {
    border:1px solid #4b1d29; background:#4b1d29; color:white; padding:9px 14px;
    border-radius:8px; min-height:44px; font:700 14px/1.2 Arial,sans-serif; cursor:pointer;
    transition:transform .18s,opacity .18s;
}
.wgs-actions .wgs-spin {background:#fff7e4; color:#4b1d29}
.wgs-actions button:disabled,.wgs-form button:disabled {opacity:.5; cursor:default}
.wgs-actions button:not(:disabled):hover,.wgs-form button:not(:disabled):hover {transform:translateY(-2px)}
.wgs-actions button:not(:disabled):active,.wgs-form button:not(:disabled):active {transform:scale(.97)}
.wjj-golden :focus-visible {outline:2px solid #9a5321; outline-offset:3px}
.wgs-error:not(:empty) {margin-top:10px; color:#9b2020; font-size:14px}
.wgs-form {
    display:grid; grid-template-columns:1fr 1fr; gap:9px;
    padding-top:11px; margin-top:12px; border-top:1px solid #d7bc8f;
    animation:wgs-reveal .32s both;
}
.wgs-form label {display:grid; gap:3px; font-weight:700; font-size:13px}
.wgs-form label:nth-child(n+4), .wgs-form small {grid-column:1/-1}
.wgs-form :is(input,select,textarea) {
    width:100%; min-width:0; background:#fffdfa; color:#291820; border:1px solid #9e8172;
    min-height:40px; border-radius:6px; padding:7px; font:16px/1.2 Arial,sans-serif;
}
.wgs-form small {font-size:12px; line-height:1.4}
.wgs-form a {align-self:center; color:#56273f; font-size:14px; justify-self:center; text-decoration:underline}
.wgs-effects {position:absolute; inset:0; z-index:4; pointer-events:none; overflow:hidden}
.wgs-effects i {
    position:absolute; width:7px; height:11px; border-radius:2px; top:45%; left:51%;
    animation:wgs-burst .95s var(--d) cubic-bezier(.16,.6,.3,1) both;
}
.wgs-effects i:nth-child(3n) {border-radius:50%; width:7px; height:7px}
@keyframes wgs-open {from{opacity:0;transform:translateY(18px) scale(.96)}}
@keyframes wgs-fade {from{opacity:0}}
@keyframes wgs-reveal {from{opacity:0;transform:translateY(8px)}}
@keyframes wgs-line {from{opacity:0;transform:scaleX(.1)}}
@keyframes wgs-orbit {to{transform:rotate(360deg)}}
@keyframes wgs-click {to{transform:rotate(-13deg)}}
@keyframes wgs-heart {to{transform:scale(1.08)}}
@keyframes wgs-prize {from{opacity:0;transform:scale(.78)} 65%{transform:scale(1.06)}}
@keyframes wgs-burst {
    0%{opacity:0;transform:scale(.3)}
    22%{opacity:1}
    100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.35)}
}
@media (max-width:635px) {
    .wgs-grid {grid-template-columns:1fr; gap:11px; margin-top:12px}
    .wgs-stage {width:min(68vw, 232px, 35dvh)}
    .wgs-header::after {margin-top:9px}
    .wgs-panel {text-align:center}
    .wgs-actions,.wgs-price {justify-content:center}
    .wgs-form {text-align:left}
}
@media (prefers-reduced-motion:reduce) {
    .wjj-golden,.wjj-golden::backdrop,.wjj-golden *,.wjj-golden *::before,.wjj-golden *::after {
        animation:none!important; transition:none!important;
    }
}
