html body .rel-rewards-page{background:radial-gradient(ellipse at 80% 0,color-mix(in srgb, var(--ui-panel) 24%, transparent),transparent 60%),var(--ui-panel)}
html body .rel-rewards-page>.rel-dialog{background:transparent}
html body .rel-rewards-page .rel-rewards-intro{padding:8px 0 20px}
html body .rel-rewards-intro>small{letter-spacing:.15em;font-size:10px;color:var(--ui-gold);font-weight:800}
html body .rel-rewards-intro h3{font-size:clamp(24px,6vw,32px);line-height:1.25;margin:12px 0;color:var(--ui-muted)}
html body .rel-rewards-intro p{font-size:13px;line-height:1.6;color:var(--ui-muted);margin:0 0 14px}
html body .rel-rewards-intro .rel-reward-summary{color:var(--ui-gold);font-size:12px;margin:0;padding:12px 14px;border:1px solid var(--ui-line);border-radius:15px;background:color-mix(in srgb, var(--ui-button) 5%, transparent)}
html body .rel-reward-controls{margin-bottom:18px}
html body .rel-reward-controls .rel-reward-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 12px}
html body .rel-reward-filters button{min-width:0;min-height:44px;font-size:12px;padding:10px 5px!important;word-break:normal;overflow-wrap:normal;white-space:nowrap}
html body .rel-reward-filters button[aria-pressed=true]{border-color:var(--ui-line);background:linear-gradient(140deg,var(--ui-raised),var(--ui-raised));color:var(--ui-gold)}
html body .rel-reward-level{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--ui-ink)}
html body .rel-reward-level select{flex:1;min-width:0;margin:0;background:var(--ui-panel)}
html body .rel-rewards-page .rel-reward-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html body .rel-rewards-page .rel-reward-card{min-width:0;gap:10px;padding:11px;border-radius:22px;border-color:var(--ui-line);background:radial-gradient(ellipse at center,color-mix(in srgb, var(--ui-button) 6%, transparent),transparent 75%),var(--ui-raised)}
html body .rel-reward-card.equipped{border-color:var(--ui-line)}
html body .rel-reward-card b{font-size:12px;line-height:1.5;overflow-wrap:break-word}
html body .rel-reward-card .rel-reward-variant{font-size:10px;color:var(--ui-ink)}
html body .rel-reward-card .rel-reward-hint{margin-top:auto;line-height:1.5;color:var(--ui-gold);font-size:10px}
html body .rel-reward-top{font-size:10px;gap:5px}
html body .rel-reward-top img{width:28px;height:28px}
html body .rel-reward-top small{font-size:9px}
html body .rel-reward-preview{aspect-ratio:1.15;min-height:0!important}
html body .rel-reward-preview img{width:100%;height:100%;object-fit:contain}
html body .rel-reward-large-wrap{position:relative;max-width:500px;margin:auto}
html body .rel-frame-demo{aspect-ratio:1;width:min(380px,100%)}
html body .rel-frame-demo .rel-reward-large{position:relative;width:100%;height:100%;z-index:1}
html body .rel-frame-demo-avatar{position:absolute;left:24%;top:24%;width:52%;height:52%;border-radius:50%;display:grid;place-items:center;background:var(--ui-button);font-size:clamp(34px,18vw,85px);overflow:hidden}
html body .rel-frame-demo-avatar img{width:100%;height:100%;object-fit:cover}
html body .rel-rewards-empty{grid-column:1/-1;text-align:center;padding:30px 16px;border:1px dashed var(--ui-line);border-radius:18px;color:var(--ui-ink);font-size:13px}
html body .rel-title{width:clamp(110px,32vw,170px);height:44px;object-fit:contain}
html body .rel-rewards-page button:focus-visible,html body .rel-rewards-page select:focus-visible{outline:2px solid var(--ui-line);outline-offset:2px}
@media(min-width:650px){html body .rel-rewards-page .rel-reward-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}}
