/* WeChat QR theme alignment; geometry and all other production styles retained. */
/* Match the embedded provider palette without filtering or cropping QR pixels. */
:root .wechat-qr-login { --wechat-qr-surface: #161616; --wechat-qr-overlay: #1b1b1e; }
:root[data-studio-theme="light"] .wechat-qr-login { --wechat-qr-surface: #fff; --wechat-qr-overlay: #fff; }
.wechat-qr-login__frame { --wechat-frame-scale: 1.4; --wechat-frame-height: 246.4px; position: relative; width: 308px; max-width: 100%; height: var(--wechat-frame-height); margin: 0 auto; overflow: hidden; border-radius: 14px; background: var(--wechat-qr-surface); }
.wechat-qr-login__frame iframe { display: block; width: 220px; max-width: none; height: 176px; border: 0; background: var(--wechat-qr-surface); color-scheme: dark; transform: scale(var(--wechat-frame-scale)); transform-origin: top left; }
:root[data-studio-theme="light"] .wechat-qr-login__frame iframe { color-scheme: light; }
.wechat-qr-login__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; background: var(--wechat-qr-overlay); color: #aaa6b1; font-size: 14px; }
