/* HM Shop 前台样式 —— 暖色米底 + 珊瑚强调 + 深墨蓝按钮 */
:root {
	/* 色板对齐参考站实测值（见 _ref/design-spec.md） */
	--bg: #fff9f1;
	--bg-2: #f6ede0;
	--surface: #ffffff;
	--ink: #201c30;
	--ink-soft: #6c6579;
	--ink-faint: #9b96ad;
	--accent: #ff5b3d;
	--accent-ink: #d23a1c;
	--accent-soft: #ffe3db;
	--line: #ece3d4;
	--ok: #1d7a4a;
	--ok-soft: #d8f3e5;
	--warn: #b7791f;
	--warn-soft: #fff0c2;
	--info-soft: #dcefff;
	--info-ink: #1d4ed8;
	--violet-soft: #ece5ff;
	--violet-ink: #5b21b6;
	--radius: 22px;
	--radius-sm: 15px;
	--shadow: 0 2px 10px rgba(32, 28, 48, .05);
	--shadow-lift: 0 14px 34px rgba(32, 28, 48, .10);
	/* 参考站的标志性做法：无模糊的实心位移投影，按下时收起 */
	--shadow-hard: 0 4px 0 #100d1c;
	--shadow-hard-accent: 0 4px 0 var(--accent-ink);
	--max: 1160px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: 40px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.hm-muted { color: var(--ink-soft); }
.hm-wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 通告条 ---------- */
.hm-notice {
	background: var(--ink);
	color: #f7f2e8;
	font-size: 12.5px;
	text-align: center;
	padding: 8px 16px;
	letter-spacing: .01em;
}
.hm-notice b { color: #fff; font-weight: 600; }
.hm-notice .dot {
	display: inline-block;
	width: 6px; height: 6px; border-radius: 50%;
	background: #4ade80; margin-right: 6px; vertical-align: 1px;
	box-shadow: 0 0 0 3px rgba(74, 222, 128, .18);
}

/* ---------- 头部 ---------- */
.hm-header {
	background: rgba(251, 246, 236, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 40;
}
.hm-header-in {
	display: flex; align-items: center; gap: 22px;
	height: 66px;
}
.hm-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.hm-logo .mark {
	width: 30px; height: 30px; border-radius: 9px;
	background: var(--accent); color: #fff;
	display: grid; place-items: center;
	font-weight: 800; font-size: 16px;
	box-shadow: 0 4px 12px rgba(242, 102, 60, .30);
}
.hm-logo small { display: block; font-weight: 500; font-size: 10.5px; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
.hm-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.hm-nav a {
	padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-soft);
}
.hm-nav a:hover { background: var(--bg-2); color: var(--ink); }
.hm-nav a.is-current { color: var(--ink); font-weight: 700; }
.hm-header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hm-lang { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); }

/* ---------- 按钮 ---------- */
.hm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border-radius: 999px;
	background: var(--ink); color: #fff;
	font-size: 14px; font-weight: 700; font-family: inherit;
	border: 0; cursor: pointer; white-space: nowrap;
	box-shadow: var(--shadow-hard);
	transition: transform .1s ease, box-shadow .1s ease, background .18s ease;
}
.hm-btn:hover { background: #100d1c; transform: translateY(2px); box-shadow: 0 2px 0 #100d1c; }
.hm-btn:active { transform: translateY(4px); box-shadow: 0 0 0 #100d1c; }
.hm-btn--accent { background: var(--accent); box-shadow: var(--shadow-hard-accent); }
.hm-btn--accent:hover { background: var(--accent-ink); box-shadow: 0 2px 0 #a72c12; }
.hm-btn--accent:active { box-shadow: 0 0 0 #a72c12; }
.hm-btn--ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.hm-btn--ghost:hover { background: var(--bg-2); transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.hm-btn--ghost:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.hm-btn--sm { padding: 8px 15px; font-size: 13px; border-radius: 999px; }
.hm-btn--block { width: 100%; }
.hm-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hm-hero { padding: 54px 0 30px; }
.hm-hero h1 { font-size: 52px; letter-spacing: -.035em; max-width: 15em; }
.hm-hero h1 .hi { color: var(--accent); }
.hm-hero h1 em { font-style: normal; color: var(--accent); }
.hm-hero .lead { font-size: 16.5px; color: var(--ink-soft); max-width: 34em; margin-top: 14px; }
.hm-trust { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.5fr); gap: 10px; margin-top: 26px; align-items: stretch; }
.hm-trust-item--wide { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.hm-trust-item--wide .hm-btn { align-self: flex-start; }
.hm-trust-item {
	background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
	padding: 13px 16px; box-shadow: var(--shadow);
}
.hm-trust-item .num { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hm-trust-item .lab { font-size: 12px; color: var(--ink-soft); }
.hm-trust-item .num em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-left: 2px; }

/* ---------- 区块标题 ---------- */
.hm-section { padding: 34px 0; }
.hm-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hm-section-head h2 { margin: 0; }
.hm-section-head .more { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.hm-section-head .more:hover { color: var(--accent); }
.hm-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }

/* ---------- 商品卡（彩色色块） ---------- */
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hm-card {
	position: relative; display: flex; flex-direction: column;
	border: 1px solid rgba(32, 28, 48, .07); border-radius: 24px;
	padding: 20px 20px 18px; min-height: 210px;
	background: var(--surface);
	transition: transform .16s ease, box-shadow .18s ease;
}
.hm-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(32, 28, 48, .10); }

/* 马卡龙色系 */
.hm-card--mint { background: #d8f3e5; border-color: #bde6d2; }
.hm-card--lilac { background: #ece5ff; border-color: #d9cffa; }
.hm-card--peach { background: #ffe4d6; border-color: #f6ccb8; }
.hm-card--sky { background: #dcefff; border-color: #c2e0fb; }
.hm-card--cream { background: #fff3ea; border-color: #f2ddc9; }
.hm-card--rose { background: #ffe3db; border-color: #f7c8bb; }

.hm-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.hm-card-emoji {
	width: 42px; height: 42px; border-radius: 13px;
	background: rgba(255, 255, 255, .72);
	display: grid; place-items: center; font-size: 20px; font-weight: 800; color: var(--ink);
	box-shadow: 0 1px 0 rgba(32, 28, 48, .06);
}
.hm-card-chip {
	background: rgba(255, 255, 255, .78); color: var(--ink);
	font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
	white-space: nowrap; border: 1px solid rgba(32, 28, 48, .07);
}
.hm-card h3 { font-size: 17px; margin: 0 0 4px; }
.hm-card h3 a:hover { color: var(--accent-ink); }
.hm-card .sub { font-size: 12.5px; color: #4a4557; min-height: 2.4em; }
.hm-card .excerpt { font-size: 12.5px; color: #5b5666; margin: 8px 0 0; }
.hm-card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.hm-price { font-size: 25px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hm-price em { font-style: normal; font-size: 12px; font-weight: 600; color: #5b5666; margin-left: 2px; }
.hm-card-stock { font-size: 11.5px; font-weight: 700; margin-top: 4px; color: #4a4557; }
.hm-card-stock--warn { color: #9a5a12; }
.hm-card-stock--ok { color: #1d7a4a; }

/* 圆形箭头按钮 */
.hm-arrow {
	width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
	background: var(--ink); color: #fff;
	display: grid; place-items: center; font-size: 17px; font-weight: 700;
	box-shadow: 0 3px 0 #100d1c;
	transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.hm-arrow:hover { background: #100d1c; transform: translateY(2px); box-shadow: 0 1px 0 #100d1c; }
.hm-arrow--off { background: #b9b2c4; box-shadow: 0 3px 0 #a49cb0; cursor: not-allowed; font-size: 15px; }

/* 旧样式里的库存胶囊（商品页/订单页仍在用） */
.hm-stock { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.hm-stock--ok { background: var(--ok-soft); color: var(--ok); }
.hm-stock--warn { background: var(--warn-soft); color: var(--warn); }
.hm-stock--muted { background: var(--bg-2); color: var(--ink-soft); }

/* ---------- 教程卡 ---------- */
.hm-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hm-guide {
	display: flex; gap: 14px; align-items: flex-start;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 16px 18px; box-shadow: var(--shadow);
	transition: transform .16s ease, box-shadow .18s ease;
}
.hm-guide:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.hm-guide .ic { width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.hm-guide:nth-child(4n+1) .ic { background: #d8f3e5; color: #1d7a4a; }
.hm-guide:nth-child(4n+2) .ic { background: #dcefff; color: #1d4ed8; }
.hm-guide:nth-child(4n+3) .ic { background: #ece5ff; color: #5b21b6; }
.hm-guide:nth-child(4n+4) .ic { background: #fff0c2; color: #92620f; }
.hm-guide strong { display: block; font-size: 14.5px; }
.hm-guide span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- 通栏提示 ---------- */
.hm-banner {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 20px 22px; box-shadow: var(--shadow);
	display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.hm-banner strong { font-size: 15px; }
.hm-banner span { font-size: 13px; color: var(--ink-soft); display: block; }

/* ---------- 商品详情 ---------- */
.hm-product { padding: 32px 0 56px; }
.hm-product-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.hm-product-title { font-size: 36px; letter-spacing: -.03em; margin-bottom: 8px; }
.hm-product-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
.hm-feat { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.hm-feat li { position: relative; padding-left: 26px; font-size: 14px; }
.hm-feat li::before {
	content: "✓"; position: absolute; left: 0; top: 0;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--ok-soft); color: #127a4b;
	font-size: 11px; font-weight: 800; display: grid; place-items: center;
}

/* 下单卡 */
.hm-buybox {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 22px; box-shadow: var(--shadow-lift); position: sticky; top: 86px;
}
.hm-buybox h3 { font-size: 15px; margin-bottom: 12px; }
.hm-tier {
	display: flex; align-items: center; gap: 12px;
	border: 1.5px solid var(--line); border-radius: 20px;
	padding: 12px 14px; margin-bottom: 9px; cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.hm-tier:hover { border-color: #ddcdb6; }
.hm-tier input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.hm-tier:has(input:checked) { border-color: var(--accent); background: #fff6f2; box-shadow: 0 0 0 3px rgba(255, 91, 61, .12); }
.hm-tier-body { flex: 1; }
.hm-tier-body strong { display: block; font-size: 14px; }
.hm-tier-body span { font-size: 12px; color: var(--ink-soft); }
.hm-tier-price { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.hm-field { margin-top: 14px; }
.hm-field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.hm-field input[type="email"], .hm-field input[type="text"], .hm-field textarea {
	width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 11px;
	font-family: inherit; font-size: 14px; background: #fffdf9; color: var(--ink);
}
.hm-field input:focus, .hm-field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.hm-sum { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.hm-sum span { font-size: 13px; color: var(--ink-soft); }
.hm-sum b { font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hm-help { font-size: 11.5px; color: var(--ink-faint); text-align: center; margin-top: 10px; }

/* ---------- 表格/面板 ---------- */
.hm-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.hm-panel + .hm-panel { margin-top: 16px; }
.hm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-kv { display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; font-size: 13.5px; }
.hm-kv dt { color: var(--ink-soft); margin: 0; }
.hm-kv dd { margin: 0; font-weight: 600; }

/* 付款说明 */
.hm-pay { background: #fffaf5; border: 1.5px dashed #f0d9c8; border-radius: var(--radius-sm); padding: 18px; margin-top: 14px; }
.hm-pay h4 { margin: 0 0 8px; font-size: 14.5px; }
.hm-pay pre { white-space: pre-wrap; font-family: inherit; font-size: 13.5px; color: var(--ink-soft); margin: 0 0 12px; }
.hm-qr { width: 168px; height: 168px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-faint); font-size: 12px; text-align: center; padding: 10px; border: 1px solid var(--line); }

/* 交付内容 */
.hm-payload {
	background: var(--ink); color: #f4f0e6; border-radius: var(--radius-sm);
	padding: 16px 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13.5px; white-space: pre-wrap; word-break: break-all; position: relative;
}
.hm-payload button {
	position: absolute; top: 10px; right: 10px;
	background: rgba(255, 255, 255, .14); color: #fff; border: 0;
	border-radius: 8px; padding: 5px 10px; font-size: 11.5px; cursor: pointer; font-family: inherit;
}
.hm-payload button:hover { background: rgba(255, 255, 255, .26); }

/* 步骤条 */
.hm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.hm-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.hm-step::before {
	counter-increment: s; content: counter(s);
	display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 10px;
}
.hm-step:nth-child(1)::before { background: #ff5b3d; }
.hm-step:nth-child(2)::before { background: #2f6fd0; }
.hm-step:nth-child(3)::before { background: #1d7a4a; }
.hm-step:nth-child(4)::before { background: #b7791f; }
.hm-step strong { display: block; font-size: 13.5px; margin-bottom: 3px; }
.hm-step span { font-size: 12px; color: var(--ink-soft); }

/* FAQ */
.hm-faq { display: grid; gap: 10px; }
.hm-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.hm-faq summary { font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; color: var(--ink-faint); font-weight: 400; }
.hm-faq details[open] summary::after { content: "–"; }
.hm-faq details p { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-soft); }

/* 提示条 */
.hm-flash { border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; margin-bottom: 16px; font-weight: 600; }
.hm-flash--ok { background: var(--ok-soft); color: #127a4b; border: 1px solid #bfe6d1; }
.hm-flash--error { background: #fdeceb; color: #b32d2e; border: 1px solid #f5c9c7; }

/* 订单卡 */
.hm-order {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 12px;
}
.hm-order-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.hm-order-no { font-family: ui-monospace, monospace; font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.hm-order-head .hm-stock { margin-left: auto; }
.hm-order-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; color: var(--ink-soft); }
.hm-order-meta b { color: var(--ink); font-weight: 700; }
.hm-tabs { display: flex; gap: 6px; margin: 8px 0 18px; flex-wrap: wrap; }
.hm-tabs a { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--bg-2); }
.hm-tabs a.is-current { background: var(--ink); color: #fff; }

/* 空状态 */
.hm-empty { text-align: center; padding: 46px 20px; color: var(--ink-soft); }
.hm-empty strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 6px; }

/* ---------- 页脚 ---------- */
.hm-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 34px 0 28px; }
.hm-footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hm-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 10px; }
.hm-footer a { display: block; font-size: 13px; color: var(--ink-soft); padding: 3px 0; }
.hm-footer a:hover { color: var(--accent); }
.hm-footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-faint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- 文章/教程页 ---------- */
.hm-doc { max-width: 760px; }
.hm-doc h1 { font-size: 32px; }
.hm-doc .entry { font-size: 15.5px; }
.hm-doc .entry h2 { font-size: 21px; margin-top: 1.4em; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
	.hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-product-top { grid-template-columns: 1fr; }
	.hm-buybox { position: static; }
	.hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-hero h1 { font-size: 36px; }
	.hm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	h1 { font-size: 30px; }
	.hm-nav { display: none; }
}
@media (max-width: 620px) {
	.hm-grid, .hm-guides, .hm-two, .hm-steps { grid-template-columns: 1fr; }
	.hm-hero { padding: 34px 0 20px; }
	.hm-hero h1 { font-size: 30px; }
	.hm-trust { grid-template-columns: 1fr; }
	.hm-wrap { padding: 0 16px; }
	.hm-kv { grid-template-columns: 88px 1fr; }
}

/* ---------- Hero：左侧文案 + 右侧浮动价格气泡 ---------- */
.hm-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hm-hero-hi { font-size: 12.5px; font-weight: 800; color: var(--accent-ink); letter-spacing: .04em; margin-bottom: 10px; }
.hm-hero-hi span { display: inline-block; background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
.hm-hero-right { position: relative; min-height: 300px; display: grid; gap: 12px; align-content: center; }
.hm-bubble {
	background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
	padding: 12px 14px; box-shadow: 0 10px 22px rgba(32, 28, 48, .08);
	display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%;
	transition: transform .2s ease;
}
.hm-bubble:hover { transform: translateY(-2px) rotate(0deg) !important; }
.hm-bubble:nth-child(1) { transform: rotate(-2deg); margin-left: 6%; }
.hm-bubble:nth-child(2) { transform: rotate(1.5deg); margin-left: 30%; }
.hm-bubble:nth-child(3) { transform: rotate(-1deg); margin-left: 12%; }
.hm-bubble:nth-child(4) { transform: rotate(2deg); margin-left: 36%; }
.hm-bubble .ic { width: 30px; height: 30px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; font-size: 15px; flex: 0 0 auto; }
.hm-bubble .nm { font-size: 13px; font-weight: 700; line-height: 1.3; }
.hm-bubble .tg { font-size: 10.5px; color: var(--ink-soft); }
.hm-bubble .pr { margin-left: auto; font-size: 15px; font-weight: 800; color: var(--accent-ink); white-space: nowrap; }
.hm-bubble .pr em { font-style: normal; font-size: 10.5px; color: var(--ink-soft); font-weight: 600; }

/* 搜索胶囊 */
.hm-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; margin-top: 22px; max-width: 460px; }
.hm-search input { flex: 1; border: 0; outline: none; background: transparent; font-family: inherit; font-size: 14px; color: var(--ink); padding: 6px 0; }
.hm-search button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 15px; cursor: pointer; box-shadow: 0 3px 0 var(--accent-ink); }
.hm-search button:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--accent-ink); }

/* ---------- 珊瑚色客服区块 ---------- */
.hm-contact { padding: 20px 0 40px; }
.hm-contact-in {
	background: var(--accent); border-radius: 28px; padding: 34px 38px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center;
	box-shadow: 0 8px 0 var(--accent-ink); color: #fff;
}
.hm-contact h2 { color: #fff; font-size: 30px; line-height: 1.15; margin-bottom: 10px; }
.hm-contact p { color: rgba(255, 255, 255, .92); font-size: 13.5px; margin: 0; }
.hm-contact-rows { display: grid; gap: 10px; }
.hm-contact-row {
	display: flex; align-items: center; gap: 12px;
	background: rgba(32, 28, 48, .88); border-radius: 14px; padding: 11px 16px;
	color: #fff; font-size: 13.5px; font-weight: 600;
	transition: transform .12s ease, background .15s ease;
}
.hm-contact-row:hover { background: #100d1c; transform: translateY(-1px); }
.hm-contact-row .ic { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: 13px; flex: 0 0 auto; }
.hm-contact-row .go { margin-left: auto; opacity: .75; }

/* ---------- 分类胶囊 ---------- */
.hm-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.hm-chips a { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft); }
.hm-chips a:hover { border-color: #d9cdbb; color: var(--ink); }
.hm-chips a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 3px 0 #100d1c; }

@media (max-width: 900px) {
	.hm-hero-grid { grid-template-columns: 1fr; gap: 22px; }
	.hm-hero-right { min-height: 0; }
	.hm-bubble { margin-left: 0 !important; transform: none !important; width: 100%; }
	.hm-contact-in { grid-template-columns: 1fr; padding: 26px 22px; border-radius: 22px; }
	.hm-contact h2 { font-size: 24px; }
}
