/* Kaplow accounts and ranks: landing form, rank card, rank list, patches in the HUD. */
#atabs { display: flex; gap: 18px; margin-bottom: 8px; }
#atabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--bone); opacity: .7; padding: 2px 0; font: inherit; font-size: 13px; cursor: pointer; }
#atabs button:hover { opacity: 1; }
#atabs button.on { opacity: 1; border-bottom-color: var(--bone); }
#aform.auth .row { max-width: 640px; }
#pw { flex: 1; min-width: 0; background: rgba(0,0,0,.72); color: var(--bone); border: 1px solid var(--bone); border-right: 0; padding: 13px 12px; font: inherit; font-size: 16px; outline: none; }
#pw::placeholder { color: var(--dim); }
#pw:focus { background: #000; }
#name { border-right: 1px solid var(--bone); }
#aform.auth #name, #hero:not(.in) #aform:not(.auth) #name { border-right: 0; }
#auth { background: var(--bone); color: var(--ink); border: 1px solid var(--bone); padding: 0 20px; font: bold 15px/1 "DejaVu Sans Mono", Menlo, Consolas, monospace; cursor: pointer; text-transform: uppercase; white-space: nowrap; }
#auth:hover { background: #fff; }
#hero.in #join { padding: 14px 28px; }
#amsg { min-height: 1.45em; margin-top: 6px; font-size: 13px; color: var(--bone); }
#amsg.bad { color: #ff9184; }
#hero .req { margin-top: 2px; }
#acard { display: none; align-items: center; gap: 14px; margin-bottom: 12px; }
#acard svg { width: 84px; height: 84px; flex: none; }
#acard b { display: block; font: bold 26px/1.1 Impact, Haettenschweiler, "Liberation Sans Narrow", "Arial Narrow", sans-serif; letter-spacing: 1px; }
#acard span { display: block; font-size: 13px; margin: 2px 0 6px; }
#acard i, #boardfoot i { display: block; width: 240px; height: 5px; background: rgba(0,0,0,.6); border: 1px solid rgba(230,223,204,.45); }
#acard u, #boardfoot u { display: block; height: 100%; background: var(--bone); }
#acard small { display: inline-block; font-size: 12px; opacity: .8; margin-top: 4px; }
#acard button { background: none; border: 0; color: var(--bone); opacity: .7; text-decoration: underline; font: inherit; font-size: 12px; cursor: pointer; padding: 0; margin-left: 14px; }
#acard button:hover { opacity: 1; }

#toplist, #topyou { display: grid; gap: 0 40px; }
#toplist { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(10, auto); grid-auto-flow: column; }
#toplist div, #topyou div { display: grid; grid-template-columns: 28px 30px minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 10px; align-items: center; padding: 5px 6px; border-bottom: 1px solid #2c2a21; }
#toplist div.me, #topyou div.me { background: rgba(230,223,204,.12); }
#toplist b, #topyou b { text-align: right; color: var(--dim); font-weight: normal; }
#toplist svg, #topyou svg { width: 30px; height: 30px; display: block; }
#toplist strong, #topyou strong, #toplist span, #topyou span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#toplist span, #topyou span { color: var(--dim); font-size: 12px; }
#toplist em, #topyou em { font-style: normal; font-size: 12px; white-space: nowrap; }
#topyou { margin-top: 10px; grid-template-columns: 1fr 1fr; }
#topnote { color: var(--dim); }
@media (max-width: 760px) { #toplist { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } #topyou { grid-template-columns: 1fr; } }

#landing .rankintro { color: var(--dim); margin: -10px 0 20px; max-width: 640px; }
#ranklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 16px 8px; }
#ranklist div { text-align: center; padding: 6px 2px; }
#ranklist div.cur { outline: 1px solid var(--bone); }
#ranklist svg { display: block; width: 60px; height: 60px; margin: 0 auto 4px; }
#ranklist b { display: block; font-size: 12px; }
#ranklist span { display: block; font-size: 11px; line-height: 1.25; color: var(--dim); }

svg.pt { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; }
#board td svg.pt, #board td .nopt { margin-right: 5px; }
#board td .nopt { display: inline-block; width: 16px; }
#feed svg.pt { margin-right: 4px; vertical-align: -4px; width: 18px; height: 18px; }
#aimname svg.pt { margin-right: 5px; }
#board.hasfoot { padding-bottom: 42px; }
#boardfoot { position: absolute; left: 16px; right: 16px; bottom: 9px; color: var(--bone); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
#boardfoot svg.pt { width: 22px; height: 22px; }
#boardfoot i { width: 130px; }
#rankup { position: absolute; left: 0; right: 0; top: 19%; text-align: center; opacity: 0; transition: opacity .35s; }
#rankup.on { opacity: 1; }
#rankup svg { width: 88px; height: 88px; display: block; margin: 0 auto 4px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.7)); }
#rankup b { display: block; font: bold 24px/1.2 Impact, "Arial Narrow", sans-serif; letter-spacing: 1px; text-transform: uppercase; }
#rankup span { font-size: 14px; }
