/* Shared public support entry, dialog and contact-page QR panel. */
.support-launcher, .support-dialog, .customer-support { box-sizing: border-box; }
body .support-launcher {
  position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 19px;
  border: 1px solid #597be0; border-radius: 999px; background: #192c57;
  color: #eef3ff; font: 600 14px/1.5 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;
  cursor: pointer; box-shadow: 0 8px 32px #0006;
}
.support-launcher:hover { background: #243e77; }
.support-launcher svg { flex: none; }
.support-dialog {
  width: min(400px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px;
  color: #eef3ff; background: #0e1628; border: 1px solid #33476c; border-radius: 20px;
  box-shadow: 0 24px 90px #0008; overflow: auto;
  font: 15px/1.7 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;
}
.support-dialog::backdrop { background: #030712b3; }
.support-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.support-dialog-head h2 { margin: 0; font-size: 21px; line-height: 1.4; }
.support-dialog .support-close { width: 36px; height: 36px; padding: 0; border: 1px solid #33476c; border-radius: 9px; color: #c2cee6; background: transparent; font: 26px/1 sans-serif; cursor: pointer; }
.customer-support { text-align: center; }
.customer-support [hidden] { display: none !important; }
.customer-support p { margin: 0; color: #c2cee6; font-size: 14px; overflow-wrap: anywhere; }
.customer-support img { display: block; width: 240px; height: auto; aspect-ratio: 1; max-width: 100%; margin: 20px auto; padding: 10px; border-radius: 12px; background: white; object-fit: contain; box-sizing: border-box; }
.customer-support [data-support-hours] { color: #9aaac6; font-size: 13px; }
.customer-support .support-retry { margin-top: 16px; padding: 7px 20px; border: 1px solid #597be0; border-radius: 9px; color: #c2d5ff; background: #192c57; font: inherit; cursor: pointer; }
.support-dialog .support-email { border-top: 1px solid #33476c; margin: 22px 0 0; padding-top: 18px; text-align: center; color: #9aaac6; font-size: 13px; }
.support-email a { color: #a8c3ff; overflow-wrap: anywhere; }
#customer-support { scroll-margin-top: 110px; }
.support-contact-grid { align-items: start; }
#customer-support .customer-support { margin-top: 24px; }
@media (max-width: 600px) {
  .support-launcher { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); padding: 11px 15px; font-size: 13px; }
  .support-dialog { padding: 20px; }
}
/* Leave room for the floating entry when the visitor reaches the footer. */
body footer, body.info-page footer { padding-bottom: 96px; }
