/* The shared widget replaces page-specific floating support buttons. */
body .partners-service,
body .news-support {
  display: none;
}
.customer-support {
  position: fixed;
  right: max(28px, env(safe-area-inset-right));
  bottom: max(28px, env(safe-area-inset-bottom));
  z-index: 90;
  color: var(--paper);
}
.support-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--silver);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 32px color-mix(in srgb, var(--silver) 14%, transparent);
}
.support-toggle:hover {
  background: var(--silver);
}
.customer-support .support-toggle:focus-visible {
  outline-color: var(--silver);
}
.customer-support button:focus-visible,
.customer-support a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}
.support-panel {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: min(320px, calc(100vw - 40px));
  max-height: calc(100dvh - 114px);
  overflow-y: auto;
  padding: 24px;
  background: #0b0f0b;
  border: 1px solid var(--line);
  box-shadow: 0 12px 48px #0009;
}
.support-panel[hidden] {
  display: none;
}
.support-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.support-heading h2 {
  font-size: 20px;
  color: var(--lime);
}
.support-close {
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 26px;
  width: 32px;
  height: 32px;
  line-height: 1;
  cursor: pointer;
}
.support-contacts {
  margin: 0;
}
.support-contacts > div + div {
  margin-top: 14px;
}
.support-contacts dt,
.support-qr figcaption {
  color: var(--muted);
  font-size: 13px;
}
.support-contacts dd {
  margin: 5px 0 0;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.support-qr {
  margin: 22px 0 0;
  text-align: center;
}
.support-qr img {
  display: block;
  margin: 0 auto 10px;
  width: 160px;
  height: 160px;
}
@media (max-width: 700px) {
  .customer-support {
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
  }
  .support-toggle {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }
  .support-panel {
    bottom: 60px;
    max-height: calc(100dvh - 100px);
    padding: 20px;
  }
}
