/* Reward Hub + Event Hours: uses each site's existing theme variables. */
:root{
  --rx-primary:var(--color-primary,#2563eb);
  --rx-primary-strong:var(--color-primary-hover,#1d4ed8);
  --rx-primary-soft:var(--color-primary-soft,#e8f0ff);
  --rx-accent:var(--color-accent,#d97706);
  --rx-accent-soft:var(--color-accent-soft,#fff3d6);
  --rx-surface:var(--color-surface,#fff);
  --rx-surface-soft:var(--color-surface-soft,#f7f8fb);
  --rx-bg:var(--color-bg,#f5f7fb);
  --rx-text:var(--color-text,#1f2937);
  --rx-heading:var(--color-heading,var(--color-text,#111827));
  --rx-muted:var(--color-text-muted,#687386);
  --rx-border:var(--color-border,#dce2ea);
  --rx-success:var(--color-success,#15935b);
  --rx-danger:var(--color-danger,#d64045);
  --rx-shadow:0 22px 60px rgba(24,35,58,.2);
}
.rx-hidden{display:none!important}
.rx-status-shell{margin:10px 0 16px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;color:var(--rx-text)}
.rx-status-main{display:flex;align-items:center;gap:10px;min-width:230px}.rx-status-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--rx-surface);box-shadow:0 5px 14px rgba(31,41,55,.08);font-size:20px}.rx-status-copy strong{display:block;color:var(--rx-heading);font-size:.9rem}.rx-status-copy small{display:block;color:var(--rx-muted);margin-top:2px}.rx-status-chips{display:flex;gap:7px;flex-wrap:wrap;align-items:center;justify-content:center;width:100%}.rx-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid var(--rx-border);border-radius:999px;background:var(--rx-surface);font-size:.75rem;font-weight:800;color:var(--rx-text);white-space:nowrap}.rx-chip.live{border-color:color-mix(in srgb,var(--rx-success) 42%,var(--rx-border));background:color-mix(in srgb,var(--rx-success) 11%,var(--rx-surface));color:var(--rx-success)}.rx-chip.ready{border-color:color-mix(in srgb,var(--rx-accent) 48%,var(--rx-border));background:var(--rx-accent-soft);color:var(--rx-accent)}
.rx-floating-dock{position:fixed;right:16px;top:35%;z-index:940;display:grid;gap:11px;max-height:62vh;align-content:start}.rx-float-button{position:relative;width:86px;min-height:78px;padding:9px 7px;border:1px solid var(--rx-border);border-right:4px solid var(--rx-primary);border-radius:18px;background:var(--rx-surface);color:var(--rx-text);box-shadow:0 14px 34px rgba(24,35,58,.17);display:grid;place-items:center;gap:4px;font:850 11px/1.15 var(--font-main,system-ui);cursor:pointer;transition:transform .18s,box-shadow .18s,border-color .18s}.rx-float-button:hover{transform:translateX(-5px) translateY(-2px);box-shadow:0 18px 42px rgba(24,35,58,.24);border-color:var(--rx-primary)}.rx-float-icon{width:39px;height:39px;border-radius:13px;background:var(--rx-primary-soft);display:grid;place-items:center;font-size:22px}.rx-float-state{font-size:9px;color:var(--rx-muted);font-weight:750}.rx-notice-dot{position:absolute;top:8px;left:9px;width:10px;height:10px;border-radius:50%;background:var(--rx-accent);box-shadow:0 0 0 3px var(--rx-surface)}
.rx-tab-entry strong{font-size:1.05rem}.rx-header-entry{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:pointer;padding:0;text-decoration:none;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.rx-header-entry:hover{color:var(--rx-primary)}
.rx-dialog{width:min(820px,calc(100vw - 22px));max-height:calc(100dvh - 22px);padding:0;border:0;border-radius:25px;background:var(--rx-surface);color:var(--rx-text);box-shadow:0 34px 110px rgba(18,28,49,.42);overflow:hidden}.rx-dialog::backdrop{background:rgba(27,38,59,.64);backdrop-filter:blur(4px)}.rx-dialog-card{display:grid;grid-template-rows:auto 1fr;max-height:calc(100dvh - 22px)}.rx-dialog-head{display:flex;align-items:center;gap:13px;padding:18px 20px;border-bottom:1px solid var(--rx-border);background:linear-gradient(120deg,var(--rx-surface),var(--rx-primary-soft))}.rx-dialog-head-icon{width:47px;height:47px;flex:0 0 47px;border-radius:15px;background:var(--rx-surface);display:grid;place-items:center;font-size:25px;box-shadow:0 7px 18px rgba(31,41,55,.09)}.rx-dialog-head h2{margin:0;font:900 1.18rem/1.2 var(--font-main,system-ui);color:var(--rx-heading)}.rx-dialog-head p{margin:4px 0 0;color:var(--rx-muted);font-size:.84rem}.rx-close{margin-left:auto;width:39px;height:39px;flex:0 0 39px;border:1px solid var(--rx-border);border-radius:12px;background:var(--rx-surface);color:var(--rx-heading);font-size:21px;line-height:1;cursor:pointer}.rx-dialog-body{padding:18px 20px 20px;overflow:hidden}.rx-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:13px}.rx-card{border:1px solid var(--rx-border);border-radius:17px;background:var(--rx-surface);padding:15px}.rx-card.soft{background:var(--rx-surface-soft)}.rx-card h3{margin:0 0 5px;color:var(--rx-heading);font-size:1rem}.rx-muted{color:var(--rx-muted);font-size:.84rem}.rx-form-row{display:flex;gap:9px;margin-top:12px}.rx-input{flex:1;min-width:0;height:48px;border:1px solid var(--rx-border);border-radius:13px;background:var(--rx-surface);color:var(--rx-text);padding:0 13px;font:inherit}.rx-action{min-height:46px;border:0;border-radius:13px;padding:0 17px;background:var(--rx-primary);color:#fff;font-weight:850;cursor:pointer}.rx-action:hover{background:var(--rx-primary-strong)}.rx-action:disabled{opacity:.46;cursor:not-allowed}.rx-message{min-height:20px;margin:10px 0 0;font-size:.84rem;font-weight:800}.rx-history{display:grid;gap:7px;margin-top:10px}.rx-history-row{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:11px;background:var(--rx-surface-soft);font-size:.78rem}.rx-history-row span:last-child{color:var(--rx-muted)}
.rx-box-layout{display:grid;grid-template-columns:220px 1fr;gap:22px;align-items:center;min-height:350px}.rx-box-stage{display:grid;place-items:center;min-height:260px;perspective:900px}.rx-box{position:relative;width:170px;height:160px;transform-style:preserve-3d;transition:filter .3s,opacity .3s,transform .3s;cursor:pointer}.rx-box-base{position:absolute;left:13px;right:13px;bottom:0;height:116px;border-radius:19px 19px 28px 28px;background:linear-gradient(145deg,var(--rx-primary),var(--rx-accent));display:grid;place-items:center;color:#fff;font-size:58px;box-shadow:0 23px 40px color-mix(in srgb,var(--rx-primary) 30%,transparent)}.rx-box-lid{position:absolute;z-index:2;left:0;right:0;top:18px;height:43px;border-radius:15px;background:linear-gradient(135deg,var(--rx-accent),var(--rx-primary));transform-origin:left bottom}.rx-box-ribbon-v{position:absolute;z-index:3;left:73px;top:27px;width:24px;height:119px;background:rgba(255,255,255,.7)}.rx-box-ribbon-h{position:absolute;z-index:3;left:14px;right:14px;top:72px;height:21px;background:rgba(255,255,255,.7)}.rx-box.absent{filter:grayscale(1);opacity:.27;transform:scale(.86)}.rx-box.locked{filter:saturate(.35);opacity:.65}.rx-box.locked::after{content:'🔒';position:absolute;z-index:5;inset:61px 0 auto;text-align:center;font-size:40px}.rx-box.no_box{animation:rxNoBox .78s both;filter:grayscale(.7);opacity:.45}.rx-box.ready{animation:rxFloat 1.6s ease-in-out infinite}.rx-box.opening .rx-box-lid{animation:rxLid .75s ease forwards}.rx-box.opening{animation:rxOpen .75s ease}.rx-box.won{animation:rxWon .85s ease both}.rx-spark{position:absolute;z-index:6;color:var(--rx-accent);font-size:27px;animation:rxSpark 1.2s ease-in-out infinite}.rx-spark.one{left:-6px;top:0}.rx-spark.two{right:-4px;top:2px;animation-delay:.35s}.rx-state-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--rx-primary-soft);color:var(--rx-primary-strong);font-size:.72rem;font-weight:900}.rx-box-copy h2{margin:12px 0 7px;color:var(--rx-heading);font-size:1.35rem}.rx-reward-table{margin:13px 0;border:1px solid var(--rx-border);border-radius:14px;overflow:hidden}.rx-fixed-reward{text-align:center;padding:15px;background:var(--rx-primary-soft)}.rx-fixed-reward strong{display:block;color:var(--rx-primary-strong);font-size:1.3rem;margin-top:3px}.rx-prob-row{display:grid;grid-template-columns:1fr 58px;gap:10px;align-items:center;padding:9px 11px;border-top:1px solid var(--rx-border);font-size:.78rem}.rx-prob-row:first-child{border-top:0}.rx-prob-row b{text-align:right}.rx-prob-bar{height:7px;border-radius:999px;background:var(--rx-surface-soft);overflow:hidden;margin-top:5px}.rx-prob-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--rx-primary),var(--rx-accent));border-radius:inherit}
.rx-event-dialog{width:min(690px,calc(100vw - 22px))}.rx-event-top{position:relative;text-align:center;padding:21px 20px 14px;background:linear-gradient(145deg,var(--rx-primary-soft),var(--rx-surface))}.rx-event-ring{width:245px;height:185px;position:relative;margin:0 auto}.rx-event-ring svg{width:100%;height:100%;transform:rotate(135deg)}.rx-event-ring circle{fill:none;stroke-width:11;stroke-linecap:round}.rx-event-track{stroke:color-mix(in srgb,var(--rx-border) 75%,transparent);stroke-dasharray:330 110}.rx-event-progress{stroke:var(--rx-primary);stroke-dasharray:330 110;stroke-dashoffset:var(--rx-ring-offset,35);transition:stroke-dashoffset .5s}.rx-event-time{position:absolute;inset:52px 0 auto;text-align:center}.rx-event-time small{display:block;color:var(--rx-muted);font-weight:750}.rx-event-time strong{display:block;font:900 2.25rem/1.15 var(--font-main,system-ui);color:var(--rx-primary-strong);letter-spacing:1px}.rx-event-live{display:inline-flex;padding:6px 12px;border-radius:999px;background:var(--rx-primary);color:#fff;font-size:.72rem;font-weight:900}.rx-event-detail{padding:17px 20px 20px}.rx-event-detail h2{margin:0 0 8px;color:var(--rx-heading);font-size:1.28rem}.rx-event-bonuses{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.rx-event-bonus{padding:10px 11px;border:1px solid var(--rx-border);border-radius:13px;background:var(--rx-surface-soft)}.rx-event-bonus-head{display:flex;justify-content:space-between;gap:8px;font-size:.8rem}.rx-event-bonus-head strong{color:var(--rx-primary-strong)}.rx-event-bar{height:7px;border-radius:999px;background:var(--rx-surface);overflow:hidden;margin-top:7px}.rx-event-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--rx-primary),var(--rx-accent))}.rx-event-next{padding:11px 12px;border-radius:13px;background:var(--rx-primary-soft);color:var(--rx-text);font-size:.82rem;font-weight:750}.rx-no-ads-note{padding:13px;border:1px solid var(--rx-border);border-radius:14px;background:var(--rx-surface-soft);line-height:1.5}.rx-rain{position:fixed;inset:0;z-index:890;pointer-events:none;overflow:hidden}.rx-rain-drop{position:absolute;top:-12%;animation:rxFall linear infinite;opacity:.76;filter:drop-shadow(0 5px 4px rgba(20,30,50,.15))}
body.rx-no-ads [data-ad-slot],body.rx-no-ads .monetization-slot,body.rx-no-ads .popup-ad,body.rx-no-ads .popunder,body.rx-no-ads [data-popup-ad],body.rx-no-ads iframe[src*="ad"]{display:none!important}
@keyframes rxNoBox{20%,60%{transform:translateX(-8px) rotate(-3deg)}40%,80%{transform:translateX(8px) rotate(3deg)}100%{transform:scale(.86)}}
@keyframes rxFloat{50%{transform:translateY(-6px) rotate(-1deg)}}
@keyframes rxLid{to{transform:translate(-20px,-52px) rotate(-17deg)}}
@keyframes rxOpen{45%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes rxWon{42%{transform:scale(1.19) rotate(4deg)}100%{transform:scale(1)}}
@keyframes rxSpark{50%{transform:translateY(-7px) scale(1.24);opacity:.5}}
@keyframes rxFall{to{transform:translateY(116vh) rotate(420deg)}}
@media(max-width:760px){
  .rx-floating-dock{right:7px;top:auto;bottom:82px;gap:8px;max-height:56vh}.rx-float-button{width:64px;min-height:61px;border-radius:15px;font-size:9px;padding:6px 4px}.rx-float-icon{width:32px;height:32px;font-size:18px}.rx-float-state{display:none}
  .rx-dialog{border-radius:20px}.rx-dialog-head{padding:14px}.rx-dialog-body{padding:14px}.rx-grid-2{grid-template-columns:1fr}.rx-box-layout{grid-template-columns:1fr;gap:4px;min-height:0}.rx-box-stage{min-height:205px}.rx-box{transform:scale(.86)}.rx-box.ready{animation:rxFloatMobile 1.6s ease-in-out infinite}.rx-box-copy{text-align:center}.rx-reward-table{text-align:left}.rx-form-row{flex-direction:column}.rx-event-bonuses{grid-template-columns:1fr 1fr}.rx-event-ring{width:220px;height:165px}.rx-event-time{inset:47px 0 auto}.rx-event-time strong{font-size:1.85rem}.rx-status-shell{padding-right:0}.rx-status-chips{gap:5px}.rx-chip{font-size:.68rem;padding:5px 7px}
}
@media(max-width:430px){.rx-event-bonuses{grid-template-columns:1fr}.rx-dialog-head p{display:none}.rx-status-copy small{max-width:210px}.rx-box-stage{min-height:180px}.rx-box{transform:scale(.76)}}
@keyframes rxFloatMobile{50%{transform:scale(.86) translateY(-6px) rotate(-1deg)}}

/* Rewards Hub v2: coupon bundles, multiple mystery boxes, inventory, merchant, simplified events. */
.rx-coupon-dialog{width:min(900px,calc(100vw - 22px))}
.rx-coupon-entry{padding:20px;border:1px solid var(--rx-border);border-radius:19px;background:linear-gradient(120deg,var(--rx-surface),var(--rx-primary-soft))}
.rx-coupon-copy{max-width:720px}.rx-kicker{display:inline-flex;margin-bottom:7px;font-size:.7rem;font-weight:900;letter-spacing:.12em;color:var(--rx-primary-strong)}
.rx-coupon-copy h3{margin:0 0 7px;color:var(--rx-heading);font-size:1.18rem}.rx-coupon-copy p{margin:0;color:var(--rx-muted);line-height:1.55}
.rx-coupon-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:17px}.rx-coupon-form .rx-input{height:54px;font-size:1rem}.rx-coupon-form .rx-action{min-width:150px}
.rx-community-callout{display:flex;align-items:center;gap:13px;margin-top:13px;padding:14px 15px;border:1px dashed color-mix(in srgb,var(--rx-primary) 45%,var(--rx-border));border-radius:16px;background:var(--rx-surface-soft)}
.rx-community-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:14px;background:var(--rx-primary-soft);font-size:22px}.rx-community-callout strong{display:block;color:var(--rx-heading)}.rx-community-callout p{margin:4px 0 0;color:var(--rx-muted);font-size:.82rem}.rx-link-action{display:inline-grid;place-items:center;text-decoration:none;margin-left:auto;white-space:nowrap}
.rx-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.rx-section-head h3{margin:0}
.rx-multi-box-layout{display:grid;grid-template-columns:minmax(250px,310px) 1fr;gap:14px;min-height:430px}.rx-box-list{display:grid;gap:9px;align-content:start;max-height:470px;overflow:auto;padding-right:3px}
.rx-box-list-button{width:100%;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;text-align:left;padding:12px;border:1px solid var(--rx-border);border-radius:15px;background:var(--rx-surface);color:var(--rx-text);cursor:pointer;transition:.18s}
.rx-box-list-button:hover,.rx-box-list-button.active{border-color:var(--rx-primary);background:var(--rx-primary-soft);transform:translateY(-1px)}.rx-box-list-button.ready{box-shadow:inset 4px 0 0 var(--rx-success)}
.rx-box-list-icon{width:42px;height:42px;border-radius:13px;background:var(--rx-surface-soft);display:grid;place-items:center;font-size:21px}.rx-box-list-button strong{display:block;color:var(--rx-heading);font-size:.86rem}.rx-box-list-button small{display:block;color:var(--rx-muted);font-size:.72rem;line-height:1.35;margin-top:3px}.rx-box-list-button b{font-size:.63rem;color:var(--rx-primary-strong);text-align:right;max-width:76px}
.rx-box-detail{display:grid;grid-template-columns:210px 1fr;gap:18px;align-items:center;border:1px solid var(--rx-border);border-radius:18px;padding:15px;background:var(--rx-surface-soft)}
.rx-condition-card{margin:11px 0;padding:11px 12px;border:1px solid var(--rx-border);border-radius:13px;background:var(--rx-surface)}.rx-condition-card strong{display:block;color:var(--rx-heading);font-size:.82rem}.rx-condition-card span,.rx-condition-card small{display:block;margin-top:4px;color:var(--rx-muted);font-size:.73rem}.rx-condition-progress{height:7px;margin-top:8px;border-radius:999px;background:var(--rx-surface-soft);overflow:hidden}.rx-condition-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--rx-primary),var(--rx-accent))}
.rx-box.claimed,.rx-box.completed{filter:saturate(.55);opacity:.72}.rx-box.claimed::after{content:'✓';position:absolute;z-index:6;inset:54px auto auto 64px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--rx-success);color:#fff;font-size:30px;font-weight:900;box-shadow:0 10px 25px rgba(21,147,91,.3)}
.rx-box.completed::after{content:'✓';position:absolute;z-index:6;inset:54px auto auto 64px;color:#fff;font-size:36px;font-weight:900}.rx-box.ineligible{filter:grayscale(1);opacity:.36}
.rx-empty-state{padding:22px;border:1px dashed var(--rx-border);border-radius:15px;background:var(--rx-surface-soft);text-align:center;color:var(--rx-muted)}.rx-empty-state strong,.rx-empty-state span{display:block}.rx-empty-state strong{color:var(--rx-heading);margin-bottom:5px}
.rx-inventory-list,.rx-merchant-list{display:grid;gap:10px;max-height:470px;overflow:auto;padding-right:3px}.rx-inventory-item{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--rx-border);border-radius:16px;background:var(--rx-surface)}
.rx-item-icon{width:48px;height:48px;border-radius:14px;background:var(--rx-primary-soft);display:grid;place-items:center;font-size:22px}.rx-item-copy strong{display:block;color:var(--rx-heading)}.rx-item-copy span{display:block;margin-top:4px;color:var(--rx-muted);font-size:.8rem}.rx-item-copy small{display:block;margin-top:3px;color:var(--rx-primary-strong);font-size:.7rem;font-weight:750}
.rx-merchant-notice{display:grid;gap:4px;margin-bottom:13px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--rx-accent) 42%,var(--rx-border));border-radius:15px;background:var(--rx-accent-soft)}.rx-merchant-notice strong{color:var(--rx-heading)}.rx-merchant-notice span{color:var(--rx-muted);font-size:.8rem}
.rx-merchant-offer{padding:15px;border:1px solid var(--rx-border);border-radius:17px;background:var(--rx-surface)}.rx-merchant-offer-head{display:flex;gap:11px;align-items:flex-start}.rx-merchant-offer-head strong{display:block;color:var(--rx-heading)}.rx-merchant-offer-head p{margin:4px 0 0;color:var(--rx-muted);font-size:.8rem}.rx-exchange-flow{display:grid;grid-template-columns:1fr 34px 1fr;gap:9px;align-items:center;margin:13px 0}.rx-exchange-flow>div{padding:11px;border-radius:13px;background:var(--rx-surface-soft)}.rx-exchange-flow small{display:block;color:var(--rx-muted);font-size:.65rem;font-weight:900;letter-spacing:.08em}.rx-exchange-flow strong{display:block;margin-top:4px;color:var(--rx-heading);font-size:.85rem}.rx-exchange-flow>span{text-align:center;color:var(--rx-primary);font-size:22px;font-weight:900}.rx-merchant-offer>.rx-action{width:100%}

.rx-event-card{position:relative;display:grid;grid-template-columns:280px 1fr;min-height:390px;overflow:hidden}.rx-event-close{position:absolute;right:14px;top:14px;z-index:7}.rx-event-visual{position:relative;display:grid;place-items:center;align-content:center;gap:2px;padding:28px 16px;background:linear-gradient(145deg,var(--rx-primary-soft),var(--rx-surface));overflow:hidden}.rx-event-orbit{position:absolute;border:1px dashed color-mix(in srgb,var(--rx-primary) 36%,transparent);border-radius:50%;animation:rxOrbit 12s linear infinite}.rx-event-orbit.one{width:210px;height:210px}.rx-event-orbit.two{width:270px;height:270px;animation-direction:reverse;animation-duration:18s}.rx-event-ring{z-index:2;width:230px;height:175px}.rx-event-live{z-index:2}.rx-event-detail{display:flex;flex-direction:column;justify-content:center;padding:30px 25px}.rx-event-benefit{font:950 clamp(1.55rem,3vw,2.5rem)/1.05 var(--font-main,system-ui);letter-spacing:-.03em;color:var(--rx-primary-strong);max-width:420px}.rx-event-detail h2{margin:13px 0 7px;font-size:1.25rem}.rx-event-detail>.rx-muted{line-height:1.55}.rx-benefit-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.rx-benefit-chips span{display:grid;gap:2px;padding:10px 11px;border:1px solid var(--rx-border);border-radius:13px;background:var(--rx-surface-soft);font-size:.75rem;color:var(--rx-muted)}.rx-benefit-chips b{font-size:1rem;color:var(--rx-primary-strong)}.rx-noads-chips b{color:var(--rx-success)}.rx-event-next{margin-top:auto}.rx-event-no-ads .rx-event-visual{background:linear-gradient(145deg,color-mix(in srgb,var(--rx-success) 13%,var(--rx-surface)),var(--rx-surface))}.rx-event-no-ads .rx-event-benefit,.rx-event-no-ads .rx-event-time strong{color:var(--rx-success)}.rx-event-active .rx-event-live{animation:rxPulse 1.45s ease-in-out infinite}.rx-rain-drop.happy{filter:drop-shadow(0 5px 4px rgba(217,119,6,.2))}.rx-rain-drop.no-ads{opacity:.5;filter:drop-shadow(0 5px 4px rgba(21,147,91,.18))}
@keyframes rxOrbit{to{transform:rotate(360deg)}}@keyframes rxPulse{50%{transform:scale(1.06);box-shadow:0 0 0 8px color-mix(in srgb,var(--rx-primary) 12%,transparent)}}

@media(max-width:760px){
  .rx-coupon-form{grid-template-columns:1fr}.rx-coupon-form .rx-action{width:100%}.rx-community-callout{align-items:flex-start;flex-wrap:wrap}.rx-link-action{margin-left:57px}
  .rx-multi-box-layout{grid-template-columns:1fr;min-height:0}.rx-box-list{grid-template-columns:1fr;max-height:220px}.rx-box-detail{grid-template-columns:1fr}.rx-box-detail .rx-box-stage{min-height:185px}.rx-box-detail .rx-box-copy{text-align:left}
  .rx-inventory-item{grid-template-columns:44px 1fr}.rx-inventory-item .rx-action{grid-column:1/-1;width:100%}.rx-exchange-flow{grid-template-columns:1fr}.rx-exchange-flow>span{transform:rotate(90deg)}
  .rx-event-card{grid-template-columns:1fr;min-height:0}.rx-event-visual{padding:20px 12px 4px}.rx-event-detail{padding:15px 16px 18px}.rx-event-benefit{text-align:center;margin:0 auto}.rx-event-detail h2,.rx-event-detail>.rx-muted{text-align:center}.rx-event-next{text-align:center}.rx-benefit-chips{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){.rx-benefit-chips{grid-template-columns:1fr}.rx-box-list-button{grid-template-columns:38px 1fr}.rx-box-list-button b{grid-column:2;text-align:left}.rx-community-callout .rx-link-action{margin-left:0;width:100%}}
.rx-coupon-details{display:grid;gap:13px}.rx-coupon-details>div{padding-top:11px;border-top:1px solid var(--rx-border)}.rx-coupon-details>div:first-child{padding-top:0;border-top:0}.rx-coupon-details h4{margin:0;color:var(--rx-heading);font-size:.86rem}

/* Engagement rewards: daily streak, levels, comeback, and community events */
.rx-progress-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rx-progress-card{min-width:0}.rx-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.rx-kicker{display:block;margin-bottom:4px;color:var(--rx-primary);font-size:.7rem;font-weight:900;letter-spacing:.09em}.rx-big-stat{flex:0 0 auto;padding:8px 11px;border-radius:12px;background:var(--rx-primary-soft);color:var(--rx-primary-strong);font-size:.86rem;font-weight:900}.rx-streak-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;margin:13px 0}.rx-streak-day{padding:10px;border:1px solid var(--rx-border);border-radius:13px;background:var(--rx-surface-soft);display:grid;gap:4px}.rx-streak-day b{color:var(--rx-heading);font-size:.82rem}.rx-streak-day span,.rx-streak-day small{color:var(--rx-muted);font-size:.72rem}.rx-streak-day.done{border-color:color-mix(in srgb,var(--rx-success) 48%,var(--rx-border));background:color-mix(in srgb,var(--rx-success) 9%,var(--rx-surface))}.rx-streak-day.current{outline:2px solid color-mix(in srgb,var(--rx-primary) 38%,transparent);background:var(--rx-primary-soft)}.rx-level-progress{height:11px;margin:14px 0 10px;border-radius:999px;background:var(--rx-surface-soft);overflow:hidden;border:1px solid var(--rx-border)}.rx-level-progress>i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--rx-primary),var(--rx-accent));transition:width .35s ease}.rx-level-details{display:flex;gap:8px;flex-wrap:wrap}.rx-level-details span{padding:8px 10px;border:1px solid var(--rx-border);border-radius:12px;background:var(--rx-surface-soft);font-size:.75rem;color:var(--rx-muted)}.rx-level-details b{color:var(--rx-heading)}.rx-progress-card.rx-inactive{opacity:.72}.rx-community-card{grid-column:1/-1}.rx-community-events{display:grid;gap:10px;margin-top:10px}.rx-community-event{padding:13px;border:1px solid var(--rx-border);border-radius:15px;background:var(--rx-surface-soft)}.rx-community-event p{margin:4px 0;color:var(--rx-muted);font-size:.79rem}.rx-community-event-stats{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:.78rem}.rx-community-event-stats b{color:var(--rx-primary)}.rx-community-event small{color:var(--rx-muted)}
@media(max-width:760px){.rx-progress-layout{grid-template-columns:1fr}.rx-community-card{grid-column:auto}.rx-streak-days{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-section-head{align-items:flex-start}.rx-big-stat{font-size:.75rem}}

/* Growth rewards: clickable status chips, Daily Reward, milestones, Flash Missions and participation pools */
.rx-chip,.rx-status-icon{appearance:none;font-family:inherit;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.rx-chip:hover,.rx-status-icon:hover{transform:translateY(-2px);border-color:var(--rx-primary);box-shadow:0 7px 16px rgba(31,41,55,.11)}.rx-chip:focus-visible,.rx-status-icon:focus-visible{outline:3px solid color-mix(in srgb,var(--rx-primary) 28%,transparent);outline-offset:2px}.rx-focus-card{animation:rxFocusCard 1.25s ease}.rx-empty-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:14px}.rx-secondary-action{min-height:46px;padding:0 16px;border:1px solid var(--rx-border);border-radius:13px;background:var(--rx-surface);color:var(--rx-heading);font-weight:850;cursor:pointer}.rx-exchange-flow>div small:last-child{margin-top:5px;color:var(--rx-primary);font-weight:800}
.rx-spin-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(320px,1.15fr);gap:16px;align-items:stretch}.rx-spin-stage{display:grid;place-items:center;align-content:center;gap:13px;padding:22px;border:1px solid var(--rx-border);border-radius:19px;background:radial-gradient(circle at 50% 35%,var(--rx-primary-soft),var(--rx-surface) 68%);position:relative}.rx-spin-wheel{width:225px;height:225px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--rx-primary) 0 10%,var(--rx-accent) 10% 20%,var(--rx-primary-soft) 20% 30%,var(--rx-primary) 30% 40%,var(--rx-accent-soft) 40% 50%,var(--rx-accent) 50% 60%,var(--rx-primary-soft) 60% 70%,var(--rx-primary) 70% 80%,var(--rx-accent-soft) 80% 90%,var(--rx-accent) 90%);border:10px solid var(--rx-surface);box-shadow:0 20px 45px color-mix(in srgb,var(--rx-primary) 24%,transparent),0 0 0 2px var(--rx-border);position:relative;transition:filter .2s}.rx-spin-wheel::after{content:'';width:76px;height:76px;border-radius:50%;background:var(--rx-surface);box-shadow:0 0 0 5px color-mix(in srgb,var(--rx-primary) 30%,var(--rx-border));position:absolute}.rx-spin-wheel span{z-index:2;font-weight:950;color:var(--rx-primary-strong);letter-spacing:.08em}.rx-spin-wheel.used{filter:grayscale(.65);opacity:.72}.rx-spin-wheel.spinning{animation:rxSpinWheel 1.08s cubic-bezier(.2,.8,.2,1)}.rx-spin-pointer{position:absolute;top:9px;z-index:3;color:var(--rx-heading);font-size:30px;filter:drop-shadow(0 3px 2px rgba(0,0,0,.15))}.rx-spin-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:300px;overflow:auto;margin:12px 0}.rx-spin-reward{display:grid;grid-template-columns:28px 1fr;column-gap:8px;padding:9px;border:1px solid var(--rx-border);border-radius:12px;background:var(--rx-surface-soft)}.rx-spin-reward>span{grid-row:1/3;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--rx-primary-soft);color:var(--rx-primary-strong);font-weight:900;font-size:.72rem}.rx-spin-reward strong{font-size:.78rem;color:var(--rx-heading)}.rx-spin-reward small{font-size:.68rem;color:var(--rx-muted)}.rx-proof{margin-top:12px;padding:10px 12px;border:1px solid var(--rx-border);border-radius:12px;background:var(--rx-surface-soft)}.rx-proof summary{cursor:pointer;font-weight:850;color:var(--rx-heading)}.rx-proof p{color:var(--rx-muted);font-size:.76rem;line-height:1.45}.rx-proof dl{display:grid;grid-template-columns:120px 1fr;gap:5px 9px;font-size:.7rem}.rx-proof dt{font-weight:850}.rx-proof dd{margin:0;overflow-wrap:anywhere;color:var(--rx-muted)}
.rx-milestone-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;background:var(--rx-primary-soft);margin-bottom:12px}.rx-milestone-summary strong{color:var(--rx-primary-strong)}.rx-milestone-summary span{font-size:.78rem;color:var(--rx-muted)}.rx-milestone-list{display:grid;gap:9px;max-height:520px;overflow:auto}.rx-milestone-item{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:13px;border:1px solid var(--rx-border);border-radius:15px;background:var(--rx-surface)}.rx-milestone-item.complete{background:color-mix(in srgb,var(--rx-success) 7%,var(--rx-surface));border-color:color-mix(in srgb,var(--rx-success) 30%,var(--rx-border))}.rx-milestone-item strong{color:var(--rx-heading)}.rx-milestone-item p{margin:3px 0;color:var(--rx-muted);font-size:.77rem}.rx-milestone-item small{color:var(--rx-muted);font-size:.7rem}
.rx-flash-dialog .rx-dialog-head{background:linear-gradient(120deg,var(--rx-surface),var(--rx-accent-soft))}.rx-flash-hero{text-align:center;padding:20px;border:1px solid var(--rx-border);border-radius:18px;background:radial-gradient(circle at top,var(--rx-accent-soft),var(--rx-surface) 70%);position:relative;overflow:hidden}.rx-flash-hero::before,.rx-flash-hero::after{content:'⚡';position:absolute;font-size:46px;opacity:.12;animation:rxFlashPulse 1.7s ease-in-out infinite}.rx-flash-hero::before{left:18px;top:18px}.rx-flash-hero::after{right:18px;bottom:12px;animation-delay:.5s}.rx-flash-timer{display:block;font:950 2.35rem/1 var(--font-main,system-ui);color:var(--rx-primary-strong);margin:8px}.rx-flash-hero h2{margin:8px 0 5px;color:var(--rx-heading)}.rx-flash-hero p{margin:0 auto;max-width:560px;color:var(--rx-muted)}.rx-flash-reward{display:inline-flex;margin-top:13px;padding:9px 13px;border-radius:999px;background:var(--rx-primary);color:#fff;font-weight:900}.rx-flash-conditions{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:9px;margin:13px 0}.rx-flash-condition{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--rx-border);border-radius:14px;background:var(--rx-surface-soft)}.rx-flash-condition>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:var(--rx-primary-soft);color:var(--rx-primary-strong);font-weight:950}.rx-flash-condition strong,.rx-flash-condition small{display:block}.rx-flash-condition strong{font-size:.82rem;color:var(--rx-heading)}.rx-flash-condition small{margin-top:3px;color:var(--rx-muted)}.rx-flash-condition.complete{border-color:color-mix(in srgb,var(--rx-success) 42%,var(--rx-border));background:color-mix(in srgb,var(--rx-success) 8%,var(--rx-surface))}.rx-flash-dialog .rx-action{width:100%}
.rx-pool-list{display:grid;gap:11px;margin-top:13px;max-height:500px;overflow:auto}.rx-pool-card{padding:15px;border:1px solid var(--rx-border);border-radius:17px;background:var(--rx-surface)}.rx-pool-card p{margin:4px 0;color:var(--rx-muted);font-size:.8rem}.rx-pool-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.rx-pool-metrics span{padding:9px;border-radius:12px;background:var(--rx-surface-soft)}.rx-pool-metrics small,.rx-pool-metrics b{display:block}.rx-pool-metrics small{color:var(--rx-muted);font-size:.65rem}.rx-pool-metrics b{margin-top:3px;color:var(--rx-heading);font-size:.78rem}.rx-risk-note{padding:10px 11px;border-left:4px solid var(--rx-accent);background:var(--rx-accent-soft);border-radius:10px}.rx-pool-join{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}
@keyframes rxSpinWheel{0%{transform:rotate(0)}100%{transform:rotate(1440deg)}}@keyframes rxFocusCard{0%,100%{box-shadow:none}35%{box-shadow:0 0 0 4px color-mix(in srgb,var(--rx-primary) 26%,transparent),0 18px 40px color-mix(in srgb,var(--rx-primary) 18%,transparent)}}@keyframes rxFlashPulse{50%{transform:scale(1.18) rotate(8deg);opacity:.22}}
@media(max-width:760px){.rx-spin-layout{grid-template-columns:1fr}.rx-spin-wheel{width:190px;height:190px}.rx-spin-rewards{grid-template-columns:1fr}.rx-proof dl{grid-template-columns:1fr}.rx-pool-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-pool-join{grid-template-columns:1fr}.rx-milestone-summary{align-items:flex-start;flex-direction:column}.rx-empty-actions>*{width:100%}}

.rx-rain-drop.is-css-coin{width:1.55em;height:1.55em;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 34% 28%,#fff5a8 0 12%,#ffd44f 29%,#e9a91f 72%,#b67506 100%);border:.09em solid rgba(132,78,0,.55);box-shadow:inset 0 0 0 .09em rgba(255,255,255,.48),0 .18em .45em rgba(116,72,0,.28);color:#6f4300;font-family:Arial,sans-serif;font-weight:900;line-height:1;text-shadow:0 1px rgba(255,255,255,.55)}

/* V10: viewport-safe primary shortcut dock and complete secondary shortcut display. */
.rx-floating-dock{top:82px!important;bottom:88px!important;max-height:none!important;overflow-y:auto;overflow-x:hidden;padding:4px 6px 4px 4px;scrollbar-width:thin;overscroll-behavior:contain}
.rx-floating-dock.is-dense{gap:7px}.rx-floating-dock.is-dense .rx-float-button{width:76px;min-height:64px;padding:6px 5px;border-radius:15px}.rx-floating-dock.is-dense .rx-float-icon{width:34px;height:34px;font-size:19px}.rx-floating-dock.is-dense .rx-float-state{display:none}
.rx-floating-dock.is-very-dense .rx-float-button{width:70px;min-height:55px;font-size:9px}.rx-floating-dock.is-very-dense .rx-float-icon{width:29px;height:29px;font-size:17px}
.rx-shortcut-launcher{position:fixed;left:14px;bottom:18px;z-index:945;min-height:48px;padding:7px 12px;border:1px solid var(--rx-border);border-radius:16px;background:var(--rx-surface);color:var(--rx-heading);box-shadow:0 14px 36px rgba(24,35,58,.2);display:flex;align-items:center;gap:8px;font:850 12px/1.1 var(--font-main,system-ui);cursor:pointer}.rx-shortcut-launcher>span:first-child{font-size:21px}.rx-shortcut-launcher b{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--rx-primary);color:#fff;display:grid;place-items:center;font-size:10px}
.rx-shortcut-dialog{width:min(760px,calc(100vw - 22px));max-height:calc(100dvh - 22px);padding:0;border:0;border-radius:24px;background:var(--rx-surface);color:var(--rx-text);box-shadow:0 34px 110px rgba(18,28,49,.42);overflow:hidden}.rx-shortcut-dialog::backdrop{background:rgba(27,38,59,.62);backdrop-filter:blur(4px)}.rx-shortcut-card{display:grid;grid-template-rows:auto 1fr;max-height:calc(100dvh - 22px)}.rx-shortcut-card>header{display:flex;align-items:flex-start;gap:14px;padding:17px 19px;border-bottom:1px solid var(--rx-border);background:linear-gradient(120deg,var(--rx-surface),var(--rx-primary-soft))}.rx-shortcut-card h2{margin:0;color:var(--rx-heading);font-size:1.12rem}.rx-shortcut-card p{margin:4px 0 0;color:var(--rx-muted);font-size:.82rem}.rx-shortcut-card .rx-close{margin-left:auto}.rx-shortcut-grid{padding:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;overflow:auto}.rx-shortcut-item{min-height:86px;padding:11px 8px;border:1px solid var(--rx-border);border-radius:16px;background:var(--rx-surface);color:var(--rx-heading);display:grid;place-items:center;align-content:center;gap:7px;text-align:center;font:800 11px/1.2 var(--font-main,system-ui);cursor:pointer}.rx-shortcut-item:hover{border-color:var(--rx-primary);background:var(--rx-primary-soft);transform:translateY(-1px)}.rx-shortcut-item-icon{width:40px;height:40px;border-radius:13px;background:var(--rx-primary-soft);color:var(--rx-heading);display:grid;place-items:center;font-size:22px;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",system-ui,sans-serif;line-height:1}
@media(max-width:760px){.rx-floating-dock{right:5px!important;top:72px!important;bottom:80px!important;padding-right:2px}.rx-shortcut-launcher{left:8px;bottom:76px;min-height:43px;padding:6px 9px}.rx-shortcut-launcher>span:nth-child(2){display:none}.rx-shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px;gap:8px}.rx-shortcut-item{min-height:76px;padding:8px 5px;font-size:10px}.rx-shortcut-item-icon{width:35px;height:35px;font-size:19px}}
@media(max-width:420px){.rx-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V11: prominent secondary shortcut rail. */
.rx-shortcut-rail{position:sticky;top:10px;z-index:910;margin:10px 0 15px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;overflow:visible}.rx-shortcut-rail-title{border:0;background:transparent;color:var(--rx-heading);display:inline-flex;align-items:center;gap:6px;text-align:left;cursor:pointer;padding:0}.rx-shortcut-rail-title>span:first-child{width:42px;height:42px;border-radius:14px;background:var(--rx-primary);color:#fff;display:grid;place-items:center;font-size:22px}.rx-shortcut-rail-title strong,.rx-shortcut-rail-title small{display:block}.rx-shortcut-rail-title small{margin-top:2px;color:var(--rx-muted);font-size:.7rem}.rx-shortcut-rail-title b{min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:var(--rx-accent);color:#fff;display:grid;place-items:center;font-size:10px}.rx-shortcut-rail-track{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:2px}.rx-shortcut-rail-item{flex:0 0 105px;min-height:64px;border:1px solid var(--rx-border);border-radius:14px;background:var(--rx-surface);color:var(--rx-heading);display:grid;place-items:center;align-content:center;gap:4px;text-align:center;cursor:pointer}.rx-shortcut-rail-item span{font-size:21px;color:var(--rx-heading);font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",system-ui,sans-serif;line-height:1}.rx-shortcut-rail-item b{font-size:9px;line-height:1.15}.rx-shortcut-rail-item:hover{border-color:var(--rx-primary);background:var(--rx-primary-soft)}.rx-shortcut-more{min-height:42px;padding:0 12px;border:1px solid var(--rx-border);border-radius:12px;background:var(--rx-surface);color:var(--rx-primary);font-weight:850;cursor:pointer}
@media(max-width:760px){.rx-shortcut-rail{top:6px;z-index:910;margin:8px 0 13px;grid-template-columns:auto 1fr;padding:6px 0}.rx-shortcut-rail-title>span:first-child{width:44px;height:44px}.rx-shortcut-rail-track{min-width:0}.rx-shortcut-rail-item{flex-basis:84px;min-height:58px}.rx-shortcut-more{grid-column:1/-1;width:100%;min-height:38px}.rx-shortcut-launcher{display:none!important}}
