.contact-card {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(216px, calc(env(safe-area-inset-bottom) + 204px));
  z-index: 14;
  width: 154px;
  padding: 12px 10px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 4px 18px #2634520a;
  line-height: 1.6;
}
.contact-card strong { font-size: 12px; color: var(--blue); }
.contact-card strong span { float: right; }
.contact-hint { font-size: 10px; color: var(--muted); }
.contact-email { font-size: 11px; color: var(--ink); }
.contact-mobile { display: none; }
.contact-card:hover { border-color: #b9c8eb; background: var(--soft-blue); }
@media (min-width: 721px) and (max-width: 1200px) {
  .contact-card { width: 144px; }
}
@media (max-width: 720px) {
  .contact-card {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(116px, calc(env(safe-area-inset-bottom) + 108px));
    width: 80px;
    padding: 9px 6px;
    gap: 4px;
    text-align: center;
  }
  .contact-card strong { font-size: 11px; }
  .contact-card strong span, .contact-hint, .contact-email { display: none; }
  .contact-mobile { display: block; font-size: 10px; color: var(--muted); }
}
