html, body {
	max-width: 550px;
	margin: 0 auto;
	padding: 0;
	font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
	background: #1a2338;
}

.main-container {
	position: relative;
	background: #1a2338;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	padding-bottom: 24px;
	overflow-x: hidden;
	min-height: 100vh;
	isolation: isolate;
}

.main-container::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	height: 100%;
	background: url("../images/bg.png") no-repeat center top;
	background-size: 100% auto;
	mix-blend-mode: luminosity;
	opacity: 0.8;
	pointer-events: none;
	z-index: 0;
}

.main-container > * {
	position: relative;
	z-index: 1;
}

.logo {
	width: 92px;
	height: 40px;
	margin-top: 24px;
}

.main-title {
	width: 84%;
	max-width: 380px;
	margin-top: 20px;
}

.banner-img {
	width: 85%;
	margin-top: 20px;
	pointer-events: none;
}

.button-lists {
	width: 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 12px;
	margin-top: 20px;
	margin-bottom: 4px;
}

.btn1, .btn2 {
	width: 87%;
	height: 44px;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	border: 1px solid transparent;
	border-radius: 100px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	padding: 0;
}

.btn1 {
	background: linear-gradient(180deg, #00c7c0 0%, #0996c7 100%) padding-box,
		linear-gradient(90deg, #007fab 0%, #007fab 24.758%, #8fe2ff 50%, #007fab 74.888%, #007fab 100%) border-box;
	box-shadow: inset 0 1px 2px 0 #ffffff;
}

.btn2 {
	background: linear-gradient(180deg, #ff9d34 0%, #c76700 100%) padding-box,
		linear-gradient(90deg, #ab5e00 0%, #ab5e00 24.758%, #ffce8f 50%, #ab5e00 74.888%, #ab5e00 100%) border-box;
	box-shadow: inset 0 1px 2px 0 #ffffff;
}

.btn3 {
	font-size: 12px;
	font-weight: 600;
	color: #00bfd7;
	border: 0;
	padding: 0.5rem;
	background: transparent;
	text-decoration: underline;
	display: flex;
	justify-content: center;
	cursor: pointer;
}

.hidden {
	display: none !important;
}

/* ---------- bottom sheet (from lh-download-v2) ---------- */

.bottom-sheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	max-width: 550px;
	margin: 0 auto;
	background: #fff;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
	display: none;
	flex-direction: column;
	z-index: 1000;
	animation-duration: 0.3s;
	animation-fill-mode: forwards;
}

.bottom-sheet.sheet-teach {
	height: 77vh;
	background: #212b43;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
}

.bottom-sheet .sheet-inner-body {
	display: flex;
	justify-content: center;
}

.bottom-sheet.active {
	display: flex;
	animation-name: sheetIn;
}

.bottom-sheet.hiding {
	animation-name: sheetOut;
}

@keyframes sheetIn {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes sheetOut {
	from {
		transform: translateY(0);
		opacity: 1;
	}
	to {
		transform: translateY(100%);
		opacity: 0;
	}
}

.inner-sheet {
	position: relative;
}

.sheet-content-bg {
	width: 100%;
	position: relative;
	display: block;
}

.sheet-content-bg2 {
	right: 0;
	position: absolute;
	bottom: 6px;
	width: 200px;
}

.sheet-content-bg3 {
	right: 10px;
	position: absolute;
	bottom: 50%;
	width: 30px;
	transform: translateY(50%);
	cursor: pointer;
}

.sheet-content-1 {
	color: #fff;
	position: absolute;
	left: 10%;
	top: 16%;
	font-size: 32px;
}

.sheet-list-wrap {
	width: 90%;
}

.sub1-download-card {
	width: 100%;
	margin: auto;
	height: 80px;
	background-color: #f5f5f5;
	border-radius: 10px;
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	box-sizing: border-box;
}

.sub1-icon {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	margin-right: 12px;
}

.sub1-content {
	flex: 1;
}

.sub1-title {
	font-size: 16px;
	font-weight: bold;
	color: #000;
	margin-bottom: 8px;
}

.sub1-subtitle {
	font-size: 14px;
	color: #888;
}

.sub1-btn-download {
	width: 100px;
	height: 32px;
	border-radius: 24px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	border: none;
	cursor: pointer;
}

.sub1-btn-download.sub1-active {
	background: linear-gradient(to bottom right, #58b8ff, #2196f3);
}

.sub1-btn-download.sub1-inactive {
	background: linear-gradient(to bottom right, #aaaaaa, #666666);
	cursor: default;
}

#ios-lists {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding-top: 10px;
	padding-bottom: 4px;
}

#ios-lists .sub1-download-card {
	flex-direction: column;
	align-items: stretch;
	height: auto;
	padding: 10px;
	gap: 8px;
}

#ios-lists .sub1-card-top {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

#ios-lists .sub1-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	margin-right: 0;
	flex-shrink: 0;
}

#ios-lists .sub1-content {
	min-width: 0;
}

#ios-lists .sub1-title {
	font-size: 13px;
	margin-bottom: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#ios-lists .sub1-subtitle {
	font-size: 12px;
	color: #8d8d8d;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#ios-lists .sub1-card-footer {
	border-top: 1px solid #ececec;
	padding-top: 8px;
	display: flex;
	justify-content: flex-end;
}

#ios-lists .sub1-btn-download {
	width: fit-content;
	height: 28px;
	padding: 0 20px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1;
}

