/* Viral short-form video deck: the shared phone frame (kit.js). Prefix vk-. */
.vk-phone { position: relative; aspect-ratio: 9 / 19.5; height: 100%; max-width: 100%; border-radius: 13% / 6%; padding: 3.2%; background: linear-gradient(160deg, #2b2c31, #0c0c0e 60%); box-shadow: 0 0 0 1px rgb(255 255 255 / .06) inset, 0 28px 60px -24px rgb(0 0 0 / .55), 0 4px 14px -6px rgb(0 0 0 / .4); container-type: inline-size; }
.vk-glass { position: relative; width: 100%; height: 100%; border-radius: 11% / 5.2%; overflow: hidden; background: #000; color: #fff; }
.vk-screen { position: absolute; inset: 0; overflow: hidden; }
.vk-island { position: absolute; top: 1.6%; left: 50%; width: 30%; height: 3.2%; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 6; }
.vk-status { position: absolute; top: 2%; left: 7%; right: 7%; height: 2.6%; display: flex; align-items: center; justify-content: space-between; z-index: 5; pointer-events: none; }
.vk-status .vk-bar--time { height: 60%; background: rgb(255 255 255 / .82); border-radius: 2px; }
.vk-sig { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 70%; margin-left: auto; margin-right: 6%; }
.vk-sig i { width: 3px; background: rgb(255 255 255 / .85); border-radius: 1px; }
.vk-sig i:nth-child(1) { height: 35%; } .vk-sig i:nth-child(2) { height: 55%; } .vk-sig i:nth-child(3) { height: 75%; } .vk-sig i:nth-child(4) { height: 100%; }
.vk-bat { width: 9%; height: 70%; border-radius: 3px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .8); background: linear-gradient(90deg, rgb(255 255 255 / .85) 70%, transparent 70%) 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat; }
.vk-bar { display: block; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .55); }
.vk-rail { position: absolute; right: 3%; bottom: 13%; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: clamp(6px, 4.5cqw, 16px); width: 15%; }
.vk-rail__av { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #e9c9b2, #8a6a58); box-shadow: 0 0 0 2px #fff; margin-bottom: 4px; }
.vk-rail__plus { position: absolute; left: 50%; bottom: -22%; transform: translateX(-50%); width: 46%; aspect-ratio: 1; border-radius: 50%; background: #FE2C55; color: #fff; display: grid; place-items: center; }
.vk-phone--reels .vk-rail__plus, .vk-phone--shorts .vk-rail__plus { display: none; }
.vk-rail__plus svg { width: 80%; height: 80%; }
.vk-rail__it { display: grid; justify-items: center; gap: 3px; width: 100%; }
.vk-rail__ic { display: grid; place-items: center; width: 82%; color: #fff; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .45)); }
.vk-rail__ic svg { width: 100%; height: auto; }
.vk-rail__it .vk-bar { width: 60%; height: 4px; }
.vk-rail__disc { width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #555 18%, #1b1b1b 20%, #2a2a2a 60%, #111 62%); animation: vk-spin 5s linear infinite; }
@keyframes vk-spin { to { transform: rotate(360deg); } }
.vk-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 8.5%; z-index: 4; display: flex; align-items: center; justify-content: space-around; padding: 0 4% 2%; background: #000; color: rgb(255 255 255 / .9); }
.vk-nav__ic { display: grid; place-items: center; width: 11%; }
.vk-nav__ic svg { width: 100%; height: auto; }
.vk-nav__new { display: grid; place-items: center; width: 15%; aspect-ratio: 1.5; border-radius: 6px; background: #fff; color: #111; box-shadow: -3px 0 0 #25F4EE, 3px 0 0 #FE2C55; }
.vk-nav__new svg { width: 55%; height: auto; }
.vk-mark { display: inline-block; flex: none; }
.vk-mark svg { display: block; width: 100%; height: 100%; }
.vk-mark--shorts svg rect { stroke: #e6e6e6; stroke-width: 1; }
@media (prefers-reduced-motion: reduce) { .vk-rail__disc { animation: none; } }
.scene:not(.is-active) .vk-rail__disc { animation: none; }
