/* ============================================================
   CloudLode 手机查询页（default 皮肤）· 茶色主题 · 移动端优先
   参考设计稿：参考html/doubao_html_20260927_165804.html
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { min-height: 100%; }
body {
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", "微软雅黑", sans-serif;
	background: #f7f3ec;
	color: #4a2c17;
	-webkit-font-smoothing: antialiased;
}
.page {
	max-width: 460px;
	margin: 0 auto;
	min-height: 100vh;
	padding: calc(env(safe-area-inset-top, 0px) + 48px) 22px calc(env(safe-area-inset-bottom, 0px) + 30px);
	display: flex;
	flex-direction: column;
}

/* ---------- 顶部品牌区 ---------- */
.hero { text-align: center; margin-bottom: 30px; animation: fadeUp .5s ease both; }
.hero h1 {
	font-family: "Noto Serif SC", "Songti SC", "STSong", SimSun, serif;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #4a2c17;
}
.hero p { margin-top: 8px; font-size: 13px; color: #a67c52; letter-spacing: 3px; }

/* ---------- 查询卡片 ---------- */
.card {
	background: rgba(255, 255, 255, .92);
	border: 1px solid #d9c7b8;
	border-radius: 16px;
	padding: 24px 18px 20px;
	box-shadow: 0 8px 30px rgba(107, 66, 38, .12);
	animation: fadeUp .5s .08s ease both;
}
.card h2 {
	font-family: "Noto Serif SC", "Songti SC", "STSong", SimSun, serif;
	font-size: 17px;
	margin-bottom: 16px;
	color: #4a2c17;
}
.field { position: relative; margin-bottom: 14px; }
.field-icon {
	position: absolute; left: 13px; top: 50%;
	transform: translateY(-50%);
	color: #bfae9b;
	pointer-events: none;
}
.input-code {
	width: 100%;
	height: 50px;
	border: 1.5px solid #d9c7b8;
	border-radius: 12px;
	background: #faf6ef;
	padding: 0 14px 0 42px;
	font-size: 17px;
	color: #4a2c17;
	letter-spacing: 1px;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-code:focus { border-color: #6b4226; background: #fff; box-shadow: 0 0 0 3px rgba(107, 66, 38, .12); }
.input-code::placeholder { color: #bfae9b; letter-spacing: 0; }

/* 验证码行 */
.field-captcha { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.input-yzm {
	flex: 1;
	min-width: 0;
	height: 50px;
	border: 1.5px solid #d9c7b8;
	border-radius: 12px;
	background: #faf6ef;
	padding: 0 14px;
	font-size: 16px;
	color: #4a2c17;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-yzm:focus { border-color: #6b4226; background: #fff; box-shadow: 0 0 0 3px rgba(107, 66, 38, .12); }
.yzmimg { flex: 0 0 auto; width: 108px; height: 50px; border-radius: 10px; overflow: hidden; background: #efe7db; }
.yzmimg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 按钮行：查询 + 扫码 并排 */
.btn-row { display: flex; gap: 10px; }
.btn-query {
	flex: 1;
	min-width: 0;
	height: 50px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(90deg, #8a5a33, #6b4226);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 2px;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(107, 66, 38, .3);
	-webkit-appearance: none;
	appearance: none;
	transition: transform .12s, filter .2s;
}
.btn-query:active { transform: scale(.97); filter: brightness(1.06); }
.btn-scan {
	flex: 1;
	min-width: 0;
	height: 50px;
	border: 1.5px solid #6b4226;
	border-radius: 12px;
	background: #fff;
	color: #6b4226;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background .2s, transform .12s;
}
.btn-scan:active { background: #f1e8dc; transform: scale(.97); }

/* ---------- 页脚（含备案号） ---------- */
.foot {
	margin-top: auto;
	padding-top: 36px;
	text-align: center;
	font-size: 12px;
	color: #a39484;
	line-height: 1.8;
}
.foot a { color: #a39484; text-decoration: none; }

/* ---------- 查询界面提示内容（后台"防伪参数配置"） ---------- */
.wap-tip {
	margin-top: 18px;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(166, 124, 82, 0.22);
	border-radius: 14px;
	padding: 13px 16px 11px;
	font-size: 13px;
	color: #8a6a52;
	line-height: 1.9;
	word-break: break-all;
	box-shadow: 0 4px 16px rgba(107, 66, 38, 0.05);
}
.wap-tip p { margin: 3px 0; }
.wap-tip .wt-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: #6B4226;
	margin: 0 0 7px;
	padding-bottom: 8px;
	border-bottom: 1px dashed rgba(166, 124, 82, 0.3);
}

/* ---------- 页脚三行 + 技术支持弹窗 ---------- */
.foot .ft-support { color: #8a6a52; text-decoration: underline; cursor: pointer; }
.support-pop { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.support-pop.open { display: flex; }
.sp-card { background: #fff; border-radius: 16px; max-width: 360px; width: 100%; box-shadow: 0 8px 30px rgba(107,66,38,.12); border: 1px solid #D9C7B8; overflow: hidden; }
.sp-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #D9C7B8; }
.sp-title { font-size: 20px; font-weight: 700; color: #6B4226; }
.sp-close-btn { font-size: 28px; color: #9CA3AF; cursor: pointer; line-height: 1; padding: 0 4px; }
.sp-close-btn:hover { color: #6B4226; }
.sp-body { padding: 20px; }
.sp-row { margin-bottom: 18px; }
.sp-row:last-of-type { margin-bottom: 0; }
.sp-label { font-size: 15px; font-weight: 500; color: #6B4226; margin: 0 0 4px; }
.sp-val { font-size: 15px; color: #4B5563; margin: 0; }
.sp-hours { font-size: 13px; color: #9CA3AF; margin: 16px 0 0; }
.foot p { display: block; width: 100%; text-align: center; }

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}
