/* Hoyeast: style the separate Multilingual Settings and Currency components. */
#plugin-c-market-block {
  display: inline-flex !important;
  align-items: center;
  gap: 18px;
  min-height: 40px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: var(--color-foreground-heading);
  cursor: default;
  white-space: nowrap;
}

#plugin-c-market-block::before {
  content: none;
}

.app-translate-card:not(.pc-hidden),
.app-currency-card:not(.pc-hidden) {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  color: var(--color-foreground-heading);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

#plugin-c-market-block button,
#plugin-c-market-block [role='button'],
#plugin-c-market-block ljs-dropdown {
  min-height: 40px;
}

#plugin-c-market-block svg,
#plugin-c-market-block img {
  flex: 0 0 auto;
}

.app-translate-card:hover,
.app-currency-card:hover {
  color: var(--color-highlight);
}

.app-currency-card img {
  width: 30px !important;
  height: 20px !important;
  border-radius: 1px;
  -o-object-fit: cover;
     object-fit: cover;
}

.app-translate-card svg,
.app-currency-card svg {
  width: 14px;
  height: 14px;
}

/* Hoyeast: quick social links at the far right of the desktop header. */
.hoyeast-header-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
}

.hoyeast-header-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-foreground-heading);
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hoyeast-header-social__link:hover {
  border-color: var(--color-primary);
  color: var(--color-highlight);
  transform: translateY(-1px);
}

.hoyeast-header-social__link svg {
  width: 18px;
  height: 18px;
}

/* Hoyeast: turn the small footer icons into clear, labelled social links. */
.footer_social_media {
  gap: 10px !important;
}

.hoyeast-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-foreground-heading);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hoyeast-footer-social__link:hover {
  border-color: var(--color-primary);
  color: var(--color-highlight);
  transform: translateY(-1px);
}

.hoyeast-footer-social__link svg {
  width: 20px;
  height: 20px;
}

.hoyeast-footer-social__arrow {
  font-size: 14px;
}

/* Hoyeast: visible, selectable support address in the global footer. */
.hoyeast-support {
  width: 100%;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.hoyeast-support__eyebrow {
  margin: 0 0 14px;
  color: var(--color-highlight);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hoyeast-support__content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hoyeast-support__title {
  margin: 0 0 6px;
  color: var(--color-foreground-heading);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.15;
}

.hoyeast-support__note {
  max-width: 620px;
  margin: 0;
  color: var(--color-text-0);
  font-size: 13px;
  line-height: 1.55;
}

.hoyeast-support__actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hoyeast-support__email,
.hoyeast-support__copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-foreground-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hoyeast-support__copy {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.hoyeast-support__email:hover,
.hoyeast-support__copy:hover {
  border-color: var(--color-primary);
  color: var(--color-highlight);
  transform: translateY(-1px);
}

.hoyeast-support__status {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  color: var(--color-text-0);
  font-size: 11px;
  white-space: nowrap;
}

@media (max-width: 959px) {
  .hoyeast-header-social {
    display: none;
  }

  #plugin-c-market-block {
    min-height: 34px;
    gap: 10px;
    padding: 0 !important;
  }

  .app-translate-card:not(.pc-hidden),
  .app-currency-card:not(.pc-hidden),
  #plugin-c-market-block button,
  #plugin-c-market-block [role='button'],
  #plugin-c-market-block ljs-dropdown {
    min-height: 34px;
    font-size: 12px;
  }

  .app-currency-card img {
    width: 24px !important;
    height: 16px !important;
  }

  .hoyeast-support {
    padding-top: 22px;
  }

  .hoyeast-support__content {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hoyeast-support__actions {
    max-width: 100%;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .hoyeast-support__email {
    max-width: 100%;
    font-size: 13px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hoyeast-support__status {
    position: static;
    flex-basis: 100%;
    white-space: normal;
  }

  .footer_social_media {
    width: 100%;
  }

  .hoyeast-footer-social__link {
    flex: 1 1 130px;
  }
}
