/* F12C2G: TOP 1000 header polish; scoped, respects existing theme. */
.top1000-page .top1000-page-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px}
.top1000-page .top1000-page-actions > .page-bar__action,
.top1000-page .top1000-page-actions > .top1000-page-balance,
.top1000-page .top1000-page-actions > .top1000-golden-balance{box-sizing:border-box;min-height:58px;margin:0;align-self:stretch;border-radius:6px}
.top1000-page .top1000-page-actions > .page-bar__action{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 17px;white-space:nowrap}
.top1000-page .top1000-page-actions .top1000-page-balance{display:flex;align-items:center;justify-content:center;gap:10px;min-width:245px;padding:8px 14px}
.top1000-page .top1000-page-actions .top1000-page-balance .rd-top1000-coin{width:42px;height:42px;object-fit:contain;flex:0 0 42px;display:block}
.top1000-page .top1000-page-actions .top1000-page-balance span{max-width:95px;line-height:1.2;font-size:13px}
.top1000-page .top1000-page-actions .top1000-page-balance strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:clamp(15px,1.3vw,20px)}
.top1000-page .top1000-page-actions .top1000-golden-balance{display:flex;align-items:center;justify-content:center;gap:9px;min-width:220px;padding:8px 12px}
.top1000-page .top1000-page-actions .top1000-golden-balance img{width:49px;height:46px;flex:0 0 49px;object-fit:contain;display:block}
.top1000-page .top1000-page-actions .top1000-golden-balance span{font-size:14px;line-height:1.2;white-space:nowrap}
.top1000-page .top1000-page-actions .top1000-golden-balance strong{font-size:19px;font-variant-numeric:tabular-nums;min-width:1.5em;text-align:right}
@media(max-width:1050px){
 .top1000-page .top1000-page-actions{width:100%;margin-left:0;justify-content:flex-start}
}
@media(max-width:600px){
 .top1000-page .top1000-page-actions{gap:8px}
 .top1000-page .top1000-page-actions > .page-bar__action{width:100%;min-height:50px}
 .top1000-page .top1000-page-actions > .top1000-page-balance,
 .top1000-page .top1000-page-actions > .top1000-golden-balance{flex:1 1 100%;width:100%;justify-content:space-between;min-width:0}
}

/* F12C2G TOP1000 COMPACT FIX — only this page, preserving theme and icon assets. */
@media (min-width: 1281px) {
  .top1000-page .page-bar {gap:14px; min-height:96px; padding:11px 14px}
  .top1000-page .page-bar > div:first-child {flex:1 1 240px; min-width:210px}
  .top1000-page .top1000-page-actions {flex:0 0 auto; width:auto; margin-left:auto; flex-wrap:nowrap; justify-content:flex-end}
}
.top1000-page .top1000-page-actions {gap:6px; align-items:center}
.top1000-page .top1000-page-actions > .page-bar__action,
.top1000-page .top1000-page-actions > .top1000-page-balance,
.top1000-page .top1000-page-actions > .top1000-golden-balance {min-height:42px; height:42px; margin:0; flex-shrink:0; border-radius:7px}
.top1000-page .top1000-page-actions > .page-bar__action {padding:8px 11px; gap:6px; font-size:13px; line-height:1.1}
.top1000-page .top1000-page-actions > .top1000-page-balance {min-width:0; width:auto; padding:5px 10px; gap:7px; justify-content:flex-start}
.top1000-page .top1000-page-actions .top1000-page-balance .rd-top1000-coin {width:30px; height:30px; flex:0 0 30px}
.top1000-page .top1000-page-actions .top1000-page-balance span {max-width:none; white-space:nowrap; font-size:12px; line-height:1.1}
.top1000-page .top1000-page-actions .top1000-page-balance strong {font-size:17px; line-height:1.1}
.top1000-page .top1000-page-actions > .top1000-golden-balance {min-width:0; width:auto; padding:5px 10px; gap:7px; justify-content:flex-start}
.top1000-page .top1000-page-actions .top1000-golden-balance img {width:32px; height:32px; flex:0 0 32px}
.top1000-page .top1000-page-actions .top1000-golden-balance span {font-size:12px; white-space:nowrap; line-height:1.1}
.top1000-page .top1000-page-actions .top1000-golden-balance strong {font-size:17px; min-width:0}
@media (min-width:721px) and (max-width:1280px) {
  .top1000-page .page-bar {flex-wrap:wrap; align-items:center; gap:8px; padding:10px 13px}
  .top1000-page .page-bar > div:first-child {width:100%; flex:1 1 100%}
  .top1000-page .top1000-page-actions {display:flex; flex-direction:row; flex-wrap:wrap; width:100%; margin:0; justify-content:flex-start; gap:6px}
}
@media (max-width:720px) {
  .top1000-page .page-bar {padding:10px; gap:10px; align-items:stretch; flex-wrap:wrap}
  .top1000-page .page-bar > div:first-child {width:100%}
  .top1000-page .top1000-page-actions {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; margin:0; gap:7px; align-items:stretch}
  .top1000-page .top1000-page-actions > .page-bar__action {width:100%; min-width:0; justify-content:center; white-space:normal; text-align:center}
  .top1000-page .top1000-page-actions > .top1000-page-balance,
  .top1000-page .top1000-page-actions > .top1000-golden-balance {width:100%; min-width:0; flex:initial; justify-content:space-between}
  .top1000-page .top1000-page-actions .top1000-page-balance strong {font-size:14px}
  .top1000-page .top1000-page-actions .top1000-page-balance span {white-space:normal}
  .top1000-page .top1000-page-actions .top1000-golden-balance span {white-space:normal}
}
@media (max-width:390px) {
  .top1000-page .top1000-page-actions > .top1000-page-balance,
  .top1000-page .top1000-page-actions > .top1000-golden-balance {grid-column:1/-1}
  .top1000-page .top1000-page-actions .top1000-page-balance strong {font-size:16px}
}
