/* Load after home.css and locales.css; scoped to the enhanced contact panel. */
#floating-links.spectrum-contact-channels {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: min(320px, calc(100vw - 32px));
  max-height: min(520px, calc(100dvh - 140px));
  overflow-y: auto;
  padding: 18px;
  margin: 0;
  border: 1px solid #d9cbb7;
  border-radius: 20px;
  background: #f8f7f4;
  color: #3a2e24;
  box-shadow: 0 8px 30px #3a2e2426;
  box-sizing: border-box;
  text-align: start;
}
#floating-links.spectrum-contact-channels[hidden] { display: none; }
.spectrum-contact-channels__title {
  margin: 0 0 2px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}
.spectrum-contact-channels__options { display: grid; gap: 8px; }
#floating-links.spectrum-contact-channels a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  box-shadow: none;
}
#floating-links.spectrum-contact-channels .spectrum-contact-channels__link {
  background: #80634b;
  color: #fff;
  border: 1px solid #80634b;
}
#floating-links.spectrum-contact-channels .spectrum-contact-channels__extra {
  background: transparent;
  color: #5a4636;
  border: 1px solid #d9cbb7;
}
#floating-links.spectrum-contact-channels a:hover { filter: brightness(.94); }
#floating-links.spectrum-contact-channels a:focus-visible {
  outline: 3px solid #3a2e24;
  outline-offset: 3px;
}
html[lang="th"] .spectrum-contact-channels__title { font-size: 25px; }
html[lang="th"] #floating-links.spectrum-contact-channels a { font-size: 25px; padding-block: 6px; }
@media (max-width: 480px) {
  #floating-links.spectrum-contact-channels { width: min(300px, calc(100vw - 48px)); padding: 15px; }
}
