.taf-social-contact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.taf-social-contact-card{flex-direction:column;align-items:flex-start;gap:16px}
.taf-social-contact-card .taf-social-qr{flex:0 0 auto;width:150px}
.taf-social-account-mark{display:grid;place-items:center;width:150px;height:150px;background:#eff7f3;color:#176247;border:1px solid #cee3d7;font-size:24px;font-weight:800}
.taf-social-copy{border:1px solid #005b8f;background:#fff;color:#005b8f;padding:9px 12px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.taf-social-copy-status{min-height:1.6em;margin-top:8px!important;font-size:12px!important}
.taf-social-more{margin-top:24px;border:1px solid #ccd7dc;background:#fff}
.taf-social-more>summary{padding:18px 20px;color:#09233f;font-size:17px;font-weight:750;cursor:pointer}
.taf-social-more>p{padding:0 20px;color:#52677a;font-size:14px}
.taf-social-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;padding:0 20px 20px}
.taf-social-more-card{min-width:0;border:1px solid #dce4e8;padding:18px;background:#f9fbfc}
.taf-social-more-card h4{margin:0 0 8px;color:#09233f;font-size:18px}
.taf-social-more-card p{margin:0 0 12px;color:#52677a;font-size:14px}
.taf-social-more-card a{color:#005b8f;text-decoration:underline;text-underline-offset:3px;font-weight:650}
.taf-social-qr-details{margin-top:14px;border-top:1px solid #dce4e8;padding-top:12px}
.taf-social-qr-details>summary{color:#09233f;cursor:pointer;font-size:14px;font-weight:650}
.taf-social-qr-window{display:block;width:100%;max-width:230px;height:auto;aspect-ratio:1;background:#fff;margin:14px 0 10px;border:8px solid #fff;box-sizing:border-box}
.taf-social-qr-details small{display:block;margin-top:8px;color:#52677a;font-size:12px}
.taf-social-more a:focus-visible,.taf-social-more summary:focus-visible,.taf-social-copy:focus-visible{outline:3px solid #ef5b16;outline-offset:4px}
@media(max-width:900px){.taf-social-contact-card .taf-social-qr,.taf-social-account-mark{width:130px}.taf-social-account-mark{height:130px}.taf-social-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.taf-social-contact-grid{grid-template-columns:1fr}.taf-social-contact-card{flex-direction:row;align-items:center}.taf-social-contact-card .taf-social-qr,.taf-social-account-mark{width:120px;flex:0 0 120px}.taf-social-account-mark{height:120px;font-size:20px}}
@media(max-width:480px){.taf-social-more-grid{grid-template-columns:1fr}.taf-social-contact-card{align-items:flex-start}.taf-social-contact-card .taf-social-qr,.taf-social-account-mark{width:120px;flex-basis:120px}.taf-social-account-mark{height:120px;font-size:18px}.taf-social-contact-card h4{font-size:18px}}

/* Show the original official-account code with its quiet zone; do not redraw it. */
.taf-social-qr.taf-social-qr-official{position:relative;background:#fff}
.taf-social-qr.taf-social-qr-official img{position:absolute;width:142.6631%;max-width:none;height:auto;left:-21.0598%;top:-12.9076%}

/* Restore assets: display full originals, preserve QR patterns and quiet zones. */
.taf-social-qr-window.taf-social-qr-full,.taf-social-qr.taf-social-qr-douyin img.taf-social-qr-full{position:static;display:block;width:100%;max-width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center;margin:0;left:auto;top:auto;border:0;background:#fff}
.taf-social-qr.taf-social-qr-douyin{height:auto;aspect-ratio:auto;background:#fff;overflow:visible}
.taf-social-qr-details img.taf-social-qr-full{max-width:320px;margin:14px 0 10px}
