/* Browser-language hint: dark card, bottom-left, full width on phones. */

.lang-hint {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1100;
  width: min(380px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #16171a;
  color: #f4f3ef;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
  font-family: proximaSemiBold, system-ui, sans-serif;
}

.lang-hint[hidden] {
  display: none;
}

.lang-hint__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lang-hint__ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #ff6b67;
}

.lang-hint__title {
  display: block;
  font: 800 16px/1.3 proximaBold, system-ui, sans-serif;
  color: #ffffff;
}

.lang-hint__text {
  margin: 4px 0 0;
  font: 500 14px/1.45 proximaSemiBold, system-ui, sans-serif;
  color: #b9bcc2;
}

.lang-hint__close {
  margin-left: auto;
  flex: none;
  width: 44px;
  height: 44px;
  margin-top: -8px;
  margin-right: -8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #b9bcc2;
  cursor: pointer;
  display: grid;
  place-items: center;
  appearance: none;
  padding: 0;
}

.lang-hint__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-hint__acts {
  display: flex;
  gap: 8px;
}

.lang-hint__go,
.lang-hint__stay {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}

.lang-hint__go {
  background: #e0302c;
  color: #ffffff;
  font: 800 14px/1 proximaBold, system-ui, sans-serif;
}

.lang-hint__stay {
  border: 1px solid #34373d;
  color: #f4f3ef;
  font: 700 14px/1 proximaBold, system-ui, sans-serif;
  background: transparent;
  appearance: none;
  padding: 0 12px;
}

@media (max-width: 560px) {
  .lang-hint {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
