/* ============================================================
   LUNE 露恩 · 女装微信小程序模板
   app.css — 所有屏幕共用的组件与数值
   （颜色 / 字号 / 间距只从 tokens.css 取，不要写死）
   ============================================================ */

/* ============ 基础 ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-15);
  line-height: 1.6;               /* 中文正文行高偏大 */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button {
  font: inherit; color: inherit; background: none;
  border: 0; padding: 0; cursor: pointer; text-align: inherit;
}
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.ico { width: 22px; height: 22px; flex-shrink: 0; }

/* ============ 排版 ============ */
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: .01em; }
.num   { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* 全大写英文小标签（Georgia 字距拉开的编辑感处理） */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--t-11);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
  line-height: 1.4;
}
.eyebrow--light { color: var(--cream-muted); }
.eyebrow--primary { color: var(--primary); }

/* 价格：衬线数字，带货币单位 */
.price {
  font-family: var(--font-sans);
  font-size: var(--t-17);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}
.price__cur { font-size: .68em; margin-right: 1px; }
.price--sm { font-size: var(--t-15); }
.price--lg { font-size: var(--t-25); }
.price--del {
  font-size: var(--t-12);
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* ============ 页面骨架 ============ */
/* .page / .main 都会自动让开固定顶栏，务必给 <main> 加上 */
.page, .main { padding-top: var(--topbar-h); }
.page { padding-bottom: var(--s-7); }
.page--tabbar { padding-bottom: calc(var(--tabbar-h) + var(--indicator-h) + var(--s-5)); }
.page--action { padding-bottom: calc(var(--s-8) + var(--s-5)); }
.gutter { padding-left: var(--gutter); padding-right: var(--gutter); }

/* 顶部固定栏：状态栏 + 导航栏 */
.topbar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 40;
  background: var(--bg);
  height: var(--topbar-h);
  border-bottom: 1px solid var(--line);
}
.topbar--dark {
  background: var(--ink-bg);
  border-bottom-color: rgba(244, 236, 223, .12);
  color: var(--cream);
}
.topbar--plain { background: var(--surface); }

.statusbar {
  height: var(--status-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px 0 28px;
  font-size: var(--t-13); font-weight: 600; letter-spacing: .02em;
}
.statusbar__time { transform: translateY(-1px); }
.statusbar__icons { display: flex; align-items: center; gap: 6px; }

.navbar {
  height: var(--nav-h);
  display: flex; align-items: center; gap: var(--s-2);
  padding: 0 var(--s-4);
}
.navbar__title {
  font-size: var(--t-17);
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.navbar__back {
  width: 44px; height: 44px; margin-left: -12px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  color: inherit;
  flex-shrink: 0;
}
.navbar__back .ico { width: 22px; height: 22px; }
.navbar__spacer { flex: 1; }
.navbar__brand {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
}

/* 微信小程序胶囊按钮（自定义导航必备） */
.capsule {
  margin-left: auto;
  flex-shrink: 0;
  width: 92px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .42);
  display: flex; align-items: center;
  color: var(--ink-soft);
  overflow: hidden;
}
.capsule--dark {
  border-color: rgba(244, 236, 223, .26);
  background: rgba(244, 236, 223, .08);
  color: var(--cream);
}
.capsule__btn {
  flex: 1; height: 44px;
  display: grid; place-items: center;
  color: inherit;
}
.capsule__btn .ico { width: 18px; height: 18px; }
.capsule__dot { width: 1px; height: 18px; background: currentColor; opacity: .22; }

/* 底部 Tab 栏 */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: calc(var(--tabbar-h) + var(--indicator-h));
  padding-bottom: var(--indicator-h);
  background: rgba(255, 252, 247, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex;
}
.tabbar__item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding-top: 4px;
  font-size: var(--t-11);
  letter-spacing: .04em;
  color: var(--muted);
  position: relative;
  transition: color .18s var(--ease);
}
.tabbar__item .ico { width: 22px; height: 22px; stroke-width: 1.5; }
.tabbar__item.is-active { color: var(--ink); font-weight: 600; }
.tabbar__item.is-active .ico { stroke-width: 1.9; }
.tabbar__badge {
  position: absolute; top: 2px; left: 50%; margin-left: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--primary); color: #fff;
  font-family: var(--font-sans);
  font-size: var(--t-10); font-weight: 600; line-height: 16px;
  text-align: center;
}

