/* Floating help button and modal */

.floating-help-button{
	position:fixed;
	right:22px;
	top:82px;
	z-index:9000;
	width:42px;
	height:42px;
	display:flex;
	align-items:center;
	justify-content:center;
	border:1px solid rgba(230,201,141,.8);
	border-radius:50%;
	background:linear-gradient(#a62535, #621522);
	color:#fff3d6;
	font-family:Georgia, "Times New Roman", serif;
	font-size:24px;
	font-weight:bold;
	cursor:pointer;
	box-shadow:0 8px 26px rgba(0,0,0,.35);
}

.floating-help-button:hover{
	color:white;
	filter:brightness(1.12);
}

.help-modal{
	display:none;
	position:fixed;
	inset:0;
	z-index:9999;
	background:rgba(0,0,0,.62);
	padding:24px;
}

.help-modal.show{
	display:flex;
	align-items:center;
	justify-content:center;
}

.help-panel{
	position:relative;
	width:min(560px, 92vw);
	max-height:86vh;
	overflow:auto;
	padding:30px;
	color:#2b160d;
	background:
		linear-gradient(90deg, rgba(121,82,33,.12), transparent 8%, transparent 92%, rgba(121,82,33,.12)),
		linear-gradient(180deg, #fff0ca, #e7c98f);
	border:1px solid #9f6c28;
	border-radius:16px;
	box-shadow:0 24px 80px rgba(0,0,0,.55);
}

.help-panel h2{
	margin:0 0 20px;
	color:#41140e;
	font-size:34px;
}

.help-panel h3{
	margin:22px 0 6px;
	color:#7d1620;
	font-size:21px;
}

.help-panel p{
	margin:0 0 8px;
	font-size:17px;
	line-height:1.55;
}

.help-close{
	position:absolute;
	top:14px;
	right:16px;
	width:auto;
	height:auto;
	border:0;
	border-radius:0;
	background:transparent;
	color:#7d1620;
	font-family:Georgia, "Times New Roman", serif;
	font-size:30px;
	line-height:1;
	cursor:pointer;
	padding:0;
	box-shadow:none;
}

.help-close:hover{
	color:#3b090f;
	background:transparent;
}

@media(max-width:760px){
	.floating-help-button{
		top:auto;
		right:18px;
		bottom:18px;
	}
}
