/* 京墅 · 公开站点样式（多页站）
 * 依赖 app.css 里的 :root token 与手绘组件（.hdb / .hd-u / .hd-c / .hd-hr / .hd-card / .hd-seal）。
 * 这一层只写「页面级」的东西：外壳、内页区块、各页专用组件。
 * ⚠️ 不要在这里重新定义颜色 —— 换肤只改 app.css 的 :root。
 */

/* ============================ 基础 ============================ */
body.site {
  font-size: 14px; overflow-x: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
}
body.site > main { flex: 1 0 auto; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 26px; }
section { padding: 78px 0; }
.sec { padding: 72px 0; }
.sec.tight { padding: 54px 0; }
section.tight { padding: 62px 0; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .band { border-top: none; }

/* 跳到主要内容：键盘用户 Tab 第一下就会碰到它，所以平时必须藏起来、聚焦时才出现。
   ⚠️ 别用 left:-9999px 那种老写法 —— 元素会被摆到视口左边 9999px 处，
   虽然 body 的 overflow-x:hidden 压住了滚动条，但它确实是个"跑到画布外"的元素，
   任何溢出检测都会把它报成问题（实测 12 页 × 6 档宽度全被它点红）。
   用 clip 缩成 1px：留在文档流内、不越界，聚焦时再展开。 */
.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; z-index: 200;
}
.skip:focus {
  width: auto; height: auto; overflow: visible; clip-path: none;
  left: 0; top: 0; padding: 11px 18px; background: var(--brand); color: #FCF8F0;
  border-radius: 0 0 8px 0; font-size: 13px; text-decoration: none;
  outline: 2px solid var(--gold); outline-offset: 2px;
}

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 2.5px; color: var(--goldink); margin-bottom: 16px; }
.eyebrow:before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .65; }
h2.big { font-family: var(--serif); font-size: 33px; font-weight: 500; line-height: 1.45; letter-spacing: 1px; margin-bottom: 14px; }
h1 { font-family: var(--serif); }
.lead { font-size: 15px; color: var(--muted); line-height: 2; max-width: 660px; }
.lead b { color: var(--ink); font-weight: 500; }
.lead-sm { font-size: 13.5px; color: var(--muted); line-height: 1.95; }
.lead-sm b { color: var(--ink); font-weight: 500; }
/* 卡内小节标签。**故意不绑死 h4** —— 它出现在 h2 卡里就是 h3、出现在 h3 卡里就是 h4，
   绑死一个标签会把「h2 → h4」这种跳级固化成"视觉需要"，而那正是无障碍的毛病。
   ⚠️ 但要限定在标题元素上：表格单元格里也有一个 .sub（表内小字），
   写成裸 .sub:before 会给它多插一根金色竖条。 */
h3.sub, h4.sub { font-size: 12.5px; font-weight: 500; color: var(--brandD); letter-spacing: .8px; margin: 18px 0 8px; display: flex; align-items: center; gap: 8px; }
h3.sub:before, h4.sub:before { content: ""; width: 3px; height: 12px; background: var(--gold); border-radius: 2px; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; }
.more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--goldink); margin-top: 14px; }
.more:hover { color: var(--brandD); }

/* 板块头：一个短标题 + 一个「全部 ›」。这是替代「eyebrow + h2 + 导语」那套三件套的。
   全站正文板块都用它 —— 读者扫一眼就知道这块是什么，然后直接看内容。 */
.sechd { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sechd h2, h2.sechd-solo { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: 1.5px; line-height: 1.3; }
h2.sechd-solo { margin-bottom: 22px; }
.sechd .more { margin-top: 0; white-space: nowrap; }
.sechd + .evs, .sechd + .spaces { margin-top: 0; }

/* 栏目入口卡：只写栏目名，不写介绍句 */
.navcards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.navcard { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px; text-decoration: none; color: inherit; }
.navcard b { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 1px; color: var(--brandD); }
.navcard i { font-style: normal; color: var(--goldink); font-size: 15px; }
.navcard:hover b { color: var(--goldink); }
a.more { display: inline-flex; }
.note a { color: var(--brand); border-bottom: 1px solid var(--line); }
.skeleton { padding: 30px; text-align: center; color: var(--faint); font-size: 13px; grid-column: 1 / -1; }

/* 面板：手绘卡片 + 内边距 */
.hd-card.pad { padding: 24px 26px 26px; }
.hd-card .no { font-family: var(--serif); font-size: 13px; color: var(--goldink); letter-spacing: 3px; }
.hd-card.pad > h2 { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: 1.5px; margin: 10px 0 10px; }

/* 网格 */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid2.mt16, .grid3.mt16, .grid4.mt16 { margin-top: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* 列表 */
.dots { list-style: none; }
.dots li { font-size: 13.5px; color: var(--muted); line-height: 2; padding-left: 16px; position: relative; }
.dots li b { color: var(--ink); font-weight: 500; }
.dots li:before { content: ""; position: absolute; left: 2px; top: .92em; width: 5px; height: 5px; border: 1px solid var(--gold); border-radius: 50%; opacity: .85; }
.dots.big li { font-size: 14px; line-height: 2.05; }
.dots a { color: var(--brand); border-bottom: 1px solid var(--line); }
.checklist { list-style: none; }
.checklist li { font-size: 14px; color: var(--muted); line-height: 1.95; padding: 11px 0 11px 30px; position: relative; border-bottom: 1px solid var(--line2); }
.checklist li:last-child { border-bottom: none; }
.checklist li:before { content: "✓"; position: absolute; left: 4px; top: 11px; color: var(--brand); font-size: 13px; }
.checklist li b { color: var(--ink); font-weight: 500; }
.checklist.no li:before { content: "×"; color: var(--red); font-size: 15px; top: 9px; left: 5px; }

/* ============================ 顶栏 ============================ */
.nav-top { position: sticky; top: 0; z-index: 30; background: rgba(247,242,231,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-top:before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--gold), #C9A961 40%, var(--gold) 100%); opacity: .75; }
.nav-in { max-width: 1140px; margin: 0 auto; padding: 0 26px; height: 66px; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo img { width: 34px; height: 34px; display: block; }
.logo b { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: 3px; color: var(--ink); display: block; }
.logo span { font-size: 10.5px; color: var(--faint); letter-spacing: 1.5px; display: block; margin-top: -3px; }
/* 顶栏间距按「9 项塞进 1140」定，不再是「宽屏就松一点」。
   ⚠️ .nav-in 是 `max-width:1140px` 的定宽容器 —— 1280 和 1440 的可用宽度
      完全一样，所以「宽屏更宽松」这个直觉在这里是错的：原来 1201+ 用
      gap 6px / padding 10px，9 项时右侧两个按钮直接被压成两行（会员登 / 录），
      而 1100 反而好好的。现在统一取原来 1081–1200 那一档的值。 */
.nav-links { display: flex; gap: 2px; margin-left: 14px; align-items: center; }
.nav-links > a, .ndrop > a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); padding: 8px 8px; position: relative; white-space: nowrap; }
.nav-links > a:hover, .ndrop > a:hover, .nav-links a.on { color: var(--brandD); }
.nav-links > a:after, .ndrop > a:after { content: ""; position: absolute; left: 8px; right: 100%; bottom: 2px; height: 2px; background: var(--gold); transition: right .22s; }
.nav-links > a:hover:after, .ndrop:hover > a:after, .nav-links a.on:after { right: 8px; }
.caret { width: 5px; height: 5px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); opacity: .6; }
.ndrop { position: relative; }
.ndrop-in {
  position: absolute; left: 0; top: 100%; min-width: 268px; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 22px 44px -26px rgba(60,48,32,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.ndrop:hover .ndrop-in, .ndrop:focus-within .ndrop-in { opacity: 1; visibility: visible; transform: none; }
.ndrop-in a { display: block; padding: 9px 12px; border-radius: 9px; }
.ndrop-in a:hover { background: var(--soft2); }
.ndrop-in a b { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
.ndrop-in a span { display: block; font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 12px; }
/* ⚠️ 顶栏按钮必须 nowrap：320px 上「会员登录」「注册会员」会被挤成两行，
    按钮变成 40px 高的方块，看着像两个卡片而不是按钮。折行的根因是窄屏放不下，
    光禁折行会溢出，所以配合下面 400 断点里收窄 padding —— 两条要一起改。 */
.nav-act .hdb { white-space: nowrap; }

/* 汉堡按钮：只在窄屏出现 */
.burger { display: none; width: 38px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.burger i { display: block; width: 16px; height: 1.6px; background: var(--brandD); border-radius: 2px; }
.burger[aria-expanded="true"] { background: var(--soft); }

/* ============================ 抽屉 ============================ */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer[hidden] { display: none; }
.drawer-mask { position: absolute; inset: 0; background: rgba(48,40,30,.42); }
.drawer-in {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px);
  background: var(--bg); border-left: 1px solid var(--line);
  padding: 16px 18px calc(26px + env(safe-area-inset-bottom)); overflow: auto;
  animation: drawerIn .24s cubic-bezier(.22,.7,.3,1) both;
}
@keyframes drawerIn { from { transform: translateX(14px); opacity: .4 } to { transform: none; opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .drawer-in { animation: none } }
.drawer-h { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.drawer-h b { font-family: var(--serif); font-size: 18px; letter-spacing: 2px; font-weight: 500; }
.drawer-x { margin-left: auto; all: unset; cursor: pointer; font-size: 22px; line-height: 1; color: var(--muted); padding: 2px 8px; }
.drawer-g { padding: 14px 0 4px; }
.drawer-g .drawer-gh { font-size: 11.5px; letter-spacing: 1.6px; color: var(--goldink); margin-bottom: 6px; }
.drawer-g a { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; font-size: 14px; color: var(--ink); }
.drawer-g a:hover, .drawer-g a.on { background: var(--soft2); }
.drawer-g a.on { color: var(--brandD); font-weight: 500; }
.drawer-g .di { width: 18px; height: 18px; flex: 0 0 18px; opacity: .55; }
.drawer-act { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
/* 抽屉里两个按钮要等宽铺满，不靠 HTML 上的 .block —— 按钮是按角色由 navActions() 生成的，
   在标签里写死 block 就得在每个分支重复一遍，漏一个就变成左边一小块。 */
.drawer-act .hdb { display: flex; width: 100%; }

/* ============================ 内页页头 ============================
   一张头图 + 标题 + 一行。没有配图时退化成暖色纸纹横幅，不硬凑图。 */
.pgh { position: relative; overflow: hidden; background: linear-gradient(135deg, #FBF6EC 0%, #F0E5D5 100%);
       border-bottom: 1px solid var(--line); }
.pgh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pgh.has-art:after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(38,31,24,.88) 0%, rgba(38,31,24,.52) 46%, rgba(38,31,24,.16) 100%); }
.pgh .wrap { position: relative; z-index: 1; }
.pgh-txt { padding: 52px 0 42px; }
.pgh.has-art .pgh-txt { padding: 132px 0 40px; }
.pgh h1 { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1.34; letter-spacing: 2px; }
.pgh .lead { margin-top: 12px; max-width: 640px; }
.pgh.has-art h1 { color: #FCF8F0; }
.pgh.has-art .lead { color: rgba(252,248,240,.84); }

/* ============================ 首页 ============================ */
.hero { padding: 66px 0 0; position: relative; }
.hero-in { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); gap: 58px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: 60px; font-weight: 500; line-height: 1.28; letter-spacing: 4px; margin-bottom: 22px; }
.hero p.k { font-size: 15.5px; line-height: 2.05; color: var(--muted); max-width: 520px; }
.cta { display: flex; gap: 18px; align-items: center; margin: 34px 0 16px; flex-wrap: wrap; }
.hintline { font-size: 12.5px; color: var(--faint); letter-spacing: .5px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; display: block; border-radius: 20px 8px 22px 9px / 9px 21px 8px 20px; border: 1px solid #E2D6BF; box-shadow: 0 30px 60px -40px rgba(60,48,32,.6); }
.hero-art:after { content: ""; position: absolute; inset: -10px; border: 1px solid var(--gold); opacity: .28; border-radius: 24px 10px 26px 11px / 11px 25px 10px 24px; transform: rotate(.5deg); pointer-events: none; }
.hero-seal { position: absolute; left: 16px; top: 14px; box-shadow: 0 6px 16px -8px rgba(60,48,32,.5); z-index: 1; }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fig { padding: 26px 20px 24px; border-right: 1px solid var(--line2); }
.fig:last-child { border-right: none; }
.fig b { display: block; font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1.1; color: var(--brandD); font-variant-numeric: tabular-nums; }
.fig b em { font-style: normal; font-size: 15px; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.fig span { font-size: 12.5px; color: var(--faint); letter-spacing: .5px; }

.pillar { padding: 30px 28px 32px; }
.pillar h2 { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: 2px; margin: 12px 0 12px; }
.pillar p { font-size: 13.5px; line-height: 1.95; color: var(--muted); }
.pillar ul { list-style: none; margin-top: 16px; border-top: 1px solid var(--line2); padding-top: 14px; }
.pillar li { font-size: 12.5px; color: var(--faint); line-height: 2.05; padding-left: 15px; position: relative; }
.pillar li:before { content: ""; position: absolute; left: 0; top: .86em; width: 5px; height: 5px; border: 1px solid var(--gold); border-radius: 50%; opacity: .8; }
/* 内页里的三支柱卡用 h4.sub 分节，不要再加一条分割线 */
.grid3 .pillar h4.sub { margin-top: 16px; }

/* 撮合五步 */
.flow { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps5 { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; margin-top: 46px; position: relative; }
.steps5:before { content: ""; position: absolute; left: 3.6%; right: 16.4%; top: 23px; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px); }
.step5 { position: relative; padding: 0 16px; }
.step5 .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 17px; color: var(--goldink); position: relative; z-index: 1; }
.step5 b { display: block; font-size: 14px; font-weight: 500; margin: 16px 0 7px; }
.step5 p { font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.step5 p b { display: inline; font-size: inherit; margin: 0; }
.flow .step5 .dot { background: var(--card); }
/* 内页版：文字更长的五步，每步下面补一条「你能看到」 */
.steps5.wide { margin-top: 40px; }
.steps5.wide .step5 p { font-size: 13px; line-height: 1.95; }
.step5 .see { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--faint); line-height: 1.85; }
.step5 .see span { display: block; font-size: 11px; letter-spacing: 1.4px; color: var(--goldink); margin-bottom: 3px; }
.speak { margin-top: 46px; padding: 22px 26px; border-left: 3px solid var(--gold); background: rgba(255,253,248,.75); border-radius: 0 12px 12px 0; font-size: 14px; line-height: 2.1; color: var(--ink); }
.speak b { font-weight: 500; }
.speak .more { margin-top: 10px; display: flex; }

/* 严选 */
.vet { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 52px; align-items: start; }
.vetbox { padding: 26px 28px; }
.vetrow { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.vetrow:last-child { border-bottom: none; }
.vetrow b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--brandD); font-variant-numeric: tabular-nums; min-width: 62px; }
.vetrow span { font-size: 13px; color: var(--muted); }
.vetrow i { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--faint); }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.tag { font-size: 12px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,253,248,.7); color: var(--muted); }
.tag b { color: var(--brand); font-weight: 500; font-variant-numeric: tabular-nums; }

/* 空间 */
.spaces { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 40px; }
.space { padding: 26px 26px 24px; }
.space .dt { font-size: 11.5px; letter-spacing: 2px; color: var(--goldink); }
.space h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: 2px; margin: 10px 0 8px; }
.space .kind { font-size: 12.5px; color: var(--brand); }
.space p { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.9; }
.spacegrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.space-detail header { margin-bottom: 12px; }
.space-detail h3 { margin: 8px 0 6px; }
.space-detail .addr { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); font-size: 12.5px; color: var(--faint); }

/* 活动 */
.evs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 40px; }
.ev { padding: 24px 26px; display: flex; gap: 20px; align-items: flex-start; color: inherit; }
.ev:hover { border-color: #DCCCB2; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(94,75,51,.07); }
.ev:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ev .d { flex: 0 0 66px; text-align: center; border-right: 1px solid var(--line2); padding-right: 16px; }
.ev .d b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.15; color: var(--brandD); }
.ev .d span { font-size: 11px; color: var(--faint); letter-spacing: 1px; }
.ev .evbody { min-width: 0; }
.ev h3 { font-size: 15px; font-weight: 500; line-height: 1.6; margin: 8px 0 7px; }
.ev .meta { font-size: 12px; color: var(--faint); line-height: 1.9; }
.ev p { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.85; }
.ev .seat { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.ev .seat .more { margin-left: auto; margin-top: 0; font-size: 11.5px; white-space: nowrap; }
/* 活动卡缩略图（2026-11-07）：11 场都配上封面了，列表再是纯文字就太素。
   桌面放右侧 116px 方块；窄屏用 flex-wrap + order 让图独占一行，变成"头图卡" —— 纯 CSS，不动结构。
   alt 留空 + aria-hidden：标题就在旁边，读屏再念一遍图是噪音。 */
.ev .evthumb { flex: 0 0 116px; width: 116px; align-self: stretch; min-height: 116px; border-radius: 10px; overflow: hidden; background: var(--soft); }
.ev .evthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.past { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.past li { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.past .pd { font-size: 12.5px; color: var(--goldink); font-variant-numeric: tabular-nums; flex: 0 0 84px; }
.past b { font-size: 14px; font-weight: 500; }
.past .pt { margin-left: auto; font-size: 12px; color: var(--faint); }

/* 规则 */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 46px; margin-top: 40px; }
.rules.one { grid-template-columns: minmax(0, 1fr); max-width: 920px; margin-top: 24px; }
.rule { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line2); }
.rule .n { font-family: var(--serif); font-size: 15px; color: var(--goldink); flex: 0 0 30px; padding-top: 2px; }
/* 规则名。原来是无语义的 <b>，于是整页第一个标题就成了卡内的 h4.sub，
   出现「h1 → h4」的跳级。改成 h2 后语义对了，视觉靠这条保住。 */
.rule .rt { font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.rule p { font-size: 13px; line-height: 1.95; color: var(--muted); }
.rule .what { font-size: 13.5px; color: var(--ink); }
.rule.key { background: rgba(169,131,74,.06); border-radius: 10px; padding: 20px 18px; border-bottom: 1px solid transparent; }
.rgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; margin-top: 4px; }
.rgrid h4.sub { margin-top: 10px; }
.rgrid .lead-sm { font-size: 13px; }
.rules.one .rule .note { margin-top: 8px; }

/* 资源库：领域卡 */
.domains { display: flex; flex-direction: column; gap: 18px; }
.domain header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px; }
.domain h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: 1.5px; }
.domain .cnt { font-size: 12px; color: var(--goldink); }
.domain .dgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 30px; }
.domain h4.sub:first-child { margin-top: 12px; }
.edge { color: var(--red); }

