/* =========================================================
   0元砍价免费拿 - mobile landing page
   ========================================================= */

:root {
    --red: #e02e24;
    --red-deep: #bd1d16;
    --red-dark: #8e0f0a;
    --orange: #ff5a3c;
    --gold: #ffd35c;
    --gold-deep: #f0a500;
    --ink: #2a1712;
    --ink-soft: #6b564c;
    --muted: #9b857a;
    --line: #f1e4d7;
    --paper: #fffaf4;
    --page: #f5ede4;
    --radius: 22px;
    --shadow-card: 0 16px 34px -24px rgba(92, 40, 18, .45);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    padding: 0;
    background: var(--page);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.lock { overflow: hidden; }

button { font-family: inherit; cursor: pointer; }
img { display: block; }
a { color: inherit; text-decoration: none; }

.shell {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 14px 110px;
    background: var(--page);
    min-height: 100vh;
}

@media (min-width: 720px) {
    body {
        background:
            radial-gradient(900px 600px at 18% 0%, #5b1c12 0%, transparent 60%),
            radial-gradient(760px 540px at 86% 18%, #7a2415 0%, transparent 54%),
            #170b08;
    }
    .shell {
        max-width: 540px;
        padding-left: 0;
        padding-right: 0;
        background: var(--page);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 120px rgba(0, 0, 0, .55);
    }
    .topbar { margin: 0; padding-left: 20px; padding-right: 20px; }
    .hero { margin-left: 14px; margin-right: 14px; }
}

/* ---------------- intro ---------------- */

.intro {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 32%, #ff6a46 0%, #e02e24 38%, #a8130c 72%, #6d0905 100%);
    color: #fff;
    transition: opacity .55s ease, visibility .55s ease;
}

.intro.done { opacity: 0; visibility: hidden; }
.no-intro .intro { display: none; }
.intro-run { overflow: hidden; height: 100vh; }

.intro-bg {
    position: absolute;
    left: 50%;
    top: 34%;
    width: 150vmax;
    height: 150vmax;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(from 0deg, rgba(255, 218, 130, .18) 0deg 5deg, transparent 5deg 16deg);
    mask-image: radial-gradient(circle, #000 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 60%);
    animation: spin 46s linear infinite;
}

.intro-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    padding: 28px;
    text-align: center;
}

.intro-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    color: rgba(255, 244, 222, .92);
}

.intro-stage {
    position: relative;
    height: 240px;
    margin: 24px 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-stage img {
    position: relative;
    z-index: 2;
    width: 210px;
    filter: drop-shadow(0 28px 24px rgba(60, 6, 0, .45));
    animation: introProduct .9s cubic-bezier(.2, .9, .2, 1) both;
}

.intro-ring {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 220, 140, .4);
    border-radius: 50%;
    animation: ringPulse 2.6s ease-out infinite;
}

.intro-ring-b { animation-delay: 1.1s; }

.intro-stamp {
    position: absolute;
    z-index: 3;
    right: 8%;
    top: 18%;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, .7);
    background: linear-gradient(145deg, #ffe9a8, #ffc93c);
    color: #93290a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    transform: rotate(12deg);
    box-shadow: 0 16px 30px rgba(90, 10, 0, .35);
    opacity: 0;
}

.intro-stamp.show { animation: stampIn .55s cubic-bezier(.2, 1.4, .4, 1) both; }

.intro-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    margin-top: 4px;
    color: #ffe28a;
    text-shadow: 0 8px 26px rgba(95, 8, 0, .45);
}

.intro-yen { font-size: 26px; font-weight: 700; margin-top: 12px; }

.intro-price b {
    font-family: "DIN Alternate", "Bahnschrift", "Helvetica Neue", Arial, sans-serif;
    font-size: 78px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.03em;
}

.intro-copy { margin-top: 8px; }
.intro-copy strong { display: block; font-size: 17px; letter-spacing: .04em; }
.intro-copy span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255, 240, 220, .72); }

.intro-progress {
    width: 180px;
    height: 3px;
    margin: 22px auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    overflow: hidden;
}
.intro-progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffe9a8, #ffc93c);
    animation: introBar 2.15s ease-out forwards;
}

.intro-skip {
    position: absolute;
    top: calc(16px + env(safe-area-inset-top));
    right: 16px;
    z-index: 4;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(90, 10, 4, .2);
    color: rgba(255, 245, 225, .88);
    font-size: 12px;
    opacity: 0;
    animation: fadeIn .4s .7s ease forwards;
}

.intro-skip:active { transform: scale(.96); }

