

/* ── DESIGN TOKENS ── */
:root {
	--red: #CC0000;
	--red-dark: #9E0000;
	--white: #FFFFFF;
	--off-white: #F6F6F6;
	--border: #E2E2E2;
	--text: #111111;
	--muted: #6B6B6B;
	--light: #A0A0A0;
	--success: #1A7F37;
	--success-bg: #1a7f37;
	--success-bd: #AEDDB8;
	--dark: #111111;
	--r: 10px;
	--r-sm: 6px;
}

/* ── RESET ── */
*,
*::before,
*::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--white);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

/* ── MAIN LAYOUT ── */
main {
	max-width: 700px;
	margin: 0 auto;
	padding: 52px 24px 80px;
}

/* ── HERO ── */
.hero {
	margin-bottom: 40px;
}

.hero h1 {
	font-size: clamp(1.6rem, 4.5vw, 2.2rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 14px;
}

.hero p {
	font-size: 0.975rem;
	color: var(--muted);
	max-width: 520px;
	line-height: 1.65;
}

/* ── VIDEO AREA ── */
.video-block {
	margin-bottom: 44px;
}

.video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #1a1a1a;
	border-radius: var(--r);
	overflow: hidden;
	border: 2px solid whitesmoke;
}

.video-frame video {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	display: block;
}

.video-overlay {
	position: absolute;
	inset: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.38);
	font-size: 0.8rem;
	pointer-events: none;
	background-color: white;
}

.video-overlay svg {
	opacity: 0.35;
}

/* ── CARDS ── */
.card {
	border: 1px solid var(--border);
	border-radius: var(--r);
	padding: 24px 22px 28px 22px;
	margin-bottom: 12px;
	background: var(--white);
	position: relative;
	overflow: hidden;
}

.card:after {
	content: "";
	width: var(--card-width-loader);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--red);
	-webkit-transition: width 0.2s;
	transition: width 0.2s;
}

.card-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.card-desc {
	font-size: 0.875rem;
	color: var(--muted);
	margin-bottom: 20px;
	line-height: 1.6;
}

/* ── EMAIL BOX ── */
.email-reveal {
	display: none;
	margin-top: 14px;
}

.email-reveal.on {
	display: block;
}

.email-strip {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
	background: var(--off-white);
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	padding: 11px 14px;
	margin-bottom: 6px;
	cursor: pointer;
}

.email-addr {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.88rem;
	color: var(--text);
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	word-break: break-all;
}

.btn-inline-copy {
	background: none;
	border: 1px solid var(--border);
	border-radius: 4px;
	padding: 5px 10px;
	font-size: 0.72rem;
	font-weight: 600;
	cursor: pointer;
	color: var(--muted);
	white-space: nowrap;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	-webkit-transition: background 0.12s, color 0.12s;
	transition: background 0.12s, color 0.12s;
	font-family: inherit;
	min-width: 75px;
}

.btn-inline-copy:hover, .btn-inline-copy.copied {
	background: var(--border);
	color: var(--text);
}

/* ── BUTTONS ── */
.btn {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: var(--r-sm);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	-webkit-transition: background 0.15s, opacity 0.15s;
	transition: background 0.15s, opacity 0.15s;
	border: none;
	text-decoration: none;
	width: 100%;
	font-family: inherit;
}

.btn-red {
	background: var(--red);
	color: #fff;
}

.btn-red:hover {
	background: var(--red-dark);
}

.btn-ghost {
	background: var(--off-white);
	color: var(--text);
	border: 1px solid var(--border);
}

.btn-ghost:hover {
	background: var(--border);
}

.btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.btn svg {
	width: 16px;
	height: 16px;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

/* ── SPINNER ── */
@-webkit-keyframes spin {
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes spin {
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.spinner {
	display: inline-block;
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	-webkit-animation: spin 0.8s linear infinite;
	animation: spin 0.8s linear infinite;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

.spinner-dark {
	border-color: var(--border);
	border-top-color: var(--red);
}

/* ── LOADER AREA ── */
.loader-block {
	display: none;
	text-align: center;
	padding: 20px 0 4px;
}

.loader-block.on {
	display: block;
}

.loader-ring-lg {
	display: inline-block;
	width: 36px;
	height: 36px;
	border: 3px solid var(--border);
	border-top-color: var(--red);
	border-radius: 50%;
	-webkit-animation: spin 0.85s linear infinite;
	animation: spin 0.85s linear infinite;
	margin-bottom: 14px;
}

.loader-msg {
	font-size: 0.875rem;
	color: var(--muted);
	min-height: 1.4em;
	-webkit-transition: opacity 0.25s;
	transition: opacity 0.25s;
}

/* ── PRIVACY NOTE ── */
.privacy-note {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	gap: 9px;
	font-size: 0.8rem;
	color: var(--muted);
	background: var(--off-white);
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	padding: 12px 14px;
	margin-top: 112px;
	line-height: 1.55;
}

.privacy-note svg {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--light);
}

/* ── AUTHOR ── */
.author-wrap {
	border-top: 1px solid var(--border);
	margin-top: 56px;
	padding-top: 44px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 22px;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
}

.author-photo {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	-o-object-fit: cover;
	object-fit: cover;
	border: 1.5px solid var(--border);
	-ms-flex-negative: 0;
	flex-shrink: 0;
	background-image: url('/assets/img/profile.webp?v=1');
	background-size: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	font-size: 1.8rem;
}

.author-photo img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	-o-object-fit: cover;
	object-fit: cover;
}

.author-badge {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 5px;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--red);
	margin-bottom: 7px;
}

.author-name {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.author-bio {
	font-size: 0.855rem;
	color: var(--muted);
	line-height: 1.65;
	margin-bottom: 14px;
}

.author-links {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 7px;
}

.author-link {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border: 1px solid var(--border);
	border-radius: 100px;
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	-webkit-transition: background 0.12s;
	transition: background 0.12s;
}

.author-link:hover {
	background: var(--off-white);
}

.author-link svg {
	width: 12px;
	height: 12px;
}

/* ── FOOTER ── */
footer {
	background: var(--dark);
	color: rgba(255, 255, 255, 0.38);
	text-align: center;
	padding: 28px 20px;
	font-size: 0.78rem;
	line-height: 1.8;
}

footer a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	margin: 0 10px;
}

footer a:hover {
	color: #fff;
}

/* ── MODAL ── */
.overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.46);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	z-index: 100;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity 0.18s ease;
	transition: opacity 0.18s ease;
}

