/* страница Shorts: без прокрутки страницы, лента на всю доступную высоту */
html,body{overflow:hidden;height:100%}
body{padding-bottom:0!important}
main{padding:0!important;min-height:0!important}
.ft,.flash{display:none!important}
.sh-wrap{position:relative;background:#000}
.sh-feed{height:calc(100vh - 68px);overflow-y:scroll;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sh-feed::-webkit-scrollbar{display:none}
.sh-item{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;justify-content:center;gap:14px;padding:10px 0}
.sh-box{position:relative;height:100%;aspect-ratio:9/16;max-width:100%;background:#0c0814;border-radius:16px;overflow:hidden;cursor:pointer}
.sh-v{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;background:#000}
.sh-item.land .sh-v{object-fit:contain}
.sh-spin{position:absolute;top:50%;left:50%;width:38px;height:38px;margin:-19px 0 0 -19px;border:3px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:shs .8s linear infinite;opacity:0;pointer-events:none;z-index:2}
.sh-spin.on{opacity:1}@keyframes shs{to{transform:rotate(360deg)}}
.sh-heart{position:absolute;left:50%;top:50%;font-size:96px;line-height:1;color:#ff3b6b;transform:translate(-50%,-50%) scale(0);opacity:0;pointer-events:none;z-index:4;text-shadow:0 4px 30px rgba(0,0,0,.5)}
.sh-heart.on{animation:shh .8s}@keyframes shh{0%{transform:translate(-50%,-50%) scale(.3);opacity:1}40%{transform:translate(-50%,-50%) scale(1.2);opacity:1}100%{transform:translate(-50%,-70%) scale(1);opacity:0}}
.sh-info{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:70px 14px 16px;background:linear-gradient(0deg,rgba(0,0,0,.85),transparent);pointer-events:none}
.sh-info a{pointer-events:auto}
.sh-author{font-weight:800;font-size:15px;margin-bottom:4px;text-shadow:0 1px 6px #000}
.sh-desc{margin:0 0 10px;font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 6px #000}
.sh-film{display:flex;align-items:center;gap:10px;padding:6px 8px 6px 6px;border-radius:12px;background:rgba(255,255,255,.16);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.18)}
.sh-film img{width:34px;height:50px;object-fit:cover;border-radius:6px;flex:none}
.sh-film span{flex:1;min-width:0}.sh-film b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sh-film small{color:#ddd;font-size:12px}
.sh-film i{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#a24dff,#6a1fe0);display:grid;place-items:center;flex:none;font-style:normal}.sh-film i .ico{width:16px;height:16px}
.sh-bar{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.2);z-index:5}.sh-bar i{display:block;height:100%;width:0;background:#fff}
.sh-act{align-self:flex-end;display:flex;flex-direction:column;gap:14px;padding-bottom:14px;z-index:6}
.sh-b{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:0;color:#fff;cursor:pointer;font-size:12px;font-weight:600;min-width:54px;padding:0}
.sh-b .ico,.sh-b>i{width:48px;height:48px;padding:12px;border-radius:50%;background:rgba(255,255,255,.12);transition:.2s;display:grid;place-items:center;font-style:normal}
.sh-b>i .ico{width:24px;height:24px;padding:0;background:none}
.sh-b:hover .ico,.sh-b:hover>i{background:rgba(255,255,255,.22)}.sh-b:active .ico{transform:scale(.9)}
.sh-b.on .ico{color:#ff3b6b;fill:#ff3b6b;background:rgba(255,59,107,.2)}
.sh-b .ic-on{display:none}.sh-feed:not(.is-muted) .sh-b .ic-on{display:grid}.sh-feed:not(.is-muted) .sh-b .ic-off{display:none}
.sh-item.bad .sh-box::after{content:"Видео недоступно";position:absolute;top:50%;left:0;right:0;text-align:center;color:#aaa;z-index:2}
.sh-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#aaa}
.sh-top{position:absolute;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;gap:12px;padding:12px 16px;pointer-events:none}
.sh-top>*{pointer-events:auto}.sh-top b{font-size:18px;flex:1;text-shadow:0 1px 8px #000}
.sh-bk,.sh-upb{display:inline-flex;align-items:center;gap:6px;background:rgba(0,0,0,.45);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:999px;padding:8px 14px;font-size:13px;font-weight:700}
.sh-bk{padding:8px}.sh-bk .ico,.sh-upb .ico{width:18px;height:18px}
.sh-nav{position:absolute;right:22px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;z-index:15}
.sh-nav button{width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;display:grid;place-items:center}.sh-nav button:hover{background:rgba(255,255,255,.25)}
.sh-cm{position:fixed;top:0;left:0;right:0;bottom:0;z-index:200;background:rgba(0,0,0,.55);display:flex;align-items:flex-end;justify-content:center}
.sh-cmb{width:min(520px,100%);max-height:75vh;display:flex;flex-direction:column;background:#15101f;border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom)}
.sh-cmh{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line)}.sh-cmh button{background:none;border:0;color:#fff;cursor:pointer;width:32px;height:32px}.sh-cmh .ico{width:20px;height:20px}
.sh-cml{overflow-y:auto;padding:4px 14px;flex:1;min-height:120px;-webkit-overflow-scrolling:touch}
.sh-cmf{display:flex;gap:8px;padding:10px 14px;border-top:1px solid var(--line)}.sh-cmf input{flex:1}.sh-cmf button{width:44px;border:0;border-radius:10px;background:var(--pri);color:#fff;cursor:pointer;display:grid;place-items:center}
.sh-toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);background:rgba(20,14,30,.95);border:1px solid var(--line);padding:10px 18px;border-radius:999px;z-index:300;font-size:14px}
@media(max-width:900px){.sh-nav{display:none}}
@media(max-width:760px){
 .hd{display:none!important}
 .sh-top{padding:calc(10px + env(safe-area-inset-top)) 12px 10px}
 .sh-item{display:block;padding:0}
 .sh-box{width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:0}
 .sh-act{position:absolute;right:6px;bottom:104px;padding:0;gap:12px}
 .sh-info{padding-right:78px;padding-bottom:14px}
 .sh-toast{bottom:100px}
}
@media(min-width:761px) and (max-width:900px){.sh-item{gap:10px}}