.tt-mth-target-word {
	appearance: none;
	background: none;
	border: 0;
	border-radius: 2px;
	color: inherit;
	cursor: inherit;
	display: inline;
	font: inherit;
	font-kerning: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
	text-decoration: inherit;
	text-transform: inherit;
	transition: none;
}

.tt-mth-target-word:hover {
	background: none !important;
	border-color: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	cursor: inherit !important;
	text-decoration: inherit !important;
	transform: none !important;
}

.tt-mth-target-word:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.tt-mth-dotless-i {
	font: inherit;
	letter-spacing: inherit;
}

.tt-mth-test-feedback {
	background: #1d2327;
	border-radius: 3px;
	bottom: 24px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
	color: #fff;
	font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	left: 50%;
	max-width: min(90vw, 520px);
	padding: 12px 16px;
	position: fixed;
	transform: translateX(-50%);
	z-index: 100000;
}

.tt-mth-test-feedback.tt-mth-test-error {
	background: #b32d2e;
}

.tt-mth-banner {
	background: #171717;
	box-sizing: border-box;
	color: #fff;
	display: block;
	font: 600 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0;
	padding: 11px 20px;
	position: relative;
	text-align: center;
	width: 100%;
	z-index: 10;
}

.tt-mth-banner-main {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: center;
}

.tt-mth-banner a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tt-mth-previous-winner {
	font-weight: 400;
	margin-top: 5px;
	text-align: center;
}

.tt-mth-winner-label {
	font-weight: 600;
}

.tt-mth-winner-toggle {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: 600 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin-left: 7px;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tt-mth-winner-toggle:hover,
.tt-mth-winner-toggle:focus-visible {
	color: inherit;
	opacity: 0.8;
}

.tt-mth-test-badge {
	background: #f0b849;
	border-radius: 999px;
	color: #171717;
	display: inline-block;
	font: 700 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0.03em;
	padding: 6px 9px;
	text-transform: uppercase;
}

.tt-mth-dialog[hidden] {
	display: none !important;
}

.tt-mth-dialog {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 999999;
}

.tt-mth-dialog-backdrop {
	background: rgba(0, 0, 0, 0.68);
	inset: 0;
	position: absolute;
}

.tt-mth-dialog-panel {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	color: #1d2327;
	font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	max-height: calc(100vh - 40px);
	max-width: 620px;
	overflow-y: auto;
	padding: 30px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.tt-mth-dialog-panel h2 {
	color: #1d2327;
	font: 700 28px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 14px 42px 10px 0;
}

.tt-mth-dialog-close {
	appearance: none;
	background: transparent;
	border: 0;
	color: #50575e;
	cursor: pointer;
	font: 400 32px/1 sans-serif;
	padding: 7px 10px;
	position: absolute;
	right: 12px;
	top: 12px;
}

.tt-mth-dialog-close:hover,
.tt-mth-dialog-close:focus-visible {
	color: #000;
}

.tt-mth-entry-form {
	margin-top: 22px;
}

.tt-mth-entry-form[hidden],
.tt-mth-entry-success[hidden] {
	display: none !important;
}

.tt-mth-dialog-panel.tt-mth-dialog-complete {
	max-width: 500px;
}

.tt-mth-entry-success {
	text-align: center;
}

.tt-mth-entry-success p {
	margin: 15px 0;
}

.tt-mth-success-mark {
	align-items: center;
	background: #edfaef;
	border: 2px solid #008a20;
	border-radius: 50%;
	color: #008a20;
	display: flex;
	font-size: 28px;
	font-weight: 700;
	height: 54px;
	justify-content: center;
	margin: 4px auto 16px;
	width: 54px;
}

.tt-mth-entry-success .tt-mth-success-title {
	margin: 0 36px 12px;
}

.tt-mth-success-title:focus {
	outline: none;
}

.tt-mth-success-message {
	font-size: 18px;
	font-weight: 700;
}

.tt-mth-field {
	margin: 0 0 16px;
}

.tt-mth-field label {
	display: block;
	font-weight: 700;
	margin-bottom: 5px;
}

.tt-mth-field input {
	background: #fff;
	border: 1px solid #707070;
	border-radius: 3px;
	box-sizing: border-box;
	color: #1d2327;
	font: inherit;
	min-height: 44px;
	padding: 8px 10px;
	width: 100%;
}

.tt-mth-field input:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: 0;
}

.tt-mth-check {
	align-items: flex-start;
	color: #1d2327;
	display: flex;
	font: inherit;
	gap: 9px;
	margin: 13px 0;
}

.tt-mth-check input {
	flex: 0 0 auto;
	height: 18px;
	margin: 3px 0 0;
	width: 18px;
}

.tt-mth-check a {
	color: #135e96;
	text-decoration: underline;
}

.tt-mth-optional {
	border-top: 1px solid #dcdcde;
	margin-top: 19px;
	padding-top: 18px;
}

.tt-mth-entry-note {
	color: #50575e;
	font-size: 13px;
	margin: 18px 0;
}

.tt-mth-submit {
	appearance: none;
	background: #1d2327;
	border: 2px solid #1d2327;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font: 700 16px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	min-height: 46px;
	padding: 10px 18px;
}

.tt-mth-submit:hover,
.tt-mth-submit:focus-visible {
	background: #3c434a;
	border-color: #3c434a;
	color: #fff;
}

.tt-mth-submit:disabled {
	cursor: wait;
	opacity: 0.65;
}

.tt-mth-form-status {
	border-left: 4px solid #008a20;
	font-weight: 600;
	margin: 16px 0;
	padding: 10px 12px;
}

.tt-mth-form-status.tt-mth-form-success {
	background: #edfaef;
}

.tt-mth-form-status.tt-mth-form-error {
	background: #fcf0f1;
	border-left-color: #b32d2e;
}

.tt-mth-honeypot {
	left: -10000px !important;
	position: absolute !important;
	top: auto !important;
}

body.tt-mth-dialog-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.tt-mth-banner {
		padding: 10px 14px;
	}

	.tt-mth-banner-main {
		flex-direction: column;
		gap: 5px;
	}

	.tt-mth-previous-winner {
		margin-top: 5px;
	}

	.tt-mth-dialog {
		align-items: flex-end;
		padding: 0;
	}

	.tt-mth-dialog-panel {
		border-radius: 8px 8px 0 0;
		max-height: 92vh;
		padding: 24px 20px;
	}

	.tt-mth-dialog-panel h2 {
		font-size: 24px;
	}
}

/* Centre the entry and confirmation dialog heading. */
.tt-mth-dialog-panel #tt-mth-dialog-title {
	text-align: center;
	margin-inline: 24px;
}
