/* Shared by the login, registration, reset-password and account pages. */

/* Forum, the landing's heading font (cyrillic + latin). */
@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/forum-400-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/forum-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Mono, the landing's font for values (logins, dates). */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* RU / EN switch, the same chips as the landing's language bar. i18n.js wires [data-l2-lang]. */
.l2-ui-lang {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.l2-ui-lang button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid #8E7C48;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(21,36,58,.9), rgba(10,18,32,.9));
  color: #D9CDA6;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.l2-ui-lang button[aria-checked="true"] {
  border-color: #C6A85A;
  color: #F2E7C6;
  background: linear-gradient(180deg, #20355A, #0E1A2E);
  box-shadow: 0 0 0 1px #000, 0 2px 8px rgba(45,105,190,.3);
}
.l2-ui-lang button:hover {
  border-color: #C6A85A;
  color: #F2E7C6;
  background: linear-gradient(180deg, #20355A, #0E1A2E);
}
.l2-ui-lang button:focus-visible {
  outline: 2px solid #E2C880;
  outline-offset: 2px;
}
.l2-ui-lang .fl {
  font-size: 13px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
