/* ==========================================================================
   背单词 · 学生端首页「我的书桌」（方案 C）
   --------------------------------------------------------------------------
   令牌层：本文件不自建色板，全部指向项目既有皮肤令牌
   （css/style.css :root 默认 / css/skin-pink.css 粉梦覆盖）。
   html[data-skin] 一变，首页与其余页同步换肤，不会出现第三种配色。
   作用域统一 .vbh- 前缀，不覆盖既有 .vb-* 组件样式。
   ========================================================================== */

:root {
  --vbh-bg:            var(--bg);
  --vbh-surface:       var(--surface);
  --vbh-surface-2:     var(--surface-2);
  --vbh-ink:           var(--text);
  --vbh-ink2:          var(--text-2);
  --vbh-muted:         var(--muted);
  --vbh-line:          var(--border);
  --vbh-line-3:        var(--border-3);
  --vbh-line-soft:     var(--surface-2);
  --vbh-soft:          var(--primary-l);
  --vbh-violet:        var(--primary);
  --vbh-violet-d:      var(--primary-d);
  --vbh-purple:        var(--purple);
  --vbh-amber:         var(--accent);
  --vbh-success:       var(--success);
  --vbh-success-l:     var(--success-l);
  --vbh-overlay:       var(--overlay);
  --vbh-amber-ink:     var(--text);
  /* 提醒色正文：由 --danger 与 --text 混合，12px 下两套皮肤都 ≥4.5:1；
     不新增色板，只做既有令牌的派生（同 --vbh-pet-shadow 的写法） */
  --vbh-alert-ink:     color-mix(in srgb, var(--danger) 72%, var(--text));
  --vbh-star:          var(--accent);
  --vbh-track:         var(--bg-soft);
  --vbh-faint:         var(--surface-2);
  --vbh-brand:         linear-gradient(135deg, var(--primary), var(--purple));
  --vbh-pet-shadow:    color-mix(in srgb, var(--text) 18%, transparent);
  --vbh-shadow:        var(--shadow);
  --vbh-shadow-cover:  var(--shadow-lg);
}

/* 首页模式：隐藏旧外壳的标题 / 统计 / 词本入口，由书桌自己的顶栏接管 */
body.vb-home-mode {
  background: var(--vbh-bg);
}
body.vb-home-mode .vb-hero {
  display: none;
}
body.vb-home-mode .vb-wrap {
  max-width: 1040px;
  padding: 12px 14px 34px;
}

.vbh-home {
  max-width: 100%;
  font-family: var(--font);
  color: var(--vbh-ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.vbh-home * {
  box-sizing: border-box;
}
/* 按钮基础重置用 :where() 降权，避免覆盖下面各组件自己的底色与描边 */
.vbh-home :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vbh-home :focus-visible {
  outline: 2px solid var(--vbh-violet);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ 顶栏 */
.vbh-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 8px;
}
.vbh-top h1 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  letter-spacing: .2px;
}
.vbh-top .vbh-sub {
  font-size: 12px;
  color: var(--vbh-ink2);
  margin-top: 2px;
}

/* 一行成人可读事实（家长站旁边能看懂） */
.vbh-fact {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--vbh-ink2);
  font-variant-numeric: tabular-nums;
}
.vbh-fact i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vbh-violet);
  flex: 0 0 auto;
}
.vbh-fact b {
  color: var(--vbh-ink);
  font-weight: 800;
}

/* 逾期事实行（20261110 方向二）：只陈述「这本以外还有多少到期词」，
   不催、不进宠物播报；点整行进「今日复习（全部）」。>20 换提醒色。 */
.vbh-due {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 4px 10px 4px 9px;
  border-radius: 12px;
  background: var(--vbh-surface);
  border: 1px solid var(--vbh-line);
  font-size: 12px;
  color: var(--vbh-ink2);
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.vbh-due > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vbh-amber);
  flex: 0 0 auto;
}
.vbh-due .vbh-due-t {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vbh-due b {
  color: var(--vbh-ink);
  font-weight: 800;
}
.vbh-due .vbh-due-go {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  color: var(--vbh-violet-d);
}
.vbh-due svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
}
.vbh-due:active {
  background: var(--vbh-soft);
}
.vbh-due.is-hot {
  border-color: color-mix(in srgb, var(--danger) 34%, var(--vbh-line));
  background: color-mix(in srgb, var(--danger) 7%, var(--vbh-surface));
}
.vbh-due.is-hot > i {
  background: var(--danger);
}
.vbh-due.is-hot .vbh-due-t,
.vbh-due.is-hot b {
  color: var(--vbh-alert-ink);
}

/* ------------------------------------------------------------------ 栅格 */
.vbh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 16px;
  align-items: start;
}

/* ------------------------------------------------------------------ 书桌 */
.vbh-desk {
  background: var(--vbh-surface);
  border: 1px solid var(--vbh-line);
  border-radius: 24px;
  padding: 14px 14px 12px;
  box-shadow: var(--vbh-shadow);
}
.vbh-desk-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 2px 10px;
}
.vbh-desk-head b {
  font-size: 14px;
}
.vbh-assign {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 800;
  /* 浅底小字用 primary-d，保证粉梦下仍 ≥4.5:1 */
  color: var(--vbh-violet-d);
  background: var(--vbh-soft);
  border-radius: 999px;
  padding: 4px 10px;
}
.vbh-assign i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vbh-violet);
  display: block;
}

