.wechat-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:440px;max-height:calc(100dvh - 32px);margin:auto;padding:26px;border:1px solid #e4e0df;border-radius:12px;background:white;color:#202124;box-shadow:0 20px 80px #0003;overflow-y:auto;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif}.wechat-dialog::backdrop{background:#0008}.wechat-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.wechat-dialog-header img{width:230px;max-width:calc(100% - 48px);height:auto}.wechat-close{width:36px;height:36px;border:1px solid #ddd;border-radius:50%;background:white;color:#555;font-size:27px;line-height:1;cursor:pointer;flex-shrink:0}.wechat-dialog h2{font-size:26px;margin:26px 0 20px;line-height:1.35}.wechat-dialog label{display:block;font-size:16px;margin:10px 0}.wechat-dialog [data-wechat-id],.wechat-id-card [data-wechat-id]{box-sizing:border-box;width:100%;min-width:0;padding:14px;background:#f8f8f7;border:1px solid #d5d5d5;border-radius:5px;color:#222;font:600 25px/1.4 Arial,sans-serif;letter-spacing:.04em;user-select:all}.wechat-copy-button{display:block;width:100%;margin:14px 0 0;padding:14px;border:0;border-radius:5px;background:#bb1d35;color:white;font-size:18px;font-weight:600;cursor:pointer;min-height:48px}.wechat-dialog p{font-size:16px;line-height:1.7;overflow-wrap:anywhere}.wechat-copy-status{font-size:16px;line-height:1.7;color:#246c43;min-height:24px}.wechat-qr-details{border-top:1px solid #eee;padding-top:16px}.wechat-qr-details summary{cursor:pointer;font-size:16px}.wechat-qr-details img{display:block;width:230px;max-width:100%;height:auto;margin:16px auto 0}.wechat-id-card{margin:24px 0;padding:20px;border:1px solid #dfdfdf;border-radius:6px;max-width:440px}.wechat-id-card label{display:block;font-size:16px;margin-bottom:8px}.wechat-id-card .wechat-copy-status{margin-bottom:0}.wechat-dialog :focus-visible{outline:2px solid #bb1d35;outline-offset:3px}@media(max-width:600px){.wechat-dialog{padding:22px}.wechat-dialog h2{font-size:24px}.wechat-id-card{padding:16px}}

.wechat-qr-zoom{display:block;width:100%;padding:0;border:0;background:white;color:#666;cursor:zoom-in;font:inherit}.wechat-qr-zoom span{display:block;margin-top:10px;font-size:15px;text-decoration:underline}.wechat-zoom-dialog{box-sizing:border-box;width:min(94vw,700px);max-height:94dvh;padding:44px 12px 12px;border:0;border-radius:12px;background:white;overflow:auto;margin:auto}.wechat-zoom-dialog::backdrop{background:#000b}.wechat-zoom-dialog>.wechat-close{position:absolute;right:8px;top:6px}.wechat-zoom-dialog>img{display:block;width:100%;height:auto;max-height:calc(94dvh - 60px);object-fit:contain}.wechat-zoom-dialog :focus-visible{outline:2px solid #bb1d35;outline-offset:2px}

.wechat-course-actions{margin-top:24px;display:flex;flex-wrap:wrap;gap:12px}.wechat-contact-entry{margin-top:18px}.wechat-entry.btn{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #bb1d35;background:white;color:#a72035;font-size:18px;line-height:1.4;min-height:48px;padding:12px 22px}.wechat-entry.btn:hover{background:#fff3f5}.wechat-entry.btn .zh{margin:0;font-size:15px;color:inherit}

/* Keep bilingual copy labels readable on the solid red action. */
.wechat-copy-button,.wechat-copy-button .zh{color:#fff!important;opacity:1!important}
