/**
 * ruixue-cosmetics — header extra overrides
 * Auto-loaded by xyInjectHeaderExtraAssets (do not put this in _common).
 *
 * Fix: inquiry-only sites inject .xy-header-extra-fallback after <body>
 * but may not load xy-member-nav.css. Without position:fixed the empty
 * <ul> stays in document flow and leaves a gray strip above the blue bar.
 */

.xy-header-extra-fallback{
	--xy-header-extra-fallback-bg: rgba(15, 23, 32, .88);
	--xy-header-extra-fallback-fg: #fff;
	--xy-header-extra-fallback-z: 9000;
	position: fixed !important;
	top: 12px;
	right: 12px;
	z-index: var(--xy-header-extra-fallback-z);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 !important;
	padding: 6px 10px;
	list-style: none;
	border-radius: 999px;
	background: var(--xy-header-extra-fallback-bg);
	color: var(--xy-header-extra-fallback-fg);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}

/* Empty / hidden-only basket: hide the whole bar */
.xy-header-extra-fallback:not(:has(> li:not([hidden]):not(.is-empty))){
	display: none !important;
	padding: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}
