.del {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 40px 70px;
	align-items: start;
	padding-top: 80px;
}
.del-intro { position: sticky; top: 120px; }
.del-intro h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.del-intro p { margin-top: 22px; font-size: 17px; max-width: 440px; }
.del-intro .del-alt { font-size: 15px; color: var(--muted); }

.del-card {
	background: var(--card);
	border-radius: 36px;
	box-shadow: var(--shadow);
	padding: 40px 44px 44px;
	min-height: 420px;
}

.progress { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.progress li { font-size: 13px; font-weight: 700; color: var(--muted); }
.progress li::before {
	content: '';
	display: block;
	height: 8px;
	border-radius: 8px;
	background: var(--violet-soft);
	margin-bottom: 8px;
	transition: background 0.3s;
}
.progress li.active { color: var(--violet); }
.progress li.active::before { background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }

.step h2 { font-size: 26px; font-weight: 800; margin-bottom: 22px; }
.hint { margin: -8px 0 20px; }
.hint b { color: var(--ink); }

.field { display: grid; gap: 8px; margin-bottom: 22px; flex: 1; min-width: 0; }
.field span { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input {
	width: 100%;
	height: 58px;
	padding: 0 20px;
	border: 1.5px solid var(--line);
	border-radius: 18px;
	background: var(--bg);
	color: var(--ink);
	font-size: 18px;
	font-weight: 600;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(112, 53, 221, 0.15); background: #fff; }

.btn-block { width: 100%; }
.btn-danger {
	color: #fff;
	background: linear-gradient(135deg, #e0389c, var(--magenta));
	box-shadow: 0 14px 30px -12px rgba(215, 24, 207, 0.6);
}

.code-row { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 22px; }
.code-row .field { margin-bottom: 0; }
.count-btn {
	flex: none;
	height: 58px;
	min-width: 116px;
	padding: 0 18px;
	border: 0;
	border-radius: 18px;
	background: var(--violet-soft);
	color: var(--violet);
	font-weight: 700;
	cursor: pointer;
}
.count-btn.disabled { opacity: 0.6; pointer-events: none; }

.notice { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.notice li {
	position: relative;
	padding: 14px 16px 14px 46px;
	border-radius: 16px;
	background: var(--bg);
	color: var(--ink);
	font-weight: 500;
}
.notice li::before {
	content: '!';
	position: absolute;
	left: 14px;
	top: 14px;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--gold);
	color: #6b4300;
	font-weight: 800;
	font-size: 13px;
}

.done { text-align: center; padding-top: 20px; }
.done img { width: 120px; margin: 0 auto 20px; }
.done p { margin: 0 auto 26px; max-width: 400px; }

/* 弹窗与加载 */
.dlg, .loading { position: fixed; inset: 0; display: none; z-index: 100; align-items: center; justify-content: center; }
.dlg.is-show, .loading.is-show { display: flex; }
.dlg { background: rgba(27, 15, 92, 0.45); padding: 16px; flex-direction: column; }
.dlg-box {
	position: relative;
	width: min(360px, 100%);
	padding: 32px 26px 28px;
	border-radius: 28px;
	background: #fff;
	text-align: center;
	color: var(--ink);
	font-weight: 600;
	box-shadow: var(--shadow);
}
.dlg-icon { width: 64px; margin: 0 auto 14px; }
.dlg-close { position: absolute; right: 14px; top: 14px; width: 28px; height: 28px; cursor: pointer; }
.loading { background: rgba(255, 255, 255, 0.5); }
.loading i {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 5px solid var(--violet-soft);
	border-top-color: var(--violet);
	animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
	.del { grid-template-columns: 1fr; padding-top: 44px; }
	.del-intro { position: static; }
	.del-card { padding: 30px 20px 32px; border-radius: 28px; }
	.count-btn { min-width: 96px; }
}
