.bab-wrap {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	display: flex;
	justify-content: center;
	padding: 0 12px calc(10px + env(safe-area-inset-bottom));
	pointer-events: none;
}

.bab-inner {
	width: 100%;
	max-width: 480px;
}

.bab-bar {
	display: flex;
	width: 100%;
	overflow: hidden;
	background: #000;
	border: 2px solid #f0b41e;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
}

.bab-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 12px 4px;
	margin: 0 !important;
	background: transparent !important;
	border: 0;
	border-radius: 0 !important;
	color: #f0b41e;
	font: inherit;
	cursor: pointer;
	pointer-events: auto;
	text-decoration: none;
	-webkit-appearance: none;
	appearance: none;
}

.bab-item + .bab-item {
	border-left: 1px solid rgba(255, 255, 255, .4) !important;
}

.bab-item svg {
	width: 22px;
	height: 22px;
}

.bab-item span {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .2px;
	line-height: 1;
}

.bab-panel {
	position: relative;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	background: #000;
	border: 2px solid #f0b41e;
	border-radius: 16px;
	color: #fff;
	pointer-events: auto;
	transition: max-height .28s ease, opacity .2s ease, margin-bottom .28s ease;
}

.bab-panel.open {
	max-height: 78vh;
	opacity: 1;
	margin-bottom: 8px;
	overflow: auto;
}

.bab-panel-head {
	padding: 22px 18px 0;
	text-align: center;
}

.bab-panel-title {
	margin: 0;
	color: #f0b41e;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.bab-panel-text {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, .7);
	font-size: 13px;
	line-height: 1.4;
}

.bab-panel-head + .bab-panel-body {
	padding-top: 16px;
}

.bab-panel-head::after {
	content: "";
	display: block;
	width: 46px;
	height: 2px;
	margin: 14px auto 0;
	background: #f0b41e;
}

.bab-panel-body {
	padding: 18px 16px;
}

.bab-close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 30px;
	height: 30px;
	background: transparent;
	border: 0;
	color: #f0b41e;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.bab-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.bab-backdrop.open {
	opacity: 1;
	pointer-events: auto;
}
