/* v1003: media controls stay inside the existing Admin editor and public property gallery. */
.ys1003-video-upload video{display:block;width:min(100%,640px);max-height:360px;margin-top:12px;background:#101a28;border-radius:10px}
.ys1003-video-upload video[hidden]{display:none}
.ys1003-video-upload input[type=file]{display:block;margin:10px 0}
.ys1003-photo-card{width:150px;max-width:100%;padding:8px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}
.ys1003-photo-card img{width:100%;height:96px;object-fit:cover;display:block;border-radius:6px}
.ys1003-photo-card select{width:100%;margin:8px 0;font-size:12px}
.ys1003-photo-actions{display:flex;flex-wrap:wrap;gap:5px}
.ys1003-photo-actions button{font-size:12px;padding:5px 7px}
.ys1003-media-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0 18px}
.ys1003-watch{display:inline-flex;align-items:center;gap:9px;padding:10px 15px;border:1px solid #d5dce6;background:#fff;color:#062b5c;border-radius:9px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.ys1003-watch img{width:64px;height:40px;object-fit:cover;border-radius:5px}
.ys1003-video-dialog{width:min(920px,calc(100% - 24px));max-height:90vh;border:0;border-radius:14px;padding:18px;background:#fff;color:#17233a}
.ys1003-video-dialog::backdrop{background:rgba(5,15,30,.82)}
.ys1003-video-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.ys1003-video-dialog button{padding:8px 12px;border:1px solid #d5dce6;border-radius:8px;background:#fff;color:#062b5c;font:inherit;cursor:pointer}
.ys1003-video-dialog video{display:block;width:100%;max-height:72vh;background:#101a28;border-radius:8px}
@media(max-width:600px){.ys1003-video-dialog{padding:12px}.ys1003-photo-card{width:calc(50% - 5px)}.ys1003-photo-actions button{min-height:36px}.ys1003-video-upload input[type=file]{max-width:100%}}
