/**
 * Wyvernverse "Abyss" look.
 *
 * Every rule is scoped to html.wv-abyss, which the small script printed by
 * inc/wv-abyss.php adds before first paint. Without that class this file does
 * nothing, so the original look stays intact (?theme=classic / WV_ABYSS_MODE).
 *
 * Contents
 *   1. Tokens and page base
 *   2. Background layer (canvas / video, scanlines, grain, target reticle)
 *   3. Header
 *   4. Navigation dropdowns
 *   5. Footer
 *   6. Home screen
 *   7. Shared controls (buttons, forms, links)
 *   8. Inner pages (panels, Ultimate Member, uploads, access denied, age gate)
 *   9. Small screens
 *  10. Reduced motion
 */

/* -------------------------------------------------------------------------
   1. Tokens and page base
   ------------------------------------------------------------------------- */

html.wv-abyss {
	--wv-black: #020203;
	--wv-ink: #08060a;
	--wv-panel: rgba(9, 6, 9, 0.74);
	--wv-panel-strong: rgba(7, 4, 6, 0.94);
	--wv-red: #d4102c;
	--wv-red-hot: #ff2e4d;
	--wv-red-deep: #5c0612;
	--wv-line: rgba(255, 70, 95, 0.2);
	--wv-line-strong: rgba(255, 70, 95, 0.5);
	--wv-bone: #ece6e4;
	--wv-soft: #c9bfc2;
	--wv-dim: #988c93;
	--wv-faint: #62585f;
	--wv-font-display: "Michroma", "Chakra Petch", "Segoe UI", sans-serif;
	--wv-font-ui: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
	--wv-font-mono: "Share Tech Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
	--wv-cut: 10px;
	--wv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	/* Sphere centre (x) and radius; the page script replaces these with the real values. */
	--wv-sx: 35vw;
	--wv-sr: min(26.5vh, 19vw);

	background: var(--wv-black);
	color-scheme: dark;
	scrollbar-color: #5c0612 #050305;
}

html.wv-abyss body {
	background: transparent !important;
	color: var(--wv-bone);
	font-family: var(--wv-font-ui);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	/* Re-point the Elementor kit so every widget picks up the new palette and type. */
	--e-global-color-primary: #020203;
	--e-global-color-secondary: #5c0612;
	--e-global-color-text: #ece6e4;
	--e-global-color-accent: #14080c;
	--e-global-color-68e5e23: rgba(4, 3, 5, 0.6);
	--e-global-color-a732778: #a80d22;
	--e-global-typography-primary-font-family: "Chakra Petch";
	--e-global-typography-secondary-font-family: "Chakra Petch";
	--e-global-typography-text-font-family: "Chakra Petch";
	--e-global-typography-accent-font-family: "Chakra Petch";
}

html.wv-abyss ::selection {
	background: rgba(212, 16, 44, 0.75);
	color: #fff;
}

html.wv-abyss ::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

html.wv-abyss ::-webkit-scrollbar-track {
	background: #050305;
}

html.wv-abyss ::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #7d0817, #3a040b);
	border: 2px solid #050305;
}

html.wv-abyss ::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #d4102c, #7d0817);
}

html.wv-abyss :focus-visible {
	outline: 1px solid var(--wv-red-hot);
	outline-offset: 3px;
}

/* -------------------------------------------------------------------------
   2. Background layer
   ------------------------------------------------------------------------- */

/* The Elementor video container is replaced by #wv-abyss-bg. */
html.wv-abyss .elementor-location-header > .bg {
	display: none !important;
}

/* Sized to the tallest viewport so the scene does not jump when a phone's address bar hides. */
html.wv-abyss #wv-abyss-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100lvh;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	background: var(--wv-black);
}

html.wv-abyss #wv-abyss-bg .wv-abyss-bg__canvas,
html.wv-abyss #wv-abyss-bg .wv-abyss-bg__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0;
	transition: opacity 1.6s ease;
}

html.wv-abyss #wv-abyss-bg.is-live .wv-abyss-bg__canvas,
html.wv-abyss #wv-abyss-bg.is-live .wv-abyss-bg__video {
	opacity: 1;
}

html.wv-abyss #wv-abyss-bg .wv-abyss-bg__video {
	object-fit: cover;
	object-position: 30% 55%;
}

/* Inner pages: push the scene back so content stays readable. */
html.wv-abyss #wv-abyss-bg .wv-abyss-bg__shade {
	position: absolute;
	inset: 0;
	background: rgba(2, 2, 3, 0.5);
}

html.wv-abyss body.home #wv-abyss-bg .wv-abyss-bg__shade {
	background: transparent;
}

/* Scanlines + vignette */
html.wv-abyss #wv-abyss-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		radial-gradient(ellipse 120% 90% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.55) 100%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0, rgba(255, 255, 255, 0.022) 1px, transparent 1px, transparent 3px);
}

/* Film grain */
html.wv-abyss #wv-abyss-bg::after {
	content: "";
	position: absolute;
	inset: -100px;
	z-index: 3;
	opacity: 0.055;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: wv-grain 0.9s steps(6) infinite;
}

@keyframes wv-grain {
	0% { transform: translate(0, 0); }
	20% { transform: translate(-38px, 22px); }
	40% { transform: translate(26px, -44px); }
	60% { transform: translate(-52px, -18px); }
	80% { transform: translate(44px, 36px); }
	100% { transform: translate(0, 0); }
}

/* Target reticle locked onto the sphere (home only). --sx/--sy/--sr come from the scene. */
html.wv-abyss .wv-reticle {
	position: absolute;
	z-index: 4;
	left: var(--sx, 35%);
	top: var(--sy, 60%);
	width: 0;
	height: 0;
	opacity: 0;
	transition: opacity 2.4s ease 0.8s;
}

