/* Own advertising: the same content width as the source site. */
.owned-site-ads{clear:both;margin:18px 0 22px}.owned-preserved-banner{margin-bottom:18px}.shu-header-ad{display:block}.shu-header-ad img{display:block;width:100%;height:auto;max-height:100px;object-fit:fill}.owned-line-wrap .shu-entry{border:1px solid #eee;border-radius:5px;padding:12px;background:#fff}.owned-line-wrap h2{font-size:16px;margin:0 0 12px}.owned-line-wrap .shu-entry>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.owned-line-wrap .shu-entry a{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:5px;background:#ff9500;color:#fff;font-size:17px;font-weight:700}.shu-ad-floats{position:fixed;right:12px;top:min(calc(28% + 160px),calc(100% - 336px));display:flex;flex-direction:column;gap:28px;z-index:990}.shu-ad-floats a,.shu-ad-floats img{display:block;width:70px;height:70px}.owned-preroll{position:absolute;inset:0;z-index:20;background:#111;display:flex;align-items:center;justify-content:center}.owned-preroll>a{display:block;width:100%;height:100%}.owned-preroll img{width:100%;height:100%;object-fit:contain}.owned-preroll>span{position:absolute;top:10px;right:10px;padding:6px 10px;background:#000b;color:white;border-radius:4px;pointer-events:none}
@media(max-width:767px){.owned-site-ads{margin:12px 0 16px}.owned-preserved-banner{margin-bottom:12px}.owned-line-wrap .shu-entry>div{gap:6px}.owned-line-wrap .shu-entry a{min-height:44px;font-size:14px}.shu-ad-floats{right:4px;top:min(calc(30% + 120px),calc(100% - 208px));gap:22px}.shu-ad-floats a,.shu-ad-floats img{width:48px;height:48px}}

#ys-player{position:relative;background:#000}#ys-player .owned-video-frame{position:relative;aspect-ratio:16/9}#player{position:absolute;inset:0;width:100%;height:100%;background:#000}.owned-player-status{position:absolute;inset:40% 5% auto;text-align:center;color:#fff;pointer-events:none}.owned-qr{position:relative;margin:10px 0}.owned-qr img{width:120px;height:120px;background:white}.owned-qr summary{cursor:pointer}.owned-floating{position:fixed!important;right:85px;bottom:15px;width:460px!important;z-index:998;box-shadow:0 4px 20px #0008}.owned-float-close{display:none;position:absolute;right:5px;top:5px;z-index:30;background:#111a;color:white;border:0;padding:8px}.owned-floating .owned-float-close{display:block}@media(max-width:767px){.owned-floating{position:static!important;width:100%!important}}
.owned-categories{display:flex;flex-wrap:wrap;gap:8px}.owned-categories .btn{margin:0}.owned-desc-toggle{border:0;background:none;color:#e91348;cursor:pointer;padding:0}.owned-synopsis p{white-space:pre-wrap;line-height:1.8}.ys-vodlist__text li .pull-right{max-width:35%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ys-content__thumb .v-thumb{display:block}.owned-full[hidden]{display:none}
/* Align advertising to the source panels' outer edges and tighten gaps. */
.owned-site-ads{margin:-10px 0 8px}
.owned-site-ads>.container{padding-left:0;padding-right:0}
.owned-site-ads .owned-preserved-banner{margin-top:0;margin-bottom:8px}
.owned-line-wrap .shu-entry{padding:8px}
.owned-line-wrap h2{margin:0 0 6px}
@media(max-width:1024px){.owned-site-ads{margin:8px 0}}

/* Own the three gaps without collapsed margins or source clearing spacers. */
body > .navbar,body > .ff-nav,body > .owned-ad-anchor{margin-bottom:0}
.owned-site-ads{display:flex;flex-direction:column;gap:10px;margin:0;padding:10px 0}
.owned-site-ads > .container{margin-top:0;margin-bottom:0}
.owned-site-ads + .ff-clearfix{display:none;height:0;margin:0;padding:0}
.owned-site-ads + .container,.owned-site-ads + .ff-clearfix + .container{margin-top:0}

/* The local player frame supplies its own aspect ratio. */
#ys-player.play-box{padding:0;height:auto}
#ys-player .owned-video-frame{width:100%;aspect-ratio:16/9}
#ys-player video{object-fit:contain}

.owned-logo-lockup{display:inline-flex;flex-direction:column;width:4em;font-size:22px;line-height:1.2}
.owned-logo-name{display:block;white-space:nowrap}
.owned-logo-domain{display:flex;justify-content:space-between;width:100%;font-family:Arial,sans-serif;font-size:11px;line-height:14px;white-space:nowrap}
.owned-logo-domain>span{display:block}
.ff-nav .owned-logo-lockup{font-size:25px}

.owned-friend-links{display:flex;flex-wrap:wrap;gap:12px 24px;padding:0 0 15px}.owned-friend-links a{color:#555}
