/* Record toasts: three cards that land as a stack (newest on top) and fan out into a list.
   Layout: the picture keeps the height of the fanned list; gathered, the stack sits in its middle. */
.vk-toasts{--h:72px;--gap:10px;max-width:400px;margin:0 auto;font-variant-numeric:tabular-nums}
.vk-toasts-stack{position:relative;height:calc(var(--n) * var(--h) + (var(--n) - 1) * var(--gap));cursor:pointer;border-radius:24px;-webkit-tap-highlight-color:transparent;outline:0}
.vk-toasts-stack:focus-visible .vk-toast{outline:2px solid #F0534A;outline-offset:2px}
.vk-toast{position:absolute;left:0;right:0;top:0;height:var(--h);display:flex;align-items:center;gap:12px;padding:0 16px 0 14px;border-radius:24px;background:var(--vk-card);box-shadow:0 0 0 1px var(--vk-line),0 14px 34px rgba(30,20,60,.09),0 2px 6px rgba(30,20,60,.05);z-index:calc(3 - var(--i));transform:translateY(calc(var(--i) * (var(--h) + var(--gap))));transition:transform .42s var(--vk-ease),opacity .2s ease,box-shadow .32s ease}
/* gathered: every card behind the newest, peeking out under it */
.vk-toasts.stacked .vk-toast{transform:translateY(calc((var(--n) - 1) * (var(--h) + var(--gap)) / 2 + var(--i) * 10px)) scale(calc(1 - var(--i) * .06))}
.vk-toasts.stacked .vk-toast:not(:first-child)>*{opacity:0}
.vk-toast>*{transition:opacity .2s ease}
/* before it is seen: each card waits just above its place in the stack */
.vk-toasts.armed .vk-toast{opacity:0;transform:translateY(calc((var(--n) - 1) * (var(--h) + var(--gap)) / 2 + var(--i) * 10px - 28px)) scale(.96)}
.vk-toasts.land .vk-toast{transition-delay:calc((var(--n) - 1 - var(--i)) * .16s)}

.vk-toast-star{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--vk-muted);color:var(--vk-ink2)}
.vk-toast-star svg{width:22px;height:22px;fill:currentColor;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
.vk-toast:first-child .vk-toast-star{background:var(--vk-grad);color:#fff;box-shadow:0 6px 14px rgba(226,85,158,.28)}
.vk-toasts.pop .vk-toast:first-child .vk-toast-star svg{animation:vk-toast-pop .42s var(--vk-ease) both}
@keyframes vk-toast-pop{0%{transform:scale(.6) rotate(-24deg);opacity:0}60%{transform:scale(1.05) rotate(0);opacity:1}100%{transform:none}}
.vk-toast-text{flex:1;min-width:0;display:grid;gap:2px}
.vk-toast-text small{font-size:13px;line-height:16px;color:var(--vk-ink3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vk-toast-text b{font:500 16px/20px Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vk-toast-val{flex:none;display:grid;justify-items:end;gap:4px}
.vk-toast-val>b{font:500 16px/20px Inter,system-ui,sans-serif;white-space:nowrap}
.vk-toasts .vk-chip{min-height:20px;padding:0 8px;font-size:12px}
.vk-toasts .vk-chip.up{background:rgba(52,199,89,.14);color:#136C30}

:root[data-theme=dark] .vk-toasts .vk-chip.up{background:rgba(52,199,89,.18);color:#6BDB8B}
:root[data-theme=dark] .vk-toast{box-shadow:0 0 0 1px var(--vk-line),0 14px 34px rgba(0,0,0,.35)}
:root[data-theme=light] .vk-toasts .vk-chip.up{background:rgba(52,199,89,.14);color:#136C30}
@media (max-width:400px){.vk-toast{padding:0 12px 0 10px;gap:10px}.vk-toast-star{width:40px;height:40px}}
.vpic-home>*,.vpic-kit>*{width:100%;max-width:520px}
.vpic-home h3{letter-spacing:-.02em}
/* Dark page: the Appearance picture's own controls sit on the page, not on its light panel, and the
   import picture's foot pill is glass; both read the page's ink there. */
:root[data-theme="dark"] .vpic-themes .th{color:var(--ink)}
:root[data-theme="dark"] .vpic-themes .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
:root[data-theme="dark"] .vpic-themes .th-tone[aria-pressed="true"] .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 0 0 2px #16151C,0 0 0 4px currentColor}
:root[data-theme="dark"] .vpic-import .ic-foot{background:rgba(255,255,255,.1);color:var(--ink-2)}
.vwide .vpic>*{max-width:none}