/* DarkOrbit-inspired visible calculation; native military badges remain unchanged.
   Home and military-navigation symbols are project-authored inline SVG. */
#accountScreen .account-sidebar nav button{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;column-gap:13px}
#accountScreen .account-sidebar nav button>i{justify-self:center;margin:0}
#accountScreen .account-sidebar .account-nav-symbol{display:block;justify-self:center;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
#accountScreen .rank-summary{display:grid;grid-template-columns:1.3fr 1fr;gap:12px;align-items:stretch;margin:8px 0 14px}
#accountScreen .rank-summary.single{grid-template-columns:minmax(0,1fr)}
#accountScreen .rank-card{min-width:0;padding:18px 12px;border:1px solid #315463;background:#0016208f;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px}
#accountScreen .rank-card.current{border-color:#b69a59;background:radial-gradient(ellipse at 50% 0,#a7802520,transparent 80%),#03202b}
#accountScreen .rank-card small{text-transform:uppercase;letter-spacing:1.2px;font-size:10px;color:#9ebac9}
#accountScreen .rank-card h3{font:500 17px/1.25 PortalOxanium,sans-serif;margin:0;color:#c6dce7}
#accountScreen .rank-card.current h3{font-size:22px;color:#f4ce77}
#accountScreen .rank-card p{font-size:11px;line-height:1.5;color:#91afbf;margin:0}
#accountScreen .rank-card .rank-badge{flex:none;margin:4px 0;transform:scale(1.5);image-rendering:pixelated}
#accountScreen .rank-card.previous{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:14px;padding:12px;margin-top:14px;border:0;background:none;text-align:left}
#accountScreen .rank-card.previous p{display:none}
#accountScreen .ranking-page .rank-refresh{font-size:11px;margin:-6px 0 18px;color:#8eafbf}
#accountScreen .ranking-page .ranking-scroll.rank-calculation{max-height:none}
#accountScreen .rank-sign{display:inline-block;min-width:18px;color:#7dd7b3;font-weight:bold}
#accountScreen .rank-deduction .rank-sign,#accountScreen .rank-deduction td:last-child{color:#eeaaa4}
#accountScreen .ranking-page .ranking-table tfoot{background:#17313b;border-top:1px solid #8c7d55;color:#f0d084}
#accountScreen .ranking-page .ranking-table tfoot :is(th,td){padding:12px 9px;font-weight:700}
#accountScreen .rank-promotion{display:grid;grid-template-columns:minmax(130px,.55fr) minmax(0,1fr);gap:22px;align-items:center;padding:15px 18px;margin-bottom:20px;border:1px solid #315463;background:#00131c88}
#accountScreen .rank-honor-total>span{display:block;color:#9ebac9;font-size:11px;line-height:1.7}
#accountScreen .rank-honor-total>strong{display:block;color:#e8cc8a;font:600 clamp(24px,3vw,32px)/1.3 PortalOxanium,sans-serif;overflow-wrap:anywhere}
#accountScreen .ranking-page .rank-note{color:#a8c4d2;font-size:12px;line-height:1.7}
#accountScreen .rank-promotion .rank-note{margin:0}
#accountScreen .rank-honor-progress{width:100%;height:7px;accent-color:#e9cc83;margin:10px 0 0}
#accountScreen .ranking-page details{border:1px solid #294c5c;margin:8px 0;background:#00131c66;padding:12px 15px}
#accountScreen .ranking-page summary{cursor:pointer;color:#c1dbe8;font:500 13px/1.6 PortalOxanium,sans-serif}
#accountScreen .ranking-page summary:focus-visible{outline:2px solid #b8e6f4;outline-offset:4px}
#accountScreen .ranking-page details[open]>summary{color:#e7cf92}
#accountScreen .ranking-page .ranking-scroll{max-height:360px;margin-top:14px;overflow:auto}
#accountScreen .ranking-page .ranking-table th{text-align:left;white-space:normal;font-size:11px;line-height:1.6}
#accountScreen .ranking-page .ranking-table th:first-child{width:28%}
#accountScreen .ranking-page .ranking-table td:first-child{color:#c9dde9}
#accountScreen .ranking-page .ranking-table .own td:first-child{color:#f1ce7e}
#accountScreen .ranking-page .ranking-table td{font-size:12px;line-height:1.6;white-space:normal;padding:10px 9px}
#accountScreen .ranking-page .ranking-table td:not(:first-child){font-variant-numeric:tabular-nums}
#accountScreen .rank-search{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0}
#accountScreen .rank-search input{max-width:100%;width:320px;padding:10px 12px;background:#00131c;border:1px solid #4f788a;color:#deeff6;font:14px PortalOxanium,sans-serif}
#accountScreen .ranking-page .rank-badge{flex:none}
#accountScreen .rank-tooltip{display:inline-block;position:relative;color:#f0d084;cursor:help}
#accountScreen .rank-tooltip>span{position:absolute;bottom:calc(100% + 8px);left:0;width:230px;max-width:70vw;padding:12px;background:#06212b;border:1px solid #719bad;color:#e3f1f7;font:12px/1.6 Tahoma,sans-serif;z-index:5;visibility:hidden;opacity:0;pointer-events:none;text-transform:none;letter-spacing:0}
#accountScreen .rank-tooltip:is(:hover,:focus)>span{visibility:visible;opacity:1}
@media(max-width:800px){
 #accountScreen .account-sidebar>nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 #accountScreen .account-sidebar nav button{grid-template-columns:1fr;justify-items:center;align-content:center;row-gap:6px;min-width:0;padding:9px 3px;font-size:10px;text-align:center}
 #accountScreen .account-sidebar nav button>i{margin:0}
}
@media(max-width:600px){
 #accountScreen .rank-summary{grid-template-columns:1fr;gap:8px}
 #accountScreen .rank-card.current{grid-column:1/-1;grid-row:1}
 #accountScreen .rank-card{padding:14px 8px;gap:9px}
 #accountScreen .rank-card h3{font-size:15px}
 #accountScreen .rank-promotion{grid-template-columns:1fr;gap:10px;padding:14px}
 #accountScreen .ranking-page details{padding:12px 10px}
 #accountScreen .ranking-page .ranking-table{min-width:510px}
 #accountScreen .ranking-page .ranking-scroll{max-width:100%}
}
#accountScreen .rank-calculation-panel{margin:16px 0 18px;border:1px solid #315463;background:#00131c88;padding:16px 18px}
#accountScreen .rank-calculation-panel>h3{margin:0 0 6px;color:#cbe5f0;font:600 16px/1.5 PortalOxanium,sans-serif}
#accountScreen .rank-calculation-panel>p{margin:6px 0 10px}
#accountScreen .rank-calculation-panel .ranking-table th:first-child{width:44%}
#accountScreen .rank-calculation-panel .ranking-table th:not(:first-child),#accountScreen .rank-calculation-panel .ranking-table td:not(:first-child){text-align:right;white-space:nowrap}
#accountScreen .rank-calculation-panel .ranking-table td{padding:6px 9px}
#accountScreen .ranking-page .rank-calculation-panel .ranking-table .rank-deduction td{color:#f0a69f}
#accountScreen .rank-calculation-panel .rank-contribution:nth-child(even){background:#11344040}
#accountScreen .rank-calculation-panel .rank-deduction{background:#57222216}
#accountScreen .rank-calculation-panel .rank-contribution + .rank-deduction{border-top:1px solid #744d4d}
#accountScreen .rank-summary{grid-template-columns:minmax(0,1fr);margin-bottom:10px}
#accountScreen .rank-summary .rank-card.current{flex-direction:row;justify-content:flex-start;flex-wrap:wrap;padding:14px 18px;gap:16px;background:#03202b}
#accountScreen .rank-summary .rank-card.current small{letter-spacing:.7px}
#accountScreen .rank-summary .rank-card.current h3{font-size:20px}
#accountScreen .rank-summary .rank-card.current p{margin-left:auto}
#accountScreen .rank-promotion{grid-template-columns:1fr auto;margin-bottom:0;gap:14px;background:#0e2933;border-color:#426575;padding:12px 18px}
#accountScreen .rank-honor-total{display:flex;align-items:center;gap:20px;justify-content:space-between}
#accountScreen .rank-honor-total>strong{font-size:28px}
#accountScreen .rank-benchmarks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}
#accountScreen .rank-benchmarks.single{grid-template-columns:minmax(0,1fr)}
#accountScreen .rank-benchmarks .rank-card{display:grid;grid-template-columns:28px minmax(0,1fr);text-align:left;justify-content:start;align-content:start;align-items:center;gap:8px 12px;padding:14px 16px;margin:0;border:1px solid #315463;background:#0016208f}
#accountScreen .rank-benchmarks .rank-card small{grid-column:1/-1}
#accountScreen .rank-benchmarks .rank-card h3{font-size:17px}
#accountScreen .rank-benchmarks .rank-card p{display:block;grid-column:2}
#accountScreen .rank-promotion-target{margin:10px 0 18px}
#accountScreen .ranking-page .rank-refresh{margin:0 0 8px}
#accountScreen .ranking-page #rank-eligibility{margin:0 0 18px;font-size:11px}
#accountScreen .rank-legacy-note:empty,#accountScreen #rank-legacy-note:empty{display:none}
@media(max-width:600px){
 #accountScreen .rank-calculation-panel{padding:12px 10px}
 #accountScreen .rank-calculation-panel .ranking-table{min-width:450px}
 #accountScreen .rank-calculation-panel .ranking-table td{font-size:11px;padding:7px 6px}
 #accountScreen .rank-promotion{grid-template-columns:1fr;padding:12px}
 #accountScreen .rank-promotion>span{display:none}
 #accountScreen .rank-honor-total{gap:12px}
 #accountScreen .rank-honor-total>strong{font-size:24px}
 #accountScreen .rank-benchmarks{grid-template-columns:1fr}
 #accountScreen .rank-summary .rank-card.current{gap:12px;padding:14px}
 #accountScreen .rank-summary .rank-card.current p{margin-left:0}
}
