html.iq-fit-root,
body.iq-fit-root {
	height: 100svh;
	min-height: 100svh;
	overflow: hidden !important;
}

.iq-fit-page {
	height: 100svh !important;
	min-height: 100svh !important;
	max-height: 100svh !important;
	overflow: hidden !important;
}

.iq-fit-shell {
	transform-origin: top center;
	will-change: transform;
}

html.iq-fit-root .auth-shell,
html.iq-fit-root .legacy-fit-shell,
html.iq-fit-root .user-center-shell,
html.iq-fit-root .profile-shell,
html.iq-fit-root .cash-shell,
html.iq-fit-root .record-shell,
html.iq-fit-root .message-shell,
html.iq-fit-root .vip-shell,
html.iq-fit-root .bind-card-shell,
html.iq-fit-root .pwd-shell,
html.iq-fit-root .welcome-shell,
html.iq-fit-root .agent-shell,
html.iq-fit-root .wallet-fit-shell {
	margin-left: auto !important;
	margin-right: auto !important;
}

html.iq-fit-root .auth-shell,
html.iq-fit-root .legacy-fit-shell,
html.iq-fit-root .user-center-shell,
html.iq-fit-root .profile-shell,
html.iq-fit-root .cash-shell,
html.iq-fit-root .record-shell,
html.iq-fit-root .message-shell,
html.iq-fit-root .vip-shell,
html.iq-fit-root .bind-card-shell,
html.iq-fit-root .pwd-shell,
html.iq-fit-root .welcome-shell,
html.iq-fit-root .agent-shell,
html.iq-fit-root .wallet-fit-shell {
	width: 100vw !important;
	max-width: none !important;
}

html.iq-fit-root .auth-page,
html.iq-fit-root .user-center-page,
html.iq-fit-root .profile-page,
html.iq-fit-root .cash-page,
html.iq-fit-root .record-page,
html.iq-fit-root .message-page,
html.iq-fit-root .vip-page,
html.iq-fit-root .bind-card-page,
html.iq-fit-root .pwd-page,
html.iq-fit-root .welcome-page,
html.iq-fit-root .agent-page,
html.iq-fit-root .wallet-fit-page {
	display: flex !important;
	justify-content: center !important;
	max-height: 100svh !important;
	overflow: hidden !important;
}

html.iq-fit-root .auth-shell,
html.iq-fit-root .profile-shell,
html.iq-fit-root .cash-shell,
html.iq-fit-root .record-shell,
html.iq-fit-root .vip-shell,
html.iq-fit-root .bind-card-shell,
html.iq-fit-root .agent-shell,
html.iq-fit-root .wallet-fit-shell {
	display: grid !important;
	grid-template-rows: auto minmax(0, 1fr) !important;
	height: 100svh !important;
	min-height: 100svh !important;
	overflow: hidden !important;
}

html.iq-fit-root .message-shell,
html.iq-fit-root .pwd-shell {
	display: grid !important;
	grid-template-rows: auto auto minmax(0, 1fr) !important;
	height: 100svh !important;
	min-height: 100svh !important;
	overflow: hidden !important;
}

html.iq-fit-root .user-center-shell {
	display: grid !important;
	grid-template-rows: auto minmax(0, 1fr) auto !important;
	height: 100svh !important;
	min-height: 100svh !important;
	overflow: hidden !important;
}

html.iq-fit-root .welcome-shell {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 100svh !important;
	min-height: 100svh !important;
	overflow: hidden !important;
}

