body.vldm-has-download-page #header {
	background: #071426;
	border: 0;
	box-shadow: none;
}

body.vldm-has-download-page #header [data-row] {
	background: linear-gradient(90deg, #071426 0%, #0b1d36 50%, #102a50 100%);
	border: 0;
	box-shadow: none;
	margin-bottom: 0;
}

body.vldm-has-download-page #header .ct-container {
	border-bottom: 0;
	box-shadow: none;
	margin-bottom: 0;
}

body.vldm-has-download-page #header .menu > li > a {
	color: #dce7f5;
}

body.vldm-has-download-page #header .menu > li.current-menu-item > a,
body.vldm-has-download-page #header .menu > li.current-menu-ancestor > a,
body.vldm-has-download-page #header .menu > li.current_page_item > a {
	color: #63a4ff;
}

body.vldm-has-download-page #header .ct-header-trigger {
	--theme-icon-color: #dce7f5;
	--theme-link-initial-color: #dce7f5;
	--theme-link-hover-color: #ffffff;
	color: #dce7f5;
}

@media (hover: hover) {
	body.vldm-has-download-page #header .menu > li > a:hover {
		color: #ffffff;
	}
}

.vldm-language-row {
	display: flex;
	justify-content: flex-end;
	margin: 18px 0 0;
	max-width: 100%;
}

.vldm-language-switch {
	align-items: center;
	background: #071426;
	border: 1px solid #60a5fa;
	border-radius: 999px;
	color: #dbeafe;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 7px;
	letter-spacing: 0.06em;
	padding: 5px 9px;
}

.vldm-language-switch button {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: #bfdbfe;
	cursor: pointer;
	font: inherit;
	line-height: 1;
	padding: 7px 9px;
}

.vldm-language-switch button[aria-pressed="true"] {
	background: #e0f2fe;
	color: #082f49;
}

.vldm-language-switch button:focus-visible {
	outline: 3px solid #2563eb;
	outline-offset: 2px;
}

.vldm-instance {
	color: #334155;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	margin: 24px 0;
	max-width: 100%;
	padding: clamp(20px, 4vw, 36px);
}

.vldm-instance[hidden],
.vldm-instance [hidden] {
	display: none !important;
}

.vldm-title,
.vldm-method-title {
	color: #0f172a;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 16px;
}

.vldm-title {
	font-size: clamp(24px, 4vw, 32px);
}

.vldm-method-title {
	font-size: 21px;
}

.vldm-critical-notice {
	background: #f8fafc;
	border: 2px solid #0f172a;
	border-radius: 8px;
	color: #0f172a;
	margin: 0 0 24px;
	padding: 16px;
}

.vldm-critical-label {
	display: block;
	margin-bottom: 4px;
}

.vldm-referral-panel {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	display: grid;
	gap: 12px;
	margin: 0 0 24px;
	min-width: 0;
	padding: 18px;
}

.vldm-referral-needs-attention {
	border-color: #0f172a;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

.vldm-referral-label {
	color: #0f172a;
	font-weight: 700;
}

.vldm-referral-code {
	-webkit-user-select: all;
	background: #ffffff;
	border: 2px solid #2563eb;
	border-radius: 8px;
	box-sizing: border-box;
	color: #0f172a;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 18px;
	font-weight: 700;
	min-height: 48px;
	min-width: 0;
	overflow: auto;
	padding: 10px 12px;
	user-select: all;
	width: 100%;
}

.vldm-help,
.vldm-introduction,
.vldm-method-description,
.vldm-acknowledgement-hint,
.vldm-method-unavailable,
.vldm-fallback-message,
.vldm-continue-reminder {
	margin: 0;
}

.vldm-introduction {
	font-weight: 600;
	margin-bottom: 18px;
}

.vldm-acknowledgement {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	margin: 0 0 24px;
	padding: 16px;
}

.vldm-checkbox {
	-webkit-tap-highlight-color: transparent;
	height: 24px;
	margin: 3px 0 0;
	touch-action: manipulation;
	width: 24px;
}

.vldm-acknowledgement label {
	color: #0f172a;
	cursor: pointer;
	font-weight: 600;
}

.vldm-acknowledgement-hint {
	color: #334155;
	grid-column: 2;
	margin-top: 8px;
}

.vldm-method-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vldm-method-card {
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 20px;
}

.vldm-method-description {
	flex-grow: 1;
	margin-bottom: 18px;
}

.vldm-button {
	-webkit-tap-highlight-color: transparent;
	align-items: center;
	appearance: none;
	border: 2px solid transparent;
	border-radius: 12px;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.3;
	min-height: 54px;
	padding: 11px 18px;
	text-align: center;
	text-decoration: none;
	touch-action: manipulation;
	transform: scale(1);
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, opacity 180ms ease, transform 100ms ease;
}

.vldm-button-primary {
	background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
	box-shadow: 0 5px 14px rgba(37, 99, 235, 0.18);
	color: #ffffff;
}

.vldm-button-primary:hover:not(:disabled) {
	background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.24);
}

