/* 开保险柜 · vault.css
   外壳跟 AutoMods 站点一样（/tokens.css 的语义令牌，默认浅色，blockforge.theme 切深色）；
   中间的「柜台」是一块深色枪灰面板，两种主题都一样深 —— 这是这个游戏的样子。
   柜台里的颜色只用 --g-*（柜台底色 / 线 / 字）、--r-*（稀有度色，跟 vault/catalog.py 一致）、
   --ri-*（稀有度的字色：压在深色格子上过 4.5:1，比原色亮一档）。
   风格只借「战术搜刮」这一类游戏的感觉：深色柜台、格子、计时圈、白绿蓝紫金红；不用任何具体游戏的名字、字体和布局。 */

/* ---------------------------------------------------------------
   令牌
   --------------------------------------------------------------- */
:root {
  --g-bg: #14181d;
  --g-deep: #0f1216;
  --g-card: #1b2027;
  --g-card2: #171b21;
  --g-slot: #1d232a;
  --g-slot2: #191e24;
  --g-line: #2b333d;
  --g-line2: #3a4450;
  --g-text: #e8ebef;
  --g-text2: #b9c1ca;
  --g-muted: #929ca8;
  --g-amber: #e8a93a;
  --g-amber-hi: #f2b84e;
  --g-amber-ink: #f3c46e;
  --g-on-amber: #1b1406;
  --g-shadow: 0 12px 32px rgba(8, 11, 14, .22);

  --r-empty: #5b6470;
  --r-white: #9aa3ad;
  --r-green: #3fae5a;
  --r-blue: #3b82f6;
  --r-purple: #a855f7;
  --r-gold: #f5b301;
  --r-red: #e5484d;
  --ri-empty: #929ca8;
  --ri-white: #c9d0d8;
  --ri-green: #62d47f;
  --ri-blue: #7cb0ff;
  --ri-purple: #c99aff;
  --ri-gold: #ffcf4a;
  --ri-red: #ff8a8d;

  --vt-radius: 14px;
}
html[data-theme="dark"] {
  --g-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
.r-empty { --rc: var(--r-empty); --ri: var(--ri-empty); }
.r-white { --rc: var(--r-white); --ri: var(--ri-white); }
.r-green { --rc: var(--r-green); --ri: var(--ri-green); }
.r-blue { --rc: var(--r-blue); --ri: var(--ri-blue); }
.r-purple { --rc: var(--r-purple); --ri: var(--ri-purple); }
.r-gold { --rc: var(--r-gold); --ri: var(--ri-gold); }
.r-red { --rc: var(--r-red); --ri: var(--ri-red); }
.ink-empty { color: var(--ri-empty); }
.ink-white { color: var(--ri-white); }
.ink-green { color: var(--ri-green); }
.ink-blue { color: var(--ri-blue); }
.ink-purple { color: var(--ri-purple); }
.ink-gold { color: var(--ri-gold); }
.ink-red { color: var(--ri-red); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif);
  font-size: 14px;
  line-height: 1.45;
  background:
    radial-gradient(circle at 82% -10%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 34rem),
    var(--page);
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vt-counter :focus-visible { outline-color: var(--g-amber-hi); }
.vt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
b, em { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------
   站点顶栏（跟活动页 / 工坊同一条）
   --------------------------------------------------------------- */
.vt-site {
  position: relative;
  z-index: 40;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(16px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
}
.vt-brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; text-decoration: none; }
.vt-brand img { width: 34px; height: 28px; object-fit: contain; }
.vt-site-nav { display: flex; align-items: center; gap: 4px; }
.vt-site-nav a, .vt-site-nav button {
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
}
.vt-site-nav a:hover, .vt-site-nav button:hover { color: var(--accent); background: var(--accent-soft); }

.vt-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ---------------------------------------------------------------
   状态条
   --------------------------------------------------------------- */
.vt-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 12px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--vt-radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.vt-title { margin: 0 6px 0 0; font-size: 19px; line-height: 1.2; font-weight: 700; color: var(--text); white-space: nowrap; }
.vt-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-sunken);
  color: var(--text-secondary);
  font-size: 13px;
  white-space: nowrap;
}
.vt-chip small { font-size: 12px; color: var(--text-secondary); }
.vt-chip b { font-size: 15px; font-weight: 700; color: var(--text); }
.vt-chip span { font-size: 12px; }
.vt-chip-link { color: var(--accent); font-size: 13px; text-decoration: none; }
.vt-chip-link:hover { text-decoration: underline; }
.vt-hero-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.vt-honest { flex-basis: 100%; margin: 0; color: var(--text-secondary); font-size: 12.5px; }

/* ---------------------------------------------------------------
   按钮
   --------------------------------------------------------------- */
