#desktop_header_0_language {
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

#desktop_header_0_language:hover {
  filter: brightness(1.14);
  transform: scale(1.08);
}

body.local-site-loading {
  overflow: hidden !important;
}

.local-site-loader[hidden] {
  display: none !important;
}

.local-site-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 32px;
  color: #f8f9fc;
  background:
    radial-gradient(circle at 78% 22%, rgba(232, 47, 87, .15), transparent 34%),
    radial-gradient(circle at 20% 78%, rgba(101, 81, 255, .11), transparent 38%),
    #090b12;
  opacity: 1;
  transition: opacity .42s ease, visibility .42s ease;
}

.local-site-loader.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.local-site-loader-glow {
  position: absolute;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, .012),
    0 0 0 150px rgba(255, 255, 255, .008);
  animation: local-loader-pulse 2.2s ease-in-out infinite;
}

.local-site-loader-content {
  position: relative;
  width: min(680px, 82vw);
}

.local-site-loader-brand {
  margin-bottom: 70px;
  color: #fff;
  font: 800 19px/1 Arial, sans-serif;
  letter-spacing: .32em;
}

.local-site-loader-brand::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 50%;
  background: #e82f57;
  box-shadow: 0 0 18px rgba(232, 47, 87, .8);
}

.local-site-loader-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.local-site-loader-label {
  padding-bottom: 12px;
  color: #9da2af;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.local-site-loader-value {
  min-width: 3.2ch;
  color: #fff;
  font: 300 clamp(66px, 11vw, 128px)/.8 Arial, sans-serif;
  letter-spacing: -.075em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.local-site-loader-track {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
}

.local-site-loader-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, #b61f48, #ff4d71);
  box-shadow: 0 0 16px rgba(255, 56, 100, .7);
}

@keyframes local-loader-pulse {
  0%, 100% { transform: scale(.96); opacity: .55; }
  50% { transform: scale(1.035); opacity: 1; }
}

.local-overlay[hidden], .local-auth-form[hidden] {
  display: none !important;
}

.local-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 10, 18, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.local-loading-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
  justify-content: center;
  padding: 22px 28px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: #1d2230;
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
}

.local-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,.24);
  border-top-color: #ff3864;
  border-radius: 50%;
  animation: local-spin .72s linear infinite;
}

@keyframes local-spin { to { transform: rotate(360deg); } }

.local-auth-card {
  position: relative;
  width: min(430px, 100%);
  padding: 30px;
  color: #f8f8fa;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: #1b1f2b;
  box-shadow: 0 26px 90px rgba(0,0,0,.55);
}

.local-auth-card h2 {
  margin: 0 38px 22px 0;
  font-size: 25px;
  line-height: 1.25;
}

.local-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #aeb2be;
  font: 28px/32px Arial, sans-serif;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.local-close:hover { color: #fff; }

.local-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin-bottom: 22px;
  border-radius: 10px;
  background: #11141d;
}

.local-auth-tabs button {
  padding: 10px;
  color: #999fac;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.local-auth-tabs button.is-active {
  color: #fff;
  background: #303645;
}

.local-auth-form {
  display: grid;
  gap: 16px;
}

.local-auth-form label {
  display: grid;
  gap: 8px;
  color: #d9dce4;
  font-size: 14px;
}

.local-auth-form input {
  box-sizing: border-box;
  width: 100%;
  height: 45px;
  padding: 0 13px;
  color: #fff;
  border: 1px solid #424858;
  border-radius: 9px;
  outline: 0;
  background: #121620;
  font-size: 16px;
}

.local-auth-form input:focus {
  border-color: #ff3864;
  box-shadow: 0 0 0 3px rgba(255,56,100,.13);
}

.local-submit {
  height: 46px;
  margin-top: 3px;
  color: #fff;
  border: 0;
  border-radius: 9px;
  background: #e82f57;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.local-submit:hover { background: #f33c64; }

.local-auth-message {
  min-height: 21px;
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
}

.local-auth-message.is-error { color: #ff768f; }
.local-auth-message.is-success { color: #74d7a0; }

@media (max-width: 560px) {
  .local-site-loader { padding: 24px; }
  .local-site-loader-content { width: 100%; }
  .local-site-loader-brand { margin-bottom: 52px; }
  .local-site-loader-row { align-items: center; }
  .local-site-loader-label { max-width: 115px; padding-bottom: 0; line-height: 1.5; }
  .local-overlay { padding: 14px; }
  .local-auth-card { padding: 24px 20px; border-radius: 14px; }
}
