body[data-active-page=codes] .topbar,body[data-active-page=codes] .page-footer{display:none}
#codes-page{max-width:680px;margin:18px auto 0;padding:0 0 40px;border:0;background:transparent;min-height:65vh}
.codes-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
#codes-count{font-size:13px;font-weight:500;color:var(--muted);vertical-align:middle;margin-left:8px}
#codes-refresh{background:transparent;color:var(--muted);border:0;font-size:25px;width:44px;height:44px}
#codes-games{display:flex;flex-wrap:wrap;gap:4px 16px;padding:4px 0 12px;border-bottom:1px solid var(--line)}
#codes-games button{border:0;background:transparent;color:var(--muted);padding:10px 0;font-size:12px;min-height:40px}
#codes-games button[aria-pressed=true]{color:var(--accent);font-weight:700}
#codes-status,#codes-empty{color:var(--muted);font-size:12px;line-height:1.8}#codes-status{margin:14px 0 0}#codes-empty{padding:48px 12px;text-align:center}
.redeem-row{padding:24px 0;border-bottom:1px solid var(--line)}
.redeem-row header{display:flex;align-items:center;gap:9px;font-size:12px}.redeem-row header img{width:30px;height:30px;border-radius:9px;object-fit:cover}
.redeem-remaining{margin-left:auto;color:var(--muted);font-size:11px}.redeem-remaining.urgent{color:var(--theme-danger)}
.redeem-copy{display:flex;align-items:center;gap:16px;background:transparent;border:0;color:var(--text);width:100%;padding:16px 0 8px;text-align:left;min-height:48px}
.redeem-copy span{font-size:clamp(17px,4.5vw,25px);font-weight:750;letter-spacing:.035em;overflow-wrap:anywhere;user-select:text}
.redeem-copy svg{flex-shrink:0;margin-left:auto;width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:1.5}.redeem-copy.copied svg{stroke:var(--theme-success)}
.redeem-reward{font-size:14px;margin:4px 0 16px;color:var(--text)}
.redeem-row footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;color:var(--muted);font-size:11px}.redeem-row a{color:var(--muted);text-decoration:none}
#codes-copy-status{position:sticky;bottom:110px;background:var(--bg);color:var(--accent);font-size:13px;line-height:1.6;text-align:center}#codes-copy-status:not(:empty){padding:12px;border:1px solid var(--line);border-radius:12px}
#codes-reviews{margin-top:36px;color:var(--muted);font-size:12px;line-height:1.7}#codes-reviews summary{cursor:pointer;padding:10px 0}#codes-review-list{list-style:none;padding:0}#codes-review-list li{padding:12px 0;border-bottom:1px solid var(--line)}#codes-review-list a{color:var(--text)}#codes-review-list p{margin:4px 0}
#codes-page button:focus-visible,#codes-page a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
#codes-collect{margin-top:24px;background:transparent;color:var(--muted);border:0;padding:12px 0;font-size:12px}#codes-collection-status{font-size:11px;color:var(--muted);line-height:1.8}
@media(max-width:700px){#codes-page{margin-top:10px}.redeem-row{padding:20px 0}}