/* ---------------- topbar ---------------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -14px;
    padding: 10px 18px;
    background: rgba(245, 237, 228, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }

.brand-mark {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(150deg, #ff5a45, #d9241a 70%);
    color: #fff;
    box-shadow: 0 7px 14px -6px rgba(224, 46, 36, .7);
    transform: rotate(-4deg);
}
.brand-mark b { font-size: 22px; font-weight: 800; line-height: 1; transform: rotate(4deg); }
.brand-mark i {
    position: absolute;
    right: -3px;
    bottom: -3px;
    padding: 1px 4px;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffe9a8, #ffc93c);
    color: #8a2b00;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    transform: rotate(4deg);
    box-shadow: 0 2px 5px rgba(120, 40, 0, .25);
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 15px; line-height: 1.2; letter-spacing: .02em; }
.brand-text small {
    margin-top: 2px;
    font-size: 10px;
    color: var(--muted);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rules-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border: 1px solid rgba(224, 46, 36, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: #b03a2b;
    font-size: 12px;
}
.rules-btn .layui-icon { font-size: 13px; }
.rules-btn:active { transform: scale(.96); }

/* ---------------- referral flash ---------------- */

.flash {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 12px 12px 14px;
    border: 1px solid rgba(240, 165, 0, .28);
    border-radius: 16px;
    background: linear-gradient(100deg, #fff8e6, #fff2d2);
    box-shadow: 0 10px 22px -18px rgba(150, 90, 0, .5);
}
.flash > .layui-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(150deg, #ffc93c, #f09c00);
    color: #fff;
    font-size: 15px;
}
.flash-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.flash-copy b { font-size: 13px; color: #8a4a00; }
.flash-copy span { margin-top: 2px; font-size: 11px; color: #9b6a2a; line-height: 1.5; }
.flash-close { border: 0; background: none; color: #bfa888; font-size: 20px; line-height: 1; padding: 0 2px; }

/* ---------------- hero ---------------- */

.hero {
    position: relative;
    margin-top: 8px;
    padding: 14px 16px 18px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(120% 90% at 76% 0%, rgba(255, 213, 120, .32) 0%, transparent 52%),
        radial-gradient(100% 80% at 12% 8%, #ff7250 0%, transparent 55%),
        linear-gradient(160deg, #ef3c2b 0%, #d9241a 45%, #b91810 100%);
    box-shadow: 0 26px 50px -26px rgba(190, 30, 20, .72);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 9px);
    pointer-events: none;
}

.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.deco-a {
    width: 190px;
    height: 190px;
    right: -70px;
    top: 120px;
    background: radial-gradient(circle, rgba(255, 220, 140, .22), transparent 68%);
}
.deco-b {
    width: 260px;
    height: 260px;
    left: -120px;
    bottom: -100px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.hero-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe9a8, #ffc93c);
    color: #8a2b00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}
.hero-tag .layui-icon { font-size: 12px; }

.hero-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 244, 226, .82);
}
.hero-live b { font-size: 12px; color: #ffe28a; }

.live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffe28a;
    box-shadow: 0 0 0 0 rgba(255, 226, 138, .7);
    animation: livePulse 1.8s ease-out infinite;
}

.hero-timer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 7px;
    font-size: 11px;
    color: rgba(255, 244, 226, .66);
}
.hero-timer b {
    font-family: "DIN Alternate", "Bahnschrift", Arial, sans-serif;
    font-size: 12px;
    letter-spacing: .06em;
    color: #ffe28a;
}

.stage {
    position: relative;
    z-index: 2;
    height: 252px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-halo {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 227, 160, .34), transparent 66%);
    filter: blur(2px);
}

.stage-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 233, 180, .18);
}
.orbit-a { width: 214px; height: 214px; }
.orbit-b { width: 258px; height: 258px; border-style: dashed; opacity: .6; animation: spinFlat 42s linear infinite; }

.product {
    position: relative;
    z-index: 2;
    width: 252px;
    height: auto;
    filter: drop-shadow(0 26px 22px rgba(70, 8, 0, .42));
    animation: floatY 4.6s ease-in-out infinite;
    will-change: transform;
}

.stage-badge {
    position: absolute;
    z-index: 3;
    left: 2px;
    top: 8px;
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    color: rgba(255, 250, 240, .9);
    font-size: 10px;
    letter-spacing: .04em;
    backdrop-filter: blur(4px);
}

.stage-free {
    position: absolute;
    z-index: 3;
    right: 0;
    top: 12px;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, .58);
    background: linear-gradient(145deg, #ffe9a8, #ffc93c);
    color: #8a2b00;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transform: rotate(10deg);
    box-shadow: 0 12px 22px rgba(100, 14, 0, .32);
    animation: sealBob 5s ease-in-out infinite;
}

.cut-slash {
    position: absolute;
    z-index: 4;
    inset: 0;
    pointer-events: none;
    opacity: 0;
}
.cut-slash span {
    position: absolute;
    left: 12%;
    top: 54%;
    width: 76%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #fff 18%, #fff7cf 50%, #fff 82%, transparent);
    box-shadow: 0 0 18px 4px rgba(255, 240, 190, .85);
    transform: rotate(-24deg) scaleX(0);
    transform-origin: left center;
}
.stage.is-cutting .cut-slash { animation: slashFade .55s ease both; }
.stage.is-cutting .cut-slash span { animation: slashLine .55s cubic-bezier(.2, .8, .2, 1) both; }

