/* ========== 个人中心/登录/注册页面样式 ========== */
.no_login_bg {
	background-color: #f4f4f4;
}

.user-topbar {
	padding: 15px;
	display: flex;
	align-items: center;
	background-color: #f4f4f4;
}

.user-topbar__content {
	display: flex;
	flex: 1;
	padding: 0 10px;
	align-items: center;
}

.user-topbar__content .avatar {
	margin-right: 15px;
}

.user-topbar__content .avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 2px solid #fff;
}

.user-topbar__content .body {
	flex: 1;
}

.user-topbar__content .body .title {
	font-size: 16px;
	color: #282828;
}

/* 用户金币面板 */
.user_money_panel {
	display: flex;
	align-items: center;
	padding: 15px 0;
	background-color: #fff;
	margin: 10px 0;
}

.user_money_panel .line {
	width: 1px;
	height: 40px;
	background-color: #e3e3e3;
}

.user_money_panel .left,
.user_money_panel .right {
	flex: 1;
	float: none !important;
	text-align: center;
}

.user_money_panel .title {
	font-size: 18px;
	color: #1a1a1a;
	font-weight: 500;
}

.user_money_panel .subtitle {
	font-size: 12px;
	color: #999;
	margin-top: 5px;
}

/* VIP 特权面板 */
.user_vip_panel {
	background-color: #fff;
	margin: 10px 0;
	padding: 15px;
}

.user_vip_panel .head {
	display: flex;
	padding: 10px 0;
	align-items: center;
}

.user_vip_panel .head .title {
	font-size: 14px;
	color: #333;
}

.user_vip_panel .ul {
	display: flex;
	justify-content: space-around;
	padding: 15px 0;
}

.user_vip_panel .ul .item {
	text-align: center;
	display: block;
}

.user_vip_panel .ul .item p {
	text-align: center;
	font-size: 12px;
	color: #666;
	margin-top: 8px;
}

.user_vip_panel .ul .item img {
	width: 45px;
	height: 45px;
	display: block;
	margin: 0 auto;
}

/* 提示条 */
.n20_tack_tips {
	padding: 15px;
	background-color: #fff;
	border-bottom: 1px solid #f8f8f8;
	margin: 10px 0;
}

.n20_tack_tips a,
.n20_tack_tips span {
	color: #f90;
	font-size: 14px;
}

.n20_tack_tips .btn {
	display: block;
	text-align: center;
}

.n20_tack_tips .icon_gift {
	display: inline-block;
	margin-right: 5px;
}

/* 登录/注册表单顶部栏 */
.fix-topbar {
	background-color: #fff;
}

.cm-topbar {
	height: 50px;
	line-height: 50px;
	text-align: center;
	border-bottom: 1px solid #eee;
}

.cm-topbar__container {
	position: relative;
}

.cm-topbar .center-title {
	font-size: 18px;
	color: #333;
	margin: 0;
}

.cm-topbar .pull-left {
	position: absolute;
	left: 10px;
	top: 0;
}

.cm-topbar .back-btn {
	background: none;
	border: none;
	color: #666;
	font-size: 14px;
	cursor: pointer;
}

/* 辅助类 */
.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

.offset-10 {
	height: 10px;
}

.margin10-b {
	margin-bottom: 10px;
}

.margin20-b {
	margin-bottom: 20px;
}

.padding5 {
	padding: 5px;
}

.f14 {
	font-size: 14px;
}

.f16 {
	font-size: 16px;
}

.f25 {
	font-size: 25px;
}

.f-orange {
	color: #f90;
}

.f-red {
	color: #f00;
}

.f-white {
	color: #fff;
}

.bg-white {
	background-color: #fff;
}

/* auth page container */
#mescroll.mescroll.sliptop,
#mescroll.mescroll.slipleft {
	max-width: 720px;
	margin: 0 auto;
	background: #f4f4f4;
	min-height: 60vh;
}

.user_vip_panel .ul .item {
	text-decoration: none;
}

.auth-header-links a {
	margin-left: 12px;
	color: #333;
	font-size: 14px;
}
.auth-header-links a:hover {
	color: #ff9900;
}


/* weuix .container conflict fix */
.container {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	overflow: visible !important;
	z-index: auto !important;
}

/* ========== 登录/注册统一卡片（简洁可信） ========== */
body:has(.mh-auth-page) .header_search,
body:has(.mh-auth-page) .header_domains,
body:has(.mh-auth-page) #hotkeywords,
body:has(.mh-auth-page) .search-box,
body:has(.mh-auth-page) .header-search,
body:has(.mh-auth-page) .nav-search,
body:has(.mh-auth-page) .ui-search,
body:has(.mh-auth-page) .menuNavList,
body:has(.mh-auth-page) .g_header2,
body:has(.mh-auth-page) .g_wrap_p:has(.ui-search),
body:has(.mh-auth-page) .weui-tabbar,
body:has(.mh-auth-page) .pk-tabbar,
body:has(.mh-auth-page) .weui-footer,
body:has(.mh-auth-page) footer.footer,
body:has(.mh-auth-page) .footer {
	display: none !important;
}

body:has(.mh-auth-page) {
	background: #f6f8fa !important;
}

