.phantom-contact {
  position: fixed;
  inset-inline-end: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 900;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  color: #f2f3f4;
  margin: 0;
  padding: 0;
  border: 0;
}
.phantom-contact > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 28px;
  background: #d5b678;
  color: #111315;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 24px rgb(0 0 0 / 25%);
}
.phantom-contact > summary::-webkit-details-marker { display: none; }
.phantom-contact > summary::marker { content: ''; }
.phantom-contact > summary::after, .phantom-contact[open] > summary::after { content: none; }
.phantom-contact > summary:hover, .phantom-contact-email:hover { background: #e3c993; color: #111315; }
.phantom-contact-panel {
  box-sizing: border-box;
  position: absolute;
  inset-inline-end: 0;
  bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 48px));
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  padding: 28px 24px 24px;
  border: 1px solid #50575b;
  border-radius: 14px;
  background: #171c1f;
  text-align: start;
}
.phantom-contact:not([open]) > .phantom-contact-panel { display: none; }
.phantom-contact-panel h2 {
  margin: 0 28px 12px 0;
  font: inherit;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f2f3f4;
}
.phantom-contact-panel p { margin: 0 0 20px; color: #c1c7cb; font-size: 15px; line-height: 1.55; }
.phantom-contact .phantom-contact-email {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #d5b678;
  color: #111315;
  font-weight: 700;
  text-decoration: none;
}
.phantom-contact-panel .phantom-contact-address { margin: 12px 0 4px; color: #f2f3f4; overflow-wrap: anywhere; font-size: 14px; }
.phantom-contact-panel .phantom-contact-note { margin: 0 0 20px; font-size: 13px; }
.phantom-contact .phantom-contact-page { color: #d5b678; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.phantom-contact-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f2f3f4;
  cursor: pointer;
}
.phantom-contact-close[hidden] { display: none; }
.phantom-contact-close:hover { background: #272e32; }
.phantom-contact :focus-visible { outline: 2px solid #f2f3f4; outline-offset: 4px; }
.phantom-contact ::selection { background: #d5b678; color: #111315; }
@media (max-width: 600px) {
  .phantom-contact { inset-inline-end: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media print { .phantom-contact { display: none; } }