.vbh-book {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 2px 12px;
  min-width: 0;
}
.vbh-cover {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  height: 148px;
  border-radius: 7px 13px 13px 7px;
  /* 书封沿用项目品牌渐变（--primary → --purple），紫色取既有原值 */
  background: var(--vbh-brand);
  box-shadow: var(--vbh-shadow-cover);
}
.vbh-cover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 13px;
  background: var(--vbh-violet-d);
  border-radius: 7px 0 0 7px;
}
.vbh-cover::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 7px;
  bottom: 7px;
  width: 9px;
  background: var(--vbh-surface);
  border-radius: 0 4px 4px 0;
  box-shadow: inset -2px 0 0 var(--vbh-line);
}
.vbh-cover .vbh-ttl {
  position: absolute;
  left: 23px;
  right: 13px;
  top: 17px;
  color: var(--vbh-surface);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .2px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vbh-cover .vbh-star {
  position: absolute;
  left: 23px;
  bottom: 16px;
  width: 26px;
  height: 26px;
  color: var(--vbh-star);
  fill: currentColor;
}
.vbh-cover .vbh-check {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--vbh-star);
  color: var(--vbh-violet-d);
  display: none;
  place-items: center;
}
.vbh-cover .vbh-check svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}
.vbh-book.is-done .vbh-check {
  display: grid;
}

.vbh-meta {
  flex: 1 1 auto;
  min-width: 0;
}
.vbh-meta > b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vbh-meta .vbh-line2 {
  display: block;
  font-size: 12.5px;
  color: var(--vbh-ink2);
  margin-top: 3px;
}
.vbh-bar {
  height: 7px;
  border-radius: 99px;
  background: var(--vbh-track);
  overflow: hidden;
  margin-top: 9px;
}
.vbh-bar i {
  display: block;
  height: 100%;
  background: var(--vbh-violet);
  border-radius: 99px;
}
.vbh-meta .vbh-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--vbh-ink2);
}
.vbh-meta .vbh-foot svg {
  width: 14px;
  height: 14px;
  color: var(--vbh-violet);
  fill: currentColor;
  flex: 0 0 auto;
}
.vbh-meta .vbh-foot b {
  color: var(--vbh-violet);
  font-weight: 800;
}

/* 学习范围两档（20261110 方向二）：默认「只学这本」，
   另一档「这本 + 全部复习」并列可选；换本/换档即时生效。 */
.vbh-scope {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 10px;
  border-radius: 14px;
  background: var(--vbh-track);
  border: 1px solid var(--vbh-line);
}
.vbh-scope-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0 6px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  color: var(--vbh-ink2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .18s, color .18s, box-shadow .18s;
}
.vbh-scope-btn.on {
  background: var(--vbh-surface);
  color: var(--vbh-violet-d);
  font-weight: 800;
  box-shadow: 0 1px 3px var(--vbh-pet-shadow);
}
.vbh-scope-btn:active {
  background: var(--vbh-soft);
}

/* 主按钮：背单词 */
.vbh-go {
  width: 100%;
  min-height: 68px;
  border-radius: 18px;
  background: var(--vbh-brand);
  color: var(--vbh-surface);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.vbh-go:active {
  background: var(--vbh-violet-d);
}
.vbh-go svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

/* 宠物播报条 */
.vbh-guide {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--vbh-line);
}
.vbh-guide .vbh-pet {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 6px var(--vbh-pet-shadow));
}
.vbh-guide .vbh-bubble {
  font-size: 12px;
  color: var(--vbh-ink2);
  line-height: 1.5;
  flex: 1 1 auto;
  min-width: 0;
}
.vbh-guide .vbh-bubble b {
  color: var(--vbh-ink);
  font-weight: 800;
}
.vbh-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding: 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  /* 窄屏下不许把「换本周词本」挤成竖排：整行不换行，靠气泡自己折行 */
  white-space: nowrap;
  color: var(--vbh-violet);
}
.vbh-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* ------------------------------------------------------------------ 今日清单
   B 卡片流：工具入口由「三张同重量卡片」改为列表行，
   整页唯一实心块仍是书卡里的「背单词」主按钮。 */
