/* Full-height media with metadata in the left dark margin. Desktop only. */
@media(min-width:1101px){
html.fy-desktop.fy-desktop-active{--fy-stage-height:calc(100dvh - 24px);--fy-stage-width:calc(var(--fy-stage-height) * .5625)}
html.fy-desktop.fy-desktop-active #feed .item>.media,html.fy-desktop.fy-desktop-active #feed .item>.youtube-player-wrap,html.fy-desktop.fy-desktop-active #feed .item>iframe.youtube-player,html.fy-desktop.fy-desktop-active #feed .item.quote>.quote-content{top:12px!important;height:var(--fy-stage-height)!important;width:var(--fy-stage-width)!important;object-fit:contain!important}
html.fy-desktop.fy-desktop-active #feed .item>.caption,html.fy-desktop.fy-desktop-active #feed .item.quote>.caption{position:absolute!important;left:28px!important;right:auto!important;bottom:30px!important;transform:none!important;width:calc((100% - var(--fy-stage-width)) / 2 - 56px)!important;max-width:350px!important;min-width:0!important;height:auto!important;max-height:calc(100dvh - 150px);overflow-y:auto;padding:20px!important;border:1px solid #5a8e7140;border-radius:14px;background:#0a2017e8!important;box-sizing:border-box;pointer-events:auto;z-index:15}
html.fy-desktop.fy-desktop-active #feed .caption .meta{padding-right:0!important;margin:0 0 12px;display:flex;flex-wrap:wrap;gap:8px}
html.fy-desktop.fy-desktop-active #feed .caption h2{padding-right:0!important;font-size:16px!important;line-height:1.55!important;margin:8px 0 12px;display:block;-webkit-line-clamp:unset;overflow:visible;overflow-wrap:anywhere;max-width:100%}
html.fy-desktop.fy-desktop-active #feed .caption .category-name{font-size:12px!important;line-height:1.6;margin-top:8px;color:#b4d0bf}
html.fy-desktop.fy-desktop-active #feed .caption .maker-version{position:static!important;margin:14px 0 0!important;display:block}
html.fy-desktop.fy-desktop-active #feed .caption .maker-version a,html.fy-desktop.fy-desktop-active #feed .caption a.ds-use-template{min-height:40px;font-size:12px;padding:9px 13px;max-width:100%;white-space:normal;box-sizing:border-box}
html.fy-desktop.fy-desktop-active .fy-desktop-player{top:calc(12px + var(--fy-stage-height) - 45px)!important;width:var(--fy-stage-width);max-width:calc(100% - 180px)}
html.fy-desktop.fy-desktop-active #unmuteHint.unmute-hint{position:fixed!important;left:calc(50% + var(--fy-side) / 2)!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;animation:none!important;margin:0!important;z-index:5450}
html.fy-desktop.fy-desktop-active .category-panel{position:fixed!important;top:66px!important;left:auto!important;right:24px!important;bottom:auto!important;width:360px!important;max-width:calc(100vw - var(--fy-side) - 48px)!important;max-height:calc(100dvh - 100px)!important;transform:none!important;z-index:6000!important;animation:none!important}
html.fy-desktop.fy-desktop-active .category-panel.open{display:flex!important}.fy-desktop-active .category-panel .category-list{overflow-y:auto;max-height:calc(100dvh - 170px)}
}
/* On narrower/taller desktops keep enough side space for readable metadata. */
@media(min-width:1101px) and (max-width:1500px){html.fy-desktop.fy-desktop-active{--fy-stage-height:min(calc(100dvh - 24px),calc((100vw - var(--fy-side) - 440px) * 1.7777778));--fy-stage-width:calc(var(--fy-stage-height) * .5625)}html.fy-desktop.fy-desktop-active #feed .item>.caption,html.fy-desktop.fy-desktop-active #feed .item.quote>.caption{left:18px!important;bottom:22px!important;width:calc((100% - var(--fy-stage-width)) / 2 - 32px)!important;padding:15px!important}}
