#rewardJourney{max-width:1440px;margin:18px auto;padding:20px;border:2px solid #8c78d1;border-radius:24px;background:linear-gradient(125deg,#12294a,#342358);color:#f7f6ff;box-shadow:0 5px 0 #07182e;font:16px/1.5 system-ui,sans-serif}#rewardJourney p{margin:5px 0;color:#f0edff!important}#rewardJourney strong{font-size:23px;color:#ffe4a0!important}.rj-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.rj-summary>div{min-width:0}.rj-summary progress{width:min(100%,420px);accent-color:#f7cc53}.rj-scope{font-size:13px}.rj-status{font-size:15px}#rewardJourney button,.rj-dialog button{font:700 16px/1.3 system-ui;cursor:pointer;border:2px solid #fce5a2;border-radius:18px;padding:12px 17px;margin:5px;background:linear-gradient(#ffe6a3,#f3be4f);color:#162742;box-shadow:0 3px 0 #8c5e1e}#rewardJourney button:disabled,.rj-dialog button:disabled{cursor:default;background:#33465f;color:#e1e6f0;border-color:#8290a2;box-shadow:none}.rj-dialog{width:min(1200px,95vw);max-height:92vh;border:3px solid #b899ef;border-radius:24px;padding:24px;background:#102540;color:#f5f6ff;font:16px/1.5 system-ui;overscroll-behavior:contain}.rj-dialog::backdrop{background:#031024dd}.rj-dialog h2,.rj-dialog h3{color:#ffe4a0;margin:12px 0}.rj-dialog p{color:#eef4ff;margin:8px 0}.rj-close{float:right}.rj-cards{clear:both;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:18px}.rj-cards article{padding:14px;border:2px solid #7565af;border-radius:18px;background:#172f50}.rj-cards img{width:100%;height:auto;aspect-ratio:1122/1402;object-fit:contain;border-radius:12px}html body dialog#rewardCollection .rj-cards img{filter:none!important;opacity:1!important}.rj-cards .earned{border-color:#e6ba59}.rj-new{animation:rj-unlock 800ms ease-out 1;outline:2px solid #ffdf7c}.rj-detail{margin-top:22px;padding:18px;border:2px solid #97adce;border-radius:18px}.rj-detail canvas{display:block;width:min(100%,460px);height:auto;margin:15px auto;border-radius:14px}.rj-detail label{display:block}.rj-detail textarea{display:block;width:100%;box-sizing:border-box;background:#0b1a31;color:#fff;font:16px/1.5 system-ui;padding:12px;border:2px solid #a49acb;border-radius:12px}.rj-dialog :focus-visible,#rewardJourney :focus-visible{outline:3px solid #79e7ff;outline-offset:4px}.rj-dialog [hidden]{display:none!important}@keyframes rj-unlock{from{transform:scale(.96);box-shadow:0 0 50px #f8d074}to{transform:scale(1);box-shadow:0 0 0 transparent}}@media(max-width:600px){.rj-dialog{padding:12px}.rj-close{float:none}#rewardJourney{margin:12px 5px;padding:14px}.rj-summary>div{width:100%}}@media(prefers-reduced-motion:reduce){.rj-new{animation:none}}

/* Override site-wide light-theme element colors only inside this dark reward surface. */
html body dialog#rewardCollection{background:#102540!important;color:#f5f6ff!important}
html body dialog#rewardCollection :is(h2,h3){color:#ffe4a0!important}
html body dialog#rewardCollection :is(p,label){color:#eef4ff!important}
html body dialog#rewardCollection textarea{background:#0b1a31!important;color:#fff!important}
html body dialog#rewardCollection button,html body aside#rewardJourney button{background:linear-gradient(#ffe6a3,#f3be4f)!important;color:#162742!important;border-color:#fce5a2!important}
html body dialog#rewardCollection button:disabled,html body aside#rewardJourney button:disabled{background:#33465f!important;color:#e1e6f0!important;border-color:#8290a2!important}
html body aside#rewardJourney{background:linear-gradient(125deg,#12294a,#342358)!important;color:#f7f6ff!important}
html body dialog#rewardCollection{position:fixed!important;inset:4vh auto auto 50%!important;transform:translateX(-50%)!important;margin:0!important;height:auto!important;max-height:92vh!important;overflow:auto!important;box-sizing:border-box!important}