.vbh-list {
  background: var(--vbh-surface);
  border: 1px solid var(--vbh-line);
  border-radius: 20px;
  padding: 6px 14px 4px;
  margin-top: 12px;
}
.vbh-list-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0 6px;
}
.vbh-list-head b {
  font-size: 13.5px;
  font-weight: 800;
}
.vbh-list-head span {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--vbh-ink2);
}
.vbh-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 8px 0;
  text-align: left;
  border-top: 1px solid var(--vbh-line);
  transition: background .12s ease;
}
.vbh-row:first-of-type {
  border-top: 0;
}
.vbh-row:active {
  /* 按下要有可见变化：第二层表面色压在白卡上等于没变 */
  background: var(--bg-soft);
}
.vbh-ric {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--vbh-soft);
  color: var(--vbh-violet);
  display: grid;
  place-items: center;
}
.vbh-ric svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}
.vbh-rmain {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
}
.vbh-rmain b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}
.vbh-rmain span {
  display: block;
  font-size: 11.5px;
  color: var(--vbh-ink2);
  line-height: 1.35;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vbh-rgo {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--vbh-line-3);
}
.vbh-rgo svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* ------------------------------------------------------------------ 右栏 */
.vbh-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.vbh-panel {
  background: var(--vbh-surface);
  border: 1px solid var(--vbh-line);
  border-radius: 20px;
  padding: 14px 15px;
}
.vbh-panel h3 {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vbh-panel h3 span {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--vbh-ink2);
}
.vbh-bk {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 0;
  border-top: 1px solid var(--vbh-line-soft);
}
.vbh-bk:first-of-type {
  border-top: 0;
}
.vbh-bk .vbh-bd {
  flex: 1 1 auto;
  min-width: 0;
}
.vbh-bk b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vbh-bk span.vbh-s {
  display: block;
  font-size: 11.5px;
  color: var(--vbh-ink2);
  margin-top: 1px;
}
/* 词本时间区间：创建 → 最近学习；窄屏单行省略，不撑破卡片 */
.vbh-bk .vbh-when {
  display: block;
  font-size: 11.5px;
  color: var(--vbh-ink2);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vbh-bk .vbh-st {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--vbh-violet-d);
  background: var(--vbh-soft);
  border-radius: 999px;
  padding: 3px 8px;
}
.vbh-bk .vbh-st.gray {
  color: var(--vbh-muted);
  background: var(--vbh-line-soft);
}
/* 词本超过 4 本时的出口：一行右对齐文字按钮，
   视觉重量低于词本行（无底色、无分隔线、字号更小），窄屏不换行 */
.vbh-allbooks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--vbh-violet-d);
  white-space: nowrap;
}
.vbh-allbooks svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
}
.vbh-allbooks:active {
  opacity: .65;
}
.vbh-note {
  margin: 9px 0 0;
  font-size: 11.5px;
  color: var(--vbh-ink2);
  line-height: 1.65;
}
/* --------------------------------------------------------- 成长花园（20261111）
   一天一株：学过＝绿苗，没学＝土坑（虚线空坑），护连胜卡补签＝黄苗；
   同一行里相邻的两天都用底部绿带连起来，今天套紫环 + 右上角圆点。
   颜色全部吃既有令牌（--success / --success-l / --accent / --primary），不新增色板。
   注意：本机 Edge 100 不支持 color-mix()，这里不使用。 */
.vbh-g-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 6px;
}
/* 整月大字版挂在 body 下（不在 .vbh-home 里），拿不到上面的 button 重置，
   这里单独重置一遍，否则会露出浏览器默认按钮的黑色描边与灰底 */