#ios-lists .sub1-btn-download.sub1-active {
	background: linear-gradient(180deg, #70cbfb 0%, #4aa5ff 49%, #4aa5ff 91.5%, #6ec7fd 100%);
}

#ios-lists .sub1-btn-download.sub1-inactive {
	background: linear-gradient(90deg, #c9c9c9 0%, #646464 100%);
}

#ios-lists .sub1-download-card:nth-child(odd):last-child {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: center;
}

#ios-lists .sub1-download-card:nth-child(odd):last-child .sub1-card-top {
	flex: 1;
}

#ios-lists .sub1-download-card:nth-child(odd):last-child .sub1-card-footer {
	border-top: none;
	padding-top: 0;
}

@media (max-width: 400px) {
	#ios-lists .sub1-title {
		font-size: 11px;
	}
	#ios-lists .sub1-subtitle {
		font-size: 10px;
	}
}

.sheet-switch-btn {
	width: 100%;
	margin: 0 0 20px;
	box-sizing: border-box;
	font-weight: bold;
	color: #fff;
	font-size: 14px;
	border: 0;
	padding: 0.8rem;
	border-radius: 12px;
	display: flex;
	justify-content: center;
	background: url("../images/appDbutton.png") no-repeat center center;
	background-size: 100% 100%;
	cursor: pointer;
}

.sheet-mask {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	transition: opacity 0.2s;
}

.sheet-mask.hidden {
	display: none;
}

/* ---------- teach sheet (from lh-download-v2) ---------- */

.teach1-header-tip {
	background: transparent;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	text-align: center;
	width: 100%;
	position: relative;
}

.teach1-notch {
	width: 60px;
	height: 4px;
	background-color: #d9d9d9;
	border-radius: 40px;
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
}

.teach1-title {
	color: #00bfd7;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 6px;
	margin-top: 32px;
}

.teach1-subtitle {
	font-size: 12px;
	color: #fff;
	margin: 0;
}

.teach1-step-gallery {
	overflow: auto;
	padding: 20px 16px;
	box-sizing: border-box;
}

/* ---------- safari modal (from lh-download-v2) ---------- */

.modal-open {
	position: fixed;
	background: rgba(0, 0, 0, 0.5);
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99;
}

.modal-div {
	position: relative;
	width: 100vw;
	height: 100vh;
}

.modal-inner {
	width: calc(100% - 80px);
	min-width: 330px;
	max-width: 470px;
	height: 200px;
	background: #fff;
	border-radius: 10px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.modal-header {
	border-radius: 10px 10px 0 0;
	background: #40b6fc;
	height: 80px;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #fff;
	font-weight: bold;
	font-size: 19px;
}

.color-rose {
	color: #ff2d55;
}

.modal-input {
	background: #b3b3b3;
	height: 38px;
	border-radius: 20px;
	width: calc(100% - 20px);
	margin: 25px auto 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.url-input {
	padding: 4px 10px;
	box-sizing: border-box;
	font-size: 17px;
	white-space: nowrap;
	overflow: hidden;
	width: calc(100% - 60px);
	text-overflow: ellipsis;
}

.copy-btn {
	background: #40b6fc;
	height: 100%;
	border-radius: 0 24px 24px 0;
	width: 60px;
	padding: 4px 8px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
}

.copy-btn:active {
	filter: brightness(0.86);
	transform: translate(0.5px, 1px);
}

/* ---------- weixin tip ---------- */

.weixin_tip {
	color: white;
	font-size: 14px;
	height: 100%;
	text-align: center;
	line-height: 20px;
}
