.resource-center{--resource-ink:#183354;--resource-muted:#425b7b;--resource-accent:#1456b8;gap:24px;color:var(--resource-ink);display:flex;flex-direction:column;align-items:stretch}
.resource-center .activity-reward-inline{margin:0;padding:0;min-width:0}
.activity-reward-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.activity-reward-heading h2,.resource-center .resource-history-heading h2{font-size:20px;line-height:1.4;margin:0;font-weight:650}
.activity-reward-heading p{font-size:14px;line-height:1.6;color:var(--resource-muted);margin:0}
.activity-reward-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.resource-center .reward-wallet{margin:0;padding:20px;background:#fff;border:0;border-radius:12px;box-shadow:none;min-width:0}
.resource-center .reward-wallet-heading{align-items:start;gap:12px}
.resource-center .reward-wallet-heading h2{font-size:17px;line-height:1.5;margin:0}
.resource-center .reward-wallet-heading p{font-size:13px;color:var(--resource-muted);line-height:1.6;margin:3px 0 0}
.resource-center .reward-wallet-total{margin:12px 0;font-variant-numeric:tabular-nums;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.resource-center .reward-wallet-total strong{font-size:32px;line-height:1.2;letter-spacing:-.02em}
.resource-center .reward-wallet-total span{font-size:14px;color:var(--resource-muted);margin:0}
.resource-center .reward-grants{padding:0;margin:14px 0 0;display:grid;gap:12px;list-style:none}
.resource-center .reward-grants li{padding:12px 0 0;border-top:1px solid #e0e8f2;min-width:0}
.resource-center .reward-grants li>div{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;font-size:14px;line-height:1.6}
.resource-center .reward-grants li span,.resource-center .reward-grants li strong{overflow-wrap:anywhere}
.resource-center .reward-grants time{font-size:13px;color:var(--resource-muted);font-variant-numeric:tabular-nums}
.resource-center .resource-history-heading{margin:0}
.resource-center .resource-history-heading p{margin:4px 0 0;font-size:14px;color:var(--resource-muted)}
.resource-center .resource-toolbar{margin:0 0 4px;gap:12px}
.resource-center .resource-row{padding:16px 20px;border:0;box-shadow:none}
.resource-center .reward-refresh,.resource-center button:not(.resource-project-card),.resource-center select,.resource-center input:not([type=checkbox]){min-height:44px}
.resource-center button:not(.resource-project-card):focus-visible,.resource-center a:focus-visible,.resource-center select:focus-visible,.resource-center input:focus-visible{outline:3px solid #1456b8;outline-offset:3px}
.resource-center .reward-refresh{padding:8px 12px;font-size:14px;flex-shrink:0;color:#1456b8}
.resource-center ::selection{background:#c9dfff;color:#183354}
.resource-center input{caret-color:#1456b8}
.resource-center .empty-state{padding:24px 16px;min-height:0}
.resource-center .resource-choice-heading{font-size:20px;line-height:1.4;margin:0 0 -12px;font-weight:650}
@media(max-width:767px){.resource-center{gap:20px}
.activity-reward-balances{grid-template-columns:minmax(0,1fr);gap:12px}
.resource-center .reward-wallet{padding:16px}
.activity-reward-heading{gap:5px}
.resource-center .resource-toolbar{flex-wrap:wrap}
.resource-center .resource-row{padding:16px;gap:12px;flex-wrap:wrap}
.resource-center .reward-wallet-heading{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.resource-center *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
.resource-center .resource-catalog{color:#242424;min-height:0}

/* Keep balance content on one reading edge; separate the footer action. */
.resource-center .reward-wallet:is([aria-label="奖励必火余额"],[aria-label="奖励星光余额"]) .reward-wallet-heading{align-items:center}
.resource-center .reward-wallet:is([aria-label="奖励必火余额"],[aria-label="奖励星光余额"])>.reward-wallet-heading+p{margin:8px 0 0;font-size:13px;line-height:1.6;color:var(--resource-muted)}
.resource-center .reward-wallet:is([aria-label="奖励必火余额"],[aria-label="奖励星光余额"])>.reward-wallet-total{margin:16px 0 8px}
.resource-center .reward-wallet:is([aria-label="奖励必火余额"],[aria-label="奖励星光余额"])>.reward-empty{margin:0;font-size:14px;line-height:1.6;color:var(--resource-muted)}
.resource-center .reward-wallet:is([aria-label="奖励必火余额"],[aria-label="奖励星光余额"])>.form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 0;padding:16px 0 0;border-top:1px solid #e0e8f2}
.resource-center .reward-wallet:is([aria-label="奖励必火余额"],[aria-label="奖励星光余额"])>.form-actions>span{min-width:0;font-size:13px;line-height:1.6;color:var(--resource-muted);overflow-wrap:anywhere}
.resource-center .reward-wallet:is([aria-label="奖励必火余额"],[aria-label="奖励星光余额"])>.form-actions>button{flex:0 0 auto;margin-left:auto;min-width:96px}
@media(max-width:479px){
.resource-center .reward-wallet:is([aria-label="奖励必火余额"],[aria-label="奖励星光余额"])>.form-actions{flex-direction:column;align-items:stretch}
.resource-center .reward-wallet:is([aria-label="奖励必火余额"],[aria-label="奖励星光余额"])>.form-actions>button{width:100%;margin-left:0}
}