.vt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .12s, border-color .12s, color .12s, filter .12s, transform .08s;
  user-select: none;
}
.vt-btn:hover:not(:disabled) { background: var(--surface-hover); border-color: var(--border-hover); }
.vt-btn:active:not(:disabled) { transform: translateY(1px); }
.vt-btn:disabled { color: var(--text-muted); background: var(--surface-sunken); border-color: var(--border); }
.vt-btn.small { min-height: 30px; padding: 3px 12px; font-size: 13px; }
.vt-btn.ghost { color: var(--text-secondary); border-color: var(--border); }
.vt-btn.ghost:hover:not(:disabled) { color: var(--text); }
.vt-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.vt-btn.primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
#musicToggle[aria-pressed="true"] { color: var(--accent); border-color: var(--accent-border); background: var(--accent-soft); }
/* 柜台里：琥珀色主按钮 */
.vt-counter .vt-btn { background: var(--g-card); border-color: var(--g-line2); color: var(--g-text); }
.vt-counter .vt-btn:hover:not(:disabled) { background: #232a33; border-color: #4a5562; }
.vt-counter .vt-btn.primary, .vt-btn.amber { background: var(--g-amber); border-color: var(--g-amber); color: var(--g-on-amber); }
.vt-counter .vt-btn.primary:hover:not(:disabled), .vt-btn.amber:hover:not(:disabled) { background: var(--g-amber-hi); border-color: var(--g-amber-hi); color: var(--g-on-amber); }
.vt-counter .vt-btn:disabled { background: #232930; border-color: var(--g-line); color: var(--g-muted); }
.vt-counter .vt-btn.skip { background: transparent; border-color: var(--g-line2); color: var(--g-amber-ink); }

/* ---------------------------------------------------------------
   柜台
   --------------------------------------------------------------- */
.vt-counter {
  position: relative;
  margin: 12px 0 0;
  padding: 16px;
  border: 1px solid #2a3139;
  border-radius: var(--vt-radius);
  color: var(--g-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 140px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 3px),
    var(--g-bg);
  box-shadow: var(--g-shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
}
/* 四角的小折角，战术面板的感觉，压得很淡 */
.vt-counter::before, .vt-counter::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid color-mix(in srgb, var(--g-amber) 55%, transparent);
  pointer-events: none;
}
.vt-counter::before { left: 7px; top: 7px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.vt-counter::after { right: 7px; bottom: 7px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

.vt-safes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.55fr);
  gap: 12px;
}
.vt-safe {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--g-line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--g-card), var(--g-card2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.vt-safe h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--g-text); letter-spacing: .02em; }
.vt-safe-art { position: relative; flex: 1; display: grid; place-items: center; min-height: 104px; margin-bottom: 8px; }
.vt-safe-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.vt-safe-art.has-img > img { opacity: 1; }
.vt-safe-art.has-img .vt-door { visibility: hidden; }
.vt-safe-body { display: grid; gap: 8px; }
.vt-safe-spec { display: flex; justify-content: space-between; gap: 8px; margin: 0; color: var(--g-text2); font-size: 13px; }
.vt-safe-spec b { color: var(--g-text); font-size: 15px; }
.vt-cost b { color: var(--g-amber-ink); }
.vt-safe .vt-btn { width: 100%; }
.vt-why { min-height: 1.2em; color: var(--g-muted); font-size: 12px; text-align: center; }
.vt-why:empty { display: none; }
.vt-safe-flag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 1px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--g-amber) 18%, var(--g-card));
  border: 1px solid color-mix(in srgb, var(--g-amber) 50%, transparent);
  color: var(--g-amber-ink);
  font-size: 12px;
}

