/* Custom (mt2-custom, server/src/net/sitepages.js): the ranking's and the registration's pages, over the wiki's look
   (wiki.css, skin.js). */
.site .tools { flex: 0 0 auto; }
/* The ranking: the first three places gold / silver / bronze, the empires' colours (uiranking.js PLACE, EMPIRE). */
.rank td { white-space: nowrap; }
.rank .place { color: var(--dim); width: 1%; }
.rank .name { color: #fff; }
.rank .p1 { color: #ffd34d; }
.rank .p2 { color: #d8d8e0; }
.rank .p3 { color: #d89a5a; }
.e1 { color: #ff6a5a; }
.e2 { color: #ffd060; }
.e3 { color: #6aa8ff; }
/* The registration: one narrow window's rows (uiregister.js: a text and a slot per row). */
.reg { max-width: 420px; margin: 18px auto; padding: 12px 18px; }
.reg label { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.reg label span { flex: 0 0 120px; color: var(--cond); }
.reg input {
  flex: 1; min-width: 0; height: 22px; padding: 0 6px; border: 1px solid var(--line); border-radius: 3px; background: #0d0d0d;
  color: #fff; font: 12px Tahoma, Verdana, sans-serif;
}
.reg input:focus { outline: 1px solid var(--gold); }
.reg .sub { font-size: 11px; margin: 10px 0 4px; }
.msg { min-height: 18px; margin: 6px 0; color: var(--red); }
.msg.wait { color: var(--cond); }
.actions { display: flex; justify-content: center; margin-top: 6px; }
.actions button, .actions .btn { min-width: 120px; height: 24px; }
.btn {
  display: inline-block; padding: 0 12px; line-height: 22px; text-align: center; border: 1px solid var(--line); border-radius: 3px;
  background: var(--panel); color: #fff;
}
.done p { text-align: center; color: var(--title); }
html.skin .reg input { border: 0; border-radius: 0; background: none; border-image: var(--field) 0 6 fill / 0 6px stretch; }
html.skin .reg input:focus { outline: 0; filter: brightness(1.3); }
html.skin .btn { border: 0; border-radius: 0; background: none; border-image: var(--btn) 0 8 fill / 0 8px stretch; }
html.skin .btn:hover { border-image-source: var(--btn-over); }
@media (max-width: 640px) {
  .reg { margin: 8px auto; padding: 8px 10px; }
  .reg label span { flex-basis: 100px; }
}
/* reCAPTCHA v3's badge: the form says the check is there instead (as the game's window, style.css). */
.grecaptcha-badge { visibility: hidden; }