.vbh-gc,
.vbh-g-nav,
.vbh-g-all,
.vbh-g-x,
.vbh-g-retry {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vbh-gc:focus-visible,
.vbh-g-nav:focus-visible,
.vbh-g-all:focus-visible,
.vbh-g-x:focus-visible,
.vbh-g-retry:focus-visible {
  outline: 2px solid var(--vbh-violet);
  outline-offset: 2px;
}
.vbh-g-bar b {
  min-width: 42px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.vbh-g-nav {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  color: var(--vbh-ink2);
  background: var(--vbh-track);
}
.vbh-g-nav:active {
  background: var(--vbh-soft);
  color: var(--vbh-violet-d);
}
.vbh-g-nav[disabled] {
  opacity: .35;
  cursor: default;
}
.vbh-g-all {
  margin-left: auto;
  height: 26px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--vbh-violet-d);
  background: var(--vbh-soft);
}
.vbh-g-all:active {
  background: var(--vbh-violet);
  color: var(--vbh-surface);
}

.vbh-g-week,
.vbh-g-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.vbh-g-week {
  margin-bottom: 3px;
}
.vbh-g-week span {
  text-align: center;
  font-size: 10px;
  color: var(--vbh-muted);
}

.vbh-gc {
  position: relative;
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--vbh-track);
  transition: transform .14s ease, box-shadow .14s ease;
}
.vbh-gc.is-blank {
  background: transparent;
  cursor: default;
}
/* 未开垦（开垦之前 / 还没到的日子）：近白格 + 淡日号，不画土坑，避免误判缺勤 */
.vbh-gc.future,
.vbh-gc.before {
  background: var(--vbh-surface-2);
  cursor: default;
}
.vbh-gc.on {
  background: var(--vbh-success-l);
}
/* 日号：左上角小小一枚，保证「哪天」看得清，又不抢小苗 */
.vbh-gc-n {
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: 9px;
  font-style: normal;
  line-height: 1;
  color: var(--vbh-ink2);
}
.vbh-gc.on .vbh-gc-n {
  color: var(--vbh-ink2);
  font-weight: 700;
}
.vbh-gc.future .vbh-gc-n,
.vbh-gc.before .vbh-gc-n {
  opacity: .45;
}
/* 土坑：虚线椭圆 + 内阴影，像土里挖出的空位 */
.vbh-gc-pit {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 15px;
  height: 10px;
  margin-left: -7.5px;
  border-radius: 50%;
  border: 1.5px dashed var(--vbh-ink2);
  background: var(--vbh-surface-2);
  box-shadow: inset 0 1px 2px var(--vbh-pet-shadow);
}
/* 小苗（内联 SVG，颜色跟随 currentColor） */
.vbh-gc-p {
  width: 62%;
  max-width: 24px;
  height: auto;
  margin-top: 2px;
  color: var(--vbh-success);
}
.vbh-gc.rest .vbh-gc-p {
  color: var(--vbh-amber);
}
/* 底部绿带：默认在格内；lk-l / lk-r 向左右各伸出一个 gap，把相邻两天连成一段 */
.vbh-gc.on::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--vbh-success);
  opacity: .8;
}
.vbh-gc.on.rest::after {
  background: var(--vbh-amber);
}
.vbh-gc.lk-l::after {
  left: -4px;
  border-radius: 2px 0 0 2px;
}
.vbh-gc.lk-r::after {
  right: -4px;
  border-radius: 0 2px 2px 0;
}
/* 今天：紫环 + 右上圆点；选中：加深的环 */
.vbh-gc.today {
  box-shadow: inset 0 0 0 2px var(--vbh-violet);
}
.vbh-gc-dot {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vbh-violet);
}
.vbh-gc.sel {
  box-shadow: inset 0 0 0 2px var(--vbh-violet-d);
}
.vbh-gc:active {
  transform: scale(.94);
}
/* 加载中：只显示淡淡的格子骨架，不画土坑（避免误判成缺勤） */
.vbh-g-grid.is-load {
  opacity: .5;
}
.vbh-g-grid.is-load .vbh-gc {
  animation: vbhGardenWait 1.3s ease-in-out infinite;
}
@keyframes vbhGardenWait {
  0%, 100% { opacity: .5; }
  50% { opacity: .9; }
}

.vbh-g-detail {
  margin: 7px 0 0;
  min-height: 16px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--vbh-ink2);
  font-variant-numeric: tabular-nums;
}
.vbh-g-retry {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--vbh-violet-d);
  background: var(--vbh-soft);
}

/* 整月大字版：遮罩 1000，低于 toast(1010)，孩子点未来日期时提示不被盖住 */
.vbh-gveil {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--vbh-overlay);
}
.vbh-gsheet {
  width: min(520px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 16px 16px 14px;
  border-radius: 22px;
  background: var(--vbh-surface);
  box-shadow: var(--vbh-shadow-cover);
}
.vbh-gsheet header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.vbh-gsheet header b {
  font-size: 16px;
  font-weight: 800;
}
.vbh-gsheet header span {
  font-size: 11.5px;
  color: var(--vbh-ink2);
}
.vbh-g-x {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--vbh-ink2);
  background: var(--vbh-track);
}
.vbh-g-x:active {
  background: var(--vbh-soft);
  color: var(--vbh-violet-d);
}
.vbh-g-bar.is-big {
  margin: 2px 0 8px;
}
.vbh-g-bar.is-big b {
  min-width: 96px;
  font-size: 13px;
}
.vbh-g-bar.is-big .vbh-g-nav {
  width: 32px;
  height: 32px;
  font-size: 17px;
}
.vbh-g-grid.is-big {
  gap: 6px;
}
.vbh-g-grid.is-big .vbh-gc {
  border-radius: 12px;
}
.vbh-g-grid.is-big .vbh-gc-n {
  top: 4px;
  left: 6px;
  font-size: 11px;
}
.vbh-g-grid.is-big .vbh-gc-p {
  max-width: 40px;
}
.vbh-g-grid.is-big .vbh-gc-pit {
  width: 18px;
  height: 11px;
  margin-left: -9px;
  border-width: 1.6px;
}
.vbh-g-grid.is-big .vbh-gc.on::after {
  left: 5px;
  right: 5px;
  bottom: 5px;
  height: 4px;
}
.vbh-g-grid.is-big .vbh-gc.lk-l::after {
  left: -6px;
}
.vbh-g-grid.is-big .vbh-gc.lk-r::after {
  right: -6px;
}
.vbh-g-detail.is-big {
  margin-top: 10px;
  font-size: 12px;
}
.vbh-g-legend {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--vbh-ink2);
}
@media (prefers-reduced-motion: reduce) {
  .vbh-gc,
  .vbh-g-grid.is-load .vbh-gc {
    transition: none;
    animation: none;
  }
}

