:root {
	--adf-bg: #fafafa;
	--adf-text: #111827;
	--adf-muted: #6b7280;
	--adf-line: #e5e7eb;
	--adf-accent: #2563eb;
	--adf-accent-hover: #1d4ed8;
	--adf-ok-bg: #eff6ff;
	--adf-err: #b91c1c;
	--adf-radius: 16px;
	--adf-shadow: 0 12px 40px rgba(17, 24, 39, 0.06);
	--adf-shell-max: 1120px;
}

[hidden] {
	display: none !important;
}

.adf-app,
.adf-result-body {
	color: var(--adf-text);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.adf-result-body {
	margin: 0;
	background: var(--adf-bg);
}

.adf-site-bar {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #fff;
	border-bottom: 1px solid var(--adf-line);
	box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.admin-bar .adf-site-bar {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .adf-site-bar {
		top: 46px;
	}
}

.adf-site-bar__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.adf-site-bar__brand {
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--adf-text);
	text-decoration: none;
	white-space: nowrap;
}

.adf-site-bar__brand:hover {
	color: var(--adf-accent);
}

.adf-site-bar__nav {
	flex: 1 1 auto;
	min-width: 0;
}

.adf-site-bar__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	align-items: center;
}

.adf-site-bar__menu a {
	color: var(--adf-muted);
	text-decoration: none;
	font-size: 0.9rem;
}

.adf-site-bar__menu a:hover,
.adf-site-bar__menu .current-menu-item > a {
	color: var(--adf-accent);
}

.adf-site-bar__home {
	margin-left: auto;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--adf-accent);
	text-decoration: none;
	white-space: nowrap;
}

.adf-site-bar__home:hover {
	color: var(--adf-accent-hover);
}

.adf-result-nav {
	margin: 28px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--adf-line);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	font-size: 0.95rem;
}

.adf-result-nav__sep {
	color: var(--adf-muted);
}

.adf-app {
	width: 100%;
	max-width: var(--adf-shell-max, 1120px);
	margin: 0 auto;
	padding: 24px 12px 56px;
	box-sizing: border-box;
}

.adf-app--result {
	padding-top: 32px;
}

.adf-form,
.adf-card {
	background: #fff;
	border: 1px solid var(--adf-line);
	border-radius: calc(var(--adf-radius) + 4px);
	box-shadow: var(--adf-shadow);
	padding: 36px 28px;
	width: 100%;
	box-sizing: border-box;
}

.adf-form__title,
.adf-card h1 {
	margin: 0 0 8px;
	font-size: 1.75rem;
	font-weight: 650;
	letter-spacing: -0.03em;
}

.adf-form__lead,
.adf-lead {
	margin: 0 0 28px;
	color: var(--adf-muted);
	line-height: 1.55;
}

.adf-drops {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 24px;
}

.adf-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 168px;
	padding: 20px;
	border: 1.5px dashed var(--adf-line);
	border-radius: var(--adf-radius);
	background: #fcfcfd;
	cursor: pointer;
	text-align: center;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.adf-drop:hover,
.adf-drop.is-dragover {
	border-color: var(--adf-accent);
	background: var(--adf-ok-bg);
}

.adf-drop.is-filled {
	border-style: solid;
	border-color: #bfdbfe;
	background: var(--adf-ok-bg);
}

.adf-drop input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.adf-drop__icon {
	color: var(--adf-accent);
}

.adf-drop__label {
	font-weight: 600;
}

.adf-drop__hint {
	font-size: 0.85rem;
	color: var(--adf-muted);
	word-break: break-all;
}

.adf-fields {
	display: grid;
	gap: 16px;
	margin-bottom: 24px;
}

.adf-field--full {
	grid-column: 1 / -1;
}

.adf-field__label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.9rem;
	font-weight: 600;
}

.adf-field__label em {
	font-style: normal;
	font-weight: 400;
	color: var(--adf-muted);
}

.adf-select,
.adf-textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--adf-line);
	border-radius: 10px;
	padding: 10px 12px;
	font: inherit;
	color: inherit;
	background: #fff;
}

.adf-textarea {
	resize: vertical;
	min-height: 88px;
}

