.lottery{color-scheme:dark;color:#fff0cc;border:1px solid #d2a358;border-radius:28px;padding:0;width:min(540px,calc(100% - 24px));max-height:90dvh;background:radial-gradient(ellipse at top,#571787,#210a38 60%);box-shadow:0 0 0 5px #54205b,0 25px 100px #000b;font-family:system-ui,'Microsoft YaHei',sans-serif}.lottery::backdrop{background:#0c001acf;backdrop-filter:blur(6px)}.lottery *{box-sizing:border-box}.lottery .inner{padding:28px}.lottery h2{text-align:center;font-size:32px;color:#ffe799;margin:10px 0}.lottery .eyebrow{text-align:center;letter-spacing:5px;font-size:11px;color:#e9bb65}.lottery .sub{text-align:center;color:#bfa3cf;font-size:13px;line-height:1.8}.lottery .close{position:absolute;right:14px;top:12px;background:transparent;color:#d7bedb;border:0;font-size:26px;cursor:pointer}.lottery label{display:block;font-size:13px;color:#d5bddb;margin:18px 0 6px}.lottery input{width:100%;border:1px solid #79517f;border-radius:12px;background:#180c27;padding:14px;color:white;font-size:16px}.lottery button{font:inherit;cursor:pointer}.lottery button:disabled{opacity:.5;cursor:wait}.lottery .primary{display:block;width:100%;padding:16px;margin-top:20px;border:1px solid #fff0b3;border-radius:14px;background:linear-gradient(125deg,#ffefa0,#eeb341);color:#482508;font-weight:900;box-shadow:0 4px 0 #9d641e}.lottery .quiet{border:0;background:transparent;color:#c9a7e6;font-size:12px;padding:8px}.lottery .balance{display:flex;align-items:center;justify-content:space-between;background:#ffffff07;border:1px solid #ffffff15;border-radius:12px;padding:12px;font-size:13px}.lottery .balance strong{color:#ffe28a;font-size:23px;margin-left:8px}.lottery .machine{margin-top:20px;padding:16px 12px 12px;border:2px solid #dba955;border-radius:22px;background:linear-gradient(150deg,#693281,#2a0c40);box-shadow:inset 0 0 0 5px #a8724438,0 0 25px #a537b529}.lottery .lights{height:10px;background:radial-gradient(circle,#ffdf84 2px,transparent 3px) 0 0/19px 10px;margin-bottom:12px}.lottery .reels{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.lottery .reel{height:118px;overflow:hidden;background:linear-gradient(#c9afd9,#fff8e9 35%,#fff8e9 65%,#bea1ce);border-radius:10px;box-shadow:inset 0 5px 10px #32133c66;color:#4a2653}.lottery .symbol{height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:35px}.lottery .symbol img{height:55px;width:55px;object-fit:contain}.lottery .symbol span{font-size:11px;max-width:95%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.lottery .rolling .symbol{animation:reel-spin .15s linear infinite;filter:blur(1px)}.lottery .reel:nth-child(2) .symbol{animation-delay:-.07s}.lottery .reel:nth-child(3) .symbol{animation-delay:-.11s}@keyframes reel-spin{from{transform:translateY(-110%)}to{transform:translateY(110%)}}.lottery .machine-foot{font-size:10px;letter-spacing:4px;text-align:center;margin-top:13px;color:#e4b866}.lottery .result{text-align:center;min-height:46px;margin:18px 0 0;font-size:17px;line-height:1.6;color:#ffe5a0}.lottery .message{font-size:13px;line-height:1.6;color:#ffc2cb;margin-top:12px}.lottery details{border-top:1px solid #ffffff18;padding-top:16px;margin-top:20px;color:#c8b0d1;font-size:12px}.lottery summary{cursor:pointer;font-size:13px}.lottery .prizelist{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.lottery .prize{padding:10px;background:#ffffff07;border-radius:8px;display:flex;gap:8px;align-items:center}.lottery .prize img{width:30px;height:30px;object-fit:contain}.lottery .prize small{display:block;color:#ac91b8;margin-top:3px}.lottery .history-row{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #ffffff10}.lottery [hidden]{display:none!important}@media(max-width:420px){.lottery .inner{padding:24px 16px}.lottery h2{font-size:27px}.lottery .reel,.lottery .symbol{height:98px}}@media(prefers-reduced-motion:reduce){.lottery .rolling .symbol{animation:none;filter:none}}