/* 无词本时的空态 */
.vbh-empty {
  background: var(--vbh-surface);
  border: 1px solid var(--vbh-line);
  border-radius: 24px;
  padding: 26px 20px;
  text-align: center;
}
.vbh-empty .vbh-eico {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  color: var(--vbh-violet);
  opacity: .9;
}
.vbh-empty .vbh-eico svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
}
.vbh-empty .vbh-et {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}
.vbh-empty .vbh-ed {
  font-size: 12.5px;
  color: var(--vbh-ink2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.vbh-desk .vbh-empty {
  border: 0;
  background: transparent;
  padding: 16px 4px 6px;
}

/* ------------------------------------------------------------------ 抽屉内容 */
.vbh-sheet-kicker {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--vbh-ink2);
  line-height: 1.6;
}
.vbh-sheet-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--vbh-ink2);
  line-height: 1.7;
}
/* 抽屉打开时让星宠引导气泡退场，避免遮住徽章墙最后一行 */
body:has(.vb-drawer-veil.show) .petw-guide { display: none; }

/* ---------------------------------------------------------------- 徽章墙
   20261109 方向一落地：挂带 + 异形本体 + 点阵墙。
   形状填充用 currentColor，色调只指向现有令牌；未获得保留同轮廓虚线 + 小锁。 */
.vbh-wall-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--vbh-ink2);
}
.vbh-wall-legend .lg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vbh-wall-legend .lg::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--vbh-violet);
}
.vbh-wall-legend .lg.lock::before {
  background: var(--vbh-line-soft);
  border: 1.5px dashed var(--vbh-line-3);
}
.vbh-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 6px;
  padding: 16px 8px 14px;
  border: 1px solid var(--vbh-line);
  border-radius: 18px;
  background-color: var(--vbh-line-soft);
  background-image: radial-gradient(circle at 1px 1px, var(--vbh-line) 1px, transparent 0);
  background-size: 14px 14px;
}
.vbh-wall-empty {
  margin: 0;
  padding: 26px 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--vbh-ink2);
}
.vbh-bitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
  --bs: 62px;
  --tone: var(--vbh-violet);
  --on: var(--vbh-surface);
}
.vbh-bitem.t-primary,
.vbh-mitem.t-primary { --tone: var(--vbh-violet); --on: var(--vbh-surface); }
.vbh-bitem.t-purple,
.vbh-mitem.t-purple { --tone: var(--vbh-purple); --on: var(--vbh-surface); }
.vbh-bitem.t-amber,
.vbh-mitem.t-amber { --tone: var(--vbh-amber); --on: var(--vbh-ink); }
.vbh-bitem.t-success,
.vbh-mitem.t-success { --tone: var(--vbh-success); --on: #fff; }
.vbh-hang {
  display: flex;
  gap: 9px;
  height: 12px;
  margin-bottom: -4px;
}
.vbh-hang i {
  width: 5px;
  height: 12px;
  border-radius: 2px 2px 0 0;
  background: var(--tone);
  box-shadow: inset -1.5px 0 0 color-mix(in srgb, var(--tone) 70%, #000);
}
.vbh-medal {
  position: relative;
  width: var(--bs);
  height: var(--bs);
  color: var(--tone);
  filter: drop-shadow(0 3px 5px color-mix(in srgb, var(--vbh-ink) 16%, transparent));
}
.vbh-medal .shape {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.vbh-bitem:not(.lock) .vbh-medal .shape path {
  fill: currentColor;
  stroke: var(--vbh-surface);
  stroke-width: 1.3;
  stroke-linejoin: round;
}
.vbh-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 46%;
  height: 46%;
  margin: auto;
  color: var(--on);
  pointer-events: none;
}
.vbh-glyph svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
}
.vbh-lockchip {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: var(--vbh-surface);
  border: 1px solid var(--vbh-line-3);
  color: var(--vbh-line-3);
}
.vbh-lockchip svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
}
.vbh-bitem.lock {
  color: var(--vbh-line-3);
}
.vbh-bitem.lock .vbh-hang i {
  background: var(--vbh-line-3);
  opacity: .35;
  box-shadow: none;
}
.vbh-bitem.lock .vbh-medal {
  filter: none;
}
.vbh-bitem.lock .vbh-medal .shape path {
  fill: var(--vbh-surface-2);
  stroke: var(--vbh-line-3);
  stroke-width: 1.7;
  stroke-dasharray: 4.5 3.6;
  stroke-linejoin: round;
}
.vbh-bitem.lock .vbh-glyph {
  display: none;
}
.vbh-bitem.lock .vbh-lockchip {
  display: grid;
}
.vbh-bnm {
  margin: 7px 0 0;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--vbh-ink);
}
.vbh-bsub {
  margin: 3px 0 0;
  font-size: 10px;
  line-height: 1.4;
  color: var(--vbh-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vbh-bitem.lock .vbh-bnm {
  color: var(--vbh-ink2);
}
/* 未点亮徽章的真实进度（后端 cur/target）：数字 + 细进度条 */
.vbh-bsub.vbh-bprog {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: var(--vbh-ink2);
}
.vbh-bprog b {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--tone, var(--vbh-violet));
}
.vbh-bar {
  display: block;
  width: 84%;
  height: 3px;
  margin: 4px auto 0;
  border-radius: 999px;
  background: var(--vbh-line-soft);
  overflow: hidden;
}
.vbh-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--tone, var(--vbh-violet));
  opacity: .75;
}

