/* Share: a story with the workout's sticker on it, or the plan as a code. One sliding switch.
   Layout: both sides share one fixed stage (grid, same cell), so the card never changes height. */
.vk-share{padding:20px;display:grid;gap:16px;max-width:380px;margin:0 auto;font-variant-numeric:tabular-nums}
.vk-share p{margin:0}
.vk-share button:focus-visible,.vk-sticker:focus-visible{outline:2px solid #F0534A;outline-offset:2px}
.vk-share .vk-seg button{flex:1 1 0;min-height:44px}
.vk-share .vk-seg-pill{transition:transform .42s var(--vk-ease),width .42s var(--vk-ease)}
.vk-share-stage{display:grid;height:372px}
.vk-share-pane{grid-area:1/1;min-width:0;display:grid;place-items:center;transition:opacity .2s ease,transform .42s var(--vk-ease),visibility 0s}
.vk-share-pane.off{opacity:0;visibility:hidden;pointer-events:none;transform:scale(.97);transition:opacity .2s ease,transform .32s var(--vk-ease),visibility 0s linear .32s}

/* the story: a soft gradient where the person's photo would be */
.vk-story{position:relative;width:210px;height:372px;border-radius:28px;overflow:hidden;isolation:isolate;
  background:radial-gradient(120% 70% at 20% 0%,#FFB199 0%,rgba(255,177,153,0) 60%),radial-gradient(110% 80% at 100% 35%,#E2559E 0%,rgba(226,85,158,0) 65%),linear-gradient(170deg,#F0534A 0%,#B45FD6 55%,#6C5CE7 100%);
  box-shadow:0 18px 40px rgba(60,30,90,.22),inset 0 0 0 1px rgba(255,255,255,.14)}
.vk-story-top{position:absolute;inset:12px 12px auto;display:grid;gap:8px}
.vk-story-bars{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.vk-story-bars i{height:2px;border-radius:2px;background:rgba(255,255,255,.4)}
.vk-story-bars i:first-child{background:#fff}
.vk-story-who{display:flex;align-items:center;gap:8px}
.vk-story-who i{width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.55)}
.vk-story-who b{width:56px;height:6px;border-radius:3px;background:rgba(255,255,255,.55)}

.vk-sticker{position:absolute;left:50%;top:54%;width:168px;margin:-56px 0 0 -84px;padding:12px 16px 16px;border-radius:20px;background:#fff;color:#0D0D0D;display:grid;gap:2px;
  box-shadow:0 14px 30px rgba(40,10,60,.28),0 2px 6px rgba(40,10,60,.16);transform:translate(var(--x,0px),var(--y,0px)) rotate(var(--r,-4deg)) scale(var(--s,1));
  touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;transition:transform .32s var(--vk-ease),box-shadow .2s ease,opacity .2s ease}
.vk-sticker.drag{cursor:grabbing;transition:box-shadow .2s ease;--s:1.04;--r:-1deg;box-shadow:0 24px 44px rgba(40,10,60,.34),0 4px 10px rgba(40,10,60,.18)}
.vk-share.armed .vk-sticker{opacity:0;--s:1.18;--r:-10deg}
.vk-sticker-head{display:flex;align-items:center;justify-content:space-between;min-height:24px}
.vk-sticker-brand{font:500 13px/16px Inter,system-ui,sans-serif;letter-spacing:-.01em;color:#55555B}
.vk-sticker-star{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#F0534A,#E2559E 55%,#8C6CF0);color:#fff}
.vk-sticker-star svg{width:13px;height:13px;fill:currentColor;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
.vk-sticker-lift{margin-top:6px;font:500 14px/18px Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vk-sticker-best{font:500 26px/30px Geist,Inter,system-ui,sans-serif;letter-spacing:-.6px;white-space:nowrap}
.vk-sticker-foot{margin-top:4px;font-size:12px;line-height:16px;color:#6E6E76;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* the plan as a code */
.vk-code{display:grid;justify-items:center;gap:16px;width:100%}
.vk-code-plan{font:500 26px/30px Geist,Inter,system-ui,sans-serif;letter-spacing:-.5px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vk-code-qr{width:208px;height:208px;padding:12px;border-radius:24px;background:#fff;box-shadow:0 0 0 1px var(--vk-line),0 14px 34px rgba(30,20,60,.10)}
.vk-code-qr svg{width:100%;height:100%;shape-rendering:crispEdges}
.vk-share .vk-code-copy{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 20px;border:0;border-radius:22px;background:var(--vk-muted);-webkit-tap-highlight-color:transparent;transition:transform .15s ease}
.vk-code-copy:active{transform:scale(.96)}
.vk-code-txt{font:500 17px/22px Inter,system-ui,sans-serif;letter-spacing:.08em}
.vk-code-copy svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;color:var(--vk-ink2);transition:opacity .2s ease,transform .32s var(--vk-ease)}
.vk-code-copy{position:relative}
.vk-share-i-ok{position:absolute;right:14px;opacity:0;transform:scale(.6)}
.vk-code-copy.done .vk-share-i-copy{opacity:0;transform:scale(.6)}
.vk-code-copy.done .vk-share-i-ok{opacity:1;transform:none;color:#F0534A}
@media (max-width:400px){.vk-share{padding:16px}}

:root[data-theme=dark] .vk-share .vk-seg-pill{background:rgba(255,255,255,.13);box-shadow:0 2px 8px rgba(0,0,0,.25)}
.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}