html.iq-fit-root .auth-main,
html.iq-fit-root .user-center-main,
html.iq-fit-root .profile-main,
html.iq-fit-root .cash-main,
html.iq-fit-root .record-main,
html.iq-fit-root .message-main,
html.iq-fit-root .hall-content,
html.iq-fit-root .vip-main,
html.iq-fit-root .bind-card-main,
html.iq-fit-root .pwd-main,
html.iq-fit-root .agent-main {
	min-height: 0 !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

html.iq-fit-root .auth-main::-webkit-scrollbar,
html.iq-fit-root .user-center-main::-webkit-scrollbar,
html.iq-fit-root .profile-main::-webkit-scrollbar,
html.iq-fit-root .cash-main::-webkit-scrollbar,
html.iq-fit-root .record-main::-webkit-scrollbar,
html.iq-fit-root .message-main::-webkit-scrollbar,
html.iq-fit-root .hall-content::-webkit-scrollbar,
html.iq-fit-root .vip-main::-webkit-scrollbar,
html.iq-fit-root .bind-card-main::-webkit-scrollbar,
html.iq-fit-root .pwd-main::-webkit-scrollbar,
html.iq-fit-root .agent-main::-webkit-scrollbar {
	display: none;
}

html.iq-fit-root .user-bottom-nav,
html.iq-fit-root .hall-bottom-nav {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	flex: 0 0 auto;
	width: 100% !important;
	transform: none !important;
}

html.iq-fit-root .record-filter-card {
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	transform: none !important;
}

html.iq-fit-root .user-bottom-link,
html.iq-fit-root .hall-bottom-link,
html.iq-fit-root .merchant-chip,
html.iq-fit-root .cash-record-summary-toggle svg {
	transition: none !important;
	animation: none !important;
}

html.iq-fit-root .merchant-chip.is-active,
html.iq-fit-root .user-bottom-link:active,
html.iq-fit-root .user-bottom-link:focus,
html.iq-fit-root .hall-bottom-link:active,
html.iq-fit-root .hall-bottom-link:focus {
	transform: none !important;
}

body.iq-fit-legacy,
body.iq-fit-legacy html {
	overflow: hidden !important;
}

body.iq-fit-legacy #app,
body.iq-fit-legacy #main,
body.iq-fit-legacy .main,
body.iq-fit-legacy .mui-content,
body.iq-fit-legacy .lottery-wrap,
body.iq-fit-legacy .content-wrapper,
body.iq-fit-legacy .active-content,
body.iq-fit-legacy .trip_lump,
body.iq-fit-legacy .reg-page,
body.iq-fit-legacy .scroll_box,
body.iq-fit-legacy .am-list-view-scrollview,
body.iq-fit-legacy .am-list-view-scrollview-content {
	max-height: 100svh !important;
	overflow: hidden !important;
}

body.iq-fit-legacy .legacy-footer-page {
	display: flex;
	flex-direction: column;
	height: 100svh !important;
	min-height: 100svh !important;
	max-height: 100svh !important;
	overflow: hidden !important;
}

body.iq-fit-legacy .legacy-fit-scroll-panel {
	flex: 1 1 auto;
	min-height: 0;
	height: auto !important;
	max-height: none !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

body.iq-fit-legacy .legacy-fit-scroll-panel--header-gap {
	padding-top: 0.88rem !important;
}

body.iq-fit-legacy .legacy-fit-scroll-content {
	position: static !important;
	min-width: 100% !important;
	width: 100%;
}

body.iq-fit-legacy .footer-nav {
	display: flex;
	align-items: stretch;
	justify-content: center;
	width: 100%;
	min-height: 1.1rem;
	background-size: cover;
	background-color: transparent;
}

body.iq-fit-legacy .legacy-footer-page > .footer-nav {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	flex: 0 0 auto;
	z-index: 20;
}

body.iq-fit-legacy .footer-nav * {
	box-sizing: border-box;
}

body.iq-fit-legacy .footer-nav > div {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: center;
	justify-items: center;
	width: 100%;
	min-height: 1.1rem;
	padding: 0 .54rem calc(env(safe-area-inset-bottom) * .5);
	background: #fff;
	box-shadow: 0 0 1px rgb(0 0 0 / 25%);
	border-radius: 12px 12px 0 0;
}

body.iq-fit-legacy .footer-nav li {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	height: 1rem;
	margin-top: 6px;
	position: relative;
	text-align: center;
}

body.iq-fit-legacy .footer-nav li .unreadMes {
	background: #ff4941;
	box-shadow: 0 1px 1px 0 rgba(255, 77, 85, .4);
	width: .16rem;
	height: .16rem;
	border-radius: 50%;
	position: absolute;
	top: .1rem;
	right: -.16rem;
}

body.iq-fit-legacy .footer-nav .footer-link {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

body.iq-fit-legacy .footer-nav .footer-link span {
	font-size: .22rem;
	margin-top: .1rem;
	color: #929292;
	white-space: nowrap;
}

body.iq-fit-legacy .footer-nav .active span {
	color: #ff2742;
}

body.iq-fit-legacy .footer-nav .footer-link img {
	height: .5rem;
	width: auto;
	transform: none !important;
}

body.iq-fit-legacy .iq-section,
body.iq-fit-legacy .iq-card-thumb img,
body.iq-fit-legacy .iq-hero-background img,
body.iq-fit-legacy .cash-record-summary-toggle svg,
body.iq-fit-legacy .merchant-chip,
body.iq-fit-legacy .footer-nav .footer-link,
body.iq-fit-legacy .footer-nav .footer-link img {
	transition: none !important;
	animation: none !important;
}

body.iq-fit-legacy .iq-card:hover .iq-card-thumb img,
body.iq-fit-legacy .iq-hero-slide.is-current .iq-hero-background img,
body.iq-fit-legacy .merchant-chip.is-active,
body.iq-fit-legacy .footer-nav .footer-link:active,
body.iq-fit-legacy .footer-nav .footer-link:focus {
	transform: none !important;
}
