/* 3RDS Cabinet Frame v1.0.0 — Proprietary — The Late Thirds
 *
 * The bare page the arcade pages sit on. Dark edge to edge, no margins, a slim
 * top bar. The games' own CSS does everything inside the stage.
 */

html.t3cf-html {
	background: #07080a;
	font-size: 16px;               /* the baseline the games were designed against */
	-webkit-text-size-adjust: 100%;
	color-scheme: dark;
	scrollbar-color: #2a2c36 #07080a;
}

body.t3cf-body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	min-height: 100dvh;
	background: #07080a;
	color: #eef0f5;
	font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	overflow-x: hidden;
}

/* ---- the slim bar ---- */
.t3cf-bar {
	position: sticky;
	top: 0;
	z-index: 50;                   /* under every game's cabinet/fullscreen mode (99999+) and the TLT bridge banner */
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 42px;
	box-sizing: border-box;
	padding-left: max(14px, env(safe-area-inset-left));
	padding-right: max(14px, env(safe-area-inset-right));
	background: rgba(9, 10, 14, 0.84);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: 0 1px 0 rgba(140, 90, 255, 0.16);
	font-family: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", Impact, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
}
.t3cf-bar a {
	color: #eef0f5;
	text-decoration: none;
	opacity: 0.86;
	transition: opacity 0.15s ease, color 0.15s ease, text-shadow 0.15s ease;
}
.t3cf-bar a:hover,
.t3cf-bar a:focus-visible {
	opacity: 1;
	color: #7ef9ff;
	text-shadow: 0 0 10px rgba(126, 249, 255, 0.55);
	outline: none;
}
.t3cf-here {
	color: #b98cff;
	opacity: 0.9;
}
.t3cf-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.t3cf-arrow {
	display: block;
	width: 8px;
	height: 10px;
	flex: 0 0 auto;
}

/* Logged-in admins: sit under the WordPress admin bar instead of behind it. */
.admin-bar .t3cf-bar { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .t3cf-bar { top: 46px; }
}

/* ---- the stage ---- */
/* Full width, no padding. Each game's own CSS decides how it fills it. */
.t3cf-stage {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}