.knife-fly {
    position: absolute;
    z-index: 5;
    left: 6%;
    top: 38%;
    width: 58px;
    height: 58px;
    opacity: 0;
    transform: rotate(-18deg) translate(-40px, -30px);
    filter: drop-shadow(0 8px 12px rgba(60, 4, 0, .35));
}
.stage.is-cutting .knife-fly { animation: knifeSweep .55s cubic-bezier(.2, .8, .2, 1) both; }

.stage.is-cutting .product { animation: cutShake .55s ease both; }

.product-copy {
    position: relative;
    z-index: 2;
    margin-top: -2px;
    text-align: center;
}
.product-copy h1 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: .01em; }
.product-copy p { margin: 5px 0 0; font-size: 11.5px; color: rgba(255, 242, 224, .72); letter-spacing: .03em; }

/* ---------------- deal card ---------------- */

.deal {
    position: relative;
    z-index: 2;
    margin-top: 14px;
    padding: 15px 15px 13px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdf8, #fff);
    color: var(--ink);
    box-shadow: 0 18px 30px -20px rgba(80, 20, 5, .5);
}
.deal::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(240, 165, 0, .2);
    border-radius: 15px;
    pointer-events: none;
}

.deal-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.price-block { min-width: 0; }
.price-cap { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; }

.price {
    display: flex;
    align-items: baseline;
    margin-top: 1px;
    color: var(--red);
    font-variant-numeric: tabular-nums;
    transition: transform .2s ease;
}
.price.is-bump { animation: priceBump .45s cubic-bezier(.2, 1.3, .4, 1); }
.price-unit { font-size: 18px; font-weight: 700; margin-right: 2px; }
.price-int {
    font-family: "DIN Alternate", "Bahnschrift", "Helvetica Neue", Arial, sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.035em;
}
.price-dec {
    font-family: "DIN Alternate", "Bahnschrift", "Helvetica Neue", Arial, sans-serif;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.price-dec i { font-style: normal; }

.price-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding-bottom: 4px;
}
.price-side s { font-size: 11px; color: #b3a094; }
.stock-chip {
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff2e2;
    color: #b5521a;
    font-size: 10px;
    font-weight: 600;
}

.progress { margin-top: 13px; }
.progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10.5px;
    color: var(--muted);
}
.progress-head span:last-child { color: var(--red); font-weight: 700; }

.bar {
    position: relative;
    height: 12px;
    margin-top: 6px;
    border-radius: 999px;
    background: #f5e7da;
    box-shadow: inset 0 1px 2px rgba(140, 80, 40, .09);
}
.bar i {
    position: relative;
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffb02e, #ff5a3c 58%, #e02e24);
    box-shadow: 0 3px 10px -2px rgba(224, 46, 36, .5);
    transition: width .9s cubic-bezier(.22, .8, .2, 1);
}
.bar i::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 28%, #ffc93c 32% 56%, rgba(255, 201, 60, 0) 62%);
}
.bar-sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}
.bar-sheen::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 32%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
    animation: barSheen 2.8s ease-in-out infinite;
}

.progress-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 10.5px;
    color: var(--muted);
}
.progress-foot b { color: #6b4a3b; font-weight: 700; }

/* ---------------- cta ---------------- */

.cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 62px;
    margin-top: 14px;
    padding: 8px 16px 8px 12px;
    border: 0;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, #ffe889 0%, #ffcc35 52%, #ffb300 100%);
    color: #7a2600;
    box-shadow: 0 14px 26px -12px rgba(224, 46, 36, .65), inset 0 -2px 0 rgba(160, 80, 0, .16);
    text-align: left;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.cta-btn:active { transform: translateY(1px) scale(.985); box-shadow: 0 7px 16px -10px rgba(224, 46, 36, .6); }
.cta-btn.is-busy { filter: saturate(.8); opacity: .88; pointer-events: none; }

.cta-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .46);
    box-shadow: inset 0 0 0 1px rgba(150, 80, 0, .1);
}
.cta-icon svg { width: 22px; height: 22px; fill: currentColor; }
.cta-icon .ico-alt { display: none; font-size: 22px; }
.cta-btn[data-mode="draw"] .ico-cut,
.cta-btn[data-mode="share"] .ico-cut,
.cta-btn[data-mode="claim"] .ico-cut,
.cta-btn[data-mode="code"] .ico-cut { display: none; }
.cta-btn[data-mode="draw"] .ico-gift { display: block; }
.cta-btn[data-mode="share"] .ico-share { display: block; }
.cta-btn[data-mode="claim"] .ico-claim,
.cta-btn[data-mode="code"] .ico-claim { display: block; }

