.pepe-w9,.pepe-w9 *{box-sizing:border-box}
.pepe-w9{max-width:720px;margin:24px auto;border:1px solid #dfcfac;border-radius:16px;overflow:hidden;background:#fff;color:#202020;box-shadow:0 8px 30px rgba(53,37,9,.08);font-family:inherit}
.pepe-w9-heading{padding:24px 16px 20px;text-align:center;background:linear-gradient(125deg,#161d30,#38466a);color:#fff}
.pepe-w9-heading .pepe-w9-eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:.19em;color:#f5d68e;margin-bottom:10px}
.pepe-w9-heading h2{font-size:clamp(20px,4.8vw,27px);font-weight:900;line-height:1.4;color:#fff;margin:0;padding:0;border:0}
.pepe-w9-heading p{font-size:14px;color:#f0f0f0;margin:9px 0 0}
.pepe-w9-body{padding:22px 18px;text-align:center}
.pepe-w9-rate{margin:0 0 18px;font-size:14px;line-height:1.6;color:#3a3a3a}
.pepe-w9-rate strong{color:#8c5700}
.pepe-w9-draw,.pepe-w9-retry{display:block;width:100%;max-width:480px;margin:0 auto;border:0;border-radius:12px;background:linear-gradient(180deg,#f6c857,#df931a);padding:17px 20px;color:#272015;font-weight:900;font-size:20px;line-height:1.35;cursor:pointer;box-shadow:0 4px 0 #9f691a,0 5px 15px rgba(100,67,0,.13);transition:filter .16s,transform .16s}
.pepe-w9-draw:hover:not(:disabled),.pepe-w9-retry:hover:not(:disabled){filter:brightness(1.045)}
.pepe-w9-draw:active:not(:disabled),.pepe-w9-retry:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px 0 #9f691a}
.pepe-w9-draw:focus-visible,.pepe-w9-retry:focus-visible{outline:3px solid #1e72c9;outline-offset:4px}
.pepe-w9-draw:disabled,.pepe-w9-retry:disabled{cursor:wait;opacity:.77}
.pepe-w9-stage[hidden],.pepe-w9-retry[hidden],.pepe-w9-result[hidden]{display:none!important}
.pepe-w9-stage{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:340px;margin:18px auto 0;padding:19px 12px 15px;background:radial-gradient(ellipse at 50% 48%,#344f83 0,#16284b 44%,#0e1730 95%);border:2px solid #d8ae62;border-radius:14px;color:#fff}
.pepe-w9-stage:before{content:"";position:absolute;z-index:-1;inset:0;background:repeating-conic-gradient(from 12deg at 50% 45%,rgba(244,210,120,.13) 0deg,transparent 9deg,transparent 24deg);opacity:.45}
.pepe-w9-aura{position:absolute;width:255px;height:255px;top:22px;left:calc(50% - 127px);border-radius:50%;background:radial-gradient(circle,rgba(255,230,161,.48),rgba(235,187,66,.19) 35%,transparent 70%);filter:blur(4px);pointer-events:none}
.pepe-w9-mystery-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:138px;height:201px;border-radius:12px;border:5px solid #d6a642;outline:2px solid #ffe3a4;outline-offset:-12px;background:linear-gradient(146deg,#38527c,#14213f 42%,#293d68 82%,#8f632f);box-shadow:0 0 20px rgba(255,211,126,.63),0 12px 30px rgba(0,0,0,.33);transform-origin:50% 50%;backface-visibility:hidden}
.pepe-w9-mystery-card:before{content:"";position:absolute;inset:16px;border:1px solid rgba(255,226,160,.5);border-radius:6px}
.pepe-w9-card-question{font-size:77px;line-height:1;font-weight:900;color:#ffe6a6;text-shadow:0 3px 13px #c0872f}
.pepe-w9-card-mark{font-size:11px;letter-spacing:.13em;font-weight:900;color:#f7d490}
.pepe-w9-stage-message{font-size:18px;font-weight:900;letter-spacing:.04em;line-height:1.5;margin:19px 0 0;color:#ffe6ab}
.pepe-w9-stage-sub{margin:4px 0 0;font-size:12px;color:#d4d9e8}
.pepe-w9-stage.is-playing .pepe-w9-mystery-card{animation:pepe-w9-card-dance 2.85s cubic-bezier(.45,.1,.3,1) both}
.pepe-w9-stage.is-playing .pepe-w9-aura{animation:pepe-w9-aura-glow 2.85s ease-in-out both}
.pepe-w9-stage.is-playing:before{animation:pepe-w9-sunburst 2.85s ease-in-out both}
@keyframes pepe-w9-card-dance{0%{opacity:.10;transform:translateY(34px) scale(.70) rotate(-8deg)}18%{opacity:1;transform:translateY(2px) scale(.94) rotate(4deg)}35%{transform:translateY(-2px) scale(1.0) rotate(-3deg)}52%{transform:translateY(-6px) scale(1.04) rotate(3deg)}68%{transform:translateY(-8px) scale(1.07) rotate(-2deg)}83%{transform:translateY(-7px) scale(1.12) rotate(1deg)}96%{transform:translateY(0) scale(1.20) rotate(0)}100%{transform:translateY(0) scale(1.20) rotate(0)}}
@keyframes pepe-w9-aura-glow{0%{opacity:.08;transform:scale(.6)}30%{opacity:.4;transform:scale(.9)}63%{opacity:.72;transform:scale(1.18)}86%{opacity:1;transform:scale(1.48)}100%{opacity:1;transform:scale(1.76)}}
@keyframes pepe-w9-sunburst{0%{opacity:.06;transform:scale(.9) rotate(0deg)}45%{opacity:.15;transform:scale(1.02) rotate(10deg)}77%{opacity:.44;transform:scale(1.18) rotate(25deg)}100%{opacity:.92;transform:scale(1.34) rotate(33deg)}}
.pepe-w9-result{padding:22px 5px 6px;margin-top:14px;border-top:1px solid #f0e2c7}
.pepe-w9-result-inner{animation:pepe-w9-reveal .5s cubic-bezier(.16,1,.3,1) both}
@keyframes pepe-w9-reveal{0%{opacity:0;transform:translateY(14px) scale(.87)}65%{opacity:1;transform:translateY(-3px) scale(1.035)}100%{transform:translateY(0) scale(1)}}
.pepe-w9-hit-label{font-size:16px;font-weight:800;color:#614400;margin:0 0 15px}
.pepe-w9-card{display:block;max-width:285px;width:100%;margin:0 auto;text-decoration:none!important}
.pepe-w9-card img{display:block;width:100%;max-width:285px;height:auto;max-height:470px;object-fit:contain;margin:0 auto;border-radius:7px}
.pepe-w9-player{font-size:21px;font-weight:900;line-height:1.4;margin:15px 0 3px;color:#222}
.pepe-w9-series{font-size:13px;color:#6a6a6a;margin:2px 0}
.pepe-w9-card-hint{font-size:12px;color:#525252;margin:10px 0 0}
.pepe-w9-retry{margin-top:16px;background:linear-gradient(180deg,#ffcf66,#e8a72a)}
.pepe-w9-announcement{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.pepe-w9-notice{font-size:12px;color:#777;line-height:1.85;margin:24px 0 0;text-align:left}
@media(max-width:600px){.pepe-w9{margin:16px 0;border-radius:12px}.pepe-w9-heading{padding:20px 12px 18px}.pepe-w9-heading p{font-size:13px}.pepe-w9-body{padding:17px 13px}.pepe-w9-rate{font-size:12px}.pepe-w9-draw,.pepe-w9-retry{font-size:19px;padding:16px 12px}.pepe-w9-card{max-width:250px}.pepe-w9-card img{max-width:250px}.pepe-w9-player{font-size:18px}.pepe-w9-stage{min-height:310px}.pepe-w9-mystery-card{width:127px;height:185px}.pepe-w9-stage-message{font-size:17px}}
@media(prefers-reduced-motion:reduce){.pepe-w9-result-inner,.pepe-w9-stage.is-playing .pepe-w9-mystery-card,.pepe-w9-stage.is-playing .pepe-w9-aura,.pepe-w9-stage.is-playing:before{animation:none!important}.pepe-w9-draw,.pepe-w9-retry{transition:none!important}}
