/* 養成→倉庫（vault.js）：伺服器倉庫、豌豆、領到本機、工坊 */
.vt-root { position: relative; }
.vt-h { display: flex; align-items: center; gap: 6px; }
.vt-art, .vt-ic { image-rendering: pixelated; object-fit: contain; flex: none; display: block; }
.vt-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; border-radius: 12px;
  background: linear-gradient(#fffdf2, #fff3c9); border: 2px solid #f0c95a; box-shadow: 0 2px 0 #e3c06a; }
.vt-bal { display: flex; align-items: center; gap: 6px; font-weight: 800; color: #7a5a12; }
.vt-bal b { font-size: 20px; color: #c2660f; }
.vt-hint { font-size: 12px; font-weight: 700; color: var(--lb-sub, #4a6b9a); line-height: 1.45; }
p.vt-hint { margin: 8px 2px; }
.vt-luck { padding: 1px 8px; border-radius: 9px; background: #fff0b8; border: 1px solid #f0c95a; font-size: 12px; font-weight: 900; color: #a8690c; }
.vt-warn { margin: 8px 2px; padding: 6px 10px; border-radius: 10px; background: #fff0ee; border: 1px solid #ffb3a8; color: #b03a25; font-size: 12px; font-weight: 800; line-height: 1.45; }
.vt-held { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0; padding: 7px 10px; border-radius: 10px;
  background: #fff7e0; border: 2px solid #f0b23a; color: #8a5a08; font-size: 12px; font-weight: 800; }
.vt-held span { flex: 1; min-width: 160px; }
.vt-tabs { display: flex; gap: 6px; margin: 10px 0 8px; }
.vt-tab { padding: 5px 16px; border-radius: 14px; border: 2px solid var(--lb-line, #a9d2ff); background: #eef6ff; color: #2b5fb8; font-weight: 900; font-size: 13px; cursor: pointer; }
.vt-tab.on { background: linear-gradient(180deg, #5fb4ff, #2f86e8); color: #fff; border-color: #fff; box-shadow: 0 2px 0 #1f5fb0; }
.vt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.vt-item, .vt-rc { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; min-width: 0;
  background: linear-gradient(#ffffff, #eef6ff); border: 2px solid var(--lb-line, #a9d2ff); box-shadow: 0 2px 0 #b9d3f0; }
.vt-rc.lock { filter: grayscale(.6); opacity: .8; }
.vt-icw { position: relative; flex: none; width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, #fff 0%, color-mix(in srgb, var(--c, #8fb8ff) 30%, #fff) 70%); border: 2px solid var(--c, #8fb8ff); }
.vt-icw .vt-n { position: absolute; right: -6px; bottom: -7px; min-width: 22px; padding: 0 5px; border-radius: 9px; font-size: 12px; line-height: 17px;
  text-align: center; color: #fff; background: #000; border: 2px solid #fff; font-weight: 900; }
.vt-mid { flex: 1; min-width: 0; }
.vt-mid .nm { font-weight: 900; font-size: 14px; color: var(--lb-ink, #1e3a66); }
.vt-mid .ds { font-size: 12px; font-weight: 700; color: var(--lb-sub, #4a6b9a); line-height: 1.35; }
.vt-ib { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.vt-ib .lb-btn { min-width: 76px; white-space: nowrap; }
.vt-cost { display: flex; flex-wrap: wrap; gap: 3px 5px; margin-top: 3px; }
.vt-cost .c { display: inline-flex; align-items: center; gap: 3px; padding: 0 6px 0 2px; border-radius: 8px; background: #eef6ff; border: 1px solid #a9d2ff;
  font-size: 11px; font-weight: 800; color: #3d5a85; white-space: nowrap; line-height: 20px; }
.vt-cost .c.lack { background: #fff0ee; border-color: #ffb3a8; color: #c0392b; }
.vt-great { font-size: 11px; font-weight: 900; color: #c2660f; text-align: center; white-space: nowrap; }
.vt-lock { font-size: 11px; font-weight: 900; color: #6b7a90; text-align: center; white-space: nowrap; }
.vt-prof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .7);
  border: 1px solid var(--lb-line, #a9d2ff); font-size: 12px; font-weight: 800; color: var(--lb-ink, #1e3a66); }
.vt-track { flex: 1; min-width: 100px; height: 10px; border-radius: 6px; background: #d5e5f8; overflow: hidden; }
.vt-track i { display: block; height: 100%; background: linear-gradient(90deg, #ffc93a, #ff8a2a); }
.vt-opt { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 8px 0; font-size: 12px; font-weight: 900; color: var(--lb-sub, #4a6b9a); }
.vt-opt span { margin: 0 2px 0 6px; }
.vt-eq { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 12px; min-width: 0;
  background: linear-gradient(#ffffff, color-mix(in srgb, var(--c, #c9d3e0) 14%, #fff)); border: 2px solid var(--c, #c9d3e0); box-shadow: 0 2px 0 #b9d3f0; }
.vt-eqt { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.vt-eqt b { font-size: 14px; color: var(--lb-ink, #1e3a66); }
.vt-sl { font-size: 11px; font-weight: 800; color: #6b7a90; white-space: nowrap; }
.vt-eqd { display: flex; flex-wrap: wrap; gap: 3px 6px; font-size: 12px; font-weight: 800; color: #3d5a85; }
.vt-eqd .vt-scr { color: #c2660f; }
.vt-eqd .vt-af { padding: 0 6px; border-radius: 8px; background: #f1e6ff; color: #7a3fc0; }
.vt-eqb { display: flex; gap: 5px; justify-content: flex-end; }
.vt-empty { font-size: 13px; font-weight: 700; color: #5d7290; padding: 14px 4px; }
.vt-ld { display: inline-flex; align-items: center; gap: 3px; }
.vt-dl { display: inline-flex; align-items: center; gap: 2px; font-weight: 900; color: #2f8a3f; white-space: nowrap; }
.vt-dl.neg { color: #c0392b; }
.vt-wi:not(.ii) + .vt-wi:not(.ii)::before { content: "・"; }
/* 圖示（itemicon.js）：紀錄列、分解預覽、材料 */
.bg-log .why .ii-list { gap: 4px; display: inline-flex; vertical-align: middle; margin: 2px 8px 4px 0; }
.vt-cost .c .ii { margin: 2px 0; }
.vt-line .ii-list { gap: 6px; }
/* 小視窗 */
.vt-pop { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(8, 24, 70, .45); padding: 12px; }
.vt-box { width: min(440px, 100%); max-height: 86vh; overflow: auto; padding: 14px 16px; border-radius: 16px; background: #fff; border: 3px solid var(--lb-line, #a9d2ff);
  box-shadow: 0 8px 24px rgba(8, 24, 70, .35); display: flex; flex-direction: column; gap: 8px; }
.vt-box h4 { margin: 0; font-size: 16px; color: var(--lb-ink, #1e3a66); }
.vt-box .vt-warn, .vt-box .vt-hint { margin: 0; }
.vt-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; color: var(--lb-ink, #1e3a66); font-size: 14px; }
.vt-num { width: 96px; padding: 5px 8px; border-radius: 10px; border: 2px solid var(--lb-line, #a9d2ff); font-size: 15px; font-weight: 900; color: #1e3a66; }
.vt-out { color: #c2660f; }
.vt-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.vt-acts .lb-btn { min-width: 84px; }
.vt-list { display: flex; flex-direction: column; gap: 5px; }
.vt-pick { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; border: 2px solid var(--lb-line, #a9d2ff); background: #f4f9ff;
  font-size: 12px; font-weight: 800; color: #3d5a85; cursor: pointer; text-align: left; }
.vt-pick b { color: var(--lb-ink, #1e3a66); font-size: 13px; }
.vt-pick span { flex: 1; min-width: 0; }
.vt-pick em { font-style: normal; color: #2b5fb8; font-weight: 900; }
.vt-pick:disabled { filter: grayscale(.8) opacity(.55); cursor: default; }
@media (max-width: 700px) {
  .vt-grid { grid-template-columns: 1fr; }
  .vt-item, .vt-rc { padding: 7px 8px; gap: 8px; }
  .vt-icw { width: 46px; height: 46px; }
  .vt-ib .lb-btn { min-width: 64px; }
  .vt-tab { padding: 5px 12px; }
}

/* 裝備改版第 C 批：款式圖、款式標籤（部位、物理／魔法、等級帶、專武）、固定特性與共鳴、工坊選款式 */
.vt-eqh { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vt-eqn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vt-eqh .eq-fr, .vt-icw .eq-fr { flex: 0 0 auto; }
.vt-tags { display: flex; flex-wrap: wrap; gap: 3px 4px; }
.vt-tag { padding: 0 6px; border-radius: 8px; font-size: 11px; font-weight: 900; line-height: 17px; background: #e3eefc; color: #3d5a85; white-space: nowrap; }
.vt-tag.kind.phy { background: #ffe6d6; color: #b4531a; }
.vt-tag.kind.mag { background: #e4e0ff; color: #5a3fc0; }
.vt-tag.kind.dual { background: #e2f3e2; color: #2f7a3f; }
.vt-tag.lv { background: #dff3ff; color: #1c6fa8; }
.vt-tag.sig { background: #ffe9a8; color: #8a5a00; }
.vt-fixl { display: flex; flex-direction: column; gap: 1px; font-size: 12px; font-weight: 800; color: #2f6a4a; }
.vt-fix.res { color: #8a5a00; }
.vt-fix.res em { font-style: normal; font-weight: 700; color: #8a7a55; }
.vt-sel { max-width: 100%; padding: 3px 6px; border-radius: 8px; border: 2px solid #b9d3f0; background: #fff; font: inherit; font-size: 12px; font-weight: 900; color: var(--lb-ink, #1e3a66); }
.vt-style .vt-hint { margin-left: 6px; }
.vt-stylefx { margin: -2px 0 6px 6px; }
.vt-rcs { color: #7a3fc0; font-weight: 900; }
.vt-sigc .nm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vt-sigc .vt-res { color: #8a5a00; }
.vt-cost .c.kills { font-weight: 900; }
