/* 迷梦峡谷・抱团有礼 TASK-202609-077 */
/*
 * 业务区重置。勿对 body 直挂的第三方验证码（阿里云/顶像）做全局
 * box-sizing / margin / padding / img / button 重置，否则弹窗布局会错乱。
 */
.page,
.page *,
.page *::before,
.page *::after,
.pc-float,
.pc-float *,
.pc-float *::before,
.pc-float *::after,
.bottom-nav,
.bottom-nav *,
.bottom-nav *::before,
.bottom-nav *::after,
.mask,
.dialog,
.dialog *,
.dialog *::before,
.dialog *::after,
.toast {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	width: 100%;
	min-height: 100%;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

body {
	color: #4a2f24;
	font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	background: #6eb8e8;
}

.page img,
.pc-float img,
.dialog img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.page a,
.pc-float a,
.dialog a,
.bottom-nav a {
	text-decoration: none;
	color: inherit;
}

.page button,
.bottom-nav button,
.dialog button {
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
	font: inherit;
	color: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.page ul,
.page ol,
.dialog ul,
.dialog ol {
	list-style: none;
}

/*
 * 阿里云 / 顶像验证码隔离（仅本活动）：
 * - 弹层期间字号锁定与 zoom 补偿在 js/index.a.js，不改公共 captcha.js
 * - 弹层挂在 body 上，禁止业务区 img/button 规则污染拼图
 * - 顶像滑块手柄依赖 SDK 自身宽高，禁止对 .dx_captcha img 强制 width/height:auto
 */
#aliyun-captcha-element,
#aliyun-captcha-trigger,
#aliyunCaptcha-masking,
#aliyunCaptcha-window-popup,
div[id^="aliyunCaptcha"],
.aliyun-captcha,
.dx_captcha {
	font-size: 14px !important;
	line-height: normal;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

/* 顶像：只隔离字号与层级，不改内部 img 尺寸（否则滑块手柄会撑成大红叉） */
.dx_captcha {
	z-index: 100002 !important;
	box-sizing: content-box;
}

.dx_captcha *,
.dx_captcha *::before,
.dx_captcha *::after {
	box-sizing: content-box;
}

.dx_captcha img {
	max-width: none !important;
}

/* 阿里云：拼图需取消业务区 max-width，并放开 width/height */
#aliyunCaptcha-masking img,
#aliyunCaptcha-window-popup img,
div[id^="aliyunCaptcha"] img,
.aliyun-captcha img {
	max-width: none !important;
	width: auto !important;
	height: auto !important;
	display: inline-block !important;
}

#aliyunCaptcha-masking button,
#aliyunCaptcha-window-popup button,
div[id^="aliyunCaptcha"] button,
.aliyun-captcha button {
	font: inherit;
}

/* ========== PC 大背景 + 移动端画布居中 ========== */
.page {
	position: relative;
	width: 7.5rem;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
	/* 头图从顶部按钮栏下方起铺，避免 Slogan/角色被顶栏挡住 */
	background: #6eb8e8 url("../assets/bg.jpg?v=3") no-repeat center 1.0rem / 100% auto;
	padding-bottom: 0;
	min-height: 100vh;
}

@media (min-width: 769px) {
	body {
		background: #6eb8e8 url("../assets/pc-bg.jpg?v=1") no-repeat center top / cover;
		background-attachment: fixed;
		min-height: 100vh;
	}

	.page {
		width: 7.5rem;
		box-shadow: 0 0 0.24rem rgba(20, 60, 100, 0.35);
	}
}

/* ========== PC 右侧固定浮窗 ========== */
.pc-float {
	display: none;
}

/* 宽屏才展示，避免挤占中间画布 */
@media (min-width: 1100px) {
	.pc-float {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.12rem;
		position: fixed;
		/* 贴齐页面最右侧 */
		left: auto;
		right: 0.16rem;
		top: 42%;
		transform: translateY(-50%);
		z-index: 80;
		width: 2.17rem;
	}

	.pc-float-tip {
		width: 100%;
	}

	.pc-float-detail {
		display: block;
		width: 1.14rem;
		line-height: 0;
	}

	.pc-float-detail img {
		display: block;
		width: 100%;
		height: auto;
	}

	.pc-float-qr {
		width: 100%;
	}
}

/* ========== 顶部三按钮 ========== */
.top-bar {
	position: relative;
	z-index: 10;
	width: 100%;
	height: 1.11rem;
	background: url("../assets/top-btns-bg.png?v=1") no-repeat center top / 100% 100%;
}

.top-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 0.9rem;
	padding: 0.08rem 0.28rem 0;
}

.top-btn {
	width: 2.1rem;
	transition: transform 0.15s ease;
}

.top-btn:active {
	transform: scale(0.96);
}

.top-btn img {
	width: 100%;
}

/* ========== 头图 / 时间 ========== */
.section-hero {
	position: relative;
	width: 100%;
	padding: 0 0 0.2rem;
	min-height: 0;
}

.time-banner {
	display: block;
	width: 5.49rem;
	max-width: 92%;
	margin: 4rem auto 0;
	position: relative;
	z-index: 1;
}

/* ========== 公共板块 ========== */
.section {
	position: relative;
	width: 100%;
	padding: 0.2rem 0 0.15rem;
}

.section-title {
	display: block;
	width: 3.78rem;
	max-width: 52%;
	margin: 0 auto 0.2rem;
}

/* ========== 抱团好礼 ========== */
.team-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 0.3rem 0.15rem;
}

.btn-login {
	width: 2.07rem;
	margin-bottom: 0.18rem;
	transition: transform 0.15s ease;
}

.btn-login:active {
	transform: scale(0.96);
}

.btn-login img {
	width: 100%;
}

.login-after {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.16rem;
	margin-bottom: 0.12rem;
	font-size: 0.22rem;
	color: #5a3a28;
	font-weight: 700;
}

.login-after[hidden] {
	display: none !important;
}

.btn-logout {
	padding: 0.04rem 0.16rem;
	border: 0.02rem solid #8a5a18;
	border-radius: 0.06rem;
	background: #f0d090;
	color: #5a3a28;
	font-size: 0.18rem;
	font-weight: 700;
	cursor: pointer;
}

.link-bind {
	margin-left: 0.12rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1d5a9c;
	font-size: 0.2rem;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.dialog-select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.team-ops {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.18rem;
	margin-bottom: 0.12rem;
}

.btn-op {
	width: 1.62rem;
	transition: transform 0.15s ease, filter 0.2s ease;
}

.btn-op:active:not(.is-disabled) {
	transform: scale(0.96);
}

.btn-op img {
	width: 100%;
}

.btn-op.is-disabled,
.btn-op:disabled {
	cursor: not-allowed;
	filter: grayscale(1);
}

.team-tip {
	text-align: center;
	color: #e33a2f;
	font-size: 0.18rem;
	line-height: 1.4;
	font-weight: 600;
	padding: 0.08rem 0.24rem;
	border-radius: 0.08rem;
	background: rgba(255, 255, 255, 0.58);
	box-shadow: 0 0.02rem 0.06rem rgba(255, 255, 255, 0.25);
}

.panel {
	position: relative;
	width: 7.1rem;
	max-width: 96%;
	margin: 0.1rem auto 0;
	/* 内容框左右留出内边距，避免贴边 */
	padding: 0.28rem 0.38rem 0.36rem;
	background: url("../assets/panel-bg.png?v=2") no-repeat center top / 100% 100%;
}

.panel-team {
	min-height: 8.2rem;
}

.team-count {
	text-align: center;
	font-size: 0.3rem;
	font-weight: 700;
	color: #2a4f8a;
	margin-bottom: 0.12rem;
}

.team-count span {
	color: #d4551a;
	font-size: 0.34rem;
}

.team-scroll-tip {
	font-size: 0.2rem;
	line-height: 1.5;
	color: #5a4638;
	padding: 0 0.1rem 0.16rem;
	text-align: justify;
}

.reward-list {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	/* 左侧轨道宽 0.56rem，竖线与菱形标识共用同一中心 */
	--track-w: 0.56rem;
	--dot-w: 0.3rem;
	padding: 0 0.08rem 0 var(--track-w);
}

.reward-empty {
	padding: 0.36rem 0.16rem;
	font-size: 0.22rem;
	line-height: 1.4;
	color: #6a5648;
	text-align: center;
}

.reward-item {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 1.22rem;
	min-height: 1.22rem;
	/* 尖角六边形内区左右各约 0.31rem，内容必须落在金边框内侧 */
	padding: 0.04rem 0.42rem 0.04rem 0.12rem;
	background: url("../assets/reward-row-bg.png?v=2") no-repeat center / 100% 100%;
	z-index: 1;
	overflow: visible;
}

/* 纵向进度竖线：中心与标识中心对齐 */
.reward-list::before {
	content: '';
	position: absolute;
	left: calc(var(--track-w) / 2);
	top: 0.55rem;
	bottom: 0.45rem;
	width: 0.04rem;
	transform: translateX(-50%);
	background: #a67a3a;
	border-radius: 0.02rem;
	z-index: 0;
	pointer-events: none;
}

.reward-flag {
	position: relative;
	flex: 0 0 0.58rem;
	width: 0.58rem;
	height: 0.82rem;
	margin: -0.12rem 0.06rem 0 0.02rem;
	align-self: flex-start;
	z-index: 2;
	/* 人数旗从六边形顶边探出，不受 overflow 裁切 */
	overflow: visible;
}

.reward-flag img {
	width: 100%;
	height: auto;
}

.reward-flag-num {
	position: absolute;
	left: 0;
	right: 0;
	top: 0.16rem;
	text-align: center;
	font-size: 0.18rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.reward-item:last-child .reward-flag-num {
	font-size: 0.14rem;
}

.reward-progress {
	position: absolute;
	/* 相对奖励行：轨道居中放置菱形，与竖线同轴 */
	left: calc(0px - var(--track-w) / 2 - var(--dot-w) / 2);
	top: 50%;
	transform: translateY(-50%);
	width: var(--dot-w);
	height: auto;
	z-index: 2;
	pointer-events: none;
}

.reward-item.is-reached .reward-progress {
	filter: none;
}

.reward-gifts {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.12rem;
	min-width: 0;
	height: 100%;
	padding: 0 0.08rem;
	overflow: hidden;
}

.gift-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 0.96rem;
	width: 0.96rem;
	max-width: 1.1rem;
	height: 100%;
}

/* 礼包详情：放在图标右侧空位，不再依赖悬停 title */
.gift-detail {
	flex: 1;
	min-width: 0;
	max-height: 100%;
	padding: 0.04rem 0.06rem 0.04rem 0;
	font-size: 0.15rem;
	line-height: 1.35;
	color: #4a3428;
	text-align: left;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	word-break: break-word;
}

/* 奖励图标直接落在六边形内，不再套方形底框以免撑出金边 */
.gift-frame {
	position: relative;
	width: 0.62rem;
	height: 0.62rem;
	background: none;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	cursor: default;
}

.gift-frame[title] {
	cursor: help;
}

.gift-frame img {
	width: 0.58rem;
	height: auto;
	max-height: 0.62rem;
	object-fit: contain;
}

.gift-name {
	margin-top: 0.02rem;
	font-size: 0.15rem;
	color: #4a3428;
	text-align: center;
	line-height: 1.15;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.reward-status {
	flex: 0 0 1.28rem;
	width: 1.28rem;
	margin-left: 0.04rem;
	flex-shrink: 0;
}

.reward-status img {
	width: 100%;
}

.reward-status.is-claimable {
	cursor: pointer;
	transition: transform 0.15s ease;
}

.reward-status.is-claimable:active {
	transform: scale(0.96);
}

/* ========== 更多福利 ========== */
.panel-welfare {
	min-height: 7.2rem;
}

.welfare-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0.08rem 0.14rem;
}

.bind-line {
	font-size: 0.26rem;
	font-weight: 700;
	color: #2a4f8a;
}

/* 高于 .page button { font: inherit }，避免继承 html rem 导致字号过大 */
.page button.link-rules,
.link-rules {
	font-size: 0.2rem;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.2;
	color: #1a6fd0;
	text-decoration: underline;
}

.task-list {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding: 0 0.1rem;
}

.task-item {
	display: flex;
	align-items: center;
	width: 100%;
	height: 1.46rem;
	min-height: 1.46rem;
	/* 尖角六边形内区左右再加大留白 */
	padding: 0.08rem 0.46rem 0.08rem 0.44rem;
	background: url("../assets/task-row-bg.png?v=1") no-repeat center / 100% 100%;
	overflow: hidden;
}

.task-info {
	flex: 1;
	min-width: 0;
	padding-right: 0.06rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.task-server,
.task-desc {
	font-size: 0.22rem;
	font-weight: 700;
	color: #6b2a22;
	line-height: 1.25;
	white-space: nowrap;
}

.task-desc {
	margin-top: 0.02rem;
}

.task-hl {
	color: #e03028;
	font-weight: 700;
}

.task-divider {
	width: 100%;
	height: 0;
	margin: 0.06rem 0 0.05rem;
	border: 0;
	border-top: 1px solid #8a7a6c;
}

.task-time {
	font-size: 0.15rem;
	color: #5a4a40;
	line-height: 1.2;
	white-space: nowrap;
	letter-spacing: -0.01em;
}

.task-reward {
	flex: 0 0 0.78rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-right: 0.04rem;
	margin-top: -20px;
	flex-shrink: 0;
}

.task-reward .gift-frame {
	width: 0.7rem;
	height: 0.7rem;
	background: url("../assets/reward-frame.png?v=1") no-repeat center / contain;
}

.task-reward .gift-frame img {
	width: 0.46rem;
	max-height: 0.5rem;
}

.task-status {
	flex: 0 0 1.28rem;
	width: 1.28rem;
	flex-shrink: 0;
}

.task-status img {
	width: 100%;
}

.task-status.is-claimable {
	cursor: pointer;
}

.welfare-foot {
	margin-top: 0.16rem;
	padding: 0 0.08rem;
	font-size: 0.18rem;
	line-height: 1.5;
	color: #6a5648;
	text-align: justify;
}

/* ========== 小程序 ========== */
.section-mp {
	padding-bottom: 0;
}

.mp-wrap {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}

.mp-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}

/* ========== 底部固定 Tab ========== */
.bottom-nav {
	position: fixed;
	left: 50%;
	bottom: 0;
	z-index: 90;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 0;
	width: 7.5rem;
	max-width: 100%;
	/* 高度不含安全区，避免 border-box 把内容区挤没 */
	height: auto;
	min-height: 0.92rem;
	padding: 0;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	transform: translateX(-50%);
	background: transparent;
	box-shadow: none;
}

.nav-item {
	position: relative;
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	/* 以选中态高度为点击区，未选中切图底对齐后视觉更矮 */
	height: 0.92rem;
	margin: 0;
	padding: 0;
	min-width: 0;
}

/* tab-off 187x82，按原比例 */
.nav-bg {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 1.87rem;
	height: 0.82rem;
	transform: translateX(-50%);
	background: url("../assets/tab-off.png?v=1") no-repeat center / 100% 100%;
	opacity: 1;
}

/* tab-on 184x92，比未选中更高 */
.nav-item.is-active .nav-bg {
	width: 1.84rem;
	height: 0.92rem;
	background-image: url("../assets/tab-on.png?v=1");
}

.nav-text {
	position: relative;
	z-index: 1;
	font-size: 0.24rem;
	font-weight: 700;
	color: #6b3a22;
	letter-spacing: 0.02em;
	text-shadow: none;
	/* 未选中切图较矮，文字略上移以视觉居中 */
	padding-bottom: 0.04rem;
}

.nav-item.is-active .nav-text {
	color: #fff;
	font-size: 0.26rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	padding-bottom: 0;
}

/* ========== 弹窗 ========== */
.mask {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(0, 0, 0, 0.62);
}

.dialog {
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 110;
	width: 6.4rem;
	max-width: 92vw;
	max-height: 82vh;
	transform: translate(-50%, -50%);
	background: linear-gradient(180deg, #f7edd8 0%, #efe0c0 100%);
	border: 0.04rem solid #c9a45a;
	border-radius: 0.16rem;
	box-shadow: 0 0.12rem 0.4rem rgba(0, 0, 0, 0.35), inset 0 0 0 0.02rem rgba(255, 255, 255, 0.45);
	overflow: hidden;
}

/* 登录 / 加团 / 分享等：使用弹窗底切图 */
.dialog-skin {
	width: 5.96rem;
	min-height: 4.06rem;
	padding: 0 0 0.36rem;
	background: url("../assets/dialog-bg.png?v=3") no-repeat center top / 100% 100%;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.dialog[hidden],
.mask[hidden],
.toast[hidden],
.login-after[hidden] {
	display: none !important;
}

.dialog-hd {
	position: relative;
	height: 0.72rem;
	background: linear-gradient(180deg, #2a5fa8 0%, #1d4a88 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dialog-skin .dialog-hd {
	height: 0.37rem;
	margin: 0.08rem 0.08rem 0;
	background: transparent;
}

.dialog-hd h3,
.dialog-rules > h3,
.dialog-skin > .dialog-title {
	font-size: 0.32rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.04em;
}

.dialog-skin > .dialog-title {
	display: flex;
	align-items: center;
	justify-content: center;
	/* 蓝条约在切图 y=8~45（0.08~0.45rem），标题必须落在蓝区内 */
	height: 0.37rem;
	margin: 0.08rem 0.56rem 0;
	padding: 0;
	font-family: SimSun, "宋体", "Songti SC", serif;
	font-size: 0.22rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	text-align: center;
	pointer-events: none;
	overflow: hidden;
	white-space: nowrap;
}

.dialog-rules > h3 {
	color: #4a2f24;
	text-align: center;
	padding: 0.28rem 0.5rem 0.1rem;
	font-size: 0.34rem;
}

.dialog-close {
	position: absolute;
	right: 0.12rem;
	top: 0.12rem;
	width: 0.48rem;
	height: 0.48rem;
	border-radius: 50%;
	background: rgba(20, 30, 50, 0.55);
	color: #fff;
	font-size: 0.36rem;
	line-height: 0.44rem;
	text-align: center;
	z-index: 2;
}

/*
 * .dialog button { font/color: inherit } 会盖掉文本「×」字号。
 * 规则/皮肤弹窗统一用切图关闭，并提高选择器优先级，避免字号错位。
 */
.dialog button.dialog-close {
	background: transparent;
	color: transparent;
	font: 0/0 a;
	text-align: center;
}

.dialog-skin .dialog-close,
.dialog.dialog-skin button.dialog-close,
.dialog-rules .dialog-close,
.dialog.dialog-rules button.dialog-close {
	right: 0.06rem;
	top: 0.04rem;
	width: 0.56rem;
	height: 0.54rem;
	border-radius: 0;
	background: transparent;
	color: transparent;
	font-size: 0;
	line-height: 0;
}

.dialog-rules .dialog-close,
.dialog.dialog-rules button.dialog-close {
	top: 0.12rem;
	right: 0.12rem;
	width: 0.48rem;
	height: 0.48rem;
}

.dialog-skin .dialog-close img,
.dialog-rules .dialog-close img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dialog-bd {
	padding: 0.28rem 0.32rem 0.36rem;
}

.dialog-skin .dialog-bd {
	/* 对照设计稿：内容区左右留白更大，输入框约 4.1rem 宽 */
	padding: 0.28rem 0.92rem 0.28rem;
}

/* 登录账号、创建团：内容区上内边距加大 */
.dialog-login .dialog-bd,
.dialog-create .dialog-bd {
	padding-top: 0.48rem;
}

.dialog-bd img {
	max-width: 100%;
}

.dialog-scroll {
	max-height: 62vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-top: 0.08rem;
}

.dialog-input {
	display: block;
	width: 100%;
	height: 0.72rem;
	margin-bottom: 0.18rem;
	padding: 0 0.2rem;
	border: 0.02rem solid #d0b88a;
	border-radius: 0.08rem;
	background: #fff;
	font-size: 0.26rem;
	color: #333;
	outline: none;
	box-shadow: inset 0 0.02rem 0.06rem rgba(0, 0, 0, 0.08);
}

/* 登录/加团等皮肤弹窗：输入框按设计稿约 50px 高、字号更小 */
.dialog-skin .dialog-input {
	height: 0.5rem;
	margin-bottom: 0.22rem;
	padding: 0 0.14rem;
	border: 0.02rem solid #cbb896;
	border-radius: 0.04rem;
	font-size: 0.2rem;
	line-height: 0.46rem;
	box-shadow: none;
}

.dialog-input::placeholder {
	color: #aaa;
}

.dialog-skin .dialog-input::placeholder {
	font-size: 0.2rem;
	color: #b0b0b0;
}

.dialog-btn-main {
	display: block;
	width: 3.2rem;
	height: 0.72rem;
	margin: 0.1rem auto 0;
	background: linear-gradient(180deg, #e8b86a 0%, #c8862e 55%, #a86a1c 100%);
	border: 0.02rem solid #8a5a18;
	border-radius: 0.08rem;
	color: #fff;
	font-size: 0.3rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	box-shadow: 0 0.04rem 0 #7a4e14, inset 0 0.02rem 0 rgba(255, 255, 255, 0.35);
}

.dialog-skin .dialog-btn-main {
	/* 切图 143×48，整体略缩小 */
	width: 2.2rem;
	height: 0.48rem;
	font-size: 0.22rem;
	letter-spacing: 0.06em;
	background: url("../assets/dialog-btn-bg.png?v=3") no-repeat center / 100% 100%;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.dialog-hint {
	text-align: center;
	color: #d42a22;
	font-size: 0.22rem;
	font-weight: 600;
	margin-bottom: 0.14rem;
}

.dialog-share .share-team-tip {
	font-size: 0.16rem;
	font-weight: 500;
	line-height: 1.5;
	text-align: left;
}

.dialog-share .share-team-tip #shareTeamCode {
	font-weight: 700;
	word-break: break-all;
}

.dialog-warn {
	text-align: center;
	color: #d42a22;
	font-size: 0.2rem;
	line-height: 1.45;
	font-weight: 600;
	margin: 0.06rem 0 0.18rem;
}

.dialog-sub {
	font-size: 0.18rem;
	line-height: 1.45;
	color: #6a5648;
	margin-bottom: 0.14rem;
}

.dialog-btns {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.24rem;
	margin-top: 0.08rem;
}

.dialog-btn {
	min-width: 2.1rem;
	height: 0.64rem;
	padding: 0 0.24rem;
	background: linear-gradient(180deg, #e8b86a 0%, #c8862e 55%, #a86a1c 100%);
	border: 0.02rem solid #8a5a18;
	border-radius: 0.06rem;
	color: #fff;
	font-size: 0.28rem;
	font-weight: 700;
	box-shadow: 0 0.03rem 0 #7a4e14;
}

.dialog-skin .dialog-btn {
	min-width: 1.72rem;
	height: 0.48rem;
	padding: 0 0.12rem;
	font-size: 0.22rem;
	background: url("../assets/dialog-btn-bg.png?v=3") no-repeat center / 100% 100%;
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	text-shadow: 0 1px 1px rgba(80, 40, 0, 0.35);
}

.dialog-btn-primary {
	background: linear-gradient(180deg, #f0c878 0%, #d49838 55%, #b87820 100%);
}

.dialog-skin .dialog-btn-primary {
	background: url("../assets/dialog-btn-bg.png?v=3") no-repeat center / 100% 100%;
}

.code-row {
	display: flex;
	align-items: center;
	gap: 0.1rem;
	margin-bottom: 0.22rem;
}

.code-row .dialog-input {
	flex: 1;
	margin-bottom: 0;
	min-width: 0;
}

.btn-send-code {
	flex: 0 0 1.9rem;
	height: 0.72rem;
	background: linear-gradient(180deg, #e8b86a 0%, #c8862e 100%);
	border: 0.02rem solid #8a5a18;
	border-radius: 0.08rem;
	color: #fff;
	font-size: 0.22rem;
	font-weight: 700;
	white-space: nowrap;
}

.dialog-skin .btn-send-code {
	flex: 0 0 1.36rem;
	height: 0.5rem;
	background: url("../assets/dialog-btn-bg.png?v=3") no-repeat center / 100% 100%;
	border: none;
	border-radius: 0;
	font-size: 0.16rem;
}

.btn-send-code.is-wait {
	cursor: not-allowed;
	filter: grayscale(1);
}

.rules-content {
	padding: 0 0.08rem 0.2rem;
	font-size: 0.22rem;
	line-height: 1.55;
	color: #4a3428;
	word-break: break-word;
	text-align: justify;
}

.rules-content p {
	margin: 0 0 0.12rem;
}

.rules-content ul,
.rules-content ol {
	margin: 0 0 0.12rem;
	padding-left: 0.42rem;
}

.rules-content li {
	margin-bottom: 0.08rem;
}

.rules-content img {
	max-width: 100%;
	height: auto;
}

.rules-content a {
	color: #1a6fd0;
	text-decoration: underline;
}

.rules-content strong,
.rules-content b {
	font-weight: 700;
}

.dialog-rules {
	width: 6.6rem;
	padding-bottom: 0.12rem;
}

/* Toast */
.toast {
	position: fixed;
	left: 50%;
	bottom: 1.6rem;
	z-index: 200;
	transform: translateX(-50%);
	max-width: 80vw;
	padding: 0.18rem 0.36rem;
	background: rgba(20, 30, 45, 0.88);
	color: #fff;
	font-size: 0.26rem;
	line-height: 1.4;
	border-radius: 0.1rem;
	text-align: center;
	pointer-events: none;
}

/* 弹窗内图片最大宽度 */
.dialog img {
	max-width: 100%;
}