/* 底部操作栏（详情 / 购物袋 / 结算 / 收银台） */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255, 252, 247, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + var(--indicator-h));
  display: flex; align-items: center; gap: var(--s-3);
}

/* 小程序 Home 指示条 */
.home-indicator {
  position: fixed; left: 50%; bottom: 8px; z-index: 50;
  width: 134px; height: 5px;
  margin-left: -67px;
  border-radius: var(--r-pill);
  background: rgba(23, 20, 15, .34);
  pointer-events: none;
}
.home-indicator--dark { background: rgba(244, 236, 223, .8); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-5);
  border-radius: var(--r-2);
  font-size: var(--t-13);
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: transform .18s var(--ease), opacity .18s var(--ease), background-color .18s var(--ease);
}
.btn:active { transform: scale(.985); }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--accent  { background: var(--primary); color: #fff; }
.btn--ghost   { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--quiet   { border: 1px solid var(--line-strong); color: var(--ink-soft); background: transparent; }
.btn--light   { background: var(--cream); color: var(--ink); }
.btn--block   { flex: 1; height: 50px; padding: 0 var(--s-4); }
.btn--lg      { height: 52px; font-size: var(--t-15); letter-spacing: .1em; }
.btn .ico     { width: 18px; height: 18px; }
.btn[disabled], .btn.is-disabled { opacity: .42; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  margin-block: -12px;
  padding-block: 12px;
  font-size: var(--t-13); font-weight: 600; letter-spacing: .06em;
  color: currentColor;
}
.link-arrow .ico { width: 15px; height: 15px; transition: transform .18s var(--ease); }
.link-arrow:active .ico { transform: translateX(2px); }

/* 图标按钮（收藏 / 分享 / 客服） */
.iconbtn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: inherit;
  flex-shrink: 0;
}
.iconbtn .ico { width: 22px; height: 22px; }

/* ============ 商品影像（布料质感占位画面） ============ */
.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(158deg, var(--tone-a, #e7dcc8), var(--tone-b, #cdbca0));
}
.media::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 16% 6%, rgba(255, 255, 255, .40), transparent 62%),
    radial-gradient(90% 70% at 90% 98%, rgba(0, 0, 0, .22), transparent 62%),
    repeating-linear-gradient(102deg,
      rgba(255, 255, 255, .08) 0 1px,
      rgba(0, 0, 0, .035) 1px 2px,
      transparent 2px 9px);
}
.media::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.55'/></svg>");
  opacity: .26;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.media__art {
  position: absolute; z-index: 2;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 66%; height: auto;
  color: var(--art-ink, rgba(255, 255, 255, .58));
}
.media__art--lg { width: 84%; }
.media__art--sm { width: 52%; }