.vldm-button-secondary {
	background: #ffffff;
	border-color: #2563eb;
	color: #1d4ed8;
}

.vldm-button-secondary:hover:not(:disabled) {
	background: #eff6ff;
}

.vldm-button:disabled,
.vldm-button[aria-disabled="true"] {
	background: #e2e8f0;
	border-color: #cbd5e1;
	box-shadow: none;
	color: #64748b;
	cursor: not-allowed;
	opacity: 1;
}

.vldm-button:active:not(:disabled) {
	transform: scale(0.985);
}

.vldm-button-primary.vldm-button-copying:disabled,
.vldm-button-primary.vldm-button-copying[aria-disabled="true"] {
	background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
	border-color: transparent;
	box-shadow: 0 5px 14px rgba(37, 99, 235, 0.18);
	color: #ffffff;
}

.vldm-button.vldm-button-copy-success:disabled,
.vldm-button.vldm-button-copy-success[aria-disabled="true"] {
	background: #16a34a;
	border-color: #16a34a;
	box-shadow: 0 5px 14px rgba(22, 163, 74, 0.18);
	color: #ffffff;
}

.vldm-button:focus-visible,
.vldm-checkbox:focus-visible,
.vldm-referral-code:focus-visible {
	outline: 3px solid #0f172a;
	outline-offset: 3px;
}

.vldm-status {
	border: 1px solid transparent;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
	box-sizing: border-box;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0;
	max-width: min(420px, calc(100vw - 48px));
	opacity: 0;
	padding: 12px 16px;
	pointer-events: none;
	position: fixed;
	right: 24px;
	bottom: 24px;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	visibility: hidden;
	z-index: 20;
}

.vldm-status-visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.vldm-status-success {
	background: #f0fdf4;
	border-color: #86efac;
	color: #14532d;
}

.vldm-status-error {
	background: #fff7ed;
	border-color: #fdba74;
	color: #7c2d12;
}

.vldm-fallback {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	margin-top: 16px;
	padding: 18px;
}

.vldm-fallback-message,
.vldm-fallback .vldm-button,
.vldm-fallback .vldm-help,
.vldm-continue-reminder {
	margin-bottom: 14px;
}

.vldm-continue-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.vldm-unavailable {
	background: #f8fafc;
	border: 2px solid #334155;
	border-radius: 8px;
	color: #0f172a;
	font-weight: 700;
	margin: 20px 0;
	padding: 16px;
}

.vldm-method-unavailable {
	font-weight: 600;
	margin-top: 10px;
}

.vldm-standalone .vldm-method-card {
	margin-top: 20px;
}

@media (max-width: 767px) {
	.vldm-method-grid {
		gap: 16px;
		grid-template-columns: minmax(0, 1fr);
	}

	.vldm-method-card {
		border-radius: 16px;
		box-shadow: 0 5px 16px rgba(15, 23, 42, 0.06);
		padding: 20px;
	}

	.vldm-button,
	.vldm-continue-actions .vldm-button {
		width: 100%;
	}

	.vldm-status {
		bottom: var(--vldm-toast-bottom, calc(16px + env(safe-area-inset-bottom, 0px)));
		left: 16px;
		max-width: none;
		right: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vldm-button,
	.vldm-status {
		transition: none;
	}
}
