/* TRANNYPACK style — TrannyEdge-specific full-screen entry layer.
   Light neutral treatment follows TrannyEdge's black, white and red identity.
   Site-specific identifiers avoid Brave cosmetic filtering. */

:root {
	--tedge-red: #e30303;
	--tedge-ink: #111111;
	--tedge-copy: #3f3f3f;
	--tedge-muted: #626262;
	--tedge-white: #ffffff;
}

html.tedge-lock,
body.tedge-lock {
	overflow: hidden;
}

body.tedge-lock > header,
body.tedge-lock > main,
body.tedge-lock > footer {
	pointer-events: none;
	user-select: none;
}

.tedge_entry {
	position: fixed;
	inset: 0;
	z-index: 2147483646;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	min-height: 100dvh;
	overflow-y: auto;
	padding: clamp(30px, 6vh, 72px) 24px;
	background:
		radial-gradient(circle at 50% 10%, rgba(227, 3, 3, 0.055), transparent 38%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(235, 235, 235, 0.70));
	-webkit-backdrop-filter: blur(9px) brightness(0.92) saturate(0.78);
	backdrop-filter: blur(9px) brightness(0.92) saturate(0.78);
	color: var(--tedge-ink);
	font-family: "Source Sans Pro", Arial, sans-serif;
}

.tedge_entry.is-hidden {
	display: none;
}

.tedge_content {
	width: min(850px, 100%);
	margin: auto;
	text-align: center;
}

.tedge_logo {
	display: block;
	width: min(470px, 80vw);
	height: auto;
	margin: 0 auto clamp(48px, 7vh, 86px);
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
}

.tedge_title {
	margin: 0 0 clamp(28px, 4vh, 42px);
	color: var(--tedge-ink);
	font-size: clamp(32px, 4.6vw, 58px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tedge_title span {
	color: var(--tedge-red);
	font-weight: 700;
}

.tedge_text {
	max-width: 820px;
	margin: 0 auto;
	color: var(--tedge-copy);
	font-size: clamp(17px, 2vw, 25px);
	font-weight: 400;
	line-height: 1.52;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.76);
}

.tedge_actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-top: clamp(42px, 6vh, 68px);
}

.tedge_enter {
	min-width: min(330px, 100%);
	padding-left: 36px;
	padding-right: 36px;
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 700;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	box-shadow: 0 9px 24px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transition: transform 150ms ease, box-shadow 150ms ease;
}

/* Color, border, radius and hover state come from TrannyEdge's own
   btn / btn_primary / btn_big rules in index.css. */
.tedge_enter:hover,
.tedge_enter:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 13px 30px rgba(0, 0, 0, 0.25);
}

.tedge_exit {
	appearance: none;
	-webkit-appearance: none;
	padding: 5px 12px;
	border: 0;
	background: transparent;
	color: var(--tedge-muted);
	font: inherit;
	font-size: clamp(15px, 1.5vw, 18px);
	font-weight: 400;
	cursor: pointer;
}

.tedge_exit:hover,
.tedge_exit:focus-visible {
	color: var(--tedge-red);
	text-decoration: underline;
}

.tedge_enter:focus-visible,
.tedge_exit:focus-visible {
	outline: 2px solid var(--tedge-red);
	outline-offset: 5px;
}

@media (max-width: 600px) {
	.tedge_entry {
		place-items: start center;
		padding: 34px 20px 42px;
		background:
			radial-gradient(circle at 50% 8%, rgba(227, 3, 3, 0.05), transparent 34%),
			linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(235, 235, 235, 0.74));
		-webkit-backdrop-filter: blur(8px) brightness(0.92) saturate(0.76);
		backdrop-filter: blur(8px) brightness(0.92) saturate(0.76);
	}

	.tedge_content {
		margin: auto 0;
	}

	.tedge_logo {
		width: min(350px, 84vw);
		margin-bottom: 46px;
	}

	.tedge_title {
		margin-bottom: 26px;
		font-weight: 600;
	}

	.tedge_text {
		font-size: 17px;
		line-height: 1.47;
	}

	.tedge_actions {
		gap: 30px;
		margin-top: 38px;
	}

	.tedge_enter {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tedge_enter {
		transition: none;
	}
}