html.wv-abyss .wv-reticle.is-on {
	opacity: 1;
}

html.wv-abyss .wv-reticle__svg {
	position: absolute;
	left: calc(var(--sr, 200px) * -1.3);
	top: calc(var(--sr, 200px) * -1.3);
	width: calc(var(--sr, 200px) * 2.6);
	height: calc(var(--sr, 200px) * 2.6);
	overflow: visible;
}

html.wv-abyss .wv-reticle__svg * {
	fill: none;
}

html.wv-abyss .wv-reticle__ring {
	stroke: rgba(255, 90, 110, 0.16);
	stroke-width: 1;
}

html.wv-abyss .wv-reticle__ticks {
	stroke: rgba(255, 90, 110, 0.42);
	stroke-width: 7;
	transform-origin: 0 0;
	animation: wv-spin 240s linear infinite;
}

html.wv-abyss .wv-reticle__arc {
	stroke: rgba(255, 60, 85, 0.6);
	stroke-width: 1.5;
	transform-origin: 0 0;
	animation: wv-spin 70s linear infinite reverse;
}

html.wv-abyss .wv-reticle__cross {
	stroke: rgba(236, 230, 228, 0.5);
	stroke-width: 1;
}

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

html.wv-abyss .wv-callout {
	position: absolute;
	left: calc(var(--sr, 200px) * -0.869);
	top: calc(var(--sr, 200px) * -0.783);
	width: 0;
	height: 0;
	display: none;
}

html.wv-abyss .wv-reticle.has-callout .wv-callout {
	display: block;
}

html.wv-abyss .wv-callout__lead {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 46px;
	height: 1px;
	background: var(--wv-line-strong);
	transform-origin: 100% 50%;
	transform: rotate(40deg);
}

html.wv-abyss .wv-callout__lead::after {
	content: "";
	position: absolute;
	right: -3px;
	top: -3px;
	width: 7px;
	height: 7px;
	border: 1px solid var(--wv-red-hot);
	border-radius: 50%;
	box-shadow: 0 0 8px var(--wv-red-hot);
}

html.wv-abyss .wv-callout__body {
	position: absolute;
	right: 35px;
	bottom: 29px;
	width: max-content;
	padding: 0 2px 9px 0;
	border-bottom: 1px solid var(--wv-line-strong);
	font-family: var(--wv-font-mono);
	font-size: 11px;
	line-height: 1.75;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wv-dim);
}

html.wv-abyss .wv-callout__head {
	display: block;
	margin-bottom: 4px;
	color: var(--wv-red-hot);
	letter-spacing: 0.24em;
}

html.wv-abyss .wv-callout__row {
	display: flex;
	justify-content: space-between;
	gap: 28px;
}

html.wv-abyss .wv-callout__row b {
	font-weight: 400;
	color: var(--wv-bone);
}

/* -------------------------------------------------------------------------
   3. Header
   ------------------------------------------------------------------------- */

html.wv-abyss .elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 900;
}

/* Bar */
html.wv-abyss .elementor-location-header .elementor-element.elementor-element-bb04a2b {
	--margin-bottom: clamp(20px, 3.2vw, 52px);
	--min-height: 0px;
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: clamp(12px, 2.2vw, 36px);
	--padding-right: clamp(12px, 2.2vw, 36px);
	--gap: 0px 18px;
	--row-gap: 0px;
	--column-gap: 18px;
	align-items: center;
	flex-wrap: nowrap;
	background: linear-gradient(180deg, rgba(3, 2, 4, 0.94) 0%, rgba(3, 2, 4, 0.66) 100%) !important;
	-webkit-backdrop-filter: blur(12px) saturate(130%);
	backdrop-filter: blur(12px) saturate(130%);
	border-bottom: 1px solid rgba(255, 70, 95, 0.14);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.6);
}

html.wv-abyss body.home .elementor-location-header .elementor-element.elementor-element-bb04a2b {
	--margin-bottom: 0px;
}

/* Hot line along the bottom edge of the bar */
html.wv-abyss .elementor-location-header .elementor-element.elementor-element-bb04a2b::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	pointer-events: none;
	background: linear-gradient(90deg, var(--wv-red-hot) 0%, rgba(255, 46, 77, 0.55) 9%, rgba(255, 46, 77, 0.08) 38%, transparent 70%);
	box-shadow: 0 0 14px rgba(255, 46, 77, 0.55);
}

/* Brand group: logo, name, socials */
html.wv-abyss .elementor-location-header .elementor-element.elementor-element-b3c5883 {
	--padding-top: 10px;
	--padding-bottom: 10px;
	--padding-left: 0px;
	--padding-right: 0px;
	--justify-content: flex-start;
	--align-items: center;
	--gap: 0px 16px;
	--row-gap: 0px;
	--column-gap: 16px;
	flex: 1 1 auto;
	min-width: 0;
	background: none !important;
}

html.wv-abyss .elementor-widget-theme-site-logo {
	flex: 0 0 auto;
	background: linear-gradient(150deg, #cf1230 0%, #8a0919 55%, #47040c 100%) !important;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
	transition: filter 0.25s ease;
}

html.wv-abyss .elementor-widget-theme-site-logo:hover {
	filter: brightness(1.25) saturate(1.1);
}

html.wv-abyss .elementor-widget-theme-site-logo a {
	display: block;
	line-height: 0;
}

html.wv-abyss .elementor-location-header .elementor-widget-theme-site-logo img {
	width: 48px !important;
	height: 48px !important;
	padding: 4px;
	object-fit: contain;
}

html.wv-abyss .elementor-widget-theme-site-title .elementor-heading-title {
	font-family: var(--wv-font-display) !important;
	font-weight: 400 !important;
	text-transform: uppercase;
	color: var(--wv-bone) !important;
	-webkit-text-stroke-width: 0 !important;
	white-space: nowrap;
}

html.wv-abyss .elementor-widget-theme-site-title .elementor-heading-title a {
	color: inherit !important;
	text-decoration: none;
	transition: color 0.25s ease, text-shadow 0.25s ease;
}

html.wv-abyss .elementor-widget-theme-site-title .elementor-heading-title a:hover {
	color: #fff !important;
	text-shadow: 0 0 18px rgba(255, 46, 77, 0.75);
}

html.wv-abyss .elementor-location-header .elementor-widget-theme-site-title .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 0.34em;
}

