/* Independent user-center chrome: no marketing site nav. */

body.ucApp .header .nav,
body.ucApp .hd_nav,
body.ucGate .hd_nav{display:none !important;}

/* Header bottom + sidebar right: 1px hairline like the trading dashboard */
body.ucApp .header{
	border-bottom:1px solid #2a2e39;
}
body.ucApp .IndNavI3,
body.ucApp .IndNava:hover .IndNavI3,
body.ucApp .IndNavO .IndNavI3{
	background-image:url("../images/icon/IndNI-report.svg") !important;
	background-size:100% 100% !important;
	background-position:0 0 !important;
	background-repeat:no-repeat;
	filter:none;
}
@media screen and (min-width:960px){
	body.ucApp{
		display:flex;
		flex-direction:column;
		height:100vh;
		height:100dvh;
		overflow:hidden !important;
	}
	body.ucApp .main{
		flex:1 1 auto;
		min-height:0;
		overflow:hidden;
		align-items:stretch;
		flex-wrap:nowrap;
		padding-bottom:0;
	}
	body.ucApp nav.IndNav{
		display:flex !important;
		flex-direction:column;
		border-right:1px solid #2a2e39;
		box-sizing:border-box;
		align-self:stretch;
		min-height:0;
		max-height:none;
		height:auto;
	}
	body.ucApp .IndNavFoot{
		flex-shrink:0;
		margin-top:auto;
	}
	body.ucApp .IndNavFold{
		display:flex !important;
		flex-shrink:0;
	}
	body.ucApp .mainD{
		min-height:0;
		overflow-x:hidden;
		overflow-y:auto;
		overscroll-behavior:contain;
		-webkit-overflow-scrolling:touch;
		padding-bottom:24px;
		box-sizing:border-box;
		scrollbar-width:thin;
		scrollbar-color:transparent transparent;
	}
	body.ucApp .mainD:hover{
		scrollbar-color:#888 transparent;
	}
	body.ucApp .mainD::-webkit-scrollbar{width:6px;}
	body.ucApp .mainD::-webkit-scrollbar-thumb{
		background:transparent;
		border-radius:6px;
	}
	body.ucApp .mainD::-webkit-scrollbar-track{background:transparent;}
	body.ucApp .mainD:hover::-webkit-scrollbar-thumb{background:#888;}
	body.ucApp .mainD:hover::-webkit-scrollbar-track{background:transparent;}
	body.ucApp .ucFoot{flex-shrink:0;}
}
body.dk.darkmode.ucApp .header{
	border-bottom-color:#eaecef;
}
body.dk.darkmode.ucApp nav.IndNav{
	border-right-color:#eaecef;
}

body.ucApp .accCardActs{
	position:relative;
	z-index:2;
}
body.ucApp a.accBtn,
body.ucApp .accBtn{
	display:inline-flex !important;
	cursor:pointer;
}
body.ucApp .accBtn *,
body.ucApp a.accBtn *{
	pointer-events:none;
	cursor:pointer;
}

.ucUser{
	position:relative;
	margin-left:12px;
	cursor:pointer;
}
.ucUserAva img{
	width:32px;
	height:32px;
	border-radius:50%;
	display:block;
}
.ucUserMenu{
	display:none;
	position:absolute;
	top:100%;
	right:0;
	width:260px;
	margin-top:10px;
	padding:0;
	background:#252a32;
	border:1px solid #2a2e39;
	border-radius:10px;
	z-index:120;
	box-shadow:0 8px 24px rgba(0,0,0,.35);
	overflow:hidden;
}
.ucUser.is-open .ucUserMenu{display:block;}
.ucUserCard{
	display:flex;
	align-items:center;
	gap:12px;
	padding:14px 16px 12px;
}
.ucUserCardIco{
	flex-shrink:0;
	color:#8b949e;
}
.ucUserCardTxt{
	min-width:0;
	display:flex;
	flex-direction:column;
	gap:2px;
}
.ucUserCardTxt strong{
	display:block;
	color:#f5f6f7;
	font-size:14px;
	font-weight:700;
	line-height:20px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.ucUserCardTxt span{
	display:block;
	color:#8b949e;
	font-size:12px;
	line-height:16px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.ucUserLinks{
	padding:8px 0;
	border-top:1px solid #2a2e39;
	border-bottom:1px solid #2a2e39;
}
.ucUserMenu a{
	display:flex !important;
	align-items:center;
	width:100%;
	box-sizing:border-box;
	margin:0;
	padding:10px 16px;
	color:#f5f6f7;
	font-size:14px;
	line-height:20px;
	text-align:left;
	text-decoration:none;
	background:none;
	border-radius:0;
	cursor:pointer;
	position:relative;
	z-index:1;
}
.ucUserMenu a *{
	pointer-events:none;
}
.ucUserMenu a:hover{background:#2f3540;color:#fff;}
.ucUserOut{
	display:flex !important;
	align-items:center;
	gap:10px;
	padding:12px 16px !important;
}
.ucUserOut svg{flex-shrink:0;display:block;}
body.dk.darkmode .ucUserMenu{
	background:#fff;
	border-color:#eaecef;
	box-shadow:0 8px 24px rgba(24,28,34,.08);
}
body.dk.darkmode .ucUserCardIco,
body.dk.darkmode .ucUserCardTxt span{color:#707a8a;}
body.dk.darkmode .ucUserCardTxt strong{color:#1e2329;}
body.dk.darkmode .ucUserLinks{border-color:#eaecef;}
body.dk.darkmode .ucUserMenu a{color:#1e2329;}
body.dk.darkmode .ucUserMenu a:hover{background:#f5f6f7;}

body.ucApp .switch-wrapper .slider,
body.ucApp .switch-wrapper input:checked + .slider{
	background:transparent !important;
	border:0 !important;
	box-shadow:none !important;
}
body.ucApp .switch-wrapper .slider:before{
	top:0;
	left:0;
	bottom:0;
	right:0;
	width:100%;
	height:100%;
	transform:none;
	border-radius:50%;
	background-repeat:no-repeat;
	background-position:center center;
	background-size:18px 18px;
}
body.ucApp.dk:not(.darkmode) .switch-wrapper .slider:before,
body.ucApp.dk:not(.darkmode) .switch-wrapper input:checked + .slider:before{
	background:#1a2740 url("../images/icon/moon.svg?v=20260827k") no-repeat center center;
	background-size:18px 18px;
}
body.ucApp.dk.darkmode .switch-wrapper .slider:before,
body.ucApp.dk.darkmode .switch-wrapper input:checked + .slider:before{
	background:#fff url("../images/icon/sun.svg?v=20260827k") no-repeat center center;
	background-size:18px 18px;
}

.ucApps{
	position:relative;
	margin-left:10px;
}
.ucAppsBtn{
	display:flex;
	align-items:center;
	justify-content:center;
	width:36px;
	height:36px;
	padding:0;
	border:1px solid transparent;
	border-radius:8px;
	background:transparent;
	color:#ffcc00;
	cursor:pointer;
}
.ucAppsBtn:hover,
.ucApps.is-open .ucAppsBtn{
	color:#ffe14d;
	background:#252a32;
	border-color:#2a2e39;
}
.ucAppsMenu{
	display:none;
	position:absolute;
	top:100%;
	right:0;
	width:220px;
	margin-top:10px;
	padding:6px 0;
	background:#252a32;
	border:1px solid #2a2e39;
	border-radius:10px;
	z-index:120;
	box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.ucApps.is-open .ucAppsMenu{display:block;}
.ucAppsMenu a{
	display:flex !important;
	align-items:center;
	gap:12px;
	width:100%;
	box-sizing:border-box;
	margin:0;
	padding:10px 16px;
	color:#f5f6f7;
	font-size:14px;
	line-height:20px;
	text-decoration:none;
	background:none;
	cursor:pointer;
	position:relative;
	z-index:1;
}
.ucAppsMenu a *,
.ucAppsMenu a svg{
	pointer-events:none;
}
.ucAppsMenu a svg{
	flex-shrink:0;
	color:#8b949e;
}
.ucAppsMenu a:hover{
	background:#2f3540;
	color:#fff;
}
.ucAppsMenu a:hover svg{color:#ffcc00;}
body.dk.darkmode .ucAppsBtn{color:#c99400;}
body.dk.darkmode .ucAppsBtn:hover,
body.dk.darkmode .ucApps.is-open .ucAppsBtn{
	color:#c99400;
	background:#f5f6f7;
	border-color:#eaecef;
}
body.dk.darkmode .ucAppsMenu{
	background:#fff;
	border-color:#eaecef;
	box-shadow:0 8px 24px rgba(24,28,34,.08);
}
body.dk.darkmode .ucAppsMenu a{color:#1e2329;}
body.dk.darkmode .ucAppsMenu a svg{color:#707a8a;}
body.dk.darkmode .ucAppsMenu a:hover{background:#f5f6f7;}
body.dk.darkmode .ucAppsMenu a:hover svg{color:#c99400;}

.ucFoot{
	padding:18px 20px 22px;
	text-align:center;
	color:#8b949e;
	font-size:12px;
	line-height:18px;
}
body.dk.darkmode .ucFoot{color:#707a8a;}

/* Login / register / forgot — same dark user-center shell */
body.ucGate{
	background:#12161c;
	margin:0;
}
body.ucGate .header{
	position:fixed;
	top:0;
	left:0;
	right:0;
	z-index:80;
	background:#12161c;
	border-bottom:1px solid #2a2e39;
	box-shadow:none;
}
body.ucGate .header .hdK{
	height:64px;
	padding:0 24px;
	max-width:none;
}
body.ucGate .header .hdR{margin-left:auto;}
body.ucGate .header .nav,
body.ucGate .hd_nav{display:none !important;}
body.ucGate .loginHr,
body.ucGate .login-outher{display:none !important;}
body.ucGate .loginB{
	background:#12161c !important;
	background-image:none !important;
	min-height:100vh;
	height:auto;
	padding:100px 16px 48px;
	box-sizing:border-box;
}
body.ucGate .loginW{
	position:relative;
	top:auto;
	left:auto;
	transform:none;
	margin:0 auto;
	width:440px;
	max-width:100%;
}
body.ucGate .loginWT{
	background:#1c2128;
	border:1px solid #2a2e39;
	border-radius:12px;
	padding:36px 28px 24px;
	color:#f5f6f7;
}
body.ucGate .loginTit,
body.ucGate .loginCIt,
body.ucGate .loginInP,
body.ucGate .success p,
body.ucGate .selectUl li{color:#f5f6f7;}
body.ucGate .loginCII,
body.ucGate .login-outher a,
body.ucGate .selectUl{
	background:#0e1218;
	border-color:#2a2e39;
}
body.ucGate .login-outher a{color:#f5f6f7;padding-left:24px;}
body.ucGate .login-outher a:hover{background:#252a32;}
body.ucGate .loginF a,
body.ucGate .go-res a,
body.ucGate .LogFoz{color:#ffcc00;}
body.ucGate .go-res{color:#8b949e;justify-content:center;}
body.ucGate .l-copy{position:static;margin-top:24px;color:#8b949e;}
body.ucGate .login-sub{background:#ffcc00;color:#111;font-weight:700;cursor:pointer;}
body.ucGate .login-sub.prev{background:#252a32;color:#f5f6f7;}
body.ucGate .secsel{color:#f5f6f7;border-right-color:#2a2e39;}

body.ucGate.light-theme{
	background:#f5f6fa;
}
body.ucGate.light-theme .header{
	background:#fff;
	border-bottom-color:#eaecef;
}
body.ucGate.light-theme .loginB{
	background:#f5f6fa !important;
	background-image:none !important;
}
body.ucGate.light-theme .loginWT{
	background:#fff;
	border-color:#eaecef;
	color:#1e2329;
}
body.ucGate.light-theme .loginTit,
body.ucGate.light-theme .loginCIt,
body.ucGate.light-theme .loginInP,
body.ucGate.light-theme .success p,
body.ucGate.light-theme .selectUl li{color:#1e2329;}
body.ucGate.light-theme .loginCII,
body.ucGate.light-theme .login-outher a,
body.ucGate.light-theme .selectUl{
	background:#fff;
	border-color:#eaecef;
}
body.ucGate.light-theme .login-outher a{color:#1e2329;}
body.ucGate.light-theme .login-outher a:hover{background:#f5f6f7;}
body.ucGate.light-theme .go-res,
body.ucGate.light-theme .l-copy{color:#707a8a;}
body.ucGate.light-theme .login-sub.prev{background:#eaecef;color:#1e2329;}
body.ucGate.light-theme .secsel{color:#1e2329;border-right-color:#eaecef;}
