.wx-contact {max-width: 960px; padding-block: 52px 48px; text-align: center;}
.wx-contact h1 {font-size: 64px; line-height: 1.14; font-weight: 900;}
.wx-contact h1 span, .wx-list h2 span {display: inline-block;}
.wx-contact h1::before {content: ''; display: block; width: 68px; height: 9px; background: var(--red); margin: 0 auto 18px;}
.wx-main {display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 7%; margin-top: 30px; padding-block: 32px; border-block: 2px solid var(--ink);}
.wx-details .wx-account {flex-direction: column; align-items: center;}
.wx-details {grid-area: 1 / 2;}
.wx-paper {grid-area: 1 / 1; padding: 12px; margin: 0 5px 5px 0; border: 3px solid var(--ink); background: var(--paper); box-shadow: 5px 5px var(--ink);}
.wx-qr, .wx-qr img {display: block;}
.wx-qr img {width: 100%; height: auto;}
.wx-paper .wx-qr {width: 216px;}
.wx-account {display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px;}
.wx-label {font-size: 23px; font-weight: 700; white-space: nowrap; line-height: 1.3;}
.wx-id {font-size: 38px; font-weight: 900; user-select: all;}
.wx-copy {min-height: 48px; min-width: 126px; padding: 8px 16px; border: 2px solid transparent; background: #a92518; color: white; font-weight: 700; line-height: 1.35;}
.wx-copy:hover {background: var(--ink);}
.wx-message:not(:empty) {flex-basis: 100%; font-weight: 700;}
.wx-message:empty {display: none;}
.wx-transfer {position: fixed; inset: 0 auto auto 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; font-size: 16px;}
.wx-banner h2 span:first-child, .wx-banner h2 span span {white-space: nowrap;}
.wx-banner {background: var(--ink); color: var(--paper); border-top: 7px solid var(--red);}
.wx-banner > .wrap {display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 26px;}
.wx-banner h2 {font-size: 32px; line-height: 1.35; margin-bottom: 16px; text-wrap: balance;}
.wx-banner .wx-qr {width: 150px; flex: none; border: 6px solid white;}
.wx-banner .wx-id {font-size: 32px;}
.wx-banner .wx-copy {background: var(--paper); color: var(--ink);}
.wx-banner .wx-copy:hover {background: white;}
.wx-footer {grid-column: 1/-1; display: flex; gap: 24px; align-items: center; border-top: 1px solid var(--rule); padding-top: 14px;}
.wx-footer .wx-qr {width: 88px; flex: none;}
.wx-footer .wx-label, .wx-footer .wx-id {font-size: 18px;}
.wx-footer .wx-copy {background: var(--ink); color: var(--paper);}
@media(max-width: 760px) {
  .wx-contact {padding-block: 30px 40px;}
  .wx-contact h1 {font-size: 38px;}
  .wx-main {grid-template-columns: minmax(0,1fr); gap: 20px; margin-block: 20px 26px; padding-block: 20px 24px;}
  .wx-main > * {grid-area: auto;}
  .wx-account {gap: 10px;}
  .wx-label {font-size: 19px;}
  .wx-id, .wx-banner .wx-id {font-size: 29px;}
  .wx-details .wx-copy, .wx-banner .wx-copy {width: 100%;}
  .wx-paper {justify-self: center; padding: 7px;}
  .wx-paper .wx-qr {width: 176px;}
  .wx-banner h2 {font-size: 25px; text-wrap: wrap;}
  .wx-banner h2 > span {display: block;}
  .wx-banner > .wrap {flex-direction: column; align-items: stretch; gap: 18px; padding-block: 22px;}
  .wx-banner .wx-qr {align-self: center; width: 142px;}
  .wx-footer .wx-qr {display: none;}
  .wx-footer .wx-copy {min-width: 0;}
}
.wx-nav {display: none;}
@media(max-width: 820px) {
  .mast .wx-nav {display: block; margin-left: auto; padding: 7px 12px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 700; white-space: nowrap;}
}