/* Small "still alive" light next to the name */
html.wv-abyss .elementor-location-header .elementor-widget-theme-site-title .elementor-heading-title::after {
	content: "";
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wv-red-hot);
	box-shadow: 0 0 10px 1px var(--wv-red-hot);
	animation: wv-pulse 2.8s ease-in-out infinite;
}

@keyframes wv-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.18; }
}

/* Socials */
html.wv-abyss .elementor-location-header .elementor-widget-elementskit-social-media {
	min-width: 0;
}

html.wv-abyss .elementor-location-header .ekit_social_media {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	text-align: right !important;
}

html.wv-abyss .elementor-location-header .ekit_social_media > li {
	display: block !important;
	margin: 0 !important;
}

html.wv-abyss .elementor-location-header .ekit_social_media > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border: 1px solid transparent;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	font-family: var(--wv-font-mono);
	font-size: 11px;
	line-height: 1 !important;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--wv-dim) !important;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

html.wv-abyss .elementor-location-header .ekit_social_media > li > a svg {
	width: 12px;
	height: 12px;
	fill: currentColor !important;
}

html.wv-abyss .elementor-location-header .ekit_social_media > li > a > i {
	padding: 0 !important;
	font-size: 12px;
}

html.wv-abyss .elementor-location-header .ekit_social_media > li > a:hover {
	color: var(--wv-bone) !important;
	border-color: var(--wv-line);
	background-color: rgba(212, 16, 44, 0.12) !important;
}

/* Nav group */
html.wv-abyss .elementor-location-header .elementor-element.elementor-element-42f5c40 {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 12px;
	--padding-right: 0px;
	--justify-content: flex-end;
	--align-items: center;
	--gap: 0px 0px;
	flex: 0 0 auto;
	width: auto;
	background: none !important;
	border-left: 1px solid var(--wv-line);
	counter-reset: wvnav;
}

html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-widget-button,
html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-widget {
	margin: 0 !important;
}

html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 14px 14px;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	font-family: var(--wv-font-ui) !important;
	font-size: 13px;
	font-weight: 600 !important;
	line-height: 1;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--wv-soft) !important;
	fill: currentColor;
	transition: color 0.2s ease, text-shadow 0.2s ease, background-color 0.2s ease;
}

html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button .elementor-button-text {
	font-family: inherit !important;
	font-weight: inherit !important;
}

/* Numbered on the button itself: the cloned Games/Chat buttons have no inner text span. */
html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button::before {
	counter-increment: wvnav;
	content: "0" counter(wvnav);
	margin-right: 8px;
	font-family: var(--wv-font-mono);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.06em;
	color: var(--wv-red-hot);
	opacity: 0.8;
}

html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 5px;
	height: 1px;
	background: var(--wv-red-hot);
	box-shadow: 0 0 10px var(--wv-red-hot);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.28s var(--wv-ease);
}

html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button:hover,
html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button:focus-visible,
html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .menu-item-has-children:hover > .elementor-button,
html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .menu-item-has-children:hover .elementor-button {
	color: #fff !important;
	text-shadow: 0 0 14px rgba(255, 46, 77, 0.7);
	background-color: rgba(212, 16, 44, 0.07) !important;
}

html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button:hover::after,
html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button:focus-visible::after,
html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .menu-item-has-children:hover .elementor-button::after {
	transform: scaleX(1);
}

/* -------------------------------------------------------------------------
   4. Navigation dropdowns (Gallery / Games / Chat / Upload)
   ------------------------------------------------------------------------- */

html.wv-abyss .gallery-menu-item .gallery-submenu,
html.wv-abyss .games-menu-item .games-submenu,
html.wv-abyss .chat-menu-item .chat-submenu,
html.wv-abyss .upload-menu-item .upload-submenu {
	isolation: isolate;
	padding: 6px 0 !important;
	border: 1px solid var(--wv-line) !important;
	border-top: 1px solid var(--wv-red) !important;
	border-radius: 0 !important;
	background: var(--wv-panel-strong) !important;
	background-color: var(--wv-panel-strong) !important;
	box-shadow: 0 22px 44px rgba(0, 0, 0, 0.75), 0 0 28px rgba(212, 16, 44, 0.12) !important;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

/* The dropdown scripts may pin an inline background; this layer sits over it. */
html.wv-abyss .gallery-submenu::before,
html.wv-abyss .games-submenu::before,
html.wv-abyss .chat-submenu::before,
html.wv-abyss .upload-submenu::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #080506;
}

html.wv-abyss .gallery-submenu li,
html.wv-abyss .games-submenu li,
html.wv-abyss .chat-submenu li,
html.wv-abyss .upload-submenu li {
	background: none !important;
}

html.wv-abyss .gallery-submenu a,
html.wv-abyss .games-submenu a,
html.wv-abyss .chat-submenu a,
html.wv-abyss .upload-submenu a {
	padding: 10px 16px !important;
	font-family: var(--wv-font-mono) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wv-dim) !important;
	transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

