.rank-main{padding:10px 12px 22px}.rank-main .breadcrumb{font-size:14px;padding-bottom:5px}.rank-tabs{background:linear-gradient(#fafafa,#eaeaea);border:1px solid #ddd;text-align:center;padding:10px 5px;color:#eca200;font:bold 14px Arial;font-variant:small-caps}.rank-tabs a{color:inherit;text-decoration:none;line-height:1.8}.rank-tabs a:hover,.rank-tabs a[aria-current]{text-decoration:underline;color:#b87900}.rank-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f7f7f7;padding:12px;margin-top:12px}.rank-panel{border:1px dashed #d4d4d4;background:#fff;min-width:0}.rank-panel h2{font:bold 16px Arial;text-align:center;margin:0;padding:8px;border-bottom:2px solid #84c5dc;color:#3685ab}.rank-panel h2 a{color:inherit;text-decoration:none}.rank-panel h2 a span{text-decoration:underline}.rank-panel table{table-layout:fixed;font:14px Arial}.rank-panel th{padding:3px;color:#7da7b8;background:#e2f4fa;font-size:13px;font-style:italic}.rank-panel th:first-child{width:13%}.rank-panel th:nth-child(2){width:16%}.rank-panel th:last-child{width:25%}.rank-panel td{height:38px;text-align:center!important;padding:3px;color:#888;overflow-wrap:anywhere}.rank-panel td:first-child{font-style:italic}.rank-panel tbody tr:nth-child(even){background:#fff}.rank-panel td a{color:inherit;text-decoration:none}.rank-panel td a:hover{text-decoration:underline}.rank-panel .own td{background:#fff3d9;color:#333;border-block:1px solid #edba58}.rank-panel .own td a{color:#e64b39}.rank-symbol{width:27px;height:27px;object-fit:contain}.rank-panel .level h2{color:#555}.rank-panel.level h2{color:#555;border-color:#ccc}.rank-panel.level th{background:#eee;color:#999}.rank-empty{font:italic 14px Arial;text-align:center;color:#888;padding:20px 6px}.rank-more,.rank-pagination{text-align:center;padding:9px;font:14px Arial;color:#859da7}.rank-more a,.rank-pagination a{color:inherit;margin:0 9px}.rank-grid.single{grid-template-columns:1fr}.rank-panel.level .level-meter{height:5px;background:#eee;border:1px solid #ddd;margin:4px 10%;display:block}.rank-pagination span{color:#444}@media(max-width:650px){.rank-grid{grid-template-columns:1fr;padding:6px}.rank-tabs{font-size:13px}}

.rank-players{grid-column:1/-1}.rank-scroll{overflow-x:auto}.rank-players table{table-layout:auto;min-width:670px}.rank-players th:first-child{width:55px}.rank-players th:nth-child(2){width:45px}.rank-players th:last-child{width:auto}.rank-players th{font-style:normal;font-weight:bold;white-space:nowrap}.rank-players th a{color:inherit;text-decoration:none}.rank-sort{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px;font-size:14px}.rank-sort a{padding:3px 8px;color:#3685ab}.rank-sort [aria-current]{background:#d8edf7;font-weight:bold}.rank-more{display:block}

.rank-panel td.rank-points,.rank-players td:nth-child(7),.rank-panel .own td.rank-points,.rank-players .own td:nth-child(7){color:#1685bd}
.rank-players td:nth-child(6),.rank-players .own td:nth-child(6){color:#498c20;font-weight:700}

.rank-panel:not(.rank-players) th:first-child{width:10%}.rank-panel:not(.rank-players) th:nth-child(2){width:35%}.rank-panel:not(.rank-players) th:last-child{width:15%}.rank-panel:not(.rank-players) .rank-symbol{width:100%;max-width:180px;height:40px;object-fit:contain}

.rank-clan-progress{display:block;width:90%;height:6px;margin:4px auto 1px;appearance:none;-webkit-appearance:none;border:1px solid #d5d5d5;background:#eee;color:#ffc977;overflow:hidden}
.rank-clan-progress::-webkit-progress-bar{background:#eee}.rank-clan-progress::-webkit-progress-value{background:#ffc977}.rank-clan-progress::-moz-progress-bar{background:#ffc977}
.rank-panel.level th:nth-child(2){width:16%}.rank-panel.level .rank-symbol{max-width:65px;height:30px}

/* v44: compact rank and logo columns for clan points. */
.rank-panel.rank-clan-points th:first-child{width:45px}
.rank-panel.rank-clan-points th:nth-child(2){width:40px}
.rank-panel.rank-clan-points th:last-child{width:18%}
.rank-panel.rank-clan-points .rank-symbol{width:27px;height:27px;max-width:27px;object-fit:contain}

.rank-panel .rank-apply{border:0;background:none;color:#c68b36;font:inherit;padding:4px 8px;cursor:pointer}.rank-panel .rank-apply:hover:not(:disabled){text-decoration:underline}.rank-panel .rank-apply:disabled{color:#999;cursor:default}