.overlay.open {
	opacity: 1;
	pointer-events: all;
}

.modal {
	background: var(--white);
	border-radius: var(--r);
	padding: 28px 24px;
	width: 100%;
	max-width: 440px;
	-webkit-box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	-webkit-transform: translateY(10px);
	-ms-transform: translateY(10px);
	transform: translateY(10px);
	-webkit-transition: -webkit-transform 0.18s ease;
	transition: -webkit-transform 0.18s ease;
	transition: transform 0.18s ease;
	transition: transform 0.18s ease, -webkit-transform 0.18s ease;
	max-height: 88vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: auto;
	-ms-scroll-chaining: none;
	overscroll-behavior: none;
}

.modal-wide {
	max-width: 560px;
}

.overlay.open .modal {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

.modal-head {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.modal-title {
	font-size: 1.05rem;
	font-weight: 700;
}

.modal-close {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--light);
	padding: 2px;
	border-radius: 4px;
	line-height: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	-webkit-transition: color 0.12s;
	transition: color 0.12s;
}

.modal-close:hover {
	color: var(--text);
}

.modal-sub {
	font-size: 0.875rem;
	color: var(--muted);
	margin-bottom: 20px;
	line-height: 1.6;
}

/* captcha centering */
.captcha-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	min-height: 68px;
	padding: 4px 0;
}

/* found result */
.found-icon-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
}

.check-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--success-bg);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

.id-box {
	background: var(--off-white);
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	padding: 18px 16px;
	text-align: center;
	margin: 16px 0;
}

.id-box-label {
	font-size: 0.72rem;
	color: var(--light);
	margin-bottom: 8px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.id-box-value {
	font-family: 'JetBrains Mono', monospace;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--text);
	word-break: break-all;
	margin-bottom: 12px;
}

.tip-note {
	background: #FFFBEE;
	border: 1px solid #E8D76A;
	border-radius: var(--r-sm);
	padding: 13px 14px;
	font-size: 0.835rem;
	color: #4A3800;
	line-height: 1.6;
}

.tip-note a {
	color: var(--red);
}

/* not-found modal */
#ov-notfound>.modal {
	padding: 0 !important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	gap: 10px;
}

#ov-notfound .modal-head {
	padding: 30px 20px 0 20px;
}

#ov-notfound .modal-sub {
	padding: 0 20px;
}

.method-card {
	border-top: 2px solid var(--border);
	padding: 25px 20px;
	margin-bottom: 30px;
}

.method-card:last-child {
	margin-bottom: 0;
}

.method-title {
	font-size: 0.88rem;
	font-weight: 700;
	margin-bottom: 8px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 6px;
}

.method-body {
	font-size: 0.8rem;
	color: var(--muted);
	line-height: 1.7;
}

.method-body a {
	color: var(--red);
	text-decoration: underline;
}

.method-body ol {
	padding-left: 16px;
	margin-top: 6px;
}

.method-body ol li {
	margin-bottom: 5px;
}

.method-body code {
	background: var(--off-white);
	border: 1px solid var(--border);
	border-radius: 3px;
	padding: 1px 5px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.85em;
}

.method-image {
	width: 100%;
	border-radius: var(--r-sm);
	overflow: hidden;
	margin-top: 12px;
	border: 0;
	background: #1a1a1a;
}

.method-image img {
	width: 100%;
	display: block;
	-o-object-fit: cover;
	object-fit: cover;
}

/* ── ACCESSIBILITY / MOTION ── */
@media (prefers-reduced-motion: reduce) {

	.spinner,
	.spinner-dark,
	.loader-ring-lg {
		-webkit-animation: none;
		animation: none;
	}
}

/* ── RESPONSIVE ── */
@media (max-width: 520px) {
	main {
		padding: 36px 16px 64px;
	}

	.author-wrap {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		gap: 16px;
	}

	.modal {
		padding: 22px 16px;
	}

	#ov-notfound.overlay {
		padding: 0;
	}

	#ov-notfound .modal-wide {
		border-radius: 0;
		min-height: 90vh;
		max-height: 90vh;
		min-height: 100dvh;
		max-height: 100dvh;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
		display: block !important;
	}

	#ov-notfound .modal-sub {
		margin-bottom: 50px;
	}
}