html.wv-abyss .gallery-submenu a:hover,
html.wv-abyss .games-submenu a:hover,
html.wv-abyss .chat-submenu a:hover,
html.wv-abyss .upload-submenu a:hover {
	opacity: 1 !important;
	color: #fff !important;
	background-color: rgba(212, 16, 44, 0.16) !important;
	box-shadow: inset 2px 0 0 var(--wv-red-hot);
}

/* Hidden for now: the Chat button, and the Arc Raiders entry under Games (its only entry).
   Delete these two rules to bring them back. */
html.wv-abyss .elementor-location-header .chat-menu-item {
	display: none !important;
}

html.wv-abyss .games-menu-item .games-submenu {
	display: none !important;
}

/* -------------------------------------------------------------------------
   5. Footer
   ------------------------------------------------------------------------- */

html.wv-abyss .elementor-location-footer .elementor-element.elementor-element-f1f69ea {
	--padding-top: 9px;
	--padding-bottom: 9px;
	--padding-left: clamp(12px, 2.2vw, 36px);
	--padding-right: clamp(12px, 2.2vw, 36px);
	--align-items: center;
	--gap: 0px 12px;
	--column-gap: 12px;
	align-items: center;
	background: linear-gradient(0deg, rgba(3, 2, 4, 0.94) 0%, rgba(3, 2, 4, 0.6) 100%) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(255, 70, 95, 0.14);
}

html.wv-abyss .elementor-location-footer .elementor-widget-theme-site-logo {
	-webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}

html.wv-abyss .elementor-location-footer .elementor-widget-theme-site-logo img {
	width: 24px !important;
	height: 24px !important;
	padding: 2px;
	object-fit: contain;
}

html.wv-abyss .elementor-location-footer .elementor-widget-theme-site-title .elementor-heading-title {
	font-size: 10px !important;
	letter-spacing: 0.34em;
	color: var(--wv-dim) !important;
}

html.wv-abyss .elementor-location-footer .elementor-element.elementor-element-f1f69ea::after {
	content: "End of transmission";
	margin-left: auto;
	font-family: var(--wv-font-mono);
	font-size: 10px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--wv-faint);
}

/* -------------------------------------------------------------------------
   6. Home screen
   ------------------------------------------------------------------------- */

html.wv-abyss .wv-hero-host {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
}

html.wv-abyss .wv-hero-host > .wv-is-empty {
	display: none !important;
}

html.wv-abyss .wv-hero {
	--wv-hero-pad: clamp(18px, 2.2vw, 34px);
	--wv-copy-gap: clamp(24px, 3vw, 64px);
	/* Words start just outside the targeting ring and use the room that is left,
	   so the title always fits whatever the screen shape. */
	--wv-copy-left: calc(var(--wv-sx) + var(--wv-sr) * 1.3 + 26px);
	--wv-copy-w: calc(100vw - var(--wv-copy-left) - var(--wv-hero-pad) - var(--wv-copy-gap));

	position: relative;
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	min-height: 500px;
	padding: var(--wv-hero-pad);
	overflow: hidden;
	color: var(--wv-bone);
}

/* Corner brackets */
html.wv-abyss .wv-hero__corner {
	position: absolute;
	width: 22px;
	height: 22px;
	border: 0 solid var(--wv-line-strong);
	pointer-events: none;
	opacity: 0;
	animation: wv-fade 1.2s ease 0.3s forwards;
}

html.wv-abyss .wv-hero__corner--tl { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; }
html.wv-abyss .wv-hero__corner--tr { top: 16px; right: 16px; border-top-width: 1px; border-right-width: 1px; }
html.wv-abyss .wv-hero__corner--bl { bottom: 16px; left: 16px; border-bottom-width: 1px; border-left-width: 1px; }
html.wv-abyss .wv-hero__corner--br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }

html.wv-abyss .wv-hero__main {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: flex-start;
	padding: 3vh 0;
}

html.wv-abyss .wv-hero__copy {
	position: relative;
	width: var(--wv-copy-w);
	max-width: 1100px;
	margin-top: 15vh;
	margin-left: calc(var(--wv-copy-left) - var(--wv-hero-pad));
}

/* Soft shadow behind the words so drifting plasma never washes them out. */
html.wv-abyss .wv-hero__copy::before {
	content: "";
	position: absolute;
	inset: -70px -90px;
	z-index: -1;
	pointer-events: none;
	background: radial-gradient(ellipse closest-side, rgba(2, 2, 3, 0.78) 0%, rgba(2, 2, 3, 0.5) 55%, transparent 100%);
}

html.wv-abyss .wv-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 1.4em;
	margin: 0 0 20px;
	font-family: var(--wv-font-mono);
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wv-red-hot);
}

/* Dark tag behind the line so it stays readable when plasma drifts under it. */
html.wv-abyss .wv-hero__eyebrow span {
	padding: 4px 6px 4px 10px;
	background: rgba(2, 2, 3, 0.72);
}

html.wv-abyss .wv-hero__eyebrow span:empty {
	padding: 0;
}

html.wv-abyss .wv-hero__eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 34px;
	height: 1px;
	background: var(--wv-red-hot);
	box-shadow: 0 0 10px var(--wv-red-hot);
}

html.wv-abyss .wv-hero__eyebrow.is-typing span::after {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 1em;
	margin-left: 4px;
	vertical-align: -0.12em;
	background: var(--wv-red-hot);
	animation: wv-caret 0.8s steps(1) infinite;
}

@keyframes wv-caret {
	50% { opacity: 0; }
}

html.wv-abyss .wv-hero__title {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0;
	font-family: var(--wv-font-display);
	/* The word is about 12.6em wide; dividing the room by 12.9 keeps it inside with a margin. */
	font-size: clamp(20px, calc(var(--wv-copy-w) / 12.9), 82px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--wv-bone);
	text-shadow: 0 0 42px rgba(255, 46, 77, 0.28), 0 2px 0 rgba(0, 0, 0, 0.6);
	animation: wv-flicker 13s linear 4s infinite;
}

