/* R14-only refinements; legacy reward skins remain version-scoped. */
.opening-rewards.is-r14-v3{--reward-ink:#292d2a;--reward-purple:#872b32;--reward-gold:#b99b69;color:var(--reward-ink)}
.opening-rewards.is-r14-v3 .reward-wheel{border-color:#d4c2a0;background:conic-gradient(from -12deg,#f5f0e6 0deg 24deg,#ebe4d7 24deg 48deg,#f5f0e6 48deg 72deg,#ebe4d7 72deg 96deg,#f5f0e6 96deg 120deg,#ebe4d7 120deg 144deg,#f5f0e6 144deg 168deg,#ebe4d7 168deg 192deg,#f5f0e6 192deg 216deg,#ebe4d7 216deg 240deg,#f5f0e6 240deg 264deg,#ebe4d7 264deg 288deg,#f5f0e6 288deg 312deg,#ebe4d7 312deg 336deg,#f5f0e6 336deg 360deg);box-shadow:inset 0 0 0 5px #fff9}
.opening-rewards.is-r14-v3 .wheel-gift{width:16%;height:15%;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:translate(-50%,-50%);right:auto;bottom:auto;gap:1px;color:#393a34;font-size:0;text-shadow:none}
.opening-rewards.is-r14-v3 .wheel-gift>img{width:28%;height:28%;object-fit:contain;margin:0;opacity:.7}
.opening-rewards.is-r14-v3 .wheel-gift>span{font-size:clamp(6px,1vw,8px);line-height:1.1;max-width:100%;padding:1px 2px;color:#3f403a;background:#f9f7f1d9;border-radius:3px;font-weight:700;overflow-wrap:anywhere;text-align:center}
.opening-rewards.is-r14-v3 .wheel-center{color:#872b32;background:#fcfaf5;box-shadow:0 0 0 5px #d8c9ab,0 5px 16px #16042a20}
.opening-rewards.is-r14-v3 .wheel-center-brand{letter-spacing:.12em;font-size:8px;color:#872b32}
.opening-rewards.is-r14-v3 .reward-prize-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:12px;border:1px solid #e7e0d4;background:#fbfaf7}
.opening-rewards.is-r14-v3 .reward-prize-card{min-width:0;padding:16px 12px;border:0;border-inline-start:1px solid #e7e0d4;border-top:1px solid #e7e0d4;background:transparent;box-shadow:none}
.opening-rewards.is-r14-v3 .reward-prize-card:nth-child(-n+6){border-top:0}
.opening-rewards.is-r14-v3 .reward-prize-card h3{font-size:13px;line-height:1.4;color:#292d2a}
.opening-rewards.is-r14-v3 .reward-prize-card p{margin-top:7px;font-size:11px;line-height:1.5;color:#65655e;overflow-wrap:anywhere}
.opening-rewards.is-r14-v3 .reward-prize-card p small{display:inline-block;margin-inline-start:5px;color:#872b32;font-weight:800;white-space:nowrap}
.opening-rewards.is-r14-v3 .reward-prize-image{width:76px;height:76px;object-fit:contain;filter:saturate(.72)}
.opening-rewards.is-r14-v3 .reward-v3-note{margin-top:8px;color:#872b32;font-size:12px;line-height:1.6}
.opening-rewards.is-r14-v3 .reward-claim-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.opening-rewards.is-r14-v3 .reward-claim-form label{min-width:0}
.opening-rewards.is-r14-v3 .reward-claim-form label:has(textarea),.opening-rewards.is-r14-v3 .reward-claim-form [data-cash-transfer-fields],.opening-rewards.is-r14-v3 .reward-claim-form>p,.opening-rewards.is-r14-v3 .reward-claim-form button{grid-column:1/-1}
.opening-rewards.is-r14-v3 .reward-claim-form [data-cash-transfer-fields]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.opening-rewards.is-r14-v3 .reward-claim-form [data-cash-transfer-fields][hidden]{display:none}
.opening-rewards.is-r14-v3 .reward-claim-form input,.opening-rewards.is-r14-v3 .reward-claim-form textarea,.opening-rewards.is-r14-v3 .reward-claim-form select{width:100%;min-width:0;max-width:100%}
body.storefront-body .opening-popup-root[data-wheel-count="15"] .opening-popup__wheel-gift{width:16%;height:15%;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:translate(-50%,-50%);right:auto;bottom:auto;gap:1px;color:#393a34;font-size:0;text-shadow:none}
body.storefront-body .opening-popup-root[data-wheel-count="15"] .opening-popup__wheel-gift>img{width:28%;height:28%;object-fit:contain;margin:0;opacity:.7}
body.storefront-body .opening-popup-root[data-wheel-count="15"] .opening-popup__wheel-gift>span{font-size:7px;line-height:1.1;max-width:100%;padding:1px 2px;color:#3f403a;background:#f9f7f1d9;border-radius:3px;font-weight:700;overflow-wrap:anywhere;text-align:center}
body.storefront-body .opening-popup-root[data-wheel-count="15"] .opening-popup__prize-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 0}
body.storefront-body .opening-popup-root[data-wheel-count="15"] .opening-popup__prize-row article{min-width:0;padding:8px;border:0;border-top:1px solid #eadfc7}
body.storefront-body .opening-popup-root[data-wheel-count="15"] .opening-popup__prize-row img{width:64px;height:64px;object-fit:contain}
.reward-admin .reward-v3-draft-form>label,.reward-admin .reward-v3-fulfill-form>label{display:block;margin-block:10px}
.reward-admin .reward-v3-fulfill-form{min-width:220px;max-width:460px}
.reward-admin .reward-v3-fulfill-form input,.reward-admin .reward-v3-fulfill-form select{max-width:100%}
@media(max-width:760px){
 .opening-rewards.is-r14-v3 .reward-prize-strip{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}
 .opening-rewards.is-r14-v3 .reward-prize-card:nth-child(-n+6){border-top:1px solid #e7e0d4}
 .opening-rewards.is-r14-v3 .reward-prize-card:nth-child(-n+3){border-top:0}
 .opening-rewards.is-r14-v3 .reward-prize-card:nth-child(n+4){border-top:1px solid #e7e0d4}
 .opening-rewards.is-r14-v3 .reward-prize-card{padding:12px 8px}
 .opening-rewards.is-r14-v3 .reward-prize-card h3{font-size:12px}
 .opening-rewards.is-r14-v3 .reward-claim-form,.opening-rewards.is-r14-v3 .reward-claim-form [data-cash-transfer-fields]{grid-template-columns:minmax(0,1fr)}
 .opening-rewards.is-r14-v3 .reward-claim-form label,.opening-rewards.is-r14-v3 .reward-claim-form [data-cash-transfer-fields],.opening-rewards.is-r14-v3 .reward-claim-form>p,.opening-rewards.is-r14-v3 .reward-claim-form button{grid-column:1}
 body.storefront-body .opening-popup-root[data-wheel-count="15"] .opening-popup__prize-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:0}
 body.storefront-body .opening-popup-root[data-wheel-count="15"] .opening-popup__prize-row article{padding:12px 8px}
}
body.storefront-body .opening-rewards.is-r14-v3 .reward-status,
body.storefront-body .opening-rewards.is-r14-v3 .reward-claim-status,
body.storefront-body .opening-rewards.is-r14-v3 .reward-history-note{color:#62533e!important;font-size:12px!important}

/* Mobile V3 wheel: restore a single centered column after the global reward layout. */
@media(max-width:760px){
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-hero{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto auto!important;gap:0!important;align-items:initial!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-campaign-heading{grid-column:1!important;grid-row:1!important;justify-self:center!important;width:100%;margin-bottom:8px!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-stage{grid-column:1!important;grid-row:2!important;position:relative!important;inset:auto!important;justify-self:center!important;align-self:start!important;width:100%!important;max-width:340px!important;margin:8px auto 0!important;padding:0!important;text-align:center!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-wheel-controls{position:relative!important;inset:auto!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:12px auto 0!important;padding:0 2px!important;text-align:center!important;direction:inherit!important;box-sizing:border-box!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-wheel-controls [data-wheel-status]{flex-basis:100%!important;width:100%!important;margin:0 0 2px!important;text-align:center!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-campaign-portrait{position:relative!important;inset:auto!important;grid-column:1!important;grid-row:3!important;justify-self:center!important;align-self:center!important;width:72px!important;height:90px!important;min-height:0!important;max-height:90px!important;margin:8px auto 0!important;overflow:visible!important;transform:none!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-campaign-portrait img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;transform:none!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-hero-copy{grid-column:1!important;grid-row:4!important;transform:none!important;padding:12px 0 0!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-result{grid-column:1!important;grid-row:5!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .wheel-center .wheel-center-label{max-width:100%!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:keep-all!important;font-size:12px!important;line-height:1.15!important;margin:0!important}
 html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .wheel-center .wheel-center-brand{font-size:7px!important;line-height:1.1!important;margin-top:3px!important}
}
html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-primary,
html body.storefront-body.nihao-ui[data-nihao-page] .opening-rewards.is-r14-v3 .reward-claim-form button{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.storefront-body.nihao-ui .opening-popup-root[data-wheel-count="15"] .opening-popup__primary{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.storefront-body.nihao-ui .opening-popup-root[data-wheel-count="15"] .opening-popup__wheel-center{color:#fff!important;background:#3a2429!important;white-space:nowrap;font-size:12px!important;line-height:1.2}
html body.storefront-body.nihao-ui .opening-popup-root[data-wheel-count="15"] .opening-popup__wheel-center span{color:#fff!important;-webkit-text-fill-color:#fff!important}
