html.rsgdxjslx-nav-open {
	overflow: hidden;
}

.rsgdxjslx-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--rsgdxjslx-color-secondary);
	box-shadow: var(--rsgdxjslx-elev-1);
}

.rsgdxjslx-header__inner {
	width: min(100% - 32px, var(--rsgdxjslx-max-width));
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 64px;
}

.rsgdxjslx-header__logo {
	flex: 1;
	min-width: 0;
}

.rsgdxjslx-header__logo a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.rsgdxjslx-header__toggle {
	flex-shrink: 0;
	background: none;
	border: 0;
	color: inherit;
	font-size: 20px;
	padding: 8px;
	cursor: pointer;
}

.rsgdxjslx-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	flex-shrink: 0;
}

.rsgdxjslx-header__support {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-size: 14px;
}

.rsgdxjslx-account { position: relative; }

.rsgdxjslx-account__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 240px;
	background: var(--rsgdxjslx-color-secondary);
	box-shadow: var(--rsgdxjslx-elev-2);
	border-radius: 4px;
	padding: 8px 0;
	z-index: 50;
}

.rsgdxjslx-account__item {
	display: block;
	padding: 8px 16px;
	font-size: 14px;
}

.rsgdxjslx-account__item.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.rsgdxjslx-account__sep {
	display: block;
	height: 1px;
	margin: 6px 0;
	background: currentColor;
	opacity: 0.2;
}

.rsgdxjslx-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 45;
}

.rsgdxjslx-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(320px, 88vw);
	background: var(--rsgdxjslx-color-secondary);
	z-index: 50;
	padding: 72px 20px 24px;
	box-shadow: var(--rsgdxjslx-elev-3, 0 8px 24px rgba(0,0,0,.35));
	overflow: auto;
}

.rsgdxjslx-drawer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rsgdxjslx-drawer__nav-list a {
	display: block;
	padding: 10px 0;
	color: inherit;
	text-decoration: none;
}

@media (max-width: 800px) {
	.rsgdxjslx-header__support span { display: none; }
}