.cta-text { display: flex; flex-direction: column; flex: 1; margin-left: 9px; }
.cta-text b { font-size: 19px; font-weight: 800; letter-spacing: .02em; line-height: 1.15; }
.cta-text small { margin-top: 1px; font-size: 10.5px; color: #9a4a00; opacity: .8; }

.cta-shine {
    position: absolute;
    top: 0;
    left: -30%;
    width: 22%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
    transform: skewX(-18deg);
    animation: ctaShine 3.6s ease-in-out infinite;
    pointer-events: none;
}

.deal-note {
    margin: 8px 0 0;
    text-align: center;
    font-size: 10.5px;
    color: #a08a7d;
}

/* ---------------- cards ---------------- */

.card {
    position: relative;
    margin-top: 14px;
    padding: 17px;
    border: 1px solid rgba(224, 46, 36, .06);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-card);
}

.card-head { display: flex; align-items: center; gap: 10px; }
.card-head-sm { justify-content: space-between; }

.card-ico {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(150deg, #ff6a52, #d9241a);
    color: #fff;
    font-size: 21px;
    box-shadow: 0 8px 16px -10px rgba(224, 46, 36, .8);
}
.card-head-copy { min-width: 0; }
.card-head-copy h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.card-head-copy p { margin: 3px 0 0; font-size: 11px; color: var(--muted); line-height: 1.45; }

.live-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff3e9;
    color: #b5521a;
    font-size: 10px;
}
.live-tag .live-dot { width: 5px; height: 5px; background: #ff5a3c; box-shadow: 0 0 0 0 rgba(255, 90, 60, .55); }

.invite-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
    padding: 11px 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #fdf7f0, #fbf1e6);
}
.stat { position: relative; text-align: center; }
.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 24px;
    transform: translateY(-50%);
    background: #f0e2d4;
}
.stat b {
    display: block;
    font-family: "DIN Alternate", "Bahnschrift", Arial, sans-serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--red);
    font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }

.invite-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 12px;
}

