.download-auth-dialog {
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 460px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 28px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid #e4e7eb;
	border-radius: 10px;
	background: #fff;
	color: #303741;
	box-shadow: 0 20px 70px rgb(0 0 0 / 18%);
	font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
	font-size: 14px;
	line-height: 1.6;
}
.download-auth-dialog::backdrop { background: rgb(15 23 42 / 48%); }
.download-auth-dialog:not([open]) { display: none; }
.download-auth-fallback-backdrop { position: fixed; z-index: 10000; inset: 0; background: rgba(15, 23, 42, .48); }
.download-auth-fallback-backdrop[hidden] { display: none; }
.download-auth-dialog.is-fallback[open] { display: block; position: fixed; z-index: 10001; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); }
.download-auth-dialog [hidden], .download-resume[hidden] { display: none !important; }
.download-auth-dialog *, .download-auth-dialog *::before, .download-auth-dialog *::after { box-sizing: border-box; }
.download-auth-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.download-auth-kicker { margin: 0 0 5px; color: #a52a24; font-size: 11px; letter-spacing: .12em; }
.download-auth-dialog h2 { margin: 0; color: #222c38; font-size: 23px; font-weight: 600; line-height: 1.4; }
.download-auth-close { flex: 0 0 44px; width: 44px; height: 44px; margin: -12px -12px 0 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #606a76; font: 30px/1 sans-serif; cursor: pointer; }
.download-auth-description { margin: 13px 0 16px; color: #626c78; }
.download-auth-target { margin: 0 0 18px; padding: 10px 12px; border-radius: 5px; background: #f5f6f8; color: #3e4856; overflow-wrap: anywhere; }
.download-auth-field { margin-bottom: 16px; }
.download-auth-dialog label { display: block; margin: 0 0 6px; color: #3b4653; font-size: 14px; font-weight: 600; }
.download-auth-dialog input { display: block; width: 100%; height: 46px; min-width: 0; padding: 10px 12px; border: 1px solid #cbd1d8; border-radius: 5px; background: #fff; color: #202936; font: 16px/1.4 "Microsoft YaHei", "PingFang SC", sans-serif; }
.download-auth-dialog input::placeholder { color: #87919e; font-size: 14px; }
.download-auth-dialog input[aria-invalid="true"] { border-color: #bf3028; }
.download-auth-dialog :focus-visible, .download-resume button:focus-visible { outline: 3px solid #84b9e8; outline-offset: 3px; }
.download-auth-code-row { display: flex; gap: 8px; }
.download-auth-code-row input { flex: 1; }
.download-auth-send { flex: 0 0 120px; min-height: 46px; padding: 8px; border: 1px solid #cbd1d8; border-radius: 5px; background: #f8f9fb; color: #384456; font: inherit; cursor: pointer; }
.download-auth-primary { display: block; width: 100%; min-height: 46px; padding: 11px 16px; border: 1px solid #b82720; border-radius: 5px; background: #c92d25; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.download-auth-primary:hover { background: #b7251e; }
.download-auth-dialog button:disabled { cursor: wait; opacity: .6; }
.download-auth-send:disabled { cursor: default; }
.download-auth-profile-note { margin: 0 0 16px; color: #626c78; }
.download-auth-field-error { margin: 5px 0 0; color: #b52520; font-size: 12px; }
.download-auth-status { margin: 13px 0 0; color: #386844; overflow-wrap: anywhere; }
.download-auth-status:empty { display: none; }
.download-auth-status.is-error { color: #b52520; }
.download-auth-cancel { display: block; min-height: 44px; margin: 10px auto -8px; padding: 9px 20px; border: 0; background: transparent; color: #5d6774; font: inherit; cursor: pointer; }
body.download-auth-lock { position: fixed; top: var(--download-auth-scroll-top); width: 100%; overflow: hidden; }
.download-auth-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.download-resume { margin: 0 0 20px; padding: 16px 20px; border: 1px solid #e0d4d3; border-radius: 4px; background: #fff8f7; color: #4b4544; }
.download-resume p { margin: 0 0 10px; }
.download-resume button { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 4px; background: #c92d25; color: #fff; font: inherit; cursor: pointer; }
.download-resume a { margin-left: 16px; color: #6a4b49; }
.download-auth-account-switch { min-height: 44px; margin: 3px 0 0; padding: 8px 0; border: 0; background: transparent; color: #666f7b; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.download-auth-account-switch:focus-visible { outline: 3px solid #84b9e8; outline-offset: 3px; }
.download-auth-account-switch:disabled { opacity: .6; cursor: wait; }
.download-auth-account-status { margin: 4px 0 12px; color: #646d78; font-size: 13px; }
.download-auth-account-status.is-error { color: #b52520; }
@media (max-width: 480px) {
	.download-auth-dialog { padding: 22px 20px; }
	.download-auth-dialog h2 { font-size: 21px; }
	.download-auth-send { flex-basis: 110px; }
	.download-auth-close { margin-top: -10px; margin-right: -10px; }
	.download-resume { padding: 14px; }
}