.adf-submit {
	width: 100%;
	border: 0;
	border-radius: 12px;
	padding: 14px 18px;
	background: var(--adf-accent);
	color: #fff;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

.adf-submit:hover {
	background: var(--adf-accent-hover);
}

.adf-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.adf-progress {
	margin-top: 16px;
	margin-bottom: 8px;
}

.adf-progress__status {
	margin: 10px 0 0;
	font-size: 0.95rem;
	color: var(--adf-muted);
	min-height: 1.4em;
	transition: opacity 0.2s ease;
}

.adf-progress__bar {
	height: 6px;
	border-radius: 99px;
	background: var(--adf-line);
	overflow: hidden;
}

.adf-progress__fill {
	display: block;
	height: 100%;
	width: 0;
	background: var(--adf-accent);
	transition: width 0.2s ease;
}

.adf-error {
	color: var(--adf-err);
	margin: 0 0 16px;
}

.adf-module-error {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #991b1b;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.4;
}

.adf-pass-buy .adf-module-error {
	margin-top: 12px;
}

.adf-ref-box .adf-module-error {
	margin: 12px 0 0;
}

.adf-limit-notice {
	margin-top: 16px;
	margin-bottom: 16px;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid #fecaca;
	background: linear-gradient(180deg, #fff7f7 0%, #fef2f2 100%);
	box-shadow: 0 1px 0 rgba(185, 28, 28, 0.04);
}

.adf-limit-notice__title {
	margin: 0 0 8px;
	font-size: 0.98rem;
	font-weight: 700;
	color: #991b1b;
	line-height: 1.35;
}

.adf-limit-notice__hint {
	margin: 0 0 14px;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #7f1d1d;
}

.adf-limit-notice__btn {
	width: auto;
	min-width: 180px;
}

.adf-kicker {
	margin: 0 0 8px;
	color: var(--adf-accent);
	font-size: 0.8rem;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.adf-meta {
	display: grid;
	gap: 14px;
	margin: 28px 0 0;
}

.adf-meta dt {
	margin: 0;
	color: var(--adf-muted);
	font-size: 0.8rem;
}

.adf-meta dd {
	margin: 4px 0 0;
}

.adf-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 0.85rem;
}

.adf-link {
	color: var(--adf-accent);
}

.adf-excel-preview {
	margin: 8px 0 24px;
	border: 1px solid #c5c5c5;
	border-radius: 8px;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
}

.adf-excel-chrome {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #217346;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
}

.adf-excel-dot {
	width: 10px;
	height: 10px;
	border-radius: 99px;
	background: #fff;
	opacity: 0.85;
}

.adf-excel-shot {
	position: relative;
	background: #fff;
	overflow: hidden;
}

.adf-preview-img {
	display: block;
	width: 100%;
	min-height: 220px;
	height: auto;
	pointer-events: none;
	-webkit-user-drag: none;
	background: #fff;
}

.adf-excel-guard {
	position: absolute;
	inset: 0;
	z-index: 2;
	cursor: default;
}

.adf-table-scroll {
	overflow-x: auto;
	margin: 8px 0 12px;
	border: 1px solid var(--adf-line);
	border-radius: 12px;
}

.adf-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.adf-table th,
.adf-table td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--adf-line);
	text-align: left;
	white-space: nowrap;
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.adf-table th {
	background: #f8fafc;
	font-weight: 650;
}

.adf-cell--high {
	background: #dcfce7;
}

.adf-cell--mid {
	background: #fef9c3;
}

.adf-cell--low {
	background: #fee2e2;
}

.adf-legend {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	color: var(--adf-muted);
	font-size: 0.85rem;
}

.adf-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 99px;
	margin-right: 4px;
}

