/* Matching floating contact panels for both artist homepages. */
.artist-contact {
  --contact-paper: #fffcfa;
  --contact-ink: var(--wine, #95160c);
  --contact-muted: #75404b;
  --contact-line: #efc8c6;
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 30;
  color: var(--contact-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
}
.artist-contact summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  list-style: none;
  cursor: pointer;
  background: var(--contact-paper);
  border: 1px solid var(--contact-line);
  border-radius: 4px;
  box-shadow: 0 4px 18px #300c1314;
}
.artist-contact summary::-webkit-details-marker { display: none; }
.artist-contact summary svg { width: 21px; height: 21px; flex: none; }
.artist-contact-toggle { margin-left: 10px; font-size: 24px; line-height: 1; }
.artist-contact[open] .artist-contact-toggle { transform: rotate(45deg); }
.artist-contact summary:focus-visible,
.artist-contact-panel a:focus-visible { outline: 2px solid var(--contact-ink); outline-offset: 4px; }
.artist-contact-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 310px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 112px);
  overflow: auto;
  padding: 10px 18px 14px;
  background: var(--contact-paper);
  border: 1px solid var(--contact-line);
  border-top: 3px solid var(--contact-ink);
  border-radius: 4px;
  box-shadow: 0 10px 35px #300c1320;
}
.artist-contact-title { padding: 14px 0 18px; font: 30px/1.2 'Cormorant Garamond', Georgia, serif; }
.artist-contact-title > span { display: block; margin-top: 5px; font-family: Arial, 'PingFang SC', sans-serif; font-size: 13px; line-height: 1.8; }
.artist-contact-panel a,
.artist-contact-wechat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 12px 0;
  border-top: 1px solid var(--contact-line);
  color: var(--contact-ink);
  text-decoration: none;
}
.artist-contact-panel a:hover { color: #b82012; }
.artist-contact-panel small { color: var(--contact-muted); font-size: 13px; overflow-wrap: anywhere; }
.artist-contact-wechat small { user-select: text; }
.has-artist-contact footer.site-footer { padding-bottom: 110px; }
@media (max-width: 800px) {
  .artist-contact { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .artist-contact summary { padding: 10px 14px; }
  .has-artist-contact footer.site-footer { padding-bottom: 100px; }
}
