/* Figma-native 393 × 852 rewards screens; the surrounding phone owns responsive scaling. */
#order-rewards .rw-ui{position:absolute;left:0;top:0;width:393px;height:852px;overflow:hidden;border-radius:40px;background:#f9f9f9;color:#000;font:16px/24px 'Inter Tight',Arial,sans-serif;letter-spacing:0;text-align:left}
#order-rewards .rw-ui *,#order-rewards .rw-weekly-card *{box-sizing:border-box}
#order-rewards .rw-ui p,#order-rewards .rw-ui h3,#order-rewards .rw-ui h4,#order-rewards .rw-weekly-card p{margin:0}
#order-rewards :where(.rw-ui) button,#order-rewards .rw-weekly-card{font:inherit;color:inherit;border:0;cursor:pointer;position:relative;text-align:inherit}
#order-rewards .rw-ui small{font-size:12px;line-height:16px;font-weight:400;color:rgba(0,0,0,.56)}
#order-rewards .rw-ui b,#order-rewards .rw-ui strong,#order-rewards .rw-weekly-card b{font-weight:500}
#order-rewards .rw-ui img,#order-rewards .rw-weekly-card img{display:block;flex:none;max-width:none}
#order-rewards .rw-ui button:focus-visible,#order-rewards .rw-weekly-card:focus-visible{outline:3px solid #7635df;outline-offset:-3px}
#order-rewards .rw-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;vertical-align:middle}
#order-rewards .rw-pulse{position:absolute;width:10px;height:10px;border-radius:50%;background:#7635df;box-shadow:0 0 0 3px #ffffffa0;z-index:4;pointer-events:none;right:12px;top:50%;margin-top:-5px}
#order-rewards .rw-pulse:before,#order-rewards .rw-pulse:after{content:'';position:absolute;inset:-2px;border:2px solid #7635df;border-radius:50%;animation:rw-guide-pulse 1.7s ease-out infinite}
#order-rewards .rw-pulse:after{animation-delay:.65s}
#order-rewards .rw-pulse[hidden]{display:none}
#order-rewards .rw-profile-content{display:flex;flex-direction:column;gap:8px;width:393px}
#order-rewards .rw-profile-identity{display:flex;align-items:center;flex-direction:column;gap:24px;padding:20px 0 16px;border-radius:0 0 20px 20px;background:white;height:280px}
#order-rewards .rw-profile-person{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%}
#order-rewards .rw-avatar{display:block;width:88px;height:88px;border-radius:50%;overflow:hidden;flex:none}
#order-rewards .rw-profile-name{display:flex;align-items:center;justify-content:center;gap:0;background:none;padding:0}
#order-rewards .rw-profile-name h3{font-size:28px;line-height:32px;letter-spacing:-.56px;font-weight:700}
#order-rewards .rw-quick-actions{display:flex;gap:16px;width:100%}
#order-rewards .rw-quick-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:none;flex:1;min-width:0;padding:0}
#order-rewards .rw-quick-action>span{display:flex;align-items:center;justify-content:center;width:56px;height:56px;background:#fff;border-radius:50%;box-shadow:0 4px 4px #0000001a}
#order-rewards .rw-quick-action>b{font-size:14px;line-height:20px;letter-spacing:.14px;font-weight:500}
#order-rewards .rw-profile-earnings{background:#fff;border-radius:20px;padding:12px 16px;display:flex;flex-direction:column;gap:24px;height:292px}
#order-rewards .rw-balance-block{display:flex;flex-direction:column;gap:8px}
#order-rewards .rw-nav-row{display:flex;align-items:center;gap:12px;width:100%;padding:0;background:none;min-height:40px}
#order-rewards .rw-nav-row>b{flex:1;font-size:16px;line-height:24px;font-weight:500}
#order-rewards .rw-row-icon{display:flex;align-items:center;justify-content:center;background:#f0f0f0;border-radius:50%;width:40px;height:40px;flex:none}
#order-rewards .rw-earnings-chart{display:flex;gap:3px;width:361px;height:104px;overflow:hidden}
#order-rewards .rw-earnings-column{flex:1;min-width:0;text-align:center;display:flex;flex-direction:column;gap:4px;color:rgba(0,0,0,.56)}
#order-rewards .rw-bar-area{position:relative;height:68px;width:100%;flex:none}
#order-rewards .rw-earnings-bar{position:absolute;bottom:0;left:0;right:0;height:var(--rw-bar-height);border-radius:8px;background:#ebebeb;transform-origin:50% 100%;animation:rw-bar-grow 1s var(--rw-delay,0ms) cubic-bezier(.16,1,.3,1) both}
#order-rewards .rw-bar-area>b{position:absolute;left:0;right:0;bottom:var(--rw-bar-height);font-size:12px;line-height:16px;letter-spacing:.24px;font-weight:500}
#order-rewards .rw-chart-date{font-size:14px;line-height:20px;letter-spacing:.14px;font-weight:400}
#order-rewards .rw-chart-weekday{font-size:12px;line-height:16px;letter-spacing:.24px}
#order-rewards .rw-earnings-column.is-today{color:#000}
#order-rewards .rw-earnings-column.is-today .rw-earnings-bar{background:#7635df}
#order-rewards .rw-earnings-column.is-today .rw-chart-date,#order-rewards .rw-earnings-column.is-today .rw-chart-weekday{font-weight:500}
#order-rewards .rw-weekly-card{display:flex;flex-direction:column;align-items:center;gap:12px;width:361px;height:92px;padding:12px 16px;background:#248bff;border-radius:12px;color:#fff;font-family:'Inter Tight',Arial,sans-serif;font-size:14px;line-height:20px;text-align:left;flex:none;box-sizing:border-box;overflow:visible}
#order-rewards .rw-weekly-top{display:flex;align-items:center;gap:12px;width:100%;height:36px}
#order-rewards .rw-weekly-trophy{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:rgba(0,0,0,.06);flex:none}
#order-rewards .rw-weekly-label{display:flex;flex-direction:column;flex:1;min-width:0}
#order-rewards .rw-weekly-label>small{font-size:12px;line-height:16px;letter-spacing:.24px;color:white;font-weight:400}
#order-rewards .rw-weekly-label>b{font-size:14px;line-height:20px;letter-spacing:.14px;white-space:nowrap}
#order-rewards .rw-weekly-amount{display:flex;align-items:center;gap:8px;flex:none}
#order-rewards .rw-weekly-amount>b{font-size:20px;line-height:28px;font-weight:500;white-space:nowrap;letter-spacing:0}
#order-rewards .rw-weekly-card>.rw-pulse{top:auto;bottom:18px;margin:0;left:150px;right:auto}
#order-rewards .rw-progress-row{display:flex;align-items:center;gap:10px;width:100%;height:20px}
#order-rewards .rw-progress{height:10px;flex:1;min-width:0;background:rgba(0,0,0,.06);border-radius:999px;position:relative}
#order-rewards .rw-progress-fill{display:block;height:100%;border-radius:inherit;background:#a5f46d;width:0}
#order-rewards .rw-progress-caption{font-size:14px;line-height:20px;letter-spacing:.14px;white-space:nowrap;color:inherit;flex:none}
#order-rewards .rw-profile-more{background:#fff;border-radius:20px 20px 0 0;padding:0 16px}
#order-rewards .rw-profile-more .rw-nav-row{min-height:64px;padding:12px 0}
#order-rewards .rw-profile-divider{height:1px;background:rgba(0,0,0,.08);margin-left:68px;margin-right:16px}
#order-rewards .rw-bottom-nav{position:absolute;left:0;right:0;bottom:0;height:84px;display:flex;align-items:flex-start;padding-bottom:20px;background:#fff}
#order-rewards .rw-bottom-nav>span{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;flex:1;padding:8px 0;background:none;color:rgba(0,0,0,.56);font-size:12px;line-height:16px;letter-spacing:.24px}
#order-rewards .rw-bottom-nav>span[aria-current="page"]{font-weight:500;color:#000}
#order-rewards .rw-header{display:flex;align-items:center;justify-content:space-between;width:393px;height:80px;padding:30px 16px 10px;flex:none}
#order-rewards .rw-header h3{margin:0;font-size:18px;line-height:24px;letter-spacing:0;font-weight:500;text-align:center;flex:1}
#order-rewards .rw-header-spacer{width:40px;flex:none}
#order-rewards .rw-round-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#fff;padding:0;box-shadow:0 4px 4px #0000001a;flex:none}
#order-rewards .rw-header .rw-pulse{width:8px;height:8px;right:3px;top:3px;margin:0}
#order-rewards .rw-bonus-header{background:#248bff}
#order-rewards .rw-bonus-content{display:flex;flex-direction:column;gap:8px}
#order-rewards .rw-bonus-hero{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;height:188px;padding:12px 16px;background:#248bff;color:#fff;border-radius:0 0 20px 20px;overflow:hidden;isolation:isolate}
#order-rewards .rw-bonus-trophy{position:absolute;left:233px;top:-10px;width:242px;height:242px;mix-blend-mode:soft-light;z-index:-1;animation:rw-trophy-in .8s cubic-bezier(.22,1,.36,1) both;transform-origin:50% 55%;pointer-events:none}
#order-rewards .rw-trophy-art{animation:rw-trophy-float 5.5s .8s ease-in-out infinite;transform-origin:50% 55%}
#order-rewards .rw-bonus-title{display:flex;flex-direction:column;width:100%;flex:none}
#order-rewards .rw-bonus-title>p{font-size:18px;line-height:24px;font-weight:400}
#order-rewards .rw-bonus-title>h3{font-size:40px;line-height:48px;font-weight:500;letter-spacing:-.8px;white-space:nowrap}
#order-rewards .rw-period-button{display:flex;align-items:center;justify-content:center;gap:6px;height:32px;background:#fff;color:#000;padding:6px 12px;border-radius:999px;font-size:14px;line-height:20px;letter-spacing:.14px;font-weight:500}
#order-rewards .rw-period-button .rw-pulse{right:-5px;width:8px;height:8px;margin-top:-4px}
#order-rewards .rw-bonus-progress{height:44px;padding:12px 0}
#order-rewards .rw-daily-panel,#order-rewards .rw-requirements{display:flex;flex-direction:column;gap:16px;padding:8px 16px 12px;width:393px;background:#fff;border-radius:20px}
#order-rewards .rw-daily-panel>h4,#order-rewards .rw-requirements>h4{font-size:18px;line-height:24px;font-weight:500;letter-spacing:0}
#order-rewards .rw-days{display:flex;align-items:center;justify-content:space-between;width:100%;height:48px}
#order-rewards .rw-day{display:flex;flex-direction:column;align-items:center;justify-content:center;width:52px;height:48px;border-radius:8px;text-align:center;font-size:14px;line-height:20px;letter-spacing:.14px}
#order-rewards .rw-day.is-selected{background:#f0f0f0;font-weight:500}
#order-rewards .rw-day>small{font-size:12px;line-height:16px;letter-spacing:.24px}
#order-rewards .rw-daily-summary{position:relative;border:1px solid rgba(0,0,0,.12);border-radius:20px;width:361px;height:154px;overflow:hidden}
#order-rewards .rw-service-counts{display:flex;flex-direction:column;gap:6px;width:353px;height:96px;padding:12px 16px}
#order-rewards .rw-service-counts>div{display:flex;align-items:center;justify-content:space-between;font-size:14px;line-height:20px;letter-spacing:.14px;color:rgba(0,0,0,.56)}
#order-rewards .rw-service-counts b{font-weight:500;color:#248bff}
#order-rewards .rw-summary-divider{position:absolute;left:0;top:95.5px}
#order-rewards .rw-daily-total{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;width:359px;height:56px}
#order-rewards .rw-daily-total>span{font-size:16px;line-height:24px;color:rgba(0,0,0,.56)}
#order-rewards .rw-daily-total>b{font-size:18px;line-height:24px;color:#248bff;font-weight:500;white-space:nowrap}
#order-rewards .rw-requirement{display:flex;align-items:center;gap:12px;min-height:40px}
#order-rewards .rw-check-circle{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;background:#69d11f;border-radius:50%;animation:rw-check-pop .5s var(--rw-delay,.5s) cubic-bezier(.22,1,.36,1) both}
#order-rewards .rw-check-circle>img{animation:rw-check-draw .55s calc(var(--rw-delay,.5s) + .15s) ease both}
#order-rewards .rw-requirement p{display:flex;flex-direction:column;min-width:0;flex:1}
#order-rewards .rw-requirement small{font-size:12px;line-height:16px;letter-spacing:.24px;color:rgba(0,0,0,.48)}
#order-rewards .rw-requirement b{font-size:16px;line-height:24px;font-weight:500;white-space:nowrap}
#order-rewards .rw-info-layer{position:absolute;inset:0;z-index:10;pointer-events:none}
#order-rewards .rw-info-tip{position:absolute;left:16px;top:208px;width:361px;padding-top:9px;filter:drop-shadow(0 0 12px #0000001a);pointer-events:auto;animation:rw-tooltip-in .24s cubic-bezier(.22,1,.36,1) both;transform-origin:22px 0}
#order-rewards .rw-info-body{background:#fff;border-radius:16px;padding:16px;min-height:160px;display:flex;flex-direction:column;gap:8px}
#order-rewards .rw-info-body h4{font-size:18px;line-height:24px;font-weight:500;margin:0}
#order-rewards .rw-info-body p{font-size:16px;line-height:24px;font-weight:400;margin:0}
#order-rewards .rw-info-body strong{font-weight:500}
#order-rewards .rw-info-pointer{position:absolute;top:0;left:10.742px;z-index:-1}
#order-rewards .rw-history-list{padding:12px 16px 24px;display:flex;flex-direction:column;gap:12px}
#order-rewards .rw-history-group{display:flex;flex-direction:column;gap:8px}
#order-rewards .rw-history-group>h4{font-size:14px;line-height:20px;letter-spacing:.14px;font-weight:500;color:rgba(0,0,0,.48)}
#order-rewards .rw-history-card{display:flex;flex-direction:column;gap:12px;background:rgba(0,0,0,.03);border-radius:12px;padding:12px 16px;width:361px;min-height:84px;animation:rw-card-in .5s var(--rw-delay,0ms) cubic-bezier(.22,1,.36,1) both}
#order-rewards .rw-history-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px}
#order-rewards .rw-history-title{display:flex;flex-direction:column;flex:1;min-width:0}
#order-rewards .rw-history-title>small{font-size:12px;line-height:16px;letter-spacing:.24px;color:rgba(0,0,0,.48)}
#order-rewards .rw-history-title>b{font-size:14px;line-height:20px;letter-spacing:.14px;font-weight:500;white-space:nowrap}
#order-rewards .rw-history-amount{font-size:20px;line-height:28px;font-weight:500;white-space:nowrap}
#order-rewards .rw-history-card.is-muted .rw-history-amount{color:rgba(0,0,0,.56)}
#order-rewards .rw-history-card .rw-progress-caption{color:rgba(0,0,0,.56)}
#order-rewards .rw-history-card .rw-progress-caption>span{color:#000}
#order-rewards .rw-history-state{flex:none;font-size:14px;line-height:20px;letter-spacing:.14px;white-space:nowrap;color:#4b9e10}
#order-rewards .rw-history-state.is-failed{color:#e40456}
#order-rewards .rw-history-state.is-pending{color:rgba(0,0,0,.48)}
#order-rewards .rw-history-progress{gap:12px}
#order-rewards .rw-history-progress .rw-check-circle{position:absolute;right:0;top:50%;margin-top:-12px;width:24px;height:24px}
#order-rewards.rw-paused *,#order-rewards.rw-paused *:before,#order-rewards.rw-paused *:after,#order-rewards .rw-paused,#order-rewards .rw-paused *,#order-rewards .rw-paused *:before,#order-rewards .rw-paused *:after{animation-play-state:paused!important}
@keyframes rw-guide-pulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(2.8);opacity:0}}
@keyframes rw-bar-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes rw-trophy-in{from{opacity:0;transform:translateY(12px) scale(.85)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes rw-trophy-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-6px) rotate(4deg)}}
@keyframes rw-check-pop{from{opacity:0;transform:scale(.65)}to{opacity:1;transform:scale(1)}}
@keyframes rw-check-draw{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes rw-tooltip-in{from{opacity:0;transform:translateY(-5px) scale(.97)}to{opacity:1;transform:none}}
@keyframes rw-card-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#order-rewards .rw-ui *,#order-rewards .rw-weekly-card,#order-rewards .rw-weekly-card *{animation:none!important;transition:none!important}#order-rewards .rw-pulse:before,#order-rewards .rw-pulse:after{display:none}}