.adf-dot--high { background: #16a34a; }
.adf-dot--mid { background: #ca8a04; }
.adf-dot--low { background: #dc2626; }

.adf-pay {
	display: grid;
	gap: 10px;
	margin-top: 28px;
}

.adf-submit--ghost {
	background: #fff;
	color: var(--adf-accent);
	border: 1px solid #bfdbfe;
}

.adf-submit--ghost:hover {
	background: var(--adf-ok-bg);
}

.adf-submit--link {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

.adf-qr-box {
	margin-top: 28px;
	text-align: center;
	counter-reset: adf-qr-step;
}

.adf-qr-title {
	font-weight: 650;
	margin: 0 0 12px;
}

.adf-qr-steps {
	margin: 0 auto 16px;
	padding: 0;
	list-style: none;
	max-width: 320px;
	width: 100%;
	text-align: left;
	color: var(--adf-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.adf-qr-steps li {
	position: relative;
	padding: 4px 0 4px 28px;
}

.adf-qr-steps li::before {
	content: counter(adf-qr-step);
	counter-increment: adf-qr-step;
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #2563eb;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.adf-qr-frame {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0 auto 8px;
}

.adf-qr-img {
	display: block;
	width: 280px;
	max-width: min(280px, 80vw);
	height: auto;
	margin: 0 auto;
	border-radius: 16px;
	border: 1px solid var(--adf-line);
	background: #fff;
	padding: 12px;
	box-sizing: border-box;
}

.adf-pay-amount {
	margin: 0 0 12px;
	font-size: 1.15rem;
	font-weight: 650;
}

.adf-qr-wait {
	margin: 8px 0 12px;
	color: var(--adf-muted);
	font-size: 0.95rem;
}

.adf-pay-flash {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 0.95rem;
}

.adf-pay-flash--ok {
	background: #ecfdf3;
	color: #166534;
}

.adf-pay-flash--err {
	background: #fef2f2;
	color: #991b1b;
}

.adf-qr-box .adf-submit {
	margin-top: 8px;
}

#adf-pay-link-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 12px 0 4px;
}

#adf-pay-link-wrap[hidden] {
	display: none !important;
}

.adf-link--btn {
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	color: var(--adf-accent, #2563eb);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.adf-link--btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

.adf-captcha {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid var(--adf-line);
	border-radius: 14px;
	background: #fafafa;
}

.adf-captcha__label {
	margin: 0 0 10px;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--adf-muted);
}

.adf-price-old {
	display: inline-block;
	margin-right: 10px;
	color: var(--adf-muted);
	text-decoration: line-through;
	font-weight: 500;
	font-size: 0.95rem;
}

.adf-promo-row,
.adf-pass-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 4px;
	align-items: stretch;
}

.adf-promo-row .adf-select,
.adf-pass-row .adf-select {
	flex: 1 1 180px;
	min-width: 0;
	max-width: none;
}

.adf-pass-box {
	margin: 0 0 20px;
	padding: 0;
	border: 1px solid #c7d7f5;
	border-radius: 16px;
	background: linear-gradient(180deg, #f5f8ff 0%, #eef3fc 100%);
	box-shadow: 0 1px 0 rgba(37, 99, 235, 0.06);
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.adf-pass-spoiler {
	margin: 0;
}

.adf-pass-spoiler__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.adf-pass-spoiler__summary::-webkit-details-marker {
	display: none;
}

.adf-pass-spoiler__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

.adf-pass-spoiler__summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid #64748b;
	border-bottom: 2px solid #64748b;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	flex: 0 0 auto;
	margin-top: -2px;
}

.adf-pass-spoiler[open] > .adf-pass-spoiler__summary::after {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.adf-pass-spoiler__title {
	display: block;
	font-size: 1.02rem;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}

.adf-pass-spoiler__hint {
	display: none;
}

@media (min-width: 480px) {
	.adf-pass-spoiler__hint {
		display: inline;
		font-size: 0.8rem;
		color: #64748b;
		font-weight: 500;
		flex: 0 0 auto;
	}

	.adf-pass-spoiler[open] .adf-pass-spoiler__hint {
		display: none;
	}
}

.adf-pass-box__inner {
	padding: 0 18px 18px;
	border-top: 1px solid #dbe6f8;
}

.adf-pass-box__head {
	padding: 16px 18px 12px;
	border-bottom: 1px solid #dbe6f8;
}

.adf-pass-box__badge {
	display: inline-block;
	margin: 0;
	padding: 3px 9px;
	border-radius: 999px;
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.adf-pass-box__title {
	margin: 0 0 6px;
	font-size: 1.02rem;
	font-weight: 700;
	color: #1e293b;
}

.adf-pass-box__lead {
	margin: 12px 0 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #64748b;
}

.adf-pass-panel {
	padding: 12px 0 0;
}

.adf-pass-label {
	display: block;
	margin: 0 0 8px;
	font-size: 0.88rem;
	font-weight: 600;
	color: #334155;
}

.adf-pass-status {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 0.95rem;
	color: #166534;
	background: #ecfdf3;
	border: 1px solid #bbf7d0;
}

.adf-pass-low {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fffbeb;
	color: #92400e;
	font-size: 0.9rem;
}

.adf-pass-buy {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px dashed #c7d7f5;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
}

.adf-pass-buy__field {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.adf-btn-pass {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	min-height: 46px;
	padding: 10px 16px;
	border-radius: 12px;
	border: 1px solid #93c5fd;
	background: #fff;
	color: #1d4ed8;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
	box-sizing: border-box;
	white-space: nowrap;
}

.adf-btn-pass:hover {
	background: #eff6ff;
}

.adf-btn-pass:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.adf-btn-pass--primary {
	width: 100%;
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}

.adf-btn-pass--primary:hover {
	background: #1d4ed8;
}

.adf-widget {
	width: 100%;
	max-width: var(--adf-shell-max, 1120px);
	margin: 0 auto 24px;
	padding: 0 12px;
	box-sizing: border-box;
}

.adf-widget .adf-widget-error {
	margin: 0 0 12px;
}

.adf-ref-box {
	position: relative;
	margin: 0 0 20px;
	padding: 0;
	border-radius: 16px;
	border: 1px solid #fecaca;
	background: linear-gradient(165deg, #fff8f8 0%, #fff1f2 55%, #ffe4e6 100%);
	overflow: hidden;
	box-sizing: border-box;
	max-width: 100%;
}

.adf-ref-box *,
.adf-ref-box *::before,
.adf-ref-box *::after {
	box-sizing: border-box;
}

.adf-ref-spoiler {
	margin: 0;
}

.adf-ref-spoiler__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.adf-ref-spoiler__summary::-webkit-details-marker {
	display: none;
}

.adf-ref-spoiler__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

.adf-ref-spoiler__summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid #64748b;
	border-bottom: 2px solid #64748b;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	flex: 0 0 auto;
	margin-top: -2px;
}

.adf-ref-spoiler[open] > .adf-ref-spoiler__summary::after {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.adf-ref-spoiler__title {
	display: block;
	font-size: 1.02rem;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}

.adf-ref-spoiler__hint {
	display: none;
}

@media (min-width: 480px) {
	.adf-ref-spoiler__hint {
		display: inline;
		font-size: 0.8rem;
		color: #64748b;
		font-weight: 500;
		flex: 0 0 auto;
	}

	.adf-ref-spoiler[open] .adf-ref-spoiler__hint {
		display: none;
	}
}

.adf-ref-box__inner {
	position: relative;
	padding: 0 18px 18px;
	border-top: 1px solid #fecaca;
}

.adf-ref-box__glow {
	position: absolute;
	right: -40px;
	top: -40px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(239, 68, 68, 0.18), transparent 70%);
	pointer-events: none;
}

.adf-ref-box__badge {
	display: inline-block;
	margin: 0;
	padding: 3px 9px;
	border-radius: 999px;
	background: #fee2e2;
	color: #b91c1c;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.adf-ref-box__title {
	position: relative;
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 750;
	color: #1e293b;
	line-height: 1.3;
}

.adf-ref-box__lead {
	position: relative;
	margin: 12px 0 12px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #64748b;
}

.adf-ref-box__reward {
	position: relative;
	margin: 0 0 14px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #334155;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.adf-ref-box__pct {
	display: inline-block;
	margin: 0;
	padding: 6px 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #fecaca;
	color: #dc2626;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.adf-ref-box__docs {
	color: #64748b;
	font-weight: 600;
	font-size: 0.95rem;
}

.adf-ref-box__form,
.adf-ref-box__row {
	position: relative;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
}

.adf-ref-box__email,
.adf-ref-box__row .adf-select {
	flex: 1 1 160px;
	min-width: 0;
	max-width: 100%;
}

.adf-ref-box__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 46px;
	min-width: 0;
	max-width: 100%;
	padding: 10px 16px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(220, 38, 38, 0.22);
	white-space: normal;
	text-align: center;
	line-height: 1.25;
}

.adf-ref-box__btn:hover {
	background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.adf-ref-box__btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.adf-ref-box__result {
	position: relative;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #fecaca;
}

.adf-ref-box__note {
	margin: 10px 0 0;
	font-size: 0.85rem;
	color: #166534;
}

@media (max-width: 520px) {
	.adf-pass-row {
		flex-direction: column;
	}

	.adf-pass-row .adf-btn-pass {
		width: 100%;
	}

	.adf-ref-box__form,
	.adf-ref-box__row {
		flex-direction: column;
	}

	.adf-ref-box__email,
	.adf-ref-box__row .adf-select,
	.adf-ref-box__btn {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
	}

	.adf-ref-spoiler__summary {
		padding: 14px 14px;
		gap: 8px;
	}

	.adf-ref-box__inner {
		padding: 0 14px 16px;
	}

	.adf-pass-spoiler__summary {
		padding: 14px 14px;
	}

	.adf-pass-box__inner {
		padding: 0 14px 16px;
	}
}

.adf-captcha__label--quiet {
	font-weight: 500;
	color: var(--adf-muted);
}

.adf-captcha-math {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.adf-captcha-math__q {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.adf-captcha-math__input {
	width: 5.5rem;
	text-align: center;
}

.adf-captcha-widget {
	min-height: 78px;
	display: flex;
	justify-content: flex-start;
}

.adf-download-box {
	margin-top: 24px;
}

.adf-mail-row {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.adf-mail-row .adf-select {
	flex: 1 1 180px;
	min-width: 0;
}

.adf-overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(17, 24, 39, 0.45);
	backdrop-filter: blur(6px);
}

.adf-overlay[hidden] {
	display: none;
}

.adf-overlay__card {
	width: min(440px, 100%);
	padding: 32px 28px 28px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
	text-align: center;
}

.adf-overlay__mark {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--adf-ok-bg);
	position: relative;
}

.adf-overlay__mark::after {
	content: "";
	position: absolute;
	inset: 16px;
	border-radius: 50%;
	border: 3px solid var(--adf-accent);
	border-top-color: transparent;
	animation: adf-spin 0.8s linear infinite;
}

.adf-overlay.is-done .adf-overlay__mark {
	background: #ecfdf3;
}

.adf-overlay.is-done .adf-overlay__mark::after {
	inset: 18px 16px 16px 20px;
	border: none;
	border-right: 3px solid #15803d;
	border-bottom: 3px solid #15803d;
	border-radius: 0;
	transform: rotate(40deg);
	animation: none;
}

.adf-overlay__card h2 {
	margin: 0 0 8px;
	font-size: 1.35rem;
	letter-spacing: -0.03em;
}

.adf-overlay__card p {
	margin: 0;
	color: var(--adf-muted);
	line-height: 1.5;
}

.adf-overlay__track {
	height: 8px;
	margin: 22px 0 10px;
	border-radius: 99px;
	background: #eef2ff;
	overflow: hidden;
}

.adf-overlay__track span {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #60a5fa, var(--adf-accent));
	transition: width 0.45s ease;
}

.adf-overlay__step {
	min-height: 1.4em;
	font-size: 0.92rem;
}

.adf-overlay.is-done .adf-overlay__track {
	display: none;
}

@keyframes adf-spin {
	to { transform: rotate(360deg); }
}

.adf-muted {
	color: var(--adf-muted);
	font-size: 0.9rem;
}

.adf-link-btn {
	border: 0;
	background: none;
	color: var(--adf-accent);
	padding: 0;
	font: inherit;
	cursor: pointer;
	margin-bottom: 12px;
}

.adf-progress__fill--indeterminate {
	width: 40% !important;
	animation: adf-slide 1.1s ease-in-out infinite;
}

@keyframes adf-slide {
	0% { transform: translateX(-120%); }
	100% { transform: translateX(280%); }
}

@media (max-width: 640px) {
	.adf-form,
	.adf-card {
		padding: 18px 12px;
		width: 100%;
		box-sizing: border-box;
	}

	.adf-drops {
		grid-template-columns: 1fr;
	}

	.adf-app {
		width: 100%;
		max-width: 100%;
		padding: 12px 8px 36px;
	}

	.adf-widget {
		padding: 0 8px;
		max-width: 100%;
	}

	.adf-form__title,
	.adf-card h1 {
		font-size: 1.4rem;
	}
}
