/* One image atlas, twenty semantic rank positions. Brand A stays inside every 3D emblem. */
.rank-emblem{display:inline-block;width:144px;height:144px;flex:none;background-image:url('../img/ranks/allandrich-ranks-242.png');background-repeat:no-repeat;background-size:400% 500%;background-color:#000;border-radius:16px;filter:drop-shadow(0 5px 10px #0008);vertical-align:middle}
.rank-emblem[hidden]{display:none}.rank-emblem-small{width:58px;height:58px;margin-right:10px;border-radius:8px}.rank-current{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.rank-current strong{color:#ffe099}.rank-dashboard{padding:22px;margin:0 0 16px;background:linear-gradient(140deg,#19160e,#080808);border:1px solid #b68b3c66;border-radius:18px;color:#fff;overflow:hidden}.rank-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.rank-dashboard h2{font-size:22px;margin:5px 0;color:#fff}.rank-dashboard a{color:#ffe099;text-decoration:none}.rank-dashboard a:focus-visible{outline:2px solid #ffe099;outline-offset:4px}.rank-dashboard-body{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:24px;margin:20px 0}.rank-dashboard-identity{text-align:center}.rank-dashboard h3{font-size:23px;color:#ffe099;margin:6px 0}.rank-dashboard small{color:#c9c5ba;font-size:12px}.rank-dashboard-progress strong{color:#ffe099}.rank-dashboard-progress p{font-size:16px;overflow-wrap:anywhere}.rank-dashboard progress{width:100%;height:12px;accent-color:#e5b54c}.rank-dashboard-status{color:#fff;border-left:3px solid #e5b54c;padding-left:12px}.rank-dashboard-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.rank-dashboard-totals article{padding:15px;background:#080808;border:1px solid #9c793333;border-radius:12px}.rank-dashboard-totals strong{display:block;font-size:14px;color:#fff;margin-top:8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.rank-dashboard-note{display:block;font-size:12px;line-height:1.6;color:#c9c5ba;margin:12px 0}.rank-dashboard-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.rank-dashboard-actions .dv4-btn{margin:0}.mr-scroll td:first-child{white-space:nowrap}
@media(max-width:900px){.rank-dashboard-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.rank-dashboard-body{grid-template-columns:1fr;gap:14px}.rank-dashboard-head{align-items:flex-start;flex-direction:column}.rank-dashboard{padding:16px}.rank-current .rank-emblem{width:110px;height:110px}.rank-dashboard-totals{grid-template-columns:1fr}.rank-emblem-small{width:48px;height:48px}}
.rank-emblem-0{background-size:400% 500%;background-position:0.00000000% 0.00000000%}
.rank-emblem-1{background-size:400% 500%;background-position:33.33333333% 0.00000000%}
.rank-emblem-2{background-size:400% 500%;background-position:66.66666667% 0.00000000%}
.rank-emblem-3{background-size:400% 500%;background-position:100.00000000% 0.00000000%}
.rank-emblem-4{background-size:400% 500%;background-position:0.00000000% 25.00000000%}
.rank-emblem-5{background-size:400% 500%;background-position:33.33333333% 25.00000000%}
.rank-emblem-6{background-size:400% 500%;background-position:66.66666667% 25.00000000%}
.rank-emblem-7{background-size:400% 500%;background-position:100.00000000% 25.00000000%}
.rank-emblem-8{background-size:400% 500%;background-position:0.00000000% 50.00000000%}
.rank-emblem-9{background-size:400% 500%;background-position:33.33333333% 50.00000000%}
.rank-emblem-10{background-size:400% 500%;background-position:66.66666667% 50.00000000%}
.rank-emblem-11{background-size:400% 500%;background-position:100.00000000% 50.00000000%}
.rank-emblem-12{background-size:400% 500%;background-position:0.00000000% 75.00000000%}
.rank-emblem-13{background-size:400% 500%;background-position:33.33333333% 75.00000000%}
.rank-emblem-14{background-size:400% 500%;background-position:66.66666667% 75.00000000%}
.rank-emblem-15{background-size:400% 500%;background-position:100.00000000% 75.00000000%}
.rank-emblem-16{background-size:400% 500%;background-position:0.00000000% 100.00000000%}
.rank-emblem-17{background-size:400% 500%;background-position:33.33333333% 100.00000000%}
.rank-emblem-18{background-size:400% 500%;background-position:66.66666667% 100.00000000%}
.rank-emblem-19{background-size:400% 500%;background-position:100.00000000% 100.00000000%}
.rank-complete-dialog{width:min(480px,calc(100% - 32px));max-height:90vh;overflow:auto;text-align:center;border:1px solid #e3b858;background:linear-gradient(140deg,#211b0e,#080808);color:#fff;border-radius:22px;padding:26px;box-shadow:0 20px 80px #0009}.rank-complete-dialog::backdrop{background:#000b}.rank-complete-dialog h2{color:#ffe099}.rank-complete-dialog p{color:#d5d2ca;line-height:1.6}.rank-complete-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.rank-complete-actions a,.rank-complete-actions button,.rank-resume-notice button{padding:12px 18px;border-radius:10px;border:1px solid #a88031;background:#e8bb56;color:#100d06;font:inherit;cursor:pointer;text-decoration:none}.rank-complete-actions button{background:#181818;color:#fff}.rank-resume-notice{border:1px solid #a88031;border-radius:14px;padding:18px;margin:12px 0;background:#171208;color:#fff}.rank-resume-notice strong{color:#ffe099}.rank-resume-notice button{margin:5px}.rank-resume-notice button:disabled{opacity:.5;cursor:default}.rank-complete-dialog :focus-visible,.rank-resume-notice :focus-visible{outline:2px solid #fff;outline-offset:4px}

/* ALLANDRICH RANK: one verified state drives the identity and comparison table. */
.ar-rank-summary{border:1px solid #b68b3c88!important;background:linear-gradient(130deg,#211b10,#101010)!important}.ar-rank-identity{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.ar-rank-identity h3{font-size:30px;color:#ffe099;margin:8px 0}.ar-rank-identity p{color:#d4cbb8}.ar-rank-data{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.ar-rank-data>div{background:#090909;border:1px solid #b68b3c44;padding:16px;border-radius:12px}.ar-rank-data small{display:block;color:#bfb9ad;font-size:12px;line-height:1.5}.ar-rank-data strong{display:block;color:#fff;font-size:15px;margin-top:9px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.ar-rank-progress progress{display:block;width:100%;height:12px;accent-color:#e8bc59}.ar-rank-progress p{color:#e8d9b5!important;font-size:13px}.bm-rank-options tr[aria-current="true"]{background:#c99b2026;outline:1px solid #e7b951;outline-offset:-1px}.bm-rank-options td:first-child{font-weight:600}.ar-rank-summary .bm-inline-shortcut{display:inline-block;margin:8px 18px 0 0}@media(max-width:1050px){.ar-rank-data{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.ar-rank-identity{gap:15px}.ar-rank-identity .rank-emblem{width:110px;height:110px}.ar-rank-identity h3{font-size:25px}.ar-rank-data{grid-template-columns:1fr}.ar-rank-data>div{padding:13px}}

.bm-rank-options table{width:100%;border-collapse:collapse}.bm-rank-options td,.bm-rank-options th{text-align:left;padding:14px 12px;border-bottom:1px solid #b68b3c33;white-space:nowrap}.bm-rank-options button{padding:11px 15px;border:1px solid #c79a46;border-radius:9px;background:#e5b956;color:#171108;font:inherit;cursor:pointer}.bm-rank-options button:disabled{opacity:.5;cursor:default}.bm-rank-options th{font-size:12px;color:#d9c8a3}.ar-rank-summary a{color:#ffe099}.ar-rank-summary a:focus-visible{outline:2px solid #fff;outline-offset:4px}