html.wv-abyss .wv-hero__title::before,
html.wv-abyss .wv-hero__title::after {
	content: attr(data-text);
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	text-shadow: none;
}

html.wv-abyss .wv-hero__title::before {
	color: var(--wv-red-hot);
	animation: wv-glitch-a 9s steps(1) 5s infinite;
}

html.wv-abyss .wv-hero__title::after {
	color: #7fb6cf;
	animation: wv-glitch-b 9s steps(1) 5s infinite;
}

@keyframes wv-glitch-a {
	0%, 91% { opacity: 0; transform: none; clip-path: none; }
	92% { opacity: 0.9; transform: translate(-5px, 0); clip-path: inset(12% 0 62% 0); }
	94% { opacity: 0.9; transform: translate(4px, 0); clip-path: inset(58% 0 18% 0); }
	96% { opacity: 0.8; transform: translate(-3px, 0); clip-path: inset(34% 0 44% 0); }
	97%, 100% { opacity: 0; transform: none; clip-path: none; }
}

@keyframes wv-glitch-b {
	0%, 91% { opacity: 0; transform: none; clip-path: none; }
	92% { opacity: 0.55; transform: translate(5px, 0); clip-path: inset(40% 0 30% 0); }
	94% { opacity: 0.55; transform: translate(-4px, 0); clip-path: inset(8% 0 76% 0); }
	96% { opacity: 0.45; transform: translate(3px, 0); clip-path: inset(70% 0 6% 0); }
	97%, 100% { opacity: 0; transform: none; clip-path: none; }
}

@keyframes wv-flicker {
	0%, 61%, 63%, 64.5%, 100% { opacity: 1; }
	62% { opacity: 0.72; }
	64% { opacity: 0.84; }
}

html.wv-abyss .wv-hero__rule {
	display: block;
	width: 100%;
	height: 1px;
	margin: 22px 0 22px;
	background: linear-gradient(90deg, var(--wv-red-hot) 0, var(--wv-red-hot) 56px, var(--wv-line) 56px, transparent 100%);
}

html.wv-abyss .wv-hero__tagline {
	max-width: 30em;
	margin: 0 0 30px;
	font-family: var(--wv-font-ui);
	font-size: clamp(15px, 1.12vw, 19px);
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0.02em;
	color: var(--wv-soft);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

html.wv-abyss .wv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

html.wv-abyss .wv-hero__rule,
html.wv-abyss .wv-hero__tagline,
html.wv-abyss .wv-hero__actions,
html.wv-abyss .wv-hero__telemetry {
	opacity: 0;
	transform: translateY(10px);
}

html.wv-abyss .wv-hero.is-in .wv-hero__rule,
html.wv-abyss .wv-hero.is-in .wv-hero__tagline,
html.wv-abyss .wv-hero.is-in .wv-hero__actions,
html.wv-abyss .wv-hero.is-in .wv-hero__telemetry {
	opacity: 1;
	transform: none;
	transition: opacity 1.1s ease, transform 1.1s var(--wv-ease);
}

html.wv-abyss .wv-hero.is-in .wv-hero__tagline { transition-delay: 0.15s; }
html.wv-abyss .wv-hero.is-in .wv-hero__actions { transition-delay: 0.35s; }
html.wv-abyss .wv-hero.is-in .wv-hero__telemetry { transition-delay: 0.6s; }

@keyframes wv-fade {
	to { opacity: 1; }
}

/* Readouts along the bottom */
html.wv-abyss .wv-hero__telemetry {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px 28px;
	margin: 0;
	padding: 16px clamp(14px, 2.4vw, 44px) 14px;
	border-top: 1px solid rgba(255, 70, 95, 0.14);
	background: linear-gradient(180deg, rgba(2, 2, 3, 0.5) 0%, rgba(2, 2, 3, 0.78) 100%);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	list-style: none;
}

html.wv-abyss .wv-hero__telemetry li {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
	font-family: var(--wv-font-mono);
	text-transform: uppercase;
}

html.wv-abyss .wv-hero__telemetry span {
	font-size: 10px;
	letter-spacing: 0.26em;
	color: var(--wv-faint);
}

html.wv-abyss .wv-hero__telemetry b {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.14em;
	font-variant-numeric: tabular-nums;
	color: var(--wv-bone);
}

html.wv-abyss .wv-hero__telemetry .is-alert b {
	color: var(--wv-red-hot);
}

html.wv-abyss .wv-hero__telemetry .is-alert b::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 9px;
	border-radius: 50%;
	vertical-align: 0.12em;
	background: var(--wv-red-hot);
	box-shadow: 0 0 10px 1px var(--wv-red-hot);
	animation: wv-pulse 1.6s ease-in-out infinite;
}