.btn-ghost, .btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 46px;
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 600;
    transition: transform .14s ease, opacity .14s ease;
}
.btn-ghost {
    border: 1.5px solid #f0b7a9;
    background: #fff;
    color: #c93424;
}
.btn-red {
    border: 0;
    background: linear-gradient(180deg, #ff6a52, #e02e24);
    color: #fff;
    box-shadow: 0 10px 20px -12px rgba(224, 46, 36, .9);
}
.btn-ghost:active, .btn-red:active { transform: scale(.97); }
.btn-ghost .layui-icon, .btn-red .layui-icon { font-size: 15px; }
.btn-red.is-disabled { opacity: .55; box-shadow: none; }

.invite-foot {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 11px 0 0;
    font-size: 10px;
    color: #b09a8c;
}
.invite-foot .layui-icon { font-size: 12px; color: #d9a441; }

/* ---------------- feed ---------------- */

.feed-card { padding-bottom: 9px; }

.feed-list { list-style: none; margin: 8px 0 0; padding: 0; }
.feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0e3d6;
}
.feed-item:last-child { border-bottom: 0; }
.feed-item.is-new { animation: feedIn .55s cubic-bezier(.2, .9, .2, 1) both; }

.avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .12);
}
.av-0 { background: linear-gradient(145deg, #ff8b6e, #d93a2b); }
.av-1 { background: linear-gradient(145deg, #ffc46b, #e08a12); }
.av-2 { background: linear-gradient(145deg, #6fd0b6, #1f9c80); }
.av-3 { background: linear-gradient(145deg, #8fb4ff, #4169c9); }
.av-4 { background: linear-gradient(145deg, #c79bf0, #7b4bbd); }
.av-5 { background: linear-gradient(145deg, #ff9fc4, #cf3f74); }
.av-6 { background: linear-gradient(145deg, #9dcf6b, #4f8f26); }
.av-7 { background: linear-gradient(145deg, #f0b48a, #b0663a); }
.av-8 { background: linear-gradient(145deg, #7fc0e8, #2a76a8); }
.av-9 { background: linear-gradient(145deg, #e6cf8a, #a8842f); }

.feed-main { flex: 1; min-width: 0; }
.feed-name {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.feed-name em {
    flex: 0 0 auto;
    padding: 1px 5px;
    border-radius: 5px;
    background: #fff2e2;
    color: #b5521a;
    font-size: 9px;
    font-style: normal;
    font-weight: 600;
}
.feed-sub { margin-top: 2px; font-size: 10.5px; color: var(--muted); }

.feed-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.feed-right b { font-family: "DIN Alternate", "Bahnschrift", Arial, sans-serif; font-size: 13px; color: var(--red); font-weight: 700; }
.feed-right span { font-size: 9.5px; color: #bba79a; }
.feed-right .feed-chance {
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff6dd;
    color: #b06a00;
    font-size: 10px;
    font-weight: 700;
}

.feed-empty {
    padding: 18px 0;
    text-align: center;
    font-size: 11.5px;
    color: #b8a496;
}

/* ---------------- trust & footer ---------------- */

.trust {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 6px;
    padding: 18px 4px 4px;
    color: #a08a7d;
    font-size: 10.5px;
}
.trust span { display: inline-flex; align-items: center; gap: 3px; }
.trust .layui-icon { color: #d9a441; font-size: 12px; }

.foot { padding: 14px 0 4px; text-align: center; }
.foot-links { display: flex; justify-content: center; gap: 18px; margin: 0; }
.foot-links a { font-size: 11px; color: #9b857a; }
.foot-links a:active { color: var(--red); }
.foot-copy { margin: 8px 0 0; font-size: 9.5px; color: #c0afa3; }

/* ---------------- dock ---------------- */

.dock {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 560px;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255, 252, 247, .94);
    border-top: 1px solid #f1e4d7;
    box-shadow: 0 -14px 34px -20px rgba(90, 40, 20, .4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translate(-50%, 120%);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.dock.show { transform: translate(-50%, 0); }
.dock-price { display: flex; flex-direction: column; min-width: 84px; }
.dock-price span { font-size: 9.5px; color: var(--muted); }
.dock-price b {
    margin-top: -1px;
    color: var(--red);
    font-family: "DIN Alternate", "Bahnschrift", Arial, sans-serif;
    font-size: 21px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.dock-price b i { font-style: normal; }
.dock-btn {
    flex: 1;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe889, #ffc62e 55%, #ffb300);
    color: #7a2600;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 10px 20px -12px rgba(224, 46, 36, .8);
}
.dock-btn.is-busy { opacity: .75; pointer-events: none; }

/* ---------------- overlays base ---------------- */

.assist-fx, .wheel-fx, .finale {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
    -webkit-tap-highlight-color: transparent;
}
.assist-fx, .wheel-fx {
    z-index: 2000;
    background: rgba(28, 8, 4, .66);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.assist-fx.show, .wheel-fx.show, .finale.show { opacity: 1; visibility: visible; }

/* ---------------- assist animation ---------------- */

.assist-panel {
    position: relative;
    width: min(360px, 100%);
    padding: 28px 22px 22px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fffdf8, #fff4e5);
    text-align: center;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
    transform: scale(.86) translateY(14px);
    transition: transform .4s cubic-bezier(.2, .9, .2, 1);
    overflow: hidden;
}
.assist-fx.show .assist-panel { transform: none; }

.assist-halo {
    position: absolute;
    left: 50%;
    top: -74px;
    width: 250px;
    height: 250px;
    transform: translateX(-50%);
    background: repeating-conic-gradient(from 0deg, rgba(255, 201, 60, .24) 0deg 6deg, transparent 6deg 18deg);
    mask-image: radial-gradient(circle, #000 0%, transparent 62%);
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
    animation: spinX 18s linear infinite;
    pointer-events: none;
}

.assist-avatars {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    margin-bottom: 12px;
}
.assist-avatar {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-left: -10px;
    box-shadow: 0 10px 20px -8px rgba(80, 30, 10, .4);
    animation: popIn .5s cubic-bezier(.2, 1.3, .4, 1) both;
}
.assist-avatar:first-child { margin-left: 0; }
.assist-avatar.more { background: linear-gradient(145deg, #ffd66b, #f0a500); color: #6b3300; font-size: 15px; }

.assist-kicker { position: relative; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: .3em; color: var(--red); }
.assist-panel h3 { position: relative; z-index: 2; margin: 4px 0 4px; font-size: 21px; font-weight: 800; color: var(--ink); }
.assist-panel > p { position: relative; z-index: 2; margin: 0; font-size: 12px; color: var(--muted); }

.assist-chip {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff3cf, #ffe0a0);
    color: #8a4a00;
    font-size: 12px;
    font-weight: 600;
}
.assist-chip b { font-family: "DIN Alternate", "Bahnschrift", Arial, sans-serif; font-size: 22px; font-weight: 800; color: var(--red); }

.assist-panel .btn-gold { position: relative; z-index: 2; margin-top: 16px; }

.assist-skip {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    border: 0;
    background: none;
    color: #b09a8c;
    font-size: 11px;
}

/* ---------------- buttons ---------------- */

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 50%),
        linear-gradient(180deg, #ffe889, #ffc62e 55%, #ffb300);
    color: #7a2600;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .03em;
    box-shadow: 0 12px 24px -12px rgba(240, 120, 0, .7);
    transition: transform .14s ease;
}
.btn-gold:active { transform: scale(.97); }
.btn-gold[disabled] { opacity: .6; pointer-events: none; }

/* ---------------- wheel ---------------- */

.wheel-fx { z-index: 2100; }

.wheel-panel {
    position: relative;
    width: min(390px, 100%);
    max-height: 92vh;
    overflow: auto;
    padding: 22px 20px 20px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fffdf8, #fff5e6);
    text-align: center;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65);
    transform: scale(.9) translateY(12px);
    transition: transform .35s cubic-bezier(.2, .9, .2, 1);
}
.wheel-fx.show .wheel-panel { transform: none; }

.wheel-head h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--ink); }
.wheel-head p { margin: 4px 0 0; font-size: 11px; color: var(--muted); }

.wheel-stage { position: relative; width: 288px; height: 288px; margin: 16px auto 6px; transition: opacity .3s, transform .3s; }
.wheel-stage.dim { opacity: .5; transform: scale(.95); }

.wheel-pointer {
    position: absolute;
    z-index: 6;
    left: 50%;
    top: 0;
    width: 0;
    height: 0;
    transform: translate(-50%, -4px);
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 24px solid #d9241a;
    filter: drop-shadow(0 4px 6px rgba(100, 10, 0, .3));
}
.wheel-pointer::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -24px;
    width: 18px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #ffd66b;
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(120, 40, 0, .3);
}

.wheel {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 256px;
    height: 256px;
    border: 8px solid #ffd66b;
    border-radius: 50%;
    box-shadow: 0 12px 30px -12px rgba(150, 80, 0, .5), inset 0 0 0 3px #fff3d0, 0 0 0 6px #fff9ed;
    transition: transform 4.6s cubic-bezier(.12, .72, .1, 1);
    will-change: transform;
}

.wheel-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(from -22.5deg, #fff6e3 0deg 45deg, #ffe4b5 45deg 90deg);
}

.wheel-labels { position: absolute; inset: 0; }

.wheel-label {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 78px;
    height: 34px;
    margin: -17px 0 0 -39px;
    transform: rotate(var(--a)) translateY(-94px) rotate(calc(var(--a) * -1));
    color: #7a3a00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .01em;
    pointer-events: none;
}
.wheel-label.cash { color: #b51f14; }

.wheel-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 62px;
    height: 62px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border: 3px solid #fff6da;
    border-radius: 50%;
    background: linear-gradient(160deg, #ff8a5c, #d9241a);
    box-shadow: 0 8px 18px -6px rgba(120, 20, 0, .5);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.wheel-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin: 4px 0 10px;
    animation: popIn .45s cubic-bezier(.2, 1.2, .4, 1) both;
}
.wheel-result[hidden] { display: none; }
.wheel-result-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(150deg, #ffe9a8, #ffc62e);
    color: #8a2b00;
    font-size: 22px;
    margin-bottom: 3px;
}
.wheel-result b { font-size: 17px; color: var(--ink); }
.wheel-result span { font-size: 11px; color: var(--muted); }

.wheel-go { margin-top: 10px; }
.wheel-note { margin: 9px 0 0; font-size: 10.5px; color: var(--muted); }
.wheel-note b { color: var(--red); }

.wheel-close, .finale-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(60, 30, 20, .08);
    color: #a08a7d;
    font-size: 20px;
    line-height: 1;
    z-index: 8;
}
.finale-close { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); }

/* ---------------- finale ---------------- */

.finale {
    z-index: 2500;
    overflow: hidden;
    background: radial-gradient(120% 80% at 50% 18%, #92150c 0%, #4a0a06 46%, #1c0503 100%);
}

.finale-rays {
    position: absolute;
    left: 50%;
    top: 36%;
    width: 160vmax;
    height: 160vmax;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(from 0deg, rgba(255, 214, 107, .2) 0deg 5deg, transparent 5deg 17deg);
    mask-image: radial-gradient(circle, #000 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 60%);
    animation: spin 60s linear infinite;
    pointer-events: none;
}

.finale-panel {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 420px;
    max-height: 100vh;
    overflow: auto;
    padding: 30px 20px 24px;
    text-align: center;
    color: #fff;
    animation: finaleIn .8s cubic-bezier(.2, .9, .2, 1) both;
}

.finale-badge {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid rgba(255, 214, 107, .5);
    border-radius: 999px;
    color: #ffe28a;
    font-size: 10px;
    letter-spacing: .26em;
}

.finale-panel h2 {
    margin: 12px 0 4px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .02em;
}
.finale-panel h2 span {
    display: inline-block;
    margin-top: 2px;
    color: #ffd66b;
    font-size: 44px;
    letter-spacing: .01em;
    text-shadow: 0 4px 28px rgba(255, 190, 40, .4);
    animation: goldGlow 2.4s ease-in-out infinite;
}

.finale-product { position: relative; width: 190px; margin: 6px auto 0; }
.finale-product img {
    width: 100%;
    filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .5));
    animation: finaleProduct 1s cubic-bezier(.2, .9, .2, 1) both;
}
.finale-seal {
    position: absolute;
    right: -12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 2px dashed rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: linear-gradient(145deg, #ffe9a8, #ffc93c);
    color: #8a2b00;
    font-family: "DIN Alternate", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    transform: rotate(-14deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
}

.finale-name { margin: 6px 0 0; font-size: 12px; color: rgba(255, 240, 220, .68); letter-spacing: .08em; }

.finale-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 12px auto 0;
    padding: 9px 14px;
    border: 1px dashed rgba(255, 214, 107, .5);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
}
.finale-code[hidden] { display: none; }
.finale-code span { font-size: 10px; color: rgba(255, 240, 220, .6); letter-spacing: .12em; }
.finale-code b {
    font-family: "DIN Alternate", "Bahnschrift", "Courier New", monospace;
    font-size: 18px;
    color: #ffe28a;
    letter-spacing: .12em;
}
.finale-code button {
    padding: 3px 9px;
    border: 1px solid rgba(255, 214, 107, .4);
    border-radius: 999px;
    background: transparent;
    color: #ffd66b;
    font-size: 10px;
}

.finale-claim { width: 100%; max-width: 300px; margin: 16px auto 0; display: flex; }
.finale-claim[hidden] { display: none; }

.finale-note { margin: 10px 0 0; font-size: 10.5px; color: rgba(255, 240, 220, .55); line-height: 1.6; }

.finale-cta {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 12px auto 0;
    padding: 13px;
    border: 1px solid rgba(255, 214, 107, .55);
    border-radius: 999px;
    background: rgba(255, 214, 107, .08);
    color: #ffe28a;
    font-size: 14px;
    font-weight: 700;
}
.finale-cta[hidden] { display: none; }

.confetti-layer {
    position: fixed;
    inset: 0;
    z-index: 2600;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ---------------- floating cut / coins ---------------- */

.float-cut {
    position: fixed;
    z-index: 1200;
    pointer-events: none;
    color: #ff3b2f;
    font-family: "DIN Alternate", "Bahnschrift", Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 2px 0 #fff, 0 6px 16px rgba(120, 30, 0, .25);
    animation: floatCut 1.15s cubic-bezier(.15, .8, .3, 1) forwards;
}

.float-cut small {
    display: block;
    font-family: inherit;
    font-size: 10px;
    letter-spacing: .12em;
    color: #a0522d;
    text-align: center;
    text-shadow: none;
}

.coin {
    position: fixed;
    z-index: 1200;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(150deg, #fff0b8, #f0a500);
    box-shadow: 0 1px 2px rgba(120, 60, 0, .3);
    pointer-events: none;
    animation: coinFly .9s cubic-bezier(.15, .7, .3, 1) forwards;
}

/* ---------------- layui dialog skin ---------------- */

.layui-layer.pd-layer {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}
.layui-layer.pd-layer .layui-layer-content { overflow: visible; background: transparent; }

.pd-dialog {
    position: relative;
    padding: 24px 20px 20px;
    border-radius: 24px;
    background: #fffaf2;
    box-shadow: 0 40px 100px -30px rgba(30, 8, 3, .6);
    text-align: left;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: auto;
}
.pd-dialog-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f6ece1;
    color: #a08a7d;
    font-size: 20px;
    line-height: 1;
}
.pd-dialog h3 { margin: 0 0 4px; text-align: center; font-size: 18px; font-weight: 800; color: var(--ink); }
.pd-dialog-sub { margin: 0 0 14px; text-align: center; font-size: 11.5px; color: var(--muted); line-height: 1.6; }

.rules-list {
    margin: 14px 0 18px;
    padding: 0 0 0 18px;
    list-style: decimal outside;
    color: #6b564c;
    font-size: 12.5px;
    line-height: 1.8;
}
.rules-list li { margin-bottom: 6px; list-style: decimal outside; }
.rules-list li::marker { color: var(--red); font-weight: 700; }

.pd-dialog-btn { width: 100%; margin-top: 2px; }

.share-box {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 7px 7px 7px 12px;
    border: 1px solid #f0e2d4;
    border-radius: 13px;
    background: #f9f1e8;
}
.share-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #6b564c;
    font-size: 11px;
    outline: none;
}
.share-copy {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(180deg, #ff6a52, #e02e24);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.share-actions { display: grid; gap: 8px; margin-top: 10px; }
.share-actions .btn-ghost, .share-actions .btn-red { height: 44px; font-size: 13px; }

.share-tips { margin: 12px 0 0; padding: 0; list-style: none; }
.share-tips li { position: relative; padding-left: 14px; margin-top: 6px; font-size: 10.5px; color: #a08a7d; line-height: 1.6; }
.share-tips li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f0b45a;
}

.share-demo {
    width: 100%;
    margin-top: 10px;
    padding: 9px;
    border: 1px dashed #e7c9a9;
    border-radius: 11px;
    background: #fff8ee;
    color: #b0763a;
    font-size: 10.5px;
}

.wechat-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f9f1e8;
}
.wechat-box b {
    font-family: "DIN Alternate", "Courier New", monospace;
    font-size: 18px;
    letter-spacing: .06em;
    color: var(--red);
}
.wechat-box button {
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    background: #2a1712;
    color: #ffe9c4;
    font-size: 11px;
}

.layui-layer.pd-toast {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(40, 18, 12, .94);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
}
.layui-layer.pd-toast .layui-layer-content {
    padding: 11px 20px;
    max-width: 76vw;
    color: #fff8ee;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
    border: 0;
    background: transparent;
    white-space: normal;
}

/* ---------------- feed seed badge (unused, safety) ---------------- */

.feed-name .seed { display: none; }

/* ---------------- keyframes ---------------- */

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinFlat { to { transform: rotate(360deg); } }
@keyframes spinX { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sealBob { 0%, 100% { transform: rotate(10deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-5px); } }
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 90, 60, .55); }
    70% { box-shadow: 0 0 0 6px rgba(255, 90, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 90, 60, 0); }
}
@keyframes introProduct {
    from { opacity: 0; transform: scale(.5) rotate(-16deg) translateY(24px); }
    to { opacity: 1; transform: scale(1) rotate(0) translateY(0); }
}
@keyframes ringPulse {
    0% { transform: scale(.7); opacity: .9; }
    100% { transform: scale(1.35); opacity: 0; }
}
@keyframes stampIn {
    0% { opacity: 0; transform: scale(2.2) rotate(-26deg); }
    70% { opacity: 1; transform: scale(.94) rotate(9deg); }
    100% { opacity: 1; transform: scale(1) rotate(12deg); }
}
@keyframes introBar { from { width: 0; } to { width: 100%; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slashFade { 0%, 100% { opacity: 0; } 20%, 70% { opacity: 1; } }
@keyframes slashLine {
    0% { transform: rotate(-24deg) scaleX(0); opacity: 0; }
    30% { opacity: 1; }
    65% { transform: rotate(-24deg) scaleX(1); opacity: 1; }
    100% { transform: rotate(-24deg) scaleX(1.08); opacity: 0; }
}
@keyframes knifeSweep {
    0% { opacity: 0; transform: rotate(-38deg) translate(-50px, -40px) scale(.8); }
    25% { opacity: 1; }
    70% { opacity: 1; transform: rotate(14deg) translate(40px, 40px) scale(1); }
    100% { opacity: 0; transform: rotate(26deg) translate(90px, 70px) scale(.9); }
}
@keyframes cutShake {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    15% { transform: translate(-7px, 3px) rotate(-2.2deg); }
    30% { transform: translate(6px, -4px) rotate(2deg); }
    45% { transform: translate(-5px, 2px) rotate(-1.4deg); }
    60% { transform: translate(4px, -2px) rotate(.8deg); }
    75% { transform: translate(-2px, 1px) rotate(-.4deg); }
}
@keyframes barSheen { 0% { left: -40%; } 55%, 100% { left: 130%; } }
@keyframes ctaShine { 0%, 62% { left: -30%; } 82%, 100% { left: 130%; } }
@keyframes priceBump {
    0% { transform: scale(1); }
    32% { transform: scale(1.08); }
    60% { transform: scale(.98); }
    100% { transform: scale(1); }
}
@keyframes feedIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(.4); }
    70% { opacity: 1; transform: scale(1.08); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes finaleIn {
    from { opacity: 0; transform: translateY(24px) scale(.94); }
    to { opacity: 1; transform: none; }
}
@keyframes finaleProduct {
    0% { opacity: 0; transform: scale(.6) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes goldGlow {
    0%, 100% { text-shadow: 0 4px 24px rgba(255, 190, 40, .35); }
    50% { text-shadow: 0 4px 36px rgba(255, 210, 90, .7); }
}
@keyframes floatCut {
    0% { opacity: 0; transform: translate(-50%, 0) scale(.7); }
    18% { opacity: 1; transform: translate(-50%, -16px) scale(1.05); }
    70% { opacity: 1; transform: translate(-50%, -58px) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -92px) scale(.94); }
}
@keyframes coinFly {
    0% { opacity: 1; transform: translate(0, 0) scale(.6) rotate(0); }
    70% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2) rotate(var(--rot)); }
}
@keyframes riseIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* ---------------- page reveal ---------------- */

.page-in .hero { animation: riseIn .65s .05s cubic-bezier(.2, .9, .2, 1) both; }
.page-in .invite-card { animation: riseIn .6s .14s cubic-bezier(.2, .9, .2, 1) both; }
.page-in .feed-card { animation: riseIn .6s .22s cubic-bezier(.2, .9, .2, 1) both; }
.page-in .trust, .page-in .foot { animation: riseIn .6s .3s cubic-bezier(.2, .9, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .intro { display: none; }
}

/* ---------------- small screens ---------------- */

@media (max-width: 380px) {
    .shell { padding-left: 10px; padding-right: 10px; }
    .hero { margin-left: 0; margin-right: 0; padding: 12px 12px 15px; border-radius: 22px; }
    .topbar { padding-left: 12px; padding-right: 12px; }
    .stage { height: 228px; }
    .product { width: 224px; }
    .price-int { font-size: 42px; }
    .deal { padding: 13px 13px 12px; }
    .cta-text b { font-size: 17px; }
    .stage-free { width: 66px; height: 66px; font-size: 12.5px; }
    .wheel-stage { transform: scale(.92); margin-top: 8px; margin-bottom: 0; }
}