/* 右栏迷你徽章墙：6 列，一屏两行放下全部成就，形状与抽屉同源 */
.vbh-mini {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px 5px;
  margin-top: 2px;
}
.vbh-mitem {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-width: 0;
  color: var(--tone, var(--vbh-violet));
}
.vbh-mitem svg {
  width: 86%;
  height: 86%;
  display: block;
  overflow: visible;
}
.vbh-mitem:not(.lock) svg path {
  fill: currentColor;
  stroke: var(--vbh-surface);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.vbh-mitem.lock {
  color: var(--vbh-line-3);
}
.vbh-mitem.lock svg path {
  fill: var(--vbh-surface-2);
  stroke: var(--vbh-line-3);
  stroke-width: 1.6;
  stroke-dasharray: 3 2.4;
  stroke-linejoin: round;
}

.vbh-picks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vbh-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 14px;
  background: var(--vbh-surface);
  border: 1px solid var(--vbh-line);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  width: 100%;
}
.vbh-pick:active {
  background: var(--vbh-soft);
}
.vbh-pick .vbh-pk-sub {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--vbh-ink2);
  text-align: right;
}
.vbh-pick.on {
  border-color: var(--vbh-violet);
  background: var(--vbh-soft);
}
.vbh-pick[disabled] {
  opacity: .6;
  cursor: default;
}

/* ------------------------------------------------------------------ 断点 */
@media (max-width: 899px) {
  .vbh-grid {
    display: block;
  }
  .vbh-rail {
    margin-top: 14px;
  }
  .vbh-desk {
    padding: 12px 12px 10px;
    border-radius: 22px;
  }
  .vbh-cover {
    width: 100px;
    height: 132px;
  }
  .vbh-cover .vbh-ttl {
    font-size: 12.5px;
    top: 14px;
  }
  .vbh-meta > b {
    font-size: 16.5px;
  }
  .vbh-go {
    min-height: 68px;
    font-size: 18px;
  }
  .vbh-list {
    border-radius: 18px;
    padding: 4px 12px 2px;
  }
  .vbh-row {
    min-height: 56px;
  }
  /* 窄屏：宠物播报两行排布，避免「其他词本」插进句子中间 */
  .vbh-guide {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 2px 8px;
    align-items: center;
  }
  .vbh-guide .vbh-petwrap {
    grid-row: 1 / span 2;
  }
  .vbh-link {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    height: 44px;
  }
}

@media (min-width: 900px) {
  body.vb-home-mode .vb-wrap {
    padding: 24px 22px 40px;
  }
  .vbh-desk {
    padding: 20px 20px 16px;
  }
  .vbh-cover {
    width: 132px;
    height: 172px;
  }
  .vbh-cover .vbh-ttl {
    font-size: 15px;
  }
  .vbh-meta > b {
    font-size: 20px;
  }
  .vbh-go {
    min-height: 72px;
    font-size: 20px;
  }
  .vbh-guide .vbh-pet {
    width: 60px;
    height: 60px;
  }
  .vbh-row {
    min-height: 60px;
  }
  .vbh-rmain b {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vbh-row {
    transition: none;
  }
}

/* ------------------------------------------------- 挑战 / 对战结果页图标
   20261109 收尾：结果弹层里的表情符号换成内联线性图标，
   沿用 24 网格、描边 2、圆头圆角；颜色只吃现有令牌。 */
.vb-result-ico {
  display: inline-flex;
  width: 46px;
  height: 46px;
  margin: 2px 0 4px;
  color: var(--primary);
}
.vb-result-ico svg,
.vb-inline-ico svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vb-inline-ico {
  display: inline-flex;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  vertical-align: -2px;
  color: var(--success);
}

/* ---------------------------------------------------------- 查阅（20261111，修订版）
   入口是书卡进度行右侧的小字链接（不是第五块卡片），点击直接打开现有词本页，
   并把浏览范围定位到这一本；不再另做只读清单页。 */
.vbh-meta .vbh-foot .vbh-peek {
  margin-left: auto;
  flex: 0 0 auto;
  font: inherit;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--vbh-violet);
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 4px 2px;
  cursor: pointer;
  white-space: nowrap;
}
.vbh-meta .vbh-foot .vbh-peek:hover { text-decoration: underline; }
.vbh-meta .vbh-foot .vbh-peek:active { opacity: .7; }
.vbh-meta .vbh-foot .vbh-peek:focus-visible { outline: 2px solid var(--vbh-violet);
  outline-offset: 2px; }

/* 词本行改为可点（查阅）：去掉按钮默认外观，保留分隔线与排版 */
button.vbh-bk {
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--vbh-line-soft);
  border-radius: 0;
  cursor: pointer;
}
button.vbh-bk:first-of-type { border-top: 0; }
button.vbh-bk:hover .vbh-bd b { color: var(--vbh-violet); }
button.vbh-bk:active { opacity: .72; }
button.vbh-bk:focus-visible { outline: 2px solid var(--vbh-violet); outline-offset: -2px; }

