/* First-visit language helper shared by the transitional Home V2 and My Sky. */
.home-lang-helper {
  position: relative;
  max-width: 900px;
  margin: 12px auto;
  padding: 14px 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #f3ecfb 0%, #ece2f7 100%);
  border: 1px solid rgba(123, 44, 191, 0.12);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(123, 44, 191, 0.05);
  color: #4a2370;
  box-sizing: border-box;
}
.home-lang-helper-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.home-lang-helper-title {
  font-size: 1rem;
  font-weight: 600;
  color: #5a2a8c;
  line-height: 1.4;
}
.home-lang-helper-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
  max-width: 740px;
}
.home-lang-helper-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  max-width: 100%;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid rgba(123, 44, 191, 0.18);
  border-radius: 999px;
  color: #5a2a8c;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.3;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.home-lang-helper-chip:hover,
.home-lang-helper-chip:focus {
  background: #7b2cbf;
  border-color: #7b2cbf;
  color: #fff;
  outline: none;
}
.home-lang-helper-chip:focus-visible {
  outline: 2px solid #7b2cbf;
  outline-offset: 2px;
}
.home-lang-helper-dismiss {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #fff;
  color: #7b2cbf;
  border: 1.5px solid rgba(123, 44, 191, 0.35);
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(123, 44, 191, 0.12);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
}
.home-lang-helper-dismiss:hover,
.home-lang-helper-dismiss:focus {
  background: #7b2cbf;
  color: #fff;
  border-color: #7b2cbf;
  outline: none;
  transform: scale(1.08) rotate(90deg);
  box-shadow: 0 2px 8px rgba(123, 44, 191, 0.35);
}
.home-lang-helper-dismiss:focus-visible {
  outline: 2px solid #7b2cbf;
  outline-offset: 2px;
}
.home-lang-helper-dismiss:active {
  transform: scale(0.96) rotate(90deg);
}

@media (max-width: 600px) {
  .home-lang-helper {
    padding: 12px 14px 14px;
    border-radius: 10px;
    gap: 10px;
  }
  .home-lang-helper-copy {
    gap: 3px;
    padding: 0 48px;
  }
  .home-lang-helper-title {
    font-size: 0.94rem;
  }
  .home-lang-helper-chips {
    max-width: 100%;
  }
}
