[hidden]{display:none!important}
.code-login-page .auth-content{width:min(410px,100%)}.code-login-page .auth-heading{margin-bottom:28px}.code-login-page .auth-heading h2{font-size:27px;font-weight:600;letter-spacing:0}.code-login-page .auth-heading p{font-size:13px;margin-top:12px}
.login-method-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #333;gap:24px;margin-bottom:28px}.login-method-tabs button{height:46px;border:0;border-bottom:2px solid transparent;background:none!important;color:#888;font:inherit;font-size:14px;cursor:pointer}.login-method-tabs button[aria-selected=true]{border-bottom-color:#ededed;color:#eee}.login-method-tabs button:disabled{cursor:wait}
.code-login-page .input-shell{height:52px;border-radius:10px}.code-login-page .input-shell input{color:#ededed;min-width:0}.code-login-page .input-shell input::placeholder{color:#747474;font-size:13px}.code-login-page .field-label{color:#aaa;font-size:12px}.code-login-page .auth-submit{height:48px;border:0;border-radius:10px;margin-top:26px;font-size:14px;font-weight:600;cursor:pointer}.code-login-page .auth-submit:not(:disabled):hover{background:#fff}.login-send-code{flex-shrink:0;white-space:nowrap;border:0;border-left:1px solid #444;padding:0 16px;background:none!important;color:#e0e0e0;font-size:12px;cursor:pointer}.login-send-code:disabled{color:#666;cursor:default}.login-hint{color:#777;font-size:11px;margin:12px 0 0;line-height:1.7}.login-terms{font-size:11px;line-height:1.9;margin-top:24px;gap:8px;align-items:flex-start}.code-login-page .login-terms input{appearance:auto;display:block;position:static;opacity:1;flex:0 0 14px;width:14px;height:14px;margin:4px 0;accent-color:#ddd}.login-message{min-height:36px;font-size:12px;line-height:1.7;color:#aaa;margin:14px 0 0}.login-message[data-error=true]{color:#f0ada4}.code-login-page .auth-foot{margin-top:24px;color:#666;font-size:11px}
.wechat-stage{min-height:248px;padding:18px 0;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid #303030;border-radius:14px;background:#191919}.wechat-stage>svg{width:45px;height:45px;fill:none;stroke:#aaa;stroke-width:1.6}.wechat-stage strong{font-size:15px;font-weight:500;color:#ddd}.wechat-stage p{margin:0;color:#888;font-size:12px;line-height:1.7;padding:0 18px}.wechat-stage img{width:188px;height:188px;background:#fff;border-radius:10px}.wechat-start{padding:9px 18px;background:#333;color:#eee;border:1px solid #494949;border-radius:8px;cursor:pointer}.wechat-start:disabled{background:#252525;color:#666;cursor:default}.code-login-page #wechat-bind-form{margin-top:15px}.wechat-callback{margin:80px 24px;text-align:center;color:#ddd;background:#101010;font:15px/1.8 system-ui,sans-serif}.wechat-callback h1{font-size:24px}.password-maintenance .auth-methods,.password-maintenance #auth-form{display:none!important}
@media(max-width:760px){.code-login-page .auth-panel{padding:64px 26px 30px;min-height:100dvh}.code-login-page .auth-content{margin:auto}.code-login-page .auth-heading h2{font-size:25px}.login-method-tabs{gap:18px}.code-login-page .auth-close{top:18px;right:22px}}

.code-login-page .auth-submit:not(:disabled){background:#ededed!important;color:#171717;opacity:1}

@media(max-width:760px){.code-login-page .auth-poster{display:none}.code-login-page .auth-panel{padding-top:60px}}


/* Public login presentation only; maintenance and creative editors are unchanged. */
.code-login-page .auth-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(430px,1fr);min-height:100svh}
.code-login-page .login-showcase{min-height:100svh;border-radius:0 24px 24px 0;background:#141414;isolation:isolate}
.code-login-page .auth-panel{padding:70px 44px 40px;min-height:100svh}
.code-login-page .auth-content{width:min(360px,100%)}
.code-login-page .auth-heading{margin:0 0 32px;text-align:center}
.code-login-page .auth-eyebrow{display:block;font-size:10px;letter-spacing:2.2px;margin-bottom:14px}
.code-login-page .auth-heading h2{font-size:28px;line-height:1.4}
.code-login-page .auth-foot{text-align:left}
.code-login-page .auth-close{top:24px;right:28px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#1b1b1b;color:#b3b3b3;font-size:23px;line-height:1;text-decoration:none}
.code-login-page .auth-close:hover{background:#282828;color:#fff}
.login-showcase-poster,.login-showcase-video,.login-showcase-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.login-showcase-poster{z-index:0}.login-showcase-poster:not([src]){display:none}
.login-showcase-video{z-index:1;opacity:0;pointer-events:none}.login-showcase-video.is-active{opacity:1}
.login-showcase-shade{z-index:2;background:linear-gradient(180deg,#00000005 40%,#00000024 63%,#000000ba 100%);pointer-events:none}
.login-showcase-footer{position:absolute;z-index:3;left:clamp(28px,3.8vw,64px);right:clamp(28px,3.8vw,64px);bottom:32px;color:#fff}
.login-showcase-copy>span{font-size:10px;letter-spacing:3px;color:#ffffffb3}.code-login-page .login-showcase-copy h1{font-size:clamp(26px,2.6vw,42px);font-weight:550;letter-spacing:-.8px;color:#fff;line-height:1.35;margin:14px 0 10px}
.login-showcase-copy p{font-size:13px;color:#ffffffb3;line-height:1.8;margin:0}
.login-showcase-controls{display:flex;align-items:center;gap:16px;margin-top:24px}
.login-showcase-choices{display:flex;align-items:center;gap:4px;margin-right:auto}
.login-showcase-choices button{width:42px;height:36px;padding:8px 4px;border:0;background:none;cursor:pointer}
.login-showcase-choices button span{display:block;width:100%;height:3px;border-radius:3px;background:#ffffff50;transition:background .2s}
.login-showcase-choices button[aria-pressed=true] span,.login-showcase-choices button:hover span{background:#fff}
[data-showcase-counter]{font-size:11px;letter-spacing:1.2px;color:#ffffffb3;font-variant-numeric:tabular-nums}
.login-showcase-toggle{display:grid;place-items:center;flex:0 0 36px;height:36px;border:1px solid #ffffff45;border-radius:50%;background:#00000025;color:#fff;cursor:pointer}
.login-showcase-toggle:hover{background:#ffffff20}.login-showcase-toggle:disabled{opacity:.4;cursor:default}.login-showcase-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.login-showcase-toggle[data-playing=true] .showcase-play-icon,.login-showcase-toggle[data-playing=false] .showcase-pause-icon{display:none}
.code-login-page .login-showcase button:focus-visible{outline:2px solid white;outline-offset:3px}
@media(max-width:1000px){.code-login-page .auth-layout{grid-template-columns:minmax(0,1fr) minmax(390px,1fr)}.code-login-page .auth-panel{padding-left:30px;padding-right:30px}.login-showcase-footer{left:28px;right:28px}.login-showcase-copy p{max-width:280px}}
@media(max-width:760px){.code-login-page .auth-layout{display:block}.code-login-page .login-showcase{display:none}.code-login-page .auth-panel{min-height:100svh;padding:70px 26px 32px}.code-login-page .auth-heading h2{font-size:26px}.code-login-page .auth-close{top:20px;right:20px}}
@media(prefers-reduced-motion:reduce){.login-showcase-choices button span{transition:none}}

.wechat-qr-container{width:286px;max-width:100%;height:286px;overflow:hidden;flex:none}.wechat-qr-container iframe{display:block;width:220px;height:220px;max-width:none;border:0;background:#191919;transform:scale(1.3);transform-origin:top left}.wechat-stage[data-scanning=true]{width:fit-content;max-width:100%;min-height:0;margin:0 auto;padding:14px 14px 16px;gap:12px}.wechat-stage[data-scanning=true]>svg{display:none}.wechat-stage[data-scanning=true]>strong,.wechat-stage[data-scanning=true]>p{display:none}.wechat-open-page{font-size:11px;color:#aaa;text-underline-offset:3px}.wechat-open-page:hover{color:#eee}
.code-login-page .auth-content{min-width:0;max-width:100%}.code-login-page .wechat-stage{min-width:0;width:100%;box-sizing:border-box}.wechat-qr-container{min-width:0}

/* Invitation remains a single field when switching between login methods. */
.code-login-page .login-invitation-fields{margin-top:22px}
.code-login-page .login-invitation-fields .field-label{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;letter-spacing:.02em;line-height:1.6;margin:0 0 9px}
.code-login-page .invite-login-label small{font-size:11px;font-weight:400;color:#858585;letter-spacing:0}
.code-login-page .login-invitation-fields .login-hint{margin:8px 0 0}
.code-login-page #wechat-invitation-slot:not(:empty){margin:0 0 20px}
.code-login-page #wechat-invitation-slot .login-invitation-fields{margin-top:0}
.code-login-page #login-invitation{text-transform:uppercase}
.code-login-page .auth-foot{text-align:center}

/* WeChat stylelite uses a 220px square layout; scale the whole official frame. */
.code-login-page .wechat-stage[data-scanning=true]{width:fit-content}
@media(max-width:370px){.wechat-qr-container{width:242px;height:242px}.wechat-qr-container iframe{transform:scale(1.1)}.code-login-page .wechat-stage[data-scanning=true]{padding:10px 10px 14px}}
