.apply-dialog{width:min(520px,calc(100vw - 32px));padding:0;max-height:calc(100dvh - 32px);overflow:hidden}
/* 非模态(show())时 UA 给的是 position:absolute,会掉到文档中部 ⇒ 对开着的一律钉回视口正中,
   与原来 showModal 的摆位一致(注册窗自己那条在 signup-modal.css,值相同)。 */
.apply-dialog[open]{position:fixed;inset:0;margin:auto}
.apply-modal-body{padding:46px 36px 24px;max-height:calc(100dvh - 34px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
/* 卡片不画自家滚动条（与 embed.css 的 .login-dialog 同一条，2026-11-04 owner：登录卡那条收掉，注册 / 申请入驻一并收）。
   矮屏照样能滚（滚轮 / 触屏），只是不再把那条原生条画在卡片右缘。 */
.apply-modal-body::-webkit-scrollbar{width:0;height:0}
/* 关闭钮（2026-11-04 跟随登录卡那枚 .ms-embed-close）：34×34 / top·right 6 / **透明底**，
   悬停才出面（#201e1b 底 + 月白）。原来是 36×36 + 一块不透明 #151412 垫着 ——
   两窗切换时按钮既变大小、右上角还各挂一块不同颜色的方块。 */
.apply-dialog .apply-close{z-index:2;background:transparent;width:34px;height:34px;top:6px;right:6px}
@media(hover:hover){.apply-dialog .apply-close:hover{background:#201e1b;color:#f2f2ee}}
.apply-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.apply-logo{width:88px;height:auto;filter:invert(1)}
#apply-dialog-description{margin:18px 0 20px;font-size:12px;line-height:1.85;color:#b9b6ae}
.apply-input{display:block;width:100%;height:46px;margin-bottom:10px;padding:12px 0;border:0;border-bottom:1px solid rgba(242,242,238,.3);border-radius:0;background:transparent;color:#f2f2ee;font:inherit;font-size:14px;box-shadow:none;outline:none}
.apply-input::placeholder{color:#a29b90}.apply-input:focus{border-color:var(--signal-orange)}.apply-input:focus-visible{outline:none}
.apply-input:-webkit-autofill{-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-background-clip:text!important;background-clip:text!important;caret-color:#f2f2ee;-webkit-text-fill-color:#f2f2ee}
.apply-dialog .reset-modal-error{font-size:11px;margin:0 0 10px;min-height:20px}
.apply-consent{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.8;color:#b9b6ae;cursor:pointer}
.apply-consent input{margin:0;flex-shrink:0;width:14px;height:14px;accent-color:var(--signal-orange)}
.apply-consent a{color:#f2f2ee}.apply-dialog a:hover{color:var(--signal-orange)}
.apply-dialog .reset-modal-submit{margin-top:22px}.apply-dialog .reset-modal-submit:disabled{cursor:default;opacity:.5}
.apply-help{margin-top:24px;padding-top:16px;border-top:1px solid rgba(242,242,238,.19);font-size:11px;line-height:1.85;color:#b9b6ae}
.apply-help p{margin:0 0 6px}.apply-return{color:#f2f2ee;text-underline-offset:4px;text-decoration:underline}
.apply-success h3{font-size:18px;font-weight:600;margin:8px 0}.apply-success p{font-size:13px;line-height:1.85;color:#b9b6ae;margin:0}
.apply-legal{margin-top:22px;color:#a09b93;font-size:8px;line-height:1.7}.apply-legal>div{display:flex;flex-wrap:wrap;gap:3px 10px;margin-top:5px}
@media(max-width:600px){.apply-modal-body{padding:46px 24px 22px}.apply-dialog h2{font-size:22px}.apply-logo{width:76px}.apply-input{font-size:16px}}

/* D86:PC 档中文小字地板 12(见 login.css 末段);手机档不动 */
.apply-dialog .reset-modal-error,.apply-consent,.apply-help,.apply-legal{font-size:12px}
