/* 页头 Login / Register 链接对：跟随主题文字色 */
.nea-auth-pair{
	display:inline-flex;
	align-items:center;
	gap:5px;
	font:inherit;
	font-size:12.5px;
	line-height:1.2;
	white-space:nowrap;
	color:inherit;
	vertical-align:middle;
}
.nea-auth-pair a{color:inherit;text-decoration:none;opacity:.82}
.nea-auth-pair a:hover,
.nea-auth-pair a:focus-visible{
	opacity:1;
	text-decoration:underline;
	text-underline-offset:2px;
}
.nea-auth-pair__sep{opacity:.4}
.nea-auth-pair__register{font-weight:600}
.nea-auth-pair-wrap{display:block;padding:9px 0}
@media (max-width:760px){
	.nea-auth-pair--desktop{display:none}
	.nea-auth-pair--drawer{font-size:14px;gap:8px;opacity:.95}
}

/* 页尾登录/注册按钮：每个主题由 data-shape / data-tone 决定外观 */
.nea-auth-footer-buttons{
	display:flex;
	justify-content:center;
	align-items:center;
	width:100%;
	box-sizing:border-box;
	margin:16px auto 8px;
	padding:0 16px;
	text-align:center;
}
.nea-auth-footer-buttons__inner{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:8px;
	flex-wrap:wrap;
}
.nea-auth-footer-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:8px 16px;
	background:var(--na-foot-surface, #111827);
	color:var(--na-foot-ink, #f9fafb);
	border:1px solid var(--na-foot-line, rgba(255,255,255,.18));
	border-radius:8px;
	color:inherit;
	font:inherit;
	font-size:14px;
	font-weight:500;
	line-height:1.25;
	text-decoration:none;
	opacity:1;
	transition:filter .15s, border-color .15s;
}
.nea-auth-footer-btn:hover,
.nea-auth-footer-btn:focus-visible{filter:brightness(1.08);text-decoration:none}
.nea-auth-footer-buttons[data-shape="pill"] .nea-auth-footer-btn{border-radius:999px}
.nea-auth-footer-buttons[data-shape="square"] .nea-auth-footer-btn{border-radius:0}
.nea-auth-footer-buttons[data-shape="ghost"] .nea-auth-footer-btn{background:var(--na-foot-surface, #111827);border-color:color-mix(in srgb, currentColor 55%, transparent)}
.nea-auth-footer-buttons[data-shape="stamp"] .nea-auth-footer-btn{
	border-width:2px;
	box-shadow:4px 4px 0 color-mix(in srgb, currentColor 28%, transparent);
}
.nea-auth-footer-buttons[data-shape="text"] .nea-auth-footer-btn{
	border:0;
	background:var(--na-foot-surface, #111827);
	padding-inline:8px;
	text-decoration:underline;
	text-underline-offset:3px;
}
.nea-auth-footer-buttons[data-tone="solid"] .nea-auth-footer-btn--register{
	background:var(--na-footer-accent);
	border-color:var(--na-footer-accent);
	color:var(--na-footer-on-accent);
}
.nea-auth-footer-buttons[data-tone="outline"] .nea-auth-footer-btn--register{
	border-color:var(--na-footer-accent);
	color:var(--na-foot-accent-text, var(--na-footer-accent));
}
.nea-auth-footer-buttons[data-tone="tinted"] .nea-auth-footer-btn--register{
	background:color-mix(in srgb, var(--na-footer-accent) 16%, var(--na-foot-surface, #111827));
	border-color:var(--na-footer-accent);
	color:inherit;
}
.nea-auth-footer-buttons[data-tone="text"] .nea-auth-footer-btn--register{
	border:0;
	color:var(--na-foot-accent-text, var(--na-footer-accent));
	text-decoration:underline;
	text-underline-offset:3px;
}
.nea-auth-footer-close{
	flex:none;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:24px;
	height:24px;
	padding:0;
	margin-inline-start:4px;
	border:1px solid var(--na-foot-line, rgba(255,255,255,.18));
	border-radius:999px;
	background:var(--na-foot-ink, #f9fafb);
	color:var(--na-foot-surface, #111827);
	font:inherit;
	font-size:14px;
	font-weight:600;
	line-height:1;
	opacity:1;
	cursor:pointer;
}
.nea-auth-footer-close:hover,
.nea-auth-footer-close:focus-visible{filter:brightness(.92)}
.nea-auth-footer-buttons--injected{
	position:fixed;
	left:50%;
	bottom:16px;
	transform:translateX(-50%);
	width:auto;
	max-width:calc(100vw - 120px);
	margin:0;
	z-index:9998;
}
.nea-auth-footer-buttons[data-brand="portal"] .nea-auth-footer-buttons__inner{position:relative}
.nea-auth-footer-buttons[data-brand="portal"] .nea-auth-footer-btn{
	border:0;
	border-radius:6px;
}
.nea-auth-footer-buttons[data-brand="portal"] .nea-auth-footer-btn--login{
	background:var(--na-foot-login-bg, #1bbc9b);
	color:var(--na-foot-login-ink, #ffffff);
}
.nea-auth-footer-buttons[data-brand="portal"] .nea-auth-footer-btn--register{
	background:var(--na-foot-register-bg, #f5c518);
	color:var(--na-foot-register-ink, #1a1600);
}
.nea-auth-footer-buttons[data-brand="portal"] .nea-auth-footer-close{
	position:absolute;
	top:-10px;
	right:-10px;
	width:22px;
	height:22px;
	margin:0;
	background:var(--na-foot-close-bg, #ffffff);
	color:var(--na-foot-close-ink, #101010);
}
.nea-auth-footer-buttons[data-brand="accent"] .nea-auth-footer-buttons__inner{position:relative}
.nea-auth-footer-buttons[data-brand="accent"] .nea-auth-footer-btn--login{
	background:var(--na-foot-surface, #111827);
	border:1px solid var(--na-footer-accent);
	color:var(--na-footer-accent);
}
.nea-auth-footer-buttons[data-brand="accent"] .nea-auth-footer-btn--register{
	background:var(--na-footer-accent);
	border-color:var(--na-footer-accent);
	color:var(--na-footer-on-accent, #ffffff);
}
.nea-auth-footer-buttons[data-brand="accent"] .nea-auth-footer-close{
	position:absolute;
	top:-10px;
	right:-10px;
	margin:0;
	background:#ffffff;
	color:#101010;
}
.nea-auth-footer-buttons[data-brand="game"] .nea-auth-footer-buttons__inner{position:relative}
.nea-auth-footer-buttons[data-brand="game"] .nea-auth-footer-btn{border-radius:999px}
.nea-auth-footer-buttons[data-brand="game"] .nea-auth-footer-btn--login{
	background:#181d24;
	border:1px solid var(--na-footer-accent);
	color:var(--na-footer-accent);
}
.nea-auth-footer-buttons[data-brand="game"] .nea-auth-footer-btn--register{
	background:var(--na-footer-accent);
	border-color:var(--na-footer-accent);
	color:var(--na-footer-on-accent, #ffffff);
}
.nea-auth-footer-buttons[data-brand="game"] .nea-auth-footer-close{
	position:absolute;
	top:-10px;
	right:-10px;
	width:22px;
	height:22px;
	margin:0;
	background:#ffffff;
	color:#101010;
}
.nea-auth-footer-buttons[data-tone="text"] .nea-auth-footer-btn{
	border:0;
	background:var(--na-foot-surface, #111827);
	padding-inline:8px;
}
.nea-auth-footer-buttons[data-tone="text"] .nea-auth-footer-btn--login{
	color:inherit;
	text-decoration:none;
}
@media (max-width:520px){
	.nea-auth-footer-btn{font-size:12px;padding:8px 12px}
	.nea-auth-footer-buttons__inner{gap:8px}
}