/* ==========================================================================
   挂件装备（20261111 方向 J）
   炫耀位：右栏挂钩展台 + 宠物脖子 + 获得瞬间 2.6s 仪式。
   只用既有 --vbh-* 令牌，两套皮肤自动跟随；未获得＝同形淡影 + 实线淡环。
   尺寸：主挂件 56px、小挂件 34px（≤380 屏 30px），保证 24–40px 仍认得出轮廓。
   ========================================================================== */
.vbh-hook {
  position: relative; width: 100%; height: 14px; display: flex;
  align-items: flex-start; justify-content: center;
}
.vbh-hook::before {
  content: ""; width: 78px; height: 5px; border-radius: 3px; margin-top: 3px;
  background: linear-gradient(180deg, var(--vbh-line-3), var(--vbh-line));
  box-shadow: 0 1px 2px rgba(15, 23, 42, .18);
}
.vbh-hook::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 7px; height: 7px;
  border-radius: 50%; transform: translateX(-50%);
  background: var(--vbh-line-3); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5);
}
.vbh-stage { display: flex; flex-direction: column; align-items: center; }
.vbh-main {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 100%; background: none; border: 0; padding: 0; margin-top: -8px;
  font: inherit; cursor: pointer; color: var(--vbh-ink);
}
.vbh-main:active .vbh-charm { transform: translateY(2px) scale(.98); }
.vbh-main:focus-visible { outline: 2px solid var(--vbh-violet); outline-offset: 2px; border-radius: 12px; }
.vbh-main-t {
  font-size: 12.5px; font-weight: 800; margin-top: 3px;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 副标题锁两行高度：换到文案更长的徽章时，面板高度不变，下方元素不会被推动 */
.vbh-stage-sub {
  font-size: 11px; line-height: 1.5; color: var(--vbh-muted); margin: 1px 0 0;
  height: 33px; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.vbh-stars { display: inline-flex; gap: 3px; }
.vbh-stars i {
  width: 5px; height: 5px; border-radius: 1px; background: var(--vbh-line-3);
  transform: rotate(45deg); opacity: .55;
}
.vbh-stars i.on { background: var(--vbh-amber); opacity: 1; }

.vbh-charm {
  --cs: 56px;
  position: relative; display: inline-block; width: var(--cs); height: calc(var(--cs) * .92);
  line-height: 0; filter: drop-shadow(0 4px 5px rgba(15, 23, 42, .18));
  transition: transform .18s ease;
}
.vbh-charm-ring {
  position: absolute; left: 50%; top: 0; width: 24%; height: 0;
  padding-top: 24%; border: 2px solid currentColor; border-radius: 50%;
  transform: translateX(-50%); opacity: .85;
}
.vbh-charm-body { position: absolute; left: 0; bottom: 0; width: 100%; height: 84%; display: block; }
.vbh-charm-body path {
  fill: currentColor; stroke: var(--vbh-surface); stroke-width: 1.2; stroke-linejoin: round;
}
.vbh-charm-glyph {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 84%;
  display: grid; place-items: center; color: var(--on, #fff);
}
.vbh-charm-glyph svg { width: 46%; height: 46%; display: block; }
.vbh-charm.t-primary { color: var(--vbh-violet); --on: #fff; }
.vbh-charm.t-success { color: var(--vbh-success); --on: #fff; }
.vbh-charm.t-amber { color: var(--vbh-amber); --on: var(--vbh-amber-ink); }
.vbh-charm.t-purple { color: var(--vbh-purple); --on: #fff; }
/* 未获得：保留本色淡影 + 实线淡环，24px 下仍能靠「颜色 + 轮廓」区分是哪一枚 */
.vbh-charm.lock { filter: none; opacity: .7; }
.vbh-charm.lock .vbh-charm-body path {
  fill: currentColor; fill-opacity: .18;
  stroke: currentColor; stroke-opacity: .8; stroke-width: 1.6;
}
.vbh-charm.lock .vbh-charm-glyph { color: currentColor; opacity: .46; }
.vbh-charm.lock .vbh-charm-ring { opacity: .55; border-width: 1.6px; }
.vbh-charm.is-big { --cs: 96px; }

.vbh-cwall {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px;
  width: 100%; margin-top: 10px; padding: 8px;
  border: 1px solid var(--vbh-line); border-radius: 14px; background: var(--vbh-surface-2);
}
.vbh-cmini {
  display: grid; place-items: center; min-height: 44px; padding: 2px 0;
  background: none; border: 0; border-radius: 10px; cursor: pointer;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
}
.vbh-cmini .vbh-charm { --cs: 34px; }
.vbh-cmini.on { background: var(--vbh-surface); box-shadow: 0 2px 8px rgba(15, 23, 42, .1), inset 0 0 0 1.5px var(--vbh-line-3); }
.vbh-cmini:focus-visible { outline: 2px solid var(--vbh-violet); outline-offset: 1px; }
.vbh-cmini:active { transform: scale(.97); }
/* 未获得：原位轻摆 1.5px / 2.5°，不换主位、不改变任何盒尺寸 */
@keyframes charmNudge {
  0%, 100% { transform: translateX(0) rotate(0); }
  30% { transform: translateX(-1.5px) rotate(-2.5deg); }
  68% { transform: translateX(1.5px) rotate(2.5deg); }
}
.vbh-cmini.nudge .vbh-charm { animation: charmNudge .32s ease-in-out; }

/* 宠物脖子上的主挂件（只戴 1 枚，锚点固定，不做每形态标点） */
.vbh-petwrap { position: relative; display: inline-flex; width: 52px; height: 52px; flex: 0 0 auto; }
.vbh-petcharm {
  position: absolute; left: 50%; top: 70%; transform: translate(-50%, -50%);
  pointer-events: none; filter: drop-shadow(0 2px 2px rgba(15, 23, 42, .28));
}
.vbh-petcharm .vbh-charm { --cs: 19px; }
.vbh-petcharm .vbh-charm-body path { stroke-width: 2; }

/* 获得瞬间：压暗 → 落地回弹+光圈 → 高光扫过 → 出字与按钮 → 1600ms 后可跳过 */
.vbh-cer {
  position: fixed; inset: 0; z-index: 1080; display: grid; place-items: center;
  padding: 20px; background: rgba(9, 13, 24, .58);
  opacity: 0; transition: opacity .18s ease;
}
.vbh-cer.show { opacity: 1; }
.vbh-cer-card {
  position: relative; width: min(318px, 100%); padding: 24px 18px 30px; text-align: center;
  background: var(--vbh-surface); border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
  transform: scale(.94); transition: transform .22s ease;
}
.vbh-cer.show .vbh-cer-card { transform: scale(1); }
.vbh-cer-art { position: relative; height: 112px; display: grid; place-items: center; margin-bottom: 4px; }
.vbh-cer-art .vbh-charm { opacity: 0; animation: charmDrop .5s cubic-bezier(.2, 1.32, .4, 1) .12s both; }
.vbh-cer-halo {
  position: absolute; top: 50%; left: 50%; width: 148px; height: 148px; margin: -74px 0 0 -74px;
  border: 2px solid var(--vbh-amber); border-radius: 50%; opacity: 0;
  animation: haloPing .9s ease-out .42s;
}
.vbh-cer-shine {
  position: absolute; left: 8px; right: 8px; top: 0; bottom: 0; border-radius: 16px;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .85) 50%, transparent 66%);
  transform: translateX(-130%); animation: shineSweep .42s ease-in-out .62s; pointer-events: none;
}
.vbh-cer-kicker {
  margin: 2px 0 0; font-size: 10px; font-weight: 800; letter-spacing: 2.4px;
  color: var(--vbh-muted); opacity: 0; animation: cerIn .3s ease .98s both;
}
.vbh-cer-name { margin: 2px 0 0; font-size: 20px; line-height: 1.35; opacity: 0; animation: cerIn .3s ease 1.02s both; }
.vbh-cer-line {
  margin: 4px 0 0; font-size: 12px; color: var(--vbh-ink2); display: flex;
  align-items: center; justify-content: center; gap: 6px;
  opacity: 0; animation: cerIn .3s ease 1.08s both;
}
.vbh-cer-btns { display: flex; gap: 8px; margin-top: 16px; opacity: 0; animation: cerIn .3s ease 1.12s both; }
.vbh-cer-btns .btn { flex: 1; min-height: 40px; }
.vbh-cer-skip {
  position: absolute; right: 12px; bottom: 8px; padding: 4px 6px;
  background: none; border: 0; font: inherit; font-size: 11px; color: var(--vbh-muted);
  opacity: .22; pointer-events: none; cursor: pointer;
}
.vbh-cer.can-skip .vbh-cer-skip { opacity: .75; pointer-events: auto; }
@keyframes charmDrop {
  0% { opacity: 0; transform: translateY(-30px) scale(.8); }
  58% { opacity: 1; transform: translateY(5px) scale(1.06); }
  100% { opacity: 1; transform: none; }
}
@keyframes haloPing {
  0% { opacity: .72; transform: scale(.55); }
  100% { opacity: 0; transform: scale(1.72); }
}
@keyframes shineSweep { 0% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes cerIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 380px) {
  .vbh-cwall { gap: 4px; padding: 7px 6px; }
  .vbh-cmini .vbh-charm { --cs: 30px; }
  .vbh-cmini { min-height: 40px; }
  .vbh-cer-art .vbh-charm { --cs: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .vbh-cer, .vbh-cer-card { transition: none; }
  .vbh-cer-art .vbh-charm, .vbh-cer-halo, .vbh-cer-shine,
  .vbh-cer-kicker, .vbh-cer-name, .vbh-cer-line, .vbh-cer-btns {
    animation-duration: .01ms !important; animation-delay: 0s !important;
  }
  /* 换位与未获得反馈：降级为静态，只保留颜色/文字变化 */
  .vbh-cmini .vbh-charm { animation: none !important; }
  .vbh-cmini, .vbh-charm { transition: none; }
}

