/* DICE public web leaderboard — desktop 2 columns, mobile 1 column. */
.rank-section{max-width:1100px;margin:4px auto 28px;padding:0 20px;scroll-margin-top:18px}
.rank-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 16px}
.rank-eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:900;color:#3e8f72;margin:0 0 6px}
.rank-head h2{font-size:clamp(21px,2.8vw,30px);line-height:1.25;font-weight:950;letter-spacing:-.8px;margin:0 0 7px}
.rank-head p.rank-intro{font-size:12px;color:#6a837a;line-height:1.6;margin:0}
.rank-refresh{border:1px solid #b7d6c4;background:#fff;color:#416e60;white-space:nowrap;padding:9px 13px;border-radius:11px;font-size:12px;font-weight:800;min-height:39px}
.rank-refresh:hover,.rank-page-btn:not(:disabled):hover{background:#e3f5ea}
.rank-refresh:focus-visible,.rank-page-btn:focus-visible,.rank-country:focus-visible,.rank-link:focus-visible{outline:3px solid #2075bb;outline-offset:3px}
.rank-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.rank-card{min-width:0;background:#fffdf9;border:1px solid #dbe8dd;border-radius:23px;box-shadow:0 9px 24px rgba(43,83,69,.07);padding:17px 17px 14px}
.rank-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rank-card-title{display:flex;align-items:center;gap:8px;margin:0;font-size:18px;letter-spacing:-.45px;font-weight:950}
.rank-mark{font-size:23px;line-height:1}
.rank-count{font-size:11px;font-weight:750;color:#568071;white-space:nowrap;border-radius:999px;border:1px solid #cfe6d5;background:#edf8f0;padding:6px 9px}
.rank-card-desc{font-size:12px;color:#779186;line-height:1.55;margin:6px 0 12px;min-height:19px}
.rank-country-control{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px}
.rank-country-label{font-size:12px;color:#4a7666;font-weight:850;white-space:nowrap}
.rank-country{font:inherit;font-size:13px;min-width:0;max-width:100%;flex:1 1 165px;border:1px solid #bfdcca;border-radius:11px;background:#f7fcf9;color:#2b5a4f;padding:9px 11px;min-height:41px;font-weight:770;cursor:pointer}
.rank-country-hint{font-size:11px;color:#768e83;line-height:1.5;min-height:17px;margin:0 0 9px}
.rank-results{list-style:none;padding:0;margin:0;min-height:190px;display:flex;flex-direction:column;gap:9px}
.rank-entry{border:1px solid #e3ede4;background:#f9fcf8;border-radius:15px;padding:12px 12px 11px;min-width:0}
.rank-entry.rank-first{background:#fff8e7;border-color:#f0db9c}.rank-entry.rank-second{background:#f6f8fb;border-color:#dde6ef}.rank-entry.rank-third{background:#fff5ef;border-color:#e9d3c2}
.rank-entry.rank-mine{box-shadow:inset 0 0 0 2px #51b48e}
.rank-person{display:grid;grid-template-columns:33px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0}
.rank-position{width:33px;height:33px;display:grid;place-items:center;border-radius:10px;background:#e9f0e9;font-weight:950;font-size:12px;color:#56796d}
.rank-first .rank-position{background:#ffecb1;color:#8f601c}.rank-second .rank-position{background:#e3e9f0;color:#5b6d7c}.rank-third .rank-position{background:#fae2cd;color:#936543}
.rank-name{font-size:13px;font-weight:900;overflow-wrap:anywhere;line-height:1.45}.rank-region{color:#7d9489;font-size:10px;margin-top:2px;line-height:1.4;overflow-wrap:anywhere}
.rank-score{text-align:right;white-space:nowrap;min-width:0}.rank-score strong{display:block;color:#c16d4f;font-size:14px;font-weight:900;font-variant-numeric:tabular-nums}
.rank-score small{font-size:11px;display:block;color:#7b8f83;line-height:1.55;font-variant-numeric:tabular-nums}
.rank-quote{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:12px;color:#55736a;line-height:1.7;margin:8px 0 0;padding:9px 11px;background:#fff;border:1px solid #e1eae2;border-radius:10px;text-align:start}
.rank-quote:before{content:'“';color:#e0a487;font-size:18px;line-height:0;vertical-align:-3px;margin-right:4px}
.rank-me-badge{font-size:10px;display:inline-block;color:#1d8b68;background:#dbf7eb;padding:1px 6px;margin-left:6px;border-radius:999px}
.rank-status{border:1px dashed #c7dfd1;background:#f3faf4;color:#618176;border-radius:14px;padding:26px 13px;text-align:center;line-height:1.75;font-size:12px;min-height:170px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}
.rank-status-icon{font-size:30px}.rank-status strong{font-size:14px;color:#43725f}.rank-status p{margin:0;color:#6f8a7a}
.rank-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:11px 0 0}
.rank-pagination-note{font-size:11px;color:#789187;font-variant-numeric:tabular-nums}
.rank-pagination-buttons{display:flex;gap:7px}
.rank-page-btn{border-radius:9px;border:1px solid #cde3d5;background:#f7fbf6;color:#416d5b;font-weight:800;padding:7px 10px;min-height:34px;font-size:12px}
.rank-page-btn:disabled{opacity:.42;cursor:default}
.rank-footnote{color:#789186;font-size:11px;line-height:1.65;margin:11px 3px 0}
.game-bottom .rank-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#fff5df;color:#8d6333;border:1px solid #ead9a8;border-radius:999px;padding:6px 10px;font-weight:850;white-space:nowrap}
.game-bottom .rank-link:hover{background:#ffedc2}
@media(max-width:750px){.rank-section{padding:0 13px}.rank-layout{grid-template-columns:1fr;gap:12px}.rank-head{align-items:flex-start}.rank-card{padding:15px}.rank-head h2{font-size:22px}}
@media(max-width:380px){.rank-head{flex-direction:column;gap:11px}.rank-head h2{font-size:21px}.rank-person{grid-template-columns:31px minmax(0,1fr) auto;gap:7px}.rank-entry{padding:10px}.rank-score strong{font-size:12px}.rank-score small{font-size:10px}.game-bottom .rank-link{font-size:11px}}
@media(prefers-reduced-motion:reduce){.rank-section *{scroll-behavior:auto}}