/* CSS 画的保险柜门（没图时的兜底） */
.vt-door {
  --trim: #9aa3ad;
  --door: 84px;
  position: relative;
  display: block;
  width: var(--door);
  height: var(--door);
  border-radius: 10px;
  background: linear-gradient(145deg, #4b5560, #262c33 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -2px 0 rgba(0, 0, 0, .45), 0 0 0 1px #0d1013, 0 8px 18px rgba(0, 0, 0, .5);
}
.vt-door-in {
  position: absolute;
  inset: 12%;
  border-radius: 6px;
  background: linear-gradient(145deg, #39424c, #20252b);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px color-mix(in srgb, var(--trim) 35%, transparent);
}
.vt-dial {
  position: absolute;
  left: 44%;
  top: 50%;
  width: 46%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid var(--trim);
  background:
    radial-gradient(circle, #59636f 0 22%, #1a1e23 24% 30%, transparent 32%),
    repeating-conic-gradient(color-mix(in srgb, var(--trim) 70%, transparent) 0 3deg, transparent 3deg 30deg),
    radial-gradient(circle, #343c45, #1c2026);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}
.vt-handle {
  position: absolute;
  right: 9%;
  top: 50%;
  width: 7%;
  height: 34%;
  transform: translateY(-50%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--trim), color-mix(in srgb, var(--trim) 55%, #000));
}
.vt-door > i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--trim) 60%, #222); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.vt-door > .b1 { left: 5%; top: 5%; }
.vt-door > .b2 { right: 5%; top: 5%; }
.vt-door > .b3 { left: 5%; bottom: 5%; }
.vt-door > .b4 { right: 5%; bottom: 5%; }
.d-s1 .vt-door { --trim: #9aa3ad; --door: 76px; }
.d-s2 .vt-door { --trim: #6f9fe6; --door: 84px; }
.d-s3 .vt-door { --trim: #e0b13a; --door: 92px; }
.d-s4 .vt-door { --trim: #ff7a7e; --door: 72px; background: linear-gradient(145deg, #5a3a3d, #2a1f22 70%); }

/* 超级保险柜：竞价卡 */
.vt-auction {
  gap: 10px;
  border-color: color-mix(in srgb, var(--r-red) 40%, var(--g-line));
  background:
    radial-gradient(120% 70% at 100% 0, color-mix(in srgb, var(--r-red) 13%, transparent), transparent 60%),
    linear-gradient(180deg, var(--g-card), var(--g-card2));
}
.vt-auc-head { display: flex; align-items: center; gap: 8px; }
.vt-tag { padding: 1px 7px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--r-red) 60%, transparent); color: var(--ri-red); font-size: 12px; font-weight: 600; }
.vt-auc-cd { margin-left: auto; color: var(--g-text2); font-size: 13px; font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vt-auc-cd.hot { color: var(--ri-red); font-weight: 700; animation: vt-blink 1s steps(2, start) infinite; }
.vt-auc-cd.over { color: var(--g-amber-ink); }
@keyframes vt-blink { 50% { opacity: .55; } }
.vt-auc-prize { display: flex; align-items: center; gap: 14px; }
.vt-auc-prize .vt-safe-art { flex: none; width: 84px; min-height: 84px; margin: 0; }
.vt-auc-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vt-auc-item b { display: block; font-size: 16px; }
.vt-auc-item > div > span { display: block; color: var(--g-text2); font-size: 13px; }
.vt-auc-item em { font-style: normal; font-weight: 700; color: var(--g-amber-ink); font-size: 15px; }
.vt-auc-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.vt-auc-nums > div { padding: 6px 10px; border: 1px solid var(--g-line); border-radius: 8px; background: var(--g-deep); }
.vt-auc-nums dt { color: var(--g-muted); font-size: 12px; }
.vt-auc-nums dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin: 0; }
.vt-auc-nums dd b { font-size: 17px; color: var(--g-text); }
.vt-auc-nums dd small { color: var(--g-text2); font-size: 12px; }
.vt-auc-nums dd small.ok { color: var(--ri-green); font-weight: 600; }
.vt-bid { display: flex; gap: 8px; }
.vt-bid input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--g-line2);
  border-radius: 8px;
  background: var(--g-deep);
  color: var(--g-text);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.vt-bid input:focus { border-color: var(--g-amber); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--g-amber) 30%, transparent); }
.vt-bid input:disabled { color: var(--g-muted); }
.vt-safe .vt-bid .vt-btn { flex: none; width: auto; min-width: 84px; }
.vt-auc-note { margin: 0; color: var(--g-muted); font-size: 12px; line-height: 1.5; }
.vt-auc-note.stop { color: var(--danger); font-weight: 600; }
/* 11-20 抽奖 */
.vt-auc-note.go { color: var(--g-amber-ink); }
.vt-auc-note.ok { color: var(--ri-green); }
.vt-auc-nums dd b i { font-style: normal; font-weight: 400; font-size: 13px; color: var(--g-muted); }
.vt-seal { font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace); font-size: 11px; color: var(--g-text2); }
.vt-link { padding: 0; border: 0; background: none; color: var(--g-amber-ink); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.vt-link:hover { color: var(--g-amber-hi); }
.vt-auc-last { margin: 0; padding-top: 8px; border-top: 1px dashed var(--g-line); color: var(--g-muted); font-size: 12px; }

/* ---------------------------------------------------------------
   搜索区
   --------------------------------------------------------------- */
.vt-floor { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 14px; margin-top: 14px; }
.vt-board {
  position: relative;
  min-width: 0;
  border: 1px solid var(--g-line);
  border-radius: 10px;
  background: var(--g-deep);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .35);
}
.vt-board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 12px; border-bottom: 1px solid var(--g-line); }
.vt-bh-name b { font-size: 16px; color: var(--g-text); }
.vt-bh-name small { margin-left: 6px; color: var(--g-muted); font-size: 12px; }
.vt-bh-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.vt-stat { display: inline-flex; align-items: baseline; gap: 6px; color: var(--g-text2); font-size: 13px; }
.vt-stat b { font-size: 16px; color: var(--g-text); font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace); }
.vt-stat.gold b { color: var(--g-amber-ink); }
.vt-board-head .vt-btn { margin-left: auto; min-width: 104px; }
.vt-progress { height: 3px; background: #1d232a; }
.vt-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g-amber), var(--g-amber-hi)); transition: width .25s ease-out; }
.vt-grid-wrap { padding: 14px; }
/* 柜子网格：固定 w × h，格位按 grid-column / grid-row 摆（style 里写），格子保持正方形 */
.vt-grid {
  --w: 5;
  --h: 4;
  --gap: 6px;
  display: grid;
  grid-template-columns: repeat(var(--w), minmax(0, 1fr));
  grid-template-rows: repeat(var(--h), minmax(0, 1fr));
  gap: var(--gap);
  width: min(100%, calc(var(--w) * 86px + (var(--w) - 1) * var(--gap)));
  aspect-ratio: var(--w) / var(--h);
  margin: 0 auto;
}
.vt-cell {
  position: relative;
  container-type: size;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--g-line);
  border-radius: 6px;
  color: var(--g-text);
  background-color: var(--g-slot2);
  background-image: linear-gradient(180deg, #222930, #191e24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -10px 18px rgba(0, 0, 0, .25);
  overflow: hidden;
  transition: border-color .12s, box-shadow .2s;
}
/* 没搜：一个关着的隔间，看得出占多大 */
.vt-lid {
  position: absolute;
  inset: clamp(2px, 7cqmin, 6px);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .024) 0 5px, transparent 5px 10px);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .45);
}
.vt-mag { position: absolute; left: 50%; top: 50%; width: clamp(7px, 24cqmin, 20px); aspect-ratio: 1; border: 2px solid #4b5664; border-radius: 50%; transform: translate(-62%, -62%); }
.vt-mag::after { content: ""; position: absolute; left: 82%; top: 82%; width: 55%; height: 2px; border-radius: 2px; background: #4b5664; transform: rotate(45deg); transform-origin: 0 50%; }
.vt-cell-tip { position: absolute; left: 0; right: 0; bottom: 5px; color: var(--g-amber-ink); font-size: 11px; text-align: center; opacity: 0; transition: opacity .12s; }
.vt-cell:not(.open):not(.searching):not(.queued):hover { border-color: color-mix(in srgb, var(--g-amber) 70%, transparent); }
.vt-cell:not(.open):not(.searching):not(.queued):hover .vt-mag { border-color: var(--g-amber); }
.vt-cell:not(.open):not(.searching):not(.queued):hover .vt-mag::after { background: var(--g-amber); }
.vt-cell:hover .vt-cell-tip, .vt-cell:focus-visible .vt-cell-tip { opacity: 1; }
.vt-cell.open, .vt-cell.searching, .vt-cell.queued { cursor: default; }
.vt-cell.queued { border-style: dashed; border-color: var(--g-line2); }
.vt-cell-wait { position: absolute; left: 0; right: 0; bottom: 4px; color: var(--g-text2); font-size: 11px; text-align: center; }
.vt-cell.queued .vt-cell-wait { top: 50%; bottom: auto; transform: translateY(-50%); color: var(--g-muted); }
@container (max-height: 62px) { .vt-cell-tip, .vt-cell.searching .vt-cell-wait { display: none; } }
@container (max-width: 44px) { .vt-cell.queued .vt-cell-wait { font-size: 9px; } .vt-mag { border-width: 1.5px; } }

/* 搜索中：圆环计时，居中 */
.vt-cell.searching { --rc: var(--g-amber); border-color: var(--g-line2); background-image: linear-gradient(180deg, #1f262e, #171c22); }
.vt-spin { position: absolute; left: 50%; top: 50%; width: min(62cqmin, 50px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.vt-ring { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.vt-ring circle { fill: none; stroke-width: 3.2; }
.vt-ring .bg { stroke: #2c343e; }
.vt-ring .fg { stroke: var(--g-amber); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke .25s; }
.vt-ring .fg.run { animation: vt-ring 1s linear forwards; }
@keyframes vt-ring { to { stroke-dashoffset: 0; } }
.vt-timer { position: absolute; inset: 0; display: grid; place-items: center; color: var(--g-text); font: 600 clamp(8px, 14cqmin, 12px)/1 var(--font-mono, ui-monospace, Menlo, Consolas, monospace); font-variant-numeric: tabular-nums; }
@container (max-width: 40px) { .vt-timer { display: none; } }
@container (min-height: 76px) { .vt-cell.searching .vt-spin { top: calc(50% - 7px); } }
.vt-cell.glow { border-color: color-mix(in srgb, var(--rc) 75%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 45%, transparent), inset 0 0 26px color-mix(in srgb, var(--rc) 32%, transparent), 0 0 14px color-mix(in srgb, var(--rc) 35%, transparent); }
.vt-cell.glow .vt-ring .fg { stroke: var(--rc); }
.vt-cell.glow.r-gold, .vt-cell.glow.r-red { animation: vt-pulse .6s ease-in-out infinite alternate; }
@keyframes vt-pulse { to { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 70%, transparent), inset 0 0 34px color-mix(in srgb, var(--rc) 45%, transparent), 0 0 22px color-mix(in srgb, var(--rc) 55%, transparent); } }

/* 搜出来了：图标按格位大小缩放；1×1 不写名字（悬停 / 读屏能看到） */
.vt-cell.open {
  border-color: color-mix(in srgb, var(--rc) 55%, var(--g-line));
  background-image:
    radial-gradient(110% 80% at 50% 105%, color-mix(in srgb, var(--rc) 24%, transparent), transparent 70%),
    linear-gradient(180deg, #1e242b, #181c22);
}
.vt-cell.open::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rc); }
.vt-art { position: absolute; top: clamp(3px, 8cqmin, 10px); left: clamp(3px, 8cqmin, 10px); right: clamp(3px, 8cqmin, 10px); bottom: calc(clamp(3px, 6cqmin, 8px) + 15px); display: grid; place-items: center; }
.vt-art .vt-ico { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 5px; font-size: clamp(10px, 30cqmin, 40px); }
.vt-label { position: absolute; left: 5px; right: 5px; bottom: 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 4px; line-height: 1.2; }
.vt-cell-name { min-width: 0; overflow: hidden; color: var(--g-text); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.vt-cell-val { flex: none; color: var(--g-amber-ink); font: 600 11px/1.2 var(--font-mono, ui-monospace, Menlo, Consolas, monospace); }
.vt-cell[data-fp="1x1"] .vt-cell-name { display: none; }
.vt-cell[data-fp="1x1"] .vt-label { justify-content: center; }
@container (max-width: 70px) { .vt-cell-name { display: none; } .vt-label { justify-content: center; } }
@container (max-height: 50px) { .vt-label { display: none; } .vt-art { bottom: clamp(3px, 8cqmin, 10px); } }
@container (max-width: 40px) { .vt-label { display: none; } .vt-art { bottom: clamp(3px, 8cqmin, 10px); } }
.vt-cell.open.r-empty { border-color: var(--g-line); background-image: none; background-color: #15191e; box-shadow: none; }
.vt-cell.open.r-empty::after { display: none; }
.vt-cell-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--g-muted); font-size: clamp(9px, 22cqmin, 13px); }
.vt-cell.fresh { animation: vt-pop .32s cubic-bezier(.2, 1.4, .5, 1); }
@keyframes vt-pop { from { transform: scale(.88); } }
.vt-cell.fresh.r-gold::before, .vt-cell.fresh.r-red::before, .vt-cell.fresh.r-purple::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .28) 48%, transparent 66%);
  transform: translateX(-100%);
  animation: vt-sweep .9s ease-out .1s forwards;
  pointer-events: none;
}
@keyframes vt-sweep { to { transform: translateX(100%); } }
.vt-cell.fresh.r-gold, .vt-cell.fresh.r-red { box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 45%, transparent); }

/* 物品图标：真图盖在兜底色块上（兜底 = 稀有度色块 + 名字第一个字） */
.vt-ico {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  aspect-ratio: 1;
  border-radius: 7px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--rc, var(--r-white)) 30%, #12161b), color-mix(in srgb, var(--rc, var(--r-white)) 16%, #12161b));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc, var(--r-white)) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, .1);
  color: var(--ri, var(--ri-white));
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.vt-ico i { font-style: normal; }
.vt-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.vt-ico.has-img { background: transparent; box-shadow: none; }
.vt-ico.has-img i { visibility: hidden; }
.vt-ico.has-img img { opacity: 1; }
.vt-ico.sm { width: 30px; border-radius: 6px; font-size: 14px; }
.vt-ico.lg { width: 54px; border-radius: 9px; font-size: 24px; }

/* 空状态 / 登录卡 */
.vt-board-empty { display: grid; place-items: center; min-height: 260px; }
.vt-empty-in { display: grid; justify-items: center; gap: 8px; max-width: 420px; padding: 20px; text-align: center; }
.vt-empty-in b { font-size: 16px; color: var(--g-text); }
.vt-empty-in p { margin: 0; color: var(--g-text2); font-size: 13px; }
.vt-empty-in .vt-btn { margin-top: 4px; }
.vt-empty-mark { display: grid; grid-template-columns: repeat(4, 22px); grid-template-rows: repeat(2, 22px); gap: 4px; margin-bottom: 6px; }
.vt-empty-mark i { border: 1px solid #2c343e; border-radius: 4px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 5px, transparent 5px 10px), #191e24; }
.vt-empty-mark i:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.vt-empty-mark i:nth-child(2) { grid-column: 3; grid-row: 1 / span 2; }
.vt-empty-mark i:nth-child(3) { grid-column: 4; grid-row: 1; }
.vt-empty-mark i:nth-child(4) { grid-column: 4; grid-row: 2; }

/* 大奖横幅 */
.vt-bigfind {
  position: absolute;
  left: 50%;
  top: 58px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid color-mix(in srgb, var(--rc) 70%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--rc) 14%, #101418);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .55), 0 0 24px color-mix(in srgb, var(--rc) 35%, transparent);
  color: var(--g-text);
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  animation: vt-drop .35s cubic-bezier(.2, 1.3, .5, 1);
}
.vt-bigfind > span:not(.vt-ico) { color: var(--g-text2); font-size: 13px; }
.vt-bigfind b { color: var(--ri); font-size: 17px; }
.vt-bigfind em { font-style: normal; color: var(--g-amber-ink); font-weight: 700; }
@keyframes vt-drop { from { transform: translate(-50%, -10px); opacity: 0; } }

/* 搜完的小结 */
.vt-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  margin: 0 14px 14px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--g-amber) 40%, var(--g-line));
  border-radius: 10px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--g-amber) 9%, var(--g-card)), var(--g-card));
  animation: vt-drop2 .3s ease-out;
}
@keyframes vt-drop2 { from { transform: translateY(6px); opacity: 0; } }
.vt-sum-best { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vt-sum-best small, .vt-sum-total small { display: block; color: var(--g-muted); font-size: 12px; }
.vt-sum-best b { display: block; font-size: 17px; }
.vt-sum-best > div > span, .vt-sum-total span { display: block; color: var(--g-text2); font-size: 12px; }
.vt-sum-total b { display: block; color: var(--g-amber-ink); font-size: 24px; line-height: 1.2; font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace); }
.vt-sum-act { display: grid; justify-items: center; gap: 4px; }
.vt-sum-act .vt-btn { min-width: 128px; }

