:root {
	--jjtm-accent: #d7ff00;
}

html.jjtm-auto-modal-open,
body.jjtm-auto-modal-open {
	overflow: hidden !important;
}

body.jjtm-auto-modal-open {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
}

.jjtm-auto-modal-trigger {
	cursor: pointer;
}

[data-tippy-root].jjtm-auto-tippy-hidden,
[data-tippy-root]:has(.vlt-timeline-tooltip) {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.jjtm-auto-modal[hidden] {
	display: none !important;
}

.jjtm-auto-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	padding: clamp(16px, 3vw, 42px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 220ms ease, visibility 220ms ease;
}

.jjtm-auto-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.jjtm-auto-modal__overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 15%, rgba(199, 255, 0, 0.11), transparent 34%),
		rgba(5, 7, 7, 0.76);
	-webkit-backdrop-filter: blur(18px) saturate(115%);
	backdrop-filter: blur(18px) saturate(115%);
}

.jjtm-auto-modal__dialog {
	position: relative;
	width: min(920px, 100%);
	max-height: min(82vh, 850px);
	overflow: auto;
	overscroll-behavior: contain;
	color: #f4f4ef;
	background:
		linear-gradient(145deg, rgba(31, 33, 31, 0.98), rgba(13, 15, 14, 0.98)),
		#111311;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 4px;
	box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
	padding: clamp(28px, 5vw, 66px);
	transform: translateY(24px) scale(0.985);
	opacity: 0;
	transition: transform 260ms cubic-bezier(.2, .75, .2, 1), opacity 220ms ease;
	outline: none;
}

.jjtm-auto-modal.is-open .jjtm-auto-modal__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.jjtm-auto-modal__dialog::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--jjtm-accent);
}

.jjtm-auto-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, 0.035);
	cursor: pointer;
	transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.jjtm-auto-modal__close:hover,
.jjtm-auto-modal__close:focus-visible {
	color: #111;
	background: var(--jjtm-accent);
	border-color: var(--jjtm-accent);
	transform: rotate(4deg);
	outline: none;
}

.jjtm-auto-modal__close svg {
	width: 22px;
	height: 22px;
}

.jjtm-auto-modal__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-right: 62px;
	margin-bottom: clamp(24px, 4vw, 44px);
}

.jjtm-auto-modal__year {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 15px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

.jjtm-auto-modal__brand {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(14px, 2vw, 24px);
	max-width: min(360px, 52%);
	max-height: 48px;
	opacity: 0.72;
	filter: grayscale(1) brightness(1.65);
}

.jjtm-auto-modal__brand img,
.jjtm-auto-modal__brand-logo {
	display: block;
	flex: 0 1 auto;
	width: auto;
	max-width: 158px;
	height: auto;
	max-height: 48px;
	object-fit: contain;
}

.jjtm-auto-modal__header {
	position: relative;
	padding-bottom: clamp(24px, 4vw, 40px);
	margin-bottom: clamp(24px, 4vw, 40px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.jjtm-auto-modal__eyebrow {
	margin: 0 0 13px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--jjtm-accent);
}

.jjtm-auto-modal__title {
	max-width: 760px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 5vw, 66px);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.035em;
	white-space: pre-line;
	color: #fff;
}

.jjtm-auto-modal__subtitle {
	max-width: 720px;
	margin: 18px 0 0;
	font-size: clamp(12px, 1.5vw, 15px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.52);
}

.jjtm-auto-modal__marker {
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 86px;
	height: 3px;
	background: var(--jjtm-accent);
}

.jjtm-auto-modal__content {
	font-size: clamp(16px, 1.7vw, 20px);
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.78);
}

.jjtm-auto-modal__content > :first-child {
	margin-top: 0;
}

.jjtm-auto-modal__content > :last-child {
	margin-bottom: 0;
}

.jjtm-auto-modal__content p,
.jjtm-auto-modal__content ul,
.jjtm-auto-modal__content ol,
.jjtm-auto-modal__content blockquote {
	margin: 0 0 1.15em;
}

.jjtm-auto-modal__content h2,
.jjtm-auto-modal__content h3,
.jjtm-auto-modal__content h4,
.jjtm-auto-modal__content h5,
.jjtm-auto-modal__content h6 {
	margin: 1.4em 0 0.55em;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.15;
	color: #fff;
}

.jjtm-auto-modal__content ul,
.jjtm-auto-modal__content ol {
	padding-left: 1.3em;
}

.jjtm-auto-modal__content li + li {
	margin-top: 0.45em;
}

.jjtm-auto-modal__content a {
	color: var(--jjtm-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.jjtm-auto-modal__content blockquote {
	padding: 4px 0 4px 22px;
	border-left: 2px solid var(--jjtm-accent);
	color: #fff;
}

.jjtm-auto-modal__empty {
	font-style: italic;
	color: rgba(255, 255, 255, 0.56);
}

.jjtm-auto-modal__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: clamp(28px, 5vw, 54px);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
}

.jjtm-auto-modal__footer kbd {
	padding: 4px 7px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 3px;
	font: inherit;
	color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 640px) {
	.jjtm-auto-modal {
		align-items: end;
		padding: 10px;
	}

	.jjtm-auto-modal__dialog {
		width: 100%;
		max-height: 90vh;
		padding: 30px 24px 28px;
		border-radius: 4px 4px 0 0;
	}

	.jjtm-auto-modal__topline {
		align-items: flex-start;
		padding-right: 52px;
	}

	.jjtm-auto-modal__brand {
		gap: 10px;
		max-width: min(220px, 58%);
	}

	.jjtm-auto-modal__brand img,
	.jjtm-auto-modal__brand-logo {
		max-width: 100px;
		max-height: 40px;
	}

	.jjtm-auto-modal__close {
		top: 13px;
		right: 13px;
		width: 42px;
		height: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jjtm-auto-modal,
	.jjtm-auto-modal__dialog,
	.jjtm-auto-modal__close {
		transition: none !important;
	}
}
