.leaderboard-dialog{width:min(680px,calc(100vw - 28px));padding:24px}.rank-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:#efe3f3;border-radius:16px;padding:5px;margin-top:22px}.rank-tabs button{border:0;background:transparent;line-height:1.3}.rank-tabs button[aria-selected=true]{background:#674b91;color:white;box-shadow:0 3px 9px #4d266525}.rank-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between}.rank-toolbar p{font-size:14px;margin:8px 0}.rank-toolbar button{flex-shrink:0}.leaderboard-dialog #rankMessage:empty{display:none}#rankMessage{background:#fff0d1;padding:12px;border-radius:12px;font-size:14px}.rank-table-wrap{max-width:100%;overflow-x:auto}.rank-table-wrap table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;text-align:left;margin:12px 0}.rank-table-wrap th{background:#eee5f5;font-weight:800;padding:10px 8px;white-space:nowrap}.rank-table-wrap td{padding:13px 8px;border-bottom:1px solid #e8dce9;font-variant-numeric:tabular-nums}.rank-table-wrap td:first-child{font-weight:900;color:#674b91}.rank-table-wrap td:nth-child(2){font-weight:800;overflow-wrap:anywhere}.rank-table-wrap td:nth-child(n+3),.rank-table-wrap th:nth-child(n+3){text-align:right}.rank-you td{background:#f4eaff}.leaderboard-dialog .rank-own{padding:12px 14px;border-radius:12px;background:#e4f5df;font-size:14px;font-weight:800}.leaderboard-dialog .rank-empty{padding:24px 16px;text-align:center;border:2px dashed #d8c2dd;border-radius:16px;color:#674b91}.rank-participation{border-top:1px solid #e2ccdf;margin-top:20px;padding-top:18px}.rank-participation h3{font-size:18px;margin:0}.rank-participation p{font-size:14px}.rank-participation .rank-consent{display:flex;gap:10px;align-items:flex-start;line-height:1.5;font-size:14px;font-weight:600;margin:14px 0}.rank-consent input{width:22px;height:22px;flex:0 0 22px;margin:0;accent-color:#674b91}.rank-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}.rank-footnote{border-top:1px solid #e2ccdf;padding-top:15px}.rank-pagination[hidden]{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:420px){.leaderboard-dialog{padding:17px}.leaderboard-dialog .cloud-heading h2{font-size:24px}.rank-table-wrap th,.rank-table-wrap td{padding:11px 5px}.rank-table-wrap td:nth-child(2){max-width:115px}.rank-tabs{margin-top:16px}.player-bar{gap:7px}.player-bar button{padding:8px 10px}}
.rank-name-input{width:100%;box-sizing:border-box;min-width:0;font:inherit;font-size:16px;border:1px solid #bba6b8;border-radius:10px;padding:10px;background:white;color:#483548}#rankLeave{margin-top:12px}
.rank-help{margin-top:20px;border-top:1px solid #e2ccdf;padding-top:14px;font-size:14px;color:#785f73}.rank-help summary{cursor:pointer;font-weight:800;min-height:44px;display:flex;align-items:center;gap:8px}.rank-help summary::before{content:'+';font-size:20px}.rank-help[open] summary::before{content:'−'}.rank-help summary::-webkit-details-marker{display:none}.rank-help summary:focus-visible{outline:3px solid #8158ad;outline-offset:3px;border-radius:6px}.rank-help p{font-size:14px;margin:8px 0}.leaderboard-dialog #rankNameHelp,.leaderboard-dialog #rankPrivacy,.leaderboard-dialog #rankLeaveNote{margin:8px 0}.rank-participation .rank-consent{background:#f1e8f5;padding:12px;border-radius:12px}
