/* HashPool player profiles and mining-power leaderboard. Pure presentation. */
.hp-player-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden;border:3px solid #8471b0;background:linear-gradient(145deg,#4c3d75,#171a38);color:#ffe27c;font-weight:950;box-shadow:3px 3px 0 #151426;border-radius:7px;width:52px;height:52px;font-size:22px;line-height:1}
.hp-player-avatar img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:1}
.hp-player-avatar--sm{width:46px;height:46px;font-size:20px}
.hp-player-avatar--lg{width:100px;height:100px;font-size:42px;border-width:4px}
.hp-rank-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.hp-rank-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:25px}
.hp-rank-stat{padding:20px;min-width:0;border-bottom:4px solid #a17acc}
.hp-rank-stat small{display:block;letter-spacing:1.25px;color:#baafcc;font-size:11px;font-weight:900}
.hp-rank-stat strong{display:block;font-weight:950;font-size:clamp(21px,2.3vw,32px);color:#ffde7b;margin:6px 0;overflow-wrap:anywhere}
.hp-rank-stat span{display:block;color:#b6abc9;font-size:12px}
.hp-rank-filters{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 20px;flex-wrap:wrap}
.hp-rank-filter-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.hp-rank-filter-controls select{min-width:180px;max-width:280px}
.hp-rank-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}
.hp-rank-podium-card{text-align:center;display:flex;flex-direction:column;align-items:center;gap:9px;padding:22px 12px;min-width:0;position:relative;border:2px solid #665a80;background:linear-gradient(175deg,#423453,#292844)}
.hp-rank-place-1{min-height:275px;border-color:#edc66d;background:linear-gradient(180deg,#645137,#302c46);box-shadow:0 8px 22px #f7d07515}
.hp-rank-place-2{min-height:248px;border-color:#b8c9e4}.hp-rank-place-3{min-height:235px;border-color:#cf9773}
.hp-rank-is-me{outline:2px solid #4ce7df;outline-offset:2px}
.hp-rank-medal{font-size:35px;line-height:1.1}.hp-rank-podium-card .hp-player-avatar{border-radius:13px}
.hp-rank-player-name{font-size:clamp(15px,1.6vw,19px);overflow-wrap:anywhere;max-width:100%;color:#fff}
.hp-rank-player-id{font-size:10px;color:#bdb5ce;font-weight:800;letter-spacing:.5px}
.hp-rank-power{font-weight:950;font-size:clamp(16px,1.9vw,24px);color:#69f1e9;white-space:normal;overflow-wrap:anywhere}
.hp-rank-power small,.hp-rank-power-cell small{font-size:12px;color:#aaa2c6}
.hp-rank-position{border:1px solid #74628f;padding:4px 9px;font-size:10px;letter-spacing:1px;color:#f9e09b;font-weight:900}
.hp-rank-table-card{padding:7px 19px 15px}.hp-rank-table{min-width:580px}
.hp-rank-user-cell{display:flex;align-items:center;gap:12px;min-width:170px}
.hp-rank-user-cell strong{display:block;font-size:13px;overflow-wrap:anywhere}.hp-rank-user-cell small{display:block;color:#aba4c1;margin-top:4px;font-size:11px}
.hp-rank-number{font-weight:950;font-size:18px;color:#ffc957}
.hp-rank-league-tag{border:1px solid #695a81;background:#342f4c;color:#c7f4ff;padding:5px 10px;font-size:11px;white-space:nowrap}
.hp-rank-power-cell{font-weight:950;color:#61e6dc!important;font-variant-numeric:tabular-nums;font-size:14px}
.hp-rank-row-me{--bs-table-bg:#28464b!important;box-shadow:inset 4px 0 #4ae7e0}
.hp-rank-empty{text-align:center;padding:35px}.hp-rank-empty>span{font-size:40px}.hp-rank-empty h3{margin:12px 0}.hp-rank-empty p{color:#bcb1cd}
.hp-rank-note{font-size:12px;color:#9e95b6}.hp-rank-pager{padding-top:16px}
.hp-profile-card{padding:clamp(19px,2.7vw,28px)}.hp-profile-intro{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.hp-profile-intro h2{margin:5px 0 4px;overflow-wrap:anywhere}
.hp-profile-help{font-size:12px;color:#b1a8c3;line-height:1.65}.hp-profile-email{padding:12px 13px;background:#252440;border:1px solid #645879;overflow-wrap:anywhere}
.hp-avatar-upload{display:flex;gap:15px;align-items:center}.hp-avatar-preview{width:90px;height:90px;flex:0 0 90px;display:grid;place-items:center;border:2px dashed #8c739d;border-radius:8px;background:#25223b;font-size:30px;overflow:hidden}.hp-avatar-preview img{width:100%;height:100%;object-fit:cover}
.hp-sidebar-profile .hp-player-avatar{margin-right:8px}.hp-sidebar-profile strong{overflow-wrap:anywhere}
@media(max-width:820px){.hp-rank-stats{gap:10px}.hp-rank-podium{gap:9px}.hp-rank-podium-card{padding:15px 8px}.hp-rank-podium-card .hp-player-avatar{width:72px;height:72px;font-size:30px}.hp-rank-place-1{min-height:235px}.hp-rank-place-2{min-height:220px}.hp-rank-place-3{min-height:205px}}
@media(max-width:600px){.hp-rank-stats{grid-template-columns:1fr 1fr}.hp-rank-stats>*:first-child{grid-column:1/-1}.hp-rank-podium{grid-template-columns:1fr;gap:10px}.hp-rank-podium-card{min-height:auto!important;display:grid;grid-template-columns:55px 64px 1fr;gap:5px 11px;text-align:left;justify-items:start}.hp-rank-medal{grid-column:1;grid-row:1/4}.hp-rank-podium-card .hp-player-avatar{grid-column:2;grid-row:1/4;width:59px;height:59px;font-size:24px}.hp-rank-player-name{grid-column:3}.hp-rank-player-id{grid-column:3}.hp-rank-power{grid-column:3}.hp-rank-position{display:none}.hp-rank-filters{align-items:stretch}.hp-rank-filter-controls{width:100%}.hp-rank-filter-controls .form-select{flex:1 1 170px;min-width:0}.hp-avatar-upload{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.hp-rank-podium-card,.hp-player-avatar{transition:none}}
