html.rob-support-runtime-active {
	--rob-support-bottom-offset: 92px;
	--rob-support-clearance: calc(var(--rob-support-bottom-offset) + 82px);
}

html.rob-support-runtime-active #mobile-shell {
	padding-bottom: max(var(--rob-support-clearance), env(safe-area-inset-bottom));
	scroll-padding-bottom: var(--rob-support-clearance);
}

html.rob-support-runtime-active #rob-community-guide {
	bottom: max(var(--rob-support-bottom-offset), env(safe-area-inset-bottom));
}

html.rob-support-runtime-active #rob-privacy-card {
	bottom: max(var(--rob-support-bottom-offset), env(safe-area-inset-bottom));
}

html:not(.rob-support-runtime-active) #rob-community-guide,
html:not(.rob-support-runtime-active) #rob-privacy-card {
	display: none !important;
}

#rob-community-guide .rob-guide-panel {
	max-height: min(72dvh, 620px);
	overflow: auto;
	overscroll-behavior: contain;
}

#rob-community-guide .rob-guide-actions {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

#rob-community-guide .rob-guide-actions a,
#rob-community-guide .rob-guide-actions button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid rgba(126, 169, 238, 0.45);
	border-radius: 9px;
	background: #fff;
	color: #4f79ba;
	font: inherit;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

#rob-community-guide .rob-guide-actions .rob-support-primary {
	border-color: #6f9de0;
	background: #6f9de0;
	color: #fff;
}

#rob-community-guide .rob-guide-actions [hidden],
#rob-community-guide .rob-support-faq[hidden],
#rob-community-guide .rob-support-status[hidden] {
	display: none !important;
}

#rob-community-guide .rob-support-status {
	margin: 10px 0 0;
	padding: 8px 10px;
	border: 1px solid rgba(126, 169, 238, 0.3);
	border-radius: 9px;
	background: rgba(238, 246, 255, 0.82);
	color: #50637a;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.45;
}

#rob-community-guide .rob-support-faq {
	display: grid;
	gap: 7px;
	margin-top: 12px;
}

#rob-community-guide .rob-support-faq details {
	border: 1px solid rgba(126, 169, 238, 0.3);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.8);
}

#rob-community-guide .rob-support-faq summary {
	padding: 9px 11px;
	color: #20252d;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.35;
	cursor: pointer;
}

#rob-community-guide .rob-support-faq p {
	margin: 0;
	padding: 0 11px 10px;
	color: #50637a;
	font-size: 11px;
	line-height: 1.5;
}

#rob-community-guide .rob-support-safety {
	margin: 10px 0 0;
	color: #657b95;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.45;
}

#rob-community-guide .rob-support-loading::after {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: 6px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -2px;
	animation: rob-support-spin 0.7s linear infinite;
}

@keyframes rob-support-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 520px) {
	html.rob-support-runtime-active {
		--rob-support-clearance: calc(var(--rob-support-bottom-offset) + 72px);
	}

	#rob-community-guide .rob-guide-panel {
		width: min(350px, calc(100vw - 82px));
	}
}

@media (max-height: 430px) {
	html.rob-support-runtime-active {
		--rob-support-clearance: calc(var(--rob-support-bottom-offset) + 56px);
	}

	#rob-community-guide .rob-guide-panel {
		max-height: calc(100dvh - 32px);
	}
}
