* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #fff9f7;
    color: #171922;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-tap-highlight-color: transparent
}

button,
input {
    font: inherit
}

button {
    border: 0;
    cursor: pointer
}

button:focus-visible,
[data-spin-edit]:focus-visible {
    outline: 2px solid #ff265f;
    outline-offset: 3px
}

.spin-app {
    width: 100%;
    max-width: 480px;
    margin: auto;
    container-type: inline-size;
    overflow: hidden;
    background: radial-gradient(ellipse at 80% 10%, #ffe6f5, transparent 37%), radial-gradient(ellipse at 17% 9%, #fffce0, transparent 25%), linear-gradient(white 48%, #ffe9e7 68%, #f5f5f7 70%);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%
}

.spin-nav {
    height: 17cqw;
    display: flex;
    align-items: center;
    gap: 2cqw;
    padding: 0 4cqw
}

.spin-nav>button {
    background: transparent;
    color: #171922;
    padding: 0;
    font-size: 5cqw;
    font-weight: 800;
    flex-shrink: 0
}

.spin-nav svg {
    width: 4.5cqw;
    height: 6cqw;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5
}

.spin-nav h1 {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1cqw;
    font-size: 5.4cqw;
    white-space: nowrap;
    font-weight: 950;
    font-style: italic;
    letter-spacing: -.25cqw;
    margin: 0
}

.spin-nav h1 b {
    padding: .2cqw 1.5cqw .6cqw;
    border-radius: 2.6cqw;
    background: linear-gradient(135deg, #ffc025, #ff0656 65%);
    color: white;
    font-size: 5.6cqw;
    letter-spacing: 0
}

.spin-hero {
    height: 88cqw;
    position: relative
}

.wheel-rim {
    position: absolute;
    left: 8.5%;
    top: 0;
    width: 83%;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 2.2cqw;
    background: conic-gradient(from -45deg, #ffbc00, #ff727d, #ff3992, #ffad00, #ffdf00, #ffae00);
    box-shadow: inset 0 0 0 .3cqw #ff9b52
}

.wheel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #f4f4f4 0deg 59deg, #fff 60deg 119deg, #f4f4f4 120deg 179deg, #fff 180deg 239deg, #fff4e9 240deg 299deg, #fff 300deg 360deg);
    will-change: transform
}

.wheel-lights {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none
}

.wheel-lights i {
    position: absolute;
    left: calc(50% - .75cqw);
    top: .8cqw;
    width: 1.5cqw;
    height: 1.5cqw;
    background: #fffacc;
    border-radius: 50%;
    box-shadow: 0 0 1cqw #fff6ad;
    transform-origin: .75cqw 40.7cqw
}

.wheel-lights i:nth-child(2) {
    transform: rotate(60deg)
}

.wheel-lights i:nth-child(3) {
    transform: rotate(120deg)
}

.wheel-lights i:nth-child(4) {
    transform: rotate(180deg)
}

.wheel-lights i:nth-child(5) {
    transform: rotate(240deg)
}

.wheel-lights i:nth-child(6) {
    transform: rotate(300deg)
}

.prize {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18cqw;
    height: 21cqw;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-25cqw);
    display: flex;
    align-items: center;
    justify-content: center
}

.prize-art {
    width: 16cqw;
    border-radius: 3cqw;
    background: linear-gradient(130deg, #ffcf59, #ff4263 55%, #ff199e);
    color: white;
    text-align: center;
    box-shadow: 1cqw 1cqw 0 #ffe6a5, 1.5cqw 2cqw 2cqw #eac88b44;
    transform: rotate(-8deg)
}

.coupon-art strong {
    display: block;
    font-size: 8cqw;
    line-height: 1.2;
    padding: 1cqw .5cqw
}

.coupon-art small {
    font-size: 3cqw
}

.coupon-art>span {
    display: block;
    font-size: 3.7cqw;
    font-weight: 700;
    padding: 1cqw;
    border-top: 1px dashed #ffb4d4
}

.clover {
    position: relative;
    width: 17cqw;
    height: 18cqw;
    filter: drop-shadow(0 1cqw .5cqw #8a9a5c22)
}

.clover i {
    position: absolute;
    left: 5cqw;
    top: 0;
    width: 8cqw;
    height: 10cqw;
    background: linear-gradient(#e0f83a, #9ddd63);
    border: 1px solid #d9ef74;
    border-radius: 60% 60% 30% 30%;
    transform-origin: 50% 85%
}

.clover i:nth-child(2) {
    transform: rotate(90deg)
}

.clover i:nth-child(3) {
    transform: rotate(180deg)
}

.clover i:nth-child(4) {
    transform: rotate(270deg)
}

.clover b {
    position: absolute;
    left: 6cqw;
    top: 6cqw;
    background: #fffbc9;
    color: #456c35;
    border-radius: 50%;
    font-size: 4cqw;
    padding: .5cqw 1cqw
}

.gift-art {
    width: 17cqw;
    height: 16cqw;
    position: relative;
    background: linear-gradient(120deg, #ffec77, #ffc540);
    border-radius: 3cqw;
    box-shadow: 1cqw 1cqw 0 #ffdb6644;
    color: white
}

.gift-art::before {
    content: "";
    position: absolute;
    left: 8cqw;
    top: 0;
    bottom: 0;
    width: 1.5cqw;
    background: #ffaf46
}

.gift-art::after {
    content: "";
    position: absolute;
    top: 5cqw;
    left: 0;
    right: 0;
    height: 1.2cqw;
    background: #ffaf46
}

.gift-art>span {
    position: absolute;
    bottom: 1cqw;
    left: 1cqw;
    font-size: 3cqw;
    font-weight: 700
}

.gift-art b {
    position: absolute;
    left: 6cqw;
    top: 3cqw;
    font-size: 6cqw;
    line-height: 1;
    color: #fff9ee;
    z-index: 1
}

.cash-prize-group {
    position: relative;
    width: 16cqw;
    height: 17cqw;
    transform: rotate(-7deg);
}

.cash-art {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: .7cqw solid #62b8ff;
    border-radius: 2.6cqw;
    background: #53b7ff;
    text-align: center;
    overflow: hidden;
}

.cash-guarantee {
    position: absolute;
    top: -5.2cqw;
    left: 50%;
    transform: translateX(-50%);
    padding: .4cqw 1.3cqw;
    border-radius: 0 0 1.2cqw 1.2cqw;
    background: linear-gradient(100deg,#47ccff,#9f7cf5);
    color: white;
    font-size: 2.7cqw;
    line-height: 1.2;
    white-space: nowrap;
}

.cash-art strong {
    display: flex;
    flex: none;
    background: #fff;
    align-items: center;
    justify-content: center;
    gap: .3cqw;
    height: 10.3cqw;
    font-size: 6.2cqw;
    line-height: 1;
    font-weight: 900;
    color: #15191d;
}

.cash-art strong small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4cqw;
    font-size: 2.7cqw;
    font-weight: 600;
}

.cash-art em {
    color: #8a959e;
    font-size: 1.8cqw;
    font-weight: 400;
    font-style: normal;
}

.cash-art-label {
    display: flex;
    flex: 1;
    min-height: 0;
    align-items: center;
    justify-content: center;
    gap: .6cqw;
    background: #53b7ff;
    color: white;
    font-size: 3cqw;
}

.cash-art-label img {
    display: block;
    width: 3.1cqw;
    height: 3.1cqw;
    border: .2cqw solid white;
    border-radius: 50%;
    object-fit: contain;
    filter: grayscale(1) brightness(.55) contrast(20);
    mix-blend-mode: screen;
}

.redpacket-art {
    position: relative;
    background: linear-gradient(110deg, #ff8291, #ff004d);
    border-radius: 3cqw;
    box-shadow: 1cqw 1cqw 0 #fff4ad;
    width: 17cqw;
    height: 19cqw;
    transform: rotate(-8deg);
    text-align: center;
    overflow: hidden
}

.redpacket-art strong {
    display: block;
    background: #fff;
    border-radius: 0 0 4cqw 4cqw;
    color: #ff0052;
    font-size: 7cqw;
    line-height: 1.6
}

.redpacket-art small {
    font-size: 2.7cqw
}

.redpacket-art>span {
    color: white;
    font-size: 3.6cqw;
    font-weight: 700
}

.wheel-center {
    position: absolute;
    left: 42.5cqw;
    top: 34cqw;
    width: 15cqw;
    height: 15cqw;
    aspect-ratio: 1;
    padding: 1cqw;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9f25, #ff2a47, #ff119f);
    box-shadow: 0 .5cqw 0 #f6a4bd;
    z-index: 2
}

.wheel-center::before {
    content: "";
    position: absolute;
    top: -3.3cqw;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 5cqw solid #ff6635;
    border-left: 2cqw solid transparent;
    border-right: 2cqw solid transparent;
    z-index: -1
}

.wheel-center span {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff4ff, white, #cffdff);
    border: .5cqw solid #ffafeb;
    font-size: 6.5cqw;
    font-style: italic;
    font-weight: 950;
    color: #251924
}

.winner-bubble {
    position: absolute;
    top: 54cqw;
    left: 2.7%;
    display: flex;
    align-items: center;
    gap: 1cqw;
    background: linear-gradient(110deg, #fff0f7, #fff9df);
    border: 1px solid #ffd6c2;
    border-radius: 5cqw;
    padding: 1cqw 2cqw 1cqw 1cqw;
    font-size: 2.5cqw;
    box-shadow: 0 1cqw 2cqw #844c4011;
    z-index: 3
}

.winner-avatar {
    width: 5.5cqw;
    height: 5.5cqw;
    border-radius: 50%;
    background: linear-gradient(35deg, #343c42 40%, #958d75 41%, #cfb99a 60%, #697351 61%);
    border: .4cqw solid white
}

.winner-bubble b {
    color: #ff1559;
    font-size: 2.8cqw;
    margin-right: .5cqw
}

.spin-actions {
    position: absolute;
    top: 67cqw;
    left: 2%;
    right: 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2cqw
}

.spin-main-button {
    flex: 1;
    min-width: 0;
    height: 16cqw;
    border-radius: 10cqw;
    background: linear-gradient(140deg, #ffac3b, #ff2550 50%, #ff3aa1);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6cqw;
    box-shadow: inset 0 .5cqw 1cqw #ffbd75
}

.spin-main-button strong {
    font-size: 5.5cqw;
    font-weight: 900;
    font-style: italic
}

.spin-main-button>span {
    font-size: 3.5cqw;
    font-weight: 600
}

.side-action {
    width: 19%;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1cqw
}

.side-action strong {
    font-size: 3cqw;
    white-space: nowrap;
    color: #ff4a29;
    text-shadow: .3cqw .2cqw white, -.3cqw -.2cqw white;
    font-weight: 900
}

.video-art {
    position: relative;
    width: 7cqw;
    height: 8cqw;
    background: linear-gradient(120deg, #ffaf20, #ff126a);
    border-radius: 2cqw;
    box-shadow: 0 0 0 2cqw #fff4de88
}

.video-art::after {
    content: "";
    position: absolute;
    left: 2.8cqw;
    top: 2.5cqw;
    border-left: 2.7cqw solid white;
    border-top: 1.7cqw solid transparent;
    border-bottom: 1.7cqw solid transparent
}

.task-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8cqw;
    height: 8cqw;
    border-radius: 50%;
    background: linear-gradient(130deg, #ffad00, #ff0058);
    color: white;
    font-size: 4cqw;
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 -1cqw 0 -0.3cqw #ffeb55
}

.spin-hand {
    position: absolute;
    right: 15%;
    top: 77cqw;
    width: 14cqw;
    height: auto;
    pointer-events: none;
    z-index: 4
}

.spin-shopping {
    position: relative;
    border-radius: 6cqw 6cqw 0 0;
    background: #ffffff;
    padding-top: 3cqw
}

.spin-search {
    display: flex;
    align-items: center;
    gap: 1.5cqw;
    margin: 0 3.3cqw;
    background: white;
    border: 1px solid #ff87a9;
    border-radius: 6cqw;
    padding: 2.3cqw 3cqw;
    white-space: nowrap
}

.spin-search svg {
    width: 4.5cqw;
    height: 4.5cqw;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4
}

.spin-search>span {
    font-size: 4cqw;
    letter-spacing: .5cqw
}

.spin-search small {
    font-size: 2.7cqw;
    color: #ff004a;
    background: #fff4f7;
    border: 1px solid #ffd8e3;
    padding: 0 .5cqw;
    border-radius: .4cqw
}

.spin-search button {
    background: transparent;
    margin-left: auto;
    padding: 0;
    font-size: 3.8cqw;
    font-weight: 700;
    color: #171922
}

.spin-categories {
    display: flex;
    gap: 5cqw;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    padding: 3cqw 4cqw 2cqw;
    background: white;
    margin-top: 1cqw
}

.spin-categories button {
    padding: 0 0 2cqw;
    background: transparent;
    color: #696a73;
    font-size: 4cqw;
    position: relative
}

.spin-categories .active {
    font-weight: 700;
    color: #171922
}

.spin-categories .active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: .7cqw;
    border-radius: 1cqw;
    background: #ff3061
}

.spin-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.5cqw;
    padding: 0 1cqw 4cqw
}

.spin-products img {
    display: block;
    width: 100%;
    height: auto;
    background: white;
    border-radius: 4cqw
}

dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(86vw, 340px);
    max-height: 85dvh;
    overflow: auto;
    border: 0;
    border-radius: 20px;
    padding: 24px;
    color: #241d24
}

dialog::backdrop {
    background: #0007
}

.spin-result {
    text-align: center;
    background: linear-gradient(#fff0dc, #fff 70%)
}

.spin-result h2 {
    font-size: 21px;
    margin: 10px 0 20px
}

.spin-result>strong {
    display: block;
    color: #ff2457;
    font-size: 30px;
    margin: 15px 0
}

.spin-result p {
    font-size: 14px;
    color: #8b7777
}

.result-close {
    position: absolute;
    right: 10px;
    top: 8px;
    border: 0;
    background: transparent;
    font-size: 28px;
    color: #98787a
}

.result-confirm {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    background: linear-gradient(120deg, #ff8a35, #ff1461);
    color: white;
    font-size: 17px;
    font-weight: 700;
    margin-top: 22px
}

.spin-toast {
    position: fixed;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    padding: 12px 18px;
    background: #000c;
    color: white;
    border-radius: 8px;
    z-index: 20;
    font-size: 14px;
    white-space: nowrap
}

.spin-toast[hidden] {
    display: none
}

::selection {
    background: #ffd8e6;
    color: #731e35
}

@media(prefers-reduced-motion:reduce) {
    .wheel {
        will-change: auto
    }
}

.spin-app.is-spinning .spin-actions,
.spin-app.is-spinning .spin-hand,
.spin-app.is-spinning .winner-bubble,
.spin-app.is-spinning .spin-shopping {
    visibility: hidden;
    pointer-events: none;
}

.spin-app.is-spinning {
    min-height: 100vh;
    background: radial-gradient(ellipse at 25% 15%, #ffffee, white 65%);
}

.spin-app.is-spinning .spin-hero {
    height: 100cqw;
}

.spin-app.is-revealing .wheel-rim,
.spin-app.is-revealing .wheel-center {
    opacity: .12;
    transition: opacity .5s;
}

.spin-reveal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: rgb(255 255 255 / .35);
}

.spin-reveal[hidden] {
    display: none;
}

.reveal-card {
    position: relative;
    width: 140px;
    height: 170px;
    border: 5px solid #7bd2f5;
    background: linear-gradient(white, #efffff);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(12deg);
    box-shadow: 0 12px 40px #78cbe75c;
    animation: cashCardReveal 1.8s ease-out both;
}

.reveal-card strong {
    font-size: 58px;
    font-style: italic;
    color: #17282b;
}

.reveal-card small {
    font-size: 22px
}

.reveal-card>span {
    display: block;
    width: 100%;
    background: linear-gradient(#56d1ff, #1ca1f1);
    padding: 10px;
    text-align: center;
    font-size: 22px;
    color: white;
    border-radius: 0 0 18px 18px;
    position: absolute;
    bottom: 0
}

.reveal-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(#fff09d, #fffcbd88 40%, transparent 70%);
    animation: cashGlow 1.8s ease-out both;
}

@keyframes cashCardReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(.3) rotate(-20deg)
    }

    35% {
        opacity: 1;
        transform: translateY(-20px) scale(1.15) rotate(12deg)
    }

    75% {
        opacity: 1;
        transform: scale(1) rotate(8deg)
    }

    100% {
        opacity: 0;
        transform: scale(1.3) rotate(12deg)
    }
}

@keyframes cashGlow {
    0% {
        opacity: 0;
        transform: scale(.3)
    }

    50% {
        opacity: 1;
        transform: scale(1.4)
    }

    100% {
        opacity: 0;
        transform: scale(2)
    }
}

dialog.spin-result {
    position: fixed;
    top: 43%;
    bottom: auto;
    margin: 0 auto;
    padding: 20px 18px 32px;
    background: transparent;
    box-shadow: none;
    width: min(90vw, 350px);
    text-align: center;
    overflow: visible;
}

.spin-result::backdrop {
    background: rgb(255 255 255 / .86);
}

.spin-result h2 {
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    white-space: nowrap;
    margin: 8px -8px 20px;
}

.spin-result h2 span {
    color: #7e234c
}

.spin-result .result-close {
    top: -12px;
    right: 0;
    background: #bfc2c2;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 23px;
    line-height: 1;
    padding: 0
}

.result-cash-card {
    position: relative;
    margin: 0 auto;
    width: 145px;
    height: 170px;
    border: 3px solid #73cbe7;
    border-radius: 22px;
    background: linear-gradient(white, #eefcff);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 17px;
    transform: rotate(-1deg);
}

.result-cash-card>strong {
    font-size: 47px;
    line-height: 1.2;
    color: #10232a;
}

.result-cash-card strong small {
    font-size: 18px
}

.result-cash-card>span {
    font-size: 13px;
    margin-top: 4px
}

.result-cash-card footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 0;
    background: linear-gradient(#55cfff, #0da0f2);
    color: white;
    border-radius: 0 0 17px 17px;
    font-size: 14px
}

.lucky-label {
    position: absolute;
    top: -9px;
    left: -10px;
    transform: rotate(-8deg);
    border-radius: 3px;
    background: #f2ff48;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 700;
    color: #1d2821
}

.spin-result .result-confirm {
    width: 70%;
    margin: 24px auto 0;
    padding: 12px 10px;
    border-radius: 30px;
    font-size: 18px;
    background: linear-gradient(110deg, #ff8434, #ff0059 65%)
}

@media(prefers-reduced-motion:reduce) {

    .reveal-card,
    .reveal-glow {
        animation: none
    }
}

.spin-withdraw-view {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: white;
    overflow-y: auto;
}

.spin-withdraw-view[hidden] {
    display: none;
}

.withdraw-page {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100%;
    padding: 0 4.3%;
    container-type: inline-size;
    color: #222;
}

.withdraw-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 16cqw;
    gap: 2cqw;
}

.withdraw-nav h2 {
    font-size: 4.6cqw;
    font-weight: 500;
    margin: 0;
}

.withdraw-nav button {
    background: transparent;
    color: #777;
    padding: 0;
    font-size: 3.7cqw;
}

.withdraw-nav>button:first-child {
    width: 13cqw;
    text-align: left;
}

.withdraw-nav svg {
    width: 3.4cqw;
    height: 5cqw;
    fill: none;
    stroke: #222;
    stroke-width: 2.3;
}

.withdraw-balance-card {
    position: relative;
    min-height: 33cqw;
    background: linear-gradient(125deg, #ff8f60, #ff321e 60%, #ff0800);
    border-radius: 7cqw 7cqw 0 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4cqw;
    overflow: hidden;
}

.withdraw-balance-card::after {
    content: '';
    position: absolute;
    right: -3cqw;
    bottom: -1cqw;
    width: 41cqw;
    height: 29cqw;
    border: 1.2cqw solid #ff72432b;
    border-radius: 50%;
    box-shadow: 0 0 0 2cqw #ff79401a;
    pointer-events: none;
}

.withdraw-account {
    display: flex;
    align-items: center;
    gap: 1.4cqw;
    position: relative;
    z-index: 1;
}

.withdraw-avatar {
    width: 13cqw;
    height: 13cqw;
    border: 2px solid white;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8c5aa, #a57063);
    overflow: hidden;
}

.withdraw-avatar svg {
    width: 100%;
    height: 100%;
    fill: #fff3df;
}

.account-badge {
    display: block;
    color: white;
    font-size: 4.4cqw;
    line-height: 1;
}

.withdraw-account p {
    font-size: 3.8cqw;
    white-space: nowrap;
    margin: 3cqw 0 0;
}

.withdraw-balance {
    position: relative;
    z-index: 1;
    text-align: right;
}

.withdraw-balance>span {
    display: block;
    font-size: 4.3cqw;
}

.withdraw-balance strong {
    display: block;
    font-weight: 600;
    font-size: 11cqw;
    line-height: 1.35;
    white-space: nowrap;
}

.withdraw-balance strong small {
    font-size: 5cqw;
}

.withdraw-amount-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4.5cqw 0;
    font-size: 3.9cqw;
}

.withdraw-amount-heading button {
    color: #888;
    background: transparent;
    font-size: 3.8cqw;
    padding: 0;
}

.withdraw-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.7cqw;
}

.withdraw-amounts button {
    height: 21.4cqw;
    border: 1px solid #d5d5d5;
    border-radius: 3.5cqw;
    background: white;
    color: #202025;
    font-size: 7.6cqw;
    font-weight: 400;
    padding: 0;
}

.withdraw-amounts button small {
    font-size: 4cqw;
}

.withdraw-amounts button.selected {
    border-color: #f27588;
    color: #ff3b58;
    box-shadow: inset 0 0 0 .5px #f27588;
}

.withdraw-confirm-button {
    width: 100%;
    margin-top: 8cqw;
    padding: 3.4cqw 0;
    border-radius: 10cqw;
    background: linear-gradient(100deg, #ff737e, #ff2e49 65%);
    color: white;
    font-size: 4.8cqw;
    font-weight: 600;
}

.withdraw-page-note {
    margin: 0;
    padding: 56cqw 0 15cqw;
    text-align: center;
    color: #999;
    font-size: 3.2cqw;
    line-height: 1.85;
}

.spin-toast {
    z-index: 120;
}

.winner-bubble {
    transform-origin: 8% 70%;
    transition: opacity .4s ease, transform .4s ease;
}

.winner-bubble.winner-exit {
    opacity: 0;
    transform: translateY(-7px) scale(.7);
    pointer-events: none;
}

.winner-bubble.winner-enter {
    animation: winnerBubbleEnter .45s cubic-bezier(.2, .8, .3, 1) both;
}

@keyframes winnerBubbleEnter {
    from {
        opacity: 0;
        transform: translateY(7px) scale(.7)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@media(prefers-reduced-motion:reduce) {
    .winner-bubble {
        transition: none
    }

    .winner-bubble.winner-enter {
        animation: none
    }
}

.reveal-card strong {
    display: flex;
    align-items: center;
}

.reveal-card strong>small {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.reveal-card strong>small>em {
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    color: #8b9393;
    margin-bottom: 2px;
}

.reveal-card>span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.reveal-alipay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #22b6fa;
    overflow: hidden;
    isolation: isolate;
}

.reveal-alipay img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(.55) contrast(20);
    mix-blend-mode: screen;
}

.reveal-card strong {
    gap: 5px;
}

.reveal-card strong>small {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin-left: 2px;
}

.reveal-card strong>small>em {
    white-space: nowrap;
    line-height: 1.2;
}

.spin-result h2 {
    font-size: 26px;
}

.spin-result #confirmSpinResult {
    min-height: 54px;
    padding: 16px 10px;
}

.withdraw-avatar>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spin-avatar-editor {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

#spinAvatarPreview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

#spinAvatarPreview[hidden] {
    display: none;
}

#spinAvatarInput {
    font-size: 12px !important;
}

.result-cash-card footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.result-alipay-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    flex-shrink: 0;
    overflow: hidden;
}

.result-alipay-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 移动端强制转盘宽高相等，避免部分浏览器按外层高度拉伸。 */
.wheel-rim {
    width: 83cqw;
    height: 83cqw;
    aspect-ratio: auto;
    flex: none;
}

.wheel {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 50%;
}

.spin-my-prizes {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2cqw;
    padding: 0 4cqw 3.3cqw;
}

.spin-my-prizes[hidden] {
    display: none;
}

.spin-my-prizes::after {
    content: "";
    position: absolute;
    right: 4cqw;
    top: 0;
    bottom: 3.3cqw;
    width: 6cqw;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #fff 65%);
    border-radius: 0 3cqw 3cqw 0;
}

.spin-prizes-arrow {
    position: absolute;
    right: 4.7cqw;
    top: calc(50% - 1.65cqw);
    transform: translateY(-50%);
    width: 2.5cqw;
    height: 4cqw;
    fill: none;
    stroke: #c7c7cc;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    z-index: 1;
}

.spin-my-prizes h2 {
    flex: none;
    margin: 0;
    font-size: 3.6cqw;
    line-height: 1.15;
    font-weight: 800;
}

.spin-prize-list {
    display: flex;
    align-items: stretch;
    gap: 1.2cqw;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.spin-prize-list::-webkit-scrollbar { display:none; }
.spin-prize-list:focus-visible { outline:2px solid #ff4875; outline-offset:2px; }
.spin-prize-list>.spin-cash-prize { flex:0 0 66cqw; }
.spin-prize-list>.spin-cash-prize[hidden] { display:none; }

.spin-cash-prize {
    display: flex;
    align-items: center;
    gap: 2.5cqw;
    min-height: 15cqw;
    padding: 2.5cqw;
    border: 1px solid #dceef8;
    border-radius: 3.2cqw;
    background: #f1f9ff;
}

.spin-prize-value {
    flex: none;
    text-align: center;
}

.spin-prize-value strong {
    display: block;
    color: #172b35;
    font-size: 4.8cqw;
    line-height: 1.2;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.spin-prize-value small {
    font-size: 2.9cqw;
    font-weight: 400;
}

.spin-prize-value>span,
.spin-prize-payment>span {
    display: block;
    margin-top: 1cqw;
    color: #717b82;
    font-size: 2.8cqw;
    line-height: 1.2;
}

.spin-prize-payment {
    flex: 1;
    min-width: 0;
}

.spin-prize-payment strong {
    display: flex;
    align-items: center;
    gap: 1cqw;
    white-space: nowrap;
    font-size: 3.2cqw;
    font-weight: 500;
    color: #172b35;
}

.spin-payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 3.7cqw;
    height: 3.7cqw;
    border-radius: 50%;
    background: #22b6fa;
    overflow: hidden;
    isolation: isolate;
}

.spin-payment-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(.55) contrast(20);
    mix-blend-mode: screen;
}

#spinPrizeWithdraw {
    flex: none;
    padding: 1.4cqw 2cqw;
    border: 1px solid #58bdf5;
    border-radius: 5cqw;
    background: transparent;
    color: #1687c3;
    font-size: 3.1cqw;
    font-weight: 600;
    white-space: nowrap;
}

#spinPrizeWithdraw:active {
    background: #dcefff;
}

#spinSettings { width:min(90vw,380px); padding:22px; }
#spinSettings h2 { margin:0 0 18px; font-size:20px; }
#spinSettings label { display:block; margin:14px 0 7px; font-size:14px; }
#spinSettings input { width:100%; min-width:0; padding:10px 12px; border:1px solid #ddd; border-radius:8px; font-size:16px; }
#spinSettings .spin-avatar-editor { margin-bottom:0; }
#spinSettingsError { color:#b32146; font-size:13px; }
.spin-settings-actions { display:flex; gap:12px; position:sticky; bottom:-22px; margin-top:18px; padding:12px 0 0; background:white; }
.spin-settings-actions button { flex:1; padding:11px; border-radius:8px; background:#fff0f4; color:#9d3c58; }
#spinSettingsSave { background:#ff235b; color:white; }
#spinSettingsSave:disabled { opacity:.5; cursor:wait; }

dialog.spin-task-sheet { inset:auto 0 0; margin:0 auto; width:min(100%,480px); max-width:100%; height:48dvh; min-height:410px; max-height:85dvh; padding:22px 17px max(30px,env(safe-area-inset-bottom)); border-radius:24px 24px 0 0; background:linear-gradient(#fffafd,white 24%); container-type:inline-size; color:#191919; }
.spin-task-sheet::backdrop { background:rgb(0 0 0 / .68); }
.spin-task-heading { display:flex; align-items:center; justify-content:space-between; gap:3cqw; }
.spin-task-heading h2 { margin:0; font-size:5.2cqw; font-style:italic; font-weight:900; line-height:1.25; }
#closeSpinTasks { display:flex; align-items:center; justify-content:center; flex:none; width:7.6cqw; height:7.6cqw; padding:0; border-radius:50%; background:#c7c4c8; color:white; font-size:6cqw; line-height:1; }
.spin-task-subtitle { margin:2cqw 0 3.8cqw; color:#909090; font-size:3.6cqw; }
.spin-task-row { display:flex; align-items:center; gap:2.2cqw; min-height:19cqw; }
.spin-task-icon { position:relative; display:flex; align-items:center; justify-content:center; flex:none; width:7.5cqw; height:8cqw; border-radius:2.4cqw 2.7cqw 2cqw 2.6cqw; background:#f6eaff; color:#bb62ea; }
.spin-task-icon svg { width:6.3cqw; height:6.3cqw; fill:currentColor; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.spin-task-icon b { position:absolute; top:3.1cqw; color:white; font-size:2.5cqw; line-height:1; }
.task-buy { color:#ff3460; background:#fff0ed; }
.task-buy .task-icon-mark { fill:white; stroke:none; }
.task-search svg { fill:none; stroke-width:4.5; }
.task-order { color:#ff9b00; background:#fff7e4; }
.task-order b { font-size:3.4cqw; top:3cqw; }
.spin-task-copy { flex:1; min-width:0; }
.spin-task-copy p { margin:0 0 1.7cqw; font-size:3.6cqw; line-height:1.35; white-space:nowrap; }
.spin-task-copy em { font-style:normal; color:#f12750; }
.spin-task-copy>span { font-size:3.6cqw; line-height:1.25; color:#929292; }
.spin-task-action { flex:none; padding:1.8cqw 3.2cqw; border-radius:6cqw; background:#fff2f6; color:#f33860; font-size:3.7cqw; white-space:nowrap; }
@media(max-width:360px) { .spin-task-copy p { font-size:3.35cqw; } .spin-task-row { gap:1.5cqw; } .spin-task-action { padding-inline:2.5cqw; } }

.spin-redpacket-prize { display:flex;align-items:center;flex:0 0 68cqw;min-height:15cqw;border:1px solid #ffe1e8;border-radius:3.2cqw;background:#fff7f9;color:#fa2456; }
.spin-redpacket-prize[hidden] { display:none; }
.spin-prize-list.is-single-prize>div:not([hidden]) { flex:0 0 100%; }
.spin-prize-list.is-single-prize>.spin-cash-prize { padding-right:6cqw; }
.redpacket-prize-value { flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;width:18cqw;border-right:1px dashed #ffd8e3; }
.redpacket-prize-value strong { font-size:5.2cqw;line-height:1.2;font-variant-numeric:tabular-nums; }
.redpacket-prize-value small { font-size:2.8cqw;font-weight:400; }
.redpacket-prize-value>span { margin-top:.8cqw;font-size:2.8cqw; }
.redpacket-prize-copy { flex:1;min-width:0;padding:0 1.7cqw; }
.redpacket-prize-copy strong { display:block;white-space:nowrap;font-size:3cqw;color:#27252e;font-weight:600; }
.redpacket-prize-copy>span { display:block;margin-top:1cqw;font-size:2.7cqw;color:#98949b; }
.spin-redpacket-prize button { flex:none;margin-right:2cqw;border:1px solid #ff6b91;border-radius:5cqw;padding:1.4cqw 2cqw;background:none;color:#fa2456;font-size:3.1cqw;white-space:nowrap; }
.redpacket-reveal-glow{position:absolute;width:290px;height:290px;background:radial-gradient(#ffe775,#fff2af88 45%,transparent 70%);animation:cashGlow 1.8s ease-out both}
.redpacket-reveal-card{width:130px;height:155px;background:linear-gradient(140deg,#ffac25,#ff2547 50%,#ff00a0);border-radius:25px;color:white;text-align:center;display:flex;flex-direction:column;justify-content:center;box-shadow:0 14px 25px #ff72874d;animation:cashCardReveal 1.8s ease-out both}.redpacket-reveal-card strong{font-size:54px}.redpacket-reveal-card small{font-size:22px}.redpacket-reveal-card>span{font-size:26px;font-weight:700;border-top:1px dashed #ff9baa;padding-top:10px}
 dialog.spin-redpacket-result{inset:39% 0 auto;margin:0 auto;padding:12px 16px 24px;width:min(92vw,360px);max-height:60dvh;overflow:auto;border-radius:0;background:transparent;text-align:center;color:#18151f;}
.spin-redpacket-result::backdrop{background:rgb(255 255 255 / .87)}
.redpacket-close{display:block;margin:0 0 10px auto;border-radius:50%;width:28px;height:28px;line-height:1;padding:0;background:#b7b5b9;color:white;font-size:26px}
.spin-redpacket-result h2{margin:0 0 24px;font-size:25px;font-weight:950;font-style:italic;white-space:nowrap}.spin-redpacket-result h2 span{color:#85234e}
.redpacket-result-card { position:relative;isolation:isolate;width:170px;margin:auto;color:white; }
.redpacket-result-card::before { content:"";position:absolute;z-index:-1;left:-42px;right:-42px;bottom:0;height:28px;border-radius:50%;background:linear-gradient(90deg,#ffb26d55,#ff865c77 45%,#ff31ba66);filter:blur(11px); }
.redpacket-card-main { position:relative;padding:0 8px 10px;border-radius:27px 27px 15px 15px;background:radial-gradient(ellipse at 0 0,#ffb800,transparent 65%),#ff2345; }
.redpacket-type { display:block;margin:0 auto;width:84px;border:1px solid #ffb3a066;border-top:0;border-radius:0 0 19px 19px;padding:3px 0 4px;font-size:14px;line-height:1.2; }
.redpacket-result-card strong { display:block;margin:7px 0 0;font-size:58px;line-height:1.05;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums;white-space:nowrap; }
.redpacket-result-card strong small { font-size:23px;letter-spacing:0; }
.redpacket-result-card p { margin:6px 0 0;font-size:15px;line-height:1.4; }
.redpacket-result-card footer { display:flex;align-items:center;justify-content:center;position:relative;min-height:66px;border-radius:15px 15px 27px 27px;background:linear-gradient(115deg,#ff2340 20%,#ff244e 50%,#ff28b4);font-size:15px;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap; }
.redpacket-accept{display:block;width:75%;margin:26px auto 0;padding:16px 10px;border-radius:35px;background:linear-gradient(110deg,#ff5f12,#ff0048 55%,#ff009d);color:white;font-size:22px;font-weight:900}.redpacket-result-note{font-size:12px;color:#919097;margin:10px 0 0}
@media(prefers-reduced-motion:reduce){.redpacket-reveal-card,.redpacket-reveal-glow{animation:none}}

.cash-intro { position:absolute;left:7%;top:32cqw;width:86%;z-index:6;pointer-events:none;text-align:center;animation:cashIntroAppear 1.8s both; }
.cash-intro[hidden] { display:none; }
.cash-intro-bubble { position:relative;display:flex;align-items:center;justify-content:center;min-height:19cqw;padding:3cqw 2cqw;border:1cqw solid #fff8f7;border-radius:6cqw;background:#fff;box-shadow:-2cqw 1cqw 5cqw #ffb68588,2cqw 1cqw 6cqw #ff9fca77;transform:rotate(-2deg); }
.cash-intro-bubble::after { content:"";position:absolute;left:55%;bottom:-3cqw;width:5cqw;height:5cqw;background:#fff;clip-path:polygon(0 0,100% 0,50% 100%); }
.cash-intro-bubble strong { font-size:5.8cqw;font-weight:950;font-style:italic;line-height:1.3;white-space:nowrap;color:#18111c;letter-spacing:-.15cqw; }
.cash-intro-mascot { display:block;width:22cqw;height:17cqw;object-fit:contain;margin:2cqw auto -2cqw;transform:rotate(-9deg);animation:cashIntroMascot 1.8s both; }
.cash-intro-star { position:absolute;width:5cqw;height:5cqw;animation:cashIntroSpark 1.8s both; }
.cash-intro-star.star-left { top:-3cqw;left:0;fill:#fc75a6; }.cash-intro-star.star-right { top:23cqw;right:0;fill:#9c76ef; }
.spin-app.is-cash-intro .wheel-rim,.spin-app.is-cash-intro .wheel-center { opacity:.6; }
.spin-app.is-cash-intro .winner-bubble,.spin-app.is-cash-intro .spin-hand { visibility:hidden; }
.spin-app.is-cash-intro .spin-actions { z-index:7; }
@keyframes cashIntroAppear { 0%{opacity:0;transform:translateY(12px) scale(.55)}18%{opacity:1;transform:translateY(0) scale(1.04)}28%,82%{opacity:1;transform:scale(1)}100%{opacity:0;transform:translateY(-8px) scale(1.06)} }
@keyframes cashIntroMascot { 0%,12%{opacity:0;transform:translateY(18px) rotate(-12deg)}30%,80%{opacity:1;transform:translateY(0) rotate(-9deg)}100%{opacity:0;transform:translateY(6px) rotate(-5deg)} }
@keyframes cashIntroSpark { 0%,12%{opacity:0;transform:scale(.3) rotate(-25deg)}35%,65%{opacity:1;transform:scale(1) rotate(10deg)}100%{opacity:0;transform:scale(.5) rotate(35deg)} }
@media(prefers-reduced-motion:reduce){.cash-intro,.cash-intro-mascot,.cash-intro-star{animation:none}}
.withdraw-arrival{position:fixed;inset:0;z-index:90;background:#f8f8f8;overflow:auto;color:#181922;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif}.withdraw-arrival[hidden],.arrival-notice[hidden]{display:none}
.arrival-page{position:relative;max-width:480px;min-height:100%;margin:auto;container-type:inline-size;padding:0 5.45%;box-sizing:border-box}.arrival-nav{height:18cqw;display:flex;align-items:center;justify-content:center;font-size:4.5cqw}.arrival-nav button{position:absolute;left:4%;border:0;background:transparent;color:#181922;font-size:10cqw;padding:0 2cqw;cursor:pointer}.arrival-nav button:focus-visible{outline:2px solid #3478fa}
.arrival-status{margin-top:5cqw;text-align:center;font-size:4.5cqw}.arrival-status>span{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#53bd68;color:white;width:7cqw;height:7cqw;margin-right:2cqw}.arrival-amount{display:flex;align-items:baseline;justify-content:center;gap:1.3cqw;margin:8cqw 0 9.8cqw}.arrival-amount strong{font-size:13cqw;line-height:1.2;font-weight:700;letter-spacing:-.03em}.arrival-amount>span{font-size:3.6cqw;font-weight:600}
.arrival-details{border-top:1px solid #ddd;margin:0;padding-top:8.8cqw;font-size:3.55cqw}.arrival-details>div{display:flex;justify-content:space-between;align-items:center;gap:2cqw;margin-bottom:3.7cqw}.arrival-details dt{color:#73747b;white-space:nowrap}.arrival-details dd{margin:0;white-space:nowrap}.arrival-alipay{display:inline-flex;align-items:center;justify-content:center;width:3.7cqw;height:3.7cqw;border-radius:50%;background:#3478fa;color:white;font-size:3cqw;font-style:normal;margin-right:.7cqw}
.arrival-notice{position:absolute;top:max(env(safe-area-inset-top),2cqw);left:1.8%;right:1.8%;display:flex;gap:2.8cqw;align-items:center;padding:3.3cqw 3cqw;border:1px solid #c7c7cc;border-radius:5.4cqw;background:rgba(250,250,253,.96);box-shadow:0 2cqw 5cqw #0000000c;backdrop-filter:blur(16px);animation:arrival-slide .4s ease-out both;cursor:pointer}.arrival-notice>div{flex:1;min-width:0}.arrival-notice-icon{position:relative;flex:none;display:flex;align-items:center;justify-content:center;width:8.8cqw;height:8.8cqw;border-radius:2.2cqw;background:#3478fa;color:#fff;font-size:7cqw;font-style:normal;line-height:1}.arrival-notice-icon small{position:absolute;bottom:.3cqw;font-size:1.4cqw}.arrival-notice-meta{display:flex;justify-content:space-between;color:#777980;font-size:3cqw;margin-bottom:1.2cqw}.arrival-notice strong{font-size:3.5cqw;color:#171719}.arrival-notice p{font-size:3.35cqw;line-height:1.5;margin:1.2cqw 0 0;color:#171719;white-space:nowrap;letter-spacing:-.03em}
@keyframes arrival-slide{from{transform:translateY(-120%)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.arrival-notice{animation:none}}

img.arrival-alipay{object-fit:contain;vertical-align:middle;background:#3478fa}img.arrival-notice-icon{object-fit:contain;background:#3478fa}

.arrival-details dd:has(.arrival-alipay){display:flex;align-items:center;gap:.7cqw;min-width:0}.arrival-details img.arrival-alipay{flex:none;margin-right:0}.arrival-account{min-width:0;overflow-wrap:anywhere;white-space:normal;cursor:text}.arrival-account:focus{outline:1px solid #3478fa;outline-offset:3px}
