:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#302523;background:#faf7f2;font-synthesis:none;--red:#c73231;--muted:#82736d;--line:#e9dfd4}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b37a21;outline-offset:4px}[hidden]{display:none!important}main{max-width:580px;margin:0 auto;padding:0 24px}header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:27px 0;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:8px;font-weight:850;letter-spacing:1px;font-size:16px;text-decoration:none}.brand-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;color:#fff;background:var(--red)}.brand-light{font-size:9px;color:var(--muted);font-weight:600;letter-spacing:1.2px}.text-button{border:0;background:transparent;color:var(--muted);padding:8px 0;font-size:12px;white-space:nowrap}.eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.5px;font-weight:700;margin-top:30px;color:var(--red)}.live-dot{width:6px;height:6px;border-radius:50%;background:var(--red)}.hero-kicker{font-size:13px;color:var(--muted);margin:24px 0 10px}h1{font-size:clamp(29px,6.9vw,40px);line-height:1.15;letter-spacing:-1.6px;margin:0 0 26px;font-weight:800}h1 span{color:var(--red)}.reward-card{position:relative;overflow:hidden;background:linear-gradient(125deg,#dc4540,#c32c31);color:white;border-radius:22px;padding:24px;box-shadow:0 14px 32px #a629241c}.reward-card:after{content:"";width:170px;height:170px;border:1px solid #fff1;position:absolute;right:-50px;top:-80px;transform:rotate(25deg);border-radius:40px;pointer-events:none}.reward-top,.reward-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.reward-top{font-size:10px;letter-spacing:1.3px}.pill{border:1px solid #ffffff4d;border-radius:30px;padding:6px 10px;font-size:10px;letter-spacing:0}.amount{display:flex;align-items:baseline;gap:7px;font-weight:850;letter-spacing:-5px;font-size:88px;line-height:1.1;margin-top:15px}.currency{font-size:30px;letter-spacing:-1px}.coin{margin-left:auto;align-self:center;width:69px;height:69px;display:grid;place-items:center;border:5px solid #f6c86b;outline:1px solid #fff7;outline-offset:4px;border-radius:50%;font-size:42px;letter-spacing:0;background:#ffdb8a;color:#a86b21;box-shadow:5px 6px 0 #9a422d;transform:rotate(12deg)}.reward-card>p{margin:7px 0 24px;font-size:13px;color:#ffe5dd}.ticket-line{border-top:1px dashed #fff5;margin:0 -24px 18px}.reward-bottom{font-size:12px;color:#ffdbcf}.reward-bottom strong{font-size:16px;color:#fff}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px;margin-top:24px}.section-label{font-size:10px;letter-spacing:1.6px;font-weight:750;color:var(--muted)}h2{font-size:22px;letter-spacing:-.6px;margin:10px 0 15px}h3{font-size:14px;margin:0 0 6px}p{font-size:13px;line-height:1.7}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head h2{font-size:20px}.progress-numbers{display:flex;align-items:baseline;gap:5px;margin:17px 0 13px}.progress-numbers strong{font-size:33px;letter-spacing:-1px}.progress-numbers span{color:var(--muted);font-size:12px}#friend-count{margin-left:auto;font-size:11px}progress{appearance:none;width:100%;height:10px;border:none;border-radius:15px;overflow:hidden;background:#f0e8df}progress::-webkit-progress-bar{background:#f0e8df}progress::-webkit-progress-value{background:var(--red);border-radius:15px}progress::-moz-progress-bar{background:var(--red);border-radius:15px}.milestones{display:flex;justify-content:space-between;margin-top:10px;font-size:10px;color:var(--muted)}.milestones .done{color:var(--red);font-weight:750}.primary{border:0;border-radius:11px;width:100%;padding:16px 18px;background:var(--red);color:#fff;font-weight:700;font-size:14px;text-decoration:none;display:flex;justify-content:center;align-items:center;gap:12px;margin-top:16px}.primary span{margin-left:auto}.small{color:var(--muted);font-size:11px;line-height:1.7}label{display:block;font-size:10px;color:var(--muted);margin:18px 0 8px}.copy-row{display:flex;gap:8px}.copy-row input{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:11px;color:#64534b;background:#faf8f5}.small-button{background:#f6eee4;color:#6e5545;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:12px;white-space:nowrap}.how{padding:34px 0 0}.how h2{margin-bottom:25px}.how ol{list-style:none;padding:0}.how li{display:flex;align-items:flex-start;gap:17px;margin-bottom:24px}.step{background:#f1e9de;color:#a28566;border-radius:12px;padding:12px;font-size:12px;font-weight:700}.how p{color:var(--muted);margin:0;font-size:12px}.fine-print{border-top:1px solid var(--line);margin-top:30px;padding-top:13px}.fine-print p{font-size:10px;color:var(--muted)}footer{display:flex;justify-content:space-between;align-items:center;color:#a59183;font-size:10px;padding:25px 0 35px;letter-spacing:.4px}footer span{font-size:25px}.notice{background:#fff1db;color:#775721;border:1px solid #ead3ac;border-radius:12px;padding:14px 16px}.tag{font-size:9px;color:#8c7964;letter-spacing:1px}.activity{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.activity small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.activity strong{color:var(--red);white-space:nowrap}.empty{font-size:12px;color:var(--muted);padding:12px 0}#history h3{margin-top:25px}dialog{background:#fffdf8;color:#302523;border:1px solid var(--line);border-radius:20px;padding:28px;max-width:470px;width:calc(100% - 32px);max-height:85vh;overflow:auto}dialog::backdrop{background:#2e201cb3;backdrop-filter:blur(4px)}dialog ul{padding-left:18px;font-size:13px;line-height:1.85}dialog li{padding-bottom:10px}.close{float:right;background:transparent;border:0;color:var(--muted);font-size:28px;line-height:20px}.dialog-actions{display:flex;gap:10px;margin-top:20px}.dialog-actions .primary{margin:0}@media(max-width:380px){main{padding:0 16px}.brand-light{display:none}.panel{padding:18px}.amount{font-size:78px}.reward-card{padding:21px}.coin{width:59px;height:59px;font-size:35px}h1{letter-spacing:-1.2px}}@media(prefers-reduced-motion:no-preference){.primary{transition:background .15s,transform .15s}.primary:hover{background:#b52a29}.primary:active{transform:translateY(1px)}}
/* Campaign motion: transform/opacity animations; financial state always comes from the API. */
.payout-feed{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #efe2d3;border-radius:30px;padding:9px 12px;margin:20px 0 -9px;min-width:0}.feed-check{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#eaf3e9;color:#4e7d50;font-weight:800;font-size:13px}.feed-viewport{height:33px;overflow:hidden;flex:1;min-width:0}.feed-item{height:33px;display:flex;flex-direction:column;justify-content:center;gap:2px;font-size:11px;white-space:nowrap}.feed-item strong{color:#b5292b}.feed-item small{font-size:9px;color:var(--muted)}.feed-label{font-size:8px;letter-spacing:1px;font-weight:800;color:#4e7d50}.reward-spark{position:absolute;color:#ffe1a1;z-index:1;pointer-events:none}.spark-one{right:23px;top:64px;font-size:19px}.spark-two{right:104px;top:139px;font-size:26px}.reward-card:before{content:"";position:absolute;inset:-100% -70%;background:linear-gradient(110deg,transparent 44%,#fff2 49%,#fff5 50%,#fff1 53%,transparent 58%);pointer-events:none;transform:translateX(-40%) rotate(-5deg)}.reward-card .coin{position:relative}.goal-banner{display:flex;align-items:center;gap:12px;border:1px solid #e8c87a;border-radius:12px;padding:14px;background:linear-gradient(120deg,#fff7d5,#fff0d8);margin-top:16px}.goal-banner>span{font-size:30px;color:#b87b1b}.goal-banner strong{display:block;color:#a45b1b;font-size:15px}.goal-banner div>span{display:block;font-size:11px;color:#86654a;line-height:1.5;margin-top:4px}.effects{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:50}.flying-fragment{position:fixed;display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:linear-gradient(135deg,#ffe6a0,#edb844);color:#a36717;border:1px solid #f9d475;font-size:17px;box-shadow:0 4px 10px #8c47122b}.confetti{position:fixed;width:7px;height:12px;border-radius:2px;top:-20px}.confetti:nth-child(3n){background:#d83835}.confetti:nth-child(3n+1){background:#f3c155}.confetti:nth-child(3n+2){background:#ed856b}.event-card{position:fixed;z-index:60;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:490px;border:1px solid #edcda0;border-radius:22px;background:linear-gradient(120deg,#fff9e8,#fffefb);box-shadow:0 12px 60px #5c22194d;padding:24px 36px 23px 20px;display:flex;align-items:center;gap:17px}.event-icon{display:grid;place-items:center;flex:0 0 62px;height:62px;border-radius:20px;background:linear-gradient(135deg,#e75043,#c32c31);color:#ffe6a2;box-shadow:0 5px 0 #a62b29;font-size:32px}.event-card[data-type=complete] .event-icon,.event-card[data-type=paid] .event-icon{background:linear-gradient(135deg,#f4d277,#e4ad44);color:#925917;box-shadow:0 5px 0 #bb873b}.event-copy{min-width:0}.event-copy .section-label{font-size:9px;letter-spacing:1px;color:#a3763d}.event-copy h2{font-size:20px;margin:7px 0;line-height:1.15}.event-copy p{font-size:12px;line-height:1.6;color:#826752;margin:0}.event-close{position:absolute;right:9px;top:8px;width:28px;height:28px;border:0;background:transparent;font-size:22px;color:#9b8471}.demo-controls{border:1px dashed #dccaa9;border-radius:12px;padding:14px;margin-top:20px}.demo-controls>span{display:block;font-size:9px;letter-spacing:1px;color:var(--muted);margin-bottom:10px}.demo-controls>div{display:flex;flex-wrap:wrap;gap:7px}.demo-controls .small-button{font-size:10px;padding:9px}progress::-webkit-progress-value{transition:width .7s cubic-bezier(.2,.8,.2,1)}
@keyframes reward-breathe{0%,100%{transform:translateY(0);box-shadow:0 14px 32px #a629241c}50%{transform:translateY(-3px);box-shadow:0 18px 36px #a6292429}}@keyframes reward-sweep{0%,65%{transform:translateX(-45%) rotate(-5deg)}90%,100%{transform:translateX(45%) rotate(-5deg)}}@keyframes coin-float{0%,100%{transform:rotate(12deg) translateY(0)}50%{transform:rotate(3deg) translateY(-6px)}}@keyframes sparkle{0%,100%{opacity:.4;transform:scale(.75) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(30deg)}}@keyframes invite-beat{0%,72%,100%{transform:scale(1)}78%{transform:scale(1.025)}84%{transform:scale(1)}90%{transform:scale(1.018)}}
@media(prefers-reduced-motion:no-preference){.reward-card{animation:reward-breathe 4s ease-in-out infinite}.reward-card:before{animation:reward-sweep 6s ease-in-out infinite}.coin{animation:coin-float 3.6s ease-in-out infinite}.reward-spark{animation:sparkle 2.6s ease-in-out infinite}.spark-two{animation-delay:1.3s}#share{animation:invite-beat 5s ease-in-out infinite}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:350px){.event-card{gap:12px;padding-left:15px}.event-icon{flex-basis:48px;height:48px;font-size:26px;border-radius:15px}.event-copy h2{font-size:18px}}
/* Compact activity carousel; complete records stay inside a dialog. */
.compact-history{padding:0;overflow:hidden}.history-open{display:block;width:100%;border:0;background:transparent;text-align:left;color:inherit;padding:20px;cursor:pointer}.history-title{font-size:19px;font-weight:750;letter-spacing:-.5px}.history-more{font-size:10px;color:var(--red);white-space:nowrap}.history-summary{display:block;font-size:11px;color:var(--muted);margin:9px 0 15px;line-height:1.5}.history-preview{display:flex;align-items:center;gap:11px;background:#faf5ef;border-radius:12px;padding:12px}.history-icon{display:grid;place-items:center;background:#fbe6df;color:var(--red);border-radius:10px;width:34px;height:34px;flex-shrink:0;font-size:16px}.history-viewport{display:block;height:40px;overflow:hidden;flex:1;min-width:0}#history-track,#payout-track{display:block}.history-item{display:flex;align-items:center;justify-content:space-between;gap:10px;height:40px;font-size:11px}.history-item>span{min-width:0}.history-item b,.history-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item b{font-size:12px;font-weight:600}.history-item small{font-size:9px;color:var(--muted);margin-top:4px}.history-item>strong{color:var(--red);font-size:12px;white-space:nowrap}.history-item.rejected>strong{color:var(--muted)}.history-chevron{font-size:22px;color:#ad9988}.records-dialog{padding:24px;max-height:80dvh}.records-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;position:sticky;top:-24px;padding-top:12px;background:#fffdf8;z-index:1}.records-heading h2{margin-bottom:12px}.records-heading .close{float:none;padding:0 3px;font-size:29px}.records-dialog h3{margin-top:24px}.payout-feed{width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer}.feed-viewport{display:block}.feed-item{display:flex}.payment-toast{position:fixed;top:max(14px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;z-index:45;max-width:390px;width:calc(100% - 32px);padding:11px 13px;border:1px solid #e5d7bb;border-radius:15px;background:#fffdf4f5;box-shadow:0 6px 30px #643b2329;backdrop-filter:blur(8px);text-align:left;color:#3c3028}.payment-toast-icon{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:50%;background:linear-gradient(135deg,#ffe7a4,#efc25e);color:#9a681c;font-size:23px;font-weight:800}.payment-toast>span:nth-child(2){min-width:0}.payment-toast strong{display:block;font-size:12px;line-height:1.4}.payment-toast small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.payment-toast-arrow{margin-left:auto;font-size:23px;color:#b29a6d}.records-dialog .activity{font-size:12px}.records-dialog .activity strong{font-size:12px}body:has(dialog[open]){overflow:hidden}
@media(max-width:350px){.history-open{padding:16px}.history-title{font-size:17px}.history-more{font-size:9px}.history-preview{gap:8px;padding:10px}.history-icon{width:27px;height:30px}.history-item>strong{font-size:11px}}
/* Stage-aware journey: immediate meaning, one clear next action. */
header{padding:20px 0}.eyebrow{margin-top:23px}.hero-kicker{margin-top:20px}h1{font-size:clamp(27px,6.4vw,36px);margin-bottom:22px}.reward-card{padding:22px}.reward-card>p{margin-bottom:12px}.reward-trust{display:flex;gap:6px;align-items:center;font-size:9px;line-height:1.6;color:#ffdfd4;margin-bottom:18px}.reward-trust>span{display:grid;place-items:center;border:1px solid #fff6;border-radius:50%;width:13px;height:13px;font-size:8px;flex-shrink:0}.reward-card .ticket-line{margin-top:0}.reward-card:before{animation-iteration-count:2;animation-duration:9s}.reward-card,.coin,.reward-spark{animation:none}#share{animation-duration:8s}
.journey-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 22px}.journey-counts>div{display:flex;flex-direction:column;align-items:center;border:1px solid #e6eee3;border-radius:12px;background:#f3f7ef;padding:12px 4px 10px}.journey-counts>div:nth-child(2){background:#fff9eb;border-color:#f2e8ca}.journey-counts>div:nth-child(3){background:#fff1eb;border-color:#f1ded3}.journey-counts strong{font-size:28px;line-height:1.1;letter-spacing:-1px;color:#4f744c;font-variant-numeric:tabular-nums}.journey-counts>div:nth-child(2) strong{color:#a37b25}.journey-counts>div:nth-child(3) strong{color:#b63b30}.journey-counts span{font-size:10px;color:#786e62;margin-top:7px}.progress-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#8a7768}.progress-caption strong{font-size:12px;color:var(--red)}.progress-numbers{margin-top:8px}.progress-numbers strong{font-size:30px;font-variant-numeric:tabular-nums}.milestones span{position:relative;padding-top:8px}.milestones span:before{content:"";position:absolute;left:50%;top:-4px;height:5px;width:5px;border-radius:50%;background:#dfd4c6}.milestones .done:before{background:var(--red)}.milestones .done{color:#aa7521}.next-step-box{display:flex;gap:9px;align-items:flex-start;background:#faf5ed;border-radius:10px;padding:12px;margin:14px 0 2px}.next-step-box p{margin:0;font-size:12px;line-height:1.65;color:#705b45}.next-step-icon{color:#ae7d35;font-size:18px;line-height:1.1}.secondary-action{background:#f4eddf;color:#795c31;border:1px solid #e6d8bf}.secondary-action:hover{background:#e9dfcc}.goal-banner{margin:12px 0}.goal-banner strong{font-size:17px}#account[data-stage=ready],#account[data-stage=paid]{border-color:#dfc17d;box-shadow:0 8px 30px #ad7b1610}#account[data-stage=ready] .section-label,#account[data-stage=paid] .section-label{color:#a57c2e}#account[data-stage=waiting] .progress-caption strong{color:#a37b25}#account[data-stage=ready] progress::-webkit-progress-value,#account[data-stage=paid] progress::-webkit-progress-value{background:linear-gradient(90deg,#d69c38,#efca6e)}progress::-webkit-progress-value{transition:none}
.guest-steps{padding:0;list-style:none;margin:22px 0}.guest-steps li{display:flex;gap:12px;margin:18px 0;align-items:flex-start}.guest-steps li>span{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:9px;background:#f5ead9;color:#a17435;font-size:12px;font-weight:700}.guest-steps strong{display:block;font-size:13px}.guest-steps small{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:4px}.guest-check-note{padding:12px 14px;border-left:2px solid #d7b575;background:#fbf5e9;font-size:11px;color:#8b714f}.event-card{display:grid;grid-template-columns:50px minmax(0,1fr);gap:12px;padding:20px 30px 18px 18px;max-width:470px}.event-icon{height:50px;width:50px;font-size:27px;border-radius:15px}.event-copy h2{font-size:19px}.event-action{grid-column:2;justify-self:start;max-width:100%;border:0;background:transparent;border-bottom:1px solid #cfa76f;color:#a46227;font-size:12px;font-weight:700;padding:2px 0 5px;text-align:left;line-height:1.5}.event-card[data-type=first] .event-icon{background:linear-gradient(135deg,#fbdbbf,#f2ba93);color:#b43f35;box-shadow:0 4px 0 #d5a07c}.demo-controls p{margin-bottom:0}.demo-controls .small-button:disabled{opacity:.4}
@media(max-width:350px){.journey-counts{gap:6px}.journey-counts span{font-size:9px}.journey-counts strong{font-size:26px}.progress-caption{font-size:9px}#account .section-head h2{font-size:18px}.event-card{grid-template-columns:42px minmax(0,1fr);gap:10px;padding-left:14px}.event-icon{width:42px;height:42px;font-size:24px}.event-copy h2{font-size:17px}.reward-trust{font-size:8px}}
body:has(dialog[open]) #share,body:has(dialog[open]) .reward-card:before{animation-play-state:paused}
.action-dock{position:fixed;z-index:35;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:580px;display:flex;align-items:center;gap:14px;padding:13px 22px max(13px,env(safe-area-inset-bottom));border-top:1px solid #e7daca;background:#fffcf6f5;box-shadow:0 -5px 25px #67452d0a;backdrop-filter:blur(12px)}.action-dock>div{flex:1;min-width:0}.action-dock>div>span{display:block;font-size:8px;letter-spacing:1px;color:#9b7f5b;line-height:1.5}.action-dock>div>strong{display:block;font-size:12px;margin-top:4px;line-height:1.4}.action-dock .primary{width:auto;max-width:58%;margin:0;padding:13px 15px;font-size:12px;border-radius:10px;line-height:1.4}body:has(.action-dock:not([hidden])){padding-bottom:90px}body:has(dialog[open]) .action-dock,body:has(.event-card:not([hidden])) .action-dock{visibility:hidden}@media(max-width:350px){.action-dock{gap:9px;padding-left:16px;padding-right:16px}.action-dock .primary{font-size:11px;padding:12px}.action-dock>div>strong{font-size:11px}}
.pwa-guide{margin-top:16px;padding:13px 14px;border:1px solid #e9dfd4;border-radius:10px;background:#faf7f2}.pwa-guide summary{font-size:12px;font-weight:700;color:#8d6539;cursor:pointer}.pwa-guide p{font-size:11px;color:#82736d;margin-bottom:0}
.helper-icon{display:grid;place-items:center;width:58px;height:58px;margin:18px 0;background:#f5ead5;border-radius:50%;font-size:30px;color:#9a753d}.helper-result[data-state=credited] .helper-icon{background:#e0efe1;color:#407b48}.helper-result h2{margin:12px 0}.helper-timeline{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:0;margin:24px 0;gap:6px}.helper-timeline li{font-size:10px;line-height:1.4;padding-top:12px;border-top:4px solid #e8e1d7;color:#968c80}.helper-timeline li.done{border-color:#b84438;color:#753a2f}.helper-timeline li[aria-current]{font-weight:800}.helper-own{border-top:1px solid #e8dfd3;padding-top:22px;margin-top:22px}.helper-own h3{font-size:20px;margin:10px 0}.helper-own .primary:disabled{background:#e7dfd3;color:#7a6d5d;box-shadow:none;cursor:default}

/* 到账凭条展示真实累计和下一步；邀请按钮仅在真实事件后轻弹。 */
#share{animation:none}.event-receipt{grid-column:2;background:#fff2d9;border:1px solid #f1dfba;border-radius:10px;padding:10px 12px}.event-receipt>div{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#a56c20}.event-receipt strong{font-size:12px;font-variant-numeric:tabular-nums}.event-receipt progress{display:block;height:6px;margin:8px 0;background:#eddfc7}.event-receipt progress::-webkit-progress-value{background:linear-gradient(90deg,#d9a147,#f0c45b)}.event-receipt small{display:block;font-size:10px;color:#907047;line-height:1.5}.event-card{row-gap:10px}.event-action{padding-top:4px;font-size:13px}.progress-numbers>strong{display:inline-block}
body.referral-modal-open .action-dock{display:none}body.referral-modal-open .reward-card:before{animation-play-state:paused}
@media(max-width:350px){.event-card{grid-template-columns:38px minmax(0,1fr);gap:9px;padding:17px 24px 17px 14px}.event-icon{width:38px;height:40px;font-size:22px;border-radius:12px}.event-copy h2{font-size:17px}.event-receipt{padding:9px}.event-action{font-size:12px}}

.helper-result[data-state=credited] .helper-icon{animation:referral-stamp .7s cubic-bezier(.2,.8,.3,1.3)}

/* 奶油金奖励卡、切面钻石和红包构成合成关系；数字和进度只读服务器。 */
.crystal-stage{position:relative;isolation:isolate;overflow:visible;margin:28px 0 20px;padding:25px 15px 12px;border:1px solid #efcf90;border-radius:20px;background:radial-gradient(ellipse at 50% 18%,#fffef5 5%,#fff9e6 55%,#fff2d0 100%);box-shadow:0 3px 0 #f1dfb8,0 8px 20px #bc7b1320,inset 0 1px #fff;text-align:center}.crystal-tab{position:absolute;left:50%;top:-13px;transform:translateX(-50%);padding:7px 22px;border:1px solid #ecc983;border-top-color:#fff2ce;border-radius:5px 5px 18px 18px;background:linear-gradient(#fffdf2,#fbe5b7);box-shadow:0 2px 4px #ab722018;color:#9d6527;font-size:9px;font-weight:800;letter-spacing:1.1px;white-space:nowrap}.crystal-stage h3{color:#9e541f;font-size:21px;letter-spacing:-.6px;margin:1px 0 3px}.crystal-subtitle{margin:0 0 12px;font-size:10px;color:#a5824f;line-height:1.5}.crystal-forge{display:flex;align-items:center;justify-content:center;gap:9px;min-height:138px;padding:12px 10px 8px;border:1px solid #f7e7c6;border-radius:15px;background:linear-gradient(150deg,#ffffffed,#fffef8b5);box-shadow:inset 0 1px #fff,0 4px 12px #bc7b1307}.crystal-gem{position:relative;isolation:isolate;flex:0 1 126px;min-width:0;height:112px;display:grid;place-items:center;transform-origin:50% 80%}.faceted-gem{position:relative;z-index:1;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 7px 4px #b37a293a)}.gem-halo{position:absolute;inset:2% -12% -4%;background:radial-gradient(ellipse,#ffdd6c5e,transparent 69%);border-radius:50%;pointer-events:none}.gem-glint{position:absolute;z-index:2;width:19px;height:25px;background:linear-gradient(135deg,#fff,#ffe499);clip-path:polygon(50% 0,61% 37%,100% 50%,62% 61%,50% 100%,38% 62%,0 50%,38% 39%);filter:drop-shadow(0 0 3px #fff);pointer-events:none}.glint-one{left:13%;top:10%;transform:rotate(8deg)}.glint-two{right:9%;top:40%;width:10px;height:14px;opacity:.85}.loose-shard,.gem-particle{display:block;clip-path:polygon(22% 6%,77% 6%,100% 37%,51% 100%,0 37%);background:conic-gradient(from 0deg at 50% 36%,#fff2ad 0deg 52deg,#ffca4b 52deg 110deg,#dc841c 110deg 175deg,#ffe399 175deg 235deg,#f7b63c 235deg 295deg,#fff6c6 295deg);box-shadow:inset 0 0 2px #fff}.loose-shard{position:absolute;z-index:2;width:18px;height:17px;filter:drop-shadow(0 2px 1px #b67a3026)}.shard-one{left:-2%;top:55%;transform:rotate(-25deg) scale(.8)}.shard-two{right:-1%;top:3%;transform:rotate(18deg) scale(.7)}.shard-three{right:0;bottom:2%;transform:rotate(-16deg) scale(.55)}.forge-arrow{flex:0 0 25px;color:#e7a24b;font-size:38px;line-height:1;font-weight:900;letter-spacing:-10px;padding-right:8px;text-shadow:0 1px #fff}.forge-arrow i{font:inherit;opacity:.45}.forge-cash{position:relative;isolation:isolate;overflow:hidden;flex:0 0 78px;height:88px;padding:10px 5px 0;background:linear-gradient(155deg,#ffab67,#ed5137 56%,#cd3029);border-radius:10px 10px 14px 14px;border:1px solid #e55b3d;box-shadow:0 4px 0 #b6503623,inset 0 1px #ffd4b4;transform:rotate(5deg)}.forge-cash:before{content:"";position:absolute;z-index:-1;width:116px;height:75px;left:50%;top:-24px;transform:translateX(-50%);border-radius:0 0 55% 55%;background:linear-gradient(#fff9dc,#ffe7b5);border-bottom:2px solid #d58f4a;box-shadow:0 2px 0 #b53c2417}.forge-cash>span{display:block;color:#c5422c;font-size:23px;font-weight:850;letter-spacing:-1px}.forge-cash>i{display:grid;place-items:center;width:23px;height:23px;margin:2px auto 0;border:2px solid #ffe28b;border-radius:50%;background:linear-gradient(#fff2b1,#efbd54);color:#a76a26;font-size:13px;font-style:normal;font-weight:800;box-shadow:0 2px 2px #b9453330}.forge-cash>small{display:block;font-size:5px;letter-spacing:.35px;font-weight:700;color:#fff3d1;margin-top:5px}.crystal-total{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;column-gap:5px;margin:14px 0 8px;color:#a46d2b}.crystal-total strong{font-size:26px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.8px;color:#ab6022}.crystal-total>span{font-size:11px}.crystal-total>b{width:100%;margin-top:6px;font-size:10px;font-weight:600;color:#b88d58}.crystal-stage progress{height:7px;box-shadow:0 1px #fff,inset 0 1px 2px #a26b2218}.crystal-stage progress::-webkit-progress-bar{background:#eddec6}.crystal-stage progress::-webkit-progress-value{background:linear-gradient(90deg,#e6a43c,#ffd966);box-shadow:1px 0 4px #d6a04b}.crystal-stage progress::-moz-progress-bar{background:#e6af4b}.crystal-exchange{margin:8px 0 0;color:#ae8753;font-size:9px;line-height:1.4}.crystal-exchange span{margin:0 4px;color:#d59c43}.crystal-stage[data-complete=true]{border-color:#e3b758;background:radial-gradient(ellipse at 50% 10%,#fffdf2,#fff1c7)}.crystal-stage[data-complete=true] .crystal-total>b{color:#8c6924}.reward-progress-note{border-left:2px solid #dbac58;padding-left:10px}.progressive-rewards .progress-numbers{flex-wrap:wrap}.progressive-rewards .progress-numbers strong{font-variant-numeric:tabular-nums;font-size:38px}.progressive-rewards .progress-numbers #target{font-size:11px}.progressive-rewards #event-title{overflow-wrap:anywhere}.progressive-rewards #event-progress-label{font-variant-numeric:tabular-nums}.gem-particle{width:24px;height:23px;font-size:0!important}.gem-particle:after{content:"";position:absolute;left:12%;right:12%;top:34%;height:1px;background:#fff1bc99}.forge-flash{position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;background:radial-gradient(ellipse,#fff9d6b3,transparent 67%)}#event-icon[data-gem=true]{background:conic-gradient(from 0deg at 50% 36%,#fff2ad 0deg 52deg,#ffca4b 52deg 110deg,#dc841c 110deg 175deg,#ffe399 175deg 235deg,#f7b63c 235deg 295deg,#fff6c6 295deg);clip-path:polygon(22% 6%,77% 6%,100% 37%,51% 100%,0 37%);border-radius:0;box-shadow:none;color:transparent;transform:rotate(-5deg)}
@media(max-width:350px){.crystal-forge{gap:4px;padding:9px 5px;min-height:119px}.crystal-gem{height:94px}.forge-cash{flex-basis:65px;height:77px}.forge-cash>span{font-size:21px}.forge-cash>small{font-size:4px;margin-top:3px}.forge-arrow{flex-basis:20px;font-size:31px}.crystal-stage h3{font-size:19px}.crystal-stage{padding:23px 11px 12px}.crystal-subtitle{font-size:9px}}
@media(prefers-reduced-motion:reduce){.crystal-stage *{animation:none!important;transition:none!important}}

/* 总目标和当前进度同时可见，目标取自服务端活动配置。 */
.goal-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 4px;padding:12px 14px;background:#fff5e5;border:1px solid #ead4ad;border-radius:11px}.goal-total>span{font-size:9px;font-weight:750;letter-spacing:1px;color:#846541}.goal-total>strong{font-size:27px;line-height:1.1;color:#b12e2d;white-space:nowrap;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