/* 商品实拍照片：统一裁切填满，颗粒保留一点胶片感 */
.media__photo {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 34%;
  display: block;
}
.media--photo::before { display: none; }
.media--photo::after { opacity: .13; }
/* 照片上的编号 / 系列标签用深色底压住，保证对比度 */
.media--photo .media__index,
.media--photo .media__label {
  background: rgba(18, 15, 10, .46);
  color: #fff;
  border-radius: var(--r-2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.media--photo .media__index { padding: 2px 8px; right: var(--s-3); top: var(--s-3); }
.media--photo .media__label { padding: 3px 8px; left: var(--s-3); bottom: var(--s-3); }
.media__label {
  position: absolute; z-index: 3;
  left: var(--s-3); bottom: var(--s-2);
  font-size: var(--t-10); font-weight: 500;
  letter-spacing: .06em;
  color: var(--art-cap, rgba(255, 255, 255, .78));
}
.media__index {
  position: absolute; z-index: 3;
  right: var(--s-3); top: var(--s-3);
  font-family: var(--font-latin);
  font-size: var(--t-11); letter-spacing: .12em;
  color: var(--art-cap, rgba(255, 255, 255, .78));
}

/* 布料色卡（连不上照片时的兜底，也作图片加载中的底色）
   浅色布料上的线稿用墨色（白色线稿在奶油色上几乎看不见），
   深色布料上保持奶油白线稿。 */
.tone-oat {
  --tone-a: #e8ddc9; --tone-b: #cbb99c;
  --art-ink: rgba(38, 30, 20, .40); --art-cap: rgba(38, 30, 20, .62);
}
.tone-ivory {
  --tone-a: #f6f0e5; --tone-b: #e0d4c1;
  --art-ink: rgba(38, 30, 20, .34); --art-cap: rgba(38, 30, 20, .56);
}
.tone-clay  { --tone-a: #d9a289; --tone-b: #a85c3d; }
.tone-ink   { --tone-a: #3b352c; --tone-b: #14110d; }
.tone-sage  {
  --tone-a: #bcc3b2; --tone-b: #87907d;
  --art-ink: rgba(32, 38, 24, .42); --art-cap: rgba(32, 38, 24, .64);
}
.tone-slate {
  --tone-a: #afb8bd; --tone-b: #74818a;
  --art-ink: rgba(24, 32, 38, .42); --art-cap: rgba(24, 32, 38, .64);
}
.tone-plum  { --tone-a: #915e66; --tone-b: #57313a; }
.tone-sand  {
  --tone-a: #ded0b8; --tone-b: #b39d7d;
  --art-ink: rgba(38, 30, 20, .40); --art-cap: rgba(38, 30, 20, .62);
}
/* 浅色布料上强制墨色线稿（页面里也可直接用这个类） */
.media--inkart { --art-ink: rgba(38, 30, 20, .42); --art-cap: rgba(38, 30, 20, .64); }

.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-169 { aspect-ratio: 16 / 9; }

/* ============ 商品卡（吊牌式标价是品牌记号） ============ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5) var(--s-3);
}
.prod { display: block; }
.prod__media { position: relative; }
.prod__tag { position: absolute; left: 10px; top: 10px; z-index: 3; }
.prod__meta {
  padding-top: 10px;
}
.prod__meta .price { display: block; margin-top: var(--s-1); }
.prod__name {
  font-size: var(--t-13);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .01em;
  color: var(--ink);
}
.prod__en {
  margin-top: 3px;
  font-size: var(--t-11);
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 服装吊牌 */
.hangtag {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 6px;
  background: var(--primary-tint);
  border: 0;
  border-radius: var(--r-2);
  font-family: var(--font-sans);
  font-size: var(--t-10); font-weight: 500;
  letter-spacing: .04em;
  color: var(--primary);
  white-space: nowrap;
}
.hangtag--accent { background: var(--primary); color: #fff; }
.hangtag--ink { background: var(--ink); color: var(--cream); }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px; padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: var(--t-12);
  color: var(--ink-soft);
  white-space: nowrap;
}
.chip--on { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ============ 区块标题 ============ */
.section { padding: 0 var(--gutter); }
.section + .section { margin-top: var(--s-7); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.section-title {
  font-family: var(--font-serif);
  font-size: var(--t-20);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
}
.section-title__sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-caps);
  font-size: var(--t-10); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.section-more {
  display: inline-flex; align-items: center;
  min-height: 44px;
  margin-block: -12px;
  padding-block: 12px;
  font-size: var(--t-11);
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* 详情页图集缩略图 */
.gallery-strip {
  display: flex;
  gap: var(--s-2);
  padding: var(--s-3) var(--gutter) 0;
}
.gallery-thumb {
  width: 56px; height: 70px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--bg-deep);
  overflow: hidden;
  position: relative;
  transition: border-color .18s var(--ease), opacity .18s var(--ease);
  opacity: .72;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.is-on { border-color: var(--ink); opacity: 1; }
.gallery-thumb.is-on::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--ink);
  border-radius: inherit;
  pointer-events: none;
}

/* 详情页「版型与搭配」：事实型说明，不用衬线絮语 */
.editor__text.editor__text--note {
  font-family: var(--font-sans);
  font-size: var(--t-15);
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--ink-soft);
}

/* 详情页细节图与尺码表（电商详情区） */
.detail-gallery { margin-top: var(--s-3); }
.detail-gallery img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: var(--s-2);
  border-radius: var(--r-2);
  background: var(--bg-deep);
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s-3);
  font-size: var(--t-12);
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.size-table th,
.size-table td {
  padding: 10px 6px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  white-space: nowrap;
}
.size-table th { color: var(--muted); font-size: var(--t-11); }
.size-table td:first-child, .size-table th:first-child { text-align: left; }
.size-table tr.is-on td { color: var(--ink); font-weight: 600; }
.size-note { margin-top: var(--s-2); font-size: var(--t-11); color: var(--muted); line-height: 1.7; }

/* ============ 卡片 / 列表 ============ */
.block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
}
.block--flush { border-radius: 0; border-left: 0; border-right: 0; }
.hr { height: 1px; background: var(--line); }

.cell {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: 52px;
  padding: var(--s-3) var(--s-4);
  width: 100%;
  text-align: left;
}
.cell + .cell { border-top: 1px solid var(--line); }
.cell__icon { width: 20px; height: 20px; color: var(--ink-soft); flex-shrink: 0; }
.cell__body { flex: 1; min-width: 0; }
.cell__label { font-size: var(--t-13); font-weight: 500; }
.cell__hint { font-size: var(--t-11); color: var(--muted); margin-top: 2px; }
.cell__value {
  font-size: var(--t-13); color: var(--muted);
  text-align: right; max-width: 58%;
}
.cell__chevron { width: 16px; height: 16px; color: var(--muted-2); flex-shrink: 0; }

/* 键值行（价格明细） */
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-size: var(--t-13); }
.kv + .kv { margin-top: 10px; }
.kv__v { color: var(--ink); }
.kv__v--minus { color: var(--primary); }

/* ============ 表单控件 ============ */
.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  height: 28px;
  flex-shrink: 0;
}
.stepper__btn {
  width: 30px; height: 100%;
  display: grid; place-items: center;
  color: var(--ink-soft);
}
.stepper__btn .ico { width: 14px; height: 14px; }
.stepper__btn[disabled] { color: var(--line-strong); pointer-events: none; }
.stepper__val {
  min-width: 26px; text-align: center;
  font-size: var(--t-12); font-variant-numeric: tabular-nums;
}