/* 提示卡（四道关 / 三档处理 / 会员义务） */
.step-card { padding: 22px 22px 24px; }
.step-card h3 { font-size: 15px; font-weight: 500; margin: 8px 0 8px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.95; }

/* 数字行 */
.statrow { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { flex: 1 1 160px; min-width: 0; padding: 20px 18px; border-right: 1px solid var(--line2); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.15; color: var(--brandD); font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 3px; }
.stat b.small { font-size: 19px; }
.stat span { font-size: 12px; color: var(--faint); line-height: 1.6; display: block; margin-top: 4px; }

/* 表格 */
.tblhint { display: none; font-size: 11.5px; color: var(--faint); margin-bottom: 6px; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp { min-width: 560px; }
/* 首列吸在左边：手机横向滑动看后面几档时，还知道自己在看哪一行 */
table.cmp th:first-child, table.cmp td:first-child {
  position: sticky; left: 0; background: var(--card); z-index: 1;
  box-shadow: 1px 0 0 var(--line2);
}
table.cmp thead th:first-child { background: #FCF8F0; z-index: 2; }
table.cmp tbody tr:hover td:first-child { background: var(--soft2); }
table.cmp th, table.cmp td { padding: 13px 16px; }
table.cmp td .sub { font-size: 11.5px; color: var(--faint); display: block; margin-top: 3px; }
table.cmp .c { text-align: center; }
table.cmp .num { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--brandD); }
table.cmp .wrapcell { font-size: 12.5px; color: var(--muted); }
.yes { color: var(--brand); font-size: 15px; }
.nope { color: #CFC3AE; }
table.cmp.lvl { min-width: 660px; }
table.cmp.lvl th.c { width: 90px; }

/* 引语 */
blockquote.quote { padding: 24px 26px; }
blockquote.quote p { font-size: 13.5px; line-height: 2; color: var(--ink); }
blockquote.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 12px; color: var(--faint); }
blockquote.quote.inline { border: none; box-shadow: none; background: transparent; padding: 14px 0 0; border-left: 2px solid var(--goldsoft); padding-left: 16px; }
blockquote.quote.inline p { font-size: 13px; }

/* 案例 */
.cases { display: flex; flex-direction: column; gap: 20px; }
.case header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.case .cno { font-family: var(--serif); font-size: 13px; letter-spacing: 2px; color: var(--goldink); }
.case .who { font-size: 12px; color: var(--faint); margin-left: auto; }
.case h2 { font-size: 17px; font-weight: 500; line-height: 1.7; margin: 0 0 6px; }
.case .cgrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; margin-top: 10px; }
.csteps { list-style: none; counter-reset: cs; }
.csteps li { counter-increment: cs; position: relative; padding: 0 0 12px 28px; font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.csteps li:before { content: counter(cs); position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--soft); color: var(--brandD); font-size: 11px; display: flex; align-items: center; justify-content: center; }

/* 会员等级卡 */
.lvcard { display: flex; flex-direction: column; align-items: flex-start; }
.lvcard.def { border-color: #DCCEB2; background: linear-gradient(180deg, #FFFAF0, var(--card)); }
.lvcard h2 { font-size: 19px; margin: 0 0 8px; }
.lvcard .b { margin-bottom: 12px; }
.lvcard .lead-sm { font-size: 13px; }

/* FAQ */
.faqgroup { margin-bottom: 34px; }
.faqh { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: 1px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
details.faq { border-bottom: 1px solid var(--line2); }
details.faq summary { cursor: pointer; list-style: none; padding: 15px 30px 15px 0; position: relative; font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.7; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 18px; color: var(--goldink); font-weight: 400; transition: transform .18s; }
details.faq[open] summary:after { content: "−"; }
details.faq summary:hover { color: var(--brandD); }
.faqa { padding: 0 0 18px; }
.faqa p { font-size: 13.5px; line-height: 2; color: var(--muted); max-width: 780px; }

/* 页尾行动条：一句标题 + 按钮 */
.ctaband { padding: 52px 0; background: var(--card); border-top: 1px solid var(--line); }
.ctaband-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ctaband-act { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

/* 交叉链接：压成一行小链接 */
.cross { padding: 30px 0 40px; }
.crossrow { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--line2); }
.crossh { font-family: var(--serif); font-size: 13.5px; font-weight: 500; letter-spacing: 2px; color: var(--faint); }
.crossrow a { font-size: 13.5px; color: var(--brandD); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 1px; }
.crossrow a:hover { border-bottom-color: var(--gold); color: var(--goldink); }

/* 申请受邀 */
.apply-in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 56px; align-items: start; }
.form { padding: 30px 32px 34px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }
.fld label i { font-style: normal; color: var(--goldink); }
.err { background: var(--redsoft); color: var(--red); font-size: 13px; padding: 11px 14px; border-radius: 9px; margin-bottom: 16px; display: none; line-height: 1.7; }
.err.on { display: block; }

/* 从会员名片点进来时（/apply?ref=M-0137）：先告诉用户「是谁把你带到这里」，
   再把推荐人预填好。放成提示条而不是直接改 label，是为了让「推荐人必填」
   这条规则在任何入口下都还是同一句话。 */
.refnote { background: var(--goldsoft); border: 1px solid var(--line); border-radius: 9px; padding: 10px 14px; margin-bottom: 16px; font-size: 12.5px; line-height: 1.7; }
.okbox { display: none; padding: 8px 0 4px; }
.okbox.on { display: block; }
.okbox .code { font-family: var(--serif); font-size: 24px; letter-spacing: 2px; color: var(--brandD); margin: 10px 0 12px; }
.okbox p { font-size: 13.5px; line-height: 2; color: var(--muted); }

/* ============================ 页脚 ============================ */
.sfoot { background: #F2EBDE; border-top: 1px solid var(--line); padding: 54px 0 40px; }
/* ⚠️ 列数要能装下 6 项：品牌 + 4 个栏目组（平台/在北京/会员/了解）+ 会员入口。
   原来是 5 列，第 6 项「会员入口」被挤到第二行最左边，看着像漏排了一格。 */
.foot { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 36px 26px; align-items: start; }
.fcol.fbrand img { width: 32px; height: 32px; display: block; }
.fcol.fbrand b { font-family: var(--serif); font-size: 19px; letter-spacing: 3px; font-weight: 500; display: block; margin-top: 9px; }
.fcol.fbrand span { font-size: 11.5px; color: var(--faint); display: block; margin-top: 3px; }
.fcol.fbrand p { font-size: 12px; color: var(--muted); line-height: 1.95; margin-top: 13px; max-width: 210px; }
.fcol .fcol-h { font-size: 12.5px; color: var(--brandD); font-weight: 500; letter-spacing: 1.4px; margin-bottom: 11px; }
.fcol .fcol-h:after { content: ""; display: block; width: 20px; height: 2px; margin-top: 7px; background: var(--gold); opacity: .55; border-radius: 2px; }
.fcol a { display: block; font-size: 12.5px; color: var(--muted); line-height: 2.15; }
.fcol a:hover { color: var(--brandD); }
.fnote { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); line-height: 1.95; max-width: 880px; }
.fnote b { color: var(--muted); font-weight: 500; }

/* ============================ 窄屏底部 ============================ */
.bnav { display: none; }
.bnav a.on { color: var(--brandD); font-weight: 500; }
.bnav a.on svg { color: var(--goldink); }

/* ============================ 响应式 ============================ */
/* 1081–1200 这一段的顶栏是"宽屏排版、窄屏空间"：间距还是宽松的 13.5px/10px，
   但右侧两个按钮已经贴过来了。加到第 8 个栏目（下载 App）后，1100 宽时
   两个按钮被挤成两行（"会员登 / 录"）。这一段单独收紧，不动下面 1080 里的
   其他规则（.grid4 / .dgrid 不该跟着变）。 */
@media (max-width: 1080px) {
  .nav-links { gap: 0; }
  .nav-links > a, .ndrop > a { padding: 8px 7px; font-size: 13px; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domain .dgrid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* 1001–1040 这一段原来还撑着顶栏，但 8 个栏目时右侧按钮会被压成两行
   （"会员登 / 录"）。与其再挤一档字号，不如提前收起 —— 这一段的宽度本来
   也装不下完整的 8 项 + 两个按钮。实测 1040 时还有 53px 余量，故断点取 1040。 */
@media (max-width: 1040px) {
  /* 顶栏：主导航收起，改用底部 tabbar + 汉堡抽屉 */
  .nav-links { display: none; }
  .burger { display: flex; }
  /* 窄屏顶栏不挂「注册会员」：首页 hero 已有实心主 CTA，两个一样重的按钮并排就是重复。
     抽屉里那份不带 .hd-wide，所以入口仍在（底栏「加入」、页脚「会员入口」也在）。 */
  .nav-act .hd-wide { display: none; }
  .tblhint { display: block; }
  .hero-in, .vet, .apply-in, .ctaband-in { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .hero h1 { font-size: 44px; }
  .pgh h1 { font-size: 34px; }
  .pgh-txt { padding: 34px 0 28px; }
  .pgh.has-art .pgh-txt { padding: 90px 0 26px; }
  .grid3, .spaces, .spacegrid, .navcards { grid-template-columns: minmax(0,1fr); }
  .grid2 { grid-template-columns: minmax(0,1fr); }
  .steps5 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 0; }
  .steps5:before { display: none; }
  .evs { grid-template-columns: minmax(0,1fr); }
  .rules, .rgrid, .case .cgrid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .rgrid { gap: 0; }
  .split { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .ctaband-act { justify-content: flex-start; }
  .foot { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .fcol.fbrand { grid-column: 1 / -1; }
  .fcol.fbrand p { max-width: none; }
  /* 底部常驻快捷导航 —— 任何宽度都有导航；给 body 留出它的高度 */
  body.site { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .bnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(255,253,248,.94); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 5px 2px calc(5px + env(safe-area-inset-bottom));
  }
  .bnav:before {
    content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; opacity: .55;
    background: linear-gradient(90deg, transparent, var(--gold) 22%, #C9A961 50%, var(--gold) 78%, transparent);
  }
  .bnav a {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 4px 0 3px; font-size: 10.5px; color: var(--faint); letter-spacing: .3px;
  }
  .bnav a svg { width: 19px; height: 19px; display: block; }
}

@media (max-width: 640px) {
  .wrap, .nav-in { padding: 0 18px; }
  /* 对比表在手机上：首列吸边 + 限宽，好让右边至少露出两档
     （不限宽时首列能占满一屏，滑动半天只看得到一列）
     ⚠️ 别用 max-width 限首列：`table-layout: auto` 下**单元格的 max-width 会被忽略**，
        实测 `max-width: 38vw`（算出 148px）而首列实占 244px ⇒ 390px 屏上右边只剩 1 档可看、320px 一档都看不到。
        正解是 `table-layout: fixed`：档位列定宽，首列吃掉剩余空间（124px @ min-width 420）。 */
  table.cmp.lvl { min-width: 420px; table-layout: fixed; }
  table.cmp.lvl th.c, table.cmp.lvl td.c { width: 74px; }
  /* 三列小表（/match 权限表、/resources 资源库现状）：auto 布局会把中间列撑到 371px，
     390px 屏上右侧两列一列都看不见（只剩首列 + 横向滑动）。改成定宽比例直接排下。 */
  table.cmp:not(.lvl) { table-layout: fixed; min-width: 0; }
  table.cmp:not(.lvl) th:first-child, table.cmp:not(.lvl) td:first-child { width: 25%; }
  table.cmp:not(.lvl) th:last-child,  table.cmp:not(.lvl) td:last-child  { width: 23%; }
  table.cmp:not(.lvl) td { overflow-wrap: anywhere; }
  /* badge 全局是 white-space:nowrap，在窄列里会顶出去把表格撑出横向滚动。
     允许换行后 999px 圆角会被拉成长椭圆，所以同步收成圆角块。 */
  table.cmp .b { white-space: normal; border-radius: 9px; text-align: center; }
  table.cmp th, table.cmp td { padding: 11px 12px; }
  section { padding: 54px 0; }
  .sec { padding: 48px 0; }
  .sec.tight { padding: 40px 0; }
  h2.big { font-size: 25px; }
  .hero h1 { font-size: 34px; letter-spacing: 2px; }
  .pgh h1 { font-size: 28px; letter-spacing: 1px; }
  .figs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fig { border-bottom: 1px solid var(--line2); }
  .fig:nth-child(2) { border-right: none; }
  .step5 { padding: 0 8px; }
  .f2 { grid-template-columns: 1fr; }
  .form { padding: 24px 20px 26px; }
  .logo span { display: none; }
  .hero-seal { display: none; }
  .hdb.sm { padding: 7px 13px; font-size: 12px; }
  .nav-act { gap: 8px; }
  .stat { border-right: none; border-bottom: 1px solid var(--line2); }
  .stat:last-child { border-bottom: none; }
  .steps5 { grid-template-columns: minmax(0,1fr); }
  .ev { padding: 20px 18px; gap: 14px; }
  .ev .d { flex: 0 0 52px; padding-right: 12px; }
  .ev .d b { font-size: 20px; }
  /* 窄屏：右侧塞一个 116px 方块，标题就只剩 100 出头 —— 改成让图独占第一行当"头图" */
  .ev { flex-wrap: wrap; }
  .ev .evthumb { order: -1; flex: 1 0 100%; width: auto; height: 132px; align-self: stretch; margin-bottom: 2px; }
  .past .pt { margin-left: 0; flex: 1 1 100%; }
  .cta { gap: 12px; }
  .ctaband-act { flex-direction: column; align-items: stretch; }
  .ctaband-act .hdb { width: 100%; }
}

@media (max-width: 400px) {
  .wrap, .nav-in { padding: 0 14px; }
  .hdb { padding: 11px 22px; font-size: 13.5px; }
  /* 顶栏两个按钮 + 汉堡 + logo 在 320px 一共要挤进 292px，不收紧就会把文字挤成两行。
     收紧后实测 320px 仍有余量（见 shots/_bnav.mjs 的顶栏一栏）。 */
  .nav-act { gap: 6px; }
  .nav-act .hdb.sm { padding: 7px 9px; font-size: 11.5px; letter-spacing: .5px; }
  .hero h1 { font-size: 30px; }
  .pgh h1 { font-size: 25px; }
  .fig b { font-size: 30px; }
  .stat b { font-size: 26px; }
}

/* ============================ 听歌 /listen ============================
   版式参照播放器（歌单 + 舞台 + 队列 + 常驻播放条），但颜色不另起一套：
   只有舞台和播放条这两块"播放器表面"是深色（同站点其他深色块的暖褐黑），
   其余仍是米色纸面 —— 这一页在站点里，不是独立 App。

   ⚠️ 深色块里的文字一律显式给色（#F6EFE2 系），不要指望继承：
      父级 color 是 --ink（深褐），深底上等于看不见，而页面看上去"只是暗了点"。
   ⚠️ 唱片旋转只挂 animation-play-state，不要用 JS 改 transform —— 暂停时角度会跳回 0。 */
.lp-sec { padding: 26px 0 40px; }

.lp-main {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px;
  align-items: stretch;
}

/* ---------- 舞台：唱片 + 曲目信息 + 歌词 ---------- */
.stg {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 268px) minmax(0, 1fr);
  gap: 30px; align-items: center;
  padding: 32px 34px 28px; border-radius: 20px;
  background: radial-gradient(126% 108% at 10% 4%, #342A20 0%, #221C17 54%, #181310 100%);
  color: #F6EFE2;
  box-shadow: 0 30px 60px -40px rgba(44, 38, 32, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
/* 顶上一条极细金线：和站点其它深色块同一种收口 */
.stg:before {
  content: ""; position: absolute; left: 34px; right: 34px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, .6) 26%, rgba(201, 169, 97, .6) 74%, transparent);
}

.stg-disc { position: relative; justify-self: center; width: 100%; max-width: 256px; }

.lp-disc {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 62%),
    repeating-radial-gradient(circle at 50% 50%, #14100D 0 1.6px, #221C17 1.6px 3.2px);
  box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .07);
  animation: lp-spin 26s linear infinite;
  animation-play-state: paused;
}
.lp-disc.on { animation-play-state: running; }

.lp-label {
  position: absolute; inset: 34%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 36% 30%, #D8B77C, #B08A4E 58%, #7F5F35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.lp-hole {
  width: 15%; aspect-ratio: 1; border-radius: 50%; background: #181310;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6);
}

/* 唱臂：平时抬在外侧（-22deg），播放时落到盘面外圈（2deg）。
   结构是「转轴 + 斜杆 + 唱头」，全 CSS，不用图。
   ⚠️ 杆子本身要斜着画（rotate(18deg)），光靠整条臂旋转是不够的 ——
      垂直杆无论怎么转都只在盘的右外侧晃，看起来像一根戳在旁边的棍子。
   pointer-events:none：它压在唱片右上角，否则会挡掉那块的点按。 */
.lp-arm {
  position: absolute; top: -30px; right: -6px; width: 110px; height: 150px;
  transform-origin: 88px 24px; transform: rotate(-22deg);
  transition: transform .6s cubic-bezier(.3, .7, .3, 1);
  pointer-events: none;
}
.stg.playing .lp-arm { transform: rotate(2deg); }
.lp-arm:before {
  content: ""; position: absolute; left: 78px; top: 14px; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F0E3C7, #B79563 60%, #7C6038);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .5);
}
.lp-arm i {
  position: absolute; left: 86px; top: 26px; width: 3px; height: 104px; border-radius: 2px;
  transform-origin: top center; transform: rotate(18deg);
  background: linear-gradient(180deg, #CBB488, #8A6E45);
  box-shadow: 0 0 6px rgba(0, 0, 0, .45);
}
.lp-arm:after {
  content: ""; position: absolute; left: 44px; top: 112px; width: 13px; height: 24px;
  border-radius: 3px 3px 6px 6px; transform: rotate(18deg);
  background: linear-gradient(180deg, #DCC9A3, #8E7249);
}

.stg-txt { min-width: 0; }
/* 深色唱片区只装得下两级文字：主文案 #FBF5E8 + 次级 rgba(246,239,226,.72)。
   原来 kicker 用 #C9A961（3.9:1）、副标题用 .55、空态用 .38 —— 在深棕底上都读不清。 */
.lp-kicker { font-size: 10.5px; letter-spacing: 3px; color: #DCC08A; }
.lp-title {
  font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: 3px;
  line-height: 1.32; margin-top: 10px; color: #FBF5E8;
}
.lp-sub { font-size: 12.5px; color: rgba(246, 239, 226, .72); margin-top: 8px; min-height: 19px; }

/* 歌词：有 .lrc 才滚；没有就一句话说明，不留空白框 */
.lp-lyr {
  position: relative; margin-top: 16px; height: 152px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}
.lp-lyr-in { transition: transform .5s cubic-bezier(.3, .7, .3, 1); will-change: transform; }
.lyr-line {
  font-size: 13.5px; line-height: 1.95; padding: 2px 0;
  color: rgba(246, 239, 226, .62); transition: color .25s;
}
.lyr-line.on { color: #F4E6C8; }
.lp-lyr[data-empty="1"] .lp-lyr-in,
.lp-lyr[data-empty="0"] .lp-lyr-empty { display: none; }
.lp-lyr-empty {
  height: 100%; display: grid; place-items: center; align-content: center; gap: 3px;
  text-align: center; color: rgba(246, 239, 226, .7);
}
.lp-lyr-note { font-size: 21px; color: #DCC08A; line-height: 1; }
.lp-lyr-empty b {
  font-family: var(--serif); font-size: 14.5px; font-weight: 400; letter-spacing: 2px;
  color: rgba(246, 239, 226, .9);
}
.lp-lyr-empty span:last-child { font-size: 11.5px; }

/* ---------- 队列 ---------- */
.lp-queue {
  display: flex; flex-direction: column;
  padding: 16px 12px 12px; border-radius: var(--rl);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -34px rgba(62, 49, 33, .5);
}
.lp-queue[hidden] { display: none; }
.lp-q-hd {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 0 6px 10px; border-bottom: 1px solid var(--line2);
}
.lp-q-hd h3 { font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: 2.5px; color: var(--ink); }
.lp-q-hd span { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.lp-list { display: block; padding-top: 6px; }
/* 队列卡与舞台等高：右边短一截会像少画了一块。脚注推到卡片底部 */
.lp-q-ft { margin-top: auto; padding: 12px 6px 2px; font-size: 11.5px; line-height: 1.75; color: var(--faint); }

.lp-item {
  display: grid; grid-template-columns: 18px minmax(0, 1fr) auto 38px;
  align-items: center; gap: 10px; width: 100%;
  padding: 9px 6px; border: none; border-radius: 8px; background: none;
  font: inherit; color: var(--muted); text-align: left; cursor: pointer;
  transition: background .15s, color .15s;
}
.lp-item:hover { background: var(--soft); }
.lp-item:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.lp-item.on { color: var(--ink); }
.lp-item.on .lp-it { color: var(--ink); }

/* 序号位：平时是 01/02，当前这首在放时换成三根跳动的细条（纯 CSS，无图片）。
   ⚠️ 三根条和数字叠在同一个格子里，靠 .playing 切 display，
      而不是改宽度 —— 改宽度会让整行左右抖一下。 */
.lp-n {
  flex: 0 0 18px; width: 18px; height: 14px;
  display: flex; align-items: flex-end; justify-content: center; gap: 2px;
  font-size: 11px; line-height: 14px; color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.lp-item.on .lp-n { color: var(--goldink); }
.lp-n b { font-weight: 400; }
.lp-n i {
  display: none; width: 3px; height: 13px; border-radius: 2px;
  background: var(--gold); transform-origin: bottom;
}
.lp-item.playing .lp-n b { display: none; }
.lp-item.playing .lp-n i { display: block; animation: lp-eq .92s ease-in-out infinite; }
.lp-item.playing .lp-n i:nth-child(2) { animation-delay: .3s; }
.lp-item.playing .lp-n i:nth-child(3) { animation-delay: .15s; }
@keyframes lp-eq { 0%, 100% { transform: scaleY(.34); } 50% { transform: scaleY(1); } }

.lp-it {
  min-width: 0; font-family: var(--serif); font-size: 14px; letter-spacing: 1.2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-ia { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.lp-id {
  font-size: 11.5px; color: var(--faint); text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 声音归浏览器，控件全自绘。用 clip 藏起来而不是 display:none ——
   后者在部分 WebView 里会让音频元素被判定为"不可见媒体"而拒绝播放。 */
#lp-audio { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); }

.lp-hint {
  margin: 0 0 14px; padding: 11px 15px; border-radius: 8px;
  font-size: 12.5px; line-height: 1.85;
  background: var(--goldsoft); border: 1px solid #E9D6AE; color: #7A5A22;
}
.lp-hint.bad { background: var(--redsoft); border-color: #EFD3CB; color: var(--red); }

.lp-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-note { padding: 0 26px; border-left: 1px solid var(--line); }
.lp-note:first-child { padding-left: 0; border-left: none; }
.lp-note h3 { font-size: 13px; color: var(--brandD); letter-spacing: .5px; margin-bottom: 8px; }
.lp-note p { font-size: 12.5px; line-height: 1.95; color: var(--muted); }
/* 三栏在手机上就是三条十二字宽的竖排字，只能堆起来 */
@media (max-width: 720px) {
  .lp-notes { grid-template-columns: minmax(0, 1fr); }
  .lp-note { padding: 0 0 16px; border-left: none; border-bottom: 1px solid var(--line2); }
  .lp-note:last-child { padding-bottom: 0; border-bottom: none; }
}

@keyframes lp-spin { to { transform: rotate(360deg); } }

/* ---------- 常驻播放条 ----------
   钉在底部（手机上落在固定底栏上面一层，见下面 1040 断点）。
   这里必须是深色：它跨在浅色页面最下方，浅色会被当成页脚的一部分。 */
.pbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(28, 23, 19, .95);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201, 169, 97, .22);
  box-shadow: 0 -14px 30px -26px rgba(0, 0, 0, .8);
  color: #F6EFE2;
}
.pbar-in {
  max-width: 1140px; margin: 0 auto; padding: 11px 26px;
  display: grid; grid-template-columns: minmax(0, 216px) minmax(0, 1fr) minmax(0, 196px);
  gap: 18px; align-items: center;
}

.pbar-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
/* 封面：一张缩小的黑胶（纯 CSS），和舞台上是同一件东西。
   原来放的是 logo-mark.png —— 那张是浅底徽记，在深色条上就是一个白方块。 */
.pbar-art {
  position: relative; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 60%),
    repeating-radial-gradient(circle at 50% 50%, #14100D 0 1.5px, #221C17 1.5px 3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.pbar-art:after {
  content: ""; position: absolute; inset: 35%; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #D8B77C, #B08A4E 58%, #7F5F35);
}
.pbar-art:before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px;
  margin: -2px 0 0 -2px; border-radius: 50%; background: #181310; z-index: 1;
}
.pbar-txt { flex: 1 1 auto; min-width: 0; display: block; }
.pbar-txt b {
  display: block; font-family: var(--serif); font-size: 13.5px; font-weight: 500;
  letter-spacing: 1.2px; color: #F6EFE2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pbar-txt i { display: block; font-style: normal; font-size: 11px; color: rgba(246, 239, 226, .62); margin-top: 2px; }

.pbar-heart {
  flex: 0 0 auto; width: 28px; height: 28px;
  display: grid; place-items: center; border: none; border-radius: 50%;
  background: none; color: rgba(246, 239, 226, .6); cursor: pointer;
  transition: color .15s, background .15s;
}
.pbar-heart svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pbar-heart.on { color: #C9A961; }
.pbar-heart.on svg { fill: #C9A961; stroke: #C9A961; }
.pbar-heart:hover { background: rgba(255, 255, 255, .07); }

.pbar-c { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pbar-btn { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.pbar-ico {
  width: 32px; height: 32px; flex: 0 0 auto;
  display: grid; place-items: center; border: none; border-radius: 50%;
  background: none; color: rgba(246, 239, 226, .72); cursor: pointer;
  transition: color .15s, background .15s;
}
.pbar-ico svg { width: 17px; height: 17px; fill: currentColor; }
.pbar-ico:hover { color: #F6EFE2; background: rgba(255, 255, 255, .07); }
.pbar-ico:focus-visible { outline: 2px solid #C9A961; outline-offset: 2px; }

/* 三种循环模式：三个图标叠在同一格，按 data-mode 切。
   ⚠️ 用 display 切外层 <span>，不要给 <svg> 设 hidden —— hidden 是 HTMLElement 的
      反射属性，挂在 SVG 上不生效，三个图标会同时显示。 */
.pbar-mode .pbar-mi { display: none; }
.pbar-mode[data-mode="list"] .pbar-mi[data-m="list"],
.pbar-mode[data-mode="single"] .pbar-mi[data-m="single"],
.pbar-mode[data-mode="shuffle"] .pbar-mi[data-m="shuffle"] { display: block; }
.pbar-mode[data-mode="single"], .pbar-mode[data-mode="shuffle"] { color: #D8BC86; }

.lp-play {
  width: 42px; height: 42px; flex: 0 0 auto; border: none; border-radius: 50%;
  background: #C9A961; color: #211B16; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .9);
  transition: background .18s, transform .12s;
}
.lp-play:hover { background: #DCC08A; }
.lp-play:active { transform: scale(.95); }
.lp-play:focus-visible { outline: 2px solid #F6EFE2; outline-offset: 3px; }
.lp-ico { width: 20px; height: 20px; fill: currentColor; }
/* 播放/暂停两个图标叠在同一个位置，按状态切换。
   ⚠️ 同上：用属性驱动而不是给 <svg> 设 hidden。 */
.lp-ico-pause { display: none; }
.lp-play[data-on="1"] .lp-ico-play { display: none; }
.lp-play[data-on="1"] .lp-ico-pause { display: block; }

.pbar-prog { display: flex; align-items: center; gap: 9px; flex: 1 1 auto; min-width: 0; }
.pbar-prog span {
  flex: 0 0 auto; min-width: 32px; text-align: center;
  font-size: 11px; color: rgba(246, 239, 226, .62); font-variant-numeric: tabular-nums;
}

/* 进度条：Safari/Chrome 用 track 的渐变填已播部分（拿 --p 变量控制），
   Firefox 有原生的 ::-moz-range-progress，走它自己那套。
   ⚠️ 别用 appearance 默认样式再加背景 —— WebKit 会把 background 画在 track 下面，
      看上去永远是一条灰线。 */
.lp-seek {
  -webkit-appearance: none; appearance: none;
  flex: 1 1 auto; min-width: 0; width: 100%; height: 18px;
  /* ⚠️ app.css 里 input 统一有边框、圆角、内距、浅底（表单用）。滑块是 input，
     不显式清掉就会变成一个带白边的胶囊，而不是一条细线 —— 外观错了但样式不报错。 */
  border: 0; border-radius: 0; padding: 0;
  background: transparent; cursor: pointer; --p: 0%;
}
.lp-seek::-webkit-slider-runnable-track {
  height: 3px; border-radius: 2px;
  background: linear-gradient(to right, #C9A961 var(--p), rgba(255, 255, 255, .16) var(--p));
}
.lp-seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 11px; height: 11px; margin-top: -4px;
  border-radius: 50%; background: #F6EFE2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.lp-seek::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.lp-seek::-moz-range-progress { height: 3px; border-radius: 2px; background: #C9A961; }
.lp-seek::-moz-range-thumb {
  width: 11px; height: 11px; border: none; border-radius: 50%; background: #F6EFE2;
}
/* 全局 input:focus 会给边框染色 + 外发光，滑块上那是两圈多余的壳 */
.lp-seek:focus, .pbar-vol:focus { border: 0; box-shadow: none; }
.lp-seek:focus-visible { outline: 2px solid #C9A961; outline-offset: 5px; border-radius: 4px; }

.pbar-r { display: flex; align-items: center; justify-content: flex-end; gap: 6px; position: relative; }
.pbar-volwrap { display: flex; align-items: center; gap: 5px; }
.pbar-volico { display: grid; place-items: center; color: rgba(246, 239, 226, .5); }
.pbar-volico svg { width: 15px; height: 15px; fill: currentColor; }
.pbar-vol {
  -webkit-appearance: none; appearance: none;
  width: 70px; height: 16px; border: 0; border-radius: 0; padding: 0;
  background: transparent; cursor: pointer; --v: 86%;
}
.pbar-vol::-webkit-slider-runnable-track {
  height: 3px; border-radius: 2px;
  background: linear-gradient(to right, #C9A961 var(--v), rgba(255, 255, 255, .16) var(--v));
}
.pbar-vol::-webkit-slider-thumb {
  -webkit-appearance: none; width: 9px; height: 9px; margin-top: -3px;
  border-radius: 50%; background: #F6EFE2;
}
.pbar-vol::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.pbar-vol::-moz-range-progress { height: 3px; border-radius: 2px; background: #C9A961; }
.pbar-vol::-moz-range-thumb { width: 9px; height: 9px; border: none; border-radius: 50%; background: #F6EFE2; }
.pbar-vol:focus-visible { outline: 2px solid #C9A961; outline-offset: 4px; }

/* 切模式时闪一下中文名：三个图标都是"箭头绕圈"，只看图标分不出切到哪一档 */
.pbar-flash {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  padding: 6px 13px; border-radius: 16px; white-space: nowrap;
  background: rgba(18, 14, 11, .94); border: 1px solid rgba(201, 169, 97, .35);
  color: #F1E2C4; font-size: 11.5px; letter-spacing: .5px;
  opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.pbar-flash.on { opacity: 1; transform: translateY(0); }

/* 播放条压着页面最后一段内容 → body 要让位。
   ⚠️ 只加 padding 不改 .pbar 的定位的话，页脚最下面那行会被永久盖住，
      而滚动到底看上去"到底了"（内容其实被压在条后面）。 */
body[data-page="listen"] { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

/* 页头：这一页主体是控件，别让标题区先吃掉半屏。
   ⚠️ .pgh 是 <section>，会跟着吃到 `section { padding: 54px 0 }`，再叠上
      .pgh-txt 自己的内距就是双份留白（实测页头 257px）。 */
body[data-page="listen"] .pgh { padding: 0; }

@media (max-width: 1080px) {
  .lp-main { grid-template-columns: minmax(0, 1fr); }
  .stg { grid-template-columns: minmax(0, 224px) minmax(0, 1fr); gap: 26px; }
}

/* 1040 及以下出现固定底栏（.bnav，57px）：播放条要叠在它上面一层 */
@media (max-width: 1040px) {
  body[data-page="listen"] { padding-bottom: calc(62px + 74px + env(safe-area-inset-bottom)); }
  .pbar { bottom: calc(57px + env(safe-area-inset-bottom)); }
}

@media (max-width: 760px) {
  .lp-sec { padding: 18px 0 26px; }
  body[data-page="listen"] .pgh-txt { padding: 20px 0 14px; }
  body[data-page="listen"] .pgh h1 { font-size: 27px; }
  body[data-page="listen"] .pgh .lead { font-size: 12.5px; line-height: 1.8; }

  /* 窄屏舞台改竖排：唱片在上、歌名在下。横排会把歌名压成一列字。 */
  .stg { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 20px 22px; }
  .stg:before { left: 20px; right: 20px; }
  .stg-disc { max-width: 168px; }
  .lp-arm { top: -22px; right: -4px; transform: scale(.7) rotate(-22deg); transform-origin: 88px 24px; }
  .stg.playing .lp-arm { transform: scale(.7) rotate(2deg); }
  .stg-txt { text-align: center; }
  .lp-title { font-size: 23px; letter-spacing: 2px; }
  /* 没有歌词时那块占位在手机上只是白占一屏（唱片 + 歌名已经说明了） */
  .lp-lyr[data-empty="1"] { display: none; }
  .lp-lyr { height: 128px; }

  .lp-queue { padding: 13px 8px 8px; }
  .lp-q-hd { padding: 0 4px 8px; }

  /* 播放条：手机上两行 —— 上排是"封面+歌名+三个键"，下排是进度与时间。
     390px 想一行装下这三样，歌名就只剩几个字。 */
  .pbar-in {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "l btns" "p p";
    gap: 2px 10px; padding: 8px 14px 7px;
  }
  .pbar-l { grid-area: l; }
  /* display:contents 把 .pbar-c 这层壳拆掉，按钮行和进度行才能各自占一个网格区。
     少写这一条，进度条会挤在上排按钮右边（.pbar-c 是一个整体格子）。 */
  .pbar-c { display: contents; }
  .pbar-btn { grid-area: btns; }
  .pbar-r { display: none; }
  .pbar-art { width: 34px; height: 34px; }
  .pbar-txt b { font-size: 12.5px; }
  .pbar-txt i { font-size: 10.5px; }
  .pbar-heart { width: 26px; height: 26px; }
  .pbar-btn { gap: 2px; }
  .pbar-ico { width: 30px; height: 30px; }
  .lp-play { width: 38px; height: 38px; }
  .lp-ico { width: 18px; height: 18px; }
  /* 进度单独占一整行：塞到歌名右边只有 90px，拖起来是折磨 */
  .pbar-prog { grid-area: p; gap: 7px; }
  .pbar-prog span { min-width: 28px; font-size: 10.5px; }

  /* 手机上队列按钮没了（.pbar-r 整列隐藏），改由页面里的队列承担换歌 */
  .lp-item { padding: 8px 4px; gap: 8px; }
  .lp-ia { display: none; }
  .lp-item { grid-template-columns: 18px minmax(0, 1fr) 38px; }
}

@media (max-width: 380px) {
  .stg-disc { max-width: 148px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-disc { animation: none; }
  /* 跳动的三根条也停掉，退化成三根等高细线 —— 仍在指示"这首在放" */
  .lp-item.playing .lp-n i { animation: none; }
  .lp-lyr-in { transition: none; }
  .lp-arm { transition: none; }
}

/* ============================ 下载 App /app ============================
   一张卡 + 四条说明。卡片宽度压到 560px：这一页只有一个动作要发生，
   让人一眼看见按钮比铺满整屏好看。 */
.dl-card {
  max-width: 560px; margin: 0 auto; padding: 30px 30px 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rl);
  box-shadow: 0 18px 40px -30px rgba(62, 49, 33, .45);
}
.dl-head { display: flex; align-items: center; gap: 16px; }
.dl-icon { width: 72px; height: 72px; border-radius: 17px; display: block; flex: 0 0 auto; }
.dl-name h2 {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  color: var(--ink); letter-spacing: 1px;
}
.dl-meta {
  margin-top: 7px; font-size: 12.5px; color: var(--faint);
  display: flex; flex-wrap: wrap; gap: 7px; align-items: center;
}
.dl-meta i { font-style: normal; color: var(--line); }

.dl-btn {
  display: block; margin-top: 24px; padding: 15px 18px; text-align: center;
  background: var(--brandD); color: #FFFDF8; border-radius: 10px;
  font-size: 15px; letter-spacing: 1px;
  transition: background .18s ease;
}
.dl-btn:hover { background: var(--brand); }
.dl-btn:active { transform: translateY(1px); }
/* 已经在 App 里：按钮不是死按钮，而是「检查更新」—— 点了会通知 App 去拉清单。
   用描边而不是实心：它是次要动作，不该跟「下载」抢同一个视觉重量。 */
.dl-btn.is-inapp {
  background: transparent; color: var(--brandD);
  border: 1px solid var(--brandD);
}
.dl-btn.is-inapp:hover { background: var(--soft); }

/* 更新说明。跟 App 升级弹窗读的是同一份 data（app-info.json 的 notes），
   所以两处永远不会对不上。 */
.dl-notes { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.dl-notes h3 {
  font-size: 13px; font-weight: 400; letter-spacing: 1px; color: var(--muted);
}
.dl-notes ul { margin-top: 10px; padding: 0; list-style: none; }
.dl-notes li {
  position: relative; padding-left: 15px; margin-top: 7px;
  font-size: 13.5px; line-height: 1.8; color: var(--ink);
}
.dl-notes li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}

/* ⚠️ 必须显式处理 [hidden]：下面这几条规则会给元素设 display，
   而 display 会盖过浏览器对 hidden 属性的默认样式 —— 不加这一行，
   那句"微信里下不动"的提示会一直挂着（真踩过）。 */
.dl-note[hidden] { display: none; }
.dl-note {
  margin-top: 14px; padding: 10px 13px; border-radius: 8px;
  font-size: 12.5px; line-height: 1.9;
  background: var(--warnsoft); border: 1px solid #EFE0BE; color: var(--warn);
}

/* SHA-256 那一块（2026-11-07）：以前只印前 16 位加省略号，却写着「可核对」——
   16 位根本核不了。现在整串给全，64 位在 390 上必须能折行，否则整页横向溢出。 */
.dl-hash {
  margin-top: 14px; font-size: 11.5px; color: var(--faint);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 10px; align-items: center;
}
.dl-hash .k { white-space: nowrap; letter-spacing: .5px; }
.dl-hash .tip { grid-column: 1 / -1; line-height: 1.8; }
.dl-hash code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px; color: var(--muted); letter-spacing: .2px; line-height: 1.65;
  /* 64 位按 32/32 硬分两行（服务端已经切成两个 span）。
     ⚠️ 别指望 word-break 或 <wbr>：break-all 与 overflow-wrap:anywhere 的语义都是
     「尽量填满当前行」，会把断点盖掉，断成 53/11 那种，最后一行只剩几个字符。
     要稳定的 32/32，只能自己切块。 */
  word-break: normal;
  overflow-wrap: anywhere;
}
.dl-hash code span { display: block; }
.dl-copy {
  font: inherit; font-size: 11px; padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--brandD);
  cursor: pointer; white-space: nowrap;
}
.dl-copy:hover { background: var(--soft); }
/* 手机上是手指点的：30px 高按不准，跟站内其它 .btn 一样抬到 44 */
@media (max-width: 760px) {
  /* 窄屏让 SHA 独占一整行：夹在 label 和按钮中间只有 196px，
     32 位都放不下，两行会被挤成三行。 */
  .dl-hash { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .dl-hash .k { grid-column: 1; }
  .dl-hash code { grid-column: 1 / -1; }
  .dl-hash .tip { grid-column: 1 / -1; }
  .dl-copy { min-height: 44px; padding: 0 14px; grid-column: 2; grid-row: 1; }
}

.dl-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
.dl-fact { padding: 0 28px; border-left: 1px solid var(--line); }
.dl-fact:nth-child(odd) { padding-left: 0; border-left: none; }
.dl-fact h3 { font-size: 13px; color: var(--brandD); letter-spacing: .5px; margin-bottom: 8px; }
.dl-fact p { font-size: 12.5px; line-height: 1.95; color: var(--muted); }

@media (max-width: 720px) {
  .dl-card { padding: 24px 20px 22px; }
  .dl-name h2 { font-size: 19px; }
  .dl-facts { grid-template-columns: 1fr; row-gap: 0; }
  .dl-fact {
    padding: 0 0 16px; border-left: none; border-bottom: 1px solid var(--line2);
  }
  .dl-fact:last-child { padding-bottom: 0; border-bottom: none; }
}

/* 微信内的让位必须放在文件最后：上面那组 body[data-page="listen"] 的规则
   特异性与这里相同（0,2,1），写在中间会被它们按顺序盖掉 —— 表现是
   "改了尺寸但按钮一动不动"，很难看出是顺序问题。 */
html[data-wechat="1"] .lp-sec { padding-top: 14px; }
html[data-wechat="1"] .lp-disc { width: min(44vw, 164px); }
html[data-wechat="1"] .lp-meta { margin-top: 11px; }
html[data-wechat="1"] .lp-play { margin-top: 8px; }

/* ============================ 商城 /shop（2026-11-04）============================
   一批商品、两个页面（列表 + 详情）、一辆车。
   视觉上刻意不用照片：这批货没有真实拍摄图，AI 生成的"有机菠菜"会让整页
   像别人的店，而且食材细节经常是错的。改用「纸标 + 品名首字 + 分类色」，
   与站点其余部分（手绘、纸感、文字优先）同一种语言。
   商户以后传了 cover，.gc-art.has-img 会直接换成真图。 */

/* ---------- 筛选条 ---------- */
.shop-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.shop-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-chips .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  text-decoration: none; transition: all .16s ease;
}
.shop-chips .chip:hover { border-color: var(--gold); color: var(--brandD); }
.shop-chips .chip.on {
  background: var(--brandD); border-color: var(--brandD); color: #FCF8F0;
}
.shop-chips .chip i {
  font-style: normal; font-size: 11px; opacity: .62;
  font-variant-numeric: tabular-nums;
}

.shop-search {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); overflow: hidden; transition: border-color .16s;
}
.shop-search:focus-within { border-color: var(--gold); }
.shop-search input {
  width: 172px; padding: 9px 4px 9px 16px; border: 0; outline: 0;
  background: transparent; font-size: 13px; color: var(--ink);
  font-family: inherit;
}
.shop-search input::placeholder { color: var(--faint); }
.shop-search button {
  border: 0; background: transparent; padding: 9px 14px 9px 8px;
  color: var(--faint); cursor: pointer; display: flex; align-items: center;
}
.shop-search button:hover { color: var(--brandD); }

.shop-sub {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-top: 20px;
  padding-bottom: 13px; border-bottom: 1px solid var(--line);
}
.shop-count { font-size: 13px; color: var(--muted); }
.shop-count b { color: var(--ink); font-weight: 500; }
.shop-sort { display: flex; gap: 15px; font-size: 12.5px; }
.shop-sort a { color: var(--faint); text-decoration: none; }
.shop-sort a:hover { color: var(--brandD); }
.shop-sort a.on { color: var(--brandD); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }

.shop-clear {
  margin-top: 14px; font-size: 12.5px; color: var(--muted);
  background: var(--soft2); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 13px;
}
.shop-clear a { margin-left: 6px; color: var(--brandD); text-decoration: underline; }

/* ---------- 商品网格 ---------- */
.shop-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px; margin-top: 22px;
}
.shop-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.gcard:hover {
  border-color: var(--gold); transform: translateY(-2px);
  box-shadow: 0 20px 34px -26px rgba(62, 49, 33, .5);
}
.gcard:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gcard.is-out { opacity: .62; }

/* 封签：底色按分类走，斜纹是印在纸上的纹理，内框模拟标签的压边 */
.gc-art {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.gc-art.cf { background: #6B7A5A; }
.gc-art.cs { background: #9A7F45; }
.gc-art.cv { background: #5B6E7E; }
.gc-art::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg,
    rgba(255, 255, 255, .055) 0 7px, transparent 7px 14px);
}
.gc-art::after {
  content: ""; position: absolute; inset: 11px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px;
}
.gc-cat {
  position: absolute; top: 18px; left: 20px;
  font-size: 10px; letter-spacing: 3px; color: rgba(255, 255, 255, .7);
}
.gc-glyph {
  font-family: var(--serif); font-style: normal; line-height: 1;
  font-size: 46px; color: #FBF6EA; opacity: .95;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .16);
}
.gc-specmark {
  position: absolute; right: 20px; bottom: 17px;
  font-size: 10.5px; letter-spacing: .5px; color: rgba(255, 255, 255, .66);
}
/* 大号封签（详情页左栏） */
.gc-art.lg { aspect-ratio: 1 / 1; border-radius: 16px; }
.gc-art.lg .gc-glyph { font-size: 108px; }
.gc-art.lg .gc-cat { top: 24px; left: 26px; font-size: 11px; }
.gc-art.lg .gc-specmark { right: 26px; bottom: 24px; font-size: 12px; }
.gc-art.lg::after { inset: 16px; border-radius: 8px; }

.gc-art.has-img { background: var(--soft2); }
.gc-art.has-img::before, .gc-art.has-img::after { display: none; }
.gc-art.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gc-body { padding: 14px 15px 15px; display: flex; flex-direction: column; flex: 1; }
.gc-body b {
  font-size: 14px; font-weight: 500; line-height: 1.55; color: var(--ink);
  display: block;
}
.gc-meta {
  margin-top: 6px; font-size: 11.5px; color: var(--faint);
  display: flex; gap: 5px; align-items: center; flex-wrap: wrap;
}
.gc-meta i { font-style: normal; color: var(--line); }
.gc-rate { color: var(--goldink); letter-spacing: .5px; }
.gc-foot {
  margin-top: auto; padding-top: 12px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.gc-price {
  font-family: var(--serif); font-size: 19px; color: var(--brandD);
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.gc-price em { font-style: normal; font-size: 11.5px; color: var(--faint); margin-left: 2px; }
.gc-rev { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--faint); }
.gc-rev.none { font-size: 11px; color: var(--faint); opacity: .8; }
.gc-rev em { font-style: normal; }
.gc-stars { font-size: 10.5px; letter-spacing: 1px; color: var(--goldink); }
.gc-stars i { font-style: normal; color: var(--line); }

.gc-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(62, 49, 33, .82); color: #FCF8F0;
  font-size: 11px; padding: 3px 9px; border-radius: 999px; letter-spacing: 1px;
}

.shop-empty {
  margin-top: 30px; padding: 52px 24px; text-align: center;
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--rl);
}
.shop-empty b { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--ink); }
.shop-empty p { margin: 10px 0 20px; font-size: 13px; color: var(--muted); line-height: 1.9; }

.shop-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-notes > div { padding: 0 26px; border-left: 1px solid var(--line); }
.shop-notes > div:first-child { padding-left: 0; border-left: none; }
.shop-notes h2 { font-size: 13px; color: var(--brandD); letter-spacing: .5px; margin-bottom: 8px; }
.shop-notes p { font-size: 12.5px; line-height: 1.95; color: var(--muted); }
.shop-notes b { color: var(--ink); font-weight: 500; }

/* ---------- 商品详情 ---------- */
.gd-crumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 26px; font-size: 12.5px; color: var(--faint);
}
.gd-crumb a { color: var(--muted); text-decoration: none; }
.gd-crumb a:hover { color: var(--brandD); }
.gd-crumb i { font-style: normal; color: var(--line); }
.gd-crumb span { color: var(--ink); }

.gd-hero { padding: 26px 0 62px; }
.gd-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 44px; align-items: start;
}
.gd-artwrap { position: sticky; top: 92px; }

.gd-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.gb {
  font-size: 11px; letter-spacing: 1px; padding: 3px 10px; border-radius: 999px;
  background: var(--soft); color: var(--muted);
}
.gb.ok { background: var(--goldsoft); color: #7A5A22; }

.gd-main h1 {
  font-family: var(--serif); font-size: 30px; font-weight: 500;
  line-height: 1.42; letter-spacing: .5px; color: var(--ink);
  margin: 14px 0 0;
}
.gd-mer {
  margin-top: 10px; font-size: 12.5px; color: var(--muted);
  display: flex; gap: 7px; align-items: center; flex-wrap: wrap;
}
.gd-mer i { font-style: normal; color: var(--line); }
.gd-rv { color: var(--goldink); display: inline-flex; align-items: center; gap: 5px; }

.gd-priceline {
  margin-top: 22px; padding: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.gd-priceline b {
  font-family: var(--serif); font-size: 36px; font-weight: 500;
  color: var(--brandD); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gd-priceline span { font-size: 13px; color: var(--faint); }
.gd-priceline em {
  font-style: normal; margin-left: auto; font-size: 12.5px; color: var(--muted);
  background: var(--soft2); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 6px;
}

.gd-facts {
  margin: 20px 0 0; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 20px;
}
.gd-facts > div { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.7; }
.gd-facts dt { color: var(--faint); flex: 0 0 42px; }
.gd-facts dd { color: var(--ink); margin: 0; }
.gd-facts dd .warn { color: var(--warn); font-weight: 500; }
.gd-facts dd .bad { color: var(--red); font-weight: 500; }

.gd-buy { margin-top: 26px; display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.gd-buy .hdb { flex: 1 1 auto; min-width: 138px; }
.qty {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--card);
}
.qty button {
  width: 38px; height: 46px; border: 0; background: transparent;
  color: var(--muted); font-size: 17px; cursor: pointer; line-height: 1;
}
.qty button:hover { background: var(--soft2); color: var(--brandD); }
.qty input {
  width: 46px; height: 46px; border: 0; border-left: 1px solid var(--line2);
  border-right: 1px solid var(--line2); text-align: center;
  font-size: 14px; font-family: inherit; color: var(--ink);
  background: transparent; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.gd-tip { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.gd-tip a { color: var(--brandD); text-decoration: underline; }
.gd-tip.ok { color: #4C6B3E; }
.gd-tip.bad { color: var(--red); }
.gd-pay {
  margin-top: 8px; font-size: 11.5px; color: var(--faint); line-height: 1.85;
}

.gd-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px;
  gap: 52px; align-items: start;
}
.gd-copy h2 {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  color: var(--ink); margin: 26px 0 10px; letter-spacing: .5px;
}
.gd-copy h2:first-child { margin-top: 0; }
.gd-copy p { font-size: 13.5px; line-height: 2.05; color: var(--muted); }
.gd-copy b { color: var(--ink); font-weight: 500; }

.gd-side {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--rl); padding: 22px 22px 20px;
}
.gd-side h3 {
  font-size: 12px; font-weight: 400; letter-spacing: 1.5px;
  color: var(--goldink); margin-bottom: 12px;
}
.gd-side h3 + .gd-mername {
  font-family: var(--serif); font-size: 17px; color: var(--ink); margin-bottom: 4px;
}
.gd-side .muted { font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.gd-side hr { border: 0; border-top: 1px solid var(--line2); margin: 20px 0; }
.gd-side .hdb { margin-top: 12px; }

.sechead-lite {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.sechead-lite h2 {
  font-family: var(--serif); font-size: 21px; font-weight: 500;
  color: var(--ink); letter-spacing: .5px;
}
.sechead-lite span, .sechead-lite a { font-size: 12.5px; color: var(--faint); text-decoration: none; }
.sechead-lite a:hover { color: var(--brandD); }

/* ---------- 评价 ---------- */
.rv-sum {
  display: flex; gap: 40px; align-items: center; flex-wrap: wrap;
  padding: 20px 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--rl);
}
.rv-score { text-align: center; flex: 0 0 auto; min-width: 96px; }
.rv-score b {
  display: block; font-family: var(--serif); font-size: 38px; font-weight: 500;
  color: var(--brandD); line-height: 1.1;
}
.rv-score span { display: block; margin-top: 3px; }
.rv-score em { display: block; font-style: normal; font-size: 11.5px; color: var(--faint); margin-top: 6px; }
.rv-bars { flex: 1 1 240px; display: grid; gap: 6px; }
.rv-bar { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--faint); }
.rv-bar > span { flex: 0 0 34px; }
.rv-bar > i { flex: 1 1 auto; height: 5px; background: var(--line2); border-radius: 3px; overflow: hidden; }
.rv-bar > i > em { display: block; height: 100%; background: var(--gold); border-radius: 3px; }
.rv-bar > b { flex: 0 0 22px; text-align: right; font-weight: 400; }

.rv-list { margin-top: 16px; display: grid; gap: 12px; }
.rv {
  padding: 15px 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px;
}
.rv-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-h b { font-size: 12.5px; font-weight: 400; color: var(--ink); }
.rv-h span:last-child { font-size: 11.5px; color: var(--faint); margin-left: auto; }
.rv p { margin-top: 9px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.rv p.muted { color: var(--faint); }

.rv-empty {
  padding: 34px 24px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--rl);
}
.rv-empty b { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--ink); }
.rv-empty p { margin-top: 9px; font-size: 12.5px; color: var(--muted); line-height: 1.9; }

/* ---------- 购物车 ---------- */
.cart-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin-bottom: 22px;
}
.cart-head h1 { font-family: var(--serif); font-size: 27px; font-weight: 500; color: var(--ink); }
.cart-back { font-size: 12.5px; color: var(--muted); text-decoration: none; }
.cart-back:hover { color: var(--brandD); }
.cart-loading { padding: 40px 0; text-align: center; font-size: 13px; color: var(--faint); }
.cart-noscript {
  margin-top: 20px; padding: 18px 20px; border-radius: 10px;
  background: var(--warnsoft); border: 1px solid #EFE0BE; color: var(--warn);
  font-size: 13px; line-height: 1.9;
}
.cart-noscript b { display: block; margin-bottom: 6px; }
.cart-noscript a { color: var(--warn); text-decoration: underline; }

.cart-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px; align-items: start;
}
.cart-lines { display: grid; gap: 12px; }
.cline {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto;
  gap: 14px; align-items: center;
  padding: 13px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px;
}
.cline.is-off { opacity: .58; }
.cline-art { width: 84px; border-radius: 8px; overflow: hidden; }
.cline-art .gc-art { aspect-ratio: 1 / 1; border-radius: 8px; }
.cline-art .gc-glyph { font-size: 26px; }
.cline-art .gc-cat, .cline-art .gc-specmark { display: none; }
.cline-art .gc-art::after { inset: 6px; }
.cline-main { min-width: 0; }
.cline-main b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.cline-main span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--faint); }
.cline-off { color: var(--red); }
.cline-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cline-qty button {
  width: 30px; height: 34px; border: 0; background: transparent;
  color: var(--muted); font-size: 15px; cursor: pointer;
}
.cline-qty button:hover { background: var(--soft2); }
.cline-qty span { width: 34px; text-align: center; font-size: 13px; color: var(--ink); }
.cline-sum { text-align: right; min-width: 74px; }
.cline-sum b {
  display: block; font-family: var(--serif); font-size: 16px; font-weight: 500;
  color: var(--brandD); font-variant-numeric: tabular-nums;
}
.cline-del {
  display: block; margin-top: 4px; border: 0; background: transparent;
  font-size: 11.5px; color: var(--faint); cursor: pointer; padding: 0;
  margin-left: auto;
}
.cline-del:hover { color: var(--red); }

.cart-side {
  position: sticky; top: 92px; display: grid; gap: 14px;
}
.cart-box {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--rl); padding: 20px 20px 18px;
}
.cart-box h3 {
  font-size: 12px; font-weight: 400; letter-spacing: 1.5px;
  color: var(--goldink); margin-bottom: 12px;
}
.cart-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--line2); margin-bottom: 14px;
}
.cart-total span { font-size: 12.5px; color: var(--muted); }
.cart-total b {
  font-family: var(--serif); font-size: 27px; font-weight: 500; color: var(--brandD);
  font-variant-numeric: tabular-nums;
}
/* 余额抵扣（2026-11-07）。
   ⚠️ checkbox 必须显式还原尺寸：全局 input 规则带 min-height，会把勾选框
      撑成一个 40px 的方块，看起来像坏了。 */
.ck-credit {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin: 0 0 12px; padding: 10px 12px;
  background: var(--soft); border-radius: 9px; cursor: pointer;
  font-size: 12.5px; color: var(--ink);
}
.ck-credit input[type="checkbox"] {
  width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0;
  accent-color: var(--brandD); cursor: pointer; flex: none;
}
.ck-credit b { font-variant-numeric: tabular-nums; color: var(--brandD); }
.ck-credit em { font-style: normal; font-size: 11.5px; color: var(--faint); margin-left: auto; }
.cart-payable {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line2);
}
/* display:flex 会盖掉 [hidden] 的 display:none，必须显式写回来 */
.cart-payable[hidden] { display: none; }
.cart-payable span { font-size: 12.5px; color: var(--muted); }
.cart-payable b {
  font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--brandD);
  font-variant-numeric: tabular-nums;
}

.cart-field { margin-bottom: 12px; }
.cart-field:last-child { margin-bottom: 0; }
.cart-field label {
  display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 6px;
}
.cart-field label i { font-style: normal; color: var(--warn); }
.cart-field textarea, .cart-field input, .cart-field select {
  width: 100%; padding: 10px 12px; font-size: 13px; font-family: inherit;
  color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 9px; outline: 0;
  transition: border-color .16s;
}
.cart-field textarea { resize: vertical; min-height: 62px; line-height: 1.7; }
.cart-field textarea:focus, .cart-field input:focus, .cart-field select:focus {
  border-color: var(--gold);
}
.cart-field .hint { margin-top: 5px; font-size: 11px; color: var(--faint); line-height: 1.75; }
.cart-side .hdb { width: 100%; margin-top: 4px; }
.cart-note {
  margin-top: 12px; font-size: 11.5px; line-height: 1.85; color: var(--faint);
}
.cart-warn {
  margin-top: 12px; padding: 9px 12px; border-radius: 8px;
  background: var(--warnsoft); border: 1px solid #EFE0BE; color: var(--warn);
  font-size: 11.5px; line-height: 1.8;
}
.cart-empty {
  padding: 56px 24px; text-align: center;
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--rl);
}
.cart-empty b { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--ink); }
.cart-empty p { margin: 10px 0 20px; font-size: 13px; color: var(--muted); }

/* 加购后的浮动提示：右下角，不挡内容，3 秒自己走 */
.cart-toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 14px);
  background: var(--brandD); color: #FCF8F0;
  padding: 11px 20px; border-radius: 999px; font-size: 13px;
  box-shadow: 0 18px 34px -18px rgba(62, 49, 33, .8);
  opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s;
  z-index: 90; max-width: calc(100vw - 40px); text-align: center;
}
.cart-toast.on { opacity: 1; transform: translate(-50%, 0); }
.cart-toast.bad { background: var(--red); }

.notice { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 0 10px; }
.notice h1 {
  font-family: var(--serif); font-size: 27px; font-weight: 400; color: var(--ink);
}
.notice p { margin-top: 14px; font-size: 13.5px; line-height: 2; color: var(--muted); }
.notice-act { margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  .gd-copy { gap: 30px; }
  .gd-body { grid-template-columns: minmax(0, 1fr) 250px; gap: 34px; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
}
@media (max-width: 860px) {
  .shop-grid, .shop-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-notes { grid-template-columns: 1fr; }
  .shop-notes > div {
    padding: 0 0 16px; border-left: none;
    border-bottom: 1px solid var(--line2);
  }
  .shop-notes > div:last-child { padding-bottom: 0; border-bottom: none; }
  .gd-grid { grid-template-columns: 1fr; gap: 24px; }
  .gd-artwrap { position: static; }
  .gc-art.lg { aspect-ratio: 4 / 3; }
  .gc-art.lg .gc-glyph { font-size: 84px; }
  .gd-body { grid-template-columns: 1fr; gap: 30px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-side { position: static; }
  .gd-side { order: 2; }
}
@media (max-width: 640px) {
  .shop-bar { gap: 12px; }
  .shop-chips { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .shop-chips .chip { flex: 0 0 auto; }
  .shop-search { width: 100%; }
  .shop-search input { flex: 1 1 auto; width: auto; }
  .shop-grid, .shop-grid.three { gap: 12px; }
  .gc-body { padding: 11px 12px 12px; }
  .gc-body b { font-size: 13px; }
  .gc-price { font-size: 17px; }
  .gc-glyph { font-size: 38px; }
  .gc-cat { top: 14px; left: 15px; font-size: 9px; letter-spacing: 2px; }
  .gc-specmark { right: 15px; bottom: 13px; font-size: 9.5px; }
  .gc-art::after { inset: 8px; }
  .gd-main h1 { font-size: 24px; }
  .gd-priceline b { font-size: 30px; }
  .gd-facts { grid-template-columns: 1fr; gap: 9px; }
  .gd-buy .hdb { min-width: 0; }
  .gd-crumb { padding-top: 18px; font-size: 12px; }
  .rv-sum { padding: 16px; gap: 16px; }
  .rv-score { min-width: 0; flex: 1 1 100%; display: flex; align-items: center; gap: 12px; justify-content: center; }
  .rv-score b { font-size: 30px; display: inline; }
  .rv-score em { margin-top: 0; }
  .cline {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 11px; padding: 11px;
  }
  .cline-art { width: 64px; }
  .cline-qty { grid-column: 2; }
  .cline-sum { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .cart-head h1 { font-size: 23px; }
}

/* ---------- 商城页头与首屏预算（窄屏）----------
   .pgh 是 <section>，会再吃一次 `section{padding}`，桌面端还能当留白用，
   手机上就是"标题占掉半屏、第一排商品要往下滚才看见"。
   这一页主体是商品，价格必须出现在首屏 —— 和听歌页的取舍是同一个道理。 */
body[data-page="shop"] .gd-hero { padding-bottom: 44px; }

@media (max-width: 640px) {
  body[data-page="shop"] .pgh { padding: 0; }
  body[data-page="shop"] .pgh-txt { padding: 22px 0 20px; }
  body[data-page="shop"] .pgh h1 { font-size: 30px; }
  body[data-page="shop"] .pgh .lead { font-size: 13px; line-height: 1.85; }
  body[data-page="shop"] .gd-hero { padding: 18px 0 34px; }
  body[data-page="shop"] .sec.tight { padding: 30px 0; }
}

/* ==================================================================
   首页改版 v2（2026-11-08）
   三套结构：A 美团式 / B 淘宝式 / C 窄身杂志式，用 `/?v=a|b|c` 切换。
   只用手上的米色 token，不引入新颜色；商品网格与卡片全部复用
   /shop 的 .shop-grid / .gcard，首页不另写一套。
   ================================================================== */

/* ---------- 区块标题 ---------- */
.hp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.hp-head h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: 1.5px; line-height: 1.3; }
.hp-sub { font-size: 12.5px; color: var(--faint); margin-top: 5px; }
.hp-hm { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.hp-hm:hover { color: var(--brandD); }

/* ---------- 搜索条 ---------- */
.hp-search { display: flex; border: 1px solid var(--line); background: var(--card); border-radius: 12px; overflow: hidden; }
.hp-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  padding: 14px 17px; font-size: 13.5px; color: var(--ink); font-family: inherit;
}
.hp-search input::placeholder { color: var(--faint); }
.hp-search button {
  border: 0; background: var(--brand); color: #FBF6EA; padding: 0 28px;
  font-size: 13.5px; letter-spacing: 1.5px; cursor: pointer; font-family: inherit;
}
.hp-search button:hover { background: var(--brandD); }
.hp-hot { margin-top: 10px; font-size: 12px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.hp-hot a { color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.hp-hot a:hover { color: var(--brandD); border-color: var(--gold); }
.hp-hot i { font-style: normal; color: var(--line); }

/* ---------- 通告条 ---------- */
.hp-note {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 14px; padding: 10px 14px; border: 1px dashed var(--line);
  border-radius: 10px; background: var(--soft2); font-size: 12.5px; color: var(--muted);
}
.hp-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; margin-right: 8px; vertical-align: 1px; }
.hp-nc { color: var(--brandD); white-space: nowrap; }

/* ---------- 分类宫格 ---------- */
.hp-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hp-cat {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 14px 6px 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}
.hp-cat:hover { border-color: var(--gold); transform: translateY(-2px); }
.hp-cat:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp-ci { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--brandD); display: flex; align-items: center; justify-content: center; }
.hp-svg { width: 19px; height: 19px; }
.hp-cat b { font-size: 12px; font-weight: 400; color: var(--ink); letter-spacing: .5px; }

/* ---------- 焦点图（A 版右侧） ---------- */
.hp-focus {
  position: relative; display: block; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--line); background: var(--soft); min-height: 100%;
}
.hp-focus img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-ft {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 58px 24px 20px; color: #FBF6EA;
  background: linear-gradient(to top, rgba(28, 22, 16, .84), rgba(28, 22, 16, .30) 58%, transparent);
}
.hp-ft h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: 1px; }
.hp-ft p { color: rgba(251, 246, 234, .82); font-size: 12.5px; margin-top: 6px; }
.hp-eb { font-size: 10.5px; letter-spacing: 2px; color: var(--goldsoft); }
.hp-go { display: inline-block; margin-top: 12px; font-size: 12px; color: #FBF6EA; border-bottom: 1px solid rgba(251, 246, 234, .55); padding-bottom: 2px; }

/* ---------- 横向滚动条 ---------- */
.hp-row {
  display: flex; gap: 16px; overflow-x: auto; padding: 2px 2px 14px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.hp-row > * { flex: 0 0 300px; scroll-snap-align: start; }
.hp-row::-webkit-scrollbar { height: 6px; }
.hp-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* ---------- 活动卡（横滚用） ---------- */
.hp-ev {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.hp-ev:hover { border-color: var(--gold); transform: translateY(-2px); }
.hp-evi { position: relative; aspect-ratio: 16 / 9; background: var(--soft); }
.hp-evi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-d {
  position: absolute; left: 12px; top: 12px; padding: 5px 9px 4px;
  background: rgba(255, 253, 248, .94); border-radius: 8px; text-align: center; line-height: 1.1;
}
.hp-d b { display: block; font-family: var(--serif); font-size: 19px; color: var(--brandD); }
.hp-d em { font-style: normal; font-size: 10px; color: var(--muted); }
.hp-evb { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 6px; }
.hp-evb h3 { font-size: 14px; line-height: 1.5; }
.hp-evm { font-size: 11.5px; color: var(--faint); }
.hp-evs { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; font-size: 12px; }
.hp-more { color: var(--brandD); white-space: nowrap; }

/* ---------- 空间图卡 ---------- */
.hp-spaces { display: grid; gap: 20px; }
.hp-spaces.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-spaces.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spcard { display: block; overflow: hidden; padding: 0; text-decoration: none; }
.spart { position: relative; aspect-ratio: 16 / 10; background: var(--soft); }
.spart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spdist {
  position: absolute; left: 12px; top: 12px; padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 253, 248, .94); color: var(--brandD); font-size: 11px; letter-spacing: .5px;
}
.spbody { padding: 14px 15px 16px; }
.spbody h3 { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: .5px; }
.spkind { margin-top: 3px; font-size: 11px; letter-spacing: 1.5px; color: var(--goldink); }
.spbody p { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* ---------- 数字条 ---------- */
.hp-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hp-stat { padding: 18px 16px; border-right: 1px solid var(--line2); }
.hp-stat:last-child { border-right: 0; }
.hp-stat b {
  display: block; font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--brandD); line-height: 1.2; font-variant-numeric: tabular-nums;
}
.hp-stat b em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 3px; }
.hp-stat span { font-size: 11.5px; color: var(--faint); letter-spacing: .3px; }

/* ---------- 分类 chips ---------- */
.hp-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.hp-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: 12.5px; color: var(--muted); text-decoration: none;
}
.hp-chip b { font-weight: 500; color: var(--brandD); font-variant-numeric: tabular-nums; }
.hp-chip:hover { border-color: var(--gold); color: var(--brandD); }

/* ---------- A 版：顶部布局 ---------- */
.hp-top { padding: 34px 0 8px; }
.hp-desk { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: stretch; }

/* ---------- B 版：搜索 + 分类横条 + 三联焦点 ---------- */
.hp-top-b { padding-top: 30px; }
.hp-bcats { display: flex; gap: 20px; margin-top: 13px; font-size: 13px; overflow-x: auto; padding-bottom: 3px; }
.hp-bcats a { color: var(--muted); white-space: nowrap; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.hp-bcats a.on, .hp-bcats a:hover { color: var(--brandD); border-color: var(--gold); }
.hp-tri { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 14px; margin-top: 16px; }
.hp-tri-a {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); min-height: 340px; background: var(--soft);
}
.hp-tri-a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-trit {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 24px 20px; color: #FBF6EA;
  background: linear-gradient(to top, rgba(28, 22, 16, .84), rgba(28, 22, 16, .28) 58%, transparent);
}
.hp-trit h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: 1px; }
.hp-trit p { color: rgba(251, 246, 234, .82); font-size: 12.5px; margin-top: 6px; }
.hp-tri-b { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.hp-tri-s { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.hp-tri-s img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-trist {
  position: absolute; left: 14px; bottom: 11px; color: #FBF6EA; font-size: 13px;
  letter-spacing: .5px; text-shadow: 0 1px 10px rgba(0, 0, 0, .65);
}
.hp-trist i { font-style: normal; font-size: 11px; opacity: .82; margin-left: 6px; }

/* 主推横滚（B 版）：窄卡，一屏露出第三张的边 */
.hp-row-g > * { flex: 0 0 212px; }
.hp-g { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.hp-gi { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--soft2); border: 1px solid var(--line); }
.hp-gi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-tag {
  position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 6px;
  background: var(--red); color: #FFF6F2; font-size: 10.5px; letter-spacing: .5px;
}
.hp-tag.out { background: var(--muted); }
.hp-g b { margin-top: 9px; font-size: 13px; font-weight: 400; line-height: 1.5; }
.hp-gp { margin-top: 4px; display: flex; align-items: baseline; gap: 2px; }
.hp-price { font-family: var(--serif); font-size: 17px; color: var(--red); font-variant-numeric: tabular-nums; }
.hp-gp em { font-style: normal; font-size: 10.5px; color: var(--faint); }
.hp-gm { font-size: 11px; color: var(--faint); margin-top: 2px; }

/* ---------- C 版：窄 hero + 三入口 ---------- */
.hp-nhero { padding: 40px 0 8px; }
.hp-nhero-in { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 44px; align-items: center; }
.hp-nh-l h1 { font-family: var(--serif); font-size: 42px; font-weight: 500; line-height: 1.18; letter-spacing: 2px; }
.hp-nh-l .k { margin-top: 14px; font-size: 13.5px; color: var(--muted); max-width: 32em; line-height: 1.9; }
.hp-nh-l .cta { margin-top: 20px; display: flex; gap: 10px; }
.hp-hint { margin-top: 11px; font-size: 11.5px; color: var(--faint); letter-spacing: .3px; }
.hp-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.hp-entry { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 190px; background: var(--soft); }
.hp-entry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-entry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 22, 16, .82), rgba(28, 22, 16, .14) 62%, transparent); }
.hp-entryt { position: relative; z-index: 1; padding: 78px 18px 16px; color: #FBF6EA; }
.hp-entryt h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: 1px; }
.hp-entryt p { color: rgba(251, 246, 234, .84); font-size: 11.5px; margin-top: 4px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1040px) {
  .hp-desk { grid-template-columns: minmax(0, 1fr); }
  .hp-focus { min-height: 250px; }
  .hp-nhero-in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hp-nh-r .hp-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-tri { grid-template-columns: minmax(0, 1fr); }
  .hp-tri-a { min-height: 250px; }
  .hp-tri-b { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .hp-tri-s { min-height: 150px; }
}

@media (max-width: 760px) {
  .hp-top, .hp-top-b { padding-top: 22px; }
  .hp-head h2 { font-size: 21px; letter-spacing: 1px; }
  .hp-head { margin-bottom: 14px; }
  .hp-stats { grid-template-columns: 1fr 1fr; }
  .hp-stat { padding: 14px 12px; }
  .hp-stat:nth-child(2n) { border-right: 0; }
  .hp-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line2); }
  .hp-stat b { font-size: 22px; }
  /* 一屏一张半：露边才知道右边还有 */
  .hp-row > * { flex: 0 0 78%; }
  .hp-row-g > * { flex: 0 0 43%; }
  .hp-entries { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .hp-entry { min-height: 148px; }
  .hp-entryt { padding: 56px 16px 14px; }
  .hp-spaces.cols2, .hp-spaces.cols3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hp-nh-l h1 { font-size: 32px; letter-spacing: 1.5px; }
  .hp-cat { padding: 12px 4px 10px; gap: 6px; }
  .hp-search input { padding: 12px 13px; font-size: 13px; }
  .hp-search button { padding: 0 18px; letter-spacing: 1px; }
  .hp-bcats { gap: 15px; }
  .hp-tri-a { min-height: 210px; }
  .hp-trit { padding: 46px 16px 16px; }
  .hp-trit h3 { font-size: 20px; }
  .hp-tri-s { min-height: 118px; }
  .hp-note { font-size: 12px; padding: 9px 12px; }
}

@media (max-width: 400px) {
  .hp-cats { gap: 8px; }
  .hp-ci { width: 30px; height: 30px; }
  .hp-svg { width: 17px; height: 17px; }
  .hp-cat b { font-size: 11.5px; }
  .hp-row > * { flex: 0 0 84%; }
  .hp-stat b { font-size: 20px; }
}

/* ---------- 首页 v2 · 修版（2026-11-08 截图中发现的问题） ---------- */

/* ① `.hp-eb` 原本是给**深色叠层**用的浅米色，直接放到米色底上等于隐形。
   C 版 hero 的「北京 · 严选生活资源」就这么消失过一次 —— 变量没错，场景错了。 */
.hp-nh-l .hp-eb { color: var(--goldink); letter-spacing: 2.5px; }

/* ② 叠层文字的对比度：这几张实景图里有大面积亮窗、白墙，
   0.84 的渐变在亮处仍然压不住白字。加深到 0.92，并给标题一层极淡投影。 */
.hp-ft { background: linear-gradient(to top, rgba(26, 20, 14, .92), rgba(26, 20, 14, .42) 52%, rgba(26, 20, 14, .06) 78%, transparent); }
.hp-ft h3, .hp-trit h3 { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hp-trit { background: linear-gradient(to top, rgba(26, 20, 14, .92), rgba(26, 20, 14, .38) 54%, transparent); }
.hp-entry::after { background: linear-gradient(to top, rgba(26, 20, 14, .9), rgba(26, 20, 14, .22) 58%, transparent); }
.hp-ft p, .hp-trit p { color: rgba(251, 246, 234, .9); }

@media (max-width: 760px) {
  /* ③ B 版分类横条在手机上会把「全部在售」切成「全部在」——
     横滚的暗示比不上「一行字被切断」的坏观感，窄屏改成换行。 */
  .hp-bcats { flex-wrap: wrap; row-gap: 8px; overflow: visible; }
  /* ④ A 版手机首屏收一点，让「严选好物」标题露进第一屏 */
  .hp-focus { min-height: 210px; }
}

/* ⑤ 焦点图二次加深：0.92 只在最底部，而文字块有 120px 高，标题那一行
   实际落在 50%~70% 区间的 0.3~0.4 上 —— 亮木地板照样把白字吃掉。
   这次把 0.82 一直托到 45%，并对小标题单独加投影。 */
.hp-ft, .hp-trit {
  background: linear-gradient(to top,
    rgba(24, 19, 13, .95) 0%,
    rgba(24, 19, 13, .82) 42%,
    rgba(24, 19, 13, .46) 66%,
    rgba(24, 19, 13, .12) 84%,
    transparent 100%);
}
.hp-ft .hp-eb, .hp-trit .hp-eb { text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.hp-entry::after {
  background: linear-gradient(to top,
    rgba(24, 19, 13, .93) 0%,
    rgba(24, 19, 13, .74) 40%,
    rgba(24, 19, 13, .28) 68%,
    transparent 100%);
}

/* ⑥ 手机上数字条折成 2×2 之后正好被底栏切一刀，看着像"掉出来一截"。
   390 宽排四格：每格 84px，够放「20 家 / 严选资源入库」。 */
@media (max-width: 480px) {
  .hp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-stat { padding: 11px 8px 12px; border-right: 1px solid var(--line2); }
  .hp-stat:nth-child(2n) { border-right: 1px solid var(--line2); }
  .hp-stat:nth-child(-n+2) { border-bottom: 0; }
  .hp-stat:last-child { border-right: 0; }
  .hp-stat b { font-size: 17px; }
  .hp-stat b em { font-size: 10px; margin-left: 1px; }
  .hp-stat span { font-size: 10px; letter-spacing: 0; }
}

/* ==================================================================
   空间详情卡配图（2026-11-08）
   .space 原本自带 26px 内边距，图片要贴边就必须把内边距挪到 .sp-in，
   否则图会缩在卡片中间，像贴了一张邮票。
   ================================================================== */
.space-detail { padding: 0; overflow: hidden; }
.sp-top { position: relative; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.sp-top img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.space-detail:hover .sp-top img { transform: scale(1.03); }
.sp-in { padding: 24px 26px 24px; }
@media (max-width: 760px) {
  .sp-top { aspect-ratio: 16 / 9; }
  .sp-in { padding: 18px 18px 20px; }
}

/* 加购提示里的「去购物车」（2026-11-08）
   ⚠️ .cart-toast 是 pointer-events:none（不该挡住底下的内容），
   子元素必须自己开 auto，否则这个链接看得见点不动。 */
.cart-toast-go {
  pointer-events: auto;
  margin-left: 10px; color: var(--goldsoft);
  border-bottom: 1px solid rgba(251, 246, 234, .5); padding-bottom: 1px;
  white-space: nowrap;
}
.cart-toast-go:hover { color: #FFF8EA; border-color: #FFF8EA; }

/* 空间卡是奇数张时（现在北京五处），最后一张会孤零零挂在左边，
   右边留一块空地，看着像「还有一张没加载出来」。
   处理办法：让最后那张横跨两列、改成「图左文右」的横版。
   ⚠️ 只在两列布局下成立，窄屏要退回竖版。 */
.spacegrid > .space-detail:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.spacegrid > .space-detail:last-child:nth-child(odd) .sp-top {
  aspect-ratio: auto; height: 100%; min-height: 280px;
}
@media (max-width: 760px) {
  .spacegrid > .space-detail:last-child:nth-child(odd) { display: block; }
  .spacegrid > .space-detail:last-child:nth-child(odd) .sp-top {
    aspect-ratio: 16 / 9; height: auto; min-height: 0;
  }
}