.mh-auth-page {
	--mh-auth-accent: #1f6feb;
	--mh-auth-accent-hover: #1858c7;
	--mh-auth-text: #1f2328;
	--mh-auth-muted: #656d76;
	--mh-auth-line: #d8dee6;
	--mh-auth-bg: #f4f6f8;
	--mh-auth-soft: #eef4ff;
	max-width: 440px;
	margin: 0 auto;
	padding: 8px 14px calc(96px + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
}

.mh-auth-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 48px;
	margin-bottom: 10px;
}

.mh-auth-nav a,
.mh-auth-nav button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: 0;
	background: none;
	color: var(--mh-auth-muted);
	font-size: 13px;
	cursor: pointer;
	padding: 8px 4px;
	text-decoration: none;
}

.mh-auth-nav svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mh-auth-nav .title {
	font-size: 14px;
	font-weight: 700;
	color: var(--mh-auth-text);
}

.mh-auth-card {
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 16px;
	padding: 24px 18px 20px;
	box-shadow: 0 10px 28px rgba(31, 35, 40, 0.06);
}

.mh-auth-brand {
	text-align: center;
	margin-bottom: 22px;
}

.mh-auth-mark {
	width: 52px;
	height: 52px;
	margin: 0 auto 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: linear-gradient(180deg, #3b82f6, #1f6feb);
	color: #fff;
	box-shadow: 0 8px 16px rgba(31, 111, 235, 0.28);
}

.mh-auth-mark svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mh-auth-brand .name {
	font-size: 18px;
	font-weight: 800;
	color: var(--mh-auth-text);
	letter-spacing: 0.01em;
	line-height: 1.25;
}

.mh-auth-brand .desc {
	margin-top: 6px;
	font-size: 12px;
	color: var(--mh-auth-muted);
	line-height: 1.5;
}

.mh-auth-field {
	margin-bottom: 14px;
}

.mh-auth-field label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--mh-auth-text);
	margin-bottom: 6px;
}

.mh-auth-input {
	position: relative;
}

.mh-auth-input .mh-auth-ico {
	position: absolute;
	left: 12px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	color: #8b949e;
	pointer-events: none;
}

.mh-auth-input .mh-auth-ico svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	display: block;
}

.mh-auth-field input[type="text"],
.mh-auth-field input[type="password"] {
	width: 100%;
	height: 46px;
	padding: 0 12px 0 40px;
	border: 1px solid var(--mh-auth-line);
	border-radius: 10px;
	background: #fbfcfd;
	font-size: 13px;
	color: var(--mh-auth-text);
	box-sizing: border-box;
	outline: none;
}

.mh-auth-field input::placeholder {
	color: #9aa3ad;
}

.mh-auth-field input:focus {
	border-color: var(--mh-auth-accent);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.12);
}

.mh-auth-input:focus-within .mh-auth-ico {
	color: var(--mh-auth-accent);
}

.mh-auth-captcha {
	display: flex;
	gap: 10px;
	align-items: center;
}

.mh-auth-captcha .mh-auth-input {
	flex: 1;
	min-width: 0;
}

.mh-auth-captcha img {
	width: 110px;
	height: 46px;
	border-radius: 10px;
	border: 1px solid var(--mh-auth-line);
	cursor: pointer;
	object-fit: cover;
	background: #fff;
	flex-shrink: 0;
}

.mh-auth-submit {
	width: 100%;
	height: 46px;
	margin-top: 6px;
	border: 0;
	border-radius: 10px;
	background: var(--mh-auth-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 8px 18px rgba(31, 111, 235, 0.24);
}

.mh-auth-submit svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mh-auth-submit:hover,
.mh-auth-submit:active {
	background: var(--mh-auth-accent-hover);
}

.mh-auth-switch {
	text-align: center;
	margin-top: 16px;
	font-size: 13px;
	color: var(--mh-auth-muted);
}

.mh-auth-switch a {
	color: var(--mh-auth-accent);
	text-decoration: none;
	font-weight: 700;
}

.mh-auth-or {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 14px;
	color: #8b949e;
	font-size: 12px;
}

.mh-auth-or::before,
.mh-auth-or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e6ebf1;
}

.mh-auth-qr {
	padding: 14px;
	border: 1px solid #d7e4fb;
	border-radius: 12px;
	background: var(--mh-auth-soft);
	margin-bottom: 12px;
}

.mh-auth-qr-hd {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}

.mh-auth-qr-badge {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--mh-auth-accent);
	box-shadow: 0 1px 3px rgba(31, 111, 235, 0.12);
}

.mh-auth-qr-badge svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mh-auth-qr-hd strong {
	display: block;
	font-size: 13px;
	color: var(--mh-auth-text);
	line-height: 1.3;
}

.mh-auth-qr-hd p,
.mh-auth-qr-tip {
	margin: 4px 0 0;
	font-size: 12px;
	color: var(--mh-auth-muted);
	line-height: 1.5;
	text-align: left;
}

.mh-auth-qr-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 42px;
	border: 1px solid #b9d0f8;
	border-radius: 10px;
	background: #fff;
	color: var(--mh-auth-accent);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.mh-auth-qr-btn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mh-auth-qr-btn:hover,
.mh-auth-qr-btn:active {
	background: #f7faff;
}

.mh-auth-qr-status {
	margin-top: 8px;
	font-size: 12px;
	color: var(--mh-auth-muted);
	text-align: center;
	min-height: 18px;
}

.mh-auth-extra {
	margin-top: 16px;
}

