.reward-feedback-balances{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin:0 0 12px;min-height:36px}
dialog>.reward-feedback-balances{position:sticky;top:0;z-index:5;background:#fff9ed;padding:6px 34px 6px 0;border-bottom:1px solid #d8c49b}
.reward-feedback-balances>:is(#close,.pet-knowledge-close){position:absolute;top:6px;right:0;float:none;margin:0;width:30px;min-width:30px;height:30px;padding:0;border:0;background:#fff9ed;font-size:14px}
.pet-completion>.reward-feedback-balances{grid-column:1/-1;width:100%;box-sizing:border-box}
.reward-feedback-balances .game-reward-chip{position:relative;display:flex;align-items:center;gap:5px;padding:4px 9px;border:1px solid #d8c49b;border-radius:12px;background:#fff9ec;color:#204d47;font-size:14px;white-space:nowrap}
.reward-feedback-balances img{width:25px;height:25px;object-fit:contain}.reward-feedback-balances strong{font-variant-numeric:tabular-nums;min-width:2ch}
.reward-feedback-balances .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.knowledge-answer-status:not(:empty){padding-bottom:44px}
.reward-sound-samples{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.reward-feedback-balances .game-reward-gain{position:absolute;right:7px;top:-12px;font-style:normal;font-weight:700;color:#256d62;background:#fff9ec;border-radius:5px}
.reward-feedback-layer{position:fixed;inset:0;pointer-events:none!important;z-index:2000;overflow:hidden}
.reward-feedback-gains[hidden]{display:none}.reward-milestone-inline{color:#74613c;font-weight:700}
dialog>.reward-feedback-layer{position:absolute;inset:0;min-height:100%;z-index:8}
.discovery-overlay .reward-feedback-layer{position:fixed}
.reward-feedback-gains{position:absolute;display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;width:max-content;max-width:min(290px,90vw);transform:translateX(-50%);filter:drop-shadow(0 2px 6px #13362b22)}
.reward-feedback-gain{display:flex;align-items:center;gap:5px;background:#fffbf0f5;border:1px solid #bbccae;border-radius:18px;padding:5px 10px;font-size:16px;white-space:nowrap;color:#285e54}
.reward-feedback-gain.crystals{border-color:#94c2cc;color:#265e76}.reward-feedback-gain img{width:28px;height:28px;object-fit:contain}.reward-feedback-gain small{font-size:12px}
.reward-particle{position:absolute;display:block;width:9px;height:9px;border:1px solid #e7d08e;background:#9ce4d4;box-shadow:0 0 8px #86d8bb;border-radius:50%}
.reward-spirit-ring{position:absolute;width:32px;height:32px;border:1px solid #a0c5ad;border-radius:50%;box-shadow:inset 0 0 0 4px #e8ce8a30,0 0 7px #d0e9b750}.reward-spirit-ring::after{content:'';position:absolute;inset:7px;border:1px solid #d4ba74;border-radius:42% 58% 42% 58%}
.reward-particle.crystals{width:10px;height:15px;clip-path:polygon(50% 0,100% 40%,60% 100%,10% 65%,0 30%);background:linear-gradient(120deg,#e4fbff,#67bfdb 55%,#2f6e97);border-radius:0;box-shadow:none}
.reward-particle.reward-resource-flight{width:28px;height:28px;object-fit:contain;border:0;border-radius:0;clip-path:none;background:none;box-shadow:none;filter:drop-shadow(0 0 4px #f9e2a4)}
.reward-feedback-layer[data-completion] .reward-feedback-gain{font-size:18px;font-weight:700;border-width:2px;padding:7px 12px}
.reward-feedback-layer[data-completion] .reward-feedback-gains{max-width:min(360px,calc(100vw - 24px))}
.reward-feedback-layer[data-completion=volume] .reward-milestone{background:#fff1c7;color:#78501a;border-color:#c49742}
.game-reward-chip.reward-earned{animation:reward-wallet-pulse 900ms ease-out}
@keyframes reward-wallet-pulse{0%,100%{filter:none}40%{filter:drop-shadow(0 0 7px #8ac7ac);background:#eef8dc}}
.reward-understood{position:absolute;font-size:29px;line-height:1;color:#427e65;transform:translate(-50%,-50%);text-shadow:0 0 10px #ffedb5}
.reward-understood.knowledge{border:2px solid #86a383;border-radius:9px;padding:2px 6px;font-size:20px;background:#fff7dd}
.reward-answer-correct{border-color:#3f8976!important;background-color:#e5f0e6!important}.discovery-sequence .reward-answer-correct{border-left:3px solid #4e9981;padding-left:8px}
.reward-received{box-shadow:0 0 0 3px #7dbbaa66;background:#ecf6e9!important}
.reward-growth,.reward-milestone{font-size:13px;padding:5px 9px;border-radius:10px;background:#fff3d8;color:#74613c;border:1px solid #d5ba84;white-space:nowrap}.reward-milestone{font-weight:700;letter-spacing:.12em;border-style:double;border-width:3px}
.reward-feedback-layer[data-reduced=true] .reward-understood{display:none}
.reward-growth{display:flex;align-items:center;gap:6px}.reward-growth-paw{position:relative;display:inline-block;width:19px;height:18px}.reward-growth-paw i{position:absolute;display:block;background:#88713e;width:5px;height:6px;border-radius:50%}.reward-growth-paw i:nth-child(1){left:0;top:4px;transform:rotate(-25deg)}.reward-growth-paw i:nth-child(2){left:5px;top:0}.reward-growth-paw i:nth-child(3){left:11px;top:0}.reward-growth-paw i:nth-child(4){left:15px;top:4px;transform:rotate(25deg)}.reward-growth-paw i:nth-child(5){left:4px;top:9px;width:11px;height:8px;border-radius:55% 55% 40% 40%}
@media(max-width:480px){.reward-feedback-gain{font-size:14px;padding:4px 7px}.reward-feedback-gain img{width:23px;height:23px}.reward-feedback-balances{justify-content:flex-start;margin-bottom:8px;gap:6px}.reward-feedback-gains{gap:5px;max-width:260px}}
@media(prefers-reduced-motion:reduce){.reward-feedback-layer *,.reward-answer-correct,.reward-received{animation:none!important;transition:none!important}}
@media(prefers-reduced-motion:reduce){.game-reward-chip.reward-earned{animation:none!important}}
@media(max-width:480px){.reward-feedback-layer[data-completion] .reward-feedback-gain{font-size:16px;padding:5px 8px}}
