/* R45: the homepage popup and rewards page share a Song-inspired cast and wheel.
   Decoration never covers controls, changes outcomes, or intercepts input. */
[data-reward-cast] .reward-cast{position:absolute;inset:0;z-index:4;pointer-events:none;direction:ltr}
[data-reward-cast] .reward-cast__actor{position:absolute;bottom:-15%;width:40%;margin:0;pointer-events:none;user-select:none}
[data-reward-cast] .reward-cast__actor--jackie{left:-14%}
[data-reward-cast] .reward-cast__actor--po{right:-15%;width:42%}
[data-reward-cast] .reward-cast__actor img{display:block;width:100%;height:auto;max-width:none;object-fit:contain;transform-origin:50% 97%;filter:drop-shadow(0 3px 2px #273d3810)}
#nihao-song-rewards[data-reward-cast] .reward-wheel-frame{width:75%;margin-inline:auto;max-width:390px}
#nihao-song-rewards[data-reward-cast] .reward-wheel-controls{margin-top:78px}

.song-popup-root{--op-ink:#273d38;--op-purple:#86363b;--op-gold:#9b967f}
body.storefront-body .opening-popup-root.song-popup-root .opening-popup-launcher{display:flex!important;min-height:44px!important;border-color:#c5d2bf!important;background:#fafaf2!important;color:#344d3e!important;box-shadow:0 3px 16px #263a291c!important}
.song-popup-root:has(#opening-popup[open]) .opening-popup-launcher{visibility:hidden!important}
.song-popup-root #opening-popup{inset:auto!important;inset-inline-end:22px!important;inset-block-end:90px!important;width:min(1020px,calc(100vw - 44px))!important;max-height:calc(100dvh - 112px)!important;margin:0!important;padding:0!important;overflow:auto!important;scrollbar-gutter:stable;overscroll-behavior:contain;border:1px solid #cbd4c7!important;border-radius:12px!important;background:#f9f8f1!important;color:#273d38!important;box-shadow:0 18px 70px #24332c36!important;isolation:isolate}
.song-popup-root #opening-popup:not([open]){display:none!important}
.song-popup-root #opening-popup .opening-popup__close{position:sticky!important;top:12px!important;right:auto!important;left:auto!important;margin:12px 12px -56px auto!important;width:44px!important;height:44px!important;min-height:44px!important;z-index:30!important;border:1px solid #c9d3c5!important;background:#fafbf5f5!important;color:#334b3e!important;box-shadow:0 2px 7px #273d3810!important;font:400 28px/1 Arial,sans-serif!important}
.song-popup-root #opening-popup .opening-popup__hero{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;grid-template-rows:auto 1fr!important;gap:0 42px!important;align-items:center!important;min-height:525px;padding:55px 50px 36px!important;background:radial-gradient(ellipse at 74% 45%,#e3ece2 0,transparent 62%),linear-gradient(110deg,#fbfaf3,#f3f5ed)!important;overflow:clip!important;isolation:isolate}
.song-popup-root #opening-popup .opening-popup__hero:before{content:"";position:absolute;z-index:-1;inset:0 auto auto -50px;width:230px;height:280px;background:url('nihao-night/bamboo-branch.svg') center/contain no-repeat;opacity:.14;pointer-events:none}
.song-popup-root #opening-popup .opening-popup__heading{grid-column:1!important;grid-row:1!important;text-align:start!important;justify-self:stretch!important;margin:0!important;padding:0!important;max-width:none!important;direction:inherit}
.song-popup-root #opening-popup .opening-popup__eyebrow{color:#873b40!important;font-size:11px!important;font-weight:700!important;line-height:1.7!important;letter-spacing:.12em;margin:0 0 14px!important}
.song-popup-root #opening-popup .opening-popup__heading h2{color:#273d38!important;font-size:clamp(28px,3vw,36px)!important;font-weight:700!important;line-height:1.5!important;letter-spacing:-.025em!important;text-transform:none!important;text-shadow:none!important}
.song-popup-root[dir=ltr] #opening-popup .opening-popup__heading h2{font-family:Georgia,'Times New Roman',serif!important}
.song-popup-root #opening-popup .opening-popup__content{grid-column:1!important;grid-row:2!important;padding:20px 0 0!important;align-self:start!important;text-align:start!important;direction:inherit;max-width:none!important}
.song-popup-root #opening-popup .opening-popup__content h3{color:#344a3e!important;font-size:20px!important;line-height:1.65!important;font-weight:700!important;letter-spacing:0!important;margin:0 0 10px!important}
.song-popup-root #opening-popup .opening-popup__intro{display:block!important;color:#5a6a5e!important;font-size:14px!important;line-height:1.85!important;margin:0 0 14px!important}
.song-popup-root #opening-popup .opening-popup__status{background:#edf2e8!important;border:1px solid #cbd7c4!important;border-radius:20px!important;color:#4d6553!important;padding:7px 12px!important;font-size:12px!important;line-height:1.6!important;margin:0 0 18px!important;box-shadow:none!important}
.song-popup-root #opening-popup .opening-popup__status i{background:#68826d!important}
.song-popup-root #opening-popup .opening-popup__primary{width:100%;min-height:48px!important;padding:12px 18px!important;border:1px solid #84383e!important;border-radius:6px!important;background:linear-gradient(120deg,#95434a,#7a3038)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-family:inherit!important;font-size:14px!important;line-height:1.7!important;font-weight:700!important;text-decoration:none!important;text-shadow:none!important;box-shadow:0 3px 9px #73343a16!important;translate:none!important}
.song-popup-root #opening-popup .opening-popup__primary:hover{background:#713038!important;box-shadow:0 4px 12px #73343a25!important}
.song-popup-root #opening-popup .opening-popup__primary:disabled{background:#e7ebe1!important;color:#667561!important;-webkit-text-fill-color:#667561!important;border-color:#c9d5c2!important}
.song-popup-root #opening-popup .opening-popup__credit-note{color:#657063!important;font-size:12px!important;line-height:1.8!important;margin:12px 0 0!important}
.song-popup-root #opening-popup .opening-popup__chances{color:#5c715f!important;font-size:14px!important;line-height:1.8!important}
.song-popup-root #opening-popup .opening-popup__chances strong{color:#304938!important;font-size:22px!important}
.song-popup-root #opening-popup .opening-popup__visual{grid-column:2!important;grid-row:1/3!important;width:100%!important;max-width:480px!important;justify-self:center!important;align-self:center!important;padding:0!important;min-width:0;direction:ltr}
.song-popup-root #opening-popup .opening-popup__wheel-wrap{width:75%!important;max-width:360px;margin:0 auto!important;aspect-ratio:1;position:relative;overflow:visible}
.song-popup-root #opening-popup .opening-popup__wheel{inset:0!important;border:0!important;border-radius:50%;background:none!important;box-shadow:0 8px 30px #334c3414!important;filter:none!important;transform:none!important}
.song-popup-root #opening-popup .opening-popup__wheel-wrap:before{content:"";position:absolute;inset:-12px;border:1px solid #c8d4c3;border-radius:50%;pointer-events:none;opacity:.7;background:none!important;mask:none!important;animation:none!important}
.song-popup-root #opening-popup .opening-popup__wheel-wrap:after{content:none!important;display:none!important;animation:none!important}
.song-popup-root #opening-popup .opening-popup__wheel-rotor{filter:none!important}
.song-popup-root #opening-popup .reward-vector-disc{display:block;width:100%;height:100%}
.song-popup-root #opening-popup .reward-vector-disc>circle:first-of-type{fill:#95aa96!important}
.song-popup-root #opening-popup .reward-vector-disc>path:nth-of-type(odd){fill:#f7f6ed!important;stroke:#cad5c6!important;stroke-width:1}
.song-popup-root #opening-popup .reward-vector-disc>path:nth-of-type(even){fill:#dce7db!important;stroke:#cad5c6!important;stroke-width:1}
.song-popup-root #opening-popup .reward-vector-disc>circle:not(:first-of-type){stroke:#eaf0e3!important;fill:none!important;opacity:.65}
.song-popup-root #opening-popup .reward-vector-disc>circle[r="2.5"]{fill:#f5f5eb!important;stroke:none!important;opacity:.8}
.song-popup-root #opening-popup .opening-popup__pointer{top:-4px!important;left:calc(50% - 9px)!important;width:18px!important;height:24px!important;background:#81363b!important;filter:drop-shadow(0 2px 1px #26392f22)!important}
.song-popup-root #opening-popup .opening-popup__wheel-gift{color:#31483b!important;text-shadow:none!important;filter:none!important}
.song-popup-root #opening-popup .opening-popup__wheel-gift img{width:60%!important;filter:saturate(.6);max-height:32px;object-fit:contain}
.song-popup-root #opening-popup .opening-popup__wheel-gift>span{font-size:10px!important;line-height:1.35!important;background:none!important;color:#2f493a!important;text-shadow:none!important;padding:0 1px!important}
.song-popup-root[data-wheel-count="15"] #opening-popup .opening-popup__wheel-gift>span{font-size:8px!important}
.song-popup-root #opening-popup .opening-popup__wheel-center{inset:37%!important;min-width:0!important;min-height:0!important;border:3px solid #f5f1e5!important;background:radial-gradient(circle at 33% 24%,#a3494d,#7d3037 76%)!important;box-shadow:0 2px 9px #384a3026,0 0 0 1px #b4c2ad!important;padding:7px!important;color:#fff!important}
.song-popup-root #opening-popup .opening-popup__wheel-center>span{font-size:12px!important;line-height:1.45!important;color:#fff!important;-webkit-text-fill-color:#fff!important;max-width:100%!important}
.song-popup-root #opening-popup .opening-popup__wheel-controls{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;width:100%!important;margin-top:64px!important;text-align:center!important;direction:inherit}
.song-popup-root #opening-popup .opening-popup__visual-note{flex-basis:100%;max-width:none!important;min-height:38px;font-size:11px!important;line-height:1.75!important;color:#5a695d!important;margin:0 0 5px!important;padding:0!important}
.song-popup-root #opening-popup :is(.opening-popup__motion-control,.opening-popup__sound-control){display:inline-flex;align-items:center;justify-content:center;width:auto!important;min-width:88px;min-height:44px!important;margin:0!important;padding:8px 10px!important;border:1px solid #c5d2bf!important;border-radius:5px!important;background:#f9faf3!important;color:#425b48!important;font-family:inherit!important;font-size:11px!important;line-height:1.5!important;text-decoration:none!important;box-shadow:none!important}
.song-popup-root #opening-popup :is(.opening-popup__motion-control,.opening-popup__sound-control):disabled{opacity:.6}
.song-popup-root #opening-popup .opening-popup__gifts{padding:26px 40px 12px!important;background:#f9f8f1!important;scroll-margin-top:60px;border-top:1px solid #d8dfd1}
.song-popup-root #opening-popup .opening-popup__gift-heading h3{color:#30483b!important;font-size:23px!important;line-height:1.7!important;text-align:start!important}
.song-popup-root #opening-popup .opening-popup__prize-row{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important}
.song-popup-root #opening-popup .opening-popup__prize-row article{grid-column:auto!important;border:0!important;border-bottom:1px solid #d7dfd1!important;padding:18px 10px!important;min-width:0;background:none!important}
.song-popup-root #opening-popup .opening-popup__prize-row img{width:72px!important;height:72px!important;margin:0 auto 10px!important;filter:saturate(.65)}
.song-popup-root #opening-popup .opening-popup__prize-row h4{color:#34503c!important;font-size:13px!important;line-height:1.85!important;font-weight:700!important;overflow-wrap:anywhere}
.song-popup-root #opening-popup .opening-popup__activity-rules{background:none!important;border:0!important;border-bottom:1px solid #c9d4c2!important;border-radius:0!important;margin:18px 0 0!important}
.song-popup-root #opening-popup .opening-popup__activity-rules>summary{min-height:48px!important;padding:14px 0!important;color:#3c5843!important;font-size:14px!important;line-height:1.8!important;background:none!important}
.song-popup-root #opening-popup .opening-popup__activity-rules>div{padding:0 0 18px!important;color:#586b59!important;font-size:14px!important;line-height:1.95!important}
.song-popup-root #opening-popup .opening-popup__rules{color:#3b6045!important;font-size:13px!important;min-height:44px!important;line-height:1.7!important}
.song-popup-root #opening-popup .opening-popup__later{min-height:52px!important;background:#eef2e8!important;color:#3a5944!important;border-top:1px solid #cdd8c4!important;font-size:14px!important;line-height:1.7!important;padding:13px 20px!important}
.song-popup-root #opening-popup .opening-popup__result{background:#fffff8!important;border:1px solid #becdb6!important;border-radius:7px!important;box-shadow:none!important;color:#435b46!important;font-size:14px!important;line-height:1.8!important}
.song-popup-root #opening-popup .opening-popup__result>strong{color:#314b38!important;font-size:20px!important;line-height:1.6!important}
.song-popup-root #opening-popup .opening-popup__result p{color:#586a55!important;font-size:14px!important;line-height:1.9!important}
.song-popup-root #opening-popup .opening-popup__result a{color:#813c3e!important;min-height:44px!important}
.song-popup-root #opening-popup :is(button,a,summary):focus-visible{outline:3px solid #648065!important;outline-offset:3px!important}
.song-popup-root #opening-popup [hidden]{display:none!important}
.song-popup-root[dir=rtl] #opening-popup :is(.opening-popup__heading,.opening-popup__content){direction:rtl!important}
.song-popup-root[dir=rtl] #opening-popup .opening-popup__eyebrow{letter-spacing:0}
.song-popup-root[dir=rtl] #opening-popup .opening-popup__heading h2{letter-spacing:0!important}
@media(min-width:761px){.song-popup-root[dir=rtl] #opening-popup .opening-popup__visual{grid-column:1!important}.song-popup-root[dir=rtl] #opening-popup :is(.opening-popup__heading,.opening-popup__content){grid-column:2!important}}
@media(max-width:760px){
 .song-popup-root #opening-popup{inset-inline:8px!important;inset-block-end:calc(72px + env(safe-area-inset-bottom,0px))!important;width:calc(100vw - 16px)!important;max-height:calc(100dvh - 90px - env(safe-area-inset-bottom,0px))!important;border-radius:10px!important}
 .song-popup-root #opening-popup .opening-popup__close{top:8px!important;margin:8px 8px -52px auto!important}
 .song-popup-root #opening-popup .opening-popup__hero{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:0!important;padding:52px 18px 25px!important;min-height:0!important}
 .song-popup-root #opening-popup .opening-popup__heading{grid-column:1!important;grid-row:1!important;text-align:center!important;padding:0!important;width:100%!important}
 .song-popup-root #opening-popup .opening-popup__heading h2{font-size:27px!important;line-height:1.6!important}
 .song-popup-root #opening-popup .opening-popup__eyebrow{font-size:10px!important;margin-bottom:5px!important}
 .song-popup-root #opening-popup .opening-popup__visual{grid-column:1!important;grid-row:2!important;width:100%!important;max-width:420px!important;margin-top:22px!important}
 .song-popup-root #opening-popup .opening-popup__wheel-wrap{width:78%!important;max-width:300px!important}
 .song-popup-root #opening-popup .opening-popup__wheel-wrap:before{inset:-8px}
 .song-popup-root #opening-popup .opening-popup__wheel-gift>span{font-size:8px!important}
 .song-popup-root[data-wheel-count="15"] #opening-popup .opening-popup__wheel-gift>span{font-size:7px!important}
 .song-popup-root #opening-popup .opening-popup__wheel-gift img{max-height:24px!important}
 .song-popup-root #opening-popup .opening-popup__wheel-center{inset:36%!important;padding:5px!important}
 .song-popup-root #opening-popup .opening-popup__wheel-center>span{font-size:11px!important;line-height:1.4!important}
 .song-popup-root #opening-popup .opening-popup__wheel-controls{margin-top:52px!important}
 .song-popup-root #opening-popup .opening-popup__content{grid-column:1!important;grid-row:3!important;border-top:1px solid #d5decd!important;margin-top:22px!important;padding:20px 0 0!important;text-align:start!important}
 .song-popup-root #opening-popup .opening-popup__content h3{font-size:19px!important}
 .song-popup-root #opening-popup .opening-popup__gifts{padding:20px 18px 10px!important}
 .song-popup-root #opening-popup .opening-popup__gift-heading h3{font-size:21px!important}
 .song-popup-root #opening-popup .opening-popup__prize-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .song-popup-root #opening-popup .opening-popup__prize-row article{grid-column:auto!important;padding:18px 9px!important}
 .song-popup-root #opening-popup .opening-popup__prize-row h4{font-size:13px!important}
 #nihao-song-rewards[data-reward-cast] .reward-wheel-controls{margin-top:62px}
 [data-reward-cast] .reward-cast__actor{width:42%;left:-15%;bottom:-16%}
 [data-reward-cast] .reward-cast__actor--po{width:43%;left:auto;right:-15%}
}
@media(prefers-reduced-motion:reduce){[data-reward-cast] .reward-cast__actor img{animation:none!important;transition:none!important}.song-popup-root #opening-popup[open]{animation:none!important}}