/* 最近大奖 */
.vt-recent {
  min-width: 0;
  padding: 10px 0 6px;
  border: 1px solid var(--g-line);
  border-radius: 10px;
  background: var(--g-card2);
}
.vt-sec-head { display: flex; align-items: baseline; gap: 8px; padding: 0 12px 8px; border-bottom: 1px solid var(--g-line); }
.vt-sec-head h2 { position: relative; margin: 0; padding-left: 10px; color: var(--g-text); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.vt-sec-head h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--g-amber); }
.vt-sec-head small { color: var(--g-muted); font-size: 12px; }
.vt-recent-list { max-height: 520px; margin: 0; padding: 4px 6px; overflow: auto; list-style: none; scrollbar-width: thin; scrollbar-color: #39424c transparent; }
.vt-rc { display: flex; align-items: center; gap: 9px; padding: 7px 6px; border-radius: 6px; }
.vt-rc + .vt-rc { border-top: 1px solid #222930; }
.vt-rc.new { animation: vt-in .5s ease-out; background: color-mix(in srgb, var(--rc) 10%, transparent); }
@keyframes vt-in { from { transform: translateX(10px); opacity: 0; } }
.vt-rc-main { flex: 1; min-width: 0; }
.vt-rc-who { display: block; color: var(--g-muted); font-size: 12px; }
.vt-rc-main b { display: block; overflow: hidden; font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.vt-rc-side { display: grid; justify-items: end; }
.vt-rc-side em { font-style: normal; color: var(--g-amber-ink); font-size: 13px; font-weight: 600; }
.vt-rc-side small { color: var(--g-muted); font-size: 11.5px; white-space: nowrap; }
.vt-recent-empty { padding: 16px 8px; color: var(--g-muted); font-size: 13px; text-align: center; }

/* ---------------------------------------------------------------
   图鉴 / 概率 / 规则：站点卡片
   --------------------------------------------------------------- */
.vt-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.vt-album-card { grid-column: 1 / -1; }
.vt-card { min-width: 0; padding: 12px 14px 14px; border: 1px solid var(--border); border-radius: var(--vt-radius); background: var(--surface); box-shadow: var(--shadow-card); }
.vt-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; }
.vt-card-head h2 { margin: 0; font-size: 16px; font-weight: 700; color: var(--text); }
.vt-card-head small { color: var(--text-secondary); font-size: 12.5px; }
.vt-note { margin: 10px 0 0; color: var(--text-secondary); font-size: 12.5px; }

.vt-album-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.vt-af { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-secondary); font-size: 13px; }
.vt-af small { color: var(--text-muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.vt-af:hover { background: var(--surface-hover); color: var(--text); }
.vt-af.on { border-color: var(--accent-border); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.vt-af.on small { color: var(--accent); }
.vt-af .vt-dot { margin-right: 0; }
.vt-album { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.vt-album.clip { max-height: 372px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.vt-album-more { display: flex; margin: 8px auto 0; }
.vt-alb {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 8px 5px 6px;
  border: 1px solid #262d35;
  border-radius: 8px;
  background: #1a1f25 linear-gradient(180deg, #1e242b, #171b21);
  color: var(--g-text);
  text-align: center;
}
.vt-alb.have { border-color: color-mix(in srgb, var(--rc) 55%, #262d35); background-color: #1a1f25; background-image: radial-gradient(100% 70% at 50% 100%, color-mix(in srgb, var(--rc) 18%, transparent), transparent 70%), linear-gradient(180deg, #1e242b, #171b21); }
.vt-alb-art { display: grid; place-items: center; width: 100%; height: 52px; }
.vt-alb-art .vt-ico { max-width: 100%; max-height: 100%; border-radius: 5px; }
.vt-alb:not(.have) .vt-ico { --rc: var(--r-empty); --ri: var(--ri-empty); }
.vt-alb:not(.have) .vt-ico img { filter: grayscale(1) brightness(.6); opacity: .45; }
.vt-alb:not(.have) .vt-ico.has-img img { opacity: .45; }
.vt-alb-name { max-width: 100%; overflow: hidden; font-size: 12px; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.vt-alb:not(.have) .vt-alb-name { color: var(--g-muted); }
.vt-alb-val { color: var(--g-muted); font: 11px/1.2 var(--font-mono, ui-monospace, Menlo, Consolas, monospace); }
.vt-alb.have .vt-alb-val { color: var(--g-amber-ink); }
.vt-alb-n { position: absolute; top: 4px; right: 4px; z-index: 1; min-width: 22px; padding: 0 5px; border-radius: 999px; background: var(--g-amber); color: var(--g-on-amber); font: 700 11px/16px var(--font-mono, ui-monospace, Menlo, Consolas, monospace); font-style: normal; }

.vt-table-scroll { overflow-x: auto; }
.vt-odds { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.vt-odds th, .vt-odds td { padding: 6px 8px; border-bottom: 1px solid var(--border-subtle); text-align: right; white-space: nowrap; }
.vt-odds thead th { color: var(--text-secondary); font-size: 12px; font-weight: 600; border-bottom-color: var(--border); }
.vt-odds th:first-child { text-align: left; }
.vt-odds tbody th { color: var(--text); font-weight: 600; }
.vt-odds td { color: var(--text); font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace); font-size: 12.5px; }
.vt-odds td.v, .vt-odds th.v { color: var(--text-secondary); }
.vt-odds tfoot th, .vt-odds tfoot td { border-bottom: 0; padding-top: 8px; font-weight: 700; }
.vt-dot { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 3px; background: var(--rc); vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.vt-odds tr.r-gold, .vt-odds tr.r-red { background: color-mix(in srgb, var(--rc) 7%, transparent); }

.vt-rules { margin: 0; padding: 0; list-style: none; display: grid; }
.vt-rules li { position: relative; padding: 7px 4px 7px 16px; color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }
.vt-rules li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 5px; height: 5px; border-radius: 1px; background: var(--accent); }
.vt-rules li + li { border-top: 1px solid var(--border-subtle); }

/* 页脚 */
.vt-legal { max-width: 1280px; margin: 18px auto 12px; padding: 12px 16px 2px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 12px; line-height: 1.7; text-align: center; }
.vt-legal p { margin: 0 0 6px; }
.vt-legal b { margin-right: .6em; color: var(--text-secondary); font-weight: 600; }

/* ---------------------------------------------------------------
   弹窗 / 提示
   --------------------------------------------------------------- */
.vt-dialog {
  width: min(480px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-modal);
  overflow: auto;
}
.vt-dialog::backdrop { background: var(--overlay, rgba(18, 24, 17, .5)); }
.vt-dialog[open] { animation: vt-dlg .2s ease-out; }
@keyframes vt-dlg { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.vt-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--border-subtle); }
.vt-dlg-head h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--text); }
.vt-x { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--text-secondary); font-size: 20px; line-height: 1; }
.vt-x:hover { background: var(--surface-hover); color: var(--text); }
.vt-dlg-body { margin: 0; padding: 14px 16px 4px; color: var(--text-secondary); line-height: 1.7; }
.vt-dlg-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 16px 16px; }
.vt-login-dlg .wechat-login { padding: 14px 16px; }
.vt-login-dlg .wechat-login-copy > b { color: var(--text); }
.vt-login-dlg .wechat-login-copy > small { color: var(--text-secondary); }
.vt-login-dlg .wechat-login-status { color: var(--accent); }
.vt-foot { margin: 0 16px 16px; color: var(--text-secondary); font-size: 13px; }
.vt-proof-dlg { width: min(560px, calc(100vw - 24px)); }
.vt-proof { padding: 12px 16px 16px; color: var(--text-secondary); font-size: 13px; line-height: 1.7; }
.vt-proof p { margin: 0 0 8px; }
.vt-proof b { color: var(--text); }
.vt-proof-code { display: block; padding: 6px 8px; border: 1px solid var(--border-subtle); border-radius: 8px; background: var(--surface-hover); color: var(--text); font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace); font-size: 12px; word-break: break-all; }
.vt-proof-codes { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; margin: 8px 0 10px; }
.vt-proof-codes dt { padding-top: 6px; color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.vt-proof-codes dd { margin: 0; min-width: 0; }
.vt-proof-chk { display: block; margin-top: 3px; font-size: 12px; color: var(--text-muted); }
.vt-proof-chk.ok { color: var(--accent); font-weight: 600; }
.vt-proof-chk.bad { color: var(--danger); font-weight: 600; }
.vt-proof-scroll { max-height: 38vh; overflow: auto; border: 1px solid var(--border-subtle); border-radius: 8px; }
.vt-proof-list { width: 100%; border-collapse: collapse; font-size: 12px; }
.vt-proof-list th, .vt-proof-list td { padding: 4px 8px; border-bottom: 1px solid var(--border-subtle); text-align: left; font-variant-numeric: tabular-nums; }
.vt-proof-list th { position: sticky; top: 0; background: var(--surface); color: var(--text-muted); font-weight: 600; }
.vt-proof-list td:last-child, .vt-proof-list th:last-child { text-align: right; }
.vt-proof-list tr.me td { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.vt-proof-list tr.won td { color: var(--text); font-weight: 600; }
.vt-proof-list tr.won b { color: var(--danger); }
.vt-proof-how { margin: 6px 0 0; padding-left: 1.3em; }
.vt-proof-more { margin-top: 10px; }
.vt-proof-more summary { cursor: pointer; color: var(--accent); }
.vt-foot a { color: var(--accent); }

.vt-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  max-width: min(92vw, 460px);
  transform: translateX(-50%);
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--surface);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  box-shadow: var(--shadow-pop);
  animation: vt-toast-in .2s ease-out;
}
.vt-toast.bad { background: var(--danger); color: #fff; }
.vt-toast.good { background: var(--success); color: #fff; }
html[data-theme="dark"] .vt-toast.bad, html[data-theme="dark"] .vt-toast.good { color: var(--page); }
@keyframes vt-toast-in { from { transform: translate(-50%, 10px); opacity: 0; } }

/* ---------------------------------------------------------------
   窄屏
   --------------------------------------------------------------- */
@media (max-width: 1120px) {
  .vt-floor { grid-template-columns: minmax(0, 1fr); }
  .vt-recent-list { max-height: 300px; }
}
@media (max-width: 980px) {
  .vt-safes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .vt-site { height: 48px; padding: 0 10px; }
  .vt-site-nav { gap: 0; }
  .vt-site-nav a, .vt-site-nav button { padding: 6px 7px; font-size: 13px; }
  .vt-brand span { display: none; }
  .vt-wrap { padding: 0 8px; }
  .vt-hero { margin-top: 8px; padding: 8px 10px; }
  .vt-title { font-size: 17px; flex-basis: 100%; }
  .vt-chip { padding: 3px 10px; }
  .vt-hero-actions { margin-left: auto; }
  .vt-counter { margin-top: 8px; padding: 10px; border-radius: 12px; }
  .vt-safes { gap: 8px; }
  .vt-safe { padding: 10px; }
  .vt-safe h3 { font-size: 15px; }
  .vt-safe-art { min-height: 84px; }
  .d-s1 .vt-door { --door: 62px; }
  .d-s2 .vt-door { --door: 68px; }
  .d-s3 .vt-door { --door: 74px; }
  .vt-safe-spec { font-size: 12px; }
  .vt-safe-flag { top: 6px; right: 6px; font-size: 11px; }
  .vt-auction { gap: 8px; }
  .vt-auc-head { flex-wrap: wrap; gap: 4px 6px; }
  .vt-auc-cd { flex-basis: 100%; margin-left: 0; font-size: 12px; }
  .vt-auc-prize { flex-direction: column; align-items: stretch; gap: 6px; }
  .vt-auc-prize .vt-safe-art { display: none; }
  .vt-auc-item { gap: 8px; }
  .vt-auc-item .vt-ico.lg { width: 42px; font-size: 19px; }
  .vt-auc-item b { font-size: 14px; }
  .vt-auc-item > div > span { font-size: 12px; }
  .vt-auc-nums { grid-template-columns: 1fr; gap: 6px; }
  .vt-auc-nums > div { padding: 4px 8px; }
  .vt-auc-nums dd b { font-size: 15px; }
  .vt-bid { flex-direction: column; gap: 6px; }
  .vt-bid input { flex: none; width: 100%; height: 36px; }
  .vt-auc-nums > div { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
  .vt-auc-nums dt { flex: none; white-space: nowrap; }
  .vt-auc-nums dd { justify-content: flex-end; text-align: right; gap: 0 6px; }
  .vt-board-empty { min-height: 200px; }
  .vt-auc-last { display: none; }
  .vt-safe .vt-bid .vt-btn { width: 100%; }
  .vt-auc-note { font-size: 11.5px; }
  .vt-floor { margin-top: 10px; gap: 10px; }
  .vt-board-head { padding: 8px 10px; gap: 6px 12px; }
  .vt-board-head .vt-btn { width: 100%; margin-left: 0; }
  .vt-grid-wrap { padding: 8px; }
  .vt-grid { --gap: 4px; }
  .vt-grid[data-w="8"], .vt-grid[data-w="10"] { --gap: 3px; }
  .vt-cell { border-radius: 4px; }
  .vt-cell-name { font-size: 11px; }
  .vt-summary { grid-template-columns: minmax(0, 1fr); margin: 0 8px 8px; gap: 10px; }
  .vt-sum-act { justify-items: stretch; }
  .vt-sum-act .vt-btn { width: 100%; }
  .vt-bigfind { top: 96px; max-width: calc(100% - 16px); }
  .vt-card { padding: 10px 10px 12px; }
  .vt-album { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 5px; }
  .vt-album.clip { max-height: 330px; }
  .vt-af { min-height: 28px; padding: 2px 8px; font-size: 12px; }
  .vt-odds { font-size: 12px; }
  .vt-odds th, .vt-odds td { padding: 6px 3px; }
  .vt-odds td { font-size: 11px; }
  .vt-dot { width: 8px; height: 8px; margin-right: 4px; }
  .vt-legal { margin-left: 8px; margin-right: 8px; }
}

/* 减少动态：动画都去掉，搜索计时缩短（vault.js 里 ×0.25） */
@media (prefers-reduced-motion: reduce) {
  .vt-cell.fresh, .vt-cell.fresh::before, .vt-cell.glow.r-gold, .vt-cell.glow.r-red, .vt-bigfind, .vt-summary,
  .vt-rc.new, .vt-auc-cd.hot, .vt-toast, .vt-dialog[open] { animation: none !important; }
  .vt-progress i, .vt-cell, .vt-btn { transition: none; }
}