/* Portrait: sphere on top, words underneath */
@media (max-aspect-ratio: 4/5) {
	html.wv-abyss .wv-hero {
		min-height: 0;
	}

	html.wv-abyss .wv-hero__main {
		align-items: flex-end;
		justify-content: center;
		padding: 0 0 26px;
	}

	html.wv-abyss .wv-hero__copy {
		width: 100%;
		max-width: 720px;
		margin: 58vh auto 0;
		text-align: center;
	}

	html.wv-abyss .wv-hero__eyebrow {
		justify-content: center;
		font-size: 10px;
		letter-spacing: 0.22em;
	}

	html.wv-abyss .wv-hero__eyebrow::before {
		display: none;
	}

	html.wv-abyss .wv-hero__title {
		font-size: clamp(20px, 6.6vw, 56px);
		letter-spacing: 0.06em;
	}

	html.wv-abyss .wv-hero__rule {
		background: linear-gradient(90deg, transparent 0, var(--wv-line) 30%, var(--wv-red-hot) 44%, var(--wv-red-hot) 56%, var(--wv-line) 70%, transparent 100%);
	}

	html.wv-abyss .wv-hero__tagline {
		margin-left: auto;
		margin-right: auto;
	}

	html.wv-abyss .wv-hero__actions {
		justify-content: center;
	}

	html.wv-abyss .wv-hero__telemetry {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

/* -------------------------------------------------------------------------
   7. Shared controls
   ------------------------------------------------------------------------- */

html.wv-abyss .wv-btn {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 26px;
	border: 0;
	background: var(--wv-line-strong);
	-webkit-clip-path: polygon(var(--wv-cut) 0, 100% 0, 100% calc(100% - var(--wv-cut)), calc(100% - var(--wv-cut)) 100%, 0 100%, 0 var(--wv-cut));
	clip-path: polygon(var(--wv-cut) 0, 100% 0, 100% calc(100% - var(--wv-cut)), calc(100% - var(--wv-cut)) 100%, 0 100%, 0 var(--wv-cut));
	font-family: var(--wv-font-ui);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none !important;
	color: var(--wv-bone) !important;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, filter 0.2s ease, transform 0.2s var(--wv-ease);
}

html.wv-abyss .wv-btn::before {
	content: "";
	position: absolute;
	inset: 1px;
	z-index: -1;
	background: rgba(9, 5, 7, 0.9);
	-webkit-clip-path: inherit;
	clip-path: inherit;
	transition: background-color 0.2s ease;
}

html.wv-abyss .wv-btn::after {
	content: "\2192";
	font-family: var(--wv-font-mono);
	font-size: 15px;
	letter-spacing: 0;
	transition: transform 0.2s var(--wv-ease);
}

html.wv-abyss .wv-btn:hover,
html.wv-abyss .wv-btn:focus-visible {
	color: #fff !important;
	background: var(--wv-red-hot);
	transform: translateY(-1px);
}

html.wv-abyss .wv-btn:hover::before,
html.wv-abyss .wv-btn:focus-visible::before {
	background: rgba(60, 6, 16, 0.92);
}

html.wv-abyss .wv-btn:hover::after {
	transform: translateX(4px);
}

html.wv-abyss .wv-btn--primary {
	background: #ff5a72;
	color: #fff !important;
}

html.wv-abyss .wv-btn--primary::before {
	background: linear-gradient(135deg, #e0122f 0%, #a30b20 60%, #6f0715 100%);
}

html.wv-abyss .wv-btn--primary:hover,
html.wv-abyss .wv-btn--primary:focus-visible {
	filter: drop-shadow(0 0 16px rgba(255, 46, 77, 0.55));
}

html.wv-abyss .wv-btn--primary:hover::before,
html.wv-abyss .wv-btn--primary:focus-visible::before {
	background: linear-gradient(135deg, #ff2e4d 0%, #c50f28 60%, #8a0919 100%);
}

/* Elementor buttons placed in page content */
html.wv-abyss .elementor:not(.elementor-location-header) .elementor-button {
	border-radius: 0;
	font-family: var(--wv-font-ui);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	background-color: #a80d22;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

html.wv-abyss .elementor:not(.elementor-location-header) .elementor-button:hover {
	background-color: var(--wv-red);
	box-shadow: 0 0 22px rgba(255, 46, 77, 0.4);
}

/* Links and headings in page content (never the header, footer or home screen controls) */
html.wv-abyss .elementor-widget-text-editor a,
html.wv-abyss .elementor-widget-shortcode a:not([class]),
html.wv-abyss .page-content a:not([class]) {
	color: #ff6b82;
	text-decoration-color: rgba(255, 107, 130, 0.4);
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

html.wv-abyss .elementor-widget-text-editor a:hover,
html.wv-abyss .elementor-widget-shortcode a:not([class]):hover,
html.wv-abyss .page-content a:not([class]):hover {
	color: #fff;
}

html.wv-abyss .elementor-widget-heading:not(.elementor-widget-theme-site-title) .elementor-heading-title,
html.wv-abyss h1.entry-title {
	font-family: var(--wv-font-display);
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   8. Inner pages
   ------------------------------------------------------------------------- */

/* --- Ultimate Member forms (login, register, account, password reset) --- */

html.wv-abyss .um {
	font-family: var(--wv-font-ui);
	color: var(--wv-bone);
}

html.wv-abyss .um.um-login,
html.wv-abyss .um.um-register,
html.wv-abyss .um.um-password {
	position: relative;
	padding: 34px 32px 26px;
	border: 1px solid var(--wv-line);
	border-top: 1px solid var(--wv-red);
	background: var(--wv-panel);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

html.wv-abyss .um.um-login::before,
html.wv-abyss .um.um-register::before,
html.wv-abyss .um.um-password::before {
	content: "Identify";
	display: block;
	margin-bottom: 22px;
	font-family: var(--wv-font-mono);
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wv-red-hot);
}

html.wv-abyss .um.um-register::before {
	content: "New crew record";
}

html.wv-abyss .um.um-password::before {
	content: "Recover access";
}

html.wv-abyss .um .um-field-label label,
html.wv-abyss .um .um-field-label {
	font-family: var(--wv-font-mono) !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wv-dim) !important;
}

html.wv-abyss .um .um-form input[type="text"],
html.wv-abyss .um .um-form input[type="search"],
html.wv-abyss .um .um-form input[type="tel"],
html.wv-abyss .um .um-form input[type="number"],
html.wv-abyss .um .um-form input[type="email"],
html.wv-abyss .um .um-form input[type="password"],
html.wv-abyss .um .um-form textarea,
html.wv-abyss .um .select2-container .select2-selection {
	height: auto !important;
	min-height: 46px;
	padding: 10px 14px !important;
	border: 1px solid rgba(255, 70, 95, 0.22) !important;
	border-radius: 0 !important;
	background: rgba(3, 2, 4, 0.72) !important;
	box-shadow: none !important;
	font-family: var(--wv-font-ui) !important;
	font-size: 15px !important;
	letter-spacing: 0.03em;
	color: var(--wv-bone) !important;
	caret-color: var(--wv-red-hot);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

html.wv-abyss .um .um-form input[type="text"]:focus,
html.wv-abyss .um .um-form input[type="search"]:focus,
html.wv-abyss .um .um-form input[type="tel"]:focus,
html.wv-abyss .um .um-form input[type="number"]:focus,
html.wv-abyss .um .um-form input[type="email"]:focus,
html.wv-abyss .um .um-form input[type="password"]:focus,
html.wv-abyss .um .um-form textarea:focus {
	outline: 0;
	border-color: var(--wv-red-hot) !important;
	background: rgba(12, 4, 7, 0.86) !important;
	box-shadow: 0 0 0 1px rgba(255, 46, 77, 0.3), 0 0 22px rgba(255, 46, 77, 0.16) !important;
}

html.wv-abyss .um .um-form input:-webkit-autofill {
	-webkit-text-fill-color: var(--wv-bone);
	-webkit-box-shadow: 0 0 0 100px #0a0507 inset !important;
}

html.wv-abyss .um .um-toggle-password,
html.wv-abyss .um .um-field-checkbox-state,
html.wv-abyss .um .um-field-radio-state {
	color: var(--wv-dim) !important;
}

html.wv-abyss .um .um-field-checkbox.active .um-field-checkbox-state,
html.wv-abyss .um .um-field-radio.active .um-field-radio-state {
	color: var(--wv-red-hot) !important;
}

html.wv-abyss .um .um-field-checkbox-option,
html.wv-abyss .um .um-field-radio-option {
	color: var(--wv-soft) !important;
}

html.wv-abyss .um input[type="submit"].um-button,
html.wv-abyss .um a.um-button,
html.wv-abyss .um .um-button {
	padding: 16px 20px !important;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	background: linear-gradient(135deg, #e0122f 0%, #a30b20 60%, #6f0715 100%) !important;
	box-shadow: none !important;
	font-family: var(--wv-font-ui) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff !important;
	transition: filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

html.wv-abyss .um input[type="submit"].um-button:hover,
html.wv-abyss .um a.um-button:hover {
	filter: brightness(1.2);
	box-shadow: 0 0 24px rgba(255, 46, 77, 0.45) !important;
}

html.wv-abyss .um a.um-button.um-alt,
html.wv-abyss .um input[type="submit"].um-button.um-alt,
html.wv-abyss .um .um-button.um-alt {
	border-color: var(--wv-line-strong) !important;
	background: rgba(9, 5, 7, 0.6) !important;
	color: var(--wv-bone) !important;
}

html.wv-abyss .um a.um-button.um-alt:hover,
html.wv-abyss .um input[type="submit"].um-button.um-alt:hover {
	filter: none;
	border-color: var(--wv-red-hot) !important;
	background: rgba(60, 6, 16, 0.7) !important;
	box-shadow: none !important;
}

html.wv-abyss .um a.um-link-alt,
html.wv-abyss .um .um-col-alt-b a {
	font-family: var(--wv-font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wv-dim) !important;
	transition: color 0.2s ease;
}

html.wv-abyss .um a.um-link-alt:hover,
html.wv-abyss .um .um-col-alt-b a:hover {
	color: var(--wv-red-hot) !important;
	text-decoration: none !important;
}

html.wv-abyss .um .um-field-error,
html.wv-abyss .um p.um-notice.err {
	border-radius: 0 !important;
	background: #7d0817 !important;
	color: #fff !important;
}

html.wv-abyss .um .um-field-error .um-field-arrow {
	color: #7d0817 !important;
}

/* --- Access denied panel --- */

html.wv-abyss .wv-access-denied {
	position: relative;
	border: 1px solid var(--wv-line);
	border-top: 1px solid var(--wv-red);
	border-radius: 0;
	background: var(--wv-panel);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
	color: var(--wv-bone);
}

html.wv-abyss .wv-access-denied::before {
	content: "Error 403 // clearance required";
	align-self: stretch;
	text-align: left;
	font-family: var(--wv-font-mono);
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wv-red-hot);
}

html.wv-abyss .wv-access-denied__art {
	border-radius: 0;
	box-shadow: 0 0 0 1px rgba(255, 70, 95, 0.25), 0 18px 50px rgba(0, 0, 0, 0.7);
}

html.wv-abyss .wv-access-denied__title {
	margin-top: 10px;
	font-family: var(--wv-font-display);
	font-size: clamp(1.25rem, 2.4vw, 1.9rem);
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wv-red-hot);
	text-shadow: 0 0 26px rgba(255, 46, 77, 0.45);
}

html.wv-abyss .wv-access-denied__copy {
	color: var(--wv-bone);
}

html.wv-abyss .wv-access-denied__hint {
	font-family: var(--wv-font-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wv-dim);
}

html.wv-abyss .wv-access-denied__patreon {
	border-top-color: var(--wv-line);
}

html.wv-abyss .wv-access-denied__patreon-text {
	color: var(--wv-soft);
	font-weight: 500;
}

html.wv-abyss .wv-access-denied__btn,
html.wv-abyss .wv-age-gate__btn {
	padding: 16px 26px;
	border: 1px solid transparent;
	border-radius: 0;
	background: linear-gradient(135deg, #e0122f 0%, #a30b20 60%, #6f0715 100%);
	box-shadow: none;
	font-family: var(--wv-font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff !important;
}

html.wv-abyss .wv-access-denied__btn:hover,
html.wv-abyss .wv-access-denied__btn:focus,
html.wv-abyss .wv-age-gate__btn--enter:hover,
html.wv-abyss .wv-age-gate__btn--enter:focus {
	filter: brightness(1.2);
	box-shadow: 0 0 24px rgba(255, 46, 77, 0.45);
}

/* --- 18+ gate --- */

html.wv-abyss .wv-age-gate {
	background: rgba(2, 2, 3, 0.86);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

html.wv-abyss .wv-age-gate__dialog {
	border: 1px solid var(--wv-line);
	border-top: 1px solid var(--wv-red);
	border-radius: 0;
	background: var(--wv-panel-strong);
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.85), 0 0 60px rgba(212, 16, 44, 0.12);
	color: var(--wv-bone);
}

html.wv-abyss .wv-age-gate__dialog::before {
	content: "Restricted // identity check";
	display: block;
	margin-bottom: 14px;
	text-align: left;
	font-family: var(--wv-font-mono);
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wv-red-hot);
}

/* Sized by height as well, so the question and buttons fit without scrolling. */
html.wv-abyss .wv-age-gate__dialog {
	width: min(760px, 100%, 62vh + 60px);
}

html.wv-abyss .wv-age-gate__art {
	width: min(700px, 92vw, 62vh);
	border-radius: 0;
	box-shadow: 0 0 0 1px rgba(255, 70, 95, 0.25), 0 18px 50px rgba(0, 0, 0, 0.7);
}

html.wv-abyss .wv-age-gate__title {
	margin-top: 20px;
	font-family: var(--wv-font-display);
	font-size: clamp(1.05rem, 2.2vw, 1.5rem);
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wv-bone);
}

html.wv-abyss .wv-age-gate__text {
	color: var(--wv-soft);
}

html.wv-abyss .wv-age-gate__btn--exit {
	border-color: var(--wv-line-strong);
	background: rgba(9, 5, 7, 0.6);
	color: var(--wv-bone) !important;
}

html.wv-abyss .wv-age-gate__btn--exit:hover,
html.wv-abyss .wv-age-gate__btn--exit:focus {
	filter: none;
	border-color: var(--wv-red-hot);
	background: rgba(60, 6, 16, 0.7);
}

/* -------------------------------------------------------------------------
   9. Small screens
   ------------------------------------------------------------------------- */

@media (max-width: 1500px) {
	html.wv-abyss .wv-btn {
		gap: 10px;
		padding: 14px 18px;
		font-size: 12px;
		letter-spacing: 0.16em;
	}
}

@media (max-width: 1100px) {
	html.wv-abyss .elementor-location-header .ekit_social_media > li > a {
		padding: 8px;
		font-size: 0;
		letter-spacing: 0;
		gap: 0;
	}

	html.wv-abyss .elementor-location-header .ekit_social_media > li > a svg {
		width: 14px;
		height: 14px;
	}

	html.wv-abyss .elementor-location-header .ekit_social_media > li > a > i {
		font-size: 14px;
	}

	html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button {
		padding: 14px 10px;
		letter-spacing: 0.13em;
	}

	html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button::after {
		left: 10px;
		right: 10px;
	}
}

@media (max-width: 860px) {
	html.wv-abyss .elementor-location-header .elementor-element.elementor-element-bb04a2b {
		flex-wrap: wrap;
		--column-gap: 0px;
	}

	html.wv-abyss .elementor-location-header .elementor-element.elementor-element-b3c5883 {
		flex: 1 1 100%;
		--padding-top: 8px;
		--padding-bottom: 8px;
	}

	html.wv-abyss .elementor-location-header .elementor-widget-theme-site-logo img {
		width: 38px !important;
		height: 38px !important;
		padding: 3px;
	}

	html.wv-abyss .elementor-location-header .elementor-widget-theme-site-title .elementor-heading-title {
		font-size: 12px;
		letter-spacing: 0.26em;
	}

	html.wv-abyss .elementor-location-header .elementor-element.elementor-element-42f5c40 {
		flex: 1 1 100%;
		width: 100%;
		--padding-left: 0px;
		--justify-content: space-between;
		flex-wrap: nowrap;
		border-left: 0;
		border-top: 1px solid rgba(255, 70, 95, 0.12);
	}

	html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button {
		padding: 12px 6px;
		font-size: 11px;
		letter-spacing: 0.1em;
	}

	html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button::before {
		display: none;
	}

	html.wv-abyss .elementor-location-header .elementor-element-42f5c40 .elementor-button::after {
		left: 6px;
		right: 6px;
		bottom: 3px;
	}

	html.wv-abyss .elementor-location-footer .elementor-element.elementor-element-f1f69ea::after {
		font-size: 9px;
		letter-spacing: 0.18em;
	}
}

@media (max-width: 400px) {
	html.wv-abyss .elementor-location-header .elementor-element.elementor-element-b3c5883 {
		flex-wrap: nowrap;
		--column-gap: 10px;
	}

	html.wv-abyss .elementor-location-header .elementor-widget-theme-site-title .elementor-heading-title {
		gap: 8px;
		font-size: 11px;
		letter-spacing: 0.14em;
	}

	html.wv-abyss .elementor-location-header .ekit_social_media > li > a {
		padding: 8px 6px;
	}
}

/* -------------------------------------------------------------------------
   10. Reduced motion
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html.wv-abyss *,
	html.wv-abyss *::before,
	html.wv-abyss *::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}

	html.wv-abyss .wv-hero__corner {
		opacity: 1;
	}
}
