.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 28px;
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid #c4c1ba;
  border-radius: 50%;
  color: #24241f;
  background: transparent;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.contact-icon svg { width: 34px; height: 34px; fill: currentColor; }
.contact-icon:hover,
.wechat-contact[open] > summary { background: #d4fa43; transform: translateY(-2px); }
.wechat-contact > summary { list-style: none; }
.wechat-contact > summary::-webkit-details-marker { display: none; }
.wechat-contact[open] { flex-basis: 100%; }
.wechat-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #c4c1ba;
  border-radius: 8px;
}
.wechat-id code { overflow-wrap: anywhere; font-size: 14px; }
.wechat-id button {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 5px;
  color: #faf9f5;
  background: #24241f;
}
.wechat-status { flex-basis: 100%; font-size: 13px; }
.wechat-status:empty { display: none; }
@media (max-width: 420px) {
  .contact-links { gap: 10px; }
  .contact-icon { width: 56px; height: 56px; }
  .contact-icon svg { width: 29px; height: 29px; }
}
.wechat-qr {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin-inline: auto;
  border-radius: 6px;
}
#dialog-body .wechat-help {
  flex-basis: 100%;
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.5;
}
.wechat-save {
  flex-basis: 100%;
  padding: 12px;
  border-radius: 5px;
  color: #24241f;
  background: #d4fa43;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}

.wechat-qr-frame {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  background: white;
  border-radius: 6px;
}
.wechat-qr-frame .wechat-qr {
  position: absolute;
  width: 141.37931%;
  max-width: none;
  height: auto;
  left: -20.689655%;
  top: -62.068966%;
  margin: 0;
  border-radius: 0;
}
.brief input {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #ccc9bf;
  border-radius: 4px;
  background: #fcfbf7;
  color: inherit;
  font: 16px 'Golos Text', Arial, sans-serif;
}
.brief button:disabled { opacity: .6; cursor: wait; }

#dialog-body .about-quote {
  position: relative;
  margin: 0 0 36px;
  padding: 22px 0 0;
}
.about-quote-mark {
  position: absolute;
  top: -19px;
  left: -4px;
  color: #8271c2;
  font: 76px/1 Georgia, serif;
}
#dialog-body .about-quote p {
  position: relative;
  margin: 0 0 12px;
  color: #24241f;
  font: italic 26px/1.35 Georgia, serif;
}
.about-quote cite {
  display: block;
  color: #77746e;
  font: 11px/1.5 var(--mono);
  letter-spacing: .04em;
}


dialog:has(.about-profile) {
  max-width: 980px;
}
.about-profile {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(28px, 5vw, 52px);
  padding-block: 12px;
}
.about-snapshot {
  position: relative;
  margin: 12px 0;
  padding: 10px 10px 0;
  background: #fffefa;
  box-shadow: 3px 9px 22px #24241f26;
  transform: rotate(-5deg);
}
.about-snapshot::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -12px;
  left: 29%;
  width: 42%;
  height: 28px;
  background: #ff2442dd;
  transform: rotate(3deg);
}
.about-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 25%;
}
.about-snapshot figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 10px;
  padding: 15px 2px 17px;
  font: 9px/1.4 var(--mono);
}
.about-text { min-width: 0; }
#dialog-body .about-text h2 { font-size: clamp(32px, 4.5vw, 48px); }
@media (max-width: 650px) {
  .about-profile { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .about-snapshot { width: min(78%, 255px); justify-self: center; }
}
