/* Python Básico — recompensas (paleta do pp.css) */
.rw-chip{position:relative;display:inline-flex;align-items:center;gap:.35rem;overflow:hidden;padding:.42rem .7rem;border:1px solid rgba(244,180,0,.55);border-radius:999px;background:rgba(244,180,0,.12);color:#ffe49a;font:700 .8rem/1 Inter,sans-serif;cursor:pointer;white-space:nowrap;flex:none}
.rw-chip:hover,.rw-chip[aria-expanded=true]{background:rgba(244,180,0,.24)}
.rw-chip:focus-visible,.rw-x:focus-visible{outline:2px solid #7ee2c5;outline-offset:2px}
.rw-ic{font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:1.05em;line-height:1;vertical-align:-.15em;font-variation-settings:'FILL' 1}
.rw-st{display:inline-flex;align-items:center;gap:.1rem;color:#ffb27a}
.rw-mini{position:absolute;left:0;bottom:0;height:3px;background:var(--pp-gold,#f4b400);transition:width .5s}
.rw-panel{position:fixed;z-index:1250;top:3.6rem;right:.8rem;width:min(340px,calc(100vw - 1.6rem));max-height:calc(100vh - 5rem);overflow:auto;padding:1rem;border-radius:16px;background:#fff;color:var(--pp-ink,#0f2438);border:1px solid var(--pp-line,#dbe6ee);box-shadow:0 18px 50px rgba(6,26,43,.35)}
.rw-ph{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem;font:800 1rem Manrope,sans-serif}
.rw-x{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:#eef4f8;color:var(--pp-ink,#0f2438);cursor:pointer}
.rw-row{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin:.55rem 0 .3rem;font-size:.86rem;color:var(--pp-muted,#52667a)}
.rw-row b{color:var(--pp-ink,#0f2438)}
.rw-bar{height:9px;border-radius:99px;background:#e6eef4;overflow:hidden}
.rw-bar i{display:block;height:100%;background:linear-gradient(90deg,#f4b400,#ffd75e);border-radius:99px;transition:width .5s}
.rw-bar.is-cert i{background:linear-gradient(90deg,#008b76,#00cca3)}
.rw-note{margin:.6rem 0 0;font-size:.84rem;line-height:1.45}
.rw-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.9rem}
.rw-b{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.6rem .3rem;border-radius:12px;background:#f1f5f8;color:#8497a8;text-align:center;font-size:.7rem;font-weight:600;line-height:1.2}
.rw-b .rw-ic{font-size:1.6rem}
.rw-b.is-on{background:#fff6d9;color:#8a5d00}
.rw-fine{margin:.8rem 0 0;font-size:.72rem;line-height:1.4;color:var(--pp-muted,#52667a)}
.rw-toasts{position:fixed;z-index:1300;left:50%;bottom:5rem;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.4rem;pointer-events:none;width:max-content;max-width:calc(100vw - 1.6rem)}
.rw-toast{display:flex;align-items:center;gap:.5rem;padding:.55rem .9rem;border-radius:999px;background:var(--pp-navy,#061a2b);color:#fff;font:600 .85rem/1.2 Inter,sans-serif;box-shadow:0 8px 24px rgba(6,26,43,.35);animation:rwin .3s ease both}
.rw-toast b{color:#ffd75e}.rw-toast span:not(.rw-ic){opacity:.85}
.rw-toast.is-badge{background:#0b2545;border:1px solid #f4b400}
.rw-toast.is-out{opacity:0;transform:translateY(8px);transition:.4s}
@keyframes rwin{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.rw-toast,.rw-bar i,.rw-mini{animation:none;transition:none}}
@media (max-width:640px){.rw-chip .rw-xp{display:none}.rw-panel{top:3.2rem;right:.5rem}.rw-toasts{bottom:4.5rem}}
