html.i18n-wait body { visibility: hidden; }
.dl-lang { position: relative; display: inline-block; }
.dl-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px 0 9px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.dl-lang-btn:hover { border-color: #d5deea; background: #fff; }
.dl-lang-btn svg { display: block; flex: none; }
.dl-chev { opacity: 0.7; }
.dl-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  width: 196px;
  max-height: 320px;
  overflow: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid #e6ebf0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}
.dl-lang.center .dl-lang-menu { left: 50%; right: auto; transform: translateX(-50%); }
.dl-lang-opt {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  color: #1e293b;
  cursor: pointer;
  text-align: left;
}
.dl-lang-opt:hover { background: #f4f6fb; }
.dl-lang-opt.is-on { background: #f0f0ff; color: #3730a3; font-weight: 650; }
.dl-lang-opt.is-on::after {
  content: "";
  width: 5px;
  height: 9px;
  border-right: 2px solid #5b5bf0;
  border-bottom: 2px solid #5b5bf0;
  transform: rotate(45deg) translate(-1px, -1px);
  flex: none;
}
#legal-note {
  max-width: 880px;
  margin: 0 auto 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
  font-size: 14px;
  padding: 10px 14px;
}
#legal-note[hidden] { display: none; }
