/* Caboodle – Copyright (C) 2026 the Caboodle authors */
/* The Vector Animator (vanim.html): the Vector editor's look (vector/vector.css) with the modes and the timeline. */

/* the top bar's Design · Rig · Animate */
.van-mode { display: inline-flex; }
.van-mode .seg-b { display: inline-flex; align-items: center; gap: 4px; }
.van-mode .seg-b .material-symbols-outlined { font-size: var(--ic-s); }

/* animating: the view's edge says so */
#vec-view[data-mode="animate"] { box-shadow: inset 0 0 0 2px var(--prog-soft); }

/* the timeline under the view (vanim/timeline.js) */
.van-tl { position: relative; flex: none; display: flex; flex-direction: column; min-height: 110px; border-top: 1px solid var(--line); background: var(--tl-bg); }
.van-tl-grip { position: absolute; left: 0; right: 0; top: -3px; height: 6px; cursor: ns-resize; z-index: 2; }
.van-tl-bar { flex: none; display: flex; align-items: center; gap: 6px; padding: 4px 8px; background: var(--surface); border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.van-tl-bar .material-symbols-outlined { font-size: var(--ic); }
.van-tl-bar .btn.on { background: var(--sel-soft); color: var(--sel); }
.van-tl-anim { max-width: 220px; }
.van-tl-anim-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.van-tl-frame { min-width: 104px; font-variant-numeric: tabular-nums; color: var(--text); font-size: var(--fs-s); }
.van-tl-num { width: 64px; height: 28px; }
.van-tl-check { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-s); color: var(--text); }
.van-tl-sp { flex: 1; }
.van-tl-wrap { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.van-tl-cv { display: block; outline: none; }
.van-tl-cv:focus-visible { box-shadow: inset 0 0 0 2px var(--prog); }