.check {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: transparent;
  background: transparent;
}
.check .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.check.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.check--square { border-radius: var(--r-2); }
.check--accent.is-on { background: var(--primary); border-color: var(--primary); }

.radio {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
}
.radio__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: transparent;
}
.radio.is-on { border-color: var(--ink); }
.radio.is-on .radio__dot { background: var(--ink); }
.radio--wechat.is-on { border-color: var(--wechat); }
.radio--wechat.is-on .radio__dot { background: var(--wechat); }

.switch {
  width: 42px; height: 24px; flex-shrink: 0;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  position: relative;
  transition: background-color .18s var(--ease);
}
.switch::after {
  content: "";
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  transition: transform .18s var(--ease);
}
.switch.is-on { background: var(--ink); }
.switch.is-on::after { transform: translateX(18px); }

.field {
  width: 100%;
  height: 42px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface);
  font-family: inherit;
  font-size: var(--t-13);
  color: var(--ink);
}
.field::placeholder { color: var(--muted-2); }
.field:focus { border-color: var(--ink); outline: none; }

/* 数量 / 角标 */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-pill);
  font-size: var(--t-10); font-weight: 600;
  background: var(--primary); color: #fff;
}
.badge--quiet { background: var(--bg-deep); color: var(--muted); }

/* 状态点 */
.dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* ============ 支付相关 ============ */
.amount {
  font-family: var(--font-latin);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.1;
  white-space: nowrap;
}
.amount__cur { font-size: 1em; margin-right: 2px; opacity: .78; }

.pay-opt {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface);
  width: 100%;
  min-height: 68px;
}
.pay-opt + .pay-opt { margin-top: 10px; }
.pay-opt.is-on { border-color: var(--ink); background: #fff; }
.pay-opt__icon { width: 34px; height: 34px; flex-shrink: 0; }
.pay-opt__name { font-size: var(--t-13); font-weight: 600; }
.pay-opt__desc { margin-top: 2px; font-size: var(--t-11); color: var(--muted); }

.success-mark {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--success-tint);
  color: var(--success);
  display: grid; place-items: center;
}
.success-mark .ico { width: 34px; height: 34px; stroke-width: 2; }

/* 倒计时 */
.countdown {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: var(--t-12); color: var(--primary);
  font-variant-numeric: tabular-nums;
}

/* 半屏浮层 */
.sheet-mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(23, 20, 15, .38);
}
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
  background: var(--surface);
  border-radius: var(--r-8) var(--r-8) 0 0;
  padding: var(--s-4) var(--gutter) calc(var(--s-5) + var(--indicator-h));
  box-shadow: var(--shadow-2);
}
.sheet__handle {
  width: 36px; height: 4px; border-radius: var(--r-pill);
  background: var(--line-strong);
  margin: 0 auto var(--s-3);
}

/* ============ 动效 ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
